-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Update UUID to take advantage of SE-0205 #19775
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
Conversation
This updates UUID to use withUnsafePointer for lets
@benasher44 Welcome to the project, and thank you for contributing to Swift! I'm going to tag @moiseev for review here, but before then I'll kick off CI. @swift-ci please smoke test |
Thanks! |
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM, and we probably want an equivalent patch in the Foundation repo. |
Agreed with @millenomi |
Published equivalent patch @ swiftlang/swift-corelibs-foundation#1728 :) |
@swift-ci please test and merge |
… I don't appear to have that magic power. |
This updates UUID to use
withUnsafePointer
forlet
sNow that SE-0205 has landed, we don't need to make local copies of the uuid byte tuples, in order to get pointers to them. We can use the new
withUnsafePointer
that works withlet
s.