diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86ef20f56a5b..bd93d98ce14b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -172,6 +172,11 @@ jobs: env: CARGO_PROFILE_DEV_DEBUG_ASSERTIONS: false + # Check whether `wasmtime` cross-compiles to x86_64-unknown-freebsd + # TODO: We aren't building with default features since the `ittapi` crate fails to compile on freebsd. + - run: rustup target add x86_64-unknown-freebsd + - run: cargo check -p wasmtime --no-default-features --features cranelift,wat,async,cache --target x86_64-unknown-freebsd + # 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