Add/Fix OpenBSD native_cpus (#2387)

* Add OpenBSD `native_cpus`

* update release notes

---------

Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
This commit is contained in:
Zack Puhl
2025-08-11 17:10:09 -04:00
committed by GitHub
parent be98a01ed8
commit b73a44ec7d
4 changed files with 65 additions and 3 deletions

View File

@@ -56,5 +56,5 @@ struct Stat @if(!env::X86_64)
extern fn CInt stat(ZString path, Stat* stat);
extern fn CInt get_nprocs();
extern fn CInt get_nprocs_conf();
extern fn CInt sysctl(CInt *name, CUInt namelen, void *oldp, usz *oldlenp, void *newp, usz newlen);