summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-01 14:17:47 +0000
committerbors <bors@rust-lang.org>2023-03-01 14:17:47 +0000
commit09d5a4b4942f62179ed010390cdcf05b0c28875c (patch)
tree2c354b4ae45afa7024e43960c160594310c9040c /libc-test
parent02d27a4163436c05cd8967141b8a1e0e2acc68e4 (diff)
parent1f5e500fa0a7b724d31a4e2be44717a2099b3724 (diff)
downloadrust-libc-09d5a4b4942f62179ed010390cdcf05b0c28875c.tar.gz
Auto merge of #3128 - stepancheg:qos-class, r=JohnTitor
Add posix_spawnattr_set_qos_class_np https://opensource.apple.com/source/libpthread/libpthread-137.1.1/pthread/spawn.h
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs1
-rw-r--r--libc-test/semver/apple.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 98c802e338..73c1c8fdb4 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -240,6 +240,7 @@ fn test_apple(target: &str) {
"pthread.h",
"pthread_spis.h",
"pthread/introspection.h",
+ "pthread/spawn.h",
"pthread/stack_np.h",
"pwd.h",
"regex.h",
diff --git a/libc-test/semver/apple.txt b/libc-test/semver/apple.txt
index 106a0d2eaf..b697b893ae 100644
--- a/libc-test/semver/apple.txt
+++ b/libc-test/semver/apple.txt
@@ -2033,12 +2033,14 @@ posix_spawn_file_actions_destroy
posix_spawn_file_actions_init
posix_spawn_file_actions_t
posix_spawnattr_destroy
+posix_spawnattr_get_qos_class_np
posix_spawnattr_getarchpref_np
posix_spawnattr_getflags
posix_spawnattr_getpgroup
posix_spawnattr_getsigdefault
posix_spawnattr_getsigmask
posix_spawnattr_init
+posix_spawnattr_set_qos_class_np
posix_spawnattr_setarchpref_np
posix_spawnattr_setflags
posix_spawnattr_setpgroup