Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

chore: bump nix from 0.23.1 to 0.24.0 #24548

Merged
merged 3 commits into from
Apr 22, 2022
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 21, 2022

Bumps nix from 0.23.1 to 0.24.0.

Changelog

Sourced from nix's changelog.

[0.24.0] - 2022-04-21

Added

  • Added fine-grained features flags. Most Nix functionality can now be conditionally enabled. By default, all features are enabled. (#1611)
  • Added statfs FS type magic constants for target_os = "android" and synced constants with libc v0.2.121. (#1690)
  • Added fexecve on DragonFly. (#1577)
  • sys::uio::IoVec is now Send and Sync (#1582)
  • Added EPOLLEXCLUSIVE on Android. (#1567)
  • Added fdatasync for FreeBSD, Fuchsia, NetBSD, and OpenBSD. (#1581)
  • Added sched_setaffinity and sched_getaffinity on DragonFly. (#1537)
  • Added posix_fallocate on DragonFly. (#1621)
  • Added SO_TIMESTAMPING support (#1547)
  • Added getter methods to MqAttr struct (#1619)
  • Added the TxTime sockopt and control message. (#1564)
  • Added POSIX per-process timer support (#1622)
  • Added sendfile on DragonFly. (#1615)
  • Added UMOUNT_NOFOLLOW, FUSE_SUPER_MAGIC on Linux. (#1634)
  • Added getresuid, setresuid, getresgid, and setresgid on DragonFly, FreeBSD, and OpenBSD. (#1628)
  • Added MAP_FIXED_NOREPLACE on Linux. (#1636)
  • Added fspacectl on FreeBSD (#1640)
  • Added accept4 on DragonFly, Emscripten, Fuchsia, Illumos, and NetBSD. (#1654)
  • Added AsRawFd implementation on OwningIter. (#1563)
  • Added process_vm_readv and process_vm_writev on Android. (#1557)
  • Added nix::uncontext module on s390x. (#1662)
  • Implemented Extend, FromIterator, and IntoIterator for SigSet and added SigSet::iter and SigSetIter. (#1553)

... (truncated)

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies rust Pull requests that update Rust code labels Apr 21, 2022
@CriesofCarrots CriesofCarrots requested a review from pgarg66 April 21, 2022 17:24
@CriesofCarrots
Copy link
Contributor

@pgarg66 , I know you haven't been in this area in a while, but since you added the original nix code, do you mind taking a look? 🙏

@pgarg66
Copy link
Contributor

pgarg66 commented Apr 21, 2022

@pgarg66 , I know you haven't been in this area in a while, but since you added the original nix code, do you mind taking a look? 🙏

I'll take a look soon.

@pgarg66
Copy link
Contributor

pgarg66 commented Apr 21, 2022

Looks like recvmmsg also needs some changes (as caught by CI as well).
These are a few other places where nix is being used.

install/src/stop_process.rs
net-utils/src/lib.rs
perf/src/thread.rs
sys-tuner/src/main.rs

I scanned through nix crate changes between 0.23.1 and 0.24.0. I don't see any changes that should impact the additional files listed above.

@CriesofCarrots
Copy link
Contributor

Looks like recvmmsg also needs some changes (as caught by CI as well).

🤦‍♀️ Sorry about that. It built locally on non-linux, so I didn't think too hard. Will fixup shortly!

@CriesofCarrots CriesofCarrots force-pushed the dependabot/cargo/nix-0.24.0 branch from dde05d8 to 2c0a53e Compare April 21, 2022 23:20
dependabot bot and others added 3 commits April 21, 2022 17:28
Bumps [nix](https://github.com/nix-rust/nix) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/commits)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@CriesofCarrots CriesofCarrots force-pushed the dependabot/cargo/nix-0.24.0 branch from 2c0a53e to c63cece Compare April 21, 2022 23:34
@CriesofCarrots
Copy link
Contributor

I decided that using the new api was more churn than I cared for at this time, particularly as there doesn't look to be an easy way to convert back to std::net with the new structs. 🥾🥫

@CriesofCarrots CriesofCarrots added the automerge Merge this Pull Request automatically once CI passes label Apr 22, 2022
@mergify mergify bot merged commit 8d4e53d into master Apr 22, 2022
@dependabot dependabot bot deleted the dependabot/cargo/nix-0.24.0 branch April 22, 2022 01:41
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Apr 22, 2022
* chore: bump nix from 0.23.1 to 0.24.0

Bumps [nix](https://github.com/nix-rust/nix) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/commits)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [auto-commit] Update all Cargo lock files

* allow deprecated

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 29, 2022
* chore: bump nix from 0.23.1 to 0.24.0

Bumps [nix](https://github.com/nix-rust/nix) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/commits)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [auto-commit] Update all Cargo lock files

* allow deprecated

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 30, 2022
* chore: bump nix from 0.23.1 to 0.24.0

Bumps [nix](https://github.com/nix-rust/nix) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/commits)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [auto-commit] Update all Cargo lock files

* allow deprecated

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes dependencies rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants