From 7e74ace931c3ba2a667029dfefd16be041bec7be Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Mon, 18 May 2026 00:24:48 +0900 Subject: [PATCH] Install clippy component via mise Rust settings Previously, the Rust tool was configured with just a version string, which did not install the clippy component. This caused `mise run check` to fail in CI with: error: 'cargo-clippy' is not installed for the toolchain '1.95.0-x86_64-unknown-linux-gnu'. Switch to the expanded [tools.rust] table syntax so that mise installs the necessary components (rust-analyzer, rustfmt, clippy) alongside the toolchain. --- mise.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mise.toml b/mise.toml index f69f32c..8da167b 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,7 @@ -[tools] -rust = "1.95.0" +[tools.rust] +version = "1.95.0" +profile = "default" +components = "rust-analyzer,rustfmt,clippy" [tools."github:dahlia/hongdown"] version = "0.3.11"