Skip to content

Adjust validation of memory in canonopts#633

Open
alexcrichton wants to merge 1 commit intoWebAssembly:mainfrom
alexcrichton:relax-canonopt-memory-validation
Open

Adjust validation of memory in canonopts#633
alexcrichton wants to merge 1 commit intoWebAssembly:mainfrom
alexcrichton:relax-canonopt-memory-validation

Conversation

@alexcrichton
Copy link
Copy Markdown
Collaborator

Change the subtyping check to check for (memory 0) instead of (memory 1) to allow memories that start empty but are allowed to grow. This is a bit more relaxed from the previous predicate while still restricting it to non-shared, 32-bit, 64k page-size memories.

Change the subtyping check to check for `(memory 0)` instead of
`(memory 1)` to allow memories that start empty but are allowed to grow.
This is a bit more relaxed from the previous predicate while still
restricting it to non-shared, 32-bit, 64k page-size memories.
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.

1 participant