This commit is contained in:
Folkert 2020-10-17 14:53:57 +02:00
parent 9ff882751a
commit edfc96628e
7 changed files with 53 additions and 10 deletions

View file

@ -1841,6 +1841,7 @@ pub fn build_proc_header<'a, 'ctx, 'env>(
let args = proc.args;
let arena = env.arena;
let context = &env.context;
let ret_type = basic_type_from_layout(arena, context, &proc.ret_layout, env.ptr_bytes);
let mut arg_basic_types = Vec::with_capacity_in(args.len(), arena);
let mut arg_symbols = Vec::new_in(arena);