Skip to content

Commit 248dd14

Browse files
committed
update config.example.toml
1 parent bf5fb76 commit 248dd14

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

config.example.toml

+5-4
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,11 @@ change-id = 117435
553553
# Whether to always use incremental compilation when building rustc
554554
#incremental = false
555555

556-
# Build a multi-threaded rustc
557-
# FIXME(#75760): Some UI tests fail when this option is enabled.
558-
# NOTE: This option is NOT SUPPORTED. See #48685.
559-
#parallel-compiler = false
556+
# Build a multi-threaded rustc. This allows users to use parallel rustc
557+
# via the unstable option `-Z threads=n`.
558+
# Since stable/beta channels only allow using stable features,
559+
# `parallel-compiler = false` should be set for these channels.
560+
#parallel-compiler = true
560561

561562
# The default linker that will be hard-coded into the generated
562563
# compiler for targets that don't specify a default linker explicitly

src/bootstrap/src/core/config/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ impl Config {
11121112

11131113
fn parse_inner(args: &[String], get_toml: impl Fn(&Path) -> TomlConfig) -> Config {
11141114
let mut flags = Flags::parse(&args);
1115-
let mut config: Config = Config::default_opts();
1115+
let mut config = Config::default_opts();
11161116

11171117
// Set flags.
11181118
config.paths = std::mem::take(&mut flags.paths);

0 commit comments

Comments
 (0)