In this example, we demonstrate how to run a standalone WASM application from the command line.
If you have not done so already, follow these simple instructions to install Rust, Node.js, WasmEdge, and rustwasmc.
$ rustwasmc build --enable-aot
We will use the WasmEdge command to run the program.
$ wasmedge --dir .:. pkg/wasi_example_main.wasm arg1 arg2