rust/library
bors fecfc0e6cc Auto merge of #89310 - joshtriplett:available-concurrency-affinity, r=m-ou-se
Make `std:🧵:available_concurrency` support process-limited number of CPUs

Use `libc::sched_getaffinity` and count the number of CPUs in the returned mask. This handles cases where the process doesn't have access to all CPUs, such as when limited via `taskset` or similar.

This also covers cgroup cpusets.
2021-11-07 11:53:25 +00:00
..
alloc Fix str::SplitInclusive stabilisation date 2021-11-05 17:46:58 +10:00
backtrace@7f14f76c8b bump backtrace 2021-10-17 21:20:18 -04:00
core Auto merge of #90348 - Amanieu:asm_feature_gates, r=joshtriplett 2021-11-07 04:59:42 +00:00
panic_abort Add SOLID targets 2021-09-28 11:31:47 +09:00
panic_unwind Add SOLID targets 2021-09-28 11:31:47 +09:00
proc_macro Append .0 to unsuffixed float if it would otherwise become int token 2021-10-25 20:30:47 -07:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Auto merge of #89310 - joshtriplett:available-concurrency-affinity, r=m-ou-se 2021-11-07 11:53:25 +00:00
stdarch@5fdbc476af Update stdarch submodule 2021-09-21 11:24:08 +02:00
test clippy::perf fixes 2021-11-04 21:07:56 +01:00
unwind Repace use of static_nobundle with native_link_modifiers 2021-10-23 15:51:22 +02:00