rust-lang/libc
View on GitHub ↗ ★ 2,642 Rust
Raw bindings to platform APIs for Rust
10 mentions on Hacker News by 9 people: 0 stories, 10 comments · first 2016-02-23 · latest 2026-01-14
20082026
-
…- rust-lang/libc gets to 1.0 which removes iconv issues for macos https://github.com/rust-lang/libc/issues/3248
comment by anttiharju · 2026-01-14 · in I hate GitHub Actions with passion -
True, if you look at my libc PR I added getstackaddr as well: https://github.com/rust-lang/libc/pull/3788 But stacker already has an implementation that uses the np method, and it was easier to co-opt that.
comment by sunshowers · 2024-08-06 · in Debugging a rustc segfault on Illumos -
…side, there are scenarios where things break. For example, the "libc apocalypse" situation in Rust https://github.com/rust-lang/libc/issues/547 Here after the "libc" module released a major version, the definition for the `void` C type in…
comment by avodonosov · 2023-12-05 · in Pragmatic Versioning – An Alternative to Semver -
…there are scenarios where things break. For example, the "libc apocalypse" situation in Rust https://github.com/rust-lang/libc/issues/547 Here after the "libc" module released a major version, the definition for the `void` C type in two…
comment by avodonosov · 2023-10-04 · in Semantic Versioning 2.0 (2013) -
…don’t use these tools? The most popular C library in the world is probably the standard one. Yet in https://github.com/rust-lang/libc I don’t see any glue automatically generated from C headers, everything’s written manually. Other…
comment by Const-me · 2021-05-11 · in Integrating Rust into the Android Open Source Project -
…since. Rust's libc crate isn't third-party, it's first-party, developed by the Rust project itself: https://github.com/rust-lang/libc/ . It's also not just for type definitions necessary to interface with C programs; here's the first…
comment by kibwen · 2021-03-02 · in Giving Ada a Chance -
…there are several secondary references[0][1]. [0] https://github.com/zeromq/libzmq/issues/2175 [1] https://github.com/rust-lang/libc/issues/776
comment by RJIb8RBYxzAMX9u · 2020-07-22 · in Big Sur is both 10.16 and 11.0 -
It's buried in the bugs but I noticed this when I skimmed them: https://github.com/rust-lang/libc/pull/585#issuecomment-2977... I'm not sure if that means it means that musl doesn't provide the workaround or if musl doesn't have the bug at…
comment by evmar · 2017-05-12 · in The Story of a Rust Bug -
…have various complaints about the language and standard library, but the real show-stopper is this: https://github.com/rust-lang/libc/issues/290
comment by TillE · 2016-07-21 · in Apple Remote Code Execution with Image Files -
…quality and organization yet. However, Both are missing various bindings for various platforms. [1] https://github.com/rust-lang/libc [2] https://github.com/nix-rust/nix
comment by fiveop · 2016-02-23 · in Rewrite Everything in Rust