Skip to content

Commit 2145de8

Browse files
author
Keegan McAllister
committed
rt::task: Make current_stack_segment public
Servo needs to tell SpiderMonkey about the stack bounds.
1 parent ecfc9a8 commit 2145de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/task.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub struct Coroutine {
6464
/// The segment of stack on which the task is currently running or
6565
/// if the task is blocked, on which the task will resume
6666
/// execution.
67-
priv current_stack_segment: StackSegment,
67+
current_stack_segment: StackSegment,
6868
/// Always valid if the task is alive and not running.
6969
saved_context: Context
7070
}

0 commit comments

Comments
 (0)