Skip to content

Commit b94a9c1

Browse files
committed
Remove skipping symbols with the __imp_ prefix
1 parent f28d157 commit b94a9c1

File tree

1 file changed

+1
-1
lines changed
  • tests/run-make/symbol-visibility

1 file changed

+1
-1
lines changed

tests/run-make/symbol-visibility/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn symbols_check(path: &str, symbol_check_type: SymbolCheckType, exists_once: bo
144144
let mut found: u64 = 0;
145145
for export in file.exports().unwrap() {
146146
let name = std::str::from_utf8(export.name()).unwrap();
147-
if !name.contains("__imp_") && has_symbol(name, symbol_check_type) {
147+
if has_symbol(name, symbol_check_type) {
148148
found += 1;
149149
}
150150
}

0 commit comments

Comments
 (0)