Skip to content

Commit

Permalink
fix immediate deref
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Jiang committed Oct 30, 2024
1 parent a6077d8 commit 45354fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2177,7 +2177,7 @@ pub fn run_cargo(
Some(triple) => triple.0.to_str().unwrap(),
None => panic!("no output generated for {prefix:?} {extension:?}"),
};
if is_dylib(&Path::new(path_to_add)) {
if is_dylib(Path::new(path_to_add)) {
let candidate = format!("{path_to_add}.lib");
let candidate = PathBuf::from(candidate);
if candidate.exists() {
Expand Down

0 comments on commit 45354fd

Please sign in to comment.