correct literals for dyn thread safe
This commit is contained in:
@@ -255,8 +255,8 @@ fn run_compiler(
|
||||
|
||||
let sopts = config::build_session_options(&matches);
|
||||
|
||||
// Set parallel mode before thread pool creation as the session will already create locks.
|
||||
interface::set_parallel_mode(&sopts.unstable_opts);
|
||||
// Set parallel mode before thread pool creation, which will create `Lock`s.
|
||||
interface::set_thread_safe_mode(&sopts.unstable_opts);
|
||||
|
||||
if let Some(ref code) = matches.opt_str("explain") {
|
||||
handle_explain(diagnostics_registry(), code, sopts.error_format);
|
||||
|
||||
Reference in New Issue
Block a user