We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
__imp_
1 parent d162154 commit a33003bCopy full SHA for a33003b
src/tools/run-make-support/src/symbols.rs
@@ -32,7 +32,7 @@ pub fn any_symbol_contains(path: impl AsRef<Path>, substrings: &[&str]) -> bool
32
.name_bytes()
33
.unwrap()
34
.windows(substring.len())
35
- .any(|x| x == substring.as_bytes())
+ .any(|x| x == substring.as_bytes() && !x.starts_with(b"__imp_"))
36
{
37
eprintln!("{:?} contains {}", sym, substring);
38
return true;
0 commit comments