Add rust toolchain file to specify the rust version used on CI. (#3598)

This commit is contained in:
Andreas Reich 2023-03-22 20:20:36 +01:00 committed by GitHub
parent 68b0b24ce8
commit b330ff25a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
rust-toolchain Normal file
View File

@ -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"]