Skip to content

Commit 77b3ea4

Browse files
committed
Sync Cargo.toml and changelog from libc-0.2
1 parent 6d62eaf commit 77b3ea4

File tree

3 files changed

+220
-7
lines changed

3 files changed

+220
-7
lines changed

CHANGELOG.md

+214
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
## [0.2.164](https://github.com/rust-lang/libc/compare/0.2.163...0.2.164) - 2024-11-16
6+
7+
### MSRV
8+
9+
This release increases the MSRV of `libc` to 1.63.
10+
11+
### Other
12+
13+
- CI: remove tests with rust < 1.63 <https://github.com/rust-lang/libc/pull/4051>
14+
- MSRV: document the MSRV of the stable channel to be 1.63 <https://github.com/rust-lang/libc/pull/4040>
15+
- MacOS: move ifconf to s_no_extra_traits <https://github.com/rust-lang/libc/pull/4051>
16+
17+
## [0.2.163](https://github.com/rust-lang/libc/compare/0.2.162...0.2.163) - 2024-11-16
18+
19+
### Added
20+
21+
- Aix: add more `dlopen` flags <https://github.com/rust-lang/libc/pull/4044>
22+
- Android: add group calls <https://github.com/rust-lang/libc/pull/3499>
23+
- FreeBSD: add `TCP_FUNCTION_BLK` and `TCP_FUNCTION_ALIAS` <https://github.com/rust-lang/libc/pull/4047>
24+
- Linux: add `confstr` <https://github.com/rust-lang/libc/pull/3612>
25+
- Solarish: add `aio` <https://github.com/rust-lang/libc/pull/4033>
26+
- Solarish: add `arc4random*` <https://github.com/rust-lang/libc/pull/3944>
27+
28+
### Changed
29+
30+
- Emscripten: upgrade emsdk to 3.1.68 <https://github.com/rust-lang/libc/pull/3962>
31+
- Hurd: use more standard types <https://github.com/rust-lang/libc/pull/3733>
32+
- Hurd: use the standard `ssize_t = isize` <https://github.com/rust-lang/libc/pull/4029>
33+
- Solaris: fix `confstr` and `ucontext_t` <https://github.com/rust-lang/libc/pull/4035>
34+
35+
### Other
36+
37+
- CI: add Solaris <https://github.com/rust-lang/libc/pull/4035>
38+
- CI: add `i686-unknown-freebsd` <https://github.com/rust-lang/libc/pull/3997>
39+
- CI: ensure that calls to `sort` do not depend on locale <https://github.com/rust-lang/libc/pull/4026>
40+
- Specify `rust-version` in `Cargo.toml` <https://github.com/rust-lang/libc/pull/4041>
41+
42+
## [0.2.162](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162) - 2024-11-07
43+
44+
### Added
45+
46+
- Android: fix the alignment of `uc_mcontext` on arm64 <https://github.com/rust-lang/libc/pull/3894>
47+
- Apple: add `host_cpu_load_info` <https://github.com/rust-lang/libc/pull/3916>
48+
- ESP-IDF: add a time flag <https://github.com/rust-lang/libc/pull/3993>
49+
- FreeBSD: add the `CLOSE_RANGE_CLOEXEC` flag<https://github.com/rust-lang/libc/pull/3996>
50+
- FreeBSD: fix test errors regarding `__gregset_t` <https://github.com/rust-lang/libc/pull/3995>
51+
- FreeBSD: fix tests on x86 FreeBSD 15 <https://github.com/rust-lang/libc/pull/3948>
52+
- FreeBSD: make `ucontext_t` and `mcontext_t` available on all architectures <https://github.com/rust-lang/libc/pull/3848>
53+
- Haiku: add `getentropy` <https://github.com/rust-lang/libc/pull/3991>
54+
- Illumos: add `syncfs` <https://github.com/rust-lang/libc/pull/3990>
55+
- Illumos: add some recently-added constants <https://github.com/rust-lang/libc/pull/3999>
56+
- Linux: add `ioctl` flags <https://github.com/rust-lang/libc/pull/3960>
57+
- Linux: add epoll busy polling parameters <https://github.com/rust-lang/libc/pull/3922>
58+
- NuttX: add `pthread_[get/set]name_np` <https://github.com/rust-lang/libc/pull/4003>
59+
- RTEMS: add `arc4random_buf` <https://github.com/rust-lang/libc/pull/3989>
60+
- Trusty OS: add initial support <https://github.com/rust-lang/libc/pull/3942>
61+
- WASIp2: expand socket support <https://github.com/rust-lang/libc/pull/3981>
62+
63+
### Fixed
64+
65+
- Emscripten: don't pass `-lc` <https://github.com/rust-lang/libc/pull/4002>
66+
- Hurd: change `st_fsid` field to `st_dev` <https://github.com/rust-lang/libc/pull/3785>
67+
- Hurd: fix the definition of `utsname` <https://github.com/rust-lang/libc/pull/3992>
68+
- Illumos/Solaris: fix `FNM_CASEFOLD` definition <https://github.com/rust-lang/libc/pull/4004>
69+
- Solaris: fix all tests <https://github.com/rust-lang/libc/pull/3864>
70+
71+
### Other
72+
73+
- CI: Add loongarch64 <https://github.com/rust-lang/libc/pull/4000>
74+
- CI: Check that semver files are sorted <https://github.com/rust-lang/libc/pull/4018>
75+
- CI: Re-enable the FreeBSD 15 job <https://github.com/rust-lang/libc/pull/3988>
76+
- Clean up imports and `extern crate` usage <https://github.com/rust-lang/libc/pull/3897>
77+
- Convert `mode_t` constants to octal <https://github.com/rust-lang/libc/pull/3634>
78+
- Remove the `wasm32-wasi` target that has been deleted upstream <https://github.com/rust-lang/libc/pull/4013>
79+
80+
## [0.2.161](https://github.com/rust-lang/libc/compare/0.2.160...0.2.161) - 2024-10-17
81+
82+
### Fixed
83+
84+
- OpenBSD: fix `FNM_PATHNAME` and `FNM_NOESCAPE` values <https://github.com/rust-lang/libc/pull/3983>
85+
86+
## [0.2.160](https://github.com/rust-lang/libc/compare/0.2.159...0.2.160) - 2024-10-17
87+
88+
### Added
89+
90+
- Android: add `PR_GET_NAME` and `PR_SET_NAME` <https://github.com/rust-lang/libc/pull/3941>
91+
- Apple: add `F_TRANSFEREXTENTS` <https://github.com/rust-lang/libc/pull/3925>
92+
- Apple: add `mach_error_string` <https://github.com/rust-lang/libc/pull/3913>
93+
- Apple: add additional `pthread` APIs <https://github.com/rust-lang/libc/pull/3846>
94+
- Apple: add the `LOCAL_PEERTOKEN` socket option <https://github.com/rust-lang/libc/pull/3929>
95+
- BSD: add `RTF_*`, `RTA_*`, `RTAX_*`, and `RTM_*` definitions <https://github.com/rust-lang/libc/pull/3714>
96+
- Emscripten: add `AT_EACCESS` <https://github.com/rust-lang/libc/pull/3911>
97+
- Emscripten: add `getgrgid`, `getgrnam`, `getgrnam_r` and `getgrgid_r` <https://github.com/rust-lang/libc/pull/3912>
98+
- Emscripten: add `getpwnam_r` and `getpwuid_r` <https://github.com/rust-lang/libc/pull/3906>
99+
- FreeBSD: add `POLLRDHUP` <https://github.com/rust-lang/libc/pull/3936>
100+
- Haiku: add `arc4random` <https://github.com/rust-lang/libc/pull/3945>
101+
- Illumos: add `ptsname_r` <https://github.com/rust-lang/libc/pull/3867>
102+
- Linux: add `fanotify` interfaces <https://github.com/rust-lang/libc/pull/3695>
103+
- Linux: add `tcp_info` <https://github.com/rust-lang/libc/pull/3480>
104+
- Linux: add additional AF_PACKET options <https://github.com/rust-lang/libc/pull/3540>
105+
- Linux: make Elf constants always available <https://github.com/rust-lang/libc/pull/3938>
106+
- Musl x86: add `iopl` and `ioperm` <https://github.com/rust-lang/libc/pull/3720>
107+
- Musl: add `posix_spawn` chdir functions <https://github.com/rust-lang/libc/pull/3949>
108+
- Musl: add `utmpx.h` constants <https://github.com/rust-lang/libc/pull/3908>
109+
- NetBSD: add `sysctlnametomib`, `CLOCK_THREAD_CPUTIME_ID` and `CLOCK_PROCESS_CPUTIME_ID` <https://github.com/rust-lang/libc/pull/3927>
110+
- Nuttx: initial support <https://github.com/rust-lang/libc/pull/3909>
111+
- RTEMS: add `getentropy` <https://github.com/rust-lang/libc/pull/3973>
112+
- RTEMS: initial support <https://github.com/rust-lang/libc/pull/3866>
113+
- Solarish: add `POLLRDHUP`, `POSIX_FADV_*`, `O_RSYNC`, and `posix_fallocate` <https://github.com/rust-lang/libc/pull/3936>
114+
- Unix: add `fnmatch.h` <https://github.com/rust-lang/libc/pull/3937>
115+
- VxWorks: add riscv64 support <https://github.com/rust-lang/libc/pull/3935>
116+
- VxWorks: update constants related to the scheduler <https://github.com/rust-lang/libc/pull/3963>
117+
118+
### Changed
119+
120+
- Redox: change `ino_t` to be `c_ulonglong` <https://github.com/rust-lang/libc/pull/3919>
121+
122+
### Fixed
123+
124+
- ESP-IDF: fix mismatched constants and structs <https://github.com/rust-lang/libc/pull/3920>
125+
- FreeBSD: fix `struct stat` on FreeBSD 12+ <https://github.com/rust-lang/libc/pull/3946>
126+
127+
### Other
128+
129+
- CI: Fix CI for FreeBSD 15 <https://github.com/rust-lang/libc/pull/3950>
130+
- Docs: link to `windows-sys` <https://github.com/rust-lang/libc/pull/3915>
131+
132+
## [0.2.159](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159) - 2024-09-24
133+
134+
### Added
135+
136+
- Android: add more `AT_*` constants in <https://github.com/rust-lang/libc/pull/3779>
137+
- Apple: add missing `NOTE_*` constants in <https://github.com/rust-lang/libc/pull/3883>
138+
- Hermit: add missing error numbers in <https://github.com/rust-lang/libc/pull/3858>
139+
- Hurd: add `__timeval` for 64-bit support in <https://github.com/rust-lang/libc/pull/3786>
140+
- Linux: add `epoll_pwait2` in <https://github.com/rust-lang/libc/pull/3868>
141+
- Linux: add `mq_notify` in <https://github.com/rust-lang/libc/pull/3849>
142+
- Linux: add missing `NFT_CT_*` constants in <https://github.com/rust-lang/libc/pull/3844>
143+
- Linux: add the `fchmodat2` syscall in <https://github.com/rust-lang/libc/pull/3588>
144+
- Linux: add the `mseal` syscall in <https://github.com/rust-lang/libc/pull/3798>
145+
- OpenBSD: add `sendmmsg` and `recvmmsg` in <https://github.com/rust-lang/libc/pull/3831>
146+
- Unix: add `IN6ADDR_ANY_INIT` and `IN6ADDR_LOOPBACK_INIT` in <https://github.com/rust-lang/libc/pull/3693>
147+
- VxWorks: add `S_ISVTX` in <https://github.com/rust-lang/libc/pull/3768>
148+
- VxWorks: add `vxCpuLib` and `taskLib` functions <https://github.com/rust-lang/libc/pull/3861>
149+
- WASIp2: add definitions for `std::net` support in <https://github.com/rust-lang/libc/pull/3892>
150+
151+
### Fixed
152+
153+
- Correctly handle version checks when `clippy-driver` is used <https://github.com/rust-lang/libc/pull/3893>
154+
155+
### Changed
156+
157+
- EspIdf: change signal constants to c_int in <https://github.com/rust-lang/libc/pull/3895>
158+
- HorizonOS: update network definitions in <https://github.com/rust-lang/libc/pull/3863>
159+
- Linux: combine `ioctl` APIs in <https://github.com/rust-lang/libc/pull/3722>
160+
- WASI: enable CI testing in <https://github.com/rust-lang/libc/pull/3869>
161+
- WASIp2: enable CI testing in <https://github.com/rust-lang/libc/pull/3870>
162+
163+
## [0.2.158](https://github.com/rust-lang/libc/compare/0.2.157...0.2.158) - 2024-08-19
164+
165+
### Other
166+
- WASI: fix missing `Iterator` with `rustc-dep-of-std` in <https://github.com/rust-lang/libc/pull/3856#event-13924913068>
167+
168+
## [0.2.157](https://github.com/rust-lang/libc/compare/0.2.156...0.2.157) - 2024-08-17
169+
170+
### Added
171+
172+
- Apple: add `_NSGetArgv`, `_NSGetArgc` and `_NSGetProgname` in <https://github.com/rust-lang/libc/pull/3702>
173+
- Build: add `RUSTC_WRAPPER` support in <https://github.com/rust-lang/libc/pull/3845>
174+
- FreeBSD: add `execvpe` support from 14.1 release in <https://github.com/rust-lang/libc/pull/3745>
175+
- Fuchsia: add `SO_BINDTOIFINDEX`
176+
- Linux: add `klogctl` in <https://github.com/rust-lang/libc/pull/3777>
177+
- MacOS: add `fcntl` OFD commands in <https://github.com/rust-lang/libc/pull/3563>
178+
- NetBSD: add `_lwp_park` in <https://github.com/rust-lang/libc/pull/3721>
179+
- Solaris: add missing networking support in <https://github.com/rust-lang/libc/pull/3717>
180+
- Unix: add `pthread_equal` in <https://github.com/rust-lang/libc/pull/3773>
181+
- WASI: add `select`, `FD_SET`, `FD_ZERO`, `FD_ISSET ` in <https://github.com/rust-lang/libc/pull/3681>
182+
183+
### Fixed
184+
- TEEOS: fix octal notation for `O_*` constants in <https://github.com/rust-lang/libc/pull/3841>
185+
186+
### Changed
187+
- FreeBSD: always use freebsd12 when `rustc_dep_of_std` is set in <https://github.com/rust-lang/libc/pull/3723>
188+
189+
## [0.2.156](https://github.com/rust-lang/libc/compare/v0.2.155...v0.2.156) - 2024-08-15
190+
191+
### Added
192+
- Apple: add `F_ALLOCATEPERSIST` in <https://github.com/rust-lang/libc/pull/3712>
193+
- Apple: add `os_sync_wait_on_address` and related definitions in <https://github.com/rust-lang/libc/pull/3769>
194+
- BSD: generalise `IPV6_DONTFRAG` to all BSD targets in <https://github.com/rust-lang/libc/pull/3716>
195+
- FreeBSD/DragonFly: add `IP_RECVTTL`/`IPV6_RECVHOPLIMIT` in <https://github.com/rust-lang/libc/pull/3751>
196+
- Hurd: add `XATTR_CREATE`, `XATTR_REPLACE` in <https://github.com/rust-lang/libc/pull/3739>
197+
- Linux GNU: `confstr` API and `_CS_*` in <https://github.com/rust-lang/libc/pull/3771>
198+
- Linux musl: add `preadv2` and `pwritev2` (1.2.5 min.) in <https://github.com/rust-lang/libc/pull/3762>
199+
- VxWorks: add the constant `SOMAXCONN` in <https://github.com/rust-lang/libc/pull/3761>
200+
- VxWorks: add a few errnoLib related constants in <https://github.com/rust-lang/libc/pull/3780>
201+
202+
### Fixed
203+
- Solaris/illumos: Change `ifa_flags` type to u64 in <https://github.com/rust-lang/libc/pull/3729>
204+
- QNX 7.0: Disable `libregex` in <https://github.com/rust-lang/libc/pull/3775>
205+
206+
### Changed
207+
- QNX NTO: update platform support in <https://github.com/rust-lang/libc/pull/3815>
208+
- `addr_of!(EXTERN_STATIC)` is now considered safe in <https://github.com/rust-lang/libc/pull/3776>
209+
210+
### Removed
211+
- Apple: remove `rmx_state` in <https://github.com/rust-lang/libc/pull/3776>
212+
213+
### Other
214+
- Update or remove CI tests that have been failing

Cargo.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libc"
3-
version = "0.2.151"
3+
version = "0.2.164"
44
authors = ["The Rust Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -12,10 +12,8 @@ keywords = ["libc", "ffi", "bindings", "operating", "system"]
1212
categories = ["external-ffi-bindings", "no-std", "os"]
1313
build = "build.rs"
1414
exclude = ["/ci/*", "/.github/*", "/.cirrus.yml", "/triagebot.toml"]
15-
description = """
16-
Raw FFI bindings to platform libraries like libc.
17-
"""
18-
rust-version = "1.63.0"
15+
rust-version = "1.63"
16+
description = "Raw FFI bindings to platform libraries like libc."
1917

2018
[package.metadata.docs.rs]
2119
features = ["const-extern-fn", "extra_traits"]

libc-test/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "libc-test"
3-
version = "0.2.151"
3+
version = "0.2.155"
44
edition = "2021"
55
authors = ["The Rust Project Developers"]
66
license = "MIT OR Apache-2.0"
77
build = "build.rs"
8+
publish = false
89
repository = "https://github.com/rust-lang/libc"
910
homepage = "https://github.com/rust-lang/libc"
1011
description = """
@@ -13,7 +14,7 @@ A test crate for the libc crate.
1314

1415
[dependencies.libc]
1516
path = ".."
16-
version = "0.2.151"
17+
version = "0.2.164"
1718
default-features = false
1819

1920
[build-dependencies]

0 commit comments

Comments
 (0)