-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Configuration setting to select toolchain (nightly) #8152
Comments
|
So that is a rustup feature, not strictly a Cargo thing. You are looking for |
@ehuss Fantastic, thank you! Now Two requests/questions:
|
I'm not sure I understand the question. If you add and commit a
Yea, we have an open issue (#8058) to improve it. It is a little awkward because rustup is a completely separate tool, and not everyone uses it, so it is not directly related to cargo per se. But I'd definitely like to make the documentation clearer and more discoverable. |
|
@sfackler Fantastic, just what I was looking for! Thank you |
|
Describe the problem you are trying to solve
I feel my issue might already be covered in another issue, or be a non-issue, however I was not able to find the right issue in GitHub. Apologies if this is a duplicate.
I would like local per-project configuration on which toolchain to use (stable, beta, nightly). I am making use of the
feature
macro in a particular project, and when Icd
to that project, I would like to type justcargo build
rather thancargo +nightly build
.Describe the solution you'd like
I am looking for a setting in
./.cargo/config
for my local directory which sets the toolchain to "nightly". This may exist! However, reading https://doc.rust-lang.org/cargo/reference/config.html I did not spot a setting to configure.Notes
My project is here: https://github.com/binkley/spikes/tree/master/rust-green-threads
The text was updated successfully, but these errors were encountered: