mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -05:00
37cedefb4d
Add an implementation of cpu_info() for OpenBSD, that returns a correctly-sized array. Since Rust's libc bindings for OpenBSD do not contain all symbols necessary for a full implementation and it is not planned to add them, this solution at least avoids problems with code that relies on cpu_info() purely for the size of the returned array to derive the number of available CPUs. This addresses https://github.com/denoland/deno/issues/25621 |
||
---|---|---|
.. | ||
cpus.rs | ||
mod.rs | ||
priority.rs |