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>
This commit is contained in:
Pavlo Ratushnyi
2026-10-28 20:43:05 +01:00
co-authored by Claude Sonnet 5.5
parent 75254fb593
commit d096ecd8e8
3 changed files with 1537 additions and 0 deletions
Generated
+1
View File
@@ -1436,6 +1436,7 @@ version = "0.1.0"
dependencies = [
"leleka-cuda-driver",
"leleka-libc-shim",
"sha2",
"windows-sys 0.61.2",
]
+3
View File
@@ -26,3 +26,6 @@ path = "src/bin/native_expert_parity.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"
File diff suppressed because it is too large Load Diff