diff options
| author | bors <bors@rust-lang.org> | 2018-05-21 12:33:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-21 12:33:19 +0000 |
| commit | 6e6a4b1957e2407563f3c9005504f95138ffe28f (patch) | |
| tree | 6500f355613acd41371ba548e9dfa8e30569600c /src/rustllvm/RustWrapper.cpp | |
| parent | 21b536704574061cebe431582116b6f91ae5b983 (diff) | |
| parent | 2b09d7cc6455715205e08fedf16d382f49e82152 (diff) | |
| download | rust-6e6a4b1957e2407563f3c9005504f95138ffe28f.tar.gz rust-6e6a4b1957e2407563f3c9005504f95138ffe28f.zip | |
Auto merge of #50265 - japaric:sz, r=alexcrichton
stabilize opt-level={s,z}
closes #35784
closes #47651
### Rationale
Since the lastest LLVM upgrade rustc / LLVM does more agressive loop unrolling. This results in increased binary size of embedded / no_std programs: a hundreds of bytes increase, or about a 7x increase, in the case of the smallest Cortex-M binary cf. #49260.
As we are shooting for embedded Rust on stable it would be great to also provide a way to optimize for size (which is pretty important for embedded applications that target resource constrained devices) on stable.
Also this has been baking in nightly for a long time.
r? @alexcrichton which team has to sign off this?
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
