Skip to content

Commit 45e7527

Browse files
committed
update
1 parent f71660a commit 45e7527

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/symbol-check/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ fn verify_no_duplicates(path: impl AsRef<Path>) {
142142
return;
143143
}
144144

145-
// Ignore literal constants and string literals on Windows
146-
let win_allowed_dup_pfx = ["__real@", "__xmm@", "??_C@_"];
145+
// Windows has symbols for literal numeric constants, string literals, and MinGW pseudo-
146+
// relocations. These are allowed to have repeated definitions.
147+
let win_allowed_dup_pfx = ["__real@", "__xmm@", "??_C@_", ".refptr"];
147148
if win_allowed_dup_pfx
148149
.iter()
149150
.any(|pfx| info.name.starts_with(pfx))

0 commit comments

Comments
 (0)