test/cli.zig: Remove inline from panic function in testGodboltApi

Might add another line to stack traces there.
This commit is contained in:
Tadeo Kondrak 2021-02-09 23:44:33 -07:00
parent bcc13597fc
commit bb4f4c043e
No known key found for this signature in database
GPG Key ID: D41E092CA43F1D8B

View File

@ -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();
\\}
);