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 cfgs 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 set target_os="openwrt".
- A rename could be beneficial anyhow, since it actual uses
target_abi = "abi64", and so the target name should contain muslabi64.
CC target maintainer @Itus-Shield
Target triples are generally
arch-vendor-os-env(with lots of exceptions), but themips64-openwrt-linux-musltarget (added in #92300) seems to be confused about the vendor?The target
cfgs are currently (trimmed fromrustc --print cfg --target mips64-openwrt-linux-musl):I think there's a few ways to fix this:
target_vendor="openwrt".mips64-unknown-openwrt-muslor similar, and settarget_os="openwrt".target_abi = "abi64", and so the target name should containmuslabi64.CC target maintainer @Itus-Shield