Skip to content

wasm2c: Move to O3 optimizations for wasm2c spec compliance tests - #2788

Merged
shravanrn merged 1 commit into
WebAssembly:mainfrom
UT-Security:wasm2c-optlevel
Jul 6, 2026
Merged

shravanrn merged 1 commit into
WebAssembly:mainfrom
UT-Security:wasm2c-optlevel

Conversation

@shravanrn

@shravanrn shravanrn commented Jul 5, 2026 •

Copy link
Copy Markdown
Collaborator

This fixes an inconsistency between the README for wasm2c and what the test suite has re optimization levels. The readme indicates that -O3 is fine, but the test suite only tests with -O2. From my testing on GCC/clang, the wasm2c generated code works fine at -O3 and passes the spec test suite. I think we can move the test suite to it. (If however, anyone knows of any issues with-O3 for the spec tests or other tests, we should update the readme instead to explicitly require -O2)

@shravanrn
shravanrn requested review from keithw and sbc100 July 5, 2026 22:31
@shravanrn
shravanrn enabled auto-merge (rebase) July 6, 2026 19:07
@shravanrn
shravanrn merged commit 146b6f3 into WebAssembly:main Jul 6, 2026
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants