Error: target triple in channel name

Getting the following error on cargo run:

error: target triple in channel name 'nightly-2022-04-04-x86_64-unknown-linux-gnu'

(this is the repo: GitHub - commerceblock/mercury at develop).

No other info and can't find anything in search. Any advice?

Thanks.

That repo appears to be using the old rust toolchain file format. Try updating it to use the TOML version.

https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file

Based on that link it kind of sounds like that file is formatted incorrectly even for the old format
I didn't see any other documentation for the old format with a quick search though, so I'm not sure.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.