rust/src/librustc
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
..
benches Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
cfg Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
dep_graph Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
hir rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded constants". 2018-05-19 20:34:42 +03:00
ich Auto merge of #50851 - eddyb:the-only-constant, r=nikomatsakis 2018-05-20 22:37:06 +00:00
infer use reset_unifications instead of creating new unification table 2018-05-18 15:58:23 -04:00
lint Auto merge of #50763 - KyleStach1678:unused-loop-label, r=petrochenkov 2018-05-19 14:52:30 +00:00
middle Rollup merge of #50854 - zackmdavis:and_the_case_of_the_unused_field_pattern_3_straight_to_video, r=estebank 2018-05-20 04:16:06 +08:00
mir Use Size instead of u64 in mir interpretation 2018-05-19 16:38:49 +02:00
session Auto merge of #50265 - japaric:sz, r=alexcrichton 2018-05-21 12:33:19 +00:00
traits Rollup merge of #50818 - nnethercote:faster-normalize, r=nikomatsakis 2018-05-17 13:51:27 -06:00
ty Auto merge of #50860 - nox:big-niches-for-big-doggos-🐕, r=eddyb 2018-05-21 01:23:15 +00:00
util rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded constants". 2018-05-19 20:34:42 +03:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
diagnostics.rs Checking location and syntax of non_exhaustive attribute. 2018-04-02 23:02:29 +01:00
lib.rs Stabilise inclusive_range_methods 2018-05-17 20:58:28 +01:00
macros.rs extend stable hasher to support CanonicalTy 2018-03-16 12:49:37 -04:00
README.md Change links to readmes 2018-02-25 15:24:14 -06:00

For more information about how rustc works, see the rustc guide.