1 unstable release

0.1.0 Jan 20, 2024

#81 in #blob


Used in transarch

MIT license

7KB
157 lines

Transarch

Cargo interstate

Cross-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!

No runtime deps