Skip to content
Snippets Groups Projects
Commit eada6854 authored by Per Lindgren's avatar Per Lindgren
Browse files

parse last

parent 0d06cf63
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,9 @@ fn parse_out(out_str: &str) -> Out {
};
let output = out_str;
let mut i = output.lines().into_iter();
i.next_back(); // skip last line (Finished)
if let Some(line) = i.next_back() {
// iterate for each output line, the last will always be the target
while let Some(line) = i.next() {
let mut crate_name = false;
let mut out_dir = false;
for part in line.split(' ') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment