Skip to content

Commit 8688569

Browse files
committed
Add rust-toolchain.toml file
The rust-toolchain file makes it possible to share a basic rustup configuration across the project. https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file Important to note, this is the current rustup hierarchy: 1. An explicit toolchain, e.g. cargo +beta, 2. The RUSTUP_TOOLCHAIN environment variable, 3. A directory override, ala rustup override set beta, 4. The rust-toolchain file, 5. The default toolchain, source: https://github.com/ebroto/rustup/blob/c2db7dac6b38c99538eec472db9d23d18f918409/README.md#toolchain-override-shorthand
1 parent 58c41c5 commit 8688569

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rust-toolchain.toml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
2+
[toolchain]
3+
# can be further pinned eg:
4+
# date: "stable-2020-07-10"
5+
# version: "nightly-1.0.0"
6+
channel = "stable"
7+
components = [ "rustfmt", "rust-src", "clippy", "rust-analysis"]
8+
targets = [ "wasm32-wasi" ]

0 commit comments

Comments
 (0)