Library changes for Apple WatchOS
This commit is contained in:
parent
c3605f8c80
commit
439d64a83c
20 changed files with 75 additions and 29 deletions
|
|
@ -139,7 +139,7 @@ impl Thread {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
||||
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos"))]
|
||||
pub fn set_name(name: &CStr) {
|
||||
unsafe {
|
||||
libc::pthread_setname_np(name.as_ptr());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue