Skip to main content

native_ipc/
lib.rs

1#![doc = include_str!("../README.md")]
2
3#[cfg(not(any(
4    all(
5        target_os = "linux",
6        any(target_arch = "aarch64", target_arch = "x86_64")
7    ),
8    all(
9        target_os = "windows",
10        any(target_arch = "aarch64", target_arch = "x86_64")
11    ),
12    all(target_os = "macos", target_arch = "aarch64")
13)))]
14compile_error!("native-ipc supports Linux and Windows on aarch64/x86_64, and macOS on aarch64");
15
16/// Platform-neutral wire, layout, and sequencing primitives.
17pub use native_ipc_core as core;
18/// Native operating-system capability implementations.
19pub use native_ipc_platform as platform;
20
21/// Common native shared-memory allocation, policy, and cleanup interface.
22pub mod memory;