Skip to content

Commit

Permalink
Auto merge of rust-lang#85909 - cjgillot:alloc-kind-query, r=Aaron1011
Browse files Browse the repository at this point in the history
Make allocator_kind a query.

Part of rust-lang#85153

r? `@Aaron1011`
  • Loading branch information
bors committed Jun 28, 2021
2 parents e475efb + b497c7d commit e0af5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e0af5f7

Please sign in to comment.