Skip to content

Disallow realloc option on task.return #2086

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

Conversation

alexcrichton
Copy link
Member

This'll soon be updated in the spec as well, but task.return is only lifting values so there's no need for realloc, so go ahead and forbid it from being present on the task.return intrinsic.

This'll soon be updated in the spec as well, but `task.return` is only
lifting values so there's no need for `realloc`, so go ahead and forbid
it from being present on the `task.return` intrinsic.
@alexcrichton alexcrichton added this pull request to the merge queue Mar 7, 2025
Merged via the queue into bytecodealliance:main with commit 4059ef8 Mar 7, 2025
31 checks passed
@alexcrichton alexcrichton deleted the forbid-task-return branch March 7, 2025 18:10
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