We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 151be09 commit afbbb74Copy full SHA for afbbb74
src/bootstrap/build/native.rs
@@ -39,7 +39,12 @@ pub fn llvm(build: &Build, target: &str) {
39
40
let _ = fs::remove_dir_all(&dst.join("build"));
41
t!(fs::create_dir_all(&dst.join("build")));
42
- let assertions = if build.config.llvm_assertions {"ON"} else {"OFF"};
+ let mut assertions = if build.config.llvm_assertions {"ON"} else {"OFF"};
43
+
44
+ // Disable LLVM assertions on ARM compilers until #32360 is fixed
45
+ if target.contains("arm") && target.contains("gnu") {
46
+ assertions = "OFF";
47
+ }
48
49
// http://llvm.org/docs/CMake.html
50
let mut cfg = cmake::Config::new(build.src.join("src/llvm"));
0 commit comments