wasmtime-runtime 0.32.0

Runtime library support for Wasmtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::env;

fn main() {
    println!("cargo:rerun-if-changed=src/helpers.c");
    cc::Build::new()
        .warnings(true)
        .define(
            &format!("CFG_TARGET_OS_{}", env::var("CARGO_CFG_TARGET_OS").unwrap()),
            None,
        )
        .file("src/helpers.c")
        .compile("wasmtime-helpers");
}