Skip to content

Commit 6830f1c

Browse files
committed
Bump the minimal supported LLVM version in the bootstrapping code to 9.0
1 parent 6323565 commit 6830f1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/native.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,11 @@ fn check_llvm_version(builder: &Builder<'_>, llvm_config: &Path) {
348348
let version = output(cmd.arg("--version"));
349349
let mut parts = version.split('.').take(2).filter_map(|s| s.parse::<u32>().ok());
350350
if let (Some(major), Some(_minor)) = (parts.next(), parts.next()) {
351-
if major >= 8 {
351+
if major >= 9 {
352352
return;
353353
}
354354
}
355-
panic!("\n\nbad LLVM version: {}, need >=8.0\n\n", version)
355+
panic!("\n\nbad LLVM version: {}, need >=9.0\n\n", version)
356356
}
357357

358358
fn configure_cmake(

0 commit comments

Comments
 (0)