# redox-os/relibc

Mirror of https://gitlab.redox-os.org/redox-os/relibc

Repository: https://github.com/redox-os/relibc
Canonical: https://ross.abutalabs.com/products/relibc
Language: Rust
License: MIT
License Family: permissive
Topics: libc, linux, posix, redox, libredox
Last push: 2026-09-02T23:17:36+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 100
- inputs: {"age_days": 3106, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1014, forks 70 (observed 2026-09-03T02:15:17.383253+00:00)

## What it is
relibc is a portable C standard library written in Rust, providing C, Linux, and BSD functions, a POSIX compatibility layer, and interfaces for system components. It is primarily designed as the libc for the Redox OS (as an alternative to newlib) but also supports Linux via the sc crate.

## Use cases
- provide a libc for the Redox operating system
- replace newlib with a safer C standard library written in Rust
- build POSIX-compatible programs on Redox or Linux
- generate C header files from Rust implementations with cbindgen
- develop a dynamic loader and crt0 runtime in Rust
- test C standard library compliance with a C test suite

## When to choose
- you are developing for or contributing to Redox OS
- you want a memory-safe libc implementation written in Rust
- you need a POSIX compatibility layer for a Rust-based OS kernel
- you want to experiment with alternative libc designs

## When to avoid
- you need a battle-tested, fully mature libc for production Linux systems (use glibc or musl)
- you need support for platforms other than Redox or Linux
- you need a complete, stable implementation of every POSIX feature, as the project is under heavy development

## Facets
- artifact type: library
- maturity: active
- function: programming-language, compiler, developer-tools
- domain: operating-systems, programming-languages, developer-tools
- platform: rust, cpp
- tags: libc, posix, redox-os, c-standard-library, system-programming, cbindgen, crt0, dynamic-loader, linux

## Member repositories
- redox-os/relibc (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:17.383253+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:41.505201+00:00, confidence not recorded.
  - readme: https://github.com/redox-os/relibc (fetched 2026-09-03T02:15:17.383253+00:00, sha 46ee6d480ca8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
