diff options
| author | Volker Schlecht <47375452+VlkrS@users.noreply.github.com> | 2024-09-23 05:38:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 09:08:16 +0530 |
| commit | 37cedefb4dc4f582311d7478d414d59469e4af5e (patch) | |
| tree | 783d083239279b4d56fb1fc3e7c5b00edf109ad6 /ext/node/lib.rs | |
| parent | ef3e4a8f74ea65cfed58c1276696f50a8779f816 (diff) | |
fix(ext/node): stub cpu_info() for OpenBSD (#25807)
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
Diffstat (limited to 'ext/node/lib.rs')
0 files changed, 0 insertions, 0 deletions
