Skip to content
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

Move storage around to fix MIRI issue #28

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

udoprog
Copy link
Owner

@udoprog udoprog commented Mar 6, 2024

This fixes two things:

We avoid most complexity around dealing with wakers, since waker storage is now allocated with the storage for futures.

New MIRI versions is finding borrowing issues with the existing implementation. This simplifies borrowing semantics significantly.

@udoprog udoprog added the enhancement New feature or request label Mar 6, 2024
@udoprog udoprog force-pushed the reused-waker-storage branch from 284af6f to 03f420b Compare March 6, 2024 12:50
@udoprog udoprog changed the title Move storage around Move storage around to fix MIRI issue Mar 6, 2024
@udoprog udoprog force-pushed the reused-waker-storage branch from 03f420b to 68851b1 Compare March 6, 2024 12:52
@udoprog udoprog merged commit 4d93be1 into main Mar 6, 2024
5 checks passed
@udoprog udoprog deleted the reused-waker-storage branch March 6, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant