We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eb4fd5 commit f150d3fCopy full SHA for f150d3f
src/non_windows.rs
@@ -62,7 +62,7 @@ impl Compiler {
62
return guess_compiler_variant(&rc);
63
}
64
65
- if target.ends_with("-pc-windows-gnu") || target.ends_with("-pc-windows-gnullvm") {
+ if target.ends_with("-windows-gnu") || target.ends_with("-windows-gnullvm") {
66
let executable = format!("{}-w64-mingw32-windres", &target[0..target.find('-').unwrap_or_default()]);
67
if is_runnable(&executable) {
68
return Ok(Compiler {
@@ -72,7 +72,7 @@ impl Compiler {
72
} else {
73
return Err(executable.into());
74
75
- } else if target.ends_with("-pc-windows-msvc") {
+ } else if target.ends_with("-windows-msvc") {
76
if is_runnable("llvm-rc") {
77
78
tp: CompilerType::LlvmRc {
0 commit comments