mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 19:26:43 +01:00
make use of nontrapping-fptoint, add tunnel.cwa as reference
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
rustc --target=wasm32-unknown-unknown --crate-type cdylib -C opt-level="z" -C "link-args=--import-memory --initial-memory=262144 -zstack-size=90000" -o tunnel.wasm tunnel.rs && \
|
||||
rustc --target=wasm32-unknown-unknown -C target-feature=+nontrapping-fptoint --crate-type cdylib -C opt-level="z" -C "link-args=--import-memory --initial-memory=262144 -zstack-size=90000" -o tunnel.wasm tunnel.rs && \
|
||||
uw8 filter-exports tunnel.wasm tunnel.wasm && \
|
||||
wasm-opt -Oz --strip-producers -o tunnel.wasm tunnel.wasm && \
|
||||
uw8 pack -l 9 tunnel.wasm tunnel.uw8
|
||||
|
||||
Reference in New Issue
Block a user