CVSROOT: /cvs Module name: ports Changes by: [email protected] 2023/12/30 04:28:35
Modified files:
lang/rust : Makefile
Added files:
lang/rust/patches: patch-library_std_src_sys_unix_thread_rs
Log message:
backport std::thread::available_parallelism fix on lang/rust
see https://github.com/rust-lang/rust/pull/119436
it makes std::thread::available_parallelism to use sysconf(_SC_NPROCESSORS_ONLN)
and only fallback to sysctl([CTL_HW, HW_NCPU]).
Problem reported by Jiri Navratil
