interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / crates / allen-reflex-kernel / Cargo.toml

36 lines · 1173 bytes Raw Blame History
1# Standalone (not a member of the host workspace, like aienos-infer-kernel): built for
2# aarch64-unknown-none and linked into the C kernel image of "make pi5-allen" (CK_ALLEN_LIB).
3# On the host the same exam code builds with std for the host harness (examples/host_exam.rs)
4# and the tests; the allocator, panic handler and C entry points exist only for target_os = "none".
5[package]
6name = "allen-reflex-kernel"
7version = "0.1.0"
8edition = "2021"
9license = "AGPL-3.0-or-later"
10description = "Links the ALLEN REFLEX decision core into the C kernel: bounded bump heap, panic stop, card exam runner (PI5-8 cut K)."
11
12[lib]
13crate-type = ["staticlib", "rlib"]
14
15[dependencies]
16allen-reflex = { path = "../allen-reflex" }
17
18[workspace]
19
20[profile.release]
21panic = "abort"
22opt-level = 3
23lto = false
24codegen-units = 1
25
26[profile.dev]
27panic = "abort"
28
29[[test]]
30name = "heap_budget"
31harness = false
32
33# Host/QEMU red runs only (scripts/qemu_ck_allen_reflex_test.sh): build the unit with a known-bad routing mutant so the
34# kernel's own authority check (core/allen.c route_violation) must catch it. Never in a Pi image.
35[features]
36route-mutant-grant = ["allen-reflex/route-mutant-grant"]