-
Notifications
You must be signed in to change notification settings - Fork 15
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
Refactor MacOS implementation a lot #67
Conversation
@Kijewski I thought it was easier to read and safer if I moved each newtype to its own module. Along the way I did a small bit of refactoring. I have some concern this will not meet our MSRV requirements so may need to be updated once the CI tests are done. But it does actually run correctly on my Mac :) |
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.
This LGTM. I left one proposed tweak to break apart a gnarly conditional.
This looks good to me. Thanks @Kijewski for the main work here. And the CI tests do all pass. It seems we have a consensus amongst committers/reviewers that this is ready to merge. However, as it carries the |
Thanks all! This looks like a big improvement. |
I like that very much, @astraw. Now the types are truly self contained. |
7aeddfb
to
55ddac3
Compare
OK, as we changed the PR a bit with the new MSRV, keeping it open a week will now be 7 October. |
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.
I think this code doesn't have UB, but I do have a couple of suggestions to the safe code outside of system_time_zone
and string_ref
can't cause UB even when changing it.
(coming here from rust-secure-code/safety-dance#79)
Sorry, I caught Corona and don't think I'll be able to do any coding, commenting or reviewing until early next week. :/ |
The CI failures on the last commits here ( |
Cf. #64, #65.