From 0c11edb564e34aeaa4ba0fccf3879ecbd18abe57 Mon Sep 17 00:00:00 2001 From: pepperoni21 Date: Mon, 18 Dec 2023 18:19:40 +0100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5d53f3f..1483ecb 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,9 +22,6 @@ jobs: with: toolchain: "stable" components: "rustfmt,clippy" - - - name: Add wasm target - run: rustup target add wasm32-unknown-unknown - name: cargo fmt run: cargo fmt --all -- --check @@ -46,6 +43,7 @@ jobs: uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 with: toolchain: "stable" + target: "wasm32-unknown-unknown" - name: Build run: cargo wasm --verbose