From fc2f5c2b125722f4ee612e60c56827c6466ead68 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Thu, 10 Mar 2022 18:46:31 -0600 Subject: [PATCH] bootstrap: add rust-toolchain to the root directory Helps with https://github.com/rust-lang/rust/issues/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. --- rust-toolchain | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 rust-toolchain diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000000000..96d21cf60ecfc --- /dev/null +++ b/rust-toolchain @@ -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"