Skip to content

Commit

Permalink
rustc: Make monitor public.
Browse files Browse the repository at this point in the history
It's harder to run rustc correctly without it.
  • Loading branch information
brson authored and alexcrichton committed Jul 21, 2014
1 parent d32fe7e commit 9631bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/driver/mod.rs
Expand Up @@ -418,7 +418,7 @@ pub fn list_metadata(sess: &Session, path: &Path,
///
/// The diagnostic emitter yielded to the procedure should be used for reporting
/// errors of the compiler.
fn monitor(f: proc():Send) {
pub fn monitor(f: proc():Send) {
// FIXME: This is a hack for newsched since it doesn't support split stacks.
// rustc needs a lot of stack! When optimizations are disabled, it needs
// even *more* stack than usual as well.
Expand Down

0 comments on commit 9631bf2

Please sign in to comment.