Constant current [src]

Type

AUDIT.ARCH

Source

pub const current: AUDIT.ARCH = switch (native_arch) { .arm, .thumb => .ARM, .armeb, .thumbeb => .ARMEB, .aarch64 => .AARCH64, .arc => .ARCV2, .csky => .CSKY, .hexagon => .HEXAGON, .loongarch32 => .LOONGARCH32, .loongarch64 => .LOONGARCH64, .m68k => .M68K, .mips => .MIPS, .mipsel => .MIPSEL, .mips64 => switch (native_abi) { .gnuabin32, .muslabin32 => .MIPS64N32, else => .MIPS64, }, .mips64el => switch (native_abi) { .gnuabin32, .muslabin32 => .MIPSEL64N32, else => .MIPSEL64, }, .powerpc => .PPC, .powerpc64 => .PPC64, .powerpc64le => .PPC64LE, .riscv32 => .RISCV32, .riscv64 => .RISCV64, .sparc => .SPARC, .sparc64 => .SPARC64, .s390x => .S390X, .x86 => .I386, .x86_64 => .X86_64, .xtensa => .XTENSA, else => @compileError("unsupported architecture"), }