mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
Revert to using new_len
This commit is contained in:
@@ -196,7 +196,7 @@ impl VMTable {
|
||||
|
||||
self.vec
|
||||
.resize(usize::try_from(new_len).unwrap(), init_value.into());
|
||||
self.table.minimum = self.vec.len(); // update table descriptor
|
||||
self.table.minimum = new_len;
|
||||
|
||||
// update table definition
|
||||
unsafe {
|
||||
|
||||
Reference in New Issue
Block a user