MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / cached_kernel

Function cached_kernel

tests/integration/kernel_integration.rs:29–41  ·  view source on GitHub ↗

Kernel built from the per-module stdlib objects plus my_kernel (no source concatenation). This is what most tests boot.

()

Source from the content-addressed store, hash-verified

27 std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
28 .join("crates/os-runtime/kernel/kernel.build"),
29 )
30 .expect("kernel build file parse");
31 BuildExecutor::build(&manifest)
32 .expect("kernel manifest build")
33 .linked
34 })
35}
36
37// --- Shared helpers ---
38
39// Compile a hosted user program and link the hosted stdlib.
40fn compile_hosted(src: &str) -> AssembledOutput {
41 let manifest = BuildManifest::hosted("main", src);
42 BuildExecutor::build(&manifest)
43 .expect("hosted manifest build")
44 .linked

Calls

no outgoing calls