mach: update wasm root.panic signature for latest Zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
78cf48e022
commit
e0e0a6d0bb
1 changed files with 3 additions and 1 deletions
|
|
@ -340,7 +340,9 @@ pub fn log(
|
||||||
js.machLogFlush();
|
js.machLogFlush();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn panic(msg: []const u8, _: ?*std.builtin.StackTrace) noreturn {
|
pub fn panic(msg: []const u8, error_return_trace: ?*std.builtin.StackTrace, ret_addr: ?usize) noreturn {
|
||||||
|
_ = error_return_trace;
|
||||||
|
_ = ret_addr;
|
||||||
js.machPanic(msg.ptr, msg.len);
|
js.machPanic(msg.ptr, msg.len);
|
||||||
unreachable;
|
unreachable;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue