diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-02-22 22:04:51 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-02-22 22:15:05 +0300 |
| commit | 52227edfaf467ac6abe0be085f97884c4502014e (patch) | |
| tree | db8a0b585fce5031998584df0f7928ac5962790f /src/bootstrap/defaults | |
| parent | 1bb3a9f67a2ff6bd49c513ca1b8954237298c4b3 (diff) | |
| download | rust-52227edfaf467ac6abe0be085f97884c4502014e.tar.gz rust-52227edfaf467ac6abe0be085f97884c4502014e.zip | |
set `llvm.assertions` to false in compiler profile
Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true` because we don't provide ci-llvm on the `rustc-alt-builds` server. Therefore, it is kept off by default. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/bootstrap/defaults')
| -rw-r--r-- | src/bootstrap/defaults/config.compiler.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml index 178c6e9056c..e276f126211 100644 --- a/src/bootstrap/defaults/config.compiler.toml +++ b/src/bootstrap/defaults/config.compiler.toml @@ -19,9 +19,9 @@ lto = "off" frame-pointers = true [llvm] -# This enables debug-assertions in LLVM, -# catching logic errors in codegen much earlier in the process. -assertions = true +# Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true` +# because we don't provide ci-llvm on the `rustc-alt-builds` server. Therefore, it is kept off by default. +assertions = false # Enable warnings during the LLVM compilation (when LLVM is changed, causing a compilation) enable-warnings = true # Will download LLVM from CI if available on your platform. |
