spirv: enable simplified default panic handler

SPIR-V cannot print, so we cannot yet use the fancy default
panic handler. Instead we will just use the infinite loop
one for now.
This commit is contained in:
Robin Voetter 2023-07-01 14:27:57 +02:00
parent 8eee392862
commit 74f40ddd11
No known key found for this signature in database

View file

@ -741,7 +741,8 @@ pub fn default_panic(msg: []const u8, error_return_trace: ?*StackTrace, ret_addr
builtin.zig_backend == .stage2_x86_64 or builtin.zig_backend == .stage2_x86_64 or
builtin.zig_backend == .stage2_x86 or builtin.zig_backend == .stage2_x86 or
builtin.zig_backend == .stage2_riscv64 or builtin.zig_backend == .stage2_riscv64 or
builtin.zig_backend == .stage2_sparc64) builtin.zig_backend == .stage2_sparc64 or
builtin.zig_backend == .stage2_spirv64)
{ {
while (true) { while (true) {
@breakpoint(); @breakpoint();