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

Use maintained sys crates for CoreFoundation and IOKit #136

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

sirhcel
Copy link
Contributor

@sirhcel sirhcel commented Nov 20, 2023

This catches two birds with one stone: The function is already present
in the released core-foundation-sys 0.8.4. CFDictionaryGetValue might
return NULL which according to
https://github.com/opensource-apple/CF/blob/3cc41a76b1491f50813e28a4ec09954ffa359e6f/CFRuntime.c#L500
does not seem to be a valid input to CFGetTypeID.
Copy link
Contributor

@eldruin eldruin left a comment

Choose a reason for hiding this comment

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

Thank you for all your work!

@eldruin eldruin merged commit e6090af into serialport:main Nov 21, 2023
21 checks passed
sirhcel added a commit to sirhcel/serialport-rs that referenced this pull request Nov 24, 2023
This got fixed with serialport#136 but the exemption for the mach crate survived
but is no longer needed. Keeping it in place would prevent us from
getting notified from CI in case this dependency would be reintroduced
by accident.
eldruin pushed a commit that referenced this pull request Dec 8, 2023
This got fixed with #136 but the exemption for the mach crate survived
but is no longer needed. Keeping it in place would prevent us from
getting notified from CI in case this dependency would be reintroduced
by accident.
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.

Dependency on unmaintained crates
2 participants