Page MenuHomePhabricator

[WebAssembly] Find wasm-opt with GetProgramPath

Authored by sunfish on Nov 27 2019, 6:08 AM.



Instead of just searching for wasm-opt in PATH, use GetProgramPath, which checks the COMPILER_PATH environment variable, -B paths, and `PATH.

Diff Detail

Event Timeline

sunfish created this revision.Nov 27 2019, 6:08 AM
dschuff accepted this revision.Dec 2 2019, 9:34 AM
This revision is now accepted and ready to land.Dec 2 2019, 9:34 AM
This revision was automatically updated to reflect the committed changes.