diff options
| author | Josh Stone <jistone@redhat.com> | 2021-10-22 10:50:07 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-10-22 10:50:07 -0700 |
| commit | e9f545b9a952f193dbe15730bcbe47784b6e7cde (patch) | |
| tree | a98c1ddfd4ca057030005fa5663764adb0db7b31 /src/bootstrap | |
| parent | 8b0e7095a0814edee204cbf8850a3f25e0ca2b1e (diff) | |
| download | rust-e9f545b9a952f193dbe15730bcbe47784b6e7cde.tar.gz rust-e9f545b9a952f193dbe15730bcbe47784b6e7cde.zip | |
Update the minimum external LLVM to 12
Diffstat (limited to 'src/bootstrap')
| -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 c4125ba0be0..37578e30f6d 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -378,11 +378,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 >= 11 { + if major >= 12 { return; } } - panic!("\n\nbad LLVM version: {}, need >=11.0\n\n", version) + panic!("\n\nbad LLVM version: {}, need >=12.0\n\n", version) } fn configure_cmake( |
