mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue