Add OpenBSD's futex.h. - #2761
Conversation
|
Some changes occurred in OpenBSD module cc @semarie |
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon. Please see the contribution instructions for more information. |
|
Some points:
|
|
@semarie Thanks! How about now? |
|
@m-ou-se my local CI still doesn't pass due to something like: diff --git a/libc-test/build.rs b/libc-test/build.rs
index 27497fa7189..11c9c1d2e5c 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -505,6 +506,9 @@ fn test_openbsd(target: &str) {
// https://marc.info/?l=openbsd-cvs&m=154723400730318
"mincore" => true,
+ // futex has volative arguments, Rust doesn't understand them
+ "futex" => true,
+
_ => false,
}
});else, with it, all tests passed. I am fine with your PR. |
|
@bors r+ |
|
📌 Commit e5b9bc0 has been approved by |
|
☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13 |
This adds OpenBSD's src/sys/sys/futex.h.