Skip to content

Commit b330ff2

Browse files
authored
Add rust toolchain file to specify the rust version used on CI. (#3598)
1 parent 68b0b24 commit b330ff2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

rust-toolchain

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# If you see this, run "rustup self update" to get rustup 1.23 or newer.
2+
3+
# NOTE: above comment is for older `rustup` (before TOML support was added),
4+
# which will treat the first line as the toolchain name, and therefore show it
5+
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".
6+
7+
[toolchain]
8+
channel = "1.64"
9+
components = ["rustfmt", "clippy"]
10+
targets = ["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)