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

More items needed for `sysinfo` to be able to add a new feature.

S-waiting-on-author
O-unix
O-macos

## 🤖 New release * `libc`: 0.2.170 -> 0.2.171 (✓ API compatible changes) Changelog ## [0.2.171](https://github.com/rust-lang/libc/compare/0.2.170...0.2.171) - 2025-03-07 ### Other - make `stat::st_size` signed --- This PR was generated with...

S-waiting-on-review

# Description Adds syslog C macros to all UNIX targets 1. LOG_MASK 2. LOG_UPTO They are re-implemented as Rust functions, and tests are added to ensure our Rust implementations have...

S-waiting-on-author
O-unix

It seems like all of them fail occasionally but i686-linux-android is pretty bad, with an 11% failure rate per GH's metrics. Some sample messages: ```text adb: error: failed to copy...

A-CI
O-android
E-help-wanted

`linux-s390x.sh` seems to fail somewhat often in CI. Here is one example that failed at `curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20230607/images/generic/kernel.debian` with `curl: (56) Recv failure: Connection timed out`: https://github.com/rust-lang/libc/actions/runs/11918318034/job/33215674952. I'm...

A-CI
E-help-wanted

# Description QNX 7.1 supports two network stacks: 1. `io-pkt`, which is default 2. `io-sock`, which is optional and should be default in QNX 8.0 As one can see in...

S-waiting-on-author
O-unix
stable-nominated

Pretty minor change, just queries emcc.bat since `emcc` will not work on windows For example this simple script will output this on windows ```rs fn main() { let output =...

S-waiting-on-author
stable-nominated

`ctest2` will be merged into this crate in https://github.com/rust-lang/libc/pull/4283. We need to migrate this away from `garando_syntax`, which has problems parsing modern Rust, to a more modern solution like [`syn`](https://docs.rs/syn/latest/syn/).

`libc`'s testing is pretty tightly coupled to [`ctest2`](https://crates.io/crates/ctest2), which is a reasonably simple crate that maps Rust syntax to C syntax and creates tests based off of that. `ctest2` itself...

S-waiting-on-review

Updated the copyright year from 2020 to 2025 in the LICENSE file

S-waiting-on-review