mirror of
https://github.com/ziglang/zig.git
synced 2025-12-17 11:43:16 +00:00
test/cli.zig: Remove inline from panic function in testGodboltApi
Might add another line to stack traces there.
This commit is contained in:
parent
bcc13597fc
commit
bb4f4c043e
@ -113,7 +113,7 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {
|
|||||||
\\ return num * num;
|
\\ return num * num;
|
||||||
\\}
|
\\}
|
||||||
\\extern fn zig_panic() noreturn;
|
\\extern fn zig_panic() noreturn;
|
||||||
\\pub fn panic(msg: []const u8, error_return_trace: ?*@import("builtin").StackTrace) callconv(.Inline) noreturn {
|
\\pub fn panic(msg: []const u8, error_return_trace: ?*@import("builtin").StackTrace) noreturn {
|
||||||
\\ zig_panic();
|
\\ zig_panic();
|
||||||
\\}
|
\\}
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user