Rust runtime

Rust WASM runtime built with the wasm32-wasip1 target

Kumar Anirudha

Table of content
  1. At a glance
  2. Capabilities
  3. Limitations
  4. Install
  5. Use from Rust

At a glance

Compiler rustc 1.82.0
Target wasm32-wasip1
Available versions 1.82
Binary size ~76 KB (post wasm-opt -O3)
License MIT/Apache-2.0
Source https://www.rust-lang.org/

Capabilities

Limitations

Install

wasmhub get rust 1.82

Use from Rust

use wasmhub::{RuntimeLoader, Language};

let loader = RuntimeLoader::new()?;
let rust = loader.get_runtime(Language::Rust, "1.82").await?;