Split memory, table creation. Mark unsafe functions unsafe

This commit is contained in:
Mark McCaskey
2020-10-15 15:42:54 -07:00
parent 33c32da5d0
commit 9fdbb0886c
6 changed files with 114 additions and 32 deletions

View File

@@ -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();