diff options
| author | Josh Stone <jistone@redhat.com> | 2023-02-01 12:52:06 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2023-02-10 16:06:25 -0800 |
| commit | a06aaa4a9efe605b91b2f42718696906ce2ba629 (patch) | |
| tree | 3eb62e58962e4a67d70e24a6c634431072e4df62 /src/bootstrap/native.rs | |
| parent | 2773383a314a4b8f481ce2bed12c32de794ffbe9 (diff) | |
| download | rust-a06aaa4a9efe605b91b2f42718696906ce2ba629.tar.gz rust-a06aaa4a9efe605b91b2f42718696906ce2ba629.zip | |
Update the minimum external LLVM to 14
Diffstat (limited to 'src/bootstrap/native.rs')
| -rw-r--r-- | src/bootstrap/native.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 07d339c067c..9235de75ec6 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -561,11 +561,11 @@ fn check_llvm_version(builder: &Builder<'_>, llvm_config: &Path) { let version = output(cmd.arg("--version")); let mut parts = version.split('.').take(2).filter_map(|s| s.parse::<u32>().ok()); if let (Some(major), Some(_minor)) = (parts.next(), parts.next()) { - if major >= 13 { + if major >= 14 { return; } } - panic!("\n\nbad LLVM version: {}, need >=13.0\n\n", version) + panic!("\n\nbad LLVM version: {}, need >=14.0\n\n", version) } fn configure_cmake( |
