diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a208fb5..0a3a92d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -57,7 +57,9 @@ jobs: - name: Run wasm tests working-directory: ./wasm-tests - run: wasm-pack test --headless --firefox + run: | + cargo tree + wasm-pack test --headless --firefox # macro tests should be last, because they produce scratchpad.rs, which my not compile - name: Run macro tests diff --git a/wasm-tests/Cargo.toml b/wasm-tests/Cargo.toml index e902850..2cf78fc 100644 --- a/wasm-tests/Cargo.toml +++ b/wasm-tests/Cargo.toml @@ -11,7 +11,10 @@ crate-type = ["cdylib", "rlib"] default = ["console_error_panic_hook"] [dependencies] -wasm-bindgen = "0.2.63" +ascent = { path = "../ascent", features = ["wasm-bindgen"] } + +# pinning to this version because higher versions don't work on rust 1.66 +bumpalo = "=3.14" # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires @@ -19,8 +22,6 @@ wasm-bindgen = "0.2.63" # code size when deploying. console_error_panic_hook = { version = "0.1.6", optional = true } -ascent = { path = "../ascent", features = ["wasm-bindgen"] } - [dev-dependencies] wasm-bindgen-test = "0.3.13"