Skip to content

wasmerio/rust-cli-app-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-cli-app-example

A demonstration application. This shows how one can create command-line apps in WebAssembly with Emscripten, Rust, and Wasmer.

Build

Install Wasmer with:

curl https://get.wasmer.io -sSfL | sh

Install and setup Emscripten in the CLI app build environment. See the emscripten installation instructions. Run the setup script wherever running cargo commands. Build the project in debug mode (the default).

cargo build

Run

Run with Wasmer:

wasmer run ./target/wasm32-unknown-emscripten/debug/rust_cli_app_example.wasm

About

Example CLI app written in rust for Wasmer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages