atuinsh/atuin

rust-toolchain.toml to auto fetch compiler

Closed

#1,600 opened on Jan 21, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (840 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (29,714 stars)
PR merge metrics
 (Avg merge 9d 2h) (16 merged PRs in 30d)

Description

Hi

I think it's a good idea to include rust-toolchain.toml It allows to automatically fetch required rust compiler with relevant dependencies.

Something like:

[toolchain]
channel = "nightly-2024-01-12"
components = [ "rustc-dev" ]
targets = [ "x86_64-unknown-linux-gnu", "x86_64-pc-windows-gnu", "x86_64-apple-darwin", "aarch64-apple-darwin" ]
profile = "minimal"

Contributor guide