Skip to content

Commit

Permalink
Fix bumpalo CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
s-arash committed Mar 9, 2024
1 parent fca26ff commit 6fe8159
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions wasm-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ 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
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# 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"

Expand Down

0 comments on commit 6fe8159

Please sign in to comment.