rust-lang / libc

Raw bindings to platform APIs for Rust
https://docs.rs/libc
Apache License 2.0
2.1k stars 1.04k forks source link

chore: release v0.2.165 #4085

Closed github-actions[bot] closed 7 hours ago

github-actions[bot] commented 1 week ago

🤖 New release

Changelog

## [0.2.165](https://github.com/rust-lang/libc/compare/0.2.164...0.2.165) - 2024-11-25 ### Added - Add struct and constants for mount_setattr syscall - add `ptp_clock_caps` - add `ptp_pin_function` and most `PTP_` constants - add various `ptp_*` structs - Add another `deprecated` attribute for something removed in `main` - Add another note about why `main` and `libc-0.2` differ - Add MAP_32BIT and MAP_EXCL ([#4127](https://github.com/rust-lang/libc/pulls/4127)) - add definition for _POSIX_VDISABLE ([#4103](https://github.com/rust-lang/libc/pulls/4103)) - Add domainname field to utsname ([#4089](https://github.com/rust-lang/libc/pulls/4089)) - adding aligned_alloc support for unixes. - adding few android api 30 calls. - Add htonl, htons, ntohl, ntohs - added wireless struct and constants to Linux. - adding in6_ifreq to apple. - add missing netfilter consts ([#3734](https://github.com/rust-lang/libc/pulls/3734)) ### Changed - Change from `$(,)?` to `$(,)*` for ctest ### Fixed - Fix the tests on riscv64gc-unknown-freebsd - Fix MAP_HASSEMAPHORE name ([#4127](https://github.com/rust-lang/libc/pulls/4127)) - Fix libc-tests for loongarch64-linux-musl - Fix warning - fix some typos ([#3664](https://github.com/rust-lang/libc/pulls/3664)) ### Other - Update `release-plz` to make use of backport links for the changelog - Expose len8_dlc field of can_frame struct on Linux - Rename fields to match musl headers ([#3261](https://github.com/rust-lang/libc/pulls/3261)) - Unify definitions of statfs and statfs64 ([#3261](https://github.com/rust-lang/libc/pulls/3261)) - Unify definitions of statvfs and statvfs64 ([#3261](https://github.com/rust-lang/libc/pulls/3261)) - Unify definitions of `siginfo_t` ([#3261](https://github.com/rust-lang/libc/pulls/3261)) - Reorganize some statfs-related types for a cleaner diff ([#3261](https://github.com/rust-lang/libc/pulls/3261)) - Unify statx definitions ([#3978](https://github.com/rust-lang/libc/pulls/3978)) - Run `cargo fmt` with the new configuration - Allow rustfmt to organize imports ([#4136](https://github.com/rust-lang/libc/pulls/4136)) - move changes to `src/unix/linux_like/linux/mod.rs` - update/add missing AF_XDP structs & constants - Reorder items to be more similar to `main` - Reorder a struct that was in a different location on `main` - fixed SA_* mismatched types ([#3211](https://github.com/rust-lang/libc/pulls/3211)) - netbsd adding mcontext related data for riscv64 - Use `./` with shebangs rather than `sh` or `bash` ([#4124](https://github.com/rust-lang/libc/pulls/4124)) - Support mkostemp, mkostemps on Android - Introduce a git-blame-ignore-revs file - Apply formatting to macro bodies - Use some tricks to format macro bodies ([#4107](https://github.com/rust-lang/libc/pulls/4107)) - Adjust the `f!` macro to be more flexible - Mark `mach_task_self` as deprecated - Merge pull request [#4101](https://github.com/rust-lang/libc/pull/4101) from tgross35/backport-lentils - Merge pull request [#4097](https://github.com/rust-lang/libc/pull/4097) from tgross35/mach-deprecated - Clean up wasi-libc module doc comment - wasi-libc comment about `libc.a` restriction - Sync more files with `main` to reduce the diff - Small syncs from `main` to `libc-0.2` - Use `#[derive]` for `Copy`/`Clone` in `s!` and friends. - utmpx api for linux musl. - linux elf relocation related structs addition. - freebsd kcmp call support. - Apply small fixes to sync `main` and `libc-0.2` build and test - Merge pull request [#4064](https://github.com/rust-lang/libc/pull/4064) from tgross35/remove-cfg-underscore-const-names - Drop the `libc_const_extern_fn` conditional - Merge pull request [#4078](https://github.com/rust-lang/libc/pull/4078) from tgross35/posix-spawn-diff-indicators - Take documentation from `main` - Drop the `ptr_addr_of` conditional - Require rust >= 1.40 and drop libc_non_exhaustive conditional - Require rust >= 1.33 and drop libc_cfg_target_vendor conditional - Require rust >= 1.33 and drop libc_packedN conditional - Require rust >= 1.30 and drop libc_core_cvoid conditional - Require rust >= 1.26 and drop libc_int128 conditional - Drop warnings about deprecated cargo features - Require rust >= 1.25 and drop libc_align conditional - Explicitly set the edition to 2015 ### Removed - Remove redundant definitions ([#3261](https://github.com/rust-lang/libc/pulls/3261)) - Remove redundant definitions ([#3261](https://github.com/rust-lang/libc/pulls/3261)) - remove `if_family_id` ([#4137](https://github.com/rust-lang/libc/pulls/4137))


This PR was generated with release-plz.

rustbot commented 1 week ago

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate: