rust/src/librustc/session
bors 6e6a4b1957 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?
2018-05-21 12:33:19 +00:00
..
code_stats.rs Implementation of #[repr(packed(n))] RFC 1399. 2018-04-11 22:13:13 +10:00
config.rs Auto merge of #50265 - japaric:sz, r=alexcrichton 2018-05-21 12:33:19 +00:00
filesearch.rs address more FIXME whose associated issues were marked as closed 2017-10-08 00:27:28 +03:00
mod.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
search_paths.rs Implement some trivial size_hints for various iterators 2018-03-20 05:33:59 -04:00