From 2145de8c8f0287449d0b131e3a297cd08cac12b6 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 12 Aug 2013 13:54:38 -0700 Subject: [PATCH] rt::task: Make current_stack_segment public Servo needs to tell SpiderMonkey about the stack bounds. --- src/libstd/rt/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index b50e794cce0f..ac6714d8124e 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 }