Remove ad-hoc print of executed/cached steps in verbose mode

When verbose mode is enabled, it is very hard to see the actually executed steps.
This commit is contained in:
Jakub Beránek 2025-08-11 16:57:31 +02:00
parent 1e14229e40
commit 690c781475
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -1677,8 +1677,6 @@ You have to build a stage1 compiler for `{}` first, and then use it to build a s
panic!("{}", out);
}
if let Some(out) = self.cache.get(&step) {
self.verbose_than(1, || println!("{}c {:?}", " ".repeat(stack.len()), step));
#[cfg(feature = "tracing")]
{
if let Some(parent) = stack.last() {
@ -1688,7 +1686,6 @@ You have to build a stage1 compiler for `{}` first, and then use it to build a s
}
return out;
}
self.verbose_than(1, || println!("{}> {:?}", " ".repeat(stack.len()), step));
#[cfg(feature = "tracing")]
{
@ -1749,7 +1746,6 @@ You have to build a stage1 compiler for `{}` first, and then use it to build a s
let cur_step = stack.pop().expect("step stack empty");
assert_eq!(cur_step.downcast_ref(), Some(&step));
}
self.verbose_than(1, || println!("{}< {:?}", " ".repeat(self.stack.borrow().len()), step));
self.cache.put(step, out.clone());
out
}