question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`--default-host` is not equivalent to `toolchain add`

See original GitHub issue

When 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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nagisacommented, Oct 5, 2019

Appears to be working now 🚢

0reactions
svartalfcommented, Oct 5, 2019

Published it as a next version, you can switch back to the actions-rs/toolchain@v1 now, thank you for a bug report!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found