Skip to content

Commit

Permalink
add a CI to prevent this from happening again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Aug 12, 2024
1 parent 4db5661 commit fe09533
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
env:
CARGO_TARGET_WASM32_WASI_RUNNER: wasmtime run --wasm-features all --dir .
run: cargo test --target ${{ matrix.rust.target }} --all-features

- name: Build the crate with SSE4.1 (the "native" of CI will be above this)
run: RUSTFLAGS="-Ctarget-feature=+sse4.1" cargo build --target ${{ matrix.rust.target }}

- name: switch over to native cpu features
run: mv .cargo-ci .cargo
Expand Down

0 comments on commit fe09533

Please sign in to comment.