You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustc-test fails to build on FreeBSD. The error is:
error[E0425]: cannot find value `HW_AVAILCPU` in module `libc`
--> /usr/home/somers/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/rustc-test-0.3.0/src/lib.rs:1007:44
|
1007 | let mut mib = [libc::CTL_HW, libc::HW_AVAILCPU, 0, 0];
| ^^^^^^^^^^^ not found in `libc`
I think you probably should be using libc::HW_NCPU instead.
The text was updated successfully, but these errors were encountered:
rustc-test fails to build on FreeBSD. The error is:
I think you probably should be using
libc::HW_NCPU
instead.The text was updated successfully, but these errors were encountered: