about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-12-18 14:30:38 -0800
committerBrian Anderson <banderson@mozilla.com>2011-12-18 15:22:56 -0800
commit762d7e43a6594beb839e1c7020935b561e2d9ae5 (patch)
tree11e6d4ab7ba94c529c8b4388e6f7a2e719cceef0 /src/rt/rust_task.cpp
parent12cde6ebee48d758b4b6b3ad79194e8f1acc607f (diff)
downloadrust-762d7e43a6594beb839e1c7020935b561e2d9ae5.tar.gz
rust-762d7e43a6594beb839e1c7020935b561e2d9ae5.zip
rt: Trim the red zone to 20k on all platforms
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 918721a6823..3cb553bcd7b 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -19,11 +19,11 @@
 // to the rt, compiler and dynamic linker for running small functions
 // FIXME: We want this to be 128 but need to slim the red zone calls down
 #ifdef __i386__
-#define RED_ZONE_SIZE 65536
+#define RED_ZONE_SIZE 1024*20
 #endif
 
 #ifdef __x86_64__
-#define RED_ZONE_SIZE 65536
+#define RED_ZONE_SIZE 1024*20
 #endif
 
 // Stack size