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

Function compile_hosted

tests/integration/kernel_integration.rs:63–68  ·  view source on GitHub ↗

Compile a hosted user program and link the hosted stdlib.

(src: &str)

Source from the content-addressed store, hash-verified

61
62// Compile a catalog program (primary + aux units) the way the app boot path
63// does.
64fn compile_hosted_program(name: &str) -> AssembledOutput {
65 let prog = user::program(name).expect("program in catalog");
66 BuildExecutor::build(&BuildManifest::from_user_program(prog))
67 .expect("catalog hosted manifest build")
68 .linked
69}
70
71// Builds the VM without running it, so a caller can either run it in one shot

Calls

no outgoing calls