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.

Support new TOML format for rust-toolchain

See original GitHub issue

Do the checklist before filing an issue:

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:open
  • Created 3 years ago
  • Reactions:26
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
shonfedercommented, Feb 22, 2021

Your hint helped me, thanks @Kixunil. To make the hint more explicit:

If you’re using a toml rust-toolchain file, you can just replace

      - name: Setup rust toolchain
        uses: actions-rs/toolchain@v1

with

      - name: Setup rust toolchain
        run: rustup show
3reactions
Kixunilcommented, Jan 14, 2021

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.

Read more comments on GitHub >

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

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