rustc: host platform libraries missing when building cross-compiler #106712
Labels
0.kind: bug
Something is broken
6.topic: cross-compilation
Building packages on a different platform than they will be used on
6.topic: rust
With the update to 1.48, rustc is missing some host platform libraries when built as a cross-compiler. Most notably,
std
is missing which causes cross-compiled packages withbuild.rs
scripts to fail with the following error:The native (host == target) compiler is not affected. The diff between the native and cross
lib/rustlib/x86_64-unknown-linux-gnu/lib
directory is as follows:This seems like an upstream regression. Interestingly, the list of missing libraries exactly matches the list of libraries installed in
lib/rustlib/<target>/lib
.cc @Ericson2314 @petabyteboy
The text was updated successfully, but these errors were encountered: