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 9 pull requests #65793

Merged
merged 41 commits into from
Oct 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
33910f9
Deprecated proc_macro doesn't trigger warning on build library
XiangQingW Oct 21, 2019
c027be0
Deprecated proc_macro doesn't trigger warning on build library
XiangQingW Oct 21, 2019
aa733da
Add long error explanation for E0576
GuillaumeGomez Oct 13, 2019
530d709
Update ui tests
GuillaumeGomez Oct 13, 2019
7ffbd62
ignore uninhabited non-exhaustive variant fields
davidtwco Oct 14, 2019
2e64bb2
syntax: reject `trait Foo: Bar = Baz;`.
Centril Sep 21, 2019
2d182b8
pre-expansion gate trait_alias.
Centril Sep 21, 2019
c17a1fd
pre-expansion gate associated_type_bounds
Centril Sep 21, 2019
04c661b
pre-expansion gate crate_visibility_modifier
Centril Sep 21, 2019
49cbfa1
pre-expansion gate const_generics
Centril Sep 21, 2019
1f470ce
pre-expansion gate decl_macro
Centril Sep 21, 2019
2aff6b3
pre-expansion gate box_patterns
Centril Sep 21, 2019
665a876
pre-expansion gate exclusive_range_pattern
Centril Sep 21, 2019
1935ba6
pre-expansion gate try_blocks
Centril Sep 21, 2019
66995a6
dedup GAT gate checks
Centril Sep 21, 2019
137ded8
pre-expansion gate label_break_value
Centril Sep 21, 2019
e4ed886
pre-expansion gate box_syntax
Centril Sep 21, 2019
15a6c09
pre-expansion gate type_ascription
Centril Sep 21, 2019
822f787
Adjust the tracking issue for `untagged_unions`.
Centril Oct 24, 2019
b133156
Deprecated proc_macro doesn't trigger warning on build library
XiangQingW Oct 21, 2019
a2e94ca
Add `array::IntoIter` as a consuming/by-value array iterator
LukasKalbertodt Jul 24, 2019
5334a30
Add unit tests for `array::IntoIter`
LukasKalbertodt Jul 26, 2019
c36b9dd
Add UI tests for `array::IntoIter` impls
LukasKalbertodt Oct 21, 2019
4cfcb77
Changed APIT with explicit generic args span to specific arg spans
ObsidianMinor Oct 24, 2019
9adea61
add a WARNING to rust.optimize option in config.toml.example
Oct 24, 2019
2f7e3d5
add the missing rust.musl-root option in config.toml.example
Oct 24, 2019
a909541
reorder Llvm struct's fields based on the order in config.toml.example
Oct 24, 2019
9452231
reorder Build struct's fields based on the order in config.toml.example
Oct 24, 2019
e1e60c3
reorder Install struct's fields based on the order in config.toml.exa…
Oct 24, 2019
2c93fd2
reorder Rust struct's fields based on the order in config.toml.example
Oct 24, 2019
5defe06
reorder TomlTarget struct's fields based on the order in config.toml.…
Oct 24, 2019
d724174
Fix more `ReEmpty` ICEs
matthewjasper Oct 20, 2019
a302155
Rollup merge of #62959 - LukasKalbertodt:array-value-iter, r=scottmcm
Centril Oct 25, 2019
e25720f
Rollup merge of #65390 - GuillaumeGomez:long-err-explanation-E0576, r…
Centril Oct 25, 2019
ee7f9de
Rollup merge of #65408 - guanqun:remove-rust-optimize, r=Mark-Simulacrum
Centril Oct 25, 2019
50e8c41
Rollup merge of #65414 - davidtwco:issue-65157-non-exhaustive-always-…
Centril Oct 25, 2019
fb602c7
Rollup merge of #65666 - XiangQingW:proc_macro, r=petrochenkov
Centril Oct 25, 2019
d6a18b6
Rollup merge of #65742 - Centril:gate-pre-expansion-subset, r=davidtwco
Centril Oct 25, 2019
8b9661b
Rollup merge of #65747 - Centril:union-issue-fix, r=varkor
Centril Oct 25, 2019
2b7cc64
Rollup merge of #65763 - ObsidianMinor:diag/65642, r=varkor
Centril Oct 25, 2019
100c924
Rollup merge of #65775 - matthewjasper:reempty, r=pnkfelix
Centril Oct 25, 2019
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
10 changes: 6 additions & 4 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,9 @@
[rust]

# Whether or not to optimize the compiler and standard library.
#
# Note: the slowness of the non optimized compiler compiling itself usually
# outweighs the time gains in not doing optimizations, therefore a
# full bootstrap takes much more time with `optimize` set to false.
# WARNING: Building with optimize = false is NOT SUPPORTED. Due to bootstrapping,
# building without optimizations takes much longer than optimizing. Further, some platforms
# fail to build without this optimization (c.f. #65352).
#optimize = true

# Indicates that the build should be configured for debugging Rust. A
Expand Down Expand Up @@ -341,6 +340,9 @@
# nightly features
#channel = "dev"

# The root location of the MUSL installation directory.
#musl-root = "..."

# By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix
# platforms to ensure that the compiler is usable by default from the build
# directory (as it links to a number of dynamic libraries). This may not be
Expand Down
30 changes: 15 additions & 15 deletions src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,23 +200,23 @@ struct Build {
target: Vec<String>,
cargo: Option<String>,
rustc: Option<String>,
low_priority: Option<bool>,
compiler_docs: Option<bool>,
docs: Option<bool>,
compiler_docs: Option<bool>,
submodules: Option<bool>,
fast_submodules: Option<bool>,
gdb: Option<String>,
locked_deps: Option<bool>,
vendor: Option<bool>,
nodejs: Option<String>,
python: Option<String>,
locked_deps: Option<bool>,
vendor: Option<bool>,
full_bootstrap: Option<bool>,
extended: Option<bool>,
tools: Option<HashSet<String>>,
verbose: Option<usize>,
sanitizers: Option<bool>,
profiler: Option<bool>,
cargo_native_static: Option<bool>,
low_priority: Option<bool>,
configure_args: Option<Vec<String>>,
local_rebuild: Option<bool>,
print_step_timings: Option<bool>,
Expand All @@ -228,11 +228,11 @@ struct Build {
struct Install {
prefix: Option<String>,
sysconfdir: Option<String>,
datadir: Option<String>,
docdir: Option<String>,
bindir: Option<String>,
libdir: Option<String>,
mandir: Option<String>,
datadir: Option<String>,

// standard paths, currently unused
infodir: Option<String>,
Expand All @@ -243,14 +243,14 @@ struct Install {
#[derive(Deserialize, Default)]
#[serde(deny_unknown_fields, rename_all = "kebab-case")]
struct Llvm {
ccache: Option<StringOrBool>,
ninja: Option<bool>,
assertions: Option<bool>,
optimize: Option<bool>,
thin_lto: Option<bool>,
release_debuginfo: Option<bool>,
assertions: Option<bool>,
ccache: Option<StringOrBool>,
version_check: Option<bool>,
static_libstdcpp: Option<bool>,
ninja: Option<bool>,
targets: Option<String>,
experimental_targets: Option<String>,
link_jobs: Option<u32>,
Expand Down Expand Up @@ -293,6 +293,7 @@ impl Default for StringOrBool {
#[serde(deny_unknown_fields, rename_all = "kebab-case")]
struct Rust {
optimize: Option<bool>,
debug: Option<bool>,
codegen_units: Option<u32>,
codegen_units_std: Option<u32>,
debug_assertions: Option<bool>,
Expand All @@ -301,25 +302,24 @@ struct Rust {
debuginfo_level_std: Option<u32>,
debuginfo_level_tools: Option<u32>,
debuginfo_level_tests: Option<u32>,
parallel_compiler: Option<bool>,
backtrace: Option<bool>,
incremental: Option<bool>,
parallel_compiler: Option<bool>,
default_linker: Option<String>,
channel: Option<String>,
musl_root: Option<String>,
rpath: Option<bool>,
verbose_tests: Option<bool>,
optimize_tests: Option<bool>,
codegen_tests: Option<bool>,
ignore_git: Option<bool>,
debug: Option<bool>,
dist_src: Option<bool>,
verbose_tests: Option<bool>,
incremental: Option<bool>,
save_toolstates: Option<String>,
codegen_backends: Option<Vec<String>>,
codegen_backends_dir: Option<String>,
lld: Option<bool>,
lldb: Option<bool>,
llvm_tools: Option<bool>,
lldb: Option<bool>,
deny_warnings: Option<bool>,
backtrace_on_ice: Option<bool>,
verify_llvm_ir: Option<bool>,
Expand All @@ -333,13 +333,13 @@ struct Rust {
#[derive(Deserialize, Default)]
#[serde(deny_unknown_fields, rename_all = "kebab-case")]
struct TomlTarget {
llvm_config: Option<String>,
llvm_filecheck: Option<String>,
cc: Option<String>,
cxx: Option<String>,
ar: Option<String>,
ranlib: Option<String>,
linker: Option<String>,
llvm_config: Option<String>,
llvm_filecheck: Option<String>,
android_ndk: Option<String>,
crt_static: Option<bool>,
musl_root: Option<String>,
Expand Down
Loading