Skip to content

tests: shareable memory with V8#6544

Open
marxin wants to merge 2 commits intomainfrom
v8-shareable-memory
Open

tests: shareable memory with V8#6544
marxin wants to merge 2 commits intomainfrom
v8-shareable-memory

Conversation

@marxin
Copy link
Copy Markdown
Contributor

@marxin marxin commented May 4, 2026

Issue #6121

Copilot AI review requested due to automatic review settings May 4, 2026 08:41
@marxin marxin mentioned this pull request May 4, 2026
4 tasks
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a regression test to ensure the V8 backend preserves the shared flag on MemoryType when creating a Memory, validating correct type round-tripping via memory.ty(&store).

Changes:

  • Add a V8-only unit test that constructs both shared and non-shared memories and asserts Memory::ty() matches the original MemoryType.

@marxin
Copy link
Copy Markdown
Contributor Author

marxin commented May 5, 2026

Waiting for a new wee8 release that's gonna fix the memory issue.

Copy link
Copy Markdown
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to merge once tests pass

@marxin
Copy link
Copy Markdown
Contributor Author

marxin commented May 6, 2026

@syrusakbary blocked by your changes to how we build wee8: wasmerio/v8-custom-builds#11
Can you address them?

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.

3 participants