xref: /rust-libc-0.2.174/CHANGELOG.md (revision ce31fdaf)
14789ece9Sgithub-actions[bot]# Changelog
24789ece9Sgithub-actions[bot]
3*ce31fdafSTrevor Gross## [0.2.174](https://github.com/rust-lang/libc/compare/0.2.173...0.2.174) - 2025-06-17
4*ce31fdafSTrevor Gross
5*ce31fdafSTrevor Gross### Added
6*ce31fdafSTrevor Gross
7*ce31fdafSTrevor Gross- Linux: Make `pidfd_info` fields pub ([#4487](https://github.com/rust-lang/libc/pull/4487))
8*ce31fdafSTrevor Gross
9*ce31fdafSTrevor Gross### Fixed
10*ce31fdafSTrevor Gross
11*ce31fdafSTrevor Gross- Gnu x32: Add missing `timespec.tv_nsec` ([#4497](https://github.com/rust-lang/libc/pull/4497))
12*ce31fdafSTrevor Gross- NuttX: Use `nlink_t` type for `st_nlink` in `struct stat` definition ([#4483](https://github.com/rust-lang/libc/pull/4483))
13*ce31fdafSTrevor Gross
14*ce31fdafSTrevor Gross### Other
15*ce31fdafSTrevor Gross
16*ce31fdafSTrevor Gross- Allow new `unpredictable_function_pointer_comparisons` lints ([#4489](https://github.com/rust-lang/libc/pull/4489))
17*ce31fdafSTrevor Gross- OpenBSD: Fix some clippy warnings to use `pointer::cast`. ([#4490](https://github.com/rust-lang/libc/pull/4490))
18*ce31fdafSTrevor Gross- Remove unessecary semicolons from definitions of `CMSG_NXTHDR`. ([#4492](https://github.com/rust-lang/libc/pull/4492))
19*ce31fdafSTrevor Gross
202d0dfd33STrevor Gross
212d0dfd33STrevor Gross## [0.2.173](https://github.com/rust-lang/libc/compare/0.2.172...0.2.173) - 2025-06-09
222d0dfd33STrevor Gross
232d0dfd33STrevor Gross### Added
242d0dfd33STrevor Gross
252d0dfd33STrevor Gross- AIX: Add an AIX triple to Cargo.toml for doc ([#4475](https://github.com/rust-lang/libc/pull/4475))
262d0dfd33STrevor Gross- FreeBSD: Add the `SO_SPLICE` socket option support for FreeBSD >= 14.2 ([#4451](https://github.com/rust-lang/libc/pull/4451))
272d0dfd33STrevor Gross- Linux GNU: Prepare for supporting `_TIME_BITS=64` ([#4433](https://github.com/rust-lang/libc/pull/4433))
282d0dfd33STrevor Gross- Linux: Add constant PACKET_IGNORE_OUTGOING ([#4319](https://github.com/rust-lang/libc/pull/4319))
292d0dfd33STrevor Gross- Linux: Add constants and types for `nsfs` ioctls ([#4436](https://github.com/rust-lang/libc/pull/4436))
302d0dfd33STrevor Gross- Linux: Add constants for Memory-Deny-Write-Execute `prctls` ([#4400](https://github.com/rust-lang/libc/pull/4400))
312d0dfd33STrevor Gross- Linux: Add constants from `linux/cn_proc.h` and `linux/connector.h` ([#4434](https://github.com/rust-lang/libc/pull/4434))
322d0dfd33STrevor Gross- Linux: Add new flags for `pwritev2` and `preadv2` ([#4452](https://github.com/rust-lang/libc/pull/4452))
332d0dfd33STrevor Gross- Linux: Add pid_type enum values ([#4403](https://github.com/rust-lang/libc/pull/4403))
342d0dfd33STrevor Gross- Linux: Update pidfd constants and types (Linux 6.9-6.15) ([#4402](https://github.com/rust-lang/libc/pull/4402))
352d0dfd33STrevor Gross- Loongarch64 musl: Define the `MADV_SOFT_OFFLINE` constant ([#4448](https://github.com/rust-lang/libc/pull/4448))
362d0dfd33STrevor Gross- Musl: Add new fields since 1.2.0/1.2.2 to `struct tcp_info` ([#4443](https://github.com/rust-lang/libc/pull/4443))
372d0dfd33STrevor Gross- Musl: Prepare for supporting v1.2.3 ([#4443](https://github.com/rust-lang/libc/pull/4443))
382d0dfd33STrevor Gross- NuttX: Add `arc4random` and `arc4random_buf` ([#4464](https://github.com/rust-lang/libc/pull/4464))
392d0dfd33STrevor Gross- RISC-V Musl: Add `MADV_SOFT_OFFLINE` definition ([#4447](https://github.com/rust-lang/libc/pull/4447))
402d0dfd33STrevor Gross- Redox: Define SCM_RIGHTS ([#4440](https://github.com/rust-lang/libc/pull/4440))
412d0dfd33STrevor Gross- VxWorks: Add missing UTIME defines and TASK_RENAME_LENGTH ([#4407](https://github.com/rust-lang/libc/pull/4407))
422d0dfd33STrevor Gross- Windows: Add more `time.h` functions ([#4427](https://github.com/rust-lang/libc/pull/4427))
432d0dfd33STrevor Gross
442d0dfd33STrevor Gross### Changed
452d0dfd33STrevor Gross
462d0dfd33STrevor Gross- Redox: Update `SA_` constants. ([#4426](https://github.com/rust-lang/libc/pull/4426))
472d0dfd33STrevor Gross- Redox: make `CMSG_ALIGN`, `CMSG_LEN`, and `CMSG_SPACE` const functions ([#4441](https://github.com/rust-lang/libc/pull/4441))
482d0dfd33STrevor Gross
492d0dfd33STrevor Gross### Fixed
502d0dfd33STrevor Gross
512d0dfd33STrevor Gross- AIX: Enable libc-test and fix definitions/declarations. ([#4450](https://github.com/rust-lang/libc/pull/4450))
522d0dfd33STrevor Gross- Emscripten: Fix querying emcc on windows (use emcc.bat) ([#4248](https://github.com/rust-lang/libc/pull/4248))
532d0dfd33STrevor Gross- Hurd: Fix build from missing `fpos_t` ([#4472](https://github.com/rust-lang/libc/pull/4472))
542d0dfd33STrevor Gross- Loongarch64 Musl: Fix the `struct ipc_perm` bindings ([#4384](https://github.com/rust-lang/libc/pull/4384))
552d0dfd33STrevor Gross- Musl: Fix the `O_LARGEFILE` constant value. ([#4443](https://github.com/rust-lang/libc/pull/4443))
562d0dfd33STrevor Gross
57481eca7cSTrevor Gross## [0.2.172](https://github.com/rust-lang/libc/compare/0.2.171...0.2.172) - 2025-04-14
58481eca7cSTrevor Gross
59481eca7cSTrevor Gross### Added
60481eca7cSTrevor Gross
61481eca7cSTrevor Gross- Android: Add `getauxval` for 32-bit targets ([#4338](https://github.com/rust-lang/libc/pull/4338))
62481eca7cSTrevor Gross- Android: Add `if_tun.h` ioctls ([#4379](https://github.com/rust-lang/libc/pull/4379))
63481eca7cSTrevor Gross- Android: Define `SO_BINDTOIFINDEX` ([#4391](https://github.com/rust-lang/libc/pull/4391))
64481eca7cSTrevor Gross- Cygwin: Add `posix_spawn_file_actions_add[f]chdir[_np]` ([#4387](https://github.com/rust-lang/libc/pull/4387))
65481eca7cSTrevor Gross- Cygwin: Add new socket options ([#4350](https://github.com/rust-lang/libc/pull/4350))
66481eca7cSTrevor Gross- Cygwin: Add statfs & fcntl ([#4321](https://github.com/rust-lang/libc/pull/4321))
67481eca7cSTrevor Gross- FreeBSD: Add `filedesc` and `fdescenttbl` ([#4327](https://github.com/rust-lang/libc/pull/4327))
68481eca7cSTrevor Gross- Glibc: Add unstable support for _FILE_OFFSET_BITS=64 ([#4345](https://github.com/rust-lang/libc/pull/4345))
69481eca7cSTrevor Gross- Hermit: Add `AF_UNSPEC` ([#4344](https://github.com/rust-lang/libc/pull/4344))
70481eca7cSTrevor Gross- Hermit: Add `AF_VSOCK` ([#4344](https://github.com/rust-lang/libc/pull/4344))
71481eca7cSTrevor Gross- Illumos, NetBSD: Add `timerfd` APIs ([#4333](https://github.com/rust-lang/libc/pull/4333))
72481eca7cSTrevor Gross- Linux: Add `_IO`, `_IOW`, `_IOR`, `_IOWR` to the exported API ([#4325](https://github.com/rust-lang/libc/pull/4325))
73481eca7cSTrevor Gross- Linux: Add `tcp_info` to uClibc bindings ([#4347](https://github.com/rust-lang/libc/pull/4347))
74481eca7cSTrevor Gross- Linux: Add further BPF program flags ([#4356](https://github.com/rust-lang/libc/pull/4356))
75481eca7cSTrevor Gross- Linux: Add missing INPUT_PROP_XXX flags from `input-event-codes.h` ([#4326](https://github.com/rust-lang/libc/pull/4326))
76481eca7cSTrevor Gross- Linux: Add missing TLS bindings ([#4296](https://github.com/rust-lang/libc/pull/4296))
77481eca7cSTrevor Gross- Linux: Add more constants from `seccomp.h` ([#4330](https://github.com/rust-lang/libc/pull/4330))
78481eca7cSTrevor Gross- Linux: Add more glibc `ptrace_sud_config` and related `PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG`. ([#4386](https://github.com/rust-lang/libc/pull/4386))
79481eca7cSTrevor Gross- Linux: Add new netlink flags ([#4288](https://github.com/rust-lang/libc/pull/4288))
80481eca7cSTrevor Gross- Linux: Define ioctl codes on more architectures ([#4382](https://github.com/rust-lang/libc/pull/4382))
81481eca7cSTrevor Gross- Linux: Add missing `pthread_attr_setstack` ([#4349](https://github.com/rust-lang/libc/pull/4349))
82481eca7cSTrevor Gross- Musl: Add missing `utmpx` API ([#4332](https://github.com/rust-lang/libc/pull/4332))
83481eca7cSTrevor Gross- Musl: Enable `getrandom` on all platforms ([#4346](https://github.com/rust-lang/libc/pull/4346))
84481eca7cSTrevor Gross- NuttX: Add more signal constants ([#4353](https://github.com/rust-lang/libc/pull/4353))
85481eca7cSTrevor Gross- QNX: Add QNX 7.1-iosock and 8.0 to list of additional cfgs ([#4169](https://github.com/rust-lang/libc/pull/4169))
86481eca7cSTrevor Gross- QNX: Add support for alternative Neutrino network stack `io-sock` ([#4169](https://github.com/rust-lang/libc/pull/4169))
87481eca7cSTrevor Gross- Redox: Add more `sys/socket.h` and `sys/uio.h` definitions ([#4388](https://github.com/rust-lang/libc/pull/4388))
88481eca7cSTrevor Gross- Solaris: Temporarily define `O_DIRECT` and `SIGINFO` ([#4348](https://github.com/rust-lang/libc/pull/4348))
89481eca7cSTrevor Gross- Solarish: Add `secure_getenv` ([#4342](https://github.com/rust-lang/libc/pull/4342))
90481eca7cSTrevor Gross- VxWorks: Add missing `d_type` member to `dirent` ([#4352](https://github.com/rust-lang/libc/pull/4352))
91481eca7cSTrevor Gross- VxWorks: Add missing signal-related constsants ([#4352](https://github.com/rust-lang/libc/pull/4352))
92481eca7cSTrevor Gross- VxWorks: Add more error codes ([#4337](https://github.com/rust-lang/libc/pull/4337))
93481eca7cSTrevor Gross
94481eca7cSTrevor Gross### Deprecated
95481eca7cSTrevor Gross
96481eca7cSTrevor Gross- FreeBSD: Deprecate `TCP_PCAP_OUT` and `TCP_PCAP_IN` ([#4381](https://github.com/rust-lang/libc/pull/4381))
97481eca7cSTrevor Gross
98481eca7cSTrevor Gross### Fixed
99481eca7cSTrevor Gross
100481eca7cSTrevor Gross- Cygwin: Fix member types of `statfs` ([#4324](https://github.com/rust-lang/libc/pull/4324))
101481eca7cSTrevor Gross- Cygwin: Fix tests  ([#4357](https://github.com/rust-lang/libc/pull/4357))
102481eca7cSTrevor Gross- Hermit: Make `AF_INET = 3` ([#4344](https://github.com/rust-lang/libc/pull/4344))
103481eca7cSTrevor Gross- Musl: Fix the syscall table on RISC-V-32 ([#4335](https://github.com/rust-lang/libc/pull/4335))
104481eca7cSTrevor Gross- Musl: Fix the value of `SA_ONSTACK` on RISC-V-32 ([#4335](https://github.com/rust-lang/libc/pull/4335))
105481eca7cSTrevor Gross- VxWorks: Fix a typo in the `waitpid` parameter name ([#4334](https://github.com/rust-lang/libc/pull/4334))
106481eca7cSTrevor Gross
107481eca7cSTrevor Gross### Removed
108481eca7cSTrevor Gross
109481eca7cSTrevor Gross- Musl: Remove `O_FSYNC` on RISC-V-32 (use `O_SYNC` instead) ([#4335](https://github.com/rust-lang/libc/pull/4335))
110481eca7cSTrevor Gross- Musl: Remove `RTLD_DEEPBIND` on RISC-V-32 ([#4335](https://github.com/rust-lang/libc/pull/4335))
111481eca7cSTrevor Gross
112481eca7cSTrevor Gross### Other
113481eca7cSTrevor Gross
114481eca7cSTrevor Gross- CI: Add matrix env variables to the environment ([#4345](https://github.com/rust-lang/libc/pull/4345))
115481eca7cSTrevor Gross- CI: Always deny warnings ([#4363](https://github.com/rust-lang/libc/pull/4363))
116481eca7cSTrevor Gross- CI: Always upload successfully created artifacts ([#4345](https://github.com/rust-lang/libc/pull/4345))
117481eca7cSTrevor Gross- CI: Install musl from source for loongarch64 ([#4320](https://github.com/rust-lang/libc/pull/4320))
118481eca7cSTrevor Gross- CI: Revert "Also skip `MFD_EXEC` and `MFD_NOEXEC_SEAL` on sparc64" ([#]())
119481eca7cSTrevor Gross- CI: Use `$PWD` instead of `$(pwd)` in run-docker ([#4345](https://github.com/rust-lang/libc/pull/4345))
120481eca7cSTrevor Gross- Solarish: Restrict `openpty` and `forkpty` polyfills to Illumos, replace Solaris implementation with bindings ([#4329](https://github.com/rust-lang/libc/pull/4329))
121481eca7cSTrevor Gross- Testing: Ensure the makedev test does not emit unused errors ([#4363](https://github.com/rust-lang/libc/pull/4363))
12278b0f8a7Sgithub-actions[bot]
12378b0f8a7Sgithub-actions[bot]## [0.2.171](https://github.com/rust-lang/libc/compare/0.2.170...0.2.171) - 2025-03-11
12478b0f8a7Sgithub-actions[bot]
12578b0f8a7Sgithub-actions[bot]### Added
12678b0f8a7Sgithub-actions[bot]
12778b0f8a7Sgithub-actions[bot]- Android: Add `if_nameindex`/`if_freenameindex` support ([#4247](https://github.com/rust-lang/libc/pull/4247))
12878b0f8a7Sgithub-actions[bot]- Apple: Add missing proc types and constants ([#4310](https://github.com/rust-lang/libc/pull/4310))
12978b0f8a7Sgithub-actions[bot]- BSD: Add `devname` ([#4285](https://github.com/rust-lang/libc/pull/4285))
13078b0f8a7Sgithub-actions[bot]- Cygwin: Add PTY and group API ([#4309](https://github.com/rust-lang/libc/pull/4309))
13178b0f8a7Sgithub-actions[bot]- Cygwin: Add support ([#4279](https://github.com/rust-lang/libc/pull/4279))
13278b0f8a7Sgithub-actions[bot]- FreeBSD: Make `spawn.h` interfaces available on all FreeBSD-like systems ([#4294](https://github.com/rust-lang/libc/pull/4294))
13378b0f8a7Sgithub-actions[bot]- Linux: Add `AF_XDP` structs for all Linux environments ([#4163](https://github.com/rust-lang/libc/pull/4163))
13478b0f8a7Sgithub-actions[bot]- Linux: Add SysV semaphore constants ([#4286](https://github.com/rust-lang/libc/pull/4286))
13578b0f8a7Sgithub-actions[bot]- Linux: Add `F_SEAL_EXEC` ([#4316](https://github.com/rust-lang/libc/pull/4316))
13678b0f8a7Sgithub-actions[bot]- Linux: Add `SO_PREFER_BUSY_POLL` and `SO_BUSY_POLL_BUDGET` ([#3917](https://github.com/rust-lang/libc/pull/3917))
13778b0f8a7Sgithub-actions[bot]- Linux: Add `devmem` structs ([#4299](https://github.com/rust-lang/libc/pull/4299))
13878b0f8a7Sgithub-actions[bot]- Linux: Add socket constants up to `SO_DEVMEM_DONTNEED` ([#4299](https://github.com/rust-lang/libc/pull/4299))
13978b0f8a7Sgithub-actions[bot]- NetBSD, OpenBSD, DragonflyBSD: Add `closefrom` ([#4290](https://github.com/rust-lang/libc/pull/4290))
14078b0f8a7Sgithub-actions[bot]- NuttX: Add `pw_passwd` field to `passwd` ([#4222](https://github.com/rust-lang/libc/pull/4222))
14178b0f8a7Sgithub-actions[bot]- Solarish: define `IP_BOUND_IF` and `IPV6_BOUND_IF` ([#4287](https://github.com/rust-lang/libc/pull/4287))
14278b0f8a7Sgithub-actions[bot]- Wali: Add bindings for `wasm32-wali-linux-musl` target ([#4244](https://github.com/rust-lang/libc/pull/4244))
14378b0f8a7Sgithub-actions[bot]
14478b0f8a7Sgithub-actions[bot]### Changed
14578b0f8a7Sgithub-actions[bot]
14678b0f8a7Sgithub-actions[bot]- AIX: Use `sa_sigaction` instead of a union ([#4250](https://github.com/rust-lang/libc/pull/4250))
14778b0f8a7Sgithub-actions[bot]- Make `msqid_ds.__msg_cbytes` public ([#4301](https://github.com/rust-lang/libc/pull/4301))
14878b0f8a7Sgithub-actions[bot]- Unix: Make all `major`, `minor`, `makedev` into `const fn` ([#4208](https://github.com/rust-lang/libc/pull/4208))
14978b0f8a7Sgithub-actions[bot]
15078b0f8a7Sgithub-actions[bot]### Deprecated
15178b0f8a7Sgithub-actions[bot]
15278b0f8a7Sgithub-actions[bot]- Linux: Deprecate obsolete packet filter interfaces ([#4267](https://github.com/rust-lang/libc/pull/4267))
15378b0f8a7Sgithub-actions[bot]
15478b0f8a7Sgithub-actions[bot]### Fixed
15578b0f8a7Sgithub-actions[bot]
15678b0f8a7Sgithub-actions[bot]- Cygwin: Fix strerror_r ([#4308](https://github.com/rust-lang/libc/pull/4308))
15778b0f8a7Sgithub-actions[bot]- Cygwin: Fix usage of f! ([#4308](https://github.com/rust-lang/libc/pull/4308))
15878b0f8a7Sgithub-actions[bot]- Hermit: Make `stat::st_size` signed ([#4298](https://github.com/rust-lang/libc/pull/4298))
15978b0f8a7Sgithub-actions[bot]- Linux: Correct values for `SI_TIMER`, `SI_MESGQ`, `SI_ASYNCIO` ([#4292](https://github.com/rust-lang/libc/pull/4292))
16078b0f8a7Sgithub-actions[bot]- NuttX: Update `tm_zone` and `d_name` fields to use `c_char` type ([#4222](https://github.com/rust-lang/libc/pull/4222))
16178b0f8a7Sgithub-actions[bot]- Xous: Include the prelude to define `c_int` ([#4304](https://github.com/rust-lang/libc/pull/4304))
16278b0f8a7Sgithub-actions[bot]
16378b0f8a7Sgithub-actions[bot]### Other
16478b0f8a7Sgithub-actions[bot]
16578b0f8a7Sgithub-actions[bot]- Add labels to FIXMEs ([#4231](https://github.com/rust-lang/libc/pull/4231), [#4232](https://github.com/rust-lang/libc/pull/4232), [#4234](https://github.com/rust-lang/libc/pull/4234), [#4235](https://github.com/rust-lang/libc/pull/4235), [#4236](https://github.com/rust-lang/libc/pull/4236))
16678b0f8a7Sgithub-actions[bot]- CI: Fix "cannot find libc" error on Sparc64 ([#4317](https://github.com/rust-lang/libc/pull/4317))
16778b0f8a7Sgithub-actions[bot]- CI: Fix "cannot find libc" error on s390x ([#4317](https://github.com/rust-lang/libc/pull/4317))
16878b0f8a7Sgithub-actions[bot]- CI: Pass `--no-self-update` to `rustup update` ([#4306](https://github.com/rust-lang/libc/pull/4306))
16978b0f8a7Sgithub-actions[bot]- CI: Remove tests for the `i586-pc-windows-msvc` target ([#4311](https://github.com/rust-lang/libc/pull/4311))
17078b0f8a7Sgithub-actions[bot]- CI: Remove the `check_cfg` job ([#4322](https://github.com/rust-lang/libc/pull/4312))
17178b0f8a7Sgithub-actions[bot]- Change the range syntax that is giving `ctest` problems ([#4311](https://github.com/rust-lang/libc/pull/4311))
17278b0f8a7Sgithub-actions[bot]- Linux: Split out the stat struct for gnu/b32/mips ([#4276](https://github.com/rust-lang/libc/pull/4276))
17378b0f8a7Sgithub-actions[bot]
17478b0f8a7Sgithub-actions[bot]### Removed
17578b0f8a7Sgithub-actions[bot]
17678b0f8a7Sgithub-actions[bot]- NuttX: Remove `pthread_set_name_np` ([#4251](https://github.com/rust-lang/libc/pull/4251))
17778b0f8a7Sgithub-actions[bot]
17861d26989Sgithub-actions[bot]## [0.2.170](https://github.com/rust-lang/libc/compare/0.2.169...0.2.170) - 2025-02-23
17961d26989Sgithub-actions[bot]
18061d26989Sgithub-actions[bot]### Added
18161d26989Sgithub-actions[bot]
18261d26989Sgithub-actions[bot]- Android: Declare `setdomainname` and `getdomainname` <https://github.com/rust-lang/libc/pull/4212>
18361d26989Sgithub-actions[bot]- FreeBSD: Add `evdev` structures <https://github.com/rust-lang/libc/pull/3756>
18461d26989Sgithub-actions[bot]- FreeBSD: Add the new `st_filerev` field to `stat32` ([#4254](https://github.com/rust-lang/libc/pull/4254))
18561d26989Sgithub-actions[bot]- Linux: Add `SI_*`` and `TRAP_*`` signal codes <https://github.com/rust-lang/libc/pull/4225>
18661d26989Sgithub-actions[bot]- Linux: Add experimental configuration to enable 64-bit time in kernel APIs, set by `RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64`. <https://github.com/rust-lang/libc/pull/4148>
18761d26989Sgithub-actions[bot]- Linux: Add recent socket timestamping flags <https://github.com/rust-lang/libc/pull/4273>
18861d26989Sgithub-actions[bot]- Linux: Added new CANFD_FDF flag for the flags field of canfd_frame <https://github.com/rust-lang/libc/pull/4223>
18961d26989Sgithub-actions[bot]- Musl: add CLONE_NEWTIME <https://github.com/rust-lang/libc/pull/4226>
19061d26989Sgithub-actions[bot]- Solarish: add the posix_spawn family of functions <https://github.com/rust-lang/libc/pull/4259>
19161d26989Sgithub-actions[bot]
19261d26989Sgithub-actions[bot]### Deprecated
19361d26989Sgithub-actions[bot]
19461d26989Sgithub-actions[bot]- Linux: deprecate kernel modules syscalls <https://github.com/rust-lang/libc/pull/4228>
19561d26989Sgithub-actions[bot]
19661d26989Sgithub-actions[bot]### Changed
19761d26989Sgithub-actions[bot]
19861d26989Sgithub-actions[bot]- Emscripten: Assume version is at least 3.1.42 <https://github.com/rust-lang/libc/pull/4243>
19961d26989Sgithub-actions[bot]
20061d26989Sgithub-actions[bot]### Fixed
20161d26989Sgithub-actions[bot]
20261d26989Sgithub-actions[bot]- BSD: Correct the definition of `WEXITSTATUS` <https://github.com/rust-lang/libc/pull/4213>
20361d26989Sgithub-actions[bot]- Hurd: Fix CMSG_DATA on 64bit systems ([#4240](https://github.com/rust-lang/libc/pull/424))
20461d26989Sgithub-actions[bot]- NetBSD: fix `getmntinfo` ([#4265](https://github.com/rust-lang/libc/pull/4265)
20561d26989Sgithub-actions[bot]- VxWorks: Fix the size of `time_t` <https://github.com/rust-lang/libc/pull/426>
20661d26989Sgithub-actions[bot]
20761d26989Sgithub-actions[bot]### Other
20861d26989Sgithub-actions[bot]
20961d26989Sgithub-actions[bot]- Add labels to FIXMEs <https://github.com/rust-lang/libc/pull/4230>, <https://github.com/rust-lang/libc/pull/4229>, <https://github.com/rust-lang/libc/pull/4237>
21061d26989Sgithub-actions[bot]- CI: Bump FreeBSD CI to 13.4 and 14.2 <https://github.com/rust-lang/libc/pull/4260>
21161d26989Sgithub-actions[bot]- Copy definitions from core::ffi and centralize them <https://github.com/rust-lang/libc/pull/4256>
21261d26989Sgithub-actions[bot]- Define c_char at top-level and remove per-target c_char definitions <https://github.com/rust-lang/libc/pull/4202>
21361d26989Sgithub-actions[bot]- Port style.rs to syn and add tests for the style checker <https://github.com/rust-lang/libc/pull/4220>
21461d26989Sgithub-actions[bot]
215bb5944c6Sgithub-actions[bot]## [0.2.169](https://github.com/rust-lang/libc/compare/0.2.168...0.2.169) - 2024-12-18
216bb5944c6Sgithub-actions[bot]
217bb5944c6Sgithub-actions[bot]### Added
218bb5944c6Sgithub-actions[bot]
219bb5944c6Sgithub-actions[bot]- FreeBSD: add more socket TCP stack constants <https://github.com/rust-lang/libc/pull/4193>
220bb5944c6Sgithub-actions[bot]- Fuchsia: add a `sockaddr_vm` definition <https://github.com/rust-lang/libc/pull/4194>
221bb5944c6Sgithub-actions[bot]
222bb5944c6Sgithub-actions[bot]### Fixed
223bb5944c6Sgithub-actions[bot]
224bb5944c6Sgithub-actions[bot]**Breaking**: [rust-lang/rust#132975](https://github.com/rust-lang/rust/pull/132975) corrected the signedness of `core::ffi::c_char` on various Tier 2 and Tier 3 platforms (mostly Arm and RISC-V) to match Clang. This release contains the corresponding changes to `libc`, including the following specific pull requests:
225bb5944c6Sgithub-actions[bot]
226bb5944c6Sgithub-actions[bot]- ESP-IDF: Replace arch-conditional `c_char` with a reexport <https://github.com/rust-lang/libc/pull/4195>
227bb5944c6Sgithub-actions[bot]- Fix `c_char` on various targets <https://github.com/rust-lang/libc/pull/4199>
228bb5944c6Sgithub-actions[bot]- Mirror `c_char` configuration from `rust-lang/rust` <https://github.com/rust-lang/libc/pull/4198>
229bb5944c6Sgithub-actions[bot]
230bb5944c6Sgithub-actions[bot]### Cleanup
231bb5944c6Sgithub-actions[bot]
232bb5944c6Sgithub-actions[bot]- Do not re-export `c_void` in target-specific code <https://github.com/rust-lang/libc/pull/4200>
233e6082ef2Sgithub-actions[bot]
234e6082ef2Sgithub-actions[bot]## [0.2.168](https://github.com/rust-lang/libc/compare/0.2.167...0.2.168) - 2024-12-09
235e6082ef2Sgithub-actions[bot]
236e6082ef2Sgithub-actions[bot]### Added
237e6082ef2Sgithub-actions[bot]
238e6082ef2Sgithub-actions[bot]- Linux: Add new process flags ([#4174](https://github.com/rust-lang/libc/pull/4174))
239e6082ef2Sgithub-actions[bot]- Linux: Make `IFA_*` constants available on all Linux targets <https://github.com/rust-lang/libc/pull/4185>
240e6082ef2Sgithub-actions[bot]- Linux: add `MAP_DROPPABLE` <https://github.com/rust-lang/libc/pull/4173>
241e6082ef2Sgithub-actions[bot]- Solaris, Illumos: add `SIGRTMIN` and `SIGRTMAX` <https://github.com/rust-lang/libc/pull/4171>
242e6082ef2Sgithub-actions[bot]- Unix, Linux: adding POSIX `memccpy` and `mempcpy` GNU extension <https://github.com/rust-lang/libc/pull/4186.
243e6082ef2Sgithub-actions[bot]
244e6082ef2Sgithub-actions[bot]### Deprecated
245e6082ef2Sgithub-actions[bot]
246e6082ef2Sgithub-actions[bot]- FreeBSD: Deprecate the CAP_UNUSED* and CAP_ALL* constants ([#4183](https://github.com/rust-lang/libc/pull/4183))
247e6082ef2Sgithub-actions[bot]
248e6082ef2Sgithub-actions[bot]### Fixed
249e6082ef2Sgithub-actions[bot]
250e6082ef2Sgithub-actions[bot]- Make the `Debug` implementation for unions opaque ([#4176](https://github.com/rust-lang/libc/pull/4176))
251e6082ef2Sgithub-actions[bot]
252e6082ef2Sgithub-actions[bot]### Other
253e6082ef2Sgithub-actions[bot]
254e6082ef2Sgithub-actions[bot]- Allow the `unpredictable_function_pointer_comparisons` lint where needed <https://github.com/rust-lang/libc/pull/4177>
255e6082ef2Sgithub-actions[bot]- CI: Upload artifacts created by libc-test <https://github.com/rust-lang/libc/pull/4180>
256e6082ef2Sgithub-actions[bot]- CI: Use workflow commands to group output by target <https://github.com/rust-lang/libc/pull/4179>
257e6082ef2Sgithub-actions[bot]- CI: add caching <https://github.com/rust-lang/libc/pull/4183>
258e6082ef2Sgithub-actions[bot]
2593831e59fSgithub-actions[bot]## [0.2.167](https://github.com/rust-lang/libc/compare/0.2.166...0.2.167) - 2024-11-28
2603831e59fSgithub-actions[bot]
2613831e59fSgithub-actions[bot]### Added
2623831e59fSgithub-actions[bot]
2633831e59fSgithub-actions[bot]- Solarish: add `st_fstype` to `stat` <https://github.com/rust-lang/libc/pull/4145>
2643831e59fSgithub-actions[bot]- Trusty: Add `intptr_t` and `uintptr_t` ([#4161](https://github.com/rust-lang/libc/pull/4161))
2653831e59fSgithub-actions[bot]
2663831e59fSgithub-actions[bot]### Fixed
2673831e59fSgithub-actions[bot]
2683831e59fSgithub-actions[bot]- Fix the build with `rustc-dep-of-std` <https://github.com/rust-lang/libc/pull/4158>
2693831e59fSgithub-actions[bot]- Wasi: Add back unsafe block for `clockid_t` static variables ([#4157](https://github.com/rust-lang/libc/pull/4157))
2703831e59fSgithub-actions[bot]
2713831e59fSgithub-actions[bot]### Cleanup
2723831e59fSgithub-actions[bot]
2733831e59fSgithub-actions[bot]- Create an internal prelude <https://github.com/rust-lang/libc/pull/4161>
2743831e59fSgithub-actions[bot]- Fix `unused_qualifications`<https://github.com/rust-lang/libc/pull/4132>
2753831e59fSgithub-actions[bot]
2763831e59fSgithub-actions[bot]### Other
2773831e59fSgithub-actions[bot]
2783831e59fSgithub-actions[bot]- CI: Check various FreeBSD versions ([#4159](https://github.com/rust-lang/libc/pull/4159))
2793831e59fSgithub-actions[bot]- CI: add a timeout for all jobs <https://github.com/rust-lang/libc/pull/4164>
2803831e59fSgithub-actions[bot]- CI: verify MSRV for `wasm32-wasi` <https://github.com/rust-lang/libc/pull/4157>
2813831e59fSgithub-actions[bot]- Migrate to the 2021 edition <https://github.com/rust-lang/libc/pull/4132>
2823831e59fSgithub-actions[bot]
2833831e59fSgithub-actions[bot]### Removed
2843831e59fSgithub-actions[bot]
2853831e59fSgithub-actions[bot]- Remove one unused import after the edition 2021 bump
2863831e59fSgithub-actions[bot]
2871e9ab864Sgithub-actions[bot]## [0.2.166](https://github.com/rust-lang/libc/compare/0.2.165...0.2.166) - 2024-11-26
2881e9ab864Sgithub-actions[bot]
2891e9ab864Sgithub-actions[bot]### Fixed
2901e9ab864Sgithub-actions[bot]
2911e9ab864Sgithub-actions[bot]This release resolves two cases of unintentional breakage from the previous release:
2921e9ab864Sgithub-actions[bot]
2931e9ab864Sgithub-actions[bot]- Revert removal of array size hacks [#4150](https://github.com/rust-lang/libc/pull/4150)
2941e9ab864Sgithub-actions[bot]- Ensure `const extern` functions are always enabled [#4151](https://github.com/rust-lang/libc/pull/4151)
2951e9ab864Sgithub-actions[bot]
2960928922eSgithub-actions[bot]## [0.2.165](https://github.com/rust-lang/libc/compare/0.2.164...0.2.165) - 2024-11-25
2970928922eSgithub-actions[bot]
2980928922eSgithub-actions[bot]### Added
2990928922eSgithub-actions[bot]
3000928922eSgithub-actions[bot]- Android: add `mkostemp`, `mkostemps` <https://github.com/rust-lang/libc/pull/3601>
3010928922eSgithub-actions[bot]- Android: add a few API 30 calls <https://github.com/rust-lang/libc/pull/3604>
3020928922eSgithub-actions[bot]- Android: add missing syscall constants <https://github.com/rust-lang/libc/pull/3558>
3030928922eSgithub-actions[bot]- Apple: add `in6_ifreq` <https://github.com/rust-lang/libc/pull/3617>
3040928922eSgithub-actions[bot]- Apple: add missing `sysctl` net types <https://github.com/rust-lang/libc/pull/4022> (before release: remove `if_family_id` ([#4137](https://github.com/rust-lang/libc/pulls/4137)))
3050928922eSgithub-actions[bot]- Freebsd: add `kcmp` call support <https://github.com/rust-lang/libc/pull/3746>
3060928922eSgithub-actions[bot]- Hurd: add `MAP_32BIT` and `MAP_EXCL` <https://github.com/rust-lang/libc/pull/4127>
3070928922eSgithub-actions[bot]- Hurd: add `domainname` field to `utsname` ([#4089](https://github.com/rust-lang/libc/pulls/4089))
3080928922eSgithub-actions[bot]- Linux GNU: add `f_flags` to struct `statfs` for arm, mips, powerpc and x86 <https://github.com/rust-lang/libc/pull/3663>
3090928922eSgithub-actions[bot]- Linux GNU: add `malloc_stats` <https://github.com/rust-lang/libc/pull/3596>
3100928922eSgithub-actions[bot]- Linux: add ELF relocation-related structs <https://github.com/rust-lang/libc/pull/3583>
3110928922eSgithub-actions[bot]- Linux: add `ptp_*` structs <https://github.com/rust-lang/libc/pull/4113>
3120928922eSgithub-actions[bot]- Linux: add `ptp_clock_caps` <https://github.com/rust-lang/libc/pull/4128>
3130928922eSgithub-actions[bot]- Linux: add `ptp_pin_function` and most `PTP_` constants <https://github.com/rust-lang/libc/pull/4114>
3140928922eSgithub-actions[bot]- Linux: add missing AF_XDP structs & constants <https://github.com/rust-lang/libc/pull/3956>
3150928922eSgithub-actions[bot]- Linux: add missing netfilter consts ([#3734](https://github.com/rust-lang/libc/pulls/3734))
3160928922eSgithub-actions[bot]- Linux: add struct and constants for the `mount_setattr` syscall <https://github.com/rust-lang/libc/pull/4046>
3170928922eSgithub-actions[bot]- Linux: add wireless API <https://github.com/rust-lang/libc/pull/3441>
3180928922eSgithub-actions[bot]- Linux: expose the `len8_dlc` field of `can_frame` <https://github.com/rust-lang/libc/pull/3357>
3190928922eSgithub-actions[bot]- Musl: add `utmpx` API <https://github.com/rust-lang/libc/pull/3213>
3200928922eSgithub-actions[bot]- Musl: add missing syscall constants <https://github.com/rust-lang/libc/pull/4028>
3210928922eSgithub-actions[bot]- NetBSD: add `mcontext`-related data for RISCV64 <https://github.com/rust-lang/libc/pull/3468>
3220928922eSgithub-actions[bot]- Redox: add new `netinet` constants <https://github.com/rust-lang/libc/pull/3586>)
3230928922eSgithub-actions[bot]- Solarish: add `_POSIX_VDISABLE` ([#4103](https://github.com/rust-lang/libc/pulls/4103))
3240928922eSgithub-actions[bot]- Tests: Add a test that the `const extern fn` macro works <https://github.com/rust-lang/libc/pull/4134>
3250928922eSgithub-actions[bot]- Tests: Add test of primitive types against `std` <https://github.com/rust-lang/libc/pull/3616>
3260928922eSgithub-actions[bot]- Unix: Add `htonl`, `htons`, `ntohl`, `ntohs` <https://github.com/rust-lang/libc/pull/3669>
3270928922eSgithub-actions[bot]- Unix: add `aligned_alloc` <https://github.com/rust-lang/libc/pull/3843>
3280928922eSgithub-actions[bot]- Windows: add `aligned_realloc` <https://github.com/rust-lang/libc/pull/3592>
3290928922eSgithub-actions[bot]
3300928922eSgithub-actions[bot]### Fixed
3310928922eSgithub-actions[bot]
3320928922eSgithub-actions[bot]- **breaking** Hurd: fix `MAP_HASSEMAPHORE` name ([#4127](https://github.com/rust-lang/libc/pulls/4127))
3330928922eSgithub-actions[bot]- **breaking** ulibc Mips: fix `SA_*` mismatched types ([#3211](https://github.com/rust-lang/libc/pulls/3211))
3340928922eSgithub-actions[bot]- Aix: fix an enum FFI safety warning <https://github.com/rust-lang/libc/pull/3644>
3350928922eSgithub-actions[bot]- Haiku: fix some typos ([#3664](https://github.com/rust-lang/libc/pulls/3664))
3360928922eSgithub-actions[bot]- Tests: fix `Elf{32,64}_Relr`-related tests <https://github.com/rust-lang/libc/pull/3647>
3370928922eSgithub-actions[bot]- Tests: fix libc-tests for `loongarch64-linux-musl`
3380928922eSgithub-actions[bot]- Tests: fix some clippy warnings <https://github.com/rust-lang/libc/pull/3855>
3390928922eSgithub-actions[bot]- Tests: fix tests on `riscv64gc-unknown-freebsd` <https://github.com/rust-lang/libc/pull/4129>
3400928922eSgithub-actions[bot]
3410928922eSgithub-actions[bot]### Deprecated
3420928922eSgithub-actions[bot]
3430928922eSgithub-actions[bot]- Apple: deprecate `iconv_open` <https://github.com/rust-lang/libc/commit/25e022a22eca3634166ef472b748c297e60fcf7f>
3440928922eSgithub-actions[bot]- Apple: deprecate `mach_task_self` <https://github.com/rust-lang/libc/pull/4095>
3450928922eSgithub-actions[bot]- Apple: update `mach` deprecation notices for things that were removed in `main` <https://github.com/rust-lang/libc/pull/4097>
3460928922eSgithub-actions[bot]
3470928922eSgithub-actions[bot]### Cleanup
3480928922eSgithub-actions[bot]
3490928922eSgithub-actions[bot]- Adjust the `f!` macro to be more flexible <https://github.com/rust-lang/libc/pull/4107>
3500928922eSgithub-actions[bot]- Aix: remove duplicate constants <https://github.com/rust-lang/libc/pull/3643>
3510928922eSgithub-actions[bot]- CI: make scripts more uniform <https://github.com/rust-lang/libc/pull/4042>
3520928922eSgithub-actions[bot]- Drop the `libc_align` conditional <https://github.com/rust-lang/libc/commit/b5b553d0ee7de0d4781432a9a9a0a6445dd7f34f>
3530928922eSgithub-actions[bot]- Drop the `libc_cfg_target_vendor` conditional <https://github.com/rust-lang/libc/pull/4060>
3540928922eSgithub-actions[bot]- Drop the `libc_const_size_of` conditional <https://github.com/rust-lang/libc/commit/5a43dd2754366f99b3a83881b30246ce0e51833c>
3550928922eSgithub-actions[bot]- Drop the `libc_core_cvoid` conditional <https://github.com/rust-lang/libc/pull/4060>
3560928922eSgithub-actions[bot]- Drop the `libc_int128` conditional <https://github.com/rust-lang/libc/pull/4060>
3570928922eSgithub-actions[bot]- Drop the `libc_non_exhaustive` conditional <https://github.com/rust-lang/libc/pull/4060>
3580928922eSgithub-actions[bot]- Drop the `libc_packedN` conditional <https://github.com/rust-lang/libc/pull/4060>
3590928922eSgithub-actions[bot]- Drop the `libc_priv_mod_use` conditional <https://github.com/rust-lang/libc/commit/19c59376d11b015009fb9b04f233a30a1bf50a91>
3600928922eSgithub-actions[bot]- Drop the `libc_union` conditional <https://github.com/rust-lang/libc/commit/b9e4d8012f612dfe24147da3e69522763f92b6e3>
3610928922eSgithub-actions[bot]- Drop the `long_array` conditional <https://github.com/rust-lang/libc/pull/4096>
3620928922eSgithub-actions[bot]- Drop the `ptr_addr_of` conditional <https://github.com/rust-lang/libc/pull/4065>
3630928922eSgithub-actions[bot]- Drop warnings about deprecated cargo features <https://github.com/rust-lang/libc/pull/4060>
3640928922eSgithub-actions[bot]- Eliminate uses of `struct_formatter` <https://github.com/rust-lang/libc/pull/4074>
3650928922eSgithub-actions[bot]- Fix a few other array size hacks <https://github.com/rust-lang/libc/commit/d63be8b69b0736753213f5d933767866a5801ee7>
3660928922eSgithub-actions[bot]- Glibc: remove redundant definitions ([#3261](https://github.com/rust-lang/libc/pulls/3261))
3670928922eSgithub-actions[bot]- Musl: remove redundant definitions ([#3261](https://github.com/rust-lang/libc/pulls/3261))
3680928922eSgithub-actions[bot]- Musl: unify definitions of `siginfo_t` ([#3261](https://github.com/rust-lang/libc/pulls/3261))
3690928922eSgithub-actions[bot]- Musl: unify definitions of statfs and statfs64 ([#3261](https://github.com/rust-lang/libc/pulls/3261))
3700928922eSgithub-actions[bot]- Musl: unify definitions of statvfs and statvfs64 ([#3261](https://github.com/rust-lang/libc/pulls/3261))
3710928922eSgithub-actions[bot]- Musl: unify statx definitions ([#3978](https://github.com/rust-lang/libc/pulls/3978))
3720928922eSgithub-actions[bot]- Remove array size hacks for Rust < 1.47 <https://github.com/rust-lang/libc/commit/27ee6fe02ca0848b2af3cd747536264e4c7b697d>
3730928922eSgithub-actions[bot]- Remove repetitive words <https://github.com/rust-lang/libc/commit/77de375891285e18a81616f7dceda6d52732eed6>
3740928922eSgithub-actions[bot]- Use #[derive] for Copy/Clone in s! and friends <https://github.com/rust-lang/libc/pull/4038>
3750928922eSgithub-actions[bot]- Use some tricks to format macro bodies <https://github.com/rust-lang/libc/pull/4107>
3760928922eSgithub-actions[bot]
3770928922eSgithub-actions[bot]### Other
3780928922eSgithub-actions[bot]
3790928922eSgithub-actions[bot]- Apply formatting to macro bodies <https://github.com/rust-lang/libc/pull/4107>
3800928922eSgithub-actions[bot]- Bump libc-test to Rust 2021 Edition <https://github.com/rust-lang/libc/pull/3905>
3810928922eSgithub-actions[bot]- CI: Add a check that semver files don't contain duplicate entries <https://github.com/rust-lang/libc/pull/4087>
3820928922eSgithub-actions[bot]- CI: Add `fanotify_event_info_fid` to FAM-exempt types <https://github.com/rust-lang/libc/pull/4038>
3830928922eSgithub-actions[bot]- CI: Allow rustfmt to organize imports ([#4136](https://github.com/rust-lang/libc/pulls/4136))
3840928922eSgithub-actions[bot]- CI: Always run rustfmt <https://github.com/rust-lang/libc/pull/4120>
3850928922eSgithub-actions[bot]- CI: Change 32-bit Docker images to use EOL repos <https://github.com/rust-lang/libc/pull/4120>
3860928922eSgithub-actions[bot]- CI: Change 64-bit Docker images to ubuntu:24.10 <https://github.com/rust-lang/libc/pull/4120>
3870928922eSgithub-actions[bot]- CI: Disable the check for >1 s! invocation <https://github.com/rust-lang/libc/pull/4107>
3880928922eSgithub-actions[bot]- CI: Ensure build channels get run even if FILTER is unset <https://github.com/rust-lang/libc/pull/4125>
3890928922eSgithub-actions[bot]- CI: Ensure there is a fallback for no_std <https://github.com/rust-lang/libc/pull/4125>
3900928922eSgithub-actions[bot]- CI: Fix cases where unset variables cause errors <https://github.com/rust-lang/libc/pull/4108>
3910928922eSgithub-actions[bot]- CI: Naming adjustments and cleanup <https://github.com/rust-lang/libc/pull/4124>
3920928922eSgithub-actions[bot]- CI: Only invoke rustup if running in CI <https://github.com/rust-lang/libc/pull/4107>
3930928922eSgithub-actions[bot]- CI: Remove the logic to handle old rust versions <https://github.com/rust-lang/libc/pull/4068>
3940928922eSgithub-actions[bot]- CI: Set -u (error on unset) in all script files <https://github.com/rust-lang/libc/pull/4108>
3950928922eSgithub-actions[bot]- CI: add support for `loongarch64-unknown-linux-musl` <https://github.com/rust-lang/libc/pull/4092>
3960928922eSgithub-actions[bot]- CI: make `aarch64-apple-darwin` not a nightly-only target <https://github.com/rust-lang/libc/pull/4068>
3970928922eSgithub-actions[bot]- CI: run shellcheck on all scripts <https://github.com/rust-lang/libc/pull/4042>
3980928922eSgithub-actions[bot]- CI: update musl headers to Linux 6.6 <https://github.com/rust-lang/libc/pull/3921>
3990928922eSgithub-actions[bot]- CI: use qemu-sparc64 to run sparc64 tests <https://github.com/rust-lang/libc/pull/4133>
4000928922eSgithub-actions[bot]- Drop the `libc_const_extern_fn` conditional <https://github.com/rust-lang/libc/commit/674cc1f47f605038ef1aa2cce8e8bc9dac128276>
4010928922eSgithub-actions[bot]- Drop the `libc_underscore_const_names` conditional <https://github.com/rust-lang/libc/commit/f0febd5e2e50b38e05259d3afad3c9783711bcf0>
4020928922eSgithub-actions[bot]- Explicitly set the edition to 2015 <https://github.com/rust-lang/libc/pull/4058>
4030928922eSgithub-actions[bot]- Introduce a `git-blame-ignore-revs` file <https://github.com/rust-lang/libc/pull/4107>
4040928922eSgithub-actions[bot]- Tests: Ignore fields as required on Ubuntu 24.10 <https://github.com/rust-lang/libc/pull/4120>
4050928922eSgithub-actions[bot]- Tests: skip `ATF_*` constants for OpenBSD <https://github.com/rust-lang/libc/pull/4088>
4060928922eSgithub-actions[bot]- Triagebot: Add an autolabel for CI <https://github.com/rust-lang/libc/pull/4052>
4074789ece9Sgithub-actions[bot]
408dad00cb0Sgithub-actions[bot]## [0.2.164](https://github.com/rust-lang/libc/compare/0.2.163...0.2.164) - 2024-11-16
409dad00cb0Sgithub-actions[bot]
410dad00cb0Sgithub-actions[bot]### MSRV
411dad00cb0Sgithub-actions[bot]
412dad00cb0Sgithub-actions[bot]This release increases the MSRV of `libc` to 1.63.
413dad00cb0Sgithub-actions[bot]
414dad00cb0Sgithub-actions[bot]### Other
415dad00cb0Sgithub-actions[bot]
416dad00cb0Sgithub-actions[bot]- CI: remove tests with rust < 1.63 <https://github.com/rust-lang/libc/pull/4051>
417dad00cb0Sgithub-actions[bot]- MSRV: document the MSRV of the stable channel to be 1.63 <https://github.com/rust-lang/libc/pull/4040>
418dad00cb0Sgithub-actions[bot]- MacOS: move ifconf to s_no_extra_traits <https://github.com/rust-lang/libc/pull/4051>
419dad00cb0Sgithub-actions[bot]
420cfd7ebf8Sgithub-actions[bot]## [0.2.163](https://github.com/rust-lang/libc/compare/0.2.162...0.2.163) - 2024-11-16
421cfd7ebf8Sgithub-actions[bot]
422cfd7ebf8Sgithub-actions[bot]### Added
423cfd7ebf8Sgithub-actions[bot]
424cfd7ebf8Sgithub-actions[bot]- Aix: add more `dlopen` flags <https://github.com/rust-lang/libc/pull/4044>
425cfd7ebf8Sgithub-actions[bot]- Android: add group calls <https://github.com/rust-lang/libc/pull/3499>
426cfd7ebf8Sgithub-actions[bot]- FreeBSD: add `TCP_FUNCTION_BLK` and `TCP_FUNCTION_ALIAS` <https://github.com/rust-lang/libc/pull/4047>
427cfd7ebf8Sgithub-actions[bot]- Linux: add `confstr` <https://github.com/rust-lang/libc/pull/3612>
428cfd7ebf8Sgithub-actions[bot]- Solarish: add `aio` <https://github.com/rust-lang/libc/pull/4033>
429cfd7ebf8Sgithub-actions[bot]- Solarish: add `arc4random*` <https://github.com/rust-lang/libc/pull/3944>
430cfd7ebf8Sgithub-actions[bot]
431cfd7ebf8Sgithub-actions[bot]### Changed
432cfd7ebf8Sgithub-actions[bot]
433cfd7ebf8Sgithub-actions[bot]- Emscripten: upgrade emsdk to 3.1.68 <https://github.com/rust-lang/libc/pull/3962>
434cfd7ebf8Sgithub-actions[bot]- Hurd: use more standard types <https://github.com/rust-lang/libc/pull/3733>
435cfd7ebf8Sgithub-actions[bot]- Hurd: use the standard `ssize_t = isize` <https://github.com/rust-lang/libc/pull/4029>
436cfd7ebf8Sgithub-actions[bot]- Solaris: fix `confstr` and `ucontext_t` <https://github.com/rust-lang/libc/pull/4035>
437cfd7ebf8Sgithub-actions[bot]
438cfd7ebf8Sgithub-actions[bot]### Other
439cfd7ebf8Sgithub-actions[bot]
440cfd7ebf8Sgithub-actions[bot]- CI: add Solaris <https://github.com/rust-lang/libc/pull/4035>
441cfd7ebf8Sgithub-actions[bot]- CI: add `i686-unknown-freebsd` <https://github.com/rust-lang/libc/pull/3997>
442cfd7ebf8Sgithub-actions[bot]- CI: ensure that calls to `sort` do not depend on locale <https://github.com/rust-lang/libc/pull/4026>
443cfd7ebf8Sgithub-actions[bot]- Specify `rust-version` in `Cargo.toml` <https://github.com/rust-lang/libc/pull/4041>
444cfd7ebf8Sgithub-actions[bot]
445b8c255c8Sgithub-actions[bot]## [0.2.162](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162) - 2024-11-07
446b8c255c8Sgithub-actions[bot]
447b8c255c8Sgithub-actions[bot]### Added
448b8c255c8Sgithub-actions[bot]
449b8c255c8Sgithub-actions[bot]- Android: fix the alignment of `uc_mcontext` on arm64 <https://github.com/rust-lang/libc/pull/3894>
450b8c255c8Sgithub-actions[bot]- Apple: add `host_cpu_load_info` <https://github.com/rust-lang/libc/pull/3916>
451b8c255c8Sgithub-actions[bot]- ESP-IDF: add a time flag <https://github.com/rust-lang/libc/pull/3993>
452b8c255c8Sgithub-actions[bot]- FreeBSD: add the `CLOSE_RANGE_CLOEXEC` flag<https://github.com/rust-lang/libc/pull/3996>
453b8c255c8Sgithub-actions[bot]- FreeBSD: fix test errors regarding `__gregset_t` <https://github.com/rust-lang/libc/pull/3995>
454b8c255c8Sgithub-actions[bot]- FreeBSD: fix tests on x86 FreeBSD 15 <https://github.com/rust-lang/libc/pull/3948>
455b8c255c8Sgithub-actions[bot]- FreeBSD: make `ucontext_t` and `mcontext_t` available on all architectures  <https://github.com/rust-lang/libc/pull/3848>
456b8c255c8Sgithub-actions[bot]- Haiku: add `getentropy` <https://github.com/rust-lang/libc/pull/3991>
457b8c255c8Sgithub-actions[bot]- Illumos: add `syncfs` <https://github.com/rust-lang/libc/pull/3990>
458b8c255c8Sgithub-actions[bot]- Illumos: add some recently-added constants <https://github.com/rust-lang/libc/pull/3999>
459b8c255c8Sgithub-actions[bot]- Linux: add `ioctl` flags <https://github.com/rust-lang/libc/pull/3960>
460b8c255c8Sgithub-actions[bot]- Linux: add epoll busy polling parameters <https://github.com/rust-lang/libc/pull/3922>
461b8c255c8Sgithub-actions[bot]- NuttX: add `pthread_[get/set]name_np` <https://github.com/rust-lang/libc/pull/4003>
462b8c255c8Sgithub-actions[bot]- RTEMS: add `arc4random_buf` <https://github.com/rust-lang/libc/pull/3989>
463b8c255c8Sgithub-actions[bot]- Trusty OS: add initial support <https://github.com/rust-lang/libc/pull/3942>
464b8c255c8Sgithub-actions[bot]- WASIp2: expand socket support <https://github.com/rust-lang/libc/pull/3981>
465b8c255c8Sgithub-actions[bot]
466b8c255c8Sgithub-actions[bot]### Fixed
467b8c255c8Sgithub-actions[bot]
468b8c255c8Sgithub-actions[bot]- Emscripten: don't pass `-lc` <https://github.com/rust-lang/libc/pull/4002>
469b8c255c8Sgithub-actions[bot]- Hurd: change `st_fsid` field to `st_dev` <https://github.com/rust-lang/libc/pull/3785>
470b8c255c8Sgithub-actions[bot]- Hurd: fix the definition of `utsname` <https://github.com/rust-lang/libc/pull/3992>
471b8c255c8Sgithub-actions[bot]- Illumos/Solaris: fix `FNM_CASEFOLD` definition <https://github.com/rust-lang/libc/pull/4004>
472b8c255c8Sgithub-actions[bot]- Solaris: fix all tests <https://github.com/rust-lang/libc/pull/3864>
473b8c255c8Sgithub-actions[bot]
474b8c255c8Sgithub-actions[bot]### Other
475b8c255c8Sgithub-actions[bot]
476b8c255c8Sgithub-actions[bot]- CI: Add loongarch64 <https://github.com/rust-lang/libc/pull/4000>
477b8c255c8Sgithub-actions[bot]- CI: Check that semver files are sorted <https://github.com/rust-lang/libc/pull/4018>
478b8c255c8Sgithub-actions[bot]- CI: Re-enable the FreeBSD 15 job <https://github.com/rust-lang/libc/pull/3988>
479b8c255c8Sgithub-actions[bot]- Clean up imports and `extern crate` usage <https://github.com/rust-lang/libc/pull/3897>
480b8c255c8Sgithub-actions[bot]- Convert `mode_t` constants to octal <https://github.com/rust-lang/libc/pull/3634>
481b8c255c8Sgithub-actions[bot]- Remove the `wasm32-wasi` target that has been deleted upstream <https://github.com/rust-lang/libc/pull/4013>
482b8c255c8Sgithub-actions[bot]
48363b4a641Sgithub-actions[bot]## [0.2.161](https://github.com/rust-lang/libc/compare/0.2.160...0.2.161) - 2024-10-17
48463b4a641Sgithub-actions[bot]
48563b4a641Sgithub-actions[bot]### Fixed
48663b4a641Sgithub-actions[bot]
48763b4a641Sgithub-actions[bot]- OpenBSD: fix `FNM_PATHNAME` and `FNM_NOESCAPE` values <https://github.com/rust-lang/libc/pull/3983>
48863b4a641Sgithub-actions[bot]
489bf6680ddSgithub-actions[bot]## [0.2.160](https://github.com/rust-lang/libc/compare/0.2.159...0.2.160) - 2024-10-17
490bf6680ddSgithub-actions[bot]
491bf6680ddSgithub-actions[bot]### Added
492bf6680ddSgithub-actions[bot]
493bf6680ddSgithub-actions[bot]- Android: add `PR_GET_NAME` and `PR_SET_NAME` <https://github.com/rust-lang/libc/pull/3941>
494bf6680ddSgithub-actions[bot]- Apple: add `F_TRANSFEREXTENTS` <https://github.com/rust-lang/libc/pull/3925>
495bf6680ddSgithub-actions[bot]- Apple: add `mach_error_string` <https://github.com/rust-lang/libc/pull/3913>
496bf6680ddSgithub-actions[bot]- Apple: add additional `pthread` APIs <https://github.com/rust-lang/libc/pull/3846>
497bf6680ddSgithub-actions[bot]- Apple: add the `LOCAL_PEERTOKEN` socket option <https://github.com/rust-lang/libc/pull/3929>
498bf6680ddSgithub-actions[bot]- BSD: add `RTF_*`, `RTA_*`, `RTAX_*`, and `RTM_*` definitions <https://github.com/rust-lang/libc/pull/3714>
499bf6680ddSgithub-actions[bot]- Emscripten: add `AT_EACCESS` <https://github.com/rust-lang/libc/pull/3911>
500bf6680ddSgithub-actions[bot]- Emscripten: add `getgrgid`, `getgrnam`, `getgrnam_r` and `getgrgid_r` <https://github.com/rust-lang/libc/pull/3912>
501bf6680ddSgithub-actions[bot]- Emscripten: add `getpwnam_r` and `getpwuid_r` <https://github.com/rust-lang/libc/pull/3906>
502bf6680ddSgithub-actions[bot]- FreeBSD: add `POLLRDHUP` <https://github.com/rust-lang/libc/pull/3936>
503bf6680ddSgithub-actions[bot]- Haiku: add `arc4random` <https://github.com/rust-lang/libc/pull/3945>
504bf6680ddSgithub-actions[bot]- Illumos: add `ptsname_r` <https://github.com/rust-lang/libc/pull/3867>
505bf6680ddSgithub-actions[bot]- Linux: add `fanotify` interfaces <https://github.com/rust-lang/libc/pull/3695>
506bf6680ddSgithub-actions[bot]- Linux: add `tcp_info` <https://github.com/rust-lang/libc/pull/3480>
507bf6680ddSgithub-actions[bot]- Linux: add additional AF_PACKET options <https://github.com/rust-lang/libc/pull/3540>
508bf6680ddSgithub-actions[bot]- Linux: make Elf constants always available <https://github.com/rust-lang/libc/pull/3938>
509bf6680ddSgithub-actions[bot]- Musl x86: add `iopl` and `ioperm` <https://github.com/rust-lang/libc/pull/3720>
510bf6680ddSgithub-actions[bot]- Musl: add `posix_spawn` chdir functions <https://github.com/rust-lang/libc/pull/3949>
511bf6680ddSgithub-actions[bot]- Musl: add `utmpx.h` constants <https://github.com/rust-lang/libc/pull/3908>
512bf6680ddSgithub-actions[bot]- NetBSD: add `sysctlnametomib`, `CLOCK_THREAD_CPUTIME_ID` and `CLOCK_PROCESS_CPUTIME_ID` <https://github.com/rust-lang/libc/pull/3927>
513bf6680ddSgithub-actions[bot]- Nuttx: initial support <https://github.com/rust-lang/libc/pull/3909>
514bf6680ddSgithub-actions[bot]- RTEMS: add `getentropy` <https://github.com/rust-lang/libc/pull/3973>
515bf6680ddSgithub-actions[bot]- RTEMS: initial support <https://github.com/rust-lang/libc/pull/3866>
516bf6680ddSgithub-actions[bot]- Solarish: add `POLLRDHUP`, `POSIX_FADV_*`, `O_RSYNC`, and `posix_fallocate` <https://github.com/rust-lang/libc/pull/3936>
517bf6680ddSgithub-actions[bot]- Unix: add `fnmatch.h` <https://github.com/rust-lang/libc/pull/3937>
518bf6680ddSgithub-actions[bot]- VxWorks: add riscv64 support <https://github.com/rust-lang/libc/pull/3935>
519bf6680ddSgithub-actions[bot]- VxWorks: update constants related to the scheduler  <https://github.com/rust-lang/libc/pull/3963>
520bf6680ddSgithub-actions[bot]
521bf6680ddSgithub-actions[bot]### Changed
522bf6680ddSgithub-actions[bot]
523bf6680ddSgithub-actions[bot]- Redox: change `ino_t` to be `c_ulonglong` <https://github.com/rust-lang/libc/pull/3919>
524bf6680ddSgithub-actions[bot]
525bf6680ddSgithub-actions[bot]### Fixed
526bf6680ddSgithub-actions[bot]
527bf6680ddSgithub-actions[bot]- ESP-IDF: fix mismatched constants and structs <https://github.com/rust-lang/libc/pull/3920>
528bf6680ddSgithub-actions[bot]- FreeBSD: fix `struct stat` on FreeBSD 12+ <https://github.com/rust-lang/libc/pull/3946>
529bf6680ddSgithub-actions[bot]
530bf6680ddSgithub-actions[bot]### Other
531bf6680ddSgithub-actions[bot]
532bf6680ddSgithub-actions[bot]- CI: Fix CI for FreeBSD 15 <https://github.com/rust-lang/libc/pull/3950>
533bf6680ddSgithub-actions[bot]- Docs: link to `windows-sys` <https://github.com/rust-lang/libc/pull/3915>
534bf6680ddSgithub-actions[bot]
5357373a1abSgithub-actions[bot]## [0.2.159](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159) - 2024-09-24
5367373a1abSgithub-actions[bot]
5377373a1abSgithub-actions[bot]### Added
5387373a1abSgithub-actions[bot]
5397373a1abSgithub-actions[bot]- Android: add more `AT_*` constants in <https://github.com/rust-lang/libc/pull/3779>
5407373a1abSgithub-actions[bot]- Apple: add missing `NOTE_*` constants in <https://github.com/rust-lang/libc/pull/3883>
5417373a1abSgithub-actions[bot]- Hermit: add missing error numbers in <https://github.com/rust-lang/libc/pull/3858>
5427373a1abSgithub-actions[bot]- Hurd: add `__timeval` for 64-bit support in <https://github.com/rust-lang/libc/pull/3786>
5437373a1abSgithub-actions[bot]- Linux: add `epoll_pwait2` in <https://github.com/rust-lang/libc/pull/3868>
5447373a1abSgithub-actions[bot]- Linux: add `mq_notify` in <https://github.com/rust-lang/libc/pull/3849>
5457373a1abSgithub-actions[bot]- Linux: add missing `NFT_CT_*` constants in <https://github.com/rust-lang/libc/pull/3844>
5467373a1abSgithub-actions[bot]- Linux: add the `fchmodat2` syscall in <https://github.com/rust-lang/libc/pull/3588>
5477373a1abSgithub-actions[bot]- Linux: add the `mseal` syscall in <https://github.com/rust-lang/libc/pull/3798>
5487373a1abSgithub-actions[bot]- OpenBSD: add `sendmmsg` and `recvmmsg` in <https://github.com/rust-lang/libc/pull/3831>
5497373a1abSgithub-actions[bot]- Unix: add `IN6ADDR_ANY_INIT` and `IN6ADDR_LOOPBACK_INIT` in <https://github.com/rust-lang/libc/pull/3693>
5507373a1abSgithub-actions[bot]- VxWorks: add `S_ISVTX` in <https://github.com/rust-lang/libc/pull/3768>
5517373a1abSgithub-actions[bot]- VxWorks: add `vxCpuLib` and `taskLib` functions <https://github.com/rust-lang/libc/pull/3861>
5527373a1abSgithub-actions[bot]- WASIp2: add definitions for `std::net` support in <https://github.com/rust-lang/libc/pull/3892>
5537373a1abSgithub-actions[bot]
5547373a1abSgithub-actions[bot]### Fixed
5557373a1abSgithub-actions[bot]
5567373a1abSgithub-actions[bot]- Correctly handle version checks when `clippy-driver` is used <https://github.com/rust-lang/libc/pull/3893>
5577373a1abSgithub-actions[bot]
5587373a1abSgithub-actions[bot]### Changed
5597373a1abSgithub-actions[bot]
5607373a1abSgithub-actions[bot]- EspIdf: change signal constants to c_int in <https://github.com/rust-lang/libc/pull/3895>
5617373a1abSgithub-actions[bot]- HorizonOS: update network definitions in <https://github.com/rust-lang/libc/pull/3863>
5627373a1abSgithub-actions[bot]- Linux: combine `ioctl` APIs in <https://github.com/rust-lang/libc/pull/3722>
5637373a1abSgithub-actions[bot]- WASI: enable CI testing in <https://github.com/rust-lang/libc/pull/3869>
5647373a1abSgithub-actions[bot]- WASIp2: enable CI testing in <https://github.com/rust-lang/libc/pull/3870>
5657373a1abSgithub-actions[bot]
566284bd9e9Sgithub-actions[bot]## [0.2.158](https://github.com/rust-lang/libc/compare/0.2.157...0.2.158) - 2024-08-19
567284bd9e9Sgithub-actions[bot]
568284bd9e9Sgithub-actions[bot]### Other
5690d28de58STrevor Gross- WASI: fix missing `Iterator` with `rustc-dep-of-std` in <https://github.com/rust-lang/libc/pull/3856#event-13924913068>
570284bd9e9Sgithub-actions[bot]
571217b2ab8Sgithub-actions[bot]## [0.2.157](https://github.com/rust-lang/libc/compare/0.2.156...0.2.157) - 2024-08-17
572217b2ab8Sgithub-actions[bot]
57351d81e3bSTrevor Gross### Added
57451d81e3bSTrevor Gross
57551d81e3bSTrevor Gross- Apple: add `_NSGetArgv`, `_NSGetArgc` and `_NSGetProgname` in <https://github.com/rust-lang/libc/pull/3702>
57651d81e3bSTrevor Gross- Build: add `RUSTC_WRAPPER` support in <https://github.com/rust-lang/libc/pull/3845>
57751d81e3bSTrevor Gross- FreeBSD: add `execvpe` support from 14.1 release in <https://github.com/rust-lang/libc/pull/3745>
57851d81e3bSTrevor Gross- Fuchsia: add `SO_BINDTOIFINDEX`
57951d81e3bSTrevor Gross- Linux: add `klogctl` in <https://github.com/rust-lang/libc/pull/3777>
58051d81e3bSTrevor Gross- MacOS: add `fcntl` OFD commands in <https://github.com/rust-lang/libc/pull/3563>
58151d81e3bSTrevor Gross- NetBSD: add `_lwp_park` in <https://github.com/rust-lang/libc/pull/3721>
58251d81e3bSTrevor Gross- Solaris: add missing networking support in <https://github.com/rust-lang/libc/pull/3717>
58351d81e3bSTrevor Gross- Unix: add `pthread_equal` in <https://github.com/rust-lang/libc/pull/3773>
58451d81e3bSTrevor Gross- WASI: add `select`, `FD_SET`, `FD_ZERO`, `FD_ISSET ` in <https://github.com/rust-lang/libc/pull/3681>
58551d81e3bSTrevor Gross
58651d81e3bSTrevor Gross### Fixed
58751d81e3bSTrevor Gross- TEEOS: fix octal notation for `O_*` constants in <https://github.com/rust-lang/libc/pull/3841>
58851d81e3bSTrevor Gross
58951d81e3bSTrevor Gross### Changed
59051d81e3bSTrevor Gross- FreeBSD: always use freebsd12 when `rustc_dep_of_std` is set in <https://github.com/rust-lang/libc/pull/3723>
591217b2ab8Sgithub-actions[bot]
592a3c367c3STrevor Gross## [0.2.156](https://github.com/rust-lang/libc/compare/v0.2.155...v0.2.156) - 2024-08-15
5934789ece9Sgithub-actions[bot]
5944789ece9Sgithub-actions[bot]### Added
595dfe2e6f5STrevor Gross- Apple: add `F_ALLOCATEPERSIST` in <https://github.com/rust-lang/libc/pull/3712>
596dfe2e6f5STrevor Gross- Apple: add `os_sync_wait_on_address` and related definitions in <https://github.com/rust-lang/libc/pull/3769>
597dfe2e6f5STrevor Gross- BSD: generalise `IPV6_DONTFRAG` to all BSD targets in <https://github.com/rust-lang/libc/pull/3716>
598dfe2e6f5STrevor Gross- FreeBSD/DragonFly: add `IP_RECVTTL`/`IPV6_RECVHOPLIMIT` in <https://github.com/rust-lang/libc/pull/3751>
599dfe2e6f5STrevor Gross- Hurd: add `XATTR_CREATE`, `XATTR_REPLACE` in <https://github.com/rust-lang/libc/pull/3739>
600dfe2e6f5STrevor Gross- Linux GNU: `confstr` API and `_CS_*` in <https://github.com/rust-lang/libc/pull/3771>
601dfe2e6f5STrevor Gross- Linux musl: add `preadv2` and `pwritev2` (1.2.5 min.) in <https://github.com/rust-lang/libc/pull/3762>
602dfe2e6f5STrevor Gross- VxWorks: add the constant `SOMAXCONN` in <https://github.com/rust-lang/libc/pull/3761>
603dfe2e6f5STrevor Gross- VxWorks: add a few errnoLib related constants in <https://github.com/rust-lang/libc/pull/3780>
6044789ece9Sgithub-actions[bot]
6054789ece9Sgithub-actions[bot]### Fixed
606dfe2e6f5STrevor Gross- Solaris/illumos: Change `ifa_flags` type to u64 in <https://github.com/rust-lang/libc/pull/3729>
607dfe2e6f5STrevor Gross- QNX 7.0: Disable `libregex` in <https://github.com/rust-lang/libc/pull/3775>
608a3c367c3STrevor Gross
609a3c367c3STrevor Gross### Changed
610dfe2e6f5STrevor Gross- QNX NTO: update platform support in <https://github.com/rust-lang/libc/pull/3815>
611dfe2e6f5STrevor Gross- `addr_of!(EXTERN_STATIC)` is now considered safe in <https://github.com/rust-lang/libc/pull/3776>
612a3c367c3STrevor Gross
613a3c367c3STrevor Gross### Removed
614dfe2e6f5STrevor Gross- Apple: remove `rmx_state` in <https://github.com/rust-lang/libc/pull/3776>
6154789ece9Sgithub-actions[bot]
6164789ece9Sgithub-actions[bot]### Other
617a3c367c3STrevor Gross- Update or remove CI tests that have been failing
618