[−][src]Function wasm_pack::wasm_opt::run
pub fn run(
cache: &Cache,
out_dir: &Path,
args: &[String],
install_permitted: bool
) -> Result<(), Error>
Execute wasm-opt
over wasm binaries found in out_dir
, downloading if
necessary into cache
. Passes args
to each invocation of wasm-opt
.