rename relative names in sync
This commit is contained in:
parent
f196e27d87
commit
9f8ab2a8d3
3 changed files with 29 additions and 24 deletions
|
@ -62,7 +62,7 @@ impl Compiler {
|
|||
|
||||
#[allow(rustc::bad_opt_access)]
|
||||
pub fn set_parallel_mode(sopts: &config::UnstableOptions) {
|
||||
rustc_data_structures::sync::set(sopts.threads > 1);
|
||||
rustc_data_structures::sync::set_dyn_thread_safe_mode(sopts.threads > 1);
|
||||
}
|
||||
|
||||
/// Converts strings provided as `--cfg [cfgspec]` into a `crate_cfg`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue