wasmtime-py 0.15.0

Python extension for Wasmtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Build example's file

To build `gcd.wasm` use rustc (nightly) for wasm32 target with debug information:

```
rustc +nightly --target=wasm32-unknown-unknown -g gcd.rs --crate-type=cdylib
```

# Run example

Point path to the built wasmtime_py library location when running python, e.g.

```
PYTHONPATH=../../target/debug python3 run.py
```