Skip to content

Fix validation of atomic mutation of shared globals#2473

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:validate-mutable-shared-global
Mar 31, 2026
Merged

Fix validation of atomic mutation of shared globals#2473
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:validate-mutable-shared-global

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This commit updates validation of atomic-related mutation instructions, only applicable with the shared-everything-threads proposal, to require that the global in question is flagged as mutable. This seems like an oversight in the current implementation, so mutability is required for now.

This commit updates validation of atomic-related mutation instructions,
only applicable with the shared-everything-threads proposal, to require
that the global in question is flagged as mutable. This seems like an
oversight in the current implementation, so mutability is required for
now.
@alexcrichton alexcrichton requested a review from a team as a code owner March 31, 2026 17:21
@alexcrichton alexcrichton requested review from dicej and removed request for a team March 31, 2026 17:21
@alexcrichton alexcrichton added this pull request to the merge queue Mar 31, 2026
Merged via the queue into bytecodealliance:main with commit 8f21770 Mar 31, 2026
37 checks passed
@alexcrichton alexcrichton deleted the validate-mutable-shared-global branch March 31, 2026 17:50
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