From 0883479068305f5302f3747c83351d9b80079019 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Wed, 12 Nov 2025 23:00:57 -0500 Subject: [PATCH] Remove `rust-src` as a component for WASM It's unnecessary since `wasm32v1-none`. --- .github/workflows/lint.yml | 2 +- rust-toolchain.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5ede4131..ebeab699 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,7 +26,7 @@ jobs: uses: ./.github/actions/build-dependencies - name: Install nightly rust - run: rustup toolchain install ${{ steps.nightly.outputs.version }} --profile minimal -t wasm32v1-none -c rust-src -c clippy + run: rustup toolchain install ${{ steps.nightly.outputs.version }} --profile minimal -t wasm32v1-none -c clippy - name: Run Clippy run: cargo +${{ steps.nightly.outputs.version }} clippy --all-features --all-targets -- -D warnings -A clippy::items_after_test_module diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 41d13f48..b95925f8 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,4 +2,4 @@ channel = "1.90" targets = ["wasm32v1-none"] profile = "minimal" -components = ["rust-src", "rustfmt", "clippy"] +components = ["rustfmt", "clippy"]