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

Function compile_sample

tests/integration/linker.rs:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33fn compile_sample() -> (AssembledOutput, Vec<u8>) {
34 let assembled = compile_object(sample_source());
35 let elf = assembled.to_elf(ELF_LOAD_BASE);
36 (assembled, elf)
37}
38
39fn read_u16(bytes: &[u8], offset: usize) -> u16 {
40 u16::from_le_bytes([bytes[offset], bytes[offset + 1]])

Calls 3

compile_objectFunction · 0.85
sample_sourceFunction · 0.85
to_elfMethod · 0.80