summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-05-28 13:52:31 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-05-28 16:01:26 +0200
commit0bc18a5dc916b7f8957193eaf158963570d6cd8e (patch)
treeb4d7ef5fc5d786da2abdbb518565c57cd1786850 /libc-test
parent05caeabe91a348c1d84e6ecbd151076fd74344ef (diff)
downloadrust-libc-0bc18a5dc916b7f8957193eaf158963570d6cd8e.tar.gz
[breaking change] sendmmsg/recvmmsg have incorrect signature c_int vs c_uint on emscripten
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index bc84b99284..f7f8c7c192 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1789,6 +1789,9 @@ fn test_emscripten(target: &str) {
// users should use SIGSYS instead
"SIGUNUSED" => true,
+ // FIXME: emscripten uses different constants to constructs these
+ n if n.contains("__SIZEOF_PTHREAD") => true,
+
_ => false,
}
});