New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU_SETSIZE constant to dragonflybsd. #2925
Conversation
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
Seems it doesn't belong to cpuset.h but cpumask.h on DragonflyBSD: https://github.com/DragonFlyBSD/DragonFlyBSD/blob/c163a4d7ee9c6857ee4e04a3a2cbb50c3de29da1/sys/sys/cpumask.h#L36 Looking at its declaration, it can be different from FreeBSD, I guess? |
I did a quick c test and there is only one arch. |
I mean, FreeBSD defines it as a fixed value but Dragonfly does it as a flexible value, so it's possible that these values would be different in the future. Following Dragonfly's manner is safer and I don't see any harm in it. |
da125a6
to
f0808a0
Compare
f0808a0
to
5dc92a1
Compare
Thanks! @bors r+ |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
No description provided.