Skip to content

Files

Latest commit

a92a31d · Jun 25, 2020

History

History
22 lines (14 loc) · 452 Bytes

examples-rust-multi-value.md

File metadata and controls

22 lines (14 loc) · 452 Bytes

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.

multi.wat

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

multi.rs

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