Sign inSign up

mziyabo/wasmtime

By mziyabo

Updated over 6 years ago

Executable image for Wasmtime, a JIT-style runtime for WebAssembly.

Image
0

971

mziyabo/wasmtime repository overview

Wasmtime

Executable image for Wasmtime, a JIT-style runtime for WebAssembly.

Usage PowerShell: Create hello.rs file and compile to wasm

New-Item hello.rs -Value  "fn main() {
println!(`"Hello`");
}"

# install wasm32-wasi if it's missing:
# rustup target add wasm32-wasi

rustc --target=wasm32-wasi hello.rs

Execute ./hello.wasm in wasmtime

docker run --rm -v ${pwd}:/target mziyabo/wasmtime ./hello.wasm

Tag summary

Content type

Image

Digest

Size

80.1 MB

Last updated

over 6 years ago

docker pull mziyabo/wasmtime