File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 if : matrix.os == 'macos-latest'
3838 run : brew install llvm
3939
40+ # 0.2.109+ requires rustc 1.88 (via time crate).
4041 - name : Install wasm-bindgen
41- run : cargo install --locked wasm-bindgen-cli
42+ run : cargo install --locked wasm-bindgen-cli --version 0.2.108
4243
4344 - name : " Install dependencies"
4445 run : npm ci
Original file line number Diff line number Diff line change 33# Because that generated crate doesn't belong to the `payjoin` workspace, we need to patch the generated Cargo.toml accordingly for local development.
44# The patch is applied via the ubrn.config.yaml `manifestPatchFile` option.
55# The paths below are relative to payjoin-ffi/javascript/rust_modules/wasm/Cargo.toml
6+ [dependencies ]
7+ # Pin wasm-bindgen to match the CLI version in .github/workflows/javascript.yml.
8+ # The generated template uses "*", which resolves to latest. A mismatch between
9+ # the library and CLI versions causes "unreachable" panics at runtime.
10+ wasm-bindgen = " =0.2.108"
11+
612[patch .crates-io ]
713payjoin = { path = " ../../../../payjoin" }
814payjoin-directory = { path = " ../../../../payjoin-directory" }
You can’t perform that action at this time.
0 commit comments