Skip to content

Commit 01483ca

Browse files
chore: release v0.2.165
1 parent d0b90ea commit 01483ca

File tree

3 files changed

+80
-2
lines changed

3 files changed

+80
-2
lines changed

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,84 @@
22

33
## [Unreleased]
44

5+
## [0.2.165](https://github.com/rust-lang/libc/compare/0.2.164...0.2.165) - 2024-11-25
6+
7+
### Added
8+
9+
- add missing netfilter consts
10+
11+
### Other
12+
13+
- Expose len8_dlc field of can_frame struct on Linux
14+
- Remove redundant definitions
15+
- Rename fields to match musl headers
16+
- Remove redundant definitions
17+
- Unify definitions of statfs and statfs64
18+
- Unify definitions of statvfs and statvfs64
19+
- Unify definitions of `siginfo_t`
20+
- Reorganize some statfs-related types for a cleaner diff
21+
- remove `if_family_id`
22+
- Unify statx definitions
23+
- Run `cargo fmt` with the new configuration
24+
- Allow rustfmt to organize imports
25+
- Add struct and constants for mount_setattr syscall
26+
- add `ptp_clock_caps`
27+
- move changes to `src/unix/linux_like/linux/mod.rs`
28+
- update/add missing AF_XDP structs & constants
29+
- add `ptp_pin_function` and most `PTP_` constants
30+
- add various `ptp_*` structs
31+
- Reorder items to be more similar to `main`
32+
- Reorder a struct that was in a different location on `main`
33+
- Add another `deprecated` attribute for something removed in `main`
34+
- Add another note about why `main` and `libc-0.2` differ
35+
- Fix the tests on riscv64gc-unknown-freebsd
36+
- Add MAP_32BIT and MAP_EXCL
37+
- Fix MAP_HASSEMAPHORE name
38+
- fixed SA_* mismatched types
39+
- netbsd adding mcontext related data for riscv64
40+
- Use `./` with shebangs rather than `sh` or `bash`
41+
- Support mkostemp, mkostemps on Android
42+
- Change from `$(,)?` to `$(,)*` for ctest
43+
- add definition for _POSIX_VDISABLE
44+
- Fix libc-tests for loongarch64-linux-musl
45+
- Add domainname field to utsname
46+
- Introduce a git-blame-ignore-revs file
47+
- Apply formatting to macro bodies
48+
- Use some tricks to format macro bodies
49+
- Adjust the `f!` macro to be more flexible
50+
- Mark `mach_task_self` as deprecated
51+
- Merge pull request [#4101](https://github.com/rust-lang/libc/pull/4101) from tgross35/backport-lentils
52+
- Merge pull request [#4097](https://github.com/rust-lang/libc/pull/4097) from tgross35/mach-deprecated
53+
- Clean up wasi-libc module doc comment
54+
- wasi-libc comment about `libc.a` restriction
55+
- Sync more files with `main` to reduce the diff
56+
- Fix warning
57+
- Small syncs from `main` to `libc-0.2`
58+
- adding aligned_alloc support for unixes.
59+
- adding few android api 30 calls.
60+
- Use `#[derive]` for `Copy`/`Clone` in `s!` and friends.
61+
- Add htonl, htons, ntohl, ntohs
62+
- added wireless struct and constants to Linux.
63+
- utmpx api for linux musl.
64+
- linux elf relocation related structs addition.
65+
- adding in6_ifreq to apple.
66+
- freebsd kcmp call support.
67+
- Apply small fixes to sync `main` and `libc-0.2` build and test
68+
- Merge pull request [#4064](https://github.com/rust-lang/libc/pull/4064) from tgross35/remove-cfg-underscore-const-names
69+
- Drop the `libc_const_extern_fn` conditional
70+
- Merge pull request [#4078](https://github.com/rust-lang/libc/pull/4078) from tgross35/posix-spawn-diff-indicators
71+
- Take documentation from `main`
72+
- fix some typos
73+
- Drop the `ptr_addr_of` conditional
74+
- Require rust >= 1.40 and drop libc_non_exhaustive conditional
75+
- Require rust >= 1.33 and drop libc_cfg_target_vendor conditional
76+
- Require rust >= 1.33 and drop libc_packedN conditional
77+
- Require rust >= 1.30 and drop libc_core_cvoid conditional
78+
- Require rust >= 1.26 and drop libc_int128 conditional
79+
- Drop warnings about deprecated cargo features
80+
- Require rust >= 1.25 and drop libc_align conditional
81+
- Explicitly set the edition to 2015
82+
583
## [0.2.164](https://github.com/rust-lang/libc/compare/0.2.163...0.2.164) - 2024-11-16
684

785
### MSRV

Cargo.toml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)