Skip to content

Files

This branch is 4 commits ahead of, 8097 commits behind bytecodealliance/wasmtime:main.

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 20, 2020
Apr 20, 2020
Mar 11, 2020
Apr 6, 2020
Apr 20, 2020
Mar 11, 2020
Apr 6, 2020
Apr 20, 2020
Mar 11, 2020
Apr 21, 2020
Apr 21, 2020
Apr 21, 2020
Apr 6, 2020
Apr 20, 2020
Mar 20, 2020
Mar 20, 2020
Apr 6, 2020
Apr 20, 2020
Mar 11, 2020
May 6, 2020
May 6, 2020
Mar 11, 2020

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!