mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Add debug assertions to compiler profile
Working on the compiler without debug assertions is not a very productive way to work on the compiler.
This commit is contained in:
@@ -8,6 +8,8 @@ compiler-docs = true
|
||||
# where adding `debug!()` appears to do nothing.
|
||||
# However, it makes running the compiler slightly slower.
|
||||
debug-logging = true
|
||||
# Enables debug assertions, which guard from many mistakes when working on the compiler.
|
||||
debug-assertions = true
|
||||
# Get actually-useful information from backtraces, profiling, etc. with minimal added bytes
|
||||
debuginfo-level = "line-tables-only"
|
||||
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
|
||||
|
||||
@@ -335,4 +335,9 @@ pub fn human_readable_changes(changes: &[ChangeInfo]) -> String {
|
||||
severity: ChangeSeverity::Warning,
|
||||
summary: "Some stamp names in the build artifacts may have changed slightly (e.g., from `llvm-finished-building` to `.llvm-stamp`).",
|
||||
},
|
||||
ChangeInfo {
|
||||
change_id: 135729,
|
||||
severity: ChangeSeverity::Info,
|
||||
summary: "Change the compiler profile to default to rust.debug-assertions = true",
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user