Skip to content

Fixing the toolchain in Cargo.toml #3298

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
gnzlbg opened this issue Nov 17, 2016 · 2 comments
Closed

Fixing the toolchain in Cargo.toml #3298

gnzlbg opened this issue Nov 17, 2016 · 2 comments

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Nov 17, 2016

It would be nice for those working with particular snapshots of nightly if it would be possible to fix the toolchain in the Cargo.toml file, e.g., something like:

[toolchain]
channel = nightly
date = 2016-11-13
host = x86_64-apple-darwin

and if cargo would use rustup to get the appropriate toolchain.

@alexcrichton
Copy link
Member

This is similar to #2751 which has some more comments: #2751 (comment).

The tl;dr; is that I don't think this'd be too useful to add to Cargo right now. Cargo doesn't manage toolchains, so it'd basically ignore this configuration most of the time.

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Nov 18, 2016

Indeed, I'll close this and repost there instead. Thanks!

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

No branches or pull requests

2 participants