Files
wasmtime/examples
Alex Crichton 57fb1c69c5 Enable the multi-value proposal by default (#1667)
This was merged into the wasm spec upstream in WebAssembly/spec#1145, so
let's follow the spec and enable it by default here as well!
2020-05-06 12:37:29 -05:00
..
2020-04-20 15:55:33 -05:00
2020-04-20 15:55:33 -05:00
2020-04-20 15:55:33 -05:00
2020-04-20 15:55:33 -05:00
2020-04-20 15:55:33 -05:00
2020-04-20 15:55:33 -05:00

Examples of the wasmtime API

This directory contains a number of examples of using the wasmtime API from different languages. Currently examples are all in Rust and C using the wasmtime crate or the wasmtime embedding API.

Each example is available in both C and in Rust. Examples are accompanied with a *.wat file which is the wasm input, or a Rust project in a wasm folder which is the source code for the original wasm file.

Rust examples can be executed with cargo run --example $name, and C examples need to be compiled using your system compiler and appropriate header files.

For more information see the examples themselves!