Skip to content

Commit

Permalink
Default rust.debug = true for compiler contribs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
workingjubilee committed Apr 1, 2024
1 parent a7e3b1c commit f43ad4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap/defaults/config.compiler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ compiler-docs = true
[rust]
# This enables `RUSTC_LOG=debug`, avoiding confusing situations
# where adding `debug!()` appears to do nothing.
# It also improves the quality of information from backtraces, profiling, etc.
# However, it makes running the compiler slightly slower.
debug-logging = true
debug = 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
# Print backtrace on internal compiler errors during bootstrap
Expand Down

0 comments on commit f43ad4c

Please sign in to comment.