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

bionic libc defines this and it appears to behave correctly on recent kernel versions.

S-waiting-on-review

Same as #3659, but for libc 0.2.x.

S-waiting-on-review

FreeBSD 13.2 will be EoL in about a month.

S-waiting-on-review

Need #3572 to repair the build for rust. Sorry for not submitting a PR before 0.2.153.

S-waiting-on-review

I just learned that OwnedFd and BorrowedFd are I/O safe alternatives to RawFd, especially for FFI, https://rust-lang.github.io/rfcs/3128-io-safety.html#ownedfd-and-borrowedfdfd-1. So why not use this types instead? For example, currently mmap receives a...

C-API-request

Synchronized the types of the `st_mode` property of the `stat` struct and the flags of the `stat` header file.

S-waiting-on-review

It was originally defined back before rust could represent C unions. So instead of defining the union field correctly, it simply defined that union's most useful field. Define it correctly...

S-waiting-on-review

Use the 64 bit types and APIs included in GNU libc also for 32-bit systems. These are the types and APIs used when you compile your C code against GNU...

breakage-candidate
S-waiting-on-author
I-needs-decision

The GNU libc (glibc) provides alternative 64bit entry points for many of the file and time related functions on 32bit platforms. For C programs these are activated by setting the...

I'm just getting started with embedded programming, and found that compiling the standard library using rust-analyzer with `-Zbuild-std` fails because of [this line](https://github.com/rust-lang/rust/blob/9c3ad802d9b9633d60d3a74668eb1be819212d34/library/test/src/test_result.rs#L102). I'm not entirely sure, but it seems...

C-API-request
E-easy