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

Added platform trait and specific platforms implementations plust Hos… #383

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

ozghimire
Copy link
Contributor

@ozghimire ozghimire commented Mar 20, 2022

Provides common api with platform traits for host platform. This resolves #36 .

@hannobraun let's review this and I will merge once this is ironed out.

@ozghimire ozghimire requested a review from hannobraun as a code owner March 20, 2022 15:40
Copy link
Owner

@hannobraun hannobraun 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, @ozghimire! This looks great, about what I imagined.

I'm going to merge this as-is, as it provides a clear place for adding future platform-specific infrastructure, which I think is a clear improvement.

In addition, I've left some comments with ideas for improvements. Feel free to address those in a follow-up pull request, if you want!

fj-host/src/platform.rs Show resolved Hide resolved
fj-host/src/platform.rs Show resolved Hide resolved
@hannobraun hannobraun merged commit 3f65f50 into hannobraun:main Mar 21, 2022
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.

Hide platform-specific code behind a single API
2 participants