Skip to content

Commit

Permalink
Fix build with #[unix_sigpipe = "..."] support in rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
Enselic committed Sep 3, 2022
1 parent dba35d2 commit b9c13ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
// Call start function.

match entry_type {
EntryFnType::Main => {
EntryFnType::Main { .. } => {
let start_id = tcx.lang_items().start_fn().unwrap();
let main_ret_ty = tcx.fn_sig(entry_id).output();
let main_ret_ty = main_ret_ty.no_bound_vars().unwrap();
Expand Down

0 comments on commit b9c13ef

Please sign in to comment.