Skip to content

Commit

Permalink
bootstrap: add rust-toolchain to the root directory
Browse files Browse the repository at this point in the history
Helps with rust-lang#94829.

This doesn't solve "bootstrap uses beta rustc but nightly rustfmt",
but in practice there should be very little difference between two.
Users can still override the toolchain used with `cargo +nightly` or similar.
  • Loading branch information
jyn514 committed Mar 11, 2022
1 parent 5f4e067 commit fc2f5c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[toolchain]
# not just `beta`, since during release week there are two different beta compilers
channel = "beta-2022-02-22"
components = ["rustfmt"]
profile = "minimal"

0 comments on commit fc2f5c2

Please sign in to comment.