diff options
| author | Josh Stone <jistone@redhat.com> | 2024-09-17 12:37:45 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2024-09-18 13:53:31 -0700 |
| commit | 6fd8a5068034ad8a60704ef72e335d1b4c32cfd4 (patch) | |
| tree | 426816820267f166b8c346ca48502b49152cd508 /src/bootstrap | |
| parent | f79a912d9edc3ad4db910c0e93672ed5c65133fa (diff) | |
| download | rust-6fd8a5068034ad8a60704ef72e335d1b4c32cfd4.tar.gz rust-6fd8a5068034ad8a60704ef72e335d1b4c32cfd4.zip | |
Update the minimum external LLVM to 18
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 08e24ecc340..d8752d03761 100644 --- a/src/bootstrap/src/core/build_steps/llvm.rs +++ b/src/bootstrap/src/core/build_steps/llvm.rs @@ -580,11 +580,11 @@ fn check_llvm_version(builder: &Builder<'_>, llvm_config: &Path) { let version = command(llvm_config).arg("--version").run_capture_stdout(builder).stdout(); 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 >= 17 { + if major >= 18 { return; } } - panic!("\n\nbad LLVM version: {version}, need >=17.0\n\n") + panic!("\n\nbad LLVM version: {version}, need >=18\n\n") } fn configure_cmake( |
