cygwin: add supportCo-authored-by: Ookiineko <[email protected]>(backport <https://github.com/rust-lang/libc/pull/4279>)(cherry picked from commit f5569b1d574768751de109bf51e08348abc7f7
cygwin: add supportCo-authored-by: Ookiineko <[email protected]>(backport <https://github.com/rust-lang/libc/pull/4279>)(cherry picked from commit f5569b1d574768751de109bf51e08348abc7f7d3)
show more ...
Make all `major`, `minor`, `makedev` into `const fn`.(backport <https://github.com/rust-lang/libc/pull/4208>)(cherry picked from commit 37c3333c07105cf29245941ecbbd5733ad0ddd22)
Add makedev for the BSDsAlso, make makedev function safe and const on all platforms.On Android, change the arguments from signed to unsigned integers tomatch the other platforms. The C makedev
Add makedev for the BSDsAlso, make makedev function safe and const on all platforms.On Android, change the arguments from signed to unsigned integers tomatch the other platforms. The C makedev is a macro, so thesignededness is undefined.Add an integration test for makedev, too, since it's a macro that wemust reimplement.
Add tests for SIGRTMAX and SIGRTMIN
Add test for SO_EE_OFFENDERModelled after the cmsg tests, this wraps the C macro into a function, and thencompares the results to the Rust implementation in libc.
Add an integration test for the cmsg(3) functions.Since these are defined in C as macros, they must be reimplemented inlibc as Rust functions. They're hard to get exactly right, and theyvary fro
Add an integration test for the cmsg(3) functions.Since these are defined in C as macros, they must be reimplemented inlibc as Rust functions. They're hard to get exactly right, and theyvary from platform to platform. The test builds custom C code that usesthe real macros, and compares its output to the Rust versions' outputfor various inputs.Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error.Issue #1239Skip the entire cmsg test program on s390x because it dumps coreseemingly before the kernel finishes booting.Issue #1240