+rust-rayon-core (1.12.0-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Team upload.
+ * Package rayon-core 1.12.0 from crates.io using debcargo 2.6.1
+ * Switch from num_cpus::get() > 8 to std::thread::available_parallelism()
+ in constrain-thread-count.patch following upstream change. This should
+ fix build failure of tests on 32-bit architectures.
+
+ -- Peter Michael Green <plugwash@debian.org> Sat, 9 Dec 2023 13:38:42 +0000
+
rust-rayon-core (1.12.0-1) unstable; urgency=medium
* Team upload.
+ let mut poolbuilder = ThreadPoolBuilder::new()
+ .stack_size(stack_size_in_mb * 1024 * 1024);
+ #[cfg(target_pointer_width = "32")]
-+ if num_cpus::get() > 8 {
++ if std::thread::available_parallelism().map(|n| n.get()).unwrap_or(1) > 8 {
+ poolbuilder = poolbuilder.num_threads(8);
+ }
+ let pool = poolbuilder