Skip to content

Commit 4f9e3f9

Browse files
committed
binaryen-version_124.
1 parent 4e90618 commit 4f9e3f9

File tree

14 files changed

+373
-394
lines changed

14 files changed

+373
-394
lines changed

embed/bcw2/bcw2.wasm

-443 Bytes
Binary file not shown.

embed/bcw2/build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ cd ~-
6262
$(awk '{print "-Wl,--export="$0}' ../exports.txt)
6363

6464
"$BINARYEN/wasm-ctor-eval" -g -c _initialize bcw2.wasm -o bcw2.tmp
65-
"$BINARYEN/wasm-opt" -g --strip --strip-producers -c -O3 \
66-
bcw2.tmp -o bcw2.wasm --low-memory-unused \
65+
"$BINARYEN/wasm-opt" -g bcw2.tmp -o bcw2.wasm \
66+
--low-memory-unused --gufa --generate-global-effects --converge -O3 \
6767
--enable-mutable-globals --enable-nontrapping-float-to-int \
6868
--enable-simd --enable-bulk-memory --enable-sign-ext \
69-
--enable-reference-types --enable-multivalue
69+
--enable-reference-types --enable-multivalue \
70+
--strip --strip-producers

embed/build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ trap 'rm -f sqlite3.tmp' EXIT
2727
$(awk '{print "-Wl,--export="$0}' exports.txt)
2828

2929
"$BINARYEN/wasm-ctor-eval" -g -c _initialize sqlite3.wasm -o sqlite3.tmp
30-
"$BINARYEN/wasm-opt" -g --strip --strip-producers -c -O3 \
31-
sqlite3.tmp -o sqlite3.wasm --low-memory-unused \
30+
"$BINARYEN/wasm-opt" -g sqlite3.tmp -o sqlite3.wasm \
31+
--low-memory-unused --gufa --generate-global-effects --converge -O3 \
3232
--enable-mutable-globals --enable-nontrapping-float-to-int \
3333
--enable-simd --enable-bulk-memory --enable-sign-ext \
34-
--enable-reference-types --enable-multivalue
34+
--enable-reference-types --enable-multivalue \
35+
--strip --strip-producers

embed/sqlite3.wasm

-538 Bytes
Binary file not shown.

sqlite3/libc/build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ EOF
4343
-Wl,--export=qsort
4444

4545
"$BINARYEN/wasm-ctor-eval" -g -c _initialize libc.wasm -o libc.tmp
46-
"$BINARYEN/wasm-opt" -g --strip --strip-producers -c -O3 \
47-
libc.tmp -o libc.wasm \
46+
"$BINARYEN/wasm-opt" -g libc.tmp -o libc.wasm \
47+
--low-memory-unused --generate-global-effects --converge -O3 \
4848
--enable-mutable-globals --enable-nontrapping-float-to-int \
4949
--enable-simd --enable-bulk-memory --enable-sign-ext \
50-
--enable-reference-types --enable-multivalue
50+
--enable-reference-types --enable-multivalue \
51+
--strip --strip-debug --strip-producers
5152

5253
"$BINARYEN/wasm-dis" -o libc.wat libc.wasm

sqlite3/libc/libc.wasm

78 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)