From b94a9c1b123026463fd6e1c71c74d9308cdf4f26 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Sat, 3 Aug 2024 22:08:39 +0000 Subject: [PATCH] Remove skipping symbols with the `__imp_` prefix --- tests/run-make/symbol-visibility/rmake.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-make/symbol-visibility/rmake.rs b/tests/run-make/symbol-visibility/rmake.rs index 997eaf793d2..f84e63ef74e 100644 --- a/tests/run-make/symbol-visibility/rmake.rs +++ b/tests/run-make/symbol-visibility/rmake.rs @@ -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; } }