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

Normalize consistency of unsafe in function contracts #59

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

windy1
Copy link
Owner

@windy1 windy1 commented Aug 11, 2024

What

This PR normalizes the consistency of where the unsafe boundary is, marking functions of the implementation-level interfaces unsafe if they use unsafe functionality.

Why

The goal here is to make the boundary of unsafe more well defined between implementation-level details and the library-level interfaces that are provided to the end user; and, makes clear that, these implementation-level interfaces do not provide the guarantees that the library-level ones do.

Manual Tests

Tested on macOS, Windows, and Linux

Documentation Updates

n/a

Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>
Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>
@windy1 windy1 merged commit 2e5ee10 into master Aug 12, 2024
3 checks passed
@windy1 windy1 deleted the feature/unsafe-contracts branch August 12, 2024 02:01
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.

1 participant