about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/allocator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator.rs b/src/allocator.rs
index 357a9f2daf7..d39486c2f10 100644
--- a/src/allocator.rs
+++ b/src/allocator.rs
@@ -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 {