Module wasm_pack::wasm_opt

source ·
Expand description

Support for downloading and executing wasm-opt

Functions

  • Attempts to find wasm-opt in PATH locally, or failing that downloads a precompiled binary.
  • Execute wasm-opt over wasm binaries found in out_dir, downloading if necessary into cache. Passes args to each invocation of wasm-opt.