Skip to content

Commit 9f37932

Browse files
committed
auto merge of #8475 : kmcallister/rust/stack_segment, r=brson,brson
Servo needs to tell SpiderMonkey about the stack bounds. r? @brson
2 parents 26fd428 + 4fd5318 commit 9f37932

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/rt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ mod message_queue;
112112
mod sleeper_list;
113113

114114
/// Stack segments and caching.
115-
mod stack;
115+
pub mod stack;
116116

117117
/// CPU context swapping.
118118
mod context;

src/libstd/rt/task.rs

Lines changed: 1 addition & 1 deletion
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)