-
Notifications
You must be signed in to change notification settings - Fork 402
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
Needs documention: How to specify a certain version of Rust compiler? #299
Comments
The toolchains is specified using rust_toolchain. They are defined on standard rust toolchain with: https://github.com/bazelbuild/rules_rust/blob/master/rust/repositories.bzl So for using a specific version of the compiler you likely want to add a rules in your WORKSPACE file, e.g.:
This needs more documentation. If you do not use "rust_repositories", then it will probably just works with this other repo before the repository set:
If you specify the other, you might need to select the toolchain at the command line but I could not find a good answer on how to do that. Maybe @katre knows? |
@damienmg Thanks for the help! |
@DmitryRusakovKodiak yes I also think that should be parameters of the rust_repositories rule. |
Since |
I made a start at this in #307 |
The |
I went through the documentation and have not found:
Thanks!
The text was updated successfully, but these errors were encountered: