use fromToolchainFile

I *think* this will make it easier to pull in extra rustc targets.
This commit is contained in:
Charles Hall 2024-01-22 22:48:58 -08:00
parent 692a31620d
commit 52954f7a11
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
4 changed files with 31 additions and 30 deletions

17
rust-toolchain.toml Normal file
View file

@ -0,0 +1,17 @@
# This is the authoritiative configuration of this project's Rust toolchain.
#
# Other files that need upkeep when this changes:
#
# * `.gitlab-ci.yml`
# * `Cargo.toml`
# * `flake.nix`
#
# Search in those files for `rust-toolchain.toml` to find the relevant places.
# If you're having trouble making the relevant changes, bug a maintainer.
[toolchain]
channel = "1.70.0"
components = [
# For rust-analyzer
"rust-src",
]