This commit is contained in:
Folkert 2023-01-13 20:42:23 +01:00
parent b412765972
commit ee99ae2372
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 176 additions and 126 deletions

View file

@ -3403,16 +3403,18 @@ fn finish_specialization<'a>(
layout,
);
glue_getters.extend(all_glue_procs.iter().flat_map(|(_, glue_procs)| {
glue_getters.extend(all_glue_procs.getters.iter().flat_map(|(_, glue_procs)| {
glue_procs
.iter()
.map(|glue_proc| (glue_proc.name, glue_proc.proc_layout))
}));
procedures.extend(all_glue_procs.into_iter().flat_map(|(_, glue_procs)| {
glue_procs.into_iter().map(|glue_proc| {
(((glue_proc.name), glue_proc.proc_layout), glue_proc.proc)
})
}));
procedures.extend(all_glue_procs.getters.into_iter().flat_map(
|(_, glue_procs)| {
glue_procs.into_iter().map(|glue_proc| {
(((glue_proc.name), glue_proc.proc_layout), glue_proc.proc)
})
},
));
}
}
}