Skip to content

Commit 9673646

Browse files
committed
240304
1 parent ec2eaed commit 9673646

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
--arch ${{ matrix.arch }} \
3737
--network host \
3838
--pull \
39-
--squash \
39+
--squash-all \
4040
--tag rust:alpine-mimalloc \
4141
.
4242
popd
@@ -56,10 +56,12 @@ jobs:
5656
5757
MIMALLOC_VERBOSE=1 ./bin/wasm-tools --version
5858
MIMALLOC_VERBOSE=1 ./bin/wasmtime --version
59+
MIMALLOC_VERBOSE=1 ./bin/wit-bindgen --version
5960
MIMALLOC_VERBOSE=1 ./bin/wizer --version
6061
6162
file ./bin/wasm-tools
6263
file ./bin/wasmtime
64+
file ./bin/wit-bindgen
6365
file ./bin/wizer
6466
6567
mkdir wasm-tools-${{ github.ref_name }}-linux-${{ matrix.arch }}
@@ -102,6 +104,7 @@ jobs:
102104
103105
file ./bin/wasm-tools
104106
file ./bin/wasmtime
107+
file ./bin/wit-bindgen
105108
file ./bin/wizer
106109
107110
mkdir wasm-tools-${{ github.ref_name }}-darwin-${{ matrix.arch }}
@@ -146,7 +149,14 @@ jobs:
146149
--all-features `
147150
--root wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }} `
148151
--target ${{ matrix.arch }}-pc-windows-msvc `
149-
wasm-tools wizer wasmtime-cli
152+
--git https://github.com/type-dance/wizer.git `
153+
wizer
154+
155+
cargo install `
156+
--all-features `
157+
--root wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }} `
158+
--target ${{ matrix.arch }}-pc-windows-msvc `
159+
wasm-tools wit-bindgen-cli wasmtime-cli
150160
151161
- name: upload-artifact
152162
uses: actions/upload-artifact@v4

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Static builds of `wasm-tools`, `wasmtime-cli`, `wizer` for
44
{x86_64,aarch64}-{linux,darwin,windows}:
55

6-
- `wasm-tools`: `v1.200.0`
7-
- `wasmtime-cli`: `v18.0.1`
8-
- `wizer`: `v4.0.0`
6+
- `wasm-tools`: `v1.201.0`
7+
- `wasmtime-cli`: `v18.0.2`
8+
- `wit-bindgen-cli`: `v0.20.0`
9+
- `wizer`: `v4.0.0-git`

build.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ cargo install \
77
--config 'profile.release.lto = "thin"' \
88
--config 'profile.release.strip = "symbols"' \
99
--root "$PWD" \
10-
wasm-tools wizer ${1+"$@"}
10+
--git https://github.com/type-dance/wizer.git \
11+
wizer ${1+"$@"}
12+
13+
cargo install \
14+
--all-features \
15+
--config 'profile.release.lto = "thin"' \
16+
--config 'profile.release.strip = "symbols"' \
17+
--root "$PWD" \
18+
wasm-tools wit-bindgen-cli ${1+"$@"}
1119

1220
cargo install \
1321
--all-features \

0 commit comments

Comments
 (0)