Hacker GitHub

← All repos

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

Mentions per year 10 mentions · busiest year 2016 (2)
20082026
  1. …- 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
  2. 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
  3. …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…
  4. …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)
  5. …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…
  6. …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
  7. …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
  8. 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
  9. …have various complaints about the language and standard library, but the real show-stopper is this: https://github.com/rust-lang/libc/issues/290
  10. …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