MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / rustc_cmd

Function rustc_cmd

debugger/tests/util.rs:236–245  ·  view source on GitHub ↗
(src: &str, obj: &str)

Source from the content-addressed store, hash-verified

234}
235
236fn 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
247fn cargo_b(toml: &str, bin: &str) {
248 let mut cmd = std::process::Command::new("cargo");

Callers 2

rustcFunction · 0.85
rustc_optimizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected