| 1 |
{ |
| 2 |
"source_filename": "tests/cli/shared-everything-threads/builtins.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 5, |
| 7 |
"filename": "builtins.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "module", |
| 12 |
"line": 16, |
| 13 |
"filename": "builtins.1.wasm", |
| 14 |
"module_type": "binary" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"type": "assert_invalid", |
| 18 |
"line": 46, |
| 19 |
"filename": "builtins.2.wasm", |
| 20 |
"module_type": "binary", |
| 21 |
"text": "spawn type must be shared" |
| 22 |
}, |
| 23 |
{ |
| 24 |
"type": "assert_invalid", |
| 25 |
"line": 54, |
| 26 |
"filename": "builtins.3.wasm", |
| 27 |
"module_type": "binary", |
| 28 |
"text": "unknown table 0: table index out of bounds" |
| 29 |
}, |
| 30 |
{ |
| 31 |
"type": "assert_invalid", |
| 32 |
"line": 64, |
| 33 |
"filename": "builtins.4.wasm", |
| 34 |
"module_type": "binary", |
| 35 |
"text": "spawn function must take a single `i32` argument (currently)" |
| 36 |
}, |
| 37 |
{ |
| 38 |
"type": "assert_invalid", |
| 39 |
"line": 72, |
| 40 |
"filename": "builtins.5.wasm", |
| 41 |
"module_type": "binary", |
| 42 |
"text": "spawn function must take a single `i32` argument (currently)" |
| 43 |
}, |
| 44 |
{ |
| 45 |
"type": "assert_invalid", |
| 46 |
"line": 82, |
| 47 |
"filename": "builtins.6.wasm", |
| 48 |
"module_type": "binary", |
| 49 |
"text": "mismatch in the shared flag for tables" |
| 50 |
} |
| 51 |
] |
| 52 |
} |