about summary refs log tree commit diff
path: root/src/bootstrap/defaults
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-02-22 22:04:51 +0300
committeronur-ozkan <work@onurozkan.dev>2024-02-22 22:15:05 +0300
commit52227edfaf467ac6abe0be085f97884c4502014e (patch)
treedb8a0b585fce5031998584df0f7928ac5962790f /src/bootstrap/defaults
parent1bb3a9f67a2ff6bd49c513ca1b8954237298c4b3 (diff)
downloadrust-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.toml6
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.