fix comment
This commit is contained in:
parent
fe76d33506
commit
e5a81c6a2d
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
|
|||
let main_ptr = ecx
|
||||
.memory
|
||||
.create_fn_alloc(FnVal::Instance(main_instance));
|
||||
// Second argument (argc): `1`.
|
||||
// Second argument (argc): length of `config.args`.
|
||||
let argc = Scalar::from_uint(config.args.len() as u128, ecx.pointer_size());
|
||||
// Third argument (`argv`): created from `config.args`.
|
||||
let argv = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue