| ... | @@ -846,7 +846,7 @@ pub fn abort() noreturn { | ... | @@ -846,7 +846,7 @@ pub fn abort() noreturn { |
| 846 | exit(127); // Pid 1 might not be signalled in some containers. | 846 | exit(127); // Pid 1 might not be signalled in some containers. |
| 847 | } | 847 | } |
| 848 | switch (native_os) { | 848 | switch (native_os) { |
| 849 | .uefi, .wasi, .emscripten, .cuda, .amdhsa => @trap(), | 849 | .uefi, .wasi, .emscripten, .cuda, .amdhsa, .other, .freestanding => @trap(), |
| 850 | else => posix.system.abort(), | 850 | else => posix.system.abort(), |
| 851 | } | 851 | } |
| 852 | } | 852 | } |