#linux #reimplement #utilities #no-alloc

nightly no-std sync-linux-no-libc

A project aiming to reimplement some of the most basic Rust std::sync utilities on Linux without the use of libc

2 releases

Uses new Rust 2024

0.1.1 Aug 1, 2025
0.1.0 Jul 31, 2025

#1350 in Concurrency

32 downloads per month

MIT license

58KB
813 lines

sync-linux-no-libc

Crates.io Crates.io Crates.io Sync-linux-no-libc documentation

This project aims to reimplement some of the most basic Rust std::sync utilities on Linux, like std::sync::Mutex and std::sync::Barrier, all without the use of libc. Instead, it makes Linux syscalls directly.

License

Sync-linux-no-libc is licensed under the MIT Licence

The project's implementation is almost entirely copied from the Rust standard library, also available under the MIT license, with only some slight changes made to avoid the use of libc.

Dependencies

~7MB
~88K SLoC