diff options
| author | Motiejus Jakštys <motiejus@jakstys.lt> | 2022-07-20 14:31:04 +0300 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-20 18:26:17 -0400 |
| commit | fd9b55a6405f908237285ee8280648ad368fccfc (patch) | |
| tree | e3ca2fea54f5bad1c984c7c56004eb6c4ef17ef1 /lib/std/build/CheckObjectStep.zig | |
| parent | c1f3aca6027baaae781503af579767d208f8f172 (diff) | |
| download | zig-fd9b55a6405f908237285ee8280648ad368fccfc.tar.gz zig-fd9b55a6405f908237285ee8280648ad368fccfc.zip | |
build.zig: teach `--compress-debug-sections`
Now that #11863 is landed, let's expose it to the zig programs that
build stuff via `build.zig`. "Benchmarks" with [turbonss](https://git.sr.ht/~motiejus/turbonss):
Built with:
$ zig build -Dtarget=x86_64-linux-gnu.2.19 -Dcpu=x86_64_v3 -Drelease-small=true
*Debug, uncompressed*
174K turbonss-analyze
161K turbonss-getent
1.2M turbonss-unix2db
448K libnss_turbo.so.2.0.0
*Debug, compressed*
78K turbonss-analyze
86K turbonss-getent
572K turbonss-unix2db
190K libnss_turbo.so.2.0.0
*Stripped, for completeness*
17K turbonss-analyze
20K turbonss-getent
197K turbonss-unix2db
26K libnss_turbo.so.2.0.0
Diffstat (limited to 'lib/std/build/CheckObjectStep.zig')
0 files changed, 0 insertions, 0 deletions
