Skip to content

Add a DispatchableHandle trait to allow bypassing the integer to pointer #997

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

06393993
Copy link

... so that Handle::from_raw is more friendly to miri tests with strict provenance.

Closes #996

Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

Current form seems fine to me, but leaving to @MarijnS95 for a final call.

…rom_raw

... so that from_raw is more friendly to miri tests with strict provenance.

Closes ash-rs#996
@06393993 06393993 changed the title Remove integer to pointer cast in Handle implementation Add a DispatchableHandle trait to allow bypassing the integer to pointer May 29, 2025
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.

Handle::from_raw can't pass miri tests with strict provenance due to integer to pointer cast
2 participants