We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76c758e commit b926926Copy full SHA for b926926
.github/workflows/rust.yml
@@ -16,6 +16,8 @@ jobs:
16
17
steps:
18
- uses: actions/checkout@v4
19
+ - name: Install cargo-binstall
20
+ uses: cargo-bins/cargo-binstall@main
21
- name: prebuild
22
run: ./prebuild
23
- name: presubmit
prebuild
@@ -15,9 +15,17 @@ sudo apt-get install --yes \
15
library/download_test_roms
if ! which wasm-bindgen; then
- cargo install wasm-bindgen-cli
+ if which cargo-binstall; then
+ cargo binstall wasm-bindgen-cli
+ elif
+ cargo install wasm-bindgen-cli
+ fi
fi
24
25
if ! which wasm-opt; then
- cargo install wasm-opt
26
27
+ cargo binstall wasm-opt
28
29
+ cargo install wasm-opt
30
31
0 commit comments