Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 73f1b4f

Browse files
committedMar 3, 2025··
bootstrap: address lint failures
It's entirely unclear why Clippy lints trigger in bootstrap with this patch and not on master but the lints can be fixed and everything still works then linting passes.
1 parent 90f7918 commit 73f1b4f

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed
 

‎src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ impl ErrorIndex {
552552
let compiler = builder.compiler_for(builder.top_stage, host, host);
553553
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
554554
let mut dylib_paths = builder.rustc_lib_paths(compiler);
555-
dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
555+
dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
556556
add_dylib_path(dylib_paths, &mut cmd);
557557
cmd
558558
}

0 commit comments

Comments
 (0)
Please sign in to comment.