wasmtime 20.0.2 → 21.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2089) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +129 -124
  3. data/ext/Cargo.toml +8 -6
  4. data/ext/cargo-vendor/cobs-0.2.3/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cobs-0.2.3/Cargo.toml +39 -0
  6. data/ext/cargo-vendor/cobs-0.2.3/LICENSE-APACHE +202 -0
  7. data/ext/cargo-vendor/cobs-0.2.3/LICENSE-MIT +19 -0
  8. data/ext/cargo-vendor/cobs-0.2.3/README.md +23 -0
  9. data/ext/cargo-vendor/cobs-0.2.3/src/dec.rs +360 -0
  10. data/ext/cargo-vendor/cobs-0.2.3/src/enc.rs +216 -0
  11. data/ext/cargo-vendor/cobs-0.2.3/src/lib.rs +14 -0
  12. data/ext/cargo-vendor/cobs-0.2.3/tests/test.rs +265 -0
  13. data/ext/cargo-vendor/cranelift-bforest-0.108.1/.cargo-checksum.json +1 -0
  14. data/ext/cargo-vendor/cranelift-bforest-0.108.1/Cargo.toml +40 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.108.1/.cargo-checksum.json +1 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.108.1/Cargo.toml +189 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.108.1/build.rs +266 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/alias_analysis.rs +403 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/context.rs +395 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ctxhash.rs +167 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph/elaborate.rs +835 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph.rs +839 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/incremental_cache.rs +256 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/instructions.rs +1020 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/abi.rs +1580 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/args.rs +721 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit.rs +3846 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit_tests.rs +7902 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/imms.rs +1213 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/mod.rs +3094 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/regs.rs +288 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst.isle +4225 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/lower/isle.rs +810 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/pcc.rs +568 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/mod.rs +449 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/abi.rs +1051 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/args.rs +1938 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit.rs +2681 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit_tests.rs +2197 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/mod.rs +1975 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/regs.rs +168 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/vector.rs +1144 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst.isle +2969 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower/isle.rs +625 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower.isle +2883 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/abi.rs +1037 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/args.rs +314 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit.rs +3646 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/imms.rs +202 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/mod.rs +3421 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/regs.rs +180 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/abi.rs +1410 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/args.rs +2256 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit.rs +4311 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_tests.rs +5171 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/mod.rs +2838 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/regs.rs +276 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst.isle +5294 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower/isle.rs +1064 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.isle +4808 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.rs +337 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/pcc.rs +1014 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/lib.rs +106 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/abi.rs +2506 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/blockorder.rs +465 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/isle.rs +903 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/lower.rs +1432 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/mod.rs +555 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/reg.rs +522 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/valueregs.rs +138 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/vcode.rs +1741 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/nan_canonicalization.rs +130 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/arithmetic.isle +240 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/icmp.isle +215 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ranges.rs +131 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/remove_constant_phis.rs +419 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/scoped_hash_map.rs +310 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/settings.rs +590 -0
  79. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/.cargo-checksum.json +1 -0
  80. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/Cargo.toml +35 -0
  81. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_inst.rs +1278 -0
  82. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_isle.rs +519 -0
  83. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_settings.rs +508 -0
  84. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_types.rs +75 -0
  85. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/riscv64.rs +168 -0
  86. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/x86.rs +414 -0
  87. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isle.rs +126 -0
  88. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/lib.rs +98 -0
  89. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/shared/settings.rs +348 -0
  90. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/srcgen.rs +464 -0
  91. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/.cargo-checksum.json +1 -0
  92. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/Cargo.toml +22 -0
  93. data/ext/cargo-vendor/cranelift-control-0.108.1/.cargo-checksum.json +1 -0
  94. data/ext/cargo-vendor/cranelift-control-0.108.1/Cargo.toml +30 -0
  95. data/ext/cargo-vendor/cranelift-entity-0.108.1/.cargo-checksum.json +1 -0
  96. data/ext/cargo-vendor/cranelift-entity-0.108.1/Cargo.toml +52 -0
  97. data/ext/cargo-vendor/cranelift-entity-0.108.1/src/lib.rs +381 -0
  98. data/ext/cargo-vendor/cranelift-frontend-0.108.1/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/cranelift-frontend-0.108.1/Cargo.toml +67 -0
  100. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/switch.rs +696 -0
  101. data/ext/cargo-vendor/cranelift-isle-0.108.1/.cargo-checksum.json +1 -0
  102. data/ext/cargo-vendor/cranelift-isle-0.108.1/Cargo.toml +46 -0
  103. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/codegen.rs +886 -0
  104. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/disjointsets.rs +169 -0
  105. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/lib.rs +33 -0
  106. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/sema.rs +2492 -0
  107. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/serialize.rs +846 -0
  108. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/stablemapset.rs +79 -0
  109. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/trie_again.rs +684 -0
  110. data/ext/cargo-vendor/cranelift-native-0.108.1/.cargo-checksum.json +1 -0
  111. data/ext/cargo-vendor/cranelift-native-0.108.1/Cargo.toml +43 -0
  112. data/ext/cargo-vendor/cranelift-wasm-0.108.1/.cargo-checksum.json +1 -0
  113. data/ext/cargo-vendor/cranelift-wasm-0.108.1/Cargo.toml +109 -0
  114. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/code_translator.rs +3687 -0
  115. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/environ/dummy.rs +906 -0
  116. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/environ/spec.rs +945 -0
  117. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/sections_translator.rs +389 -0
  118. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/.cargo-checksum.json +1 -0
  119. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/Cargo.toml +48 -0
  120. data/ext/cargo-vendor/embedded-io-0.4.0/.cargo-checksum.json +1 -0
  121. data/ext/cargo-vendor/embedded-io-0.4.0/CHANGELOG.md +28 -0
  122. data/ext/cargo-vendor/embedded-io-0.4.0/Cargo.toml +73 -0
  123. data/ext/cargo-vendor/embedded-io-0.4.0/LICENSE-APACHE +201 -0
  124. data/ext/cargo-vendor/embedded-io-0.4.0/LICENSE-MIT +25 -0
  125. data/ext/cargo-vendor/embedded-io-0.4.0/README.md +33 -0
  126. data/ext/cargo-vendor/embedded-io-0.4.0/ci.sh +21 -0
  127. data/ext/cargo-vendor/embedded-io-0.4.0/rust-toolchain.toml +3 -0
  128. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/futures_io.rs +65 -0
  129. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/mod.rs +40 -0
  130. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/std_io.rs +107 -0
  131. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/tokio.rs +108 -0
  132. data/ext/cargo-vendor/embedded-io-0.4.0/src/asynch.rs +230 -0
  133. data/ext/cargo-vendor/embedded-io-0.4.0/src/blocking.rs +309 -0
  134. data/ext/cargo-vendor/embedded-io-0.4.0/src/fmt.rs +228 -0
  135. data/ext/cargo-vendor/embedded-io-0.4.0/src/lib.rs +125 -0
  136. data/ext/cargo-vendor/libm-0.2.8/.cargo-checksum.json +1 -0
  137. data/ext/cargo-vendor/libm-0.2.8/CHANGELOG.md +123 -0
  138. data/ext/cargo-vendor/libm-0.2.8/CONTRIBUTING.md +95 -0
  139. data/ext/cargo-vendor/libm-0.2.8/Cargo.toml +45 -0
  140. data/ext/cargo-vendor/libm-0.2.8/LICENSE-APACHE +201 -0
  141. data/ext/cargo-vendor/libm-0.2.8/LICENSE-MIT +25 -0
  142. data/ext/cargo-vendor/libm-0.2.8/README.md +51 -0
  143. data/ext/cargo-vendor/libm-0.2.8/build.rs +463 -0
  144. data/ext/cargo-vendor/libm-0.2.8/src/lib.rs +59 -0
  145. data/ext/cargo-vendor/libm-0.2.8/src/libm_helper.rs +171 -0
  146. data/ext/cargo-vendor/libm-0.2.8/src/math/acos.rs +112 -0
  147. data/ext/cargo-vendor/libm-0.2.8/src/math/acosf.rs +79 -0
  148. data/ext/cargo-vendor/libm-0.2.8/src/math/acosh.rs +27 -0
  149. data/ext/cargo-vendor/libm-0.2.8/src/math/acoshf.rs +26 -0
  150. data/ext/cargo-vendor/libm-0.2.8/src/math/asin.rs +119 -0
  151. data/ext/cargo-vendor/libm-0.2.8/src/math/asinf.rs +72 -0
  152. data/ext/cargo-vendor/libm-0.2.8/src/math/asinh.rs +40 -0
  153. data/ext/cargo-vendor/libm-0.2.8/src/math/asinhf.rs +39 -0
  154. data/ext/cargo-vendor/libm-0.2.8/src/math/atan.rs +184 -0
  155. data/ext/cargo-vendor/libm-0.2.8/src/math/atan2.rs +126 -0
  156. data/ext/cargo-vendor/libm-0.2.8/src/math/atan2f.rs +91 -0
  157. data/ext/cargo-vendor/libm-0.2.8/src/math/atanf.rs +112 -0
  158. data/ext/cargo-vendor/libm-0.2.8/src/math/atanh.rs +37 -0
  159. data/ext/cargo-vendor/libm-0.2.8/src/math/atanhf.rs +37 -0
  160. data/ext/cargo-vendor/libm-0.2.8/src/math/cbrt.rs +113 -0
  161. data/ext/cargo-vendor/libm-0.2.8/src/math/cbrtf.rs +75 -0
  162. data/ext/cargo-vendor/libm-0.2.8/src/math/ceil.rs +82 -0
  163. data/ext/cargo-vendor/libm-0.2.8/src/math/ceilf.rs +65 -0
  164. data/ext/cargo-vendor/libm-0.2.8/src/math/copysign.rs +12 -0
  165. data/ext/cargo-vendor/libm-0.2.8/src/math/copysignf.rs +12 -0
  166. data/ext/cargo-vendor/libm-0.2.8/src/math/cos.rs +73 -0
  167. data/ext/cargo-vendor/libm-0.2.8/src/math/cosf.rs +83 -0
  168. data/ext/cargo-vendor/libm-0.2.8/src/math/cosh.rs +38 -0
  169. data/ext/cargo-vendor/libm-0.2.8/src/math/coshf.rs +38 -0
  170. data/ext/cargo-vendor/libm-0.2.8/src/math/erf.rs +318 -0
  171. data/ext/cargo-vendor/libm-0.2.8/src/math/erff.rs +230 -0
  172. data/ext/cargo-vendor/libm-0.2.8/src/math/exp.rs +154 -0
  173. data/ext/cargo-vendor/libm-0.2.8/src/math/exp10.rs +22 -0
  174. data/ext/cargo-vendor/libm-0.2.8/src/math/exp10f.rs +22 -0
  175. data/ext/cargo-vendor/libm-0.2.8/src/math/exp2.rs +394 -0
  176. data/ext/cargo-vendor/libm-0.2.8/src/math/exp2f.rs +135 -0
  177. data/ext/cargo-vendor/libm-0.2.8/src/math/expf.rs +101 -0
  178. data/ext/cargo-vendor/libm-0.2.8/src/math/expm1.rs +144 -0
  179. data/ext/cargo-vendor/libm-0.2.8/src/math/expm1f.rs +134 -0
  180. data/ext/cargo-vendor/libm-0.2.8/src/math/expo2.rs +14 -0
  181. data/ext/cargo-vendor/libm-0.2.8/src/math/fabs.rs +41 -0
  182. data/ext/cargo-vendor/libm-0.2.8/src/math/fabsf.rs +41 -0
  183. data/ext/cargo-vendor/libm-0.2.8/src/math/fdim.rs +22 -0
  184. data/ext/cargo-vendor/libm-0.2.8/src/math/fdimf.rs +22 -0
  185. data/ext/cargo-vendor/libm-0.2.8/src/math/fenv.rs +27 -0
  186. data/ext/cargo-vendor/libm-0.2.8/src/math/floor.rs +81 -0
  187. data/ext/cargo-vendor/libm-0.2.8/src/math/floorf.rs +66 -0
  188. data/ext/cargo-vendor/libm-0.2.8/src/math/fma.rs +232 -0
  189. data/ext/cargo-vendor/libm-0.2.8/src/math/fmaf.rs +117 -0
  190. data/ext/cargo-vendor/libm-0.2.8/src/math/fmax.rs +12 -0
  191. data/ext/cargo-vendor/libm-0.2.8/src/math/fmaxf.rs +12 -0
  192. data/ext/cargo-vendor/libm-0.2.8/src/math/fmin.rs +12 -0
  193. data/ext/cargo-vendor/libm-0.2.8/src/math/fminf.rs +12 -0
  194. data/ext/cargo-vendor/libm-0.2.8/src/math/fmod.rs +80 -0
  195. data/ext/cargo-vendor/libm-0.2.8/src/math/fmodf.rs +89 -0
  196. data/ext/cargo-vendor/libm-0.2.8/src/math/frexp.rs +20 -0
  197. data/ext/cargo-vendor/libm-0.2.8/src/math/frexpf.rs +21 -0
  198. data/ext/cargo-vendor/libm-0.2.8/src/math/hypot.rs +74 -0
  199. data/ext/cargo-vendor/libm-0.2.8/src/math/hypotf.rs +43 -0
  200. data/ext/cargo-vendor/libm-0.2.8/src/math/ilogb.rs +32 -0
  201. data/ext/cargo-vendor/libm-0.2.8/src/math/ilogbf.rs +32 -0
  202. data/ext/cargo-vendor/libm-0.2.8/src/math/j0.rs +422 -0
  203. data/ext/cargo-vendor/libm-0.2.8/src/math/j0f.rs +359 -0
  204. data/ext/cargo-vendor/libm-0.2.8/src/math/j1.rs +414 -0
  205. data/ext/cargo-vendor/libm-0.2.8/src/math/j1f.rs +380 -0
  206. data/ext/cargo-vendor/libm-0.2.8/src/math/jn.rs +343 -0
  207. data/ext/cargo-vendor/libm-0.2.8/src/math/jnf.rs +259 -0
  208. data/ext/cargo-vendor/libm-0.2.8/src/math/k_cos.rs +62 -0
  209. data/ext/cargo-vendor/libm-0.2.8/src/math/k_cosf.rs +29 -0
  210. data/ext/cargo-vendor/libm-0.2.8/src/math/k_expo2.rs +14 -0
  211. data/ext/cargo-vendor/libm-0.2.8/src/math/k_expo2f.rs +14 -0
  212. data/ext/cargo-vendor/libm-0.2.8/src/math/k_sin.rs +57 -0
  213. data/ext/cargo-vendor/libm-0.2.8/src/math/k_sinf.rs +30 -0
  214. data/ext/cargo-vendor/libm-0.2.8/src/math/k_tan.rs +105 -0
  215. data/ext/cargo-vendor/libm-0.2.8/src/math/k_tanf.rs +46 -0
  216. data/ext/cargo-vendor/libm-0.2.8/src/math/ldexp.rs +4 -0
  217. data/ext/cargo-vendor/libm-0.2.8/src/math/ldexpf.rs +4 -0
  218. data/ext/cargo-vendor/libm-0.2.8/src/math/lgamma.rs +6 -0
  219. data/ext/cargo-vendor/libm-0.2.8/src/math/lgamma_r.rs +320 -0
  220. data/ext/cargo-vendor/libm-0.2.8/src/math/lgammaf.rs +6 -0
  221. data/ext/cargo-vendor/libm-0.2.8/src/math/lgammaf_r.rs +255 -0
  222. data/ext/cargo-vendor/libm-0.2.8/src/math/log.rs +117 -0
  223. data/ext/cargo-vendor/libm-0.2.8/src/math/log10.rs +117 -0
  224. data/ext/cargo-vendor/libm-0.2.8/src/math/log10f.rs +91 -0
  225. data/ext/cargo-vendor/libm-0.2.8/src/math/log1p.rs +143 -0
  226. data/ext/cargo-vendor/libm-0.2.8/src/math/log1pf.rs +98 -0
  227. data/ext/cargo-vendor/libm-0.2.8/src/math/log2.rs +106 -0
  228. data/ext/cargo-vendor/libm-0.2.8/src/math/log2f.rs +87 -0
  229. data/ext/cargo-vendor/libm-0.2.8/src/math/logf.rs +65 -0
  230. data/ext/cargo-vendor/libm-0.2.8/src/math/mod.rs +370 -0
  231. data/ext/cargo-vendor/libm-0.2.8/src/math/modf.rs +34 -0
  232. data/ext/cargo-vendor/libm-0.2.8/src/math/modff.rs +33 -0
  233. data/ext/cargo-vendor/libm-0.2.8/src/math/nextafter.rs +37 -0
  234. data/ext/cargo-vendor/libm-0.2.8/src/math/nextafterf.rs +37 -0
  235. data/ext/cargo-vendor/libm-0.2.8/src/math/pow.rs +637 -0
  236. data/ext/cargo-vendor/libm-0.2.8/src/math/powf.rs +342 -0
  237. data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2.rs +233 -0
  238. data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2_large.rs +470 -0
  239. data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2f.rs +67 -0
  240. data/ext/cargo-vendor/libm-0.2.8/src/math/remainder.rs +5 -0
  241. data/ext/cargo-vendor/libm-0.2.8/src/math/remainderf.rs +5 -0
  242. data/ext/cargo-vendor/libm-0.2.8/src/math/remquo.rs +110 -0
  243. data/ext/cargo-vendor/libm-0.2.8/src/math/remquof.rs +97 -0
  244. data/ext/cargo-vendor/libm-0.2.8/src/math/rint.rs +58 -0
  245. data/ext/cargo-vendor/libm-0.2.8/src/math/rintf.rs +58 -0
  246. data/ext/cargo-vendor/libm-0.2.8/src/math/round.rs +28 -0
  247. data/ext/cargo-vendor/libm-0.2.8/src/math/roundf.rs +30 -0
  248. data/ext/cargo-vendor/libm-0.2.8/src/math/scalbn.rs +33 -0
  249. data/ext/cargo-vendor/libm-0.2.8/src/math/scalbnf.rs +29 -0
  250. data/ext/cargo-vendor/libm-0.2.8/src/math/sin.rs +88 -0
  251. data/ext/cargo-vendor/libm-0.2.8/src/math/sincos.rs +134 -0
  252. data/ext/cargo-vendor/libm-0.2.8/src/math/sincosf.rs +185 -0
  253. data/ext/cargo-vendor/libm-0.2.8/src/math/sinf.rs +93 -0
  254. data/ext/cargo-vendor/libm-0.2.8/src/math/sinh.rs +49 -0
  255. data/ext/cargo-vendor/libm-0.2.8/src/math/sinhf.rs +30 -0
  256. data/ext/cargo-vendor/libm-0.2.8/src/math/sqrt.rs +280 -0
  257. data/ext/cargo-vendor/libm-0.2.8/src/math/sqrtf.rs +170 -0
  258. data/ext/cargo-vendor/libm-0.2.8/src/math/tan.rs +70 -0
  259. data/ext/cargo-vendor/libm-0.2.8/src/math/tanf.rs +78 -0
  260. data/ext/cargo-vendor/libm-0.2.8/src/math/tanh.rs +53 -0
  261. data/ext/cargo-vendor/libm-0.2.8/src/math/tanhf.rs +39 -0
  262. data/ext/cargo-vendor/libm-0.2.8/src/math/tgamma.rs +208 -0
  263. data/ext/cargo-vendor/libm-0.2.8/src/math/tgammaf.rs +6 -0
  264. data/ext/cargo-vendor/libm-0.2.8/src/math/trunc.rs +40 -0
  265. data/ext/cargo-vendor/libm-0.2.8/src/math/truncf.rs +42 -0
  266. data/ext/cargo-vendor/postcard-1.0.8/.cargo-checksum.json +1 -0
  267. data/ext/cargo-vendor/postcard-1.0.8/CHANGELOG.md +141 -0
  268. data/ext/cargo-vendor/postcard-1.0.8/Cargo.toml +100 -0
  269. data/ext/cargo-vendor/postcard-1.0.8/LICENSE-APACHE +201 -0
  270. data/ext/cargo-vendor/postcard-1.0.8/LICENSE-MIT +25 -0
  271. data/ext/cargo-vendor/postcard-1.0.8/README.md +146 -0
  272. data/ext/cargo-vendor/postcard-1.0.8/spec/LICENSE-CC-BY-SA +427 -0
  273. data/ext/cargo-vendor/postcard-1.0.8/spec/book.toml +6 -0
  274. data/ext/cargo-vendor/postcard-1.0.8/spec/src/SUMMARY.md +6 -0
  275. data/ext/cargo-vendor/postcard-1.0.8/spec/src/glossary.md +17 -0
  276. data/ext/cargo-vendor/postcard-1.0.8/spec/src/intro.md +12 -0
  277. data/ext/cargo-vendor/postcard-1.0.8/spec/src/serde-data-model.md +190 -0
  278. data/ext/cargo-vendor/postcard-1.0.8/spec/src/wire-format.md +327 -0
  279. data/ext/cargo-vendor/postcard-1.0.8/src/accumulator.rs +367 -0
  280. data/ext/cargo-vendor/postcard-1.0.8/src/de/deserializer.rs +599 -0
  281. data/ext/cargo-vendor/postcard-1.0.8/src/de/flavors.rs +468 -0
  282. data/ext/cargo-vendor/postcard-1.0.8/src/de/mod.rs +568 -0
  283. data/ext/cargo-vendor/postcard-1.0.8/src/error.rs +95 -0
  284. data/ext/cargo-vendor/postcard-1.0.8/src/fixint.rs +189 -0
  285. data/ext/cargo-vendor/postcard-1.0.8/src/lib.rs +143 -0
  286. data/ext/cargo-vendor/postcard-1.0.8/src/max_size.rs +233 -0
  287. data/ext/cargo-vendor/postcard-1.0.8/src/schema.rs +282 -0
  288. data/ext/cargo-vendor/postcard-1.0.8/src/ser/flavors.rs +722 -0
  289. data/ext/cargo-vendor/postcard-1.0.8/src/ser/mod.rs +866 -0
  290. data/ext/cargo-vendor/postcard-1.0.8/src/ser/serializer.rs +564 -0
  291. data/ext/cargo-vendor/postcard-1.0.8/src/varint.rs +103 -0
  292. data/ext/cargo-vendor/postcard-1.0.8/tests/accumulator.rs +57 -0
  293. data/ext/cargo-vendor/postcard-1.0.8/tests/crc.rs +60 -0
  294. data/ext/cargo-vendor/postcard-1.0.8/tests/loopback.rs +248 -0
  295. data/ext/cargo-vendor/postcard-1.0.8/tests/max_size.rs +101 -0
  296. data/ext/cargo-vendor/postcard-1.0.8/tests/schema.rs +107 -0
  297. data/ext/cargo-vendor/rb-sys-0.9.100/.cargo-checksum.json +1 -0
  298. data/ext/cargo-vendor/rb-sys-0.9.100/Cargo.toml +58 -0
  299. data/ext/cargo-vendor/rb-sys-0.9.100/build/main.rs +267 -0
  300. data/ext/cargo-vendor/rb-sys-0.9.100/build/stable_api_config.rs +139 -0
  301. data/ext/cargo-vendor/rb-sys-0.9.100/src/bindings.rs +21 -0
  302. data/ext/cargo-vendor/rb-sys-0.9.100/src/tracking_allocator.rs +266 -0
  303. data/ext/cargo-vendor/rb-sys-build-0.9.100/.cargo-checksum.json +1 -0
  304. data/ext/cargo-vendor/rb-sys-build-0.9.100/Cargo.toml +62 -0
  305. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/bindings/stable_api.rs +203 -0
  306. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/bindings.rs +254 -0
  307. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/cc.rs +374 -0
  308. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/utils.rs +52 -0
  309. data/ext/cargo-vendor/wasi-common-21.0.1/.cargo-checksum.json +1 -0
  310. data/ext/cargo-vendor/wasi-common-21.0.1/Cargo.toml +223 -0
  311. data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/async_.rs +293 -0
  312. data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/main.rs +21 -0
  313. data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/sync.rs +279 -0
  314. data/ext/cargo-vendor/wasm-encoder-0.207.0/.cargo-checksum.json +1 -0
  315. data/ext/cargo-vendor/wasm-encoder-0.207.0/Cargo.toml +45 -0
  316. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/code.rs +3502 -0
  317. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/data.rs +186 -0
  318. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/elements.rs +221 -0
  319. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/globals.rs +112 -0
  320. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/imports.rs +157 -0
  321. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/memories.rs +128 -0
  322. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tables.rs +134 -0
  323. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/types.rs +678 -0
  324. data/ext/cargo-vendor/wasmparser-0.207.0/.cargo-checksum.json +1 -0
  325. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.lock +659 -0
  326. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.toml +95 -0
  327. data/ext/cargo-vendor/wasmparser-0.207.0/src/binary_reader.rs +1867 -0
  328. data/ext/cargo-vendor/wasmparser-0.207.0/src/lib.rs +805 -0
  329. data/ext/cargo-vendor/wasmparser-0.207.0/src/limits.rs +78 -0
  330. data/ext/cargo-vendor/wasmparser-0.207.0/src/map.rs +137 -0
  331. data/ext/cargo-vendor/wasmparser-0.207.0/src/parser.rs +1636 -0
  332. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/canonicals.rs +121 -0
  333. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/instances.rs +164 -0
  334. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/names.rs +102 -0
  335. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/start.rs +31 -0
  336. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/types.rs +551 -0
  337. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/code.rs +146 -0
  338. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/coredumps.rs +244 -0
  339. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/custom.rs +64 -0
  340. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/data.rs +96 -0
  341. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/dylink0.rs +110 -0
  342. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/elements.rs +152 -0
  343. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/globals.rs +51 -0
  344. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/linking.rs +450 -0
  345. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/memories.rs +57 -0
  346. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/names.rs +159 -0
  347. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/operators.rs +430 -0
  348. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/reloc.rs +301 -0
  349. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/tables.rs +93 -0
  350. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types/matches.rs +277 -0
  351. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types.rs +1773 -0
  352. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core.rs +43 -0
  353. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers.rs +316 -0
  354. data/ext/cargo-vendor/wasmparser-0.207.0/src/resources.rs +235 -0
  355. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/component.rs +3242 -0
  356. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core/canonical.rs +233 -0
  357. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core.rs +1450 -0
  358. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/func.rs +331 -0
  359. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/names.rs +947 -0
  360. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/operators.rs +4117 -0
  361. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/types.rs +4492 -0
  362. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator.rs +1786 -0
  363. data/ext/cargo-vendor/wasmprinter-0.207.0/.cargo-checksum.json +1 -0
  364. data/ext/cargo-vendor/wasmprinter-0.207.0/Cargo.toml +50 -0
  365. data/ext/cargo-vendor/wasmprinter-0.207.0/src/lib.rs +3226 -0
  366. data/ext/cargo-vendor/wasmprinter-0.207.0/src/operator.rs +1164 -0
  367. data/ext/cargo-vendor/wasmprinter-0.207.0/tests/all.rs +293 -0
  368. data/ext/cargo-vendor/wasmtime-21.0.1/.cargo-checksum.json +1 -0
  369. data/ext/cargo-vendor/wasmtime-21.0.1/Cargo.toml +386 -0
  370. data/ext/cargo-vendor/wasmtime-21.0.1/build.rs +37 -0
  371. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/code_builder.rs +275 -0
  372. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/runtime.rs +176 -0
  373. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile.rs +910 -0
  374. data/ext/cargo-vendor/wasmtime-21.0.1/src/config.rs +2904 -0
  375. data/ext/cargo-vendor/wasmtime-21.0.1/src/engine/serialization.rs +887 -0
  376. data/ext/cargo-vendor/wasmtime-21.0.1/src/engine.rs +728 -0
  377. data/ext/cargo-vendor/wasmtime-21.0.1/src/lib.rs +328 -0
  378. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/jitdump.rs +67 -0
  379. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/perfmap.rs +48 -0
  380. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/vtune.rs +81 -0
  381. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent.rs +106 -0
  382. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code.rs +102 -0
  383. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code_memory.rs +337 -0
  384. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/component.rs +661 -0
  385. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/host.rs +440 -0
  386. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/options.rs +555 -0
  387. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/typed.rs +2498 -0
  388. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func.rs +746 -0
  389. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/instance.rs +814 -0
  390. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/linker.rs +783 -0
  391. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/matching.rs +217 -0
  392. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/mod.rs +783 -0
  393. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resource_table.rs +355 -0
  394. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resources.rs +1133 -0
  395. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/storage.rs +43 -0
  396. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/store.rs +29 -0
  397. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/types.rs +892 -0
  398. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/values.rs +980 -0
  399. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/coredump.rs +342 -0
  400. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/debug.rs +166 -0
  401. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/global.rs +310 -0
  402. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/table.rs +477 -0
  403. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals.rs +236 -0
  404. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func/typed.rs +899 -0
  405. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func.rs +2627 -0
  406. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/anyref.rs +46 -0
  407. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/externref.rs +50 -0
  408. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/rooting.rs +224 -0
  409. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/anyref.rs +473 -0
  410. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/externref.rs +650 -0
  411. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/i31.rs +346 -0
  412. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/rooting.rs +1588 -0
  413. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc.rs +89 -0
  414. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instance.rs +992 -0
  415. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instantiate.rs +346 -0
  416. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/limits.rs +399 -0
  417. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/linker.rs +1506 -0
  418. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/memory.rs +998 -0
  419. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module/registry.rs +353 -0
  420. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module.rs +1295 -0
  421. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/profiling.rs +221 -0
  422. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/resources.rs +33 -0
  423. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/signatures.rs +216 -0
  424. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/stack.rs +73 -0
  425. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/context.rs +243 -0
  426. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/data.rs +301 -0
  427. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/func_refs.rs +90 -0
  428. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store.rs +2820 -0
  429. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/func.rs +139 -0
  430. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/global.rs +68 -0
  431. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/memory.rs +287 -0
  432. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/table.rs +29 -0
  433. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline.rs +78 -0
  434. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trap.rs +642 -0
  435. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/type_registry.rs +807 -0
  436. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types/matching.rs +421 -0
  437. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types.rs +2239 -0
  438. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/unix.rs +40 -0
  439. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/v128.rs +131 -0
  440. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/values.rs +966 -0
  441. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/arch/aarch64.rs +76 -0
  442. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/arch/x86_64.rs +41 -0
  443. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/async_yield.rs +35 -0
  444. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/libcalls.rs +571 -0
  445. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/resources.rs +352 -0
  446. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component.rs +860 -0
  447. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/const_expr.rs +102 -0
  448. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/cow.rs +893 -0
  449. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/debug_builtins.rs +59 -0
  450. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/export.rs +108 -0
  451. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/disabled.rs +24 -0
  452. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/drc.rs +968 -0
  453. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/externref.rs +116 -0
  454. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/free_list.rs +771 -0
  455. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled.rs +18 -0
  456. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_ref.rs +491 -0
  457. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_runtime.rs +506 -0
  458. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/host_data.rs +82 -0
  459. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/i31.rs +87 -0
  460. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc.rs +245 -0
  461. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/imports.rs +29 -0
  462. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/on_demand.rs +218 -0
  463. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +93 -0
  464. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +66 -0
  465. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +705 -0
  466. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +1000 -0
  467. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/table_pool.rs +233 -0
  468. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +245 -0
  469. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling.rs +656 -0
  470. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator.rs +798 -0
  471. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance.rs +1519 -0
  472. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/libcalls.rs +834 -0
  473. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/memory.rs +744 -0
  474. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mmap.rs +220 -0
  475. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mmap_vec.rs +162 -0
  476. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/module_id.rs +43 -0
  477. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/enabled.rs +214 -0
  478. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/mod.rs +54 -0
  479. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/pkru.rs +104 -0
  480. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/sys.rs +114 -0
  481. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/send_sync_ptr.rs +106 -0
  482. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/store_box.rs +37 -0
  483. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/capi.rs +200 -0
  484. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/mmap.rs +112 -0
  485. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/mod.rs +34 -0
  486. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/traphandlers.rs +55 -0
  487. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/vm.rs +109 -0
  488. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/mmap.rs +95 -0
  489. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/mod.rs +24 -0
  490. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/traphandlers.rs +47 -0
  491. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/mod.rs +25 -0
  492. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/machports.rs +416 -0
  493. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/mmap.rs +162 -0
  494. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/mod.rs +35 -0
  495. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/signals.rs +401 -0
  496. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/unwind.rs +150 -0
  497. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/vm.rs +215 -0
  498. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/mmap.rs +221 -0
  499. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/mod.rs +20 -0
  500. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/traphandlers.rs +104 -0
  501. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/table.rs +847 -0
  502. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/parking_spot.rs +623 -0
  503. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/shared_memory.rs +233 -0
  504. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/shared_memory_disabled.rs +101 -0
  505. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/backtrace.rs +267 -0
  506. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/coredump_disabled.rs +16 -0
  507. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/coredump_enabled.rs +42 -0
  508. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers.rs +768 -0
  509. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext/vm_host_func_context.rs +138 -0
  510. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext.rs +1337 -0
  511. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm.rs +287 -0
  512. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/windows.rs +35 -0
  513. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime.rs +110 -0
  514. data/ext/cargo-vendor/wasmtime-21.0.1/src/sync_nostd.rs +255 -0
  515. data/ext/cargo-vendor/wasmtime-21.0.1/src/sync_std.rs +52 -0
  516. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/.cargo-checksum.json +1 -0
  517. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/Cargo.toml +22 -0
  518. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/src/lib.rs +83 -0
  519. data/ext/cargo-vendor/wasmtime-cache-21.0.1/.cargo-checksum.json +1 -0
  520. data/ext/cargo-vendor/wasmtime-cache-21.0.1/Cargo.toml +88 -0
  521. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/lib.rs +235 -0
  522. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/.cargo-checksum.json +1 -0
  523. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/Cargo.toml +79 -0
  524. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/bindgen.rs +436 -0
  525. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/component.rs +1295 -0
  526. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen.rs +576 -0
  527. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen_no_std.rs +16 -0
  528. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/.cargo-checksum.json +1 -0
  529. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/Cargo.toml +25 -0
  530. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/src/lib.rs +182 -0
  531. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/.cargo-checksum.json +1 -0
  532. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/Cargo.toml +114 -0
  533. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler/component.rs +968 -0
  534. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler.rs +1383 -0
  535. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/gc.rs +252 -0
  536. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/attr.rs +320 -0
  537. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/expression.rs +1248 -0
  538. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/line_program.rs +287 -0
  539. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/mod.rs +256 -0
  540. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/unit.rs +529 -0
  541. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/utils.rs +186 -0
  542. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/write_debuginfo.rs +196 -0
  543. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug.rs +18 -0
  544. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/func_environ.rs +2888 -0
  545. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc/enabled.rs +648 -0
  546. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc.rs +198 -0
  547. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/lib.rs +511 -0
  548. data/ext/cargo-vendor/wasmtime-environ-21.0.1/.cargo-checksum.json +1 -0
  549. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.lock +772 -0
  550. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.toml +154 -0
  551. data/ext/cargo-vendor/wasmtime-environ-21.0.1/examples/factc.rs +198 -0
  552. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/address_map.rs +73 -0
  553. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/mod.rs +419 -0
  554. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_artifacts.rs +315 -0
  555. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_environ.rs +1337 -0
  556. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_types.rs +362 -0
  557. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/trap_encoding.rs +70 -0
  558. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/compiler.rs +20 -0
  559. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/dfg.rs +691 -0
  560. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/info.rs +672 -0
  561. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate/adapt.rs +455 -0
  562. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate.rs +978 -0
  563. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types.rs +1029 -0
  564. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder/resources.rs +233 -0
  565. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder.rs +997 -0
  566. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component.rs +107 -0
  567. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/demangling.rs +28 -0
  568. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/core_types.rs +25 -0
  569. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/signature.rs +119 -0
  570. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/trampoline.rs +3234 -0
  571. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/transcode.rs +90 -0
  572. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/traps.rs +116 -0
  573. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact.rs +714 -0
  574. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/lib.rs +161 -0
  575. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module.rs +697 -0
  576. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_artifacts.rs +146 -0
  577. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_types.rs +91 -0
  578. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/scopevec.rs +80 -0
  579. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/stack_map.rs +37 -0
  580. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/trap_encoding.rs +189 -0
  581. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/tunables.rs +168 -0
  582. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/vmoffsets.rs +1015 -0
  583. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/.cargo-checksum.json +1 -0
  584. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/Cargo.toml +64 -0
  585. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/build.rs +38 -0
  586. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/lib.rs +328 -0
  587. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/unix.rs +490 -0
  588. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/windows.rs +166 -0
  589. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/.cargo-checksum.json +1 -0
  590. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/Cargo.toml +67 -0
  591. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/.cargo-checksum.json +1 -0
  592. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/Cargo.toml +51 -0
  593. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/lib.rs +109 -0
  594. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/libc.rs +163 -0
  595. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/miri.rs +10 -0
  596. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/win.rs +49 -0
  597. data/ext/cargo-vendor/wasmtime-slab-21.0.1/.cargo-checksum.json +1 -0
  598. data/ext/cargo-vendor/wasmtime-slab-21.0.1/Cargo.toml +21 -0
  599. data/ext/cargo-vendor/wasmtime-slab-21.0.1/src/lib.rs +498 -0
  600. data/ext/cargo-vendor/wasmtime-types-21.0.1/.cargo-checksum.json +1 -0
  601. data/ext/cargo-vendor/wasmtime-types-21.0.1/Cargo.toml +55 -0
  602. data/ext/cargo-vendor/wasmtime-types-21.0.1/src/error.rs +81 -0
  603. data/ext/cargo-vendor/wasmtime-types-21.0.1/src/lib.rs +1572 -0
  604. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/.cargo-checksum.json +1 -0
  605. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/Cargo.toml +32 -0
  606. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/.cargo-checksum.json +1 -0
  607. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/Cargo.toml +200 -0
  608. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/bindings.rs +280 -0
  609. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ctx.rs +667 -0
  610. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/filesystem.rs +446 -0
  611. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/lib.rs +426 -0
  612. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview0.rs +877 -0
  613. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview1.rs +2660 -0
  614. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/api.rs +198 -0
  615. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/async_.rs +397 -0
  616. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/main.rs +91 -0
  617. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/preview1.rs +251 -0
  618. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/sync.rs +331 -0
  619. data/ext/cargo-vendor/wasmtime-winch-21.0.1/.cargo-checksum.json +1 -0
  620. data/ext/cargo-vendor/wasmtime-winch-21.0.1/Cargo.toml +81 -0
  621. data/ext/cargo-vendor/wasmtime-winch-21.0.1/src/compiler.rs +261 -0
  622. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/.cargo-checksum.json +1 -0
  623. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/Cargo.toml +46 -0
  624. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/lib.rs +2541 -0
  625. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/rust.rs +421 -0
  626. data/ext/cargo-vendor/wiggle-21.0.1/.cargo-checksum.json +1 -0
  627. data/ext/cargo-vendor/wiggle-21.0.1/Cargo.toml +123 -0
  628. data/ext/cargo-vendor/wiggle-generate-21.0.1/.cargo-checksum.json +1 -0
  629. data/ext/cargo-vendor/wiggle-generate-21.0.1/Cargo.toml +66 -0
  630. data/ext/cargo-vendor/wiggle-macro-21.0.1/.cargo-checksum.json +1 -0
  631. data/ext/cargo-vendor/wiggle-macro-21.0.1/Cargo.toml +55 -0
  632. data/ext/cargo-vendor/winch-codegen-0.19.1/.cargo-checksum.json +1 -0
  633. data/ext/cargo-vendor/winch-codegen-0.19.1/Cargo.toml +76 -0
  634. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/context.rs +534 -0
  635. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/env.rs +440 -0
  636. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/mod.rs +882 -0
  637. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/abi.rs +291 -0
  638. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/address.rs +143 -0
  639. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/asm.rs +380 -0
  640. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/masm.rs +566 -0
  641. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/mod.rs +158 -0
  642. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/regs.rs +161 -0
  643. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/reg.rs +73 -0
  644. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/asm.rs +1423 -0
  645. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/masm.rs +1120 -0
  646. data/ext/cargo-vendor/winch-codegen-0.19.1/src/masm.rs +941 -0
  647. data/ext/cargo-vendor/winch-codegen-0.19.1/src/regalloc.rs +65 -0
  648. data/ext/cargo-vendor/winch-codegen-0.19.1/src/regset.rs +194 -0
  649. data/ext/cargo-vendor/winch-codegen-0.19.1/src/visitor.rs +2144 -0
  650. data/ext/cargo-vendor/wit-parser-0.207.0/.cargo-checksum.json +1 -0
  651. data/ext/cargo-vendor/wit-parser-0.207.0/Cargo.toml +109 -0
  652. data/ext/cargo-vendor/wit-parser-0.207.0/src/ast/resolve.rs +1442 -0
  653. data/ext/cargo-vendor/wit-parser-0.207.0/src/decoding.rs +1764 -0
  654. data/ext/cargo-vendor/wit-parser-0.207.0/src/lib.rs +777 -0
  655. data/ext/cargo-vendor/wit-parser-0.207.0/src/live.rs +126 -0
  656. data/ext/cargo-vendor/wit-parser-0.207.0/src/resolve.rs +2337 -0
  657. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +5 -0
  658. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-return-borrow.wit.result +5 -0
  659. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit +7 -0
  660. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit.result +5 -0
  661. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit +8 -0
  662. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit.result +5 -0
  663. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow3.wit +7 -0
  664. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow3.wit.result +5 -0
  665. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow4.wit +7 -0
  666. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow4.wit.result +5 -0
  667. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow5.wit +7 -0
  668. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow5.wit.result +5 -0
  669. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit +7 -0
  670. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit.result +5 -0
  671. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit +11 -0
  672. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit.result +5 -0
  673. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8/deps/baz.wit +9 -0
  674. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8/foo.wit +7 -0
  675. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8.wit.result +8 -0
  676. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit +24 -0
  677. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit.json +231 -0
  678. data/ext/src/lib.rs +1 -0
  679. data/ext/src/ruby_api/config.rs +1 -12
  680. data/ext/src/ruby_api/engine.rs +3 -6
  681. data/ext/src/ruby_api/store.rs +68 -5
  682. data/lib/wasmtime/version.rb +1 -1
  683. metadata +1601 -1408
  684. data/ext/cargo-vendor/bincode-1.3.3/.cargo-checksum.json +0 -1
  685. data/ext/cargo-vendor/bincode-1.3.3/Cargo.toml +0 -37
  686. data/ext/cargo-vendor/bincode-1.3.3/LICENSE.md +0 -21
  687. data/ext/cargo-vendor/bincode-1.3.3/readme.md +0 -112
  688. data/ext/cargo-vendor/bincode-1.3.3/src/byteorder.rs +0 -385
  689. data/ext/cargo-vendor/bincode-1.3.3/src/config/endian.rs +0 -27
  690. data/ext/cargo-vendor/bincode-1.3.3/src/config/int.rs +0 -682
  691. data/ext/cargo-vendor/bincode-1.3.3/src/config/legacy.rs +0 -253
  692. data/ext/cargo-vendor/bincode-1.3.3/src/config/limit.rs +0 -49
  693. data/ext/cargo-vendor/bincode-1.3.3/src/config/mod.rs +0 -408
  694. data/ext/cargo-vendor/bincode-1.3.3/src/config/trailing.rs +0 -37
  695. data/ext/cargo-vendor/bincode-1.3.3/src/de/mod.rs +0 -515
  696. data/ext/cargo-vendor/bincode-1.3.3/src/de/read.rs +0 -202
  697. data/ext/cargo-vendor/bincode-1.3.3/src/error.rs +0 -115
  698. data/ext/cargo-vendor/bincode-1.3.3/src/internal.rs +0 -124
  699. data/ext/cargo-vendor/bincode-1.3.3/src/lib.rs +0 -201
  700. data/ext/cargo-vendor/bincode-1.3.3/src/ser/mod.rs +0 -772
  701. data/ext/cargo-vendor/bincode-1.3.3/tests/test.rs +0 -899
  702. data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +0 -1
  703. data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +0 -40
  704. data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +0 -1
  705. data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +0 -178
  706. data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +0 -396
  707. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +0 -403
  708. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +0 -386
  709. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ctxhash.rs +0 -167
  710. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +0 -835
  711. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +0 -838
  712. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/fx.rs +0 -105
  713. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/incremental_cache.rs +0 -256
  714. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +0 -1019
  715. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +0 -1707
  716. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/args.rs +0 -779
  717. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +0 -3932
  718. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit_tests.rs +0 -7919
  719. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/imms.rs +0 -1218
  720. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +0 -3083
  721. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/regs.rs +0 -292
  722. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +0 -4218
  723. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +0 -884
  724. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +0 -565
  725. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/mod.rs +0 -432
  726. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +0 -1109
  727. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +0 -1968
  728. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +0 -3466
  729. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit_tests.rs +0 -2146
  730. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/mod.rs +0 -2041
  731. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/regs.rs +0 -175
  732. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/vector.rs +0 -1162
  733. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +0 -2944
  734. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +0 -625
  735. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +0 -2872
  736. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +0 -1047
  737. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +0 -347
  738. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +0 -3646
  739. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/imms.rs +0 -202
  740. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/mod.rs +0 -3423
  741. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/regs.rs +0 -187
  742. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +0 -1369
  743. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +0 -2289
  744. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +0 -4383
  745. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_tests.rs +0 -5131
  746. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +0 -2798
  747. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/regs.rs +0 -276
  748. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +0 -5304
  749. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +0 -1066
  750. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +0 -4809
  751. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +0 -339
  752. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +0 -1003
  753. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/lib.rs +0 -106
  754. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +0 -2594
  755. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/blockorder.rs +0 -465
  756. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +0 -914
  757. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +0 -1452
  758. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +0 -555
  759. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/reg.rs +0 -562
  760. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/valueregs.rs +0 -132
  761. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +0 -1807
  762. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +0 -110
  763. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/arithmetic.isle +0 -179
  764. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/icmp.isle +0 -197
  765. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/remove_constant_phis.rs +0 -420
  766. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/scoped_hash_map.rs +0 -310
  767. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +0 -591
  768. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +0 -1
  769. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +0 -35
  770. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_inst.rs +0 -1784
  771. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_settings.rs +0 -508
  772. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_types.rs +0 -75
  773. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/riscv64.rs +0 -160
  774. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/x86.rs +0 -402
  775. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/lib.rs +0 -59
  776. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/settings.rs +0 -355
  777. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/srcgen.rs +0 -470
  778. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +0 -1
  779. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +0 -22
  780. data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +0 -1
  781. data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +0 -30
  782. data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +0 -1
  783. data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +0 -50
  784. data/ext/cargo-vendor/cranelift-entity-0.107.2/src/lib.rs +0 -317
  785. data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +0 -1
  786. data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +0 -69
  787. data/ext/cargo-vendor/cranelift-frontend-0.107.2/src/switch.rs +0 -654
  788. data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +0 -1
  789. data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +0 -46
  790. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/codegen.rs +0 -886
  791. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/lib.rs +0 -271
  792. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/sema.rs +0 -2492
  793. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/serialize.rs +0 -846
  794. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/trie_again.rs +0 -683
  795. data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +0 -1
  796. data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +0 -45
  797. data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +0 -1
  798. data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +0 -107
  799. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +0 -3683
  800. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +0 -912
  801. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +0 -945
  802. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/sections_translator.rs +0 -409
  803. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +0 -1
  804. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +0 -48
  805. data/ext/cargo-vendor/rb-sys-0.9.97/.cargo-checksum.json +0 -1
  806. data/ext/cargo-vendor/rb-sys-0.9.97/Cargo.toml +0 -54
  807. data/ext/cargo-vendor/rb-sys-0.9.97/build/main.rs +0 -238
  808. data/ext/cargo-vendor/rb-sys-0.9.97/build/stable_api_config.rs +0 -133
  809. data/ext/cargo-vendor/rb-sys-0.9.97/src/bindings.rs +0 -20
  810. data/ext/cargo-vendor/rb-sys-0.9.97/src/tracking_allocator.rs +0 -265
  811. data/ext/cargo-vendor/rb-sys-build-0.9.97/.cargo-checksum.json +0 -1
  812. data/ext/cargo-vendor/rb-sys-build-0.9.97/Cargo.toml +0 -62
  813. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/bindings/stable_api.rs +0 -202
  814. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/bindings.rs +0 -250
  815. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/cc.rs +0 -365
  816. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/utils.rs +0 -52
  817. data/ext/cargo-vendor/wasi-common-20.0.2/.cargo-checksum.json +0 -1
  818. data/ext/cargo-vendor/wasi-common-20.0.2/Cargo.toml +0 -220
  819. data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/async_.rs +0 -293
  820. data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/main.rs +0 -21
  821. data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/sync.rs +0 -279
  822. data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +0 -1
  823. data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +0 -43
  824. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/code.rs +0 -3444
  825. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/data.rs +0 -185
  826. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/elements.rs +0 -220
  827. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/globals.rs +0 -101
  828. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/imports.rs +0 -156
  829. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/memories.rs +0 -111
  830. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/tables.rs +0 -116
  831. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/types.rs +0 -673
  832. data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +0 -1
  833. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +0 -744
  834. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +0 -66
  835. data/ext/cargo-vendor/wasmparser-0.202.0/src/binary_reader.rs +0 -1849
  836. data/ext/cargo-vendor/wasmparser-0.202.0/src/lib.rs +0 -766
  837. data/ext/cargo-vendor/wasmparser-0.202.0/src/limits.rs +0 -64
  838. data/ext/cargo-vendor/wasmparser-0.202.0/src/parser.rs +0 -1611
  839. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/canonicals.rs +0 -120
  840. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/instances.rs +0 -163
  841. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/names.rs +0 -102
  842. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/start.rs +0 -30
  843. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +0 -549
  844. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/code.rs +0 -146
  845. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/coredumps.rs +0 -243
  846. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/custom.rs +0 -63
  847. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/data.rs +0 -96
  848. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/dylink0.rs +0 -109
  849. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/elements.rs +0 -152
  850. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/globals.rs +0 -49
  851. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/linking.rs +0 -449
  852. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/memories.rs +0 -56
  853. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/names.rs +0 -156
  854. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/operators.rs +0 -411
  855. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/tables.rs +0 -87
  856. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/types/matches.rs +0 -277
  857. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/types.rs +0 -1680
  858. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core.rs +0 -41
  859. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers.rs +0 -316
  860. data/ext/cargo-vendor/wasmparser-0.202.0/src/resources.rs +0 -235
  861. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/component.rs +0 -3238
  862. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/core/canonical.rs +0 -233
  863. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/core.rs +0 -1400
  864. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/func.rs +0 -338
  865. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/names.rs +0 -929
  866. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +0 -4076
  867. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +0 -4449
  868. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator.rs +0 -1619
  869. data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +0 -1
  870. data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +0 -45
  871. data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +0 -3202
  872. data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +0 -1131
  873. data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +0 -279
  874. data/ext/cargo-vendor/wasmtime-20.0.2/.cargo-checksum.json +0 -1
  875. data/ext/cargo-vendor/wasmtime-20.0.2/Cargo.toml +0 -268
  876. data/ext/cargo-vendor/wasmtime-20.0.2/src/compile/code_builder.rs +0 -201
  877. data/ext/cargo-vendor/wasmtime-20.0.2/src/compile/runtime.rs +0 -175
  878. data/ext/cargo-vendor/wasmtime-20.0.2/src/compile.rs +0 -897
  879. data/ext/cargo-vendor/wasmtime-20.0.2/src/config.rs +0 -2695
  880. data/ext/cargo-vendor/wasmtime-20.0.2/src/engine/serialization.rs +0 -849
  881. data/ext/cargo-vendor/wasmtime-20.0.2/src/engine.rs +0 -741
  882. data/ext/cargo-vendor/wasmtime-20.0.2/src/lib.rs +0 -303
  883. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/jitdump.rs +0 -66
  884. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/perfmap.rs +0 -47
  885. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/vtune.rs +0 -80
  886. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent.rs +0 -105
  887. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/code.rs +0 -102
  888. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/code_memory.rs +0 -335
  889. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/component.rs +0 -661
  890. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/host.rs +0 -439
  891. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/options.rs +0 -554
  892. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/typed.rs +0 -2484
  893. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func.rs +0 -747
  894. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/instance.rs +0 -804
  895. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/linker.rs +0 -786
  896. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/matching.rs +0 -217
  897. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/mod.rs +0 -756
  898. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/resource_table.rs +0 -350
  899. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/resources.rs +0 -1133
  900. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/storage.rs +0 -43
  901. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/store.rs +0 -28
  902. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/types.rs +0 -892
  903. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/values.rs +0 -978
  904. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/coredump.rs +0 -336
  905. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/debug.rs +0 -165
  906. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals/global.rs +0 -300
  907. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals/table.rs +0 -480
  908. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals.rs +0 -236
  909. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/func/typed.rs +0 -898
  910. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/func.rs +0 -2633
  911. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/anyref.rs +0 -46
  912. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/externref.rs +0 -50
  913. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/rooting.rs +0 -222
  914. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/anyref.rs +0 -472
  915. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/externref.rs +0 -644
  916. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/i31.rs +0 -345
  917. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/rooting.rs +0 -1543
  918. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc.rs +0 -87
  919. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/instance.rs +0 -992
  920. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/instantiate.rs +0 -345
  921. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/limits.rs +0 -398
  922. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/linker.rs +0 -1521
  923. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/memory.rs +0 -999
  924. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/module/registry.rs +0 -354
  925. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/module.rs +0 -1295
  926. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/profiling.rs +0 -224
  927. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/resources.rs +0 -33
  928. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/signatures.rs +0 -216
  929. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/stack.rs +0 -73
  930. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/context.rs +0 -243
  931. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/data.rs +0 -289
  932. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/func_refs.rs +0 -85
  933. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store.rs +0 -2796
  934. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/func.rs +0 -138
  935. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/global.rs +0 -68
  936. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/memory.rs +0 -286
  937. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/table.rs +0 -34
  938. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline.rs +0 -77
  939. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trap.rs +0 -641
  940. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/type_registry.rs +0 -632
  941. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/types/matching.rs +0 -367
  942. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/types.rs +0 -1378
  943. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/unix.rs +0 -39
  944. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/v128.rs +0 -131
  945. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/values.rs +0 -945
  946. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/windows.rs +0 -34
  947. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime.rs +0 -112
  948. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/.cargo-checksum.json +0 -1
  949. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/Cargo.toml +0 -22
  950. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/src/lib.rs +0 -81
  951. data/ext/cargo-vendor/wasmtime-cache-20.0.2/.cargo-checksum.json +0 -1
  952. data/ext/cargo-vendor/wasmtime-cache-20.0.2/Cargo.toml +0 -81
  953. data/ext/cargo-vendor/wasmtime-cache-20.0.2/src/lib.rs +0 -235
  954. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/.cargo-checksum.json +0 -1
  955. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/Cargo.toml +0 -67
  956. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/src/bindgen.rs +0 -390
  957. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/src/component.rs +0 -1295
  958. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/tests/codegen.rs +0 -342
  959. data/ext/cargo-vendor/wasmtime-component-util-20.0.2/.cargo-checksum.json +0 -1
  960. data/ext/cargo-vendor/wasmtime-component-util-20.0.2/Cargo.toml +0 -25
  961. data/ext/cargo-vendor/wasmtime-component-util-20.0.2/src/lib.rs +0 -180
  962. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/.cargo-checksum.json +0 -1
  963. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/Cargo.toml +0 -114
  964. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/compiler/component.rs +0 -962
  965. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/compiler.rs +0 -1369
  966. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/gc.rs +0 -239
  967. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/attr.rs +0 -345
  968. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/expression.rs +0 -1252
  969. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/line_program.rs +0 -282
  970. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/mod.rs +0 -126
  971. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/unit.rs +0 -522
  972. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/utils.rs +0 -187
  973. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/write_debuginfo.rs +0 -187
  974. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug.rs +0 -18
  975. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/func_environ.rs +0 -2672
  976. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/gc/enabled.rs +0 -649
  977. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/gc.rs +0 -198
  978. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/lib.rs +0 -505
  979. data/ext/cargo-vendor/wasmtime-environ-20.0.2/.cargo-checksum.json +0 -1
  980. data/ext/cargo-vendor/wasmtime-environ-20.0.2/Cargo.lock +0 -782
  981. data/ext/cargo-vendor/wasmtime-environ-20.0.2/Cargo.toml +0 -144
  982. data/ext/cargo-vendor/wasmtime-environ-20.0.2/examples/factc.rs +0 -205
  983. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/address_map.rs +0 -72
  984. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/mod.rs +0 -389
  985. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/module_artifacts.rs +0 -300
  986. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/trap_encoding.rs +0 -69
  987. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/compiler.rs +0 -19
  988. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/dfg.rs +0 -690
  989. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/info.rs +0 -672
  990. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/translate/adapt.rs +0 -459
  991. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/translate.rs +0 -965
  992. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/types/resources.rs +0 -234
  993. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/types.rs +0 -1972
  994. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component.rs +0 -103
  995. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/demangling.rs +0 -28
  996. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/core_types.rs +0 -24
  997. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/signature.rs +0 -135
  998. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/trampoline.rs +0 -3233
  999. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/transcode.rs +0 -89
  1000. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/traps.rs +0 -115
  1001. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact.rs +0 -711
  1002. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/lib.rs +0 -70
  1003. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module.rs +0 -780
  1004. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_artifacts.rs +0 -145
  1005. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_environ.rs +0 -1288
  1006. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_types.rs +0 -122
  1007. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/scopevec.rs +0 -78
  1008. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/stack_map.rs +0 -36
  1009. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/trap_encoding.rs +0 -188
  1010. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/tunables.rs +0 -158
  1011. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/vmoffsets.rs +0 -952
  1012. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/.cargo-checksum.json +0 -1
  1013. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/Cargo.toml +0 -63
  1014. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/build.rs +0 -26
  1015. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/lib.rs +0 -328
  1016. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/unix.rs +0 -265
  1017. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/windows.rs +0 -166
  1018. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.2/.cargo-checksum.json +0 -1
  1019. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.2/Cargo.toml +0 -67
  1020. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/.cargo-checksum.json +0 -1
  1021. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/Cargo.toml +0 -47
  1022. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/lib.rs +0 -108
  1023. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/libc.rs +0 -149
  1024. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/miri.rs +0 -10
  1025. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/win.rs +0 -45
  1026. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/.cargo-checksum.json +0 -1
  1027. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/Cargo.toml +0 -147
  1028. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/build.rs +0 -24
  1029. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/arch/aarch64.rs +0 -76
  1030. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/arch/x86_64.rs +0 -41
  1031. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/async_yield.rs +0 -35
  1032. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component/libcalls.rs +0 -571
  1033. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component/resources.rs +0 -351
  1034. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component.rs +0 -860
  1035. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/cow.rs +0 -888
  1036. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/debug_builtins.rs +0 -59
  1037. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/export.rs +0 -108
  1038. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/disabled.rs +0 -23
  1039. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/drc.rs +0 -963
  1040. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/externref.rs +0 -115
  1041. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/free_list.rs +0 -767
  1042. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled.rs +0 -18
  1043. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/gc_ref.rs +0 -486
  1044. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/gc_runtime.rs +0 -503
  1045. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/host_data.rs +0 -81
  1046. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/i31.rs +0 -86
  1047. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc.rs +0 -244
  1048. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/imports.rs +0 -27
  1049. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/on_demand.rs +0 -217
  1050. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/gc_heap_pool.rs +0 -92
  1051. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/index_allocator.rs +0 -704
  1052. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/memory_pool.rs +0 -996
  1053. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/stack_pool.rs +0 -242
  1054. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/table_pool.rs +0 -231
  1055. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling.rs +0 -699
  1056. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator.rs +0 -780
  1057. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance.rs +0 -1566
  1058. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/lib.rs +0 -289
  1059. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/libcalls.rs +0 -777
  1060. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/memory.rs +0 -751
  1061. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mmap.rs +0 -214
  1062. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mmap_vec.rs +0 -201
  1063. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/module_id.rs +0 -43
  1064. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/enabled.rs +0 -213
  1065. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/mod.rs +0 -54
  1066. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/pkru.rs +0 -104
  1067. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/sys.rs +0 -113
  1068. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/send_sync_ptr.rs +0 -106
  1069. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/store_box.rs +0 -35
  1070. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/capi.rs +0 -189
  1071. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/mmap.rs +0 -111
  1072. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/mod.rs +0 -24
  1073. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/traphandlers.rs +0 -55
  1074. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/vm.rs +0 -108
  1075. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/mmap.rs +0 -94
  1076. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/mod.rs +0 -10
  1077. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/traphandlers.rs +0 -47
  1078. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/mod.rs +0 -33
  1079. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/machports.rs +0 -416
  1080. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/mmap.rs +0 -151
  1081. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/mod.rs +0 -21
  1082. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/signals.rs +0 -401
  1083. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/unwind.rs +0 -149
  1084. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/vm.rs +0 -208
  1085. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/mmap.rs +0 -216
  1086. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/mod.rs +0 -6
  1087. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/traphandlers.rs +0 -104
  1088. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/table.rs +0 -851
  1089. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/parking_spot.rs +0 -621
  1090. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/shared_memory.rs +0 -230
  1091. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/shared_memory_disabled.rs +0 -100
  1092. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/backtrace.rs +0 -265
  1093. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/coredump_disabled.rs +0 -16
  1094. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/coredump_enabled.rs +0 -40
  1095. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers.rs +0 -785
  1096. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/vmcontext/vm_host_func_context.rs +0 -137
  1097. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/vmcontext.rs +0 -1293
  1098. data/ext/cargo-vendor/wasmtime-slab-20.0.2/.cargo-checksum.json +0 -1
  1099. data/ext/cargo-vendor/wasmtime-slab-20.0.2/Cargo.toml +0 -21
  1100. data/ext/cargo-vendor/wasmtime-slab-20.0.2/src/lib.rs +0 -493
  1101. data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +0 -1
  1102. data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +0 -36
  1103. data/ext/cargo-vendor/wasmtime-types-20.0.2/src/error.rs +0 -59
  1104. data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +0 -832
  1105. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.2/.cargo-checksum.json +0 -1
  1106. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.2/Cargo.toml +0 -32
  1107. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/.cargo-checksum.json +0 -1
  1108. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/Cargo.toml +0 -194
  1109. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/bindings.rs +0 -283
  1110. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/ctx.rs +0 -659
  1111. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/filesystem.rs +0 -433
  1112. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/lib.rs +0 -404
  1113. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/preview0.rs +0 -879
  1114. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/preview1.rs +0 -2601
  1115. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/api.rs +0 -194
  1116. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/async_.rs +0 -397
  1117. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/main.rs +0 -91
  1118. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/preview1.rs +0 -251
  1119. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/sync.rs +0 -333
  1120. data/ext/cargo-vendor/wasmtime-winch-20.0.2/.cargo-checksum.json +0 -1
  1121. data/ext/cargo-vendor/wasmtime-winch-20.0.2/Cargo.toml +0 -81
  1122. data/ext/cargo-vendor/wasmtime-winch-20.0.2/src/compiler.rs +0 -257
  1123. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/.cargo-checksum.json +0 -1
  1124. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/Cargo.toml +0 -41
  1125. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/src/lib.rs +0 -2213
  1126. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/src/rust.rs +0 -421
  1127. data/ext/cargo-vendor/wiggle-20.0.2/.cargo-checksum.json +0 -1
  1128. data/ext/cargo-vendor/wiggle-20.0.2/Cargo.toml +0 -122
  1129. data/ext/cargo-vendor/wiggle-generate-20.0.2/.cargo-checksum.json +0 -1
  1130. data/ext/cargo-vendor/wiggle-generate-20.0.2/Cargo.toml +0 -65
  1131. data/ext/cargo-vendor/wiggle-generate-20.0.2/LICENSE +0 -220
  1132. data/ext/cargo-vendor/wiggle-macro-20.0.2/.cargo-checksum.json +0 -1
  1133. data/ext/cargo-vendor/wiggle-macro-20.0.2/Cargo.toml +0 -55
  1134. data/ext/cargo-vendor/wiggle-macro-20.0.2/LICENSE +0 -220
  1135. data/ext/cargo-vendor/winch-codegen-0.18.2/.cargo-checksum.json +0 -1
  1136. data/ext/cargo-vendor/winch-codegen-0.18.2/Cargo.toml +0 -81
  1137. data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/context.rs +0 -534
  1138. data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/env.rs +0 -435
  1139. data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/mod.rs +0 -756
  1140. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/abi.rs +0 -291
  1141. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/address.rs +0 -144
  1142. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/asm.rs +0 -252
  1143. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/masm.rs +0 -573
  1144. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/mod.rs +0 -154
  1145. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/regs.rs +0 -149
  1146. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/reg.rs +0 -86
  1147. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/x64/asm.rs +0 -1423
  1148. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/x64/masm.rs +0 -1256
  1149. data/ext/cargo-vendor/winch-codegen-0.18.2/src/masm.rs +0 -947
  1150. data/ext/cargo-vendor/winch-codegen-0.18.2/src/regalloc.rs +0 -65
  1151. data/ext/cargo-vendor/winch-codegen-0.18.2/src/regset.rs +0 -194
  1152. data/ext/cargo-vendor/winch-codegen-0.18.2/src/visitor.rs +0 -2149
  1153. data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +0 -1
  1154. data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +0 -101
  1155. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +0 -1443
  1156. data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +0 -1764
  1157. data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +0 -765
  1158. data/ext/cargo-vendor/wit-parser-0.202.0/src/live.rs +0 -111
  1159. data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +0 -2240
  1160. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple-returns-borrow.wit.json +0 -74
  1161. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-return-borrow.wit.json +0 -69
  1162. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/world-top-level-resources.wit +0 -24
  1163. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/world-top-level-resources.wit.json +0 -240
  1164. data/ext/src/ruby_api/config/tracked_memory_creator.rs +0 -82
  1165. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/LICENSE +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/README.md +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/lib.rs +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/map.rs +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/node.rs +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/path.rs +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/pool.rs +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/set.rs +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/LICENSE +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/README.md +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/benches/x64-evex-encoding.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/binemit/mod.rs +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/binemit/stack_map.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/bitset.rs +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/cfg_printer.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/constant_hash.rs +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/cursor.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/data_value.rs +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dbg.rs +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dce.rs +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dominator_tree.rs +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/egraph/cost.rs +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/flowgraph.rs +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/inst_predicates.rs +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/atomic_rmw_op.rs +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/builder.rs +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/condcodes.rs +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/constant.rs +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/dfg.rs +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/dynamic_type.rs +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/entities.rs +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/extfunc.rs +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/extname.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/function.rs +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/globalvalue.rs +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/immediates.rs +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/jumptable.rs +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/known_symbol.rs +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/layout.rs +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/libcall.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/memflags.rs +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/memtype.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/mod.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/pcc.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/progpoint.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/sourceloc.rs +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/stackslot.rs +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/trapcode.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/types.rs +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst/unwind.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst_neon.isle +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower.isle +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/mod.rs +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/settings.rs +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/call_conv.rs +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/encode.rs +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/imms.rs +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/unwind.rs +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst_vector.isle +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/lower.rs +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/mod.rs +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/settings.rs +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/emit_tests.rs +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/unwind.rs +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst.isle +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower/isle.rs +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower.isle +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower.rs +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/mod.rs +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/settings.rs +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind/systemv.rs +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind/winx64.rs +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind.rs +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/evex.rs +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/mod.rs +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/rex.rs +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/vex.rs +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/emit_state.rs +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind.rs +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/mod.rs +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/settings.rs +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isle_prelude.rs +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/iterators.rs +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/legalizer/globalvalue.rs +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/legalizer/mod.rs +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/loop_analysis.rs +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/buffer.rs +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/compile.rs +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/helpers.rs +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/inst_common.rs +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/pcc.rs +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/README.md +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/bitops.isle +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/cprop.isle +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/extends.isle +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/generated_code.rs +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/remat.isle +0 -0
  1273. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/selects.isle +0 -0
  1274. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/shifts.isle +0 -0
  1275. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/spaceship.isle +0 -0
  1276. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/spectre.isle +0 -0
  1277. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/vector.isle +0 -0
  1278. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts.rs +0 -0
  1279. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude.isle +0 -0
  1280. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude_lower.isle +0 -0
  1281. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude_opt.isle +0 -0
  1282. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/print_errors.rs +0 -0
  1283. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/result.rs +0 -0
  1284. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/souper_harvest.rs +0 -0
  1285. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/timing.rs +0 -0
  1286. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/unionfind.rs +0 -0
  1287. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/unreachable_code.rs +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/value_label.rs +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/verifier/mod.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/write.rs +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/LICENSE +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/README.md +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/formats.rs +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/instructions.rs +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/isa.rs +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/mod.rs +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/operands.rs +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/settings.rs +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/types.rs +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/typevar.rs +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/constant_hash.rs +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/error.rs +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/arm64.rs +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/mod.rs +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/s390x.rs +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/entities.rs +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/formats.rs +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/immediates.rs +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/instructions.rs +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/mod.rs +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/types.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/unique_table.rs +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/LICENSE +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/README.md +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/constant_hash.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/constants.rs +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/lib.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/LICENSE +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/README.md +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/chaos.rs +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/lib.rs +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/zero_sized.rs +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/LICENSE +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/README.md +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/boxed_slice.rs +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/iter.rs +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/keys.rs +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/list.rs +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/map.rs +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/packed_option.rs +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/primary.rs +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/set.rs +0 -0
  1333. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/sparse.rs +0 -0
  1334. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/unsigned.rs +0 -0
  1335. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/LICENSE +0 -0
  1336. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/README.md +0 -0
  1337. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/frontend.rs +0 -0
  1338. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/lib.rs +0 -0
  1339. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/ssa.rs +0 -0
  1340. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/variable.rs +0 -0
  1341. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/README.md +0 -0
  1342. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/build.rs +0 -0
  1343. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/bad_converters.isle +0 -0
  1344. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1345. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1346. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/error1.isle +0 -0
  1347. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/extra_parens.isle +0 -0
  1348. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/impure_expression.isle +0 -0
  1349. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/impure_rhs.isle +0 -0
  1350. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1351. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/multi_prio.isle +0 -0
  1352. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/borrows.isle +0 -0
  1353. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/borrows_main.rs +0 -0
  1354. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/iflets.isle +0 -0
  1355. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/iflets_main.rs +0 -0
  1356. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_constructor.isle +0 -0
  1357. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_constructor_main.rs +0 -0
  1358. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_extractor.isle +0 -0
  1359. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_extractor_main.rs +0 -0
  1360. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/test.isle +0 -0
  1361. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/test_main.rs +0 -0
  1362. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/bound_var.isle +0 -0
  1363. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/construct_and_extract.isle +0 -0
  1364. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/conversions.isle +0 -0
  1365. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/conversions_extern.isle +0 -0
  1366. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/let.isle +0 -0
  1367. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/nodebug.isle +0 -0
  1368. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1369. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test2.isle +0 -0
  1370. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test3.isle +0 -0
  1371. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test4.isle +0 -0
  1372. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/tutorial.isle +0 -0
  1373. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/iconst.isle +0 -0
  1374. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/iconst_main.rs +0 -0
  1375. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/let_shadowing.isle +0 -0
  1376. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/let_shadowing_main.rs +0 -0
  1377. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/ast.rs +0 -0
  1378. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/compile.rs +0 -0
  1379. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/error.rs +0 -0
  1380. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/lexer.rs +0 -0
  1381. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/log.rs +0 -0
  1382. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/overlap.rs +0 -0
  1383. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/parser.rs +0 -0
  1384. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/tests/run_tests.rs +0 -0
  1385. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/LICENSE +0 -0
  1386. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/README.md +0 -0
  1387. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/src/lib.rs +0 -0
  1388. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/src/riscv.rs +0 -0
  1389. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/LICENSE +0 -0
  1390. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/README.md +0 -0
  1391. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/code_translator/bounds_checks.rs +0 -0
  1392. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/environ/mod.rs +0 -0
  1393. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/func_translator.rs +0 -0
  1394. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/heap.rs +0 -0
  1395. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/lib.rs +0 -0
  1396. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/module_translator.rs +0 -0
  1397. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/state.rs +0 -0
  1398. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/table.rs +0 -0
  1399. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/translation_utils.rs +0 -0
  1400. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/README.md +0 -0
  1401. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/clocks.rs +0 -0
  1402. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/lib.rs +0 -0
  1403. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/noop_scheduler.rs +0 -0
  1404. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/clocks.rs +0 -0
  1405. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/common/mod.rs +0 -0
  1406. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/random.rs +0 -0
  1407. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/scheduler.rs +0 -0
  1408. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/LICENSE-APACHE +0 -0
  1409. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/LICENSE-MIT +0 -0
  1410. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/bin/release.sh +0 -0
  1411. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/build/features.rs +0 -0
  1412. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/build/version.rs +0 -0
  1413. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/readme.md +0 -0
  1414. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/hidden.rs +0 -0
  1415. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/lib.rs +0 -0
  1416. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/macros.rs +0 -0
  1417. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/memory.rs +0 -0
  1418. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/ruby_abi_version.rs +0 -0
  1419. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/special_consts.rs +0 -0
  1420. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/compiled.c +0 -0
  1421. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/compiled.rs +0 -0
  1422. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_2_6.rs +0 -0
  1423. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_2_7.rs +0 -0
  1424. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_0.rs +0 -0
  1425. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_1.rs +0 -0
  1426. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_2.rs +0 -0
  1427. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_3.rs +0 -0
  1428. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api.rs +0 -0
  1429. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/symbol.rs +0 -0
  1430. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/utils.rs +0 -0
  1431. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/value_type.rs +0 -0
  1432. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/LICENSE-APACHE +0 -0
  1433. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/LICENSE-MIT +0 -0
  1434. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/bindings/sanitizer.rs +0 -0
  1435. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/bindings/wrapper.h +0 -0
  1436. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/lib.rs +0 -0
  1437. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/flags.rs +0 -0
  1438. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/library.rs +0 -0
  1439. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/search_path.rs +0 -0
  1440. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config.rs +0 -0
  1441. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/LICENSE +0 -0
  1442. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/README.md +0 -0
  1443. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/clocks.rs +0 -0
  1444. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/ctx.rs +0 -0
  1445. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/dir.rs +0 -0
  1446. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/error.rs +0 -0
  1447. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/file.rs +0 -0
  1448. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/lib.rs +0 -0
  1449. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/pipe.rs +0 -0
  1450. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/random.rs +0 -0
  1451. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sched/subscription.rs +0 -0
  1452. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sched.rs +0 -0
  1453. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/mod.rs +0 -0
  1454. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_0.rs +0 -0
  1455. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_1/error.rs +0 -0
  1456. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_1.rs +0 -0
  1457. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/string_array.rs +0 -0
  1458. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/clocks.rs +0 -0
  1459. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/dir.rs +0 -0
  1460. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/file.rs +0 -0
  1461. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/mod.rs +0 -0
  1462. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/net.rs +0 -0
  1463. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched/unix.rs +0 -0
  1464. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched/windows.rs +0 -0
  1465. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched.rs +0 -0
  1466. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/stdio.rs +0 -0
  1467. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/table.rs +0 -0
  1468. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/dir.rs +0 -0
  1469. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/file.rs +0 -0
  1470. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/mod.rs +0 -0
  1471. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/net.rs +0 -0
  1472. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched/unix.rs +0 -0
  1473. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched/windows.rs +0 -0
  1474. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched.rs +0 -0
  1475. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/stdio.rs +0 -0
  1476. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview0/typenames.witx +0 -0
  1477. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview0/wasi_unstable.witx +0 -0
  1478. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview1/typenames.witx +0 -0
  1479. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1480. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/LICENSE +0 -0
  1481. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/README.md +0 -0
  1482. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/aliases.rs +0 -0
  1483. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/builder.rs +0 -0
  1484. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/canonicals.rs +0 -0
  1485. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/components.rs +0 -0
  1486. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/exports.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/imports.rs +0 -0
  1488. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/instances.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/modules.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/names.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/start.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/types.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/custom.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/dump.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/exports.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/functions.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/linking.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/names.rs +0 -0
  1500. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/producers.rs +0 -0
  1501. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/start.rs +0 -0
  1502. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/tags.rs +0 -0
  1503. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/lib.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/raw.rs +0 -0
  1506. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/README.md +0 -0
  1507. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/benches/benchmark.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/examples/simple.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/aliases.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/exports.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/imports.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/branch_hinting.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/exports.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/functions.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/imports.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/init.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/producers.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/tags.rs +0 -0
  1520. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/tests/big-module.rs +0 -0
  1521. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmprinter-0.207.0}/LICENSE +0 -0
  1522. /data/ext/cargo-vendor/{wasmprinter-0.202.0 → wasmprinter-0.207.0}/README.md +0 -0
  1523. /data/ext/cargo-vendor/{wasmprinter-0.202.0 → wasmtime-21.0.1}/LICENSE +0 -0
  1524. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/README.md +0 -0
  1525. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/proptest-regressions → wasmtime-21.0.1/proptest-regressions/runtime/vm}/instance/allocator/pooling/memory_pool.txt +0 -0
  1526. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/disabled/i31.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/disabled.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/enabled.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/uninhabited.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/mod.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/riscv64.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/s390x.S +0 -0
  1533. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/s390x.rs +0 -0
  1534. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/helpers.c +0 -0
  1535. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/mpk/disabled.rs +0 -0
  1536. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/custom/unwind.rs +0 -0
  1537. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/miri/unwind.rs +0 -0
  1538. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/miri/vm.rs +0 -0
  1539. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/unix/macos_traphandlers.rs +0 -0
  1540. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/windows/unwind.rs +0 -0
  1541. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/windows/vm.rs +0 -0
  1542. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/threads/mod.rs +0 -0
  1543. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-cache-21.0.1}/LICENSE +0 -0
  1544. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/build.rs +0 -0
  1545. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/config/tests.rs +0 -0
  1546. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/config.rs +0 -0
  1547. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/tests.rs +0 -0
  1548. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker/tests/system_time_stub.rs +0 -0
  1549. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker/tests.rs +0 -0
  1550. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker.rs +0 -0
  1551. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/tests/cache_write_default_config.rs +0 -0
  1552. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/build.rs +0 -0
  1553. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/src/lib.rs +0 -0
  1554. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/char.wit +0 -0
  1555. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/conventions.wit +0 -0
  1556. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/dead-code.wit +0 -0
  1557. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/direct-import.wit +0 -0
  1558. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/empty.wit +0 -0
  1559. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/flags.wit +0 -0
  1560. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/floats.wit +0 -0
  1561. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/function-new.wit +0 -0
  1562. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/integers.wit +0 -0
  1563. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/lists.wit +0 -0
  1564. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/many-arguments.wit +0 -0
  1565. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multi-return.wit +0 -0
  1566. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1567. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1568. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/root.wit +0 -0
  1569. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/records.wit +0 -0
  1570. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/rename.wit +0 -0
  1571. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/resources-export.wit +0 -0
  1572. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/resources-import.wit +0 -0
  1573. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/share-types.wit +0 -0
  1574. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-functions.wit +0 -0
  1575. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-lists.wit +0 -0
  1576. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-wasi.wit +0 -0
  1577. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/small-anonymous.wit +0 -0
  1578. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke-default.wit +0 -0
  1579. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke-export.wit +0 -0
  1580. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke.wit +0 -0
  1581. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/strings.wit +0 -0
  1582. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/unversioned-foo.wit +0 -0
  1583. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/use-paths.wit +0 -0
  1584. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/variants.wit +0 -0
  1585. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/wat.wit +0 -0
  1586. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/worlds-with-types.wit +0 -0
  1587. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cranelift-21.0.1}/LICENSE +0 -0
  1588. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/SECURITY.md +0 -0
  1589. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/builder.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/compiled_function.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/address_transform.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/range_info_builder.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/refs.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/simulate.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/gc/disabled.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/isa_builder.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/obj.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-environ-21.0.1}/LICENSE +0 -0
  1599. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/address_map.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/builtin.rs +0 -0
  1601. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/artifacts.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/translate/inline.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/vmcomponent_offsets.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/gc.rs +0 -0
  1605. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/obj.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/ref_bits.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-fiber-21.0.1}/LICENSE +0 -0
  1608. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/aarch64.rs +0 -0
  1609. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/arm.rs +0 -0
  1610. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/riscv64.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/s390x.S +0 -0
  1612. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/x86.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/x86_64.rs +0 -0
  1614. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/windows.c +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/README.md +0 -0
  1616. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/gdb_jit_int.rs +0 -0
  1617. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/lib.rs +0 -0
  1618. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/perf_jitdump.rs +0 -0
  1619. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-types-21.0.1}/LICENSE +0 -0
  1620. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-20.0.2 → wasmtime-versioned-export-macros-21.0.1}/src/lib.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2 → wasmtime-wasi-21.0.1}/LICENSE +0 -0
  1622. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/README.md +0 -0
  1623. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/clocks/host.rs +0 -0
  1624. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/clocks.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/error.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/clocks.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/env.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/exit.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/filesystem/sync.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/filesystem.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/instance_network.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/io.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/mod.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/network.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/random.rs +0 -0
  1636. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/tcp.rs +0 -0
  1637. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/tcp_create_socket.rs +0 -0
  1638. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/udp.rs +0 -0
  1639. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/udp_create_socket.rs +0 -0
  1640. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/ip_name_lookup.rs +0 -0
  1641. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/network.rs +0 -0
  1642. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/pipe.rs +0 -0
  1643. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/poll.rs +0 -0
  1644. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/random.rs +0 -0
  1645. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/runtime.rs +0 -0
  1646. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stdio/worker_thread_stdin.rs +0 -0
  1647. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stdio.rs +0 -0
  1648. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stream.rs +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/tcp.rs +0 -0
  1650. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/udp.rs +0 -0
  1651. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/write_stream.rs +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/tests/process_stdin.rs +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/command-extended.wit +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/command.wit +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/environment.wit +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/exit.wit +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/imports.wit +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/run.wit +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/stdio.wit +0 -0
  1660. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/terminal.wit +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/wall-clock.wit +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/world.wit +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/preopens.wit +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/types.wit +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/world.wit +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/handler.wit +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/proxy.wit +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/types.wit +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/error.wit +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/poll.wit +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/streams.wit +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/world.wit +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/insecure-seed.wit +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/insecure.wit +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/random.wit +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/world.wit +0 -0
  1678. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/instance-network.wit +0 -0
  1679. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1680. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/network.wit +0 -0
  1681. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1682. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/tcp.wit +0 -0
  1683. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1684. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/udp.wit +0 -0
  1685. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/world.wit +0 -0
  1686. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/test.wit +0 -0
  1687. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview0/typenames.witx +0 -0
  1688. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview0/wasi_unstable.witx +0 -0
  1689. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview1/typenames.witx +0 -0
  1690. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1691. /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/LICENSE +0 -0
  1692. /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/src/builder.rs +0 -0
  1693. /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/src/lib.rs +0 -0
  1694. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-20.0.2 → wasmtime-wit-bindgen-21.0.1}/src/source.rs +0 -0
  1695. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-20.0.2 → wasmtime-wit-bindgen-21.0.1}/src/types.rs +0 -0
  1696. /data/ext/cargo-vendor/{wasmtime-types-20.0.2 → wiggle-21.0.1}/LICENSE +0 -0
  1697. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/README.md +0 -0
  1698. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/borrow.rs +0 -0
  1699. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/error.rs +0 -0
  1700. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/guest_type.rs +0 -0
  1701. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/lib.rs +0 -0
  1702. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/region.rs +0 -0
  1703. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/wasmtime.rs +0 -0
  1704. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wiggle-generate-21.0.1}/LICENSE +0 -0
  1705. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/README.md +0 -0
  1706. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/codegen_settings.rs +0 -0
  1707. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/config.rs +0 -0
  1708. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/funcs.rs +0 -0
  1709. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/lib.rs +0 -0
  1710. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/lifetimes.rs +0 -0
  1711. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/module_trait.rs +0 -0
  1712. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/names.rs +0 -0
  1713. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/error.rs +0 -0
  1714. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/flags.rs +0 -0
  1715. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/handle.rs +0 -0
  1716. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/mod.rs +0 -0
  1717. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/record.rs +0 -0
  1718. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/variant.rs +0 -0
  1719. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/wasmtime.rs +0 -0
  1720. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-macro-21.0.1}/LICENSE +0 -0
  1721. /data/ext/cargo-vendor/{wiggle-macro-20.0.2 → wiggle-macro-21.0.1}/src/lib.rs +0 -0
  1722. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/LICENSE +0 -0
  1723. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/build.rs +0 -0
  1724. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/abi/local.rs +0 -0
  1725. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/abi/mod.rs +0 -0
  1726. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/bounds.rs +0 -0
  1727. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/builtin.rs +0 -0
  1728. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/call.rs +0 -0
  1729. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/control.rs +0 -0
  1730. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/frame/mod.rs +0 -0
  1731. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/mod.rs +0 -0
  1732. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/abi.rs +0 -0
  1733. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/address.rs +0 -0
  1734. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/mod.rs +0 -0
  1735. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/regs.rs +0 -0
  1736. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/lib.rs +0 -0
  1737. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/stack.rs +0 -0
  1738. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/README.md +0 -0
  1739. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/abi.rs +0 -0
  1740. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast/lex.rs +0 -0
  1741. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast/toposort.rs +0 -0
  1742. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast.rs +0 -0
  1743. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/docs.rs +0 -0
  1744. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/serde_.rs +0 -0
  1745. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/sizealign.rs +0 -0
  1746. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/all.rs +0 -0
  1747. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/comments.wit +0 -0
  1748. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/comments.wit.json +0 -0
  1749. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  1750. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  1751. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/root.wit +0 -0
  1752. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include.wit.json +0 -0
  1753. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  1754. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource/foo.wit +0 -0
  1755. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource.wit.json +0 -0
  1756. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  1757. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  1758. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/join.wit +0 -0
  1759. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1.wit.json +0 -0
  1760. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  1761. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  1762. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
  1763. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
  1764. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/empty.wit +0 -0
  1765. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/empty.wit.json +0 -0
  1766. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  1767. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  1768. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  1769. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  1770. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  1771. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  1772. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  1773. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/root.wit +0 -0
  1774. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  1775. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  1776. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  1777. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  1778. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  1779. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  1780. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  1781. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  1782. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/root.wit +0 -0
  1783. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union.wit.json +0 -0
  1784. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps.wit.json +0 -0
  1785. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/functions.wit +0 -0
  1786. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/functions.wit.json +0 -0
  1787. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  1788. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  1789. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/world.wit +0 -0
  1790. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps.wit.json +0 -0
  1791. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap1.wit +0 -0
  1792. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap1.wit.json +0 -0
  1793. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap2.wit +0 -0
  1794. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap2.wit.json +0 -0
  1795. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/include-reps.wit +0 -0
  1796. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/include-reps.wit.json +0 -0
  1797. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kebab-name-include-with.wit +0 -0
  1798. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
  1799. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/a.wit +0 -0
  1800. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  1801. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  1802. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  1803. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  1804. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps.wit.json +0 -0
  1805. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names/a.wit +0 -0
  1806. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names/b.wit +0 -0
  1807. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names.wit.json +0 -0
  1808. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/bar.wit +0 -0
  1809. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/cycle-a.wit +0 -0
  1810. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/cycle-b.wit +0 -0
  1811. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/foo.wit +0 -0
  1812. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file.wit.json +0 -0
  1813. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  1814. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  1815. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  1816. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax1.wit +0 -0
  1817. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax1.wit.json +0 -0
  1818. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax3.wit +0 -0
  1819. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax3.wit.json +0 -0
  1820. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax4.wit +0 -0
  1821. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax4.wit.json +0 -0
  1822. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1823. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  1824. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/async.wit.result +0 -0
  1825. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  1826. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function.wit +0 -0
  1827. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  1828. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
  1829. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  1830. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
  1831. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  1832. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
  1833. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  1834. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
  1835. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  1836. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  1837. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1838. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  1839. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  1840. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  1841. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  1842. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  1843. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1844. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  1845. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  1846. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  1847. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  1848. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  1849. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  1850. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  1851. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  1852. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1853. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  1854. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  1855. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  1856. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  1857. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  1858. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  1859. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  1860. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  1861. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  1862. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  1863. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  1864. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  1865. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  1866. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  1867. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  1868. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  1869. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  1870. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  1871. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  1872. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  1873. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  1874. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  1875. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  1876. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  1877. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  1878. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  1879. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  1880. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  1881. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  1882. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  1883. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  1884. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  1885. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  1886. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  1887. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  1888. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  1889. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  1890. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
  1891. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle.wit +0 -0
  1892. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
  1893. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle2.wit +0 -0
  1894. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  1895. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle3.wit +0 -0
  1896. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  1897. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle4.wit +0 -0
  1898. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  1899. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle5.wit +0 -0
  1900. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  1901. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  1902. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  1903. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  1904. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  1905. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  1906. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  1907. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  1908. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  1909. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  1910. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  1911. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  1912. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  1913. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  1914. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/export-twice.wit +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-twice.wit +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  1934. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  1935. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  1936. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  1937. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
  1938. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  1939. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  1940. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  1941. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  1942. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  1943. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  1944. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  1945. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  1946. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  1947. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  1948. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  1949. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  1950. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  1951. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/keyword.wit +0 -0
  1952. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  1953. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/missing-package.wit +0 -0
  1954. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  1955. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  1956. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  1957. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
  1958. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  1959. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  1960. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  1961. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  1962. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  1963. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  1964. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  1965. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  1966. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  1967. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  1968. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  1969. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  1970. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  1971. /data/ext/cargo-vendor/{wit-parser-0.202.0/tests/ui → wit-parser-0.207.0/tests/ui/parse-fail}/resources-multiple-returns-borrow.wit +0 -0
  1972. /data/ext/cargo-vendor/{wit-parser-0.202.0/tests/ui → wit-parser-0.207.0/tests/ui/parse-fail}/resources-return-borrow.wit +0 -0
  1973. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  1974. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  1975. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  1976. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  1977. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  1978. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  1979. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  1980. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  1981. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  1982. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  1983. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  1984. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  1985. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  1986. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  1987. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  1988. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  1989. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  1990. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  1991. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  1992. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  1993. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  1994. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  1995. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  1996. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  1997. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  1998. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  1999. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2000. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2001. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2002. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2003. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2004. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2005. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2006. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  2007. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2008. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2009. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2010. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2011. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2012. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2013. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2014. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2015. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2016. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2017. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2018. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2019. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2020. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2021. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
  2022. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2023. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2024. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2025. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2026. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2027. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2028. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2029. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2030. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/random.wit +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/random.wit.json +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-empty.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-empty.wit.json +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple.wit +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple.wit.json +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-return-own.wit +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-return-own.wit.json +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources.wit +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources.wit.json +0 -0
  2044. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources1.wit +0 -0
  2045. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources1.wit.json +0 -0
  2046. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/same-name-import-export.wit +0 -0
  2047. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/same-name-import-export.wit.json +0 -0
  2048. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/shared-types.wit +0 -0
  2049. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/shared-types.wit.json +0 -0
  2050. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/simple-wasm-text.wat +0 -0
  2051. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/simple-wasm-text.wit.json +0 -0
  2052. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/stress-export-elaborate.wit +0 -0
  2053. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
  2054. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/type-then-eof.wit +0 -0
  2055. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/type-then-eof.wit.json +0 -0
  2056. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/types.wit +0 -0
  2057. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/types.wit.json +0 -0
  2058. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-1.wit +0 -0
  2059. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-1.wit.json +0 -0
  2060. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-2.wit +0 -0
  2061. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-2.wit.json +0 -0
  2062. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use-chain.wit +0 -0
  2063. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use-chain.wit.json +0 -0
  2064. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use.wit +0 -0
  2065. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use.wit.json +0 -0
  2066. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2067. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2068. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/foo.wit +0 -0
  2069. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions.wit.json +0 -0
  2070. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/wasi.wit +0 -0
  2071. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/wasi.wit.json +0 -0
  2072. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-diamond.wit +0 -0
  2073. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-diamond.wit.json +0 -0
  2074. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-iface-no-collide.wit +0 -0
  2075. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
  2076. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import1.wit +0 -0
  2077. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import1.wit.json +0 -0
  2078. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import2.wit +0 -0
  2079. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import2.wit.json +0 -0
  2080. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import3.wit +0 -0
  2081. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import3.wit.json +0 -0
  2082. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-same-fields4.wit +0 -0
  2083. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-same-fields4.wit.json +0 -0
  2084. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-top-level-funcs.wit +0 -0
  2085. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2086. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-union-dedup.wit +0 -0
  2087. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
  2088. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-with-types.wit +0 -0
  2089. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,4117 @@
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::prelude::*;
26
+ use crate::{
27
+ limits::MAX_WASM_FUNCTION_LOCALS, ArrayType, BinaryReaderError, BlockType, BrTable, Catch,
28
+ CompositeType, FieldType, FuncType, HeapType, Ieee32, Ieee64, MemArg, RefType, Result,
29
+ StorageType, StructType, SubType, TableType, TryTable, UnpackedIndex, ValType, VisitOperator,
30
+ WasmFeatures, WasmModuleResources, V128,
31
+ };
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!(self.offset, "alignment must not be larger than natural");
733
+ }
734
+ if index_ty == ValType::I32 && memarg.offset > u64::from(u32::MAX) {
735
+ bail!(self.offset, "offset out of range: must be <= 2**32");
736
+ }
737
+ Ok(index_ty)
738
+ }
739
+
740
+ /// Validates that the `table` is valid and returns the type it points to.
741
+ fn check_table_index(&self, table: u32) -> Result<TableType> {
742
+ match self.resources.table_at(table) {
743
+ Some(ty) => Ok(ty),
744
+ None => bail!(
745
+ self.offset,
746
+ "unknown table {table}: table index out of bounds"
747
+ ),
748
+ }
749
+ }
750
+
751
+ fn check_floats_enabled(&self) -> Result<()> {
752
+ if !self.features.contains(WasmFeatures::FLOATS) {
753
+ bail!(self.offset, "floating-point instruction disallowed");
754
+ }
755
+ Ok(())
756
+ }
757
+
758
+ fn check_shared_memarg(&self, memarg: MemArg) -> Result<ValType> {
759
+ if memarg.align != memarg.max_align {
760
+ bail!(
761
+ self.offset,
762
+ "atomic instructions must always specify maximum alignment"
763
+ );
764
+ }
765
+ self.check_memory_index(memarg.memory)
766
+ }
767
+
768
+ fn check_simd_lane_index(&self, index: u8, max: u8) -> Result<()> {
769
+ if index >= max {
770
+ bail!(self.offset, "SIMD index out of bounds");
771
+ }
772
+ Ok(())
773
+ }
774
+
775
+ /// Validates a block type, primarily with various in-flight proposals.
776
+ fn check_block_type(&self, ty: &mut BlockType) -> Result<()> {
777
+ match ty {
778
+ BlockType::Empty => Ok(()),
779
+ BlockType::Type(t) => self
780
+ .resources
781
+ .check_value_type(t, &self.features, self.offset),
782
+ BlockType::FuncType(idx) => {
783
+ if !self.features.contains(WasmFeatures::MULTI_VALUE) {
784
+ bail!(
785
+ self.offset,
786
+ "blocks, loops, and ifs may only produce a resulttype \
787
+ when multi-value is not enabled",
788
+ );
789
+ }
790
+ self.func_type_at(*idx)?;
791
+ Ok(())
792
+ }
793
+ }
794
+ }
795
+
796
+ /// Validates a `call` instruction, ensuring that the function index is
797
+ /// in-bounds and the right types are on the stack to call the function.
798
+ fn check_call(&mut self, function_index: u32) -> Result<()> {
799
+ let ty = match self.resources.type_of_function(function_index) {
800
+ Some(i) => i,
801
+ None => {
802
+ bail!(
803
+ self.offset,
804
+ "unknown function {function_index}: function index out of bounds",
805
+ );
806
+ }
807
+ };
808
+ self.check_call_ty(ty)
809
+ }
810
+
811
+ fn check_call_type_index(&mut self, type_index: u32) -> Result<()> {
812
+ let ty = self.func_type_at(type_index)?;
813
+ self.check_call_ty(ty)
814
+ }
815
+
816
+ fn check_call_ty(&mut self, ty: &FuncType) -> Result<()> {
817
+ for &ty in ty.params().iter().rev() {
818
+ debug_assert_type_indices_are_ids(ty);
819
+ self.pop_operand(Some(ty))?;
820
+ }
821
+ for &ty in ty.results() {
822
+ debug_assert_type_indices_are_ids(ty);
823
+ self.push_operand(ty)?;
824
+ }
825
+ Ok(())
826
+ }
827
+
828
+ /// Validates a call to an indirect function, very similar to `check_call`.
829
+ fn check_call_indirect(&mut self, index: u32, table_index: u32) -> Result<()> {
830
+ let tab = self.check_table_index(table_index)?;
831
+ if !self
832
+ .resources
833
+ .is_subtype(ValType::Ref(tab.element_type), ValType::FUNCREF)
834
+ {
835
+ bail!(
836
+ self.offset,
837
+ "indirect calls must go through a table with type <= funcref",
838
+ );
839
+ }
840
+ let ty = self.func_type_at(index)?;
841
+ self.pop_operand(Some(tab.index_type()))?;
842
+ for ty in ty.clone().params().iter().rev() {
843
+ self.pop_operand(Some(*ty))?;
844
+ }
845
+ for ty in ty.results() {
846
+ self.push_operand(*ty)?;
847
+ }
848
+ Ok(())
849
+ }
850
+
851
+ /// Validates a `return` instruction, popping types from the operand
852
+ /// stack that the function needs.
853
+ fn check_return(&mut self) -> Result<()> {
854
+ if self.control.is_empty() {
855
+ return Err(self.err_beyond_end(self.offset));
856
+ }
857
+ for ty in self.results(self.control[0].block_type)?.rev() {
858
+ self.pop_operand(Some(ty))?;
859
+ }
860
+ self.unreachable()?;
861
+ Ok(())
862
+ }
863
+
864
+ /// Checks the validity of a common comparison operator.
865
+ fn check_cmp_op(&mut self, ty: ValType) -> Result<()> {
866
+ self.pop_operand(Some(ty))?;
867
+ self.pop_operand(Some(ty))?;
868
+ self.push_operand(ValType::I32)?;
869
+ Ok(())
870
+ }
871
+
872
+ /// Checks the validity of a common float comparison operator.
873
+ fn check_fcmp_op(&mut self, ty: ValType) -> Result<()> {
874
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
875
+ self.check_floats_enabled()?;
876
+ self.check_cmp_op(ty)
877
+ }
878
+
879
+ /// Checks the validity of a common unary operator.
880
+ fn check_unary_op(&mut self, ty: ValType) -> Result<()> {
881
+ self.pop_operand(Some(ty))?;
882
+ self.push_operand(ty)?;
883
+ Ok(())
884
+ }
885
+
886
+ /// Checks the validity of a common unary float operator.
887
+ fn check_funary_op(&mut self, ty: ValType) -> Result<()> {
888
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
889
+ self.check_floats_enabled()?;
890
+ self.check_unary_op(ty)
891
+ }
892
+
893
+ /// Checks the validity of a common conversion operator.
894
+ fn check_conversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
895
+ self.pop_operand(Some(from))?;
896
+ self.push_operand(into)?;
897
+ Ok(())
898
+ }
899
+
900
+ /// Checks the validity of a common conversion operator.
901
+ fn check_fconversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
902
+ debug_assert!(matches!(into, ValType::F32 | ValType::F64));
903
+ self.check_floats_enabled()?;
904
+ self.check_conversion_op(into, from)
905
+ }
906
+
907
+ /// Checks the validity of a common binary operator.
908
+ fn check_binary_op(&mut self, ty: ValType) -> Result<()> {
909
+ self.pop_operand(Some(ty))?;
910
+ self.pop_operand(Some(ty))?;
911
+ self.push_operand(ty)?;
912
+ Ok(())
913
+ }
914
+
915
+ /// Checks the validity of a common binary float operator.
916
+ fn check_fbinary_op(&mut self, ty: ValType) -> Result<()> {
917
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
918
+ self.check_floats_enabled()?;
919
+ self.check_binary_op(ty)
920
+ }
921
+
922
+ /// Checks the validity of an atomic load operator.
923
+ fn check_atomic_load(&mut self, memarg: MemArg, load_ty: ValType) -> Result<()> {
924
+ let ty = self.check_shared_memarg(memarg)?;
925
+ self.pop_operand(Some(ty))?;
926
+ self.push_operand(load_ty)?;
927
+ Ok(())
928
+ }
929
+
930
+ /// Checks the validity of an atomic store operator.
931
+ fn check_atomic_store(&mut self, memarg: MemArg, store_ty: ValType) -> Result<()> {
932
+ let ty = self.check_shared_memarg(memarg)?;
933
+ self.pop_operand(Some(store_ty))?;
934
+ self.pop_operand(Some(ty))?;
935
+ Ok(())
936
+ }
937
+
938
+ /// Checks the validity of a common atomic binary operator.
939
+ fn check_atomic_binary_op(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
940
+ let ty = self.check_shared_memarg(memarg)?;
941
+ self.pop_operand(Some(op_ty))?;
942
+ self.pop_operand(Some(ty))?;
943
+ self.push_operand(op_ty)?;
944
+ Ok(())
945
+ }
946
+
947
+ /// Checks the validity of an atomic compare exchange operator.
948
+ fn check_atomic_binary_cmpxchg(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
949
+ let ty = self.check_shared_memarg(memarg)?;
950
+ self.pop_operand(Some(op_ty))?;
951
+ self.pop_operand(Some(op_ty))?;
952
+ self.pop_operand(Some(ty))?;
953
+ self.push_operand(op_ty)?;
954
+ Ok(())
955
+ }
956
+
957
+ /// Checks a [`V128`] splat operator.
958
+ fn check_v128_splat(&mut self, src_ty: ValType) -> Result<()> {
959
+ self.pop_operand(Some(src_ty))?;
960
+ self.push_operand(ValType::V128)?;
961
+ Ok(())
962
+ }
963
+
964
+ /// Checks a [`V128`] binary operator.
965
+ fn check_v128_binary_op(&mut self) -> Result<()> {
966
+ self.pop_operand(Some(ValType::V128))?;
967
+ self.pop_operand(Some(ValType::V128))?;
968
+ self.push_operand(ValType::V128)?;
969
+ Ok(())
970
+ }
971
+
972
+ /// Checks a [`V128`] binary float operator.
973
+ fn check_v128_fbinary_op(&mut self) -> Result<()> {
974
+ self.check_floats_enabled()?;
975
+ self.check_v128_binary_op()
976
+ }
977
+
978
+ /// Checks a [`V128`] binary operator.
979
+ fn check_v128_unary_op(&mut self) -> Result<()> {
980
+ self.pop_operand(Some(ValType::V128))?;
981
+ self.push_operand(ValType::V128)?;
982
+ Ok(())
983
+ }
984
+
985
+ /// Checks a [`V128`] binary operator.
986
+ fn check_v128_funary_op(&mut self) -> Result<()> {
987
+ self.check_floats_enabled()?;
988
+ self.check_v128_unary_op()
989
+ }
990
+
991
+ /// Checks a [`V128`] relaxed ternary operator.
992
+ fn check_v128_ternary_op(&mut self) -> Result<()> {
993
+ self.pop_operand(Some(ValType::V128))?;
994
+ self.pop_operand(Some(ValType::V128))?;
995
+ self.pop_operand(Some(ValType::V128))?;
996
+ self.push_operand(ValType::V128)?;
997
+ Ok(())
998
+ }
999
+
1000
+ /// Checks a [`V128`] relaxed ternary operator.
1001
+ fn check_v128_bitmask_op(&mut self) -> Result<()> {
1002
+ self.pop_operand(Some(ValType::V128))?;
1003
+ self.push_operand(ValType::I32)?;
1004
+ Ok(())
1005
+ }
1006
+
1007
+ /// Checks a [`V128`] relaxed ternary operator.
1008
+ fn check_v128_shift_op(&mut self) -> Result<()> {
1009
+ self.pop_operand(Some(ValType::I32))?;
1010
+ self.pop_operand(Some(ValType::V128))?;
1011
+ self.push_operand(ValType::V128)?;
1012
+ Ok(())
1013
+ }
1014
+
1015
+ /// Checks a [`V128`] common load operator.
1016
+ fn check_v128_load_op(&mut self, memarg: MemArg) -> Result<()> {
1017
+ let idx = self.check_memarg(memarg)?;
1018
+ self.pop_operand(Some(idx))?;
1019
+ self.push_operand(ValType::V128)?;
1020
+ Ok(())
1021
+ }
1022
+
1023
+ /// Common helper for `ref.test` and `ref.cast` downcasting/checking
1024
+ /// instructions. Returns the given `heap_type` as a `ValType`.
1025
+ fn check_downcast(
1026
+ &mut self,
1027
+ nullable: bool,
1028
+ mut heap_type: HeapType,
1029
+ inst_name: &str,
1030
+ ) -> Result<ValType> {
1031
+ self.resources
1032
+ .check_heap_type(&mut heap_type, self.offset)?;
1033
+
1034
+ let sub_ty = RefType::new(nullable, heap_type)
1035
+ .map(ValType::from)
1036
+ .ok_or_else(|| {
1037
+ BinaryReaderError::new("implementation limit: type index too large", self.offset)
1038
+ })?;
1039
+
1040
+ let sup_ty = self.pop_ref()?.unwrap_or_else(|| {
1041
+ sub_ty
1042
+ .as_reference_type()
1043
+ .expect("we created this as a reference just above")
1044
+ });
1045
+ let sup_ty = RefType::new(true, self.resources.top_type(&sup_ty.heap_type()))
1046
+ .expect("can't panic with non-concrete heap types");
1047
+
1048
+ if !self.resources.is_subtype(sub_ty, sup_ty.into()) {
1049
+ bail!(
1050
+ self.offset,
1051
+ "{inst_name}'s heap type must be a sub type of the type on the stack: \
1052
+ {sub_ty} is not a sub type of {sup_ty}"
1053
+ );
1054
+ }
1055
+
1056
+ Ok(sub_ty)
1057
+ }
1058
+
1059
+ /// Common helper for both nullable and non-nullable variants of `ref.test`
1060
+ /// instructions.
1061
+ fn check_ref_test(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
1062
+ self.check_downcast(nullable, heap_type, "ref.test")?;
1063
+ self.push_operand(ValType::I32)
1064
+ }
1065
+
1066
+ /// Common helper for both nullable and non-nullable variants of `ref.cast`
1067
+ /// instructions.
1068
+ fn check_ref_cast(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
1069
+ let sub_ty = self.check_downcast(nullable, heap_type, "ref.cast")?;
1070
+ self.push_operand(sub_ty)
1071
+ }
1072
+
1073
+ /// Common helper for checking the types of global types accessed
1074
+ /// atomically.
1075
+ fn check_atomic_global_ty(&self, global_index: u32) -> Result<()> {
1076
+ let ty = self
1077
+ .resources
1078
+ .global_at(global_index)
1079
+ .expect("existence should be checked prior to this point");
1080
+ let ty = ty.content_type;
1081
+ let supertype = RefType::ANYREF.into();
1082
+ if !(ty == ValType::I32 || ty == ValType::I64 || self.resources.is_subtype(ty, supertype)) {
1083
+ bail!(
1084
+ self.offset,
1085
+ "invalid type: `global.atomic.get` only allows `i32`, `i64` and subtypes of `anyref`"
1086
+ );
1087
+ }
1088
+ Ok(())
1089
+ }
1090
+
1091
+ fn element_type_at(&self, elem_index: u32) -> Result<RefType> {
1092
+ match self.resources.element_type_at(elem_index) {
1093
+ Some(ty) => Ok(ty),
1094
+ None => bail!(
1095
+ self.offset,
1096
+ "unknown elem segment {}: segment index out of bounds",
1097
+ elem_index
1098
+ ),
1099
+ }
1100
+ }
1101
+
1102
+ fn sub_type_at(&self, at: u32) -> Result<&'resources SubType> {
1103
+ self.resources
1104
+ .sub_type_at(at)
1105
+ .ok_or_else(|| format_err!(self.offset, "unknown type: type index out of bounds"))
1106
+ }
1107
+
1108
+ fn struct_type_at(&self, at: u32) -> Result<&'resources StructType> {
1109
+ let sub_ty = self.sub_type_at(at)?;
1110
+ if let CompositeType::Struct(struct_ty) = &sub_ty.composite_type {
1111
+ Ok(struct_ty)
1112
+ } else {
1113
+ bail!(
1114
+ self.offset,
1115
+ "expected struct type at index {at}, found {sub_ty}"
1116
+ )
1117
+ }
1118
+ }
1119
+
1120
+ fn struct_field_at(&self, struct_type_index: u32, field_index: u32) -> Result<FieldType> {
1121
+ let field_index = usize::try_from(field_index).map_err(|_| {
1122
+ BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
1123
+ })?;
1124
+ self.struct_type_at(struct_type_index)?
1125
+ .fields
1126
+ .get(field_index)
1127
+ .copied()
1128
+ .ok_or_else(|| {
1129
+ BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
1130
+ })
1131
+ }
1132
+
1133
+ fn array_type_at(&self, at: u32) -> Result<&'resources ArrayType> {
1134
+ let sub_ty = self.sub_type_at(at)?;
1135
+ if let CompositeType::Array(array_ty) = &sub_ty.composite_type {
1136
+ Ok(array_ty)
1137
+ } else {
1138
+ bail!(
1139
+ self.offset,
1140
+ "expected array type at index {at}, found {sub_ty}"
1141
+ )
1142
+ }
1143
+ }
1144
+
1145
+ fn func_type_at(&self, at: u32) -> Result<&'resources FuncType> {
1146
+ let sub_ty = self.sub_type_at(at)?;
1147
+ if let CompositeType::Func(func_ty) = &sub_ty.composite_type {
1148
+ Ok(func_ty)
1149
+ } else {
1150
+ bail!(
1151
+ self.offset,
1152
+ "expected func type at index {at}, found {sub_ty}"
1153
+ )
1154
+ }
1155
+ }
1156
+
1157
+ fn tag_at(&self, at: u32) -> Result<&'resources FuncType> {
1158
+ self.resources
1159
+ .tag_at(at)
1160
+ .ok_or_else(|| format_err!(self.offset, "unknown tag {}: tag index out of bounds", at))
1161
+ }
1162
+
1163
+ fn params(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1164
+ Ok(match ty {
1165
+ BlockType::Empty | BlockType::Type(_) => Either::B(None.into_iter()),
1166
+ BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.params().iter().copied()),
1167
+ })
1168
+ }
1169
+
1170
+ fn results(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1171
+ Ok(match ty {
1172
+ BlockType::Empty => Either::B(None.into_iter()),
1173
+ BlockType::Type(t) => Either::B(Some(t).into_iter()),
1174
+ BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.results().iter().copied()),
1175
+ })
1176
+ }
1177
+
1178
+ fn label_types(
1179
+ &self,
1180
+ ty: BlockType,
1181
+ kind: FrameKind,
1182
+ ) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1183
+ Ok(match kind {
1184
+ FrameKind::Loop => Either::A(self.params(ty)?),
1185
+ _ => Either::B(self.results(ty)?),
1186
+ })
1187
+ }
1188
+ }
1189
+
1190
+ pub fn ty_to_str(ty: ValType) -> &'static str {
1191
+ match ty {
1192
+ ValType::I32 => "i32",
1193
+ ValType::I64 => "i64",
1194
+ ValType::F32 => "f32",
1195
+ ValType::F64 => "f64",
1196
+ ValType::V128 => "v128",
1197
+ ValType::Ref(r) => r.wat(),
1198
+ }
1199
+ }
1200
+
1201
+ /// A wrapper "visitor" around the real operator validator internally which
1202
+ /// exists to check that the required wasm feature is enabled to proceed with
1203
+ /// validation.
1204
+ ///
1205
+ /// This validator is macro-generated to ensure that the proposal listed in this
1206
+ /// crate's macro matches the one that's validated here. Each instruction's
1207
+ /// visit method validates the specified proposal is enabled and then delegates
1208
+ /// to `OperatorValidatorTemp` to perform the actual opcode validation.
1209
+ struct WasmProposalValidator<'validator, 'resources, T>(
1210
+ OperatorValidatorTemp<'validator, 'resources, T>,
1211
+ );
1212
+
1213
+ impl<T> WasmProposalValidator<'_, '_, T> {
1214
+ fn check_enabled(&self, flag: bool, desc: &str) -> Result<()> {
1215
+ if flag {
1216
+ return Ok(());
1217
+ }
1218
+ bail!(self.0.offset, "{desc} support is not enabled");
1219
+ }
1220
+ }
1221
+
1222
+ macro_rules! validate_proposal {
1223
+ ($( @$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
1224
+ $(
1225
+ fn $visit(&mut self $($(,$arg: $argty)*)?) -> Result<()> {
1226
+ validate_proposal!(validate self $proposal);
1227
+ self.0.$visit($( $($arg),* )?)
1228
+ }
1229
+ )*
1230
+ };
1231
+
1232
+ (validate self mvp) => {};
1233
+ (validate $self:ident $proposal:ident) => {
1234
+ $self.check_enabled($self.0.features.contains(validate_proposal!(bitflags $proposal)), validate_proposal!(desc $proposal))?
1235
+ };
1236
+
1237
+ (desc simd) => ("SIMD");
1238
+ (desc relaxed_simd) => ("relaxed SIMD");
1239
+ (desc threads) => ("threads");
1240
+ (desc shared_everything_threads) => ("shared-everything-threads");
1241
+ (desc saturating_float_to_int) => ("saturating float to int conversions");
1242
+ (desc reference_types) => ("reference types");
1243
+ (desc bulk_memory) => ("bulk memory");
1244
+ (desc sign_extension) => ("sign extension operations");
1245
+ (desc exceptions) => ("exceptions");
1246
+ (desc tail_call) => ("tail calls");
1247
+ (desc function_references) => ("function references");
1248
+ (desc memory_control) => ("memory control");
1249
+ (desc gc) => ("gc");
1250
+
1251
+ (bitflags sign_extension) => (WasmFeatures::SIGN_EXTENSION);
1252
+ (bitflags saturating_float_to_int) => (WasmFeatures::SATURATING_FLOAT_TO_INT);
1253
+ (bitflags bulk_memory) => (WasmFeatures::BULK_MEMORY);
1254
+ (bitflags simd) => (WasmFeatures::SIMD);
1255
+ (bitflags relaxed_simd) => (WasmFeatures::RELAXED_SIMD);
1256
+ (bitflags exceptions) => (WasmFeatures::EXCEPTIONS);
1257
+ (bitflags tail_call) => (WasmFeatures::TAIL_CALL);
1258
+ (bitflags reference_types) => (WasmFeatures::REFERENCE_TYPES);
1259
+ (bitflags function_references) => (WasmFeatures::FUNCTION_REFERENCES);
1260
+ (bitflags threads) => (WasmFeatures::THREADS);
1261
+ (bitflags shared_everything_threads) => (WasmFeatures::SHARED_EVERYTHING_THREADS);
1262
+ (bitflags gc) => (WasmFeatures::GC);
1263
+ (bitflags memory_control) => (WasmFeatures::MEMORY_CONTROL);
1264
+ }
1265
+
1266
+ impl<'a, T> VisitOperator<'a> for WasmProposalValidator<'_, '_, T>
1267
+ where
1268
+ T: WasmModuleResources,
1269
+ {
1270
+ type Output = Result<()>;
1271
+
1272
+ for_each_operator!(validate_proposal);
1273
+ }
1274
+
1275
+ #[track_caller]
1276
+ #[inline]
1277
+ fn debug_assert_type_indices_are_ids(ty: ValType) {
1278
+ if cfg!(debug_assertions) {
1279
+ if let ValType::Ref(r) = ty {
1280
+ if let HeapType::Concrete(idx) = r.heap_type() {
1281
+ debug_assert!(
1282
+ matches!(idx, UnpackedIndex::Id(_)),
1283
+ "type reference should be a `CoreTypeId`, found {idx:?}"
1284
+ );
1285
+ }
1286
+ }
1287
+ }
1288
+ }
1289
+
1290
+ impl<'a, T> VisitOperator<'a> for OperatorValidatorTemp<'_, '_, T>
1291
+ where
1292
+ T: WasmModuleResources,
1293
+ {
1294
+ type Output = Result<()>;
1295
+
1296
+ fn visit_nop(&mut self) -> Self::Output {
1297
+ Ok(())
1298
+ }
1299
+ fn visit_unreachable(&mut self) -> Self::Output {
1300
+ self.unreachable()?;
1301
+ Ok(())
1302
+ }
1303
+ fn visit_block(&mut self, mut ty: BlockType) -> Self::Output {
1304
+ self.check_block_type(&mut ty)?;
1305
+ for ty in self.params(ty)?.rev() {
1306
+ self.pop_operand(Some(ty))?;
1307
+ }
1308
+ self.push_ctrl(FrameKind::Block, ty)?;
1309
+ Ok(())
1310
+ }
1311
+ fn visit_loop(&mut self, mut ty: BlockType) -> Self::Output {
1312
+ self.check_block_type(&mut ty)?;
1313
+ for ty in self.params(ty)?.rev() {
1314
+ self.pop_operand(Some(ty))?;
1315
+ }
1316
+ self.push_ctrl(FrameKind::Loop, ty)?;
1317
+ Ok(())
1318
+ }
1319
+ fn visit_if(&mut self, mut ty: BlockType) -> Self::Output {
1320
+ self.check_block_type(&mut ty)?;
1321
+ self.pop_operand(Some(ValType::I32))?;
1322
+ for ty in self.params(ty)?.rev() {
1323
+ self.pop_operand(Some(ty))?;
1324
+ }
1325
+ self.push_ctrl(FrameKind::If, ty)?;
1326
+ Ok(())
1327
+ }
1328
+ fn visit_else(&mut self) -> Self::Output {
1329
+ let frame = self.pop_ctrl()?;
1330
+ if frame.kind != FrameKind::If {
1331
+ bail!(self.offset, "else found outside of an `if` block");
1332
+ }
1333
+ self.push_ctrl(FrameKind::Else, frame.block_type)?;
1334
+ Ok(())
1335
+ }
1336
+ fn visit_try_table(&mut self, mut ty: TryTable) -> Self::Output {
1337
+ self.check_block_type(&mut ty.ty)?;
1338
+ for ty in self.params(ty.ty)?.rev() {
1339
+ self.pop_operand(Some(ty))?;
1340
+ }
1341
+ for catch in ty.catches {
1342
+ match catch {
1343
+ Catch::One { tag, label } => {
1344
+ let tag = self.tag_at(tag)?;
1345
+ let (ty, kind) = self.jump(label)?;
1346
+ let params = tag.params();
1347
+ let types = self.label_types(ty, kind)?;
1348
+ if params.len() != types.len() {
1349
+ bail!(
1350
+ self.offset,
1351
+ "type mismatch: catch label must have same number of types as tag"
1352
+ );
1353
+ }
1354
+ for (expected, actual) in types.zip(params) {
1355
+ self.push_operand(*actual)?;
1356
+ self.pop_operand(Some(expected))?;
1357
+ }
1358
+ }
1359
+ Catch::OneRef { tag, label } => {
1360
+ let tag = self.tag_at(tag)?;
1361
+ let (ty, kind) = self.jump(label)?;
1362
+ let tag_params = tag.params().iter().copied();
1363
+ let label_types = self.label_types(ty, kind)?;
1364
+ if tag_params.len() + 1 != label_types.len() {
1365
+ bail!(
1366
+ self.offset,
1367
+ "type mismatch: catch_ref label must have one \
1368
+ more type than tag types",
1369
+ );
1370
+ }
1371
+ for (expected_label_tyep, actual_tag_param) in
1372
+ label_types.zip(tag_params.chain([ValType::EXNREF]))
1373
+ {
1374
+ self.push_operand(actual_tag_param)?;
1375
+ self.pop_operand(Some(expected_label_tyep))?;
1376
+ }
1377
+ }
1378
+
1379
+ Catch::All { label } => {
1380
+ let (ty, kind) = self.jump(label)?;
1381
+ if self.label_types(ty, kind)?.len() != 0 {
1382
+ bail!(
1383
+ self.offset,
1384
+ "type mismatch: catch_all label must have no result types"
1385
+ );
1386
+ }
1387
+ }
1388
+
1389
+ Catch::AllRef { label } => {
1390
+ let (ty, kind) = self.jump(label)?;
1391
+ let mut types = self.label_types(ty, kind)?;
1392
+ match (types.next(), types.next()) {
1393
+ (Some(ValType::EXNREF), None) => {}
1394
+ _ => {
1395
+ bail!(
1396
+ self.offset,
1397
+ "type mismatch: catch_all_ref label must have \
1398
+ one exnref result type"
1399
+ );
1400
+ }
1401
+ }
1402
+ }
1403
+ }
1404
+ }
1405
+ self.push_ctrl(FrameKind::TryTable, ty.ty)?;
1406
+ Ok(())
1407
+ }
1408
+ fn visit_throw(&mut self, index: u32) -> Self::Output {
1409
+ // Check values associated with the exception.
1410
+ let ty = self.tag_at(index)?;
1411
+ for ty in ty.clone().params().iter().rev() {
1412
+ self.pop_operand(Some(*ty))?;
1413
+ }
1414
+ if ty.results().len() > 0 {
1415
+ bail!(
1416
+ self.offset,
1417
+ "result type expected to be empty for exception"
1418
+ );
1419
+ }
1420
+ self.unreachable()?;
1421
+ Ok(())
1422
+ }
1423
+ fn visit_throw_ref(&mut self) -> Self::Output {
1424
+ self.pop_operand(Some(ValType::EXNREF))?;
1425
+ self.unreachable()?;
1426
+ Ok(())
1427
+ }
1428
+ fn visit_try(&mut self, _: BlockType) -> Self::Output {
1429
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1430
+ }
1431
+ fn visit_catch(&mut self, _: u32) -> Self::Output {
1432
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1433
+ }
1434
+ fn visit_rethrow(&mut self, _: u32) -> Self::Output {
1435
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1436
+ }
1437
+ fn visit_delegate(&mut self, _: u32) -> Self::Output {
1438
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1439
+ }
1440
+ fn visit_catch_all(&mut self) -> Self::Output {
1441
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1442
+ }
1443
+ fn visit_end(&mut self) -> Self::Output {
1444
+ let mut frame = self.pop_ctrl()?;
1445
+
1446
+ // Note that this `if` isn't included in the appendix right
1447
+ // now, but it's used to allow for `if` statements that are
1448
+ // missing an `else` block which have the same parameter/return
1449
+ // types on the block (since that's valid).
1450
+ if frame.kind == FrameKind::If {
1451
+ self.push_ctrl(FrameKind::Else, frame.block_type)?;
1452
+ frame = self.pop_ctrl()?;
1453
+ }
1454
+ for ty in self.results(frame.block_type)? {
1455
+ self.push_operand(ty)?;
1456
+ }
1457
+
1458
+ if self.control.is_empty() && self.end_which_emptied_control.is_none() {
1459
+ assert_ne!(self.offset, 0);
1460
+ self.end_which_emptied_control = Some(self.offset);
1461
+ }
1462
+ Ok(())
1463
+ }
1464
+ fn visit_br(&mut self, relative_depth: u32) -> Self::Output {
1465
+ let (ty, kind) = self.jump(relative_depth)?;
1466
+ for ty in self.label_types(ty, kind)?.rev() {
1467
+ self.pop_operand(Some(ty))?;
1468
+ }
1469
+ self.unreachable()?;
1470
+ Ok(())
1471
+ }
1472
+ fn visit_br_if(&mut self, relative_depth: u32) -> Self::Output {
1473
+ self.pop_operand(Some(ValType::I32))?;
1474
+ let (ty, kind) = self.jump(relative_depth)?;
1475
+ let label_types = self.label_types(ty, kind)?;
1476
+ self.pop_push_label_types(label_types)?;
1477
+ Ok(())
1478
+ }
1479
+ fn visit_br_table(&mut self, table: BrTable) -> Self::Output {
1480
+ self.pop_operand(Some(ValType::I32))?;
1481
+ let default = self.jump(table.default())?;
1482
+ let default_types = self.label_types(default.0, default.1)?;
1483
+ for element in table.targets() {
1484
+ let relative_depth = element?;
1485
+ let block = self.jump(relative_depth)?;
1486
+ let label_tys = self.label_types(block.0, block.1)?;
1487
+ if label_tys.len() != default_types.len() {
1488
+ bail!(
1489
+ self.offset,
1490
+ "type mismatch: br_table target labels have different number of types"
1491
+ );
1492
+ }
1493
+
1494
+ debug_assert!(self.popped_types_tmp.is_empty());
1495
+ self.popped_types_tmp.reserve(label_tys.len());
1496
+ for expected_ty in label_tys.rev() {
1497
+ let actual_ty = self.pop_operand(Some(expected_ty))?;
1498
+ self.popped_types_tmp.push(actual_ty);
1499
+ }
1500
+ for ty in self.inner.popped_types_tmp.drain(..).rev() {
1501
+ self.inner.operands.push(ty.into());
1502
+ }
1503
+ }
1504
+ for ty in default_types.rev() {
1505
+ self.pop_operand(Some(ty))?;
1506
+ }
1507
+ self.unreachable()?;
1508
+ Ok(())
1509
+ }
1510
+ fn visit_return(&mut self) -> Self::Output {
1511
+ self.check_return()?;
1512
+ Ok(())
1513
+ }
1514
+ fn visit_call(&mut self, function_index: u32) -> Self::Output {
1515
+ self.check_call(function_index)?;
1516
+ Ok(())
1517
+ }
1518
+ fn visit_return_call(&mut self, function_index: u32) -> Self::Output {
1519
+ self.check_call(function_index)?;
1520
+ self.check_return()?;
1521
+ Ok(())
1522
+ }
1523
+ fn visit_call_ref(&mut self, type_index: u32) -> Self::Output {
1524
+ let unpacked_index = UnpackedIndex::Module(type_index);
1525
+ let mut hty = HeapType::Concrete(unpacked_index);
1526
+ self.resources.check_heap_type(&mut hty, self.offset)?;
1527
+ // If `None` is popped then that means a "bottom" type was popped which
1528
+ // is always considered equivalent to the `hty` tag.
1529
+ if let Some(rt) = self.pop_ref()? {
1530
+ let expected = RefType::new(true, hty).expect("hty should be previously validated");
1531
+ let expected = ValType::Ref(expected);
1532
+ if !self.resources.is_subtype(ValType::Ref(rt), expected) {
1533
+ bail!(
1534
+ self.offset,
1535
+ "type mismatch: funcref on stack does not match specified type",
1536
+ );
1537
+ }
1538
+ }
1539
+ self.check_call_type_index(type_index)
1540
+ }
1541
+ fn visit_return_call_ref(&mut self, type_index: u32) -> Self::Output {
1542
+ self.visit_call_ref(type_index)?;
1543
+ self.check_return()
1544
+ }
1545
+ fn visit_call_indirect(
1546
+ &mut self,
1547
+ index: u32,
1548
+ table_index: u32,
1549
+ table_byte: u8,
1550
+ ) -> Self::Output {
1551
+ if table_byte != 0 && !self.features.contains(WasmFeatures::REFERENCE_TYPES) {
1552
+ bail!(
1553
+ self.offset,
1554
+ "reference-types not enabled: zero byte expected"
1555
+ );
1556
+ }
1557
+ self.check_call_indirect(index, table_index)?;
1558
+ Ok(())
1559
+ }
1560
+ fn visit_return_call_indirect(&mut self, index: u32, table_index: u32) -> Self::Output {
1561
+ self.check_call_indirect(index, table_index)?;
1562
+ self.check_return()?;
1563
+ Ok(())
1564
+ }
1565
+ fn visit_drop(&mut self) -> Self::Output {
1566
+ self.pop_operand(None)?;
1567
+ Ok(())
1568
+ }
1569
+ fn visit_select(&mut self) -> Self::Output {
1570
+ self.pop_operand(Some(ValType::I32))?;
1571
+ let ty1 = self.pop_operand(None)?;
1572
+ let ty2 = self.pop_operand(None)?;
1573
+
1574
+ let ty = match (ty1, ty2) {
1575
+ // All heap-related types aren't allowed with the `select`
1576
+ // instruction
1577
+ (MaybeType::HeapBot, _)
1578
+ | (_, MaybeType::HeapBot)
1579
+ | (MaybeType::Type(ValType::Ref(_)), _)
1580
+ | (_, MaybeType::Type(ValType::Ref(_))) => {
1581
+ bail!(
1582
+ self.offset,
1583
+ "type mismatch: select only takes integral types"
1584
+ )
1585
+ }
1586
+
1587
+ // If one operand is the "bottom" type then whatever the other
1588
+ // operand is is the result of the `select`
1589
+ (MaybeType::Bot, t) | (t, MaybeType::Bot) => t,
1590
+
1591
+ // Otherwise these are two integral types and they must match for
1592
+ // `select` to typecheck.
1593
+ (t @ MaybeType::Type(t1), MaybeType::Type(t2)) => {
1594
+ if t1 != t2 {
1595
+ bail!(
1596
+ self.offset,
1597
+ "type mismatch: select operands have different types"
1598
+ );
1599
+ }
1600
+ t
1601
+ }
1602
+ };
1603
+ self.push_operand(ty)?;
1604
+ Ok(())
1605
+ }
1606
+ fn visit_typed_select(&mut self, mut ty: ValType) -> Self::Output {
1607
+ self.resources
1608
+ .check_value_type(&mut ty, &self.features, self.offset)?;
1609
+ self.pop_operand(Some(ValType::I32))?;
1610
+ self.pop_operand(Some(ty))?;
1611
+ self.pop_operand(Some(ty))?;
1612
+ self.push_operand(ty)?;
1613
+ Ok(())
1614
+ }
1615
+ fn visit_local_get(&mut self, local_index: u32) -> Self::Output {
1616
+ let ty = self.local(local_index)?;
1617
+ debug_assert_type_indices_are_ids(ty);
1618
+ if !self.local_inits[local_index as usize] {
1619
+ bail!(self.offset, "uninitialized local: {}", local_index);
1620
+ }
1621
+ self.push_operand(ty)?;
1622
+ Ok(())
1623
+ }
1624
+ fn visit_local_set(&mut self, local_index: u32) -> Self::Output {
1625
+ let ty = self.local(local_index)?;
1626
+ self.pop_operand(Some(ty))?;
1627
+ if !self.local_inits[local_index as usize] {
1628
+ self.local_inits[local_index as usize] = true;
1629
+ self.inits.push(local_index);
1630
+ }
1631
+ Ok(())
1632
+ }
1633
+ fn visit_local_tee(&mut self, local_index: u32) -> Self::Output {
1634
+ let expected_ty = self.local(local_index)?;
1635
+ self.pop_operand(Some(expected_ty))?;
1636
+ if !self.local_inits[local_index as usize] {
1637
+ self.local_inits[local_index as usize] = true;
1638
+ self.inits.push(local_index);
1639
+ }
1640
+
1641
+ self.push_operand(expected_ty)?;
1642
+ Ok(())
1643
+ }
1644
+ fn visit_global_get(&mut self, global_index: u32) -> Self::Output {
1645
+ if let Some(ty) = self.resources.global_at(global_index) {
1646
+ let ty = ty.content_type;
1647
+ debug_assert_type_indices_are_ids(ty);
1648
+ self.push_operand(ty)?;
1649
+ } else {
1650
+ bail!(self.offset, "unknown global: global index out of bounds");
1651
+ };
1652
+ Ok(())
1653
+ }
1654
+ fn visit_global_atomic_get(
1655
+ &mut self,
1656
+ _ordering: crate::Ordering,
1657
+ global_index: u32,
1658
+ ) -> Self::Output {
1659
+ self.visit_global_get(global_index)?;
1660
+ // No validation of `ordering` is needed because `global.atomic.get` can
1661
+ // be used on both shared and unshared globals.
1662
+ self.check_atomic_global_ty(global_index)?;
1663
+ Ok(())
1664
+ }
1665
+ fn visit_global_set(&mut self, global_index: u32) -> Self::Output {
1666
+ if let Some(ty) = self.resources.global_at(global_index) {
1667
+ if !ty.mutable {
1668
+ bail!(
1669
+ self.offset,
1670
+ "global is immutable: cannot modify it with `global.set`"
1671
+ );
1672
+ }
1673
+ self.pop_operand(Some(ty.content_type))?;
1674
+ } else {
1675
+ bail!(self.offset, "unknown global: global index out of bounds");
1676
+ };
1677
+ Ok(())
1678
+ }
1679
+ fn visit_global_atomic_set(
1680
+ &mut self,
1681
+ _ordering: crate::Ordering,
1682
+ global_index: u32,
1683
+ ) -> Self::Output {
1684
+ self.visit_global_set(global_index)?;
1685
+ // No validation of `ordering` is needed because `global.atomic.get` can
1686
+ // be used on both shared and unshared globals.
1687
+ self.check_atomic_global_ty(global_index)?;
1688
+ Ok(())
1689
+ }
1690
+ fn visit_i32_load(&mut self, memarg: MemArg) -> Self::Output {
1691
+ let ty = self.check_memarg(memarg)?;
1692
+ self.pop_operand(Some(ty))?;
1693
+ self.push_operand(ValType::I32)?;
1694
+ Ok(())
1695
+ }
1696
+ fn visit_i64_load(&mut self, memarg: MemArg) -> Self::Output {
1697
+ let ty = self.check_memarg(memarg)?;
1698
+ self.pop_operand(Some(ty))?;
1699
+ self.push_operand(ValType::I64)?;
1700
+ Ok(())
1701
+ }
1702
+ fn visit_f32_load(&mut self, memarg: MemArg) -> Self::Output {
1703
+ self.check_floats_enabled()?;
1704
+ let ty = self.check_memarg(memarg)?;
1705
+ self.pop_operand(Some(ty))?;
1706
+ self.push_operand(ValType::F32)?;
1707
+ Ok(())
1708
+ }
1709
+ fn visit_f64_load(&mut self, memarg: MemArg) -> Self::Output {
1710
+ self.check_floats_enabled()?;
1711
+ let ty = self.check_memarg(memarg)?;
1712
+ self.pop_operand(Some(ty))?;
1713
+ self.push_operand(ValType::F64)?;
1714
+ Ok(())
1715
+ }
1716
+ fn visit_i32_load8_s(&mut self, memarg: MemArg) -> Self::Output {
1717
+ let ty = self.check_memarg(memarg)?;
1718
+ self.pop_operand(Some(ty))?;
1719
+ self.push_operand(ValType::I32)?;
1720
+ Ok(())
1721
+ }
1722
+ fn visit_i32_load8_u(&mut self, memarg: MemArg) -> Self::Output {
1723
+ self.visit_i32_load8_s(memarg)
1724
+ }
1725
+ fn visit_i32_load16_s(&mut self, memarg: MemArg) -> Self::Output {
1726
+ let ty = self.check_memarg(memarg)?;
1727
+ self.pop_operand(Some(ty))?;
1728
+ self.push_operand(ValType::I32)?;
1729
+ Ok(())
1730
+ }
1731
+ fn visit_i32_load16_u(&mut self, memarg: MemArg) -> Self::Output {
1732
+ self.visit_i32_load16_s(memarg)
1733
+ }
1734
+ fn visit_i64_load8_s(&mut self, memarg: MemArg) -> Self::Output {
1735
+ let ty = self.check_memarg(memarg)?;
1736
+ self.pop_operand(Some(ty))?;
1737
+ self.push_operand(ValType::I64)?;
1738
+ Ok(())
1739
+ }
1740
+ fn visit_i64_load8_u(&mut self, memarg: MemArg) -> Self::Output {
1741
+ self.visit_i64_load8_s(memarg)
1742
+ }
1743
+ fn visit_i64_load16_s(&mut self, memarg: MemArg) -> Self::Output {
1744
+ let ty = self.check_memarg(memarg)?;
1745
+ self.pop_operand(Some(ty))?;
1746
+ self.push_operand(ValType::I64)?;
1747
+ Ok(())
1748
+ }
1749
+ fn visit_i64_load16_u(&mut self, memarg: MemArg) -> Self::Output {
1750
+ self.visit_i64_load16_s(memarg)
1751
+ }
1752
+ fn visit_i64_load32_s(&mut self, memarg: MemArg) -> Self::Output {
1753
+ let ty = self.check_memarg(memarg)?;
1754
+ self.pop_operand(Some(ty))?;
1755
+ self.push_operand(ValType::I64)?;
1756
+ Ok(())
1757
+ }
1758
+ fn visit_i64_load32_u(&mut self, memarg: MemArg) -> Self::Output {
1759
+ self.visit_i64_load32_s(memarg)
1760
+ }
1761
+ fn visit_i32_store(&mut self, memarg: MemArg) -> Self::Output {
1762
+ let ty = self.check_memarg(memarg)?;
1763
+ self.pop_operand(Some(ValType::I32))?;
1764
+ self.pop_operand(Some(ty))?;
1765
+ Ok(())
1766
+ }
1767
+ fn visit_i64_store(&mut self, memarg: MemArg) -> Self::Output {
1768
+ let ty = self.check_memarg(memarg)?;
1769
+ self.pop_operand(Some(ValType::I64))?;
1770
+ self.pop_operand(Some(ty))?;
1771
+ Ok(())
1772
+ }
1773
+ fn visit_f32_store(&mut self, memarg: MemArg) -> Self::Output {
1774
+ self.check_floats_enabled()?;
1775
+ let ty = self.check_memarg(memarg)?;
1776
+ self.pop_operand(Some(ValType::F32))?;
1777
+ self.pop_operand(Some(ty))?;
1778
+ Ok(())
1779
+ }
1780
+ fn visit_f64_store(&mut self, memarg: MemArg) -> Self::Output {
1781
+ self.check_floats_enabled()?;
1782
+ let ty = self.check_memarg(memarg)?;
1783
+ self.pop_operand(Some(ValType::F64))?;
1784
+ self.pop_operand(Some(ty))?;
1785
+ Ok(())
1786
+ }
1787
+ fn visit_i32_store8(&mut self, memarg: MemArg) -> Self::Output {
1788
+ let ty = self.check_memarg(memarg)?;
1789
+ self.pop_operand(Some(ValType::I32))?;
1790
+ self.pop_operand(Some(ty))?;
1791
+ Ok(())
1792
+ }
1793
+ fn visit_i32_store16(&mut self, memarg: MemArg) -> Self::Output {
1794
+ let ty = self.check_memarg(memarg)?;
1795
+ self.pop_operand(Some(ValType::I32))?;
1796
+ self.pop_operand(Some(ty))?;
1797
+ Ok(())
1798
+ }
1799
+ fn visit_i64_store8(&mut self, memarg: MemArg) -> Self::Output {
1800
+ let ty = self.check_memarg(memarg)?;
1801
+ self.pop_operand(Some(ValType::I64))?;
1802
+ self.pop_operand(Some(ty))?;
1803
+ Ok(())
1804
+ }
1805
+ fn visit_i64_store16(&mut self, memarg: MemArg) -> Self::Output {
1806
+ let ty = self.check_memarg(memarg)?;
1807
+ self.pop_operand(Some(ValType::I64))?;
1808
+ self.pop_operand(Some(ty))?;
1809
+ Ok(())
1810
+ }
1811
+ fn visit_i64_store32(&mut self, memarg: MemArg) -> Self::Output {
1812
+ let ty = self.check_memarg(memarg)?;
1813
+ self.pop_operand(Some(ValType::I64))?;
1814
+ self.pop_operand(Some(ty))?;
1815
+ Ok(())
1816
+ }
1817
+ fn visit_memory_size(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
1818
+ if mem_byte != 0 && !self.features.contains(WasmFeatures::MULTI_MEMORY) {
1819
+ bail!(self.offset, "multi-memory not enabled: zero byte expected");
1820
+ }
1821
+ let index_ty = self.check_memory_index(mem)?;
1822
+ self.push_operand(index_ty)?;
1823
+ Ok(())
1824
+ }
1825
+ fn visit_memory_grow(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
1826
+ if mem_byte != 0 && !self.features.contains(WasmFeatures::MULTI_MEMORY) {
1827
+ bail!(self.offset, "multi-memory not enabled: zero byte expected");
1828
+ }
1829
+ let index_ty = self.check_memory_index(mem)?;
1830
+ self.pop_operand(Some(index_ty))?;
1831
+ self.push_operand(index_ty)?;
1832
+ Ok(())
1833
+ }
1834
+ fn visit_i32_const(&mut self, _value: i32) -> Self::Output {
1835
+ self.push_operand(ValType::I32)?;
1836
+ Ok(())
1837
+ }
1838
+ fn visit_i64_const(&mut self, _value: i64) -> Self::Output {
1839
+ self.push_operand(ValType::I64)?;
1840
+ Ok(())
1841
+ }
1842
+ fn visit_f32_const(&mut self, _value: Ieee32) -> Self::Output {
1843
+ self.check_floats_enabled()?;
1844
+ self.push_operand(ValType::F32)?;
1845
+ Ok(())
1846
+ }
1847
+ fn visit_f64_const(&mut self, _value: Ieee64) -> Self::Output {
1848
+ self.check_floats_enabled()?;
1849
+ self.push_operand(ValType::F64)?;
1850
+ Ok(())
1851
+ }
1852
+ fn visit_i32_eqz(&mut self) -> Self::Output {
1853
+ self.pop_operand(Some(ValType::I32))?;
1854
+ self.push_operand(ValType::I32)?;
1855
+ Ok(())
1856
+ }
1857
+ fn visit_i32_eq(&mut self) -> Self::Output {
1858
+ self.check_cmp_op(ValType::I32)
1859
+ }
1860
+ fn visit_i32_ne(&mut self) -> Self::Output {
1861
+ self.check_cmp_op(ValType::I32)
1862
+ }
1863
+ fn visit_i32_lt_s(&mut self) -> Self::Output {
1864
+ self.check_cmp_op(ValType::I32)
1865
+ }
1866
+ fn visit_i32_lt_u(&mut self) -> Self::Output {
1867
+ self.check_cmp_op(ValType::I32)
1868
+ }
1869
+ fn visit_i32_gt_s(&mut self) -> Self::Output {
1870
+ self.check_cmp_op(ValType::I32)
1871
+ }
1872
+ fn visit_i32_gt_u(&mut self) -> Self::Output {
1873
+ self.check_cmp_op(ValType::I32)
1874
+ }
1875
+ fn visit_i32_le_s(&mut self) -> Self::Output {
1876
+ self.check_cmp_op(ValType::I32)
1877
+ }
1878
+ fn visit_i32_le_u(&mut self) -> Self::Output {
1879
+ self.check_cmp_op(ValType::I32)
1880
+ }
1881
+ fn visit_i32_ge_s(&mut self) -> Self::Output {
1882
+ self.check_cmp_op(ValType::I32)
1883
+ }
1884
+ fn visit_i32_ge_u(&mut self) -> Self::Output {
1885
+ self.check_cmp_op(ValType::I32)
1886
+ }
1887
+ fn visit_i64_eqz(&mut self) -> Self::Output {
1888
+ self.pop_operand(Some(ValType::I64))?;
1889
+ self.push_operand(ValType::I32)?;
1890
+ Ok(())
1891
+ }
1892
+ fn visit_i64_eq(&mut self) -> Self::Output {
1893
+ self.check_cmp_op(ValType::I64)
1894
+ }
1895
+ fn visit_i64_ne(&mut self) -> Self::Output {
1896
+ self.check_cmp_op(ValType::I64)
1897
+ }
1898
+ fn visit_i64_lt_s(&mut self) -> Self::Output {
1899
+ self.check_cmp_op(ValType::I64)
1900
+ }
1901
+ fn visit_i64_lt_u(&mut self) -> Self::Output {
1902
+ self.check_cmp_op(ValType::I64)
1903
+ }
1904
+ fn visit_i64_gt_s(&mut self) -> Self::Output {
1905
+ self.check_cmp_op(ValType::I64)
1906
+ }
1907
+ fn visit_i64_gt_u(&mut self) -> Self::Output {
1908
+ self.check_cmp_op(ValType::I64)
1909
+ }
1910
+ fn visit_i64_le_s(&mut self) -> Self::Output {
1911
+ self.check_cmp_op(ValType::I64)
1912
+ }
1913
+ fn visit_i64_le_u(&mut self) -> Self::Output {
1914
+ self.check_cmp_op(ValType::I64)
1915
+ }
1916
+ fn visit_i64_ge_s(&mut self) -> Self::Output {
1917
+ self.check_cmp_op(ValType::I64)
1918
+ }
1919
+ fn visit_i64_ge_u(&mut self) -> Self::Output {
1920
+ self.check_cmp_op(ValType::I64)
1921
+ }
1922
+ fn visit_f32_eq(&mut self) -> Self::Output {
1923
+ self.check_fcmp_op(ValType::F32)
1924
+ }
1925
+ fn visit_f32_ne(&mut self) -> Self::Output {
1926
+ self.check_fcmp_op(ValType::F32)
1927
+ }
1928
+ fn visit_f32_lt(&mut self) -> Self::Output {
1929
+ self.check_fcmp_op(ValType::F32)
1930
+ }
1931
+ fn visit_f32_gt(&mut self) -> Self::Output {
1932
+ self.check_fcmp_op(ValType::F32)
1933
+ }
1934
+ fn visit_f32_le(&mut self) -> Self::Output {
1935
+ self.check_fcmp_op(ValType::F32)
1936
+ }
1937
+ fn visit_f32_ge(&mut self) -> Self::Output {
1938
+ self.check_fcmp_op(ValType::F32)
1939
+ }
1940
+ fn visit_f64_eq(&mut self) -> Self::Output {
1941
+ self.check_fcmp_op(ValType::F64)
1942
+ }
1943
+ fn visit_f64_ne(&mut self) -> Self::Output {
1944
+ self.check_fcmp_op(ValType::F64)
1945
+ }
1946
+ fn visit_f64_lt(&mut self) -> Self::Output {
1947
+ self.check_fcmp_op(ValType::F64)
1948
+ }
1949
+ fn visit_f64_gt(&mut self) -> Self::Output {
1950
+ self.check_fcmp_op(ValType::F64)
1951
+ }
1952
+ fn visit_f64_le(&mut self) -> Self::Output {
1953
+ self.check_fcmp_op(ValType::F64)
1954
+ }
1955
+ fn visit_f64_ge(&mut self) -> Self::Output {
1956
+ self.check_fcmp_op(ValType::F64)
1957
+ }
1958
+ fn visit_i32_clz(&mut self) -> Self::Output {
1959
+ self.check_unary_op(ValType::I32)
1960
+ }
1961
+ fn visit_i32_ctz(&mut self) -> Self::Output {
1962
+ self.check_unary_op(ValType::I32)
1963
+ }
1964
+ fn visit_i32_popcnt(&mut self) -> Self::Output {
1965
+ self.check_unary_op(ValType::I32)
1966
+ }
1967
+ fn visit_i32_add(&mut self) -> Self::Output {
1968
+ self.check_binary_op(ValType::I32)
1969
+ }
1970
+ fn visit_i32_sub(&mut self) -> Self::Output {
1971
+ self.check_binary_op(ValType::I32)
1972
+ }
1973
+ fn visit_i32_mul(&mut self) -> Self::Output {
1974
+ self.check_binary_op(ValType::I32)
1975
+ }
1976
+ fn visit_i32_div_s(&mut self) -> Self::Output {
1977
+ self.check_binary_op(ValType::I32)
1978
+ }
1979
+ fn visit_i32_div_u(&mut self) -> Self::Output {
1980
+ self.check_binary_op(ValType::I32)
1981
+ }
1982
+ fn visit_i32_rem_s(&mut self) -> Self::Output {
1983
+ self.check_binary_op(ValType::I32)
1984
+ }
1985
+ fn visit_i32_rem_u(&mut self) -> Self::Output {
1986
+ self.check_binary_op(ValType::I32)
1987
+ }
1988
+ fn visit_i32_and(&mut self) -> Self::Output {
1989
+ self.check_binary_op(ValType::I32)
1990
+ }
1991
+ fn visit_i32_or(&mut self) -> Self::Output {
1992
+ self.check_binary_op(ValType::I32)
1993
+ }
1994
+ fn visit_i32_xor(&mut self) -> Self::Output {
1995
+ self.check_binary_op(ValType::I32)
1996
+ }
1997
+ fn visit_i32_shl(&mut self) -> Self::Output {
1998
+ self.check_binary_op(ValType::I32)
1999
+ }
2000
+ fn visit_i32_shr_s(&mut self) -> Self::Output {
2001
+ self.check_binary_op(ValType::I32)
2002
+ }
2003
+ fn visit_i32_shr_u(&mut self) -> Self::Output {
2004
+ self.check_binary_op(ValType::I32)
2005
+ }
2006
+ fn visit_i32_rotl(&mut self) -> Self::Output {
2007
+ self.check_binary_op(ValType::I32)
2008
+ }
2009
+ fn visit_i32_rotr(&mut self) -> Self::Output {
2010
+ self.check_binary_op(ValType::I32)
2011
+ }
2012
+ fn visit_i64_clz(&mut self) -> Self::Output {
2013
+ self.check_unary_op(ValType::I64)
2014
+ }
2015
+ fn visit_i64_ctz(&mut self) -> Self::Output {
2016
+ self.check_unary_op(ValType::I64)
2017
+ }
2018
+ fn visit_i64_popcnt(&mut self) -> Self::Output {
2019
+ self.check_unary_op(ValType::I64)
2020
+ }
2021
+ fn visit_i64_add(&mut self) -> Self::Output {
2022
+ self.check_binary_op(ValType::I64)
2023
+ }
2024
+ fn visit_i64_sub(&mut self) -> Self::Output {
2025
+ self.check_binary_op(ValType::I64)
2026
+ }
2027
+ fn visit_i64_mul(&mut self) -> Self::Output {
2028
+ self.check_binary_op(ValType::I64)
2029
+ }
2030
+ fn visit_i64_div_s(&mut self) -> Self::Output {
2031
+ self.check_binary_op(ValType::I64)
2032
+ }
2033
+ fn visit_i64_div_u(&mut self) -> Self::Output {
2034
+ self.check_binary_op(ValType::I64)
2035
+ }
2036
+ fn visit_i64_rem_s(&mut self) -> Self::Output {
2037
+ self.check_binary_op(ValType::I64)
2038
+ }
2039
+ fn visit_i64_rem_u(&mut self) -> Self::Output {
2040
+ self.check_binary_op(ValType::I64)
2041
+ }
2042
+ fn visit_i64_and(&mut self) -> Self::Output {
2043
+ self.check_binary_op(ValType::I64)
2044
+ }
2045
+ fn visit_i64_or(&mut self) -> Self::Output {
2046
+ self.check_binary_op(ValType::I64)
2047
+ }
2048
+ fn visit_i64_xor(&mut self) -> Self::Output {
2049
+ self.check_binary_op(ValType::I64)
2050
+ }
2051
+ fn visit_i64_shl(&mut self) -> Self::Output {
2052
+ self.check_binary_op(ValType::I64)
2053
+ }
2054
+ fn visit_i64_shr_s(&mut self) -> Self::Output {
2055
+ self.check_binary_op(ValType::I64)
2056
+ }
2057
+ fn visit_i64_shr_u(&mut self) -> Self::Output {
2058
+ self.check_binary_op(ValType::I64)
2059
+ }
2060
+ fn visit_i64_rotl(&mut self) -> Self::Output {
2061
+ self.check_binary_op(ValType::I64)
2062
+ }
2063
+ fn visit_i64_rotr(&mut self) -> Self::Output {
2064
+ self.check_binary_op(ValType::I64)
2065
+ }
2066
+ fn visit_f32_abs(&mut self) -> Self::Output {
2067
+ self.check_funary_op(ValType::F32)
2068
+ }
2069
+ fn visit_f32_neg(&mut self) -> Self::Output {
2070
+ self.check_funary_op(ValType::F32)
2071
+ }
2072
+ fn visit_f32_ceil(&mut self) -> Self::Output {
2073
+ self.check_funary_op(ValType::F32)
2074
+ }
2075
+ fn visit_f32_floor(&mut self) -> Self::Output {
2076
+ self.check_funary_op(ValType::F32)
2077
+ }
2078
+ fn visit_f32_trunc(&mut self) -> Self::Output {
2079
+ self.check_funary_op(ValType::F32)
2080
+ }
2081
+ fn visit_f32_nearest(&mut self) -> Self::Output {
2082
+ self.check_funary_op(ValType::F32)
2083
+ }
2084
+ fn visit_f32_sqrt(&mut self) -> Self::Output {
2085
+ self.check_funary_op(ValType::F32)
2086
+ }
2087
+ fn visit_f32_add(&mut self) -> Self::Output {
2088
+ self.check_fbinary_op(ValType::F32)
2089
+ }
2090
+ fn visit_f32_sub(&mut self) -> Self::Output {
2091
+ self.check_fbinary_op(ValType::F32)
2092
+ }
2093
+ fn visit_f32_mul(&mut self) -> Self::Output {
2094
+ self.check_fbinary_op(ValType::F32)
2095
+ }
2096
+ fn visit_f32_div(&mut self) -> Self::Output {
2097
+ self.check_fbinary_op(ValType::F32)
2098
+ }
2099
+ fn visit_f32_min(&mut self) -> Self::Output {
2100
+ self.check_fbinary_op(ValType::F32)
2101
+ }
2102
+ fn visit_f32_max(&mut self) -> Self::Output {
2103
+ self.check_fbinary_op(ValType::F32)
2104
+ }
2105
+ fn visit_f32_copysign(&mut self) -> Self::Output {
2106
+ self.check_fbinary_op(ValType::F32)
2107
+ }
2108
+ fn visit_f64_abs(&mut self) -> Self::Output {
2109
+ self.check_funary_op(ValType::F64)
2110
+ }
2111
+ fn visit_f64_neg(&mut self) -> Self::Output {
2112
+ self.check_funary_op(ValType::F64)
2113
+ }
2114
+ fn visit_f64_ceil(&mut self) -> Self::Output {
2115
+ self.check_funary_op(ValType::F64)
2116
+ }
2117
+ fn visit_f64_floor(&mut self) -> Self::Output {
2118
+ self.check_funary_op(ValType::F64)
2119
+ }
2120
+ fn visit_f64_trunc(&mut self) -> Self::Output {
2121
+ self.check_funary_op(ValType::F64)
2122
+ }
2123
+ fn visit_f64_nearest(&mut self) -> Self::Output {
2124
+ self.check_funary_op(ValType::F64)
2125
+ }
2126
+ fn visit_f64_sqrt(&mut self) -> Self::Output {
2127
+ self.check_funary_op(ValType::F64)
2128
+ }
2129
+ fn visit_f64_add(&mut self) -> Self::Output {
2130
+ self.check_fbinary_op(ValType::F64)
2131
+ }
2132
+ fn visit_f64_sub(&mut self) -> Self::Output {
2133
+ self.check_fbinary_op(ValType::F64)
2134
+ }
2135
+ fn visit_f64_mul(&mut self) -> Self::Output {
2136
+ self.check_fbinary_op(ValType::F64)
2137
+ }
2138
+ fn visit_f64_div(&mut self) -> Self::Output {
2139
+ self.check_fbinary_op(ValType::F64)
2140
+ }
2141
+ fn visit_f64_min(&mut self) -> Self::Output {
2142
+ self.check_fbinary_op(ValType::F64)
2143
+ }
2144
+ fn visit_f64_max(&mut self) -> Self::Output {
2145
+ self.check_fbinary_op(ValType::F64)
2146
+ }
2147
+ fn visit_f64_copysign(&mut self) -> Self::Output {
2148
+ self.check_fbinary_op(ValType::F64)
2149
+ }
2150
+ fn visit_i32_wrap_i64(&mut self) -> Self::Output {
2151
+ self.check_conversion_op(ValType::I32, ValType::I64)
2152
+ }
2153
+ fn visit_i32_trunc_f32_s(&mut self) -> Self::Output {
2154
+ self.check_conversion_op(ValType::I32, ValType::F32)
2155
+ }
2156
+ fn visit_i32_trunc_f32_u(&mut self) -> Self::Output {
2157
+ self.check_conversion_op(ValType::I32, ValType::F32)
2158
+ }
2159
+ fn visit_i32_trunc_f64_s(&mut self) -> Self::Output {
2160
+ self.check_conversion_op(ValType::I32, ValType::F64)
2161
+ }
2162
+ fn visit_i32_trunc_f64_u(&mut self) -> Self::Output {
2163
+ self.check_conversion_op(ValType::I32, ValType::F64)
2164
+ }
2165
+ fn visit_i64_extend_i32_s(&mut self) -> Self::Output {
2166
+ self.check_conversion_op(ValType::I64, ValType::I32)
2167
+ }
2168
+ fn visit_i64_extend_i32_u(&mut self) -> Self::Output {
2169
+ self.check_conversion_op(ValType::I64, ValType::I32)
2170
+ }
2171
+ fn visit_i64_trunc_f32_s(&mut self) -> Self::Output {
2172
+ self.check_conversion_op(ValType::I64, ValType::F32)
2173
+ }
2174
+ fn visit_i64_trunc_f32_u(&mut self) -> Self::Output {
2175
+ self.check_conversion_op(ValType::I64, ValType::F32)
2176
+ }
2177
+ fn visit_i64_trunc_f64_s(&mut self) -> Self::Output {
2178
+ self.check_conversion_op(ValType::I64, ValType::F64)
2179
+ }
2180
+ fn visit_i64_trunc_f64_u(&mut self) -> Self::Output {
2181
+ self.check_conversion_op(ValType::I64, ValType::F64)
2182
+ }
2183
+ fn visit_f32_convert_i32_s(&mut self) -> Self::Output {
2184
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2185
+ }
2186
+ fn visit_f32_convert_i32_u(&mut self) -> Self::Output {
2187
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2188
+ }
2189
+ fn visit_f32_convert_i64_s(&mut self) -> Self::Output {
2190
+ self.check_fconversion_op(ValType::F32, ValType::I64)
2191
+ }
2192
+ fn visit_f32_convert_i64_u(&mut self) -> Self::Output {
2193
+ self.check_fconversion_op(ValType::F32, ValType::I64)
2194
+ }
2195
+ fn visit_f32_demote_f64(&mut self) -> Self::Output {
2196
+ self.check_fconversion_op(ValType::F32, ValType::F64)
2197
+ }
2198
+ fn visit_f64_convert_i32_s(&mut self) -> Self::Output {
2199
+ self.check_fconversion_op(ValType::F64, ValType::I32)
2200
+ }
2201
+ fn visit_f64_convert_i32_u(&mut self) -> Self::Output {
2202
+ self.check_fconversion_op(ValType::F64, ValType::I32)
2203
+ }
2204
+ fn visit_f64_convert_i64_s(&mut self) -> Self::Output {
2205
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2206
+ }
2207
+ fn visit_f64_convert_i64_u(&mut self) -> Self::Output {
2208
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2209
+ }
2210
+ fn visit_f64_promote_f32(&mut self) -> Self::Output {
2211
+ self.check_fconversion_op(ValType::F64, ValType::F32)
2212
+ }
2213
+ fn visit_i32_reinterpret_f32(&mut self) -> Self::Output {
2214
+ self.check_conversion_op(ValType::I32, ValType::F32)
2215
+ }
2216
+ fn visit_i64_reinterpret_f64(&mut self) -> Self::Output {
2217
+ self.check_conversion_op(ValType::I64, ValType::F64)
2218
+ }
2219
+ fn visit_f32_reinterpret_i32(&mut self) -> Self::Output {
2220
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2221
+ }
2222
+ fn visit_f64_reinterpret_i64(&mut self) -> Self::Output {
2223
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2224
+ }
2225
+ fn visit_i32_trunc_sat_f32_s(&mut self) -> Self::Output {
2226
+ self.check_conversion_op(ValType::I32, ValType::F32)
2227
+ }
2228
+ fn visit_i32_trunc_sat_f32_u(&mut self) -> Self::Output {
2229
+ self.check_conversion_op(ValType::I32, ValType::F32)
2230
+ }
2231
+ fn visit_i32_trunc_sat_f64_s(&mut self) -> Self::Output {
2232
+ self.check_conversion_op(ValType::I32, ValType::F64)
2233
+ }
2234
+ fn visit_i32_trunc_sat_f64_u(&mut self) -> Self::Output {
2235
+ self.check_conversion_op(ValType::I32, ValType::F64)
2236
+ }
2237
+ fn visit_i64_trunc_sat_f32_s(&mut self) -> Self::Output {
2238
+ self.check_conversion_op(ValType::I64, ValType::F32)
2239
+ }
2240
+ fn visit_i64_trunc_sat_f32_u(&mut self) -> Self::Output {
2241
+ self.check_conversion_op(ValType::I64, ValType::F32)
2242
+ }
2243
+ fn visit_i64_trunc_sat_f64_s(&mut self) -> Self::Output {
2244
+ self.check_conversion_op(ValType::I64, ValType::F64)
2245
+ }
2246
+ fn visit_i64_trunc_sat_f64_u(&mut self) -> Self::Output {
2247
+ self.check_conversion_op(ValType::I64, ValType::F64)
2248
+ }
2249
+ fn visit_i32_extend8_s(&mut self) -> Self::Output {
2250
+ self.check_unary_op(ValType::I32)
2251
+ }
2252
+ fn visit_i32_extend16_s(&mut self) -> Self::Output {
2253
+ self.check_unary_op(ValType::I32)
2254
+ }
2255
+ fn visit_i64_extend8_s(&mut self) -> Self::Output {
2256
+ self.check_unary_op(ValType::I64)
2257
+ }
2258
+ fn visit_i64_extend16_s(&mut self) -> Self::Output {
2259
+ self.check_unary_op(ValType::I64)
2260
+ }
2261
+ fn visit_i64_extend32_s(&mut self) -> Self::Output {
2262
+ self.check_unary_op(ValType::I64)
2263
+ }
2264
+ fn visit_i32_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
2265
+ self.check_atomic_load(memarg, ValType::I32)
2266
+ }
2267
+ fn visit_i32_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
2268
+ self.check_atomic_load(memarg, ValType::I32)
2269
+ }
2270
+ fn visit_i32_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
2271
+ self.check_atomic_load(memarg, ValType::I32)
2272
+ }
2273
+ fn visit_i64_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
2274
+ self.check_atomic_load(memarg, ValType::I64)
2275
+ }
2276
+ fn visit_i64_atomic_load32_u(&mut self, memarg: MemArg) -> Self::Output {
2277
+ self.check_atomic_load(memarg, ValType::I64)
2278
+ }
2279
+ fn visit_i64_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
2280
+ self.check_atomic_load(memarg, ValType::I64)
2281
+ }
2282
+ fn visit_i64_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
2283
+ self.check_atomic_load(memarg, ValType::I64)
2284
+ }
2285
+ fn visit_i32_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
2286
+ self.check_atomic_store(memarg, ValType::I32)
2287
+ }
2288
+ fn visit_i32_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
2289
+ self.check_atomic_store(memarg, ValType::I32)
2290
+ }
2291
+ fn visit_i32_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
2292
+ self.check_atomic_store(memarg, ValType::I32)
2293
+ }
2294
+ fn visit_i64_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
2295
+ self.check_atomic_store(memarg, ValType::I64)
2296
+ }
2297
+ fn visit_i64_atomic_store32(&mut self, memarg: MemArg) -> Self::Output {
2298
+ self.check_atomic_store(memarg, ValType::I64)
2299
+ }
2300
+ fn visit_i64_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
2301
+ self.check_atomic_store(memarg, ValType::I64)
2302
+ }
2303
+ fn visit_i64_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
2304
+ self.check_atomic_store(memarg, ValType::I64)
2305
+ }
2306
+ fn visit_i32_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
2307
+ self.check_atomic_binary_op(memarg, ValType::I32)
2308
+ }
2309
+ fn visit_i32_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
2310
+ self.check_atomic_binary_op(memarg, ValType::I32)
2311
+ }
2312
+ fn visit_i32_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
2313
+ self.check_atomic_binary_op(memarg, ValType::I32)
2314
+ }
2315
+ fn visit_i32_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
2316
+ self.check_atomic_binary_op(memarg, ValType::I32)
2317
+ }
2318
+ fn visit_i32_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
2319
+ self.check_atomic_binary_op(memarg, ValType::I32)
2320
+ }
2321
+ fn visit_i32_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
2322
+ self.check_atomic_binary_op(memarg, ValType::I32)
2323
+ }
2324
+ fn visit_i32_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2325
+ self.check_atomic_binary_op(memarg, ValType::I32)
2326
+ }
2327
+ fn visit_i32_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
2328
+ self.check_atomic_binary_op(memarg, ValType::I32)
2329
+ }
2330
+ fn visit_i32_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
2331
+ self.check_atomic_binary_op(memarg, ValType::I32)
2332
+ }
2333
+ fn visit_i32_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2334
+ self.check_atomic_binary_op(memarg, ValType::I32)
2335
+ }
2336
+ fn visit_i32_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
2337
+ self.check_atomic_binary_op(memarg, ValType::I32)
2338
+ }
2339
+ fn visit_i32_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2340
+ self.check_atomic_binary_op(memarg, ValType::I32)
2341
+ }
2342
+ fn visit_i32_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
2343
+ self.check_atomic_binary_op(memarg, ValType::I32)
2344
+ }
2345
+ fn visit_i32_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
2346
+ self.check_atomic_binary_op(memarg, ValType::I32)
2347
+ }
2348
+ fn visit_i32_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2349
+ self.check_atomic_binary_op(memarg, ValType::I32)
2350
+ }
2351
+ fn visit_i64_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
2352
+ self.check_atomic_binary_op(memarg, ValType::I64)
2353
+ }
2354
+ fn visit_i64_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
2355
+ self.check_atomic_binary_op(memarg, ValType::I64)
2356
+ }
2357
+ fn visit_i64_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
2358
+ self.check_atomic_binary_op(memarg, ValType::I64)
2359
+ }
2360
+ fn visit_i64_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
2361
+ self.check_atomic_binary_op(memarg, ValType::I64)
2362
+ }
2363
+ fn visit_i64_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
2364
+ self.check_atomic_binary_op(memarg, ValType::I64)
2365
+ }
2366
+ fn visit_i64_atomic_rmw32_add_u(&mut self, memarg: MemArg) -> Self::Output {
2367
+ self.check_atomic_binary_op(memarg, ValType::I64)
2368
+ }
2369
+ fn visit_i64_atomic_rmw32_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2370
+ self.check_atomic_binary_op(memarg, ValType::I64)
2371
+ }
2372
+ fn visit_i64_atomic_rmw32_and_u(&mut self, memarg: MemArg) -> Self::Output {
2373
+ self.check_atomic_binary_op(memarg, ValType::I64)
2374
+ }
2375
+ fn visit_i64_atomic_rmw32_or_u(&mut self, memarg: MemArg) -> Self::Output {
2376
+ self.check_atomic_binary_op(memarg, ValType::I64)
2377
+ }
2378
+ fn visit_i64_atomic_rmw32_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2379
+ self.check_atomic_binary_op(memarg, ValType::I64)
2380
+ }
2381
+ fn visit_i64_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
2382
+ self.check_atomic_binary_op(memarg, ValType::I64)
2383
+ }
2384
+ fn visit_i64_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2385
+ self.check_atomic_binary_op(memarg, ValType::I64)
2386
+ }
2387
+ fn visit_i64_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
2388
+ self.check_atomic_binary_op(memarg, ValType::I64)
2389
+ }
2390
+ fn visit_i64_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
2391
+ self.check_atomic_binary_op(memarg, ValType::I64)
2392
+ }
2393
+ fn visit_i64_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2394
+ self.check_atomic_binary_op(memarg, ValType::I64)
2395
+ }
2396
+ fn visit_i64_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
2397
+ self.check_atomic_binary_op(memarg, ValType::I64)
2398
+ }
2399
+ fn visit_i64_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2400
+ self.check_atomic_binary_op(memarg, ValType::I64)
2401
+ }
2402
+ fn visit_i64_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
2403
+ self.check_atomic_binary_op(memarg, ValType::I64)
2404
+ }
2405
+ fn visit_i64_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
2406
+ self.check_atomic_binary_op(memarg, ValType::I64)
2407
+ }
2408
+ fn visit_i64_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2409
+ self.check_atomic_binary_op(memarg, ValType::I64)
2410
+ }
2411
+ fn visit_i32_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
2412
+ self.check_atomic_binary_op(memarg, ValType::I32)
2413
+ }
2414
+ fn visit_i32_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2415
+ self.check_atomic_binary_op(memarg, ValType::I32)
2416
+ }
2417
+ fn visit_i32_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2418
+ self.check_atomic_binary_op(memarg, ValType::I32)
2419
+ }
2420
+ fn visit_i32_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
2421
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
2422
+ }
2423
+ fn visit_i32_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2424
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
2425
+ }
2426
+ fn visit_i32_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2427
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
2428
+ }
2429
+ fn visit_i64_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
2430
+ self.check_atomic_binary_op(memarg, ValType::I64)
2431
+ }
2432
+ fn visit_i64_atomic_rmw32_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2433
+ self.check_atomic_binary_op(memarg, ValType::I64)
2434
+ }
2435
+ fn visit_i64_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2436
+ self.check_atomic_binary_op(memarg, ValType::I64)
2437
+ }
2438
+ fn visit_i64_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2439
+ self.check_atomic_binary_op(memarg, ValType::I64)
2440
+ }
2441
+ fn visit_i64_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
2442
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2443
+ }
2444
+ fn visit_i64_atomic_rmw32_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2445
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2446
+ }
2447
+ fn visit_i64_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2448
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2449
+ }
2450
+ fn visit_i64_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2451
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2452
+ }
2453
+ fn visit_memory_atomic_notify(&mut self, memarg: MemArg) -> Self::Output {
2454
+ self.check_atomic_binary_op(memarg, ValType::I32)
2455
+ }
2456
+ fn visit_memory_atomic_wait32(&mut self, memarg: MemArg) -> Self::Output {
2457
+ let ty = self.check_shared_memarg(memarg)?;
2458
+ self.pop_operand(Some(ValType::I64))?;
2459
+ self.pop_operand(Some(ValType::I32))?;
2460
+ self.pop_operand(Some(ty))?;
2461
+ self.push_operand(ValType::I32)?;
2462
+ Ok(())
2463
+ }
2464
+ fn visit_memory_atomic_wait64(&mut self, memarg: MemArg) -> Self::Output {
2465
+ let ty = self.check_shared_memarg(memarg)?;
2466
+ self.pop_operand(Some(ValType::I64))?;
2467
+ self.pop_operand(Some(ValType::I64))?;
2468
+ self.pop_operand(Some(ty))?;
2469
+ self.push_operand(ValType::I32)?;
2470
+ Ok(())
2471
+ }
2472
+ fn visit_atomic_fence(&mut self) -> Self::Output {
2473
+ Ok(())
2474
+ }
2475
+ fn visit_ref_null(&mut self, mut heap_type: HeapType) -> Self::Output {
2476
+ if let Some(ty) = RefType::new(true, heap_type) {
2477
+ self.features
2478
+ .check_ref_type(ty)
2479
+ .map_err(|e| BinaryReaderError::new(e, self.offset))?;
2480
+ }
2481
+ self.resources
2482
+ .check_heap_type(&mut heap_type, self.offset)?;
2483
+ let ty = ValType::Ref(
2484
+ RefType::new(true, heap_type).expect("existing heap types should be within our limits"),
2485
+ );
2486
+ self.push_operand(ty)?;
2487
+ Ok(())
2488
+ }
2489
+
2490
+ fn visit_ref_as_non_null(&mut self) -> Self::Output {
2491
+ let ty = match self.pop_ref()? {
2492
+ Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
2493
+ None => MaybeType::HeapBot,
2494
+ };
2495
+ self.push_operand(ty)?;
2496
+ Ok(())
2497
+ }
2498
+ fn visit_br_on_null(&mut self, relative_depth: u32) -> Self::Output {
2499
+ let ref_ty = match self.pop_ref()? {
2500
+ None => MaybeType::HeapBot,
2501
+ Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
2502
+ };
2503
+ let (ft, kind) = self.jump(relative_depth)?;
2504
+ let label_types = self.label_types(ft, kind)?;
2505
+ self.pop_push_label_types(label_types)?;
2506
+ self.push_operand(ref_ty)?;
2507
+ Ok(())
2508
+ }
2509
+ fn visit_br_on_non_null(&mut self, relative_depth: u32) -> Self::Output {
2510
+ let ty = self.pop_ref()?;
2511
+ let (ft, kind) = self.jump(relative_depth)?;
2512
+
2513
+ let mut label_types = self.label_types(ft, kind)?;
2514
+ match (label_types.next_back(), ty) {
2515
+ (None, _) => bail!(
2516
+ self.offset,
2517
+ "type mismatch: br_on_non_null target has no label types",
2518
+ ),
2519
+ (Some(ValType::Ref(_)), None) => {}
2520
+ (Some(rt1 @ ValType::Ref(_)), Some(rt0)) => {
2521
+ // Switch rt0, our popped type, to a non-nullable type and
2522
+ // perform the match because if the branch is taken it's a
2523
+ // non-null value.
2524
+ let ty = rt0.as_non_null();
2525
+ if !self.resources.is_subtype(ty.into(), rt1) {
2526
+ bail!(
2527
+ self.offset,
2528
+ "type mismatch: expected {} but found {}",
2529
+ ty_to_str(rt0.into()),
2530
+ ty_to_str(rt1)
2531
+ )
2532
+ }
2533
+ }
2534
+ (Some(_), _) => bail!(
2535
+ self.offset,
2536
+ "type mismatch: br_on_non_null target does not end with heap type",
2537
+ ),
2538
+ }
2539
+
2540
+ self.pop_push_label_types(label_types)?;
2541
+ Ok(())
2542
+ }
2543
+ fn visit_ref_is_null(&mut self) -> Self::Output {
2544
+ self.pop_ref()?;
2545
+ self.push_operand(ValType::I32)?;
2546
+ Ok(())
2547
+ }
2548
+ fn visit_ref_func(&mut self, function_index: u32) -> Self::Output {
2549
+ let type_id = match self.resources.type_id_of_function(function_index) {
2550
+ Some(id) => id,
2551
+ None => bail!(
2552
+ self.offset,
2553
+ "unknown function {}: function index out of bounds",
2554
+ function_index,
2555
+ ),
2556
+ };
2557
+ if !self.resources.is_function_referenced(function_index) {
2558
+ bail!(self.offset, "undeclared function reference");
2559
+ }
2560
+
2561
+ let index = UnpackedIndex::Id(type_id);
2562
+ let ty = ValType::Ref(
2563
+ RefType::new(false, HeapType::Concrete(index)).ok_or_else(|| {
2564
+ BinaryReaderError::new("implementation limit: type index too large", self.offset)
2565
+ })?,
2566
+ );
2567
+ self.push_operand(ty)?;
2568
+ Ok(())
2569
+ }
2570
+ fn visit_ref_eq(&mut self) -> Self::Output {
2571
+ self.pop_operand(Some(RefType::EQ.nullable().into()))?;
2572
+ self.pop_operand(Some(RefType::EQ.nullable().into()))?;
2573
+ self.push_operand(ValType::I32)
2574
+ }
2575
+ fn visit_v128_load(&mut self, memarg: MemArg) -> Self::Output {
2576
+ let ty = self.check_memarg(memarg)?;
2577
+ self.pop_operand(Some(ty))?;
2578
+ self.push_operand(ValType::V128)?;
2579
+ Ok(())
2580
+ }
2581
+ fn visit_v128_store(&mut self, memarg: MemArg) -> Self::Output {
2582
+ let ty = self.check_memarg(memarg)?;
2583
+ self.pop_operand(Some(ValType::V128))?;
2584
+ self.pop_operand(Some(ty))?;
2585
+ Ok(())
2586
+ }
2587
+ fn visit_v128_const(&mut self, _value: V128) -> Self::Output {
2588
+ self.push_operand(ValType::V128)?;
2589
+ Ok(())
2590
+ }
2591
+ fn visit_i8x16_splat(&mut self) -> Self::Output {
2592
+ self.check_v128_splat(ValType::I32)
2593
+ }
2594
+ fn visit_i16x8_splat(&mut self) -> Self::Output {
2595
+ self.check_v128_splat(ValType::I32)
2596
+ }
2597
+ fn visit_i32x4_splat(&mut self) -> Self::Output {
2598
+ self.check_v128_splat(ValType::I32)
2599
+ }
2600
+ fn visit_i64x2_splat(&mut self) -> Self::Output {
2601
+ self.check_v128_splat(ValType::I64)
2602
+ }
2603
+ fn visit_f32x4_splat(&mut self) -> Self::Output {
2604
+ self.check_floats_enabled()?;
2605
+ self.check_v128_splat(ValType::F32)
2606
+ }
2607
+ fn visit_f64x2_splat(&mut self) -> Self::Output {
2608
+ self.check_floats_enabled()?;
2609
+ self.check_v128_splat(ValType::F64)
2610
+ }
2611
+ fn visit_i8x16_extract_lane_s(&mut self, lane: u8) -> Self::Output {
2612
+ self.check_simd_lane_index(lane, 16)?;
2613
+ self.pop_operand(Some(ValType::V128))?;
2614
+ self.push_operand(ValType::I32)?;
2615
+ Ok(())
2616
+ }
2617
+ fn visit_i8x16_extract_lane_u(&mut self, lane: u8) -> Self::Output {
2618
+ self.visit_i8x16_extract_lane_s(lane)
2619
+ }
2620
+ fn visit_i16x8_extract_lane_s(&mut self, lane: u8) -> Self::Output {
2621
+ self.check_simd_lane_index(lane, 8)?;
2622
+ self.pop_operand(Some(ValType::V128))?;
2623
+ self.push_operand(ValType::I32)?;
2624
+ Ok(())
2625
+ }
2626
+ fn visit_i16x8_extract_lane_u(&mut self, lane: u8) -> Self::Output {
2627
+ self.visit_i16x8_extract_lane_s(lane)
2628
+ }
2629
+ fn visit_i32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
2630
+ self.check_simd_lane_index(lane, 4)?;
2631
+ self.pop_operand(Some(ValType::V128))?;
2632
+ self.push_operand(ValType::I32)?;
2633
+ Ok(())
2634
+ }
2635
+ fn visit_i8x16_replace_lane(&mut self, lane: u8) -> Self::Output {
2636
+ self.check_simd_lane_index(lane, 16)?;
2637
+ self.pop_operand(Some(ValType::I32))?;
2638
+ self.pop_operand(Some(ValType::V128))?;
2639
+ self.push_operand(ValType::V128)?;
2640
+ Ok(())
2641
+ }
2642
+ fn visit_i16x8_replace_lane(&mut self, lane: u8) -> Self::Output {
2643
+ self.check_simd_lane_index(lane, 8)?;
2644
+ self.pop_operand(Some(ValType::I32))?;
2645
+ self.pop_operand(Some(ValType::V128))?;
2646
+ self.push_operand(ValType::V128)?;
2647
+ Ok(())
2648
+ }
2649
+ fn visit_i32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
2650
+ self.check_simd_lane_index(lane, 4)?;
2651
+ self.pop_operand(Some(ValType::I32))?;
2652
+ self.pop_operand(Some(ValType::V128))?;
2653
+ self.push_operand(ValType::V128)?;
2654
+ Ok(())
2655
+ }
2656
+ fn visit_i64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
2657
+ self.check_simd_lane_index(lane, 2)?;
2658
+ self.pop_operand(Some(ValType::V128))?;
2659
+ self.push_operand(ValType::I64)?;
2660
+ Ok(())
2661
+ }
2662
+ fn visit_i64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
2663
+ self.check_simd_lane_index(lane, 2)?;
2664
+ self.pop_operand(Some(ValType::I64))?;
2665
+ self.pop_operand(Some(ValType::V128))?;
2666
+ self.push_operand(ValType::V128)?;
2667
+ Ok(())
2668
+ }
2669
+ fn visit_f32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
2670
+ self.check_floats_enabled()?;
2671
+ self.check_simd_lane_index(lane, 4)?;
2672
+ self.pop_operand(Some(ValType::V128))?;
2673
+ self.push_operand(ValType::F32)?;
2674
+ Ok(())
2675
+ }
2676
+ fn visit_f32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
2677
+ self.check_floats_enabled()?;
2678
+ self.check_simd_lane_index(lane, 4)?;
2679
+ self.pop_operand(Some(ValType::F32))?;
2680
+ self.pop_operand(Some(ValType::V128))?;
2681
+ self.push_operand(ValType::V128)?;
2682
+ Ok(())
2683
+ }
2684
+ fn visit_f64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
2685
+ self.check_floats_enabled()?;
2686
+ self.check_simd_lane_index(lane, 2)?;
2687
+ self.pop_operand(Some(ValType::V128))?;
2688
+ self.push_operand(ValType::F64)?;
2689
+ Ok(())
2690
+ }
2691
+ fn visit_f64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
2692
+ self.check_floats_enabled()?;
2693
+ self.check_simd_lane_index(lane, 2)?;
2694
+ self.pop_operand(Some(ValType::F64))?;
2695
+ self.pop_operand(Some(ValType::V128))?;
2696
+ self.push_operand(ValType::V128)?;
2697
+ Ok(())
2698
+ }
2699
+ fn visit_f32x4_eq(&mut self) -> Self::Output {
2700
+ self.check_v128_fbinary_op()
2701
+ }
2702
+ fn visit_f32x4_ne(&mut self) -> Self::Output {
2703
+ self.check_v128_fbinary_op()
2704
+ }
2705
+ fn visit_f32x4_lt(&mut self) -> Self::Output {
2706
+ self.check_v128_fbinary_op()
2707
+ }
2708
+ fn visit_f32x4_gt(&mut self) -> Self::Output {
2709
+ self.check_v128_fbinary_op()
2710
+ }
2711
+ fn visit_f32x4_le(&mut self) -> Self::Output {
2712
+ self.check_v128_fbinary_op()
2713
+ }
2714
+ fn visit_f32x4_ge(&mut self) -> Self::Output {
2715
+ self.check_v128_fbinary_op()
2716
+ }
2717
+ fn visit_f64x2_eq(&mut self) -> Self::Output {
2718
+ self.check_v128_fbinary_op()
2719
+ }
2720
+ fn visit_f64x2_ne(&mut self) -> Self::Output {
2721
+ self.check_v128_fbinary_op()
2722
+ }
2723
+ fn visit_f64x2_lt(&mut self) -> Self::Output {
2724
+ self.check_v128_fbinary_op()
2725
+ }
2726
+ fn visit_f64x2_gt(&mut self) -> Self::Output {
2727
+ self.check_v128_fbinary_op()
2728
+ }
2729
+ fn visit_f64x2_le(&mut self) -> Self::Output {
2730
+ self.check_v128_fbinary_op()
2731
+ }
2732
+ fn visit_f64x2_ge(&mut self) -> Self::Output {
2733
+ self.check_v128_fbinary_op()
2734
+ }
2735
+ fn visit_f32x4_add(&mut self) -> Self::Output {
2736
+ self.check_v128_fbinary_op()
2737
+ }
2738
+ fn visit_f32x4_sub(&mut self) -> Self::Output {
2739
+ self.check_v128_fbinary_op()
2740
+ }
2741
+ fn visit_f32x4_mul(&mut self) -> Self::Output {
2742
+ self.check_v128_fbinary_op()
2743
+ }
2744
+ fn visit_f32x4_div(&mut self) -> Self::Output {
2745
+ self.check_v128_fbinary_op()
2746
+ }
2747
+ fn visit_f32x4_min(&mut self) -> Self::Output {
2748
+ self.check_v128_fbinary_op()
2749
+ }
2750
+ fn visit_f32x4_max(&mut self) -> Self::Output {
2751
+ self.check_v128_fbinary_op()
2752
+ }
2753
+ fn visit_f32x4_pmin(&mut self) -> Self::Output {
2754
+ self.check_v128_fbinary_op()
2755
+ }
2756
+ fn visit_f32x4_pmax(&mut self) -> Self::Output {
2757
+ self.check_v128_fbinary_op()
2758
+ }
2759
+ fn visit_f64x2_add(&mut self) -> Self::Output {
2760
+ self.check_v128_fbinary_op()
2761
+ }
2762
+ fn visit_f64x2_sub(&mut self) -> Self::Output {
2763
+ self.check_v128_fbinary_op()
2764
+ }
2765
+ fn visit_f64x2_mul(&mut self) -> Self::Output {
2766
+ self.check_v128_fbinary_op()
2767
+ }
2768
+ fn visit_f64x2_div(&mut self) -> Self::Output {
2769
+ self.check_v128_fbinary_op()
2770
+ }
2771
+ fn visit_f64x2_min(&mut self) -> Self::Output {
2772
+ self.check_v128_fbinary_op()
2773
+ }
2774
+ fn visit_f64x2_max(&mut self) -> Self::Output {
2775
+ self.check_v128_fbinary_op()
2776
+ }
2777
+ fn visit_f64x2_pmin(&mut self) -> Self::Output {
2778
+ self.check_v128_fbinary_op()
2779
+ }
2780
+ fn visit_f64x2_pmax(&mut self) -> Self::Output {
2781
+ self.check_v128_fbinary_op()
2782
+ }
2783
+ fn visit_i8x16_eq(&mut self) -> Self::Output {
2784
+ self.check_v128_binary_op()
2785
+ }
2786
+ fn visit_i8x16_ne(&mut self) -> Self::Output {
2787
+ self.check_v128_binary_op()
2788
+ }
2789
+ fn visit_i8x16_lt_s(&mut self) -> Self::Output {
2790
+ self.check_v128_binary_op()
2791
+ }
2792
+ fn visit_i8x16_lt_u(&mut self) -> Self::Output {
2793
+ self.check_v128_binary_op()
2794
+ }
2795
+ fn visit_i8x16_gt_s(&mut self) -> Self::Output {
2796
+ self.check_v128_binary_op()
2797
+ }
2798
+ fn visit_i8x16_gt_u(&mut self) -> Self::Output {
2799
+ self.check_v128_binary_op()
2800
+ }
2801
+ fn visit_i8x16_le_s(&mut self) -> Self::Output {
2802
+ self.check_v128_binary_op()
2803
+ }
2804
+ fn visit_i8x16_le_u(&mut self) -> Self::Output {
2805
+ self.check_v128_binary_op()
2806
+ }
2807
+ fn visit_i8x16_ge_s(&mut self) -> Self::Output {
2808
+ self.check_v128_binary_op()
2809
+ }
2810
+ fn visit_i8x16_ge_u(&mut self) -> Self::Output {
2811
+ self.check_v128_binary_op()
2812
+ }
2813
+ fn visit_i16x8_eq(&mut self) -> Self::Output {
2814
+ self.check_v128_binary_op()
2815
+ }
2816
+ fn visit_i16x8_ne(&mut self) -> Self::Output {
2817
+ self.check_v128_binary_op()
2818
+ }
2819
+ fn visit_i16x8_lt_s(&mut self) -> Self::Output {
2820
+ self.check_v128_binary_op()
2821
+ }
2822
+ fn visit_i16x8_lt_u(&mut self) -> Self::Output {
2823
+ self.check_v128_binary_op()
2824
+ }
2825
+ fn visit_i16x8_gt_s(&mut self) -> Self::Output {
2826
+ self.check_v128_binary_op()
2827
+ }
2828
+ fn visit_i16x8_gt_u(&mut self) -> Self::Output {
2829
+ self.check_v128_binary_op()
2830
+ }
2831
+ fn visit_i16x8_le_s(&mut self) -> Self::Output {
2832
+ self.check_v128_binary_op()
2833
+ }
2834
+ fn visit_i16x8_le_u(&mut self) -> Self::Output {
2835
+ self.check_v128_binary_op()
2836
+ }
2837
+ fn visit_i16x8_ge_s(&mut self) -> Self::Output {
2838
+ self.check_v128_binary_op()
2839
+ }
2840
+ fn visit_i16x8_ge_u(&mut self) -> Self::Output {
2841
+ self.check_v128_binary_op()
2842
+ }
2843
+ fn visit_i32x4_eq(&mut self) -> Self::Output {
2844
+ self.check_v128_binary_op()
2845
+ }
2846
+ fn visit_i32x4_ne(&mut self) -> Self::Output {
2847
+ self.check_v128_binary_op()
2848
+ }
2849
+ fn visit_i32x4_lt_s(&mut self) -> Self::Output {
2850
+ self.check_v128_binary_op()
2851
+ }
2852
+ fn visit_i32x4_lt_u(&mut self) -> Self::Output {
2853
+ self.check_v128_binary_op()
2854
+ }
2855
+ fn visit_i32x4_gt_s(&mut self) -> Self::Output {
2856
+ self.check_v128_binary_op()
2857
+ }
2858
+ fn visit_i32x4_gt_u(&mut self) -> Self::Output {
2859
+ self.check_v128_binary_op()
2860
+ }
2861
+ fn visit_i32x4_le_s(&mut self) -> Self::Output {
2862
+ self.check_v128_binary_op()
2863
+ }
2864
+ fn visit_i32x4_le_u(&mut self) -> Self::Output {
2865
+ self.check_v128_binary_op()
2866
+ }
2867
+ fn visit_i32x4_ge_s(&mut self) -> Self::Output {
2868
+ self.check_v128_binary_op()
2869
+ }
2870
+ fn visit_i32x4_ge_u(&mut self) -> Self::Output {
2871
+ self.check_v128_binary_op()
2872
+ }
2873
+ fn visit_i64x2_eq(&mut self) -> Self::Output {
2874
+ self.check_v128_binary_op()
2875
+ }
2876
+ fn visit_i64x2_ne(&mut self) -> Self::Output {
2877
+ self.check_v128_binary_op()
2878
+ }
2879
+ fn visit_i64x2_lt_s(&mut self) -> Self::Output {
2880
+ self.check_v128_binary_op()
2881
+ }
2882
+ fn visit_i64x2_gt_s(&mut self) -> Self::Output {
2883
+ self.check_v128_binary_op()
2884
+ }
2885
+ fn visit_i64x2_le_s(&mut self) -> Self::Output {
2886
+ self.check_v128_binary_op()
2887
+ }
2888
+ fn visit_i64x2_ge_s(&mut self) -> Self::Output {
2889
+ self.check_v128_binary_op()
2890
+ }
2891
+ fn visit_v128_and(&mut self) -> Self::Output {
2892
+ self.check_v128_binary_op()
2893
+ }
2894
+ fn visit_v128_andnot(&mut self) -> Self::Output {
2895
+ self.check_v128_binary_op()
2896
+ }
2897
+ fn visit_v128_or(&mut self) -> Self::Output {
2898
+ self.check_v128_binary_op()
2899
+ }
2900
+ fn visit_v128_xor(&mut self) -> Self::Output {
2901
+ self.check_v128_binary_op()
2902
+ }
2903
+ fn visit_i8x16_add(&mut self) -> Self::Output {
2904
+ self.check_v128_binary_op()
2905
+ }
2906
+ fn visit_i8x16_add_sat_s(&mut self) -> Self::Output {
2907
+ self.check_v128_binary_op()
2908
+ }
2909
+ fn visit_i8x16_add_sat_u(&mut self) -> Self::Output {
2910
+ self.check_v128_binary_op()
2911
+ }
2912
+ fn visit_i8x16_sub(&mut self) -> Self::Output {
2913
+ self.check_v128_binary_op()
2914
+ }
2915
+ fn visit_i8x16_sub_sat_s(&mut self) -> Self::Output {
2916
+ self.check_v128_binary_op()
2917
+ }
2918
+ fn visit_i8x16_sub_sat_u(&mut self) -> Self::Output {
2919
+ self.check_v128_binary_op()
2920
+ }
2921
+ fn visit_i8x16_min_s(&mut self) -> Self::Output {
2922
+ self.check_v128_binary_op()
2923
+ }
2924
+ fn visit_i8x16_min_u(&mut self) -> Self::Output {
2925
+ self.check_v128_binary_op()
2926
+ }
2927
+ fn visit_i8x16_max_s(&mut self) -> Self::Output {
2928
+ self.check_v128_binary_op()
2929
+ }
2930
+ fn visit_i8x16_max_u(&mut self) -> Self::Output {
2931
+ self.check_v128_binary_op()
2932
+ }
2933
+ fn visit_i16x8_add(&mut self) -> Self::Output {
2934
+ self.check_v128_binary_op()
2935
+ }
2936
+ fn visit_i16x8_add_sat_s(&mut self) -> Self::Output {
2937
+ self.check_v128_binary_op()
2938
+ }
2939
+ fn visit_i16x8_add_sat_u(&mut self) -> Self::Output {
2940
+ self.check_v128_binary_op()
2941
+ }
2942
+ fn visit_i16x8_sub(&mut self) -> Self::Output {
2943
+ self.check_v128_binary_op()
2944
+ }
2945
+ fn visit_i16x8_sub_sat_s(&mut self) -> Self::Output {
2946
+ self.check_v128_binary_op()
2947
+ }
2948
+ fn visit_i16x8_sub_sat_u(&mut self) -> Self::Output {
2949
+ self.check_v128_binary_op()
2950
+ }
2951
+ fn visit_i16x8_mul(&mut self) -> Self::Output {
2952
+ self.check_v128_binary_op()
2953
+ }
2954
+ fn visit_i16x8_min_s(&mut self) -> Self::Output {
2955
+ self.check_v128_binary_op()
2956
+ }
2957
+ fn visit_i16x8_min_u(&mut self) -> Self::Output {
2958
+ self.check_v128_binary_op()
2959
+ }
2960
+ fn visit_i16x8_max_s(&mut self) -> Self::Output {
2961
+ self.check_v128_binary_op()
2962
+ }
2963
+ fn visit_i16x8_max_u(&mut self) -> Self::Output {
2964
+ self.check_v128_binary_op()
2965
+ }
2966
+ fn visit_i32x4_add(&mut self) -> Self::Output {
2967
+ self.check_v128_binary_op()
2968
+ }
2969
+ fn visit_i32x4_sub(&mut self) -> Self::Output {
2970
+ self.check_v128_binary_op()
2971
+ }
2972
+ fn visit_i32x4_mul(&mut self) -> Self::Output {
2973
+ self.check_v128_binary_op()
2974
+ }
2975
+ fn visit_i32x4_min_s(&mut self) -> Self::Output {
2976
+ self.check_v128_binary_op()
2977
+ }
2978
+ fn visit_i32x4_min_u(&mut self) -> Self::Output {
2979
+ self.check_v128_binary_op()
2980
+ }
2981
+ fn visit_i32x4_max_s(&mut self) -> Self::Output {
2982
+ self.check_v128_binary_op()
2983
+ }
2984
+ fn visit_i32x4_max_u(&mut self) -> Self::Output {
2985
+ self.check_v128_binary_op()
2986
+ }
2987
+ fn visit_i32x4_dot_i16x8_s(&mut self) -> Self::Output {
2988
+ self.check_v128_binary_op()
2989
+ }
2990
+ fn visit_i64x2_add(&mut self) -> Self::Output {
2991
+ self.check_v128_binary_op()
2992
+ }
2993
+ fn visit_i64x2_sub(&mut self) -> Self::Output {
2994
+ self.check_v128_binary_op()
2995
+ }
2996
+ fn visit_i64x2_mul(&mut self) -> Self::Output {
2997
+ self.check_v128_binary_op()
2998
+ }
2999
+ fn visit_i8x16_avgr_u(&mut self) -> Self::Output {
3000
+ self.check_v128_binary_op()
3001
+ }
3002
+ fn visit_i16x8_avgr_u(&mut self) -> Self::Output {
3003
+ self.check_v128_binary_op()
3004
+ }
3005
+ fn visit_i8x16_narrow_i16x8_s(&mut self) -> Self::Output {
3006
+ self.check_v128_binary_op()
3007
+ }
3008
+ fn visit_i8x16_narrow_i16x8_u(&mut self) -> Self::Output {
3009
+ self.check_v128_binary_op()
3010
+ }
3011
+ fn visit_i16x8_narrow_i32x4_s(&mut self) -> Self::Output {
3012
+ self.check_v128_binary_op()
3013
+ }
3014
+ fn visit_i16x8_narrow_i32x4_u(&mut self) -> Self::Output {
3015
+ self.check_v128_binary_op()
3016
+ }
3017
+ fn visit_i16x8_extmul_low_i8x16_s(&mut self) -> Self::Output {
3018
+ self.check_v128_binary_op()
3019
+ }
3020
+ fn visit_i16x8_extmul_high_i8x16_s(&mut self) -> Self::Output {
3021
+ self.check_v128_binary_op()
3022
+ }
3023
+ fn visit_i16x8_extmul_low_i8x16_u(&mut self) -> Self::Output {
3024
+ self.check_v128_binary_op()
3025
+ }
3026
+ fn visit_i16x8_extmul_high_i8x16_u(&mut self) -> Self::Output {
3027
+ self.check_v128_binary_op()
3028
+ }
3029
+ fn visit_i32x4_extmul_low_i16x8_s(&mut self) -> Self::Output {
3030
+ self.check_v128_binary_op()
3031
+ }
3032
+ fn visit_i32x4_extmul_high_i16x8_s(&mut self) -> Self::Output {
3033
+ self.check_v128_binary_op()
3034
+ }
3035
+ fn visit_i32x4_extmul_low_i16x8_u(&mut self) -> Self::Output {
3036
+ self.check_v128_binary_op()
3037
+ }
3038
+ fn visit_i32x4_extmul_high_i16x8_u(&mut self) -> Self::Output {
3039
+ self.check_v128_binary_op()
3040
+ }
3041
+ fn visit_i64x2_extmul_low_i32x4_s(&mut self) -> Self::Output {
3042
+ self.check_v128_binary_op()
3043
+ }
3044
+ fn visit_i64x2_extmul_high_i32x4_s(&mut self) -> Self::Output {
3045
+ self.check_v128_binary_op()
3046
+ }
3047
+ fn visit_i64x2_extmul_low_i32x4_u(&mut self) -> Self::Output {
3048
+ self.check_v128_binary_op()
3049
+ }
3050
+ fn visit_i64x2_extmul_high_i32x4_u(&mut self) -> Self::Output {
3051
+ self.check_v128_binary_op()
3052
+ }
3053
+ fn visit_i16x8_q15mulr_sat_s(&mut self) -> Self::Output {
3054
+ self.check_v128_binary_op()
3055
+ }
3056
+ fn visit_f32x4_ceil(&mut self) -> Self::Output {
3057
+ self.check_v128_funary_op()
3058
+ }
3059
+ fn visit_f32x4_floor(&mut self) -> Self::Output {
3060
+ self.check_v128_funary_op()
3061
+ }
3062
+ fn visit_f32x4_trunc(&mut self) -> Self::Output {
3063
+ self.check_v128_funary_op()
3064
+ }
3065
+ fn visit_f32x4_nearest(&mut self) -> Self::Output {
3066
+ self.check_v128_funary_op()
3067
+ }
3068
+ fn visit_f64x2_ceil(&mut self) -> Self::Output {
3069
+ self.check_v128_funary_op()
3070
+ }
3071
+ fn visit_f64x2_floor(&mut self) -> Self::Output {
3072
+ self.check_v128_funary_op()
3073
+ }
3074
+ fn visit_f64x2_trunc(&mut self) -> Self::Output {
3075
+ self.check_v128_funary_op()
3076
+ }
3077
+ fn visit_f64x2_nearest(&mut self) -> Self::Output {
3078
+ self.check_v128_funary_op()
3079
+ }
3080
+ fn visit_f32x4_abs(&mut self) -> Self::Output {
3081
+ self.check_v128_funary_op()
3082
+ }
3083
+ fn visit_f32x4_neg(&mut self) -> Self::Output {
3084
+ self.check_v128_funary_op()
3085
+ }
3086
+ fn visit_f32x4_sqrt(&mut self) -> Self::Output {
3087
+ self.check_v128_funary_op()
3088
+ }
3089
+ fn visit_f64x2_abs(&mut self) -> Self::Output {
3090
+ self.check_v128_funary_op()
3091
+ }
3092
+ fn visit_f64x2_neg(&mut self) -> Self::Output {
3093
+ self.check_v128_funary_op()
3094
+ }
3095
+ fn visit_f64x2_sqrt(&mut self) -> Self::Output {
3096
+ self.check_v128_funary_op()
3097
+ }
3098
+ fn visit_f32x4_demote_f64x2_zero(&mut self) -> Self::Output {
3099
+ self.check_v128_funary_op()
3100
+ }
3101
+ fn visit_f64x2_promote_low_f32x4(&mut self) -> Self::Output {
3102
+ self.check_v128_funary_op()
3103
+ }
3104
+ fn visit_f64x2_convert_low_i32x4_s(&mut self) -> Self::Output {
3105
+ self.check_v128_funary_op()
3106
+ }
3107
+ fn visit_f64x2_convert_low_i32x4_u(&mut self) -> Self::Output {
3108
+ self.check_v128_funary_op()
3109
+ }
3110
+ fn visit_i32x4_trunc_sat_f32x4_s(&mut self) -> Self::Output {
3111
+ self.check_v128_funary_op()
3112
+ }
3113
+ fn visit_i32x4_trunc_sat_f32x4_u(&mut self) -> Self::Output {
3114
+ self.check_v128_funary_op()
3115
+ }
3116
+ fn visit_i32x4_trunc_sat_f64x2_s_zero(&mut self) -> Self::Output {
3117
+ self.check_v128_funary_op()
3118
+ }
3119
+ fn visit_i32x4_trunc_sat_f64x2_u_zero(&mut self) -> Self::Output {
3120
+ self.check_v128_funary_op()
3121
+ }
3122
+ fn visit_f32x4_convert_i32x4_s(&mut self) -> Self::Output {
3123
+ self.check_v128_funary_op()
3124
+ }
3125
+ fn visit_f32x4_convert_i32x4_u(&mut self) -> Self::Output {
3126
+ self.check_v128_funary_op()
3127
+ }
3128
+ fn visit_v128_not(&mut self) -> Self::Output {
3129
+ self.check_v128_unary_op()
3130
+ }
3131
+ fn visit_i8x16_abs(&mut self) -> Self::Output {
3132
+ self.check_v128_unary_op()
3133
+ }
3134
+ fn visit_i8x16_neg(&mut self) -> Self::Output {
3135
+ self.check_v128_unary_op()
3136
+ }
3137
+ fn visit_i8x16_popcnt(&mut self) -> Self::Output {
3138
+ self.check_v128_unary_op()
3139
+ }
3140
+ fn visit_i16x8_abs(&mut self) -> Self::Output {
3141
+ self.check_v128_unary_op()
3142
+ }
3143
+ fn visit_i16x8_neg(&mut self) -> Self::Output {
3144
+ self.check_v128_unary_op()
3145
+ }
3146
+ fn visit_i32x4_abs(&mut self) -> Self::Output {
3147
+ self.check_v128_unary_op()
3148
+ }
3149
+ fn visit_i32x4_neg(&mut self) -> Self::Output {
3150
+ self.check_v128_unary_op()
3151
+ }
3152
+ fn visit_i64x2_abs(&mut self) -> Self::Output {
3153
+ self.check_v128_unary_op()
3154
+ }
3155
+ fn visit_i64x2_neg(&mut self) -> Self::Output {
3156
+ self.check_v128_unary_op()
3157
+ }
3158
+ fn visit_i16x8_extend_low_i8x16_s(&mut self) -> Self::Output {
3159
+ self.check_v128_unary_op()
3160
+ }
3161
+ fn visit_i16x8_extend_high_i8x16_s(&mut self) -> Self::Output {
3162
+ self.check_v128_unary_op()
3163
+ }
3164
+ fn visit_i16x8_extend_low_i8x16_u(&mut self) -> Self::Output {
3165
+ self.check_v128_unary_op()
3166
+ }
3167
+ fn visit_i16x8_extend_high_i8x16_u(&mut self) -> Self::Output {
3168
+ self.check_v128_unary_op()
3169
+ }
3170
+ fn visit_i32x4_extend_low_i16x8_s(&mut self) -> Self::Output {
3171
+ self.check_v128_unary_op()
3172
+ }
3173
+ fn visit_i32x4_extend_high_i16x8_s(&mut self) -> Self::Output {
3174
+ self.check_v128_unary_op()
3175
+ }
3176
+ fn visit_i32x4_extend_low_i16x8_u(&mut self) -> Self::Output {
3177
+ self.check_v128_unary_op()
3178
+ }
3179
+ fn visit_i32x4_extend_high_i16x8_u(&mut self) -> Self::Output {
3180
+ self.check_v128_unary_op()
3181
+ }
3182
+ fn visit_i64x2_extend_low_i32x4_s(&mut self) -> Self::Output {
3183
+ self.check_v128_unary_op()
3184
+ }
3185
+ fn visit_i64x2_extend_high_i32x4_s(&mut self) -> Self::Output {
3186
+ self.check_v128_unary_op()
3187
+ }
3188
+ fn visit_i64x2_extend_low_i32x4_u(&mut self) -> Self::Output {
3189
+ self.check_v128_unary_op()
3190
+ }
3191
+ fn visit_i64x2_extend_high_i32x4_u(&mut self) -> Self::Output {
3192
+ self.check_v128_unary_op()
3193
+ }
3194
+ fn visit_i16x8_extadd_pairwise_i8x16_s(&mut self) -> Self::Output {
3195
+ self.check_v128_unary_op()
3196
+ }
3197
+ fn visit_i16x8_extadd_pairwise_i8x16_u(&mut self) -> Self::Output {
3198
+ self.check_v128_unary_op()
3199
+ }
3200
+ fn visit_i32x4_extadd_pairwise_i16x8_s(&mut self) -> Self::Output {
3201
+ self.check_v128_unary_op()
3202
+ }
3203
+ fn visit_i32x4_extadd_pairwise_i16x8_u(&mut self) -> Self::Output {
3204
+ self.check_v128_unary_op()
3205
+ }
3206
+ fn visit_v128_bitselect(&mut self) -> Self::Output {
3207
+ self.pop_operand(Some(ValType::V128))?;
3208
+ self.pop_operand(Some(ValType::V128))?;
3209
+ self.pop_operand(Some(ValType::V128))?;
3210
+ self.push_operand(ValType::V128)?;
3211
+ Ok(())
3212
+ }
3213
+ fn visit_i8x16_relaxed_swizzle(&mut self) -> Self::Output {
3214
+ self.pop_operand(Some(ValType::V128))?;
3215
+ self.pop_operand(Some(ValType::V128))?;
3216
+ self.push_operand(ValType::V128)?;
3217
+ Ok(())
3218
+ }
3219
+ fn visit_i32x4_relaxed_trunc_f32x4_s(&mut self) -> Self::Output {
3220
+ self.check_v128_unary_op()
3221
+ }
3222
+ fn visit_i32x4_relaxed_trunc_f32x4_u(&mut self) -> Self::Output {
3223
+ self.check_v128_unary_op()
3224
+ }
3225
+ fn visit_i32x4_relaxed_trunc_f64x2_s_zero(&mut self) -> Self::Output {
3226
+ self.check_v128_unary_op()
3227
+ }
3228
+ fn visit_i32x4_relaxed_trunc_f64x2_u_zero(&mut self) -> Self::Output {
3229
+ self.check_v128_unary_op()
3230
+ }
3231
+ fn visit_f32x4_relaxed_madd(&mut self) -> Self::Output {
3232
+ self.check_v128_ternary_op()
3233
+ }
3234
+ fn visit_f32x4_relaxed_nmadd(&mut self) -> Self::Output {
3235
+ self.check_v128_ternary_op()
3236
+ }
3237
+ fn visit_f64x2_relaxed_madd(&mut self) -> Self::Output {
3238
+ self.check_v128_ternary_op()
3239
+ }
3240
+ fn visit_f64x2_relaxed_nmadd(&mut self) -> Self::Output {
3241
+ self.check_v128_ternary_op()
3242
+ }
3243
+ fn visit_i8x16_relaxed_laneselect(&mut self) -> Self::Output {
3244
+ self.check_v128_ternary_op()
3245
+ }
3246
+ fn visit_i16x8_relaxed_laneselect(&mut self) -> Self::Output {
3247
+ self.check_v128_ternary_op()
3248
+ }
3249
+ fn visit_i32x4_relaxed_laneselect(&mut self) -> Self::Output {
3250
+ self.check_v128_ternary_op()
3251
+ }
3252
+ fn visit_i64x2_relaxed_laneselect(&mut self) -> Self::Output {
3253
+ self.check_v128_ternary_op()
3254
+ }
3255
+ fn visit_f32x4_relaxed_min(&mut self) -> Self::Output {
3256
+ self.check_v128_binary_op()
3257
+ }
3258
+ fn visit_f32x4_relaxed_max(&mut self) -> Self::Output {
3259
+ self.check_v128_binary_op()
3260
+ }
3261
+ fn visit_f64x2_relaxed_min(&mut self) -> Self::Output {
3262
+ self.check_v128_binary_op()
3263
+ }
3264
+ fn visit_f64x2_relaxed_max(&mut self) -> Self::Output {
3265
+ self.check_v128_binary_op()
3266
+ }
3267
+ fn visit_i16x8_relaxed_q15mulr_s(&mut self) -> Self::Output {
3268
+ self.check_v128_binary_op()
3269
+ }
3270
+ fn visit_i16x8_relaxed_dot_i8x16_i7x16_s(&mut self) -> Self::Output {
3271
+ self.check_v128_binary_op()
3272
+ }
3273
+ fn visit_i32x4_relaxed_dot_i8x16_i7x16_add_s(&mut self) -> Self::Output {
3274
+ self.check_v128_ternary_op()
3275
+ }
3276
+ fn visit_v128_any_true(&mut self) -> Self::Output {
3277
+ self.check_v128_bitmask_op()
3278
+ }
3279
+ fn visit_i8x16_all_true(&mut self) -> Self::Output {
3280
+ self.check_v128_bitmask_op()
3281
+ }
3282
+ fn visit_i8x16_bitmask(&mut self) -> Self::Output {
3283
+ self.check_v128_bitmask_op()
3284
+ }
3285
+ fn visit_i16x8_all_true(&mut self) -> Self::Output {
3286
+ self.check_v128_bitmask_op()
3287
+ }
3288
+ fn visit_i16x8_bitmask(&mut self) -> Self::Output {
3289
+ self.check_v128_bitmask_op()
3290
+ }
3291
+ fn visit_i32x4_all_true(&mut self) -> Self::Output {
3292
+ self.check_v128_bitmask_op()
3293
+ }
3294
+ fn visit_i32x4_bitmask(&mut self) -> Self::Output {
3295
+ self.check_v128_bitmask_op()
3296
+ }
3297
+ fn visit_i64x2_all_true(&mut self) -> Self::Output {
3298
+ self.check_v128_bitmask_op()
3299
+ }
3300
+ fn visit_i64x2_bitmask(&mut self) -> Self::Output {
3301
+ self.check_v128_bitmask_op()
3302
+ }
3303
+ fn visit_i8x16_shl(&mut self) -> Self::Output {
3304
+ self.check_v128_shift_op()
3305
+ }
3306
+ fn visit_i8x16_shr_s(&mut self) -> Self::Output {
3307
+ self.check_v128_shift_op()
3308
+ }
3309
+ fn visit_i8x16_shr_u(&mut self) -> Self::Output {
3310
+ self.check_v128_shift_op()
3311
+ }
3312
+ fn visit_i16x8_shl(&mut self) -> Self::Output {
3313
+ self.check_v128_shift_op()
3314
+ }
3315
+ fn visit_i16x8_shr_s(&mut self) -> Self::Output {
3316
+ self.check_v128_shift_op()
3317
+ }
3318
+ fn visit_i16x8_shr_u(&mut self) -> Self::Output {
3319
+ self.check_v128_shift_op()
3320
+ }
3321
+ fn visit_i32x4_shl(&mut self) -> Self::Output {
3322
+ self.check_v128_shift_op()
3323
+ }
3324
+ fn visit_i32x4_shr_s(&mut self) -> Self::Output {
3325
+ self.check_v128_shift_op()
3326
+ }
3327
+ fn visit_i32x4_shr_u(&mut self) -> Self::Output {
3328
+ self.check_v128_shift_op()
3329
+ }
3330
+ fn visit_i64x2_shl(&mut self) -> Self::Output {
3331
+ self.check_v128_shift_op()
3332
+ }
3333
+ fn visit_i64x2_shr_s(&mut self) -> Self::Output {
3334
+ self.check_v128_shift_op()
3335
+ }
3336
+ fn visit_i64x2_shr_u(&mut self) -> Self::Output {
3337
+ self.check_v128_shift_op()
3338
+ }
3339
+ fn visit_i8x16_swizzle(&mut self) -> Self::Output {
3340
+ self.pop_operand(Some(ValType::V128))?;
3341
+ self.pop_operand(Some(ValType::V128))?;
3342
+ self.push_operand(ValType::V128)?;
3343
+ Ok(())
3344
+ }
3345
+ fn visit_i8x16_shuffle(&mut self, lanes: [u8; 16]) -> Self::Output {
3346
+ self.pop_operand(Some(ValType::V128))?;
3347
+ self.pop_operand(Some(ValType::V128))?;
3348
+ for i in lanes {
3349
+ self.check_simd_lane_index(i, 32)?;
3350
+ }
3351
+ self.push_operand(ValType::V128)?;
3352
+ Ok(())
3353
+ }
3354
+ fn visit_v128_load8_splat(&mut self, memarg: MemArg) -> Self::Output {
3355
+ let ty = self.check_memarg(memarg)?;
3356
+ self.pop_operand(Some(ty))?;
3357
+ self.push_operand(ValType::V128)?;
3358
+ Ok(())
3359
+ }
3360
+ fn visit_v128_load16_splat(&mut self, memarg: MemArg) -> Self::Output {
3361
+ let ty = self.check_memarg(memarg)?;
3362
+ self.pop_operand(Some(ty))?;
3363
+ self.push_operand(ValType::V128)?;
3364
+ Ok(())
3365
+ }
3366
+ fn visit_v128_load32_splat(&mut self, memarg: MemArg) -> Self::Output {
3367
+ let ty = self.check_memarg(memarg)?;
3368
+ self.pop_operand(Some(ty))?;
3369
+ self.push_operand(ValType::V128)?;
3370
+ Ok(())
3371
+ }
3372
+ fn visit_v128_load32_zero(&mut self, memarg: MemArg) -> Self::Output {
3373
+ self.visit_v128_load32_splat(memarg)
3374
+ }
3375
+ fn visit_v128_load64_splat(&mut self, memarg: MemArg) -> Self::Output {
3376
+ self.check_v128_load_op(memarg)
3377
+ }
3378
+ fn visit_v128_load64_zero(&mut self, memarg: MemArg) -> Self::Output {
3379
+ self.check_v128_load_op(memarg)
3380
+ }
3381
+ fn visit_v128_load8x8_s(&mut self, memarg: MemArg) -> Self::Output {
3382
+ self.check_v128_load_op(memarg)
3383
+ }
3384
+ fn visit_v128_load8x8_u(&mut self, memarg: MemArg) -> Self::Output {
3385
+ self.check_v128_load_op(memarg)
3386
+ }
3387
+ fn visit_v128_load16x4_s(&mut self, memarg: MemArg) -> Self::Output {
3388
+ self.check_v128_load_op(memarg)
3389
+ }
3390
+ fn visit_v128_load16x4_u(&mut self, memarg: MemArg) -> Self::Output {
3391
+ self.check_v128_load_op(memarg)
3392
+ }
3393
+ fn visit_v128_load32x2_s(&mut self, memarg: MemArg) -> Self::Output {
3394
+ self.check_v128_load_op(memarg)
3395
+ }
3396
+ fn visit_v128_load32x2_u(&mut self, memarg: MemArg) -> Self::Output {
3397
+ self.check_v128_load_op(memarg)
3398
+ }
3399
+ fn visit_v128_load8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3400
+ let idx = self.check_memarg(memarg)?;
3401
+ self.check_simd_lane_index(lane, 16)?;
3402
+ self.pop_operand(Some(ValType::V128))?;
3403
+ self.pop_operand(Some(idx))?;
3404
+ self.push_operand(ValType::V128)?;
3405
+ Ok(())
3406
+ }
3407
+ fn visit_v128_load16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3408
+ let idx = self.check_memarg(memarg)?;
3409
+ self.check_simd_lane_index(lane, 8)?;
3410
+ self.pop_operand(Some(ValType::V128))?;
3411
+ self.pop_operand(Some(idx))?;
3412
+ self.push_operand(ValType::V128)?;
3413
+ Ok(())
3414
+ }
3415
+ fn visit_v128_load32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3416
+ let idx = self.check_memarg(memarg)?;
3417
+ self.check_simd_lane_index(lane, 4)?;
3418
+ self.pop_operand(Some(ValType::V128))?;
3419
+ self.pop_operand(Some(idx))?;
3420
+ self.push_operand(ValType::V128)?;
3421
+ Ok(())
3422
+ }
3423
+ fn visit_v128_load64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3424
+ let idx = self.check_memarg(memarg)?;
3425
+ self.check_simd_lane_index(lane, 2)?;
3426
+ self.pop_operand(Some(ValType::V128))?;
3427
+ self.pop_operand(Some(idx))?;
3428
+ self.push_operand(ValType::V128)?;
3429
+ Ok(())
3430
+ }
3431
+ fn visit_v128_store8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3432
+ let idx = self.check_memarg(memarg)?;
3433
+ self.check_simd_lane_index(lane, 16)?;
3434
+ self.pop_operand(Some(ValType::V128))?;
3435
+ self.pop_operand(Some(idx))?;
3436
+ Ok(())
3437
+ }
3438
+ fn visit_v128_store16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3439
+ let idx = self.check_memarg(memarg)?;
3440
+ self.check_simd_lane_index(lane, 8)?;
3441
+ self.pop_operand(Some(ValType::V128))?;
3442
+ self.pop_operand(Some(idx))?;
3443
+ Ok(())
3444
+ }
3445
+ fn visit_v128_store32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3446
+ let idx = self.check_memarg(memarg)?;
3447
+ self.check_simd_lane_index(lane, 4)?;
3448
+ self.pop_operand(Some(ValType::V128))?;
3449
+ self.pop_operand(Some(idx))?;
3450
+ Ok(())
3451
+ }
3452
+ fn visit_v128_store64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3453
+ let idx = self.check_memarg(memarg)?;
3454
+ self.check_simd_lane_index(lane, 2)?;
3455
+ self.pop_operand(Some(ValType::V128))?;
3456
+ self.pop_operand(Some(idx))?;
3457
+ Ok(())
3458
+ }
3459
+ fn visit_memory_init(&mut self, segment: u32, mem: u32) -> Self::Output {
3460
+ let ty = self.check_memory_index(mem)?;
3461
+ match self.resources.data_count() {
3462
+ None => bail!(self.offset, "data count section required"),
3463
+ Some(count) if segment < count => {}
3464
+ Some(_) => bail!(self.offset, "unknown data segment {}", segment),
3465
+ }
3466
+ self.pop_operand(Some(ValType::I32))?;
3467
+ self.pop_operand(Some(ValType::I32))?;
3468
+ self.pop_operand(Some(ty))?;
3469
+ Ok(())
3470
+ }
3471
+ fn visit_data_drop(&mut self, segment: u32) -> Self::Output {
3472
+ match self.resources.data_count() {
3473
+ None => bail!(self.offset, "data count section required"),
3474
+ Some(count) if segment < count => {}
3475
+ Some(_) => bail!(self.offset, "unknown data segment {}", segment),
3476
+ }
3477
+ Ok(())
3478
+ }
3479
+ fn visit_memory_copy(&mut self, dst: u32, src: u32) -> Self::Output {
3480
+ let dst_ty = self.check_memory_index(dst)?;
3481
+ let src_ty = self.check_memory_index(src)?;
3482
+
3483
+ // The length operand here is the smaller of src/dst, which is
3484
+ // i32 if one is i32
3485
+ self.pop_operand(Some(match src_ty {
3486
+ ValType::I32 => ValType::I32,
3487
+ _ => dst_ty,
3488
+ }))?;
3489
+
3490
+ // ... and the offset into each memory is required to be
3491
+ // whatever the indexing type is for that memory
3492
+ self.pop_operand(Some(src_ty))?;
3493
+ self.pop_operand(Some(dst_ty))?;
3494
+ Ok(())
3495
+ }
3496
+ fn visit_memory_fill(&mut self, mem: u32) -> Self::Output {
3497
+ let ty = self.check_memory_index(mem)?;
3498
+ self.pop_operand(Some(ty))?;
3499
+ self.pop_operand(Some(ValType::I32))?;
3500
+ self.pop_operand(Some(ty))?;
3501
+ Ok(())
3502
+ }
3503
+ fn visit_memory_discard(&mut self, mem: u32) -> Self::Output {
3504
+ let ty = self.check_memory_index(mem)?;
3505
+ self.pop_operand(Some(ty))?;
3506
+ self.pop_operand(Some(ty))?;
3507
+ Ok(())
3508
+ }
3509
+ fn visit_table_init(&mut self, segment: u32, table: u32) -> Self::Output {
3510
+ let table = self.check_table_index(table)?;
3511
+ let segment_ty = self.element_type_at(segment)?;
3512
+ if !self
3513
+ .resources
3514
+ .is_subtype(ValType::Ref(segment_ty), ValType::Ref(table.element_type))
3515
+ {
3516
+ bail!(self.offset, "type mismatch");
3517
+ }
3518
+ self.pop_operand(Some(ValType::I32))?;
3519
+ self.pop_operand(Some(ValType::I32))?;
3520
+ self.pop_operand(Some(table.index_type()))?;
3521
+ Ok(())
3522
+ }
3523
+ fn visit_elem_drop(&mut self, segment: u32) -> Self::Output {
3524
+ if segment >= self.resources.element_count() {
3525
+ bail!(
3526
+ self.offset,
3527
+ "unknown elem segment {}: segment index out of bounds",
3528
+ segment
3529
+ );
3530
+ }
3531
+ Ok(())
3532
+ }
3533
+ fn visit_table_copy(&mut self, dst_table: u32, src_table: u32) -> Self::Output {
3534
+ let src = self.check_table_index(src_table)?;
3535
+ let dst = self.check_table_index(dst_table)?;
3536
+ if !self.resources.is_subtype(
3537
+ ValType::Ref(src.element_type),
3538
+ ValType::Ref(dst.element_type),
3539
+ ) {
3540
+ bail!(self.offset, "type mismatch");
3541
+ }
3542
+
3543
+ // The length operand here is the smaller of src/dst, which is
3544
+ // i32 if one is i32
3545
+ self.pop_operand(Some(match src.index_type() {
3546
+ ValType::I32 => ValType::I32,
3547
+ _ => dst.index_type(),
3548
+ }))?;
3549
+
3550
+ // ... and the offset into each table is required to be
3551
+ // whatever the indexing type is for that table
3552
+ self.pop_operand(Some(src.index_type()))?;
3553
+ self.pop_operand(Some(dst.index_type()))?;
3554
+ Ok(())
3555
+ }
3556
+ fn visit_table_get(&mut self, table: u32) -> Self::Output {
3557
+ let table = self.check_table_index(table)?;
3558
+ debug_assert_type_indices_are_ids(table.element_type.into());
3559
+ self.pop_operand(Some(table.index_type()))?;
3560
+ self.push_operand(table.element_type)?;
3561
+ Ok(())
3562
+ }
3563
+ fn visit_table_set(&mut self, table: u32) -> Self::Output {
3564
+ let table = self.check_table_index(table)?;
3565
+ debug_assert_type_indices_are_ids(table.element_type.into());
3566
+ self.pop_operand(Some(table.element_type.into()))?;
3567
+ self.pop_operand(Some(table.index_type()))?;
3568
+ Ok(())
3569
+ }
3570
+ fn visit_table_grow(&mut self, table: u32) -> Self::Output {
3571
+ let table = self.check_table_index(table)?;
3572
+ debug_assert_type_indices_are_ids(table.element_type.into());
3573
+ self.pop_operand(Some(table.index_type()))?;
3574
+ self.pop_operand(Some(table.element_type.into()))?;
3575
+ self.push_operand(table.index_type())?;
3576
+ Ok(())
3577
+ }
3578
+ fn visit_table_size(&mut self, table: u32) -> Self::Output {
3579
+ let table = self.check_table_index(table)?;
3580
+ self.push_operand(table.index_type())?;
3581
+ Ok(())
3582
+ }
3583
+ fn visit_table_fill(&mut self, table: u32) -> Self::Output {
3584
+ let table = self.check_table_index(table)?;
3585
+ debug_assert_type_indices_are_ids(table.element_type.into());
3586
+ self.pop_operand(Some(table.index_type()))?;
3587
+ self.pop_operand(Some(table.element_type.into()))?;
3588
+ self.pop_operand(Some(table.index_type()))?;
3589
+ Ok(())
3590
+ }
3591
+ fn visit_struct_new(&mut self, struct_type_index: u32) -> Self::Output {
3592
+ let struct_ty = self.struct_type_at(struct_type_index)?;
3593
+ for ty in struct_ty.fields.iter().rev() {
3594
+ self.pop_operand(Some(ty.element_type.unpack()))?;
3595
+ }
3596
+ self.push_concrete_ref(false, struct_type_index)?;
3597
+ Ok(())
3598
+ }
3599
+ fn visit_struct_new_default(&mut self, type_index: u32) -> Self::Output {
3600
+ let ty = self.struct_type_at(type_index)?;
3601
+ for field in ty.fields.iter() {
3602
+ let val_ty = field.element_type.unpack();
3603
+ if !val_ty.is_defaultable() {
3604
+ bail!(
3605
+ self.offset,
3606
+ "invalid `struct.new_default`: {val_ty} field is not defaultable"
3607
+ );
3608
+ }
3609
+ }
3610
+ self.push_concrete_ref(false, type_index)?;
3611
+ Ok(())
3612
+ }
3613
+ fn visit_struct_get(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3614
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3615
+ if field_ty.element_type.is_packed() {
3616
+ bail!(
3617
+ self.offset,
3618
+ "can only use struct.get with non-packed storage types"
3619
+ )
3620
+ }
3621
+ self.pop_concrete_ref(true, struct_type_index)?;
3622
+ self.push_operand(field_ty.element_type.unpack())
3623
+ }
3624
+ fn visit_struct_get_s(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3625
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3626
+ if !field_ty.element_type.is_packed() {
3627
+ bail!(
3628
+ self.offset,
3629
+ "cannot use struct.get_s with non-packed storage types"
3630
+ )
3631
+ }
3632
+ self.pop_concrete_ref(true, struct_type_index)?;
3633
+ self.push_operand(field_ty.element_type.unpack())
3634
+ }
3635
+ fn visit_struct_get_u(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3636
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3637
+ if !field_ty.element_type.is_packed() {
3638
+ bail!(
3639
+ self.offset,
3640
+ "cannot use struct.get_u with non-packed storage types"
3641
+ )
3642
+ }
3643
+ self.pop_concrete_ref(true, struct_type_index)?;
3644
+ self.push_operand(field_ty.element_type.unpack())
3645
+ }
3646
+ fn visit_struct_set(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3647
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3648
+ if !field_ty.mutable {
3649
+ bail!(self.offset, "invalid struct.set: struct field is immutable")
3650
+ }
3651
+ self.pop_operand(Some(field_ty.element_type.unpack()))?;
3652
+ self.pop_concrete_ref(true, struct_type_index)?;
3653
+ Ok(())
3654
+ }
3655
+ fn visit_array_new(&mut self, type_index: u32) -> Self::Output {
3656
+ let array_ty = self.array_type_at(type_index)?;
3657
+ self.pop_operand(Some(ValType::I32))?;
3658
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3659
+ self.push_concrete_ref(false, type_index)
3660
+ }
3661
+ fn visit_array_new_default(&mut self, type_index: u32) -> Self::Output {
3662
+ let ty = self.array_type_at(type_index)?;
3663
+ let val_ty = ty.0.element_type.unpack();
3664
+ if !val_ty.is_defaultable() {
3665
+ bail!(
3666
+ self.offset,
3667
+ "invalid `array.new_default`: {val_ty} field is not defaultable"
3668
+ );
3669
+ }
3670
+ self.pop_operand(Some(ValType::I32))?;
3671
+ self.push_concrete_ref(false, type_index)
3672
+ }
3673
+ fn visit_array_new_fixed(&mut self, type_index: u32, n: u32) -> Self::Output {
3674
+ let array_ty = self.array_type_at(type_index)?;
3675
+ let elem_ty = array_ty.0.element_type.unpack();
3676
+ for _ in 0..n {
3677
+ self.pop_operand(Some(elem_ty))?;
3678
+ }
3679
+ self.push_concrete_ref(false, type_index)
3680
+ }
3681
+ fn visit_array_new_data(&mut self, type_index: u32, data_index: u32) -> Self::Output {
3682
+ let array_ty = self.array_type_at(type_index)?;
3683
+ let elem_ty = array_ty.0.element_type.unpack();
3684
+ match elem_ty {
3685
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
3686
+ ValType::Ref(_) => bail!(
3687
+ self.offset,
3688
+ "type mismatch: array.new_data can only create arrays with numeric and vector elements"
3689
+ ),
3690
+ }
3691
+ match self.resources.data_count() {
3692
+ None => bail!(self.offset, "data count section required"),
3693
+ Some(count) if data_index < count => {}
3694
+ Some(_) => bail!(self.offset, "unknown data segment {}", data_index),
3695
+ }
3696
+ self.pop_operand(Some(ValType::I32))?;
3697
+ self.pop_operand(Some(ValType::I32))?;
3698
+ self.push_concrete_ref(false, type_index)
3699
+ }
3700
+ fn visit_array_new_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
3701
+ let array_ty = self.array_type_at(type_index)?;
3702
+ let array_ref_ty = match array_ty.0.element_type.unpack() {
3703
+ ValType::Ref(rt) => rt,
3704
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
3705
+ self.offset,
3706
+ "type mismatch: array.new_elem can only create arrays with reference elements"
3707
+ ),
3708
+ };
3709
+ let elem_ref_ty = self.element_type_at(elem_index)?;
3710
+ if !self
3711
+ .resources
3712
+ .is_subtype(elem_ref_ty.into(), array_ref_ty.into())
3713
+ {
3714
+ bail!(
3715
+ self.offset,
3716
+ "invalid array.new_elem instruction: element segment {elem_index} type mismatch: \
3717
+ expected {array_ref_ty}, found {elem_ref_ty}"
3718
+ )
3719
+ }
3720
+ self.pop_operand(Some(ValType::I32))?;
3721
+ self.pop_operand(Some(ValType::I32))?;
3722
+ self.push_concrete_ref(false, type_index)
3723
+ }
3724
+ fn visit_array_get(&mut self, type_index: u32) -> Self::Output {
3725
+ let array_ty = self.array_type_at(type_index)?;
3726
+ let elem_ty = array_ty.0.element_type;
3727
+ if elem_ty.is_packed() {
3728
+ bail!(
3729
+ self.offset,
3730
+ "cannot use array.get with packed storage types"
3731
+ )
3732
+ }
3733
+ self.pop_operand(Some(ValType::I32))?;
3734
+ self.pop_concrete_ref(true, type_index)?;
3735
+ self.push_operand(elem_ty.unpack())
3736
+ }
3737
+ fn visit_array_get_s(&mut self, type_index: u32) -> Self::Output {
3738
+ let array_ty = self.array_type_at(type_index)?;
3739
+ let elem_ty = array_ty.0.element_type;
3740
+ if !elem_ty.is_packed() {
3741
+ bail!(
3742
+ self.offset,
3743
+ "cannot use array.get_s with non-packed storage types"
3744
+ )
3745
+ }
3746
+ self.pop_operand(Some(ValType::I32))?;
3747
+ self.pop_concrete_ref(true, type_index)?;
3748
+ self.push_operand(elem_ty.unpack())
3749
+ }
3750
+ fn visit_array_get_u(&mut self, type_index: u32) -> Self::Output {
3751
+ let array_ty = self.array_type_at(type_index)?;
3752
+ let elem_ty = array_ty.0.element_type;
3753
+ if !elem_ty.is_packed() {
3754
+ bail!(
3755
+ self.offset,
3756
+ "cannot use array.get_u with non-packed storage types"
3757
+ )
3758
+ }
3759
+ self.pop_operand(Some(ValType::I32))?;
3760
+ self.pop_concrete_ref(true, type_index)?;
3761
+ self.push_operand(elem_ty.unpack())
3762
+ }
3763
+ fn visit_array_set(&mut self, type_index: u32) -> Self::Output {
3764
+ let array_ty = self.array_type_at(type_index)?;
3765
+ if !array_ty.0.mutable {
3766
+ bail!(self.offset, "invalid array.set: array is immutable")
3767
+ }
3768
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3769
+ self.pop_operand(Some(ValType::I32))?;
3770
+ self.pop_concrete_ref(true, type_index)?;
3771
+ Ok(())
3772
+ }
3773
+ fn visit_array_len(&mut self) -> Self::Output {
3774
+ self.pop_operand(Some(RefType::ARRAY.nullable().into()))?;
3775
+ self.push_operand(ValType::I32)
3776
+ }
3777
+ fn visit_array_fill(&mut self, array_type_index: u32) -> Self::Output {
3778
+ let array_ty = self.array_type_at(array_type_index)?;
3779
+ if !array_ty.0.mutable {
3780
+ bail!(self.offset, "invalid array.fill: array is immutable");
3781
+ }
3782
+ self.pop_operand(Some(ValType::I32))?;
3783
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3784
+ self.pop_operand(Some(ValType::I32))?;
3785
+ self.pop_concrete_ref(true, array_type_index)?;
3786
+ Ok(())
3787
+ }
3788
+ fn visit_array_copy(&mut self, type_index_dst: u32, type_index_src: u32) -> Self::Output {
3789
+ let array_ty_dst = self.array_type_at(type_index_dst)?;
3790
+ if !array_ty_dst.0.mutable {
3791
+ bail!(
3792
+ self.offset,
3793
+ "invalid array.copy: destination array is immutable"
3794
+ );
3795
+ }
3796
+ let array_ty_src = self.array_type_at(type_index_src)?;
3797
+ match (array_ty_dst.0.element_type, array_ty_src.0.element_type) {
3798
+ (StorageType::I8, StorageType::I8) => {}
3799
+ (StorageType::I8, ty) => bail!(
3800
+ self.offset,
3801
+ "array types do not match: expected i8, found {ty}"
3802
+ ),
3803
+ (StorageType::I16, StorageType::I16) => {}
3804
+ (StorageType::I16, ty) => bail!(
3805
+ self.offset,
3806
+ "array types do not match: expected i16, found {ty}"
3807
+ ),
3808
+ (StorageType::Val(dst), StorageType::Val(src)) => {
3809
+ if !self.resources.is_subtype(src, dst) {
3810
+ bail!(
3811
+ self.offset,
3812
+ "array types do not match: expected {dst}, found {src}"
3813
+ )
3814
+ }
3815
+ }
3816
+ (StorageType::Val(dst), src) => {
3817
+ bail!(
3818
+ self.offset,
3819
+ "array types do not match: expected {dst}, found {src}"
3820
+ )
3821
+ }
3822
+ }
3823
+ self.pop_operand(Some(ValType::I32))?;
3824
+ self.pop_operand(Some(ValType::I32))?;
3825
+ self.pop_concrete_ref(true, type_index_src)?;
3826
+ self.pop_operand(Some(ValType::I32))?;
3827
+ self.pop_concrete_ref(true, type_index_dst)?;
3828
+ Ok(())
3829
+ }
3830
+ fn visit_array_init_data(
3831
+ &mut self,
3832
+ array_type_index: u32,
3833
+ array_data_index: u32,
3834
+ ) -> Self::Output {
3835
+ let array_ty = self.array_type_at(array_type_index)?;
3836
+ if !array_ty.0.mutable {
3837
+ bail!(self.offset, "invalid array.init_data: array is immutable");
3838
+ }
3839
+ let val_ty = array_ty.0.element_type.unpack();
3840
+ match val_ty {
3841
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
3842
+ ValType::Ref(_) => bail!(
3843
+ self.offset,
3844
+ "invalid array.init_data: array type is not numeric or vector"
3845
+ ),
3846
+ }
3847
+ match self.resources.data_count() {
3848
+ None => bail!(self.offset, "data count section required"),
3849
+ Some(count) if array_data_index < count => {}
3850
+ Some(_) => bail!(self.offset, "unknown data segment {}", array_data_index),
3851
+ }
3852
+ self.pop_operand(Some(ValType::I32))?;
3853
+ self.pop_operand(Some(ValType::I32))?;
3854
+ self.pop_operand(Some(ValType::I32))?;
3855
+ self.pop_concrete_ref(true, array_type_index)?;
3856
+ Ok(())
3857
+ }
3858
+ fn visit_array_init_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
3859
+ let array_ty = self.array_type_at(type_index)?;
3860
+ if !array_ty.0.mutable {
3861
+ bail!(self.offset, "invalid array.init_data: array is immutable");
3862
+ }
3863
+ let array_ref_ty = match array_ty.0.element_type.unpack() {
3864
+ ValType::Ref(rt) => rt,
3865
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
3866
+ self.offset,
3867
+ "type mismatch: array.init_elem can only create arrays with reference elements"
3868
+ ),
3869
+ };
3870
+ let elem_ref_ty = self.element_type_at(elem_index)?;
3871
+ if !self
3872
+ .resources
3873
+ .is_subtype(elem_ref_ty.into(), array_ref_ty.into())
3874
+ {
3875
+ bail!(
3876
+ self.offset,
3877
+ "invalid array.init_elem instruction: element segment {elem_index} type mismatch: \
3878
+ expected {array_ref_ty}, found {elem_ref_ty}"
3879
+ )
3880
+ }
3881
+ self.pop_operand(Some(ValType::I32))?;
3882
+ self.pop_operand(Some(ValType::I32))?;
3883
+ self.pop_operand(Some(ValType::I32))?;
3884
+ self.pop_concrete_ref(true, type_index)?;
3885
+ Ok(())
3886
+ }
3887
+ fn visit_any_convert_extern(&mut self) -> Self::Output {
3888
+ let extern_ref = self.pop_operand(Some(RefType::EXTERNREF.into()))?;
3889
+ let is_nullable = extern_ref
3890
+ .as_type()
3891
+ .map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
3892
+ let any_ref = RefType::new(is_nullable, HeapType::Any).unwrap();
3893
+ self.push_operand(any_ref)
3894
+ }
3895
+ fn visit_extern_convert_any(&mut self) -> Self::Output {
3896
+ let any_ref = self.pop_operand(Some(RefType::ANY.nullable().into()))?;
3897
+ let is_nullable = any_ref
3898
+ .as_type()
3899
+ .map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
3900
+ let extern_ref = RefType::new(is_nullable, HeapType::Extern).unwrap();
3901
+ self.push_operand(extern_ref)
3902
+ }
3903
+ fn visit_ref_test_non_null(&mut self, heap_type: HeapType) -> Self::Output {
3904
+ self.check_ref_test(false, heap_type)
3905
+ }
3906
+ fn visit_ref_test_nullable(&mut self, heap_type: HeapType) -> Self::Output {
3907
+ self.check_ref_test(true, heap_type)
3908
+ }
3909
+ fn visit_ref_cast_non_null(&mut self, heap_type: HeapType) -> Self::Output {
3910
+ self.check_ref_cast(false, heap_type)
3911
+ }
3912
+ fn visit_ref_cast_nullable(&mut self, heap_type: HeapType) -> Self::Output {
3913
+ self.check_ref_cast(true, heap_type)
3914
+ }
3915
+ fn visit_br_on_cast(
3916
+ &mut self,
3917
+ relative_depth: u32,
3918
+ mut from_ref_type: RefType,
3919
+ mut to_ref_type: RefType,
3920
+ ) -> Self::Output {
3921
+ self.resources
3922
+ .check_ref_type(&mut from_ref_type, self.offset)?;
3923
+ self.resources
3924
+ .check_ref_type(&mut to_ref_type, self.offset)?;
3925
+
3926
+ if !self
3927
+ .resources
3928
+ .is_subtype(to_ref_type.into(), from_ref_type.into())
3929
+ {
3930
+ bail!(
3931
+ self.offset,
3932
+ "type mismatch: expected {from_ref_type}, found {to_ref_type}"
3933
+ );
3934
+ }
3935
+
3936
+ let (block_ty, frame_kind) = self.jump(relative_depth)?;
3937
+ let mut label_types = self.label_types(block_ty, frame_kind)?;
3938
+
3939
+ match label_types.next_back() {
3940
+ Some(label_ty) if self.resources.is_subtype(to_ref_type.into(), label_ty) => {
3941
+ self.pop_operand(Some(from_ref_type.into()))?;
3942
+ }
3943
+ Some(label_ty) => bail!(
3944
+ self.offset,
3945
+ "type mismatch: casting to type {to_ref_type}, but it does not match \
3946
+ label result type {label_ty}"
3947
+ ),
3948
+ None => bail!(
3949
+ self.offset,
3950
+ "type mismtach: br_on_cast to label with empty types, must have a reference type"
3951
+ ),
3952
+ };
3953
+
3954
+ self.pop_push_label_types(label_types)?;
3955
+ let diff_ty = RefType::difference(from_ref_type, to_ref_type);
3956
+ self.push_operand(diff_ty)?;
3957
+ Ok(())
3958
+ }
3959
+ fn visit_br_on_cast_fail(
3960
+ &mut self,
3961
+ relative_depth: u32,
3962
+ mut from_ref_type: RefType,
3963
+ mut to_ref_type: RefType,
3964
+ ) -> Self::Output {
3965
+ self.resources
3966
+ .check_ref_type(&mut from_ref_type, self.offset)?;
3967
+ self.resources
3968
+ .check_ref_type(&mut to_ref_type, self.offset)?;
3969
+
3970
+ if !self
3971
+ .resources
3972
+ .is_subtype(to_ref_type.into(), from_ref_type.into())
3973
+ {
3974
+ bail!(
3975
+ self.offset,
3976
+ "type mismatch: expected {from_ref_type}, found {to_ref_type}"
3977
+ );
3978
+ }
3979
+
3980
+ let (block_ty, frame_kind) = self.jump(relative_depth)?;
3981
+ let mut label_tys = self.label_types(block_ty, frame_kind)?;
3982
+
3983
+ let diff_ty = RefType::difference(from_ref_type, to_ref_type);
3984
+ match label_tys.next_back() {
3985
+ Some(label_ty) if self.resources.is_subtype(diff_ty.into(), label_ty) => {
3986
+ self.pop_operand(Some(from_ref_type.into()))?;
3987
+ }
3988
+ Some(label_ty) => bail!(
3989
+ self.offset,
3990
+ "type mismatch: expected label result type {label_ty}, found {diff_ty}"
3991
+ ),
3992
+ None => bail!(
3993
+ self.offset,
3994
+ "type mismatch: expected a reference type, found nothing"
3995
+ ),
3996
+ }
3997
+
3998
+ self.pop_push_label_types(label_tys)?;
3999
+ self.push_operand(to_ref_type)?;
4000
+ Ok(())
4001
+ }
4002
+ fn visit_ref_i31(&mut self) -> Self::Output {
4003
+ self.pop_operand(Some(ValType::I32))?;
4004
+ self.push_operand(ValType::Ref(RefType::I31))
4005
+ }
4006
+ fn visit_i31_get_s(&mut self) -> Self::Output {
4007
+ self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
4008
+ self.push_operand(ValType::I32)
4009
+ }
4010
+ fn visit_i31_get_u(&mut self) -> Self::Output {
4011
+ self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
4012
+ self.push_operand(ValType::I32)
4013
+ }
4014
+ }
4015
+
4016
+ #[derive(Clone, Debug)]
4017
+ enum Either<A, B> {
4018
+ A(A),
4019
+ B(B),
4020
+ }
4021
+
4022
+ impl<A, B> Iterator for Either<A, B>
4023
+ where
4024
+ A: Iterator,
4025
+ B: Iterator<Item = A::Item>,
4026
+ {
4027
+ type Item = A::Item;
4028
+ fn next(&mut self) -> Option<A::Item> {
4029
+ match self {
4030
+ Either::A(a) => a.next(),
4031
+ Either::B(b) => b.next(),
4032
+ }
4033
+ }
4034
+ }
4035
+
4036
+ impl<A, B> DoubleEndedIterator for Either<A, B>
4037
+ where
4038
+ A: DoubleEndedIterator,
4039
+ B: DoubleEndedIterator<Item = A::Item>,
4040
+ {
4041
+ fn next_back(&mut self) -> Option<A::Item> {
4042
+ match self {
4043
+ Either::A(a) => a.next_back(),
4044
+ Either::B(b) => b.next_back(),
4045
+ }
4046
+ }
4047
+ }
4048
+
4049
+ impl<A, B> ExactSizeIterator for Either<A, B>
4050
+ where
4051
+ A: ExactSizeIterator,
4052
+ B: ExactSizeIterator<Item = A::Item>,
4053
+ {
4054
+ fn len(&self) -> usize {
4055
+ match self {
4056
+ Either::A(a) => a.len(),
4057
+ Either::B(b) => b.len(),
4058
+ }
4059
+ }
4060
+ }
4061
+
4062
+ trait PreciseIterator: ExactSizeIterator + DoubleEndedIterator + Clone + core::fmt::Debug {}
4063
+ impl<T: ExactSizeIterator + DoubleEndedIterator + Clone + core::fmt::Debug> PreciseIterator for T {}
4064
+
4065
+ impl Locals {
4066
+ /// Defines another group of `count` local variables of type `ty`.
4067
+ ///
4068
+ /// Returns `true` if the definition was successful. Local variable
4069
+ /// definition is unsuccessful in case the amount of total variables
4070
+ /// after definition exceeds the allowed maximum number.
4071
+ fn define(&mut self, count: u32, ty: ValType) -> bool {
4072
+ match self.num_locals.checked_add(count) {
4073
+ Some(n) => self.num_locals = n,
4074
+ None => return false,
4075
+ }
4076
+ if self.num_locals > (MAX_WASM_FUNCTION_LOCALS as u32) {
4077
+ return false;
4078
+ }
4079
+ for _ in 0..count {
4080
+ if self.first.len() >= MAX_LOCALS_TO_TRACK {
4081
+ break;
4082
+ }
4083
+ self.first.push(ty);
4084
+ }
4085
+ self.all.push((self.num_locals - 1, ty));
4086
+ true
4087
+ }
4088
+
4089
+ /// Returns the number of defined local variables.
4090
+ pub(super) fn len_locals(&self) -> u32 {
4091
+ self.num_locals
4092
+ }
4093
+
4094
+ /// Returns the type of the local variable at the given index if any.
4095
+ #[inline]
4096
+ pub(super) fn get(&self, idx: u32) -> Option<ValType> {
4097
+ match self.first.get(idx as usize) {
4098
+ Some(ty) => Some(*ty),
4099
+ None => self.get_bsearch(idx),
4100
+ }
4101
+ }
4102
+
4103
+ fn get_bsearch(&self, idx: u32) -> Option<ValType> {
4104
+ match self.all.binary_search_by_key(&idx, |(idx, _)| *idx) {
4105
+ // If this index would be inserted at the end of the list, then the
4106
+ // index is out of bounds and we return an error.
4107
+ Err(i) if i == self.all.len() => None,
4108
+
4109
+ // If `Ok` is returned we found the index exactly, or if `Err` is
4110
+ // returned the position is the one which is the least index
4111
+ // greater that `idx`, which is still the type of `idx` according
4112
+ // to our "compressed" representation. In both cases we access the
4113
+ // list at index `i`.
4114
+ Ok(i) | Err(i) => Some(self.all[i].1),
4115
+ }
4116
+ }
4117
+ }