Recommend TOML-formatted rust-toolchain
crawfxrd opened this issue · 2 comments
Since rustup 1.23.0, a TOML format can be used for toolchain files. The advantage of this is that it allows specifying required components.
Then, simply by running cargo build
, the correct toolchain (nightly) and required components (rust-src
) will automatically be installed.
(rustup 1.24.0 adds support for a .toml
extension, which should be used for a TOML-formatted toolchain file. But the GitHub runners are not yet updated to have it, requiring user intervention for Actions (ref: crawfxrd/gba-dev-rs@4901f91).)
Tim with any more advice like this I might end up with a respectable repository some day.
Haha, same. I'm not sure I will be updating my repo anytime soon, though (problems with grit
killed my interest for what I want to do next). But these 2 changes are too good not to push here.