Skip to content

Commit

Permalink
rt::task: Make current_stack_segment public again
Browse files Browse the repository at this point in the history
This was done in 2145de8 and reverted in 0ada7c7, but Servo needs it.

Closes #10065.
  • Loading branch information
Keegan McAllister committed Oct 29, 2013
1 parent 8852cb7 commit f6b236b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libstd/rt/task.rs
Expand Up @@ -73,7 +73,10 @@ 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,
///
/// Servo needs this to be public in order to tell SpiderMonkey
/// about the stack bounds.
current_stack_segment: StackSegment,
/// Always valid if the task is alive and not running.
saved_context: Context
}
Expand Down

5 comments on commit f6b236b

@bors
Copy link
Contributor

@bors bors commented on f6b236b Oct 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at kmcallister@f6b236b

@bors
Copy link
Contributor

@bors bors commented on f6b236b Oct 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging kmcallister/rust/current_stack_segment = f6b236b into auto

@bors
Copy link
Contributor

@bors bors commented on f6b236b Oct 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kmcallister/rust/current_stack_segment = f6b236b merged ok, testing candidate = fc766ef

@bors
Copy link
Contributor

@bors bors commented on f6b236b Oct 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on f6b236b Oct 29, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = fc766ef

Please sign in to comment.