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 7e67eba commit 9ee972cCopy full SHA for 9ee972c
src/libstd/sys/unix/thread.rs
@@ -278,7 +278,7 @@ fn min_stack_size(_: *const libc::pthread_attr_t) -> libc::size_t {
278
PTHREAD_STACK_MIN
279
}
280
281
-#[cfg(any(target_os = "linux"))]
+#[cfg(any(target_os = "linux", target_os = "android"))]
282
extern {
283
pub fn pthread_self() -> libc::pthread_t;
284
pub fn pthread_getattr_np(native: libc::pthread_t,
0 commit comments