lunatic-runtime 0.13.2

An actor platform built on WebAssembly
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::{
    env::{args_os, set_var},
    process::{exit, Command},
};

fn main() {
    set_var("CARGO_BUILD_TARGET", "wasm32-wasi");
    set_var("CARGO_TARGET_WASM32_WASI_RUNNER", "lunatic");
    exit(
        Command::new("cargo")
            .args(args_os().skip(2))
            .status()
            .unwrap()
            .code()
            .unwrap(),
    );
}