diff --git a/lib/std/process.zig b/lib/std/process.zig index cfb5783839..9869bb2593 100644 --- a/lib/std/process.zig +++ b/lib/std/process.zig @@ -846,7 +846,7 @@ pub fn abort() noreturn { exit(127); // Pid 1 might not be signalled in some containers. } switch (native_os) { - .uefi, .wasi, .emscripten, .cuda, .amdhsa => @trap(), + .uefi, .wasi, .emscripten, .cuda, .amdhsa, .other, .freestanding => @trap(), else => posix.system.abort(), } }