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
fix llvm-ar as archiver for msvc targets; fix clang-cl detection; fix assembler output flag detection; add clang/clang-cl windows CI by @russelltg in rust-lang/cc-rs#1015
linux_disable_fallback crate feature to disable /dev/urandom-based fallback on Linux and
Android targets. Enabling this feature bumps minimum supported Linux kernel version to 3.17 and
Android API level to 23 (Marshmallow). #396
Changed
Disable /dev/urandom fallback for Linux targets outside of the following target_arches:
aarch64, arm, powerpc, powerpc64, s390x, x86, x86_64#396
Do not catch EPERM error code on Android while checking availability of
the getrandom syscall #396
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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the cargo-dependencies group with 11 updates:
0.5.10
0.9.3
0.3.6
0.3.7
1.3.0+v1.3.0
1.4.0+v1.4.0
0.3.15
0.4.8
3.5.0
4.0.0
2.5.1
3.0.0
1.0.90
1.0.91
0.2.12
0.2.14
1.0.14
1.0.15
0.20.1
0.21.0
0.20.1
0.21.0
Updates
memmap2
from 0.5.10 to 0.9.3Changelog
Sourced from memmap2's changelog.
... (truncated)
Commits
5a49e8a
Version bump.1079b61
Fix build on Android.c82f49b
Version bump.faafbfd
Fix formatting.428bb9b
Fix tests.55109c6
Disable huge tables support for freebsd, since it doesn't support them.c173463
Version bump.e5faf13
Fix madvise tests to not assume 4k pages.3c71286
Add huge pages support.f16835d
Version bump.Updates
warp
from 0.3.6 to 0.3.7Changelog
Sourced from warp's changelog.
Commits
ce8114b
v0.3.7b7d97a3
ci: single required job (#1098)46e99a0
style: clean up new rustc warnings (#1097)7b07043
update to use handlebars v5 (#1087)724e767
deps: update tokio-tungstenite, tracing-log and async-compression dependency ...c2fb0b1
multipart: fallback to filename as part name (#1045)2c3581e
deps: update to rustls 0.22 (#1081)ea61813
deps: remove unused tokio-stream dependency (#1079)9d1cd3c
Fixcargo minimal-versions check
(#1078)efe8548
feat: ecc private keys support fortls
feature (#1048)Updates
libbpf-sys
from 1.3.0+v1.3.0 to 1.4.0+v1.4.0Commits
1254443
Release 1.4.0+v1.4.06647f2e
Update libbpf to 1.4.0a93191a
Write bindgen generated bindings to OUT_DIR71ca96f
Switch to using elfutils GitHub mirror for submodule9ed58f7
elfutils: use https protocol for submodule0afce4d
Remove ppc64el CI builds8a42b71
Pin CI to ubuntu-22.04b501671
Regenerate bindings75042c6
Update libbpf to 2024-03-06 snapshotUpdates
async-compression
from 0.3.15 to 0.4.8Release notes
Sourced from async-compression's releases.
Changelog
Sourced from async-compression's changelog.
Commits
85d45d9
Release async-compression 0.4.8 (#265)9c61043
Merge pull request #264 from Nullus157/dependabot/cargo/brotli-4.0dea2dc3
chore(deps): update brotli requirement from 3.3 to 4.086c0c3a
chore: prepare release 0.4.7bd46497
Merge pull request #259 from Nullus157/dependabot/github_actions/codecov/code...f08c669
Update coverage.ymlab63376
chore(deps): bump codecov/codecov-action from 3 to 4d913b27
Merge pull request #257 from Nullus157/rel-046ea4bb3c
Merge branch 'main' into rel-0466e3996d
Merge pull request #247 from Nullus157/fix-123Updates
brotli
from 3.5.0 to 4.0.0Commits
c9afcec
Bump to 4.0.0f6886b0
Tiny manual fix3e526c4
Simplify non-wrapping += and *=6fae4d3
Convert while loops into for loopsb42042b
Clean up some nested curly bracesUpdates
brotli-decompressor
from 2.5.1 to 3.0.0Commits
Updates
cc
from 1.0.90 to 1.0.91Release notes
Sourced from cc's releases.
Commits
c9b0850
Release cc 1.0.91 (#1024)d902ed3
fix(env_tool): return None if env is empty (#1021)fd912ec
fix llvm-ar as archiver for msvc targets; fix clang-cl detection; fix assembl...be62f4a
Fix caching of supported compiler flag (#1002)bbae474
Also shim llvm-ar in the clang_android test on non-Windows (#1016)0195ebf
Fix regression in compiler family detection (#1014)30c6b72
refactor: Optimize code based on cargo clippy suggestions (#1013)f36d6a7
Fix compile family detection: Use C macros instead of$compiler -v
(#1000)77a54a9
Fix safety comment for LibraryHandle::get_proc_address (#1010)abf67d7
feat: Query rustc for clang target triples instead of hardcoding them (#1004)Updates
getrandom
from 0.2.12 to 0.2.14Changelog
Sourced from getrandom's changelog.
Commits
a39033a
Enable/dev/urandom
fallback for MUSL-based Linux targets (#408)968dd48
Release v0.2.13 (#405)8ffd43e
Conditionally disable file fallback for Android and Linux (#396)6b7bcb5
Replace man7.org links with manned.org (#404)5f0701f
CI: Run tests on aarch64-apple-darwin and aarch64-apple-ios-sim. (#398)489eeee
Fix nightly build by removing redundantuse
(#399)d102c36
Usedoc_auto_cfg
instead ofdoc_cfg
(#392)2e4bb4d
Correct comments regarding LazyUsize (#391)Updates
rustversion
from 1.0.14 to 1.0.15Release notes
Sourced from rustversion's releases.
Commits
70ca5ad
Release 1.0.150fa74f5
Merge pull request #47 from dtolnay/rustcwrapper51f46e2
Apply RUSTC_WRAPPERdf7e51d
Explicitly install a Rust toolchain for cargo-outdated job5e54059
Test docs.rs documentation build in CI5f73c91
Update actions/checkout@v3 -> v42a58661
Resolve ignored_unit_patterns pedantic clippy lintf4bbc8f
Resolve redundant_guards clippy lintdda672e
Revert "Temporarily disable -Zrandomize-layout due to rustc ICE"f9d72db
Temporarily disable -Zrandomize-layout due to rustc ICEUpdates
tokio-tungstenite
from 0.20.1 to 0.21.0Changelog
Sourced from tokio-tungstenite's changelog.
Commits
52e59dd
Release version 0.21.07b2cf20
Updaterustls
to 0.22 andtokio-rustls
to 0.25ecf7a7e
Updatewebpki-roots
to 0.26Updates
tungstenite
from 0.20.1 to 0.21.0Changelog
Sourced from tungstenite's changelog.
Commits
85463b2
Release version 0.21.0bcd7f85
Updaterustls
to 0.229f0af2a
Test that no additional flushes are called after pong flush success2d5b3e1
Fix auto pong responses not flushing after blocka54623c
Remove proposed version from changelog866ce20
Update webpki-roots to 0.260f6e651
Fix FrameHeader::format write & other lintsfc17f73
Merge pull request #373 from psychon/reduce-byteordera43bb49
Merge pull request #386 from snapview/dependabot/cargo/http-1.008cdd76
Merge pull request #387 from nickelc/deps/socket2Dependabot 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