mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 16:33:49 +00:00
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
|
||||
/// 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user