wasker 0.2.2

Wasm compiler for running Wasm on your favorite kernel
Documentation
1
2
3
4
5
6
7
8
9
10
11
use wasker::compiler;

#[test]
fn rust() {
    let wat = "./helloworld.wat";
    let args = compiler::Args {
        input_file: wat.into(),
        output_file: "/tmp/wasm.o".into(),
    };
    compiler::compile_wasm_from_file(&args).expect("fail compile");
}