Skip to content

Commit

Permalink
Remove historical comment in rust-toolchain.toml
Browse files Browse the repository at this point in the history
A version of rustup which doesn't understand toml-formatted `rust-toolchain` files won't be looking in `rust-toolchain.toml`

The file was renamed to `rust-toolchain.toml` in gfx-rs#4204

rust-toolchain.toml support was added in rustup 1.23, which was released
on 2020-11-27 [1], 3 and a half years ago.

[1]: https://blog.rust-lang.org/2020/11/27/Rustup-1.23.0.html
  • Loading branch information
DJMcNab authored and ErichDonGubler committed May 22, 2024
1 parent 7fc7f58 commit 9f74b15
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# If you see this, run "rustup self update" to get rustup 1.23 or newer.

# NOTE: above comment is for older `rustup` (before TOML support was added),
# which will treat the first line as the toolchain name, and therefore show it
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".

[toolchain]
channel = "1.76" # Needed for deno & cts_runner. Firefox's MSRV is 1.74
components = ["rustfmt", "clippy"]
Expand Down

0 comments on commit 9f74b15

Please sign in to comment.