diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a332e7c2e32..48a300e78eb2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,8 +68,9 @@ jobs: rustup target add ${{ matrix.target }} if: matrix.target != '' - # Build `wasmtime` and executables - - run: $CENTOS cargo build --release --bin wasmtime + # Build `wasmtime` and executables. Note that we include `all-arch` so our + # release artifacts can be used to compile `.cwasm`s for other targets. + - run: $CENTOS cargo build --release --bin wasmtime --features all-arch # Build `libwasmtime.so` - run: $CENTOS cargo build --release --manifest-path crates/c-api/Cargo.toml