Closed
Description
Target triples are generally arch-vendor-os-env
(with lots of exceptions), but the mips64-openwrt-linux-musl
target (added in #92300) seems to be confused about the vendor?
The target cfg
s are currently (trimmed from rustc --print cfg --target mips64-openwrt-linux-musl
):
target_arch="mips64"
target_vendor="unknown"
target_os="linux"
target_env="musl"
I think there's a few ways to fix this:
- Declare OpenWRT as the vendor (which is also the position in the triple that it's currently located), and set
target_vendor="openwrt"
. - Rename the target to
mips64-unknown-openwrt-musl
or similar, and settarget_os="openwrt"
.- A rename could be beneficial anyhow, since it actual uses
target_abi = "abi64"
, and so the target name should containmuslabi64
.
- A rename could be beneficial anyhow, since it actual uses
CC target maintainer @Itus-Shield