File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,7 @@ jobs:
263
263
steps :
264
264
- uses : actions/checkout@v2
265
265
266
+ - run : cargo generate-lockfile
266
267
- run : mk/install-build-tools.sh --target=${{ matrix.target }} ${{ matrix.features }}
267
268
268
269
- uses : actions-rs/toolchain@v1
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ case $target in
66
66
use_clang=1
67
67
;;
68
68
--target=wasm32-unknown-unknown)
69
- cargo install wasm-bindgen-cli --vers " 0.2.68" --bin wasm-bindgen-test-runner
69
+ # The version of wasm-bindgen-cli must match the wasm-bindgen version.
70
+ wasm_bindgen_version=$( cargo metadata --format-version 1 | jq -r ' .packages | map(select( .name == "wasm-bindgen")) | map(.version) | .[0]' )
71
+ cargo install wasm-bindgen-cli --vers " $wasm_bindgen_version " --bin wasm-bindgen-test-runner
70
72
case ${features-} in
71
73
* wasm32_c* )
72
74
use_clang=1
You can’t perform that action at this time.
0 commit comments