mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
Fix local memory ownership issue -- WIP
This commit contains a ton of debug code that we'll need to remove
This commit is contained in:
2
lib/api/src/externals/table.rs
vendored
2
lib/api/src/externals/table.rs
vendored
@@ -97,7 +97,9 @@ impl Table {
|
||||
let item = init.into_checked_anyfunc(&self.store)?;
|
||||
match self.table.grow(delta) {
|
||||
Some(len) => {
|
||||
dbg!("In Some result of table.grow");
|
||||
for i in 0..delta {
|
||||
dbg!("setting element", i);
|
||||
set_table_item(self.table.as_ref(), len + i, item.clone())?;
|
||||
}
|
||||
Ok(len)
|
||||
|
||||
Reference in New Issue
Block a user