Cargo: align rust toolchain version with internal repository #20207
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also:
cargoWhile we keep
bazelbuilds using the same toolchain as internally (now a nightly one), I opted for using a stable toolchain forcargo. The nightly toolchain is only required internally for build reasons, we should keep not using any unstable rust features in our sources.Finally, we aren't ready yet to update the rust toolchain used in rust language tests, so I've pulled that out in its own
rust-toolchainfile, keeping it at 1.86 for the time being.