Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
orchestra: hide subsystem cycle warnings by default (#6047)
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian authored Sep 26, 2022
1 parent 403c3e1 commit 2b2376d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions node/orchestra/proc-macro/src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ impl<'a> ConnectionGraph<'a> {
}
}));
match sccs.len() {
0 => println!("✅ Found no strongly connected components, hence no cycles exist"),
1 => println!(
0 => eprintln!("✅ Found no strongly connected components, hence no cycles exist"),
1 => eprintln!(
"⚡ Found 1 strongly connected component which includes at least one cycle"
),
n => println!(
n => eprintln!(
"⚡ Found {n} strongly connected components which includes at least one cycle each"
),
}
Expand Down Expand Up @@ -169,7 +169,7 @@ impl<'a> ConnectionGraph<'a> {
}
}
let acc = String::from_iter(acc);
println!("cycle({print_idx:03}) ∈ {scc_tag}: {acc} *");
eprintln!("cycle({print_idx:03}) ∈ {scc_tag}: {acc} *");
}

sccs
Expand Down

0 comments on commit 2b2376d

Please sign in to comment.