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 0090e01 commit b6641c1Copy full SHA for b6641c1
src/libstd/sys/unix/thread.rs
@@ -343,8 +343,8 @@ fn min_stack_size(attr: *const libc::pthread_attr_t) -> libc::size_t {
343
}
344
345
346
-// __pthread_get_minstack() is marked as weak but extern_weak linkage is
347
-// not supported on OS X, hence this kludge...
+// No point in looking up __pthread_get_minstack() on non-glibc
+// platforms.
348
#[cfg(not(target_os = "linux"))]
349
fn min_stack_size(_: *const libc::pthread_attr_t) -> libc::size_t {
350
PTHREAD_STACK_MIN
0 commit comments