History log of /rust-libc-0.2.174/libc-test/test/cmsg.rs (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 0.2.174, 0.2.173
# 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 ...


Revision tags: 0.2.172, ctest-v0.4.11, ctest-v0.4.10
# 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)


Revision tags: 0.2.171, 0.2.170, 0.2.169, 0.2.168, ctest-v0.4.9, 0.2.167, 0.2.166, 0.2.165
# da089f78 25-Nov-2024 Trevor Gross <[email protected]>

style: Run `cargo fmt` with the new configuration

`libc-0.2` version of 236e0697ef796b263c751321ce68b15ca137d09f from [1]
(not a direct cherry pick).

[1]: https://github.com/rust-lang/libc/pull/4136


Revision tags: 0.2.164, 0.2.163, 0.2.162, 0.2.161, 0.2.160, 0.2.159
# f0eff998 05-Sep-2024 Eduardo Sánchez Muñoz <[email protected]>

Remove unneeded `extern crate`s and imports

(backport <https://github.com/rust-lang/libc/pull/3897>)
(cherry picked from commit ba1b27f51607a64072c9ddf071cb69a143922cb6)


Revision tags: 0.2.158, 0.2.157, 0.2.156, 0.2.155, 0.2.154, ctest-v0.4.8, 0.2.153, 0.2.152, 0.2.151, 0.2.150, 0.2.149, 0.2.148, 0.2.147, ctest-v0.4.7, 0.2.146, 0.2.145, 0.2.144, 0.2.143, ctest-v0.4.6, 0.2.142, 0.2.141
# 9102bfbb 02-Apr-2023 Chris Denton <[email protected]>

Use aligned `cmsghdr` structs `test_cmsg_nxthdr`


# 6a61e0a6 02-Apr-2023 Yuki Okushi <[email protected]>

Disable `test_cmsg_nxthdr`

Signed-off-by: Yuki Okushi <[email protected]>


Revision tags: 0.2.140, 0.2.139, 0.2.138, ctest-v0.4.5, 0.2.137, 0.2.136, 0.2.135, 0.2.134, 0.2.133, 0.2.132, 0.2.131, 0.2.130, 0.2.129, 0.1.128, 0.2.128, 0.2.127, 0.2.126, ctest-v0.4.4, 0.2.125, 0.2.124, 0.2.123, 0.2.122, 0.2.121, 0.2.120, 0.2.119, 0.2.118, 0.2.117, 0.2.116, 0.2.115, 0.2.114, 0.2.113, 0.2.112, 0.2.111, 0.2.110, 0.2.109, ctest-v0.4.3, 0.2.108, 0.2.107
# 387a67a0 02-Nov-2021 David Carlier <[email protected]>

fix cmsg test proposal


Revision tags: 0.2.106, 0.2.105, ctest-v0.4.2, 0.2.104, 0.2.103, 0.2.102, 0.2.101, 0.2.100, 0.2.99, 0.2.98, 0.2.97, 0.2.96, 0.2.95, ctest-v0.4.1, 0.2.94, 0.2.93
# 3fae7e9c 06-Apr-2021 Yuki Okushi <[email protected]>

Fix style


Revision tags: 0.2.92, 0.2.91, 0.2.90, 0.2.89, 0.2.88, 0.2.87, 0.2.86, 0.2.85, 0.2.84, ctest-v0.4.0, 0.2.83, 0.2.82, 0.2.81, 0.2.80, 0.2.79, 0.2.78, 0.2.77, 0.2.76, 0.2.75, 0.2.74, 0.2.73, 0.2.72
# 40c46f43 16-Jun-2020 Jason King <[email protected]>

Add ancillary socket data accessor functions for solarish OSes


Revision tags: ctest-v0.3.0, 0.2.71, 0.2.70, 0.2.69
# 48594dc7 29-Mar-2020 Patrick Mooney <[email protected]>

Update ctest for illumos and Solaris


Revision tags: 0.2.68, 0.2.67, 0.2.66, 0.2.65, 0.2.64, 0.2.63, 0.2.62, 0.2.61
# e63e7d41 05-Aug-2019 gnzlbg <[email protected]>

Formatting


Revision tags: 0.2.60, 0.2.59, 0.2.58, 0.2.57, 0.2.56, 0.2.55, 0.2.54, 0.2.53, 0.2.51, 0.2.50, 0.2.49
# 0a5484ea 07-Feb-2019 gnzlbg <[email protected]>

Check style using rustfmt and reformat


# 38cf5b15 01-Feb-2019 Alan Somers <[email protected]>

Add an integration test for the cmsg(3) functions.

Since these are defined in C as macros, they must be reimplemented in
libc as Rust functions. They're hard to get exactly right, and they
vary fro

Add an integration test for the cmsg(3) functions.

Since these are defined in C as macros, they must be reimplemented in
libc as Rust functions. They're hard to get exactly right, and they
vary from platform to platform. The test builds custom C code that uses
the real macros, and compares its output to the Rust versions' output
for various inputs.

Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error.

Issue #1239

Skip the entire cmsg test program on s390x because it dumps core
seemingly before the kernel finishes booting.

Issue #1240

show more ...