This commit is contained in:
Ralf Jung 2020-04-22 23:32:28 +02:00
parent 270adbc7c6
commit 4b9abdaa50
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
9b2f8dbba39dd4167f22a7026674a585c3d907d8
b2e36e6c2d229126b59e892c9147fbb68115d292

View file

@ -98,6 +98,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
start_id,
tcx.mk_substs(::std::iter::once(ty::subst::GenericArg::from(main_ret_ty))),
)
.unwrap()
.unwrap();
// First argument: pointer to `main()`.