From ccc94d8c2c8f14d63aaefd5ad53bef8bba4ae5d0 Mon Sep 17 00:00:00 2001 From: Wildan Mubarok Date: Tue, 26 Aug 2025 12:10:26 +0000 Subject: [PATCH] Avoid installing rustdoc --- podman/rustinstall.sh | 2 +- rust-toolchain.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/podman/rustinstall.sh b/podman/rustinstall.sh index 3cdd6864..3730d04d 100755 --- a/podman/rustinstall.sh +++ b/podman/rustinstall.sh @@ -3,7 +3,7 @@ # This script install the Rust toolchain and the build system dependencies # in Podman after the image has been built -curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable +curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal curl -sSLf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash cargo +stable binstall --no-confirm --force --version 0.10.0 sccache diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e34f9fb8..65eb2271 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] channel = "nightly-2025-01-12" -components = ["rust-src"] +components = ["rust-src", "rustfmt", "clippy"] +profile = "minimal"