Skip to main content

Crate rusty_rtos_capi_core

Crate rusty_rtos_capi_core 

Source
Expand description

rusty_rtos-capi-core — the pure heart of rusty_rtos-capi.

Rules this crate lives by (from the Kairos mission plan):

  1. no_std by default; alloc is a feature, never an assumption.
  2. No CPU, no registers, no allocator, no operating system. Ports and backends are separate WRAP crates.
  3. Every type that crosses to another Kairos package comes from rusty_rtos_core, so packages compose without conversions.
  4. Handles are indices, never pointers; nothing on a hot path allocates.
  5. forbid(unsafe). The C kernel’s trace is the oracle; the scalar path is the oracle; any faster path is gated identical against it.

Re-exports§

pub use rusty_rtos_core as rtos_core;

Modules§

codec
How a Kairos handle crosses the C seam, and how a queue item does.
cstr
Reading a C string without reading past it.
ctypes
The C’s scalar types and constants, written down beside where they came from.
prelude
The names a firmware wants in scope.
retry
Wait::Blocked as the C sees it.
symbols
The ABI as data, and the header generated from it.

Constants§

VERSION
Crate version, for manifests and logs.