Skip to content

Commit 92de7bc

Browse files
committed
Optimize wasm-spring-shell with wasm-opt.
1 parent 9e8e396 commit 92de7bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/native-image-wasm-spring-shell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ jobs:
3939
run: |
4040
cd native-image/wasm-spring-shell
4141
./mvnw --no-transfer-progress -Pnative native:compile
42+
wasm-opt -Os --enable-exception-handling --enable-bulk-memory --enable-nontrapping-float-to-int --enable-reference-types --enable-gc -o target/wasm-spring-shell.js.wasm target/wasm-spring-shell.js.wasm
4243
node target/wasm-spring-shell help
4344
node target/wasm-spring-shell hello Jane

0 commit comments

Comments
 (0)