Commit b21de4de5e

Alex Rønne Petersen <alex@alexrp.com>
2024-07-21 22:54:02
std.os.linux: Define syscalls for armeb and thumbeb too.
1 parent b3e82b8
Changed files (1)
lib
std
lib/std/os/linux.zig
@@ -103,7 +103,7 @@ pub const SYS = switch (@import("builtin").cpu.arch) {
     .x86 => syscalls.X86,
     .x86_64 => syscalls.X64,
     .aarch64, .aarch64_be => syscalls.Arm64,
-    .arm, .thumb => syscalls.Arm,
+    .arm, .armeb, .thumb, .thumbeb => syscalls.Arm,
     .riscv64 => syscalls.RiscV64,
     .sparc64 => syscalls.Sparc64,
     .mips, .mipsel => syscalls.Mips,