Auto merge of #85909 - cjgillot:alloc-kind-query, r=Aaron1011
Make allocator_kind a query. Part of #85153 r? `@Aaron1011`
This commit is contained in:
commit
345530412f
10 changed files with 11 additions and 17 deletions
|
@ -19,7 +19,7 @@ pub(crate) fn codegen(
|
|||
});
|
||||
if any_dynamic_crate {
|
||||
false
|
||||
} else if let Some(kind) = tcx.allocator_kind() {
|
||||
} else if let Some(kind) = tcx.allocator_kind(()) {
|
||||
codegen_inner(module, unwind_context, kind);
|
||||
true
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue