From bb4f4c043e7dde4e8b9fcbf0af9329d3fd08ff7b Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Tue, 9 Feb 2021 23:44:33 -0700 Subject: test/cli.zig: Remove inline from panic function in testGodboltApi Might add another line to stack traces there. --- test/cli.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/cli.zig b/test/cli.zig index 8787dab277..c0702fa54c 100644 --- 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(); \\} ); -- cgit v1.2.3