]> git.lizzy.rs Git - rust.git/commitdiff
rt::task: Make current_stack_segment public
authorKeegan McAllister <kmcallister@mozilla.com>
Mon, 12 Aug 2013 20:54:38 +0000 (13:54 -0700)
committerKeegan McAllister <kmcallister@mozilla.com>
Mon, 12 Aug 2013 20:54:40 +0000 (13:54 -0700)
Servo needs to tell SpiderMonkey about the stack bounds.

src/libstd/rt/task.rs

index b50e794cce0f34b6de9850c58acc8695746b9339..ac6714d8124e93412f2cd5741228905864d5e775 100644 (file)
@@ -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
 }