diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c22d171..c52785df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,8 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Install wasm-bindgen - run: which wasm-bindgen || cargo install wasm-bindgen-cli + # nb. wasm-bindgen-cli version must match `wasm-bindgen` version in Cargo.lock + run: cargo install wasm-bindgen-cli --version 0.2.89 if: ${{ matrix.os == 'ubuntu-latest' }} - name: Build run: cargo build diff --git a/src/lib.rs b/src/lib.rs index fe5b3fb1..1382c8af 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,11 @@ //! these pieces fit together. //! //! [rten_examples]: https://github.com/robertknight/rten/tree/main/rten-examples -#![cfg_attr(feature = "avx512", feature(stdsimd), feature(avx512_target_feature))] +#![cfg_attr( + feature = "avx512", + feature(stdarch_x86_avx512), + feature(avx512_target_feature) +)] #[allow(unused)] // Docs only use rten_tensor::{NdTensor, Tensor};