Pass MonoItemData to MonoItem::define
This commit is contained in:
parent
22d3c0d70a
commit
8582bc4e37
1 changed files with 2 additions and 2 deletions
|
|
@ -223,8 +223,8 @@ pub fn compile_codegen_unit(
|
|||
}
|
||||
|
||||
// ... and now that we have everything pre-defined, fill out those definitions.
|
||||
for &(mono_item, _) in &mono_items {
|
||||
mono_item.define::<Builder<'_, '_, '_>>(&cx);
|
||||
for &(mono_item, item_data) in &mono_items {
|
||||
mono_item.define::<Builder<'_, '_, '_>>(&cx, item_data);
|
||||
}
|
||||
|
||||
// If this codegen unit contains the main function, also create the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue