diff options
| author | Josh Stone <jistone@redhat.com> | 2024-03-15 18:43:19 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2024-03-17 10:11:04 -0700 |
| commit | 29430554f65619007f004e7941b7c2efb6465dbf (patch) | |
| tree | 8c1c25b65e50d352351ebcf59d217c048a722065 /src/bootstrap | |
| parent | 35dfc67d94c47a6c6ae28c46e7dc1c547f772485 (diff) | |
| download | rust-29430554f65619007f004e7941b7c2efb6465dbf.tar.gz rust-29430554f65619007f004e7941b7c2efb6465dbf.zip | |
Update the minimum external LLVM to 17
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/llvm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/build_steps/llvm.rs b/src/bootstrap/src/core/build_steps/llvm.rs index 701bd585eee..3da927b5fa0 100644 --- a/src/bootstrap/src/core/build_steps/llvm.rs +++ b/src/bootstrap/src/core/build_steps/llvm.rs @@ -564,11 +564,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 >= 16 { + if major >= 17 { return; } } - panic!("\n\nbad LLVM version: {version}, need >=16.0\n\n") + panic!("\n\nbad LLVM version: {version}, need >=17.0\n\n") } fn configure_cmake( |
