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

Mark ReadTarget and WriteTarget as unsafe #621

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

jannic
Copy link
Member

@jannic jannic commented May 23, 2023

This implements the "mark traits as unsafe" part of #620 (comment)

@jannic
Copy link
Member Author

jannic commented May 23, 2023

Clippy is, of course, absolutely right: There should be some docs explaining the safety requirements.

@jannic jannic force-pushed the unsafe-dma-targets branch from 19ccd24 to 4976e93 Compare May 30, 2023 06:52
@jannic jannic added this to the 0.9.0 milestone May 30, 2023
@jannic jannic added breaking change This pull request contains a SemVer breaking change bug Something isn't working labels May 30, 2023
Copy link
Member

@ithinuel ithinuel left a comment

Choose a reason for hiding this comment

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

LGTM

@jannic jannic merged commit d46bb60 into rp-rs:main Aug 30, 2023
jannic added a commit to jannic/rp-hal that referenced this pull request Aug 30, 2023
Those trait impls were introduced after rp-rs#621 was opened and were
therefore not covered by that PR.
jannic added a commit that referenced this pull request Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This pull request contains a SemVer breaking change bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants