Skip to content

Commit

Permalink
Fix test for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Mar 5, 2025
1 parent bf70cce commit 6d4de52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/run-make/symbols-all-mangled/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ fn symbols_check_archive(path: &str) {
continue; // Correctly mangled
}

if name.starts_with(".refptr.") {
continue; // COFF stub symbol
}

let member_name =
std::str::from_utf8(file.member(symbol.offset()).unwrap().name()).unwrap();
if !member_name.ends_with(".rcgu.o") || member_name.contains("compiler_builtins") {
Expand Down

0 comments on commit 6d4de52

Please sign in to comment.