-
Notifications
You must be signed in to change notification settings - Fork 3
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 builds #37
Windows builds #37
Conversation
crates/dvdbnd/src/lib.rs
Outdated
@@ -140,6 +143,7 @@ impl DvdBnd { | |||
data_cipher.decrypt_blocks(blocks); | |||
} | |||
|
|||
#[cfg(not(target_family = "windows"))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[cfg(not(target_family = "windows"))] | |
#[cfg(target_family = "unix")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh I don't think that's correct?
Although its probably better to do #[cfg(target_family = "unix")]
as it doesn't seem to be supported at all outside of unix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh I don't think that's correct?
Based on what? https://github.com/RazrFalcon/memmap2-rs/blob/master/src/lib.rs#L47-L48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think I was staring at a cached version of your suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
febdc33 should do the trick
Goal of the PR is to get builds possible for windows