about summary refs log tree commit diff
path: root/src/rt/rust_env.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-12-14 15:36:31 -0800
committerBrian Anderson <banderson@mozilla.com>2011-12-17 13:45:38 -0800
commit0ed5117a9d1cdf0024b8c14d810a71d48c365350 (patch)
treea113f51dbf15dc1f8386ee45116feafc40aee75e /src/rt/rust_env.cpp
parentc1a2c2f6b0340bfd1a82ff7c3a0a8a76951969ac (diff)
downloadrust-0ed5117a9d1cdf0024b8c14d810a71d48c365350.tar.gz
rust-0ed5117a9d1cdf0024b8c14d810a71d48c365350.zip
rt: Set the default stack size to 768 bytes. Double on each alloc
Diffstat (limited to 'src/rt/rust_env.cpp')
-rw-r--r--src/rt/rust_env.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rt/rust_env.cpp b/src/rt/rust_env.cpp
index 1bad4259084..b220c459c0b 100644
--- a/src/rt/rust_env.cpp
+++ b/src/rt/rust_env.cpp
@@ -67,9 +67,6 @@ get_num_threads()
     return get_num_cpus();
 }
 
-// FIXME (issue #151): This should be 0x300; the change here is for
-// practicality's sake until stack growth is working.
-
 static size_t
 get_min_stk_size() {
     char *stack_size = getenv(RUST_MIN_STACK);
@@ -77,7 +74,7 @@ get_min_stk_size() {
         return strtol(stack_size, NULL, 0);
     }
     else {
-        return 0x300000;
+        return 0x300;
     }
 }