(output: Option<&str>, content: &str)
| 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 | |
| 524 | fn 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); |
no outgoing calls
no test coverage detected