summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2022-10-07 20:02:49 +0100
committerDavid CARLIER <devnexen@gmail.com>2022-10-07 20:02:49 +0100
commitb94ddf955e5726b4ec356228bd37c40caab58869 (patch)
tree805de7faf08f413e1fde28a6212c3cee90e31640 /libc-test
parent2dfe1ab9eed52d0f46983414028fe5ec49e0d5e0 (diff)
downloadrust-libc-b94ddf955e5726b4ec356228bd37c40caab58869.tar.gz
os_log/signpost for apple api subset
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs1
-rw-r--r--libc-test/semver/apple.txt17
2 files changed, 18 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 5376c46860..3611ae0923 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -232,6 +232,7 @@ fn test_apple(target: &str) {
"netinet/tcp.h",
"netinet/udp.h",
"os/lock.h",
+ "os/signpost.h",
"poll.h",
"pthread.h",
"pthread_spis.h",
diff --git a/libc-test/semver/apple.txt b/libc-test/semver/apple.txt
index 83cd77d9a2..7235418174 100644
--- a/libc-test/semver/apple.txt
+++ b/libc-test/semver/apple.txt
@@ -1003,6 +1003,14 @@ OFDEL
OFILL
OLD_TIME
ONOEOT
+OS_LOG_TYPE_DEBUG
+OS_LOG_TYPE_DEFAULT
+OS_LOG_TYPE_ERROR
+OS_LOG_TYPE_FAULT
+OS_LOG_TYPE_INFO
+OS_SIGNPOST_EVENT
+OS_SIGNPOST_INTERVAL_BEGIN
+OS_SIGNPOST_INTERVAL_END
OS_UNFAIR_LOCK_INIT
OXTABS
O_ASYNC
@@ -1994,6 +2002,15 @@ open_memstream
open_wmemstream
openat
openpty
+os_log_create
+os_log_t
+os_log_type_t
+os_log_type_enabled
+os_signpost_enabled
+os_signpost_id_generate
+os_signpost_id_make_with_pointer
+os_signpost_id_t
+os_signpost_type_t
os_unfair_lock
os_unfair_lock_s
os_unfair_lock_t