wasm-opt-rs
wasm-opt-rs copied to clipboard
Accept byte array as input
the current API only accepts file as input and output, make it possible to pass byte array as input, btw the wasm-opt binary can accept wasm from pipe
Will be keeping my eye on this! Want to incorporate wasm-opt into my scripting runtime pipeline, and writing to a temp file is very inefficient :(
I'm interested in this, so I can remove all io calls and compile to wasm32-unknown-unknown.
This cannot be achieved with memfile, there will still be io calls blocking the compilation.