(src: &str, obj: &str)
| 234 | } |
| 235 | |
| 236 | fn rustc_cmd(src: &str, obj: &str) -> std::process::Command { |
| 237 | let mut cmd = std::process::Command::new("rustc"); |
| 238 | cmd.arg("--cap-lints=allow") |
| 239 | .arg("--edition=2021") |
| 240 | .arg("-g") |
| 241 | .arg(&src) |
| 242 | .arg("-o") |
| 243 | .arg(&obj); |
| 244 | cmd |
| 245 | } |
| 246 | |
| 247 | fn cargo_b(toml: &str, bin: &str) { |
| 248 | let mut cmd = std::process::Command::new("cargo"); |
no outgoing calls
no test coverage detected