mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
fix stack_iterator test build script
When I updated this build script to the new API, I incorrectly translated the logic for setting unwind_tables. This commit fixes it.
This commit is contained in:
parent
196ddf010c
commit
751ff043d7
@ -22,7 +22,7 @@ pub fn build(b: *std.Build) void {
|
||||
.root_source_file = .{ .path = "unwind.zig" },
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.unwind_tables = target.result.isDarwin(),
|
||||
.unwind_tables = if (target.result.isDarwin()) true else null,
|
||||
.omit_frame_pointer = false,
|
||||
});
|
||||
|
||||
@ -84,7 +84,7 @@ pub fn build(b: *std.Build) void {
|
||||
.root_source_file = .{ .path = "shared_lib_unwind.zig" },
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
.unwind_tables = target.result.isDarwin(),
|
||||
.unwind_tables = if (target.result.isDarwin()) true else null,
|
||||
.omit_frame_pointer = true,
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user