AioCb is now always pinned. Once a libc::aiocb gets sent to the kernel,
its address in memory must not change. Nix now enforces that by using
std::pin. Most users won't need to change anything, except when using
aio_suspend. See that method's documentation for the new usage.
(#1440)
LioCb is now constructed using a distinct LioCbBuilder struct. This
avoids a soundness issue with the old LioCb. Usage is similar but
construction now uses the builder pattern. See the documentation for
details.
(#1440)
Minimum supported Rust version is now 1.41.0.
(#1440)
Fixed
Allow sockaddr_ll size, as reported by the Linux kernel, to be smaller then it's definition
(#1395)
Fix spurious errors using sendmmsg with multiple cmsgs
(#1414)
Removed
Removed sys::socket::accept4 from Android arm because libc removed it in
version 0.2.87.
(#1399)
AioCb::from_boxed_slice and AioCb::from_boxed_mut_slice have been
removed. They were useful with earlier versions of Rust, but should no
longer be needed now that async/await are available. AioCbs now work
exclusively with borrowed buffers, not owned ones.
(#1440)
Commits
db2af19 Merge pull request #1444 from asomers/r0.21.0
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 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 nix from 0.20.0 to 0.21.0.
Changelog
Sourced from nix's changelog.
Commits
db2af19
Merge pull request #1444 from asomers/r0.21.0ec1a124
Release v0.21.0478db7d
Merge #1430b481a0e
Add getresuid() and getresgid() to unistd77e4402
Merge #14437b7d954
misc Clippy cleanupa55dd45
Merge #143750e6b22
Add MS_LAZYTIME flag892daf1
Merge #14405ac876e
Adapt aio to the world of async/await, and fix some potential unsoundness.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 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)