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

Switch to mmap implementaion from nix package #3

Merged
merged 2 commits into from
Mar 7, 2019
Merged

Conversation

thement
Copy link

@thement thement commented Mar 7, 2019

The mmap crate is unmantained and depends on libc that has broken mmap call on
32-bit ARM. Switch to nix::sys::mman::mmap interface.

This change breaks API compatibility, since we return *mut c_void instead of
mmap::MemoryMap.

Jakub Horak added 2 commits March 7, 2019 16:34
The mmap crate is unmaintained and depends on libc that has broken
mmap call on 32-bit ARM. Switch to nix::sys::mman::mmap interface.

This change breaks API compatibility, since we return `*mut c_void` instead of
`mmap::MemoryMap`.
@thement thement closed this Mar 7, 2019
@thement thement reopened this Mar 7, 2019
@gz gz merged commit 7d5e31a into gz:master Mar 7, 2019
@gz
Copy link
Owner

gz commented Mar 7, 2019

Many thanks for submitting this! Do you want me to release this as a new version on crates.io?

@gz
Copy link
Owner

gz commented Mar 7, 2019

Released as 0.2.0

@thement
Copy link
Author

thement commented Mar 8, 2019

Released as 0.2.0

Hello! Thanks for the merge.
Also thanks for the release - just note that I broke the API and if I understand semver correctly, a major number has to be incremented.

@gz
Copy link
Owner

gz commented Mar 8, 2019

No major release is requires since we are in major version 0. (From Semver: "Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.")

@thement
Copy link
Author

thement commented Mar 8, 2019

I must have missed that. Thanks again.

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