From 40794bf4b890ed4a6fba9a7c2bee81304a754379 Mon Sep 17 00:00:00 2001 From: Sebastian Humenda Date: Thu, 7 Sep 2017 21:04:24 +0200 Subject: Move the stack size value for L4Re to the min_stack_size function --- src/libstd/sys/unix/thread.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/libstd/sys') diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs index 5e2610736a8..60bce7924cd 100644 --- a/src/libstd/sys/unix/thread.rs +++ b/src/libstd/sys/unix/thread.rs @@ -53,10 +53,6 @@ impl Thread { let stack_size = cmp::max(stack, min_stack_size(&attr)); - // L4Re only supports a maximum of 1Mb per default. - #[cfg(target_os = "l4re")] - let stack_size = cmp::min(stack_size, 1024 * 1024); - match pthread_attr_setstacksize(&mut attr, stack_size) { 0 => {} -- cgit 1.4.1-3-g733a5