This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
rustc_codegen_ssa/src/back Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1399,7 +1399,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
1399
1399
. binary_search_by_key ( & cost, |& ( _, cost) | cost)
1400
1400
. unwrap_or_else ( |e| e) ;
1401
1401
work_items. insert ( insertion_index, ( work, cost) ) ;
1402
- if !cgcx. opts . unstable_opts . no_parallel_llvm {
1402
+ if !cgcx. opts . unstable_opts . no_parallel_backend {
1403
1403
helper. request_token ( ) ;
1404
1404
}
1405
1405
}
@@ -1522,7 +1522,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
1522
1522
} ;
1523
1523
work_items. insert ( insertion_index, ( llvm_work_item, cost) ) ;
1524
1524
1525
- if !cgcx. opts . unstable_opts . no_parallel_llvm {
1525
+ if !cgcx. opts . unstable_opts . no_parallel_backend {
1526
1526
helper. request_token ( ) ;
1527
1527
}
1528
1528
assert_eq ! ( main_thread_state, MainThreadState :: Codegenning ) ;
Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ fn test_unstable_options_tracking_hash() {
685
685
untracked ! ( nll_facts, true ) ;
686
686
untracked ! ( no_analysis, true ) ;
687
687
untracked ! ( no_leak_check, true ) ;
688
- untracked ! ( no_parallel_llvm , true ) ;
688
+ untracked ! ( no_parallel_backend , true ) ;
689
689
untracked ! ( parse_only, true ) ;
690
690
// `pre_link_arg` is omitted because it just forwards to `pre_link_args`.
691
691
untracked ! ( pre_link_args, vec![ String :: from( "abc" ) , String :: from( "def" ) ] ) ;
Original file line number Diff line number Diff line change @@ -1753,7 +1753,7 @@ options! {
1753
1753
"disable the 'leak check' for subtyping; unsound, but useful for tests" ) ,
1754
1754
no_link: bool = ( false , parse_no_flag, [ TRACKED ] ,
1755
1755
"compile without linking" ) ,
1756
- no_parallel_llvm : bool = ( false , parse_no_flag, [ UNTRACKED ] ,
1756
+ no_parallel_backend : bool = ( false , parse_no_flag, [ UNTRACKED ] ,
1757
1757
"run LLVM in non-parallel mode (while keeping codegen-units and ThinLTO)" ) ,
1758
1758
no_profiler_runtime: bool = ( false , parse_no_flag, [ TRACKED ] ,
1759
1759
"prevent automatic injection of the profiler_builtins crate" ) ,
You can’t perform that action at this time.
0 commit comments