Skip to content

Commit 6d4de52

Browse files
committed
Fix test for Windows
1 parent bf70cce commit 6d4de52

File tree

1 file changed

+4
-0
lines changed
  • tests/run-make/symbols-all-mangled

1 file changed

+4
-0
lines changed

tests/run-make/symbols-all-mangled/rmake.rs

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ fn symbols_check_archive(path: &str) {
2626
continue; // Correctly mangled
2727
}
2828

29+
if name.starts_with(".refptr.") {
30+
continue; // COFF stub symbol
31+
}
32+
2933
let member_name =
3034
std::str::from_utf8(file.member(symbol.offset()).unwrap().name()).unwrap();
3135
if !member_name.ends_with(".rcgu.o") || member_name.contains("compiler_builtins") {

0 commit comments

Comments
 (0)