diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2024-02-15 00:14:44 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2024-02-15 00:14:59 +0000 |
| commit | 9a77ec98b801e0fbd2b249d4f8edbb081c3d1e85 (patch) | |
| tree | d341d932f518f83b421521846595dda60644888f /compiler/rustc_codegen_ssa/src | |
| parent | ee9c7c940c07d8b67c9a6b2ec930db70dcd23a46 (diff) | |
| download | rust-9a77ec98b801e0fbd2b249d4f8edbb081c3d1e85.tar.gz rust-9a77ec98b801e0fbd2b249d4f8edbb081c3d1e85.zip | |
Rename `-Zno_parallel_llvm` -> `-Zno_parallel_backend`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index a63642d76b9..4a59e8faea7 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -1399,7 +1399,7 @@ fn start_executing_work<B: ExtraBackendMethods>( .binary_search_by_key(&cost, |&(_, cost)| cost) .unwrap_or_else(|e| e); work_items.insert(insertion_index, (work, cost)); - if !cgcx.opts.unstable_opts.no_parallel_llvm { + if !cgcx.opts.unstable_opts.no_parallel_backend { helper.request_token(); } } @@ -1522,7 +1522,7 @@ fn start_executing_work<B: ExtraBackendMethods>( }; work_items.insert(insertion_index, (llvm_work_item, cost)); - if !cgcx.opts.unstable_opts.no_parallel_llvm { + if !cgcx.opts.unstable_opts.no_parallel_backend { helper.request_token(); } assert_eq!(main_thread_state, MainThreadState::Codegenning); |
