Skip to content

Remove Arc::clone when creating LiftContext #11253

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

A small amount of unsafe code is required to enable this but the recent refactorings to use Pin<&mut ComponentInstance> everywhere makes this a much easier piece of unsafe code to verify.

A small amount of `unsafe` code is required to enable this but the
recent refactorings to use `Pin<&mut ComponentInstance>` everywhere
makes this a much easier piece of `unsafe` code to verify.
@alexcrichton alexcrichton requested a review from a team as a code owner July 16, 2025 14:38
@alexcrichton alexcrichton requested review from dicej and removed request for a team July 16, 2025 14:38
@alexcrichton alexcrichton added this pull request to the merge queue Jul 16, 2025
Merged via the queue into bytecodealliance:main with commit 2b776b0 Jul 16, 2025
42 checks passed
@alexcrichton alexcrichton deleted the no-clone-lift-context branch July 16, 2025 17:03
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