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>(
13991399 . binary_search_by_key ( & cost, |& ( _, cost) | cost)
14001400 . unwrap_or_else ( |e| e) ;
14011401 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 {
14031403 helper. request_token ( ) ;
14041404 }
14051405 }
@@ -1522,7 +1522,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
15221522 } ;
15231523 work_items. insert ( insertion_index, ( llvm_work_item, cost) ) ;
15241524
1525- if !cgcx. opts . unstable_opts . no_parallel_llvm {
1525+ if !cgcx. opts . unstable_opts . no_parallel_backend {
15261526 helper. request_token ( ) ;
15271527 }
15281528 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() {
685685 untracked ! ( nll_facts, true ) ;
686686 untracked ! ( no_analysis, true ) ;
687687 untracked ! ( no_leak_check, true ) ;
688- untracked ! ( no_parallel_llvm , true ) ;
688+ untracked ! ( no_parallel_backend , true ) ;
689689 untracked ! ( parse_only, true ) ;
690690 // `pre_link_arg` is omitted because it just forwards to `pre_link_args`.
691691 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! {
17531753 "disable the 'leak check' for subtyping; unsound, but useful for tests" ) ,
17541754 no_link: bool = ( false , parse_no_flag, [ TRACKED ] ,
17551755 "compile without linking" ) ,
1756- no_parallel_llvm : bool = ( false , parse_no_flag, [ UNTRACKED ] ,
1756+ no_parallel_backend : bool = ( false , parse_no_flag, [ UNTRACKED ] ,
17571757 "run LLVM in non-parallel mode (while keeping codegen-units and ThinLTO)" ) ,
17581758 no_profiler_runtime: bool = ( false , parse_no_flag, [ TRACKED ] ,
17591759 "prevent automatic injection of the profiler_builtins crate" ) ,
You can’t perform that action at this time.
0 commit comments