diff options
| author | Martin Nordholts <martn@axis.com> | 2024-07-01 11:27:54 +0200 |
|---|---|---|
| committer | Martin Nordholts <martn@axis.com> | 2024-07-03 13:52:06 +0200 |
| commit | 310d4efca2a36363a236788077bbd1a7a06c4db1 (patch) | |
| tree | f357c9c91a09f2b4efbf7a3900fe067f010a6e11 /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | e8df637c619c749a52aead3fb6b8f73ed3ed17d6 (diff) | |
| download | rust-310d4efca2a36363a236788077bbd1a7a06c4db1.tar.gz rust-310d4efca2a36363a236788077bbd1a7a06c4db1.zip | |
std: Set has_reliable_f16 to false for MIPS targets in build.rs
To avoid this linker error:
$ sudo apt install libc6-mips-cross gcc-mips-linux-gnu
$ CC_mips_unknown_linux_gnu=mips-linux-gnu-gcc \
CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
./x test library/std --target mips-unknown-linux-gnu
undefined reference to `__gnu_f2h_ieee'
You get the same linker error also with mipsel, mips64 and
mips64el toolchains.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions
