Commit 92bc802033

Alex Rønne Petersen <alex@alexrp.com>
2024-07-21 22:55:12
std.os.linux: Also define MAP for armeb and thumbeb.
1 parent fcbb192
Changed files (1)
lib
std
lib/std/os/linux.zig
@@ -142,7 +142,7 @@ pub const MAP = switch (native_arch) {
         UNINITIALIZED: bool = false,
         _: u5 = 0,
     },
-    .aarch64, .aarch64_be, .arm, .thumb => packed struct(u32) {
+    .aarch64, .aarch64_be, .arm, .armeb, .thumb, .thumbeb => packed struct(u32) {
         TYPE: MAP_TYPE,
         FIXED: bool = false,
         ANONYMOUS: bool = false,