Skip to content

clealabs/rust-wasm64-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust WASM64 Example

This is an example of how to print a string from a WASM64 guest module (compiled to target wasm64-unknown-unknown) through a host runner (here wasmtime is used) using a FFI.

Build and Run with wasmtime

./test_flow.sh

Run in the browser

Serve the current directory with any http server, for example:

npm install -g http-server
http-server -c-1

Then open http://localhost:8080/index.html in Chrome or Firefox.

About

Hello world wasm64 example in rust using wasmtime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published