Skip to content

Commit 9b400de

Browse files
committed
Fix LLVM version test
The PR in question was already included in LLVM 22.
1 parent a0190b3 commit 9b400de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/rustc_codegen_llvm/src

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ impl CodegenBackend for LlvmCodegenBackend {
322322

323323
fn can_mangle_eh_personality(&self) -> bool {
324324
// https://github.com/llvm/llvm-project/pull/166095
325-
llvm_util::get_version() > (22, 0, 0)
325+
llvm_util::get_version() >= (22, 0, 0)
326326
}
327327

328328
fn target_config(&self, sess: &Session) -> TargetConfig {

0 commit comments

Comments
 (0)