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

Function write_or_print

src/cli/main.rs:517–524  ·  view source on GitHub ↗
(output: Option<&str>, content: &str)

Source from the content-addressed store, hash-verified

515 outcome.manifest_name,
516 outcome.target,
517 outcome.artifacts.units.len()
518 );
519 if let Some(dir) = &outcome.artifact_dir {
520 eprintln!("fsc: wrote artifacts under `{}`", dir.display());
521 }
522}
523
524fn assemble_from_s_file(path: &str, mode: TargetMode) -> Result<AssembledOutput, CliError> {
525 let asm_text = fs::read_to_string(path)?;
526 let stdlib_objects = compile_stdlib_objects(mode)?;
527 let user_tokens = asm_text_to_tokens(&asm_text);

Callers 2

cmd_hll_to_irFunction · 0.85
cmd_hll_to_asmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected