Skip to content

Commit e0af5f7

Browse files
committed
Auto merge of #85909 - cjgillot:alloc-kind-query, r=Aaron1011
Make allocator_kind a query. Part of #85153 r? `@Aaron1011`
2 parents e475efb + b497c7d commit e0af5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/allocator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub(crate) fn codegen(
1919
});
2020
if any_dynamic_crate {
2121
false
22-
} else if let Some(kind) = tcx.allocator_kind() {
22+
} else if let Some(kind) = tcx.allocator_kind(()) {
2323
codegen_inner(module, unwind_context, kind);
2424
true
2525
} else {

0 commit comments

Comments
 (0)