Skip to content

Improve Documentation about component specification in rust-toolchain file #2489

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

Closed
jschwe opened this issue Sep 16, 2020 · 1 comment
Closed

Comments

@jschwe
Copy link

jschwe commented Sep 16, 2020

Edit: I just saw that this will be possible once a new version is released

Describe the problem you are trying to solve

When building a project with a rust-toolchain file, rustup automatically fetches and installs the specified toolchain. However some projects might need additional components, e.g. in my case rust-src. Simply building the project fails until manual installation of the missing component.

Describe the solution you'd like

It would be nice to be able to specify additional components in the rust-toolchain file that are automatically installed when rustup fetches the specified toolchain. If the component is not available for the specified version, then rustup could print an error saying that the combination of toolchain and component specified in the rust-toolchain file do not exist.

@jschwe jschwe changed the title Add component specification to rust-toolchain file Improve Documentation about component specification in rust-toolchain file Sep 16, 2020
@jschwe
Copy link
Author

jschwe commented Sep 16, 2020

I discovered #2438, which solves exactly this, so I'm closing the issue.

@jschwe jschwe closed this as completed Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant