Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

737 B
Raw Blame

Using multi-value

You can also browse this source code online and clone the wasmtime repository to run the example locally:

This example shows off how to interact with a wasm module that uses multi-value exports and imports.

Wasm Source

{{#include ../examples/multi.wat}}

Host Source

{{#include ../examples/multi.rs}}
{{#include ../examples/multi.c}}
{{#include ../examples/multi.cc}}