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

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

Callers 2

cmd_hll_to_irFunction · 0.85
cmd_hll_to_asmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected