summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-09 03:26:27 +0000
committerbors <bors@rust-lang.org>2022-10-09 03:26:27 +0000
commit96c85c1b913604fb5b1eb8822e344b7c08bcd6b9 (patch)
tree63ac5378324a1e39b201fd5f1e2e930498bd8349 /libc-test
parent8501d724da7859275f405d0effb76f570456b4f3 (diff)
parentb94ddf955e5726b4ec356228bd37c40caab58869 (diff)
downloadrust-libc-96c85c1b913604fb5b1eb8822e344b7c08bcd6b9.tar.gz
Auto merge of #2946 - devnexen:os_log_macos, r=JohnTitor
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