| 1 |
{ |
| 2 |
"source_filename": "tests/cli/component-model-async/lift.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 4, |
| 7 |
"filename": "lift.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "assert_invalid", |
| 12 |
"line": 17, |
| 13 |
"filename": "lift.1.wasm", |
| 14 |
"module_type": "binary", |
| 15 |
"text": "cannot specify post-return function in async" |
| 16 |
}, |
| 17 |
{ |
| 18 |
"type": "module", |
| 19 |
"line": 32, |
| 20 |
"filename": "lift.2.wasm", |
| 21 |
"module_type": "binary" |
| 22 |
}, |
| 23 |
{ |
| 24 |
"type": "assert_invalid", |
| 25 |
"line": 46, |
| 26 |
"filename": "lift.3.wasm", |
| 27 |
"module_type": "binary", |
| 28 |
"text": "canonical option `callback` uses a core function with an incorrect signature" |
| 29 |
}, |
| 30 |
{ |
| 31 |
"type": "assert_invalid", |
| 32 |
"line": 62, |
| 33 |
"filename": "lift.4.wasm", |
| 34 |
"module_type": "binary", |
| 35 |
"text": "cannot specify post-return function in async" |
| 36 |
}, |
| 37 |
{ |
| 38 |
"type": "assert_invalid", |
| 39 |
"line": 79, |
| 40 |
"filename": "lift.5.wasm", |
| 41 |
"module_type": "binary", |
| 42 |
"text": "lowered parameter types `[I32]` do not match parameter types `[I32, I32]` of core function 0" |
| 43 |
}, |
| 44 |
{ |
| 45 |
"type": "assert_invalid", |
| 46 |
"line": 95, |
| 47 |
"filename": "lift.6.wasm", |
| 48 |
"module_type": "binary", |
| 49 |
"text": "core instance 0 has no export named `callback`" |
| 50 |
}, |
| 51 |
{ |
| 52 |
"type": "assert_invalid", |
| 53 |
"line": 110, |
| 54 |
"filename": "lift.7.wasm", |
| 55 |
"module_type": "binary", |
| 56 |
"text": "cannot specify callback without async" |
| 57 |
} |
| 58 |
] |
| 59 |
} |