Add OpenBSD's futex.h. by m-ou-se · Pull Request #2761 · rust-lang/libc (original) (raw)
@m-ou-se my local CI still doesn't pass due to volatile
arguments in the function (rust doesn't understand volatile).
so could you add a "futex" entry inside cfg.skip_fn()
with a comment, in order to avoid checking the function ?
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.