mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 19:26:43 +01:00
add simple rust example
This commit is contained in:
2
examples/rust/build.sh
Executable file
2
examples/rust/build.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
rustc --target=wasm32-unknown-unknown --crate-type cdylib -C opt-level="z" -C "link-args=--import-memory --initial-memory=262144 -zstack-size=65536" -o tunnel.wasm tunnel.rs && \
|
||||
wasm-opt -Oz -o tunnel.wasm tunnel.wasm
|
||||
Reference in New Issue
Block a user