about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-07-10 07:27:41 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-07-10 07:27:41 +0000
commit84eeca2e2fc40bb8d6641846f18af9d8fc6a9681 (patch)
treeab835839158c7b975334559153b12c8709ca7df6 /compiler/rustc_codegen_llvm/src/back
parent6b3ae3f6e45a33c2d95fa0362c9b2593e567fd34 (diff)
downloadrust-84eeca2e2fc40bb8d6641846f18af9d8fc6a9681.tar.gz
rust-84eeca2e2fc40bb8d6641846f18af9d8fc6a9681.zip
Make some "safe" llvm ops actually sound
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/write.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs
index bde6a9cf4bc..506286fc255 100644
--- a/compiler/rustc_codegen_llvm/src/back/write.rs
+++ b/compiler/rustc_codegen_llvm/src/back/write.rs
@@ -1182,7 +1182,7 @@ fn create_msvc_imps(
         .filter_map(|val| {
             // Exclude some symbols that we know are not Rust symbols.
             let name = llvm::get_value_name(val);
-            if ignored(name) { None } else { Some((val, name)) }
+            if ignored(&name) { None } else { Some((val, name)) }
         })
         .map(move |(val, name)| {
             let mut imp_name = prefix.as_bytes().to_vec();