diff options
| author | bors <bors@rust-lang.org> | 2021-06-28 01:20:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-28 01:20:01 +0000 |
| commit | e0af5f783cbe7bd652271b91b4e85601bfa89344 (patch) | |
| tree | d2e7378682811a7d0e0dcc309dc3d357781370a7 | |
| parent | e475efb1ad760dc46599c6127da2433ab92c5276 (diff) | |
| parent | b497c7d9549ebb576d0212d53088ab9d48aa9cef (diff) | |
| download | rust-e0af5f783cbe7bd652271b91b4e85601bfa89344.tar.gz rust-e0af5f783cbe7bd652271b91b4e85601bfa89344.zip | |
Auto merge of #85909 - cjgillot:alloc-kind-query, r=Aaron1011
Make allocator_kind a query. Part of #85153 r? `@Aaron1011`
| -rw-r--r-- | src/allocator.rs | 2 |
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 { |
