Debian Codegraph @

tests/snapshots/cli/shared-everything-threads/globals.wast.json

raw
1 {
2 "source_filename": "tests/cli/shared-everything-threads/globals.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 5,
7 "filename": "globals.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_malformed",
12 "line": 32,
13 "filename": "globals.1.wat",
14 "module_type": "text",
15 "text": "unexpected token"
16 },
17 {
18 "type": "assert_invalid",
19 "line": 36,
20 "filename": "globals.2.wasm",
21 "module_type": "binary",
22 "text": "shared value type"
23 },
24 {
25 "type": "module",
26 "line": 40,
27 "filename": "globals.3.wasm",
28 "module_type": "binary"
29 },
30 {
31 "type": "assert_invalid",
32 "line": 53,
33 "filename": "globals.4.wasm",
34 "module_type": "binary",
35 "text": "global is immutable"
36 },
37 {
38 "type": "assert_invalid",
39 "line": 60,
40 "filename": "globals.5.wasm",
41 "module_type": "binary",
42 "text": "invalid type"
43 },
44 {
45 "type": "assert_invalid",
46 "line": 67,
47 "filename": "globals.6.wasm",
48 "module_type": "binary",
49 "text": "invalid type"
50 },
51 {
52 "type": "assert_invalid",
53 "line": 74,
54 "filename": "globals.7.wasm",
55 "module_type": "binary",
56 "text": "invalid type"
57 },
58 {
59 "type": "assert_invalid",
60 "line": 81,
61 "filename": "globals.8.wasm",
62 "module_type": "binary",
63 "text": "invalid type"
64 },
65 {
66 "type": "assert_invalid",
67 "line": 88,
68 "filename": "globals.9.wasm",
69 "module_type": "binary",
70 "text": "invalid type"
71 },
72 {
73 "type": "assert_invalid",
74 "line": 95,
75 "filename": "globals.10.wasm",
76 "module_type": "binary",
77 "text": "invalid type"
78 },
79 {
80 "type": "assert_invalid",
81 "line": 102,
82 "filename": "globals.11.wasm",
83 "module_type": "binary",
84 "text": "invalid type"
85 },
86 {
87 "type": "assert_invalid",
88 "line": 109,
89 "filename": "globals.12.wasm",
90 "module_type": "binary",
91 "text": "invalid type"
92 },
93 {
94 "type": "assert_invalid",
95 "line": 116,
96 "filename": "globals.13.wasm",
97 "module_type": "binary",
98 "text": "invalid type"
99 },
100 {
101 "type": "assert_invalid",
102 "line": 123,
103 "filename": "globals.14.wasm",
104 "module_type": "binary",
105 "text": "invalid type"
106 },
107 {
108 "type": "assert_invalid",
109 "line": 130,
110 "filename": "globals.15.wasm",
111 "module_type": "binary",
112 "text": "invalid type"
113 },
114 {
115 "type": "assert_invalid",
116 "line": 137,
117 "filename": "globals.16.wasm",
118 "module_type": "binary",
119 "text": "invalid type"
120 },
121 {
122 "type": "assert_invalid",
123 "line": 144,
124 "filename": "globals.17.wasm",
125 "module_type": "binary",
126 "text": "invalid type"
127 },
128 {
129 "type": "assert_invalid",
130 "line": 151,
131 "filename": "globals.18.wasm",
132 "module_type": "binary",
133 "text": "invalid type"
134 },
135 {
136 "type": "assert_invalid",
137 "line": 158,
138 "filename": "globals.19.wasm",
139 "module_type": "binary",
140 "text": "invalid type"
141 },
142 {
143 "type": "assert_invalid",
144 "line": 165,
145 "filename": "globals.20.wasm",
146 "module_type": "binary",
147 "text": "invalid type"
148 },
149 {
150 "type": "assert_invalid",
151 "line": 172,
152 "filename": "globals.21.wasm",
153 "module_type": "binary",
154 "text": "invalid type"
155 },
156 {
157 "type": "assert_invalid",
158 "line": 179,
159 "filename": "globals.22.wasm",
160 "module_type": "binary",
161 "text": "invalid type"
162 },
163 {
164 "type": "module",
165 "line": 186,
166 "filename": "globals.23.wasm",
167 "module_type": "binary"
168 },
169 {
170 "type": "module",
171 "line": 279,
172 "filename": "globals.24.wasm",
173 "module_type": "binary"
174 },
175 {
176 "type": "assert_invalid",
177 "line": 373,
178 "filename": "globals.25.wasm",
179 "module_type": "binary",
180 "text": "invalid type: `global.atomic.rmw.*` only allows `i32` and `i64`"
181 },
182 {
183 "type": "assert_invalid",
184 "line": 384,
185 "filename": "globals.26.wasm",
186 "module_type": "binary",
187 "text": "global index out of bounds"
188 },
189 {
190 "type": "assert_invalid",
191 "line": 392,
192 "filename": "globals.27.wasm",
193 "module_type": "binary",
194 "text": "invalid type: `global.atomic.rmw.xchg` only allows `i32`, `i64` and subtypes of `anyref`"
195 },
196 {
197 "type": "module",
198 "line": 402,
199 "filename": "globals.28.wasm",
200 "module_type": "binary"
201 },
202 {
203 "type": "assert_invalid",
204 "line": 412,
205 "filename": "globals.29.wasm",
206 "module_type": "binary",
207 "text": "invalid type: `global.atomic.rmw.cmpxchg` only allows `i32`, `i64` and subtypes of `eqref`"
208 },
209 {
210 "type": "module",
211 "line": 423,
212 "filename": "globals.30.wasm",
213 "module_type": "binary"
214 }
215 ]
216 }