Commit eada6854 authored by Per Lindgren's avatar Per Lindgren

parse last

parent 0d06cf63
......@@ -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(' ') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment