c-ward
c-ward copied to clipboard
An implementation of libc written in Rust
The `coexist-with-libc` mode seems dubious for the vast majority of functions - anything that touches a shared header or `struct` (say, `FILE` or `pthread_mutex_t`) is likely to run into severe...
This adds some new functions, including `pread(v64)(v2)`, `eaccess`, `euidaccess`, `fallocate`, and posix spinlocks, while also modularizing the `thread` module itself.
The code that uses `getent` to interact with NSS is probably useful in contexts outside of `eyra` as well. It would be useful for implementing `libc` calls like, say, `getpwuid_r`.
Hello @sunfishcode. Thanks for working on this project! Is it possible to add a list of all implemented and unimplemented libc functions? I think it will make it easier for...
Just documenting this here as the only apparent blocker for building without nightly?: ```rust $ RUSTFLAGS="-C link-arg=-nostartfiles" cargo build --target x86_64-unknown-linux-gnu --release Compiling posix-regex v0.1.1 Compiling tz-rs v0.7.0 error[E0554]: `#![feature]`...