authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-05-17 14:36:51-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-05-17 14:36:51-07:00
logf41892f73696edfddad5597ee927e7371a0891ad
tree1e9e9f991455e8f6f98bea56a08157688559fee8
parent84fdeb47a39cbd1a32c670813fe6ef5a8e88ebac

std: `@import("builtin").StackTrace` -> `std.builtin.StackTrace`


2 files changed, 2 insertions(+), 2 deletions(-)

test/cli.zig+1-1
...@@ -115,7 +115,7 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {...@@ -115,7 +115,7 @@ fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) anyerror!void {
115 \\ return num * num;115 \\ return num * num;
116 \\}116 \\}
117 \\extern fn zig_panic() noreturn;117 \\extern fn zig_panic() noreturn;
118 \\pub fn panic(msg: []const u8, error_return_trace: ?*@import("builtin").StackTrace) noreturn {118 \\pub fn panic(msg: []const u8, error_return_trace: ?*@import("std").builtin.StackTrace) noreturn {
119 \\ zig_panic();119 \\ zig_panic();
120 \\}120 \\}
121 );121 );
test/standalone/issue_339/test.zig+1-1
...@@ -1,4 +1,4 @@...@@ -1,4 +1,4 @@
1const StackTrace = @import("builtin").StackTrace;1const StackTrace = @import("std").builtin.StackTrace;
2pub fn panic(msg: []const u8, stack_trace: ?*StackTrace) noreturn {2pub fn panic(msg: []const u8, stack_trace: ?*StackTrace) noreturn {
3 @breakpoint();3 @breakpoint();
4 while (true) {}4 while (true) {}