Skip to content

Commit ccf920d

Browse files
committed
Actually use FnAbi in the call 🙄
1 parent 6f325ac commit ccf920d

File tree

1 file changed

+7
-1
lines changed
  • crates/rustc_codegen_spirv/src/codegen_cx

1 file changed

+7
-1
lines changed

crates/rustc_codegen_spirv/src/codegen_cx/entry.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,13 @@ impl<'tcx> CodegenCx<'tcx> {
154154
);
155155
}
156156
bx.set_span(span);
157-
bx.call(entry_func.ty, None, entry_func, &call_args, None);
157+
bx.call(
158+
entry_func.ty,
159+
Some(entry_fn_abi),
160+
entry_func,
161+
&call_args,
162+
None,
163+
);
158164
bx.ret_void();
159165

160166
let stub_fn_id = stub_fn.def_cx(self);

0 commit comments

Comments
 (0)