Add updated upstream tests

This commit is contained in:
Steve Akinyemi
2018-11-06 18:19:20 +01:00
parent 3a65bdbac5
commit ffe383e611
59 changed files with 936 additions and 744 deletions

View File

@ -488,7 +488,8 @@ impl Clone for Instance {
}
extern "C" fn grow_memory(size: u32, memory_index: u32, instance: &mut Instance) -> i32 {
// For now only the first index can be accessed // BTW, the memory_index coming in is random!
// For now only the first mem can be accessed
// BTW, the memory_index coming in is random!
let memory_index: u32 = 0;
instance
.memory_mut(memory_index as usize)