Files
leleka/crates/native-cpu-expert/Cargo.toml
T
Pavlo RatushnyiandClaude Sonnet 5.5 d096ecd8e8 kernel_ab example: KAB1 reader, bitwise or pre-declared-tolerance compare, COMPONENT_KERNEL record writer (STRA-289)
Rust half of the CPU kernel A/B, part 1: crates/native-cpu-expert/examples/kernel_ab.rs
(verify, compare, internal run-tree) over the public API only; sha2 as a dev-dependency.
lib.rs untouched, unsafe_code stays deny. Timing fields of the records are explicit
NOT_MEASURED markers (STRA-318).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:43:05 +01:00

32 lines
1.1 KiB
TOML

[package]
name = "leleka-native-cpu-expert"
version = "0.1.0"
description = "Closed native CPU routed-miss numerical owner"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
# Runtime retains the workspace forbid. Only private instruction/platform/pool
# leaves permit audited unsafe operations; the public coordinator is safe Rust.
[lints.rust]
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
[lints.clippy]
all = "warn"
[target.'cfg(all(any(target_os = "linux", target_os = "windows"), target_pointer_width = "64"))'.dependencies]
leleka-cuda-driver = { path = "../cuda-driver", features = ["cuda-driver"] }
[[bin]]
name = "native_expert_parity"
path = "src/bin/native_expert_parity.rs"
# Windows: thread affinity, physical-core list and the read-ahead hint come from Win32 (`src/rust_platform_win.rs`).
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61.2", features = ["Win32_Foundation", "Win32_System_Memory", "Win32_System_SystemInformation", "Win32_System_Threading"] }
leleka-libc-shim = { path = "../libc-shim" }
[dev-dependencies]
sha2 = "0.11"