wasmtime 21.0.1 → 22.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2043) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +80 -87
  3. data/ext/Cargo.toml +4 -4
  4. data/ext/cargo-vendor/cranelift-bforest-0.109.0/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cranelift-bforest-0.109.0/Cargo.toml +41 -0
  6. data/ext/cargo-vendor/cranelift-codegen-0.109.0/.cargo-checksum.json +1 -0
  7. data/ext/cargo-vendor/cranelift-codegen-0.109.0/Cargo.toml +193 -0
  8. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/context.rs +384 -0
  9. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/dominator_tree.rs +727 -0
  10. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/egraph.rs +835 -0
  11. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/inst_predicates.rs +230 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/dfg.rs +1777 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/extfunc.rs +402 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/immediates.rs +1612 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/stackslot.rs +208 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/types.rs +627 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/abi.rs +1556 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/args.rs +711 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit.rs +3584 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit_tests.rs +7901 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/imms.rs +1213 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/mod.rs +3060 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/regs.rs +269 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/unwind/systemv.rs +174 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst.isle +4218 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/pcc.rs +568 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/abi.rs +1029 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/args.rs +2054 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit.rs +2682 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit_tests.rs +2215 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/encode.rs +675 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/imms.rs +374 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/mod.rs +1938 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/unwind/systemv.rs +170 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/vector.rs +1150 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst.isle +3127 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst_vector.isle +1907 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower/isle.rs +649 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower.isle +2923 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/mod.rs +260 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/abi.rs +1016 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/args.rs +298 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit.rs +3401 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit_tests.rs +13388 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/imms.rs +202 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/mod.rs +3401 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/regs.rs +169 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/unwind/systemv.rs +212 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst.isle +5028 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/lower.isle +3995 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/abi.rs +1390 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/args.rs +2240 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit.rs +4287 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_state.rs +52 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_tests.rs +5171 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/mod.rs +2821 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/regs.rs +275 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/unwind/systemv.rs +198 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst.isle +5289 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/lower.isle +4810 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/pcc.rs +1014 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isle_prelude.rs +986 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/lib.rs +106 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/abi.rs +2419 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/blockorder.rs +465 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/buffer.rs +2508 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/isle.rs +909 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/lower.rs +1432 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/mod.rs +551 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/reg.rs +479 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/valueregs.rs +138 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/vcode.rs +1741 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/cprop.isle +297 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/shifts.isle +307 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude.isle +664 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude_lower.isle +1073 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/timing.rs +296 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/traversals.rs +216 -0
  79. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/verifier/mod.rs +1957 -0
  80. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/write.rs +638 -0
  81. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/.cargo-checksum.json +1 -0
  82. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/Cargo.toml +36 -0
  83. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/types.rs +496 -0
  84. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/isa/riscv64.rs +174 -0
  85. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/.cargo-checksum.json +1 -0
  86. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/Cargo.toml +22 -0
  87. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/src/constants.rs +28 -0
  88. data/ext/cargo-vendor/cranelift-control-0.109.0/.cargo-checksum.json +1 -0
  89. data/ext/cargo-vendor/cranelift-control-0.109.0/Cargo.toml +30 -0
  90. data/ext/cargo-vendor/cranelift-entity-0.109.0/.cargo-checksum.json +1 -0
  91. data/ext/cargo-vendor/cranelift-entity-0.109.0/Cargo.toml +53 -0
  92. data/ext/cargo-vendor/cranelift-entity-0.109.0/src/set.rs +290 -0
  93. data/ext/cargo-vendor/cranelift-frontend-0.109.0/.cargo-checksum.json +1 -0
  94. data/ext/cargo-vendor/cranelift-frontend-0.109.0/Cargo.toml +68 -0
  95. data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/frontend.rs +1857 -0
  96. data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/lib.rs +187 -0
  97. data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/ssa.rs +1328 -0
  98. data/ext/cargo-vendor/cranelift-isle-0.109.0/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/cranelift-isle-0.109.0/Cargo.toml +47 -0
  100. data/ext/cargo-vendor/cranelift-isle-0.109.0/src/sema.rs +2492 -0
  101. data/ext/cargo-vendor/cranelift-native-0.109.0/.cargo-checksum.json +1 -0
  102. data/ext/cargo-vendor/cranelift-native-0.109.0/Cargo.toml +43 -0
  103. data/ext/cargo-vendor/cranelift-native-0.109.0/src/lib.rs +188 -0
  104. data/ext/cargo-vendor/cranelift-native-0.109.0/src/riscv.rs +128 -0
  105. data/ext/cargo-vendor/cranelift-wasm-0.109.0/.cargo-checksum.json +1 -0
  106. data/ext/cargo-vendor/cranelift-wasm-0.109.0/Cargo.toml +110 -0
  107. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator.rs +3695 -0
  108. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/func_translator.rs +296 -0
  109. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/module_translator.rs +120 -0
  110. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/sections_translator.rs +343 -0
  111. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/state.rs +522 -0
  112. data/ext/cargo-vendor/object-0.36.3/.cargo-checksum.json +1 -0
  113. data/ext/cargo-vendor/object-0.36.3/CHANGELOG.md +1028 -0
  114. data/ext/cargo-vendor/object-0.36.3/Cargo.toml +180 -0
  115. data/ext/cargo-vendor/object-0.36.3/README.md +60 -0
  116. data/ext/cargo-vendor/object-0.36.3/src/build/bytes.rs +146 -0
  117. data/ext/cargo-vendor/object-0.36.3/src/build/elf.rs +3113 -0
  118. data/ext/cargo-vendor/object-0.36.3/src/common.rs +590 -0
  119. data/ext/cargo-vendor/object-0.36.3/src/elf.rs +6303 -0
  120. data/ext/cargo-vendor/object-0.36.3/src/endian.rs +831 -0
  121. data/ext/cargo-vendor/object-0.36.3/src/macho.rs +3303 -0
  122. data/ext/cargo-vendor/object-0.36.3/src/pod.rs +281 -0
  123. data/ext/cargo-vendor/object-0.36.3/src/read/any.rs +1334 -0
  124. data/ext/cargo-vendor/object-0.36.3/src/read/archive.rs +1133 -0
  125. data/ext/cargo-vendor/object-0.36.3/src/read/coff/comdat.rs +220 -0
  126. data/ext/cargo-vendor/object-0.36.3/src/read/coff/file.rs +381 -0
  127. data/ext/cargo-vendor/object-0.36.3/src/read/coff/relocation.rs +113 -0
  128. data/ext/cargo-vendor/object-0.36.3/src/read/coff/section.rs +619 -0
  129. data/ext/cargo-vendor/object-0.36.3/src/read/coff/symbol.rs +669 -0
  130. data/ext/cargo-vendor/object-0.36.3/src/read/elf/attributes.rs +340 -0
  131. data/ext/cargo-vendor/object-0.36.3/src/read/elf/comdat.rs +186 -0
  132. data/ext/cargo-vendor/object-0.36.3/src/read/elf/file.rs +959 -0
  133. data/ext/cargo-vendor/object-0.36.3/src/read/elf/hash.rs +236 -0
  134. data/ext/cargo-vendor/object-0.36.3/src/read/elf/note.rs +302 -0
  135. data/ext/cargo-vendor/object-0.36.3/src/read/elf/relocation.rs +661 -0
  136. data/ext/cargo-vendor/object-0.36.3/src/read/elf/section.rs +1241 -0
  137. data/ext/cargo-vendor/object-0.36.3/src/read/elf/segment.rs +365 -0
  138. data/ext/cargo-vendor/object-0.36.3/src/read/elf/symbol.rs +654 -0
  139. data/ext/cargo-vendor/object-0.36.3/src/read/elf/version.rs +513 -0
  140. data/ext/cargo-vendor/object-0.36.3/src/read/gnu_compression.rs +36 -0
  141. data/ext/cargo-vendor/object-0.36.3/src/read/macho/dyld_cache.rs +384 -0
  142. data/ext/cargo-vendor/object-0.36.3/src/read/macho/file.rs +779 -0
  143. data/ext/cargo-vendor/object-0.36.3/src/read/macho/load_command.rs +404 -0
  144. data/ext/cargo-vendor/object-0.36.3/src/read/macho/section.rs +420 -0
  145. data/ext/cargo-vendor/object-0.36.3/src/read/macho/segment.rs +317 -0
  146. data/ext/cargo-vendor/object-0.36.3/src/read/macho/symbol.rs +532 -0
  147. data/ext/cargo-vendor/object-0.36.3/src/read/mod.rs +1018 -0
  148. data/ext/cargo-vendor/object-0.36.3/src/read/pe/file.rs +1033 -0
  149. data/ext/cargo-vendor/object-0.36.3/src/read/pe/import.rs +381 -0
  150. data/ext/cargo-vendor/object-0.36.3/src/read/pe/relocation.rs +109 -0
  151. data/ext/cargo-vendor/object-0.36.3/src/read/pe/section.rs +476 -0
  152. data/ext/cargo-vendor/object-0.36.3/src/read/read_cache.rs +261 -0
  153. data/ext/cargo-vendor/object-0.36.3/src/read/traits.rs +589 -0
  154. data/ext/cargo-vendor/object-0.36.3/src/read/wasm.rs +983 -0
  155. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/file.rs +716 -0
  156. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/relocation.rs +138 -0
  157. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/section.rs +452 -0
  158. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/symbol.rs +836 -0
  159. data/ext/cargo-vendor/object-0.36.3/src/write/coff/object.rs +681 -0
  160. data/ext/cargo-vendor/object-0.36.3/src/write/coff/writer.rs +520 -0
  161. data/ext/cargo-vendor/object-0.36.3/src/write/elf/object.rs +897 -0
  162. data/ext/cargo-vendor/object-0.36.3/src/write/elf/writer.rs +2361 -0
  163. data/ext/cargo-vendor/object-0.36.3/src/write/macho.rs +1124 -0
  164. data/ext/cargo-vendor/object-0.36.3/src/write/mod.rs +1023 -0
  165. data/ext/cargo-vendor/object-0.36.3/src/write/pe.rs +849 -0
  166. data/ext/cargo-vendor/object-0.36.3/src/write/xcoff.rs +588 -0
  167. data/ext/cargo-vendor/object-0.36.3/tests/build/elf.rs +254 -0
  168. data/ext/cargo-vendor/object-0.36.3/tests/build/mod.rs +3 -0
  169. data/ext/cargo-vendor/object-0.36.3/tests/integration.rs +3 -0
  170. data/ext/cargo-vendor/object-0.36.3/tests/read/macho.rs +49 -0
  171. data/ext/cargo-vendor/object-0.36.3/tests/read/mod.rs +5 -0
  172. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/bss.rs +244 -0
  173. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/comdat.rs +217 -0
  174. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/common.rs +241 -0
  175. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/elf.rs +302 -0
  176. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/mod.rs +682 -0
  177. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/section_flags.rs +89 -0
  178. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/tls.rs +308 -0
  179. data/ext/cargo-vendor/wasi-common-22.0.0/.cargo-checksum.json +1 -0
  180. data/ext/cargo-vendor/wasi-common-22.0.0/Cargo.toml +224 -0
  181. data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_0.rs +1080 -0
  182. data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_1.rs +1562 -0
  183. data/ext/cargo-vendor/wasi-common-22.0.0/src/string_array.rs +75 -0
  184. data/ext/cargo-vendor/wasi-common-22.0.0/src/sync/sched/windows.rs +221 -0
  185. data/ext/cargo-vendor/wasi-common-22.0.0/src/tokio/file.rs +247 -0
  186. data/ext/cargo-vendor/wasmparser-0.209.1/.cargo-checksum.json +1 -0
  187. data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.lock +662 -0
  188. data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.toml +109 -0
  189. data/ext/cargo-vendor/wasmparser-0.209.1/src/binary_reader.rs +1929 -0
  190. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/hash.rs +120 -0
  191. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/detail.rs +1094 -0
  192. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/tests.rs +183 -0
  193. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map.rs +656 -0
  194. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_set.rs +316 -0
  195. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/map.rs +840 -0
  196. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/mod.rs +24 -0
  197. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/set.rs +660 -0
  198. data/ext/cargo-vendor/wasmparser-0.209.1/src/features.rs +164 -0
  199. data/ext/cargo-vendor/wasmparser-0.209.1/src/lib.rs +814 -0
  200. data/ext/cargo-vendor/wasmparser-0.209.1/src/limits.rs +79 -0
  201. data/ext/cargo-vendor/wasmparser-0.209.1/src/parser.rs +1682 -0
  202. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/imports.rs +130 -0
  203. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/instances.rs +166 -0
  204. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/names.rs +99 -0
  205. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/types.rs +553 -0
  206. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/branch_hinting.rs +59 -0
  207. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/code.rs +142 -0
  208. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/coredumps.rs +278 -0
  209. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/custom.rs +128 -0
  210. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/data.rs +96 -0
  211. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/elements.rs +146 -0
  212. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/globals.rs +61 -0
  213. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/init.rs +57 -0
  214. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/linking.rs +457 -0
  215. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/names.rs +159 -0
  216. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/operators.rs +423 -0
  217. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/producers.rs +84 -0
  218. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/reloc.rs +300 -0
  219. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/types.rs +1788 -0
  220. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers.rs +315 -0
  221. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/component.rs +3236 -0
  222. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core/canonical.rs +233 -0
  223. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core.rs +1464 -0
  224. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/func.rs +331 -0
  225. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/names.rs +1016 -0
  226. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/operators.rs +4231 -0
  227. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/types.rs +4550 -0
  228. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator.rs +1633 -0
  229. data/ext/cargo-vendor/wasmprinter-0.209.1/.cargo-checksum.json +1 -0
  230. data/ext/cargo-vendor/wasmprinter-0.209.1/Cargo.toml +51 -0
  231. data/ext/cargo-vendor/wasmprinter-0.209.1/src/lib.rs +3225 -0
  232. data/ext/cargo-vendor/wasmprinter-0.209.1/src/operator.rs +1171 -0
  233. data/ext/cargo-vendor/wasmtime-22.0.0/.cargo-checksum.json +1 -0
  234. data/ext/cargo-vendor/wasmtime-22.0.0/Cargo.toml +387 -0
  235. data/ext/cargo-vendor/wasmtime-22.0.0/build.rs +42 -0
  236. data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/runtime.rs +167 -0
  237. data/ext/cargo-vendor/wasmtime-22.0.0/src/compile.rs +917 -0
  238. data/ext/cargo-vendor/wasmtime-22.0.0/src/config.rs +2943 -0
  239. data/ext/cargo-vendor/wasmtime-22.0.0/src/engine/serialization.rs +890 -0
  240. data/ext/cargo-vendor/wasmtime-22.0.0/src/lib.rs +389 -0
  241. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/jitdump.rs +67 -0
  242. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/perfmap.rs +48 -0
  243. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code.rs +102 -0
  244. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code_memory.rs +338 -0
  245. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_0_hello_world.rs +9 -0
  246. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_1_world_imports.rs +17 -0
  247. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs +18 -0
  248. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_3_interface_imports.rs +20 -0
  249. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_4_imported_resources.rs +45 -0
  250. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +29 -0
  251. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_6_exported_resources.rs +26 -0
  252. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/mod.rs +489 -0
  253. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/component.rs +656 -0
  254. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/typed.rs +2498 -0
  255. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func.rs +689 -0
  256. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/instance.rs +810 -0
  257. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/linker.rs +854 -0
  258. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/matching.rs +217 -0
  259. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/mod.rs +657 -0
  260. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/resource_table.rs +355 -0
  261. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/types.rs +897 -0
  262. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/debug.rs +166 -0
  263. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/global.rs +310 -0
  264. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/table.rs +481 -0
  265. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func/typed.rs +780 -0
  266. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func.rs +2564 -0
  267. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/anyref.rs +410 -0
  268. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/externref.rs +592 -0
  269. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/i31.rs +299 -0
  270. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/noextern.rs +154 -0
  271. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc.rs +92 -0
  272. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instance.rs +992 -0
  273. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instantiate.rs +337 -0
  274. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/linker.rs +1499 -0
  275. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module/registry.rs +353 -0
  276. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module.rs +1322 -0
  277. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store/func_refs.rs +90 -0
  278. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store.rs +2824 -0
  279. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/func.rs +94 -0
  280. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/memory.rs +287 -0
  281. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/type_registry.rs +1015 -0
  282. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types.rs +2580 -0
  283. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/v128.rs +116 -0
  284. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/values.rs +966 -0
  285. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/resources.rs +352 -0
  286. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component.rs +857 -0
  287. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/cow.rs +972 -0
  288. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/export.rs +108 -0
  289. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_ref.rs +491 -0
  290. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/on_demand.rs +220 -0
  291. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +194 -0
  292. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +94 -0
  293. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +78 -0
  294. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +707 -0
  295. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +975 -0
  296. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/table_pool.rs +245 -0
  297. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +278 -0
  298. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling.rs +794 -0
  299. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator.rs +801 -0
  300. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance.rs +1514 -0
  301. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/memory.rs +736 -0
  302. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/capi.rs +200 -0
  303. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/vm.rs +105 -0
  304. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/vm.rs +59 -0
  305. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/mod.rs +36 -0
  306. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/signals.rs +407 -0
  307. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/vm.rs +190 -0
  308. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/vm.rs +75 -0
  309. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/table.rs +899 -0
  310. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/traphandlers.rs +768 -0
  311. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext/vm_host_func_context.rs +79 -0
  312. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext.rs +1302 -0
  313. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm.rs +277 -0
  314. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime.rs +113 -0
  315. data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/.cargo-checksum.json +1 -0
  316. data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/Cargo.toml +22 -0
  317. data/ext/cargo-vendor/wasmtime-cache-22.0.0/.cargo-checksum.json +1 -0
  318. data/ext/cargo-vendor/wasmtime-cache-22.0.0/Cargo.toml +89 -0
  319. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/config.rs +584 -0
  320. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/lib.rs +235 -0
  321. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/tests.rs +91 -0
  322. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker/tests.rs +758 -0
  323. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker.rs +890 -0
  324. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/.cargo-checksum.json +1 -0
  325. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/Cargo.toml +86 -0
  326. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/bindgen.rs +493 -0
  327. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/component.rs +1330 -0
  328. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen.rs +651 -0
  329. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char.rs +198 -0
  330. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char_async.rs +215 -0
  331. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions.rs +586 -0
  332. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions_async.rs +631 -0
  333. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code.rs +165 -0
  334. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code_async.rs +178 -0
  335. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import.rs +91 -0
  336. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import_async.rs +97 -0
  337. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty.rs +45 -0
  338. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty_async.rs +45 -0
  339. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags.rs +637 -0
  340. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags_async.rs +679 -0
  341. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats.rs +255 -0
  342. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats_async.rs +282 -0
  343. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new.rs +59 -0
  344. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new_async.rs +62 -0
  345. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers.rs +722 -0
  346. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers_async.rs +819 -0
  347. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists.rs +1743 -0
  348. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists_async.rs +1927 -0
  349. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments.rs +543 -0
  350. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments_async.rs +561 -0
  351. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return.rs +270 -0
  352. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return_async.rs +298 -0
  353. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion.rs +251 -0
  354. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion_async.rs +270 -0
  355. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records.rs +815 -0
  356. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records_async.rs +877 -0
  357. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename.rs +154 -0
  358. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename_async.rs +167 -0
  359. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export.rs +467 -0
  360. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export_async.rs +516 -0
  361. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import.rs +1014 -0
  362. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import_async.rs +1086 -0
  363. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types.rs +249 -0
  364. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types_async.rs +265 -0
  365. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions.rs +313 -0
  366. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions_async.rs +347 -0
  367. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists.rs +350 -0
  368. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists_async.rs +381 -0
  369. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi.rs +216 -0
  370. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi_async.rs +229 -0
  371. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous.rs +275 -0
  372. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous_async.rs +287 -0
  373. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default.rs +59 -0
  374. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default_async.rs +62 -0
  375. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export.rs +86 -0
  376. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export_async.rs +89 -0
  377. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke.rs +104 -0
  378. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke_async.rs +111 -0
  379. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings.rs +247 -0
  380. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings_async.rs +269 -0
  381. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo.rs +136 -0
  382. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo_async.rs +143 -0
  383. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths.rs +288 -0
  384. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths_async.rs +314 -0
  385. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants.rs +1750 -0
  386. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants_async.rs +1867 -0
  387. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat.rs +84 -0
  388. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat_async.rs +84 -0
  389. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types.rs +138 -0
  390. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types_async.rs +148 -0
  391. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded.rs +65 -0
  392. data/ext/cargo-vendor/wasmtime-component-util-22.0.0/.cargo-checksum.json +1 -0
  393. data/ext/cargo-vendor/wasmtime-component-util-22.0.0/Cargo.toml +25 -0
  394. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/.cargo-checksum.json +1 -0
  395. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/Cargo.toml +115 -0
  396. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler/component.rs +957 -0
  397. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler.rs +1067 -0
  398. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/address_transform.rs +783 -0
  399. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/mod.rs +256 -0
  400. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/simulate.rs +411 -0
  401. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/unit.rs +529 -0
  402. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/utils.rs +186 -0
  403. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/write_debuginfo.rs +196 -0
  404. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/func_environ.rs +2910 -0
  405. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/gc/enabled.rs +648 -0
  406. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/lib.rs +462 -0
  407. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/obj.rs +545 -0
  408. data/ext/cargo-vendor/wasmtime-environ-22.0.0/.cargo-checksum.json +1 -0
  409. data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.lock +774 -0
  410. data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.toml +161 -0
  411. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/address_map.rs +73 -0
  412. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/mod.rs +374 -0
  413. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_artifacts.rs +315 -0
  414. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_environ.rs +1348 -0
  415. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_types.rs +455 -0
  416. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/artifacts.rs +68 -0
  417. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/info.rs +672 -0
  418. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate/adapt.rs +455 -0
  419. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate.rs +985 -0
  420. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types.rs +1038 -0
  421. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder/resources.rs +233 -0
  422. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder.rs +1004 -0
  423. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/trampoline.rs +3234 -0
  424. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/transcode.rs +90 -0
  425. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact.rs +714 -0
  426. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/lib.rs +151 -0
  427. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module.rs +704 -0
  428. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_artifacts.rs +144 -0
  429. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_types.rs +139 -0
  430. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/ref_bits.rs +36 -0
  431. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/tunables.rs +175 -0
  432. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/vmoffsets.rs +989 -0
  433. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/.cargo-checksum.json +1 -0
  434. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/Cargo.toml +65 -0
  435. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/build.rs +39 -0
  436. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/lib.rs +340 -0
  437. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/unix.rs +494 -0
  438. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/windows.rs +170 -0
  439. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/.cargo-checksum.json +1 -0
  440. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/Cargo.toml +68 -0
  441. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/gdb_jit_int.rs +130 -0
  442. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/perf_jitdump.rs +293 -0
  443. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/.cargo-checksum.json +1 -0
  444. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/Cargo.toml +52 -0
  445. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/src/libc.rs +164 -0
  446. data/ext/cargo-vendor/wasmtime-slab-22.0.0/.cargo-checksum.json +1 -0
  447. data/ext/cargo-vendor/wasmtime-slab-22.0.0/Cargo.toml +21 -0
  448. data/ext/cargo-vendor/wasmtime-slab-22.0.0/src/lib.rs +498 -0
  449. data/ext/cargo-vendor/wasmtime-types-22.0.0/.cargo-checksum.json +1 -0
  450. data/ext/cargo-vendor/wasmtime-types-22.0.0/Cargo.toml +56 -0
  451. data/ext/cargo-vendor/wasmtime-types-22.0.0/src/lib.rs +1737 -0
  452. data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/.cargo-checksum.json +1 -0
  453. data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/Cargo.toml +32 -0
  454. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/.cargo-checksum.json +1 -0
  455. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/Cargo.toml +201 -0
  456. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/bindings.rs +289 -0
  457. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ctx.rs +704 -0
  458. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/filesystem.rs +446 -0
  459. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/clocks.rs +109 -0
  460. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/env.rs +18 -0
  461. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/exit.rs +14 -0
  462. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem/sync.rs +525 -0
  463. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem.rs +1091 -0
  464. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/instance_network.rs +18 -0
  465. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/io.rs +388 -0
  466. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/network.rs +545 -0
  467. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/random.rs +45 -0
  468. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp.rs +547 -0
  469. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp_create_socket.rs +18 -0
  470. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp.rs +762 -0
  471. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp_create_socket.rs +18 -0
  472. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ip_name_lookup.rs +132 -0
  473. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/lib.rs +417 -0
  474. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/network.rs +113 -0
  475. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/pipe.rs +826 -0
  476. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/poll.rs +245 -0
  477. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview0.rs +983 -0
  478. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview1.rs +2801 -0
  479. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/stdio.rs +533 -0
  480. data/ext/cargo-vendor/wasmtime-winch-22.0.0/.cargo-checksum.json +1 -0
  481. data/ext/cargo-vendor/wasmtime-winch-22.0.0/Cargo.toml +82 -0
  482. data/ext/cargo-vendor/wasmtime-winch-22.0.0/src/compiler.rs +239 -0
  483. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/.cargo-checksum.json +1 -0
  484. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/Cargo.toml +47 -0
  485. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/lib.rs +2639 -0
  486. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/rust.rs +427 -0
  487. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/types.rs +202 -0
  488. data/ext/cargo-vendor/wiggle-22.0.0/.cargo-checksum.json +1 -0
  489. data/ext/cargo-vendor/wiggle-22.0.0/Cargo.toml +124 -0
  490. data/ext/cargo-vendor/wiggle-22.0.0/src/guest_type.rs +200 -0
  491. data/ext/cargo-vendor/wiggle-22.0.0/src/lib.rs +605 -0
  492. data/ext/cargo-vendor/wiggle-generate-22.0.0/.cargo-checksum.json +1 -0
  493. data/ext/cargo-vendor/wiggle-generate-22.0.0/Cargo.toml +67 -0
  494. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/funcs.rs +434 -0
  495. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/module_trait.rs +89 -0
  496. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/names.rs +299 -0
  497. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/flags.rs +92 -0
  498. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/handle.rs +84 -0
  499. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/mod.rs +129 -0
  500. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/record.rs +129 -0
  501. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/variant.rs +186 -0
  502. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/wasmtime.rs +172 -0
  503. data/ext/cargo-vendor/wiggle-macro-22.0.0/.cargo-checksum.json +1 -0
  504. data/ext/cargo-vendor/wiggle-macro-22.0.0/Cargo.toml +51 -0
  505. data/ext/cargo-vendor/wiggle-macro-22.0.0/build.rs +5 -0
  506. data/ext/cargo-vendor/wiggle-macro-22.0.0/src/lib.rs +233 -0
  507. data/ext/cargo-vendor/winch-codegen-0.20.0/.cargo-checksum.json +1 -0
  508. data/ext/cargo-vendor/winch-codegen-0.20.0/Cargo.toml +77 -0
  509. data/ext/cargo-vendor/winch-codegen-0.20.0/src/abi/mod.rs +671 -0
  510. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/context.rs +536 -0
  511. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/control.rs +972 -0
  512. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/env.rs +448 -0
  513. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/mod.rs +882 -0
  514. data/ext/cargo-vendor/winch-codegen-0.20.0/src/frame/mod.rs +258 -0
  515. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/asm.rs +430 -0
  516. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/masm.rs +572 -0
  517. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/regs.rs +161 -0
  518. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/asm.rs +1423 -0
  519. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/masm.rs +1120 -0
  520. data/ext/cargo-vendor/winch-codegen-0.20.0/src/masm.rs +941 -0
  521. data/ext/cargo-vendor/winch-codegen-0.20.0/src/regalloc.rs +65 -0
  522. data/ext/cargo-vendor/winch-codegen-0.20.0/src/stack.rs +439 -0
  523. data/ext/cargo-vendor/winch-codegen-0.20.0/src/visitor.rs +2149 -0
  524. data/ext/cargo-vendor/wit-parser-0.209.1/.cargo-checksum.json +1 -0
  525. data/ext/cargo-vendor/wit-parser-0.209.1/Cargo.toml +112 -0
  526. data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/resolve.rs +1524 -0
  527. data/ext/cargo-vendor/wit-parser-0.209.1/src/ast.rs +1668 -0
  528. data/ext/cargo-vendor/wit-parser-0.209.1/src/decoding.rs +1795 -0
  529. data/ext/cargo-vendor/wit-parser-0.209.1/src/lib.rs +873 -0
  530. data/ext/cargo-vendor/wit-parser-0.209.1/src/live.rs +126 -0
  531. data/ext/cargo-vendor/wit-parser-0.209.1/src/metadata.rs +772 -0
  532. data/ext/cargo-vendor/wit-parser-0.209.1/src/resolve.rs +2498 -0
  533. data/ext/cargo-vendor/wit-parser-0.209.1/src/serde_.rs +124 -0
  534. data/ext/cargo-vendor/wit-parser-0.209.1/tests/all.rs +154 -0
  535. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/complex-include.wit.json +200 -0
  536. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/diamond1.wit.json +59 -0
  537. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/disambiguate-diamond.wit.json +115 -0
  538. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit +118 -0
  539. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit.json +288 -0
  540. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps-union.wit.json +410 -0
  541. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps.wit.json +362 -0
  542. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/ignore-files-deps.wit.json +41 -0
  543. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/import-export-overlap2.wit.json +43 -0
  544. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/include-reps.wit.json +68 -0
  545. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/kinds-of-deps.wit.json +95 -0
  546. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/many-names.wit.json +42 -0
  547. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/multi-file.wit.json +304 -0
  548. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit +8 -0
  549. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit.result +5 -0
  550. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit +8 -0
  551. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit.result +5 -0
  552. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit +6 -0
  553. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit.result +8 -0
  554. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit +8 -0
  555. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit.result +8 -0
  556. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit +11 -0
  557. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit.result +8 -0
  558. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit +4 -0
  559. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit.result +5 -0
  560. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit +5 -0
  561. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit.result +5 -0
  562. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/conflicting-package.wit.result +10 -0
  563. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/multiple-package-docs.wit.result +10 -0
  564. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +8 -0
  565. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-return-borrow.wit.result +8 -0
  566. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow1.wit.result +8 -0
  567. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow2.wit.result +8 -0
  568. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow6.wit.result +8 -0
  569. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow7.wit.result +8 -0
  570. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow8.wit.result +9 -0
  571. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/shared-types.wit.json +87 -0
  572. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit +89 -0
  573. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit.json +549 -0
  574. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/stress-export-elaborate.wit.json +1156 -0
  575. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-diamond.wit.json +124 -0
  576. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-iface-no-collide.wit.json +68 -0
  577. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import1.wit.json +81 -0
  578. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import2.wit.json +72 -0
  579. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import3.wit.json +73 -0
  580. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-same-fields4.wit.json +82 -0
  581. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-top-level-resources.wit.json +237 -0
  582. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-union-dedup.wit.json +112 -0
  583. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-with-types.wit.json +204 -0
  584. data/ext/src/ruby_api/pooling_allocation_config.rs +6 -6
  585. data/lib/wasmtime/version.rb +1 -1
  586. metadata +1525 -1459
  587. data/ext/cargo-vendor/cranelift-bforest-0.108.1/.cargo-checksum.json +0 -1
  588. data/ext/cargo-vendor/cranelift-bforest-0.108.1/Cargo.toml +0 -40
  589. data/ext/cargo-vendor/cranelift-codegen-0.108.1/.cargo-checksum.json +0 -1
  590. data/ext/cargo-vendor/cranelift-codegen-0.108.1/Cargo.toml +0 -189
  591. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/context.rs +0 -395
  592. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dce.rs +0 -37
  593. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dominator_tree.rs +0 -803
  594. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph.rs +0 -839
  595. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/inst_predicates.rs +0 -236
  596. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/dfg.rs +0 -1777
  597. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/extfunc.rs +0 -411
  598. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/immediates.rs +0 -1612
  599. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/stackslot.rs +0 -216
  600. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/types.rs +0 -629
  601. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/abi.rs +0 -1580
  602. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/args.rs +0 -721
  603. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit.rs +0 -3846
  604. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit_tests.rs +0 -7902
  605. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/imms.rs +0 -1213
  606. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/mod.rs +0 -3094
  607. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/regs.rs +0 -288
  608. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/unwind/systemv.rs +0 -174
  609. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst.isle +0 -4225
  610. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/pcc.rs +0 -568
  611. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/abi.rs +0 -1051
  612. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/args.rs +0 -1938
  613. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit.rs +0 -2681
  614. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit_tests.rs +0 -2197
  615. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/encode.rs +0 -654
  616. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/imms.rs +0 -374
  617. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/mod.rs +0 -1975
  618. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/unwind/systemv.rs +0 -170
  619. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/vector.rs +0 -1144
  620. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst.isle +0 -2969
  621. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst_vector.isle +0 -1899
  622. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower/isle.rs +0 -625
  623. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower.isle +0 -2883
  624. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/mod.rs +0 -260
  625. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/abi.rs +0 -1037
  626. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/args.rs +0 -314
  627. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit.rs +0 -3646
  628. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit_tests.rs +0 -13389
  629. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/imms.rs +0 -202
  630. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/mod.rs +0 -3421
  631. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/regs.rs +0 -180
  632. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/unwind/systemv.rs +0 -212
  633. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst.isle +0 -5033
  634. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/lower.isle +0 -3995
  635. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/abi.rs +0 -1410
  636. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/args.rs +0 -2256
  637. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit.rs +0 -4311
  638. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_state.rs +0 -74
  639. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_tests.rs +0 -5171
  640. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/mod.rs +0 -2838
  641. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/regs.rs +0 -276
  642. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/unwind/systemv.rs +0 -198
  643. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst.isle +0 -5294
  644. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.isle +0 -4808
  645. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/pcc.rs +0 -1014
  646. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isle_prelude.rs +0 -957
  647. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/lib.rs +0 -106
  648. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/abi.rs +0 -2506
  649. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/blockorder.rs +0 -465
  650. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/buffer.rs +0 -2512
  651. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/isle.rs +0 -903
  652. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/lower.rs +0 -1432
  653. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/mod.rs +0 -555
  654. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/reg.rs +0 -522
  655. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/valueregs.rs +0 -138
  656. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/vcode.rs +0 -1741
  657. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/cprop.isle +0 -281
  658. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/shifts.isle +0 -307
  659. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude.isle +0 -646
  660. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude_lower.isle +0 -1073
  661. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/timing.rs +0 -297
  662. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/verifier/mod.rs +0 -1957
  663. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/write.rs +0 -631
  664. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/.cargo-checksum.json +0 -1
  665. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/Cargo.toml +0 -35
  666. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/cdsl/types.rs +0 -496
  667. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/riscv64.rs +0 -168
  668. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/.cargo-checksum.json +0 -1
  669. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/Cargo.toml +0 -22
  670. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/src/constants.rs +0 -28
  671. data/ext/cargo-vendor/cranelift-control-0.108.1/.cargo-checksum.json +0 -1
  672. data/ext/cargo-vendor/cranelift-control-0.108.1/Cargo.toml +0 -30
  673. data/ext/cargo-vendor/cranelift-entity-0.108.1/.cargo-checksum.json +0 -1
  674. data/ext/cargo-vendor/cranelift-entity-0.108.1/Cargo.toml +0 -52
  675. data/ext/cargo-vendor/cranelift-entity-0.108.1/src/set.rs +0 -290
  676. data/ext/cargo-vendor/cranelift-frontend-0.108.1/.cargo-checksum.json +0 -1
  677. data/ext/cargo-vendor/cranelift-frontend-0.108.1/Cargo.toml +0 -67
  678. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/frontend.rs +0 -1854
  679. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/lib.rs +0 -189
  680. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/ssa.rs +0 -1328
  681. data/ext/cargo-vendor/cranelift-isle-0.108.1/.cargo-checksum.json +0 -1
  682. data/ext/cargo-vendor/cranelift-isle-0.108.1/Cargo.toml +0 -46
  683. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/sema.rs +0 -2492
  684. data/ext/cargo-vendor/cranelift-native-0.108.1/.cargo-checksum.json +0 -1
  685. data/ext/cargo-vendor/cranelift-native-0.108.1/Cargo.toml +0 -43
  686. data/ext/cargo-vendor/cranelift-native-0.108.1/src/lib.rs +0 -188
  687. data/ext/cargo-vendor/cranelift-native-0.108.1/src/riscv.rs +0 -128
  688. data/ext/cargo-vendor/cranelift-wasm-0.108.1/.cargo-checksum.json +0 -1
  689. data/ext/cargo-vendor/cranelift-wasm-0.108.1/Cargo.toml +0 -109
  690. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/code_translator.rs +0 -3687
  691. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/func_translator.rs +0 -296
  692. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/module_translator.rs +0 -128
  693. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/sections_translator.rs +0 -389
  694. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/state.rs +0 -522
  695. data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +0 -1
  696. data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +0 -797
  697. data/ext/cargo-vendor/object-0.33.0/Cargo.toml +0 -179
  698. data/ext/cargo-vendor/object-0.33.0/README.md +0 -56
  699. data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +0 -141
  700. data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +0 -3033
  701. data/ext/cargo-vendor/object-0.33.0/src/common.rs +0 -568
  702. data/ext/cargo-vendor/object-0.33.0/src/elf.rs +0 -6291
  703. data/ext/cargo-vendor/object-0.33.0/src/endian.rs +0 -831
  704. data/ext/cargo-vendor/object-0.33.0/src/macho.rs +0 -3309
  705. data/ext/cargo-vendor/object-0.33.0/src/pod.rs +0 -239
  706. data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +0 -1328
  707. data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +0 -759
  708. data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +0 -211
  709. data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +0 -383
  710. data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +0 -108
  711. data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +0 -585
  712. data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +0 -635
  713. data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +0 -306
  714. data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +0 -162
  715. data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +0 -918
  716. data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +0 -224
  717. data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +0 -271
  718. data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +0 -629
  719. data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +0 -1150
  720. data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +0 -356
  721. data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +0 -595
  722. data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +0 -424
  723. data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +0 -345
  724. data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +0 -783
  725. data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +0 -386
  726. data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +0 -389
  727. data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +0 -303
  728. data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +0 -492
  729. data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +0 -880
  730. data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +0 -1053
  731. data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +0 -339
  732. data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +0 -92
  733. data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +0 -440
  734. data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +0 -213
  735. data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +0 -551
  736. data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +0 -966
  737. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +0 -697
  738. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +0 -134
  739. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +0 -433
  740. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +0 -784
  741. data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +0 -678
  742. data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +0 -518
  743. data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +0 -885
  744. data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +0 -2309
  745. data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +0 -1107
  746. data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +0 -990
  747. data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +0 -847
  748. data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +0 -589
  749. data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +0 -2
  750. data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +0 -4
  751. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +0 -255
  752. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +0 -225
  753. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +0 -245
  754. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +0 -289
  755. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +0 -704
  756. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +0 -90
  757. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +0 -316
  758. data/ext/cargo-vendor/wasi-common-21.0.1/.cargo-checksum.json +0 -1
  759. data/ext/cargo-vendor/wasi-common-21.0.1/Cargo.toml +0 -223
  760. data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_0.rs +0 -1145
  761. data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_1.rs +0 -1497
  762. data/ext/cargo-vendor/wasi-common-21.0.1/src/string_array.rs +0 -74
  763. data/ext/cargo-vendor/wasi-common-21.0.1/src/sync/sched/windows.rs +0 -221
  764. data/ext/cargo-vendor/wasi-common-21.0.1/src/tokio/file.rs +0 -247
  765. data/ext/cargo-vendor/wasm-encoder-0.207.0/.cargo-checksum.json +0 -1
  766. data/ext/cargo-vendor/wasm-encoder-0.207.0/Cargo.toml +0 -45
  767. data/ext/cargo-vendor/wasm-encoder-0.207.0/README.md +0 -80
  768. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/aliases.rs +0 -160
  769. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/builder.rs +0 -455
  770. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/canonicals.rs +0 -159
  771. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/components.rs +0 -29
  772. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/exports.rs +0 -124
  773. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/imports.rs +0 -175
  774. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/instances.rs +0 -200
  775. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/modules.rs +0 -29
  776. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/names.rs +0 -149
  777. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/start.rs +0 -52
  778. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/types.rs +0 -792
  779. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component.rs +0 -168
  780. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/code.rs +0 -3502
  781. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/custom.rs +0 -73
  782. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/data.rs +0 -186
  783. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/dump.rs +0 -627
  784. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/elements.rs +0 -221
  785. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/exports.rs +0 -98
  786. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/functions.rs +0 -63
  787. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/globals.rs +0 -112
  788. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/imports.rs +0 -157
  789. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/linking.rs +0 -263
  790. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/memories.rs +0 -128
  791. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/names.rs +0 -298
  792. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/producers.rs +0 -180
  793. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/start.rs +0 -39
  794. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tables.rs +0 -134
  795. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tags.rs +0 -104
  796. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/types.rs +0 -678
  797. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core.rs +0 -168
  798. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/lib.rs +0 -215
  799. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/raw.rs +0 -30
  800. data/ext/cargo-vendor/wasmparser-0.207.0/.cargo-checksum.json +0 -1
  801. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.lock +0 -659
  802. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.toml +0 -95
  803. data/ext/cargo-vendor/wasmparser-0.207.0/src/binary_reader.rs +0 -1867
  804. data/ext/cargo-vendor/wasmparser-0.207.0/src/lib.rs +0 -805
  805. data/ext/cargo-vendor/wasmparser-0.207.0/src/limits.rs +0 -78
  806. data/ext/cargo-vendor/wasmparser-0.207.0/src/map.rs +0 -137
  807. data/ext/cargo-vendor/wasmparser-0.207.0/src/parser.rs +0 -1636
  808. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/imports.rs +0 -129
  809. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/instances.rs +0 -164
  810. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/names.rs +0 -102
  811. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/types.rs +0 -551
  812. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/branch_hinting.rs +0 -59
  813. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/code.rs +0 -146
  814. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/coredumps.rs +0 -244
  815. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/custom.rs +0 -64
  816. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/data.rs +0 -96
  817. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/elements.rs +0 -152
  818. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/globals.rs +0 -51
  819. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/init.rs +0 -51
  820. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/linking.rs +0 -450
  821. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/names.rs +0 -159
  822. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/operators.rs +0 -430
  823. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/producers.rs +0 -83
  824. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/reloc.rs +0 -301
  825. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types.rs +0 -1773
  826. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers.rs +0 -316
  827. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/component.rs +0 -3242
  828. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core/canonical.rs +0 -233
  829. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core.rs +0 -1450
  830. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/func.rs +0 -331
  831. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/names.rs +0 -947
  832. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/operators.rs +0 -4117
  833. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/types.rs +0 -4492
  834. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator.rs +0 -1786
  835. data/ext/cargo-vendor/wasmprinter-0.207.0/.cargo-checksum.json +0 -1
  836. data/ext/cargo-vendor/wasmprinter-0.207.0/Cargo.toml +0 -50
  837. data/ext/cargo-vendor/wasmprinter-0.207.0/src/lib.rs +0 -3226
  838. data/ext/cargo-vendor/wasmprinter-0.207.0/src/operator.rs +0 -1164
  839. data/ext/cargo-vendor/wasmtime-21.0.1/.cargo-checksum.json +0 -1
  840. data/ext/cargo-vendor/wasmtime-21.0.1/Cargo.toml +0 -386
  841. data/ext/cargo-vendor/wasmtime-21.0.1/build.rs +0 -37
  842. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/runtime.rs +0 -176
  843. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile.rs +0 -910
  844. data/ext/cargo-vendor/wasmtime-21.0.1/src/config.rs +0 -2904
  845. data/ext/cargo-vendor/wasmtime-21.0.1/src/engine/serialization.rs +0 -887
  846. data/ext/cargo-vendor/wasmtime-21.0.1/src/lib.rs +0 -328
  847. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/jitdump.rs +0 -67
  848. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/perfmap.rs +0 -48
  849. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code.rs +0 -102
  850. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code_memory.rs +0 -337
  851. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/component.rs +0 -661
  852. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/typed.rs +0 -2498
  853. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func.rs +0 -746
  854. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/instance.rs +0 -814
  855. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/linker.rs +0 -783
  856. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/matching.rs +0 -217
  857. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/mod.rs +0 -783
  858. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resource_table.rs +0 -355
  859. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/types.rs +0 -892
  860. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/debug.rs +0 -166
  861. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/global.rs +0 -310
  862. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/table.rs +0 -477
  863. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func/typed.rs +0 -899
  864. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func.rs +0 -2627
  865. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/anyref.rs +0 -473
  866. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/externref.rs +0 -650
  867. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/i31.rs +0 -346
  868. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc.rs +0 -89
  869. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instance.rs +0 -992
  870. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instantiate.rs +0 -346
  871. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/linker.rs +0 -1506
  872. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module/registry.rs +0 -353
  873. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module.rs +0 -1295
  874. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/func_refs.rs +0 -90
  875. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store.rs +0 -2820
  876. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/func.rs +0 -139
  877. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/memory.rs +0 -287
  878. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/type_registry.rs +0 -807
  879. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types.rs +0 -2239
  880. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/v128.rs +0 -131
  881. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/values.rs +0 -966
  882. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/resources.rs +0 -352
  883. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component.rs +0 -860
  884. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/cow.rs +0 -893
  885. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/export.rs +0 -108
  886. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_ref.rs +0 -491
  887. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/on_demand.rs +0 -218
  888. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -93
  889. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -66
  890. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -705
  891. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -1000
  892. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -233
  893. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -245
  894. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling.rs +0 -656
  895. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator.rs +0 -798
  896. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance.rs +0 -1519
  897. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/memory.rs +0 -744
  898. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/capi.rs +0 -200
  899. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/vm.rs +0 -109
  900. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/vm.rs +0 -63
  901. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/mod.rs +0 -25
  902. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/signals.rs +0 -401
  903. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/vm.rs +0 -215
  904. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/vm.rs +0 -79
  905. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/table.rs +0 -847
  906. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers.rs +0 -768
  907. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -138
  908. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext.rs +0 -1337
  909. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm.rs +0 -287
  910. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime.rs +0 -110
  911. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/.cargo-checksum.json +0 -1
  912. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/Cargo.toml +0 -22
  913. data/ext/cargo-vendor/wasmtime-cache-21.0.1/.cargo-checksum.json +0 -1
  914. data/ext/cargo-vendor/wasmtime-cache-21.0.1/Cargo.toml +0 -88
  915. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/config.rs +0 -584
  916. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/lib.rs +0 -235
  917. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/tests.rs +0 -91
  918. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker/tests.rs +0 -758
  919. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker.rs +0 -890
  920. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/.cargo-checksum.json +0 -1
  921. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/Cargo.toml +0 -79
  922. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/bindgen.rs +0 -436
  923. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/component.rs +0 -1295
  924. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen.rs +0 -576
  925. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/.cargo-checksum.json +0 -1
  926. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/Cargo.toml +0 -25
  927. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/.cargo-checksum.json +0 -1
  928. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/Cargo.toml +0 -114
  929. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler/component.rs +0 -968
  930. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler.rs +0 -1383
  931. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/address_transform.rs +0 -783
  932. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/mod.rs +0 -256
  933. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/simulate.rs +0 -411
  934. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/unit.rs +0 -529
  935. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/utils.rs +0 -186
  936. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/write_debuginfo.rs +0 -196
  937. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/func_environ.rs +0 -2888
  938. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc/enabled.rs +0 -648
  939. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/lib.rs +0 -511
  940. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/obj.rs +0 -545
  941. data/ext/cargo-vendor/wasmtime-environ-21.0.1/.cargo-checksum.json +0 -1
  942. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.lock +0 -772
  943. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.toml +0 -154
  944. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/address_map.rs +0 -73
  945. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/mod.rs +0 -419
  946. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_artifacts.rs +0 -315
  947. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_environ.rs +0 -1337
  948. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_types.rs +0 -362
  949. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/artifacts.rs +0 -72
  950. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/info.rs +0 -672
  951. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate/adapt.rs +0 -455
  952. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate.rs +0 -978
  953. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types.rs +0 -1029
  954. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder/resources.rs +0 -233
  955. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder.rs +0 -997
  956. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/trampoline.rs +0 -3234
  957. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/transcode.rs +0 -90
  958. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact.rs +0 -714
  959. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/lib.rs +0 -161
  960. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module.rs +0 -697
  961. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_artifacts.rs +0 -146
  962. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_types.rs +0 -91
  963. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/ref_bits.rs +0 -36
  964. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/tunables.rs +0 -168
  965. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/vmoffsets.rs +0 -1015
  966. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/.cargo-checksum.json +0 -1
  967. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/Cargo.toml +0 -64
  968. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/build.rs +0 -38
  969. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/lib.rs +0 -328
  970. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/unix.rs +0 -490
  971. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/windows.rs +0 -166
  972. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/.cargo-checksum.json +0 -1
  973. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/Cargo.toml +0 -67
  974. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/gdb_jit_int.rs +0 -130
  975. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/perf_jitdump.rs +0 -293
  976. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/.cargo-checksum.json +0 -1
  977. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/Cargo.toml +0 -51
  978. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/libc.rs +0 -163
  979. data/ext/cargo-vendor/wasmtime-slab-21.0.1/.cargo-checksum.json +0 -1
  980. data/ext/cargo-vendor/wasmtime-slab-21.0.1/Cargo.toml +0 -21
  981. data/ext/cargo-vendor/wasmtime-slab-21.0.1/src/lib.rs +0 -498
  982. data/ext/cargo-vendor/wasmtime-types-21.0.1/.cargo-checksum.json +0 -1
  983. data/ext/cargo-vendor/wasmtime-types-21.0.1/Cargo.toml +0 -55
  984. data/ext/cargo-vendor/wasmtime-types-21.0.1/src/lib.rs +0 -1572
  985. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/.cargo-checksum.json +0 -1
  986. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/Cargo.toml +0 -32
  987. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/.cargo-checksum.json +0 -1
  988. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/Cargo.toml +0 -200
  989. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/bindings.rs +0 -280
  990. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ctx.rs +0 -667
  991. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/filesystem.rs +0 -446
  992. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/clocks.rs +0 -103
  993. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/env.rs +0 -15
  994. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/exit.rs +0 -11
  995. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem/sync.rs +0 -518
  996. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem.rs +0 -1079
  997. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/instance_network.rs +0 -15
  998. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/io.rs +0 -367
  999. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/network.rs +0 -539
  1000. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/random.rs +0 -36
  1001. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp.rs +0 -306
  1002. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp_create_socket.rs +0 -15
  1003. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp.rs +0 -532
  1004. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp_create_socket.rs +0 -15
  1005. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ip_name_lookup.rs +0 -126
  1006. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/lib.rs +0 -426
  1007. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/network.rs +0 -107
  1008. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/pipe.rs +0 -826
  1009. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/poll.rs +0 -233
  1010. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview0.rs +0 -877
  1011. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview1.rs +0 -2660
  1012. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/stdio.rs +0 -507
  1013. data/ext/cargo-vendor/wasmtime-winch-21.0.1/.cargo-checksum.json +0 -1
  1014. data/ext/cargo-vendor/wasmtime-winch-21.0.1/Cargo.toml +0 -81
  1015. data/ext/cargo-vendor/wasmtime-winch-21.0.1/src/compiler.rs +0 -261
  1016. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/.cargo-checksum.json +0 -1
  1017. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/Cargo.toml +0 -46
  1018. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/lib.rs +0 -2541
  1019. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/rust.rs +0 -421
  1020. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/types.rs +0 -202
  1021. data/ext/cargo-vendor/wiggle-21.0.1/.cargo-checksum.json +0 -1
  1022. data/ext/cargo-vendor/wiggle-21.0.1/Cargo.toml +0 -123
  1023. data/ext/cargo-vendor/wiggle-21.0.1/src/borrow.rs +0 -113
  1024. data/ext/cargo-vendor/wiggle-21.0.1/src/guest_type.rs +0 -237
  1025. data/ext/cargo-vendor/wiggle-21.0.1/src/lib.rs +0 -1184
  1026. data/ext/cargo-vendor/wiggle-21.0.1/src/wasmtime.rs +0 -97
  1027. data/ext/cargo-vendor/wiggle-generate-21.0.1/.cargo-checksum.json +0 -1
  1028. data/ext/cargo-vendor/wiggle-generate-21.0.1/Cargo.toml +0 -66
  1029. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/funcs.rs +0 -435
  1030. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/module_trait.rs +0 -102
  1031. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/names.rs +0 -303
  1032. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/flags.rs +0 -92
  1033. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/handle.rs +0 -84
  1034. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/mod.rs +0 -129
  1035. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/record.rs +0 -132
  1036. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/variant.rs +0 -191
  1037. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/wasmtime.rs +0 -170
  1038. data/ext/cargo-vendor/wiggle-macro-21.0.1/.cargo-checksum.json +0 -1
  1039. data/ext/cargo-vendor/wiggle-macro-21.0.1/Cargo.toml +0 -55
  1040. data/ext/cargo-vendor/wiggle-macro-21.0.1/LICENSE +0 -220
  1041. data/ext/cargo-vendor/wiggle-macro-21.0.1/src/lib.rs +0 -210
  1042. data/ext/cargo-vendor/winch-codegen-0.19.1/.cargo-checksum.json +0 -1
  1043. data/ext/cargo-vendor/winch-codegen-0.19.1/Cargo.toml +0 -76
  1044. data/ext/cargo-vendor/winch-codegen-0.19.1/src/abi/mod.rs +0 -671
  1045. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/context.rs +0 -534
  1046. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/control.rs +0 -972
  1047. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/env.rs +0 -440
  1048. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/mod.rs +0 -882
  1049. data/ext/cargo-vendor/winch-codegen-0.19.1/src/frame/mod.rs +0 -258
  1050. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/asm.rs +0 -380
  1051. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/masm.rs +0 -566
  1052. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/regs.rs +0 -161
  1053. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/asm.rs +0 -1423
  1054. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/masm.rs +0 -1120
  1055. data/ext/cargo-vendor/winch-codegen-0.19.1/src/masm.rs +0 -941
  1056. data/ext/cargo-vendor/winch-codegen-0.19.1/src/regalloc.rs +0 -65
  1057. data/ext/cargo-vendor/winch-codegen-0.19.1/src/stack.rs +0 -439
  1058. data/ext/cargo-vendor/winch-codegen-0.19.1/src/visitor.rs +0 -2144
  1059. data/ext/cargo-vendor/wit-parser-0.207.0/.cargo-checksum.json +0 -1
  1060. data/ext/cargo-vendor/wit-parser-0.207.0/Cargo.toml +0 -109
  1061. data/ext/cargo-vendor/wit-parser-0.207.0/src/ast/resolve.rs +0 -1442
  1062. data/ext/cargo-vendor/wit-parser-0.207.0/src/ast.rs +0 -1348
  1063. data/ext/cargo-vendor/wit-parser-0.207.0/src/decoding.rs +0 -1764
  1064. data/ext/cargo-vendor/wit-parser-0.207.0/src/docs.rs +0 -389
  1065. data/ext/cargo-vendor/wit-parser-0.207.0/src/lib.rs +0 -777
  1066. data/ext/cargo-vendor/wit-parser-0.207.0/src/live.rs +0 -126
  1067. data/ext/cargo-vendor/wit-parser-0.207.0/src/resolve.rs +0 -2337
  1068. data/ext/cargo-vendor/wit-parser-0.207.0/src/serde_.rs +0 -108
  1069. data/ext/cargo-vendor/wit-parser-0.207.0/tests/all.rs +0 -153
  1070. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/complex-include.wit.json +0 -168
  1071. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/diamond1.wit.json +0 -55
  1072. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/disambiguate-diamond.wit.json +0 -107
  1073. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps-union.wit.json +0 -380
  1074. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps.wit.json +0 -344
  1075. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/ignore-files-deps.wit.json +0 -39
  1076. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/import-export-overlap2.wit.json +0 -41
  1077. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/include-reps.wit.json +0 -60
  1078. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/kinds-of-deps.wit.json +0 -87
  1079. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/many-names.wit.json +0 -40
  1080. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/multi-file.wit.json +0 -298
  1081. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/conflicting-package.wit.result +0 -9
  1082. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -9
  1083. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -5
  1084. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -5
  1085. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit.result +0 -5
  1086. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit.result +0 -5
  1087. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit.result +0 -5
  1088. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit.result +0 -5
  1089. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8.wit.result +0 -8
  1090. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/shared-types.wit.json +0 -83
  1091. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/stress-export-elaborate.wit.json +0 -1136
  1092. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-diamond.wit.json +0 -118
  1093. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-iface-no-collide.wit.json +0 -66
  1094. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import1.wit.json +0 -75
  1095. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import2.wit.json +0 -70
  1096. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import3.wit.json +0 -71
  1097. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-same-fields4.wit.json +0 -76
  1098. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit.json +0 -231
  1099. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-union-dedup.wit.json +0 -100
  1100. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-with-types.wit.json +0 -202
  1101. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/LICENSE +0 -0
  1102. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/README.md +0 -0
  1103. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/lib.rs +0 -0
  1104. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/map.rs +0 -0
  1105. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/node.rs +0 -0
  1106. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/path.rs +0 -0
  1107. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/pool.rs +0 -0
  1108. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/set.rs +0 -0
  1109. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/LICENSE +0 -0
  1110. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/README.md +0 -0
  1111. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/benches/x64-evex-encoding.rs +0 -0
  1112. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/build.rs +0 -0
  1113. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/alias_analysis.rs +0 -0
  1114. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/mod.rs +0 -0
  1115. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/stack_map.rs +0 -0
  1116. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/bitset.rs +0 -0
  1117. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cfg_printer.rs +0 -0
  1118. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/constant_hash.rs +0 -0
  1119. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ctxhash.rs +0 -0
  1120. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cursor.rs +0 -0
  1121. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/data_value.rs +0 -0
  1122. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/dbg.rs +0 -0
  1123. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/cost.rs +0 -0
  1124. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/elaborate.rs +0 -0
  1125. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/flowgraph.rs +0 -0
  1126. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/incremental_cache.rs +0 -0
  1127. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/atomic_rmw_op.rs +0 -0
  1128. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/builder.rs +0 -0
  1129. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/condcodes.rs +0 -0
  1130. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/constant.rs +0 -0
  1131. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/dynamic_type.rs +0 -0
  1132. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/entities.rs +0 -0
  1133. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/extname.rs +0 -0
  1134. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/function.rs +0 -0
  1135. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/globalvalue.rs +0 -0
  1136. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/instructions.rs +0 -0
  1137. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/jumptable.rs +0 -0
  1138. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/known_symbol.rs +0 -0
  1139. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/layout.rs +0 -0
  1140. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/libcall.rs +0 -0
  1141. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memflags.rs +0 -0
  1142. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memtype.rs +0 -0
  1143. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/mod.rs +0 -0
  1144. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/pcc.rs +0 -0
  1145. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/progpoint.rs +0 -0
  1146. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/sourceloc.rs +0 -0
  1147. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/trapcode.rs +0 -0
  1148. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst/unwind.rs +0 -0
  1149. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst_neon.isle +0 -0
  1150. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1151. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle.rs +0 -0
  1152. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.isle +0 -0
  1153. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.rs +0 -0
  1154. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1155. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/mod.rs +0 -0
  1156. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/settings.rs +0 -0
  1157. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/call_conv.rs +0 -0
  1158. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/mod.rs +0 -0
  1159. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/regs.rs +0 -0
  1160. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/unwind.rs +0 -0
  1161. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1162. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower.rs +0 -0
  1163. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/settings.rs +0 -0
  1164. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/inst/unwind.rs +0 -0
  1165. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle.rs +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower.rs +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/mod.rs +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/settings.rs +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/systemv.rs +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/winx64.rs +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind.rs +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/evex.rs +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/mod.rs +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/rex.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/vex.rs +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind.rs +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle.rs +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/mod.rs +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/settings.rs +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/iterators.rs +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/globalvalue.rs +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/mod.rs +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/loop_analysis.rs +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/compile.rs +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/helpers.rs +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/inst_common.rs +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/pcc.rs +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/nan_canonicalization.rs +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/README.md +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/arithmetic.isle +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/bitops.isle +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/extends.isle +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/generated_code.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/icmp.isle +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/remat.isle +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/selects.isle +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spaceship.isle +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spectre.isle +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/vector.isle +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/prelude_opt.isle +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/print_errors.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ranges.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/remove_constant_phis.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/result.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/scoped_hash_map.rs +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/settings.rs +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/souper_harvest.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unionfind.rs +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unreachable_code.rs +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/value_label.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/LICENSE +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/README.md +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/formats.rs +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/instructions.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/isa.rs +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/mod.rs +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/operands.rs +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/settings.rs +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/typevar.rs +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/constant_hash.rs +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/error.rs +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_inst.rs +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_isle.rs +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_settings.rs +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_types.rs +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/arm64.rs +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/mod.rs +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/s390x.rs +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/x86.rs +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isle.rs +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/lib.rs +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/entities.rs +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/formats.rs +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/immediates.rs +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/instructions.rs +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/mod.rs +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/settings.rs +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/types.rs +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/srcgen.rs +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/unique_table.rs +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/LICENSE +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/README.md +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/constant_hash.rs +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/lib.rs +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/LICENSE +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/README.md +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/chaos.rs +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/lib.rs +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/zero_sized.rs +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/LICENSE +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/README.md +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/boxed_slice.rs +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/iter.rs +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/keys.rs +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/lib.rs +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/list.rs +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/map.rs +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/packed_option.rs +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/primary.rs +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/sparse.rs +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/unsigned.rs +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/LICENSE +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/README.md +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/switch.rs +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/variable.rs +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/README.md +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/build.rs +0 -0
  1273. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bad_converters.isle +0 -0
  1274. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1275. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1276. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/error1.isle +0 -0
  1277. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/extra_parens.isle +0 -0
  1278. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_expression.isle +0 -0
  1279. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_rhs.isle +0 -0
  1280. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1281. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_prio.isle +0 -0
  1282. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows.isle +0 -0
  1283. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows_main.rs +0 -0
  1284. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets.isle +0 -0
  1285. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets_main.rs +0 -0
  1286. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor.isle +0 -0
  1287. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor_main.rs +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor.isle +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor_main.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test.isle +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test_main.rs +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/bound_var.isle +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/construct_and_extract.isle +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions.isle +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions_extern.isle +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/let.isle +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/nodebug.isle +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test2.isle +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test3.isle +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test4.isle +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/tutorial.isle +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst.isle +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst_main.rs +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing.isle +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing_main.rs +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/ast.rs +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/codegen.rs +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/compile.rs +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/disjointsets.rs +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/error.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lexer.rs +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lib.rs +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/log.rs +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/overlap.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/parser.rs +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/serialize.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/stablemapset.rs +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/trie_again.rs +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/tests/run_tests.rs +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/LICENSE +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/README.md +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/LICENSE +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/README.md +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/code_translator/bounds_checks.rs +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/dummy.rs +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/mod.rs +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/spec.rs +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/heap.rs +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/lib.rs +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/table.rs +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/translation_utils.rs +0 -0
  1333. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-APACHE +0 -0
  1334. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-MIT +0 -0
  1335. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/archive.rs +0 -0
  1336. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/error.rs +0 -0
  1337. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/mod.rs +0 -0
  1338. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/table.rs +0 -0
  1339. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/lib.rs +0 -0
  1340. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/pe.rs +0 -0
  1341. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/import.rs +0 -0
  1342. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/mod.rs +0 -0
  1343. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/compression.rs +0 -0
  1344. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/dynamic.rs +0 -0
  1345. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/mod.rs +0 -0
  1346. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/fat.rs +0 -0
  1347. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/mod.rs +0 -0
  1348. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/relocation.rs +0 -0
  1349. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/data_directory.rs +0 -0
  1350. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/export.rs +0 -0
  1351. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/mod.rs +0 -0
  1352. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/resource.rs +0 -0
  1353. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/rich.rs +0 -0
  1354. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/read_ref.rs +0 -0
  1355. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/util.rs +0 -0
  1356. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/comdat.rs +0 -0
  1357. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/mod.rs +0 -0
  1358. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/segment.rs +0 -0
  1359. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/coff/mod.rs +0 -0
  1360. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/elf/mod.rs +0 -0
  1361. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/string.rs +0 -0
  1362. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/util.rs +0 -0
  1363. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/xcoff.rs +0 -0
  1364. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/parse_self.rs +0 -0
  1365. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/coff.rs +0 -0
  1366. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/elf.rs +0 -0
  1367. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/coff.rs +0 -0
  1368. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/macho.rs +0 -0
  1369. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/LICENSE +0 -0
  1370. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/README.md +0 -0
  1371. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/clocks.rs +0 -0
  1372. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/ctx.rs +0 -0
  1373. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/dir.rs +0 -0
  1374. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/error.rs +0 -0
  1375. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/file.rs +0 -0
  1376. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/lib.rs +0 -0
  1377. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/pipe.rs +0 -0
  1378. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/random.rs +0 -0
  1379. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched/subscription.rs +0 -0
  1380. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched.rs +0 -0
  1381. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/mod.rs +0 -0
  1382. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/preview_1/error.rs +0 -0
  1383. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/clocks.rs +0 -0
  1384. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/dir.rs +0 -0
  1385. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/file.rs +0 -0
  1386. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/mod.rs +0 -0
  1387. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/net.rs +0 -0
  1388. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched/unix.rs +0 -0
  1389. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched.rs +0 -0
  1390. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/stdio.rs +0 -0
  1391. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/table.rs +0 -0
  1392. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/dir.rs +0 -0
  1393. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/mod.rs +0 -0
  1394. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/net.rs +0 -0
  1395. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/unix.rs +0 -0
  1396. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/windows.rs +0 -0
  1397. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched.rs +0 -0
  1398. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/stdio.rs +0 -0
  1399. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/async_.rs +0 -0
  1400. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/main.rs +0 -0
  1401. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/sync.rs +0 -0
  1402. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/typenames.witx +0 -0
  1403. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1404. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/typenames.witx +0 -0
  1405. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1406. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/README.md +0 -0
  1407. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/benches/benchmark.rs +0 -0
  1408. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/examples/simple.rs +0 -0
  1409. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/aliases.rs +0 -0
  1410. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/canonicals.rs +0 -0
  1411. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/exports.rs +0 -0
  1412. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/start.rs +0 -0
  1413. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component.rs +0 -0
  1414. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/dylink0.rs +0 -0
  1415. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/exports.rs +0 -0
  1416. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/functions.rs +0 -0
  1417. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/imports.rs +0 -0
  1418. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/memories.rs +0 -0
  1419. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tables.rs +0 -0
  1420. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tags.rs +0 -0
  1421. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/types/matches.rs +0 -0
  1422. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core.rs +0 -0
  1423. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/resources.rs +0 -0
  1424. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/tests/big-module.rs +0 -0
  1425. /data/ext/cargo-vendor/{wasm-encoder-0.207.0 → wasmprinter-0.209.1}/LICENSE +0 -0
  1426. /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/README.md +0 -0
  1427. /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/tests/all.rs +0 -0
  1428. /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmtime-22.0.0}/LICENSE +0 -0
  1429. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/README.md +0 -0
  1430. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
  1431. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/compile/code_builder.rs +0 -0
  1432. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/engine.rs +0 -0
  1433. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent/vtune.rs +0 -0
  1434. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent.rs +0 -0
  1435. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/host.rs +0 -0
  1436. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/options.rs +0 -0
  1437. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/resources.rs +0 -0
  1438. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/storage.rs +0 -0
  1439. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/store.rs +0 -0
  1440. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/values.rs +0 -0
  1441. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/coredump.rs +0 -0
  1442. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/externals.rs +0 -0
  1443. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/anyref.rs +0 -0
  1444. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/externref.rs +0 -0
  1445. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/i31.rs +0 -0
  1446. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/rooting.rs +0 -0
  1447. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled.rs +0 -0
  1448. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled/rooting.rs +0 -0
  1449. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled.rs +0 -0
  1450. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/limits.rs +0 -0
  1451. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/memory.rs +0 -0
  1452. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/profiling.rs +0 -0
  1453. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/resources.rs +0 -0
  1454. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/signatures.rs +0 -0
  1455. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/stack.rs +0 -0
  1456. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/context.rs +0 -0
  1457. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/data.rs +0 -0
  1458. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/global.rs +0 -0
  1459. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/table.rs +0 -0
  1460. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline.rs +0 -0
  1461. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trap.rs +0 -0
  1462. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/types/matching.rs +0 -0
  1463. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/uninhabited.rs +0 -0
  1464. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/unix.rs +0 -0
  1465. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/aarch64.rs +0 -0
  1466. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/mod.rs +0 -0
  1467. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/riscv64.rs +0 -0
  1468. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.S +0 -0
  1469. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.rs +0 -0
  1470. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/x86_64.rs +0 -0
  1471. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/async_yield.rs +0 -0
  1472. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/component/libcalls.rs +0 -0
  1473. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/const_expr.rs +0 -0
  1474. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/debug_builtins.rs +0 -0
  1475. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/disabled.rs +0 -0
  1476. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/drc.rs +0 -0
  1477. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/externref.rs +0 -0
  1478. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/free_list.rs +0 -0
  1479. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled.rs +0 -0
  1480. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/gc_runtime.rs +0 -0
  1481. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/host_data.rs +0 -0
  1482. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/i31.rs +0 -0
  1483. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc.rs +0 -0
  1484. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/helpers.c +0 -0
  1485. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/imports.rs +0 -0
  1486. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/libcalls.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap.rs +0 -0
  1488. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap_vec.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/module_id.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/disabled.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/enabled.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/mod.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/pkru.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/sys.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/send_sync_ptr.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/store_box.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mmap.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mod.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/traphandlers.rs +0 -0
  1500. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/unwind.rs +0 -0
  1501. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mmap.rs +0 -0
  1502. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mod.rs +0 -0
  1503. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/unwind.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/machports.rs +0 -0
  1506. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
  1507. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mmap.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mod.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/unwind.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mmap.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mod.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/traphandlers.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/unwind.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/mod.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/parking_spot.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory_disabled.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
  1520. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
  1521. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/windows.rs +0 -0
  1522. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_nostd.rs +0 -0
  1523. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_std.rs +0 -0
  1524. /data/ext/cargo-vendor/{wasmtime-asm-macros-21.0.1 → wasmtime-asm-macros-22.0.0}/src/lib.rs +0 -0
  1525. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-cache-22.0.0}/LICENSE +0 -0
  1526. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/build.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/config/tests.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/worker/tests/system_time_stub.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/tests/cache_write_default_config.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/build.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/src/lib.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/char.wit +0 -0
  1533. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/conventions.wit +0 -0
  1534. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/dead-code.wit +0 -0
  1535. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/direct-import.wit +0 -0
  1536. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/empty.wit +0 -0
  1537. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/flags.wit +0 -0
  1538. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/floats.wit +0 -0
  1539. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/function-new.wit +0 -0
  1540. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/integers.wit +0 -0
  1541. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/lists.wit +0 -0
  1542. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/many-arguments.wit +0 -0
  1543. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multi-return.wit +0 -0
  1544. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1545. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1546. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/root.wit +0 -0
  1547. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/records.wit +0 -0
  1548. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/rename.wit +0 -0
  1549. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-export.wit +0 -0
  1550. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-import.wit +0 -0
  1551. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/share-types.wit +0 -0
  1552. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-functions.wit +0 -0
  1553. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-lists.wit +0 -0
  1554. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-wasi.wit +0 -0
  1555. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/small-anonymous.wit +0 -0
  1556. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-default.wit +0 -0
  1557. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-export.wit +0 -0
  1558. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke.wit +0 -0
  1559. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/strings.wit +0 -0
  1560. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/unversioned-foo.wit +0 -0
  1561. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/use-paths.wit +0 -0
  1562. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/variants.wit +0 -0
  1563. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/wat.wit +0 -0
  1564. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/worlds-with-types.wit +0 -0
  1565. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen_no_std.rs +0 -0
  1566. /data/ext/cargo-vendor/{wasmtime-component-util-21.0.1 → wasmtime-component-util-22.0.0}/src/lib.rs +0 -0
  1567. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cranelift-22.0.0}/LICENSE +0 -0
  1568. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/SECURITY.md +0 -0
  1569. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/builder.rs +0 -0
  1570. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/compiled_function.rs +0 -0
  1571. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/gc.rs +0 -0
  1572. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/attr.rs +0 -0
  1573. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/expression.rs +0 -0
  1574. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/line_program.rs +0 -0
  1575. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/range_info_builder.rs +0 -0
  1576. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/refs.rs +0 -0
  1577. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug.rs +0 -0
  1578. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc/disabled.rs +0 -0
  1579. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc.rs +0 -0
  1580. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/isa_builder.rs +0 -0
  1581. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-environ-22.0.0}/LICENSE +0 -0
  1582. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/examples/factc.rs +0 -0
  1583. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/address_map.rs +0 -0
  1584. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/builtin.rs +0 -0
  1585. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/compile/trap_encoding.rs +0 -0
  1586. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/compiler.rs +0 -0
  1587. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/dfg.rs +0 -0
  1588. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/translate/inline.rs +0 -0
  1589. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/vmcomponent_offsets.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/demangling.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/core_types.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/signature.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/traps.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/gc.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/obj.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/scopevec.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/stack_map.rs +0 -0
  1599. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/trap_encoding.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-fiber-22.0.0}/LICENSE +0 -0
  1601. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/aarch64.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/arm.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/riscv64.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/s390x.S +0 -0
  1605. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86_64.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/windows.c +0 -0
  1608. /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/README.md +0 -0
  1609. /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/src/lib.rs +0 -0
  1610. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/lib.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/miri.rs +0 -0
  1612. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/win.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-types-22.0.0}/LICENSE +0 -0
  1614. /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-types-22.0.0}/src/error.rs +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-21.0.1 → wasmtime-versioned-export-macros-22.0.0}/src/lib.rs +0 -0
  1616. /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-wasi-22.0.0}/LICENSE +0 -0
  1617. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/README.md +0 -0
  1618. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks/host.rs +0 -0
  1619. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks.rs +0 -0
  1620. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/error.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/host/mod.rs +0 -0
  1622. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/random.rs +0 -0
  1623. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/runtime.rs +0 -0
  1624. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stdio/worker_thread_stdin.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stream.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/tcp.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/udp.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/write_stream.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/api.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/async_.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/main.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/preview1.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/sync.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/process_stdin.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/command-extended.wit +0 -0
  1636. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/command.wit +0 -0
  1637. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/environment.wit +0 -0
  1638. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/exit.wit +0 -0
  1639. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/imports.wit +0 -0
  1640. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/run.wit +0 -0
  1641. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/stdio.wit +0 -0
  1642. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/terminal.wit +0 -0
  1643. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1644. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
  1645. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/world.wit +0 -0
  1646. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/preopens.wit +0 -0
  1647. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/types.wit +0 -0
  1648. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/world.wit +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/handler.wit +0 -0
  1650. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/proxy.wit +0 -0
  1651. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/types.wit +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/error.wit +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/poll.wit +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/streams.wit +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/world.wit +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure-seed.wit +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure.wit +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/random.wit +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/world.wit +0 -0
  1660. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/instance-network.wit +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/network.wit +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp.wit +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp.wit +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/world.wit +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/test.wit +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/typenames.witx +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/typenames.witx +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/LICENSE +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/builder.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/lib.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-21.0.1 → wasmtime-wit-bindgen-22.0.0}/src/source.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wiggle-22.0.0}/LICENSE +0 -0
  1678. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/README.md +0 -0
  1679. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/error.rs +0 -0
  1680. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/region.rs +0 -0
  1681. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-generate-22.0.0}/LICENSE +0 -0
  1682. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/README.md +0 -0
  1683. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/codegen_settings.rs +0 -0
  1684. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/config.rs +0 -0
  1685. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lib.rs +0 -0
  1686. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lifetimes.rs +0 -0
  1687. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/types/error.rs +0 -0
  1688. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-macro-22.0.0}/LICENSE +0 -0
  1689. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/LICENSE +0 -0
  1690. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/build.rs +0 -0
  1691. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/abi/local.rs +0 -0
  1692. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/bounds.rs +0 -0
  1693. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/builtin.rs +0 -0
  1694. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/call.rs +0 -0
  1695. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/abi.rs +0 -0
  1696. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/address.rs +0 -0
  1697. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/mod.rs +0 -0
  1698. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/mod.rs +0 -0
  1699. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/reg.rs +0 -0
  1700. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/abi.rs +0 -0
  1701. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/address.rs +0 -0
  1702. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/mod.rs +0 -0
  1703. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/regs.rs +0 -0
  1704. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/lib.rs +0 -0
  1705. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/regset.rs +0 -0
  1706. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/README.md +0 -0
  1707. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/abi.rs +0 -0
  1708. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/lex.rs +0 -0
  1709. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/toposort.rs +0 -0
  1710. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/sizealign.rs +0 -0
  1711. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit +0 -0
  1712. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit.json +0 -0
  1713. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  1714. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  1715. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/root.wit +0 -0
  1716. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  1717. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/foo.wit +0 -0
  1718. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource.wit.json +0 -0
  1719. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  1720. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  1721. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/join.wit +0 -0
  1722. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  1723. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  1724. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/world.wit +0 -0
  1725. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit +0 -0
  1726. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit.json +0 -0
  1727. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  1728. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  1729. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  1730. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  1731. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  1732. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  1733. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  1734. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/root.wit +0 -0
  1735. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  1736. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  1737. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  1738. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  1739. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  1740. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  1741. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  1742. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  1743. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/root.wit +0 -0
  1744. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit +0 -0
  1745. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit.json +0 -0
  1746. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  1747. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  1748. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/world.wit +0 -0
  1749. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit +0 -0
  1750. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit.json +0 -0
  1751. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap2.wit +0 -0
  1752. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/include-reps.wit +0 -0
  1753. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit +0 -0
  1754. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit.json +0 -0
  1755. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/a.wit +0 -0
  1756. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  1757. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  1758. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  1759. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  1760. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/a.wit +0 -0
  1761. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/b.wit +0 -0
  1762. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/bar.wit +0 -0
  1763. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-a.wit +0 -0
  1764. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-b.wit +0 -0
  1765. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/foo.wit +0 -0
  1766. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  1767. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  1768. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  1769. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit +0 -0
  1770. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit.json +0 -0
  1771. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit +0 -0
  1772. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit.json +0 -0
  1773. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit +0 -0
  1774. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit.json +0 -0
  1775. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1776. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  1777. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async.wit.result +0 -0
  1778. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async1.wit.result +0 -0
  1779. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit +0 -0
  1780. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  1781. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit +0 -0
  1782. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  1783. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit +0 -0
  1784. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  1785. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit +0 -0
  1786. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  1787. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit +0 -0
  1788. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  1789. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit +0 -0
  1790. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1791. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  1792. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  1793. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  1794. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  1795. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  1796. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1797. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  1798. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  1799. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  1800. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  1801. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  1802. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  1803. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  1804. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  1805. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1806. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  1807. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  1808. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  1809. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  1810. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  1811. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  1812. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  1813. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  1814. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  1815. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  1816. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  1817. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  1818. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  1819. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  1820. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  1821. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  1822. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  1823. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  1824. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  1825. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  1826. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  1827. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  1828. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  1829. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  1830. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  1831. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  1832. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  1833. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  1834. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  1835. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  1836. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  1837. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  1838. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  1839. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  1840. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  1841. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  1842. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  1843. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit +0 -0
  1844. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit.result +0 -0
  1845. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit +0 -0
  1846. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  1847. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit +0 -0
  1848. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  1849. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit +0 -0
  1850. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  1851. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit +0 -0
  1852. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  1853. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit +0 -0
  1854. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  1855. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  1856. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  1857. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  1858. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  1859. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  1860. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  1861. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  1862. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  1863. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  1864. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  1865. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  1866. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit +0 -0
  1867. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  1868. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  1869. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  1870. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit +0 -0
  1871. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  1872. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  1873. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  1874. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  1875. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  1876. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  1877. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  1878. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  1879. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  1880. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  1881. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  1882. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit +0 -0
  1883. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  1884. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit +0 -0
  1885. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  1886. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  1887. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  1888. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  1889. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit +0 -0
  1890. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  1891. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  1892. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  1893. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  1894. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  1895. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  1896. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  1897. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  1898. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  1899. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  1900. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  1901. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  1902. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  1903. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit +0 -0
  1904. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit.result +0 -0
  1905. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit +0 -0
  1906. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  1907. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  1908. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  1909. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  1910. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  1911. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  1912. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  1913. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  1914. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow1.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow2.wit +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow6.wit +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow7.wit +0 -0
  1934. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
  1935. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
  1936. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  1937. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  1938. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  1939. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  1940. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  1941. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  1942. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  1943. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  1944. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  1945. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  1946. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  1947. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  1948. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  1949. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  1950. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  1951. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  1952. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  1953. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  1954. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  1955. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  1956. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  1957. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  1958. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  1959. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  1960. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  1961. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  1962. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  1963. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  1964. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  1965. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  1966. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  1967. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  1968. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  1969. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  1970. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit +0 -0
  1971. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  1972. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  1973. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  1974. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  1975. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  1976. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  1977. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  1978. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  1979. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  1980. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  1981. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  1982. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  1983. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/root.wit +0 -0
  1984. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world.wit.result +0 -0
  1985. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  1986. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  1987. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  1988. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  1989. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  1990. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  1991. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  1992. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  1993. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  1994. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  1995. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit +0 -0
  1996. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit.json +0 -0
  1997. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit +0 -0
  1998. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit.json +0 -0
  1999. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2000. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2001. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit +0 -0
  2002. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit.json +0 -0
  2003. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit +0 -0
  2004. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit.json +0 -0
  2005. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit +0 -0
  2006. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit.json +0 -0
  2007. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit +0 -0
  2008. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit.json +0 -0
  2009. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit +0 -0
  2010. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit.json +0 -0
  2011. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/shared-types.wit +0 -0
  2012. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wat +0 -0
  2013. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wit.json +0 -0
  2014. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/stress-export-elaborate.wit +0 -0
  2015. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit +0 -0
  2016. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit.json +0 -0
  2017. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit +0 -0
  2018. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit.json +0 -0
  2019. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit +0 -0
  2020. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit.json +0 -0
  2021. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit +0 -0
  2022. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit.json +0 -0
  2023. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit +0 -0
  2024. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit.json +0 -0
  2025. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit +0 -0
  2026. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit.json +0 -0
  2027. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2028. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2029. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/foo.wit +0 -0
  2030. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions.wit.json +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit.json +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-diamond.wit +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-iface-no-collide.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import1.wit +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import2.wit +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import3.wit +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-same-fields4.wit +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-resources.wit +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-union-dedup.wit +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-with-types.wit +0 -0
@@ -0,0 +1,4231 @@
1
+ /* Copyright 2019 Mozilla Foundation
2
+ *
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+
16
+ // The basic validation algorithm here is copied from the "Validation
17
+ // Algorithm" section of the WebAssembly specification -
18
+ // https://webassembly.github.io/spec/core/appendix/algorithm.html.
19
+ //
20
+ // That algorithm is followed pretty closely here, namely `push_operand`,
21
+ // `pop_operand`, `push_ctrl`, and `pop_ctrl`. If anything here is a bit
22
+ // confusing it's recommended to read over that section to see how it maps to
23
+ // the various methods here.
24
+
25
+ use crate::{
26
+ limits::MAX_WASM_FUNCTION_LOCALS, ArrayType, BinaryReaderError, BlockType, BrTable, Catch,
27
+ CompositeType, FieldType, FuncType, HeapType, Ieee32, Ieee64, MemArg, RefType, Result,
28
+ StorageType, StructType, SubType, TableType, TryTable, UnpackedIndex, ValType, VisitOperator,
29
+ WasmFeatures, WasmModuleResources, V128,
30
+ };
31
+ use crate::{prelude::*, GlobalType};
32
+ use core::ops::{Deref, DerefMut};
33
+
34
+ pub(crate) struct OperatorValidator {
35
+ pub(super) locals: Locals,
36
+ pub(super) local_inits: Vec<bool>,
37
+
38
+ // This is a list of flags for wasm features which are used to gate various
39
+ // instructions.
40
+ pub(crate) features: WasmFeatures,
41
+
42
+ // Temporary storage used during `pop_push_label_types` and various
43
+ // branching instructions.
44
+ popped_types_tmp: Vec<MaybeType>,
45
+
46
+ /// The `control` list is the list of blocks that we're currently in.
47
+ control: Vec<Frame>,
48
+ /// The `operands` is the current type stack.
49
+ operands: Vec<MaybeType>,
50
+ /// When local_inits is modified, the relevant index is recorded here to be
51
+ /// undone when control pops
52
+ inits: Vec<u32>,
53
+
54
+ /// Offset of the `end` instruction which emptied the `control` stack, which
55
+ /// must be the end of the function.
56
+ end_which_emptied_control: Option<usize>,
57
+ }
58
+
59
+ // No science was performed in the creation of this number, feel free to change
60
+ // it if you so like.
61
+ const MAX_LOCALS_TO_TRACK: usize = 50;
62
+
63
+ pub(super) struct Locals {
64
+ // Total number of locals in the function.
65
+ num_locals: u32,
66
+
67
+ // The first MAX_LOCALS_TO_TRACK locals in a function. This is used to
68
+ // optimize the theoretically common case where most functions don't have
69
+ // many locals and don't need a full binary search in the entire local space
70
+ // below.
71
+ first: Vec<ValType>,
72
+
73
+ // This is a "compressed" list of locals for this function. The list of
74
+ // locals are represented as a list of tuples. The second element is the
75
+ // type of the local, and the first element is monotonically increasing as
76
+ // you visit elements of this list. The first element is the maximum index
77
+ // of the local, after the previous index, of the type specified.
78
+ //
79
+ // This allows us to do a binary search on the list for a local's index for
80
+ // `local.{get,set,tee}`. We do a binary search for the index desired, and
81
+ // it either lies in a "hole" where the maximum index is specified later,
82
+ // or it's at the end of the list meaning it's out of bounds.
83
+ all: Vec<(u32, ValType)>,
84
+ }
85
+
86
+ /// A Wasm control flow block on the control flow stack during Wasm validation.
87
+ //
88
+ // # Dev. Note
89
+ //
90
+ // This structure corresponds to `ctrl_frame` as specified at in the validation
91
+ // appendix of the wasm spec
92
+ #[derive(Debug, Copy, Clone)]
93
+ pub struct Frame {
94
+ /// Indicator for what kind of instruction pushed this frame.
95
+ pub kind: FrameKind,
96
+ /// The type signature of this frame, represented as a singular return type
97
+ /// or a type index pointing into the module's types.
98
+ pub block_type: BlockType,
99
+ /// The index, below which, this frame cannot modify the operand stack.
100
+ pub height: usize,
101
+ /// Whether this frame is unreachable so far.
102
+ pub unreachable: bool,
103
+ /// The number of initializations in the stack at the time of its creation
104
+ pub init_height: usize,
105
+ }
106
+
107
+ /// The kind of a control flow [`Frame`].
108
+ #[derive(Copy, Clone, Debug, PartialEq, Eq)]
109
+ pub enum FrameKind {
110
+ /// A Wasm `block` control block.
111
+ Block,
112
+ /// A Wasm `if` control block.
113
+ If,
114
+ /// A Wasm `else` control block.
115
+ Else,
116
+ /// A Wasm `loop` control block.
117
+ Loop,
118
+ /// A Wasm `try` control block.
119
+ ///
120
+ /// # Note
121
+ ///
122
+ /// This belongs to the Wasm exception handling proposal.
123
+ TryTable,
124
+ }
125
+
126
+ struct OperatorValidatorTemp<'validator, 'resources, T> {
127
+ offset: usize,
128
+ inner: &'validator mut OperatorValidator,
129
+ resources: &'resources T,
130
+ }
131
+
132
+ #[derive(Default)]
133
+ pub struct OperatorValidatorAllocations {
134
+ popped_types_tmp: Vec<MaybeType>,
135
+ control: Vec<Frame>,
136
+ operands: Vec<MaybeType>,
137
+ local_inits: Vec<bool>,
138
+ inits: Vec<u32>,
139
+ locals_first: Vec<ValType>,
140
+ locals_all: Vec<(u32, ValType)>,
141
+ }
142
+
143
+ /// Type storage within the validator.
144
+ ///
145
+ /// This is used to manage the operand stack and notably isn't just `ValType` to
146
+ /// handle unreachable code and the "bottom" type.
147
+ #[derive(Debug, Copy, Clone)]
148
+ enum MaybeType {
149
+ Bot,
150
+ HeapBot,
151
+ Type(ValType),
152
+ }
153
+
154
+ // The validator is pretty performance-sensitive and `MaybeType` is the main
155
+ // unit of storage, so assert that it doesn't exceed 4 bytes which is the
156
+ // current expected size.
157
+ const _: () = {
158
+ assert!(core::mem::size_of::<MaybeType>() == 4);
159
+ };
160
+
161
+ impl core::fmt::Display for MaybeType {
162
+ fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
163
+ match self {
164
+ MaybeType::Bot => write!(f, "bot"),
165
+ MaybeType::HeapBot => write!(f, "heap-bot"),
166
+ MaybeType::Type(ty) => core::fmt::Display::fmt(ty, f),
167
+ }
168
+ }
169
+ }
170
+
171
+ impl From<ValType> for MaybeType {
172
+ fn from(ty: ValType) -> MaybeType {
173
+ MaybeType::Type(ty)
174
+ }
175
+ }
176
+
177
+ impl From<RefType> for MaybeType {
178
+ fn from(ty: RefType) -> MaybeType {
179
+ let ty: ValType = ty.into();
180
+ ty.into()
181
+ }
182
+ }
183
+
184
+ impl MaybeType {
185
+ fn as_type(&self) -> Option<ValType> {
186
+ match *self {
187
+ Self::Type(ty) => Some(ty),
188
+ Self::Bot | Self::HeapBot => None,
189
+ }
190
+ }
191
+ }
192
+
193
+ impl OperatorValidator {
194
+ fn new(features: &WasmFeatures, allocs: OperatorValidatorAllocations) -> Self {
195
+ let OperatorValidatorAllocations {
196
+ popped_types_tmp,
197
+ control,
198
+ operands,
199
+ local_inits,
200
+ inits,
201
+ locals_first,
202
+ locals_all,
203
+ } = allocs;
204
+ debug_assert!(popped_types_tmp.is_empty());
205
+ debug_assert!(control.is_empty());
206
+ debug_assert!(operands.is_empty());
207
+ debug_assert!(local_inits.is_empty());
208
+ debug_assert!(inits.is_empty());
209
+ debug_assert!(locals_first.is_empty());
210
+ debug_assert!(locals_all.is_empty());
211
+ OperatorValidator {
212
+ locals: Locals {
213
+ num_locals: 0,
214
+ first: locals_first,
215
+ all: locals_all,
216
+ },
217
+ local_inits,
218
+ inits,
219
+ features: *features,
220
+ popped_types_tmp,
221
+ operands,
222
+ control,
223
+ end_which_emptied_control: None,
224
+ }
225
+ }
226
+
227
+ /// Creates a new operator validator which will be used to validate a
228
+ /// function whose type is the `ty` index specified.
229
+ ///
230
+ /// The `resources` are used to learn about the function type underlying
231
+ /// `ty`.
232
+ pub fn new_func<T>(
233
+ ty: u32,
234
+ offset: usize,
235
+ features: &WasmFeatures,
236
+ resources: &T,
237
+ allocs: OperatorValidatorAllocations,
238
+ ) -> Result<Self>
239
+ where
240
+ T: WasmModuleResources,
241
+ {
242
+ let mut ret = OperatorValidator::new(features, allocs);
243
+ ret.control.push(Frame {
244
+ kind: FrameKind::Block,
245
+ block_type: BlockType::FuncType(ty),
246
+ height: 0,
247
+ unreachable: false,
248
+ init_height: 0,
249
+ });
250
+ let params = OperatorValidatorTemp {
251
+ // This offset is used by the `func_type_at` and `inputs`.
252
+ offset,
253
+ inner: &mut ret,
254
+ resources,
255
+ }
256
+ .func_type_at(ty)?
257
+ .params();
258
+ for ty in params {
259
+ ret.locals.define(1, *ty);
260
+ ret.local_inits.push(true);
261
+ }
262
+ Ok(ret)
263
+ }
264
+
265
+ /// Creates a new operator validator which will be used to validate an
266
+ /// `init_expr` constant expression which should result in the `ty`
267
+ /// specified.
268
+ pub fn new_const_expr(
269
+ features: &WasmFeatures,
270
+ ty: ValType,
271
+ allocs: OperatorValidatorAllocations,
272
+ ) -> Self {
273
+ let mut ret = OperatorValidator::new(features, allocs);
274
+ ret.control.push(Frame {
275
+ kind: FrameKind::Block,
276
+ block_type: BlockType::Type(ty),
277
+ height: 0,
278
+ unreachable: false,
279
+ init_height: 0,
280
+ });
281
+ ret
282
+ }
283
+
284
+ pub fn define_locals(
285
+ &mut self,
286
+ offset: usize,
287
+ count: u32,
288
+ mut ty: ValType,
289
+ resources: &impl WasmModuleResources,
290
+ ) -> Result<()> {
291
+ resources.check_value_type(&mut ty, &self.features, offset)?;
292
+ if count == 0 {
293
+ return Ok(());
294
+ }
295
+ if !self.locals.define(count, ty) {
296
+ return Err(BinaryReaderError::new(
297
+ "too many locals: locals exceed maximum",
298
+ offset,
299
+ ));
300
+ }
301
+ self.local_inits
302
+ .resize(self.local_inits.len() + count as usize, ty.is_defaultable());
303
+ Ok(())
304
+ }
305
+
306
+ /// Returns the current operands stack height.
307
+ pub fn operand_stack_height(&self) -> usize {
308
+ self.operands.len()
309
+ }
310
+
311
+ /// Returns the optional value type of the value operand at the given
312
+ /// `depth` from the top of the operand stack.
313
+ ///
314
+ /// - Returns `None` if the `depth` is out of bounds.
315
+ /// - Returns `Some(None)` if there is a value with unknown type
316
+ /// at the given `depth`.
317
+ ///
318
+ /// # Note
319
+ ///
320
+ /// A `depth` of 0 will refer to the last operand on the stack.
321
+ pub fn peek_operand_at(&self, depth: usize) -> Option<Option<ValType>> {
322
+ Some(match self.operands.iter().rev().nth(depth)? {
323
+ MaybeType::Type(t) => Some(*t),
324
+ MaybeType::Bot | MaybeType::HeapBot => None,
325
+ })
326
+ }
327
+
328
+ /// Returns the number of frames on the control flow stack.
329
+ pub fn control_stack_height(&self) -> usize {
330
+ self.control.len()
331
+ }
332
+
333
+ pub fn get_frame(&self, depth: usize) -> Option<&Frame> {
334
+ self.control.iter().rev().nth(depth)
335
+ }
336
+
337
+ /// Create a temporary [`OperatorValidatorTemp`] for validation.
338
+ pub fn with_resources<'a, 'validator, 'resources, T>(
339
+ &'validator mut self,
340
+ resources: &'resources T,
341
+ offset: usize,
342
+ ) -> impl VisitOperator<'a, Output = Result<()>> + 'validator
343
+ where
344
+ T: WasmModuleResources,
345
+ 'resources: 'validator,
346
+ {
347
+ WasmProposalValidator(OperatorValidatorTemp {
348
+ offset,
349
+ inner: self,
350
+ resources,
351
+ })
352
+ }
353
+
354
+ pub fn finish(&mut self, offset: usize) -> Result<()> {
355
+ if self.control.last().is_some() {
356
+ bail!(
357
+ offset,
358
+ "control frames remain at end of function: END opcode expected"
359
+ );
360
+ }
361
+
362
+ // The `end` opcode is one byte which means that the `offset` here
363
+ // should point just beyond the `end` opcode which emptied the control
364
+ // stack. If not that means more instructions were present after the
365
+ // control stack was emptied.
366
+ if offset != self.end_which_emptied_control.unwrap() + 1 {
367
+ return Err(self.err_beyond_end(offset));
368
+ }
369
+ Ok(())
370
+ }
371
+
372
+ fn err_beyond_end(&self, offset: usize) -> BinaryReaderError {
373
+ format_err!(offset, "operators remaining after end of function")
374
+ }
375
+
376
+ pub fn into_allocations(self) -> OperatorValidatorAllocations {
377
+ fn clear<T>(mut tmp: Vec<T>) -> Vec<T> {
378
+ tmp.clear();
379
+ tmp
380
+ }
381
+ OperatorValidatorAllocations {
382
+ popped_types_tmp: clear(self.popped_types_tmp),
383
+ control: clear(self.control),
384
+ operands: clear(self.operands),
385
+ local_inits: clear(self.local_inits),
386
+ inits: clear(self.inits),
387
+ locals_first: clear(self.locals.first),
388
+ locals_all: clear(self.locals.all),
389
+ }
390
+ }
391
+ }
392
+
393
+ impl<R> Deref for OperatorValidatorTemp<'_, '_, R> {
394
+ type Target = OperatorValidator;
395
+ fn deref(&self) -> &OperatorValidator {
396
+ self.inner
397
+ }
398
+ }
399
+
400
+ impl<R> DerefMut for OperatorValidatorTemp<'_, '_, R> {
401
+ fn deref_mut(&mut self) -> &mut OperatorValidator {
402
+ self.inner
403
+ }
404
+ }
405
+
406
+ impl<'resources, R> OperatorValidatorTemp<'_, 'resources, R>
407
+ where
408
+ R: WasmModuleResources,
409
+ {
410
+ /// Pushes a type onto the operand stack.
411
+ ///
412
+ /// This is used by instructions to represent a value that is pushed to the
413
+ /// operand stack. This can fail, but only if `Type` is feature gated.
414
+ /// Otherwise the push operation always succeeds.
415
+ fn push_operand<T>(&mut self, ty: T) -> Result<()>
416
+ where
417
+ T: Into<MaybeType>,
418
+ {
419
+ let maybe_ty = ty.into();
420
+
421
+ if cfg!(debug_assertions) {
422
+ match maybe_ty {
423
+ MaybeType::Type(ValType::Ref(r)) => match r.heap_type() {
424
+ HeapType::Concrete(index) => {
425
+ debug_assert!(
426
+ matches!(index, UnpackedIndex::Id(_)),
427
+ "only ref types referencing `CoreTypeId`s can \
428
+ be pushed to the operand stack"
429
+ );
430
+ }
431
+ _ => {}
432
+ },
433
+ _ => {}
434
+ }
435
+ }
436
+
437
+ self.operands.push(maybe_ty);
438
+ Ok(())
439
+ }
440
+
441
+ fn push_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<()> {
442
+ let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
443
+
444
+ // Canonicalize the module index into an id.
445
+ self.resources.check_heap_type(&mut heap_ty, self.offset)?;
446
+ debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
447
+
448
+ let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
449
+ format_err!(self.offset, "implementation limit: type index too large")
450
+ })?;
451
+
452
+ self.push_operand(ref_ty)
453
+ }
454
+
455
+ fn pop_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<MaybeType> {
456
+ let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
457
+
458
+ // Canonicalize the module index into an id.
459
+ self.resources.check_heap_type(&mut heap_ty, self.offset)?;
460
+ debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
461
+
462
+ let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
463
+ format_err!(self.offset, "implementation limit: type index too large")
464
+ })?;
465
+
466
+ self.pop_operand(Some(ref_ty.into()))
467
+ }
468
+
469
+ /// Pop the given label types, checking that they are indeed present on the
470
+ /// stack, and then push them back on again.
471
+ fn pop_push_label_types(
472
+ &mut self,
473
+ label_types: impl PreciseIterator<Item = ValType>,
474
+ ) -> Result<()> {
475
+ for ty in label_types.clone().rev() {
476
+ self.pop_operand(Some(ty))?;
477
+ }
478
+ for ty in label_types {
479
+ self.push_operand(ty)?;
480
+ }
481
+ Ok(())
482
+ }
483
+
484
+ /// Attempts to pop a type from the operand stack.
485
+ ///
486
+ /// This function is used to remove types from the operand stack. The
487
+ /// `expected` argument can be used to indicate that a type is required, or
488
+ /// simply that something is needed to be popped.
489
+ ///
490
+ /// If `expected` is `Some(T)` then this will be guaranteed to return
491
+ /// `T`, and it will only return success if the current block is
492
+ /// unreachable or if `T` was found at the top of the operand stack.
493
+ ///
494
+ /// If `expected` is `None` then it indicates that something must be on the
495
+ /// operand stack, but it doesn't matter what's on the operand stack. This
496
+ /// is useful for polymorphic instructions like `select`.
497
+ ///
498
+ /// If `Some(T)` is returned then `T` was popped from the operand stack and
499
+ /// matches `expected`. If `None` is returned then it means that `None` was
500
+ /// expected and a type was successfully popped, but its exact type is
501
+ /// indeterminate because the current block is unreachable.
502
+ fn pop_operand(&mut self, expected: Option<ValType>) -> Result<MaybeType> {
503
+ // This method is one of the hottest methods in the validator so to
504
+ // improve codegen this method contains a fast-path success case where
505
+ // if the top operand on the stack is as expected it's returned
506
+ // immediately. This is the most common case where the stack will indeed
507
+ // have the expected type and all we need to do is pop it off.
508
+ //
509
+ // Note that this still has to be careful to be correct, though. For
510
+ // efficiency an operand is unconditionally popped and on success it is
511
+ // matched against the state of the world to see if we could actually
512
+ // pop it. If we shouldn't have popped it then it's passed to the slow
513
+ // path to get pushed back onto the stack.
514
+ let popped = match self.operands.pop() {
515
+ Some(MaybeType::Type(actual_ty)) => {
516
+ if Some(actual_ty) == expected {
517
+ if let Some(control) = self.control.last() {
518
+ if self.operands.len() >= control.height {
519
+ return Ok(MaybeType::Type(actual_ty));
520
+ }
521
+ }
522
+ }
523
+ Some(MaybeType::Type(actual_ty))
524
+ }
525
+ other => other,
526
+ };
527
+
528
+ self._pop_operand(expected, popped)
529
+ }
530
+
531
+ // This is the "real" implementation of `pop_operand` which is 100%
532
+ // spec-compliant with little attention paid to efficiency since this is the
533
+ // slow-path from the actual `pop_operand` function above.
534
+ #[cold]
535
+ fn _pop_operand(
536
+ &mut self,
537
+ expected: Option<ValType>,
538
+ popped: Option<MaybeType>,
539
+ ) -> Result<MaybeType> {
540
+ self.operands.extend(popped);
541
+ let control = match self.control.last() {
542
+ Some(c) => c,
543
+ None => return Err(self.err_beyond_end(self.offset)),
544
+ };
545
+ let actual = if self.operands.len() == control.height && control.unreachable {
546
+ MaybeType::Bot
547
+ } else {
548
+ if self.operands.len() == control.height {
549
+ let desc = match expected {
550
+ Some(ty) => ty_to_str(ty),
551
+ None => "a type".into(),
552
+ };
553
+ bail!(
554
+ self.offset,
555
+ "type mismatch: expected {desc} but nothing on stack"
556
+ )
557
+ } else {
558
+ self.operands.pop().unwrap()
559
+ }
560
+ };
561
+ if let Some(expected) = expected {
562
+ match (actual, expected) {
563
+ // The bottom type matches all expectations
564
+ (MaybeType::Bot, _)
565
+ // The "heap bottom" type only matches other references types,
566
+ // but not any integer types.
567
+ | (MaybeType::HeapBot, ValType::Ref(_)) => {}
568
+
569
+ // Use the `is_subtype` predicate to test if a found type matches
570
+ // the expectation.
571
+ (MaybeType::Type(actual), expected) => {
572
+ if !self.resources.is_subtype(actual, expected) {
573
+ bail!(
574
+ self.offset,
575
+ "type mismatch: expected {}, found {}",
576
+ ty_to_str(expected),
577
+ ty_to_str(actual)
578
+ );
579
+ }
580
+ }
581
+
582
+ // A "heap bottom" type cannot match any numeric types.
583
+ (
584
+ MaybeType::HeapBot,
585
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128,
586
+ ) => {
587
+ bail!(
588
+ self.offset,
589
+ "type mismatch: expected {}, found heap type",
590
+ ty_to_str(expected)
591
+ )
592
+ }
593
+ }
594
+ }
595
+ Ok(actual)
596
+ }
597
+
598
+ fn pop_ref(&mut self) -> Result<Option<RefType>> {
599
+ match self.pop_operand(None)? {
600
+ MaybeType::Bot | MaybeType::HeapBot => Ok(None),
601
+ MaybeType::Type(ValType::Ref(rt)) => Ok(Some(rt)),
602
+ MaybeType::Type(ty) => bail!(
603
+ self.offset,
604
+ "type mismatch: expected ref but found {}",
605
+ ty_to_str(ty)
606
+ ),
607
+ }
608
+ }
609
+
610
+ /// Fetches the type for the local at `idx`, returning an error if it's out
611
+ /// of bounds.
612
+ fn local(&self, idx: u32) -> Result<ValType> {
613
+ match self.locals.get(idx) {
614
+ Some(ty) => Ok(ty),
615
+ None => bail!(
616
+ self.offset,
617
+ "unknown local {}: local index out of bounds",
618
+ idx
619
+ ),
620
+ }
621
+ }
622
+
623
+ /// Flags the current control frame as unreachable, additionally truncating
624
+ /// the currently active operand stack.
625
+ fn unreachable(&mut self) -> Result<()> {
626
+ let control = match self.control.last_mut() {
627
+ Some(frame) => frame,
628
+ None => return Err(self.err_beyond_end(self.offset)),
629
+ };
630
+ control.unreachable = true;
631
+ let new_height = control.height;
632
+ self.operands.truncate(new_height);
633
+ Ok(())
634
+ }
635
+
636
+ /// Pushes a new frame onto the control stack.
637
+ ///
638
+ /// This operation is used when entering a new block such as an if, loop,
639
+ /// or block itself. The `kind` of block is specified which indicates how
640
+ /// breaks interact with this block's type. Additionally the type signature
641
+ /// of the block is specified by `ty`.
642
+ fn push_ctrl(&mut self, kind: FrameKind, ty: BlockType) -> Result<()> {
643
+ // Push a new frame which has a snapshot of the height of the current
644
+ // operand stack.
645
+ let height = self.operands.len();
646
+ let init_height = self.inits.len();
647
+ self.control.push(Frame {
648
+ kind,
649
+ block_type: ty,
650
+ height,
651
+ unreachable: false,
652
+ init_height,
653
+ });
654
+ // All of the parameters are now also available in this control frame,
655
+ // so we push them here in order.
656
+ for ty in self.params(ty)? {
657
+ self.push_operand(ty)?;
658
+ }
659
+ Ok(())
660
+ }
661
+
662
+ /// Pops a frame from the control stack.
663
+ ///
664
+ /// This function is used when exiting a block and leaves a block scope.
665
+ /// Internally this will validate that blocks have the correct result type.
666
+ fn pop_ctrl(&mut self) -> Result<Frame> {
667
+ // Read the expected type and expected height of the operand stack the
668
+ // end of the frame.
669
+ let frame = match self.control.last() {
670
+ Some(f) => f,
671
+ None => return Err(self.err_beyond_end(self.offset)),
672
+ };
673
+ let ty = frame.block_type;
674
+ let height = frame.height;
675
+ let init_height = frame.init_height;
676
+
677
+ // reset_locals in the spec
678
+ for init in self.inits.split_off(init_height) {
679
+ self.local_inits[init as usize] = false;
680
+ }
681
+
682
+ // Pop all the result types, in reverse order, from the operand stack.
683
+ // These types will, possibly, be transferred to the next frame.
684
+ for ty in self.results(ty)?.rev() {
685
+ self.pop_operand(Some(ty))?;
686
+ }
687
+
688
+ // Make sure that the operand stack has returned to is original
689
+ // height...
690
+ if self.operands.len() != height {
691
+ bail!(
692
+ self.offset,
693
+ "type mismatch: values remaining on stack at end of block"
694
+ );
695
+ }
696
+
697
+ // And then we can remove it!
698
+ Ok(self.control.pop().unwrap())
699
+ }
700
+
701
+ /// Validates a relative jump to the `depth` specified.
702
+ ///
703
+ /// Returns the type signature of the block that we're jumping to as well
704
+ /// as the kind of block if the jump is valid. Otherwise returns an error.
705
+ fn jump(&self, depth: u32) -> Result<(BlockType, FrameKind)> {
706
+ if self.control.is_empty() {
707
+ return Err(self.err_beyond_end(self.offset));
708
+ }
709
+ match (self.control.len() - 1).checked_sub(depth as usize) {
710
+ Some(i) => {
711
+ let frame = &self.control[i];
712
+ Ok((frame.block_type, frame.kind))
713
+ }
714
+ None => bail!(self.offset, "unknown label: branch depth too large"),
715
+ }
716
+ }
717
+
718
+ /// Validates that `memory_index` is valid in this module, and returns the
719
+ /// type of address used to index the memory specified.
720
+ fn check_memory_index(&self, memory_index: u32) -> Result<ValType> {
721
+ match self.resources.memory_at(memory_index) {
722
+ Some(mem) => Ok(mem.index_type()),
723
+ None => bail!(self.offset, "unknown memory {}", memory_index),
724
+ }
725
+ }
726
+
727
+ /// Validates a `memarg for alignment and such (also the memory it
728
+ /// references), and returns the type of index used to address the memory.
729
+ fn check_memarg(&self, memarg: MemArg) -> Result<ValType> {
730
+ let index_ty = self.check_memory_index(memarg.memory)?;
731
+ if memarg.align > memarg.max_align {
732
+ bail!(
733
+ self.offset,
734
+ "malformed memop flags: alignment must not be larger than natural"
735
+ );
736
+ }
737
+ if index_ty == ValType::I32 && memarg.offset > u64::from(u32::MAX) {
738
+ bail!(self.offset, "offset out of range: must be <= 2**32");
739
+ }
740
+ Ok(index_ty)
741
+ }
742
+
743
+ /// Validates that the `table` is valid and returns the type it points to.
744
+ fn check_table_index(&self, table: u32) -> Result<TableType> {
745
+ match self.resources.table_at(table) {
746
+ Some(ty) => Ok(ty),
747
+ None => bail!(
748
+ self.offset,
749
+ "unknown table {table}: table index out of bounds"
750
+ ),
751
+ }
752
+ }
753
+
754
+ fn check_floats_enabled(&self) -> Result<()> {
755
+ if !self.features.floats() {
756
+ bail!(self.offset, "floating-point instruction disallowed");
757
+ }
758
+ Ok(())
759
+ }
760
+
761
+ fn check_shared_memarg(&self, memarg: MemArg) -> Result<ValType> {
762
+ if memarg.align != memarg.max_align {
763
+ bail!(
764
+ self.offset,
765
+ "atomic instructions must always specify maximum alignment"
766
+ );
767
+ }
768
+ self.check_memory_index(memarg.memory)
769
+ }
770
+
771
+ fn check_simd_lane_index(&self, index: u8, max: u8) -> Result<()> {
772
+ if index >= max {
773
+ bail!(self.offset, "SIMD index out of bounds");
774
+ }
775
+ Ok(())
776
+ }
777
+
778
+ /// Validates a block type, primarily with various in-flight proposals.
779
+ fn check_block_type(&self, ty: &mut BlockType) -> Result<()> {
780
+ match ty {
781
+ BlockType::Empty => Ok(()),
782
+ BlockType::Type(t) => self
783
+ .resources
784
+ .check_value_type(t, &self.features, self.offset),
785
+ BlockType::FuncType(idx) => {
786
+ if !self.features.multi_value() {
787
+ bail!(
788
+ self.offset,
789
+ "blocks, loops, and ifs may only produce a resulttype \
790
+ when multi-value is not enabled",
791
+ );
792
+ }
793
+ self.func_type_at(*idx)?;
794
+ Ok(())
795
+ }
796
+ }
797
+ }
798
+
799
+ fn type_of_function(&self, function_index: u32) -> Result<&'resources FuncType> {
800
+ match self.resources.type_of_function(function_index) {
801
+ Some(f) => Ok(f),
802
+ None => {
803
+ bail!(
804
+ self.offset,
805
+ "unknown function {function_index}: function index out of bounds",
806
+ )
807
+ }
808
+ }
809
+ }
810
+
811
+ /// Validates a `call` instruction, ensuring that the function index is
812
+ /// in-bounds and the right types are on the stack to call the function.
813
+ fn check_call(&mut self, function_index: u32) -> Result<()> {
814
+ let ty = self.type_of_function(function_index)?;
815
+ self.check_call_ty(ty)
816
+ }
817
+
818
+ fn check_call_type_index(&mut self, type_index: u32) -> Result<()> {
819
+ let ty = self.func_type_at(type_index)?;
820
+ self.check_call_ty(ty)
821
+ }
822
+
823
+ fn check_call_ty(&mut self, ty: &FuncType) -> Result<()> {
824
+ for &ty in ty.params().iter().rev() {
825
+ debug_assert_type_indices_are_ids(ty);
826
+ self.pop_operand(Some(ty))?;
827
+ }
828
+ for &ty in ty.results() {
829
+ debug_assert_type_indices_are_ids(ty);
830
+ self.push_operand(ty)?;
831
+ }
832
+ Ok(())
833
+ }
834
+
835
+ /// Validates a call to an indirect function, very similar to `check_call`.
836
+ fn check_call_indirect(&mut self, index: u32, table_index: u32) -> Result<()> {
837
+ let tab = self.check_table_index(table_index)?;
838
+ if !self
839
+ .resources
840
+ .is_subtype(ValType::Ref(tab.element_type), ValType::FUNCREF)
841
+ {
842
+ bail!(
843
+ self.offset,
844
+ "indirect calls must go through a table with type <= funcref",
845
+ );
846
+ }
847
+ let ty = self.func_type_at(index)?;
848
+ self.pop_operand(Some(tab.index_type()))?;
849
+ for ty in ty.clone().params().iter().rev() {
850
+ self.pop_operand(Some(*ty))?;
851
+ }
852
+ for ty in ty.results() {
853
+ self.push_operand(*ty)?;
854
+ }
855
+ Ok(())
856
+ }
857
+
858
+ /// Validates a `return` instruction, popping types from the operand
859
+ /// stack that the function needs.
860
+ fn check_return(&mut self) -> Result<()> {
861
+ if self.control.is_empty() {
862
+ return Err(self.err_beyond_end(self.offset));
863
+ }
864
+ for ty in self.results(self.control[0].block_type)?.rev() {
865
+ self.pop_operand(Some(ty))?;
866
+ }
867
+ self.unreachable()?;
868
+ Ok(())
869
+ }
870
+
871
+ /// Check that the function at the given index has the same result types as
872
+ /// the current function's results.
873
+ fn check_func_same_results(&self, function_index: u32) -> Result<()> {
874
+ let ty = self.type_of_function(function_index)?;
875
+ self.check_func_type_same_results(ty)
876
+ }
877
+
878
+ /// Check that the type at the given index has the same result types as the
879
+ /// current function's results.
880
+ fn check_func_type_index_same_results(&self, type_index: u32) -> Result<()> {
881
+ let ty = self.func_type_at(type_index)?;
882
+ self.check_func_type_same_results(ty)
883
+ }
884
+
885
+ /// Check that the given type has the same result types as the current
886
+ /// function's results.
887
+ fn check_func_type_same_results(&self, callee_ty: &FuncType) -> Result<()> {
888
+ let caller_rets = self.results(self.control[0].block_type)?;
889
+ if callee_ty.results().len() != caller_rets.len()
890
+ || !caller_rets
891
+ .zip(callee_ty.results())
892
+ .all(|(caller_ty, callee_ty)| self.resources.is_subtype(*callee_ty, caller_ty))
893
+ {
894
+ let caller_rets = self
895
+ .results(self.control[0].block_type)?
896
+ .map(|ty| format!("{ty}"))
897
+ .collect::<Vec<_>>()
898
+ .join(" ");
899
+ let callee_rets = callee_ty
900
+ .results()
901
+ .iter()
902
+ .map(|ty| format!("{ty}"))
903
+ .collect::<Vec<_>>()
904
+ .join(" ");
905
+ bail!(
906
+ self.offset,
907
+ "type mismatch: current function requires result type \
908
+ [{caller_rets}] but callee returns [{callee_rets}]"
909
+ );
910
+ }
911
+ Ok(())
912
+ }
913
+
914
+ /// Checks the validity of a common comparison operator.
915
+ fn check_cmp_op(&mut self, ty: ValType) -> Result<()> {
916
+ self.pop_operand(Some(ty))?;
917
+ self.pop_operand(Some(ty))?;
918
+ self.push_operand(ValType::I32)?;
919
+ Ok(())
920
+ }
921
+
922
+ /// Checks the validity of a common float comparison operator.
923
+ fn check_fcmp_op(&mut self, ty: ValType) -> Result<()> {
924
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
925
+ self.check_floats_enabled()?;
926
+ self.check_cmp_op(ty)
927
+ }
928
+
929
+ /// Checks the validity of a common unary operator.
930
+ fn check_unary_op(&mut self, ty: ValType) -> Result<()> {
931
+ self.pop_operand(Some(ty))?;
932
+ self.push_operand(ty)?;
933
+ Ok(())
934
+ }
935
+
936
+ /// Checks the validity of a common unary float operator.
937
+ fn check_funary_op(&mut self, ty: ValType) -> Result<()> {
938
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
939
+ self.check_floats_enabled()?;
940
+ self.check_unary_op(ty)
941
+ }
942
+
943
+ /// Checks the validity of a common conversion operator.
944
+ fn check_conversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
945
+ self.pop_operand(Some(from))?;
946
+ self.push_operand(into)?;
947
+ Ok(())
948
+ }
949
+
950
+ /// Checks the validity of a common conversion operator.
951
+ fn check_fconversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
952
+ debug_assert!(matches!(into, ValType::F32 | ValType::F64));
953
+ self.check_floats_enabled()?;
954
+ self.check_conversion_op(into, from)
955
+ }
956
+
957
+ /// Checks the validity of a common binary operator.
958
+ fn check_binary_op(&mut self, ty: ValType) -> Result<()> {
959
+ self.pop_operand(Some(ty))?;
960
+ self.pop_operand(Some(ty))?;
961
+ self.push_operand(ty)?;
962
+ Ok(())
963
+ }
964
+
965
+ /// Checks the validity of a common binary float operator.
966
+ fn check_fbinary_op(&mut self, ty: ValType) -> Result<()> {
967
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
968
+ self.check_floats_enabled()?;
969
+ self.check_binary_op(ty)
970
+ }
971
+
972
+ /// Checks the validity of an atomic load operator.
973
+ fn check_atomic_load(&mut self, memarg: MemArg, load_ty: ValType) -> Result<()> {
974
+ let ty = self.check_shared_memarg(memarg)?;
975
+ self.pop_operand(Some(ty))?;
976
+ self.push_operand(load_ty)?;
977
+ Ok(())
978
+ }
979
+
980
+ /// Checks the validity of an atomic store operator.
981
+ fn check_atomic_store(&mut self, memarg: MemArg, store_ty: ValType) -> Result<()> {
982
+ let ty = self.check_shared_memarg(memarg)?;
983
+ self.pop_operand(Some(store_ty))?;
984
+ self.pop_operand(Some(ty))?;
985
+ Ok(())
986
+ }
987
+
988
+ /// Checks the validity of atomic binary operator on memory.
989
+ fn check_atomic_binary_memory_op(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
990
+ let ty = self.check_shared_memarg(memarg)?;
991
+ self.pop_operand(Some(op_ty))?;
992
+ self.pop_operand(Some(ty))?;
993
+ self.push_operand(op_ty)?;
994
+ Ok(())
995
+ }
996
+
997
+ /// Checks the validity of an atomic compare exchange operator on memories.
998
+ fn check_atomic_binary_memory_cmpxchg(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
999
+ let ty = self.check_shared_memarg(memarg)?;
1000
+ self.pop_operand(Some(op_ty))?;
1001
+ self.pop_operand(Some(op_ty))?;
1002
+ self.pop_operand(Some(ty))?;
1003
+ self.push_operand(op_ty)?;
1004
+ Ok(())
1005
+ }
1006
+
1007
+ /// Checks a [`V128`] splat operator.
1008
+ fn check_v128_splat(&mut self, src_ty: ValType) -> Result<()> {
1009
+ self.pop_operand(Some(src_ty))?;
1010
+ self.push_operand(ValType::V128)?;
1011
+ Ok(())
1012
+ }
1013
+
1014
+ /// Checks a [`V128`] binary operator.
1015
+ fn check_v128_binary_op(&mut self) -> Result<()> {
1016
+ self.pop_operand(Some(ValType::V128))?;
1017
+ self.pop_operand(Some(ValType::V128))?;
1018
+ self.push_operand(ValType::V128)?;
1019
+ Ok(())
1020
+ }
1021
+
1022
+ /// Checks a [`V128`] binary float operator.
1023
+ fn check_v128_fbinary_op(&mut self) -> Result<()> {
1024
+ self.check_floats_enabled()?;
1025
+ self.check_v128_binary_op()
1026
+ }
1027
+
1028
+ /// Checks a [`V128`] binary operator.
1029
+ fn check_v128_unary_op(&mut self) -> Result<()> {
1030
+ self.pop_operand(Some(ValType::V128))?;
1031
+ self.push_operand(ValType::V128)?;
1032
+ Ok(())
1033
+ }
1034
+
1035
+ /// Checks a [`V128`] binary operator.
1036
+ fn check_v128_funary_op(&mut self) -> Result<()> {
1037
+ self.check_floats_enabled()?;
1038
+ self.check_v128_unary_op()
1039
+ }
1040
+
1041
+ /// Checks a [`V128`] relaxed ternary operator.
1042
+ fn check_v128_ternary_op(&mut self) -> Result<()> {
1043
+ self.pop_operand(Some(ValType::V128))?;
1044
+ self.pop_operand(Some(ValType::V128))?;
1045
+ self.pop_operand(Some(ValType::V128))?;
1046
+ self.push_operand(ValType::V128)?;
1047
+ Ok(())
1048
+ }
1049
+
1050
+ /// Checks a [`V128`] relaxed ternary operator.
1051
+ fn check_v128_bitmask_op(&mut self) -> Result<()> {
1052
+ self.pop_operand(Some(ValType::V128))?;
1053
+ self.push_operand(ValType::I32)?;
1054
+ Ok(())
1055
+ }
1056
+
1057
+ /// Checks a [`V128`] relaxed ternary operator.
1058
+ fn check_v128_shift_op(&mut self) -> Result<()> {
1059
+ self.pop_operand(Some(ValType::I32))?;
1060
+ self.pop_operand(Some(ValType::V128))?;
1061
+ self.push_operand(ValType::V128)?;
1062
+ Ok(())
1063
+ }
1064
+
1065
+ /// Checks a [`V128`] common load operator.
1066
+ fn check_v128_load_op(&mut self, memarg: MemArg) -> Result<()> {
1067
+ let idx = self.check_memarg(memarg)?;
1068
+ self.pop_operand(Some(idx))?;
1069
+ self.push_operand(ValType::V128)?;
1070
+ Ok(())
1071
+ }
1072
+
1073
+ /// Common helper for `ref.test` and `ref.cast` downcasting/checking
1074
+ /// instructions. Returns the given `heap_type` as a `ValType`.
1075
+ fn check_downcast(
1076
+ &mut self,
1077
+ nullable: bool,
1078
+ mut heap_type: HeapType,
1079
+ inst_name: &str,
1080
+ ) -> Result<ValType> {
1081
+ self.resources
1082
+ .check_heap_type(&mut heap_type, self.offset)?;
1083
+
1084
+ let sub_ty = RefType::new(nullable, heap_type)
1085
+ .map(ValType::from)
1086
+ .ok_or_else(|| {
1087
+ BinaryReaderError::new("implementation limit: type index too large", self.offset)
1088
+ })?;
1089
+
1090
+ let sup_ty = self.pop_ref()?.unwrap_or_else(|| {
1091
+ sub_ty
1092
+ .as_reference_type()
1093
+ .expect("we created this as a reference just above")
1094
+ });
1095
+ let sup_ty = RefType::new(true, self.resources.top_type(&sup_ty.heap_type()))
1096
+ .expect("can't panic with non-concrete heap types");
1097
+
1098
+ if !self.resources.is_subtype(sub_ty, sup_ty.into()) {
1099
+ bail!(
1100
+ self.offset,
1101
+ "{inst_name}'s heap type must be a sub type of the type on the stack: \
1102
+ {sub_ty} is not a sub type of {sup_ty}"
1103
+ );
1104
+ }
1105
+
1106
+ Ok(sub_ty)
1107
+ }
1108
+
1109
+ /// Common helper for both nullable and non-nullable variants of `ref.test`
1110
+ /// instructions.
1111
+ fn check_ref_test(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
1112
+ self.check_downcast(nullable, heap_type, "ref.test")?;
1113
+ self.push_operand(ValType::I32)
1114
+ }
1115
+
1116
+ /// Common helper for both nullable and non-nullable variants of `ref.cast`
1117
+ /// instructions.
1118
+ fn check_ref_cast(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
1119
+ let sub_ty = self.check_downcast(nullable, heap_type, "ref.cast")?;
1120
+ self.push_operand(sub_ty)
1121
+ }
1122
+
1123
+ /// Common helper for checking the types of globals accessed with atomic RMW
1124
+ /// instructions, which only allow `i32` and `i64`.
1125
+ fn check_atomic_global_rmw_ty(&self, global_index: u32) -> Result<ValType> {
1126
+ let ty = self.global_type_at(global_index)?.content_type;
1127
+ if !(ty == ValType::I32 || ty == ValType::I64) {
1128
+ bail!(
1129
+ self.offset,
1130
+ "invalid type: `global.atomic.rmw.*` only allows `i32` and `i64`"
1131
+ );
1132
+ }
1133
+ Ok(ty)
1134
+ }
1135
+
1136
+ fn element_type_at(&self, elem_index: u32) -> Result<RefType> {
1137
+ match self.resources.element_type_at(elem_index) {
1138
+ Some(ty) => Ok(ty),
1139
+ None => bail!(
1140
+ self.offset,
1141
+ "unknown elem segment {}: segment index out of bounds",
1142
+ elem_index
1143
+ ),
1144
+ }
1145
+ }
1146
+
1147
+ fn sub_type_at(&self, at: u32) -> Result<&'resources SubType> {
1148
+ self.resources
1149
+ .sub_type_at(at)
1150
+ .ok_or_else(|| format_err!(self.offset, "unknown type: type index out of bounds"))
1151
+ }
1152
+
1153
+ fn struct_type_at(&self, at: u32) -> Result<&'resources StructType> {
1154
+ let sub_ty = self.sub_type_at(at)?;
1155
+ if let CompositeType::Struct(struct_ty) = &sub_ty.composite_type {
1156
+ Ok(struct_ty)
1157
+ } else {
1158
+ bail!(
1159
+ self.offset,
1160
+ "expected struct type at index {at}, found {sub_ty}"
1161
+ )
1162
+ }
1163
+ }
1164
+
1165
+ fn struct_field_at(&self, struct_type_index: u32, field_index: u32) -> Result<FieldType> {
1166
+ let field_index = usize::try_from(field_index).map_err(|_| {
1167
+ BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
1168
+ })?;
1169
+ self.struct_type_at(struct_type_index)?
1170
+ .fields
1171
+ .get(field_index)
1172
+ .copied()
1173
+ .ok_or_else(|| {
1174
+ BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
1175
+ })
1176
+ }
1177
+
1178
+ fn array_type_at(&self, at: u32) -> Result<&'resources ArrayType> {
1179
+ let sub_ty = self.sub_type_at(at)?;
1180
+ if let CompositeType::Array(array_ty) = &sub_ty.composite_type {
1181
+ Ok(array_ty)
1182
+ } else {
1183
+ bail!(
1184
+ self.offset,
1185
+ "expected array type at index {at}, found {sub_ty}"
1186
+ )
1187
+ }
1188
+ }
1189
+
1190
+ fn func_type_at(&self, at: u32) -> Result<&'resources FuncType> {
1191
+ let sub_ty = self.sub_type_at(at)?;
1192
+ if let CompositeType::Func(func_ty) = &sub_ty.composite_type {
1193
+ Ok(func_ty)
1194
+ } else {
1195
+ bail!(
1196
+ self.offset,
1197
+ "expected func type at index {at}, found {sub_ty}"
1198
+ )
1199
+ }
1200
+ }
1201
+
1202
+ fn tag_at(&self, at: u32) -> Result<&'resources FuncType> {
1203
+ self.resources
1204
+ .tag_at(at)
1205
+ .ok_or_else(|| format_err!(self.offset, "unknown tag {}: tag index out of bounds", at))
1206
+ }
1207
+
1208
+ fn global_type_at(&self, at: u32) -> Result<GlobalType> {
1209
+ if let Some(ty) = self.resources.global_at(at) {
1210
+ Ok(ty)
1211
+ } else {
1212
+ bail!(self.offset, "unknown global: global index out of bounds");
1213
+ }
1214
+ }
1215
+
1216
+ fn params(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1217
+ Ok(match ty {
1218
+ BlockType::Empty | BlockType::Type(_) => Either::B(None.into_iter()),
1219
+ BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.params().iter().copied()),
1220
+ })
1221
+ }
1222
+
1223
+ fn results(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1224
+ Ok(match ty {
1225
+ BlockType::Empty => Either::B(None.into_iter()),
1226
+ BlockType::Type(t) => Either::B(Some(t).into_iter()),
1227
+ BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.results().iter().copied()),
1228
+ })
1229
+ }
1230
+
1231
+ fn label_types(
1232
+ &self,
1233
+ ty: BlockType,
1234
+ kind: FrameKind,
1235
+ ) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1236
+ Ok(match kind {
1237
+ FrameKind::Loop => Either::A(self.params(ty)?),
1238
+ _ => Either::B(self.results(ty)?),
1239
+ })
1240
+ }
1241
+ }
1242
+
1243
+ pub fn ty_to_str(ty: ValType) -> &'static str {
1244
+ match ty {
1245
+ ValType::I32 => "i32",
1246
+ ValType::I64 => "i64",
1247
+ ValType::F32 => "f32",
1248
+ ValType::F64 => "f64",
1249
+ ValType::V128 => "v128",
1250
+ ValType::Ref(r) => r.wat(),
1251
+ }
1252
+ }
1253
+
1254
+ /// A wrapper "visitor" around the real operator validator internally which
1255
+ /// exists to check that the required wasm feature is enabled to proceed with
1256
+ /// validation.
1257
+ ///
1258
+ /// This validator is macro-generated to ensure that the proposal listed in this
1259
+ /// crate's macro matches the one that's validated here. Each instruction's
1260
+ /// visit method validates the specified proposal is enabled and then delegates
1261
+ /// to `OperatorValidatorTemp` to perform the actual opcode validation.
1262
+ struct WasmProposalValidator<'validator, 'resources, T>(
1263
+ OperatorValidatorTemp<'validator, 'resources, T>,
1264
+ );
1265
+
1266
+ impl<T> WasmProposalValidator<'_, '_, T> {
1267
+ fn check_enabled(&self, flag: bool, desc: &str) -> Result<()> {
1268
+ if flag {
1269
+ return Ok(());
1270
+ }
1271
+ bail!(self.0.offset, "{desc} support is not enabled");
1272
+ }
1273
+ }
1274
+
1275
+ macro_rules! validate_proposal {
1276
+ ($( @$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
1277
+ $(
1278
+ fn $visit(&mut self $($(,$arg: $argty)*)?) -> Result<()> {
1279
+ validate_proposal!(validate self $proposal);
1280
+ self.0.$visit($( $($arg),* )?)
1281
+ }
1282
+ )*
1283
+ };
1284
+
1285
+ (validate self mvp) => {};
1286
+ (validate $self:ident $proposal:ident) => {
1287
+ $self.check_enabled($self.0.features.$proposal(), validate_proposal!(desc $proposal))?
1288
+ };
1289
+
1290
+ (desc simd) => ("SIMD");
1291
+ (desc relaxed_simd) => ("relaxed SIMD");
1292
+ (desc threads) => ("threads");
1293
+ (desc shared_everything_threads) => ("shared-everything-threads");
1294
+ (desc saturating_float_to_int) => ("saturating float to int conversions");
1295
+ (desc reference_types) => ("reference types");
1296
+ (desc bulk_memory) => ("bulk memory");
1297
+ (desc sign_extension) => ("sign extension operations");
1298
+ (desc exceptions) => ("exceptions");
1299
+ (desc tail_call) => ("tail calls");
1300
+ (desc function_references) => ("function references");
1301
+ (desc memory_control) => ("memory control");
1302
+ (desc gc) => ("gc");
1303
+ }
1304
+
1305
+ impl<'a, T> VisitOperator<'a> for WasmProposalValidator<'_, '_, T>
1306
+ where
1307
+ T: WasmModuleResources,
1308
+ {
1309
+ type Output = Result<()>;
1310
+
1311
+ for_each_operator!(validate_proposal);
1312
+ }
1313
+
1314
+ #[track_caller]
1315
+ #[inline]
1316
+ fn debug_assert_type_indices_are_ids(ty: ValType) {
1317
+ if cfg!(debug_assertions) {
1318
+ if let ValType::Ref(r) = ty {
1319
+ if let HeapType::Concrete(idx) = r.heap_type() {
1320
+ debug_assert!(
1321
+ matches!(idx, UnpackedIndex::Id(_)),
1322
+ "type reference should be a `CoreTypeId`, found {idx:?}"
1323
+ );
1324
+ }
1325
+ }
1326
+ }
1327
+ }
1328
+
1329
+ impl<'a, T> VisitOperator<'a> for OperatorValidatorTemp<'_, '_, T>
1330
+ where
1331
+ T: WasmModuleResources,
1332
+ {
1333
+ type Output = Result<()>;
1334
+
1335
+ fn visit_nop(&mut self) -> Self::Output {
1336
+ Ok(())
1337
+ }
1338
+ fn visit_unreachable(&mut self) -> Self::Output {
1339
+ self.unreachable()?;
1340
+ Ok(())
1341
+ }
1342
+ fn visit_block(&mut self, mut ty: BlockType) -> Self::Output {
1343
+ self.check_block_type(&mut ty)?;
1344
+ for ty in self.params(ty)?.rev() {
1345
+ self.pop_operand(Some(ty))?;
1346
+ }
1347
+ self.push_ctrl(FrameKind::Block, ty)?;
1348
+ Ok(())
1349
+ }
1350
+ fn visit_loop(&mut self, mut ty: BlockType) -> Self::Output {
1351
+ self.check_block_type(&mut ty)?;
1352
+ for ty in self.params(ty)?.rev() {
1353
+ self.pop_operand(Some(ty))?;
1354
+ }
1355
+ self.push_ctrl(FrameKind::Loop, ty)?;
1356
+ Ok(())
1357
+ }
1358
+ fn visit_if(&mut self, mut ty: BlockType) -> Self::Output {
1359
+ self.check_block_type(&mut ty)?;
1360
+ self.pop_operand(Some(ValType::I32))?;
1361
+ for ty in self.params(ty)?.rev() {
1362
+ self.pop_operand(Some(ty))?;
1363
+ }
1364
+ self.push_ctrl(FrameKind::If, ty)?;
1365
+ Ok(())
1366
+ }
1367
+ fn visit_else(&mut self) -> Self::Output {
1368
+ let frame = self.pop_ctrl()?;
1369
+ if frame.kind != FrameKind::If {
1370
+ bail!(self.offset, "else found outside of an `if` block");
1371
+ }
1372
+ self.push_ctrl(FrameKind::Else, frame.block_type)?;
1373
+ Ok(())
1374
+ }
1375
+ fn visit_try_table(&mut self, mut ty: TryTable) -> Self::Output {
1376
+ self.check_block_type(&mut ty.ty)?;
1377
+ for ty in self.params(ty.ty)?.rev() {
1378
+ self.pop_operand(Some(ty))?;
1379
+ }
1380
+ for catch in ty.catches {
1381
+ match catch {
1382
+ Catch::One { tag, label } => {
1383
+ let tag = self.tag_at(tag)?;
1384
+ let (ty, kind) = self.jump(label)?;
1385
+ let params = tag.params();
1386
+ let types = self.label_types(ty, kind)?;
1387
+ if params.len() != types.len() {
1388
+ bail!(
1389
+ self.offset,
1390
+ "type mismatch: catch label must have same number of types as tag"
1391
+ );
1392
+ }
1393
+ for (expected, actual) in types.zip(params) {
1394
+ self.push_operand(*actual)?;
1395
+ self.pop_operand(Some(expected))?;
1396
+ }
1397
+ }
1398
+ Catch::OneRef { tag, label } => {
1399
+ let tag = self.tag_at(tag)?;
1400
+ let (ty, kind) = self.jump(label)?;
1401
+ let tag_params = tag.params().iter().copied();
1402
+ let label_types = self.label_types(ty, kind)?;
1403
+ if tag_params.len() + 1 != label_types.len() {
1404
+ bail!(
1405
+ self.offset,
1406
+ "type mismatch: catch_ref label must have one \
1407
+ more type than tag types",
1408
+ );
1409
+ }
1410
+ for (expected_label_tyep, actual_tag_param) in
1411
+ label_types.zip(tag_params.chain([ValType::EXNREF]))
1412
+ {
1413
+ self.push_operand(actual_tag_param)?;
1414
+ self.pop_operand(Some(expected_label_tyep))?;
1415
+ }
1416
+ }
1417
+
1418
+ Catch::All { label } => {
1419
+ let (ty, kind) = self.jump(label)?;
1420
+ if self.label_types(ty, kind)?.len() != 0 {
1421
+ bail!(
1422
+ self.offset,
1423
+ "type mismatch: catch_all label must have no result types"
1424
+ );
1425
+ }
1426
+ }
1427
+
1428
+ Catch::AllRef { label } => {
1429
+ let (ty, kind) = self.jump(label)?;
1430
+ let mut types = self.label_types(ty, kind)?;
1431
+ match (types.next(), types.next()) {
1432
+ (Some(ValType::EXNREF), None) => {}
1433
+ _ => {
1434
+ bail!(
1435
+ self.offset,
1436
+ "type mismatch: catch_all_ref label must have \
1437
+ one exnref result type"
1438
+ );
1439
+ }
1440
+ }
1441
+ }
1442
+ }
1443
+ }
1444
+ self.push_ctrl(FrameKind::TryTable, ty.ty)?;
1445
+ Ok(())
1446
+ }
1447
+ fn visit_throw(&mut self, index: u32) -> Self::Output {
1448
+ // Check values associated with the exception.
1449
+ let ty = self.tag_at(index)?;
1450
+ for ty in ty.clone().params().iter().rev() {
1451
+ self.pop_operand(Some(*ty))?;
1452
+ }
1453
+ if ty.results().len() > 0 {
1454
+ bail!(
1455
+ self.offset,
1456
+ "result type expected to be empty for exception"
1457
+ );
1458
+ }
1459
+ self.unreachable()?;
1460
+ Ok(())
1461
+ }
1462
+ fn visit_throw_ref(&mut self) -> Self::Output {
1463
+ self.pop_operand(Some(ValType::EXNREF))?;
1464
+ self.unreachable()?;
1465
+ Ok(())
1466
+ }
1467
+ fn visit_try(&mut self, _: BlockType) -> Self::Output {
1468
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1469
+ }
1470
+ fn visit_catch(&mut self, _: u32) -> Self::Output {
1471
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1472
+ }
1473
+ fn visit_rethrow(&mut self, _: u32) -> Self::Output {
1474
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1475
+ }
1476
+ fn visit_delegate(&mut self, _: u32) -> Self::Output {
1477
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1478
+ }
1479
+ fn visit_catch_all(&mut self) -> Self::Output {
1480
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1481
+ }
1482
+ fn visit_end(&mut self) -> Self::Output {
1483
+ let mut frame = self.pop_ctrl()?;
1484
+
1485
+ // Note that this `if` isn't included in the appendix right
1486
+ // now, but it's used to allow for `if` statements that are
1487
+ // missing an `else` block which have the same parameter/return
1488
+ // types on the block (since that's valid).
1489
+ if frame.kind == FrameKind::If {
1490
+ self.push_ctrl(FrameKind::Else, frame.block_type)?;
1491
+ frame = self.pop_ctrl()?;
1492
+ }
1493
+ for ty in self.results(frame.block_type)? {
1494
+ self.push_operand(ty)?;
1495
+ }
1496
+
1497
+ if self.control.is_empty() && self.end_which_emptied_control.is_none() {
1498
+ assert_ne!(self.offset, 0);
1499
+ self.end_which_emptied_control = Some(self.offset);
1500
+ }
1501
+ Ok(())
1502
+ }
1503
+ fn visit_br(&mut self, relative_depth: u32) -> Self::Output {
1504
+ let (ty, kind) = self.jump(relative_depth)?;
1505
+ for ty in self.label_types(ty, kind)?.rev() {
1506
+ self.pop_operand(Some(ty))?;
1507
+ }
1508
+ self.unreachable()?;
1509
+ Ok(())
1510
+ }
1511
+ fn visit_br_if(&mut self, relative_depth: u32) -> Self::Output {
1512
+ self.pop_operand(Some(ValType::I32))?;
1513
+ let (ty, kind) = self.jump(relative_depth)?;
1514
+ let label_types = self.label_types(ty, kind)?;
1515
+ self.pop_push_label_types(label_types)?;
1516
+ Ok(())
1517
+ }
1518
+ fn visit_br_table(&mut self, table: BrTable) -> Self::Output {
1519
+ self.pop_operand(Some(ValType::I32))?;
1520
+ let default = self.jump(table.default())?;
1521
+ let default_types = self.label_types(default.0, default.1)?;
1522
+ for element in table.targets() {
1523
+ let relative_depth = element?;
1524
+ let block = self.jump(relative_depth)?;
1525
+ let label_tys = self.label_types(block.0, block.1)?;
1526
+ if label_tys.len() != default_types.len() {
1527
+ bail!(
1528
+ self.offset,
1529
+ "type mismatch: br_table target labels have different number of types"
1530
+ );
1531
+ }
1532
+
1533
+ debug_assert!(self.popped_types_tmp.is_empty());
1534
+ self.popped_types_tmp.reserve(label_tys.len());
1535
+ for expected_ty in label_tys.rev() {
1536
+ let actual_ty = self.pop_operand(Some(expected_ty))?;
1537
+ self.popped_types_tmp.push(actual_ty);
1538
+ }
1539
+ for ty in self.inner.popped_types_tmp.drain(..).rev() {
1540
+ self.inner.operands.push(ty.into());
1541
+ }
1542
+ }
1543
+ for ty in default_types.rev() {
1544
+ self.pop_operand(Some(ty))?;
1545
+ }
1546
+ self.unreachable()?;
1547
+ Ok(())
1548
+ }
1549
+ fn visit_return(&mut self) -> Self::Output {
1550
+ self.check_return()?;
1551
+ Ok(())
1552
+ }
1553
+ fn visit_call(&mut self, function_index: u32) -> Self::Output {
1554
+ self.check_call(function_index)?;
1555
+ Ok(())
1556
+ }
1557
+ fn visit_return_call(&mut self, function_index: u32) -> Self::Output {
1558
+ self.check_call(function_index)?;
1559
+ self.check_return()?;
1560
+ self.check_func_same_results(function_index)?;
1561
+ Ok(())
1562
+ }
1563
+ fn visit_call_ref(&mut self, type_index: u32) -> Self::Output {
1564
+ let unpacked_index = UnpackedIndex::Module(type_index);
1565
+ let mut hty = HeapType::Concrete(unpacked_index);
1566
+ self.resources.check_heap_type(&mut hty, self.offset)?;
1567
+ // If `None` is popped then that means a "bottom" type was popped which
1568
+ // is always considered equivalent to the `hty` tag.
1569
+ if let Some(rt) = self.pop_ref()? {
1570
+ let expected = RefType::new(true, hty).expect("hty should be previously validated");
1571
+ let expected = ValType::Ref(expected);
1572
+ if !self.resources.is_subtype(ValType::Ref(rt), expected) {
1573
+ bail!(
1574
+ self.offset,
1575
+ "type mismatch: funcref on stack does not match specified type",
1576
+ );
1577
+ }
1578
+ }
1579
+ self.check_call_type_index(type_index)
1580
+ }
1581
+ fn visit_return_call_ref(&mut self, type_index: u32) -> Self::Output {
1582
+ self.visit_call_ref(type_index)?;
1583
+ self.check_return()?;
1584
+ self.check_func_type_index_same_results(type_index)?;
1585
+ Ok(())
1586
+ }
1587
+ fn visit_call_indirect(
1588
+ &mut self,
1589
+ index: u32,
1590
+ table_index: u32,
1591
+ table_byte: u8,
1592
+ ) -> Self::Output {
1593
+ if table_byte != 0 && !self.features.reference_types() {
1594
+ bail!(
1595
+ self.offset,
1596
+ "reference-types not enabled: zero byte expected"
1597
+ );
1598
+ }
1599
+ self.check_call_indirect(index, table_index)?;
1600
+ Ok(())
1601
+ }
1602
+ fn visit_return_call_indirect(&mut self, type_index: u32, table_index: u32) -> Self::Output {
1603
+ self.check_call_indirect(type_index, table_index)?;
1604
+ self.check_return()?;
1605
+ self.check_func_type_index_same_results(type_index)?;
1606
+ Ok(())
1607
+ }
1608
+ fn visit_drop(&mut self) -> Self::Output {
1609
+ self.pop_operand(None)?;
1610
+ Ok(())
1611
+ }
1612
+ fn visit_select(&mut self) -> Self::Output {
1613
+ self.pop_operand(Some(ValType::I32))?;
1614
+ let ty1 = self.pop_operand(None)?;
1615
+ let ty2 = self.pop_operand(None)?;
1616
+
1617
+ let ty = match (ty1, ty2) {
1618
+ // All heap-related types aren't allowed with the `select`
1619
+ // instruction
1620
+ (MaybeType::HeapBot, _)
1621
+ | (_, MaybeType::HeapBot)
1622
+ | (MaybeType::Type(ValType::Ref(_)), _)
1623
+ | (_, MaybeType::Type(ValType::Ref(_))) => {
1624
+ bail!(
1625
+ self.offset,
1626
+ "type mismatch: select only takes integral types"
1627
+ )
1628
+ }
1629
+
1630
+ // If one operand is the "bottom" type then whatever the other
1631
+ // operand is is the result of the `select`
1632
+ (MaybeType::Bot, t) | (t, MaybeType::Bot) => t,
1633
+
1634
+ // Otherwise these are two integral types and they must match for
1635
+ // `select` to typecheck.
1636
+ (t @ MaybeType::Type(t1), MaybeType::Type(t2)) => {
1637
+ if t1 != t2 {
1638
+ bail!(
1639
+ self.offset,
1640
+ "type mismatch: select operands have different types"
1641
+ );
1642
+ }
1643
+ t
1644
+ }
1645
+ };
1646
+ self.push_operand(ty)?;
1647
+ Ok(())
1648
+ }
1649
+ fn visit_typed_select(&mut self, mut ty: ValType) -> Self::Output {
1650
+ self.resources
1651
+ .check_value_type(&mut ty, &self.features, self.offset)?;
1652
+ self.pop_operand(Some(ValType::I32))?;
1653
+ self.pop_operand(Some(ty))?;
1654
+ self.pop_operand(Some(ty))?;
1655
+ self.push_operand(ty)?;
1656
+ Ok(())
1657
+ }
1658
+ fn visit_local_get(&mut self, local_index: u32) -> Self::Output {
1659
+ let ty = self.local(local_index)?;
1660
+ debug_assert_type_indices_are_ids(ty);
1661
+ if !self.local_inits[local_index as usize] {
1662
+ bail!(self.offset, "uninitialized local: {}", local_index);
1663
+ }
1664
+ self.push_operand(ty)?;
1665
+ Ok(())
1666
+ }
1667
+ fn visit_local_set(&mut self, local_index: u32) -> Self::Output {
1668
+ let ty = self.local(local_index)?;
1669
+ self.pop_operand(Some(ty))?;
1670
+ if !self.local_inits[local_index as usize] {
1671
+ self.local_inits[local_index as usize] = true;
1672
+ self.inits.push(local_index);
1673
+ }
1674
+ Ok(())
1675
+ }
1676
+ fn visit_local_tee(&mut self, local_index: u32) -> Self::Output {
1677
+ let expected_ty = self.local(local_index)?;
1678
+ self.pop_operand(Some(expected_ty))?;
1679
+ if !self.local_inits[local_index as usize] {
1680
+ self.local_inits[local_index as usize] = true;
1681
+ self.inits.push(local_index);
1682
+ }
1683
+
1684
+ self.push_operand(expected_ty)?;
1685
+ Ok(())
1686
+ }
1687
+ fn visit_global_get(&mut self, global_index: u32) -> Self::Output {
1688
+ let ty = self.global_type_at(global_index)?.content_type;
1689
+ debug_assert_type_indices_are_ids(ty);
1690
+ self.push_operand(ty)?;
1691
+ Ok(())
1692
+ }
1693
+ fn visit_global_atomic_get(
1694
+ &mut self,
1695
+ _ordering: crate::Ordering,
1696
+ global_index: u32,
1697
+ ) -> Self::Output {
1698
+ self.visit_global_get(global_index)?;
1699
+ // No validation of `ordering` is needed because `global.atomic.get` can
1700
+ // be used on both shared and unshared globals. But we do need to limit
1701
+ // which types can be used with this instruction.
1702
+ let ty = self.global_type_at(global_index)?.content_type;
1703
+ let supertype = RefType::ANYREF.into();
1704
+ if !(ty == ValType::I32 || ty == ValType::I64 || self.resources.is_subtype(ty, supertype)) {
1705
+ bail!(self.offset, "invalid type: `global.atomic.get` only allows `i32`, `i64` and subtypes of `anyref`");
1706
+ }
1707
+ Ok(())
1708
+ }
1709
+ fn visit_global_set(&mut self, global_index: u32) -> Self::Output {
1710
+ let ty = self.global_type_at(global_index)?;
1711
+ if !ty.mutable {
1712
+ bail!(
1713
+ self.offset,
1714
+ "global is immutable: cannot modify it with `global.set`"
1715
+ );
1716
+ }
1717
+ self.pop_operand(Some(ty.content_type))?;
1718
+ Ok(())
1719
+ }
1720
+ fn visit_global_atomic_set(
1721
+ &mut self,
1722
+ _ordering: crate::Ordering,
1723
+ global_index: u32,
1724
+ ) -> Self::Output {
1725
+ self.visit_global_set(global_index)?;
1726
+ // No validation of `ordering` is needed because `global.atomic.get` can
1727
+ // be used on both shared and unshared globals.
1728
+ let ty = self.global_type_at(global_index)?.content_type;
1729
+ let supertype = RefType::ANYREF.into();
1730
+ if !(ty == ValType::I32 || ty == ValType::I64 || self.resources.is_subtype(ty, supertype)) {
1731
+ bail!(self.offset, "invalid type: `global.atomic.set` only allows `i32`, `i64` and subtypes of `anyref`");
1732
+ }
1733
+ Ok(())
1734
+ }
1735
+ fn visit_global_atomic_rmw_add(
1736
+ &mut self,
1737
+ _ordering: crate::Ordering,
1738
+ global_index: u32,
1739
+ ) -> Self::Output {
1740
+ let ty = self.check_atomic_global_rmw_ty(global_index)?;
1741
+ self.check_unary_op(ty)
1742
+ }
1743
+ fn visit_global_atomic_rmw_sub(
1744
+ &mut self,
1745
+ _ordering: crate::Ordering,
1746
+ global_index: u32,
1747
+ ) -> Self::Output {
1748
+ let ty = self.check_atomic_global_rmw_ty(global_index)?;
1749
+ self.check_unary_op(ty)
1750
+ }
1751
+ fn visit_global_atomic_rmw_and(
1752
+ &mut self,
1753
+ _ordering: crate::Ordering,
1754
+ global_index: u32,
1755
+ ) -> Self::Output {
1756
+ let ty = self.check_atomic_global_rmw_ty(global_index)?;
1757
+ self.check_unary_op(ty)
1758
+ }
1759
+ fn visit_global_atomic_rmw_or(
1760
+ &mut self,
1761
+ _ordering: crate::Ordering,
1762
+ global_index: u32,
1763
+ ) -> Self::Output {
1764
+ let ty = self.check_atomic_global_rmw_ty(global_index)?;
1765
+ self.check_unary_op(ty)
1766
+ }
1767
+ fn visit_global_atomic_rmw_xor(
1768
+ &mut self,
1769
+ _ordering: crate::Ordering,
1770
+ global_index: u32,
1771
+ ) -> Self::Output {
1772
+ let ty = self.check_atomic_global_rmw_ty(global_index)?;
1773
+ self.check_unary_op(ty)
1774
+ }
1775
+ fn visit_global_atomic_rmw_xchg(
1776
+ &mut self,
1777
+ _ordering: crate::Ordering,
1778
+ global_index: u32,
1779
+ ) -> Self::Output {
1780
+ let ty = self.global_type_at(global_index)?.content_type;
1781
+ if !(ty == ValType::I32
1782
+ || ty == ValType::I64
1783
+ || self.resources.is_subtype(ty, RefType::ANYREF.into()))
1784
+ {
1785
+ bail!(self.offset, "invalid type: `global.atomic.rmw.xchg` only allows `i32`, `i64` and subtypes of `anyref`");
1786
+ }
1787
+ self.check_unary_op(ty)
1788
+ }
1789
+ fn visit_global_atomic_rmw_cmpxchg(
1790
+ &mut self,
1791
+ _ordering: crate::Ordering,
1792
+ global_index: u32,
1793
+ ) -> Self::Output {
1794
+ let ty = self.global_type_at(global_index)?.content_type;
1795
+ if !(ty == ValType::I32
1796
+ || ty == ValType::I64
1797
+ || self.resources.is_subtype(ty, RefType::EQREF.into()))
1798
+ {
1799
+ bail!(self.offset, "invalid type: `global.atomic.rmw.cmpxchg` only allows `i32`, `i64` and subtypes of `eqref`");
1800
+ }
1801
+ self.check_binary_op(ty)
1802
+ }
1803
+
1804
+ fn visit_i32_load(&mut self, memarg: MemArg) -> Self::Output {
1805
+ let ty = self.check_memarg(memarg)?;
1806
+ self.pop_operand(Some(ty))?;
1807
+ self.push_operand(ValType::I32)?;
1808
+ Ok(())
1809
+ }
1810
+ fn visit_i64_load(&mut self, memarg: MemArg) -> Self::Output {
1811
+ let ty = self.check_memarg(memarg)?;
1812
+ self.pop_operand(Some(ty))?;
1813
+ self.push_operand(ValType::I64)?;
1814
+ Ok(())
1815
+ }
1816
+ fn visit_f32_load(&mut self, memarg: MemArg) -> Self::Output {
1817
+ self.check_floats_enabled()?;
1818
+ let ty = self.check_memarg(memarg)?;
1819
+ self.pop_operand(Some(ty))?;
1820
+ self.push_operand(ValType::F32)?;
1821
+ Ok(())
1822
+ }
1823
+ fn visit_f64_load(&mut self, memarg: MemArg) -> Self::Output {
1824
+ self.check_floats_enabled()?;
1825
+ let ty = self.check_memarg(memarg)?;
1826
+ self.pop_operand(Some(ty))?;
1827
+ self.push_operand(ValType::F64)?;
1828
+ Ok(())
1829
+ }
1830
+ fn visit_i32_load8_s(&mut self, memarg: MemArg) -> Self::Output {
1831
+ let ty = self.check_memarg(memarg)?;
1832
+ self.pop_operand(Some(ty))?;
1833
+ self.push_operand(ValType::I32)?;
1834
+ Ok(())
1835
+ }
1836
+ fn visit_i32_load8_u(&mut self, memarg: MemArg) -> Self::Output {
1837
+ self.visit_i32_load8_s(memarg)
1838
+ }
1839
+ fn visit_i32_load16_s(&mut self, memarg: MemArg) -> Self::Output {
1840
+ let ty = self.check_memarg(memarg)?;
1841
+ self.pop_operand(Some(ty))?;
1842
+ self.push_operand(ValType::I32)?;
1843
+ Ok(())
1844
+ }
1845
+ fn visit_i32_load16_u(&mut self, memarg: MemArg) -> Self::Output {
1846
+ self.visit_i32_load16_s(memarg)
1847
+ }
1848
+ fn visit_i64_load8_s(&mut self, memarg: MemArg) -> Self::Output {
1849
+ let ty = self.check_memarg(memarg)?;
1850
+ self.pop_operand(Some(ty))?;
1851
+ self.push_operand(ValType::I64)?;
1852
+ Ok(())
1853
+ }
1854
+ fn visit_i64_load8_u(&mut self, memarg: MemArg) -> Self::Output {
1855
+ self.visit_i64_load8_s(memarg)
1856
+ }
1857
+ fn visit_i64_load16_s(&mut self, memarg: MemArg) -> Self::Output {
1858
+ let ty = self.check_memarg(memarg)?;
1859
+ self.pop_operand(Some(ty))?;
1860
+ self.push_operand(ValType::I64)?;
1861
+ Ok(())
1862
+ }
1863
+ fn visit_i64_load16_u(&mut self, memarg: MemArg) -> Self::Output {
1864
+ self.visit_i64_load16_s(memarg)
1865
+ }
1866
+ fn visit_i64_load32_s(&mut self, memarg: MemArg) -> Self::Output {
1867
+ let ty = self.check_memarg(memarg)?;
1868
+ self.pop_operand(Some(ty))?;
1869
+ self.push_operand(ValType::I64)?;
1870
+ Ok(())
1871
+ }
1872
+ fn visit_i64_load32_u(&mut self, memarg: MemArg) -> Self::Output {
1873
+ self.visit_i64_load32_s(memarg)
1874
+ }
1875
+ fn visit_i32_store(&mut self, memarg: MemArg) -> Self::Output {
1876
+ let ty = self.check_memarg(memarg)?;
1877
+ self.pop_operand(Some(ValType::I32))?;
1878
+ self.pop_operand(Some(ty))?;
1879
+ Ok(())
1880
+ }
1881
+ fn visit_i64_store(&mut self, memarg: MemArg) -> Self::Output {
1882
+ let ty = self.check_memarg(memarg)?;
1883
+ self.pop_operand(Some(ValType::I64))?;
1884
+ self.pop_operand(Some(ty))?;
1885
+ Ok(())
1886
+ }
1887
+ fn visit_f32_store(&mut self, memarg: MemArg) -> Self::Output {
1888
+ self.check_floats_enabled()?;
1889
+ let ty = self.check_memarg(memarg)?;
1890
+ self.pop_operand(Some(ValType::F32))?;
1891
+ self.pop_operand(Some(ty))?;
1892
+ Ok(())
1893
+ }
1894
+ fn visit_f64_store(&mut self, memarg: MemArg) -> Self::Output {
1895
+ self.check_floats_enabled()?;
1896
+ let ty = self.check_memarg(memarg)?;
1897
+ self.pop_operand(Some(ValType::F64))?;
1898
+ self.pop_operand(Some(ty))?;
1899
+ Ok(())
1900
+ }
1901
+ fn visit_i32_store8(&mut self, memarg: MemArg) -> Self::Output {
1902
+ let ty = self.check_memarg(memarg)?;
1903
+ self.pop_operand(Some(ValType::I32))?;
1904
+ self.pop_operand(Some(ty))?;
1905
+ Ok(())
1906
+ }
1907
+ fn visit_i32_store16(&mut self, memarg: MemArg) -> Self::Output {
1908
+ let ty = self.check_memarg(memarg)?;
1909
+ self.pop_operand(Some(ValType::I32))?;
1910
+ self.pop_operand(Some(ty))?;
1911
+ Ok(())
1912
+ }
1913
+ fn visit_i64_store8(&mut self, memarg: MemArg) -> Self::Output {
1914
+ let ty = self.check_memarg(memarg)?;
1915
+ self.pop_operand(Some(ValType::I64))?;
1916
+ self.pop_operand(Some(ty))?;
1917
+ Ok(())
1918
+ }
1919
+ fn visit_i64_store16(&mut self, memarg: MemArg) -> Self::Output {
1920
+ let ty = self.check_memarg(memarg)?;
1921
+ self.pop_operand(Some(ValType::I64))?;
1922
+ self.pop_operand(Some(ty))?;
1923
+ Ok(())
1924
+ }
1925
+ fn visit_i64_store32(&mut self, memarg: MemArg) -> Self::Output {
1926
+ let ty = self.check_memarg(memarg)?;
1927
+ self.pop_operand(Some(ValType::I64))?;
1928
+ self.pop_operand(Some(ty))?;
1929
+ Ok(())
1930
+ }
1931
+ fn visit_memory_size(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
1932
+ if mem_byte != 0 && !self.features.multi_memory() {
1933
+ bail!(self.offset, "multi-memory not enabled: zero byte expected");
1934
+ }
1935
+ let index_ty = self.check_memory_index(mem)?;
1936
+ self.push_operand(index_ty)?;
1937
+ Ok(())
1938
+ }
1939
+ fn visit_memory_grow(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
1940
+ if mem_byte != 0 && !self.features.multi_memory() {
1941
+ bail!(self.offset, "multi-memory not enabled: zero byte expected");
1942
+ }
1943
+ let index_ty = self.check_memory_index(mem)?;
1944
+ self.pop_operand(Some(index_ty))?;
1945
+ self.push_operand(index_ty)?;
1946
+ Ok(())
1947
+ }
1948
+ fn visit_i32_const(&mut self, _value: i32) -> Self::Output {
1949
+ self.push_operand(ValType::I32)?;
1950
+ Ok(())
1951
+ }
1952
+ fn visit_i64_const(&mut self, _value: i64) -> Self::Output {
1953
+ self.push_operand(ValType::I64)?;
1954
+ Ok(())
1955
+ }
1956
+ fn visit_f32_const(&mut self, _value: Ieee32) -> Self::Output {
1957
+ self.check_floats_enabled()?;
1958
+ self.push_operand(ValType::F32)?;
1959
+ Ok(())
1960
+ }
1961
+ fn visit_f64_const(&mut self, _value: Ieee64) -> Self::Output {
1962
+ self.check_floats_enabled()?;
1963
+ self.push_operand(ValType::F64)?;
1964
+ Ok(())
1965
+ }
1966
+ fn visit_i32_eqz(&mut self) -> Self::Output {
1967
+ self.pop_operand(Some(ValType::I32))?;
1968
+ self.push_operand(ValType::I32)?;
1969
+ Ok(())
1970
+ }
1971
+ fn visit_i32_eq(&mut self) -> Self::Output {
1972
+ self.check_cmp_op(ValType::I32)
1973
+ }
1974
+ fn visit_i32_ne(&mut self) -> Self::Output {
1975
+ self.check_cmp_op(ValType::I32)
1976
+ }
1977
+ fn visit_i32_lt_s(&mut self) -> Self::Output {
1978
+ self.check_cmp_op(ValType::I32)
1979
+ }
1980
+ fn visit_i32_lt_u(&mut self) -> Self::Output {
1981
+ self.check_cmp_op(ValType::I32)
1982
+ }
1983
+ fn visit_i32_gt_s(&mut self) -> Self::Output {
1984
+ self.check_cmp_op(ValType::I32)
1985
+ }
1986
+ fn visit_i32_gt_u(&mut self) -> Self::Output {
1987
+ self.check_cmp_op(ValType::I32)
1988
+ }
1989
+ fn visit_i32_le_s(&mut self) -> Self::Output {
1990
+ self.check_cmp_op(ValType::I32)
1991
+ }
1992
+ fn visit_i32_le_u(&mut self) -> Self::Output {
1993
+ self.check_cmp_op(ValType::I32)
1994
+ }
1995
+ fn visit_i32_ge_s(&mut self) -> Self::Output {
1996
+ self.check_cmp_op(ValType::I32)
1997
+ }
1998
+ fn visit_i32_ge_u(&mut self) -> Self::Output {
1999
+ self.check_cmp_op(ValType::I32)
2000
+ }
2001
+ fn visit_i64_eqz(&mut self) -> Self::Output {
2002
+ self.pop_operand(Some(ValType::I64))?;
2003
+ self.push_operand(ValType::I32)?;
2004
+ Ok(())
2005
+ }
2006
+ fn visit_i64_eq(&mut self) -> Self::Output {
2007
+ self.check_cmp_op(ValType::I64)
2008
+ }
2009
+ fn visit_i64_ne(&mut self) -> Self::Output {
2010
+ self.check_cmp_op(ValType::I64)
2011
+ }
2012
+ fn visit_i64_lt_s(&mut self) -> Self::Output {
2013
+ self.check_cmp_op(ValType::I64)
2014
+ }
2015
+ fn visit_i64_lt_u(&mut self) -> Self::Output {
2016
+ self.check_cmp_op(ValType::I64)
2017
+ }
2018
+ fn visit_i64_gt_s(&mut self) -> Self::Output {
2019
+ self.check_cmp_op(ValType::I64)
2020
+ }
2021
+ fn visit_i64_gt_u(&mut self) -> Self::Output {
2022
+ self.check_cmp_op(ValType::I64)
2023
+ }
2024
+ fn visit_i64_le_s(&mut self) -> Self::Output {
2025
+ self.check_cmp_op(ValType::I64)
2026
+ }
2027
+ fn visit_i64_le_u(&mut self) -> Self::Output {
2028
+ self.check_cmp_op(ValType::I64)
2029
+ }
2030
+ fn visit_i64_ge_s(&mut self) -> Self::Output {
2031
+ self.check_cmp_op(ValType::I64)
2032
+ }
2033
+ fn visit_i64_ge_u(&mut self) -> Self::Output {
2034
+ self.check_cmp_op(ValType::I64)
2035
+ }
2036
+ fn visit_f32_eq(&mut self) -> Self::Output {
2037
+ self.check_fcmp_op(ValType::F32)
2038
+ }
2039
+ fn visit_f32_ne(&mut self) -> Self::Output {
2040
+ self.check_fcmp_op(ValType::F32)
2041
+ }
2042
+ fn visit_f32_lt(&mut self) -> Self::Output {
2043
+ self.check_fcmp_op(ValType::F32)
2044
+ }
2045
+ fn visit_f32_gt(&mut self) -> Self::Output {
2046
+ self.check_fcmp_op(ValType::F32)
2047
+ }
2048
+ fn visit_f32_le(&mut self) -> Self::Output {
2049
+ self.check_fcmp_op(ValType::F32)
2050
+ }
2051
+ fn visit_f32_ge(&mut self) -> Self::Output {
2052
+ self.check_fcmp_op(ValType::F32)
2053
+ }
2054
+ fn visit_f64_eq(&mut self) -> Self::Output {
2055
+ self.check_fcmp_op(ValType::F64)
2056
+ }
2057
+ fn visit_f64_ne(&mut self) -> Self::Output {
2058
+ self.check_fcmp_op(ValType::F64)
2059
+ }
2060
+ fn visit_f64_lt(&mut self) -> Self::Output {
2061
+ self.check_fcmp_op(ValType::F64)
2062
+ }
2063
+ fn visit_f64_gt(&mut self) -> Self::Output {
2064
+ self.check_fcmp_op(ValType::F64)
2065
+ }
2066
+ fn visit_f64_le(&mut self) -> Self::Output {
2067
+ self.check_fcmp_op(ValType::F64)
2068
+ }
2069
+ fn visit_f64_ge(&mut self) -> Self::Output {
2070
+ self.check_fcmp_op(ValType::F64)
2071
+ }
2072
+ fn visit_i32_clz(&mut self) -> Self::Output {
2073
+ self.check_unary_op(ValType::I32)
2074
+ }
2075
+ fn visit_i32_ctz(&mut self) -> Self::Output {
2076
+ self.check_unary_op(ValType::I32)
2077
+ }
2078
+ fn visit_i32_popcnt(&mut self) -> Self::Output {
2079
+ self.check_unary_op(ValType::I32)
2080
+ }
2081
+ fn visit_i32_add(&mut self) -> Self::Output {
2082
+ self.check_binary_op(ValType::I32)
2083
+ }
2084
+ fn visit_i32_sub(&mut self) -> Self::Output {
2085
+ self.check_binary_op(ValType::I32)
2086
+ }
2087
+ fn visit_i32_mul(&mut self) -> Self::Output {
2088
+ self.check_binary_op(ValType::I32)
2089
+ }
2090
+ fn visit_i32_div_s(&mut self) -> Self::Output {
2091
+ self.check_binary_op(ValType::I32)
2092
+ }
2093
+ fn visit_i32_div_u(&mut self) -> Self::Output {
2094
+ self.check_binary_op(ValType::I32)
2095
+ }
2096
+ fn visit_i32_rem_s(&mut self) -> Self::Output {
2097
+ self.check_binary_op(ValType::I32)
2098
+ }
2099
+ fn visit_i32_rem_u(&mut self) -> Self::Output {
2100
+ self.check_binary_op(ValType::I32)
2101
+ }
2102
+ fn visit_i32_and(&mut self) -> Self::Output {
2103
+ self.check_binary_op(ValType::I32)
2104
+ }
2105
+ fn visit_i32_or(&mut self) -> Self::Output {
2106
+ self.check_binary_op(ValType::I32)
2107
+ }
2108
+ fn visit_i32_xor(&mut self) -> Self::Output {
2109
+ self.check_binary_op(ValType::I32)
2110
+ }
2111
+ fn visit_i32_shl(&mut self) -> Self::Output {
2112
+ self.check_binary_op(ValType::I32)
2113
+ }
2114
+ fn visit_i32_shr_s(&mut self) -> Self::Output {
2115
+ self.check_binary_op(ValType::I32)
2116
+ }
2117
+ fn visit_i32_shr_u(&mut self) -> Self::Output {
2118
+ self.check_binary_op(ValType::I32)
2119
+ }
2120
+ fn visit_i32_rotl(&mut self) -> Self::Output {
2121
+ self.check_binary_op(ValType::I32)
2122
+ }
2123
+ fn visit_i32_rotr(&mut self) -> Self::Output {
2124
+ self.check_binary_op(ValType::I32)
2125
+ }
2126
+ fn visit_i64_clz(&mut self) -> Self::Output {
2127
+ self.check_unary_op(ValType::I64)
2128
+ }
2129
+ fn visit_i64_ctz(&mut self) -> Self::Output {
2130
+ self.check_unary_op(ValType::I64)
2131
+ }
2132
+ fn visit_i64_popcnt(&mut self) -> Self::Output {
2133
+ self.check_unary_op(ValType::I64)
2134
+ }
2135
+ fn visit_i64_add(&mut self) -> Self::Output {
2136
+ self.check_binary_op(ValType::I64)
2137
+ }
2138
+ fn visit_i64_sub(&mut self) -> Self::Output {
2139
+ self.check_binary_op(ValType::I64)
2140
+ }
2141
+ fn visit_i64_mul(&mut self) -> Self::Output {
2142
+ self.check_binary_op(ValType::I64)
2143
+ }
2144
+ fn visit_i64_div_s(&mut self) -> Self::Output {
2145
+ self.check_binary_op(ValType::I64)
2146
+ }
2147
+ fn visit_i64_div_u(&mut self) -> Self::Output {
2148
+ self.check_binary_op(ValType::I64)
2149
+ }
2150
+ fn visit_i64_rem_s(&mut self) -> Self::Output {
2151
+ self.check_binary_op(ValType::I64)
2152
+ }
2153
+ fn visit_i64_rem_u(&mut self) -> Self::Output {
2154
+ self.check_binary_op(ValType::I64)
2155
+ }
2156
+ fn visit_i64_and(&mut self) -> Self::Output {
2157
+ self.check_binary_op(ValType::I64)
2158
+ }
2159
+ fn visit_i64_or(&mut self) -> Self::Output {
2160
+ self.check_binary_op(ValType::I64)
2161
+ }
2162
+ fn visit_i64_xor(&mut self) -> Self::Output {
2163
+ self.check_binary_op(ValType::I64)
2164
+ }
2165
+ fn visit_i64_shl(&mut self) -> Self::Output {
2166
+ self.check_binary_op(ValType::I64)
2167
+ }
2168
+ fn visit_i64_shr_s(&mut self) -> Self::Output {
2169
+ self.check_binary_op(ValType::I64)
2170
+ }
2171
+ fn visit_i64_shr_u(&mut self) -> Self::Output {
2172
+ self.check_binary_op(ValType::I64)
2173
+ }
2174
+ fn visit_i64_rotl(&mut self) -> Self::Output {
2175
+ self.check_binary_op(ValType::I64)
2176
+ }
2177
+ fn visit_i64_rotr(&mut self) -> Self::Output {
2178
+ self.check_binary_op(ValType::I64)
2179
+ }
2180
+ fn visit_f32_abs(&mut self) -> Self::Output {
2181
+ self.check_funary_op(ValType::F32)
2182
+ }
2183
+ fn visit_f32_neg(&mut self) -> Self::Output {
2184
+ self.check_funary_op(ValType::F32)
2185
+ }
2186
+ fn visit_f32_ceil(&mut self) -> Self::Output {
2187
+ self.check_funary_op(ValType::F32)
2188
+ }
2189
+ fn visit_f32_floor(&mut self) -> Self::Output {
2190
+ self.check_funary_op(ValType::F32)
2191
+ }
2192
+ fn visit_f32_trunc(&mut self) -> Self::Output {
2193
+ self.check_funary_op(ValType::F32)
2194
+ }
2195
+ fn visit_f32_nearest(&mut self) -> Self::Output {
2196
+ self.check_funary_op(ValType::F32)
2197
+ }
2198
+ fn visit_f32_sqrt(&mut self) -> Self::Output {
2199
+ self.check_funary_op(ValType::F32)
2200
+ }
2201
+ fn visit_f32_add(&mut self) -> Self::Output {
2202
+ self.check_fbinary_op(ValType::F32)
2203
+ }
2204
+ fn visit_f32_sub(&mut self) -> Self::Output {
2205
+ self.check_fbinary_op(ValType::F32)
2206
+ }
2207
+ fn visit_f32_mul(&mut self) -> Self::Output {
2208
+ self.check_fbinary_op(ValType::F32)
2209
+ }
2210
+ fn visit_f32_div(&mut self) -> Self::Output {
2211
+ self.check_fbinary_op(ValType::F32)
2212
+ }
2213
+ fn visit_f32_min(&mut self) -> Self::Output {
2214
+ self.check_fbinary_op(ValType::F32)
2215
+ }
2216
+ fn visit_f32_max(&mut self) -> Self::Output {
2217
+ self.check_fbinary_op(ValType::F32)
2218
+ }
2219
+ fn visit_f32_copysign(&mut self) -> Self::Output {
2220
+ self.check_fbinary_op(ValType::F32)
2221
+ }
2222
+ fn visit_f64_abs(&mut self) -> Self::Output {
2223
+ self.check_funary_op(ValType::F64)
2224
+ }
2225
+ fn visit_f64_neg(&mut self) -> Self::Output {
2226
+ self.check_funary_op(ValType::F64)
2227
+ }
2228
+ fn visit_f64_ceil(&mut self) -> Self::Output {
2229
+ self.check_funary_op(ValType::F64)
2230
+ }
2231
+ fn visit_f64_floor(&mut self) -> Self::Output {
2232
+ self.check_funary_op(ValType::F64)
2233
+ }
2234
+ fn visit_f64_trunc(&mut self) -> Self::Output {
2235
+ self.check_funary_op(ValType::F64)
2236
+ }
2237
+ fn visit_f64_nearest(&mut self) -> Self::Output {
2238
+ self.check_funary_op(ValType::F64)
2239
+ }
2240
+ fn visit_f64_sqrt(&mut self) -> Self::Output {
2241
+ self.check_funary_op(ValType::F64)
2242
+ }
2243
+ fn visit_f64_add(&mut self) -> Self::Output {
2244
+ self.check_fbinary_op(ValType::F64)
2245
+ }
2246
+ fn visit_f64_sub(&mut self) -> Self::Output {
2247
+ self.check_fbinary_op(ValType::F64)
2248
+ }
2249
+ fn visit_f64_mul(&mut self) -> Self::Output {
2250
+ self.check_fbinary_op(ValType::F64)
2251
+ }
2252
+ fn visit_f64_div(&mut self) -> Self::Output {
2253
+ self.check_fbinary_op(ValType::F64)
2254
+ }
2255
+ fn visit_f64_min(&mut self) -> Self::Output {
2256
+ self.check_fbinary_op(ValType::F64)
2257
+ }
2258
+ fn visit_f64_max(&mut self) -> Self::Output {
2259
+ self.check_fbinary_op(ValType::F64)
2260
+ }
2261
+ fn visit_f64_copysign(&mut self) -> Self::Output {
2262
+ self.check_fbinary_op(ValType::F64)
2263
+ }
2264
+ fn visit_i32_wrap_i64(&mut self) -> Self::Output {
2265
+ self.check_conversion_op(ValType::I32, ValType::I64)
2266
+ }
2267
+ fn visit_i32_trunc_f32_s(&mut self) -> Self::Output {
2268
+ self.check_conversion_op(ValType::I32, ValType::F32)
2269
+ }
2270
+ fn visit_i32_trunc_f32_u(&mut self) -> Self::Output {
2271
+ self.check_conversion_op(ValType::I32, ValType::F32)
2272
+ }
2273
+ fn visit_i32_trunc_f64_s(&mut self) -> Self::Output {
2274
+ self.check_conversion_op(ValType::I32, ValType::F64)
2275
+ }
2276
+ fn visit_i32_trunc_f64_u(&mut self) -> Self::Output {
2277
+ self.check_conversion_op(ValType::I32, ValType::F64)
2278
+ }
2279
+ fn visit_i64_extend_i32_s(&mut self) -> Self::Output {
2280
+ self.check_conversion_op(ValType::I64, ValType::I32)
2281
+ }
2282
+ fn visit_i64_extend_i32_u(&mut self) -> Self::Output {
2283
+ self.check_conversion_op(ValType::I64, ValType::I32)
2284
+ }
2285
+ fn visit_i64_trunc_f32_s(&mut self) -> Self::Output {
2286
+ self.check_conversion_op(ValType::I64, ValType::F32)
2287
+ }
2288
+ fn visit_i64_trunc_f32_u(&mut self) -> Self::Output {
2289
+ self.check_conversion_op(ValType::I64, ValType::F32)
2290
+ }
2291
+ fn visit_i64_trunc_f64_s(&mut self) -> Self::Output {
2292
+ self.check_conversion_op(ValType::I64, ValType::F64)
2293
+ }
2294
+ fn visit_i64_trunc_f64_u(&mut self) -> Self::Output {
2295
+ self.check_conversion_op(ValType::I64, ValType::F64)
2296
+ }
2297
+ fn visit_f32_convert_i32_s(&mut self) -> Self::Output {
2298
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2299
+ }
2300
+ fn visit_f32_convert_i32_u(&mut self) -> Self::Output {
2301
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2302
+ }
2303
+ fn visit_f32_convert_i64_s(&mut self) -> Self::Output {
2304
+ self.check_fconversion_op(ValType::F32, ValType::I64)
2305
+ }
2306
+ fn visit_f32_convert_i64_u(&mut self) -> Self::Output {
2307
+ self.check_fconversion_op(ValType::F32, ValType::I64)
2308
+ }
2309
+ fn visit_f32_demote_f64(&mut self) -> Self::Output {
2310
+ self.check_fconversion_op(ValType::F32, ValType::F64)
2311
+ }
2312
+ fn visit_f64_convert_i32_s(&mut self) -> Self::Output {
2313
+ self.check_fconversion_op(ValType::F64, ValType::I32)
2314
+ }
2315
+ fn visit_f64_convert_i32_u(&mut self) -> Self::Output {
2316
+ self.check_fconversion_op(ValType::F64, ValType::I32)
2317
+ }
2318
+ fn visit_f64_convert_i64_s(&mut self) -> Self::Output {
2319
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2320
+ }
2321
+ fn visit_f64_convert_i64_u(&mut self) -> Self::Output {
2322
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2323
+ }
2324
+ fn visit_f64_promote_f32(&mut self) -> Self::Output {
2325
+ self.check_fconversion_op(ValType::F64, ValType::F32)
2326
+ }
2327
+ fn visit_i32_reinterpret_f32(&mut self) -> Self::Output {
2328
+ self.check_conversion_op(ValType::I32, ValType::F32)
2329
+ }
2330
+ fn visit_i64_reinterpret_f64(&mut self) -> Self::Output {
2331
+ self.check_conversion_op(ValType::I64, ValType::F64)
2332
+ }
2333
+ fn visit_f32_reinterpret_i32(&mut self) -> Self::Output {
2334
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2335
+ }
2336
+ fn visit_f64_reinterpret_i64(&mut self) -> Self::Output {
2337
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2338
+ }
2339
+ fn visit_i32_trunc_sat_f32_s(&mut self) -> Self::Output {
2340
+ self.check_conversion_op(ValType::I32, ValType::F32)
2341
+ }
2342
+ fn visit_i32_trunc_sat_f32_u(&mut self) -> Self::Output {
2343
+ self.check_conversion_op(ValType::I32, ValType::F32)
2344
+ }
2345
+ fn visit_i32_trunc_sat_f64_s(&mut self) -> Self::Output {
2346
+ self.check_conversion_op(ValType::I32, ValType::F64)
2347
+ }
2348
+ fn visit_i32_trunc_sat_f64_u(&mut self) -> Self::Output {
2349
+ self.check_conversion_op(ValType::I32, ValType::F64)
2350
+ }
2351
+ fn visit_i64_trunc_sat_f32_s(&mut self) -> Self::Output {
2352
+ self.check_conversion_op(ValType::I64, ValType::F32)
2353
+ }
2354
+ fn visit_i64_trunc_sat_f32_u(&mut self) -> Self::Output {
2355
+ self.check_conversion_op(ValType::I64, ValType::F32)
2356
+ }
2357
+ fn visit_i64_trunc_sat_f64_s(&mut self) -> Self::Output {
2358
+ self.check_conversion_op(ValType::I64, ValType::F64)
2359
+ }
2360
+ fn visit_i64_trunc_sat_f64_u(&mut self) -> Self::Output {
2361
+ self.check_conversion_op(ValType::I64, ValType::F64)
2362
+ }
2363
+ fn visit_i32_extend8_s(&mut self) -> Self::Output {
2364
+ self.check_unary_op(ValType::I32)
2365
+ }
2366
+ fn visit_i32_extend16_s(&mut self) -> Self::Output {
2367
+ self.check_unary_op(ValType::I32)
2368
+ }
2369
+ fn visit_i64_extend8_s(&mut self) -> Self::Output {
2370
+ self.check_unary_op(ValType::I64)
2371
+ }
2372
+ fn visit_i64_extend16_s(&mut self) -> Self::Output {
2373
+ self.check_unary_op(ValType::I64)
2374
+ }
2375
+ fn visit_i64_extend32_s(&mut self) -> Self::Output {
2376
+ self.check_unary_op(ValType::I64)
2377
+ }
2378
+ fn visit_i32_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
2379
+ self.check_atomic_load(memarg, ValType::I32)
2380
+ }
2381
+ fn visit_i32_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
2382
+ self.check_atomic_load(memarg, ValType::I32)
2383
+ }
2384
+ fn visit_i32_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
2385
+ self.check_atomic_load(memarg, ValType::I32)
2386
+ }
2387
+ fn visit_i64_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
2388
+ self.check_atomic_load(memarg, ValType::I64)
2389
+ }
2390
+ fn visit_i64_atomic_load32_u(&mut self, memarg: MemArg) -> Self::Output {
2391
+ self.check_atomic_load(memarg, ValType::I64)
2392
+ }
2393
+ fn visit_i64_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
2394
+ self.check_atomic_load(memarg, ValType::I64)
2395
+ }
2396
+ fn visit_i64_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
2397
+ self.check_atomic_load(memarg, ValType::I64)
2398
+ }
2399
+ fn visit_i32_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
2400
+ self.check_atomic_store(memarg, ValType::I32)
2401
+ }
2402
+ fn visit_i32_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
2403
+ self.check_atomic_store(memarg, ValType::I32)
2404
+ }
2405
+ fn visit_i32_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
2406
+ self.check_atomic_store(memarg, ValType::I32)
2407
+ }
2408
+ fn visit_i64_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
2409
+ self.check_atomic_store(memarg, ValType::I64)
2410
+ }
2411
+ fn visit_i64_atomic_store32(&mut self, memarg: MemArg) -> Self::Output {
2412
+ self.check_atomic_store(memarg, ValType::I64)
2413
+ }
2414
+ fn visit_i64_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
2415
+ self.check_atomic_store(memarg, ValType::I64)
2416
+ }
2417
+ fn visit_i64_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
2418
+ self.check_atomic_store(memarg, ValType::I64)
2419
+ }
2420
+ fn visit_i32_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
2421
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2422
+ }
2423
+ fn visit_i32_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
2424
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2425
+ }
2426
+ fn visit_i32_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
2427
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2428
+ }
2429
+ fn visit_i32_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
2430
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2431
+ }
2432
+ fn visit_i32_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
2433
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2434
+ }
2435
+ fn visit_i32_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
2436
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2437
+ }
2438
+ fn visit_i32_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2439
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2440
+ }
2441
+ fn visit_i32_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
2442
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2443
+ }
2444
+ fn visit_i32_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
2445
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2446
+ }
2447
+ fn visit_i32_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2448
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2449
+ }
2450
+ fn visit_i32_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
2451
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2452
+ }
2453
+ fn visit_i32_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2454
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2455
+ }
2456
+ fn visit_i32_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
2457
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2458
+ }
2459
+ fn visit_i32_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
2460
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2461
+ }
2462
+ fn visit_i32_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2463
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2464
+ }
2465
+ fn visit_i64_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
2466
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2467
+ }
2468
+ fn visit_i64_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
2469
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2470
+ }
2471
+ fn visit_i64_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
2472
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2473
+ }
2474
+ fn visit_i64_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
2475
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2476
+ }
2477
+ fn visit_i64_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
2478
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2479
+ }
2480
+ fn visit_i64_atomic_rmw32_add_u(&mut self, memarg: MemArg) -> Self::Output {
2481
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2482
+ }
2483
+ fn visit_i64_atomic_rmw32_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2484
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2485
+ }
2486
+ fn visit_i64_atomic_rmw32_and_u(&mut self, memarg: MemArg) -> Self::Output {
2487
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2488
+ }
2489
+ fn visit_i64_atomic_rmw32_or_u(&mut self, memarg: MemArg) -> Self::Output {
2490
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2491
+ }
2492
+ fn visit_i64_atomic_rmw32_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2493
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2494
+ }
2495
+ fn visit_i64_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
2496
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2497
+ }
2498
+ fn visit_i64_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2499
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2500
+ }
2501
+ fn visit_i64_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
2502
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2503
+ }
2504
+ fn visit_i64_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
2505
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2506
+ }
2507
+ fn visit_i64_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2508
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2509
+ }
2510
+ fn visit_i64_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
2511
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2512
+ }
2513
+ fn visit_i64_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2514
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2515
+ }
2516
+ fn visit_i64_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
2517
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2518
+ }
2519
+ fn visit_i64_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
2520
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2521
+ }
2522
+ fn visit_i64_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2523
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2524
+ }
2525
+ fn visit_i32_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
2526
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2527
+ }
2528
+ fn visit_i32_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2529
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2530
+ }
2531
+ fn visit_i32_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2532
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2533
+ }
2534
+ fn visit_i32_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
2535
+ self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I32)
2536
+ }
2537
+ fn visit_i32_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2538
+ self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I32)
2539
+ }
2540
+ fn visit_i32_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2541
+ self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I32)
2542
+ }
2543
+ fn visit_i64_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
2544
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2545
+ }
2546
+ fn visit_i64_atomic_rmw32_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2547
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2548
+ }
2549
+ fn visit_i64_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2550
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2551
+ }
2552
+ fn visit_i64_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2553
+ self.check_atomic_binary_memory_op(memarg, ValType::I64)
2554
+ }
2555
+ fn visit_i64_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
2556
+ self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
2557
+ }
2558
+ fn visit_i64_atomic_rmw32_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2559
+ self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
2560
+ }
2561
+ fn visit_i64_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2562
+ self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
2563
+ }
2564
+ fn visit_i64_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2565
+ self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
2566
+ }
2567
+ fn visit_memory_atomic_notify(&mut self, memarg: MemArg) -> Self::Output {
2568
+ self.check_atomic_binary_memory_op(memarg, ValType::I32)
2569
+ }
2570
+ fn visit_memory_atomic_wait32(&mut self, memarg: MemArg) -> Self::Output {
2571
+ let ty = self.check_shared_memarg(memarg)?;
2572
+ self.pop_operand(Some(ValType::I64))?;
2573
+ self.pop_operand(Some(ValType::I32))?;
2574
+ self.pop_operand(Some(ty))?;
2575
+ self.push_operand(ValType::I32)?;
2576
+ Ok(())
2577
+ }
2578
+ fn visit_memory_atomic_wait64(&mut self, memarg: MemArg) -> Self::Output {
2579
+ let ty = self.check_shared_memarg(memarg)?;
2580
+ self.pop_operand(Some(ValType::I64))?;
2581
+ self.pop_operand(Some(ValType::I64))?;
2582
+ self.pop_operand(Some(ty))?;
2583
+ self.push_operand(ValType::I32)?;
2584
+ Ok(())
2585
+ }
2586
+ fn visit_atomic_fence(&mut self) -> Self::Output {
2587
+ Ok(())
2588
+ }
2589
+ fn visit_ref_null(&mut self, mut heap_type: HeapType) -> Self::Output {
2590
+ if let Some(ty) = RefType::new(true, heap_type) {
2591
+ self.features
2592
+ .check_ref_type(ty)
2593
+ .map_err(|e| BinaryReaderError::new(e, self.offset))?;
2594
+ }
2595
+ self.resources
2596
+ .check_heap_type(&mut heap_type, self.offset)?;
2597
+ let ty = ValType::Ref(
2598
+ RefType::new(true, heap_type).expect("existing heap types should be within our limits"),
2599
+ );
2600
+ self.push_operand(ty)?;
2601
+ Ok(())
2602
+ }
2603
+
2604
+ fn visit_ref_as_non_null(&mut self) -> Self::Output {
2605
+ let ty = match self.pop_ref()? {
2606
+ Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
2607
+ None => MaybeType::HeapBot,
2608
+ };
2609
+ self.push_operand(ty)?;
2610
+ Ok(())
2611
+ }
2612
+ fn visit_br_on_null(&mut self, relative_depth: u32) -> Self::Output {
2613
+ let ref_ty = match self.pop_ref()? {
2614
+ None => MaybeType::HeapBot,
2615
+ Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
2616
+ };
2617
+ let (ft, kind) = self.jump(relative_depth)?;
2618
+ let label_types = self.label_types(ft, kind)?;
2619
+ self.pop_push_label_types(label_types)?;
2620
+ self.push_operand(ref_ty)?;
2621
+ Ok(())
2622
+ }
2623
+ fn visit_br_on_non_null(&mut self, relative_depth: u32) -> Self::Output {
2624
+ let ty = self.pop_ref()?;
2625
+ let (ft, kind) = self.jump(relative_depth)?;
2626
+
2627
+ let mut label_types = self.label_types(ft, kind)?;
2628
+ match (label_types.next_back(), ty) {
2629
+ (None, _) => bail!(
2630
+ self.offset,
2631
+ "type mismatch: br_on_non_null target has no label types",
2632
+ ),
2633
+ (Some(ValType::Ref(_)), None) => {}
2634
+ (Some(rt1 @ ValType::Ref(_)), Some(rt0)) => {
2635
+ // Switch rt0, our popped type, to a non-nullable type and
2636
+ // perform the match because if the branch is taken it's a
2637
+ // non-null value.
2638
+ let ty = rt0.as_non_null();
2639
+ if !self.resources.is_subtype(ty.into(), rt1) {
2640
+ bail!(
2641
+ self.offset,
2642
+ "type mismatch: expected {} but found {}",
2643
+ ty_to_str(rt0.into()),
2644
+ ty_to_str(rt1)
2645
+ )
2646
+ }
2647
+ }
2648
+ (Some(_), _) => bail!(
2649
+ self.offset,
2650
+ "type mismatch: br_on_non_null target does not end with heap type",
2651
+ ),
2652
+ }
2653
+
2654
+ self.pop_push_label_types(label_types)?;
2655
+ Ok(())
2656
+ }
2657
+ fn visit_ref_is_null(&mut self) -> Self::Output {
2658
+ self.pop_ref()?;
2659
+ self.push_operand(ValType::I32)?;
2660
+ Ok(())
2661
+ }
2662
+ fn visit_ref_func(&mut self, function_index: u32) -> Self::Output {
2663
+ let type_id = match self.resources.type_id_of_function(function_index) {
2664
+ Some(id) => id,
2665
+ None => bail!(
2666
+ self.offset,
2667
+ "unknown function {}: function index out of bounds",
2668
+ function_index,
2669
+ ),
2670
+ };
2671
+ if !self.resources.is_function_referenced(function_index) {
2672
+ bail!(self.offset, "undeclared function reference");
2673
+ }
2674
+
2675
+ let index = UnpackedIndex::Id(type_id);
2676
+ let ty = ValType::Ref(
2677
+ RefType::new(false, HeapType::Concrete(index)).ok_or_else(|| {
2678
+ BinaryReaderError::new("implementation limit: type index too large", self.offset)
2679
+ })?,
2680
+ );
2681
+ self.push_operand(ty)?;
2682
+ Ok(())
2683
+ }
2684
+ fn visit_ref_eq(&mut self) -> Self::Output {
2685
+ self.pop_operand(Some(RefType::EQ.nullable().into()))?;
2686
+ self.pop_operand(Some(RefType::EQ.nullable().into()))?;
2687
+ self.push_operand(ValType::I32)
2688
+ }
2689
+ fn visit_v128_load(&mut self, memarg: MemArg) -> Self::Output {
2690
+ let ty = self.check_memarg(memarg)?;
2691
+ self.pop_operand(Some(ty))?;
2692
+ self.push_operand(ValType::V128)?;
2693
+ Ok(())
2694
+ }
2695
+ fn visit_v128_store(&mut self, memarg: MemArg) -> Self::Output {
2696
+ let ty = self.check_memarg(memarg)?;
2697
+ self.pop_operand(Some(ValType::V128))?;
2698
+ self.pop_operand(Some(ty))?;
2699
+ Ok(())
2700
+ }
2701
+ fn visit_v128_const(&mut self, _value: V128) -> Self::Output {
2702
+ self.push_operand(ValType::V128)?;
2703
+ Ok(())
2704
+ }
2705
+ fn visit_i8x16_splat(&mut self) -> Self::Output {
2706
+ self.check_v128_splat(ValType::I32)
2707
+ }
2708
+ fn visit_i16x8_splat(&mut self) -> Self::Output {
2709
+ self.check_v128_splat(ValType::I32)
2710
+ }
2711
+ fn visit_i32x4_splat(&mut self) -> Self::Output {
2712
+ self.check_v128_splat(ValType::I32)
2713
+ }
2714
+ fn visit_i64x2_splat(&mut self) -> Self::Output {
2715
+ self.check_v128_splat(ValType::I64)
2716
+ }
2717
+ fn visit_f32x4_splat(&mut self) -> Self::Output {
2718
+ self.check_floats_enabled()?;
2719
+ self.check_v128_splat(ValType::F32)
2720
+ }
2721
+ fn visit_f64x2_splat(&mut self) -> Self::Output {
2722
+ self.check_floats_enabled()?;
2723
+ self.check_v128_splat(ValType::F64)
2724
+ }
2725
+ fn visit_i8x16_extract_lane_s(&mut self, lane: u8) -> Self::Output {
2726
+ self.check_simd_lane_index(lane, 16)?;
2727
+ self.pop_operand(Some(ValType::V128))?;
2728
+ self.push_operand(ValType::I32)?;
2729
+ Ok(())
2730
+ }
2731
+ fn visit_i8x16_extract_lane_u(&mut self, lane: u8) -> Self::Output {
2732
+ self.visit_i8x16_extract_lane_s(lane)
2733
+ }
2734
+ fn visit_i16x8_extract_lane_s(&mut self, lane: u8) -> Self::Output {
2735
+ self.check_simd_lane_index(lane, 8)?;
2736
+ self.pop_operand(Some(ValType::V128))?;
2737
+ self.push_operand(ValType::I32)?;
2738
+ Ok(())
2739
+ }
2740
+ fn visit_i16x8_extract_lane_u(&mut self, lane: u8) -> Self::Output {
2741
+ self.visit_i16x8_extract_lane_s(lane)
2742
+ }
2743
+ fn visit_i32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
2744
+ self.check_simd_lane_index(lane, 4)?;
2745
+ self.pop_operand(Some(ValType::V128))?;
2746
+ self.push_operand(ValType::I32)?;
2747
+ Ok(())
2748
+ }
2749
+ fn visit_i8x16_replace_lane(&mut self, lane: u8) -> Self::Output {
2750
+ self.check_simd_lane_index(lane, 16)?;
2751
+ self.pop_operand(Some(ValType::I32))?;
2752
+ self.pop_operand(Some(ValType::V128))?;
2753
+ self.push_operand(ValType::V128)?;
2754
+ Ok(())
2755
+ }
2756
+ fn visit_i16x8_replace_lane(&mut self, lane: u8) -> Self::Output {
2757
+ self.check_simd_lane_index(lane, 8)?;
2758
+ self.pop_operand(Some(ValType::I32))?;
2759
+ self.pop_operand(Some(ValType::V128))?;
2760
+ self.push_operand(ValType::V128)?;
2761
+ Ok(())
2762
+ }
2763
+ fn visit_i32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
2764
+ self.check_simd_lane_index(lane, 4)?;
2765
+ self.pop_operand(Some(ValType::I32))?;
2766
+ self.pop_operand(Some(ValType::V128))?;
2767
+ self.push_operand(ValType::V128)?;
2768
+ Ok(())
2769
+ }
2770
+ fn visit_i64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
2771
+ self.check_simd_lane_index(lane, 2)?;
2772
+ self.pop_operand(Some(ValType::V128))?;
2773
+ self.push_operand(ValType::I64)?;
2774
+ Ok(())
2775
+ }
2776
+ fn visit_i64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
2777
+ self.check_simd_lane_index(lane, 2)?;
2778
+ self.pop_operand(Some(ValType::I64))?;
2779
+ self.pop_operand(Some(ValType::V128))?;
2780
+ self.push_operand(ValType::V128)?;
2781
+ Ok(())
2782
+ }
2783
+ fn visit_f32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
2784
+ self.check_floats_enabled()?;
2785
+ self.check_simd_lane_index(lane, 4)?;
2786
+ self.pop_operand(Some(ValType::V128))?;
2787
+ self.push_operand(ValType::F32)?;
2788
+ Ok(())
2789
+ }
2790
+ fn visit_f32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
2791
+ self.check_floats_enabled()?;
2792
+ self.check_simd_lane_index(lane, 4)?;
2793
+ self.pop_operand(Some(ValType::F32))?;
2794
+ self.pop_operand(Some(ValType::V128))?;
2795
+ self.push_operand(ValType::V128)?;
2796
+ Ok(())
2797
+ }
2798
+ fn visit_f64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
2799
+ self.check_floats_enabled()?;
2800
+ self.check_simd_lane_index(lane, 2)?;
2801
+ self.pop_operand(Some(ValType::V128))?;
2802
+ self.push_operand(ValType::F64)?;
2803
+ Ok(())
2804
+ }
2805
+ fn visit_f64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
2806
+ self.check_floats_enabled()?;
2807
+ self.check_simd_lane_index(lane, 2)?;
2808
+ self.pop_operand(Some(ValType::F64))?;
2809
+ self.pop_operand(Some(ValType::V128))?;
2810
+ self.push_operand(ValType::V128)?;
2811
+ Ok(())
2812
+ }
2813
+ fn visit_f32x4_eq(&mut self) -> Self::Output {
2814
+ self.check_v128_fbinary_op()
2815
+ }
2816
+ fn visit_f32x4_ne(&mut self) -> Self::Output {
2817
+ self.check_v128_fbinary_op()
2818
+ }
2819
+ fn visit_f32x4_lt(&mut self) -> Self::Output {
2820
+ self.check_v128_fbinary_op()
2821
+ }
2822
+ fn visit_f32x4_gt(&mut self) -> Self::Output {
2823
+ self.check_v128_fbinary_op()
2824
+ }
2825
+ fn visit_f32x4_le(&mut self) -> Self::Output {
2826
+ self.check_v128_fbinary_op()
2827
+ }
2828
+ fn visit_f32x4_ge(&mut self) -> Self::Output {
2829
+ self.check_v128_fbinary_op()
2830
+ }
2831
+ fn visit_f64x2_eq(&mut self) -> Self::Output {
2832
+ self.check_v128_fbinary_op()
2833
+ }
2834
+ fn visit_f64x2_ne(&mut self) -> Self::Output {
2835
+ self.check_v128_fbinary_op()
2836
+ }
2837
+ fn visit_f64x2_lt(&mut self) -> Self::Output {
2838
+ self.check_v128_fbinary_op()
2839
+ }
2840
+ fn visit_f64x2_gt(&mut self) -> Self::Output {
2841
+ self.check_v128_fbinary_op()
2842
+ }
2843
+ fn visit_f64x2_le(&mut self) -> Self::Output {
2844
+ self.check_v128_fbinary_op()
2845
+ }
2846
+ fn visit_f64x2_ge(&mut self) -> Self::Output {
2847
+ self.check_v128_fbinary_op()
2848
+ }
2849
+ fn visit_f32x4_add(&mut self) -> Self::Output {
2850
+ self.check_v128_fbinary_op()
2851
+ }
2852
+ fn visit_f32x4_sub(&mut self) -> Self::Output {
2853
+ self.check_v128_fbinary_op()
2854
+ }
2855
+ fn visit_f32x4_mul(&mut self) -> Self::Output {
2856
+ self.check_v128_fbinary_op()
2857
+ }
2858
+ fn visit_f32x4_div(&mut self) -> Self::Output {
2859
+ self.check_v128_fbinary_op()
2860
+ }
2861
+ fn visit_f32x4_min(&mut self) -> Self::Output {
2862
+ self.check_v128_fbinary_op()
2863
+ }
2864
+ fn visit_f32x4_max(&mut self) -> Self::Output {
2865
+ self.check_v128_fbinary_op()
2866
+ }
2867
+ fn visit_f32x4_pmin(&mut self) -> Self::Output {
2868
+ self.check_v128_fbinary_op()
2869
+ }
2870
+ fn visit_f32x4_pmax(&mut self) -> Self::Output {
2871
+ self.check_v128_fbinary_op()
2872
+ }
2873
+ fn visit_f64x2_add(&mut self) -> Self::Output {
2874
+ self.check_v128_fbinary_op()
2875
+ }
2876
+ fn visit_f64x2_sub(&mut self) -> Self::Output {
2877
+ self.check_v128_fbinary_op()
2878
+ }
2879
+ fn visit_f64x2_mul(&mut self) -> Self::Output {
2880
+ self.check_v128_fbinary_op()
2881
+ }
2882
+ fn visit_f64x2_div(&mut self) -> Self::Output {
2883
+ self.check_v128_fbinary_op()
2884
+ }
2885
+ fn visit_f64x2_min(&mut self) -> Self::Output {
2886
+ self.check_v128_fbinary_op()
2887
+ }
2888
+ fn visit_f64x2_max(&mut self) -> Self::Output {
2889
+ self.check_v128_fbinary_op()
2890
+ }
2891
+ fn visit_f64x2_pmin(&mut self) -> Self::Output {
2892
+ self.check_v128_fbinary_op()
2893
+ }
2894
+ fn visit_f64x2_pmax(&mut self) -> Self::Output {
2895
+ self.check_v128_fbinary_op()
2896
+ }
2897
+ fn visit_i8x16_eq(&mut self) -> Self::Output {
2898
+ self.check_v128_binary_op()
2899
+ }
2900
+ fn visit_i8x16_ne(&mut self) -> Self::Output {
2901
+ self.check_v128_binary_op()
2902
+ }
2903
+ fn visit_i8x16_lt_s(&mut self) -> Self::Output {
2904
+ self.check_v128_binary_op()
2905
+ }
2906
+ fn visit_i8x16_lt_u(&mut self) -> Self::Output {
2907
+ self.check_v128_binary_op()
2908
+ }
2909
+ fn visit_i8x16_gt_s(&mut self) -> Self::Output {
2910
+ self.check_v128_binary_op()
2911
+ }
2912
+ fn visit_i8x16_gt_u(&mut self) -> Self::Output {
2913
+ self.check_v128_binary_op()
2914
+ }
2915
+ fn visit_i8x16_le_s(&mut self) -> Self::Output {
2916
+ self.check_v128_binary_op()
2917
+ }
2918
+ fn visit_i8x16_le_u(&mut self) -> Self::Output {
2919
+ self.check_v128_binary_op()
2920
+ }
2921
+ fn visit_i8x16_ge_s(&mut self) -> Self::Output {
2922
+ self.check_v128_binary_op()
2923
+ }
2924
+ fn visit_i8x16_ge_u(&mut self) -> Self::Output {
2925
+ self.check_v128_binary_op()
2926
+ }
2927
+ fn visit_i16x8_eq(&mut self) -> Self::Output {
2928
+ self.check_v128_binary_op()
2929
+ }
2930
+ fn visit_i16x8_ne(&mut self) -> Self::Output {
2931
+ self.check_v128_binary_op()
2932
+ }
2933
+ fn visit_i16x8_lt_s(&mut self) -> Self::Output {
2934
+ self.check_v128_binary_op()
2935
+ }
2936
+ fn visit_i16x8_lt_u(&mut self) -> Self::Output {
2937
+ self.check_v128_binary_op()
2938
+ }
2939
+ fn visit_i16x8_gt_s(&mut self) -> Self::Output {
2940
+ self.check_v128_binary_op()
2941
+ }
2942
+ fn visit_i16x8_gt_u(&mut self) -> Self::Output {
2943
+ self.check_v128_binary_op()
2944
+ }
2945
+ fn visit_i16x8_le_s(&mut self) -> Self::Output {
2946
+ self.check_v128_binary_op()
2947
+ }
2948
+ fn visit_i16x8_le_u(&mut self) -> Self::Output {
2949
+ self.check_v128_binary_op()
2950
+ }
2951
+ fn visit_i16x8_ge_s(&mut self) -> Self::Output {
2952
+ self.check_v128_binary_op()
2953
+ }
2954
+ fn visit_i16x8_ge_u(&mut self) -> Self::Output {
2955
+ self.check_v128_binary_op()
2956
+ }
2957
+ fn visit_i32x4_eq(&mut self) -> Self::Output {
2958
+ self.check_v128_binary_op()
2959
+ }
2960
+ fn visit_i32x4_ne(&mut self) -> Self::Output {
2961
+ self.check_v128_binary_op()
2962
+ }
2963
+ fn visit_i32x4_lt_s(&mut self) -> Self::Output {
2964
+ self.check_v128_binary_op()
2965
+ }
2966
+ fn visit_i32x4_lt_u(&mut self) -> Self::Output {
2967
+ self.check_v128_binary_op()
2968
+ }
2969
+ fn visit_i32x4_gt_s(&mut self) -> Self::Output {
2970
+ self.check_v128_binary_op()
2971
+ }
2972
+ fn visit_i32x4_gt_u(&mut self) -> Self::Output {
2973
+ self.check_v128_binary_op()
2974
+ }
2975
+ fn visit_i32x4_le_s(&mut self) -> Self::Output {
2976
+ self.check_v128_binary_op()
2977
+ }
2978
+ fn visit_i32x4_le_u(&mut self) -> Self::Output {
2979
+ self.check_v128_binary_op()
2980
+ }
2981
+ fn visit_i32x4_ge_s(&mut self) -> Self::Output {
2982
+ self.check_v128_binary_op()
2983
+ }
2984
+ fn visit_i32x4_ge_u(&mut self) -> Self::Output {
2985
+ self.check_v128_binary_op()
2986
+ }
2987
+ fn visit_i64x2_eq(&mut self) -> Self::Output {
2988
+ self.check_v128_binary_op()
2989
+ }
2990
+ fn visit_i64x2_ne(&mut self) -> Self::Output {
2991
+ self.check_v128_binary_op()
2992
+ }
2993
+ fn visit_i64x2_lt_s(&mut self) -> Self::Output {
2994
+ self.check_v128_binary_op()
2995
+ }
2996
+ fn visit_i64x2_gt_s(&mut self) -> Self::Output {
2997
+ self.check_v128_binary_op()
2998
+ }
2999
+ fn visit_i64x2_le_s(&mut self) -> Self::Output {
3000
+ self.check_v128_binary_op()
3001
+ }
3002
+ fn visit_i64x2_ge_s(&mut self) -> Self::Output {
3003
+ self.check_v128_binary_op()
3004
+ }
3005
+ fn visit_v128_and(&mut self) -> Self::Output {
3006
+ self.check_v128_binary_op()
3007
+ }
3008
+ fn visit_v128_andnot(&mut self) -> Self::Output {
3009
+ self.check_v128_binary_op()
3010
+ }
3011
+ fn visit_v128_or(&mut self) -> Self::Output {
3012
+ self.check_v128_binary_op()
3013
+ }
3014
+ fn visit_v128_xor(&mut self) -> Self::Output {
3015
+ self.check_v128_binary_op()
3016
+ }
3017
+ fn visit_i8x16_add(&mut self) -> Self::Output {
3018
+ self.check_v128_binary_op()
3019
+ }
3020
+ fn visit_i8x16_add_sat_s(&mut self) -> Self::Output {
3021
+ self.check_v128_binary_op()
3022
+ }
3023
+ fn visit_i8x16_add_sat_u(&mut self) -> Self::Output {
3024
+ self.check_v128_binary_op()
3025
+ }
3026
+ fn visit_i8x16_sub(&mut self) -> Self::Output {
3027
+ self.check_v128_binary_op()
3028
+ }
3029
+ fn visit_i8x16_sub_sat_s(&mut self) -> Self::Output {
3030
+ self.check_v128_binary_op()
3031
+ }
3032
+ fn visit_i8x16_sub_sat_u(&mut self) -> Self::Output {
3033
+ self.check_v128_binary_op()
3034
+ }
3035
+ fn visit_i8x16_min_s(&mut self) -> Self::Output {
3036
+ self.check_v128_binary_op()
3037
+ }
3038
+ fn visit_i8x16_min_u(&mut self) -> Self::Output {
3039
+ self.check_v128_binary_op()
3040
+ }
3041
+ fn visit_i8x16_max_s(&mut self) -> Self::Output {
3042
+ self.check_v128_binary_op()
3043
+ }
3044
+ fn visit_i8x16_max_u(&mut self) -> Self::Output {
3045
+ self.check_v128_binary_op()
3046
+ }
3047
+ fn visit_i16x8_add(&mut self) -> Self::Output {
3048
+ self.check_v128_binary_op()
3049
+ }
3050
+ fn visit_i16x8_add_sat_s(&mut self) -> Self::Output {
3051
+ self.check_v128_binary_op()
3052
+ }
3053
+ fn visit_i16x8_add_sat_u(&mut self) -> Self::Output {
3054
+ self.check_v128_binary_op()
3055
+ }
3056
+ fn visit_i16x8_sub(&mut self) -> Self::Output {
3057
+ self.check_v128_binary_op()
3058
+ }
3059
+ fn visit_i16x8_sub_sat_s(&mut self) -> Self::Output {
3060
+ self.check_v128_binary_op()
3061
+ }
3062
+ fn visit_i16x8_sub_sat_u(&mut self) -> Self::Output {
3063
+ self.check_v128_binary_op()
3064
+ }
3065
+ fn visit_i16x8_mul(&mut self) -> Self::Output {
3066
+ self.check_v128_binary_op()
3067
+ }
3068
+ fn visit_i16x8_min_s(&mut self) -> Self::Output {
3069
+ self.check_v128_binary_op()
3070
+ }
3071
+ fn visit_i16x8_min_u(&mut self) -> Self::Output {
3072
+ self.check_v128_binary_op()
3073
+ }
3074
+ fn visit_i16x8_max_s(&mut self) -> Self::Output {
3075
+ self.check_v128_binary_op()
3076
+ }
3077
+ fn visit_i16x8_max_u(&mut self) -> Self::Output {
3078
+ self.check_v128_binary_op()
3079
+ }
3080
+ fn visit_i32x4_add(&mut self) -> Self::Output {
3081
+ self.check_v128_binary_op()
3082
+ }
3083
+ fn visit_i32x4_sub(&mut self) -> Self::Output {
3084
+ self.check_v128_binary_op()
3085
+ }
3086
+ fn visit_i32x4_mul(&mut self) -> Self::Output {
3087
+ self.check_v128_binary_op()
3088
+ }
3089
+ fn visit_i32x4_min_s(&mut self) -> Self::Output {
3090
+ self.check_v128_binary_op()
3091
+ }
3092
+ fn visit_i32x4_min_u(&mut self) -> Self::Output {
3093
+ self.check_v128_binary_op()
3094
+ }
3095
+ fn visit_i32x4_max_s(&mut self) -> Self::Output {
3096
+ self.check_v128_binary_op()
3097
+ }
3098
+ fn visit_i32x4_max_u(&mut self) -> Self::Output {
3099
+ self.check_v128_binary_op()
3100
+ }
3101
+ fn visit_i32x4_dot_i16x8_s(&mut self) -> Self::Output {
3102
+ self.check_v128_binary_op()
3103
+ }
3104
+ fn visit_i64x2_add(&mut self) -> Self::Output {
3105
+ self.check_v128_binary_op()
3106
+ }
3107
+ fn visit_i64x2_sub(&mut self) -> Self::Output {
3108
+ self.check_v128_binary_op()
3109
+ }
3110
+ fn visit_i64x2_mul(&mut self) -> Self::Output {
3111
+ self.check_v128_binary_op()
3112
+ }
3113
+ fn visit_i8x16_avgr_u(&mut self) -> Self::Output {
3114
+ self.check_v128_binary_op()
3115
+ }
3116
+ fn visit_i16x8_avgr_u(&mut self) -> Self::Output {
3117
+ self.check_v128_binary_op()
3118
+ }
3119
+ fn visit_i8x16_narrow_i16x8_s(&mut self) -> Self::Output {
3120
+ self.check_v128_binary_op()
3121
+ }
3122
+ fn visit_i8x16_narrow_i16x8_u(&mut self) -> Self::Output {
3123
+ self.check_v128_binary_op()
3124
+ }
3125
+ fn visit_i16x8_narrow_i32x4_s(&mut self) -> Self::Output {
3126
+ self.check_v128_binary_op()
3127
+ }
3128
+ fn visit_i16x8_narrow_i32x4_u(&mut self) -> Self::Output {
3129
+ self.check_v128_binary_op()
3130
+ }
3131
+ fn visit_i16x8_extmul_low_i8x16_s(&mut self) -> Self::Output {
3132
+ self.check_v128_binary_op()
3133
+ }
3134
+ fn visit_i16x8_extmul_high_i8x16_s(&mut self) -> Self::Output {
3135
+ self.check_v128_binary_op()
3136
+ }
3137
+ fn visit_i16x8_extmul_low_i8x16_u(&mut self) -> Self::Output {
3138
+ self.check_v128_binary_op()
3139
+ }
3140
+ fn visit_i16x8_extmul_high_i8x16_u(&mut self) -> Self::Output {
3141
+ self.check_v128_binary_op()
3142
+ }
3143
+ fn visit_i32x4_extmul_low_i16x8_s(&mut self) -> Self::Output {
3144
+ self.check_v128_binary_op()
3145
+ }
3146
+ fn visit_i32x4_extmul_high_i16x8_s(&mut self) -> Self::Output {
3147
+ self.check_v128_binary_op()
3148
+ }
3149
+ fn visit_i32x4_extmul_low_i16x8_u(&mut self) -> Self::Output {
3150
+ self.check_v128_binary_op()
3151
+ }
3152
+ fn visit_i32x4_extmul_high_i16x8_u(&mut self) -> Self::Output {
3153
+ self.check_v128_binary_op()
3154
+ }
3155
+ fn visit_i64x2_extmul_low_i32x4_s(&mut self) -> Self::Output {
3156
+ self.check_v128_binary_op()
3157
+ }
3158
+ fn visit_i64x2_extmul_high_i32x4_s(&mut self) -> Self::Output {
3159
+ self.check_v128_binary_op()
3160
+ }
3161
+ fn visit_i64x2_extmul_low_i32x4_u(&mut self) -> Self::Output {
3162
+ self.check_v128_binary_op()
3163
+ }
3164
+ fn visit_i64x2_extmul_high_i32x4_u(&mut self) -> Self::Output {
3165
+ self.check_v128_binary_op()
3166
+ }
3167
+ fn visit_i16x8_q15mulr_sat_s(&mut self) -> Self::Output {
3168
+ self.check_v128_binary_op()
3169
+ }
3170
+ fn visit_f32x4_ceil(&mut self) -> Self::Output {
3171
+ self.check_v128_funary_op()
3172
+ }
3173
+ fn visit_f32x4_floor(&mut self) -> Self::Output {
3174
+ self.check_v128_funary_op()
3175
+ }
3176
+ fn visit_f32x4_trunc(&mut self) -> Self::Output {
3177
+ self.check_v128_funary_op()
3178
+ }
3179
+ fn visit_f32x4_nearest(&mut self) -> Self::Output {
3180
+ self.check_v128_funary_op()
3181
+ }
3182
+ fn visit_f64x2_ceil(&mut self) -> Self::Output {
3183
+ self.check_v128_funary_op()
3184
+ }
3185
+ fn visit_f64x2_floor(&mut self) -> Self::Output {
3186
+ self.check_v128_funary_op()
3187
+ }
3188
+ fn visit_f64x2_trunc(&mut self) -> Self::Output {
3189
+ self.check_v128_funary_op()
3190
+ }
3191
+ fn visit_f64x2_nearest(&mut self) -> Self::Output {
3192
+ self.check_v128_funary_op()
3193
+ }
3194
+ fn visit_f32x4_abs(&mut self) -> Self::Output {
3195
+ self.check_v128_funary_op()
3196
+ }
3197
+ fn visit_f32x4_neg(&mut self) -> Self::Output {
3198
+ self.check_v128_funary_op()
3199
+ }
3200
+ fn visit_f32x4_sqrt(&mut self) -> Self::Output {
3201
+ self.check_v128_funary_op()
3202
+ }
3203
+ fn visit_f64x2_abs(&mut self) -> Self::Output {
3204
+ self.check_v128_funary_op()
3205
+ }
3206
+ fn visit_f64x2_neg(&mut self) -> Self::Output {
3207
+ self.check_v128_funary_op()
3208
+ }
3209
+ fn visit_f64x2_sqrt(&mut self) -> Self::Output {
3210
+ self.check_v128_funary_op()
3211
+ }
3212
+ fn visit_f32x4_demote_f64x2_zero(&mut self) -> Self::Output {
3213
+ self.check_v128_funary_op()
3214
+ }
3215
+ fn visit_f64x2_promote_low_f32x4(&mut self) -> Self::Output {
3216
+ self.check_v128_funary_op()
3217
+ }
3218
+ fn visit_f64x2_convert_low_i32x4_s(&mut self) -> Self::Output {
3219
+ self.check_v128_funary_op()
3220
+ }
3221
+ fn visit_f64x2_convert_low_i32x4_u(&mut self) -> Self::Output {
3222
+ self.check_v128_funary_op()
3223
+ }
3224
+ fn visit_i32x4_trunc_sat_f32x4_s(&mut self) -> Self::Output {
3225
+ self.check_v128_funary_op()
3226
+ }
3227
+ fn visit_i32x4_trunc_sat_f32x4_u(&mut self) -> Self::Output {
3228
+ self.check_v128_funary_op()
3229
+ }
3230
+ fn visit_i32x4_trunc_sat_f64x2_s_zero(&mut self) -> Self::Output {
3231
+ self.check_v128_funary_op()
3232
+ }
3233
+ fn visit_i32x4_trunc_sat_f64x2_u_zero(&mut self) -> Self::Output {
3234
+ self.check_v128_funary_op()
3235
+ }
3236
+ fn visit_f32x4_convert_i32x4_s(&mut self) -> Self::Output {
3237
+ self.check_v128_funary_op()
3238
+ }
3239
+ fn visit_f32x4_convert_i32x4_u(&mut self) -> Self::Output {
3240
+ self.check_v128_funary_op()
3241
+ }
3242
+ fn visit_v128_not(&mut self) -> Self::Output {
3243
+ self.check_v128_unary_op()
3244
+ }
3245
+ fn visit_i8x16_abs(&mut self) -> Self::Output {
3246
+ self.check_v128_unary_op()
3247
+ }
3248
+ fn visit_i8x16_neg(&mut self) -> Self::Output {
3249
+ self.check_v128_unary_op()
3250
+ }
3251
+ fn visit_i8x16_popcnt(&mut self) -> Self::Output {
3252
+ self.check_v128_unary_op()
3253
+ }
3254
+ fn visit_i16x8_abs(&mut self) -> Self::Output {
3255
+ self.check_v128_unary_op()
3256
+ }
3257
+ fn visit_i16x8_neg(&mut self) -> Self::Output {
3258
+ self.check_v128_unary_op()
3259
+ }
3260
+ fn visit_i32x4_abs(&mut self) -> Self::Output {
3261
+ self.check_v128_unary_op()
3262
+ }
3263
+ fn visit_i32x4_neg(&mut self) -> Self::Output {
3264
+ self.check_v128_unary_op()
3265
+ }
3266
+ fn visit_i64x2_abs(&mut self) -> Self::Output {
3267
+ self.check_v128_unary_op()
3268
+ }
3269
+ fn visit_i64x2_neg(&mut self) -> Self::Output {
3270
+ self.check_v128_unary_op()
3271
+ }
3272
+ fn visit_i16x8_extend_low_i8x16_s(&mut self) -> Self::Output {
3273
+ self.check_v128_unary_op()
3274
+ }
3275
+ fn visit_i16x8_extend_high_i8x16_s(&mut self) -> Self::Output {
3276
+ self.check_v128_unary_op()
3277
+ }
3278
+ fn visit_i16x8_extend_low_i8x16_u(&mut self) -> Self::Output {
3279
+ self.check_v128_unary_op()
3280
+ }
3281
+ fn visit_i16x8_extend_high_i8x16_u(&mut self) -> Self::Output {
3282
+ self.check_v128_unary_op()
3283
+ }
3284
+ fn visit_i32x4_extend_low_i16x8_s(&mut self) -> Self::Output {
3285
+ self.check_v128_unary_op()
3286
+ }
3287
+ fn visit_i32x4_extend_high_i16x8_s(&mut self) -> Self::Output {
3288
+ self.check_v128_unary_op()
3289
+ }
3290
+ fn visit_i32x4_extend_low_i16x8_u(&mut self) -> Self::Output {
3291
+ self.check_v128_unary_op()
3292
+ }
3293
+ fn visit_i32x4_extend_high_i16x8_u(&mut self) -> Self::Output {
3294
+ self.check_v128_unary_op()
3295
+ }
3296
+ fn visit_i64x2_extend_low_i32x4_s(&mut self) -> Self::Output {
3297
+ self.check_v128_unary_op()
3298
+ }
3299
+ fn visit_i64x2_extend_high_i32x4_s(&mut self) -> Self::Output {
3300
+ self.check_v128_unary_op()
3301
+ }
3302
+ fn visit_i64x2_extend_low_i32x4_u(&mut self) -> Self::Output {
3303
+ self.check_v128_unary_op()
3304
+ }
3305
+ fn visit_i64x2_extend_high_i32x4_u(&mut self) -> Self::Output {
3306
+ self.check_v128_unary_op()
3307
+ }
3308
+ fn visit_i16x8_extadd_pairwise_i8x16_s(&mut self) -> Self::Output {
3309
+ self.check_v128_unary_op()
3310
+ }
3311
+ fn visit_i16x8_extadd_pairwise_i8x16_u(&mut self) -> Self::Output {
3312
+ self.check_v128_unary_op()
3313
+ }
3314
+ fn visit_i32x4_extadd_pairwise_i16x8_s(&mut self) -> Self::Output {
3315
+ self.check_v128_unary_op()
3316
+ }
3317
+ fn visit_i32x4_extadd_pairwise_i16x8_u(&mut self) -> Self::Output {
3318
+ self.check_v128_unary_op()
3319
+ }
3320
+ fn visit_v128_bitselect(&mut self) -> Self::Output {
3321
+ self.pop_operand(Some(ValType::V128))?;
3322
+ self.pop_operand(Some(ValType::V128))?;
3323
+ self.pop_operand(Some(ValType::V128))?;
3324
+ self.push_operand(ValType::V128)?;
3325
+ Ok(())
3326
+ }
3327
+ fn visit_i8x16_relaxed_swizzle(&mut self) -> Self::Output {
3328
+ self.pop_operand(Some(ValType::V128))?;
3329
+ self.pop_operand(Some(ValType::V128))?;
3330
+ self.push_operand(ValType::V128)?;
3331
+ Ok(())
3332
+ }
3333
+ fn visit_i32x4_relaxed_trunc_f32x4_s(&mut self) -> Self::Output {
3334
+ self.check_v128_unary_op()
3335
+ }
3336
+ fn visit_i32x4_relaxed_trunc_f32x4_u(&mut self) -> Self::Output {
3337
+ self.check_v128_unary_op()
3338
+ }
3339
+ fn visit_i32x4_relaxed_trunc_f64x2_s_zero(&mut self) -> Self::Output {
3340
+ self.check_v128_unary_op()
3341
+ }
3342
+ fn visit_i32x4_relaxed_trunc_f64x2_u_zero(&mut self) -> Self::Output {
3343
+ self.check_v128_unary_op()
3344
+ }
3345
+ fn visit_f32x4_relaxed_madd(&mut self) -> Self::Output {
3346
+ self.check_v128_ternary_op()
3347
+ }
3348
+ fn visit_f32x4_relaxed_nmadd(&mut self) -> Self::Output {
3349
+ self.check_v128_ternary_op()
3350
+ }
3351
+ fn visit_f64x2_relaxed_madd(&mut self) -> Self::Output {
3352
+ self.check_v128_ternary_op()
3353
+ }
3354
+ fn visit_f64x2_relaxed_nmadd(&mut self) -> Self::Output {
3355
+ self.check_v128_ternary_op()
3356
+ }
3357
+ fn visit_i8x16_relaxed_laneselect(&mut self) -> Self::Output {
3358
+ self.check_v128_ternary_op()
3359
+ }
3360
+ fn visit_i16x8_relaxed_laneselect(&mut self) -> Self::Output {
3361
+ self.check_v128_ternary_op()
3362
+ }
3363
+ fn visit_i32x4_relaxed_laneselect(&mut self) -> Self::Output {
3364
+ self.check_v128_ternary_op()
3365
+ }
3366
+ fn visit_i64x2_relaxed_laneselect(&mut self) -> Self::Output {
3367
+ self.check_v128_ternary_op()
3368
+ }
3369
+ fn visit_f32x4_relaxed_min(&mut self) -> Self::Output {
3370
+ self.check_v128_binary_op()
3371
+ }
3372
+ fn visit_f32x4_relaxed_max(&mut self) -> Self::Output {
3373
+ self.check_v128_binary_op()
3374
+ }
3375
+ fn visit_f64x2_relaxed_min(&mut self) -> Self::Output {
3376
+ self.check_v128_binary_op()
3377
+ }
3378
+ fn visit_f64x2_relaxed_max(&mut self) -> Self::Output {
3379
+ self.check_v128_binary_op()
3380
+ }
3381
+ fn visit_i16x8_relaxed_q15mulr_s(&mut self) -> Self::Output {
3382
+ self.check_v128_binary_op()
3383
+ }
3384
+ fn visit_i16x8_relaxed_dot_i8x16_i7x16_s(&mut self) -> Self::Output {
3385
+ self.check_v128_binary_op()
3386
+ }
3387
+ fn visit_i32x4_relaxed_dot_i8x16_i7x16_add_s(&mut self) -> Self::Output {
3388
+ self.check_v128_ternary_op()
3389
+ }
3390
+ fn visit_v128_any_true(&mut self) -> Self::Output {
3391
+ self.check_v128_bitmask_op()
3392
+ }
3393
+ fn visit_i8x16_all_true(&mut self) -> Self::Output {
3394
+ self.check_v128_bitmask_op()
3395
+ }
3396
+ fn visit_i8x16_bitmask(&mut self) -> Self::Output {
3397
+ self.check_v128_bitmask_op()
3398
+ }
3399
+ fn visit_i16x8_all_true(&mut self) -> Self::Output {
3400
+ self.check_v128_bitmask_op()
3401
+ }
3402
+ fn visit_i16x8_bitmask(&mut self) -> Self::Output {
3403
+ self.check_v128_bitmask_op()
3404
+ }
3405
+ fn visit_i32x4_all_true(&mut self) -> Self::Output {
3406
+ self.check_v128_bitmask_op()
3407
+ }
3408
+ fn visit_i32x4_bitmask(&mut self) -> Self::Output {
3409
+ self.check_v128_bitmask_op()
3410
+ }
3411
+ fn visit_i64x2_all_true(&mut self) -> Self::Output {
3412
+ self.check_v128_bitmask_op()
3413
+ }
3414
+ fn visit_i64x2_bitmask(&mut self) -> Self::Output {
3415
+ self.check_v128_bitmask_op()
3416
+ }
3417
+ fn visit_i8x16_shl(&mut self) -> Self::Output {
3418
+ self.check_v128_shift_op()
3419
+ }
3420
+ fn visit_i8x16_shr_s(&mut self) -> Self::Output {
3421
+ self.check_v128_shift_op()
3422
+ }
3423
+ fn visit_i8x16_shr_u(&mut self) -> Self::Output {
3424
+ self.check_v128_shift_op()
3425
+ }
3426
+ fn visit_i16x8_shl(&mut self) -> Self::Output {
3427
+ self.check_v128_shift_op()
3428
+ }
3429
+ fn visit_i16x8_shr_s(&mut self) -> Self::Output {
3430
+ self.check_v128_shift_op()
3431
+ }
3432
+ fn visit_i16x8_shr_u(&mut self) -> Self::Output {
3433
+ self.check_v128_shift_op()
3434
+ }
3435
+ fn visit_i32x4_shl(&mut self) -> Self::Output {
3436
+ self.check_v128_shift_op()
3437
+ }
3438
+ fn visit_i32x4_shr_s(&mut self) -> Self::Output {
3439
+ self.check_v128_shift_op()
3440
+ }
3441
+ fn visit_i32x4_shr_u(&mut self) -> Self::Output {
3442
+ self.check_v128_shift_op()
3443
+ }
3444
+ fn visit_i64x2_shl(&mut self) -> Self::Output {
3445
+ self.check_v128_shift_op()
3446
+ }
3447
+ fn visit_i64x2_shr_s(&mut self) -> Self::Output {
3448
+ self.check_v128_shift_op()
3449
+ }
3450
+ fn visit_i64x2_shr_u(&mut self) -> Self::Output {
3451
+ self.check_v128_shift_op()
3452
+ }
3453
+ fn visit_i8x16_swizzle(&mut self) -> Self::Output {
3454
+ self.pop_operand(Some(ValType::V128))?;
3455
+ self.pop_operand(Some(ValType::V128))?;
3456
+ self.push_operand(ValType::V128)?;
3457
+ Ok(())
3458
+ }
3459
+ fn visit_i8x16_shuffle(&mut self, lanes: [u8; 16]) -> Self::Output {
3460
+ self.pop_operand(Some(ValType::V128))?;
3461
+ self.pop_operand(Some(ValType::V128))?;
3462
+ for i in lanes {
3463
+ self.check_simd_lane_index(i, 32)?;
3464
+ }
3465
+ self.push_operand(ValType::V128)?;
3466
+ Ok(())
3467
+ }
3468
+ fn visit_v128_load8_splat(&mut self, memarg: MemArg) -> Self::Output {
3469
+ let ty = self.check_memarg(memarg)?;
3470
+ self.pop_operand(Some(ty))?;
3471
+ self.push_operand(ValType::V128)?;
3472
+ Ok(())
3473
+ }
3474
+ fn visit_v128_load16_splat(&mut self, memarg: MemArg) -> Self::Output {
3475
+ let ty = self.check_memarg(memarg)?;
3476
+ self.pop_operand(Some(ty))?;
3477
+ self.push_operand(ValType::V128)?;
3478
+ Ok(())
3479
+ }
3480
+ fn visit_v128_load32_splat(&mut self, memarg: MemArg) -> Self::Output {
3481
+ let ty = self.check_memarg(memarg)?;
3482
+ self.pop_operand(Some(ty))?;
3483
+ self.push_operand(ValType::V128)?;
3484
+ Ok(())
3485
+ }
3486
+ fn visit_v128_load32_zero(&mut self, memarg: MemArg) -> Self::Output {
3487
+ self.visit_v128_load32_splat(memarg)
3488
+ }
3489
+ fn visit_v128_load64_splat(&mut self, memarg: MemArg) -> Self::Output {
3490
+ self.check_v128_load_op(memarg)
3491
+ }
3492
+ fn visit_v128_load64_zero(&mut self, memarg: MemArg) -> Self::Output {
3493
+ self.check_v128_load_op(memarg)
3494
+ }
3495
+ fn visit_v128_load8x8_s(&mut self, memarg: MemArg) -> Self::Output {
3496
+ self.check_v128_load_op(memarg)
3497
+ }
3498
+ fn visit_v128_load8x8_u(&mut self, memarg: MemArg) -> Self::Output {
3499
+ self.check_v128_load_op(memarg)
3500
+ }
3501
+ fn visit_v128_load16x4_s(&mut self, memarg: MemArg) -> Self::Output {
3502
+ self.check_v128_load_op(memarg)
3503
+ }
3504
+ fn visit_v128_load16x4_u(&mut self, memarg: MemArg) -> Self::Output {
3505
+ self.check_v128_load_op(memarg)
3506
+ }
3507
+ fn visit_v128_load32x2_s(&mut self, memarg: MemArg) -> Self::Output {
3508
+ self.check_v128_load_op(memarg)
3509
+ }
3510
+ fn visit_v128_load32x2_u(&mut self, memarg: MemArg) -> Self::Output {
3511
+ self.check_v128_load_op(memarg)
3512
+ }
3513
+ fn visit_v128_load8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3514
+ let idx = self.check_memarg(memarg)?;
3515
+ self.check_simd_lane_index(lane, 16)?;
3516
+ self.pop_operand(Some(ValType::V128))?;
3517
+ self.pop_operand(Some(idx))?;
3518
+ self.push_operand(ValType::V128)?;
3519
+ Ok(())
3520
+ }
3521
+ fn visit_v128_load16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3522
+ let idx = self.check_memarg(memarg)?;
3523
+ self.check_simd_lane_index(lane, 8)?;
3524
+ self.pop_operand(Some(ValType::V128))?;
3525
+ self.pop_operand(Some(idx))?;
3526
+ self.push_operand(ValType::V128)?;
3527
+ Ok(())
3528
+ }
3529
+ fn visit_v128_load32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3530
+ let idx = self.check_memarg(memarg)?;
3531
+ self.check_simd_lane_index(lane, 4)?;
3532
+ self.pop_operand(Some(ValType::V128))?;
3533
+ self.pop_operand(Some(idx))?;
3534
+ self.push_operand(ValType::V128)?;
3535
+ Ok(())
3536
+ }
3537
+ fn visit_v128_load64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3538
+ let idx = self.check_memarg(memarg)?;
3539
+ self.check_simd_lane_index(lane, 2)?;
3540
+ self.pop_operand(Some(ValType::V128))?;
3541
+ self.pop_operand(Some(idx))?;
3542
+ self.push_operand(ValType::V128)?;
3543
+ Ok(())
3544
+ }
3545
+ fn visit_v128_store8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3546
+ let idx = self.check_memarg(memarg)?;
3547
+ self.check_simd_lane_index(lane, 16)?;
3548
+ self.pop_operand(Some(ValType::V128))?;
3549
+ self.pop_operand(Some(idx))?;
3550
+ Ok(())
3551
+ }
3552
+ fn visit_v128_store16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3553
+ let idx = self.check_memarg(memarg)?;
3554
+ self.check_simd_lane_index(lane, 8)?;
3555
+ self.pop_operand(Some(ValType::V128))?;
3556
+ self.pop_operand(Some(idx))?;
3557
+ Ok(())
3558
+ }
3559
+ fn visit_v128_store32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3560
+ let idx = self.check_memarg(memarg)?;
3561
+ self.check_simd_lane_index(lane, 4)?;
3562
+ self.pop_operand(Some(ValType::V128))?;
3563
+ self.pop_operand(Some(idx))?;
3564
+ Ok(())
3565
+ }
3566
+ fn visit_v128_store64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3567
+ let idx = self.check_memarg(memarg)?;
3568
+ self.check_simd_lane_index(lane, 2)?;
3569
+ self.pop_operand(Some(ValType::V128))?;
3570
+ self.pop_operand(Some(idx))?;
3571
+ Ok(())
3572
+ }
3573
+ fn visit_memory_init(&mut self, segment: u32, mem: u32) -> Self::Output {
3574
+ let ty = self.check_memory_index(mem)?;
3575
+ match self.resources.data_count() {
3576
+ None => bail!(self.offset, "data count section required"),
3577
+ Some(count) if segment < count => {}
3578
+ Some(_) => bail!(self.offset, "unknown data segment {}", segment),
3579
+ }
3580
+ self.pop_operand(Some(ValType::I32))?;
3581
+ self.pop_operand(Some(ValType::I32))?;
3582
+ self.pop_operand(Some(ty))?;
3583
+ Ok(())
3584
+ }
3585
+ fn visit_data_drop(&mut self, segment: u32) -> Self::Output {
3586
+ match self.resources.data_count() {
3587
+ None => bail!(self.offset, "data count section required"),
3588
+ Some(count) if segment < count => {}
3589
+ Some(_) => bail!(self.offset, "unknown data segment {}", segment),
3590
+ }
3591
+ Ok(())
3592
+ }
3593
+ fn visit_memory_copy(&mut self, dst: u32, src: u32) -> Self::Output {
3594
+ let dst_ty = self.check_memory_index(dst)?;
3595
+ let src_ty = self.check_memory_index(src)?;
3596
+
3597
+ // The length operand here is the smaller of src/dst, which is
3598
+ // i32 if one is i32
3599
+ self.pop_operand(Some(match src_ty {
3600
+ ValType::I32 => ValType::I32,
3601
+ _ => dst_ty,
3602
+ }))?;
3603
+
3604
+ // ... and the offset into each memory is required to be
3605
+ // whatever the indexing type is for that memory
3606
+ self.pop_operand(Some(src_ty))?;
3607
+ self.pop_operand(Some(dst_ty))?;
3608
+ Ok(())
3609
+ }
3610
+ fn visit_memory_fill(&mut self, mem: u32) -> Self::Output {
3611
+ let ty = self.check_memory_index(mem)?;
3612
+ self.pop_operand(Some(ty))?;
3613
+ self.pop_operand(Some(ValType::I32))?;
3614
+ self.pop_operand(Some(ty))?;
3615
+ Ok(())
3616
+ }
3617
+ fn visit_memory_discard(&mut self, mem: u32) -> Self::Output {
3618
+ let ty = self.check_memory_index(mem)?;
3619
+ self.pop_operand(Some(ty))?;
3620
+ self.pop_operand(Some(ty))?;
3621
+ Ok(())
3622
+ }
3623
+ fn visit_table_init(&mut self, segment: u32, table: u32) -> Self::Output {
3624
+ let table = self.check_table_index(table)?;
3625
+ let segment_ty = self.element_type_at(segment)?;
3626
+ if !self
3627
+ .resources
3628
+ .is_subtype(ValType::Ref(segment_ty), ValType::Ref(table.element_type))
3629
+ {
3630
+ bail!(self.offset, "type mismatch");
3631
+ }
3632
+ self.pop_operand(Some(ValType::I32))?;
3633
+ self.pop_operand(Some(ValType::I32))?;
3634
+ self.pop_operand(Some(table.index_type()))?;
3635
+ Ok(())
3636
+ }
3637
+ fn visit_elem_drop(&mut self, segment: u32) -> Self::Output {
3638
+ if segment >= self.resources.element_count() {
3639
+ bail!(
3640
+ self.offset,
3641
+ "unknown elem segment {}: segment index out of bounds",
3642
+ segment
3643
+ );
3644
+ }
3645
+ Ok(())
3646
+ }
3647
+ fn visit_table_copy(&mut self, dst_table: u32, src_table: u32) -> Self::Output {
3648
+ let src = self.check_table_index(src_table)?;
3649
+ let dst = self.check_table_index(dst_table)?;
3650
+ if !self.resources.is_subtype(
3651
+ ValType::Ref(src.element_type),
3652
+ ValType::Ref(dst.element_type),
3653
+ ) {
3654
+ bail!(self.offset, "type mismatch");
3655
+ }
3656
+
3657
+ // The length operand here is the smaller of src/dst, which is
3658
+ // i32 if one is i32
3659
+ self.pop_operand(Some(match src.index_type() {
3660
+ ValType::I32 => ValType::I32,
3661
+ _ => dst.index_type(),
3662
+ }))?;
3663
+
3664
+ // ... and the offset into each table is required to be
3665
+ // whatever the indexing type is for that table
3666
+ self.pop_operand(Some(src.index_type()))?;
3667
+ self.pop_operand(Some(dst.index_type()))?;
3668
+ Ok(())
3669
+ }
3670
+ fn visit_table_get(&mut self, table: u32) -> Self::Output {
3671
+ let table = self.check_table_index(table)?;
3672
+ debug_assert_type_indices_are_ids(table.element_type.into());
3673
+ self.pop_operand(Some(table.index_type()))?;
3674
+ self.push_operand(table.element_type)?;
3675
+ Ok(())
3676
+ }
3677
+ fn visit_table_set(&mut self, table: u32) -> Self::Output {
3678
+ let table = self.check_table_index(table)?;
3679
+ debug_assert_type_indices_are_ids(table.element_type.into());
3680
+ self.pop_operand(Some(table.element_type.into()))?;
3681
+ self.pop_operand(Some(table.index_type()))?;
3682
+ Ok(())
3683
+ }
3684
+ fn visit_table_grow(&mut self, table: u32) -> Self::Output {
3685
+ let table = self.check_table_index(table)?;
3686
+ debug_assert_type_indices_are_ids(table.element_type.into());
3687
+ self.pop_operand(Some(table.index_type()))?;
3688
+ self.pop_operand(Some(table.element_type.into()))?;
3689
+ self.push_operand(table.index_type())?;
3690
+ Ok(())
3691
+ }
3692
+ fn visit_table_size(&mut self, table: u32) -> Self::Output {
3693
+ let table = self.check_table_index(table)?;
3694
+ self.push_operand(table.index_type())?;
3695
+ Ok(())
3696
+ }
3697
+ fn visit_table_fill(&mut self, table: u32) -> Self::Output {
3698
+ let table = self.check_table_index(table)?;
3699
+ debug_assert_type_indices_are_ids(table.element_type.into());
3700
+ self.pop_operand(Some(table.index_type()))?;
3701
+ self.pop_operand(Some(table.element_type.into()))?;
3702
+ self.pop_operand(Some(table.index_type()))?;
3703
+ Ok(())
3704
+ }
3705
+ fn visit_struct_new(&mut self, struct_type_index: u32) -> Self::Output {
3706
+ let struct_ty = self.struct_type_at(struct_type_index)?;
3707
+ for ty in struct_ty.fields.iter().rev() {
3708
+ self.pop_operand(Some(ty.element_type.unpack()))?;
3709
+ }
3710
+ self.push_concrete_ref(false, struct_type_index)?;
3711
+ Ok(())
3712
+ }
3713
+ fn visit_struct_new_default(&mut self, type_index: u32) -> Self::Output {
3714
+ let ty = self.struct_type_at(type_index)?;
3715
+ for field in ty.fields.iter() {
3716
+ let val_ty = field.element_type.unpack();
3717
+ if !val_ty.is_defaultable() {
3718
+ bail!(
3719
+ self.offset,
3720
+ "invalid `struct.new_default`: {val_ty} field is not defaultable"
3721
+ );
3722
+ }
3723
+ }
3724
+ self.push_concrete_ref(false, type_index)?;
3725
+ Ok(())
3726
+ }
3727
+ fn visit_struct_get(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3728
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3729
+ if field_ty.element_type.is_packed() {
3730
+ bail!(
3731
+ self.offset,
3732
+ "can only use struct.get with non-packed storage types"
3733
+ )
3734
+ }
3735
+ self.pop_concrete_ref(true, struct_type_index)?;
3736
+ self.push_operand(field_ty.element_type.unpack())
3737
+ }
3738
+ fn visit_struct_get_s(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3739
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3740
+ if !field_ty.element_type.is_packed() {
3741
+ bail!(
3742
+ self.offset,
3743
+ "cannot use struct.get_s with non-packed storage types"
3744
+ )
3745
+ }
3746
+ self.pop_concrete_ref(true, struct_type_index)?;
3747
+ self.push_operand(field_ty.element_type.unpack())
3748
+ }
3749
+ fn visit_struct_get_u(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3750
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3751
+ if !field_ty.element_type.is_packed() {
3752
+ bail!(
3753
+ self.offset,
3754
+ "cannot use struct.get_u with non-packed storage types"
3755
+ )
3756
+ }
3757
+ self.pop_concrete_ref(true, struct_type_index)?;
3758
+ self.push_operand(field_ty.element_type.unpack())
3759
+ }
3760
+ fn visit_struct_set(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3761
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3762
+ if !field_ty.mutable {
3763
+ bail!(self.offset, "invalid struct.set: struct field is immutable")
3764
+ }
3765
+ self.pop_operand(Some(field_ty.element_type.unpack()))?;
3766
+ self.pop_concrete_ref(true, struct_type_index)?;
3767
+ Ok(())
3768
+ }
3769
+ fn visit_array_new(&mut self, type_index: u32) -> Self::Output {
3770
+ let array_ty = self.array_type_at(type_index)?;
3771
+ self.pop_operand(Some(ValType::I32))?;
3772
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3773
+ self.push_concrete_ref(false, type_index)
3774
+ }
3775
+ fn visit_array_new_default(&mut self, type_index: u32) -> Self::Output {
3776
+ let ty = self.array_type_at(type_index)?;
3777
+ let val_ty = ty.0.element_type.unpack();
3778
+ if !val_ty.is_defaultable() {
3779
+ bail!(
3780
+ self.offset,
3781
+ "invalid `array.new_default`: {val_ty} field is not defaultable"
3782
+ );
3783
+ }
3784
+ self.pop_operand(Some(ValType::I32))?;
3785
+ self.push_concrete_ref(false, type_index)
3786
+ }
3787
+ fn visit_array_new_fixed(&mut self, type_index: u32, n: u32) -> Self::Output {
3788
+ let array_ty = self.array_type_at(type_index)?;
3789
+ let elem_ty = array_ty.0.element_type.unpack();
3790
+ for _ in 0..n {
3791
+ self.pop_operand(Some(elem_ty))?;
3792
+ }
3793
+ self.push_concrete_ref(false, type_index)
3794
+ }
3795
+ fn visit_array_new_data(&mut self, type_index: u32, data_index: u32) -> Self::Output {
3796
+ let array_ty = self.array_type_at(type_index)?;
3797
+ let elem_ty = array_ty.0.element_type.unpack();
3798
+ match elem_ty {
3799
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
3800
+ ValType::Ref(_) => bail!(
3801
+ self.offset,
3802
+ "type mismatch: array.new_data can only create arrays with numeric and vector elements"
3803
+ ),
3804
+ }
3805
+ match self.resources.data_count() {
3806
+ None => bail!(self.offset, "data count section required"),
3807
+ Some(count) if data_index < count => {}
3808
+ Some(_) => bail!(self.offset, "unknown data segment {}", data_index),
3809
+ }
3810
+ self.pop_operand(Some(ValType::I32))?;
3811
+ self.pop_operand(Some(ValType::I32))?;
3812
+ self.push_concrete_ref(false, type_index)
3813
+ }
3814
+ fn visit_array_new_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
3815
+ let array_ty = self.array_type_at(type_index)?;
3816
+ let array_ref_ty = match array_ty.0.element_type.unpack() {
3817
+ ValType::Ref(rt) => rt,
3818
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
3819
+ self.offset,
3820
+ "type mismatch: array.new_elem can only create arrays with reference elements"
3821
+ ),
3822
+ };
3823
+ let elem_ref_ty = self.element_type_at(elem_index)?;
3824
+ if !self
3825
+ .resources
3826
+ .is_subtype(elem_ref_ty.into(), array_ref_ty.into())
3827
+ {
3828
+ bail!(
3829
+ self.offset,
3830
+ "invalid array.new_elem instruction: element segment {elem_index} type mismatch: \
3831
+ expected {array_ref_ty}, found {elem_ref_ty}"
3832
+ )
3833
+ }
3834
+ self.pop_operand(Some(ValType::I32))?;
3835
+ self.pop_operand(Some(ValType::I32))?;
3836
+ self.push_concrete_ref(false, type_index)
3837
+ }
3838
+ fn visit_array_get(&mut self, type_index: u32) -> Self::Output {
3839
+ let array_ty = self.array_type_at(type_index)?;
3840
+ let elem_ty = array_ty.0.element_type;
3841
+ if elem_ty.is_packed() {
3842
+ bail!(
3843
+ self.offset,
3844
+ "cannot use array.get with packed storage types"
3845
+ )
3846
+ }
3847
+ self.pop_operand(Some(ValType::I32))?;
3848
+ self.pop_concrete_ref(true, type_index)?;
3849
+ self.push_operand(elem_ty.unpack())
3850
+ }
3851
+ fn visit_array_get_s(&mut self, type_index: u32) -> Self::Output {
3852
+ let array_ty = self.array_type_at(type_index)?;
3853
+ let elem_ty = array_ty.0.element_type;
3854
+ if !elem_ty.is_packed() {
3855
+ bail!(
3856
+ self.offset,
3857
+ "cannot use array.get_s with non-packed storage types"
3858
+ )
3859
+ }
3860
+ self.pop_operand(Some(ValType::I32))?;
3861
+ self.pop_concrete_ref(true, type_index)?;
3862
+ self.push_operand(elem_ty.unpack())
3863
+ }
3864
+ fn visit_array_get_u(&mut self, type_index: u32) -> Self::Output {
3865
+ let array_ty = self.array_type_at(type_index)?;
3866
+ let elem_ty = array_ty.0.element_type;
3867
+ if !elem_ty.is_packed() {
3868
+ bail!(
3869
+ self.offset,
3870
+ "cannot use array.get_u with non-packed storage types"
3871
+ )
3872
+ }
3873
+ self.pop_operand(Some(ValType::I32))?;
3874
+ self.pop_concrete_ref(true, type_index)?;
3875
+ self.push_operand(elem_ty.unpack())
3876
+ }
3877
+ fn visit_array_set(&mut self, type_index: u32) -> Self::Output {
3878
+ let array_ty = self.array_type_at(type_index)?;
3879
+ if !array_ty.0.mutable {
3880
+ bail!(self.offset, "invalid array.set: array is immutable")
3881
+ }
3882
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3883
+ self.pop_operand(Some(ValType::I32))?;
3884
+ self.pop_concrete_ref(true, type_index)?;
3885
+ Ok(())
3886
+ }
3887
+ fn visit_array_len(&mut self) -> Self::Output {
3888
+ self.pop_operand(Some(RefType::ARRAY.nullable().into()))?;
3889
+ self.push_operand(ValType::I32)
3890
+ }
3891
+ fn visit_array_fill(&mut self, array_type_index: u32) -> Self::Output {
3892
+ let array_ty = self.array_type_at(array_type_index)?;
3893
+ if !array_ty.0.mutable {
3894
+ bail!(self.offset, "invalid array.fill: array is immutable");
3895
+ }
3896
+ self.pop_operand(Some(ValType::I32))?;
3897
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3898
+ self.pop_operand(Some(ValType::I32))?;
3899
+ self.pop_concrete_ref(true, array_type_index)?;
3900
+ Ok(())
3901
+ }
3902
+ fn visit_array_copy(&mut self, type_index_dst: u32, type_index_src: u32) -> Self::Output {
3903
+ let array_ty_dst = self.array_type_at(type_index_dst)?;
3904
+ if !array_ty_dst.0.mutable {
3905
+ bail!(
3906
+ self.offset,
3907
+ "invalid array.copy: destination array is immutable"
3908
+ );
3909
+ }
3910
+ let array_ty_src = self.array_type_at(type_index_src)?;
3911
+ match (array_ty_dst.0.element_type, array_ty_src.0.element_type) {
3912
+ (StorageType::I8, StorageType::I8) => {}
3913
+ (StorageType::I8, ty) => bail!(
3914
+ self.offset,
3915
+ "array types do not match: expected i8, found {ty}"
3916
+ ),
3917
+ (StorageType::I16, StorageType::I16) => {}
3918
+ (StorageType::I16, ty) => bail!(
3919
+ self.offset,
3920
+ "array types do not match: expected i16, found {ty}"
3921
+ ),
3922
+ (StorageType::Val(dst), StorageType::Val(src)) => {
3923
+ if !self.resources.is_subtype(src, dst) {
3924
+ bail!(
3925
+ self.offset,
3926
+ "array types do not match: expected {dst}, found {src}"
3927
+ )
3928
+ }
3929
+ }
3930
+ (StorageType::Val(dst), src) => {
3931
+ bail!(
3932
+ self.offset,
3933
+ "array types do not match: expected {dst}, found {src}"
3934
+ )
3935
+ }
3936
+ }
3937
+ self.pop_operand(Some(ValType::I32))?;
3938
+ self.pop_operand(Some(ValType::I32))?;
3939
+ self.pop_concrete_ref(true, type_index_src)?;
3940
+ self.pop_operand(Some(ValType::I32))?;
3941
+ self.pop_concrete_ref(true, type_index_dst)?;
3942
+ Ok(())
3943
+ }
3944
+ fn visit_array_init_data(
3945
+ &mut self,
3946
+ array_type_index: u32,
3947
+ array_data_index: u32,
3948
+ ) -> Self::Output {
3949
+ let array_ty = self.array_type_at(array_type_index)?;
3950
+ if !array_ty.0.mutable {
3951
+ bail!(self.offset, "invalid array.init_data: array is immutable");
3952
+ }
3953
+ let val_ty = array_ty.0.element_type.unpack();
3954
+ match val_ty {
3955
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
3956
+ ValType::Ref(_) => bail!(
3957
+ self.offset,
3958
+ "invalid array.init_data: array type is not numeric or vector"
3959
+ ),
3960
+ }
3961
+ match self.resources.data_count() {
3962
+ None => bail!(self.offset, "data count section required"),
3963
+ Some(count) if array_data_index < count => {}
3964
+ Some(_) => bail!(self.offset, "unknown data segment {}", array_data_index),
3965
+ }
3966
+ self.pop_operand(Some(ValType::I32))?;
3967
+ self.pop_operand(Some(ValType::I32))?;
3968
+ self.pop_operand(Some(ValType::I32))?;
3969
+ self.pop_concrete_ref(true, array_type_index)?;
3970
+ Ok(())
3971
+ }
3972
+ fn visit_array_init_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
3973
+ let array_ty = self.array_type_at(type_index)?;
3974
+ if !array_ty.0.mutable {
3975
+ bail!(self.offset, "invalid array.init_data: array is immutable");
3976
+ }
3977
+ let array_ref_ty = match array_ty.0.element_type.unpack() {
3978
+ ValType::Ref(rt) => rt,
3979
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
3980
+ self.offset,
3981
+ "type mismatch: array.init_elem can only create arrays with reference elements"
3982
+ ),
3983
+ };
3984
+ let elem_ref_ty = self.element_type_at(elem_index)?;
3985
+ if !self
3986
+ .resources
3987
+ .is_subtype(elem_ref_ty.into(), array_ref_ty.into())
3988
+ {
3989
+ bail!(
3990
+ self.offset,
3991
+ "invalid array.init_elem instruction: element segment {elem_index} type mismatch: \
3992
+ expected {array_ref_ty}, found {elem_ref_ty}"
3993
+ )
3994
+ }
3995
+ self.pop_operand(Some(ValType::I32))?;
3996
+ self.pop_operand(Some(ValType::I32))?;
3997
+ self.pop_operand(Some(ValType::I32))?;
3998
+ self.pop_concrete_ref(true, type_index)?;
3999
+ Ok(())
4000
+ }
4001
+ fn visit_any_convert_extern(&mut self) -> Self::Output {
4002
+ let extern_ref = self.pop_operand(Some(RefType::EXTERNREF.into()))?;
4003
+ let is_nullable = extern_ref
4004
+ .as_type()
4005
+ .map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
4006
+ let any_ref = RefType::new(is_nullable, HeapType::Any).unwrap();
4007
+ self.push_operand(any_ref)
4008
+ }
4009
+ fn visit_extern_convert_any(&mut self) -> Self::Output {
4010
+ let any_ref = self.pop_operand(Some(RefType::ANY.nullable().into()))?;
4011
+ let is_nullable = any_ref
4012
+ .as_type()
4013
+ .map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
4014
+ let extern_ref = RefType::new(is_nullable, HeapType::Extern).unwrap();
4015
+ self.push_operand(extern_ref)
4016
+ }
4017
+ fn visit_ref_test_non_null(&mut self, heap_type: HeapType) -> Self::Output {
4018
+ self.check_ref_test(false, heap_type)
4019
+ }
4020
+ fn visit_ref_test_nullable(&mut self, heap_type: HeapType) -> Self::Output {
4021
+ self.check_ref_test(true, heap_type)
4022
+ }
4023
+ fn visit_ref_cast_non_null(&mut self, heap_type: HeapType) -> Self::Output {
4024
+ self.check_ref_cast(false, heap_type)
4025
+ }
4026
+ fn visit_ref_cast_nullable(&mut self, heap_type: HeapType) -> Self::Output {
4027
+ self.check_ref_cast(true, heap_type)
4028
+ }
4029
+ fn visit_br_on_cast(
4030
+ &mut self,
4031
+ relative_depth: u32,
4032
+ mut from_ref_type: RefType,
4033
+ mut to_ref_type: RefType,
4034
+ ) -> Self::Output {
4035
+ self.resources
4036
+ .check_ref_type(&mut from_ref_type, self.offset)?;
4037
+ self.resources
4038
+ .check_ref_type(&mut to_ref_type, self.offset)?;
4039
+
4040
+ if !self
4041
+ .resources
4042
+ .is_subtype(to_ref_type.into(), from_ref_type.into())
4043
+ {
4044
+ bail!(
4045
+ self.offset,
4046
+ "type mismatch: expected {from_ref_type}, found {to_ref_type}"
4047
+ );
4048
+ }
4049
+
4050
+ let (block_ty, frame_kind) = self.jump(relative_depth)?;
4051
+ let mut label_types = self.label_types(block_ty, frame_kind)?;
4052
+
4053
+ match label_types.next_back() {
4054
+ Some(label_ty) if self.resources.is_subtype(to_ref_type.into(), label_ty) => {
4055
+ self.pop_operand(Some(from_ref_type.into()))?;
4056
+ }
4057
+ Some(label_ty) => bail!(
4058
+ self.offset,
4059
+ "type mismatch: casting to type {to_ref_type}, but it does not match \
4060
+ label result type {label_ty}"
4061
+ ),
4062
+ None => bail!(
4063
+ self.offset,
4064
+ "type mismtach: br_on_cast to label with empty types, must have a reference type"
4065
+ ),
4066
+ };
4067
+
4068
+ self.pop_push_label_types(label_types)?;
4069
+ let diff_ty = RefType::difference(from_ref_type, to_ref_type);
4070
+ self.push_operand(diff_ty)?;
4071
+ Ok(())
4072
+ }
4073
+ fn visit_br_on_cast_fail(
4074
+ &mut self,
4075
+ relative_depth: u32,
4076
+ mut from_ref_type: RefType,
4077
+ mut to_ref_type: RefType,
4078
+ ) -> Self::Output {
4079
+ self.resources
4080
+ .check_ref_type(&mut from_ref_type, self.offset)?;
4081
+ self.resources
4082
+ .check_ref_type(&mut to_ref_type, self.offset)?;
4083
+
4084
+ if !self
4085
+ .resources
4086
+ .is_subtype(to_ref_type.into(), from_ref_type.into())
4087
+ {
4088
+ bail!(
4089
+ self.offset,
4090
+ "type mismatch: expected {from_ref_type}, found {to_ref_type}"
4091
+ );
4092
+ }
4093
+
4094
+ let (block_ty, frame_kind) = self.jump(relative_depth)?;
4095
+ let mut label_tys = self.label_types(block_ty, frame_kind)?;
4096
+
4097
+ let diff_ty = RefType::difference(from_ref_type, to_ref_type);
4098
+ match label_tys.next_back() {
4099
+ Some(label_ty) if self.resources.is_subtype(diff_ty.into(), label_ty) => {
4100
+ self.pop_operand(Some(from_ref_type.into()))?;
4101
+ }
4102
+ Some(label_ty) => bail!(
4103
+ self.offset,
4104
+ "type mismatch: expected label result type {label_ty}, found {diff_ty}"
4105
+ ),
4106
+ None => bail!(
4107
+ self.offset,
4108
+ "type mismatch: expected a reference type, found nothing"
4109
+ ),
4110
+ }
4111
+
4112
+ self.pop_push_label_types(label_tys)?;
4113
+ self.push_operand(to_ref_type)?;
4114
+ Ok(())
4115
+ }
4116
+ fn visit_ref_i31(&mut self) -> Self::Output {
4117
+ self.pop_operand(Some(ValType::I32))?;
4118
+ self.push_operand(ValType::Ref(RefType::I31))
4119
+ }
4120
+ fn visit_i31_get_s(&mut self) -> Self::Output {
4121
+ self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
4122
+ self.push_operand(ValType::I32)
4123
+ }
4124
+ fn visit_i31_get_u(&mut self) -> Self::Output {
4125
+ self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
4126
+ self.push_operand(ValType::I32)
4127
+ }
4128
+ }
4129
+
4130
+ #[derive(Clone, Debug)]
4131
+ enum Either<A, B> {
4132
+ A(A),
4133
+ B(B),
4134
+ }
4135
+
4136
+ impl<A, B> Iterator for Either<A, B>
4137
+ where
4138
+ A: Iterator,
4139
+ B: Iterator<Item = A::Item>,
4140
+ {
4141
+ type Item = A::Item;
4142
+ fn next(&mut self) -> Option<A::Item> {
4143
+ match self {
4144
+ Either::A(a) => a.next(),
4145
+ Either::B(b) => b.next(),
4146
+ }
4147
+ }
4148
+ }
4149
+
4150
+ impl<A, B> DoubleEndedIterator for Either<A, B>
4151
+ where
4152
+ A: DoubleEndedIterator,
4153
+ B: DoubleEndedIterator<Item = A::Item>,
4154
+ {
4155
+ fn next_back(&mut self) -> Option<A::Item> {
4156
+ match self {
4157
+ Either::A(a) => a.next_back(),
4158
+ Either::B(b) => b.next_back(),
4159
+ }
4160
+ }
4161
+ }
4162
+
4163
+ impl<A, B> ExactSizeIterator for Either<A, B>
4164
+ where
4165
+ A: ExactSizeIterator,
4166
+ B: ExactSizeIterator<Item = A::Item>,
4167
+ {
4168
+ fn len(&self) -> usize {
4169
+ match self {
4170
+ Either::A(a) => a.len(),
4171
+ Either::B(b) => b.len(),
4172
+ }
4173
+ }
4174
+ }
4175
+
4176
+ trait PreciseIterator: ExactSizeIterator + DoubleEndedIterator + Clone + core::fmt::Debug {}
4177
+ impl<T: ExactSizeIterator + DoubleEndedIterator + Clone + core::fmt::Debug> PreciseIterator for T {}
4178
+
4179
+ impl Locals {
4180
+ /// Defines another group of `count` local variables of type `ty`.
4181
+ ///
4182
+ /// Returns `true` if the definition was successful. Local variable
4183
+ /// definition is unsuccessful in case the amount of total variables
4184
+ /// after definition exceeds the allowed maximum number.
4185
+ fn define(&mut self, count: u32, ty: ValType) -> bool {
4186
+ match self.num_locals.checked_add(count) {
4187
+ Some(n) => self.num_locals = n,
4188
+ None => return false,
4189
+ }
4190
+ if self.num_locals > (MAX_WASM_FUNCTION_LOCALS as u32) {
4191
+ return false;
4192
+ }
4193
+ for _ in 0..count {
4194
+ if self.first.len() >= MAX_LOCALS_TO_TRACK {
4195
+ break;
4196
+ }
4197
+ self.first.push(ty);
4198
+ }
4199
+ self.all.push((self.num_locals - 1, ty));
4200
+ true
4201
+ }
4202
+
4203
+ /// Returns the number of defined local variables.
4204
+ pub(super) fn len_locals(&self) -> u32 {
4205
+ self.num_locals
4206
+ }
4207
+
4208
+ /// Returns the type of the local variable at the given index if any.
4209
+ #[inline]
4210
+ pub(super) fn get(&self, idx: u32) -> Option<ValType> {
4211
+ match self.first.get(idx as usize) {
4212
+ Some(ty) => Some(*ty),
4213
+ None => self.get_bsearch(idx),
4214
+ }
4215
+ }
4216
+
4217
+ fn get_bsearch(&self, idx: u32) -> Option<ValType> {
4218
+ match self.all.binary_search_by_key(&idx, |(idx, _)| *idx) {
4219
+ // If this index would be inserted at the end of the list, then the
4220
+ // index is out of bounds and we return an error.
4221
+ Err(i) if i == self.all.len() => None,
4222
+
4223
+ // If `Ok` is returned we found the index exactly, or if `Err` is
4224
+ // returned the position is the one which is the least index
4225
+ // greater that `idx`, which is still the type of `idx` according
4226
+ // to our "compressed" representation. In both cases we access the
4227
+ // list at index `i`.
4228
+ Ok(i) | Err(i) => Some(self.all[i].1),
4229
+ }
4230
+ }
4231
+ }