diff options
| author | bors <bors@rust-lang.org> | 2013-10-29 06:36:43 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-29 06:36:43 -0700 |
| commit | fc766efd16231e521365a29a73bca7f2c4178e9c (patch) | |
| tree | 886d6eda88cb091819e99d620bb9f3f3a8f7571b /src/libstd/rt | |
| parent | 73091583dd42991213e102daefa9181ce500feb0 (diff) | |
| parent | f6b236b9d2780edc1336ea5f62c2ba0fed6e34c5 (diff) | |
| download | rust-fc766efd16231e521365a29a73bca7f2c4178e9c.tar.gz rust-fc766efd16231e521365a29a73bca7f2c4178e9c.zip | |
auto merge of #10141 : kmcallister/rust/current_stack_segment, r=alexcrichton
This was done in 2145de8c and reverted in 0ada7c7f, but Servo needs it. Closes #10065. r? @brson
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/task.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index 8f695763a25..516a795a1ad 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -73,7 +73,10 @@ pub struct Coroutine { /// The segment of stack on which the task is currently running or /// if the task is blocked, on which the task will resume /// execution. - priv current_stack_segment: StackSegment, + /// + /// Servo needs this to be public in order to tell SpiderMonkey + /// about the stack bounds. + current_stack_segment: StackSegment, /// Always valid if the task is alive and not running. saved_context: Context } |
