I'm building Rust 1.38.0 from source. LLVM target is X86, triples are "amd64-unknown-linux-gnu" and "i686-unknown-linux-gnu". I'm also building cargo with
./x.py install cargo as stated on Github.
Rust builds and installs file, but testing (
./x.py test) fails on three tests:
- [ui] ui/issues/issue-37131.rs
- [ui] ui/issues/issue-49851/compiler-builtins-error.rs
- [ui] ui/issues/issue-50993.rs
The errors are all related to missing ARM targets, here's one of them:
error[E0463]: can't find crate for `std` - | - = note: the `thumbv6m-none-eabi` target may not be installed + error: Could not create LLVM TargetMachine for triple: thumbv6m-none-eabi: No available targets are compatible with triple "thumbv6m-none-unknown-eabi"
The other errors are identical, excect for the triple that is
thumbv7em-none-eabihf. To me it's pretty obvious that ARM targets are missing, since I'm building for x86. Can you help me?