rt::task: Make current_stack_segment public
Servo needs to tell SpiderMonkey about the stack bounds.
This commit is contained in:
parent
ecfc9a8223
commit
2145de8c8f
|
@ -64,7 +64,7 @@ pub struct Coroutine {
|
||||||
/// The segment of stack on which the task is currently running or
|
/// The segment of stack on which the task is currently running or
|
||||||
/// if the task is blocked, on which the task will resume
|
/// if the task is blocked, on which the task will resume
|
||||||
/// execution.
|
/// execution.
|
||||||
priv current_stack_segment: StackSegment,
|
current_stack_segment: StackSegment,
|
||||||
/// Always valid if the task is alive and not running.
|
/// Always valid if the task is alive and not running.
|
||||||
saved_context: Context
|
saved_context: Context
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue