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