Make allocator_kind a query.
This commit is contained in:
parent
9be7ca00f1
commit
b497c7d954
|
@ -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…
Reference in a new issue