Skip to content

Commit b9c13ef

Browse files
committed
Fix build with #[unix_sigpipe = "..."] support in rustc
1 parent dba35d2 commit b9c13ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
277277
// Call start function.
278278

279279
match entry_type {
280-
EntryFnType::Main => {
280+
EntryFnType::Main { .. } => {
281281
let start_id = tcx.lang_items().start_fn().unwrap();
282282
let main_ret_ty = tcx.fn_sig(entry_id).output();
283283
let main_ret_ty = main_ret_ty.no_bound_vars().unwrap();

0 commit comments

Comments
 (0)