From 8994d1cc06ce753014eda9c606fdd1646632907f Mon Sep 17 00:00:00 2001 From: "Vasili Novikov (replace \"vvv\" with \"v\" in email)" Date: Tue, 20 Sep 2022 21:42:23 +0200 Subject: [PATCH] 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. --- rust-toolchain.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 rust-toolchain.toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..292fe499 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "stable"