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

Rebind byte types safely #79

Merged
merged 1 commit into from
Jun 3, 2022
Merged

Rebind byte types safely #79

merged 1 commit into from
Jun 3, 2022

Conversation

glessard
Copy link
Contributor

@glessard glessard commented Apr 7, 2022

Eliminates all uses of assumingMemoryBound in favor of temporary rebinding, using memory binding API for Swift <5.7. The end result is more memory-safe.

@glessard
Copy link
Contributor Author

glessard commented Apr 8, 2022

@swift-ci please test

@glessard
Copy link
Contributor Author

glessard commented May 5, 2022

@swift-ci please test

@milseman milseman requested a review from lorentey May 5, 2022 14:59
@glessard glessard changed the title [test] rebind byte types safely Rebind byte types safely May 11, 2022
@glessard
Copy link
Contributor Author

@swift-ci please test

@glessard
Copy link
Contributor Author

@swift-ci please test

- this doesn’t use the new memory binding API.
@glessard
Copy link
Contributor Author

@swift-ci please test

@lorentey lorentey merged commit 5ba9e8f into main Jun 3, 2022
@lorentey lorentey deleted the glessard/binding-fixes branch June 3, 2022 22:16
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.

None yet

2 participants