This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Description
When using indicatif in progress callback it crashes
use std::thread;
use std::time::Duration;
use indicatif::ProgressBar;
fn main() {
let pb = ProgressBar::new(100);
// setup whisper-rs model
// tried with move or without
// register progress callback
params.set_progress_callback_safe(move |progress| {
pb.set_position(progress);
});
pb.finish_with_message("done");
}