diff options
Diffstat (limited to 'test/standalone/stack_iterator/build.zig')
| -rw-r--r-- | test/standalone/stack_iterator/build.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/standalone/stack_iterator/build.zig b/test/standalone/stack_iterator/build.zig index b76cb6cecd..486eb96439 100644 --- a/test/standalone/stack_iterator/build.zig +++ b/test/standalone/stack_iterator/build.zig @@ -52,6 +52,8 @@ pub fn build(b: *std.Build) void { .unwind_tables = .@"async", .omit_frame_pointer = true, }), + // self-hosted lacks omit_frame_pointer support + .use_llvm = true, }); const run_cmd = b.addRunArtifact(exe); @@ -97,6 +99,8 @@ pub fn build(b: *std.Build) void { .unwind_tables = if (target.result.os.tag.isDarwin()) .@"async" else null, .omit_frame_pointer = true, }), + // zig objcopy doesn't support incremental binaries + .use_llvm = true, }); exe.linkLibrary(c_shared_lib); @@ -137,6 +141,8 @@ pub fn build(b: *std.Build) void { .unwind_tables = null, .omit_frame_pointer = false, }), + // self-hosted lacks omit_frame_pointer support + .use_llvm = true, }); // This "freestanding" binary is runnable because it invokes the |
