diff options
| author | Sebastian Humenda <shumenda@gmx.de> | 2017-09-07 21:04:24 +0200 |
|---|---|---|
| committer | Tobias Schaffner <tschaff@genua.de> | 2017-09-08 14:36:56 +0200 |
| commit | 40794bf4b890ed4a6fba9a7c2bee81304a754379 (patch) | |
| tree | a34659af4c67a48559426d9b7cb389c862f8a3d2 /src/libstd/sys | |
| parent | 0b77464d2234231e13d03acd1d580ab2e3369d64 (diff) | |
| download | rust-40794bf4b890ed4a6fba9a7c2bee81304a754379.tar.gz rust-40794bf4b890ed4a6fba9a7c2bee81304a754379.zip | |
Move the stack size value for L4Re to the min_stack_size function
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/thread.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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 => {} |
