transarch 0.1.0

Compile code for a different arch into a blob
Documentation
  • Coverage
  • 14.29%
    1 out of 7 items documented0 out of 3 items with examples
  • Size
  • Source code size: 3.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.48 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • 5GameMaker/transarch
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • 5GameMaker

Transarch

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!