Make allocator_kind a query.
This commit is contained in:
parent
9be7ca00f1
commit
b497c7d954
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ pub(crate) fn codegen(
|
||||||
});
|
});
|
||||||
if any_dynamic_crate {
|
if any_dynamic_crate {
|
||||||
false
|
false
|
||||||
} else if let Some(kind) = tcx.allocator_kind() {
|
} else if let Some(kind) = tcx.allocator_kind(()) {
|
||||||
codegen_inner(module, unwind_context, kind);
|
codegen_inner(module, unwind_context, kind);
|
||||||
true
|
true
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue