Home
last modified time | relevance | path

Searched refs:cargo_out (Results 1 – 4 of 4) sorted by relevance

/development/tools/cargo_embargo/src/cargo/
Dcargo_out.rs38 &cargo_output.cargo_out, in parse_cargo_out()
49 cargo_out: &str, in parse_cargo_out_str()
53 let cargo_out = CargoOut::parse(cargo_out).context("failed to parse cargo.out")?; in parse_cargo_out_str() localVariable
54 debug!("Parsed cargo output: {:?}", cargo_out); in parse_cargo_out_str()
56 assert!(cargo_out.cc_invocations.is_empty(), "cc not supported yet"); in parse_cargo_out_str()
57 assert!(cargo_out.ar_invocations.is_empty(), "ar not supported yet"); in parse_cargo_out_str()
60 for rustc in cargo_out.rustc_invocations.iter() { in parse_cargo_out_str()
61 let c = Crate::from_rustc_invocation(rustc, metadata, &cargo_out.tests) in parse_cargo_out_str()
/development/scripts/
Dcargo2rulesmk.py827 cargo_out = "./cargo.out"
838 if os.path.exists(cargo_out):
839 os.remove(cargo_out)
843 cmd_tail_redir = " >> " + cargo_out + " 2>&1"
878 self.run_cmd(cmd, cargo_out)
888 self.run_cmd(cmd, cargo_out)
904 def run_cmd(self, cmd, cargo_out): argument
910 with open(cargo_out, "a+", encoding="utf-8") as out_file:
961 with open(CARGO_OUT, "r", encoding="utf-8") as cargo_out:
962 self.parse(cargo_out, "rules.mk")
/development/tools/cargo_embargo/src/
Dcargo.rs17 pub mod cargo_out; module
Dmain.rs43 cargo_out::parse_cargo_out, metadata::parse_cargo_metadata_str, Crate, CrateType, ExternType,
309 cargo_out: read_to_string(cargo_out_path)?, in make_crates()
316 write(cargo_out_path, &cargo_output.cargo_out)?; in make_crates()
463 cargo_out: String, field
510 let mut cargo_out = String::new(); in generate_cargo_out() localVariable
526 cargo_out += &run_cargo( in generate_cargo_out()
539 cargo_out += &run_cargo( in generate_cargo_out()
550 cargo_out += &run_cargo( in generate_cargo_out()
563 Ok(CargoOutput { cargo_metadata, cargo_out }) in generate_cargo_out()