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

Windows fixes #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TannerRogalsky
Copy link

Thanks for making this! I've got it working on Windows with a few small modifications.

Also, while I can view the hash of the IntelSEAPI fork that this uses, I couldn't check it out. I'm not sure why, exactly. I tried both git submodule init and git checkout <hash> and neither were able to see that hash in the tree. I ended up downloading it as a zip and extracting it into the correct place.

I choose to do this rather than making both return a result type because
it allows both implementation to use From instead of making one use
TryFrom.
Copy link
Contributor

@raphaelcohn raphaelcohn left a comment

Choose a reason for hiding this comment

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

Why have you changes the null checks to asserts? There's no g'tee AFAIK that the underlying library never returns null.

@TannerRogalsky
Copy link
Author

@raphaelcohn I made a note in the commit about mirroring the Unix API. I choose to do this rather than making both return a result type because it allows both implementation to use From instead of making one use TryFrom. Is it guaranteed on Unix that they don't return null? I wouldn't have expected that. I'm happy to change it back and make the opposite change on the Unix impl.

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.

2 participants