`--default-host` is not equivalent to `toolchain add`
See original GitHub issueWhen using this action with target: ...-ios
on macos-latest
, this action invokes:
$ /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/rustup-init.sh -y --default-toolchain nightly --default-host armv7-apple-ios
which promptly fails.
...
error: target 'armv7-apple-ios' not found in channel. Perhaps check https://forge.rust-lang.org/platform-support.html for available targets
This action should be using rustup toolchain add
always.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
rustup.rs install should update old toolchains #2330 - GitHub
Try installing it with a beta or nightly install, a toolchain that is definitely not installed. It will again not install anything.
Read more >Why is my rustup rust-toolchain file not overriding the default?
I'm having a similar issue. $ cat rust-toolchain.toml [toolchain] channel = "nightly" $ rustup show Default host: aarch64-apple-darwin ...
Read more >Other installation methods - The rustup book
In general, this is the build of rustup one should install on Windows. This will require the Visual C++ Build Tools 2019 or...
Read more >Adding a constraint to default target platform - Google Groups
Hi everyone,. I am working on toolchain resolution for Java rules. One of the obstacles is that target and host platforms are identical...
Read more >Handling host-build for cross-compilation — qiBuild 2.1.1.16 ...
Use the host toolchain set on the command line, if not: Use the host toolchain set in the toolchain configuration file as property...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Appears to be working now 🚢
Published it as a next version, you can switch back to the
actions-rs/toolchain@v1
now, thank you for a bug report!