diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-06-17 18:34:11 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-06-17 18:34:11 -0700 |
| commit | e4092d44426a471ee6097fae24069c72cffdc22a (patch) | |
| tree | aee6e1fdda76e737f40fe9c0baed36f86d909c3f /test/link/objcpp/build.zig | |
| parent | 2064d86298cf4aefa28ace10d02307ac2f067cbb (diff) | |
| download | zig-e4092d44426a471ee6097fae24069c72cffdc22a.tar.gz zig-e4092d44426a471ee6097fae24069c72cffdc22a.zip | |
stage2: rip out multi-compilation-unit compiler-rt
After doing performance testing, it seems that multi-compilation-unit
compiler-rt did not bring the performance improvements that we expected
it to. The idea is that it makes linking faster, however, it incurred a
cost in the frontend that was not offset by any gains in linking.
Furthermore, the single-object compiler-rt (with -ffunction-sections and
--gc-sections) ends up being fewer bytes on disk and so it's actually
the same or faster linking speed than the multi-compilation-unit
version.
So we are planning to keep using single-compilation-unit compiler-rt for
the foreseeable future, but may experiment with this again in the
future, in which case this commit can be reverted.
Diffstat (limited to 'test/link/objcpp/build.zig')
0 files changed, 0 insertions, 0 deletions
