Skip to content

Commit 73f1b4f

Browse files
committed
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

+1-1
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)