Repository navigation
⬆️ Upgrade Rust crate nix to 0.30.0 - #3
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/nix-0.x
branch
2 times, most recently
from
October 9, 2025 22:56
9b0a541 to
3939734
Compare
renovate
Bot
force-pushed
the
renovate/nix-0.x
branch
from
October 10, 2025 20:24
3939734 to
2ad8a59
Compare
renovate
Bot
force-pushed
the
renovate/nix-0.x
branch
from
October 10, 2025 21:31
2ad8a59 to
4618287
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.29.0->0.30.0Release Notes
nix-rust/nix (nix)
v0.30.1Compare Source
Fixed
(#2634)
v0.30.0Compare Source
Added
IPV6_PKTINFOfor BSDs/Linux/Android, alsoIPV6_RECVPKTINFOfor DragonFlyBSD(#2113)
fcntl'sF_PREALLOCATEconstant for Apple targets.(#2393)
and support for DSCP (ToS / Traffic Class).
(#2425)
(nix::sys::socket::sockopt::Ipv6TClass) on Android/FreeBSD
(#2464)
SeekDataandSeekHoletoWhencefor hurd and apple targets(#2473)
Fromtrait implementation betweenSocketAddrandSockaddr,Sockaddr6(#2474)posix_spawnAPI(#2475)
(#2477)
F_RDADVISEfor Apple target(#2480)
F_RDAHEADfor Apple target(#2482)
F_LOG2PHYSandF_LOG2PHYS_EXTfor Apple target(#2483)
MAP_SHARED_VALIDATEwas added for all linux targets. &MAP_SYNCwas addedfor linux with the exclusion of mips architecures, and uclibc
(#2499)
getregs()/getregset()/setregset()for Linux/musl/aarch64(#2502)
F_TRANSFEREXTENTSconstant for Apple targets(#2504)
MapFlags::MAP_STACKinsys::manfor netbsd(#2526)
libc::LOCAL_PEERTOKENingetsockopt.(#2529)
syslog,openlog,closelogon allunix.(#2537)
TCP_FUNCTION_BLKsockopt, on FreeBSD.(#2539)
Into<OwnedFd>forPtyMaster/Fanotify/Inotify/SignalFd/TimerFd(#2548)
MremapFlags::MREMAP_DONTUNMAPtosys::mman::mremapfor linux target.(#2555)
sockopt_impl!to the public API. It's now possible for users todefine
their own sockopts without needing to make a PR to Nix.
(#2556)
TCP_FUNCTION_ALIASsockopt, on FreeBSD.(#2558)
sys::mman::MmapAdviseMADV_PAGEOUT,MADV_COLD,MADV_WIPEONFORK,MADV_KEEPONFORKfor Linux and Android targets(#2559)
Sctp, as well asMSG_NOTIFICATIONfor non-AndroidLinux targets. (#2562)
from_owned_fdconstructor toEventFd(#2563)
sys::mman::MmapAdviseMADV_POPULATE_READ,MADV_POPULATE_WRITEforLinux and Android targets
(#2565)
from_owned_fdconstructor toPtyMaster/Fanotify/Inotify/SignalFd/TimerFd(#2566)
FcntlArg::F_READAHEADfor FreeBSD target(#2569)
sockopt::LingerSecfor Apple targets(#2572)
sockopt::EsclBindfor solarish targets(#2573)
std::os::fd::AsRawFdtrait method fornix::sys::fanotify::Fanotifystruct(#2575)
setlogmaskon allunix.(#2579)
ioctl.(#2580)
sys::socket::SockProtocol::EthIp,sys::socket::SockProtocol::EthIpv6,sys::socket::SockProtocol::EthLoop(#2581)
(#2599)
setsockoptoption for apple targets(#2603)
FilAttachandFilDetachto socket::sockopt for Illumos(#2611)
PeerPidfd(SO_PEERPIDFD) tosocket::sockoptfor Linux(#2620)
socket::sockopt::AttachReusePortCbpffor Linux(#2621)
ptrace::syscall_infofor linux/glibc(#2627)
Changed
(#1936)
nameargument ofmemfd_create()from&CStrto<P: NixPath>(name: &P)(#2431)fcntl.rsanddir.rsnow use I/O-safe types.(#2434)
sys/statnow adopts I/O safety.(#2439)
(#2440)
(#2443)
IpToshas been renamed toIpv4Tos, the old symbol isdeprecated since 0.30.0 (#2465)
EventFlagtoEvFlags, andMemFdCreateFlagtoMFdFlags(#2476)
nix::sys::socket::UnknownCmsgpublic and more readable(#2520)
(#2524)
(#2582)
Fixed
(#2454)
(#2456)
nsargument ofsys::prctl::set_timerslack()should be of typec_ulong(#2505)OSStrings returned bygetsockopt.(#2557)
(#2587)
Removed
SigevNotifyis no longerPartialEq,EqandHashdue to the useof
BorrowedFd(#1936)EventFd::defuse()is removed because it does nothing,EventFd::arm()isalso removed for symmetry reasons.
(#2452)
Copytrait fromPollFd(#2631)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.