DoxigAlpha

exeFileExt

Function parameters

Parameters

#
arch:Cpu.Arch

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#
requiresLibC
Does this target require linking libc? This may be the case if the target has an unstable
cCharSignedness
Default signedness of `char` for the native C compiler for this target

Source

Implementation

#
pub fn exeFileExt(tag: Tag, arch: Cpu.Arch) [:0]const u8 {
    return switch (tag) {
        .windows => ".exe",
        .uefi => ".efi",
        .plan9 => arch.plan9Ext(),
        else => switch (arch) {
            .wasm32, .wasm64 => ".wasm",
            else => "",
        },
    };
}