aboutsummaryrefslogtreecommitdiff
path: root/b3sum/src
diff options
context:
space:
mode:
authorsilvanshade <[email protected]>2024-06-18 15:07:41 -0600
committerJack O'Connor <[email protected]>2024-07-03 12:27:14 -0400
commit648a06043a6c29bc34c7bc68384054b75340ec88 (patch)
tree0a04d7a7cbb85a531b049c3eb19a42092b069920 /b3sum/src
parentc8834c24a67763cc0fb097316a8d29d38888c9c8 (diff)
Switch to rayon-core for faster build
Diffstat (limited to 'b3sum/src')
-rw-r--r--b3sum/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/b3sum/src/main.rs b/b3sum/src/main.rs
index 228737f..a55d910 100644
--- a/b3sum/src/main.rs
+++ b/b3sum/src/main.rs
@@ -475,7 +475,7 @@ fn check_one_checkfile(path: &Path, args: &Args, files_failed: &mut u64) -> Resu
fn main() -> Result<()> {
let args = Args::parse()?;
- let mut thread_pool_builder = rayon::ThreadPoolBuilder::new();
+ let mut thread_pool_builder = rayon_core::ThreadPoolBuilder::new();
if let Some(num_threads) = args.num_threads() {
thread_pool_builder = thread_pool_builder.num_threads(num_threads);
}