diff options
| author | Laurențiu Nicola <lnicola@users.noreply.github.com> | 2025-07-15 14:52:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-15 14:52:23 +0000 |
| commit | 0393e061e74672661d7f816103df66b47b1dc312 (patch) | |
| tree | b3d42464413144da825bfc98a7375319f12d4dc5 /compiler/rustc_codegen_llvm/src/back/write.rs | |
| parent | 4faef6f9040c788d564449a2b9431f351bc0f403 (diff) | |
| parent | 28f822f100c3714b37be9566b6dac376c72d2758 (diff) | |
| download | rust-0393e061e74672661d7f816103df66b47b1dc312.tar.gz rust-0393e061e74672661d7f816103df66b47b1dc312.zip | |
Merge pull request #20243 from lnicola/sync-from-rust
minor: Sync from downstream
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/write.rs | 2 |
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(); |
