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 7f509ab commit de26a41Copy full SHA for de26a41
src/bootstrap/src/core/build_steps/tool.rs
@@ -552,7 +552,7 @@ impl ErrorIndex {
552
let compiler = builder.compiler_for(builder.top_stage, host, host);
553
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
554
let mut dylib_paths = builder.rustc_lib_paths(compiler);
555
- dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
+ dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
556
add_dylib_path(dylib_paths, &mut cmd);
557
cmd
558
}
0 commit comments