Add rust-toolchain file

Without this change, some OS'es such as ArchLinux
will fail to build this project by default.

You would first need to run a specific rustup command
to set your default toolchain,
that you as a Rust developer should know,
and only then the project would build using your
downloaded default toolchain.

Specifying the channel explicitly as done in this commit
allows for Lapce to be build-able on a completely fresh
(or isolated for security reasons) home directory,
for those Operating Systems.
This commit is contained in:
Vasili Novikov (replace "vvv" with "v" in email) 2022-09-20 21:42:23 +02:00
parent 7867f5050e
commit 8994d1cc06
No known key found for this signature in database
GPG Key ID: 63227A540AC1F12B
1 changed files with 2 additions and 0 deletions

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "stable"