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

Function run_hll_file

tests/integration/vm_execution.rs:107–113  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

105 let manifest = env!("CARGO_MANIFEST_DIR");
106 let full_path = std::path::Path::new(manifest).join(path);
107 let src = std::fs::read_to_string(&full_path)
108 .unwrap_or_else(|e| panic!("failed to read {path}: {e}"));
109 run_hll_with_limit(&src, 50_000_000)
110}
111
112fn run_hll(src: &str) -> (VirtualMachine, StepOutcome, String) {
113 run_hll_with_limit(src, 5_000_000)
114}
115
116// Compiles the whole import closure, primary plus every qualified import, so

Callers 5

qemu_02_control_flowFunction · 0.85
qemu_05_functions_and_ioFunction · 0.85

Calls 1

run_hll_with_limitFunction · 0.85

Tested by 5

qemu_02_control_flowFunction · 0.68
qemu_05_functions_and_ioFunction · 0.68