1 unstable release
0.1.0 | Jan 20, 2024 |
---|
#12 in #cross-compile
Used in transarch
7KB
157 lines
Transarch
Cargo interstateCross-compile Rust code into a blob
let wasm_blob = wasm! { // Happy wasm blob
pub extern "C" fn add(a: i32, b: i32) {
a + b
}
};
This crate uses all the bad practices to compile Rust code into a blob. Be sure to cargo clean
once in a while!