diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-06-07 13:08:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-07 13:08:22 -0400 |
| commit | 8b875b17ade95c4e0098c7c3b20134f03745aac3 (patch) | |
| tree | 02ee642b33451b453994f484a2204ddca42e4857 /test/standalone/stack_iterator | |
| parent | 173bc4274446a14aca2eea128b70b35b0ba18ebe (diff) | |
| parent | 5a52da1b7a8c467087da8f3a20ab902ec8c1e25d (diff) | |
| download | zig-8b875b17ade95c4e0098c7c3b20134f03745aac3.tar.gz zig-8b875b17ade95c4e0098c7c3b20134f03745aac3.zip | |
Merge pull request #24072 from jacobly0/x86_64-default
Compilation: enable the x86_64 backend by default for debug builds
Diffstat (limited to 'test/standalone/stack_iterator')
| -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 |
