From bbdca1ec7fa41261a14a48463312593a39fd678c Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Sun, 6 Sep 2020 15:09:04 -0400 Subject: [PATCH] Set `incremental = true` in config.toml.example This does not affect any x.py defaults, or any contributors that have an existing config.toml. It only affects the settings for new contributors. This has been recommended by rustc-dev-guide for many months. I'm not aware of people running into much trouble with it and it saves an *enormous* amount of time when recompiling. It also requires recompiling all of `rustc` when changed. --- config.toml.example | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.toml.example b/config.toml.example index 9abb8add785a9..630ba0bc611cf 100644 --- a/config.toml.example +++ b/config.toml.example @@ -368,9 +368,11 @@ #backtrace = true # Whether to always use incremental compilation when building rustc -#incremental = false +# Defaults to `false`, but it's recommended that contributors set it to `true`. +incremental = true # Build a multi-threaded rustc +# FIXME(#75760): Some UI tests fail when this option is enabled. #parallel-compiler = false # The default linker that will be hard-coded into the generated compiler for