From 185766828352af25ef0d6298852e4ce6b175f4dc Mon Sep 17 00:00:00 2001 From: "Join.G" Date: Mon, 6 May 2024 22:47:56 +0800 Subject: [PATCH] fix compile issue. --- .github/workflows/wasi-v86-linux.yml | 1 + .github/workflows/wasi-v86-macos.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wasi-v86-linux.yml b/.github/workflows/wasi-v86-linux.yml index 00becd5..8093259 100644 --- a/.github/workflows/wasi-v86-linux.yml +++ b/.github/workflows/wasi-v86-linux.yml @@ -34,6 +34,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: toolchain: stable + target: ${{ matrix.target }} - name: Build v86-wasi uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/wasi-v86-macos.yml b/.github/workflows/wasi-v86-macos.yml index 1a6cc26..e1d65c1 100644 --- a/.github/workflows/wasi-v86-macos.yml +++ b/.github/workflows/wasi-v86-macos.yml @@ -30,7 +30,8 @@ jobs: - uses: actions-rs/toolchain@v1 with: toolchain: stable - - run: rustup target add aarch64-apple-darwin + target: ${{ matrix.target }} + - run: rustup target add ${{ matrix.target }} - name: Build v86-wasi uses: actions-rs/cargo@v1 with: