Skip to content

Commit

Permalink
chore: release v0.2.165
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 25, 2024
1 parent 84fdcde commit 387a909
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 2 deletions.
87 changes: 87 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,93 @@
# Changelog

## [Unreleased]
## [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))

## [0.2.164](https://github.com/rust-lang/libc/compare/0.2.163...0.2.164) - 2024-11-16

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libc"
version = "0.2.164"
version = "0.2.165"
authors = ["The Rust Project Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion libc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A test crate for the libc crate.

[dependencies.libc]
path = ".."
version = "0.2.164"
version = "0.2.165"
default-features = false

[build-dependencies]
Expand Down

0 comments on commit 387a909

Please sign in to comment.