diff options
| author | Josh Stone <jistone@redhat.com> | 2021-10-19 10:24:26 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-10-22 09:22:18 -0700 |
| commit | 65150af1b4841feeb8b81f1ada60de1191912590 (patch) | |
| tree | 224932be576d326b9b056bffcd236093a82d083b /compiler/rustc_codegen_llvm/src | |
| parent | 68a698baf6bfc61d85ce6e25122a092c60c7f21a (diff) | |
| download | rust-65150af1b4841feeb8b81f1ada60de1191912590.tar.gz rust-65150af1b4841feeb8b81f1ada60de1191912590.zip | |
Update the minimum external LLVM to 11
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index b15efcd0dc2..4e4487ad88c 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -95,8 +95,7 @@ unsafe fn configure_llvm(sess: &Session) { // Ref: // - https://github.com/rust-lang/rust/issues/85351 // - https://reviews.llvm.org/D103167 - let llvm_version = llvm_util::get_version(); - if llvm_version >= (11, 0, 0) && llvm_version < (13, 0, 0) { + if llvm_util::get_version() < (13, 0, 0) { add("-enable-machine-outliner=never", false); } |
