interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / libc / src / new / musl / mod.rs

33 lines · 943 bytes Raw Blame History
1//! Musl libc.
2//!
3//! * Headers: <https://git.musl-libc.org/cgit/musl> (official)
4//! * Headers: <https://github.com/kraj/musl> (mirror)
5
6// The musl build system includes `arch/$(ARCH)` (preferred if it exists) and `arch/generic` (used
7// as the fallback). We can't exactly mirror this with glob exports, so instead we selectively
8// reexport in a new module.
9mod arch;
10
11pub(crate) mod bits {
12 cfg_if! {
13 if #[cfg(target_arch = "mips")] {
14 pub(crate) use super::arch::mips::bits::socket;
15 } else if #[cfg(target_arch = "mips64")] {
16 pub(crate) use super::arch::mips64::bits::socket;
17 } else {
18 // Reexports from generic will live here once we need them.
19 }
20 }
21}
22
23pub(crate) mod pthread;
24
25/// Directory: `sys/`
26///
27/// <https://github.com/kraj/musl/tree/kraj/master/include/sys>
28pub(crate) mod sys {
29 pub(crate) mod socket;
30}
31
32pub(crate) mod sched;
33pub(crate) mod unistd;