roc/rust-toolchain.toml

26 lines
1.1 KiB
TOML
Raw Normal View History

2022-11-14 21:37:25 +03:00
[toolchain]
# How to update version:
# - update `channel = "RUST_VERSION"`
2023-01-17 20:09:16 +03:00
# - update `channel = "RUST_VERSION"` in examples/platform-switching/rust-platform/rust-toolchain.toml
2023-07-15 14:44:32 +03:00
# - update FROM rust:RUST_VERSION-slim-buster in Earthfile
2022-11-14 21:37:25 +03:00
# - to update the nightly version:
2023-04-22 15:51:01 +03:00
# - Find the latest nightly release that matches RUST_VERSION here: https://github.com/oxalica/rust-overlay/tree/master/manifests/nightly/2023
2022-11-14 21:37:25 +03:00
# - update `channel = "nightly-OLD_DATE"` below
# - update nightly-OLD_DATE in .github/workflows/windows_tests.yml
# - update nightly-OLD_DATE in .github/workflows/windows_release_build.yml
2022-11-14 21:37:25 +03:00
# - update nightly-OLD_DATE in crates/compiler/build/src/link.rs
2023-04-29 20:56:44 +03:00
channel = "1.67.1" # check ^^^ when changing this
#
2023-04-29 20:56:44 +03:00
# channel = "nightly-2022-12-09" # 1.67.0 nightly to be able to use unstable features
2022-11-14 21:37:25 +03:00
profile = "default"
components = [
# for usages of rust-analyzer or similar tools inside `nix develop`
"rust-src"
]
targets = [
"wasm32-wasi", # for test_wasm.sh
"wasm32-unknown-unknown", # for repl_wasm
]