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

Function compile_hosted_program

tests/integration/kernel_integration.rs:72–77  ·  view source on GitHub ↗

Compile a catalog program (primary + aux units) the way the app boot path does.

(name: &str)

Source from the content-addressed store, hash-verified

70
71// Builds the VM without running it, so a caller can either run it in one shot
72// (boot_kernel) or step it manually and inject input mid-run.
73fn setup_kernel_vm(
74 kernel: &AssembledOutput,
75 user: Option<&AssembledOutput>,
76 fs_image: Option<&[u8]>,
77 input: &str,
78) -> VirtualMachine {
79 let mut vm = VirtualMachine::new_kernel(kernel);
80

Calls

no outgoing calls