mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 06:43:07 +00:00
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:
parent
8eee392862
commit
74f40ddd11
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user