Skip to content

Commit 9631bf2

Browse files
brsonalexcrichton
authored andcommitted
rustc: Make monitor public.
It's harder to run rustc correctly without it.
1 parent d32fe7e commit 9631bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/driver/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ pub fn list_metadata(sess: &Session, path: &Path,
418418
///
419419
/// The diagnostic emitter yielded to the procedure should be used for reporting
420420
/// errors of the compiler.
421-
fn monitor(f: proc():Send) {
421+
pub fn monitor(f: proc():Send) {
422422
// FIXME: This is a hack for newsched since it doesn't support split stacks.
423423
// rustc needs a lot of stack! When optimizations are disabled, it needs
424424
// even *more* stack than usual as well.

0 commit comments

Comments
 (0)