Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 6 pull requests #51334

Merged
merged 19 commits into from
Jun 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
1b9ab89
Make most integer operations const fns
faern May 29, 2018
8a27c19
Make integer methods non-const in stage0
faern Jun 2, 2018
490c57b
Add test for const endianess conversion
faern May 29, 2018
4f4f7df
Generate br for all two target SwitchInts
nikic May 31, 2018
7a52f1c
Allow enabling incremental via config.toml
oli-obk Jun 2, 2018
7df0099
Pass literal through black_box
faern Jun 3, 2018
3b02376
command line args trump config.toml settings
oli-obk Jun 3, 2018
8b5f962
Ignore i128 test on asmjs
faern Jun 3, 2018
adaf8e6
Move TrustedLen and FusedIterator impl of Iter/IterMut into macro
sdroege Jun 3, 2018
325c676
Remove mention of Slice/SliceMut traits from IterMut documentation
sdroege Jun 3, 2018
10cf7bb
Implement TrustedLen for Windows and the 4 Chunks iterators
sdroege Jun 3, 2018
efa02b6
Remove the unused `-Z trans-time-graph` flag.
kennytm Jun 3, 2018
19e0b7d
Remove is_import field
Mark-Simulacrum Jun 2, 2018
df13790
Rollup merge of #51288 - Mark-Simulacrum:delete-is-import, r=eddyb
Mark-Simulacrum Jun 4, 2018
b35c60e
Rollup merge of #51299 - faern:const-int-ops, r=oli-obk
Mark-Simulacrum Jun 4, 2018
79dd148
Rollup merge of #51317 - oli-obk:incremental_all_the_way, r=Mark-Simu…
Mark-Simulacrum Jun 4, 2018
e7ae1b2
Rollup merge of #51323 - nikic:switch-int-lowering, r=nagisa
Mark-Simulacrum Jun 4, 2018
c3eff19
Rollup merge of #51326 - sdroege:slice-iter-cleanup, r=dtolnay
Mark-Simulacrum Jun 4, 2018
dd1096f
Rollup merge of #51329 - kennytm:trans-left-over, r=oli-obk
Mark-Simulacrum Jun 4, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@
# Whether or not `panic!`s generate backtraces (RUST_BACKTRACE)
#backtrace = true

# Whether to always use incremental compilation when building rustc
#incremental = false

# Build rustc with experimental parallelization
#experimental-parallel-queries = false

Expand Down
5 changes: 5 additions & 0 deletions src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ struct Rust {
dist_src: Option<bool>,
quiet_tests: Option<bool>,
test_miri: Option<bool>,
incremental: Option<bool>,
save_toolstates: Option<String>,
codegen_backends: Option<Vec<String>>,
codegen_backends_dir: Option<String>,
Expand Down Expand Up @@ -529,6 +530,10 @@ impl Config {
set(&mut config.rust_dist_src, rust.dist_src);
set(&mut config.quiet_tests, rust.quiet_tests);
set(&mut config.test_miri, rust.test_miri);
// in the case "false" is set explicitly, do not overwrite the command line args
if let Some(true) = rust.incremental {
config.incremental = true;
}
set(&mut config.wasm_syscall, rust.wasm_syscall);
set(&mut config.lld_enabled, rust.lld);
config.rustc_parallel_queries = rust.experimental_parallel_queries.unwrap_or(false);
Expand Down
1 change: 1 addition & 0 deletions src/libcore/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
#![feature(cfg_target_has_atomic)]
#![feature(concat_idents)]
#![feature(const_fn)]
#![feature(const_int_ops)]
#![feature(core_float)]
#![feature(custom_attribute)]
#![feature(doc_cfg)]
Expand Down
Loading