about summary refs log tree commit diff
path: root/src/bootstrap/defaults/config.toml.compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/defaults/config.toml.compiler')
-rw-r--r--src/bootstrap/defaults/config.toml.compiler8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.toml.compiler b/src/bootstrap/defaults/config.toml.compiler
new file mode 100644
index 00000000000..4772de8a2cb
--- /dev/null
+++ b/src/bootstrap/defaults/config.toml.compiler
@@ -0,0 +1,8 @@
+# These defaults are meant for contributors to the compiler who do not modify codegen or LLVM
+[rust]
+# This enables `RUSTC_LOG=debug`, avoiding confusing situations
+# where adding `debug!()` appears to do nothing.
+# However, it makes running the compiler slightly slower.
+debug-logging = true
+# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
+incremental = true