Skip to content

Commit 7ecb88f

Browse files
committed
No need for multi_progress
1 parent 2931d7c commit 7ecb88f

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

kani-driver/src/harness_runner.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,6 @@ impl KaniSession {
229229
) -> Result<VerificationResult> {
230230
let thread_index = rayon::current_thread_index().unwrap_or_default();
231231

232-
// Determine if we should suppress console output (when using log file with progress indicator)
233-
let suppress_console = self.args.log_file.is_some() && std::io::stdout().is_terminal();
234-
235232
if !self.args.common_args.quiet {
236233
// If the harness is automatically generated, pretty_name refers to the function under verification.
237234
let mut msg = if harness.is_automatically_generated {

kani-driver/src/progress_indicator.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0 OR MIT
33
//! Progress indicator for verification harness execution
44
5-
use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
6-
use std::io::IsTerminal;
5+
use indicatif::{ProgressBar, ProgressStyle};
76
use std::sync::Arc;
87
use std::sync::atomic::{AtomicUsize, Ordering};
98

@@ -73,8 +72,7 @@ impl ProgressIndicator {
7372
let stats = VerificationStats::new(total_harnesses);
7473

7574
if show_progress {
76-
let multi_progress = MultiProgress::new();
77-
let progress_bar = multi_progress.add(ProgressBar::new(total_harnesses as u64));
75+
let progress_bar = ProgressBar::new(total_harnesses as u64);
7876

7977
progress_bar.set_style(
8078
ProgressStyle::with_template(

0 commit comments

Comments
 (0)