We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6077d8 commit 45354fdCopy full SHA for 45354fd
src/bootstrap/src/core/build_steps/compile.rs
@@ -2177,7 +2177,7 @@ pub fn run_cargo(
2177
Some(triple) => triple.0.to_str().unwrap(),
2178
None => panic!("no output generated for {prefix:?} {extension:?}"),
2179
};
2180
- if is_dylib(&Path::new(path_to_add)) {
+ if is_dylib(Path::new(path_to_add)) {
2181
let candidate = format!("{path_to_add}.lib");
2182
let candidate = PathBuf::from(candidate);
2183
if candidate.exists() {
0 commit comments