Skip to content

Commit

Permalink
Set explicit required components for rustup. (pantsbuild#11420)
Browse files Browse the repository at this point in the history
### Problem

The default components installed for a `rustup` toolchain are not guaranteed to include `cargo`, `clippy`, etc.

### Solution

Expand our `rust-toolchain` file to explicitly list the components that we need. We do not pin `rustup` for now, as it generally changes backwards-compatibly. We can revisit that in the future if it continues to change in breaking ways.

[ci skip-build-wheels]
  • Loading branch information
stuhood authored Jan 6, 2021
1 parent 6794015 commit 17b1bda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
1.48.0
[toolchain]
channel = "1.48.0"
components = ["cargo", "clippy", "rustfmt", "rustc"]

0 comments on commit 17b1bda

Please sign in to comment.