Skip to content

scripts/fuzz_opt.py can not be invoked from scripts/ #7417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zapashcanon opened this issue Mar 28, 2025 · 1 comment
Open

scripts/fuzz_opt.py can not be invoked from scripts/ #7417

zapashcanon opened this issue Mar 28, 2025 · 1 comment

Comments

@zapashcanon
Copy link

Hi,

Running:

$ scripts/fuzz_opt.py

will work just fine, but:

$ cd scripts && ./fuzz_opt.py

will not because it expects the bin/wasm-opt file to be in the current directory.

@kripken
Copy link
Member

kripken commented Mar 31, 2025

I think you can use --binaryen-bin to set the bin dir, so it can find the tools if they aren't under ./bin/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants