Skip to content

Commit b85d1ca

Browse files
committed
Apply wasm-opt
1 parent e68651e commit b85d1ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/native-image-wasm-javac.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
run: |
4242
cd native-image/wasm-javac
4343
./mvnw --no-transfer-progress -Pnative package
44+
wasm-opt -Os --enable-exception-handling --enable-bulk-memory --enable-nontrapping-float-to-int --enable-reference-types --enable-gc -o target/javac.js.wasm target/javac.js.wasm
4445
./mvnw --no-transfer-progress -Pjavacweb package
46+
wasm-opt -Os --enable-exception-handling --enable-bulk-memory --enable-nontrapping-float-to-int --enable-reference-types --enable-gc -o web/javac.js.wasm web/javac.js.wasm
4547
node target/javac.js HelloWasm.java
4648
java HelloWasm

0 commit comments

Comments
 (0)