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 builds #37

Closed
wants to merge 4 commits into from
Closed

Windows builds #37

wants to merge 4 commits into from

Conversation

vswarte
Copy link
Member

@vswarte vswarte commented Apr 7, 2024

Goal of the PR is to get builds possible for windows

@vswarte vswarte self-assigned this Apr 7, 2024
@@ -140,6 +143,7 @@ impl DvdBnd {
data_cipher.decrypt_blocks(blocks);
}

#[cfg(not(target_family = "windows"))]
Copy link
Collaborator

@garyttierney garyttierney Apr 7, 2024

Choose a reason for hiding this comment

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

Suggested change
#[cfg(not(target_family = "windows"))]
#[cfg(target_family = "unix")]

Copy link
Member Author

@vswarte vswarte Apr 7, 2024

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

Copy link
Collaborator

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

Copy link
Member Author

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

Copy link
Member Author

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

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