diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-13 06:44:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-13 06:44:18 +0100 |
| commit | dff7d51fcc8e5bb69d45db4f177fb15fab48b781 (patch) | |
| tree | 4bf49d6c49fa144db5a6fb8138773882ed426876 /src/librustdoc | |
| parent | 2b7f3ee89de5ca407da4526a4438bdf453cf34e6 (diff) | |
| parent | f45ba82370f580fba0f1486f745607d7d30ef330 (diff) | |
| download | rust-dff7d51fcc8e5bb69d45db4f177fb15fab48b781.tar.gz rust-dff7d51fcc8e5bb69d45db4f177fb15fab48b781.zip | |
Rollup merge of #93936 - bjorn3:simplifications2, r=cjgillot
Couple of driver cleanups * Remove the `RustcDefaultCalls` struct, which hasn't been necessary since the introduction of `rustc_interface`. * Move the `setup_callbacks` call around for a tiny code deduplication. * Remove the `SPAN_DEBUG` global as it isn't actually necessary.
Diffstat (limited to 'src/librustdoc')
| -rw-r--r-- | src/librustdoc/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 68028604fa4..c3205165040 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -688,7 +688,7 @@ fn main_args(at_args: &[String]) -> MainResult { Ok(opts) => opts, Err(code) => return if code == 0 { Ok(()) } else { Err(ErrorReported) }, }; - rustc_interface::util::setup_callbacks_and_run_in_thread_pool_with_globals( + rustc_interface::util::run_in_thread_pool_with_globals( options.edition, 1, // this runs single-threaded, even in a parallel compiler &None, |
