diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2013-08-12 13:54:38 -0700 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2013-08-12 13:54:40 -0700 |
| commit | 2145de8c8f0287449d0b131e3a297cd08cac12b6 (patch) | |
| tree | 303af503055501ade8b0ad8afae697a8abf07c6c /src/libstd | |
| parent | ecfc9a82231eef47bf522e6d18138a0f3414d914 (diff) | |
| download | rust-2145de8c8f0287449d0b131e3a297cd08cac12b6.tar.gz rust-2145de8c8f0287449d0b131e3a297cd08cac12b6.zip | |
rt::task: Make current_stack_segment public
Servo needs to tell SpiderMonkey about the stack bounds.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index b50e794cce0..ac6714d8124 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -64,7 +64,7 @@ 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, + current_stack_segment: StackSegment, /// Always valid if the task is alive and not running. saved_context: Context } |
