Skip to content

Commit 52227ed

Browse files
committed
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 <[email protected]>
1 parent 1bb3a9f commit 52227ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/defaults/config.compiler.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ lto = "off"
1919
frame-pointers = true
2020

2121
[llvm]
22-
# This enables debug-assertions in LLVM,
23-
# catching logic errors in codegen much earlier in the process.
24-
assertions = true
22+
# Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true`
23+
# because we don't provide ci-llvm on the `rustc-alt-builds` server. Therefore, it is kept off by default.
24+
assertions = false
2525
# Enable warnings during the LLVM compilation (when LLVM is changed, causing a compilation)
2626
enable-warnings = true
2727
# Will download LLVM from CI if available on your platform.

0 commit comments

Comments
 (0)