mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
Split memory, table creation. Mark unsafe functions unsafe
This commit is contained in:
2
lib/api/src/externals/table.rs
vendored
2
lib/api/src/externals/table.rs
vendored
@@ -43,7 +43,7 @@ impl Table {
|
||||
let tunables = store.tunables();
|
||||
let style = tunables.table_style(&ty);
|
||||
let table = tunables
|
||||
.create_table(&ty, &style, None)
|
||||
.create_host_table(&ty, &style)
|
||||
.map_err(RuntimeError::new)?;
|
||||
|
||||
let num_elements = table.size();
|
||||
|
||||
Reference in New Issue
Block a user