Still cannot update to 1.76

info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2024-02-08, rust version 1.76.0 (07dca489a 2024-02-04) 
error: component 'rust-std' for target 'asmjs-unknown-emscripten' is unavailable for download for channel 'stable'
If you don't need the component, you could try a minimal installation with: 

I have:
rustc 1.75.0 (82e1608df 2023-12-21)
rustup 1.26.0 (5af9b9484 2023-04-05

I do not know do I need the component 'rust-std' for target 'asmjs-unknown-emscripten' or do not.

Looks to me like the asmjs-unknown-emscripten target got removed completely. I'll see if I can find the commit where it happened, but I just updated from 1.75.0 to 1.76.0 and when I ran rustup target list with 1.75.0 the asmjs-unknown-emscripten target was listed whereas for 1.76.0, it is not.

Edit: found the PR, wasn't hard:

Edit: The proposal for removing the target is hilarious:


So, I can use, cannot I ? :

rustup toolchain add stable --profile minimal

I'd simply remove asmjs-unknown-emscripten with

rustup toolchain remove asmjs-unknown-emscripten

and then update normally with

rustup update
1 Like