Skip to content

Commit 0928922

Browse files
github-actions[bot]tgross35
andcommittedNov 25, 2024
chore: release v0.2.165
Co-authored-by: Trevor Gross <[email protected]>
1 parent 84fdcde commit 0928922

File tree

3 files changed

+113
-2
lines changed

3 files changed

+113
-2
lines changed
 

‎CHANGELOG.md

+111
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,117 @@
11
# Changelog
22

33
## [Unreleased]
4+
## [0.2.165](https://github.com/rust-lang/libc/compare/0.2.164...0.2.165) - 2024-11-25
5+
6+
### Added
7+
8+
- Android: add `mkostemp`, `mkostemps` <https://github.com/rust-lang/libc/pull/3601>
9+
- Android: add a few API 30 calls <https://github.com/rust-lang/libc/pull/3604>
10+
- Android: add missing syscall constants <https://github.com/rust-lang/libc/pull/3558>
11+
- Apple: add `in6_ifreq` <https://github.com/rust-lang/libc/pull/3617>
12+
- 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)))
13+
- Freebsd: add `kcmp` call support <https://github.com/rust-lang/libc/pull/3746>
14+
- Hurd: add `MAP_32BIT` and `MAP_EXCL` <https://github.com/rust-lang/libc/pull/4127>
15+
- Hurd: add `domainname` field to `utsname` ([#4089](https://github.com/rust-lang/libc/pulls/4089))
16+
- Linux GNU: add `f_flags` to struct `statfs` for arm, mips, powerpc and x86 <https://github.com/rust-lang/libc/pull/3663>
17+
- Linux GNU: add `malloc_stats` <https://github.com/rust-lang/libc/pull/3596>
18+
- Linux: add ELF relocation-related structs <https://github.com/rust-lang/libc/pull/3583>
19+
- Linux: add `ptp_*` structs <https://github.com/rust-lang/libc/pull/4113>
20+
- Linux: add `ptp_clock_caps` <https://github.com/rust-lang/libc/pull/4128>
21+
- Linux: add `ptp_pin_function` and most `PTP_` constants <https://github.com/rust-lang/libc/pull/4114>
22+
- Linux: add missing AF_XDP structs & constants <https://github.com/rust-lang/libc/pull/3956>
23+
- Linux: add missing netfilter consts ([#3734](https://github.com/rust-lang/libc/pulls/3734))
24+
- Linux: add struct and constants for the `mount_setattr` syscall <https://github.com/rust-lang/libc/pull/4046>
25+
- Linux: add wireless API <https://github.com/rust-lang/libc/pull/3441>
26+
- Linux: expose the `len8_dlc` field of `can_frame` <https://github.com/rust-lang/libc/pull/3357>
27+
- Musl: add `utmpx` API <https://github.com/rust-lang/libc/pull/3213>
28+
- Musl: add missing syscall constants <https://github.com/rust-lang/libc/pull/4028>
29+
- NetBSD: add `mcontext`-related data for RISCV64 <https://github.com/rust-lang/libc/pull/3468>
30+
- Redox: add new `netinet` constants <https://github.com/rust-lang/libc/pull/3586>)
31+
- Solarish: add `_POSIX_VDISABLE` ([#4103](https://github.com/rust-lang/libc/pulls/4103))
32+
- Tests: Add a test that the `const extern fn` macro works <https://github.com/rust-lang/libc/pull/4134>
33+
- Tests: Add test of primitive types against `std` <https://github.com/rust-lang/libc/pull/3616>
34+
- Unix: Add `htonl`, `htons`, `ntohl`, `ntohs` <https://github.com/rust-lang/libc/pull/3669>
35+
- Unix: add `aligned_alloc` <https://github.com/rust-lang/libc/pull/3843>
36+
- Windows: add `aligned_realloc` <https://github.com/rust-lang/libc/pull/3592>
37+
38+
### Fixed
39+
40+
- **breaking** Hurd: fix `MAP_HASSEMAPHORE` name ([#4127](https://github.com/rust-lang/libc/pulls/4127))
41+
- **breaking** ulibc Mips: fix `SA_*` mismatched types ([#3211](https://github.com/rust-lang/libc/pulls/3211))
42+
- Aix: fix an enum FFI safety warning <https://github.com/rust-lang/libc/pull/3644>
43+
- Haiku: fix some typos ([#3664](https://github.com/rust-lang/libc/pulls/3664))
44+
- Tests: fix `Elf{32,64}_Relr`-related tests <https://github.com/rust-lang/libc/pull/3647>
45+
- Tests: fix libc-tests for `loongarch64-linux-musl`
46+
- Tests: fix some clippy warnings <https://github.com/rust-lang/libc/pull/3855>
47+
- Tests: fix tests on `riscv64gc-unknown-freebsd` <https://github.com/rust-lang/libc/pull/4129>
48+
49+
### Deprecated
50+
51+
- Apple: deprecate `iconv_open` <https://github.com/rust-lang/libc/commit/25e022a22eca3634166ef472b748c297e60fcf7f>
52+
- Apple: deprecate `mach_task_self` <https://github.com/rust-lang/libc/pull/4095>
53+
- Apple: update `mach` deprecation notices for things that were removed in `main` <https://github.com/rust-lang/libc/pull/4097>
54+
55+
### Cleanup
56+
57+
- Adjust the `f!` macro to be more flexible <https://github.com/rust-lang/libc/pull/4107>
58+
- Aix: remove duplicate constants <https://github.com/rust-lang/libc/pull/3643>
59+
- CI: make scripts more uniform <https://github.com/rust-lang/libc/pull/4042>
60+
- Drop the `libc_align` conditional <https://github.com/rust-lang/libc/commit/b5b553d0ee7de0d4781432a9a9a0a6445dd7f34f>
61+
- Drop the `libc_cfg_target_vendor` conditional <https://github.com/rust-lang/libc/pull/4060>
62+
- Drop the `libc_const_size_of` conditional <https://github.com/rust-lang/libc/commit/5a43dd2754366f99b3a83881b30246ce0e51833c>
63+
- Drop the `libc_core_cvoid` conditional <https://github.com/rust-lang/libc/pull/4060>
64+
- Drop the `libc_int128` conditional <https://github.com/rust-lang/libc/pull/4060>
65+
- Drop the `libc_non_exhaustive` conditional <https://github.com/rust-lang/libc/pull/4060>
66+
- Drop the `libc_packedN` conditional <https://github.com/rust-lang/libc/pull/4060>
67+
- Drop the `libc_priv_mod_use` conditional <https://github.com/rust-lang/libc/commit/19c59376d11b015009fb9b04f233a30a1bf50a91>
68+
- Drop the `libc_union` conditional <https://github.com/rust-lang/libc/commit/b9e4d8012f612dfe24147da3e69522763f92b6e3>
69+
- Drop the `long_array` conditional <https://github.com/rust-lang/libc/pull/4096>
70+
- Drop the `ptr_addr_of` conditional <https://github.com/rust-lang/libc/pull/4065>
71+
- Drop warnings about deprecated cargo features <https://github.com/rust-lang/libc/pull/4060>
72+
- Eliminate uses of `struct_formatter` <https://github.com/rust-lang/libc/pull/4074>
73+
- Fix a few other array size hacks <https://github.com/rust-lang/libc/commit/d63be8b69b0736753213f5d933767866a5801ee7>
74+
- Glibc: remove redundant definitions ([#3261](https://github.com/rust-lang/libc/pulls/3261))
75+
- Musl: remove redundant definitions ([#3261](https://github.com/rust-lang/libc/pulls/3261))
76+
- Musl: unify definitions of `siginfo_t` ([#3261](https://github.com/rust-lang/libc/pulls/3261))
77+
- Musl: unify definitions of statfs and statfs64 ([#3261](https://github.com/rust-lang/libc/pulls/3261))
78+
- Musl: unify definitions of statvfs and statvfs64 ([#3261](https://github.com/rust-lang/libc/pulls/3261))
79+
- Musl: unify statx definitions ([#3978](https://github.com/rust-lang/libc/pulls/3978))
80+
- Remove array size hacks for Rust < 1.47 <https://github.com/rust-lang/libc/commit/27ee6fe02ca0848b2af3cd747536264e4c7b697d>
81+
- Remove repetitive words <https://github.com/rust-lang/libc/commit/77de375891285e18a81616f7dceda6d52732eed6>
82+
- Use #[derive] for Copy/Clone in s! and friends <https://github.com/rust-lang/libc/pull/4038>
83+
- Use some tricks to format macro bodies <https://github.com/rust-lang/libc/pull/4107>
84+
85+
### Other
86+
87+
- Apply formatting to macro bodies <https://github.com/rust-lang/libc/pull/4107>
88+
- Bump libc-test to Rust 2021 Edition <https://github.com/rust-lang/libc/pull/3905>
89+
- CI: Add a check that semver files don't contain duplicate entries <https://github.com/rust-lang/libc/pull/4087>
90+
- CI: Add `fanotify_event_info_fid` to FAM-exempt types <https://github.com/rust-lang/libc/pull/4038>
91+
- CI: Allow rustfmt to organize imports ([#4136](https://github.com/rust-lang/libc/pulls/4136))
92+
- CI: Always run rustfmt <https://github.com/rust-lang/libc/pull/4120>
93+
- CI: Change 32-bit Docker images to use EOL repos <https://github.com/rust-lang/libc/pull/4120>
94+
- CI: Change 64-bit Docker images to ubuntu:24.10 <https://github.com/rust-lang/libc/pull/4120>
95+
- CI: Disable the check for >1 s! invocation <https://github.com/rust-lang/libc/pull/4107>
96+
- CI: Ensure build channels get run even if FILTER is unset <https://github.com/rust-lang/libc/pull/4125>
97+
- CI: Ensure there is a fallback for no_std <https://github.com/rust-lang/libc/pull/4125>
98+
- CI: Fix cases where unset variables cause errors <https://github.com/rust-lang/libc/pull/4108>
99+
- CI: Naming adjustments and cleanup <https://github.com/rust-lang/libc/pull/4124>
100+
- CI: Only invoke rustup if running in CI <https://github.com/rust-lang/libc/pull/4107>
101+
- CI: Remove the logic to handle old rust versions <https://github.com/rust-lang/libc/pull/4068>
102+
- CI: Set -u (error on unset) in all script files <https://github.com/rust-lang/libc/pull/4108>
103+
- CI: add support for `loongarch64-unknown-linux-musl` <https://github.com/rust-lang/libc/pull/4092>
104+
- CI: make `aarch64-apple-darwin` not a nightly-only target <https://github.com/rust-lang/libc/pull/4068>
105+
- CI: run shellcheck on all scripts <https://github.com/rust-lang/libc/pull/4042>
106+
- CI: update musl headers to Linux 6.6 <https://github.com/rust-lang/libc/pull/3921>
107+
- CI: use qemu-sparc64 to run sparc64 tests <https://github.com/rust-lang/libc/pull/4133>
108+
- Drop the `libc_const_extern_fn` conditional <https://github.com/rust-lang/libc/commit/674cc1f47f605038ef1aa2cce8e8bc9dac128276>
109+
- Drop the `libc_underscore_const_names` conditional <https://github.com/rust-lang/libc/commit/f0febd5e2e50b38e05259d3afad3c9783711bcf0>
110+
- Explicitly set the edition to 2015 <https://github.com/rust-lang/libc/pull/4058>
111+
- Introduce a `git-blame-ignore-revs` file <https://github.com/rust-lang/libc/pull/4107>
112+
- Tests: Ignore fields as required on Ubuntu 24.10 <https://github.com/rust-lang/libc/pull/4120>
113+
- Tests: skip `ATF_*` constants for OpenBSD <https://github.com/rust-lang/libc/pull/4088>
114+
- Triagebot: Add an autolabel for CI <https://github.com/rust-lang/libc/pull/4052>
4115

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

‎Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libc"
3-
version = "0.2.164"
3+
version = "0.2.165"
44
authors = ["The Rust Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"

‎libc-test/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A test crate for the libc crate.
1414

1515
[dependencies.libc]
1616
path = ".."
17-
version = "0.2.164"
17+
version = "0.2.165"
1818
default-features = false
1919

2020
[build-dependencies]

0 commit comments

Comments
 (0)