Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6276db7

Browse files
committed
bootstrap: address lint failures
Unexpected Clippy lint triggering is fixed in upcoming commits but is necessary for `cfg(bootstrap)`.
1 parent 269051d commit 6276db7

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
@@ -566,7 +566,7 @@ impl ErrorIndex {
566566
let compiler = builder.compiler_for(builder.top_stage, host, host);
567567
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
568568
let mut dylib_paths = builder.rustc_lib_paths(compiler);
569-
dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
569+
dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
570570
add_dylib_path(dylib_paths, &mut cmd);
571571
cmd
572572
}

0 commit comments

Comments
 (0)