mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-31 05:15:29 +03:00
std.debug: trap on psp in defaultPanic()
This commit is contained in:
+1
-1
@@ -495,7 +495,7 @@ pub fn defaultPanic(msg: []const u8, first_trace_addr: ?usize) noreturn {
|
||||
if (use_trap_panic) @trap();
|
||||
|
||||
switch (builtin.os.tag) {
|
||||
.freestanding, .other, .@"3ds", .vita => {
|
||||
.freestanding, .other, .@"3ds", .psp, .vita => {
|
||||
@trap();
|
||||
},
|
||||
.uefi => {
|
||||
|
||||
Reference in New Issue
Block a user