diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-07-19 01:29:57 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-21 09:54:26 -0700 |
| commit | 9631bf2e2526173b21070eb532c6cb590c5869b8 (patch) | |
| tree | 6d2d713751692d8de20d4b4b2f208a4f98fcf961 | |
| parent | d32fe7e51bf520f4c0416df0dd9cdf0662ea1cbe (diff) | |
| download | rust-9631bf2e2526173b21070eb532c6cb590c5869b8.tar.gz rust-9631bf2e2526173b21070eb532c6cb590c5869b8.zip | |
rustc: Make `monitor` public.
It's harder to run rustc correctly without it.
| -rw-r--r-- | src/librustc/driver/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/driver/mod.rs b/src/librustc/driver/mod.rs index e433c3df864..ee490ad43eb 100644 --- a/src/librustc/driver/mod.rs +++ b/src/librustc/driver/mod.rs @@ -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. |
