Skip to content

Commit

Permalink
Remove skipping symbols with the __imp_ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Aug 3, 2024
1 parent f28d157 commit b94a9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-make/symbol-visibility/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ fn symbols_check(path: &str, symbol_check_type: SymbolCheckType, exists_once: bo
let mut found: u64 = 0;
for export in file.exports().unwrap() {
let name = std::str::from_utf8(export.name()).unwrap();
if !name.contains("__imp_") && has_symbol(name, symbol_check_type) {
if has_symbol(name, symbol_check_type) {
found += 1;
}
}
Expand Down

0 comments on commit b94a9c1

Please sign in to comment.