transarch

Crates.iotransarch
lib.rstransarch
version0.1.0
sourcesrc
created_at2024-01-20 02:50:19.264548
updated_at2024-01-20 02:50:19.264548
descriptionCompile code for a different arch into a blob
homepage
repositoryhttps://github.com/5GameMaker/transarch
max_upload_size
id1106139
size3,995
Buj (5GameMaker)

documentation

README

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!

Commit count: 0

cargo fmt