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

Remove use of Pkg.BinaryPlatforms types for dispatch #5

Closed

Conversation

mkitti
Copy link

@mkitti mkitti commented Dec 18, 2023

Fix #4

Basically, we want to remove use of the Linux, Windows, and MacOS types from Pkg.BinaryPlatforms.

Instead, we dispatch on Val(Symbol(Base.BinaryPlatforms.os(platform))). This allows us to
keep the current dispatch pattern and be backwards compatible with the use of
Pkg.BinaryPlatforms.{Linux, Windows, MacOS}. However, we no longer rely on those types for dispatch.

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.

Discouraging use of Pkg.BinaryPlatforms
2 participants