1
Fork 0

Remove Config::stderr

1. It captured stdout and not stderr
2. It isn't used anywhere
3. All error messages should go to the DiagnosticOutput instead
4. It modifies thread local state
This commit is contained in:
bjorn3 2021-06-25 12:58:21 +02:00
parent 9a60099cc4
commit 5eeff3f073
7 changed files with 4 additions and 26 deletions

View file

@ -691,7 +691,6 @@ fn main_args(at_args: &[String]) -> MainResult {
rustc_interface::util::run_in_thread_pool_with_globals(
options.edition,
1, // this runs single-threaded, even in a parallel compiler
&None,
move || main_options(options),
)
}