Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/libc/src/new/musl/mod.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers 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: (official) 4 //! * Headers: (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. 9 mod arch; 10 11 pub(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 23 pub(crate) mod pthread; 24 25 /// Directory: `sys/` 26 /// 27 /// 28 pub(crate) mod sys { 29 pub(crate) mod socket; 30 } 31 32 pub(crate) mod sched; 33 pub(crate) mod unistd;