about summary refs log tree commit diff
path: root/src/libstd/task/mod.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-07-29 13:11:05 -0700
committerBrian Anderson <banderson@mozilla.com>2013-07-30 17:10:23 -0700
commit33df9fc1d04c224a0c7ecb8d91b75feed75b412c (patch)
tree0c91f70a46f16da9126cc33dadb3cb050332d5c9 /src/libstd/task/mod.rs
parent8f835d42d7f7090ab6408a9aa6316a0f8f21f3f3 (diff)
downloadrust-33df9fc1d04c224a0c7ecb8d91b75feed75b412c.tar.gz
rust-33df9fc1d04c224a0c7ecb8d91b75feed75b412c.zip
std: Remove foreign_stack_size spawn option. Irrelevant to future FFI changes
Diffstat (limited to 'src/libstd/task/mod.rs')
-rw-r--r--src/libstd/task/mod.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libstd/task/mod.rs b/src/libstd/task/mod.rs
index 5673e100625..895de843061 100644
--- a/src/libstd/task/mod.rs
+++ b/src/libstd/task/mod.rs
@@ -90,17 +90,9 @@ pub enum SchedMode {
  *
  * * sched_mode - The operating mode of the scheduler
  *
- * * foreign_stack_size - The size of the foreign stack, in bytes
- *
- *     Rust code runs on Rust-specific stacks. When Rust code calls foreign
- *     code (via functions in foreign modules) it switches to a typical, large
- *     stack appropriate for running code written in languages like C. By
- *     default these foreign stacks have unspecified size, but with this
- *     option their size can be precisely specified.
  */
 pub struct SchedOpts {
     mode: SchedMode,
-    foreign_stack_size: Option<uint>,
 }
 
 /**
@@ -418,7 +410,6 @@ pub fn default_task_opts() -> TaskOpts {
         notify_chan: None,
         sched: SchedOpts {
             mode: DefaultScheduler,
-            foreign_stack_size: None
         }
     }
 }