diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-07-04 20:40:10 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-07-22 16:58:20 +0200 |
| commit | 03feea0fb200f273dd74bf778997e6a6bead86cc (patch) | |
| tree | c439ed641e01ec4d860abb181ee585a2a287494c /test/link/macho/objcpp | |
| parent | d042b88c112aa919386bc76294225d4f7bd9a7b3 (diff) | |
| download | zig-03feea0fb200f273dd74bf778997e6a6bead86cc.tar.gz zig-03feea0fb200f273dd74bf778997e6a6bead86cc.zip | |
macho: split section into subsections if requested and/or possible
Diffstat (limited to 'test/link/macho/objcpp')
| -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"); |
