Skip to content

Loosen platform requirements for Dependencies library #1466

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

Merged
merged 5 commits into from
Oct 11, 2022

Conversation

stephencelis
Copy link
Member

Dependencies is not currently usable outside Apple platforms due to unrestricted use of platform-only APIs. This PR should guard their availability a bit better and allow for compilation on Linux at the very least, allowing Dependencies code to be written in multiplatform libraries.

Dependencies depends on runtime warning functionality, which is brought
in via the "os" module. If we check for availability we can allow the
Dependencies module to be used from multiplatform libraries, as we have
in isowords.
@stephencelis stephencelis merged commit 2d943da into main Oct 11, 2022
@stephencelis stephencelis deleted the agnostic-runtime-warn branch October 11, 2022 22:14
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.

3 participants