diff options
Diffstat (limited to 'test/link/macho/objcpp/build.zig')
| -rw-r--r-- | test/link/macho/objcpp/build.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/link/macho/objcpp/build.zig b/test/link/macho/objcpp/build.zig index 767578e225..6b9047fbf9 100644 --- a/test/link/macho/objcpp/build.zig +++ b/test/link/macho/objcpp/build.zig @@ -16,6 +16,7 @@ pub fn build(b: *Builder) void { // TODO when we figure out how to ship framework stubs for cross-compilation, // populate paths to the sysroot here. exe.linkFramework("Foundation"); + exe.link_gc_sections = true; const run_cmd = exe.run(); run_cmd.expectStdOutEqual("Hello from C++ and Zig"); |
