mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-24 01:34:38 +03:00
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:
c2db7dac6b/README.md (toolchain-override-shorthand)
This commit is contained in:
parent
58c41c5ada
commit
8688569abd
8
rust-toolchain.toml
Normal file
8
rust-toolchain.toml
Normal file
@ -0,0 +1,8 @@
|
||||
# https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
|
||||
[toolchain]
|
||||
# can be further pinned eg:
|
||||
# date: "stable-2020-07-10"
|
||||
# version: "nightly-1.0.0"
|
||||
channel = "stable"
|
||||
components = [ "rustfmt", "rust-src", "clippy", "rust-analysis"]
|
||||
targets = [ "wasm32-wasi" ]
|
Loading…
Reference in New Issue
Block a user