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 c060e2e commit 545f012Copy full SHA for 545f012
src/librustc/metadata/filesearch.rs
@@ -245,7 +245,7 @@ fn find_libdir(sysroot: &Path) -> ~str {
245
// of the directory where librustc is located, rather than where the rustc
246
// binary is.
247
248
- if sysroot.join(primary_libdir_name()).exists() {
+ if sysroot.join(primary_libdir_name()).join(rustlibdir()).exists() {
249
return primary_libdir_name();
250
} else {
251
return secondary_libdir_name();
0 commit comments