We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
*windows-gnu
1 parent a51ad79 commit b1fd4a7Copy full SHA for b1fd4a7
src/tools/compiletest/src/header/needs.rs
@@ -261,6 +261,11 @@ fn find_dlltool(config: &Config) -> bool {
261
let path = std::env::var_os("PATH").expect("missing PATH environment variable");
262
let path = std::env::split_paths(&path).collect::<Vec<_>>();
263
264
+ // dlltool is used ony by GNU based `*-*-windows-gnu`
265
+ if !(config.matches_os("windows") && config.matches_env("gnu") && config.matches_abi("")) {
266
+ return false;
267
+ }
268
+
269
// On Windows, dlltool.exe is used for all architectures.
270
// For non-Windows, there are architecture specific dlltool binaries.
271
let dlltool_found = if cfg!(windows) {
0 commit comments