File tree Expand file tree Collapse file tree
library/std/src/sys/pal/unix Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ mod imp {
305305 }
306306
307307 /// Modern kernels on modern hardware can have dynamic signal stack sizes.
308- #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
308+ #[ cfg( all ( any( target_os = "linux" , target_os = "android" ) , not ( target_env = "uclibc" ) ) ) ]
309309 fn sigstack_size ( ) -> usize {
310310 let dynamic_sigstksz = unsafe { libc:: getauxval ( libc:: AT_MINSIGSTKSZ ) } ;
311311 // If getauxval couldn't find the entry, it returns 0,
@@ -315,7 +315,7 @@ mod imp {
315315 }
316316
317317 /// Not all OS support hardware where this is needed.
318- #[ cfg( not( any( target_os = "linux" , target_os = "android" ) ) ) ]
318+ #[ cfg( not( all ( any( target_os = "linux" , target_os = "android" ) , not ( target_env = "uclibc" ) ) ) ) ]
319319 fn sigstack_size ( ) -> usize {
320320 libc:: SIGSTKSZ
321321 }
You can’t perform that action at this time.
0 commit comments