Initial work to build for Windows ARM64 (#4990)

* Make wasmtime build for windows-aarch64

* Add check for win arm64 build.

* Fix checks for winarm64 key in workflows.

* Add target in windows arm64 build.

* Add tracking issue for Windows ARM64 trap handling
This commit is contained in:
Yuyi Wang
2022-10-03 10:45:42 +08:00
committed by GitHub
parent 3fa545bd89
commit 6bcc430855
4 changed files with 21 additions and 1 deletions

View File

@@ -183,6 +183,20 @@ jobs:
- run: cargo check --target wasm32-unknown-emscripten -p wasi-common
- run: cargo check --target armv7-unknown-linux-gnueabihf -p wasi-common
# Check whether `wasmtime` cross-compiles to aarch64-pc-windows-msvc
# We don't build nor test it because it lacks trap handling.
# Tracking issue: https://github.com/bytecodealliance/wasmtime/issues/4992
checks_winarm64:
name: Check Windows ARM64
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: ./.github/actions/install-rust
- run: rustup target add aarch64-pc-windows-msvc
- run: cargo check -p wasmtime --target aarch64-pc-windows-msvc
fuzz_targets:
name: Fuzz Targets
runs-on: ubuntu-latest