Closed
Description
🐛 Bug description
wasm-pack does not search PATH for wasm-opt, at least not on targets where there is no prebuilt binary
🤔 Expected Behavior
wasm-pack should find wasm-opt in PATH
👟 Steps to reproduce
Not sure if this is specific to FreeBSD or if it also happens on other operating systems.
- run wasm-pack
- observe it fails because wasm-opt is not available
- install wasm-opt
- run wasm-pack
- observe that it does not find wasm-opt even though it is in path.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.9.1
rustc version: 1.44.1 (FreeBSD ports version)
FreeBSD version: FreeBSD 12.1-RELEASE-p3 GENERIC amd64
wasm-opt version: 93
Metadata
Metadata
Assignees
Labels
No labels