Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate rust-toolchain and rust-toolchain.toml (for compatibility?) #183

Closed
zys864 opened this issue Feb 18, 2022 · 4 comments · Fixed by #188
Closed

Duplicate rust-toolchain and rust-toolchain.toml (for compatibility?) #183

zys864 opened this issue Feb 18, 2022 · 4 comments · Fixed by #188

Comments

@zys864
Copy link

zys864 commented Feb 18, 2022

Duplicate rust-toolchain and rust-toolchain.toml in the crate.

This crate use both of them for compatibility?

Here is the doc from rustup book

In these cases the toolchain can be named in the project's directory in a file called rust-toolchain.toml or rust-toolchain. If both files are present in a directory, the latter is used for backwards compatibility. The files use the TOML format and have the following layout:

@github-actions
Copy link

👋 Thanks for opening this issue!

Get help or engage by:

  • /help : to print help messages.
  • /assignme : to assign this issue to you.

@drmingdrmer
Copy link
Member

There is an issue with github-action actions-rs/toolchain: it does not recoganize the rust-toolchain.toml but just rust-toolchain.

It seems it has been fixed. I'm gonna remove the plain text one as I confirmed it is fixed.

@drmingdrmer
Copy link
Member

@zys864
Copy link
Author

zys864 commented Feb 21, 2022

But both exist in crates, only rust-toolchain works according to rustup book.

If both files are present in a directory, the latter is used for backwards compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants