wasm-opt-rs icon indicating copy to clipboard operation
wasm-opt-rs copied to clipboard

Accept byte array as input

Open clearloop opened this issue 1 year ago • 2 comments

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

clearloop avatar Dec 17 '23 17:12 clearloop

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 :(

skyne98 avatar Apr 01 '24 17:04 skyne98

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.

oovm avatar Feb 11 '25 04:02 oovm