-
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
Support picking from multiple Rust version #967
Comments
Whatever the mechanism for command-line invocations, |
how about defining a |
@pwoolcoc, this is assuming rust-lang/rust#19263 provides a way to have multiple Rust version in the same prefix/root. So there is not much to discuss in this bug until there’s a plan on how to resolve that one, but in the meantime this is a note that something will be needed. |
Having a RUSTC env var would be useful to me as well. |
+1 |
I think that given the current state of affairs multirust is filling this niche quite nicely, although I would still like a RUSTC env var |
Multirust is based on having multiple "toolchains", each containing different versions of an arbitrary number of tools, including rustc, rustdoc, and Cargo. Long term, I think it makes more sense to stabilize the rustc command-line interface and have a single version of Cargo that can drives multiples versions of rustc+rustdoc. |
In addition to global RUSTC/RUSTDOC env vars, this commit recognizes `build.rustc` and `build.rustdoc` as configuration keys for Cargo to instruct what tools should be used instead of the default. Closes rust-lang#967
In addition to global RUSTC/RUSTDOC env vars, this commit recognizes `build.rustc` and `build.rustdoc` as configuration keys for Cargo to instruct what tools should be used instead of the default. Closes rust-lang#967
In addition to global RUSTC/RUSTDOC env vars, this commit recognizes `build.rustc` and `build.rustdoc` as configuration keys for Cargo to instruct what tools should be used instead of the default. Closes rust-lang#967
If Rust gains support for installing multiple versions in parallel (see rust-lang/rust#19263 for details), Cargo should have a mechanism to pick which one is used. Maybe an environment variable?
RUSTC=rustc-beta cargo test
The text was updated successfully, but these errors were encountered: