walrus 0.8.0

A library for performing WebAssembly transformations
Documentation
// A small example which is primarily used to help benchmark walrus right now.

fn main() {
    env_logger::init();
    let a = std::env::args().nth(1).unwrap();
    let m = walrus::Module::from_file(&a).unwrap();
    let wasm = m.emit_wasm().unwrap();
    if let Some(destination) = std::env::args().nth(2) {
        std::fs::write(destination, wasm).unwrap();
    }
}