The Advice struct was split into two enums: Advice and UncheckedAdvice.
Advice can be passed to safe advise and advise_range methods.
And UncheckedAdvice can be passed to unsafe unchecked_advise
and unchecked_advise_range methods.
@adamreichold
[0.8.0] - 2023-09-25
Changed
The Advice type is a struct and not an enum now.
@adamreichold
Fixed
Some of the Advise variants were unsound and now require unsafe to be constructed.
@adamreichold
[0.7.1] - 2023-06-24
Fixed
Mapping beyond 4GB offset on 32 bit glibc. Linux-only.
@lvella
[0.7.0] - 2023-06-08
Added
Mmap::remap, MmapMut::remap and MmapRaw::remap. Linux-only.
@Phantomical
Advice::PopulateRead and Advice::PopulateWrite. Linux-only.
@Jesse-Bakker
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps memmap2 from 0.5.10 to 0.9.0.
Changelog
Sourced from memmap2's changelog.
Commits
f16835d
Version bump.6a6a3ea
Separate safe and unsafe madvice calls.2cf8233
Version bump.c4b497e
Change madvise API to differentiate between safe and unsafe advice options.53d6e4c
A few tiny clippy-inspired nits.4ca2774
Version bump.32fe80f
Use mmap64 instead of plain mmap when possible.04178aa
Version bump.6579655
Add MADV_POPULATE_{READ,WRITE}.b098f9e
Refactor pointer handling withinunix.rs
into helper methods.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show