libc icon indicating copy to clipboard operation
libc copied to clipboard

Raw bindings to platform APIs for Rust

Results 273 libc issues
Sort by recently updated
recently updated
newest added

This has been supported in musl since release v1.2.2 in January 2021. See also [the commit in musl itself](https://git.musl-libc.org/cgit/musl/commit/?h=v1.2.2&id=7c71792e87691451f2a6b76348e83ad1889f1dcb). Not sure about emscripten though - I guess without gating it,...

S-blocked

Hidden lifetime parameter is not allowed in newer version of rust.

S-waiting-on-review

#### What does this PR do Add more `_PC_XXX` constants for apple targets, copied from https://github.com/apple-oss-distributions/xnu/blob/94d3b452840153a99b38a3a9659680b2a006908e/bsd/sys/unistd.h#L152-L172.

S-waiting-on-review

`cargo test -p libc-test` fails on linux. I've attached `cargo test -p libc-test` The libc-test work on windows. For linux and mac, they fail. On linux rust version = 1.79...

C-API-request

Cpp code: ```cpp DEBUG("off: 0x%x\n", (size_t)(&((ucontext_t *) data)->uc_mcontext) - (size_t)data); ``` output: ```text off: 0xB0 ``` Rust code: ```rust let ucontext = data as *const libc::ucontext_t; let start = ucontext...

C-bug
E-easy

This issue tracks changes we want to make in libc 1.0. (Note that this tracking issue previously referred to libc 0.3, this should now be assumed to refer to 1.0...

breakage-candidate
C-tracking-issue

`union semun`, in unix/bsd/apple/mod.rs, has three fields. On LP64, these fields will have unequal sizes. But its PartialEq and Hash implementations only check the smallest field. So the following code...

C-bug
I-unsound 💥
S-waiting-on-decision

This is a proposal to bring #3201 and #3367 to libc-0.2 branch, by hiding this change behind a feature flag as suggested by @asomers in https://github.com/rust-lang/libc/pull/3367#issuecomment-1860931763. This makes it possible...

S-waiting-on-review

Closes #3194, to the point that [Xen Guest Agent](https://gitlab.com/xen-project/xen-guest-agent) can works on FreeBSD. Requires breaking-change #3367. Downstream support in `rust-netlink`: - [x] `netlink-packet-route`: FreeBSD support available since v0.18 - [x]...

breakage-candidate
S-blocked
S-waiting-on-review

It's a define in the includes, but used as a `sa_family_t`. See `sockaddr` for example.

breakage-candidate
E-easy
E-help-wanted