Skip to content

Commit 8df2b75

Browse files
committed
bootstrap: address lint failures
Unexpected Clippy lint triggering is fixed in previous commits but is necessary for `cfg(bootstrap)`.
1 parent 73ed88d commit 8df2b75

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
@@ -557,7 +557,7 @@ impl ErrorIndex {
557557
let compiler = builder.compiler_for(builder.top_stage, host, host);
558558
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
559559
let mut dylib_paths = builder.rustc_lib_paths(compiler);
560-
dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
560+
dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
561561
add_dylib_path(dylib_paths, &mut cmd);
562562
cmd
563563
}

0 commit comments

Comments
 (0)