mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
std: clarify available_parallelism docs for Windows 11 processor groups On Windows, `available_parallelism`'s docs say the "more than 64 logical CPUs" undercount is harmless because a program needs special support to use more than 64 anyway. That stopped being true in Windows 11 and Windows Server 2022: processes now [span all processor groups by default](https://learn.microsoft.com/en-us/windows/win32/procthread/processor-groups#behavior-starting-with-windows-11-and-windows-server-2022), so a program can use more than 64 without any special handling, while `GetSystemInfo` still counts only one group. Updates the note to describe the before and after. Docs only. Addresses rust-lang/rust#152389 r? @ChrisDenton