We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a139f6a commit 66ea82bCopy full SHA for 66ea82b
src/bootstrap/src/core/build_steps/tool.rs
@@ -566,7 +566,7 @@ impl ErrorIndex {
566
let compiler = builder.compiler_for(builder.top_stage, host, host);
567
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
568
let mut dylib_paths = builder.rustc_lib_paths(compiler);
569
- dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
+ dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
570
add_dylib_path(dylib_paths, &mut cmd);
571
cmd
572
}
0 commit comments