macho: rework symbol handling for incremental stage2 builds

This commit is contained in:
Jakub Konka
2022-07-12 23:03:15 +02:00
parent eeb6d8f045
commit d80fcc8a0b
5 changed files with 640 additions and 460 deletions

View File

@@ -16,7 +16,6 @@ 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");