You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install a Tier 3 target, the current error is the following:
$ rustup target add avr-none
error: toolchain 'stable-x86_64-unknown-linux-gnu' does not support target 'avr-none'
note: you can see a list of supported targets with `rustc --print=target-list`
$ rustc --print=target-list | grep avr
avr-none
This is pretty confusing if you're not familiar with it, since rustc clearly supports the target. What people should do in practice is use nightly and build-std (generally preferred), or fully build their own toolchain.
Solution you'd like
A better error message that explains this.
Notes
I just saw someone get confused by this, and I think I've seen it before
... and that has been superseded by #4409, so closing this as a duplicate of #4006.
The current (unreleased) console output should be:
error: toolchain 'nightly-[HOST_TRIPLE]' has no prebuilt artifacts available for target 'mipsel-sony-psp'
note: this may happen to a low-tier target as per https://doc.rust-lang.org/nightly/rustc/platform-support.html
note: you can find instructions on that page to build the target support from source
Activity
djc commentedon Nov 11, 2025
Do you want to try submitting a PR? Seems kinda straightforward...
We statically include data from the platforms crate into our source code, see:
https://github.com/rust-lang/rustup/blob/main/tests/suite/known_triples.rs
This doesn't include tiers yet, but probably not too hard to add that.
rami3l commentedon Nov 11, 2025
This is a duplicate; and I have already implemented a PoC 1 year ago I think. Let me see if I can find that branch...
Update: Here it is! 593ef5a
rami3l commentedon Nov 11, 2025
... and that has been superseded by #4409, so closing this as a duplicate of #4006.
The current (unreleased) console output should be:
wasm32-wasip2#4006Noratrieb commentedon Nov 11, 2025
oh awesome, thanks!