rustc: Make monitor
public.
It's harder to run rustc correctly without it.
This commit is contained in:
parent
d32fe7e51b
commit
9631bf2e25
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ pub fn list_metadata(sess: &Session, path: &Path,
|
||||||
///
|
///
|
||||||
/// The diagnostic emitter yielded to the procedure should be used for reporting
|
/// The diagnostic emitter yielded to the procedure should be used for reporting
|
||||||
/// errors of the compiler.
|
/// 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.
|
// 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
|
// rustc needs a lot of stack! When optimizations are disabled, it needs
|
||||||
// even *more* stack than usual as well.
|
// even *more* stack than usual as well.
|
||||||
|
|
Loading…
Reference in a new issue