为DragonOS移植了的relibc

Jeremy Soller f5651b22ea Do not overwrite static TCB 2 år sedan
core_io 9eeb73319d Update core_io submodule to a valid commit. 4 år sedan
include a37916101f Add M_2_PI 2 år sedan
openlibm b3dda7519d Update openlibm 6 år sedan
posix-regex 0684fb6e4c Bump posix-regex version 6 år sedan
pthreads-emb 9c423abb5f Update pthreads-emb 4 år sedan
ralloc 6c11a18240 Go back to patched ralloc 7 år sedan
src f5651b22ea Do not overwrite static TCB 2 år sedan
tests 393489b38b Add wcswidth and test 2 år sedan
.editorconfig 6952a079ae Fix CI 5 år sedan
.gitignore a7480ea656 Fix global symbols relocations 4 år sedan
.gitlab-ci.yml 3373d5e246 Install rust-src 4 år sedan
.gitmodules 2186cd1fbd Implement fexec in userspace. 3 år sedan
CONTRIBUTING.md ff874c87d7 tests: Fix function signatures 6 år sedan
Cargo.lock 9c16224e82 Update libc crate 2 år sedan
Cargo.toml f65c1c27c7 Implement wcwidth 2 år sedan
LICENSE ba515d83df Create LICENSE 7 år sedan
Makefile ba87e4893a Create empty libdl and librt libraries 2 år sedan
README.md 92e1127b64 Add contribution guidelines/tutorial 7 år sedan
Xargo.toml ae34ade595 Use path to patch compiler-builtins 5 år sedan
bindgen_transform.sh 799c8828c2 mkdir and rmdir 7 år sedan
build.rs a28e9ae378 Add pthreads to includes for C files 4 år sedan
ci.sh 9f86748a58 Fix make libs in CI 5 år sedan
fmt.sh bab4e2896a Format 7 år sedan
redoxer.sh 7fd366be70 Convert test runner to rust 4 år sedan
renamesyms.sh 70a8fca3c1 Use target binutils for renamesyms 3 år sedan
rust-toolchain.toml 0bd476d28a Update to new Rust toolchain 2 år sedan
rustfmt.toml b8c50c7c64 Format 6 år sedan

README.md

relibc build

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