Implement bulk memory's partial failure instantiation semantics

Essentially, table and memory out of bounds errors are no longer link errors,
but traps after linking. This means that the partail writes / inits are visible.
This commit is contained in:
Nick Fitzgerald
2020-02-20 16:19:36 -08:00
parent 44c28612fb
commit 81227892da
6 changed files with 88 additions and 15 deletions

View File

@@ -186,7 +186,8 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool {
| ("bulk_memory_operations", "table_init")
| ("bulk_memory_operations", "elem")
| ("bulk_memory_operations", "memory_copy")
| ("bulk_memory_operations", "memory_fill") => return false,
| ("bulk_memory_operations", "memory_fill")
| ("bulk_memory_operations", "linking") => return false,
("bulk_memory_operations", _) => return true,
_ => {}