Debian Codegraph @

tests/snapshots/cli/component-model/start.wast.json

raw
1 {
2 "source_filename": "tests/cli/component-model/start.wast",
3 "commands": [
4 {
5 "type": "assert_invalid",
6 "line": 5,
7 "filename": "start.0.wasm",
8 "module_type": "binary",
9 "text": "start function requires 1 arguments"
10 },
11 {
12 "type": "assert_invalid",
13 "line": 12,
14 "filename": "start.1.wasm",
15 "module_type": "binary",
16 "text": "start function requires 1 arguments"
17 },
18 {
19 "type": "assert_invalid",
20 "line": 20,
21 "filename": "start.2.wasm",
22 "module_type": "binary",
23 "text": "cannot be used more than once"
24 },
25 {
26 "type": "assert_invalid",
27 "line": 28,
28 "filename": "start.3.wasm",
29 "module_type": "binary",
30 "text": "type mismatch for component start function argument 1"
31 },
32 {
33 "type": "module",
34 "line": 36,
35 "filename": "start.4.wasm",
36 "module_type": "binary"
37 },
38 {
39 "type": "module",
40 "line": 43,
41 "filename": "start.5.wasm",
42 "module_type": "binary"
43 },
44 {
45 "type": "assert_malformed",
46 "line": 50,
47 "filename": "start.6.wat",
48 "module_type": "text",
49 "text": "component cannot have more than one start function"
50 },
51 {
52 "type": "assert_malformed",
53 "line": 58,
54 "filename": "start.7.wasm",
55 "module_type": "binary",
56 "text": "start function results size is out of bounds"
57 },
58 {
59 "type": "assert_malformed",
60 "line": 80,
61 "filename": "start.8.wasm",
62 "module_type": "binary",
63 "text": "unexpected content in the component start section"
64 }
65 ]
66 }