roc/rust-toolchain.toml

27 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-07-25 18:44:46 +03:00
# - Follow instructions in default.nix: `assert pkgs.lib.assertMsg rustVersionsMatch` ...
2022-11-14 21:37:25 +03:00
2023-09-26 13:08:16 +03:00
channel = "1.71.1" # check ^^^ when changing this
#
2023-09-26 13:08:16 +03:00
# channel = "nightly-2023-05-28" # 1.71.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
]