Skip to content

Commit f542959

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 f542959

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/bootstrap/defaults/config.compiler.toml

+2-1
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

src/tools/cargo

Submodule cargo updated 195 files

0 commit comments

Comments
 (0)