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
Add makedev for the BSDs #2891
Add makedev for the BSDs #2891
Conversation
Some changes occurred in OpenBSD module cc @semarie |
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
cc @musikid |
LGTM for openbsd. just a question about the type used for the function definition: why using |
Just because that's what the existing Linux definition does. |
Thanks! @bors r+ |
Add makedev for the BSDs Also, make Linux's makedev function safe and const.
💔 Test failed - checks-actions |
Ahh, crap. I forgot about FreeBSD 11. |
👍, @bors r+ |
Add makedev for the BSDs Also, make Linux's makedev function safe and const.
💔 Test failed - checks-actions |
@JohnTitor I think this should fix the bors error. But I don't know how to run the tests on emscripten except by asking bors to merge. |
@JohnTitor I think if you do " bors delegate=asomers" then that will give me permission to use "bors try". It'll also give me permission to merge the PR, but I promise not to do that unless you say so ;) . |
👍, @bors delegate+ |
✌️ @asomers can now approve this pull request |
@bors try |
Add makedev for the BSDs Also, make Linux's makedev function safe and const.
💔 Test failed - checks-actions |
bors try |
@bors try |
Add makedev for the BSDs Also, make Linux's makedev function safe and const.
💔 Test failed - checks-actions |
@bors try |
Add makedev for the BSDs Also, make Linux's makedev function safe and const.
💔 Test failed - checks-actions |
@bors try |
Add makedev for the BSDs Also, make Linux's makedev function safe and const.
☀️ Try build successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
Also, make makedev function safe and const on all platforms. On Android, change the arguments from signed to unsigned integers to match the other platforms. The C makedev is a macro, so the signededness is undefined. Add an integration test for makedev, too, since it's a macro that we must reimplement.
@JohnTitor it finally passes CI, I've squashed my commits. |
Thanks! @bors r+ |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
Also, make Linux's makedev function safe and const.