about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorThomas Hurst <tom@hur.st>2023-04-25 20:59:50 +0000
committerThomas Hurst <tom@hur.st>2023-04-25 20:59:50 +0000
commite5e640cacef51e401286f93388002f41e8ef3328 (patch)
tree8b3fc326b3d39a457db244dabb01a1325ecabf71 /compiler/rustc_codegen_llvm/src/errors.rs
parent20d90b14ffe8c667757a70c08e2d9736ee89f493 (diff)
downloadrust-e5e640cacef51e401286f93388002f41e8ef3328.tar.gz
rust-e5e640cacef51e401286f93388002f41e8ef3328.zip
Add FreeBSD cpuset support to std::thread::available_concurrency
Use libc::cpuset_getaffinity to determine the CPUs available to the current process.

The existing sysconf and sysctl paths are left as fallback.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions