Skip to content

Commit

Permalink
Add rust toolchain file to specify the rust version used on CI. (#3598)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf authored Mar 22, 2023
1 parent 68b0b24 commit b330ff2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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.64"
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]

0 comments on commit b330ff2

Please sign in to comment.