We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73ed88d commit 8df2b75Copy full SHA for 8df2b75
src/bootstrap/src/core/build_steps/tool.rs
@@ -557,7 +557,7 @@ impl ErrorIndex {
557
let compiler = builder.compiler_for(builder.top_stage, host, host);
558
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
559
let mut dylib_paths = builder.rustc_lib_paths(compiler);
560
- dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
+ dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
561
add_dylib_path(dylib_paths, &mut cmd);
562
cmd
563
}
0 commit comments