Skip to content

Commit 4e0fe62

Browse files
committed
typo
1 parent e4fd710 commit 4e0fe62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pub fn create_ecx<'a, 'mir: 'a, 'tcx: 'mir>(
140140
ecx.write_scalar(argv, dest)?;
141141
let argv_place = ecx.allocate(dest.layout, MiriMemoryKind::Env.into())?;
142142
ecx.write_scalar(argv, argv_place.into())?;
143-
ecx.machine.argc = Some(argv_place.ptr.to_ptr()?);
143+
ecx.machine.argv = Some(argv_place.ptr.to_ptr()?);
144144

145145
assert!(args.next().is_none(), "start lang item has more arguments than expected");
146146

0 commit comments

Comments
 (0)