diff options
| author | bors <bors@rust-lang.org> | 2014-04-28 23:06:50 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-28 23:06:50 -0700 |
| commit | cbe6bd0a9d8228a8a857223b9b9d69f75242f58f (patch) | |
| tree | f3f57a8d61ef21f24a2fb83fce33326f8b7e4360 /src/rustllvm/RustWrapper.cpp | |
| parent | 8fdf1e2cb8d5c54ada6b0ed223c76dd3e3d10c1a (diff) | |
| parent | edd8bb0aa191abcb5f8a3d6a6b03740907c6c54e (diff) | |
| download | rust-cbe6bd0a9d8228a8a857223b9b9d69f75242f58f.tar.gz rust-cbe6bd0a9d8228a8a857223b9b9d69f75242f58f.zip | |
auto merge of #13829 : alexcrichton/rust/dead-strip, r=thestinger
This flag to the linker asks it to strip away all dead code during linking, as well as dead data. This reduces the size of hello world from 1.7MB to 458K on my system (70% reduction). I have not seen this impact link times negatively, and I have seen this pass 'make check' successfully. I am slightly wary of adding this option, but the benefits are so huge tha I think we should work hard to work around any issues rather than avoid using the flag entirely.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
