| ... | @@ -22,7 +22,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -22,7 +22,7 @@ pub fn build(b: *std.Build) void { |
| 22 | .root_source_file = .{ .path = "unwind.zig" }, | 22 | .root_source_file = .{ .path = "unwind.zig" }, |
| 23 | .target = target, | 23 | .target = target, |
| 24 | .optimize = optimize, | 24 | .optimize = optimize, |
| 25 | .unwind_tables = target.result.isDarwin(), | 25 | .unwind_tables = if (target.result.isDarwin()) true else null, |
| 26 | .omit_frame_pointer = false, | 26 | .omit_frame_pointer = false, |
| 27 | }); | 27 | }); |
| 28 | | 28 | |
| ... | @@ -84,7 +84,7 @@ pub fn build(b: *std.Build) void { | ... | @@ -84,7 +84,7 @@ pub fn build(b: *std.Build) void { |
| 84 | .root_source_file = .{ .path = "shared_lib_unwind.zig" }, | 84 | .root_source_file = .{ .path = "shared_lib_unwind.zig" }, |
| 85 | .target = target, | 85 | .target = target, |
| 86 | .optimize = optimize, | 86 | .optimize = optimize, |
| 87 | .unwind_tables = target.result.isDarwin(), | 87 | .unwind_tables = if (target.result.isDarwin()) true else null, |
| 88 | .omit_frame_pointer = true, | 88 | .omit_frame_pointer = true, |
| 89 | }); | 89 | }); |
| 90 | | 90 | |