Rename -Zno_parallel_llvm
-> -Zno_parallel_backend
This commit is contained in:
parent
ee9c7c940c
commit
9a77ec98b8
3 changed files with 4 additions and 4 deletions
|
@ -1399,7 +1399,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
|
||||||
.binary_search_by_key(&cost, |&(_, cost)| cost)
|
.binary_search_by_key(&cost, |&(_, cost)| cost)
|
||||||
.unwrap_or_else(|e| e);
|
.unwrap_or_else(|e| e);
|
||||||
work_items.insert(insertion_index, (work, cost));
|
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();
|
helper.request_token();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1522,7 +1522,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
|
||||||
};
|
};
|
||||||
work_items.insert(insertion_index, (llvm_work_item, cost));
|
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();
|
helper.request_token();
|
||||||
}
|
}
|
||||||
assert_eq!(main_thread_state, MainThreadState::Codegenning);
|
assert_eq!(main_thread_state, MainThreadState::Codegenning);
|
||||||
|
|
|
@ -685,7 +685,7 @@ fn test_unstable_options_tracking_hash() {
|
||||||
untracked!(nll_facts, true);
|
untracked!(nll_facts, true);
|
||||||
untracked!(no_analysis, true);
|
untracked!(no_analysis, true);
|
||||||
untracked!(no_leak_check, true);
|
untracked!(no_leak_check, true);
|
||||||
untracked!(no_parallel_llvm, true);
|
untracked!(no_parallel_backend, true);
|
||||||
untracked!(parse_only, true);
|
untracked!(parse_only, true);
|
||||||
// `pre_link_arg` is omitted because it just forwards to `pre_link_args`.
|
// `pre_link_arg` is omitted because it just forwards to `pre_link_args`.
|
||||||
untracked!(pre_link_args, vec![String::from("abc"), String::from("def")]);
|
untracked!(pre_link_args, vec![String::from("abc"), String::from("def")]);
|
||||||
|
|
|
@ -1753,7 +1753,7 @@ options! {
|
||||||
"disable the 'leak check' for subtyping; unsound, but useful for tests"),
|
"disable the 'leak check' for subtyping; unsound, but useful for tests"),
|
||||||
no_link: bool = (false, parse_no_flag, [TRACKED],
|
no_link: bool = (false, parse_no_flag, [TRACKED],
|
||||||
"compile without linking"),
|
"compile without linking"),
|
||||||
no_parallel_llvm: bool = (false, parse_no_flag, [UNTRACKED],
|
no_parallel_backend: bool = (false, parse_no_flag, [UNTRACKED],
|
||||||
"run LLVM in non-parallel mode (while keeping codegen-units and ThinLTO)"),
|
"run LLVM in non-parallel mode (while keeping codegen-units and ThinLTO)"),
|
||||||
no_profiler_runtime: bool = (false, parse_no_flag, [TRACKED],
|
no_profiler_runtime: bool = (false, parse_no_flag, [TRACKED],
|
||||||
"prevent automatic injection of the profiler_builtins crate"),
|
"prevent automatic injection of the profiler_builtins crate"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue