diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2a57bf..1c43d8d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,9 +18,6 @@ jobs: node-version: "22" - name: Setup Rust Toolchain run: | - rustup toolchain install nightly --profile minimal - rustup component add rust-src - rustup target add wasm32-unknown-unknown cargo install wasm-bindgen-cli sudo apt-get update && sudo apt-get install -y binaryen diff --git a/rewriter/rust-toolchain.toml b/rewriter/rust-toolchain.toml index d1e334d..abe29a0 100644 --- a/rewriter/rust-toolchain.toml +++ b/rewriter/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] channel = "nightly" -targets = [ "wasm32-unknown-unknown" ] \ No newline at end of file +targets = [ "wasm32-unknown-unknown" ] +components = [ "rust-src" ]