Skip to content

Commit 047ea07

Browse files
committed
bootstrap: address lint failures
Unexpected Clippy lint triggering is fixed in previous commits but is necessary for `cfg(bootstrap)`.
1 parent 2089f2e commit 047ea07

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
@@ -548,7 +548,7 @@ impl ErrorIndex {
548548
let compiler = builder.compiler_for(builder.top_stage, host, host);
549549
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
550550
let mut dylib_paths = builder.rustc_lib_paths(compiler);
551-
dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
551+
dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
552552
add_dylib_path(dylib_paths, &mut cmd);
553553
cmd
554554
}

0 commit comments

Comments
 (0)