(path: &str)
| 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 | |
| 112 | fn 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 |