libc
libc copied to clipboard
Raw bindings to platform APIs for Rust
std shouldn't need to depend on libc for platforms that don't require it, but currently [one test](https://github.com/rust-lang/rust/blob/01d73d4041969cde4a79bf9793521ef323248a24/library/std/src/os/raw/tests.rs) means it is required. It was suggested that this test more properly belongs...
fixes #3608
I've taken over this change from @davidv1992 (who is my colleague). https://github.com/rust-lang/libc/pull/3353 is the original PR which can now be closed. I'm also assuming this can/should be merged into the...
This pull request adds support for the `confstr` function on Linux and also defines the constants used as a parameter for the function. I moved the function declaration from `src/unix/bsd/apple/mod.rs`...
https://github.com/apple-oss-distributions/xnu/blob/main/bsd/netinet6/in6_var.h It seems that all related ipv6 structures in this header file do not exist
We found an issue when updating ferrocene's libc submodule (ferrocene/ferrocene#356) to revision 947a1855124bdd13029d322ae6ab2b4f0451db9b . the only change included in our libc update was PR #3602 . when building stage 2...
- CI only for macOs arm64. - Fixing build issues for macOs arm64. - Adding macos cpu to arch api.
To reproduce: * Be on a platform that does not have the `cc` binary, but does have eg. `gcc` installed * Compile using `CC=gcc cargo build` * Observe the following...
Bionic supports it since API level 23. See: https://github.com/aosp-mirror/platform_bionic/blob/2215ad406b253f12e270cdd0876e19e9df2aa6d4/libc/include/stdlib.h