Skip to content

[spec] Update align and offset type in text format for memory64 #1888

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

Merged
merged 1 commit into from
Mar 30, 2025

Conversation

keithw
Copy link
Member

@keithw keithw commented Mar 29, 2025

In memory64/wasm-3.0,

  • in the abstract syntax and binary format, the type of a memarg offset was updated to u64, and
  • in the reference interpreter's text parser, the type of a memarg align $a = 2^n$ was updated to u64.

This updates the text format spec to match and adds tests for extreme cases. These surface some bugs/out-of-date parsing logic in WABT and wasm-tools.

@rossberg rossberg merged commit 3532eed into WebAssembly:wasm-3.0 Mar 30, 2025
12 checks passed
@keithw keithw deleted the update-align-offset branch March 30, 2025 18:27
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