libc_rs/lib.rs
1//! `libc-rs` — pure-Rust `#![no_std]` native application runtime, compiler memory
2//! intrinsics, and typed capability call substrate for unikernel environments.
3//!
4//! Unlike POSIX or Linux `libc` implementations, `libc-rs` carries no C code,
5//! no thread-local `errno`, no `pthreads`, and no legacy POSIX surface.
6
7#![no_std]
8#![forbid(unsafe_op_in_unsafe_fn)]
9
10#[cfg(feature = "alloc")]
11extern crate alloc;
12
13/// ABI contract version for the native unikernel application interface.
14pub const ABI_VERSION: u64 = 1;