second-state / wasm-learning

Building Rust functions for Node.js to take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Demo code and recipes.
https://www.secondstate.io/articles/getting-started-with-rust-function/
485 stars 102 forks source link

Add wasi main example #4

Closed hydai closed 4 years ago

juntao commented 4 years ago

I merged this. Thanks. Once we updated ssvmup to generate the JS glue for SSVM, we will remove the lib.js and ask the user to generate it instead.