Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 425 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 425 Bytes

WASI

A Rust wrapper for calling WASI

Documentation

This wrapper adheres to this API to the best of its ability. Note that this API is extremely new and may change.

Example

use wasi::*;
fn main(){
  let r = random::get();
  let d6 = 6*r;
  console_log(&format!("you rolled a {}",d6));
}