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 54df359 commit 8747fafCopy full SHA for 8747faf
src/bootstrap/src/core/build_steps/tool.rs
@@ -546,7 +546,7 @@ impl ErrorIndex {
546
let compiler = builder.compiler_for(builder.top_stage, host, host);
547
let mut cmd = command(builder.ensure(ErrorIndex { compiler }).tool_path);
548
let mut dylib_paths = builder.rustc_lib_paths(compiler);
549
- dylib_paths.push(PathBuf::from(&builder.sysroot_target_libdir(compiler, compiler.host)));
+ dylib_paths.push(builder.sysroot_target_libdir(compiler, compiler.host));
550
add_dylib_path(dylib_paths, &mut cmd);
551
cmd
552
}
0 commit comments