jD91mZM2 ea24699798 Fix undefined behavior
Transmuting from an immutable to a mutable reference is undefined
behavior in Rust, with the exception of UnsafeCell which tells the
optimizer to not draw too many conclusions. Sadly UnsafeCell::get cannot
yet be used in statics (see https://github.com/rust-lang/rust/issues/51718),
so this works around that by making the statics into functions and
making C macros to call those.
2018-06-22 21:17:44 +02:00
2018-06-22 21:17:44 +02:00
2018-03-01 20:26:40 -07:00
2018-06-22 21:17:44 +02:00
2018-06-22 14:54:16 +02:00
2018-06-21 17:16:56 +02:00
2018-03-17 02:58:08 -04:00
2018-06-12 12:30:45 -06:00
2018-03-08 19:45:16 -07:00
2018-04-04 22:52:06 +02:00
2018-06-22 14:54:10 +02:00
2018-06-22 14:54:10 +02:00
2018-03-26 19:34:45 -06:00
2018-03-08 18:25:11 -06:00
2018-03-07 17:29:33 -07:00
2018-03-27 20:14:22 -06:00
2018-05-24 15:00:40 -06:00

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

Just search for any invocation of the unimplemented macro, and hop in! The ci server checks builds for linux and redox, checks formatting (via rustfmt), and runs the test suite. Run ci.sh locally to check that your changes will pass travis. Use fmt.sh to format your code and make test to run the C test suite.

Supported OSes

  • Redox OS
  • Linux

Supported architectures

  • x86_64
  • Aarch64
S
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Readme MIT 17 GiB
Languages
Rust 98.8%
Assembly 0.6%
Linker Script 0.5%
Makefile 0.1%