From 11a5b59d192f8193819279a910fd61cf3538de29 Mon Sep 17 00:00:00 2001 From: STEVAN Antoine <antoine.stevan@isae-supaero.fr> Date: Mon, 6 Jan 2025 10:50:55 +0000 Subject: [PATCH] add rust-analyzer to the toolchain (dragoon/komodo!188) this should avoid the following error when trying to rust the LSP in a toolchain which does not have the `rust-analyzer` component and without running `rustup component add rust-analyzer` manually: ``` error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'. ``` --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index ca7437e6..2c00fd6a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] profile = "minimal" channel = "1.78" -components = ["rustfmt", "clippy"] +components = ["rustfmt", "clippy", "rust-analyzer"] -- GitLab