Skip to content

Commit de26a41

Browse files
committed
bootstrap: address lint failures
Unexpected Clippy lint triggering is fixed in previous commits but is necessary for `cfg(bootstrap)`.
1 parent 7f509ab commit de26a41

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)