Fix crashing cli args

This commit is contained in:
Lachlan Sneff
2018-12-06 22:40:44 -05:00
parent 485da4c701
commit 0e024aa722
5 changed files with 72 additions and 44 deletions

View File

@ -74,7 +74,7 @@ pub struct EmscriptenData {
pub free: extern "C" fn(i32, &mut Instance),
pub memalign: extern "C" fn (u32, u32, &mut Instance) -> u32,
pub memset: extern "C" fn(u32, i32, u32, &mut Instance) -> u32,
pub stack_alloc: extern "C" fn (u32, &mut Instance) -> u32,
pub stack_alloc: extern "C" fn (u32, &Instance) -> u32,
}
impl fmt::Debug for EmscriptenData {