diff --git a/CHANGELOG.md b/CHANGELOG.md index 01c340acaa11..55e2456ce2ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,49 @@ ## [Unreleased] +## [0.2.160](https://github.com/rust-lang/libc/compare/0.2.159...0.2.160) - 2024-10-16 + +### Added + +- move NT_XXX constants defined in elf.h to linux/mod.rs ([#3938](https://github.com/rust-lang/libc/pull/3938)) + +### Fixed + +- Update ESP-IDF structs +- Update ESP-IDF constants + +### Other + +- VxWorks Sched_param renamed, pthread functions and constants added +- unbreak OpenBSD after [#3714](https://github.com/rust-lang/libc/pull/3714) by properly define RTF_FMASK +- [solarish/freebsd] add a few missing constants and functions +- Add RTF_*, RTA_*, RTAX_*, RTM_* definitions on BSDs +- adding new illumos ptsname_r call. +- Make vxworks functions public and add Risc-V targets +- Add missing definitions on NetBSD ([#3927](https://github.com/rust-lang/libc/pull/3927)) +- Add getentropy to RTEMS +- [musl] add posix_spawn chdir functions +- arc4random api for haiku +- fcntl add F_TRANSFEREXTENTS for macos. +- Add mach_error_string (and mach_error_t) ([#3913](https://github.com/rust-lang/libc/pull/3913)) +- Add `getgrgid`, `getgrnam`, `getgrnam_r` and `getgrgid_r` for emscripten ([#3912](https://github.com/rust-lang/libc/pull/3912)) +- *(Apple)* Add the LOCAL_PEERTOKEN socket option ([#3929](https://github.com/rust-lang/libc/pull/3929)) +- Added PR_GET_NAME and PR_SET_NAME ([#3941](https://github.com/rust-lang/libc/pull/3941)) +- Add `AT_EACCESS` to emscripten ([#3911](https://github.com/rust-lang/libc/pull/3911)) +- Initial support for NuttX ([#3909](https://github.com/rust-lang/libc/pull/3909)) +- Add missing musl utmpx.h constants +- Add port for RTEMS +- Add additional `pthread` APIs +- Add iopl/ioperm to musl x86_64 +- Add `getpwnam_r`, `getpwuid_r` to emscripten ([#3906](https://github.com/rust-lang/libc/pull/3906)) +- Link windows-sys crate ([#3915](https://github.com/rust-lang/libc/pull/3915)) +- Make ino_t be c_ulonglong ([#3919](https://github.com/rust-lang/libc/pull/3919)) +- adding a handful of linux fanotify data types. +- adding tcp_info struct to linux musl/glibc. +- Add additional Linux AF_PACKET options ([#3540](https://github.com/rust-lang/libc/pull/3540)) +- Fix CI for FreeBSD 15, on libc-0.2 branch ([#3952](https://github.com/rust-lang/libc/pull/3952)) +- Fix "struct stat" on 32-bit FreeBSD 12+ ([#3939](https://github.com/rust-lang/libc/pull/3939)) + ## [0.2.159](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159) - 2024-09-24 ### Added diff --git a/Cargo.toml b/Cargo.toml index 825e29661894..868543ca0874 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libc" -version = "0.2.159" +version = "0.2.160" authors = ["The Rust Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/libc-test/Cargo.toml b/libc-test/Cargo.toml index 8f25c7f2ca9d..70b256dfce73 100644 --- a/libc-test/Cargo.toml +++ b/libc-test/Cargo.toml @@ -14,7 +14,7 @@ A test crate for the libc crate. [dependencies.libc] path = ".." -version = "0.2.159" +version = "0.2.160" default-features = false [build-dependencies]