mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
commit
4b8079c7bc
1 changed files with 2 additions and 1 deletions
|
|
@ -482,7 +482,8 @@ impl Builder {
|
||||||
}
|
}
|
||||||
if dup_indices.len() > 0 {
|
if dup_indices.len() > 0 {
|
||||||
println!("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
|
println!("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
|
||||||
for (dupe_ns, dupe_i) in dup_indices {
|
// Remove in reverse order to keep indices valid after each removal
|
||||||
|
for (dupe_ns, dupe_i) in dup_indices.into_iter().rev() {
|
||||||
let removed =
|
let removed =
|
||||||
if dupe_ns == 0 { self.services.remove(dupe_i) } else { self.apps.remove(dupe_i) };
|
if dupe_ns == 0 { self.services.remove(dupe_i) } else { self.apps.remove(dupe_i) };
|
||||||
println!("WARNING: Found duplicate package name, removing later instances of {:?}", removed);
|
println!("WARNING: Found duplicate package name, removing later instances of {:?}", removed);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue