Turn a program display name into a lowercase, filesystem-safe stem. Non-alphanumeric characters become underscores; empty results fall back to "program".
(name: &str)
| 1284 | self.last_build = Some(build.clone()); |
| 1285 | self.terminal.push( |
| 1286 | ConsoleStream::Success, |
| 1287 | format!( |
| 1288 | "Linked {}, target {:?}.", |
| 1289 | diagnostics::tally(build.artifacts.units.len() as u64, "unit"), |
| 1290 | build.target |
| 1291 | ), |
| 1292 | ); |
| 1293 | if let Some(dir) = &build.artifact_dir { |
| 1294 | self.terminal.push( |
| 1295 | ConsoleStream::Info, |
| 1296 | format!("Wrote .ir/.s/.elf artifacts to {}", dir.display()), |
| 1297 | ); |
| 1298 | } |
| 1299 | } |
| 1300 | |
| 1301 | fn start_hosted_live_session( |
| 1302 | &mut self, |
| 1303 | config: &RunConfig, |
| 1304 | build: &full_stack::session::BuildOutcome, |
| 1305 | now: f64, |
| 1306 | debug: bool, |
no test coverage detected