wasmtime 20.0.2 → 21.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,2820 @@
1
+ //! Wasmtime's "store" type
2
+ //!
3
+ //! This module, and its submodules, contain the `Store` type and various types
4
+ //! used to interact with it. At first glance this is a pretty confusing module
5
+ //! where you need to know the difference between:
6
+ //!
7
+ //! * `Store<T>`
8
+ //! * `StoreContext<T>`
9
+ //! * `StoreContextMut<T>`
10
+ //! * `AsContext`
11
+ //! * `AsContextMut`
12
+ //! * `StoreInner<T>`
13
+ //! * `StoreOpaque`
14
+ //! * `StoreData`
15
+ //!
16
+ //! There's... quite a lot going on here, and it's easy to be confused. This
17
+ //! comment is ideally going to serve the purpose of clarifying what all these
18
+ //! types are for and why they're motivated.
19
+ //!
20
+ //! First it's important to know what's "internal" and what's "external". Almost
21
+ //! everything above is defined as `pub`, but only some of the items are
22
+ //! reexported to the outside world to be usable from this crate. Otherwise all
23
+ //! items are `pub` within this `store` module, and the `store` module is
24
+ //! private to the `wasmtime` crate. Notably `Store<T>`, `StoreContext<T>`,
25
+ //! `StoreContextMut<T>`, `AsContext`, and `AsContextMut` are all public
26
+ //! interfaces to the `wasmtime` crate. You can think of these as:
27
+ //!
28
+ //! * `Store<T>` - an owned reference to a store, the "root of everything"
29
+ //! * `StoreContext<T>` - basically `&StoreInner<T>`
30
+ //! * `StoreContextMut<T>` - more-or-less `&mut StoreInner<T>` with caveats.
31
+ //! Explained later.
32
+ //! * `AsContext` - similar to `AsRef`, but produces `StoreContext<T>`
33
+ //! * `AsContextMut` - similar to `AsMut`, but produces `StoreContextMut<T>`
34
+ //!
35
+ //! Next comes the internal structure of the `Store<T>` itself. This looks like:
36
+ //!
37
+ //! * `Store<T>` - this type is just a pointer large. It's primarily just
38
+ //! intended to be consumed by the outside world. Note that the "just a
39
+ //! pointer large" is a load-bearing implementation detail in Wasmtime. This
40
+ //! enables it to store a pointer to its own trait object which doesn't need
41
+ //! to change over time.
42
+ //!
43
+ //! * `StoreInner<T>` - the first layer of the contents of a `Store<T>`, what's
44
+ //! stored inside the `Box`. This is the general Rust pattern when one struct
45
+ //! is a layer over another. The surprising part, though, is that this is
46
+ //! further subdivided. This structure only contains things which actually
47
+ //! need `T` itself. The downside of this structure is that it's always
48
+ //! generic and means that code is monomorphized into consumer crates. We
49
+ //! strive to have things be as monomorphic as possible in `wasmtime` so this
50
+ //! type is not heavily used.
51
+ //!
52
+ //! * `StoreOpaque` - this is the primary contents of the `StoreInner<T>` type.
53
+ //! Stored inline in the outer type the "opaque" here means that it's a
54
+ //! "store" but it doesn't have access to the `T`. This is the primary
55
+ //! "internal" reference that Wasmtime uses since `T` is rarely needed by the
56
+ //! internals of Wasmtime.
57
+ //!
58
+ //! * `StoreData` - this is a final helper struct stored within `StoreOpaque`.
59
+ //! All references of Wasm items into a `Store` are actually indices into a
60
+ //! table in this structure, and the `StoreData` being separate makes it a bit
61
+ //! easier to manage/define/work with. There's no real fundamental reason this
62
+ //! is split out, although sometimes it's useful to have separate borrows into
63
+ //! these tables than the `StoreOpaque`.
64
+ //!
65
+ //! A major caveat with these representations is that the internal `&mut
66
+ //! StoreInner<T>` is never handed out publicly to consumers of this crate, only
67
+ //! through a wrapper of `StoreContextMut<'_, T>`. The reason for this is that
68
+ //! we want to provide mutable, but not destructive, access to the contents of a
69
+ //! `Store`. For example if a `StoreInner<T>` were replaced with some other
70
+ //! `StoreInner<T>` then that would drop live instances, possibly those
71
+ //! currently executing beneath the current stack frame. This would not be a
72
+ //! safe operation.
73
+ //!
74
+ //! This means, though, that the `wasmtime` crate, which liberally uses `&mut
75
+ //! StoreOpaque` internally, has to be careful to never actually destroy the
76
+ //! contents of `StoreOpaque`. This is an invariant that we, as the authors of
77
+ //! `wasmtime`, must uphold for the public interface to be safe.
78
+
79
+ use crate::instance::InstanceData;
80
+ use crate::linker::Definition;
81
+ use crate::module::{BareModuleInfo, RegisteredModuleId};
82
+ use crate::prelude::*;
83
+ use crate::runtime::vm::mpk::{self, ProtectionKey, ProtectionMask};
84
+ use crate::runtime::vm::{
85
+ Backtrace, ExportGlobal, GcHeapAllocationIndex, GcRootsList, GcStore,
86
+ InstanceAllocationRequest, InstanceAllocator, InstanceHandle, OnDemandInstanceAllocator,
87
+ SignalHandler, StoreBox, StorePtr, VMContext, VMFuncRef, VMGcRef, VMRuntimeLimits, WasmFault,
88
+ };
89
+ use crate::trampoline::VMHostGlobalContext;
90
+ use crate::RootSet;
91
+ use crate::{module::ModuleRegistry, Engine, Module, Trap, Val, ValRaw};
92
+ use crate::{Global, Instance, Memory, RootScope, Table};
93
+ use alloc::sync::Arc;
94
+ use anyhow::{anyhow, bail, Result};
95
+ use core::cell::UnsafeCell;
96
+ use core::fmt;
97
+ use core::future::Future;
98
+ use core::marker;
99
+ use core::mem::{self, ManuallyDrop};
100
+ use core::num::NonZeroU64;
101
+ use core::ops::{Deref, DerefMut};
102
+ use core::pin::Pin;
103
+ use core::ptr;
104
+ use core::sync::atomic::AtomicU64;
105
+ use core::task::{Context, Poll};
106
+
107
+ mod context;
108
+ pub use self::context::*;
109
+ mod data;
110
+ pub use self::data::*;
111
+ mod func_refs;
112
+ use func_refs::FuncRefs;
113
+
114
+ /// A [`Store`] is a collection of WebAssembly instances and host-defined state.
115
+ ///
116
+ /// All WebAssembly instances and items will be attached to and refer to a
117
+ /// [`Store`]. For example instances, functions, globals, and tables are all
118
+ /// attached to a [`Store`]. Instances are created by instantiating a
119
+ /// [`Module`](crate::Module) within a [`Store`].
120
+ ///
121
+ /// A [`Store`] is intended to be a short-lived object in a program. No form
122
+ /// of GC is implemented at this time so once an instance is created within a
123
+ /// [`Store`] it will not be deallocated until the [`Store`] itself is dropped.
124
+ /// This makes [`Store`] unsuitable for creating an unbounded number of
125
+ /// instances in it because [`Store`] will never release this memory. It's
126
+ /// recommended to have a [`Store`] correspond roughly to the lifetime of a
127
+ /// "main instance" that an embedding is interested in executing.
128
+ ///
129
+ /// ## Type parameter `T`
130
+ ///
131
+ /// Each [`Store`] has a type parameter `T` associated with it. This `T`
132
+ /// represents state defined by the host. This state will be accessible through
133
+ /// the [`Caller`](crate::Caller) type that host-defined functions get access
134
+ /// to. This `T` is suitable for storing `Store`-specific information which
135
+ /// imported functions may want access to.
136
+ ///
137
+ /// The data `T` can be accessed through methods like [`Store::data`] and
138
+ /// [`Store::data_mut`].
139
+ ///
140
+ /// ## Stores, contexts, oh my
141
+ ///
142
+ /// Most methods in Wasmtime take something of the form
143
+ /// [`AsContext`](crate::AsContext) or [`AsContextMut`](crate::AsContextMut) as
144
+ /// the first argument. These two traits allow ergonomically passing in the
145
+ /// context you currently have to any method. The primary two sources of
146
+ /// contexts are:
147
+ ///
148
+ /// * `Store<T>`
149
+ /// * `Caller<'_, T>`
150
+ ///
151
+ /// corresponding to what you create and what you have access to in a host
152
+ /// function. You can also explicitly acquire a [`StoreContext`] or
153
+ /// [`StoreContextMut`] and pass that around as well.
154
+ ///
155
+ /// Note that all methods on [`Store`] are mirrored onto [`StoreContext`],
156
+ /// [`StoreContextMut`], and [`Caller`](crate::Caller). This way no matter what
157
+ /// form of context you have you can call various methods, create objects, etc.
158
+ ///
159
+ /// ## Stores and `Default`
160
+ ///
161
+ /// You can create a store with default configuration settings using
162
+ /// `Store::default()`. This will create a brand new [`Engine`] with default
163
+ /// configuration (see [`Config`](crate::Config) for more information).
164
+ ///
165
+ /// ## Cross-store usage of items
166
+ ///
167
+ /// In `wasmtime` wasm items such as [`Global`] and [`Memory`] "belong" to a
168
+ /// [`Store`]. The store they belong to is the one they were created with
169
+ /// (passed in as a parameter) or instantiated with. This store is the only
170
+ /// store that can be used to interact with wasm items after they're created.
171
+ ///
172
+ /// The `wasmtime` crate will panic if the [`Store`] argument passed in to these
173
+ /// operations is incorrect. In other words it's considered a programmer error
174
+ /// rather than a recoverable error for the wrong [`Store`] to be used when
175
+ /// calling APIs.
176
+ pub struct Store<T> {
177
+ // for comments about `ManuallyDrop`, see `Store::into_data`
178
+ inner: ManuallyDrop<Box<StoreInner<T>>>,
179
+ }
180
+
181
+ #[derive(Copy, Clone, Debug)]
182
+ /// Passed to the argument of [`Store::call_hook`] to indicate a state transition in
183
+ /// the WebAssembly VM.
184
+ pub enum CallHook {
185
+ /// Indicates the VM is calling a WebAssembly function, from the host.
186
+ CallingWasm,
187
+ /// Indicates the VM is returning from a WebAssembly function, to the host.
188
+ ReturningFromWasm,
189
+ /// Indicates the VM is calling a host function, from WebAssembly.
190
+ CallingHost,
191
+ /// Indicates the VM is returning from a host function, to WebAssembly.
192
+ ReturningFromHost,
193
+ }
194
+
195
+ impl CallHook {
196
+ /// Indicates the VM is entering host code (exiting WebAssembly code)
197
+ pub fn entering_host(&self) -> bool {
198
+ match self {
199
+ CallHook::ReturningFromWasm | CallHook::CallingHost => true,
200
+ _ => false,
201
+ }
202
+ }
203
+ /// Indicates the VM is exiting host code (entering WebAssembly code)
204
+ pub fn exiting_host(&self) -> bool {
205
+ match self {
206
+ CallHook::ReturningFromHost | CallHook::CallingWasm => true,
207
+ _ => false,
208
+ }
209
+ }
210
+ }
211
+
212
+ /// Internal contents of a `Store<T>` that live on the heap.
213
+ ///
214
+ /// The members of this struct are those that need to be generic over `T`, the
215
+ /// store's internal type storage. Otherwise all things that don't rely on `T`
216
+ /// should go into `StoreOpaque`.
217
+ pub struct StoreInner<T> {
218
+ /// Generic metadata about the store that doesn't need access to `T`.
219
+ inner: StoreOpaque,
220
+
221
+ limiter: Option<ResourceLimiterInner<T>>,
222
+ call_hook: Option<CallHookInner<T>>,
223
+ epoch_deadline_behavior:
224
+ Option<Box<dyn FnMut(StoreContextMut<T>) -> Result<UpdateDeadline> + Send + Sync>>,
225
+ // for comments about `ManuallyDrop`, see `Store::into_data`
226
+ data: ManuallyDrop<T>,
227
+ }
228
+
229
+ enum ResourceLimiterInner<T> {
230
+ Sync(Box<dyn FnMut(&mut T) -> &mut (dyn crate::ResourceLimiter) + Send + Sync>),
231
+ #[cfg(feature = "async")]
232
+ Async(Box<dyn FnMut(&mut T) -> &mut (dyn crate::ResourceLimiterAsync) + Send + Sync>),
233
+ }
234
+
235
+ /// An object that can take callbacks when the runtime enters or exits hostcalls.
236
+ #[cfg(feature = "async")]
237
+ #[async_trait::async_trait]
238
+ pub trait CallHookHandler<T>: Send {
239
+ /// A callback to run when wasmtime is about to enter a host call, or when about to
240
+ /// exit the hostcall.
241
+ async fn handle_call_event(&self, t: &mut T, ch: CallHook) -> Result<()>;
242
+ }
243
+
244
+ enum CallHookInner<T> {
245
+ Sync(Box<dyn FnMut(&mut T, CallHook) -> Result<()> + Send + Sync>),
246
+ #[cfg(feature = "async")]
247
+ Async(Box<dyn CallHookHandler<T> + Send + Sync>),
248
+ }
249
+
250
+ /// What to do after returning from a callback when the engine epoch reaches
251
+ /// the deadline for a Store during execution of a function using that store.
252
+ pub enum UpdateDeadline {
253
+ /// Extend the deadline by the specified number of ticks.
254
+ Continue(u64),
255
+ /// Extend the deadline by the specified number of ticks after yielding to
256
+ /// the async executor loop. This can only be used with an async [`Store`]
257
+ /// configured via [`Config::async_support`](crate::Config::async_support).
258
+ #[cfg(feature = "async")]
259
+ Yield(u64),
260
+ }
261
+
262
+ // Forward methods on `StoreOpaque` to also being on `StoreInner<T>`
263
+ impl<T> Deref for StoreInner<T> {
264
+ type Target = StoreOpaque;
265
+ fn deref(&self) -> &Self::Target {
266
+ &self.inner
267
+ }
268
+ }
269
+
270
+ impl<T> DerefMut for StoreInner<T> {
271
+ fn deref_mut(&mut self) -> &mut Self::Target {
272
+ &mut self.inner
273
+ }
274
+ }
275
+
276
+ /// Monomorphic storage for a `Store<T>`.
277
+ ///
278
+ /// This structure contains the bulk of the metadata about a `Store`. This is
279
+ /// used internally in Wasmtime when dependence on the `T` of `Store<T>` isn't
280
+ /// necessary, allowing code to be monomorphic and compiled into the `wasmtime`
281
+ /// crate itself.
282
+ pub struct StoreOpaque {
283
+ // This `StoreOpaque` structure has references to itself. These aren't
284
+ // immediately evident, however, so we need to tell the compiler that it
285
+ // contains self-references. This notably suppresses `noalias` annotations
286
+ // when this shows up in compiled code because types of this structure do
287
+ // indeed alias itself. An example of this is `default_callee` holds a
288
+ // `*mut dyn Store` to the address of this `StoreOpaque` itself, indeed
289
+ // aliasing!
290
+ //
291
+ // It's somewhat unclear to me at this time if this is 100% sufficient to
292
+ // get all the right codegen in all the right places. For example does
293
+ // `Store` need to internally contain a `Pin<Box<StoreInner<T>>>`? Do the
294
+ // contexts need to contain `Pin<&mut StoreInner<T>>`? I'm not familiar
295
+ // enough with `Pin` to understand if it's appropriate here (we do, for
296
+ // example want to allow movement in and out of `data: T`, just not movement
297
+ // of most of the other members). It's also not clear if using `Pin` in a
298
+ // few places buys us much other than a bunch of `unsafe` that we already
299
+ // sort of hand-wave away.
300
+ //
301
+ // In any case this seems like a good mid-ground for now where we're at
302
+ // least telling the compiler something about all the aliasing happening
303
+ // within a `Store`.
304
+ _marker: marker::PhantomPinned,
305
+
306
+ engine: Engine,
307
+ runtime_limits: VMRuntimeLimits,
308
+ instances: Vec<StoreInstance>,
309
+ #[cfg(feature = "component-model")]
310
+ num_component_instances: usize,
311
+ signal_handler: Option<Box<SignalHandler<'static>>>,
312
+ modules: ModuleRegistry,
313
+ func_refs: FuncRefs,
314
+ host_globals: Vec<StoreBox<VMHostGlobalContext>>,
315
+
316
+ // GC-related fields.
317
+ gc_store: Option<GcStore>,
318
+ gc_roots: RootSet,
319
+ gc_roots_list: GcRootsList,
320
+
321
+ // Numbers of resources instantiated in this store, and their limits
322
+ instance_count: usize,
323
+ instance_limit: usize,
324
+ memory_count: usize,
325
+ memory_limit: usize,
326
+ table_count: usize,
327
+ table_limit: usize,
328
+ #[cfg(feature = "async")]
329
+ async_state: AsyncState,
330
+ // If fuel_yield_interval is enabled, then we store the remaining fuel (that isn't in
331
+ // runtime_limits) here. The total amount of fuel is the runtime limits and reserve added
332
+ // together. Then when we run out of gas, we inject the yield amount from the reserve
333
+ // until the reserve is empty.
334
+ fuel_reserve: u64,
335
+ fuel_yield_interval: Option<NonZeroU64>,
336
+ /// Indexed data within this `Store`, used to store information about
337
+ /// globals, functions, memories, etc.
338
+ ///
339
+ /// Note that this is `ManuallyDrop` because it needs to be dropped before
340
+ /// `rooted_host_funcs` below. This structure contains pointers which are
341
+ /// otherwise kept alive by the `Arc` references in `rooted_host_funcs`.
342
+ store_data: ManuallyDrop<StoreData>,
343
+ default_caller: InstanceHandle,
344
+
345
+ /// Used to optimzed wasm->host calls when the host function is defined with
346
+ /// `Func::new` to avoid allocating a new vector each time a function is
347
+ /// called.
348
+ hostcall_val_storage: Vec<Val>,
349
+ /// Same as `hostcall_val_storage`, but for the direction of the host
350
+ /// calling wasm.
351
+ wasm_val_raw_storage: Vec<ValRaw>,
352
+
353
+ /// A list of lists of definitions which have been used to instantiate
354
+ /// within this `Store`.
355
+ ///
356
+ /// Note that not all instantiations end up pushing to this list. At the
357
+ /// time of this writing only the `InstancePre<T>` type will push to this
358
+ /// list. Pushes to this list are typically accompanied with
359
+ /// `HostFunc::to_func_store_rooted` to clone an `Arc` here once which
360
+ /// preserves a strong reference to the `Arc` for each `HostFunc` stored
361
+ /// within the list of `Definition`s.
362
+ ///
363
+ /// Note that this is `ManuallyDrop` as it must be dropped after
364
+ /// `store_data` above, where the function pointers are stored.
365
+ rooted_host_funcs: ManuallyDrop<Vec<Arc<[Definition]>>>,
366
+
367
+ /// Keep track of what protection key is being used during allocation so
368
+ /// that the right memory pages can be enabled when entering WebAssembly
369
+ /// guest code.
370
+ pkey: Option<ProtectionKey>,
371
+
372
+ /// Runtime state for components used in the handling of resources, borrow,
373
+ /// and calls. These also interact with the `ResourceAny` type and its
374
+ /// internal representation.
375
+ #[cfg(feature = "component-model")]
376
+ component_host_table: crate::runtime::vm::component::ResourceTable,
377
+ #[cfg(feature = "component-model")]
378
+ component_calls: crate::runtime::vm::component::CallContexts,
379
+ #[cfg(feature = "component-model")]
380
+ host_resource_data: crate::component::HostResourceData,
381
+ }
382
+
383
+ #[cfg(feature = "async")]
384
+ struct AsyncState {
385
+ current_suspend: UnsafeCell<*mut wasmtime_fiber::Suspend<Result<()>, (), Result<()>>>,
386
+ current_poll_cx: UnsafeCell<*mut Context<'static>>,
387
+ }
388
+
389
+ // Lots of pesky unsafe cells and pointers in this structure. This means we need
390
+ // to declare explicitly that we use this in a threadsafe fashion.
391
+ #[cfg(feature = "async")]
392
+ unsafe impl Send for AsyncState {}
393
+ #[cfg(feature = "async")]
394
+ unsafe impl Sync for AsyncState {}
395
+
396
+ /// An RAII type to automatically mark a region of code as unsafe for GC.
397
+ #[doc(hidden)]
398
+ pub struct AutoAssertNoGc<'a> {
399
+ store: &'a mut StoreOpaque,
400
+ entered: bool,
401
+ }
402
+
403
+ impl<'a> AutoAssertNoGc<'a> {
404
+ #[inline]
405
+ pub fn new(store: &'a mut StoreOpaque) -> Self {
406
+ let entered = if let Some(gc_store) = store.gc_store.as_mut() {
407
+ gc_store.gc_heap.enter_no_gc_scope();
408
+ true
409
+ } else {
410
+ false
411
+ };
412
+
413
+ AutoAssertNoGc { store, entered }
414
+ }
415
+ }
416
+
417
+ impl core::ops::Deref for AutoAssertNoGc<'_> {
418
+ type Target = StoreOpaque;
419
+
420
+ #[inline]
421
+ fn deref(&self) -> &Self::Target {
422
+ &*self.store
423
+ }
424
+ }
425
+
426
+ impl core::ops::DerefMut for AutoAssertNoGc<'_> {
427
+ #[inline]
428
+ fn deref_mut(&mut self) -> &mut Self::Target {
429
+ &mut *self.store
430
+ }
431
+ }
432
+
433
+ impl Drop for AutoAssertNoGc<'_> {
434
+ #[inline]
435
+ fn drop(&mut self) {
436
+ if self.entered {
437
+ self.store.unwrap_gc_store_mut().gc_heap.exit_no_gc_scope();
438
+ }
439
+ }
440
+ }
441
+
442
+ /// Used to associate instances with the store.
443
+ ///
444
+ /// This is needed to track if the instance was allocated explicitly with the on-demand
445
+ /// instance allocator.
446
+ struct StoreInstance {
447
+ handle: InstanceHandle,
448
+ kind: StoreInstanceKind,
449
+ }
450
+
451
+ enum StoreInstanceKind {
452
+ /// An actual, non-dummy instance.
453
+ Real {
454
+ /// The id of this instance's module inside our owning store's
455
+ /// `ModuleRegistry`.
456
+ module_id: RegisteredModuleId,
457
+ },
458
+
459
+ /// This is a dummy instance that is just an implementation detail for
460
+ /// something else. For example, host-created memories internally create a
461
+ /// dummy instance.
462
+ ///
463
+ /// Regardless of the configured instance allocator for the engine, dummy
464
+ /// instances always use the on-demand allocator to deallocate the instance.
465
+ Dummy,
466
+ }
467
+
468
+ impl<T> Store<T> {
469
+ /// Creates a new [`Store`] to be associated with the given [`Engine`] and
470
+ /// `data` provided.
471
+ ///
472
+ /// The created [`Store`] will place no additional limits on the size of
473
+ /// linear memories or tables at runtime. Linear memories and tables will
474
+ /// be allowed to grow to any upper limit specified in their definitions.
475
+ /// The store will limit the number of instances, linear memories, and
476
+ /// tables created to 10,000. This can be overridden with the
477
+ /// [`Store::limiter`] configuration method.
478
+ pub fn new(engine: &Engine, data: T) -> Self {
479
+ let pkey = engine.allocator().next_available_pkey();
480
+
481
+ let mut inner = Box::new(StoreInner {
482
+ inner: StoreOpaque {
483
+ _marker: marker::PhantomPinned,
484
+ engine: engine.clone(),
485
+ runtime_limits: Default::default(),
486
+ instances: Vec::new(),
487
+ #[cfg(feature = "component-model")]
488
+ num_component_instances: 0,
489
+ signal_handler: None,
490
+ gc_store: None,
491
+ gc_roots: RootSet::default(),
492
+ gc_roots_list: GcRootsList::default(),
493
+ modules: ModuleRegistry::default(),
494
+ func_refs: FuncRefs::default(),
495
+ host_globals: Vec::new(),
496
+ instance_count: 0,
497
+ instance_limit: crate::DEFAULT_INSTANCE_LIMIT,
498
+ memory_count: 0,
499
+ memory_limit: crate::DEFAULT_MEMORY_LIMIT,
500
+ table_count: 0,
501
+ table_limit: crate::DEFAULT_TABLE_LIMIT,
502
+ #[cfg(feature = "async")]
503
+ async_state: AsyncState {
504
+ current_suspend: UnsafeCell::new(ptr::null_mut()),
505
+ current_poll_cx: UnsafeCell::new(ptr::null_mut()),
506
+ },
507
+ fuel_reserve: 0,
508
+ fuel_yield_interval: None,
509
+ store_data: ManuallyDrop::new(StoreData::new()),
510
+ default_caller: InstanceHandle::null(),
511
+ hostcall_val_storage: Vec::new(),
512
+ wasm_val_raw_storage: Vec::new(),
513
+ rooted_host_funcs: ManuallyDrop::new(Vec::new()),
514
+ pkey,
515
+ #[cfg(feature = "component-model")]
516
+ component_host_table: Default::default(),
517
+ #[cfg(feature = "component-model")]
518
+ component_calls: Default::default(),
519
+ #[cfg(feature = "component-model")]
520
+ host_resource_data: Default::default(),
521
+ },
522
+ limiter: None,
523
+ call_hook: None,
524
+ epoch_deadline_behavior: None,
525
+ data: ManuallyDrop::new(data),
526
+ });
527
+
528
+ // Wasmtime uses the callee argument to host functions to learn about
529
+ // the original pointer to the `Store` itself, allowing it to
530
+ // reconstruct a `StoreContextMut<T>`. When we initially call a `Func`,
531
+ // however, there's no "callee" to provide. To fix this we allocate a
532
+ // single "default callee" for the entire `Store`. This is then used as
533
+ // part of `Func::call` to guarantee that the `callee: *mut VMContext`
534
+ // is never null.
535
+ inner.default_caller = {
536
+ let module = Arc::new(wasmtime_environ::Module::default());
537
+ let shim = BareModuleInfo::empty(module).into_traitobj();
538
+ let allocator = OnDemandInstanceAllocator::default();
539
+ allocator
540
+ .validate_module(shim.module(), shim.offsets())
541
+ .unwrap();
542
+ let mut instance = unsafe {
543
+ allocator
544
+ .allocate_module(InstanceAllocationRequest {
545
+ host_state: Box::new(()),
546
+ imports: Default::default(),
547
+ store: StorePtr::empty(),
548
+ runtime_info: &shim,
549
+ wmemcheck: engine.config().wmemcheck,
550
+ pkey: None,
551
+ })
552
+ .expect("failed to allocate default callee")
553
+ };
554
+
555
+ // Note the erasure of the lifetime here into `'static`, so in
556
+ // general usage of this trait object must be strictly bounded to
557
+ // the `Store` itself, and is a variant that we have to maintain
558
+ // throughout Wasmtime.
559
+ unsafe {
560
+ let traitobj = mem::transmute::<
561
+ *mut (dyn crate::runtime::vm::Store + '_),
562
+ *mut (dyn crate::runtime::vm::Store + 'static),
563
+ >(&mut *inner);
564
+ instance.set_store(traitobj);
565
+ }
566
+ instance
567
+ };
568
+
569
+ Self {
570
+ inner: ManuallyDrop::new(inner),
571
+ }
572
+ }
573
+
574
+ /// Access the underlying data owned by this `Store`.
575
+ #[inline]
576
+ pub fn data(&self) -> &T {
577
+ self.inner.data()
578
+ }
579
+
580
+ /// Access the underlying data owned by this `Store`.
581
+ #[inline]
582
+ pub fn data_mut(&mut self) -> &mut T {
583
+ self.inner.data_mut()
584
+ }
585
+
586
+ /// Consumes this [`Store`], destroying it, and returns the underlying data.
587
+ pub fn into_data(mut self) -> T {
588
+ // This is an unsafe operation because we want to avoid having a runtime
589
+ // check or boolean for whether the data is actually contained within a
590
+ // `Store`. The data itself is stored as `ManuallyDrop` since we're
591
+ // manually managing the memory here, and there's also a `ManuallyDrop`
592
+ // around the `Box<StoreInner<T>>`. The way this works though is a bit
593
+ // tricky, so here's how things get dropped appropriately:
594
+ //
595
+ // * When a `Store<T>` is normally dropped, the custom destructor for
596
+ // `Store<T>` will drop `T`, then the `self.inner` field. The
597
+ // rustc-glue destructor runs for `Box<StoreInner<T>>` which drops
598
+ // `StoreInner<T>`. This cleans up all internal fields and doesn't
599
+ // touch `T` because it's wrapped in `ManuallyDrop`.
600
+ //
601
+ // * When calling this method we skip the top-level destructor for
602
+ // `Store<T>` with `mem::forget`. This skips both the destructor for
603
+ // `T` and the destructor for `StoreInner<T>`. We do, however, run the
604
+ // destructor for `Box<StoreInner<T>>` which, like above, will skip
605
+ // the destructor for `T` since it's `ManuallyDrop`.
606
+ //
607
+ // In both cases all the other fields of `StoreInner<T>` should all get
608
+ // dropped, and the manual management of destructors is basically
609
+ // between this method and `Drop for Store<T>`. Note that this also
610
+ // means that `Drop for StoreInner<T>` cannot access `self.data`, so
611
+ // there is a comment indicating this as well.
612
+ unsafe {
613
+ let mut inner = ManuallyDrop::take(&mut self.inner);
614
+ core::mem::forget(self);
615
+ ManuallyDrop::take(&mut inner.data)
616
+ }
617
+ }
618
+
619
+ /// Configures the [`ResourceLimiter`] used to limit resource creation
620
+ /// within this [`Store`].
621
+ ///
622
+ /// Whenever resources such as linear memory, tables, or instances are
623
+ /// allocated the `limiter` specified here is invoked with the store's data
624
+ /// `T` and the returned [`ResourceLimiter`] is used to limit the operation
625
+ /// being allocated. The returned [`ResourceLimiter`] is intended to live
626
+ /// within the `T` itself, for example by storing a
627
+ /// [`StoreLimits`](crate::StoreLimits).
628
+ ///
629
+ /// Note that this limiter is only used to limit the creation/growth of
630
+ /// resources in the future, this does not retroactively attempt to apply
631
+ /// limits to the [`Store`].
632
+ ///
633
+ /// # Examples
634
+ ///
635
+ /// ```
636
+ /// use wasmtime::*;
637
+ ///
638
+ /// struct MyApplicationState {
639
+ /// my_state: u32,
640
+ /// limits: StoreLimits,
641
+ /// }
642
+ ///
643
+ /// let engine = Engine::default();
644
+ /// let my_state = MyApplicationState {
645
+ /// my_state: 42,
646
+ /// limits: StoreLimitsBuilder::new()
647
+ /// .memory_size(1 << 20 /* 1 MB */)
648
+ /// .instances(2)
649
+ /// .build(),
650
+ /// };
651
+ /// let mut store = Store::new(&engine, my_state);
652
+ /// store.limiter(|state| &mut state.limits);
653
+ ///
654
+ /// // Creation of smaller memories is allowed
655
+ /// Memory::new(&mut store, MemoryType::new(1, None)).unwrap();
656
+ ///
657
+ /// // Creation of a larger memory, however, will exceed the 1MB limit we've
658
+ /// // configured
659
+ /// assert!(Memory::new(&mut store, MemoryType::new(1000, None)).is_err());
660
+ ///
661
+ /// // The number of instances in this store is limited to 2, so the third
662
+ /// // instance here should fail.
663
+ /// let module = Module::new(&engine, "(module)").unwrap();
664
+ /// assert!(Instance::new(&mut store, &module, &[]).is_ok());
665
+ /// assert!(Instance::new(&mut store, &module, &[]).is_ok());
666
+ /// assert!(Instance::new(&mut store, &module, &[]).is_err());
667
+ /// ```
668
+ ///
669
+ /// [`ResourceLimiter`]: crate::ResourceLimiter
670
+ pub fn limiter(
671
+ &mut self,
672
+ mut limiter: impl FnMut(&mut T) -> &mut (dyn crate::ResourceLimiter) + Send + Sync + 'static,
673
+ ) {
674
+ // Apply the limits on instances, tables, and memory given by the limiter:
675
+ let inner = &mut self.inner;
676
+ let (instance_limit, table_limit, memory_limit) = {
677
+ let l = limiter(&mut inner.data);
678
+ (l.instances(), l.tables(), l.memories())
679
+ };
680
+ let innermost = &mut inner.inner;
681
+ innermost.instance_limit = instance_limit;
682
+ innermost.table_limit = table_limit;
683
+ innermost.memory_limit = memory_limit;
684
+
685
+ // Save the limiter accessor function:
686
+ inner.limiter = Some(ResourceLimiterInner::Sync(Box::new(limiter)));
687
+ }
688
+
689
+ /// Configures the [`ResourceLimiterAsync`](crate::ResourceLimiterAsync)
690
+ /// used to limit resource creation within this [`Store`].
691
+ ///
692
+ /// This method is an asynchronous variant of the [`Store::limiter`] method
693
+ /// where the embedder can block the wasm request for more resources with
694
+ /// host `async` execution of futures.
695
+ ///
696
+ /// By using a [`ResourceLimiterAsync`](`crate::ResourceLimiterAsync`)
697
+ /// with a [`Store`], you can no longer use
698
+ /// [`Memory::new`](`crate::Memory::new`),
699
+ /// [`Memory::grow`](`crate::Memory::grow`),
700
+ /// [`Table::new`](`crate::Table::new`), and
701
+ /// [`Table::grow`](`crate::Table::grow`). Instead, you must use their
702
+ /// `async` variants: [`Memory::new_async`](`crate::Memory::new_async`),
703
+ /// [`Memory::grow_async`](`crate::Memory::grow_async`),
704
+ /// [`Table::new_async`](`crate::Table::new_async`), and
705
+ /// [`Table::grow_async`](`crate::Table::grow_async`).
706
+ ///
707
+ /// Note that this limiter is only used to limit the creation/growth of
708
+ /// resources in the future, this does not retroactively attempt to apply
709
+ /// limits to the [`Store`]. Additionally this must be used with an async
710
+ /// [`Store`] configured via
711
+ /// [`Config::async_support`](crate::Config::async_support).
712
+ #[cfg(feature = "async")]
713
+ pub fn limiter_async(
714
+ &mut self,
715
+ mut limiter: impl FnMut(&mut T) -> &mut (dyn crate::ResourceLimiterAsync)
716
+ + Send
717
+ + Sync
718
+ + 'static,
719
+ ) {
720
+ debug_assert!(self.inner.async_support());
721
+ // Apply the limits on instances, tables, and memory given by the limiter:
722
+ let inner = &mut self.inner;
723
+ let (instance_limit, table_limit, memory_limit) = {
724
+ let l = limiter(&mut inner.data);
725
+ (l.instances(), l.tables(), l.memories())
726
+ };
727
+ let innermost = &mut inner.inner;
728
+ innermost.instance_limit = instance_limit;
729
+ innermost.table_limit = table_limit;
730
+ innermost.memory_limit = memory_limit;
731
+
732
+ // Save the limiter accessor function:
733
+ inner.limiter = Some(ResourceLimiterInner::Async(Box::new(limiter)));
734
+ }
735
+
736
+ /// Configures an async function that runs on calls and returns between
737
+ /// WebAssembly and host code. For the non-async equivalent of this method,
738
+ /// see [`Store::call_hook`].
739
+ ///
740
+ /// The function is passed a [`CallHook`] argument, which indicates which
741
+ /// state transition the VM is making.
742
+ ///
743
+ /// This function's future may return a [`Trap`]. If a trap is returned
744
+ /// when an import was called, it is immediately raised as-if the host
745
+ /// import had returned the trap. If a trap is returned after wasm returns
746
+ /// to the host then the wasm function's result is ignored and this trap is
747
+ /// returned instead.
748
+ ///
749
+ /// After this function returns a trap, it may be called for subsequent
750
+ /// returns to host or wasm code as the trap propagates to the root call.
751
+ #[cfg(feature = "async")]
752
+ pub fn call_hook_async(&mut self, hook: impl CallHookHandler<T> + Send + Sync + 'static) {
753
+ self.inner.call_hook = Some(CallHookInner::Async(Box::new(hook)));
754
+ }
755
+
756
+ /// Configure a function that runs on calls and returns between WebAssembly
757
+ /// and host code.
758
+ ///
759
+ /// The function is passed a [`CallHook`] argument, which indicates which
760
+ /// state transition the VM is making.
761
+ ///
762
+ /// This function may return a [`Trap`]. If a trap is returned when an
763
+ /// import was called, it is immediately raised as-if the host import had
764
+ /// returned the trap. If a trap is returned after wasm returns to the host
765
+ /// then the wasm function's result is ignored and this trap is returned
766
+ /// instead.
767
+ ///
768
+ /// After this function returns a trap, it may be called for subsequent returns
769
+ /// to host or wasm code as the trap propagates to the root call.
770
+ pub fn call_hook(
771
+ &mut self,
772
+ hook: impl FnMut(&mut T, CallHook) -> Result<()> + Send + Sync + 'static,
773
+ ) {
774
+ self.inner.call_hook = Some(CallHookInner::Sync(Box::new(hook)));
775
+ }
776
+
777
+ /// Returns the [`Engine`] that this store is associated with.
778
+ pub fn engine(&self) -> &Engine {
779
+ self.inner.engine()
780
+ }
781
+
782
+ /// Perform garbage collection.
783
+ ///
784
+ /// Note that it is not required to actively call this function. GC will
785
+ /// automatically happen according to various internal heuristics. This is
786
+ /// provided if fine-grained control over the GC is desired.
787
+ ///
788
+ /// This method is only available when the `gc` Cargo feature is enabled.
789
+ #[cfg(feature = "gc")]
790
+ pub fn gc(&mut self) {
791
+ self.inner.gc()
792
+ }
793
+
794
+ /// Perform garbage collection asynchronously.
795
+ ///
796
+ /// Note that it is not required to actively call this function. GC will
797
+ /// automatically happen according to various internal heuristics. This is
798
+ /// provided if fine-grained control over the GC is desired.
799
+ ///
800
+ /// This method is only available when the `gc` Cargo feature is enabled.
801
+ #[cfg(all(feature = "async", feature = "gc"))]
802
+ pub async fn gc_async(&mut self)
803
+ where
804
+ T: Send,
805
+ {
806
+ self.inner.gc_async().await;
807
+ }
808
+
809
+ /// Returns the amount fuel in this [`Store`]. When fuel is enabled, it must
810
+ /// be configured via [`Store::set_fuel`].
811
+ ///
812
+ /// # Errors
813
+ ///
814
+ /// This function will return an error if fuel consumption is not enabled
815
+ /// via [`Config::consume_fuel`](crate::Config::consume_fuel).
816
+ pub fn get_fuel(&self) -> Result<u64> {
817
+ self.inner.get_fuel()
818
+ }
819
+
820
+ /// Set the fuel to this [`Store`] for wasm to consume while executing.
821
+ ///
822
+ /// For this method to work fuel consumption must be enabled via
823
+ /// [`Config::consume_fuel`](crate::Config::consume_fuel). By default a
824
+ /// [`Store`] starts with 0 fuel for wasm to execute with (meaning it will
825
+ /// immediately trap). This function must be called for the store to have
826
+ /// some fuel to allow WebAssembly to execute.
827
+ ///
828
+ /// Most WebAssembly instructions consume 1 unit of fuel. Some
829
+ /// instructions, such as `nop`, `drop`, `block`, and `loop`, consume 0
830
+ /// units, as any execution cost associated with them involves other
831
+ /// instructions which do consume fuel.
832
+ ///
833
+ /// Note that when fuel is entirely consumed it will cause wasm to trap.
834
+ ///
835
+ /// # Errors
836
+ ///
837
+ /// This function will return an error if fuel consumption is not enabled via
838
+ /// [`Config::consume_fuel`](crate::Config::consume_fuel).
839
+ pub fn set_fuel(&mut self, fuel: u64) -> Result<()> {
840
+ self.inner.set_fuel(fuel)
841
+ }
842
+
843
+ /// Configures a [`Store`] to yield execution of async WebAssembly code
844
+ /// periodically.
845
+ ///
846
+ /// When a [`Store`] is configured to consume fuel with
847
+ /// [`Config::consume_fuel`](crate::Config::consume_fuel) this method will
848
+ /// configure WebAssembly to be suspended and control will be yielded back to the
849
+ /// caller every `interval` units of fuel consumed. This is only suitable with use of
850
+ /// a store associated with an [async config](crate::Config::async_support) because
851
+ /// only then are futures used and yields are possible.
852
+ ///
853
+ /// The purpose of this behavior is to ensure that futures which represent
854
+ /// execution of WebAssembly do not execute too long inside their
855
+ /// `Future::poll` method. This allows for some form of cooperative
856
+ /// multitasking where WebAssembly will voluntarily yield control
857
+ /// periodically (based on fuel consumption) back to the running thread.
858
+ ///
859
+ /// Note that futures returned by this crate will automatically flag
860
+ /// themselves to get re-polled if a yield happens. This means that
861
+ /// WebAssembly will continue to execute, just after giving the host an
862
+ /// opportunity to do something else.
863
+ ///
864
+ /// The `interval` parameter indicates how much fuel should be
865
+ /// consumed between yields of an async future. When fuel runs out wasm will trap.
866
+ ///
867
+ /// # Error
868
+ ///
869
+ /// This method will error if it is not called on a store associated with an [async
870
+ /// config](crate::Config::async_support).
871
+ pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> {
872
+ self.inner.fuel_async_yield_interval(interval)
873
+ }
874
+
875
+ /// Sets the epoch deadline to a certain number of ticks in the future.
876
+ ///
877
+ /// When the Wasm guest code is compiled with epoch-interruption
878
+ /// instrumentation
879
+ /// ([`Config::epoch_interruption()`](crate::Config::epoch_interruption)),
880
+ /// and when the `Engine`'s epoch is incremented
881
+ /// ([`Engine::increment_epoch()`](crate::Engine::increment_epoch))
882
+ /// past a deadline, execution can be configured to either trap or
883
+ /// yield and then continue.
884
+ ///
885
+ /// This deadline is always set relative to the current epoch:
886
+ /// `delta_beyond_current` ticks in the future. The deadline can
887
+ /// be set explicitly via this method, or refilled automatically
888
+ /// on a yield if configured via
889
+ /// [`epoch_deadline_async_yield_and_update()`](Store::epoch_deadline_async_yield_and_update). After
890
+ /// this method is invoked, the deadline is reached when
891
+ /// [`Engine::increment_epoch()`] has been invoked at least
892
+ /// `ticks_beyond_current` times.
893
+ ///
894
+ /// By default a store will trap immediately with an epoch deadline of 0
895
+ /// (which has always "elapsed"). This method is required to be configured
896
+ /// for stores with epochs enabled to some future epoch deadline.
897
+ ///
898
+ /// See documentation on
899
+ /// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
900
+ /// for an introduction to epoch-based interruption.
901
+ pub fn set_epoch_deadline(&mut self, ticks_beyond_current: u64) {
902
+ self.inner.set_epoch_deadline(ticks_beyond_current);
903
+ }
904
+
905
+ /// Configures epoch-deadline expiration to trap.
906
+ ///
907
+ /// When epoch-interruption-instrumented code is executed on this
908
+ /// store and the epoch deadline is reached before completion,
909
+ /// with the store configured in this way, execution will
910
+ /// terminate with a trap as soon as an epoch check in the
911
+ /// instrumented code is reached.
912
+ ///
913
+ /// This behavior is the default if the store is not otherwise
914
+ /// configured via
915
+ /// [`epoch_deadline_trap()`](Store::epoch_deadline_trap),
916
+ /// [`epoch_deadline_callback()`](Store::epoch_deadline_callback) or
917
+ /// [`epoch_deadline_async_yield_and_update()`](Store::epoch_deadline_async_yield_and_update).
918
+ ///
919
+ /// This setting is intended to allow for coarse-grained
920
+ /// interruption, but not a deterministic deadline of a fixed,
921
+ /// finite interval. For deterministic interruption, see the
922
+ /// "fuel" mechanism instead.
923
+ ///
924
+ /// Note that when this is used it's required to call
925
+ /// [`Store::set_epoch_deadline`] or otherwise wasm will always immediately
926
+ /// trap.
927
+ ///
928
+ /// See documentation on
929
+ /// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
930
+ /// for an introduction to epoch-based interruption.
931
+ pub fn epoch_deadline_trap(&mut self) {
932
+ self.inner.epoch_deadline_trap();
933
+ }
934
+
935
+ /// Configures epoch-deadline expiration to invoke a custom callback
936
+ /// function.
937
+ ///
938
+ /// When epoch-interruption-instrumented code is executed on this
939
+ /// store and the epoch deadline is reached before completion, the
940
+ /// provided callback function is invoked.
941
+ ///
942
+ /// This callback should either return an [`UpdateDeadline`], or
943
+ /// return an error, which will terminate execution with a trap.
944
+ ///
945
+ /// The [`UpdateDeadline`] is a positive number of ticks to
946
+ /// add to the epoch deadline, as well as indicating what
947
+ /// to do after the callback returns. If the [`Store`] is
948
+ /// configured with async support, then the callback may return
949
+ /// [`UpdateDeadline::Yield`] to yield to the async executor before
950
+ /// updating the epoch deadline. Alternatively, the callback may
951
+ /// return [`UpdateDeadline::Continue`] to update the epoch deadline
952
+ /// immediately.
953
+ ///
954
+ /// This setting is intended to allow for coarse-grained
955
+ /// interruption, but not a deterministic deadline of a fixed,
956
+ /// finite interval. For deterministic interruption, see the
957
+ /// "fuel" mechanism instead.
958
+ ///
959
+ /// See documentation on
960
+ /// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
961
+ /// for an introduction to epoch-based interruption.
962
+ pub fn epoch_deadline_callback(
963
+ &mut self,
964
+ callback: impl FnMut(StoreContextMut<T>) -> Result<UpdateDeadline> + Send + Sync + 'static,
965
+ ) {
966
+ self.inner.epoch_deadline_callback(Box::new(callback));
967
+ }
968
+
969
+ /// Configures epoch-deadline expiration to yield to the async
970
+ /// caller and the update the deadline.
971
+ ///
972
+ /// When epoch-interruption-instrumented code is executed on this
973
+ /// store and the epoch deadline is reached before completion,
974
+ /// with the store configured in this way, execution will yield
975
+ /// (the future will return `Pending` but re-awake itself for
976
+ /// later execution) and, upon resuming, the store will be
977
+ /// configured with an epoch deadline equal to the current epoch
978
+ /// plus `delta` ticks.
979
+ ///
980
+ /// This setting is intended to allow for cooperative timeslicing
981
+ /// of multiple CPU-bound Wasm guests in different stores, all
982
+ /// executing under the control of an async executor. To drive
983
+ /// this, stores should be configured to "yield and update"
984
+ /// automatically with this function, and some external driver (a
985
+ /// thread that wakes up periodically, or a timer
986
+ /// signal/interrupt) should call
987
+ /// [`Engine::increment_epoch()`](crate::Engine::increment_epoch).
988
+ ///
989
+ /// See documentation on
990
+ /// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
991
+ /// for an introduction to epoch-based interruption.
992
+ #[cfg(feature = "async")]
993
+ pub fn epoch_deadline_async_yield_and_update(&mut self, delta: u64) {
994
+ self.inner.epoch_deadline_async_yield_and_update(delta);
995
+ }
996
+ }
997
+
998
+ impl<'a, T> StoreContext<'a, T> {
999
+ pub(crate) fn async_support(&self) -> bool {
1000
+ self.0.async_support()
1001
+ }
1002
+
1003
+ /// Returns the underlying [`Engine`] this store is connected to.
1004
+ pub fn engine(&self) -> &Engine {
1005
+ self.0.engine()
1006
+ }
1007
+
1008
+ /// Access the underlying data owned by this `Store`.
1009
+ ///
1010
+ /// Same as [`Store::data`].
1011
+ pub fn data(&self) -> &'a T {
1012
+ self.0.data()
1013
+ }
1014
+
1015
+ /// Returns the remaining fuel in this store.
1016
+ ///
1017
+ /// For more information see [`Store::get_fuel`].
1018
+ pub fn get_fuel(&self) -> Result<u64> {
1019
+ self.0.get_fuel()
1020
+ }
1021
+ }
1022
+
1023
+ impl<'a, T> StoreContextMut<'a, T> {
1024
+ /// Access the underlying data owned by this `Store`.
1025
+ ///
1026
+ /// Same as [`Store::data`].
1027
+ pub fn data(&self) -> &T {
1028
+ self.0.data()
1029
+ }
1030
+
1031
+ /// Access the underlying data owned by this `Store`.
1032
+ ///
1033
+ /// Same as [`Store::data_mut`].
1034
+ pub fn data_mut(&mut self) -> &mut T {
1035
+ self.0.data_mut()
1036
+ }
1037
+
1038
+ /// Returns the underlying [`Engine`] this store is connected to.
1039
+ pub fn engine(&self) -> &Engine {
1040
+ self.0.engine()
1041
+ }
1042
+
1043
+ /// Perform garbage collection of `ExternRef`s.
1044
+ ///
1045
+ /// Same as [`Store::gc`].
1046
+ ///
1047
+ /// This method is only available when the `gc` Cargo feature is enabled.
1048
+ #[cfg(feature = "gc")]
1049
+ pub fn gc(&mut self) {
1050
+ self.0.gc()
1051
+ }
1052
+
1053
+ /// Perform garbage collection of `ExternRef`s.
1054
+ ///
1055
+ /// Same as [`Store::gc`].
1056
+ ///
1057
+ /// This method is only available when the `gc` Cargo feature is enabled.
1058
+ #[cfg(all(feature = "async", feature = "gc"))]
1059
+ pub async fn gc_async(&mut self)
1060
+ where
1061
+ T: Send,
1062
+ {
1063
+ self.0.gc_async().await;
1064
+ }
1065
+
1066
+ /// Returns remaining fuel in this store.
1067
+ ///
1068
+ /// For more information see [`Store::get_fuel`]
1069
+ pub fn get_fuel(&self) -> Result<u64> {
1070
+ self.0.get_fuel()
1071
+ }
1072
+
1073
+ /// Set the amount of fuel in this store.
1074
+ ///
1075
+ /// For more information see [`Store::set_fuel`]
1076
+ pub fn set_fuel(&mut self, fuel: u64) -> Result<()> {
1077
+ self.0.set_fuel(fuel)
1078
+ }
1079
+
1080
+ /// Configures this `Store` to periodically yield while executing futures.
1081
+ ///
1082
+ /// For more information see [`Store::fuel_async_yield_interval`]
1083
+ pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> {
1084
+ self.0.fuel_async_yield_interval(interval)
1085
+ }
1086
+
1087
+ /// Sets the epoch deadline to a certain number of ticks in the future.
1088
+ ///
1089
+ /// For more information see [`Store::set_epoch_deadline`].
1090
+ pub fn set_epoch_deadline(&mut self, ticks_beyond_current: u64) {
1091
+ self.0.set_epoch_deadline(ticks_beyond_current);
1092
+ }
1093
+
1094
+ /// Configures epoch-deadline expiration to trap.
1095
+ ///
1096
+ /// For more information see [`Store::epoch_deadline_trap`].
1097
+ pub fn epoch_deadline_trap(&mut self) {
1098
+ self.0.epoch_deadline_trap();
1099
+ }
1100
+
1101
+ /// Configures epoch-deadline expiration to yield to the async
1102
+ /// caller and the update the deadline.
1103
+ ///
1104
+ /// For more information see
1105
+ /// [`Store::epoch_deadline_async_yield_and_update`].
1106
+ #[cfg(feature = "async")]
1107
+ pub fn epoch_deadline_async_yield_and_update(&mut self, delta: u64) {
1108
+ self.0.epoch_deadline_async_yield_and_update(delta);
1109
+ }
1110
+ }
1111
+
1112
+ impl<T> StoreInner<T> {
1113
+ #[inline]
1114
+ fn data(&self) -> &T {
1115
+ &self.data
1116
+ }
1117
+
1118
+ #[inline]
1119
+ fn data_mut(&mut self) -> &mut T {
1120
+ &mut self.data
1121
+ }
1122
+
1123
+ #[inline]
1124
+ pub fn call_hook(&mut self, s: CallHook) -> Result<()> {
1125
+ if self.inner.pkey.is_none() && self.call_hook.is_none() {
1126
+ Ok(())
1127
+ } else {
1128
+ self.call_hook_slow_path(s)
1129
+ }
1130
+ }
1131
+
1132
+ fn call_hook_slow_path(&mut self, s: CallHook) -> Result<()> {
1133
+ if let Some(pkey) = &self.inner.pkey {
1134
+ let allocator = self.engine().allocator();
1135
+ match s {
1136
+ CallHook::CallingWasm | CallHook::ReturningFromHost => {
1137
+ allocator.restrict_to_pkey(*pkey)
1138
+ }
1139
+ CallHook::ReturningFromWasm | CallHook::CallingHost => allocator.allow_all_pkeys(),
1140
+ }
1141
+ }
1142
+
1143
+ match &mut self.call_hook {
1144
+ Some(CallHookInner::Sync(hook)) => hook(&mut self.data, s),
1145
+
1146
+ #[cfg(feature = "async")]
1147
+ Some(CallHookInner::Async(handler)) => unsafe {
1148
+ Ok(self
1149
+ .inner
1150
+ .async_cx()
1151
+ .ok_or_else(|| anyhow!("couldn't grab async_cx for call hook"))?
1152
+ .block_on(handler.handle_call_event(&mut self.data, s).as_mut())??)
1153
+ },
1154
+
1155
+ None => Ok(()),
1156
+ }
1157
+ }
1158
+ }
1159
+
1160
+ fn get_fuel(injected_fuel: i64, fuel_reserve: u64) -> u64 {
1161
+ fuel_reserve.saturating_add_signed(-injected_fuel)
1162
+ }
1163
+
1164
+ // Add remaining fuel from the reserve into the active fuel if there is any left.
1165
+ fn refuel(
1166
+ injected_fuel: &mut i64,
1167
+ fuel_reserve: &mut u64,
1168
+ yield_interval: Option<NonZeroU64>,
1169
+ ) -> bool {
1170
+ let fuel = get_fuel(*injected_fuel, *fuel_reserve);
1171
+ if fuel > 0 {
1172
+ set_fuel(injected_fuel, fuel_reserve, yield_interval, fuel);
1173
+ true
1174
+ } else {
1175
+ false
1176
+ }
1177
+ }
1178
+
1179
+ fn set_fuel(
1180
+ injected_fuel: &mut i64,
1181
+ fuel_reserve: &mut u64,
1182
+ yield_interval: Option<NonZeroU64>,
1183
+ new_fuel_amount: u64,
1184
+ ) {
1185
+ let interval = yield_interval.unwrap_or(NonZeroU64::MAX).get();
1186
+ // If we're yielding periodically we only store the "active" amount of fuel into consumed_ptr
1187
+ // for the VM to use.
1188
+ let injected = core::cmp::min(interval, new_fuel_amount);
1189
+ // Fuel in the VM is stored as an i64, so we have to cap the amount of fuel we inject into the
1190
+ // VM at once to be i64 range.
1191
+ let injected = core::cmp::min(injected, i64::MAX as u64);
1192
+ // Add whatever is left over after injection to the reserve for later use.
1193
+ *fuel_reserve = new_fuel_amount - injected;
1194
+ // Within the VM we increment to count fuel, so inject a negative amount. The VM will halt when
1195
+ // this counter is positive.
1196
+ *injected_fuel = -(injected as i64);
1197
+ }
1198
+
1199
+ #[doc(hidden)]
1200
+ impl StoreOpaque {
1201
+ pub fn id(&self) -> StoreId {
1202
+ self.store_data.id()
1203
+ }
1204
+
1205
+ pub fn bump_resource_counts(&mut self, module: &Module) -> Result<()> {
1206
+ fn bump(slot: &mut usize, max: usize, amt: usize, desc: &str) -> Result<()> {
1207
+ let new = slot.saturating_add(amt);
1208
+ if new > max {
1209
+ bail!(
1210
+ "resource limit exceeded: {} count too high at {}",
1211
+ desc,
1212
+ new
1213
+ );
1214
+ }
1215
+ *slot = new;
1216
+ Ok(())
1217
+ }
1218
+
1219
+ let module = module.env_module();
1220
+ let memories = module.memory_plans.len() - module.num_imported_memories;
1221
+ let tables = module.table_plans.len() - module.num_imported_tables;
1222
+
1223
+ bump(&mut self.instance_count, self.instance_limit, 1, "instance")?;
1224
+ bump(
1225
+ &mut self.memory_count,
1226
+ self.memory_limit,
1227
+ memories,
1228
+ "memory",
1229
+ )?;
1230
+ bump(&mut self.table_count, self.table_limit, tables, "table")?;
1231
+
1232
+ Ok(())
1233
+ }
1234
+
1235
+ #[inline]
1236
+ pub fn async_support(&self) -> bool {
1237
+ cfg!(feature = "async") && self.engine().config().async_support
1238
+ }
1239
+
1240
+ #[inline]
1241
+ pub fn engine(&self) -> &Engine {
1242
+ &self.engine
1243
+ }
1244
+
1245
+ #[inline]
1246
+ pub fn store_data(&self) -> &StoreData {
1247
+ &self.store_data
1248
+ }
1249
+
1250
+ #[inline]
1251
+ pub fn store_data_mut(&mut self) -> &mut StoreData {
1252
+ &mut self.store_data
1253
+ }
1254
+
1255
+ #[inline]
1256
+ pub(crate) fn modules(&self) -> &ModuleRegistry {
1257
+ &self.modules
1258
+ }
1259
+
1260
+ #[inline]
1261
+ pub(crate) fn modules_mut(&mut self) -> &mut ModuleRegistry {
1262
+ &mut self.modules
1263
+ }
1264
+
1265
+ pub(crate) fn func_refs(&mut self) -> &mut FuncRefs {
1266
+ &mut self.func_refs
1267
+ }
1268
+
1269
+ pub(crate) fn fill_func_refs(&mut self) {
1270
+ self.func_refs.fill(&mut self.modules);
1271
+ }
1272
+
1273
+ pub(crate) fn push_instance_pre_func_refs(&mut self, func_refs: Arc<[VMFuncRef]>) {
1274
+ self.func_refs.push_instance_pre_func_refs(func_refs);
1275
+ }
1276
+
1277
+ pub(crate) fn host_globals(&mut self) -> &mut Vec<StoreBox<VMHostGlobalContext>> {
1278
+ &mut self.host_globals
1279
+ }
1280
+
1281
+ pub fn module_for_instance(&self, instance: InstanceId) -> Option<&'_ Module> {
1282
+ match self.instances[instance.0].kind {
1283
+ StoreInstanceKind::Dummy => None,
1284
+ StoreInstanceKind::Real { module_id } => {
1285
+ let module = self
1286
+ .modules()
1287
+ .lookup_module_by_id(module_id)
1288
+ .expect("should always have a registered module for real instances");
1289
+ Some(module)
1290
+ }
1291
+ }
1292
+ }
1293
+
1294
+ pub unsafe fn add_instance(
1295
+ &mut self,
1296
+ handle: InstanceHandle,
1297
+ module_id: RegisteredModuleId,
1298
+ ) -> InstanceId {
1299
+ self.instances.push(StoreInstance {
1300
+ handle: handle.clone(),
1301
+ kind: StoreInstanceKind::Real { module_id },
1302
+ });
1303
+ InstanceId(self.instances.len() - 1)
1304
+ }
1305
+
1306
+ /// Add a dummy instance that to the store.
1307
+ ///
1308
+ /// These are instances that are just implementation details of something
1309
+ /// else (e.g. host-created memories that are not actually defined in any
1310
+ /// Wasm module) and therefore shouldn't show up in things like core dumps.
1311
+ pub unsafe fn add_dummy_instance(&mut self, handle: InstanceHandle) -> InstanceId {
1312
+ self.instances.push(StoreInstance {
1313
+ handle: handle.clone(),
1314
+ kind: StoreInstanceKind::Dummy,
1315
+ });
1316
+ InstanceId(self.instances.len() - 1)
1317
+ }
1318
+
1319
+ pub fn instance(&self, id: InstanceId) -> &InstanceHandle {
1320
+ &self.instances[id.0].handle
1321
+ }
1322
+
1323
+ pub fn instance_mut(&mut self, id: InstanceId) -> &mut InstanceHandle {
1324
+ &mut self.instances[id.0].handle
1325
+ }
1326
+
1327
+ /// Get all instances (ignoring dummy instances) within this store.
1328
+ pub fn all_instances<'a>(&'a mut self) -> impl ExactSizeIterator<Item = Instance> + 'a {
1329
+ let instances = self
1330
+ .instances
1331
+ .iter()
1332
+ .enumerate()
1333
+ .filter_map(|(idx, inst)| {
1334
+ let id = InstanceId::from_index(idx);
1335
+ if let StoreInstanceKind::Dummy = inst.kind {
1336
+ None
1337
+ } else {
1338
+ Some(InstanceData::from_id(id))
1339
+ }
1340
+ })
1341
+ .collect::<Vec<_>>();
1342
+ instances
1343
+ .into_iter()
1344
+ .map(|i| Instance::from_wasmtime(i, self))
1345
+ }
1346
+
1347
+ /// Get all memories (host- or Wasm-defined) within this store.
1348
+ pub fn all_memories<'a>(&'a mut self) -> impl Iterator<Item = Memory> + 'a {
1349
+ // NB: Host-created memories have dummy instances. Therefore, we can get
1350
+ // all memories in the store by iterating over all instances (including
1351
+ // dummy instances) and getting each of their defined memories.
1352
+ let mems = self
1353
+ .instances
1354
+ .iter_mut()
1355
+ .flat_map(|instance| instance.handle.defined_memories())
1356
+ .collect::<Vec<_>>();
1357
+ mems.into_iter()
1358
+ .map(|memory| unsafe { Memory::from_wasmtime_memory(memory, self) })
1359
+ }
1360
+
1361
+ /// Iterate over all tables (host- or Wasm-defined) within this store.
1362
+ pub fn for_each_table(&mut self, mut f: impl FnMut(&mut Self, Table)) {
1363
+ // NB: Host-created tables have dummy instances. Therefore, we can get
1364
+ // all memories in the store by iterating over all instances (including
1365
+ // dummy instances) and getting each of their defined memories.
1366
+
1367
+ struct TempTakeInstances<'a> {
1368
+ instances: Vec<StoreInstance>,
1369
+ store: &'a mut StoreOpaque,
1370
+ }
1371
+
1372
+ impl<'a> TempTakeInstances<'a> {
1373
+ fn new(store: &'a mut StoreOpaque) -> Self {
1374
+ let instances = mem::take(&mut store.instances);
1375
+ Self { instances, store }
1376
+ }
1377
+ }
1378
+
1379
+ impl Drop for TempTakeInstances<'_> {
1380
+ fn drop(&mut self) {
1381
+ assert!(self.store.instances.is_empty());
1382
+ self.store.instances = mem::take(&mut self.instances);
1383
+ }
1384
+ }
1385
+
1386
+ let mut temp = TempTakeInstances::new(self);
1387
+ for instance in temp.instances.iter_mut() {
1388
+ for table in instance.handle.defined_tables() {
1389
+ let table = unsafe { Table::from_wasmtime_table(table, temp.store) };
1390
+ f(temp.store, table);
1391
+ }
1392
+ }
1393
+ }
1394
+
1395
+ /// Iterate over all globals (host- or Wasm-defined) within this store.
1396
+ pub fn for_each_global(&mut self, mut f: impl FnMut(&mut Self, Global)) {
1397
+ struct TempTakeHostGlobalsAndInstances<'a> {
1398
+ host_globals: Vec<StoreBox<VMHostGlobalContext>>,
1399
+ instances: Vec<StoreInstance>,
1400
+ store: &'a mut StoreOpaque,
1401
+ }
1402
+
1403
+ impl<'a> TempTakeHostGlobalsAndInstances<'a> {
1404
+ fn new(store: &'a mut StoreOpaque) -> Self {
1405
+ let host_globals = mem::take(&mut store.host_globals);
1406
+ let instances = mem::take(&mut store.instances);
1407
+ Self {
1408
+ host_globals,
1409
+ instances,
1410
+ store,
1411
+ }
1412
+ }
1413
+ }
1414
+
1415
+ impl Drop for TempTakeHostGlobalsAndInstances<'_> {
1416
+ fn drop(&mut self) {
1417
+ assert!(self.store.host_globals.is_empty());
1418
+ self.store.host_globals = mem::take(&mut self.host_globals);
1419
+ assert!(self.store.instances.is_empty());
1420
+ self.store.instances = mem::take(&mut self.instances);
1421
+ }
1422
+ }
1423
+
1424
+ let mut temp = TempTakeHostGlobalsAndInstances::new(self);
1425
+ unsafe {
1426
+ // First enumerate all the host-created globals.
1427
+ for global in temp.host_globals.iter() {
1428
+ let export = ExportGlobal {
1429
+ definition: &mut (*global.get()).global as *mut _,
1430
+ vmctx: core::ptr::null_mut(),
1431
+ global: (*global.get()).ty.to_wasm_type(),
1432
+ };
1433
+ let global = Global::from_wasmtime_global(export, temp.store);
1434
+ f(temp.store, global);
1435
+ }
1436
+
1437
+ // Then enumerate all instances' defined globals.
1438
+ for instance in temp.instances.iter_mut() {
1439
+ for (_, export) in instance.handle.defined_globals() {
1440
+ let global = Global::from_wasmtime_global(export, temp.store);
1441
+ f(temp.store, global);
1442
+ }
1443
+ }
1444
+ }
1445
+ }
1446
+
1447
+ #[cfg_attr(not(target_os = "linux"), allow(dead_code))] // not used on all platforms
1448
+ pub fn set_signal_handler(&mut self, handler: Option<Box<SignalHandler<'static>>>) {
1449
+ self.signal_handler = handler;
1450
+ }
1451
+
1452
+ #[inline]
1453
+ pub fn runtime_limits(&self) -> &VMRuntimeLimits {
1454
+ &self.runtime_limits
1455
+ }
1456
+
1457
+ #[inline(never)]
1458
+ pub(crate) fn allocate_gc_heap(&mut self) -> Result<()> {
1459
+ assert!(self.gc_store.is_none());
1460
+ let gc_store = allocate_gc_store(self.engine())?;
1461
+ self.gc_store = Some(gc_store);
1462
+ return Ok(());
1463
+
1464
+ #[cfg(feature = "gc")]
1465
+ fn allocate_gc_store(engine: &Engine) -> Result<GcStore> {
1466
+ let (index, heap) = if engine
1467
+ .config()
1468
+ .features
1469
+ .contains(wasmparser::WasmFeatures::REFERENCE_TYPES)
1470
+ {
1471
+ engine
1472
+ .allocator()
1473
+ .allocate_gc_heap(&**engine.gc_runtime())?
1474
+ } else {
1475
+ (
1476
+ GcHeapAllocationIndex::default(),
1477
+ crate::runtime::vm::disabled_gc_heap(),
1478
+ )
1479
+ };
1480
+ Ok(GcStore::new(index, heap))
1481
+ }
1482
+
1483
+ #[cfg(not(feature = "gc"))]
1484
+ fn allocate_gc_store(_engine: &Engine) -> Result<GcStore> {
1485
+ Ok(GcStore::new(
1486
+ GcHeapAllocationIndex::default(),
1487
+ crate::runtime::vm::disabled_gc_heap(),
1488
+ ))
1489
+ }
1490
+ }
1491
+
1492
+ #[inline]
1493
+ #[cfg(feature = "gc")]
1494
+ pub(crate) fn gc_store(&self) -> Result<&GcStore> {
1495
+ match &self.gc_store {
1496
+ Some(gc_store) => Ok(gc_store),
1497
+ None => bail!("GC heap not initialized yet"),
1498
+ }
1499
+ }
1500
+
1501
+ #[inline]
1502
+ pub(crate) fn gc_store_mut(&mut self) -> Result<&mut GcStore> {
1503
+ if self.gc_store.is_none() {
1504
+ self.allocate_gc_heap()?;
1505
+ }
1506
+ Ok(self.unwrap_gc_store_mut())
1507
+ }
1508
+
1509
+ #[inline]
1510
+ #[cfg(feature = "gc")]
1511
+ pub(crate) fn unwrap_gc_store(&self) -> &GcStore {
1512
+ self.gc_store
1513
+ .as_ref()
1514
+ .expect("attempted to access the store's GC heap before it has been allocated")
1515
+ }
1516
+
1517
+ #[inline]
1518
+ pub(crate) fn unwrap_gc_store_mut(&mut self) -> &mut GcStore {
1519
+ self.gc_store
1520
+ .as_mut()
1521
+ .expect("attempted to access the store's GC heap before it has been allocated")
1522
+ }
1523
+
1524
+ #[inline]
1525
+ pub(crate) fn gc_roots(&self) -> &RootSet {
1526
+ &self.gc_roots
1527
+ }
1528
+
1529
+ #[inline]
1530
+ pub(crate) fn gc_roots_mut(&mut self) -> &mut RootSet {
1531
+ &mut self.gc_roots
1532
+ }
1533
+
1534
+ #[inline]
1535
+ pub(crate) fn exit_gc_lifo_scope(&mut self, scope: usize) {
1536
+ if let Some(gc_store) = self.gc_store.as_mut() {
1537
+ self.gc_roots.exit_lifo_scope(gc_store, scope);
1538
+ }
1539
+ }
1540
+
1541
+ #[cfg(feature = "gc")]
1542
+ pub fn gc(&mut self) {
1543
+ // If the GC heap hasn't been initialized, there is nothing to collect.
1544
+ if self.gc_store.is_none() {
1545
+ return;
1546
+ }
1547
+
1548
+ // Take the GC roots out of `self` so we can borrow it mutably but still
1549
+ // call mutable methods on `self`.
1550
+ let mut roots = core::mem::take(&mut self.gc_roots_list);
1551
+
1552
+ self.trace_roots(&mut roots);
1553
+ self.unwrap_gc_store_mut().gc(unsafe { roots.iter() });
1554
+
1555
+ // Restore the GC roots for the next GC.
1556
+ roots.clear();
1557
+ self.gc_roots_list = roots;
1558
+ }
1559
+
1560
+ #[inline]
1561
+ #[cfg(not(feature = "gc"))]
1562
+ pub fn gc(&mut self) {
1563
+ // Nothing to collect.
1564
+ //
1565
+ // Note that this is *not* a public method, this is just defined for the
1566
+ // crate-internal `StoreOpaque` type. This is a convenience so that we
1567
+ // don't have to `cfg` every call site.
1568
+ }
1569
+
1570
+ #[cfg(feature = "gc")]
1571
+ fn trace_roots(&mut self, gc_roots_list: &mut GcRootsList) {
1572
+ log::trace!("Begin trace GC roots");
1573
+
1574
+ // We shouldn't have any leftover, stale GC roots.
1575
+ assert!(gc_roots_list.is_empty());
1576
+
1577
+ self.trace_wasm_stack_roots(gc_roots_list);
1578
+ self.trace_vmctx_roots(gc_roots_list);
1579
+ self.trace_user_roots(gc_roots_list);
1580
+
1581
+ log::trace!("End trace GC roots")
1582
+ }
1583
+
1584
+ #[cfg(all(feature = "async", feature = "gc"))]
1585
+ pub async fn gc_async(&mut self) {
1586
+ assert!(
1587
+ self.async_support(),
1588
+ "cannot use `gc_async` without enabling async support in the config",
1589
+ );
1590
+
1591
+ // If the GC heap hasn't been initialized, there is nothing to collect.
1592
+ if self.gc_store.is_none() {
1593
+ return;
1594
+ }
1595
+
1596
+ // Take the GC roots out of `self` so we can borrow it mutably but still
1597
+ // call mutable methods on `self`.
1598
+ let mut roots = std::mem::take(&mut self.gc_roots_list);
1599
+
1600
+ self.trace_roots_async(&mut roots).await;
1601
+ self.unwrap_gc_store_mut()
1602
+ .gc_async(unsafe { roots.iter() })
1603
+ .await;
1604
+
1605
+ // Restore the GC roots for the next GC.
1606
+ roots.clear();
1607
+ self.gc_roots_list = roots;
1608
+ }
1609
+
1610
+ #[inline]
1611
+ #[cfg(all(feature = "async", not(feature = "gc")))]
1612
+ pub async fn gc_async(&mut self) {
1613
+ // Nothing to collect.
1614
+ //
1615
+ // Note that this is *not* a public method, this is just defined for the
1616
+ // crate-internal `StoreOpaque` type. This is a convenience so that we
1617
+ // don't have to `cfg` every call site.
1618
+ }
1619
+
1620
+ #[cfg(all(feature = "async", feature = "gc"))]
1621
+ async fn trace_roots_async(&mut self, gc_roots_list: &mut GcRootsList) {
1622
+ use crate::runtime::vm::Yield;
1623
+
1624
+ log::trace!("Begin trace GC roots");
1625
+
1626
+ // We shouldn't have any leftover, stale GC roots.
1627
+ assert!(gc_roots_list.is_empty());
1628
+
1629
+ self.trace_wasm_stack_roots(gc_roots_list);
1630
+ Yield::new().await;
1631
+ self.trace_vmctx_roots(gc_roots_list);
1632
+ Yield::new().await;
1633
+ self.trace_user_roots(gc_roots_list);
1634
+
1635
+ log::trace!("End trace GC roots")
1636
+ }
1637
+
1638
+ #[cfg(feature = "gc")]
1639
+ fn trace_wasm_stack_roots(&mut self, gc_roots_list: &mut GcRootsList) {
1640
+ use core::ptr::NonNull;
1641
+
1642
+ use crate::runtime::vm::{ModuleInfoLookup, SendSyncPtr};
1643
+
1644
+ log::trace!("Begin trace GC roots :: Wasm stack");
1645
+
1646
+ Backtrace::trace(self.vmruntime_limits().cast_const(), |frame| {
1647
+ let pc = frame.pc();
1648
+ debug_assert!(pc != 0, "we should always get a valid PC for Wasm frames");
1649
+
1650
+ let fp = frame.fp();
1651
+ debug_assert!(
1652
+ fp != 0,
1653
+ "we should always get a valid frame pointer for Wasm frames"
1654
+ );
1655
+ let module_info = self
1656
+ .modules()
1657
+ .lookup(pc)
1658
+ .expect("should have module info for Wasm frame");
1659
+
1660
+ let stack_map = match module_info.lookup_stack_map(pc) {
1661
+ Some(sm) => sm,
1662
+ None => {
1663
+ log::trace!("No stack map for this Wasm frame");
1664
+ return core::ops::ControlFlow::Continue(());
1665
+ }
1666
+ };
1667
+ log::trace!(
1668
+ "We have a stack map that maps {} words in this Wasm frame",
1669
+ stack_map.mapped_words()
1670
+ );
1671
+
1672
+ let sp = fp - stack_map.mapped_words() as usize * mem::size_of::<usize>();
1673
+
1674
+ for i in 0..(stack_map.mapped_words() as usize) {
1675
+ // Stack maps have one bit per word in the frame, and the
1676
+ // zero^th bit is the *lowest* addressed word in the frame,
1677
+ // i.e. the closest to the SP. So to get the `i`^th word in
1678
+ // this frame, we add `i * sizeof(word)` to the SP.
1679
+ let stack_slot = sp + i * mem::size_of::<usize>();
1680
+ let stack_slot = stack_slot as *mut u64;
1681
+
1682
+ if !stack_map.get_bit(i) {
1683
+ log::trace!("Stack slot @ {stack_slot:p} does not contain gc_refs");
1684
+ continue;
1685
+ }
1686
+
1687
+ let gc_ref = unsafe { core::ptr::read(stack_slot) };
1688
+ log::trace!("Stack slot @ {stack_slot:p} = {gc_ref:#x}");
1689
+
1690
+ let gc_ref = VMGcRef::from_r64(gc_ref)
1691
+ .expect("we should never use the high 32 bits of an r64");
1692
+
1693
+ if gc_ref.is_some() {
1694
+ unsafe {
1695
+ gc_roots_list.add_wasm_stack_root(SendSyncPtr::new(
1696
+ NonNull::new(stack_slot).unwrap(),
1697
+ ));
1698
+ }
1699
+ }
1700
+ }
1701
+
1702
+ core::ops::ControlFlow::Continue(())
1703
+ });
1704
+
1705
+ log::trace!("End trace GC roots :: Wasm stack");
1706
+ }
1707
+
1708
+ #[cfg(feature = "gc")]
1709
+ fn trace_vmctx_roots(&mut self, gc_roots_list: &mut GcRootsList) {
1710
+ log::trace!("Begin trace GC roots :: vmctx");
1711
+ self.for_each_global(|store, global| global.trace_root(store, gc_roots_list));
1712
+ self.for_each_table(|store, table| table.trace_roots(store, gc_roots_list));
1713
+ log::trace!("End trace GC roots :: vmctx");
1714
+ }
1715
+
1716
+ #[cfg(feature = "gc")]
1717
+ fn trace_user_roots(&mut self, gc_roots_list: &mut GcRootsList) {
1718
+ log::trace!("Begin trace GC roots :: user");
1719
+ self.gc_roots.trace_roots(gc_roots_list);
1720
+ log::trace!("End trace GC roots :: user");
1721
+ }
1722
+
1723
+ /// Yields the async context, assuming that we are executing on a fiber and
1724
+ /// that fiber is not in the process of dying. This function will return
1725
+ /// None in the latter case (the fiber is dying), and panic if
1726
+ /// `async_support()` is false.
1727
+ #[cfg(feature = "async")]
1728
+ #[inline]
1729
+ pub fn async_cx(&self) -> Option<AsyncCx> {
1730
+ assert!(self.async_support());
1731
+
1732
+ let poll_cx_box_ptr = self.async_state.current_poll_cx.get();
1733
+ if poll_cx_box_ptr.is_null() {
1734
+ return None;
1735
+ }
1736
+
1737
+ let poll_cx_inner_ptr = unsafe { *poll_cx_box_ptr };
1738
+ if poll_cx_inner_ptr.is_null() {
1739
+ return None;
1740
+ }
1741
+
1742
+ Some(AsyncCx {
1743
+ current_suspend: self.async_state.current_suspend.get(),
1744
+ current_poll_cx: poll_cx_box_ptr,
1745
+ track_pkey_context_switch: self.pkey.is_some(),
1746
+ })
1747
+ }
1748
+
1749
+ pub fn get_fuel(&self) -> Result<u64> {
1750
+ anyhow::ensure!(
1751
+ self.engine().tunables().consume_fuel,
1752
+ "fuel is not configured in this store"
1753
+ );
1754
+ let injected_fuel = unsafe { *self.runtime_limits.fuel_consumed.get() };
1755
+ Ok(get_fuel(injected_fuel, self.fuel_reserve))
1756
+ }
1757
+
1758
+ fn refuel(&mut self) -> bool {
1759
+ let injected_fuel = unsafe { &mut *self.runtime_limits.fuel_consumed.get() };
1760
+ refuel(
1761
+ injected_fuel,
1762
+ &mut self.fuel_reserve,
1763
+ self.fuel_yield_interval,
1764
+ )
1765
+ }
1766
+
1767
+ pub fn set_fuel(&mut self, fuel: u64) -> Result<()> {
1768
+ anyhow::ensure!(
1769
+ self.engine().tunables().consume_fuel,
1770
+ "fuel is not configured in this store"
1771
+ );
1772
+ let injected_fuel = unsafe { &mut *self.runtime_limits.fuel_consumed.get() };
1773
+ set_fuel(
1774
+ injected_fuel,
1775
+ &mut self.fuel_reserve,
1776
+ self.fuel_yield_interval,
1777
+ fuel,
1778
+ );
1779
+ Ok(())
1780
+ }
1781
+
1782
+ pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> {
1783
+ anyhow::ensure!(
1784
+ self.engine().tunables().consume_fuel,
1785
+ "fuel is not configured in this store"
1786
+ );
1787
+ anyhow::ensure!(
1788
+ self.engine().config().async_support,
1789
+ "async support is not configured in this store"
1790
+ );
1791
+ anyhow::ensure!(
1792
+ interval != Some(0),
1793
+ "fuel_async_yield_interval must not be 0"
1794
+ );
1795
+ self.fuel_yield_interval = interval.and_then(|i| NonZeroU64::new(i));
1796
+ // Reset the fuel active + reserve states by resetting the amount.
1797
+ self.set_fuel(self.get_fuel()?)
1798
+ }
1799
+
1800
+ /// Yields execution to the caller on out-of-gas or epoch interruption.
1801
+ ///
1802
+ /// This only works on async futures and stores, and assumes that we're
1803
+ /// executing on a fiber. This will yield execution back to the caller once.
1804
+ #[cfg(feature = "async")]
1805
+ fn async_yield_impl(&mut self) -> Result<()> {
1806
+ use crate::runtime::vm::Yield;
1807
+
1808
+ let mut future = Yield::new();
1809
+
1810
+ // When control returns, we have a `Result<()>` passed
1811
+ // in from the host fiber. If this finished successfully then
1812
+ // we were resumed normally via a `poll`, so keep going. If
1813
+ // the future was dropped while we were yielded, then we need
1814
+ // to clean up this fiber. Do so by raising a trap which will
1815
+ // abort all wasm and get caught on the other side to clean
1816
+ // things up.
1817
+ unsafe {
1818
+ self.async_cx()
1819
+ .expect("attempted to pull async context during shutdown")
1820
+ .block_on(Pin::new_unchecked(&mut future))
1821
+ }
1822
+ }
1823
+
1824
+ #[inline]
1825
+ pub fn signal_handler(&self) -> Option<*const SignalHandler<'static>> {
1826
+ let handler = self.signal_handler.as_ref()?;
1827
+ Some(&**handler as *const _)
1828
+ }
1829
+
1830
+ #[inline]
1831
+ pub fn vmruntime_limits(&self) -> *mut VMRuntimeLimits {
1832
+ &self.runtime_limits as *const VMRuntimeLimits as *mut VMRuntimeLimits
1833
+ }
1834
+
1835
+ #[inline]
1836
+ pub fn default_caller(&self) -> *mut VMContext {
1837
+ self.default_caller.vmctx()
1838
+ }
1839
+
1840
+ pub fn traitobj(&self) -> *mut dyn crate::runtime::vm::Store {
1841
+ self.default_caller.store()
1842
+ }
1843
+
1844
+ /// Takes the cached `Vec<Val>` stored internally across hostcalls to get
1845
+ /// used as part of calling the host in a `Func::new` method invocation.
1846
+ #[inline]
1847
+ pub fn take_hostcall_val_storage(&mut self) -> Vec<Val> {
1848
+ mem::take(&mut self.hostcall_val_storage)
1849
+ }
1850
+
1851
+ /// Restores the vector previously taken by `take_hostcall_val_storage`
1852
+ /// above back into the store, allowing it to be used in the future for the
1853
+ /// next wasm->host call.
1854
+ #[inline]
1855
+ pub fn save_hostcall_val_storage(&mut self, storage: Vec<Val>) {
1856
+ if storage.capacity() > self.hostcall_val_storage.capacity() {
1857
+ self.hostcall_val_storage = storage;
1858
+ }
1859
+ }
1860
+
1861
+ /// Same as `take_hostcall_val_storage`, but for the direction of the host
1862
+ /// calling wasm.
1863
+ #[inline]
1864
+ pub fn take_wasm_val_raw_storage(&mut self) -> Vec<ValRaw> {
1865
+ mem::take(&mut self.wasm_val_raw_storage)
1866
+ }
1867
+
1868
+ /// Same as `save_hostcall_val_storage`, but for the direction of the host
1869
+ /// calling wasm.
1870
+ #[inline]
1871
+ pub fn save_wasm_val_raw_storage(&mut self, storage: Vec<ValRaw>) {
1872
+ if storage.capacity() > self.wasm_val_raw_storage.capacity() {
1873
+ self.wasm_val_raw_storage = storage;
1874
+ }
1875
+ }
1876
+
1877
+ pub(crate) fn push_rooted_funcs(&mut self, funcs: Arc<[Definition]>) {
1878
+ self.rooted_host_funcs.push(funcs);
1879
+ }
1880
+
1881
+ /// Translates a WebAssembly fault at the native `pc` and native `addr` to a
1882
+ /// WebAssembly-relative fault.
1883
+ ///
1884
+ /// This function may abort the process if `addr` is not found to actually
1885
+ /// reside in any linear memory. In such a situation it means that the
1886
+ /// segfault was erroneously caught by Wasmtime and is possibly indicative
1887
+ /// of a code generator bug.
1888
+ ///
1889
+ /// This function returns `None` for dynamically-bounds-checked-memories
1890
+ /// with spectre mitigations enabled since the hardware fault address is
1891
+ /// always zero in these situations which means that the trapping context
1892
+ /// doesn't have enough information to report the fault address.
1893
+ pub(crate) fn wasm_fault(&self, pc: usize, addr: usize) -> Option<WasmFault> {
1894
+ // There are a few instances where a "close to zero" pointer is loaded
1895
+ // and we expect that to happen:
1896
+ //
1897
+ // * Explicitly bounds-checked memories with spectre-guards enabled will
1898
+ // cause out-of-bounds accesses to get routed to address 0, so allow
1899
+ // wasm instructions to fault on the null address.
1900
+ // * `call_indirect` when invoking a null function pointer may load data
1901
+ // from the a `VMFuncRef` whose address is null, meaning any field of
1902
+ // `VMFuncRef` could be the address of the fault.
1903
+ //
1904
+ // In these situations where the address is so small it won't be in any
1905
+ // instance, so skip the checks below.
1906
+ if addr <= mem::size_of::<VMFuncRef>() {
1907
+ const _: () = {
1908
+ // static-assert that `VMFuncRef` isn't too big to ensure that
1909
+ // it lives solely within the first page as we currently only
1910
+ // have the guarantee that the first page of memory is unmapped,
1911
+ // no more.
1912
+ assert!(mem::size_of::<VMFuncRef>() <= 512);
1913
+ };
1914
+ return None;
1915
+ }
1916
+
1917
+ // Search all known instances in this store for this address. Note that
1918
+ // this is probably not the speediest way to do this. Traps, however,
1919
+ // are generally not expected to be super fast and additionally stores
1920
+ // probably don't have all that many instances or memories.
1921
+ //
1922
+ // If this loop becomes hot in the future, however, it should be
1923
+ // possible to precompute maps about linear memories in a store and have
1924
+ // a quicker lookup.
1925
+ let mut fault = None;
1926
+ for instance in self.instances.iter() {
1927
+ if let Some(f) = instance.handle.wasm_fault(addr) {
1928
+ assert!(fault.is_none());
1929
+ fault = Some(f);
1930
+ }
1931
+ }
1932
+ if fault.is_some() {
1933
+ return fault;
1934
+ }
1935
+
1936
+ cfg_if::cfg_if! {
1937
+ if #[cfg(any(feature = "std", unix, windows))] {
1938
+ // With the standard library a rich error can be printed here
1939
+ // to stderr and the native abort path is used.
1940
+ eprintln!(
1941
+ "\
1942
+ Wasmtime caught a segfault for a wasm program because the faulting instruction
1943
+ is allowed to segfault due to how linear memories are implemented. The address
1944
+ that was accessed, however, is not known to any linear memory in use within this
1945
+ Store. This may be indicative of a critical bug in Wasmtime's code generation
1946
+ because all addresses which are known to be reachable from wasm won't reach this
1947
+ message.
1948
+
1949
+ pc: 0x{pc:x}
1950
+ address: 0x{addr:x}
1951
+
1952
+ This is a possible security issue because WebAssembly has accessed something it
1953
+ shouldn't have been able to. Other accesses may have succeeded and this one just
1954
+ happened to be caught. The process will now be aborted to prevent this damage
1955
+ from going any further and to alert what's going on. If this is a security
1956
+ issue please reach out to the Wasmtime team via its security policy
1957
+ at https://bytecodealliance.org/security.
1958
+ "
1959
+ );
1960
+ std::process::abort();
1961
+ } else if #[cfg(panic = "abort")] {
1962
+ // Without the standard library but with `panic=abort` then
1963
+ // it's safe to panic as that's known to halt execution. For
1964
+ // now avoid the above error message as well since without
1965
+ // `std` it's probably best to be a bit more size-conscious.
1966
+ let _ = pc;
1967
+ panic!("invalid fault");
1968
+ } else {
1969
+ // Without `std` and with `panic = "unwind"` there's no way to
1970
+ // abort the process portably, so flag a compile time error.
1971
+ //
1972
+ // NB: if this becomes a problem in the future one option would
1973
+ // be to extend the `capi.rs` module for no_std platforms, but
1974
+ // it remains yet to be seen at this time if this is hit much.
1975
+ compile_error!("either `std` or `panic=abort` must be enabled");
1976
+ None
1977
+ }
1978
+ }
1979
+ }
1980
+
1981
+ /// Retrieve the store's protection key.
1982
+ #[inline]
1983
+ pub(crate) fn get_pkey(&self) -> Option<ProtectionKey> {
1984
+ self.pkey.clone()
1985
+ }
1986
+
1987
+ #[inline]
1988
+ #[cfg(feature = "component-model")]
1989
+ pub(crate) fn component_resource_state(
1990
+ &mut self,
1991
+ ) -> (
1992
+ &mut crate::runtime::vm::component::CallContexts,
1993
+ &mut crate::runtime::vm::component::ResourceTable,
1994
+ &mut crate::component::HostResourceData,
1995
+ ) {
1996
+ (
1997
+ &mut self.component_calls,
1998
+ &mut self.component_host_table,
1999
+ &mut self.host_resource_data,
2000
+ )
2001
+ }
2002
+
2003
+ #[cfg(feature = "component-model")]
2004
+ pub(crate) fn push_component_instance(&mut self, instance: crate::component::Instance) {
2005
+ // We don't actually need the instance itself right now, but it seems
2006
+ // like something we will almost certainly eventually want to keep
2007
+ // around, so force callers to provide it.
2008
+ let _ = instance;
2009
+
2010
+ self.num_component_instances += 1;
2011
+ }
2012
+ }
2013
+
2014
+ impl<T> StoreContextMut<'_, T> {
2015
+ /// Executes a synchronous computation `func` asynchronously on a new fiber.
2016
+ ///
2017
+ /// This function will convert the synchronous `func` into an asynchronous
2018
+ /// future. This is done by running `func` in a fiber on a separate native
2019
+ /// stack which can be suspended and resumed from.
2020
+ ///
2021
+ /// Most of the nitty-gritty here is how we juggle the various contexts
2022
+ /// necessary to suspend the fiber later on and poll sub-futures. It's hoped
2023
+ /// that the various comments are illuminating as to what's going on here.
2024
+ #[cfg(feature = "async")]
2025
+ pub(crate) async fn on_fiber<R>(
2026
+ &mut self,
2027
+ func: impl FnOnce(&mut StoreContextMut<'_, T>) -> R + Send,
2028
+ ) -> Result<R>
2029
+ where
2030
+ T: Send,
2031
+ {
2032
+ let config = self.engine().config();
2033
+ debug_assert!(self.0.async_support());
2034
+ debug_assert!(config.async_stack_size > 0);
2035
+
2036
+ let mut slot = None;
2037
+ let future = {
2038
+ let current_poll_cx = self.0.async_state.current_poll_cx.get();
2039
+ let current_suspend = self.0.async_state.current_suspend.get();
2040
+ let stack = self.engine().allocator().allocate_fiber_stack()?;
2041
+
2042
+ let engine = self.engine().clone();
2043
+ let slot = &mut slot;
2044
+ let fiber = wasmtime_fiber::Fiber::new(stack, move |keep_going, suspend| {
2045
+ // First check and see if we were interrupted/dropped, and only
2046
+ // continue if we haven't been.
2047
+ keep_going?;
2048
+
2049
+ // Configure our store's suspension context for the rest of the
2050
+ // execution of this fiber. Note that a raw pointer is stored here
2051
+ // which is only valid for the duration of this closure.
2052
+ // Consequently we at least replace it with the previous value when
2053
+ // we're done. This reset is also required for correctness because
2054
+ // otherwise our value will overwrite another active fiber's value.
2055
+ // There should be a test that segfaults in `async_functions.rs` if
2056
+ // this `Replace` is removed.
2057
+ unsafe {
2058
+ let _reset = Reset(current_suspend, *current_suspend);
2059
+ *current_suspend = suspend;
2060
+
2061
+ *slot = Some(func(self));
2062
+ Ok(())
2063
+ }
2064
+ })?;
2065
+
2066
+ // Once we have the fiber representing our synchronous computation, we
2067
+ // wrap that in a custom future implementation which does the
2068
+ // translation from the future protocol to our fiber API.
2069
+ FiberFuture {
2070
+ fiber,
2071
+ current_poll_cx,
2072
+ engine,
2073
+ state: Some(crate::runtime::vm::AsyncWasmCallState::new()),
2074
+ }
2075
+ };
2076
+ future.await?;
2077
+
2078
+ return Ok(slot.unwrap());
2079
+
2080
+ struct FiberFuture<'a> {
2081
+ fiber: wasmtime_fiber::Fiber<'a, Result<()>, (), Result<()>>,
2082
+ current_poll_cx: *mut *mut Context<'static>,
2083
+ engine: Engine,
2084
+ // See comments in `FiberFuture::resume` for this
2085
+ state: Option<crate::runtime::vm::AsyncWasmCallState>,
2086
+ }
2087
+
2088
+ // This is surely the most dangerous `unsafe impl Send` in the entire
2089
+ // crate. There are two members in `FiberFuture` which cause it to not
2090
+ // be `Send`. One is `current_poll_cx` and is entirely uninteresting.
2091
+ // This is just used to manage `Context` pointers across `await` points
2092
+ // in the future, and requires raw pointers to get it to happen easily.
2093
+ // Nothing too weird about the `Send`-ness, values aren't actually
2094
+ // crossing threads.
2095
+ //
2096
+ // The really interesting piece is `fiber`. Now the "fiber" here is
2097
+ // actual honest-to-god Rust code which we're moving around. What we're
2098
+ // doing is the equivalent of moving our thread's stack to another OS
2099
+ // thread. Turns out we, in general, have no idea what's on the stack
2100
+ // and would generally have no way to verify that this is actually safe
2101
+ // to do!
2102
+ //
2103
+ // Thankfully, though, Wasmtime has the power. Without being glib it's
2104
+ // actually worth examining what's on the stack. It's unfortunately not
2105
+ // super-local to this function itself. Our closure to `Fiber::new` runs
2106
+ // `func`, which is given to us from the outside. Thankfully, though, we
2107
+ // have tight control over this. Usage of `on_fiber` is typically done
2108
+ // *just* before entering WebAssembly itself, so we'll have a few stack
2109
+ // frames of Rust code (all in Wasmtime itself) before we enter wasm.
2110
+ //
2111
+ // Once we've entered wasm, well then we have a whole bunch of wasm
2112
+ // frames on the stack. We've got this nifty thing called Cranelift,
2113
+ // though, which allows us to also have complete control over everything
2114
+ // on the stack!
2115
+ //
2116
+ // Finally, when wasm switches back to the fiber's starting pointer
2117
+ // (this future we're returning) then it means wasm has reentered Rust.
2118
+ // Suspension can only happen via the `block_on` function of an
2119
+ // `AsyncCx`. This, conveniently, also happens entirely in Wasmtime
2120
+ // controlled code!
2121
+ //
2122
+ // There's an extremely important point that should be called out here.
2123
+ // User-provided futures **are not on the stack** during suspension
2124
+ // points. This is extremely crucial because we in general cannot reason
2125
+ // about Send/Sync for stack-local variables since rustc doesn't analyze
2126
+ // them at all. With our construction, though, we are guaranteed that
2127
+ // Wasmtime owns all stack frames between the stack of a fiber and when
2128
+ // the fiber suspends (and it could move across threads). At this time
2129
+ // the only user-provided piece of data on the stack is the future
2130
+ // itself given to us. Lo-and-behold as you might notice the future is
2131
+ // required to be `Send`!
2132
+ //
2133
+ // What this all boils down to is that we, as the authors of Wasmtime,
2134
+ // need to be extremely careful that on the async fiber stack we only
2135
+ // store Send things. For example we can't start using `Rc` willy nilly
2136
+ // by accident and leave a copy in TLS somewhere. (similarly we have to
2137
+ // be ready for TLS to change while we're executing wasm code between
2138
+ // suspension points).
2139
+ //
2140
+ // While somewhat onerous it shouldn't be too too hard (the TLS bit is
2141
+ // the hardest bit so far). This does mean, though, that no user should
2142
+ // ever have to worry about the `Send`-ness of Wasmtime. If rustc says
2143
+ // it's ok, then it's ok.
2144
+ //
2145
+ // With all that in mind we unsafely assert here that wasmtime is
2146
+ // correct. We declare the fiber as only containing Send data on its
2147
+ // stack, despite not knowing for sure at compile time that this is
2148
+ // correct. That's what `unsafe` in Rust is all about, though, right?
2149
+ unsafe impl Send for FiberFuture<'_> {}
2150
+
2151
+ impl FiberFuture<'_> {
2152
+ /// This is a helper function to call `resume` on the underlying
2153
+ /// fiber while correctly managing Wasmtime's thread-local data.
2154
+ ///
2155
+ /// Wasmtime's implementation of traps leverages thread-local data
2156
+ /// to get access to metadata during a signal. This thread-local
2157
+ /// data is a linked list of "activations" where the nodes of the
2158
+ /// linked list are stored on the stack. It would be invalid as a
2159
+ /// result to suspend a computation with the head of the linked list
2160
+ /// on this stack then move the stack to another thread and resume
2161
+ /// it. That means that a different thread would point to our stack
2162
+ /// and our thread doesn't point to our stack at all!
2163
+ ///
2164
+ /// Basically management of TLS is required here one way or another.
2165
+ /// The strategy currently settled on is to manage the list of
2166
+ /// activations created by this fiber as a unit. When a fiber
2167
+ /// resumes the linked list is prepended to the current thread's
2168
+ /// list. When the fiber is suspended then the fiber's list of
2169
+ /// activations are all removed en-masse and saved within the fiber.
2170
+ fn resume(&mut self, val: Result<()>) -> Result<Result<()>, ()> {
2171
+ unsafe {
2172
+ let prev = self.state.take().unwrap().push();
2173
+ let restore = Restore {
2174
+ fiber: self,
2175
+ state: Some(prev),
2176
+ };
2177
+ return restore.fiber.fiber.resume(val);
2178
+ }
2179
+
2180
+ struct Restore<'a, 'b> {
2181
+ fiber: &'a mut FiberFuture<'b>,
2182
+ state: Option<crate::runtime::vm::PreviousAsyncWasmCallState>,
2183
+ }
2184
+
2185
+ impl Drop for Restore<'_, '_> {
2186
+ fn drop(&mut self) {
2187
+ unsafe {
2188
+ self.fiber.state = Some(self.state.take().unwrap().restore());
2189
+ }
2190
+ }
2191
+ }
2192
+ }
2193
+ }
2194
+
2195
+ impl Future for FiberFuture<'_> {
2196
+ type Output = Result<()>;
2197
+
2198
+ fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Self::Output> {
2199
+ // We need to carry over this `cx` into our fiber's runtime
2200
+ // for when it tries to poll sub-futures that are created. Doing
2201
+ // this must be done unsafely, however, since `cx` is only alive
2202
+ // for this one singular function call. Here we do a `transmute`
2203
+ // to extend the lifetime of `Context` so it can be stored in
2204
+ // our `Store`, and then we replace the current polling context
2205
+ // with this one.
2206
+ //
2207
+ // Note that the replace is done for weird situations where
2208
+ // futures might be switching contexts and there's multiple
2209
+ // wasmtime futures in a chain of futures.
2210
+ //
2211
+ // On exit from this function, though, we reset the polling
2212
+ // context back to what it was to signify that `Store` no longer
2213
+ // has access to this pointer.
2214
+ unsafe {
2215
+ let _reset = Reset(self.current_poll_cx, *self.current_poll_cx);
2216
+ *self.current_poll_cx =
2217
+ core::mem::transmute::<&mut Context<'_>, *mut Context<'static>>(cx);
2218
+
2219
+ // After that's set up we resume execution of the fiber, which
2220
+ // may also start the fiber for the first time. This either
2221
+ // returns `Ok` saying the fiber finished (yay!) or it
2222
+ // returns `Err` with the payload passed to `suspend`, which
2223
+ // in our case is `()`.
2224
+ match self.resume(Ok(())) {
2225
+ Ok(result) => Poll::Ready(result),
2226
+
2227
+ // If `Err` is returned that means the fiber polled a
2228
+ // future but it said "Pending", so we propagate that
2229
+ // here.
2230
+ //
2231
+ // An additional safety check is performed when leaving
2232
+ // this function to help bolster the guarantees of
2233
+ // `unsafe impl Send` above. Notably this future may get
2234
+ // re-polled on a different thread. Wasmtime's
2235
+ // thread-local state points to the stack, however,
2236
+ // meaning that it would be incorrect to leave a pointer
2237
+ // in TLS when this function returns. This function
2238
+ // performs a runtime assert to verify that this is the
2239
+ // case, notably that the one TLS pointer Wasmtime uses
2240
+ // is not pointing anywhere within the stack. If it is
2241
+ // then that's a bug indicating that TLS management in
2242
+ // Wasmtime is incorrect.
2243
+ Err(()) => {
2244
+ if let Some(range) = self.fiber.stack().range() {
2245
+ crate::runtime::vm::AsyncWasmCallState::assert_current_state_not_in_range(range);
2246
+ }
2247
+ Poll::Pending
2248
+ }
2249
+ }
2250
+ }
2251
+ }
2252
+ }
2253
+
2254
+ // Dropping futures is pretty special in that it means the future has
2255
+ // been requested to be cancelled. Here we run the risk of dropping an
2256
+ // in-progress fiber, and if we were to do nothing then the fiber would
2257
+ // leak all its owned stack resources.
2258
+ //
2259
+ // To handle this we implement `Drop` here and, if the fiber isn't done,
2260
+ // resume execution of the fiber saying "hey please stop you're
2261
+ // interrupted". Our `Trap` created here (which has the stack trace
2262
+ // of whomever dropped us) will then get propagated in whatever called
2263
+ // `block_on`, and the idea is that the trap propagates all the way back
2264
+ // up to the original fiber start, finishing execution.
2265
+ //
2266
+ // We don't actually care about the fiber's return value here (no one's
2267
+ // around to look at it), we just assert the fiber finished to
2268
+ // completion.
2269
+ impl Drop for FiberFuture<'_> {
2270
+ fn drop(&mut self) {
2271
+ if !self.fiber.done() {
2272
+ let result = self.resume(Err(anyhow!("future dropped")));
2273
+ // This resumption with an error should always complete the
2274
+ // fiber. While it's technically possible for host code to catch
2275
+ // the trap and re-resume, we'd ideally like to signal that to
2276
+ // callers that they shouldn't be doing that.
2277
+ debug_assert!(result.is_ok());
2278
+ }
2279
+
2280
+ self.state.take().unwrap().assert_null();
2281
+
2282
+ unsafe {
2283
+ self.engine
2284
+ .allocator()
2285
+ .deallocate_fiber_stack(self.fiber.stack());
2286
+ }
2287
+ }
2288
+ }
2289
+ }
2290
+ }
2291
+
2292
+ #[cfg(feature = "async")]
2293
+ pub struct AsyncCx {
2294
+ current_suspend: *mut *mut wasmtime_fiber::Suspend<Result<()>, (), Result<()>>,
2295
+ current_poll_cx: *mut *mut Context<'static>,
2296
+ track_pkey_context_switch: bool,
2297
+ }
2298
+
2299
+ #[cfg(feature = "async")]
2300
+ impl AsyncCx {
2301
+ /// Blocks on the asynchronous computation represented by `future` and
2302
+ /// produces the result here, in-line.
2303
+ ///
2304
+ /// This function is designed to only work when it's currently executing on
2305
+ /// a native fiber. This fiber provides the ability for us to handle the
2306
+ /// future's `Pending` state as "jump back to whomever called the fiber in
2307
+ /// an asynchronous fashion and propagate `Pending`". This tight coupling
2308
+ /// with `on_fiber` below is what powers the asynchronicity of calling wasm.
2309
+ /// Note that the asynchronous part only applies to host functions, wasm
2310
+ /// itself never really does anything asynchronous at this time.
2311
+ ///
2312
+ /// This function takes a `future` and will (appear to) synchronously wait
2313
+ /// on the result. While this function is executing it will fiber switch
2314
+ /// to-and-from the original frame calling `on_fiber` which should be a
2315
+ /// guarantee due to how async stores are configured.
2316
+ ///
2317
+ /// The return value here is either the output of the future `T`, or a trap
2318
+ /// which represents that the asynchronous computation was cancelled. It is
2319
+ /// not recommended to catch the trap and try to keep executing wasm, so
2320
+ /// we've tried to liberally document this.
2321
+ pub unsafe fn block_on<U>(
2322
+ &self,
2323
+ mut future: Pin<&mut (dyn Future<Output = U> + Send)>,
2324
+ ) -> Result<U> {
2325
+ // Take our current `Suspend` context which was configured as soon as
2326
+ // our fiber started. Note that we must load it at the front here and
2327
+ // save it on our stack frame. While we're polling the future other
2328
+ // fibers may be started for recursive computations, and the current
2329
+ // suspend context is only preserved at the edges of the fiber, not
2330
+ // during the fiber itself.
2331
+ //
2332
+ // For a little bit of extra safety we also replace the current value
2333
+ // with null to try to catch any accidental bugs on our part early.
2334
+ // This is all pretty unsafe so we're trying to be careful...
2335
+ //
2336
+ // Note that there should be a segfaulting test in `async_functions.rs`
2337
+ // if this `Reset` is removed.
2338
+ let suspend = *self.current_suspend;
2339
+ let _reset = Reset(self.current_suspend, suspend);
2340
+ *self.current_suspend = ptr::null_mut();
2341
+ assert!(!suspend.is_null());
2342
+
2343
+ loop {
2344
+ let future_result = {
2345
+ let poll_cx = *self.current_poll_cx;
2346
+ let _reset = Reset(self.current_poll_cx, poll_cx);
2347
+ *self.current_poll_cx = ptr::null_mut();
2348
+ assert!(!poll_cx.is_null());
2349
+ future.as_mut().poll(&mut *poll_cx)
2350
+ };
2351
+
2352
+ match future_result {
2353
+ Poll::Ready(t) => break Ok(t),
2354
+ Poll::Pending => {}
2355
+ }
2356
+
2357
+ // In order to prevent this fiber's MPK state from being munged by
2358
+ // other fibers while it is suspended, we save and restore it once
2359
+ // once execution resumes. Note that when MPK is not supported,
2360
+ // these are noops.
2361
+ let previous_mask = if self.track_pkey_context_switch {
2362
+ let previous_mask = mpk::current_mask();
2363
+ mpk::allow(ProtectionMask::all());
2364
+ previous_mask
2365
+ } else {
2366
+ ProtectionMask::all()
2367
+ };
2368
+ (*suspend).suspend(())?;
2369
+ if self.track_pkey_context_switch {
2370
+ mpk::allow(previous_mask);
2371
+ }
2372
+ }
2373
+ }
2374
+ }
2375
+
2376
+ unsafe impl<T> crate::runtime::vm::Store for StoreInner<T> {
2377
+ fn vmruntime_limits(&self) -> *mut VMRuntimeLimits {
2378
+ <StoreOpaque>::vmruntime_limits(self)
2379
+ }
2380
+
2381
+ fn epoch_ptr(&self) -> *const AtomicU64 {
2382
+ self.engine.epoch_counter() as *const _
2383
+ }
2384
+
2385
+ fn maybe_gc_store(&mut self) -> Option<&mut GcStore> {
2386
+ self.gc_store.as_mut()
2387
+ }
2388
+
2389
+ fn memory_growing(
2390
+ &mut self,
2391
+ current: usize,
2392
+ desired: usize,
2393
+ maximum: Option<usize>,
2394
+ ) -> Result<bool, anyhow::Error> {
2395
+ match self.limiter {
2396
+ Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
2397
+ limiter(&mut self.data).memory_growing(current, desired, maximum)
2398
+ }
2399
+ #[cfg(feature = "async")]
2400
+ Some(ResourceLimiterInner::Async(ref mut limiter)) => unsafe {
2401
+ self.inner
2402
+ .async_cx()
2403
+ .expect("ResourceLimiterAsync requires async Store")
2404
+ .block_on(
2405
+ limiter(&mut self.data)
2406
+ .memory_growing(current, desired, maximum)
2407
+ .as_mut(),
2408
+ )?
2409
+ },
2410
+ None => Ok(true),
2411
+ }
2412
+ }
2413
+
2414
+ fn memory_grow_failed(&mut self, error: anyhow::Error) -> Result<()> {
2415
+ match self.limiter {
2416
+ Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
2417
+ limiter(&mut self.data).memory_grow_failed(error)
2418
+ }
2419
+ #[cfg(feature = "async")]
2420
+ Some(ResourceLimiterInner::Async(ref mut limiter)) => {
2421
+ limiter(&mut self.data).memory_grow_failed(error)
2422
+ }
2423
+ None => {
2424
+ log::debug!("ignoring memory growth failure error: {error:?}");
2425
+ Ok(())
2426
+ }
2427
+ }
2428
+ }
2429
+
2430
+ fn table_growing(
2431
+ &mut self,
2432
+ current: u32,
2433
+ desired: u32,
2434
+ maximum: Option<u32>,
2435
+ ) -> Result<bool, anyhow::Error> {
2436
+ // Need to borrow async_cx before the mut borrow of the limiter.
2437
+ // self.async_cx() panicks when used with a non-async store, so
2438
+ // wrap this in an option.
2439
+ #[cfg(feature = "async")]
2440
+ let async_cx = if self.async_support()
2441
+ && matches!(self.limiter, Some(ResourceLimiterInner::Async(_)))
2442
+ {
2443
+ Some(self.async_cx().unwrap())
2444
+ } else {
2445
+ None
2446
+ };
2447
+
2448
+ match self.limiter {
2449
+ Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
2450
+ limiter(&mut self.data).table_growing(current, desired, maximum)
2451
+ }
2452
+ #[cfg(feature = "async")]
2453
+ Some(ResourceLimiterInner::Async(ref mut limiter)) => unsafe {
2454
+ async_cx
2455
+ .expect("ResourceLimiterAsync requires async Store")
2456
+ .block_on(
2457
+ limiter(&mut self.data)
2458
+ .table_growing(current, desired, maximum)
2459
+ .as_mut(),
2460
+ )?
2461
+ },
2462
+ None => Ok(true),
2463
+ }
2464
+ }
2465
+
2466
+ fn table_grow_failed(&mut self, error: anyhow::Error) -> Result<()> {
2467
+ match self.limiter {
2468
+ Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
2469
+ limiter(&mut self.data).table_grow_failed(error)
2470
+ }
2471
+ #[cfg(feature = "async")]
2472
+ Some(ResourceLimiterInner::Async(ref mut limiter)) => {
2473
+ limiter(&mut self.data).table_grow_failed(error)
2474
+ }
2475
+ None => {
2476
+ log::debug!("ignoring table growth failure: {error:?}");
2477
+ Ok(())
2478
+ }
2479
+ }
2480
+ }
2481
+
2482
+ fn out_of_gas(&mut self) -> Result<()> {
2483
+ if !self.refuel() {
2484
+ return Err(Trap::OutOfFuel).err2anyhow();
2485
+ }
2486
+ #[cfg(feature = "async")]
2487
+ if self.fuel_yield_interval.is_some() {
2488
+ self.async_yield_impl()?;
2489
+ }
2490
+ Ok(())
2491
+ }
2492
+
2493
+ fn new_epoch(&mut self) -> Result<u64, anyhow::Error> {
2494
+ // Temporarily take the configured behavior to avoid mutably borrowing
2495
+ // multiple times.
2496
+ let mut behavior = self.epoch_deadline_behavior.take();
2497
+ let delta_result = match &mut behavior {
2498
+ None => Err(Trap::Interrupt).err2anyhow(),
2499
+ Some(callback) => callback((&mut *self).as_context_mut()).and_then(|update| {
2500
+ let delta = match update {
2501
+ UpdateDeadline::Continue(delta) => delta,
2502
+
2503
+ #[cfg(feature = "async")]
2504
+ UpdateDeadline::Yield(delta) => {
2505
+ assert!(
2506
+ self.async_support(),
2507
+ "cannot use `UpdateDeadline::Yield` without enabling async support in the config"
2508
+ );
2509
+ // Do the async yield. May return a trap if future was
2510
+ // canceled while we're yielded.
2511
+ self.async_yield_impl()?;
2512
+ delta
2513
+ }
2514
+ };
2515
+
2516
+ // Set a new deadline and return the new epoch deadline so
2517
+ // the Wasm code doesn't have to reload it.
2518
+ self.set_epoch_deadline(delta);
2519
+ Ok(self.get_epoch_deadline())
2520
+ })
2521
+ };
2522
+
2523
+ // Put back the original behavior which was replaced by `take`.
2524
+ self.epoch_deadline_behavior = behavior;
2525
+ delta_result
2526
+ }
2527
+
2528
+ #[cfg(feature = "gc")]
2529
+ fn gc(&mut self, root: Option<VMGcRef>) -> Result<Option<VMGcRef>> {
2530
+ let mut scope = RootScope::new(self);
2531
+ let store = scope.as_context_mut().0;
2532
+ let store_id = store.id();
2533
+ let root = root.map(|r| store.gc_roots_mut().push_lifo_root(store_id, r));
2534
+
2535
+ if store.async_support() {
2536
+ #[cfg(feature = "async")]
2537
+ unsafe {
2538
+ let async_cx = store.async_cx();
2539
+ let mut future = store.gc_async();
2540
+ async_cx
2541
+ .expect("attempted to pull async context during shutdown")
2542
+ .block_on(Pin::new_unchecked(&mut future))?;
2543
+ }
2544
+ } else {
2545
+ (**store).gc();
2546
+ }
2547
+
2548
+ let root = match root {
2549
+ None => None,
2550
+ Some(r) => {
2551
+ let r = r
2552
+ .unchecked_get_gc_ref(store)
2553
+ .expect("still in scope")
2554
+ .unchecked_copy();
2555
+ Some(store.gc_store_mut()?.clone_gc_ref(&r))
2556
+ }
2557
+ };
2558
+
2559
+ Ok(root)
2560
+ }
2561
+
2562
+ #[cfg(not(feature = "gc"))]
2563
+ fn gc(&mut self, root: Option<VMGcRef>) -> Result<Option<VMGcRef>> {
2564
+ Ok(root)
2565
+ }
2566
+
2567
+ #[cfg(feature = "component-model")]
2568
+ fn component_calls(&mut self) -> &mut crate::runtime::vm::component::CallContexts {
2569
+ &mut self.component_calls
2570
+ }
2571
+ }
2572
+
2573
+ impl<T> StoreInner<T> {
2574
+ pub(crate) fn set_epoch_deadline(&mut self, delta: u64) {
2575
+ // Set a new deadline based on the "epoch deadline delta".
2576
+ //
2577
+ // Safety: this is safe because the epoch deadline in the
2578
+ // `VMRuntimeLimits` is accessed only here and by Wasm guest code
2579
+ // running in this store, and we have a `&mut self` here.
2580
+ //
2581
+ // Also, note that when this update is performed while Wasm is
2582
+ // on the stack, the Wasm will reload the new value once we
2583
+ // return into it.
2584
+ let epoch_deadline = unsafe { (*self.vmruntime_limits()).epoch_deadline.get_mut() };
2585
+ *epoch_deadline = self.engine().current_epoch() + delta;
2586
+ }
2587
+
2588
+ fn epoch_deadline_trap(&mut self) {
2589
+ self.epoch_deadline_behavior = None;
2590
+ }
2591
+
2592
+ fn epoch_deadline_callback(
2593
+ &mut self,
2594
+ callback: Box<dyn FnMut(StoreContextMut<T>) -> Result<UpdateDeadline> + Send + Sync>,
2595
+ ) {
2596
+ self.epoch_deadline_behavior = Some(callback);
2597
+ }
2598
+
2599
+ fn epoch_deadline_async_yield_and_update(&mut self, delta: u64) {
2600
+ assert!(
2601
+ self.async_support(),
2602
+ "cannot use `epoch_deadline_async_yield_and_update` without enabling async support in the config"
2603
+ );
2604
+ #[cfg(feature = "async")]
2605
+ {
2606
+ self.epoch_deadline_behavior =
2607
+ Some(Box::new(move |_store| Ok(UpdateDeadline::Yield(delta))));
2608
+ }
2609
+ let _ = delta; // suppress warning in non-async build
2610
+ }
2611
+
2612
+ fn get_epoch_deadline(&self) -> u64 {
2613
+ // Safety: this is safe because, as above, it is only invoked
2614
+ // from within `new_epoch` which is called from guest Wasm
2615
+ // code, which will have an exclusive borrow on the Store.
2616
+ let epoch_deadline = unsafe { (*self.vmruntime_limits()).epoch_deadline.get_mut() };
2617
+ *epoch_deadline
2618
+ }
2619
+ }
2620
+
2621
+ impl<T: Default> Default for Store<T> {
2622
+ fn default() -> Store<T> {
2623
+ Store::new(&Engine::default(), T::default())
2624
+ }
2625
+ }
2626
+
2627
+ impl<T: fmt::Debug> fmt::Debug for Store<T> {
2628
+ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
2629
+ let inner = &**self.inner as *const StoreInner<T>;
2630
+ f.debug_struct("Store")
2631
+ .field("inner", &inner)
2632
+ .field("data", &self.inner.data)
2633
+ .finish()
2634
+ }
2635
+ }
2636
+
2637
+ impl<T> Drop for Store<T> {
2638
+ fn drop(&mut self) {
2639
+ // for documentation on this `unsafe`, see `into_data`.
2640
+ unsafe {
2641
+ ManuallyDrop::drop(&mut self.inner.data);
2642
+ ManuallyDrop::drop(&mut self.inner);
2643
+ }
2644
+ }
2645
+ }
2646
+
2647
+ impl Drop for StoreOpaque {
2648
+ fn drop(&mut self) {
2649
+ // NB it's important that this destructor does not access `self.data`.
2650
+ // That is deallocated by `Drop for Store<T>` above.
2651
+
2652
+ unsafe {
2653
+ let allocator = self.engine.allocator();
2654
+ let ondemand = OnDemandInstanceAllocator::default();
2655
+ for instance in self.instances.iter_mut() {
2656
+ if let StoreInstanceKind::Dummy = instance.kind {
2657
+ ondemand.deallocate_module(&mut instance.handle);
2658
+ } else {
2659
+ allocator.deallocate_module(&mut instance.handle);
2660
+ }
2661
+ }
2662
+ ondemand.deallocate_module(&mut self.default_caller);
2663
+
2664
+ #[cfg(feature = "gc")]
2665
+ if let Some(gc_store) = self.gc_store.take() {
2666
+ allocator.deallocate_gc_heap(gc_store.allocation_index, gc_store.gc_heap);
2667
+ }
2668
+
2669
+ #[cfg(feature = "component-model")]
2670
+ {
2671
+ for _ in 0..self.num_component_instances {
2672
+ allocator.decrement_component_instance_count();
2673
+ }
2674
+ }
2675
+
2676
+ // See documentation for these fields on `StoreOpaque` for why they
2677
+ // must be dropped in this order.
2678
+ ManuallyDrop::drop(&mut self.store_data);
2679
+ ManuallyDrop::drop(&mut self.rooted_host_funcs);
2680
+ }
2681
+ }
2682
+ }
2683
+
2684
+ impl crate::runtime::vm::ModuleInfoLookup for ModuleRegistry {
2685
+ fn lookup(&self, pc: usize) -> Option<&dyn crate::runtime::vm::ModuleInfo> {
2686
+ self.lookup_module_info(pc)
2687
+ }
2688
+ }
2689
+
2690
+ struct Reset<T: Copy>(*mut T, T);
2691
+
2692
+ impl<T: Copy> Drop for Reset<T> {
2693
+ fn drop(&mut self) {
2694
+ unsafe {
2695
+ *self.0 = self.1;
2696
+ }
2697
+ }
2698
+ }
2699
+
2700
+ #[cfg(test)]
2701
+ mod tests {
2702
+ use super::{get_fuel, refuel, set_fuel};
2703
+ use std::num::NonZeroU64;
2704
+
2705
+ struct FuelTank {
2706
+ pub consumed_fuel: i64,
2707
+ pub reserve_fuel: u64,
2708
+ pub yield_interval: Option<NonZeroU64>,
2709
+ }
2710
+
2711
+ impl FuelTank {
2712
+ fn new() -> Self {
2713
+ FuelTank {
2714
+ consumed_fuel: 0,
2715
+ reserve_fuel: 0,
2716
+ yield_interval: None,
2717
+ }
2718
+ }
2719
+ fn get_fuel(&self) -> u64 {
2720
+ get_fuel(self.consumed_fuel, self.reserve_fuel)
2721
+ }
2722
+ fn refuel(&mut self) -> bool {
2723
+ refuel(
2724
+ &mut self.consumed_fuel,
2725
+ &mut self.reserve_fuel,
2726
+ self.yield_interval,
2727
+ )
2728
+ }
2729
+ fn set_fuel(&mut self, fuel: u64) {
2730
+ set_fuel(
2731
+ &mut self.consumed_fuel,
2732
+ &mut self.reserve_fuel,
2733
+ self.yield_interval,
2734
+ fuel,
2735
+ );
2736
+ }
2737
+ }
2738
+
2739
+ #[test]
2740
+ fn smoke() {
2741
+ let mut tank = FuelTank::new();
2742
+ tank.set_fuel(10);
2743
+ assert_eq!(tank.consumed_fuel, -10);
2744
+ assert_eq!(tank.reserve_fuel, 0);
2745
+
2746
+ tank.yield_interval = NonZeroU64::new(10);
2747
+ tank.set_fuel(25);
2748
+ assert_eq!(tank.consumed_fuel, -10);
2749
+ assert_eq!(tank.reserve_fuel, 15);
2750
+ }
2751
+
2752
+ #[test]
2753
+ fn does_not_lose_precision() {
2754
+ let mut tank = FuelTank::new();
2755
+ tank.set_fuel(u64::MAX);
2756
+ assert_eq!(tank.get_fuel(), u64::MAX);
2757
+
2758
+ tank.set_fuel(i64::MAX as u64);
2759
+ assert_eq!(tank.get_fuel(), i64::MAX as u64);
2760
+
2761
+ tank.set_fuel(i64::MAX as u64 + 1);
2762
+ assert_eq!(tank.get_fuel(), i64::MAX as u64 + 1);
2763
+ }
2764
+
2765
+ #[test]
2766
+ fn yielding_does_not_lose_precision() {
2767
+ let mut tank = FuelTank::new();
2768
+
2769
+ tank.yield_interval = NonZeroU64::new(10);
2770
+ tank.set_fuel(u64::MAX);
2771
+ assert_eq!(tank.get_fuel(), u64::MAX);
2772
+ assert_eq!(tank.consumed_fuel, -10);
2773
+ assert_eq!(tank.reserve_fuel, u64::MAX - 10);
2774
+
2775
+ tank.yield_interval = NonZeroU64::new(u64::MAX);
2776
+ tank.set_fuel(u64::MAX);
2777
+ assert_eq!(tank.get_fuel(), u64::MAX);
2778
+ assert_eq!(tank.consumed_fuel, -i64::MAX);
2779
+ assert_eq!(tank.reserve_fuel, u64::MAX - (i64::MAX as u64));
2780
+
2781
+ tank.yield_interval = NonZeroU64::new((i64::MAX as u64) + 1);
2782
+ tank.set_fuel(u64::MAX);
2783
+ assert_eq!(tank.get_fuel(), u64::MAX);
2784
+ assert_eq!(tank.consumed_fuel, -i64::MAX);
2785
+ assert_eq!(tank.reserve_fuel, u64::MAX - (i64::MAX as u64));
2786
+ }
2787
+
2788
+ #[test]
2789
+ fn refueling() {
2790
+ // It's possible to fuel to have consumed over the limit as some instructions can consume
2791
+ // multiple units of fuel at once. Refueling should be strict in it's consumption and not
2792
+ // add more fuel than there is.
2793
+ let mut tank = FuelTank::new();
2794
+
2795
+ tank.yield_interval = NonZeroU64::new(10);
2796
+ tank.reserve_fuel = 42;
2797
+ tank.consumed_fuel = 4;
2798
+ assert!(tank.refuel());
2799
+ assert_eq!(tank.reserve_fuel, 28);
2800
+ assert_eq!(tank.consumed_fuel, -10);
2801
+
2802
+ tank.yield_interval = NonZeroU64::new(1);
2803
+ tank.reserve_fuel = 8;
2804
+ tank.consumed_fuel = 4;
2805
+ assert_eq!(tank.get_fuel(), 4);
2806
+ assert!(tank.refuel());
2807
+ assert_eq!(tank.reserve_fuel, 3);
2808
+ assert_eq!(tank.consumed_fuel, -1);
2809
+ assert_eq!(tank.get_fuel(), 4);
2810
+
2811
+ tank.yield_interval = NonZeroU64::new(10);
2812
+ tank.reserve_fuel = 3;
2813
+ tank.consumed_fuel = 4;
2814
+ assert_eq!(tank.get_fuel(), 0);
2815
+ assert!(!tank.refuel());
2816
+ assert_eq!(tank.reserve_fuel, 3);
2817
+ assert_eq!(tank.consumed_fuel, 4);
2818
+ assert_eq!(tank.get_fuel(), 0);
2819
+ }
2820
+ }