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

Function make_pipeline

tests/integration/cli_pipeline.rs:14–21  ·  view source on GitHub ↗
(mode: TargetMode, prefix: &str)

Source from the content-addressed store, hash-verified

12const USER_PREFIX: &str = "_u_";
13
14fn make_pipeline(mode: TargetMode, prefix: &str) -> CompilationPipeline {
15 let mut p = CompilationPipeline::new();
16 p.set_target_mode(mode);
17 p.set_string_prefix(Some(prefix.to_owned()));
18 p.set_run_semantic_analysis(false);
19 p.set_write_artifacts(false);
20 p
21}
22
23// Compile HLL + hosted stdlib -> assembled output -> run -> (uart, exit_code).
24fn run_hll(src: &str) -> (String, i64) {

Callers 3

run_hllFunction · 0.70
hll_to_ir_textFunction · 0.70
hll_to_asm_textFunction · 0.70

Calls 4

set_string_prefixMethod · 0.80
set_write_artifactsMethod · 0.80
set_target_modeMethod · 0.45

Tested by

no test coverage detected