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

Function rom_assembles_without_error

crates/virtual-machine/tests/vm_rom_boot.rs:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50#[test]
51fn rom_is_at_least_m_trap_offset() {
52 let bytes = generate_rom_image();
53 assert!(
54 bytes.len() >= M_TRAP_ADDR as usize,
55 "ROM must be at least {} bytes so _m_trap fits; got {} bytes",
56 M_TRAP_ADDR,
57 bytes.len()
58 );

Callers

nothing calls this directly

Calls 1

generate_rom_imageFunction · 0.85

Tested by

no test coverage detected