Support new TOML format for rust-toolchain
See original GitHub issueDo the checklist before filing an issue:
- Is this related to the
actions-rs
Actions? If you think it’s a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community - You’ve read the Contributing section about feature requests: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#feature-requests
- Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
Motivation
As announced with Rustup 1.23.0 and documented here, there is a new TOML syntax for the rust-toolchain
file which should be supported by this action.
Workflow Failure
Additionally using the TOML syntax without specifying the toolchain
input will cause the workflow to fail.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:26
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Overrides - The rustup book
The RUSTUP_TOOLCHAIN environment variable. A directory override, set with the rustup override command. The rust-toolchain.toml file. The default toolchain.
Read more >rust_toolchain_file - Rust
A combined parser for the legacy and TOML toolchain file formats. ... Variants which may be used to identify supported rust-toolchain variants.
Read more >How to write the `channel` for `rust-toolchain.toml`?
rust -toolchain.toml doesn't support old format.
Read more >config.toml.example - toolchain/rustc - Git at Google
Also worth pointing out is that, in case support for new targets are added to. # LLVM, enabling them here doesn't mean Rust...
Read more >cargo build - The Cargo Book
Note that --bin , --example , --test and --bench flags also support common ... the target even if the selected Rust compiler is...
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
Your hint helped me, thanks @Kixunil. To make the hint more explicit:
If you’re using a toml
rust-toolchain
file, you can just replacewith
Hint for people who got bitten by this: just run
rustup show
, you probably don’t need this whole project then.Yes, it’s retarded workaround/name for a command but better than waiting eternity for someone to fix this.