diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2021-02-09 23:44:33 -0700 |
|---|---|---|
| committer | Tadeo Kondrak <me@tadeo.ca> | 2021-02-10 20:22:20 -0700 |
| commit | bb4f4c043e7dde4e8b9fcbf0af9329d3fd08ff7b (patch) | |
| tree | c330a1de799d7a17217718b8a8085c4cb5260604 /test | |
| parent | bcc13597fcec351f7231333fe6f5612c88d6eb65 (diff) | |
| download | zig-bb4f4c043e7dde4e8b9fcbf0af9329d3fd08ff7b.tar.gz zig-bb4f4c043e7dde4e8b9fcbf0af9329d3fd08ff7b.zip | |
test/cli.zig: Remove inline from panic function in testGodboltApi
Might add another line to stack traces there.
Diffstat (limited to 'test')
| -rw-r--r-- | test/cli.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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(); \\} ); |
