summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2022-09-01 22:03:47 +0100
committerDavid CARLIER <devnexen@gmail.com>2022-09-01 22:30:08 +0100
commit52b45a79c922810bc6eae9b7a4b2a3507e235681 (patch)
tree3733ea5458c13cc1d8535f8fb408b0e691b97622 /libc-test
parentf1c3cfea63344a508764001d7cfd48f39217439e (diff)
downloadrust-libc-52b45a79c922810bc6eae9b7a4b2a3507e235681.tar.gz
apple add pthread_jit_write_callback_t api related.
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs3
-rw-r--r--libc-test/semver/apple.txt3
2 files changed, 6 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index b42402f08a..00494a6f15 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -321,6 +321,9 @@ fn test_apple(target: &str) {
// close calls the close_nocancel system call
"close" => true,
+ // FIXME: remove once the target in CI is updated
+ "pthread_jit_write_freeze_callbacks_np" => true,
+
_ => false,
}
});
diff --git a/libc-test/semver/apple.txt b/libc-test/semver/apple.txt
index b51019fbb5..15eeb1c7b8 100644
--- a/libc-test/semver/apple.txt
+++ b/libc-test/semver/apple.txt
@@ -1905,8 +1905,11 @@ pthread_introspection_getspecific_np
pthread_introspection_hook_t
pthread_introspection_hook_install
pthread_introspection_setspecific_np
+pthread_jit_write_callback_t
+pthread_jit_write_freeze_callbacks_np
pthread_jit_write_protect_np
pthread_jit_write_protect_supported_np
+pthread_jit_write_with_callback_np
pthread_setschedparam
pthread_cancel
pthread_condattr_getpshared