Home
last modified time | relevance | path

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

/development/tools/cargo_embargo/src/cargo/
Dcargo_out.rs242 let mut arg_iter = args in from_rustc_invocation() localVariable
253 while let Some(arg) = arg_iter.next() { in from_rustc_invocation()
255 "--crate-name" => out.name = arg_iter.next().unwrap().to_string(), in from_rustc_invocation()
258 .push(CrateType::from_str(arg_iter.next().unwrap().to_string().as_str())), in from_rustc_invocation()
260 "--target" => out.target = Some(arg_iter.next().unwrap().to_string()), in from_rustc_invocation()
263 let arg = arg_iter.next().unwrap(); in from_rustc_invocation()
275 let arg = arg_iter.next().unwrap(); in from_rustc_invocation()
308 arg_iter.next().unwrap() in from_rustc_invocation()
331 "--cap-lints" => out.cap_lints = arg_iter.next().unwrap().to_string(), in from_rustc_invocation()
333 let arg = arg_iter.next().unwrap(); in from_rustc_invocation()
[all …]