Skip to content

Commit 4e698ae

Browse files
committed
apple: Nest all new Apple sources in an apple/ module
We will eventually add `libpthread`, so accommodate for that.
1 parent 34d8ce7 commit 4e698ae

File tree

16 files changed

+19
-10
lines changed

16 files changed

+19
-10
lines changed

src/new/apple/mod.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//! Apple interfaces.
2+
//!
3+
//! The Xcode SDK includes interfaces that are split across a couple of different libraries. Most
4+
//! of these are available at <https://github.com/apple-oss-distributions>.
5+
6+
/// Entrypoint for Apple headers, usually found as part of the Xcode SDK.
7+
///
8+
/// <https://github.com/apple-oss-distributions/Libc/tree/main/include>
9+
mod libc {
10+
pub(crate) mod signal;
11+
pub(crate) mod unistd;
12+
}
13+
14+
mod xnu;
15+
16+
pub(crate) use libc::*;
17+
pub(crate) use xnu::*;
File renamed without changes.

0 commit comments

Comments
 (0)