Skip to content

Commit c25a867

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

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

0 commit comments

Comments
 (0)