Skip to content

Commit f43ad4c

Browse files
Default rust.debug = true for compiler contribs
This profile has only undergone minimal tweaks since it was originally drafted. I asked a number of compiler contributors and they said they set rust.debug explicitly. This was even true for one contributor that set `rust.debug` = false! Almost everyone seems slightly surprised that `rust.debug = true` is not the default. Let reality match expectation.
1 parent a7e3b1c commit f43ad4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/defaults/config.compiler.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ compiler-docs = true
66
[rust]
77
# This enables `RUSTC_LOG=debug`, avoiding confusing situations
88
# where adding `debug!()` appears to do nothing.
9+
# It also improves the quality of information from backtraces, profiling, etc.
910
# However, it makes running the compiler slightly slower.
10-
debug-logging = true
11+
debug = true
1112
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
1213
incremental = true
1314
# Print backtrace on internal compiler errors during bootstrap

0 commit comments

Comments
 (0)