summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorAlexander Batischev <eual.jp@gmail.com>2020-04-04 20:54:02 +0300
committerAlexander Batischev <eual.jp@gmail.com>2020-04-13 15:57:58 +0300
commitfda521b9d247098b89e48ca532bebc53462e7b3c (patch)
tree65b2c8ec15d4a1c3167580d3a520229227694dbc /libc-test
parent29b27da956002079bba0f9c6eb2d3ed29b8e49ab (diff)
downloadrust-libc-fda521b9d247098b89e48ca532bebc53462e7b3c.tar.gz
Add bindings for POSIX regexes
Headers I used: Oh, for reference, here are the headers I used while working on this: - musl: https://git.musl-libc.org/cgit/musl/tree/include/regex.h?id=8327ae0cb23b799bc55a45e0d4bd95f5a2b1cdf1 - glibc: https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/regex.h;h=87cce7f5cb8cc3b678467329b479bd511e250e61;hb=HEAD - macOS: https://opensource.apple.com/source/Libc/Libc-997.90.3/include/regex.h.auto.html - FreeBSD: https://github.com/freebsd/freebsd/blob/8103b0ddb041617b7cd161528f0ff93ff32970a2/include/regex.h - NetBSD: https://github.com/NetBSD/src/blob/61c8f6fbb7e38b20e862d5cb3ed2203312963283/include/regex.h
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 175a9798bf..4e5d1e0489 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -124,6 +124,7 @@ fn test_apple(target: &str) {
"poll.h",
"pthread.h",
"pwd.h",
+ "regex.h",
"resolv.h",
"sched.h",
"semaphore.h",
@@ -303,6 +304,7 @@ fn test_openbsd(target: &str) {
"netinet/tcp.h",
"netinet/udp.h",
"net/bpf.h",
+ "regex.h",
"resolv.h",
"pthread.h",
"dlfcn.h",
@@ -903,6 +905,7 @@ fn test_netbsd(target: &str) {
"poll.h",
"pthread.h",
"pwd.h",
+ "regex.h",
"resolv.h",
"sched.h",
"semaphore.h",
@@ -1098,6 +1101,7 @@ fn test_dragonflybsd(target: &str) {
"pthread.h",
"pthread_np.h",
"pwd.h",
+ "regex.h",
"resolv.h",
"sched.h",
"semaphore.h",
@@ -1643,6 +1647,7 @@ fn test_freebsd(target: &str) {
"pthread.h",
"pthread_np.h",
"pwd.h",
+ "regex.h",
"resolv.h",
"sched.h",
"semaphore.h",
@@ -2248,6 +2253,7 @@ fn test_linux(target: &str) {
"pthread.h",
"pty.h",
"pwd.h",
+ "regex.h",
"resolv.h",
"sched.h",
"semaphore.h",