commit bb4f4c043e7dde4e8b9fcbf0af9329d3fd08ff7b (tree) parent bcc13597fcec351f7231333fe6f5612c88d6eb65 Author: Tadeo Kondrak <me@tadeo.ca> Date: Tue, 9 Feb 2021 23:44:33 -0700 test/cli.zig: Remove inline from panic function in testGodboltApi Might add another line to stack traces there. Diffstat:
| M | test/cli.zig | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cli.zig b/test/cli.zig @@ -113,7 +113,7 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void { \\ return num * num; \\} \\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(); \\} );