| c04c92ed | 02-Jun-2025 |
Trevor Gross <[email protected]> |
Replace handwritten `Debug` impls with derives
`s_no_extra_traits!` doesn't derive `Debug` so there are a lot of handwritten implementations. However, since we have a derive-like solution for unions
Replace handwritten `Debug` impls with derives
`s_no_extra_traits!` doesn't derive `Debug` so there are a lot of handwritten implementations. However, since we have a derive-like solution for unions now (printing them like an opaque struct), there really isn't any reason these can't all be derived.
Add `derive(Debug)` to `s_no_extra_traits`, still gated behind `feature = "extra_traits"`, which allows getting rid of manual implementations.
(backport <https://github.com/rust-lang/libc/pull/4471>) (cherry picked from commit 65c39bf1b0c7b904cf512280860120307d17703b)
show more ...
|
| 44b29ed5 | 25-May-2025 |
Sebastien Marie <[email protected]> |
openbsd: ignore some constants in CI (removed in upcoming OpenBSD 7.8)
(backport <https://github.com/rust-lang/libc/pull/4461>) (cherry picked from commit f5220c14ac26b67bcfc05567f562c8d497a9ce4a) |
| 4e7a6411 | 25-Mar-2025 |
Ola x Nilsson <[email protected]> |
gnu: build settings for _TIME_BITS=64
(backport <https://github.com/rust-lang/libc/pull/4433>) (cherry picked from commit 5f1eb6ca6f9fb13199468cdb09ecbbbc419c4108) |
| 00c19993 | 30-Apr-2025 |
Bben01 <[email protected]> |
Add constants from linux/cn_proc.h and linux/connector.h
(backport <https://github.com/rust-lang/libc/pull/4434>) (cherry picked from commit abd00f80b61fa48e394fb600f95fee63c78c6537) |
| b6971335 | 15-Apr-2025 |
Jakub Janowski <[email protected]> |
Cleanup IOCTL definitions in linux_like tree
(backport <https://github.com/rust-lang/libc/pull/4418>) (cherry picked from commit 49a6e233a085866dff1a4c410dc21d1cd96e861e) |
| 6e353398 | 18-Mar-2025 |
Xing Xue <[email protected]> |
Enable libc-test for AIX and fix definitions/declarations.
(backport <https://github.com/rust-lang/libc/pull/4450>) (cherry picked from commit c192a5cae31dd84ad17dc3c2dd0a3deaacae452a) |
| 40c1f316 | 10-May-2025 |
David Carlier <[email protected]> |
adding SO_SPLICE socket option support for freebsd >= 14.2
[ref](https://github.com/freebsd/freebsd-src/blob/d3f15bc2a51d1822795135d9ad4627dc1c7f2b18/sys/sys/socket.h#L175) and [ref](https://github.
adding SO_SPLICE socket option support for freebsd >= 14.2
[ref](https://github.com/freebsd/freebsd-src/blob/d3f15bc2a51d1822795135d9ad4627dc1c7f2b18/sys/sys/socket.h#L175) and [ref](https://github.com/freebsd/freebsd-src/blob/d3f15bc2a51d1822795135d9ad4627dc1c7f2b18/sys/sys/socketvar.h#L76)
(backport <https://github.com/rust-lang/libc/pull/4451>) (cherry picked from commit 47ac2e75f172de447f3c1205c63ac6afaacd61de)
show more ...
|
| 3db74e3c | 11-May-2025 |
The 8472 <[email protected]> |
linux: add new flags for pwritev2/preadv2
(backport <https://github.com/rust-lang/libc/pull/4452>) (cherry picked from commit 6e7549d34f839aa3b76476df0408a155fec81186) |
| a066096e | 03-May-2025 |
Reagan Bohan <[email protected]> |
musl: aarch64: update type of ipc_perm->__seq to match upstream
The architecture-specific definitions was removed in upstream commit 319b2d0, changing the type to the generic definition of int.
(ba
musl: aarch64: update type of ipc_perm->__seq to match upstream
The architecture-specific definitions was removed in upstream commit 319b2d0, changing the type to the generic definition of int.
(backport <https://github.com/rust-lang/libc/pull/4443>) (cherry picked from commit 3f911737768f78469952fe2604b38f4bc52374e1)
show more ...
|
| f5d4b076 | 03-May-2025 |
Reagan Bohan <[email protected]> |
musl: update RLIM_NLIMITS
This reflects upstream commit 2507e7f. This should be safe to change as this has been marked deprecated to warn people it will change across OS versions since 0.2.64 (>5 ye
musl: update RLIM_NLIMITS
This reflects upstream commit 2507e7f. This should be safe to change as this has been marked deprecated to warn people it will change across OS versions since 0.2.64 (>5 years ago)
(backport <https://github.com/rust-lang/libc/pull/4443>) (cherry picked from commit 5d24ad2e30cfe0e8fab14feaeb1c19c7e34101e0)
show more ...
|
| 37cde5af | 03-May-2025 |
Reagan Bohan <[email protected]> |
musl: struct tcp_info: add new fields since 1.2.0/1.2.2
This reflects the upstream commits, 5e0c9f2 and d4f2981, which reflect changes in linux 5.4 and 5.5 respectively
As mentioned in the comments
musl: struct tcp_info: add new fields since 1.2.0/1.2.2
This reflects the upstream commits, 5e0c9f2 and d4f2981, which reflect changes in linux 5.4 and 5.5 respectively
As mentioned in the comments, this is possible now as the CI musl version has updated and the headers are newer.
(backport <https://github.com/rust-lang/libc/pull/4443>) (cherry picked from commit fb4212a6bd14f0378a3c6fcdd6f8bd64cc79a8fb)
show more ...
|
| d63132d4 | 03-May-2025 |
Reagan Bohan <[email protected]> |
musl: fix utmpx struct layout
This ut_session has changed from long to int + padding in newer versions. This was already reflected on loongarch64 and ohos - this commit adds this change, and re-enab
musl: fix utmpx struct layout
This ut_session has changed from long to int + padding in newer versions. This was already reflected on loongarch64 and ohos - this commit adds this change, and re-enables the test when musl_v1_2_3 is set.
Co-authored-by: Ariadne Conill <[email protected]>
(backport <https://github.com/rust-lang/libc/pull/4443>) (cherry picked from commit 1038c7f1f4dbd6a39b867263dc5478806744f5a0)
show more ...
|
| a485516e | 03-May-2025 |
Reagan Bohan <[email protected]> |
Add musl_v1_2_3 feature
This feature, controlled by the environment variable RUST_LIBC_UNSTABLE_MUSL_V1_2_3 will control whether breaking changes up to musl v1.2.3 will be reflected
(backport <http
Add musl_v1_2_3 feature
This feature, controlled by the environment variable RUST_LIBC_UNSTABLE_MUSL_V1_2_3 will control whether breaking changes up to musl v1.2.3 will be reflected
(backport <https://github.com/rust-lang/libc/pull/4443>) (cherry picked from commit 2a68f7f9f6139f8930df345ae19697336908e940)
show more ...
|
| b553d1f7 | 03-May-2025 |
Reagan Bohan <[email protected]> |
musl: Fix O_LARGEFILE constant value.
This was accidentally set to 0 in upstream, but fixed in commit b8b729b. If running with prior versions without that commit, this commit effectively backports i
musl: Fix O_LARGEFILE constant value.
This was accidentally set to 0 in upstream, but fixed in commit b8b729b. If running with prior versions without that commit, this commit effectively backports it.
(backport <https://github.com/rust-lang/libc/pull/4443>) (cherry picked from commit 686aa7a3a2ead357a732d018e4295c9a92312132)
show more ...
|
| a28ee2b2 | 03-May-2025 |
Reagan Bohan <[email protected]> |
libc-test: update conditions for workarounds for musl <1.2.3
This commit gates various workarounds of older musl versions behind the RUST_LIBC_UNSTABLE_MUSL_V1_2_3 variable.
(backport <https://gith
libc-test: update conditions for workarounds for musl <1.2.3
This commit gates various workarounds of older musl versions behind the RUST_LIBC_UNSTABLE_MUSL_V1_2_3 variable.
(backport <https://github.com/rust-lang/libc/pull/4443>) (cherry picked from commit 85a7c8536d6d6a56257eb2755b28a1dc41c1cd0f)
show more ...
|
| f1e459f1 | 06-May-2025 |
Mattias Nissler <[email protected]> |
Add MADV_SOFT_OFFLINE definition for RISC-V musl targets
(backport <https://github.com/rust-lang/libc/pull/4447>) (cherry picked from commit 118a904c4e690327d2ca3a633822ac1171cae5fa) |
| e9fc5808 | 07-May-2025 |
WANG Rui <[email protected]> |
musl: loongarch64: Define MADV_SOFT_OFFLINE constant
(backport <https://github.com/rust-lang/libc/pull/4448>) (cherry picked from commit 054c95888c2b20b341166ff49a1252c180041005) |
| 2bb4ceae | 01-May-2025 |
rusty-snake <[email protected]> |
Add constants and types for nsfs ioctls
(backport <https://github.com/rust-lang/libc/pull/4436>) (cherry picked from commit 0d7f0ceabe7a1b64df519032f1ebdb70faced316) |
| b21e075c | 15-Apr-2025 |
Yuri Astrakhan <[email protected]> |
chore: lint `libc-test/build.rs`
run `cargo clippy --all-targets` on `libc-test/build.rs`, and fix all default issues.
Notes:
* `copy_dir_hotfix` had a `replace` parameter that was never used
(ba
chore: lint `libc-test/build.rs`
run `cargo clippy --all-targets` on `libc-test/build.rs`, and fix all default issues.
Notes:
* `copy_dir_hotfix` had a `replace` parameter that was never used
(backport <https://github.com/rust-lang/libc/pull/4412>) [ adjust section heading to avoid ### turning into comment - Trevor ] (cherry picked from commit 8b15e27a1e06ea9484caa75632de63263a3abb5c)
show more ...
|
| d716b809 | 15-Apr-2025 |
Yuri Astrakhan <[email protected]> |
chore: inline format args
(backport <https://github.com/rust-lang/libc/pull/4416>) (cherry picked from commit 444d9df5606f5b848f338f03b5be00581cb44f1f) |
| c544ee4d | 15-Apr-2025 |
Yuri Astrakhan <[email protected]> |
run clippy on 3 major platforms
(backport <https://github.com/rust-lang/libc/pull/4411>) (cherry picked from commit e09683ea3523cde23c36ffe7ada2289b76a18618) |
| e70b031f | 15-Apr-2025 |
Yuri Astrakhan <[email protected]> |
chore: add clippy CI tests
run cargo clippy for all targets
(backport <https://github.com/rust-lang/libc/pull/4411>) (cherry picked from commit bea4d1b0b893f222a837dcfa2ed1a100f1ed440a) |
| 3d942f98 | 12-Apr-2025 |
rusty-snake <[email protected]> |
Add constants for Memory-Deny-Write-Execute prctls
(backport <https://github.com/rust-lang/libc/pull/4400>) (cherry picked from commit 4ed4eb63542dccd2f67ffd68c205155f34e28687) |
| 6cec0fad | 02-May-2025 |
Jeremy Soller <[email protected]> |
redox: define SCM_RIGHTS
(backport <https://github.com/rust-lang/libc/pull/4440>) (cherry picked from commit 74bfdee3ee011f2da1f91e7d056616b1eab0f8a4) |
| b3f1acf5 | 01-May-2025 |
Reagan Bohan <[email protected]> |
musl: fix test build with musl 1.2.0+
Since musl 1.2.0, the utmpx.ut_session type changed from long to int (with padding). For now, skip the test for this field. Fixes: 3305
(backport <https://gith
musl: fix test build with musl 1.2.0+
Since musl 1.2.0, the utmpx.ut_session type changed from long to int (with padding). For now, skip the test for this field. Fixes: 3305
(backport <https://github.com/rust-lang/libc/pull/4438>) (cherry picked from commit aa08592255c39ee99d32fffae78007a842293c0d)
show more ...
|