diff options
| author | Noratrieb <48135649+Noratrieb@users.noreply.github.com> | 2025-01-19 14:24:46 +0100 |
|---|---|---|
| committer | Noratrieb <48135649+Noratrieb@users.noreply.github.com> | 2025-01-19 16:01:54 +0100 |
| commit | 2e69bd2ce9b9037b22e46545495f32421c06d153 (patch) | |
| tree | a0c9b7b2d6fddffa28c22e40809f1dea9bd64232 /src/bootstrap/defaults | |
| parent | 8e59cf95d540fcb341790126f524754f45a198ad (diff) | |
| download | rust-2e69bd2ce9b9037b22e46545495f32421c06d153.tar.gz rust-2e69bd2ce9b9037b22e46545495f32421c06d153.zip | |
Add debug assertions to compiler profile
Working on the compiler without debug assertions is not a very productive way to work on the compiler.
Diffstat (limited to 'src/bootstrap/defaults')
| -rw-r--r-- | src/bootstrap/defaults/config.compiler.toml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml index a737de3bd08..269b90106e3 100644 --- a/src/bootstrap/defaults/config.compiler.toml +++ b/src/bootstrap/defaults/config.compiler.toml @@ -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. |
