We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33a3d6d commit 7e67ebaCopy full SHA for 7e67eba
src/libstd/sys/unix/thread.rs
@@ -296,7 +296,7 @@ extern {
296
fn pthread_set_name_np(tid: libc::pthread_t, name: *const libc::c_char);
297
}
298
299
-#[cfg(target_os = "macos")]
+#[cfg(any(target_os = "macos", target_os = "ios"))]
300
extern {
301
pub fn pthread_self() -> libc::pthread_t;
302
pub fn pthread_get_stackaddr_np(thread: libc::pthread_t) -> *mut libc::c_void;
0 commit comments