-
Notifications
You must be signed in to change notification settings - Fork 762
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
[NFC] Improve wasm-reduce help text #7293
base: main
Are you sure you want to change the base?
Conversation
Whatever the command does, we will preserve as we copy progressively smaller | ||
files to t.wasm. As we make progress, the smallest file will be written to | ||
the working file, w.wasm, and when reduction is done you will find the final | ||
result there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I'm doing it wrong, but when I run the example command above, I see a t.wasm
generated but no w.wasm
.
The full output of the run:
|wasm-reduce
|input: <snip>
|test: t.wasm
|working: w.wasm
|bin dir: <snip>
|extra flags: -all
|expected result:
[ProgramResult] code: 0 stdout:
[====]
in 0.092609 seconds
[/ProgramResult]
|!! Make sure the above is what you expect! !!
|checking that command has different behavior on different inputs (this verifies that the test file is used by the command)
|checking that command has expected behavior on canonicalized (read-written) binary
|! failed to read and write the binary
[ProgramResult] code: 31744 stdout:
[====]
in 2.03463 seconds
[/ProgramResult]
Fatal: |! stopping, as it is very unlikely reduction can succeed (use -f to ignore this check)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(discussed offline, but for others reading, my suggestions were --timeout=10
and/or --text
, and if neither works, to send me the file to investigate)
Co-authored-by: Ömer Sinan Ağacan <[email protected]>
No description provided.