diff options
| author | Josh Stone <jistone@redhat.com> | 2020-04-14 12:10:58 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-04-14 12:44:41 -0700 |
| commit | 8506bb006040cf8e8cb004202706c81e62ddacee (patch) | |
| tree | 2e374e4dcad22b16ecf717fa309e3d4813d5a6fe /src/bootstrap | |
| parent | ba72b15666b2491415aec703a02c2364fe5e2790 (diff) | |
| download | rust-8506bb006040cf8e8cb004202706c81e62ddacee.tar.gz rust-8506bb006040cf8e8cb004202706c81e62ddacee.zip | |
Update the minimum external LLVM to 8
LLVM 8 was released on March 20, 2019, over a year ago.
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 1e380a20629..0c87695ff7c 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -289,11 +289,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 >= 7 { + if major >= 8 { return; } } - panic!("\n\nbad LLVM version: {}, need >=7.0\n\n", version) + panic!("\n\nbad LLVM version: {}, need >=8.0\n\n", version) } fn configure_cmake( |
