You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Nick Fitzgerald 842faf5aa6 Support for multi-value wasm (#399) 5 years ago
..
examples Add initial support for WebAssembly Interface Types (#282) 5 years ago
python/wasmtime Add initial support for WebAssembly Interface Types (#282) 5 years ago
src Make more code work with no_std. (#407) 5 years ago
.gitignore Add initial support for WebAssembly Interface Types (#282) 5 years ago
Cargo.toml Support for multi-value wasm (#399) 5 years ago
LICENSE Add initial support for WebAssembly Interface Types (#282) 5 years ago
README.md Add initial support for WebAssembly Interface Types (#282) 5 years ago
setup.py Add initial support for WebAssembly Interface Types (#282) 5 years ago

README.md

Python 3 extension for interface with Wasmtime/Cranelift.

Build

First, you'll need to install some Python dependencies:

$ pip3 install setuptools wheel==0.31.1 setuptools-rust

Next you can build the extension with:

rustup run nightly python3 setup.py build

Note that a nightly version of Rust is required due to our usage of PyO3.

This will create a directory called build/lib which you can add to PYTHONPATH in order to get import wasmtime working.