native-ipc 0.6.0

One safe API for least-authority native shared memory: sealed memfd on Linux, Mach memory entries on macOS, exact-rights sections on Windows
1
2
3
4
5
6
7
8
9
10
//! Builds the audited external-memory volatile-copy boundary.

fn main() {
    println!("cargo::rustc-check-cfg=cfg(loom)");
    println!("cargo::rerun-if-changed=src/external_memory.c");
    cc::Build::new()
        .file("src/external_memory.c")
        .warnings(true)
        .compile("native_ipc_external_memory");
}