ec7abebc0b4707991dc1485b9332e2bd338bc4a3
This was just my attempt at being smart, I didn't realize `compare_exchange` returned the old value (I'm dumb!), so I thought that if the value was 1 then it must have become 2. Normally with small errors like these you should leave a comment explaining why, but really, compare and *exchange* is pretty obvious. My bad.
relibc 
relibc is a portable POSIX C standard library written in Rust. It is under heavy development, and currently supports Redox and Linux.
The motivation for this project is twofold: Reduce issues the redox crew was having with newlib, and create a safer alternative to a C standard library written in C. It is mainly designed to be used under redox, as an alternative to newlib, but it also supports linux syscalls via the sc crate.
Contributing
Supported OSes
- Redox OS
- Linux
Supported architectures
- x86_64
- Aarch64
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Languages
Rust
98.8%
Assembly
0.6%
Linker Script
0.5%
Makefile
0.1%