wasmtime 19.0.2 → 20.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2232) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +116 -120
  3. data/ext/Cargo.toml +6 -6
  4. data/ext/cargo-vendor/anyhow-1.0.83/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/anyhow-1.0.83/Cargo.toml +130 -0
  6. data/ext/cargo-vendor/anyhow-1.0.83/README.md +181 -0
  7. data/ext/cargo-vendor/anyhow-1.0.83/build.rs +179 -0
  8. data/ext/cargo-vendor/anyhow-1.0.83/src/backtrace.rs +406 -0
  9. data/ext/cargo-vendor/anyhow-1.0.83/src/chain.rs +102 -0
  10. data/ext/cargo-vendor/anyhow-1.0.83/src/fmt.rs +158 -0
  11. data/ext/cargo-vendor/anyhow-1.0.83/src/kind.rs +121 -0
  12. data/ext/cargo-vendor/anyhow-1.0.83/src/lib.rs +702 -0
  13. data/ext/cargo-vendor/anyhow-1.0.83/src/macros.rs +241 -0
  14. data/ext/cargo-vendor/anyhow-1.0.83/src/wrapper.rs +84 -0
  15. data/ext/cargo-vendor/anyhow-1.0.83/tests/test_ensure.rs +724 -0
  16. data/ext/cargo-vendor/anyhow-1.0.83/tests/test_macros.rs +81 -0
  17. data/ext/cargo-vendor/anyhow-1.0.83/tests/test_repr.rs +30 -0
  18. data/ext/cargo-vendor/anyhow-1.0.83/tests/ui/no-impl.stderr +32 -0
  19. data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +1 -0
  20. data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +40 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +1 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +178 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +396 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +403 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/binemit/mod.rs +171 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/bitset.rs +187 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +386 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +835 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +838 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/inst_predicates.rs +236 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/constant.rs +462 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/dfg.rs +1777 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/entities.rs +562 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/function.rs +490 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +1019 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/memflags.rs +452 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/mod.rs +108 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/trapcode.rs +149 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/types.rs +629 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +1707 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +3932 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +3083 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +4218 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +884 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower.isle +2933 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/mod.rs +242 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +565 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/call_conv.rs +127 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +1109 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +1968 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +3466 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/encode.rs +654 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +2944 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +625 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +2872 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +1047 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +347 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +3646 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst.isle +5033 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/lower.isle +3995 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +1369 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/evex.rs +748 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/rex.rs +596 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/vex.rs +491 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +2289 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +4383 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_state.rs +74 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +2798 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +5304 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +1066 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +4809 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +339 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/mod.rs +234 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +1003 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/legalizer/mod.rs +348 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +2594 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/buffer.rs +2512 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/inst_common.rs +75 -0
  79. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +914 -0
  80. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +1452 -0
  81. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +555 -0
  82. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/pcc.rs +169 -0
  83. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +1807 -0
  84. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +110 -0
  85. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/cprop.isle +281 -0
  86. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/spectre.isle +14 -0
  87. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts.rs +295 -0
  88. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/prelude.isle +646 -0
  89. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/result.rs +111 -0
  90. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +591 -0
  91. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/verifier/mod.rs +1957 -0
  92. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/write.rs +631 -0
  93. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +1 -0
  94. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +35 -0
  95. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/entities.rs +101 -0
  96. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/formats.rs +205 -0
  97. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/instructions.rs +3791 -0
  98. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +22 -0
  100. data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +1 -0
  101. data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +30 -0
  102. data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +1 -0
  103. data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +50 -0
  104. data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +1 -0
  105. data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +69 -0
  106. data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +1 -0
  107. data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +46 -0
  108. data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +1 -0
  109. data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +45 -0
  110. data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +1 -0
  111. data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +107 -0
  112. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +3683 -0
  113. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +912 -0
  114. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/mod.rs +8 -0
  115. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +945 -0
  116. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/func_translator.rs +296 -0
  117. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/lib.rs +58 -0
  118. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/state.rs +522 -0
  119. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/table.rs +104 -0
  120. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +1 -0
  121. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +48 -0
  122. data/ext/cargo-vendor/mach2-0.4.2/.cargo-checksum.json +1 -0
  123. data/ext/cargo-vendor/mach2-0.4.2/Cargo.toml +49 -0
  124. data/ext/cargo-vendor/mach2-0.4.2/LICENSE-APACHE +176 -0
  125. data/ext/cargo-vendor/mach2-0.4.2/LICENSE-BSD +23 -0
  126. data/ext/cargo-vendor/mach2-0.4.2/LICENSE-MIT +25 -0
  127. data/ext/cargo-vendor/mach2-0.4.2/README.md +116 -0
  128. data/ext/cargo-vendor/mach2-0.4.2/src/exc.rs +73 -0
  129. data/ext/cargo-vendor/mach2-0.4.2/src/kern_return.rs +59 -0
  130. data/ext/cargo-vendor/mach2-0.4.2/src/lib.rs +59 -0
  131. data/ext/cargo-vendor/mach2-0.4.2/src/mach_port.rs +50 -0
  132. data/ext/cargo-vendor/mach2-0.4.2/src/message.rs +345 -0
  133. data/ext/cargo-vendor/mach2-0.4.2/src/ndr.rs +19 -0
  134. data/ext/cargo-vendor/mach2-0.4.2/src/port.rs +67 -0
  135. data/ext/cargo-vendor/mach2-0.4.2/src/semaphore.rs +22 -0
  136. data/ext/cargo-vendor/mach2-0.4.2/src/structs.rs +66 -0
  137. data/ext/cargo-vendor/mach2-0.4.2/src/sync_policy.rs +9 -0
  138. data/ext/cargo-vendor/mach2-0.4.2/src/task.rs +46 -0
  139. data/ext/cargo-vendor/mach2-0.4.2/src/task_info.rs +49 -0
  140. data/ext/cargo-vendor/mach2-0.4.2/src/thread_act.rs +36 -0
  141. data/ext/cargo-vendor/mach2-0.4.2/src/thread_policy.rs +121 -0
  142. data/ext/cargo-vendor/mach2-0.4.2/src/thread_status.rs +53 -0
  143. data/ext/cargo-vendor/mach2-0.4.2/src/traps.rs +37 -0
  144. data/ext/cargo-vendor/mach2-0.4.2/src/vm.rs +248 -0
  145. data/ext/cargo-vendor/mach2-0.4.2/src/vm_attributes.rs +18 -0
  146. data/ext/cargo-vendor/mach2-0.4.2/src/vm_page_size.rs +40 -0
  147. data/ext/cargo-vendor/mach2-0.4.2/src/vm_prot.rs +13 -0
  148. data/ext/cargo-vendor/mach2-0.4.2/src/vm_purgable.rs +42 -0
  149. data/ext/cargo-vendor/mach2-0.4.2/src/vm_region.rs +238 -0
  150. data/ext/cargo-vendor/mach2-0.4.2/src/vm_statistics.rs +58 -0
  151. data/ext/cargo-vendor/mach2-0.4.2/src/vm_sync.rs +11 -0
  152. data/ext/cargo-vendor/mach2-0.4.2/src/vm_types.rs +19 -0
  153. data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +1 -0
  154. data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +797 -0
  155. data/ext/cargo-vendor/object-0.33.0/Cargo.toml +179 -0
  156. data/ext/cargo-vendor/object-0.33.0/LICENSE-APACHE +201 -0
  157. data/ext/cargo-vendor/object-0.33.0/LICENSE-MIT +25 -0
  158. data/ext/cargo-vendor/object-0.33.0/README.md +56 -0
  159. data/ext/cargo-vendor/object-0.33.0/src/archive.rs +91 -0
  160. data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +141 -0
  161. data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +3033 -0
  162. data/ext/cargo-vendor/object-0.33.0/src/build/error.rs +41 -0
  163. data/ext/cargo-vendor/object-0.33.0/src/build/mod.rs +18 -0
  164. data/ext/cargo-vendor/object-0.33.0/src/build/table.rs +128 -0
  165. data/ext/cargo-vendor/object-0.33.0/src/common.rs +568 -0
  166. data/ext/cargo-vendor/object-0.33.0/src/elf.rs +6291 -0
  167. data/ext/cargo-vendor/object-0.33.0/src/endian.rs +831 -0
  168. data/ext/cargo-vendor/object-0.33.0/src/lib.rs +107 -0
  169. data/ext/cargo-vendor/object-0.33.0/src/macho.rs +3309 -0
  170. data/ext/cargo-vendor/object-0.33.0/src/pe.rs +3056 -0
  171. data/ext/cargo-vendor/object-0.33.0/src/pod.rs +239 -0
  172. data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +1328 -0
  173. data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +759 -0
  174. data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +211 -0
  175. data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +383 -0
  176. data/ext/cargo-vendor/object-0.33.0/src/read/coff/import.rs +223 -0
  177. data/ext/cargo-vendor/object-0.33.0/src/read/coff/mod.rs +66 -0
  178. data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +108 -0
  179. data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +585 -0
  180. data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +635 -0
  181. data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +306 -0
  182. data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +162 -0
  183. data/ext/cargo-vendor/object-0.33.0/src/read/elf/compression.rs +56 -0
  184. data/ext/cargo-vendor/object-0.33.0/src/read/elf/dynamic.rs +117 -0
  185. data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +918 -0
  186. data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +224 -0
  187. data/ext/cargo-vendor/object-0.33.0/src/read/elf/mod.rs +78 -0
  188. data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +271 -0
  189. data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +629 -0
  190. data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +1150 -0
  191. data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +356 -0
  192. data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +595 -0
  193. data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +424 -0
  194. data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +345 -0
  195. data/ext/cargo-vendor/object-0.33.0/src/read/macho/fat.rs +140 -0
  196. data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +783 -0
  197. data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +386 -0
  198. data/ext/cargo-vendor/object-0.33.0/src/read/macho/mod.rs +72 -0
  199. data/ext/cargo-vendor/object-0.33.0/src/read/macho/relocation.rs +149 -0
  200. data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +389 -0
  201. data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +303 -0
  202. data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +492 -0
  203. data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +880 -0
  204. data/ext/cargo-vendor/object-0.33.0/src/read/pe/data_directory.rs +214 -0
  205. data/ext/cargo-vendor/object-0.33.0/src/read/pe/export.rs +334 -0
  206. data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +1053 -0
  207. data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +339 -0
  208. data/ext/cargo-vendor/object-0.33.0/src/read/pe/mod.rs +68 -0
  209. data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +92 -0
  210. data/ext/cargo-vendor/object-0.33.0/src/read/pe/resource.rs +210 -0
  211. data/ext/cargo-vendor/object-0.33.0/src/read/pe/rich.rs +92 -0
  212. data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +440 -0
  213. data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +213 -0
  214. data/ext/cargo-vendor/object-0.33.0/src/read/read_ref.rs +149 -0
  215. data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +551 -0
  216. data/ext/cargo-vendor/object-0.33.0/src/read/util.rs +425 -0
  217. data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +966 -0
  218. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/comdat.rs +134 -0
  219. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +697 -0
  220. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/mod.rs +63 -0
  221. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +134 -0
  222. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +433 -0
  223. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/segment.rs +117 -0
  224. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +784 -0
  225. data/ext/cargo-vendor/object-0.33.0/src/write/coff/mod.rs +10 -0
  226. data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +678 -0
  227. data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +518 -0
  228. data/ext/cargo-vendor/object-0.33.0/src/write/elf/mod.rs +9 -0
  229. data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +885 -0
  230. data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +2309 -0
  231. data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +1107 -0
  232. data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +990 -0
  233. data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +847 -0
  234. data/ext/cargo-vendor/object-0.33.0/src/write/string.rs +186 -0
  235. data/ext/cargo-vendor/object-0.33.0/src/write/util.rs +261 -0
  236. data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +589 -0
  237. data/ext/cargo-vendor/object-0.33.0/src/xcoff.rs +905 -0
  238. data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +2 -0
  239. data/ext/cargo-vendor/object-0.33.0/tests/parse_self.rs +25 -0
  240. data/ext/cargo-vendor/object-0.33.0/tests/read/coff.rs +23 -0
  241. data/ext/cargo-vendor/object-0.33.0/tests/read/elf.rs +47 -0
  242. data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +4 -0
  243. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +255 -0
  244. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/coff.rs +58 -0
  245. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +225 -0
  246. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +245 -0
  247. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +289 -0
  248. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/macho.rs +64 -0
  249. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +704 -0
  250. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +90 -0
  251. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +316 -0
  252. data/ext/cargo-vendor/wasi-common-20.0.0/.cargo-checksum.json +1 -0
  253. data/ext/cargo-vendor/wasi-common-20.0.0/Cargo.toml +220 -0
  254. data/ext/cargo-vendor/wasi-common-20.0.0/src/ctx.rs +128 -0
  255. data/ext/cargo-vendor/wasi-common-20.0.0/src/lib.rs +193 -0
  256. data/ext/cargo-vendor/wasi-common-20.0.0/src/snapshots/preview_1.rs +1497 -0
  257. data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/async_.rs +293 -0
  258. data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/sync.rs +279 -0
  259. data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +1 -0
  260. data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +43 -0
  261. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/component/types.rs +792 -0
  262. data/ext/cargo-vendor/wasm-encoder-0.208.1/.cargo-checksum.json +1 -0
  263. data/ext/cargo-vendor/wasm-encoder-0.208.1/Cargo.toml +46 -0
  264. data/ext/cargo-vendor/wasm-encoder-0.208.1/README.md +80 -0
  265. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/aliases.rs +160 -0
  266. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/builder.rs +455 -0
  267. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/canonicals.rs +159 -0
  268. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/components.rs +29 -0
  269. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/exports.rs +124 -0
  270. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/imports.rs +175 -0
  271. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/instances.rs +200 -0
  272. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/modules.rs +29 -0
  273. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/names.rs +149 -0
  274. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/start.rs +52 -0
  275. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/types.rs +792 -0
  276. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component.rs +168 -0
  277. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/code.rs +3595 -0
  278. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/custom.rs +73 -0
  279. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/data.rs +186 -0
  280. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/dump.rs +627 -0
  281. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/elements.rs +221 -0
  282. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/exports.rs +98 -0
  283. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/functions.rs +63 -0
  284. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/globals.rs +112 -0
  285. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/imports.rs +157 -0
  286. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/linking.rs +263 -0
  287. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/memories.rs +128 -0
  288. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/names.rs +298 -0
  289. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/producers.rs +181 -0
  290. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/start.rs +39 -0
  291. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tables.rs +134 -0
  292. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tags.rs +104 -0
  293. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/types.rs +678 -0
  294. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core.rs +168 -0
  295. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/lib.rs +215 -0
  296. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/raw.rs +30 -0
  297. data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +1 -0
  298. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +744 -0
  299. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +66 -0
  300. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +549 -0
  301. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +4076 -0
  302. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +4449 -0
  303. data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +1 -0
  304. data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +45 -0
  305. data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +3202 -0
  306. data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +1131 -0
  307. data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +279 -0
  308. data/ext/cargo-vendor/wasmtime-20.0.0/.cargo-checksum.json +1 -0
  309. data/ext/cargo-vendor/wasmtime-20.0.0/Cargo.toml +268 -0
  310. data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/code_builder.rs +201 -0
  311. data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/runtime.rs +175 -0
  312. data/ext/cargo-vendor/wasmtime-20.0.0/src/compile.rs +897 -0
  313. data/ext/cargo-vendor/wasmtime-20.0.0/src/config.rs +2695 -0
  314. data/ext/cargo-vendor/wasmtime-20.0.0/src/engine/serialization.rs +849 -0
  315. data/ext/cargo-vendor/wasmtime-20.0.0/src/engine.rs +741 -0
  316. data/ext/cargo-vendor/wasmtime-20.0.0/src/lib.rs +303 -0
  317. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/code_memory.rs +335 -0
  318. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/component.rs +661 -0
  319. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/host.rs +439 -0
  320. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/options.rs +554 -0
  321. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/typed.rs +2484 -0
  322. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func.rs +747 -0
  323. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/instance.rs +804 -0
  324. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/linker.rs +786 -0
  325. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/matching.rs +217 -0
  326. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/mod.rs +756 -0
  327. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/resources.rs +1133 -0
  328. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/types.rs +892 -0
  329. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/values.rs +978 -0
  330. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/coredump.rs +336 -0
  331. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/global.rs +300 -0
  332. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/table.rs +480 -0
  333. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func/typed.rs +898 -0
  334. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func.rs +2633 -0
  335. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/anyref.rs +46 -0
  336. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/externref.rs +50 -0
  337. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/i31.rs +14 -0
  338. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/rooting.rs +222 -0
  339. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled.rs +17 -0
  340. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/anyref.rs +472 -0
  341. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/externref.rs +644 -0
  342. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/i31.rs +345 -0
  343. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/rooting.rs +1543 -0
  344. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled.rs +12 -0
  345. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc.rs +87 -0
  346. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instance.rs +992 -0
  347. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instantiate.rs +345 -0
  348. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/linker.rs +1521 -0
  349. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/memory.rs +999 -0
  350. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module/registry.rs +354 -0
  351. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module.rs +1295 -0
  352. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/profiling.rs +224 -0
  353. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store/data.rs +289 -0
  354. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store.rs +2796 -0
  355. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/func.rs +138 -0
  356. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/global.rs +68 -0
  357. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/memory.rs +286 -0
  358. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/table.rs +34 -0
  359. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trap.rs +641 -0
  360. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/type_registry.rs +632 -0
  361. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types/matching.rs +367 -0
  362. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types.rs +1378 -0
  363. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/v128.rs +131 -0
  364. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/values.rs +945 -0
  365. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime.rs +112 -0
  366. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/.cargo-checksum.json +1 -0
  367. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/Cargo.toml +22 -0
  368. data/ext/cargo-vendor/wasmtime-cache-20.0.0/.cargo-checksum.json +1 -0
  369. data/ext/cargo-vendor/wasmtime-cache-20.0.0/Cargo.toml +81 -0
  370. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/.cargo-checksum.json +1 -0
  371. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/Cargo.toml +67 -0
  372. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/src/component.rs +1295 -0
  373. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/dead-code.wit +27 -0
  374. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen.rs +342 -0
  375. data/ext/cargo-vendor/wasmtime-component-util-20.0.0/.cargo-checksum.json +1 -0
  376. data/ext/cargo-vendor/wasmtime-component-util-20.0.0/Cargo.toml +25 -0
  377. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/.cargo-checksum.json +1 -0
  378. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/Cargo.toml +114 -0
  379. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/builder.rs +127 -0
  380. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiled_function.rs +225 -0
  381. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler/component.rs +962 -0
  382. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler.rs +1369 -0
  383. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/address_transform.rs +783 -0
  384. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/expression.rs +1252 -0
  385. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/func_environ.rs +2672 -0
  386. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/disabled.rs +116 -0
  387. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/enabled.rs +649 -0
  388. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc.rs +198 -0
  389. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/lib.rs +505 -0
  390. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/obj.rs +545 -0
  391. data/ext/cargo-vendor/wasmtime-environ-20.0.0/.cargo-checksum.json +1 -0
  392. data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.lock +782 -0
  393. data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.toml +144 -0
  394. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/address_map.rs +125 -0
  395. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/builtin.rs +184 -0
  396. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/address_map.rs +72 -0
  397. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/mod.rs +389 -0
  398. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/module_artifacts.rs +300 -0
  399. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/trap_encoding.rs +69 -0
  400. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/artifacts.rs +72 -0
  401. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/compiler.rs +19 -0
  402. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/info.rs +672 -0
  403. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/adapt.rs +459 -0
  404. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/inline.rs +1332 -0
  405. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/types.rs +1972 -0
  406. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component.rs +103 -0
  407. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/trampoline.rs +3233 -0
  408. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/transcode.rs +89 -0
  409. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact.rs +711 -0
  410. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/gc.rs +60 -0
  411. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/lib.rs +70 -0
  412. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module.rs +780 -0
  413. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_artifacts.rs +145 -0
  414. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_environ.rs +1288 -0
  415. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/obj.rs +173 -0
  416. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/trap_encoding.rs +188 -0
  417. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/tunables.rs +158 -0
  418. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/vmoffsets.rs +952 -0
  419. data/ext/cargo-vendor/wasmtime-fiber-20.0.0/.cargo-checksum.json +1 -0
  420. data/ext/cargo-vendor/wasmtime-fiber-20.0.0/Cargo.toml +63 -0
  421. data/ext/cargo-vendor/wasmtime-fiber-20.0.0/src/unix.rs +265 -0
  422. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/.cargo-checksum.json +1 -0
  423. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/Cargo.toml +67 -0
  424. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/.cargo-checksum.json +1 -0
  425. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/Cargo.toml +47 -0
  426. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/.cargo-checksum.json +1 -0
  427. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/Cargo.toml +147 -0
  428. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/build.rs +24 -0
  429. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/aarch64.rs +76 -0
  430. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/riscv64.rs +41 -0
  431. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.S +70 -0
  432. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.rs +34 -0
  433. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/x86_64.rs +41 -0
  434. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/async_yield.rs +35 -0
  435. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component/libcalls.rs +571 -0
  436. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component.rs +860 -0
  437. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/export.rs +108 -0
  438. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/disabled.rs +23 -0
  439. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/drc.rs +963 -0
  440. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/externref.rs +115 -0
  441. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/free_list.rs +767 -0
  442. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled.rs +18 -0
  443. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_ref.rs +486 -0
  444. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_runtime.rs +503 -0
  445. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/host_data.rs +81 -0
  446. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/i31.rs +86 -0
  447. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc.rs +244 -0
  448. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/on_demand.rs +217 -0
  449. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/gc_heap_pool.rs +92 -0
  450. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/table_pool.rs +231 -0
  451. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling.rs +699 -0
  452. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator.rs +780 -0
  453. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance.rs +1566 -0
  454. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/lib.rs +289 -0
  455. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/libcalls.rs +777 -0
  456. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/memory.rs +751 -0
  457. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/send_sync_ptr.rs +106 -0
  458. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/mmap.rs +111 -0
  459. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/traphandlers.rs +55 -0
  460. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/miri/mmap.rs +94 -0
  461. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/machports.rs +416 -0
  462. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/mmap.rs +151 -0
  463. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/signals.rs +401 -0
  464. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/windows/traphandlers.rs +104 -0
  465. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/table.rs +851 -0
  466. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/mod.rs +12 -0
  467. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory.rs +230 -0
  468. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory_disabled.rs +100 -0
  469. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_disabled.rs +16 -0
  470. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_enabled.rs +40 -0
  471. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers.rs +785 -0
  472. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/vmcontext.rs +1293 -0
  473. data/ext/cargo-vendor/wasmtime-slab-20.0.0/.cargo-checksum.json +1 -0
  474. data/ext/cargo-vendor/wasmtime-slab-20.0.0/Cargo.toml +21 -0
  475. data/ext/cargo-vendor/wasmtime-slab-20.0.0/src/lib.rs +493 -0
  476. data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +1 -0
  477. data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +36 -0
  478. data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +832 -0
  479. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/.cargo-checksum.json +1 -0
  480. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/Cargo.toml +32 -0
  481. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/.cargo-checksum.json +1 -0
  482. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/Cargo.toml +194 -0
  483. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/bindings.rs +283 -0
  484. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ctx.rs +659 -0
  485. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/filesystem.rs +433 -0
  486. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem/sync.rs +518 -0
  487. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem.rs +1079 -0
  488. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/io.rs +367 -0
  489. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/network.rs +539 -0
  490. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/tcp.rs +306 -0
  491. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ip_name_lookup.rs +126 -0
  492. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/lib.rs +404 -0
  493. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/network.rs +107 -0
  494. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/pipe.rs +826 -0
  495. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/poll.rs +233 -0
  496. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview0.rs +879 -0
  497. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview1.rs +2601 -0
  498. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/runtime.rs +175 -0
  499. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio/worker_thread_stdin.rs +177 -0
  500. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio.rs +507 -0
  501. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/tcp.rs +847 -0
  502. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/udp.rs +125 -0
  503. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/write_stream.rs +203 -0
  504. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/api.rs +194 -0
  505. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/async_.rs +397 -0
  506. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/main.rs +91 -0
  507. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/preview1.rs +251 -0
  508. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/sync.rs +333 -0
  509. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/wit/deps/io/poll.wit +41 -0
  510. data/ext/cargo-vendor/wasmtime-winch-20.0.0/.cargo-checksum.json +1 -0
  511. data/ext/cargo-vendor/wasmtime-winch-20.0.0/Cargo.toml +81 -0
  512. data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/builder.rs +85 -0
  513. data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/compiler.rs +257 -0
  514. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/.cargo-checksum.json +1 -0
  515. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/Cargo.toml +41 -0
  516. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/lib.rs +2213 -0
  517. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/rust.rs +421 -0
  518. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/types.rs +202 -0
  519. data/ext/cargo-vendor/wast-208.0.1/.cargo-checksum.json +1 -0
  520. data/ext/cargo-vendor/wast-208.0.1/Cargo.toml +60 -0
  521. data/ext/cargo-vendor/wast-208.0.1/src/component/binary.rs +1000 -0
  522. data/ext/cargo-vendor/wast-208.0.1/src/component/resolve.rs +1007 -0
  523. data/ext/cargo-vendor/wast-208.0.1/src/component/types.rs +999 -0
  524. data/ext/cargo-vendor/wast-208.0.1/src/component/wast.rs +160 -0
  525. data/ext/cargo-vendor/wast-208.0.1/src/core/binary.rs +1396 -0
  526. data/ext/cargo-vendor/wast-208.0.1/src/core/expr.rs +2016 -0
  527. data/ext/cargo-vendor/wast-208.0.1/src/core/func.rs +136 -0
  528. data/ext/cargo-vendor/wast-208.0.1/src/core/memory.rs +284 -0
  529. data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/deinline_import_export.rs +235 -0
  530. data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/names.rs +751 -0
  531. data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/types.rs +267 -0
  532. data/ext/cargo-vendor/wast-208.0.1/src/core/table.rs +302 -0
  533. data/ext/cargo-vendor/wast-208.0.1/src/core/types.rs +901 -0
  534. data/ext/cargo-vendor/wast-208.0.1/src/core/wast.rs +256 -0
  535. data/ext/cargo-vendor/wast-208.0.1/src/lib.rs +551 -0
  536. data/ext/cargo-vendor/wast-208.0.1/src/names.rs +67 -0
  537. data/ext/cargo-vendor/wast-208.0.1/src/parser.rs +1377 -0
  538. data/ext/cargo-vendor/wast-208.0.1/src/token.rs +737 -0
  539. data/ext/cargo-vendor/wast-208.0.1/src/wast.rs +459 -0
  540. data/ext/cargo-vendor/wast-208.0.1/src/wat.rs +71 -0
  541. data/ext/cargo-vendor/wast-208.0.1/tests/annotations.rs +200 -0
  542. data/ext/cargo-vendor/wast-208.0.1/tests/parse-fail.rs +80 -0
  543. data/ext/cargo-vendor/wat-1.208.1/.cargo-checksum.json +1 -0
  544. data/ext/cargo-vendor/wat-1.208.1/Cargo.toml +34 -0
  545. data/ext/cargo-vendor/wiggle-20.0.0/.cargo-checksum.json +1 -0
  546. data/ext/cargo-vendor/wiggle-20.0.0/Cargo.toml +122 -0
  547. data/ext/cargo-vendor/wiggle-20.0.0/src/borrow.rs +113 -0
  548. data/ext/cargo-vendor/wiggle-20.0.0/src/guest_type.rs +237 -0
  549. data/ext/cargo-vendor/wiggle-20.0.0/src/lib.rs +1184 -0
  550. data/ext/cargo-vendor/wiggle-20.0.0/src/wasmtime.rs +97 -0
  551. data/ext/cargo-vendor/wiggle-generate-20.0.0/.cargo-checksum.json +1 -0
  552. data/ext/cargo-vendor/wiggle-generate-20.0.0/Cargo.toml +65 -0
  553. data/ext/cargo-vendor/wiggle-macro-20.0.0/.cargo-checksum.json +1 -0
  554. data/ext/cargo-vendor/wiggle-macro-20.0.0/Cargo.toml +55 -0
  555. data/ext/cargo-vendor/wiggle-macro-20.0.0/LICENSE +220 -0
  556. data/ext/cargo-vendor/winch-codegen-0.18.0/.cargo-checksum.json +1 -0
  557. data/ext/cargo-vendor/winch-codegen-0.18.0/Cargo.toml +81 -0
  558. data/ext/cargo-vendor/winch-codegen-0.18.0/src/abi/mod.rs +671 -0
  559. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/bounds.rs +220 -0
  560. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/builtin.rs +263 -0
  561. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/call.rs +413 -0
  562. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/env.rs +435 -0
  563. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/mod.rs +756 -0
  564. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/abi.rs +291 -0
  565. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/asm.rs +252 -0
  566. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/masm.rs +573 -0
  567. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/mod.rs +154 -0
  568. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/regs.rs +149 -0
  569. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/mod.rs +223 -0
  570. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/abi.rs +517 -0
  571. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/asm.rs +1423 -0
  572. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/masm.rs +1256 -0
  573. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/mod.rs +169 -0
  574. data/ext/cargo-vendor/winch-codegen-0.18.0/src/lib.rs +19 -0
  575. data/ext/cargo-vendor/winch-codegen-0.18.0/src/masm.rs +947 -0
  576. data/ext/cargo-vendor/winch-codegen-0.18.0/src/visitor.rs +2149 -0
  577. data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +1 -0
  578. data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +101 -0
  579. data/ext/cargo-vendor/wit-parser-0.202.0/src/abi.rs +309 -0
  580. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/lex.rs +747 -0
  581. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +1443 -0
  582. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast.rs +1348 -0
  583. data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +1764 -0
  584. data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +765 -0
  585. data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +2240 -0
  586. data/ext/cargo-vendor/wit-parser-0.202.0/src/serde_.rs +108 -0
  587. data/ext/cargo-vendor/wit-parser-0.202.0/src/sizealign.rs +179 -0
  588. data/ext/cargo-vendor/wit-parser-0.202.0/tests/all.rs +153 -0
  589. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit +14 -0
  590. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit.json +166 -0
  591. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit +20 -0
  592. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit.json +281 -0
  593. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit +60 -0
  594. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit.json +774 -0
  595. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit +12 -0
  596. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit.json +72 -0
  597. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/wasi.wit +178 -0
  598. data/ext/src/ruby_api/convert.rs +15 -7
  599. data/ext/src/ruby_api/func.rs +2 -2
  600. data/ext/src/ruby_api/global.rs +2 -2
  601. data/ext/src/ruby_api/params.rs +5 -5
  602. data/ext/src/ruby_api/table.rs +3 -3
  603. data/lib/wasmtime/version.rb +1 -1
  604. metadata +1737 -1630
  605. data/ext/cargo-vendor/anyhow-1.0.79/.cargo-checksum.json +0 -1
  606. data/ext/cargo-vendor/anyhow-1.0.79/Cargo.toml +0 -67
  607. data/ext/cargo-vendor/anyhow-1.0.79/README.md +0 -179
  608. data/ext/cargo-vendor/anyhow-1.0.79/build.rs +0 -167
  609. data/ext/cargo-vendor/anyhow-1.0.79/src/backtrace.rs +0 -405
  610. data/ext/cargo-vendor/anyhow-1.0.79/src/chain.rs +0 -102
  611. data/ext/cargo-vendor/anyhow-1.0.79/src/fmt.rs +0 -156
  612. data/ext/cargo-vendor/anyhow-1.0.79/src/kind.rs +0 -119
  613. data/ext/cargo-vendor/anyhow-1.0.79/src/lib.rs +0 -698
  614. data/ext/cargo-vendor/anyhow-1.0.79/src/macros.rs +0 -231
  615. data/ext/cargo-vendor/anyhow-1.0.79/src/wrapper.rs +0 -81
  616. data/ext/cargo-vendor/anyhow-1.0.79/tests/test_ensure.rs +0 -722
  617. data/ext/cargo-vendor/anyhow-1.0.79/tests/test_macros.rs +0 -80
  618. data/ext/cargo-vendor/anyhow-1.0.79/tests/test_repr.rs +0 -31
  619. data/ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr +0 -31
  620. data/ext/cargo-vendor/cranelift-bforest-0.106.2/.cargo-checksum.json +0 -1
  621. data/ext/cargo-vendor/cranelift-bforest-0.106.2/Cargo.toml +0 -40
  622. data/ext/cargo-vendor/cranelift-codegen-0.106.2/.cargo-checksum.json +0 -1
  623. data/ext/cargo-vendor/cranelift-codegen-0.106.2/Cargo.toml +0 -175
  624. data/ext/cargo-vendor/cranelift-codegen-0.106.2/build.rs +0 -395
  625. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/alias_analysis.rs +0 -409
  626. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/binemit/mod.rs +0 -171
  627. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/bitset.rs +0 -165
  628. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/context.rs +0 -384
  629. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph/elaborate.rs +0 -836
  630. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph.rs +0 -702
  631. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/inst_predicates.rs +0 -217
  632. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/constant.rs +0 -462
  633. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/dfg.rs +0 -1734
  634. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/entities.rs +0 -598
  635. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/function.rs +0 -500
  636. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/instructions.rs +0 -1000
  637. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/memflags.rs +0 -310
  638. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/mod.rs +0 -110
  639. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/table.rs +0 -40
  640. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/trapcode.rs +0 -144
  641. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/types.rs +0 -629
  642. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/abi.rs +0 -1707
  643. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/emit.rs +0 -3958
  644. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/mod.rs +0 -3082
  645. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst.isle +0 -4197
  646. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower/isle.rs +0 -879
  647. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower.isle +0 -2917
  648. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/mod.rs +0 -241
  649. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/pcc.rs +0 -565
  650. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/call_conv.rs +0 -119
  651. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/abi.rs +0 -1097
  652. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/args.rs +0 -1974
  653. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/emit.rs +0 -3485
  654. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/encode.rs +0 -654
  655. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst.isle +0 -2928
  656. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower/isle.rs +0 -620
  657. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower.isle +0 -2864
  658. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/abi.rs +0 -1041
  659. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/args.rs +0 -355
  660. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/emit.rs +0 -3663
  661. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst.isle +0 -5031
  662. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/lower.isle +0 -3979
  663. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/abi.rs +0 -1303
  664. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/evex.rs +0 -749
  665. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/rex.rs +0 -598
  666. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/vex.rs +0 -492
  667. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/args.rs +0 -2269
  668. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit.rs +0 -4390
  669. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit_state.rs +0 -72
  670. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/mod.rs +0 -2852
  671. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst.isle +0 -5232
  672. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower/isle.rs +0 -1065
  673. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.isle +0 -4770
  674. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.rs +0 -353
  675. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/mod.rs +0 -233
  676. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/pcc.rs +0 -939
  677. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/mod.rs +0 -356
  678. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/table.rs +0 -114
  679. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/abi.rs +0 -2657
  680. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/buffer.rs +0 -2509
  681. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/inst_common.rs +0 -74
  682. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/isle.rs +0 -914
  683. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/lower.rs +0 -1443
  684. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/mod.rs +0 -558
  685. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/pcc.rs +0 -159
  686. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/vcode.rs +0 -1809
  687. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/nan_canonicalization.rs +0 -106
  688. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts/cprop.isle +0 -266
  689. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts.rs +0 -284
  690. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/prelude.isle +0 -641
  691. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/result.rs +0 -108
  692. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/settings.rs +0 -602
  693. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/verifier/mod.rs +0 -2033
  694. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/write.rs +0 -647
  695. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/.cargo-checksum.json +0 -1
  696. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/Cargo.toml +0 -35
  697. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/entities.rs +0 -106
  698. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/formats.rs +0 -213
  699. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/instructions.rs +0 -3810
  700. data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/.cargo-checksum.json +0 -1
  701. data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/Cargo.toml +0 -22
  702. data/ext/cargo-vendor/cranelift-control-0.106.2/.cargo-checksum.json +0 -1
  703. data/ext/cargo-vendor/cranelift-control-0.106.2/Cargo.toml +0 -30
  704. data/ext/cargo-vendor/cranelift-entity-0.106.2/.cargo-checksum.json +0 -1
  705. data/ext/cargo-vendor/cranelift-entity-0.106.2/Cargo.toml +0 -50
  706. data/ext/cargo-vendor/cranelift-frontend-0.106.2/.cargo-checksum.json +0 -1
  707. data/ext/cargo-vendor/cranelift-frontend-0.106.2/Cargo.toml +0 -68
  708. data/ext/cargo-vendor/cranelift-isle-0.106.2/.cargo-checksum.json +0 -1
  709. data/ext/cargo-vendor/cranelift-isle-0.106.2/Cargo.toml +0 -46
  710. data/ext/cargo-vendor/cranelift-native-0.106.2/.cargo-checksum.json +0 -1
  711. data/ext/cargo-vendor/cranelift-native-0.106.2/Cargo.toml +0 -43
  712. data/ext/cargo-vendor/cranelift-wasm-0.106.2/.cargo-checksum.json +0 -1
  713. data/ext/cargo-vendor/cranelift-wasm-0.106.2/Cargo.toml +0 -106
  714. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/code_translator.rs +0 -3680
  715. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/dummy.rs +0 -952
  716. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/mod.rs +0 -12
  717. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/spec.rs +0 -952
  718. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/func_translator.rs +0 -432
  719. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/lib.rs +0 -62
  720. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/state.rs +0 -542
  721. data/ext/cargo-vendor/cranelift-wasm-0.106.2/tests/wasm_testsuite.rs +0 -153
  722. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/arith.wat +0 -13
  723. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/br_table.wat +0 -30
  724. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call-simd.wat +0 -14
  725. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call.wat +0 -10
  726. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fannkuch.wat +0 -12180
  727. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fasta.wat +0 -12056
  728. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_ifs.wat +0 -11505
  729. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_primes.wat +0 -11185
  730. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fac-multi-value.wat +0 -19
  731. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fibonacci.wat +0 -22
  732. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/globals.wat +0 -8
  733. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall-simd.wat +0 -7
  734. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall.wat +0 -7
  735. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-0.wat +0 -12
  736. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-1.wat +0 -12
  737. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-2.wat +0 -12
  738. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-3.wat +0 -12
  739. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-4.wat +0 -12
  740. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-5.wat +0 -14
  741. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-6.wat +0 -14
  742. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params-2.wat +0 -18
  743. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params.wat +0 -41
  744. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
  745. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/memory.wat +0 -11
  746. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-0.wat +0 -3
  747. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-1.wat +0 -6
  748. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-10.wat +0 -10
  749. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-11.wat +0 -7
  750. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-12.wat +0 -9
  751. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-13.wat +0 -10
  752. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-14.wat +0 -10
  753. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-15.wat +0 -22
  754. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-16.wat +0 -9
  755. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-17.wat +0 -26
  756. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-2.wat +0 -6
  757. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-3.wat +0 -13
  758. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-4.wat +0 -13
  759. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-5.wat +0 -11
  760. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-6.wat +0 -11
  761. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-7.wat +0 -9
  762. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-8.wat +0 -12
  763. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-9.wat +0 -15
  764. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/nullref.wat +0 -11
  765. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/passive-data.wat +0 -12
  766. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2303.wat +0 -15
  767. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2559.wat +0 -51
  768. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/ref-func-0.wat +0 -12
  769. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/rust_fannkuch.wat +0 -1723
  770. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/select.wat +0 -19
  771. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd-store.wat +0 -83
  772. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd.wat +0 -29
  773. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/table-copy.wat +0 -22
  774. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/unreachable_code.wat +0 -77
  775. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/.cargo-checksum.json +0 -1
  776. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/Cargo.toml +0 -49
  777. data/ext/cargo-vendor/mach-0.3.2/.cargo-checksum.json +0 -1
  778. data/ext/cargo-vendor/mach-0.3.2/Cargo.toml +0 -46
  779. data/ext/cargo-vendor/mach-0.3.2/LICENSE.md +0 -23
  780. data/ext/cargo-vendor/mach-0.3.2/README.md +0 -55
  781. data/ext/cargo-vendor/mach-0.3.2/ci/build_fail.sh +0 -7
  782. data/ext/cargo-vendor/mach-0.3.2/ci/deploy_and_run_on_ios_simulator.rs +0 -175
  783. data/ext/cargo-vendor/mach-0.3.2/ci/run.sh +0 -57
  784. data/ext/cargo-vendor/mach-0.3.2/examples/dump_process_registers.rs +0 -136
  785. data/ext/cargo-vendor/mach-0.3.2/src/exc.rs +0 -44
  786. data/ext/cargo-vendor/mach-0.3.2/src/kern_return.rs +0 -58
  787. data/ext/cargo-vendor/mach-0.3.2/src/lib.rs +0 -60
  788. data/ext/cargo-vendor/mach-0.3.2/src/mach_port.rs +0 -29
  789. data/ext/cargo-vendor/mach-0.3.2/src/message.rs +0 -248
  790. data/ext/cargo-vendor/mach-0.3.2/src/port.rs +0 -26
  791. data/ext/cargo-vendor/mach-0.3.2/src/structs.rs +0 -62
  792. data/ext/cargo-vendor/mach-0.3.2/src/task.rs +0 -41
  793. data/ext/cargo-vendor/mach-0.3.2/src/task_info.rs +0 -44
  794. data/ext/cargo-vendor/mach-0.3.2/src/thread_act.rs +0 -23
  795. data/ext/cargo-vendor/mach-0.3.2/src/thread_status.rs +0 -23
  796. data/ext/cargo-vendor/mach-0.3.2/src/traps.rs +0 -35
  797. data/ext/cargo-vendor/mach-0.3.2/src/vm.rs +0 -247
  798. data/ext/cargo-vendor/mach-0.3.2/src/vm_attributes.rs +0 -18
  799. data/ext/cargo-vendor/mach-0.3.2/src/vm_page_size.rs +0 -33
  800. data/ext/cargo-vendor/mach-0.3.2/src/vm_prot.rs +0 -14
  801. data/ext/cargo-vendor/mach-0.3.2/src/vm_purgable.rs +0 -42
  802. data/ext/cargo-vendor/mach-0.3.2/src/vm_region.rs +0 -238
  803. data/ext/cargo-vendor/mach-0.3.2/src/vm_statistics.rs +0 -78
  804. data/ext/cargo-vendor/mach-0.3.2/src/vm_sync.rs +0 -11
  805. data/ext/cargo-vendor/mach-0.3.2/src/vm_types.rs +0 -19
  806. data/ext/cargo-vendor/wasi-common-19.0.2/.cargo-checksum.json +0 -1
  807. data/ext/cargo-vendor/wasi-common-19.0.2/Cargo.toml +0 -221
  808. data/ext/cargo-vendor/wasi-common-19.0.2/src/ctx.rs +0 -128
  809. data/ext/cargo-vendor/wasi-common-19.0.2/src/lib.rs +0 -189
  810. data/ext/cargo-vendor/wasi-common-19.0.2/src/snapshots/preview_1.rs +0 -1491
  811. data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/async_.rs +0 -289
  812. data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/sync.rs +0 -275
  813. data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +0 -1
  814. data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +0 -43
  815. data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +0 -792
  816. data/ext/cargo-vendor/wasmparser-0.201.0/.cargo-checksum.json +0 -1
  817. data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.lock +0 -744
  818. data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.toml +0 -66
  819. data/ext/cargo-vendor/wasmparser-0.201.0/src/readers/component/types.rs +0 -549
  820. data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/operators.rs +0 -4074
  821. data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/types.rs +0 -4449
  822. data/ext/cargo-vendor/wasmprinter-0.201.0/.cargo-checksum.json +0 -1
  823. data/ext/cargo-vendor/wasmprinter-0.201.0/Cargo.toml +0 -45
  824. data/ext/cargo-vendor/wasmprinter-0.201.0/src/lib.rs +0 -3143
  825. data/ext/cargo-vendor/wasmprinter-0.201.0/src/operator.rs +0 -1110
  826. data/ext/cargo-vendor/wasmprinter-0.201.0/tests/all.rs +0 -279
  827. data/ext/cargo-vendor/wasmtime-19.0.2/.cargo-checksum.json +0 -1
  828. data/ext/cargo-vendor/wasmtime-19.0.2/Cargo.toml +0 -261
  829. data/ext/cargo-vendor/wasmtime-19.0.2/src/compile.rs +0 -835
  830. data/ext/cargo-vendor/wasmtime-19.0.2/src/config.rs +0 -2649
  831. data/ext/cargo-vendor/wasmtime-19.0.2/src/engine/serialization.rs +0 -809
  832. data/ext/cargo-vendor/wasmtime-19.0.2/src/engine.rs +0 -735
  833. data/ext/cargo-vendor/wasmtime-19.0.2/src/lib.rs +0 -293
  834. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/code_memory.rs +0 -335
  835. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/component.rs +0 -586
  836. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/host.rs +0 -456
  837. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/options.rs +0 -541
  838. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/typed.rs +0 -2484
  839. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func.rs +0 -752
  840. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/instance.rs +0 -818
  841. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/linker.rs +0 -788
  842. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/matching.rs +0 -212
  843. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/mod.rs +0 -678
  844. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/resources.rs +0 -1169
  845. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/types.rs +0 -961
  846. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/values.rs +0 -1388
  847. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/coredump.rs +0 -321
  848. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/global.rs +0 -249
  849. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/table.rs +0 -416
  850. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func/typed.rs +0 -985
  851. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func.rs +0 -2585
  852. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instance.rs +0 -981
  853. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instantiate.rs +0 -423
  854. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/linker.rs +0 -1518
  855. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/memory.rs +0 -997
  856. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module/registry.rs +0 -360
  857. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module.rs +0 -1367
  858. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/profiling.rs +0 -222
  859. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/gc_ref.rs +0 -110
  860. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/no_gc_ref.rs +0 -60
  861. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref.rs +0 -9
  862. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store/data.rs +0 -289
  863. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store.rs +0 -2445
  864. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/func.rs +0 -144
  865. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/global.rs +0 -70
  866. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/memory.rs +0 -268
  867. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/table.rs +0 -20
  868. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trap.rs +0 -641
  869. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/type_registry.rs +0 -640
  870. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types/matching.rs +0 -334
  871. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types.rs +0 -1236
  872. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/v128.rs +0 -131
  873. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/values.rs +0 -771
  874. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime.rs +0 -112
  875. data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/.cargo-checksum.json +0 -1
  876. data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/Cargo.toml +0 -22
  877. data/ext/cargo-vendor/wasmtime-cache-19.0.2/.cargo-checksum.json +0 -1
  878. data/ext/cargo-vendor/wasmtime-cache-19.0.2/Cargo.toml +0 -81
  879. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/.cargo-checksum.json +0 -1
  880. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/Cargo.toml +0 -67
  881. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/src/component.rs +0 -1295
  882. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/tests/codegen.rs +0 -191
  883. data/ext/cargo-vendor/wasmtime-component-util-19.0.2/.cargo-checksum.json +0 -1
  884. data/ext/cargo-vendor/wasmtime-component-util-19.0.2/Cargo.toml +0 -25
  885. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/.cargo-checksum.json +0 -1
  886. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/Cargo.toml +0 -114
  887. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/builder.rs +0 -127
  888. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler/component.rs +0 -960
  889. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler.rs +0 -1316
  890. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/address_transform.rs +0 -784
  891. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/expression.rs +0 -1252
  892. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/func_environ.rs +0 -2846
  893. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/lib.rs +0 -186
  894. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/.cargo-checksum.json +0 -1
  895. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/Cargo.toml +0 -71
  896. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/compiled_function.rs +0 -231
  897. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/lib.rs +0 -130
  898. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/obj.rs +0 -564
  899. data/ext/cargo-vendor/wasmtime-environ-19.0.2/.cargo-checksum.json +0 -1
  900. data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.lock +0 -782
  901. data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.toml +0 -141
  902. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/address_map.rs +0 -191
  903. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/builtin.rs +0 -155
  904. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/compilation.rs +0 -402
  905. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/artifacts.rs +0 -45
  906. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/compiler.rs +0 -47
  907. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/info.rs +0 -594
  908. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/adapt.rs +0 -457
  909. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/inline.rs +0 -1332
  910. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/types.rs +0 -1933
  911. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component.rs +0 -97
  912. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/trampoline.rs +0 -3229
  913. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/transcode.rs +0 -168
  914. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact.rs +0 -713
  915. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/lib.rs +0 -66
  916. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module.rs +0 -1117
  917. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_artifacts.rs +0 -377
  918. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_environ.rs +0 -903
  919. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/obj.rs +0 -172
  920. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/trap_encoding.rs +0 -245
  921. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/tunables.rs +0 -154
  922. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/vmoffsets.rs +0 -918
  923. data/ext/cargo-vendor/wasmtime-fiber-19.0.2/.cargo-checksum.json +0 -1
  924. data/ext/cargo-vendor/wasmtime-fiber-19.0.2/Cargo.toml +0 -63
  925. data/ext/cargo-vendor/wasmtime-fiber-19.0.2/src/unix.rs +0 -265
  926. data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/.cargo-checksum.json +0 -1
  927. data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/Cargo.toml +0 -67
  928. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/.cargo-checksum.json +0 -1
  929. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/Cargo.toml +0 -46
  930. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/.cargo-checksum.json +0 -1
  931. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/Cargo.toml +0 -140
  932. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/build.rs +0 -28
  933. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/aarch64.rs +0 -120
  934. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/riscv64.rs +0 -88
  935. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.S +0 -70
  936. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.rs +0 -61
  937. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/x86_64.rs +0 -104
  938. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component/libcalls.rs +0 -572
  939. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component.rs +0 -864
  940. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/export.rs +0 -105
  941. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/gc.rs +0 -1058
  942. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/no_gc.rs +0 -125
  943. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref.rs +0 -24
  944. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/on_demand.rs +0 -196
  945. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling/table_pool.rs +0 -227
  946. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling.rs +0 -658
  947. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator.rs +0 -730
  948. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance.rs +0 -1527
  949. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/lib.rs +0 -264
  950. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/libcalls.rs +0 -776
  951. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/memory.rs +0 -972
  952. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/send_sync_ptr.rs +0 -93
  953. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/mmap.rs +0 -111
  954. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/traphandlers.rs +0 -51
  955. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/miri/mmap.rs +0 -94
  956. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/machports.rs +0 -488
  957. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/mmap.rs +0 -151
  958. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/signals.rs +0 -402
  959. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/windows/traphandlers.rs +0 -105
  960. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/table.rs +0 -643
  961. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers/coredump.rs +0 -38
  962. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers.rs +0 -736
  963. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/vmcontext.rs +0 -1215
  964. data/ext/cargo-vendor/wasmtime-slab-19.0.2/.cargo-checksum.json +0 -1
  965. data/ext/cargo-vendor/wasmtime-slab-19.0.2/Cargo.toml +0 -21
  966. data/ext/cargo-vendor/wasmtime-slab-19.0.2/src/lib.rs +0 -450
  967. data/ext/cargo-vendor/wasmtime-types-19.0.2/.cargo-checksum.json +0 -1
  968. data/ext/cargo-vendor/wasmtime-types-19.0.2/Cargo.toml +0 -36
  969. data/ext/cargo-vendor/wasmtime-types-19.0.2/src/lib.rs +0 -640
  970. data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/.cargo-checksum.json +0 -1
  971. data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/Cargo.toml +0 -32
  972. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/.cargo-checksum.json +0 -1
  973. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/Cargo.toml +0 -194
  974. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/command.rs +0 -122
  975. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ctx.rs +0 -353
  976. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/filesystem.rs +0 -373
  977. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem/sync.rs +0 -517
  978. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem.rs +0 -1081
  979. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/io.rs +0 -366
  980. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/network.rs +0 -519
  981. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/tcp.rs +0 -677
  982. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ip_name_lookup.rs +0 -123
  983. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/lib.rs +0 -323
  984. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/network.rs +0 -108
  985. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/p1ctx.rs +0 -37
  986. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/pipe.rs +0 -826
  987. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/poll.rs +0 -179
  988. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview0.rs +0 -872
  989. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview1.rs +0 -2361
  990. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio/worker_thread_stdin.rs +0 -173
  991. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio.rs +0 -443
  992. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/tcp.rs +0 -350
  993. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/udp.rs +0 -125
  994. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/write_stream.rs +0 -203
  995. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/api.rs +0 -210
  996. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/async_.rs +0 -380
  997. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/main.rs +0 -106
  998. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/preview1.rs +0 -243
  999. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/sync.rs +0 -315
  1000. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/wit/deps/io/poll.wit +0 -42
  1001. data/ext/cargo-vendor/wasmtime-winch-19.0.2/.cargo-checksum.json +0 -1
  1002. data/ext/cargo-vendor/wasmtime-winch-19.0.2/Cargo.toml +0 -77
  1003. data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/builder.rs +0 -65
  1004. data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/compiler.rs +0 -283
  1005. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/.cargo-checksum.json +0 -1
  1006. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/Cargo.toml +0 -41
  1007. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/lib.rs +0 -2104
  1008. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/rust.rs +0 -421
  1009. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/types.rs +0 -194
  1010. data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/.cargo-checksum.json +0 -1
  1011. data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/Cargo.toml +0 -29
  1012. data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/src/lib.rs +0 -404
  1013. data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +0 -1
  1014. data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +0 -59
  1015. data/ext/cargo-vendor/wast-201.0.0/src/component/binary.rs +0 -1004
  1016. data/ext/cargo-vendor/wast-201.0.0/src/component/resolve.rs +0 -1006
  1017. data/ext/cargo-vendor/wast-201.0.0/src/component/types.rs +0 -991
  1018. data/ext/cargo-vendor/wast-201.0.0/src/component/wast.rs +0 -160
  1019. data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +0 -1365
  1020. data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +0 -1993
  1021. data/ext/cargo-vendor/wast-201.0.0/src/core/func.rs +0 -136
  1022. data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +0 -281
  1023. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +0 -233
  1024. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +0 -763
  1025. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/types.rs +0 -271
  1026. data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +0 -289
  1027. data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +0 -861
  1028. data/ext/cargo-vendor/wast-201.0.0/src/core/wast.rs +0 -256
  1029. data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +0 -542
  1030. data/ext/cargo-vendor/wast-201.0.0/src/names.rs +0 -89
  1031. data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +0 -1374
  1032. data/ext/cargo-vendor/wast-201.0.0/src/token.rs +0 -718
  1033. data/ext/cargo-vendor/wast-201.0.0/src/wast.rs +0 -420
  1034. data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +0 -63
  1035. data/ext/cargo-vendor/wast-201.0.0/tests/annotations.rs +0 -200
  1036. data/ext/cargo-vendor/wast-201.0.0/tests/parse-fail.rs +0 -98
  1037. data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +0 -1
  1038. data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +0 -33
  1039. data/ext/cargo-vendor/wiggle-19.0.2/.cargo-checksum.json +0 -1
  1040. data/ext/cargo-vendor/wiggle-19.0.2/Cargo.toml +0 -122
  1041. data/ext/cargo-vendor/wiggle-19.0.2/src/borrow.rs +0 -259
  1042. data/ext/cargo-vendor/wiggle-19.0.2/src/guest_type.rs +0 -237
  1043. data/ext/cargo-vendor/wiggle-19.0.2/src/lib.rs +0 -1199
  1044. data/ext/cargo-vendor/wiggle-19.0.2/src/wasmtime.rs +0 -101
  1045. data/ext/cargo-vendor/wiggle-generate-19.0.2/.cargo-checksum.json +0 -1
  1046. data/ext/cargo-vendor/wiggle-generate-19.0.2/Cargo.toml +0 -65
  1047. data/ext/cargo-vendor/wiggle-macro-19.0.2/.cargo-checksum.json +0 -1
  1048. data/ext/cargo-vendor/wiggle-macro-19.0.2/Cargo.toml +0 -55
  1049. data/ext/cargo-vendor/winch-codegen-0.17.2/.cargo-checksum.json +0 -1
  1050. data/ext/cargo-vendor/winch-codegen-0.17.2/Cargo.toml +0 -77
  1051. data/ext/cargo-vendor/winch-codegen-0.17.2/src/abi/mod.rs +0 -737
  1052. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/bounds.rs +0 -220
  1053. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/builtin.rs +0 -272
  1054. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/call.rs +0 -413
  1055. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/env.rs +0 -399
  1056. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/mod.rs +0 -672
  1057. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/abi.rs +0 -309
  1058. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/asm.rs +0 -247
  1059. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/masm.rs +0 -557
  1060. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/mod.rs +0 -152
  1061. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/regs.rs +0 -183
  1062. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/mod.rs +0 -232
  1063. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/abi.rs +0 -543
  1064. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/asm.rs +0 -1418
  1065. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/masm.rs +0 -1300
  1066. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/mod.rs +0 -192
  1067. data/ext/cargo-vendor/winch-codegen-0.17.2/src/lib.rs +0 -21
  1068. data/ext/cargo-vendor/winch-codegen-0.17.2/src/masm.rs +0 -955
  1069. data/ext/cargo-vendor/winch-codegen-0.17.2/src/trampoline.rs +0 -626
  1070. data/ext/cargo-vendor/winch-codegen-0.17.2/src/visitor.rs +0 -2101
  1071. data/ext/cargo-vendor/wit-parser-0.201.0/.cargo-checksum.json +0 -1
  1072. data/ext/cargo-vendor/wit-parser-0.201.0/Cargo.toml +0 -101
  1073. data/ext/cargo-vendor/wit-parser-0.201.0/src/abi.rs +0 -295
  1074. data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/lex.rs +0 -747
  1075. data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/resolve.rs +0 -1427
  1076. data/ext/cargo-vendor/wit-parser-0.201.0/src/ast.rs +0 -1348
  1077. data/ext/cargo-vendor/wit-parser-0.201.0/src/decoding.rs +0 -1764
  1078. data/ext/cargo-vendor/wit-parser-0.201.0/src/lib.rs +0 -747
  1079. data/ext/cargo-vendor/wit-parser-0.201.0/src/resolve.rs +0 -2239
  1080. data/ext/cargo-vendor/wit-parser-0.201.0/src/serde_.rs +0 -108
  1081. data/ext/cargo-vendor/wit-parser-0.201.0/src/sizealign.rs +0 -144
  1082. data/ext/cargo-vendor/wit-parser-0.201.0/tests/all.rs +0 -185
  1083. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit +0 -14
  1084. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit.json +0 -166
  1085. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit +0 -20
  1086. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit.json +0 -281
  1087. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit +0 -60
  1088. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit.json +0 -774
  1089. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit +0 -12
  1090. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit.json +0 -72
  1091. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/wasi.wit +0 -178
  1092. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-APACHE +0 -0
  1093. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-MIT +0 -0
  1094. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/build/probe.rs +0 -0
  1095. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/rust-toolchain.toml +0 -0
  1096. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/context.rs +0 -0
  1097. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ensure.rs +0 -0
  1098. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/error.rs +0 -0
  1099. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ptr.rs +0 -0
  1100. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/common/mod.rs +0 -0
  1101. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/compiletest.rs +0 -0
  1102. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/drop/mod.rs +0 -0
  1103. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_autotrait.rs +0 -0
  1104. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_backtrace.rs +0 -0
  1105. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_boxed.rs +0 -0
  1106. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_chain.rs +0 -0
  1107. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_context.rs +0 -0
  1108. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_convert.rs +0 -0
  1109. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_downcast.rs +0 -0
  1110. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_ffi.rs +0 -0
  1111. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_fmt.rs +0 -0
  1112. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_source.rs +0 -0
  1113. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.rs +0 -0
  1114. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.stderr +0 -0
  1115. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.rs +0 -0
  1116. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.stderr +0 -0
  1117. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.rs +0 -0
  1118. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.stderr +0 -0
  1119. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/no-impl.rs +0 -0
  1120. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.rs +0 -0
  1121. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.stderr +0 -0
  1122. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.rs +0 -0
  1123. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.stderr +0 -0
  1124. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/LICENSE +0 -0
  1125. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/README.md +0 -0
  1126. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/lib.rs +0 -0
  1127. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/map.rs +0 -0
  1128. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/node.rs +0 -0
  1129. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/path.rs +0 -0
  1130. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/pool.rs +0 -0
  1131. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/set.rs +0 -0
  1132. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/LICENSE +0 -0
  1133. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/README.md +0 -0
  1134. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/benches/x64-evex-encoding.rs +0 -0
  1135. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/binemit/stack_map.rs +0 -0
  1136. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cfg_printer.rs +0 -0
  1137. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/constant_hash.rs +0 -0
  1138. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ctxhash.rs +0 -0
  1139. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cursor.rs +0 -0
  1140. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/data_value.rs +0 -0
  1141. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dbg.rs +0 -0
  1142. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dce.rs +0 -0
  1143. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dominator_tree.rs +0 -0
  1144. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/egraph/cost.rs +0 -0
  1145. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/flowgraph.rs +0 -0
  1146. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/fx.rs +0 -0
  1147. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/incremental_cache.rs +0 -0
  1148. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/atomic_rmw_op.rs +0 -0
  1149. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/builder.rs +0 -0
  1150. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/condcodes.rs +0 -0
  1151. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/dynamic_type.rs +0 -0
  1152. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extfunc.rs +0 -0
  1153. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extname.rs +0 -0
  1154. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/globalvalue.rs +0 -0
  1155. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/immediates.rs +0 -0
  1156. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/jumptable.rs +0 -0
  1157. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/known_symbol.rs +0 -0
  1158. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/layout.rs +0 -0
  1159. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/libcall.rs +0 -0
  1160. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/memtype.rs +0 -0
  1161. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/pcc.rs +0 -0
  1162. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/progpoint.rs +0 -0
  1163. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/sourceloc.rs +0 -0
  1164. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/stackslot.rs +0 -0
  1165. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/args.rs +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/emit_tests.rs +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/imms.rs +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/regs.rs +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind.rs +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst_neon.isle +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower.rs +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/settings.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/mod.rs +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/emit_tests.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/imms.rs +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/mod.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/regs.rs +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind.rs +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/vector.rs +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst_vector.isle +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower.rs +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/mod.rs +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/settings.rs +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/imms.rs +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/mod.rs +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/regs.rs +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind.rs +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle.rs +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/mod.rs +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/settings.rs +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/systemv.rs +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/winx64.rs +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind.rs +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/encoding/mod.rs +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/emit_tests.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/regs.rs +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/settings.rs +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isle_prelude.rs +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/iterators.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/legalizer/globalvalue.rs +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/lib.rs +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/loop_analysis.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/blockorder.rs +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/compile.rs +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/helpers.rs +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/reg.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/valueregs.rs +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/README.md +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/arithmetic.isle +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/bitops.isle +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/extends.isle +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/generated_code.rs +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/icmp.isle +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/remat.isle +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/selects.isle +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/shifts.isle +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/spaceship.isle +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/vector.isle +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_lower.isle +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_opt.isle +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/print_errors.rs +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/remove_constant_phis.rs +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/scoped_hash_map.rs +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/souper_harvest.rs +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/timing.rs +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unionfind.rs +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unreachable_code.rs +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/value_label.rs +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/LICENSE +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/README.md +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/formats.rs +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/instructions.rs +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/isa.rs +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/mod.rs +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/operands.rs +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/settings.rs +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/types.rs +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/typevar.rs +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/constant_hash.rs +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/error.rs +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_inst.rs +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_settings.rs +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_types.rs +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/arm64.rs +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/mod.rs +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/riscv64.rs +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/s390x.rs +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/x86.rs +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/lib.rs +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/immediates.rs +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/mod.rs +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/settings.rs +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/types.rs +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/srcgen.rs +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/unique_table.rs +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/LICENSE +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/README.md +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constant_hash.rs +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constants.rs +0 -0
  1273. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/lib.rs +0 -0
  1274. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/LICENSE +0 -0
  1275. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/README.md +0 -0
  1276. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/chaos.rs +0 -0
  1277. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/lib.rs +0 -0
  1278. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/zero_sized.rs +0 -0
  1279. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/LICENSE +0 -0
  1280. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/README.md +0 -0
  1281. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/boxed_slice.rs +0 -0
  1282. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/iter.rs +0 -0
  1283. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/keys.rs +0 -0
  1284. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/lib.rs +0 -0
  1285. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/list.rs +0 -0
  1286. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/map.rs +0 -0
  1287. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/packed_option.rs +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/primary.rs +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/set.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/sparse.rs +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/unsigned.rs +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/LICENSE +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/README.md +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/frontend.rs +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/lib.rs +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/ssa.rs +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/switch.rs +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/variable.rs +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/README.md +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/build.rs +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bad_converters.isle +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/error1.isle +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/extra_parens.isle +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_expression.isle +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_rhs.isle +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_prio.isle +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows.isle +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows_main.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets.isle +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets_main.rs +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor.isle +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor_main.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor.isle +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor_main.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test.isle +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test_main.rs +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/bound_var.isle +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/construct_and_extract.isle +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions.isle +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions_extern.isle +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/let.isle +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/nodebug.isle +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test2.isle +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test3.isle +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test4.isle +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/tutorial.isle +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst.isle +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst_main.rs +0 -0
  1333. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing.isle +0 -0
  1334. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing_main.rs +0 -0
  1335. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/ast.rs +0 -0
  1336. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/codegen.rs +0 -0
  1337. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/compile.rs +0 -0
  1338. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/error.rs +0 -0
  1339. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lexer.rs +0 -0
  1340. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lib.rs +0 -0
  1341. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/log.rs +0 -0
  1342. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/overlap.rs +0 -0
  1343. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/parser.rs +0 -0
  1344. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/sema.rs +0 -0
  1345. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/serialize.rs +0 -0
  1346. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/trie_again.rs +0 -0
  1347. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/tests/run_tests.rs +0 -0
  1348. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/LICENSE +0 -0
  1349. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/README.md +0 -0
  1350. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/lib.rs +0 -0
  1351. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/riscv.rs +0 -0
  1352. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/LICENSE +0 -0
  1353. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/README.md +0 -0
  1354. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/code_translator/bounds_checks.rs +0 -0
  1355. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/heap.rs +0 -0
  1356. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/module_translator.rs +0 -0
  1357. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/sections_translator.rs +0 -0
  1358. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/translation_utils.rs +0 -0
  1359. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/README.md +0 -0
  1360. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/clocks.rs +0 -0
  1361. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/lib.rs +0 -0
  1362. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/noop_scheduler.rs +0 -0
  1363. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/clocks.rs +0 -0
  1364. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/common/mod.rs +0 -0
  1365. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/random.rs +0 -0
  1366. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/scheduler.rs +0 -0
  1367. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/boolean.rs +0 -0
  1368. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/bootstrap.rs +0 -0
  1369. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock.rs +0 -0
  1370. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_priv.rs +0 -0
  1371. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_reply.rs +0 -0
  1372. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_types.rs +0 -0
  1373. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/dyld_kernel.rs +0 -0
  1374. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/exception_types.rs +0 -0
  1375. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_init.rs +0 -0
  1376. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_time.rs +0 -0
  1377. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_types.rs +0 -0
  1378. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/memory_object_types.rs +0 -0
  1379. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_behavior.rs +0 -0
  1380. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_inherit.rs +0 -0
  1381. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/LICENSE +0 -0
  1382. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/README.md +0 -0
  1383. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/clocks.rs +0 -0
  1384. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/dir.rs +0 -0
  1385. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/error.rs +0 -0
  1386. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/file.rs +0 -0
  1387. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/pipe.rs +0 -0
  1388. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/random.rs +0 -0
  1389. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched/subscription.rs +0 -0
  1390. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched.rs +0 -0
  1391. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/mod.rs +0 -0
  1392. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_0.rs +0 -0
  1393. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_1/error.rs +0 -0
  1394. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/string_array.rs +0 -0
  1395. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/clocks.rs +0 -0
  1396. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/dir.rs +0 -0
  1397. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/file.rs +0 -0
  1398. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/mod.rs +0 -0
  1399. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/net.rs +0 -0
  1400. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/unix.rs +0 -0
  1401. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/windows.rs +0 -0
  1402. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched.rs +0 -0
  1403. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/stdio.rs +0 -0
  1404. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/table.rs +0 -0
  1405. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/dir.rs +0 -0
  1406. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/file.rs +0 -0
  1407. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/mod.rs +0 -0
  1408. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/net.rs +0 -0
  1409. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/unix.rs +0 -0
  1410. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/windows.rs +0 -0
  1411. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched.rs +0 -0
  1412. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/stdio.rs +0 -0
  1413. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/tests/all/main.rs +0 -0
  1414. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/typenames.witx +0 -0
  1415. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1416. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/typenames.witx +0 -0
  1417. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1418. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/LICENSE +0 -0
  1419. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/README.md +0 -0
  1420. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/aliases.rs +0 -0
  1421. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/builder.rs +0 -0
  1422. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/canonicals.rs +0 -0
  1423. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/components.rs +0 -0
  1424. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/exports.rs +0 -0
  1425. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/imports.rs +0 -0
  1426. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/instances.rs +0 -0
  1427. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/modules.rs +0 -0
  1428. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/names.rs +0 -0
  1429. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/start.rs +0 -0
  1430. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component.rs +0 -0
  1431. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/code.rs +0 -0
  1432. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/custom.rs +0 -0
  1433. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/data.rs +0 -0
  1434. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/dump.rs +0 -0
  1435. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/elements.rs +0 -0
  1436. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/exports.rs +0 -0
  1437. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/functions.rs +0 -0
  1438. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/globals.rs +0 -0
  1439. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/imports.rs +0 -0
  1440. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/linking.rs +0 -0
  1441. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/memories.rs +0 -0
  1442. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/names.rs +0 -0
  1443. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/producers.rs +0 -0
  1444. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/start.rs +0 -0
  1445. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tables.rs +0 -0
  1446. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tags.rs +0 -0
  1447. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/types.rs +0 -0
  1448. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core.rs +0 -0
  1449. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/lib.rs +0 -0
  1450. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/raw.rs +0 -0
  1451. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasm-encoder-0.208.1}/LICENSE +0 -0
  1452. /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmparser-0.202.0}/LICENSE +0 -0
  1453. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/README.md +0 -0
  1454. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/benches/benchmark.rs +0 -0
  1455. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/examples/simple.rs +0 -0
  1456. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/binary_reader.rs +0 -0
  1457. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/lib.rs +0 -0
  1458. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/limits.rs +0 -0
  1459. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/parser.rs +0 -0
  1460. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/aliases.rs +0 -0
  1461. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/canonicals.rs +0 -0
  1462. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/exports.rs +0 -0
  1463. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/imports.rs +0 -0
  1464. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/instances.rs +0 -0
  1465. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/names.rs +0 -0
  1466. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/start.rs +0 -0
  1467. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component.rs +0 -0
  1468. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/branch_hinting.rs +0 -0
  1469. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/code.rs +0 -0
  1470. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/coredumps.rs +0 -0
  1471. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/custom.rs +0 -0
  1472. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/data.rs +0 -0
  1473. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/dylink0.rs +0 -0
  1474. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/elements.rs +0 -0
  1475. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/exports.rs +0 -0
  1476. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/functions.rs +0 -0
  1477. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/globals.rs +0 -0
  1478. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/imports.rs +0 -0
  1479. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/init.rs +0 -0
  1480. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/linking.rs +0 -0
  1481. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/memories.rs +0 -0
  1482. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/names.rs +0 -0
  1483. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/operators.rs +0 -0
  1484. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/producers.rs +0 -0
  1485. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tables.rs +0 -0
  1486. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tags.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types/matches.rs +0 -0
  1488. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/resources.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/component.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core/canonical.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/func.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/names.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/tests/big-module.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmprinter-0.202.0}/LICENSE +0 -0
  1500. /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmprinter-0.202.0}/README.md +0 -0
  1501. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-20.0.0}/LICENSE +0 -0
  1502. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/README.md +0 -0
  1503. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/jitdump.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/perfmap.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/vtune.rs +0 -0
  1506. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent.rs +0 -0
  1507. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/code.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/resource_table.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/storage.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/store.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/debug.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/externals.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/limits.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/resources.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/signatures.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/stack.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/context.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/func_refs.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/trampoline.rs +0 -0
  1520. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/uninhabited.rs +0 -0
  1521. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/unix.rs +0 -0
  1522. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/windows.rs +0 -0
  1523. /data/ext/cargo-vendor/{wasmtime-asm-macros-19.0.2 → wasmtime-asm-macros-20.0.0}/src/lib.rs +0 -0
  1524. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cache-20.0.0}/LICENSE +0 -0
  1525. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/build.rs +0 -0
  1526. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config/tests.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/lib.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/tests.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests/system_time_stub.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker.rs +0 -0
  1533. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/tests/cache_write_default_config.rs +0 -0
  1534. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/build.rs +0 -0
  1535. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/bindgen.rs +0 -0
  1536. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/lib.rs +0 -0
  1537. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/char.wit +0 -0
  1538. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/conventions.wit +0 -0
  1539. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/direct-import.wit +0 -0
  1540. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/empty.wit +0 -0
  1541. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/flags.wit +0 -0
  1542. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/floats.wit +0 -0
  1543. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/function-new.wit +0 -0
  1544. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/integers.wit +0 -0
  1545. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/lists.wit +0 -0
  1546. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/many-arguments.wit +0 -0
  1547. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multi-return.wit +0 -0
  1548. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1549. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1550. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/root.wit +0 -0
  1551. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/records.wit +0 -0
  1552. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/rename.wit +0 -0
  1553. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-export.wit +0 -0
  1554. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-import.wit +0 -0
  1555. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/share-types.wit +0 -0
  1556. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-functions.wit +0 -0
  1557. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-lists.wit +0 -0
  1558. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-wasi.wit +0 -0
  1559. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/small-anonymous.wit +0 -0
  1560. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-default.wit +0 -0
  1561. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-export.wit +0 -0
  1562. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke.wit +0 -0
  1563. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/strings.wit +0 -0
  1564. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/unversioned-foo.wit +0 -0
  1565. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/use-paths.wit +0 -0
  1566. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/variants.wit +0 -0
  1567. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/wat.wit +0 -0
  1568. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/worlds-with-types.wit +0 -0
  1569. /data/ext/cargo-vendor/{wasmtime-component-util-19.0.2 → wasmtime-component-util-20.0.0}/src/lib.rs +0 -0
  1570. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-cranelift-20.0.0}/LICENSE +0 -0
  1571. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/SECURITY.md +0 -0
  1572. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/gc.rs +0 -0
  1573. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/attr.rs +0 -0
  1574. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/line_program.rs +0 -0
  1575. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/mod.rs +0 -0
  1576. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/range_info_builder.rs +0 -0
  1577. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/refs.rs +0 -0
  1578. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/simulate.rs +0 -0
  1579. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/unit.rs +0 -0
  1580. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/utils.rs +0 -0
  1581. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/write_debuginfo.rs +0 -0
  1582. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug.rs +0 -0
  1583. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-19.0.2 → wasmtime-cranelift-20.0.0}/src/isa_builder.rs +0 -0
  1584. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-environ-20.0.0}/LICENSE +0 -0
  1585. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/examples/factc.rs +0 -0
  1586. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/dfg.rs +0 -0
  1587. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/translate.rs +0 -0
  1588. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/types/resources.rs +0 -0
  1589. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/vmcomponent_offsets.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/demangling.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/core_types.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/signature.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/traps.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/module_types.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/ref_bits.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/scopevec.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/stack_map.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-fiber-20.0.0}/LICENSE +0 -0
  1599. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/build.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/lib.rs +0 -0
  1601. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/aarch64.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/arm.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/riscv64.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/s390x.S +0 -0
  1605. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86_64.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.c +0 -0
  1608. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.rs +0 -0
  1609. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/README.md +0 -0
  1610. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/gdb_jit_int.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/lib.rs +0 -0
  1612. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/perf_jitdump.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/lib.rs +0 -0
  1614. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/libc.rs +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/miri.rs +0 -0
  1616. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/win.rs +0 -0
  1617. /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-runtime-20.0.0}/LICENSE +0 -0
  1618. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
  1619. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/arch/mod.rs +0 -0
  1620. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/component/resources.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/cow.rs +0 -0
  1622. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/debug_builtins.rs +0 -0
  1623. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/helpers.c +0 -0
  1624. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/imports.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/memory_pool.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/stack_pool.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap_vec.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/module_id.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/disabled.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/enabled.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/mod.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/pkru.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/sys.rs +0 -0
  1636. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/store_box.rs +0 -0
  1637. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/capi.rs +0 -0
  1638. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/mod.rs +0 -0
  1639. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/unwind.rs +0 -0
  1640. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/vm.rs +0 -0
  1641. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/mod.rs +0 -0
  1642. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/traphandlers.rs +0 -0
  1643. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/unwind.rs +0 -0
  1644. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/vm.rs +0 -0
  1645. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/mod.rs +0 -0
  1646. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/macos_traphandlers.rs +0 -0
  1647. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/mod.rs +0 -0
  1648. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/unwind.rs +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/vm.rs +0 -0
  1650. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mmap.rs +0 -0
  1651. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mod.rs +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/unwind.rs +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/vm.rs +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2/src → wasmtime-runtime-20.0.0/src/threads}/parking_spot.rs +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/traphandlers/backtrace.rs +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-types-20.0.2}/LICENSE +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-types-20.0.2}/src/error.rs +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-19.0.2 → wasmtime-versioned-export-macros-20.0.0}/src/lib.rs +0 -0
  1660. /data/ext/cargo-vendor/{wast-201.0.0 → wasmtime-wasi-20.0.0}/LICENSE +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/README.md +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks/host.rs +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks.rs +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/error.rs +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/clocks.rs +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/env.rs +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/exit.rs +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/instance_network.rs +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/mod.rs +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/random.rs +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/tcp_create_socket.rs +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp.rs +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp_create_socket.rs +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/random.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/stream.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/tests/process_stdin.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/command-extended.wit +0 -0
  1678. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/command.wit +0 -0
  1679. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/environment.wit +0 -0
  1680. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/exit.wit +0 -0
  1681. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/imports.wit +0 -0
  1682. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/run.wit +0 -0
  1683. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/stdio.wit +0 -0
  1684. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/terminal.wit +0 -0
  1685. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1686. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
  1687. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/world.wit +0 -0
  1688. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/preopens.wit +0 -0
  1689. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/types.wit +0 -0
  1690. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/world.wit +0 -0
  1691. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/handler.wit +0 -0
  1692. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/proxy.wit +0 -0
  1693. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/types.wit +0 -0
  1694. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/error.wit +0 -0
  1695. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/streams.wit +0 -0
  1696. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/world.wit +0 -0
  1697. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure-seed.wit +0 -0
  1698. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure.wit +0 -0
  1699. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/random.wit +0 -0
  1700. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/world.wit +0 -0
  1701. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/instance-network.wit +0 -0
  1702. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1703. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/network.wit +0 -0
  1704. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1705. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp.wit +0 -0
  1706. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1707. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp.wit +0 -0
  1708. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/world.wit +0 -0
  1709. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/test.wit +0 -0
  1710. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/typenames.witx +0 -0
  1711. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1712. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/typenames.witx +0 -0
  1713. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1714. /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/LICENSE +0 -0
  1715. /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/src/lib.rs +0 -0
  1716. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-19.0.2 → wasmtime-wit-bindgen-20.0.0}/src/source.rs +0 -0
  1717. /data/ext/cargo-vendor/{wat-1.201.0 → wast-208.0.1}/LICENSE +0 -0
  1718. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/README.md +0 -0
  1719. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/alias.rs +0 -0
  1720. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/component.rs +0 -0
  1721. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/custom.rs +0 -0
  1722. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/expand.rs +0 -0
  1723. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/export.rs +0 -0
  1724. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/func.rs +0 -0
  1725. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/import.rs +0 -0
  1726. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/instance.rs +0 -0
  1727. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/item_ref.rs +0 -0
  1728. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/module.rs +0 -0
  1729. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component.rs +0 -0
  1730. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/custom.rs +0 -0
  1731. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/export.rs +0 -0
  1732. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/global.rs +0 -0
  1733. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/import.rs +0 -0
  1734. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/module.rs +0 -0
  1735. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/resolve/mod.rs +0 -0
  1736. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/tag.rs +0 -0
  1737. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core.rs +0 -0
  1738. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/encode.rs +0 -0
  1739. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/error.rs +0 -0
  1740. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/gensym.rs +0 -0
  1741. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/lexer.rs +0 -0
  1742. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/comments.rs +0 -0
  1743. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
  1744. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
  1745. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
  1746. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
  1747. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat +0 -0
  1748. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
  1749. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat +0 -0
  1750. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
  1751. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat +0 -0
  1752. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
  1753. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat +0 -0
  1754. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
  1755. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat +0 -0
  1756. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat.err +0 -0
  1757. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat +0 -0
  1758. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat.err +0 -0
  1759. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat +0 -0
  1760. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat.err +0 -0
  1761. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
  1762. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
  1763. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
  1764. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
  1765. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
  1766. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
  1767. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
  1768. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
  1769. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
  1770. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
  1771. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
  1772. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
  1773. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
  1774. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
  1775. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
  1776. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
  1777. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
  1778. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
  1779. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
  1780. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
  1781. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
  1782. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
  1783. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
  1784. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
  1785. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
  1786. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
  1787. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
  1788. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
  1789. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
  1790. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
  1791. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
  1792. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
  1793. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
  1794. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
  1795. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
  1796. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
  1797. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
  1798. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
  1799. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
  1800. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
  1801. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
  1802. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
  1803. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
  1804. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
  1805. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
  1806. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
  1807. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
  1808. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
  1809. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
  1810. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
  1811. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
  1812. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
  1813. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
  1814. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
  1815. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat +0 -0
  1816. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat.err +0 -0
  1817. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
  1818. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
  1819. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat +0 -0
  1820. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat.err +0 -0
  1821. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat +0 -0
  1822. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat.err +0 -0
  1823. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat +0 -0
  1824. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat.err +0 -0
  1825. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat +0 -0
  1826. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat.err +0 -0
  1827. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat +0 -0
  1828. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat.err +0 -0
  1829. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat +0 -0
  1830. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat.err +0 -0
  1831. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat +0 -0
  1832. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat.err +0 -0
  1833. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat +0 -0
  1834. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat.err +0 -0
  1835. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat +0 -0
  1836. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat.err +0 -0
  1837. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat +0 -0
  1838. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat.err +0 -0
  1839. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat +0 -0
  1840. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat.err +0 -0
  1841. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat +0 -0
  1842. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat.err +0 -0
  1843. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat +0 -0
  1844. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat.err +0 -0
  1845. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat +0 -0
  1846. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat.err +0 -0
  1847. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat +0 -0
  1848. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat.err +0 -0
  1849. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat +0 -0
  1850. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat.err +0 -0
  1851. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat +0 -0
  1852. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
  1853. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/recursive.rs +0 -0
  1854. /data/ext/cargo-vendor/{wiggle-19.0.2 → wat-1.208.1}/LICENSE +0 -0
  1855. /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/README.md +0 -0
  1856. /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/src/lib.rs +0 -0
  1857. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-20.0.0}/LICENSE +0 -0
  1858. /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/README.md +0 -0
  1859. /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/error.rs +0 -0
  1860. /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/region.rs +0 -0
  1861. /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-generate-20.0.0}/LICENSE +0 -0
  1862. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/README.md +0 -0
  1863. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/codegen_settings.rs +0 -0
  1864. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/config.rs +0 -0
  1865. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/funcs.rs +0 -0
  1866. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lib.rs +0 -0
  1867. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lifetimes.rs +0 -0
  1868. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/module_trait.rs +0 -0
  1869. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/names.rs +0 -0
  1870. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/error.rs +0 -0
  1871. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/flags.rs +0 -0
  1872. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/handle.rs +0 -0
  1873. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/mod.rs +0 -0
  1874. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/record.rs +0 -0
  1875. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/variant.rs +0 -0
  1876. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/wasmtime.rs +0 -0
  1877. /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-macro-20.0.0}/src/lib.rs +0 -0
  1878. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/LICENSE +0 -0
  1879. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/build.rs +0 -0
  1880. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/abi/local.rs +0 -0
  1881. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/context.rs +0 -0
  1882. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/control.rs +0 -0
  1883. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/frame/mod.rs +0 -0
  1884. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/aarch64/address.rs +0 -0
  1885. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/reg.rs +0 -0
  1886. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/address.rs +0 -0
  1887. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/regs.rs +0 -0
  1888. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regalloc.rs +0 -0
  1889. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regset.rs +0 -0
  1890. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/stack.rs +0 -0
  1891. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/README.md +0 -0
  1892. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/ast/toposort.rs +0 -0
  1893. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/docs.rs +0 -0
  1894. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/live.rs +0 -0
  1895. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit +0 -0
  1896. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit.json +0 -0
  1897. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  1898. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  1899. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/root.wit +0 -0
  1900. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include.wit.json +0 -0
  1901. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  1902. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/foo.wit +0 -0
  1903. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource.wit.json +0 -0
  1904. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  1905. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  1906. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/join.wit +0 -0
  1907. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1.wit.json +0 -0
  1908. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  1909. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  1910. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
  1911. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
  1912. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit +0 -0
  1913. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit.json +0 -0
  1914. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/root.wit +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/root.wit +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union.wit.json +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps.wit.json +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  1934. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  1935. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/world.wit +0 -0
  1936. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps.wit.json +0 -0
  1937. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit +0 -0
  1938. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit.json +0 -0
  1939. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit +0 -0
  1940. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit.json +0 -0
  1941. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit +0 -0
  1942. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit.json +0 -0
  1943. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit +0 -0
  1944. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
  1945. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/a.wit +0 -0
  1946. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  1947. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  1948. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  1949. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  1950. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps.wit.json +0 -0
  1951. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/a.wit +0 -0
  1952. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/b.wit +0 -0
  1953. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names.wit.json +0 -0
  1954. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/bar.wit +0 -0
  1955. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-a.wit +0 -0
  1956. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-b.wit +0 -0
  1957. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/foo.wit +0 -0
  1958. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file.wit.json +0 -0
  1959. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  1960. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  1961. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  1962. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit +0 -0
  1963. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit.json +0 -0
  1964. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit +0 -0
  1965. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit.json +0 -0
  1966. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit +0 -0
  1967. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit.json +0 -0
  1968. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1969. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  1970. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async.wit.result +0 -0
  1971. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  1972. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit +0 -0
  1973. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  1974. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
  1975. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  1976. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
  1977. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  1978. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
  1979. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  1980. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
  1981. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  1982. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  1983. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1984. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  1985. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  1986. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  1987. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  1988. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  1989. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1990. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  1991. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  1992. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  1993. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  1994. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  1995. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  1996. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  1997. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  1998. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1999. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  2000. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  2001. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  2002. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  2003. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  2004. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  2005. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  2006. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  2007. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  2008. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  2009. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  2010. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  2011. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  2012. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  2013. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  2014. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  2015. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  2016. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  2017. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  2018. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  2019. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  2020. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  2021. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  2022. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  2023. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  2024. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  2025. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  2026. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  2027. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  2028. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  2029. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  2030. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit +0 -0
  2044. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  2045. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit +0 -0
  2046. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  2047. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  2048. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  2049. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  2050. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  2051. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  2052. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  2053. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  2054. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  2055. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  2056. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  2057. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  2058. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  2059. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  2060. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
  2061. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  2062. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  2063. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  2064. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit +0 -0
  2065. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  2066. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  2067. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  2068. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  2069. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  2070. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  2071. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  2072. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  2073. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  2074. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  2075. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  2076. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit +0 -0
  2077. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  2078. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
  2079. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  2080. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  2081. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  2082. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  2083. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
  2084. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  2085. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  2086. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  2087. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  2088. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  2089. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  2090. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  2091. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  2092. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  2093. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  2094. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  2095. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  2096. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  2097. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit +0 -0
  2098. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  2099. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit +0 -0
  2100. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  2101. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  2102. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  2103. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
  2104. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  2105. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  2106. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  2107. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  2108. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  2109. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  2110. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  2111. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  2112. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  2113. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  2114. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  2115. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  2116. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  2117. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  2118. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  2119. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  2120. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  2121. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  2122. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  2123. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  2124. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  2125. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  2126. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  2127. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  2128. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  2129. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  2130. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  2131. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  2132. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  2133. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  2134. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  2135. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  2136. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  2137. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  2138. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  2139. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  2140. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  2141. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  2142. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  2143. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2144. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2145. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2146. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2147. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2148. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2149. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2150. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  2151. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2152. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2153. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2154. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2155. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2156. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2157. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2158. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2159. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2160. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2161. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2162. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2163. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2164. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2165. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
  2166. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2167. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2168. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2169. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2170. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2171. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2172. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2173. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2174. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2175. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2176. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit +0 -0
  2177. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit.json +0 -0
  2178. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit +0 -0
  2179. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit.json +0 -0
  2180. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
  2181. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
  2182. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2183. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2184. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit +0 -0
  2185. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit.json +0 -0
  2186. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit +0 -0
  2187. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit.json +0 -0
  2188. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit +0 -0
  2189. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit.json +0 -0
  2190. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit +0 -0
  2191. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit.json +0 -0
  2192. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit +0 -0
  2193. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit.json +0 -0
  2194. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit +0 -0
  2195. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit.json +0 -0
  2196. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wat +0 -0
  2197. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wit.json +0 -0
  2198. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit +0 -0
  2199. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
  2200. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit +0 -0
  2201. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit.json +0 -0
  2202. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit +0 -0
  2203. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit.json +0 -0
  2204. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit +0 -0
  2205. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit.json +0 -0
  2206. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit +0 -0
  2207. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit.json +0 -0
  2208. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2209. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2210. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/foo.wit +0 -0
  2211. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions.wit.json +0 -0
  2212. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/wasi.wit.json +0 -0
  2213. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit +0 -0
  2214. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit.json +0 -0
  2215. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit +0 -0
  2216. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
  2217. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit +0 -0
  2218. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit.json +0 -0
  2219. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit +0 -0
  2220. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit.json +0 -0
  2221. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit +0 -0
  2222. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit.json +0 -0
  2223. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit +0 -0
  2224. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit.json +0 -0
  2225. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit +0 -0
  2226. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2227. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit +0 -0
  2228. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit.json +0 -0
  2229. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit +0 -0
  2230. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
  2231. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit +0 -0
  2232. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,4449 +0,0 @@
1
- //! Types relating to type information provided by validation.
2
-
3
- use super::{
4
- component::{ComponentState, ExternKind},
5
- core::Module,
6
- };
7
- use crate::{validator::names::KebabString, HeapType};
8
- use crate::{
9
- BinaryReaderError, CompositeType, Export, ExternalKind, FuncType, GlobalType, Import, Matches,
10
- MemoryType, PackedIndex, PrimitiveValType, RecGroup, RefType, Result, SubType, TableType,
11
- TypeRef, UnpackedIndex, ValType, WithRecGroup,
12
- };
13
- use indexmap::{IndexMap, IndexSet};
14
- use std::collections::hash_map::Entry;
15
- use std::collections::{HashMap, HashSet};
16
- use std::ops::{Index, Range};
17
- use std::sync::atomic::{AtomicUsize, Ordering};
18
- use std::{
19
- borrow::Borrow,
20
- hash::{Hash, Hasher},
21
- mem,
22
- ops::{Deref, DerefMut},
23
- sync::Arc,
24
- };
25
-
26
- /// The maximum number of parameters in the canonical ABI that can be passed by value.
27
- ///
28
- /// Functions that exceed this limit will instead pass parameters indirectly from
29
- /// linear memory via a single pointer parameter.
30
- const MAX_FLAT_FUNC_PARAMS: usize = 16;
31
- /// The maximum number of results in the canonical ABI that can be returned by a function.
32
- ///
33
- /// Functions that exceed this limit have their results written to linear memory via an
34
- /// additional pointer parameter (imports) or return a single pointer value (exports).
35
- const MAX_FLAT_FUNC_RESULTS: usize = 1;
36
-
37
- /// The maximum lowered types, including a possible type for a return pointer parameter.
38
- const MAX_LOWERED_TYPES: usize = MAX_FLAT_FUNC_PARAMS + 1;
39
-
40
- /// A simple alloc-free list of types used for calculating lowered function signatures.
41
- pub(crate) struct LoweredTypes {
42
- types: [ValType; MAX_LOWERED_TYPES],
43
- len: usize,
44
- max: usize,
45
- }
46
-
47
- impl LoweredTypes {
48
- fn new(max: usize) -> Self {
49
- assert!(max <= MAX_LOWERED_TYPES);
50
- Self {
51
- types: [ValType::I32; MAX_LOWERED_TYPES],
52
- len: 0,
53
- max,
54
- }
55
- }
56
-
57
- fn len(&self) -> usize {
58
- self.len
59
- }
60
-
61
- fn maxed(&self) -> bool {
62
- self.len == self.max
63
- }
64
-
65
- fn get_mut(&mut self, index: usize) -> Option<&mut ValType> {
66
- if index < self.len {
67
- Some(&mut self.types[index])
68
- } else {
69
- None
70
- }
71
- }
72
-
73
- fn push(&mut self, ty: ValType) -> bool {
74
- if self.maxed() {
75
- return false;
76
- }
77
-
78
- self.types[self.len] = ty;
79
- self.len += 1;
80
- true
81
- }
82
-
83
- fn clear(&mut self) {
84
- self.len = 0;
85
- }
86
-
87
- pub fn as_slice(&self) -> &[ValType] {
88
- &self.types[..self.len]
89
- }
90
-
91
- pub fn iter(&self) -> impl Iterator<Item = ValType> + '_ {
92
- self.as_slice().iter().copied()
93
- }
94
- }
95
-
96
- /// Represents information about a component function type lowering.
97
- pub(crate) struct LoweringInfo {
98
- pub(crate) params: LoweredTypes,
99
- pub(crate) results: LoweredTypes,
100
- pub(crate) requires_memory: bool,
101
- pub(crate) requires_realloc: bool,
102
- }
103
-
104
- impl LoweringInfo {
105
- pub(crate) fn into_func_type(self) -> FuncType {
106
- FuncType::new(
107
- self.params.as_slice().iter().copied(),
108
- self.results.as_slice().iter().copied(),
109
- )
110
- }
111
- }
112
-
113
- impl Default for LoweringInfo {
114
- fn default() -> Self {
115
- Self {
116
- params: LoweredTypes::new(MAX_FLAT_FUNC_PARAMS),
117
- results: LoweredTypes::new(MAX_FLAT_FUNC_RESULTS),
118
- requires_memory: false,
119
- requires_realloc: false,
120
- }
121
- }
122
- }
123
-
124
- fn push_primitive_wasm_types(ty: &PrimitiveValType, lowered_types: &mut LoweredTypes) -> bool {
125
- match ty {
126
- PrimitiveValType::Bool
127
- | PrimitiveValType::S8
128
- | PrimitiveValType::U8
129
- | PrimitiveValType::S16
130
- | PrimitiveValType::U16
131
- | PrimitiveValType::S32
132
- | PrimitiveValType::U32
133
- | PrimitiveValType::Char => lowered_types.push(ValType::I32),
134
- PrimitiveValType::S64 | PrimitiveValType::U64 => lowered_types.push(ValType::I64),
135
- PrimitiveValType::Float32 => lowered_types.push(ValType::F32),
136
- PrimitiveValType::Float64 => lowered_types.push(ValType::F64),
137
- PrimitiveValType::String => {
138
- lowered_types.push(ValType::I32) && lowered_types.push(ValType::I32)
139
- }
140
- }
141
- }
142
-
143
- /// A trait shared by all type identifiers.
144
- ///
145
- /// Any id that can be used to get a type from a `Types`.
146
- //
147
- // Or, internally, from a `TypeList`.
148
- pub trait TypeIdentifier: std::fmt::Debug + Copy + Eq + Sized + 'static {
149
- /// The data pointed to by this type of id.
150
- type Data: TypeData<Id = Self>;
151
-
152
- /// Create a type id from an index.
153
- #[doc(hidden)]
154
- fn from_index(index: u32) -> Self;
155
-
156
- /// Get a shared reference to the list where this id's type data is stored
157
- /// within.
158
- #[doc(hidden)]
159
- fn list(types: &TypeList) -> &SnapshotList<Self::Data>;
160
-
161
- /// Get an exclusive reference to the list where this id's type data is
162
- /// stored within.
163
- #[doc(hidden)]
164
- fn list_mut(types: &mut TypeList) -> &mut SnapshotList<Self::Data>;
165
-
166
- /// The raw index of this id.
167
- #[doc(hidden)]
168
- fn index(&self) -> usize;
169
- }
170
-
171
- /// A trait shared by all types within a `Types`.
172
- ///
173
- /// This is the data that can be retreived by indexing with the associated
174
- /// [`TypeIdentifier`].
175
- pub trait TypeData: std::fmt::Debug {
176
- /// The identifier for this type data.
177
- type Id: TypeIdentifier<Data = Self>;
178
-
179
- /// Get the info for this type.
180
- #[doc(hidden)]
181
- fn type_info(&self, types: &TypeList) -> TypeInfo;
182
- }
183
-
184
- /// A type that can be aliased in the component model.
185
- pub trait Aliasable {
186
- #[doc(hidden)]
187
- fn alias_id(&self) -> u32;
188
-
189
- #[doc(hidden)]
190
- fn set_alias_id(&mut self, alias_id: u32);
191
- }
192
-
193
- /// A fresh alias id that means the entity is not an alias of anything.
194
- ///
195
- /// Note that the `TypeList::alias_counter` starts at zero, so we can't use that
196
- /// as this sentinel. The implementation limits are such that we can't ever
197
- /// generate `u32::MAX` aliases, so we don't need to worryabout running into
198
- /// this value in practice either.
199
- const NO_ALIAS: u32 = u32::MAX;
200
-
201
- macro_rules! define_type_id {
202
- ($name:ident, $data:ty, $list:ident, $type_str:expr) => {
203
- #[doc = "Represents a unique identifier for a "]
204
- #[doc = $type_str]
205
- #[doc = " type known to a [`crate::Validator`]."]
206
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
207
- #[repr(C)] // Use fixed field layout to ensure minimal size.
208
- pub struct $name {
209
- /// The index into the associated list of types.
210
- index: u32,
211
- }
212
-
213
- impl TypeIdentifier for $name {
214
- type Data = $data;
215
-
216
- fn from_index(index: u32) -> Self {
217
- $name { index }
218
- }
219
-
220
- fn list(types: &TypeList) -> &SnapshotList<Self::Data> {
221
- &types.$list
222
- }
223
-
224
- fn list_mut(types: &mut TypeList) -> &mut SnapshotList<Self::Data> {
225
- &mut types.$list
226
- }
227
-
228
- fn index(&self) -> usize {
229
- usize::try_from(self.index).unwrap()
230
- }
231
- }
232
-
233
- impl Aliasable for $name {
234
- fn alias_id(&self) -> u32 {
235
- NO_ALIAS
236
- }
237
-
238
- fn set_alias_id(&mut self, _: u32) {}
239
- }
240
-
241
- // The size of type IDs was seen to have a large-ish impact in #844, so
242
- // this assert ensures that it stays relatively small.
243
- const _: () = {
244
- assert!(std::mem::size_of::<$name>() <= 4);
245
- };
246
- };
247
- }
248
-
249
- /// A core WebAssembly type, in the core WebAssembly types index space.
250
- pub enum CoreType {
251
- /// A sub type.
252
- Sub(SubType),
253
-
254
- /// A module type.
255
- ///
256
- /// Does not actually appear in core Wasm at the moment. Only used for the
257
- /// core types index space within components.
258
- Module(ModuleType),
259
- }
260
-
261
- /// Represents a unique identifier for a core type type known to a
262
- /// [`crate::Validator`]
263
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
264
- #[repr(C)]
265
- pub struct CoreTypeId {
266
- index: u32,
267
- }
268
-
269
- const _: () = {
270
- assert!(std::mem::size_of::<CoreTypeId>() <= 4);
271
- };
272
-
273
- impl TypeIdentifier for CoreTypeId {
274
- type Data = SubType;
275
-
276
- fn from_index(index: u32) -> Self {
277
- CoreTypeId { index }
278
- }
279
-
280
- fn list(types: &TypeList) -> &SnapshotList<Self::Data> {
281
- &types.core_types
282
- }
283
-
284
- fn list_mut(types: &mut TypeList) -> &mut SnapshotList<Self::Data> {
285
- &mut types.core_types
286
- }
287
-
288
- fn index(&self) -> usize {
289
- usize::try_from(self.index).unwrap()
290
- }
291
- }
292
-
293
- impl TypeData for SubType {
294
- type Id = CoreTypeId;
295
-
296
- fn type_info(&self, _types: &TypeList) -> TypeInfo {
297
- // TODO(#1036): calculate actual size for func, array, struct.
298
- let size = 1 + match &self.composite_type {
299
- CompositeType::Func(ty) => 1 + (ty.params().len() + ty.results().len()) as u32,
300
- CompositeType::Array(_) => 2,
301
- CompositeType::Struct(ty) => 1 + 2 * ty.fields.len() as u32,
302
- };
303
- TypeInfo::core(size)
304
- }
305
- }
306
-
307
- impl CoreType {
308
- /// Get the underlying `SubType` or panic.
309
- pub fn unwrap_sub(&self) -> &SubType {
310
- match self {
311
- CoreType::Sub(s) => s,
312
- CoreType::Module(_) => panic!("`unwrap_sub` on module type"),
313
- }
314
- }
315
-
316
- /// Get the underlying `FuncType` within this `SubType` or panic.
317
- pub fn unwrap_func(&self) -> &FuncType {
318
- match &self.unwrap_sub().composite_type {
319
- CompositeType::Func(f) => f,
320
- CompositeType::Array(_) | CompositeType::Struct(_) => {
321
- panic!("`unwrap_func` on non-func composite type")
322
- }
323
- }
324
- }
325
-
326
- /// Get the underlying `ModuleType` or panic.
327
- pub fn unwrap_module(&self) -> &ModuleType {
328
- match self {
329
- CoreType::Module(m) => m,
330
- CoreType::Sub(_) => panic!("`unwrap_module` on a subtype"),
331
- }
332
- }
333
- }
334
-
335
- macro_rules! define_wrapper_id {
336
- (
337
- $(#[$outer_attrs:meta])*
338
- pub enum $name:ident {
339
- $(
340
- #[unwrap = $unwrap:ident]
341
- $(#[$inner_attrs:meta])*
342
- $variant:ident ( $inner:ty ) ,
343
- )*
344
- }
345
- ) => {
346
- $(#[$outer_attrs])*
347
- pub enum $name {
348
- $(
349
- $(#[$inner_attrs])*
350
- $variant ( $inner ) ,
351
- )*
352
- }
353
-
354
- $(
355
- impl From<$inner> for $name {
356
- #[inline]
357
- fn from(x: $inner) -> Self {
358
- Self::$variant(x)
359
- }
360
- }
361
-
362
- impl TryFrom<$name> for $inner {
363
- type Error = ();
364
-
365
- #[inline]
366
- fn try_from(x: $name) -> Result<Self, Self::Error> {
367
- match x {
368
- $name::$variant(x) => Ok(x),
369
- _ => Err(())
370
- }
371
- }
372
- }
373
- )*
374
-
375
- impl $name {
376
- $(
377
- #[doc = "Unwrap a `"]
378
- #[doc = stringify!($inner)]
379
- #[doc = "` or panic."]
380
- #[inline]
381
- pub fn $unwrap(self) -> $inner {
382
- <$inner>::try_from(self).unwrap()
383
- }
384
- )*
385
- }
386
- };
387
- }
388
-
389
- macro_rules! define_transitive_conversions {
390
- (
391
- $(
392
- $outer:ty,
393
- $middle:ty,
394
- $inner:ty,
395
- $unwrap:ident;
396
- )*
397
- ) => {
398
- $(
399
- impl From<$inner> for $outer {
400
- #[inline]
401
- fn from(x: $inner) -> Self {
402
- <$middle>::from(x).into()
403
- }
404
- }
405
-
406
- impl TryFrom<$outer> for $inner {
407
- type Error = ();
408
-
409
- #[inline]
410
- fn try_from(x: $outer) -> Result<Self, Self::Error> {
411
- let middle = <$middle>::try_from(x)?;
412
- <$inner>::try_from(middle)
413
- }
414
- }
415
-
416
- impl $outer {
417
- #[doc = "Unwrap a `"]
418
- #[doc = stringify!($inner)]
419
- #[doc = "` or panic."]
420
- #[inline]
421
- pub fn $unwrap(self) -> $inner {
422
- <$inner>::try_from(self).unwrap()
423
- }
424
- }
425
- )*
426
- };
427
- }
428
-
429
- define_wrapper_id! {
430
- /// An identifier pointing to any kind of type, component or core.
431
- #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
432
- pub enum AnyTypeId {
433
- #[unwrap = unwrap_component_core_type]
434
- /// A core type.
435
- Core(ComponentCoreTypeId),
436
-
437
- #[unwrap = unwrap_component_any_type]
438
- /// A component type.
439
- Component(ComponentAnyTypeId),
440
- }
441
- }
442
-
443
- define_transitive_conversions! {
444
- AnyTypeId, ComponentCoreTypeId, CoreTypeId, unwrap_core_type;
445
- AnyTypeId, ComponentCoreTypeId, ComponentCoreModuleTypeId, unwrap_component_core_module_type;
446
- AnyTypeId, ComponentAnyTypeId, AliasableResourceId, unwrap_aliasable_resource;
447
- AnyTypeId, ComponentAnyTypeId, ComponentDefinedTypeId, unwrap_component_defined_type;
448
- AnyTypeId, ComponentAnyTypeId, ComponentFuncTypeId, unwrap_component_func_type;
449
- AnyTypeId, ComponentAnyTypeId, ComponentInstanceTypeId, unwrap_component_instance_type;
450
- AnyTypeId, ComponentAnyTypeId, ComponentTypeId, unwrap_component_type;
451
- }
452
-
453
- impl AnyTypeId {
454
- /// Peel off one layer of aliasing from this type and return the aliased
455
- /// inner type, or `None` if this type is not aliasing anything.
456
- pub fn peel_alias(&self, types: &Types) -> Option<Self> {
457
- match *self {
458
- Self::Core(id) => id.peel_alias(types).map(Self::Core),
459
- Self::Component(id) => types.peel_alias(id).map(Self::Component),
460
- }
461
- }
462
- }
463
-
464
- define_wrapper_id! {
465
- /// An identifier for a core type or a core module's type.
466
- #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
467
- pub enum ComponentCoreTypeId {
468
- #[unwrap = unwrap_sub]
469
- /// A core type.
470
- Sub(CoreTypeId),
471
-
472
- #[unwrap = unwrap_module]
473
- /// A core module's type.
474
- Module(ComponentCoreModuleTypeId),
475
- }
476
- }
477
-
478
- impl ComponentCoreTypeId {
479
- /// Peel off one layer of aliasing from this type and return the aliased
480
- /// inner type, or `None` if this type is not aliasing anything.
481
- pub fn peel_alias(&self, types: &Types) -> Option<Self> {
482
- match *self {
483
- Self::Sub(_) => None,
484
- Self::Module(id) => types.peel_alias(id).map(Self::Module),
485
- }
486
- }
487
- }
488
-
489
- /// An aliasable resource identifier.
490
- #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
491
- pub struct AliasableResourceId {
492
- id: ResourceId,
493
- alias_id: u32,
494
- }
495
-
496
- impl Aliasable for AliasableResourceId {
497
- fn alias_id(&self) -> u32 {
498
- self.alias_id
499
- }
500
-
501
- fn set_alias_id(&mut self, alias_id: u32) {
502
- self.alias_id = alias_id;
503
- }
504
- }
505
-
506
- impl AliasableResourceId {
507
- /// Create a new instance with the specified resource ID and `self`'s alias
508
- /// ID.
509
- pub fn with_resource_id(&self, id: ResourceId) -> Self {
510
- Self {
511
- id,
512
- alias_id: self.alias_id,
513
- }
514
- }
515
-
516
- /// Get the underlying resource.
517
- pub fn resource(&self) -> ResourceId {
518
- self.id
519
- }
520
-
521
- pub(crate) fn resource_mut(&mut self) -> &mut ResourceId {
522
- &mut self.id
523
- }
524
- }
525
-
526
- define_wrapper_id! {
527
- /// An identifier for any kind of component type.
528
- #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
529
- pub enum ComponentAnyTypeId {
530
- #[unwrap = unwrap_resource]
531
- /// The type is a resource with the specified id.
532
- Resource(AliasableResourceId),
533
-
534
- #[unwrap = unwrap_defined]
535
- /// The type is a defined type with the specified id.
536
- Defined(ComponentDefinedTypeId),
537
-
538
- #[unwrap = unwrap_func]
539
- /// The type is a function type with the specified id.
540
- Func(ComponentFuncTypeId),
541
-
542
- #[unwrap = unwrap_instance]
543
- /// The type is an instance type with the specified id.
544
- Instance(ComponentInstanceTypeId),
545
-
546
- #[unwrap = unwrap_component]
547
- /// The type is a component type with the specified id.
548
- Component(ComponentTypeId),
549
- }
550
- }
551
-
552
- impl Aliasable for ComponentAnyTypeId {
553
- fn alias_id(&self) -> u32 {
554
- match self {
555
- ComponentAnyTypeId::Resource(x) => x.alias_id(),
556
- ComponentAnyTypeId::Defined(x) => x.alias_id(),
557
- ComponentAnyTypeId::Func(x) => x.alias_id(),
558
- ComponentAnyTypeId::Instance(x) => x.alias_id(),
559
- ComponentAnyTypeId::Component(x) => x.alias_id(),
560
- }
561
- }
562
-
563
- fn set_alias_id(&mut self, alias_id: u32) {
564
- match self {
565
- ComponentAnyTypeId::Resource(x) => x.set_alias_id(alias_id),
566
- ComponentAnyTypeId::Defined(x) => x.set_alias_id(alias_id),
567
- ComponentAnyTypeId::Func(x) => x.set_alias_id(alias_id),
568
- ComponentAnyTypeId::Instance(x) => x.set_alias_id(alias_id),
569
- ComponentAnyTypeId::Component(x) => x.set_alias_id(alias_id),
570
- }
571
- }
572
- }
573
-
574
- impl ComponentAnyTypeId {
575
- pub(crate) fn info(&self, types: &TypeList) -> TypeInfo {
576
- match *self {
577
- Self::Resource(_) => TypeInfo::new(),
578
- Self::Defined(id) => types[id].type_info(types),
579
- Self::Func(id) => types[id].type_info(types),
580
- Self::Instance(id) => types[id].type_info(types),
581
- Self::Component(id) => types[id].type_info(types),
582
- }
583
- }
584
-
585
- pub(crate) fn desc(&self) -> &'static str {
586
- match self {
587
- Self::Resource(_) => "resource",
588
- Self::Defined(_) => "defined type",
589
- Self::Func(_) => "func",
590
- Self::Instance(_) => "instance",
591
- Self::Component(_) => "component",
592
- }
593
- }
594
- }
595
-
596
- define_type_id!(
597
- RecGroupId,
598
- Range<CoreTypeId>,
599
- rec_group_elements,
600
- "recursion group"
601
- );
602
-
603
- impl TypeData for Range<CoreTypeId> {
604
- type Id = RecGroupId;
605
-
606
- fn type_info(&self, _types: &TypeList) -> TypeInfo {
607
- let size = self.end.index() - self.start.index();
608
- TypeInfo::core(u32::try_from(size).unwrap())
609
- }
610
- }
611
-
612
- define_type_id!(ComponentTypeId, ComponentType, components, "component");
613
-
614
- define_type_id!(
615
- ComponentValueTypeId,
616
- ComponentValType,
617
- component_values,
618
- "component value"
619
- );
620
-
621
- define_type_id!(
622
- ComponentInstanceTypeId,
623
- ComponentInstanceType,
624
- component_instances,
625
- "component instance"
626
- );
627
-
628
- define_type_id!(
629
- ComponentFuncTypeId,
630
- ComponentFuncType,
631
- component_funcs,
632
- "component function"
633
- );
634
-
635
- define_type_id!(
636
- ComponentCoreInstanceTypeId,
637
- InstanceType,
638
- core_instances,
639
- "component's core instance"
640
- );
641
-
642
- define_type_id!(
643
- ComponentCoreModuleTypeId,
644
- ModuleType,
645
- core_modules,
646
- "component's core module"
647
- );
648
-
649
- /// Represents a unique identifier for a component type type known to a
650
- /// [`crate::Validator`].
651
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
652
- #[repr(C)]
653
- pub struct ComponentDefinedTypeId {
654
- index: u32,
655
- alias_id: u32,
656
- }
657
-
658
- const _: () = {
659
- assert!(std::mem::size_of::<ComponentDefinedTypeId>() <= 8);
660
- };
661
-
662
- impl TypeIdentifier for ComponentDefinedTypeId {
663
- type Data = ComponentDefinedType;
664
-
665
- fn from_index(index: u32) -> Self {
666
- ComponentDefinedTypeId {
667
- index,
668
- alias_id: NO_ALIAS,
669
- }
670
- }
671
-
672
- fn list(types: &TypeList) -> &SnapshotList<Self::Data> {
673
- &types.component_defined_types
674
- }
675
-
676
- fn list_mut(types: &mut TypeList) -> &mut SnapshotList<Self::Data> {
677
- &mut types.component_defined_types
678
- }
679
-
680
- fn index(&self) -> usize {
681
- usize::try_from(self.index).unwrap()
682
- }
683
- }
684
-
685
- impl Aliasable for ComponentDefinedTypeId {
686
- fn alias_id(&self) -> u32 {
687
- self.alias_id
688
- }
689
-
690
- fn set_alias_id(&mut self, alias_id: u32) {
691
- self.alias_id = alias_id;
692
- }
693
- }
694
-
695
- /// Metadata about a type and its transitive structure.
696
- ///
697
- /// Currently contains two properties:
698
- ///
699
- /// * The "size" of a type - a proxy to the recursive size of a type if
700
- /// everything in the type were unique (e.g. no shared references). Not an
701
- /// approximation of runtime size, but instead of type-complexity size if
702
- /// someone were to visit each element of the type individually. For example
703
- /// `u32` has size 1 and `(list u32)` has size 2 (roughly). Used to prevent
704
- /// massive trees of types.
705
- ///
706
- /// * Whether or not a type contains a "borrow" transitively inside of it. For
707
- /// example `(borrow $t)` and `(list (borrow $t))` both contain borrows, but
708
- /// `(list u32)` does not. Used to validate that component function results do
709
- /// not contain borrows.
710
- ///
711
- /// Currently this is represented as a compact 32-bit integer to ensure that
712
- /// `TypeId`, which this is stored in, remains relatively small. The maximum
713
- /// type size allowed in wasmparser is 1M at this time which is 20 bits of
714
- /// information, and then one more bit is used for whether or not a borrow is
715
- /// used. Currently this uses the low 24 bits for the type size and the MSB for
716
- /// the borrow bit.
717
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
718
- // Only public because it shows up in a public trait's `doc(hidden)` method.
719
- #[doc(hidden)]
720
- pub struct TypeInfo(u32);
721
-
722
- impl TypeInfo {
723
- /// Creates a new blank set of type information.
724
- ///
725
- /// Defaults to size 1 to ensure that this consumes space in the final type
726
- /// structure.
727
- pub(crate) fn new() -> TypeInfo {
728
- TypeInfo::_new(1, false)
729
- }
730
-
731
- /// Creates a new blank set of information about a leaf "borrow" type which
732
- /// has size 1.
733
- pub(crate) fn borrow() -> TypeInfo {
734
- TypeInfo::_new(1, true)
735
- }
736
-
737
- /// Creates type information corresponding to a core type of the `size`
738
- /// specified, meaning no borrows are contained within.
739
- pub(crate) fn core(size: u32) -> TypeInfo {
740
- TypeInfo::_new(size, false)
741
- }
742
-
743
- fn _new(size: u32, contains_borrow: bool) -> TypeInfo {
744
- assert!(size < (1 << 24));
745
- TypeInfo(size | ((contains_borrow as u32) << 31))
746
- }
747
-
748
- /// Combines another set of type information into this one, for example if
749
- /// this is a record which has `other` as a field.
750
- ///
751
- /// Updates the size of `self` and whether or not this type contains a
752
- /// borrow based on whether `other` contains a borrow.
753
- ///
754
- /// Returns an error if the type size would exceed this crate's static limit
755
- /// of a type size.
756
- pub(crate) fn combine(&mut self, other: TypeInfo, offset: usize) -> Result<()> {
757
- *self = TypeInfo::_new(
758
- super::combine_type_sizes(self.size(), other.size(), offset)?,
759
- self.contains_borrow() || other.contains_borrow(),
760
- );
761
- Ok(())
762
- }
763
-
764
- pub(crate) fn size(&self) -> u32 {
765
- self.0 & 0xffffff
766
- }
767
-
768
- pub(crate) fn contains_borrow(&self) -> bool {
769
- (self.0 >> 31) != 0
770
- }
771
- }
772
-
773
- /// A component value type.
774
- #[derive(Debug, Clone, Copy)]
775
- pub enum ComponentValType {
776
- /// The value type is one of the primitive types.
777
- Primitive(PrimitiveValType),
778
- /// The type is represented with the given type identifier.
779
- Type(ComponentDefinedTypeId),
780
- }
781
-
782
- impl TypeData for ComponentValType {
783
- type Id = ComponentValueTypeId;
784
-
785
- fn type_info(&self, types: &TypeList) -> TypeInfo {
786
- match self {
787
- ComponentValType::Primitive(_) => TypeInfo::new(),
788
- ComponentValType::Type(id) => types[*id].type_info(types),
789
- }
790
- }
791
- }
792
-
793
- impl ComponentValType {
794
- pub(crate) fn contains_ptr(&self, types: &TypeList) -> bool {
795
- match self {
796
- ComponentValType::Primitive(ty) => ty.contains_ptr(),
797
- ComponentValType::Type(ty) => types[*ty].contains_ptr(types),
798
- }
799
- }
800
-
801
- fn push_wasm_types(&self, types: &TypeList, lowered_types: &mut LoweredTypes) -> bool {
802
- match self {
803
- Self::Primitive(ty) => push_primitive_wasm_types(ty, lowered_types),
804
- Self::Type(id) => types[*id].push_wasm_types(types, lowered_types),
805
- }
806
- }
807
-
808
- pub(crate) fn info(&self, types: &TypeList) -> TypeInfo {
809
- match self {
810
- Self::Primitive(_) => TypeInfo::new(),
811
- Self::Type(id) => types[*id].type_info(types),
812
- }
813
- }
814
- }
815
-
816
- /// The entity type for imports and exports of a module.
817
- #[derive(Debug, Clone, Copy)]
818
- pub enum EntityType {
819
- /// The entity is a function.
820
- Func(CoreTypeId),
821
- /// The entity is a table.
822
- Table(TableType),
823
- /// The entity is a memory.
824
- Memory(MemoryType),
825
- /// The entity is a global.
826
- Global(GlobalType),
827
- /// The entity is a tag.
828
- Tag(CoreTypeId),
829
- }
830
-
831
- impl EntityType {
832
- pub(crate) fn desc(&self) -> &'static str {
833
- match self {
834
- Self::Func(_) => "func",
835
- Self::Table(_) => "table",
836
- Self::Memory(_) => "memory",
837
- Self::Global(_) => "global",
838
- Self::Tag(_) => "tag",
839
- }
840
- }
841
-
842
- pub(crate) fn info(&self, types: &TypeList) -> TypeInfo {
843
- match self {
844
- Self::Func(id) | Self::Tag(id) => types[*id].type_info(types),
845
- Self::Table(_) | Self::Memory(_) | Self::Global(_) => TypeInfo::new(),
846
- }
847
- }
848
- }
849
-
850
- trait ModuleImportKey {
851
- fn module(&self) -> &str;
852
- fn name(&self) -> &str;
853
- }
854
-
855
- impl<'a> Borrow<dyn ModuleImportKey + 'a> for (String, String) {
856
- fn borrow(&self) -> &(dyn ModuleImportKey + 'a) {
857
- self
858
- }
859
- }
860
-
861
- impl Hash for (dyn ModuleImportKey + '_) {
862
- fn hash<H: Hasher>(&self, state: &mut H) {
863
- self.module().hash(state);
864
- self.name().hash(state);
865
- }
866
- }
867
-
868
- impl PartialEq for (dyn ModuleImportKey + '_) {
869
- fn eq(&self, other: &Self) -> bool {
870
- self.module() == other.module() && self.name() == other.name()
871
- }
872
- }
873
-
874
- impl Eq for (dyn ModuleImportKey + '_) {}
875
-
876
- impl ModuleImportKey for (String, String) {
877
- fn module(&self) -> &str {
878
- &self.0
879
- }
880
-
881
- fn name(&self) -> &str {
882
- &self.1
883
- }
884
- }
885
-
886
- impl ModuleImportKey for (&str, &str) {
887
- fn module(&self) -> &str {
888
- self.0
889
- }
890
-
891
- fn name(&self) -> &str {
892
- self.1
893
- }
894
- }
895
-
896
- /// Represents a core module type.
897
- #[derive(Debug, Clone)]
898
- pub struct ModuleType {
899
- /// Metadata about this module type
900
- pub(crate) info: TypeInfo,
901
- /// The imports of the module type.
902
- pub imports: IndexMap<(String, String), EntityType>,
903
- /// The exports of the module type.
904
- pub exports: IndexMap<String, EntityType>,
905
- }
906
-
907
- impl TypeData for ModuleType {
908
- type Id = ComponentCoreModuleTypeId;
909
-
910
- fn type_info(&self, _types: &TypeList) -> TypeInfo {
911
- self.info
912
- }
913
- }
914
-
915
- impl ModuleType {
916
- /// Looks up an import by its module and name.
917
- ///
918
- /// Returns `None` if the import was not found.
919
- pub fn lookup_import(&self, module: &str, name: &str) -> Option<&EntityType> {
920
- self.imports.get(&(module, name) as &dyn ModuleImportKey)
921
- }
922
- }
923
-
924
- /// Represents the kind of module instance type.
925
- #[derive(Debug, Clone)]
926
- pub enum CoreInstanceTypeKind {
927
- /// The instance type is the result of instantiating a module type.
928
- Instantiated(ComponentCoreModuleTypeId),
929
-
930
- /// The instance type is the result of instantiating from exported items.
931
- Exports(IndexMap<String, EntityType>),
932
- }
933
-
934
- /// Represents a module instance type.
935
- #[derive(Debug, Clone)]
936
- pub struct InstanceType {
937
- /// Metadata about this instance type
938
- pub(crate) info: TypeInfo,
939
- /// The kind of module instance type.
940
- pub kind: CoreInstanceTypeKind,
941
- }
942
-
943
- impl TypeData for InstanceType {
944
- type Id = ComponentCoreInstanceTypeId;
945
-
946
- fn type_info(&self, _types: &TypeList) -> TypeInfo {
947
- self.info
948
- }
949
- }
950
-
951
- impl InstanceType {
952
- /// Gets the exports of the instance type.
953
- pub fn exports<'a>(&'a self, types: TypesRef<'a>) -> &'a IndexMap<String, EntityType> {
954
- self.internal_exports(types.list)
955
- }
956
-
957
- pub(crate) fn internal_exports<'a>(
958
- &'a self,
959
- types: &'a TypeList,
960
- ) -> &'a IndexMap<String, EntityType> {
961
- match &self.kind {
962
- CoreInstanceTypeKind::Instantiated(id) => &types[*id].exports,
963
- CoreInstanceTypeKind::Exports(exports) => exports,
964
- }
965
- }
966
- }
967
-
968
- /// The entity type for imports and exports of a component.
969
- #[derive(Debug, Clone, Copy)]
970
- pub enum ComponentEntityType {
971
- /// The entity is a core module.
972
- Module(ComponentCoreModuleTypeId),
973
- /// The entity is a function.
974
- Func(ComponentFuncTypeId),
975
- /// The entity is a value.
976
- Value(ComponentValType),
977
- /// The entity is a type.
978
- Type {
979
- /// This is the identifier of the type that was referenced when this
980
- /// entity was created.
981
- referenced: ComponentAnyTypeId,
982
- /// This is the identifier of the type that was created when this type
983
- /// was imported or exported from the component.
984
- ///
985
- /// Note that the underlying type information for the `referenced`
986
- /// field and for this `created` field is the same, but these two types
987
- /// will hash to different values.
988
- created: ComponentAnyTypeId,
989
- },
990
- /// The entity is a component instance.
991
- Instance(ComponentInstanceTypeId),
992
- /// The entity is a component.
993
- Component(ComponentTypeId),
994
- }
995
-
996
- impl ComponentEntityType {
997
- /// Determines if component entity type `a` is a subtype of `b`.
998
- pub fn is_subtype_of(a: &Self, at: TypesRef, b: &Self, bt: TypesRef) -> bool {
999
- SubtypeCx::new(at.list, bt.list)
1000
- .component_entity_type(a, b, 0)
1001
- .is_ok()
1002
- }
1003
-
1004
- pub(crate) fn desc(&self) -> &'static str {
1005
- match self {
1006
- Self::Module(_) => "module",
1007
- Self::Func(_) => "func",
1008
- Self::Value(_) => "value",
1009
- Self::Type { .. } => "type",
1010
- Self::Instance(_) => "instance",
1011
- Self::Component(_) => "component",
1012
- }
1013
- }
1014
-
1015
- pub(crate) fn info(&self, types: &TypeList) -> TypeInfo {
1016
- match self {
1017
- Self::Module(ty) => types[*ty].type_info(types),
1018
- Self::Func(ty) => types[*ty].type_info(types),
1019
- Self::Type { referenced: ty, .. } => ty.info(types),
1020
- Self::Instance(ty) => types[*ty].type_info(types),
1021
- Self::Component(ty) => types[*ty].type_info(types),
1022
- Self::Value(ty) => ty.info(types),
1023
- }
1024
- }
1025
- }
1026
-
1027
- /// Represents a type of a component.
1028
- #[derive(Debug, Clone)]
1029
- pub struct ComponentType {
1030
- /// Metadata about this component type
1031
- pub(crate) info: TypeInfo,
1032
-
1033
- /// The imports of the component type.
1034
- ///
1035
- /// Each import has its own kebab-name and an optional URL listed. Note that
1036
- /// the set of import names is disjoint with the set of export names.
1037
- pub imports: IndexMap<String, ComponentEntityType>,
1038
-
1039
- /// The exports of the component type.
1040
- ///
1041
- /// Each export has its own kebab-name and an optional URL listed. Note that
1042
- /// the set of export names is disjoint with the set of import names.
1043
- pub exports: IndexMap<String, ComponentEntityType>,
1044
-
1045
- /// Universally quantified resources required to be provided when
1046
- /// instantiating this component type.
1047
- ///
1048
- /// Each resource in this map is explicitly imported somewhere in the
1049
- /// `imports` map. The "path" to where it's imported is specified by the
1050
- /// `Vec<usize>` payload here. For more information about the indexes see
1051
- /// the documentation on `ComponentState::imported_resources`.
1052
- ///
1053
- /// This should technically be inferrable from the structure of `imports`,
1054
- /// but it's stored as an auxiliary set for subtype checking and
1055
- /// instantiation.
1056
- ///
1057
- /// Note that this is not a set of all resources referred to by the
1058
- /// `imports`. Instead it's only those created, relative to the internals of
1059
- /// this component, by the imports.
1060
- pub imported_resources: Vec<(ResourceId, Vec<usize>)>,
1061
-
1062
- /// The dual of the `imported_resources`, or the set of defined
1063
- /// resources -- those created through the instantiation process which are
1064
- /// unique to this component.
1065
- ///
1066
- /// This set is similar to the `imported_resources` set but it's those
1067
- /// contained within the `exports`. Instantiating this component will
1068
- /// create fresh new versions of all of these resources. The path here is
1069
- /// within the `exports` array.
1070
- pub defined_resources: Vec<(ResourceId, Vec<usize>)>,
1071
-
1072
- /// The set of all resources which are explicitly exported by this
1073
- /// component, and where they're exported.
1074
- ///
1075
- /// This mapping is stored separately from `defined_resources` to ensure
1076
- /// that it contains all exported resources, not just those which are
1077
- /// defined. That means that this can cover reexports of imported
1078
- /// resources, exports of local resources, or exports of closed-over
1079
- /// resources for example.
1080
- pub explicit_resources: IndexMap<ResourceId, Vec<usize>>,
1081
- }
1082
-
1083
- impl TypeData for ComponentType {
1084
- type Id = ComponentTypeId;
1085
-
1086
- fn type_info(&self, _types: &TypeList) -> TypeInfo {
1087
- self.info
1088
- }
1089
- }
1090
-
1091
- /// Represents a type of a component instance.
1092
- #[derive(Debug, Clone)]
1093
- pub struct ComponentInstanceType {
1094
- /// Metadata about this instance type
1095
- pub(crate) info: TypeInfo,
1096
-
1097
- /// The list of exports, keyed by name, that this instance has.
1098
- ///
1099
- /// An optional URL and type of each export is provided as well.
1100
- pub exports: IndexMap<String, ComponentEntityType>,
1101
-
1102
- /// The list of "defined resources" or those which are closed over in
1103
- /// this instance type.
1104
- ///
1105
- /// This list is populated, for example, when the type of an instance is
1106
- /// declared and it contains its own resource type exports defined
1107
- /// internally. For example:
1108
- ///
1109
- /// ```wasm
1110
- /// (component
1111
- /// (type (instance
1112
- /// (export "x" (type sub resource)) ;; one `defined_resources` entry
1113
- /// ))
1114
- /// )
1115
- /// ```
1116
- ///
1117
- /// This list is also a bit of an oddity, however, because the type of a
1118
- /// concrete instance will always have this as empty. For example:
1119
- ///
1120
- /// ```wasm
1121
- /// (component
1122
- /// (type $t (instance (export "x" (type sub resource))))
1123
- ///
1124
- /// ;; the type of this instance has no defined resources
1125
- /// (import "i" (instance (type $t)))
1126
- /// )
1127
- /// ```
1128
- ///
1129
- /// This list ends up only being populated for instance types declared in a
1130
- /// module which aren't yet "attached" to anything. Once something is
1131
- /// instantiated, imported, exported, or otherwise refers to a concrete
1132
- /// instance then this list is always empty. For concrete instances
1133
- /// defined resources are tracked in the component state or component type.
1134
- pub defined_resources: Vec<ResourceId>,
1135
-
1136
- /// The list of all resources that are explicitly exported from this
1137
- /// instance type along with the path they're exported at.
1138
- pub explicit_resources: IndexMap<ResourceId, Vec<usize>>,
1139
- }
1140
-
1141
- impl TypeData for ComponentInstanceType {
1142
- type Id = ComponentInstanceTypeId;
1143
-
1144
- fn type_info(&self, _types: &TypeList) -> TypeInfo {
1145
- self.info
1146
- }
1147
- }
1148
-
1149
- /// Represents a type of a component function.
1150
- #[derive(Debug, Clone)]
1151
- pub struct ComponentFuncType {
1152
- /// Metadata about this function type.
1153
- pub(crate) info: TypeInfo,
1154
- /// The function parameters.
1155
- pub params: Box<[(KebabString, ComponentValType)]>,
1156
- /// The function's results.
1157
- pub results: Box<[(Option<KebabString>, ComponentValType)]>,
1158
- }
1159
-
1160
- impl TypeData for ComponentFuncType {
1161
- type Id = ComponentFuncTypeId;
1162
-
1163
- fn type_info(&self, _types: &TypeList) -> TypeInfo {
1164
- self.info
1165
- }
1166
- }
1167
-
1168
- impl ComponentFuncType {
1169
- /// Lowers the component function type to core parameter and result types for the
1170
- /// canonical ABI.
1171
- pub(crate) fn lower(&self, types: &TypeList, is_lower: bool) -> LoweringInfo {
1172
- let mut info = LoweringInfo::default();
1173
-
1174
- for (_, ty) in self.params.iter() {
1175
- // Check to see if `ty` has a pointer somewhere in it, needed for
1176
- // any type that transitively contains either a string or a list.
1177
- // In this situation lowered functions must specify `memory`, and
1178
- // lifted functions must specify `realloc` as well. Lifted functions
1179
- // gain their memory requirement through the final clause of this
1180
- // function.
1181
- if is_lower {
1182
- if !info.requires_memory {
1183
- info.requires_memory = ty.contains_ptr(types);
1184
- }
1185
- } else {
1186
- if !info.requires_realloc {
1187
- info.requires_realloc = ty.contains_ptr(types);
1188
- }
1189
- }
1190
-
1191
- if !ty.push_wasm_types(types, &mut info.params) {
1192
- // Too many parameters to pass directly
1193
- // Function will have a single pointer parameter to pass the arguments
1194
- // via linear memory
1195
- info.params.clear();
1196
- assert!(info.params.push(ValType::I32));
1197
- info.requires_memory = true;
1198
-
1199
- // We need realloc as well when lifting a function
1200
- if !is_lower {
1201
- info.requires_realloc = true;
1202
- }
1203
- break;
1204
- }
1205
- }
1206
-
1207
- for (_, ty) in self.results.iter() {
1208
- // Results of lowered functions that contains pointers must be
1209
- // allocated by the callee meaning that realloc is required.
1210
- // Results of lifted function are allocated by the guest which
1211
- // means that no realloc option is necessary.
1212
- if is_lower && !info.requires_realloc {
1213
- info.requires_realloc = ty.contains_ptr(types);
1214
- }
1215
-
1216
- if !ty.push_wasm_types(types, &mut info.results) {
1217
- // Too many results to return directly, either a retptr parameter will be used (import)
1218
- // or a single pointer will be returned (export)
1219
- info.results.clear();
1220
- if is_lower {
1221
- info.params.max = MAX_LOWERED_TYPES;
1222
- assert!(info.params.push(ValType::I32));
1223
- } else {
1224
- assert!(info.results.push(ValType::I32));
1225
- }
1226
- info.requires_memory = true;
1227
- break;
1228
- }
1229
- }
1230
-
1231
- // Memory is always required when realloc is required
1232
- info.requires_memory |= info.requires_realloc;
1233
-
1234
- info
1235
- }
1236
- }
1237
-
1238
- /// Represents a variant case.
1239
- #[derive(Debug, Clone)]
1240
- pub struct VariantCase {
1241
- /// The variant case type.
1242
- pub ty: Option<ComponentValType>,
1243
- /// The name of the variant case refined by this one.
1244
- pub refines: Option<KebabString>,
1245
- }
1246
-
1247
- /// Represents a record type.
1248
- #[derive(Debug, Clone)]
1249
- pub struct RecordType {
1250
- /// Metadata about this record type.
1251
- pub(crate) info: TypeInfo,
1252
- /// The map of record fields.
1253
- pub fields: IndexMap<KebabString, ComponentValType>,
1254
- }
1255
-
1256
- /// Represents a variant type.
1257
- #[derive(Debug, Clone)]
1258
- pub struct VariantType {
1259
- /// Metadata about this variant type.
1260
- pub(crate) info: TypeInfo,
1261
- /// The map of variant cases.
1262
- pub cases: IndexMap<KebabString, VariantCase>,
1263
- }
1264
-
1265
- /// Represents a tuple type.
1266
- #[derive(Debug, Clone)]
1267
- pub struct TupleType {
1268
- /// Metadata about this tuple type.
1269
- pub(crate) info: TypeInfo,
1270
- /// The types of the tuple.
1271
- pub types: Box<[ComponentValType]>,
1272
- }
1273
-
1274
- /// Represents a component defined type.
1275
- #[derive(Debug, Clone)]
1276
- pub enum ComponentDefinedType {
1277
- /// The type is a primitive value type.
1278
- Primitive(PrimitiveValType),
1279
- /// The type is a record.
1280
- Record(RecordType),
1281
- /// The type is a variant.
1282
- Variant(VariantType),
1283
- /// The type is a list.
1284
- List(ComponentValType),
1285
- /// The type is a tuple.
1286
- Tuple(TupleType),
1287
- /// The type is a set of flags.
1288
- Flags(IndexSet<KebabString>),
1289
- /// The type is an enumeration.
1290
- Enum(IndexSet<KebabString>),
1291
- /// The type is an `option`.
1292
- Option(ComponentValType),
1293
- /// The type is a `result`.
1294
- Result {
1295
- /// The `ok` type.
1296
- ok: Option<ComponentValType>,
1297
- /// The `error` type.
1298
- err: Option<ComponentValType>,
1299
- },
1300
- /// The type is an owned handle to the specified resource.
1301
- Own(AliasableResourceId),
1302
- /// The type is a borrowed handle to the specified resource.
1303
- Borrow(AliasableResourceId),
1304
- }
1305
-
1306
- impl TypeData for ComponentDefinedType {
1307
- type Id = ComponentDefinedTypeId;
1308
-
1309
- fn type_info(&self, types: &TypeList) -> TypeInfo {
1310
- match self {
1311
- Self::Primitive(_) | Self::Flags(_) | Self::Enum(_) | Self::Own(_) => TypeInfo::new(),
1312
- Self::Borrow(_) => TypeInfo::borrow(),
1313
- Self::Record(r) => r.info,
1314
- Self::Variant(v) => v.info,
1315
- Self::Tuple(t) => t.info,
1316
- Self::List(ty) | Self::Option(ty) => ty.info(types),
1317
- Self::Result { ok, err } => {
1318
- let default = TypeInfo::new();
1319
- let mut info = ok.map(|ty| ty.type_info(types)).unwrap_or(default);
1320
- info.combine(err.map(|ty| ty.type_info(types)).unwrap_or(default), 0)
1321
- .unwrap();
1322
- info
1323
- }
1324
- }
1325
- }
1326
- }
1327
-
1328
- impl ComponentDefinedType {
1329
- pub(crate) fn contains_ptr(&self, types: &TypeList) -> bool {
1330
- match self {
1331
- Self::Primitive(ty) => ty.contains_ptr(),
1332
- Self::Record(r) => r.fields.values().any(|ty| ty.contains_ptr(types)),
1333
- Self::Variant(v) => v
1334
- .cases
1335
- .values()
1336
- .any(|case| case.ty.map(|ty| ty.contains_ptr(types)).unwrap_or(false)),
1337
- Self::List(_) => true,
1338
- Self::Tuple(t) => t.types.iter().any(|ty| ty.contains_ptr(types)),
1339
- Self::Flags(_) | Self::Enum(_) | Self::Own(_) | Self::Borrow(_) => false,
1340
- Self::Option(ty) => ty.contains_ptr(types),
1341
- Self::Result { ok, err } => {
1342
- ok.map(|ty| ty.contains_ptr(types)).unwrap_or(false)
1343
- || err.map(|ty| ty.contains_ptr(types)).unwrap_or(false)
1344
- }
1345
- }
1346
- }
1347
-
1348
- fn push_wasm_types(&self, types: &TypeList, lowered_types: &mut LoweredTypes) -> bool {
1349
- match self {
1350
- Self::Primitive(ty) => push_primitive_wasm_types(ty, lowered_types),
1351
- Self::Record(r) => r
1352
- .fields
1353
- .iter()
1354
- .all(|(_, ty)| ty.push_wasm_types(types, lowered_types)),
1355
- Self::Variant(v) => Self::push_variant_wasm_types(
1356
- v.cases.iter().filter_map(|(_, case)| case.ty.as_ref()),
1357
- types,
1358
- lowered_types,
1359
- ),
1360
- Self::List(_) => lowered_types.push(ValType::I32) && lowered_types.push(ValType::I32),
1361
- Self::Tuple(t) => t
1362
- .types
1363
- .iter()
1364
- .all(|ty| ty.push_wasm_types(types, lowered_types)),
1365
- Self::Flags(names) => {
1366
- (0..(names.len() + 31) / 32).all(|_| lowered_types.push(ValType::I32))
1367
- }
1368
- Self::Enum(_) | Self::Own(_) | Self::Borrow(_) => lowered_types.push(ValType::I32),
1369
- Self::Option(ty) => {
1370
- Self::push_variant_wasm_types([ty].into_iter(), types, lowered_types)
1371
- }
1372
- Self::Result { ok, err } => {
1373
- Self::push_variant_wasm_types(ok.iter().chain(err.iter()), types, lowered_types)
1374
- }
1375
- }
1376
- }
1377
-
1378
- fn push_variant_wasm_types<'a>(
1379
- cases: impl Iterator<Item = &'a ComponentValType>,
1380
- types: &TypeList,
1381
- lowered_types: &mut LoweredTypes,
1382
- ) -> bool {
1383
- // Push the discriminant
1384
- if !lowered_types.push(ValType::I32) {
1385
- return false;
1386
- }
1387
-
1388
- let start = lowered_types.len();
1389
-
1390
- for ty in cases {
1391
- let mut temp = LoweredTypes::new(lowered_types.max);
1392
-
1393
- if !ty.push_wasm_types(types, &mut temp) {
1394
- return false;
1395
- }
1396
-
1397
- for (i, ty) in temp.iter().enumerate() {
1398
- match lowered_types.get_mut(start + i) {
1399
- Some(prev) => *prev = Self::join_types(*prev, ty),
1400
- None => {
1401
- if !lowered_types.push(ty) {
1402
- return false;
1403
- }
1404
- }
1405
- }
1406
- }
1407
- }
1408
-
1409
- true
1410
- }
1411
-
1412
- fn join_types(a: ValType, b: ValType) -> ValType {
1413
- use ValType::*;
1414
-
1415
- match (a, b) {
1416
- (I32, I32) | (I64, I64) | (F32, F32) | (F64, F64) => a,
1417
- (I32, F32) | (F32, I32) => I32,
1418
- (_, I64 | F64) | (I64 | F64, _) => I64,
1419
- _ => panic!("unexpected wasm type for canonical ABI"),
1420
- }
1421
- }
1422
-
1423
- fn desc(&self) -> &'static str {
1424
- match self {
1425
- ComponentDefinedType::Record(_) => "record",
1426
- ComponentDefinedType::Primitive(_) => "primitive",
1427
- ComponentDefinedType::Variant(_) => "variant",
1428
- ComponentDefinedType::Tuple(_) => "tuple",
1429
- ComponentDefinedType::Enum(_) => "enum",
1430
- ComponentDefinedType::Flags(_) => "flags",
1431
- ComponentDefinedType::Option(_) => "option",
1432
- ComponentDefinedType::List(_) => "list",
1433
- ComponentDefinedType::Result { .. } => "result",
1434
- ComponentDefinedType::Own(_) => "own",
1435
- ComponentDefinedType::Borrow(_) => "borrow",
1436
- }
1437
- }
1438
- }
1439
-
1440
- /// An opaque identifier intended to be used to distinguish whether two
1441
- /// resource types are equivalent or not.
1442
- #[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd, Copy)]
1443
- #[repr(packed(4))] // try to not waste 4 bytes in padding
1444
- pub struct ResourceId {
1445
- // This is a globally unique identifier which is assigned once per
1446
- // `TypeAlloc`. This ensures that resource identifiers from different
1447
- // instances of `Types`, for example, are considered unique.
1448
- //
1449
- // Technically 64-bits should be enough for all resource ids ever, but
1450
- // they're allocated so often it's predicted that an atomic increment
1451
- // per resource id is probably too expensive. To amortize that cost each
1452
- // top-level wasm component gets a single globally unique identifier, and
1453
- // then within a component contextually unique identifiers are handed out.
1454
- globally_unique_id: usize,
1455
-
1456
- // A contextually unique id within the globally unique id above. This is
1457
- // allocated within a `TypeAlloc` with its own counter, and allocations of
1458
- // this are cheap as nothing atomic is required.
1459
- //
1460
- // The 32-bit storage here should ideally be enough for any component
1461
- // containing resources. If memory usage becomes an issue (this struct is
1462
- // 12 bytes instead of 8 or 4) then this could get folded into the globally
1463
- // unique id with everything using an atomic increment perhaps.
1464
- contextually_unique_id: u32,
1465
- }
1466
-
1467
- #[allow(clippy::large_enum_variant)]
1468
- enum TypesKind {
1469
- Module(Arc<Module>),
1470
- Component(ComponentState),
1471
- }
1472
-
1473
- /// Represents the types known to a [`crate::Validator`] once validation has completed.
1474
- ///
1475
- /// The type information is returned via the [`crate::Validator::end`] method.
1476
- pub struct Types {
1477
- list: TypeList,
1478
- kind: TypesKind,
1479
- }
1480
-
1481
- #[derive(Clone, Copy)]
1482
- enum TypesRefKind<'a> {
1483
- Module(&'a Module),
1484
- Component(&'a ComponentState),
1485
- }
1486
-
1487
- /// Represents the types known to a [`crate::Validator`] during validation.
1488
- ///
1489
- /// Retrieved via the [`crate::Validator::types`] method.
1490
- #[derive(Clone, Copy)]
1491
- pub struct TypesRef<'a> {
1492
- list: &'a TypeList,
1493
- kind: TypesRefKind<'a>,
1494
- }
1495
-
1496
- impl<'a> TypesRef<'a> {
1497
- pub(crate) fn from_module(types: &'a TypeList, module: &'a Module) -> Self {
1498
- Self {
1499
- list: types,
1500
- kind: TypesRefKind::Module(module),
1501
- }
1502
- }
1503
-
1504
- pub(crate) fn from_component(types: &'a TypeList, component: &'a ComponentState) -> Self {
1505
- Self {
1506
- list: types,
1507
- kind: TypesRefKind::Component(component),
1508
- }
1509
- }
1510
-
1511
- /// Gets a type based on its type id.
1512
- ///
1513
- /// Returns `None` if the type id is unknown.
1514
- pub fn get<T>(&self, id: T) -> Option<&'a T::Data>
1515
- where
1516
- T: TypeIdentifier,
1517
- {
1518
- self.list.get(id)
1519
- }
1520
-
1521
- /// Gets a core WebAssembly type id from a type index.
1522
- ///
1523
- /// Note that this is in contrast to [`TypesRef::component_type_at`] which
1524
- /// gets a component type from its index.
1525
- ///
1526
- /// # Panics
1527
- ///
1528
- /// This will panic if the `index` provided is out of bounds.
1529
- pub fn core_type_at(&self, index: u32) -> ComponentCoreTypeId {
1530
- match &self.kind {
1531
- TypesRefKind::Module(module) => ComponentCoreTypeId::Sub(module.types[index as usize]),
1532
- TypesRefKind::Component(component) => component.core_types[index as usize],
1533
- }
1534
- }
1535
-
1536
- /// Gets a type id from a type index.
1537
- ///
1538
- /// # Panics
1539
- ///
1540
- /// Panics if `index` is not a valid type index or if this type information
1541
- /// represents a core module.
1542
- pub fn component_any_type_at(&self, index: u32) -> ComponentAnyTypeId {
1543
- match &self.kind {
1544
- TypesRefKind::Module(_) => panic!("not a component"),
1545
- TypesRefKind::Component(component) => component.types[index as usize],
1546
- }
1547
- }
1548
-
1549
- /// Gets a component type id from a type index.
1550
- ///
1551
- /// # Panics
1552
- ///
1553
- /// Panics if `index` is not a valid component type index or if this type
1554
- /// information represents a core module.
1555
- pub fn component_type_at(&self, index: u32) -> ComponentTypeId {
1556
- match self.component_any_type_at(index) {
1557
- ComponentAnyTypeId::Component(id) => id,
1558
- _ => panic!("not a component type"),
1559
- }
1560
- }
1561
-
1562
- /// Gets a type id from a type index.
1563
- ///
1564
- /// # Panics
1565
- ///
1566
- /// Panics if `index` is not a valid function index or if this type
1567
- /// information represents a core module.
1568
- pub fn component_defined_type_at(&self, index: u32) -> ComponentDefinedTypeId {
1569
- match self.component_any_type_at(index) {
1570
- ComponentAnyTypeId::Defined(id) => id,
1571
- _ => panic!("not a defined type"),
1572
- }
1573
- }
1574
-
1575
- /// Returns the number of core types defined so far.
1576
- pub fn core_type_count(&self) -> u32 {
1577
- match &self.kind {
1578
- TypesRefKind::Module(module) => module.types.len() as u32,
1579
- TypesRefKind::Component(component) => component.core_types.len() as u32,
1580
- }
1581
- }
1582
-
1583
- /// Returns the number of component types defined so far.
1584
- pub fn component_type_count(&self) -> u32 {
1585
- match &self.kind {
1586
- TypesRefKind::Module(_module) => 0,
1587
- TypesRefKind::Component(component) => component.types.len() as u32,
1588
- }
1589
- }
1590
-
1591
- /// Gets the type of a table at the given table index.
1592
- ///
1593
- /// # Panics
1594
- ///
1595
- /// This will panic if the `index` provided is out of bounds.
1596
- pub fn table_at(&self, index: u32) -> TableType {
1597
- let tables = match &self.kind {
1598
- TypesRefKind::Module(module) => &module.tables,
1599
- TypesRefKind::Component(component) => &component.core_tables,
1600
- };
1601
- tables[index as usize]
1602
- }
1603
-
1604
- /// Returns the number of tables defined so far.
1605
- pub fn table_count(&self) -> u32 {
1606
- match &self.kind {
1607
- TypesRefKind::Module(module) => module.tables.len() as u32,
1608
- TypesRefKind::Component(component) => component.core_tables.len() as u32,
1609
- }
1610
- }
1611
-
1612
- /// Gets the type of a memory at the given memory index.
1613
- ///
1614
- /// # Panics
1615
- ///
1616
- /// This will panic if the `index` provided is out of bounds.
1617
- pub fn memory_at(&self, index: u32) -> MemoryType {
1618
- let memories = match &self.kind {
1619
- TypesRefKind::Module(module) => &module.memories,
1620
- TypesRefKind::Component(component) => &component.core_memories,
1621
- };
1622
-
1623
- memories[index as usize]
1624
- }
1625
-
1626
- /// Returns the number of memories defined so far.
1627
- pub fn memory_count(&self) -> u32 {
1628
- match &self.kind {
1629
- TypesRefKind::Module(module) => module.memories.len() as u32,
1630
- TypesRefKind::Component(component) => component.core_memories.len() as u32,
1631
- }
1632
- }
1633
-
1634
- /// Gets the type of a global at the given global index.
1635
- ///
1636
- /// # Panics
1637
- ///
1638
- /// This will panic if the `index` provided is out of bounds.
1639
- pub fn global_at(&self, index: u32) -> GlobalType {
1640
- let globals = match &self.kind {
1641
- TypesRefKind::Module(module) => &module.globals,
1642
- TypesRefKind::Component(component) => &component.core_globals,
1643
- };
1644
-
1645
- globals[index as usize]
1646
- }
1647
-
1648
- /// Returns the number of globals defined so far.
1649
- pub fn global_count(&self) -> u32 {
1650
- match &self.kind {
1651
- TypesRefKind::Module(module) => module.globals.len() as u32,
1652
- TypesRefKind::Component(component) => component.core_globals.len() as u32,
1653
- }
1654
- }
1655
-
1656
- /// Gets the type of a tag at the given tag index.
1657
- ///
1658
- /// # Panics
1659
- ///
1660
- /// This will panic if the `index` provided is out of bounds.
1661
- pub fn tag_at(&self, index: u32) -> CoreTypeId {
1662
- let tags = match &self.kind {
1663
- TypesRefKind::Module(module) => &module.tags,
1664
- TypesRefKind::Component(component) => &component.core_tags,
1665
- };
1666
- tags[index as usize]
1667
- }
1668
-
1669
- /// Returns the number of tags defined so far.
1670
- pub fn tag_count(&self) -> u32 {
1671
- match &self.kind {
1672
- TypesRefKind::Module(module) => module.tags.len() as u32,
1673
- TypesRefKind::Component(component) => component.core_tags.len() as u32,
1674
- }
1675
- }
1676
-
1677
- /// Gets the type of a core function at the given function index.
1678
- ///
1679
- /// # Panics
1680
- ///
1681
- /// This will panic if the `index` provided is out of bounds.
1682
- pub fn core_function_at(&self, index: u32) -> CoreTypeId {
1683
- match &self.kind {
1684
- TypesRefKind::Module(module) => module.types[module.functions[index as usize] as usize],
1685
- TypesRefKind::Component(component) => component.core_funcs[index as usize],
1686
- }
1687
- }
1688
-
1689
- /// Gets the count of core functions defined so far.
1690
- ///
1691
- /// Note that this includes imported functions, defined functions, and for
1692
- /// components lowered/aliased functions.
1693
- pub fn function_count(&self) -> u32 {
1694
- match &self.kind {
1695
- TypesRefKind::Module(module) => module.functions.len() as u32,
1696
- TypesRefKind::Component(component) => component.core_funcs.len() as u32,
1697
- }
1698
- }
1699
-
1700
- /// Gets the type of an element segment at the given element segment index.
1701
- ///
1702
- /// # Panics
1703
- ///
1704
- /// This will panic if the `index` provided is out of bounds.
1705
- pub fn element_at(&self, index: u32) -> RefType {
1706
- match &self.kind {
1707
- TypesRefKind::Module(module) => module.element_types[index as usize],
1708
- TypesRefKind::Component(_) => {
1709
- panic!("no elements on a component")
1710
- }
1711
- }
1712
- }
1713
-
1714
- /// Returns the number of elements defined so far.
1715
- pub fn element_count(&self) -> u32 {
1716
- match &self.kind {
1717
- TypesRefKind::Module(module) => module.element_types.len() as u32,
1718
- TypesRefKind::Component(_) => 0,
1719
- }
1720
- }
1721
-
1722
- /// Gets the type of a component function at the given function index.
1723
- ///
1724
- /// # Panics
1725
- ///
1726
- /// This will panic if the `index` provided is out of bounds or if this type
1727
- /// information represents a core module.
1728
- pub fn component_function_at(&self, index: u32) -> ComponentFuncTypeId {
1729
- match &self.kind {
1730
- TypesRefKind::Module(_) => panic!("not a component"),
1731
- TypesRefKind::Component(component) => component.funcs[index as usize],
1732
- }
1733
- }
1734
-
1735
- /// Returns the number of component functions defined so far.
1736
- pub fn component_function_count(&self) -> u32 {
1737
- match &self.kind {
1738
- TypesRefKind::Module(_module) => 0,
1739
- TypesRefKind::Component(component) => component.funcs.len() as u32,
1740
- }
1741
- }
1742
-
1743
- /// Gets the type of a module at the given module index.
1744
- ///
1745
- /// # Panics
1746
- ///
1747
- /// This will panic if the `index` provided is out of bounds or if this type
1748
- /// information represents a core module.
1749
- pub fn module_at(&self, index: u32) -> ComponentCoreModuleTypeId {
1750
- match &self.kind {
1751
- TypesRefKind::Module(_) => panic!("not a component"),
1752
- TypesRefKind::Component(component) => component.core_modules[index as usize],
1753
- }
1754
- }
1755
-
1756
- /// Returns the number of core wasm modules defined so far.
1757
- pub fn module_count(&self) -> u32 {
1758
- match &self.kind {
1759
- TypesRefKind::Module(_module) => 0,
1760
- TypesRefKind::Component(component) => component.core_modules.len() as u32,
1761
- }
1762
- }
1763
-
1764
- /// Gets the type of a module instance at the given module instance index.
1765
- ///
1766
- /// # Panics
1767
- ///
1768
- /// This will panic if the `index` provided is out of bounds or if this type
1769
- /// information represents a core module.
1770
- pub fn core_instance_at(&self, index: u32) -> ComponentCoreInstanceTypeId {
1771
- match &self.kind {
1772
- TypesRefKind::Module(_) => panic!("not a component"),
1773
- TypesRefKind::Component(component) => component.core_instances[index as usize],
1774
- }
1775
- }
1776
-
1777
- /// Returns the number of core wasm instances defined so far.
1778
- pub fn core_instance_count(&self) -> u32 {
1779
- match &self.kind {
1780
- TypesRefKind::Module(_module) => 0,
1781
- TypesRefKind::Component(component) => component.core_instances.len() as u32,
1782
- }
1783
- }
1784
-
1785
- /// Gets the type of a component at the given component index.
1786
- ///
1787
- /// # Panics
1788
- ///
1789
- /// This will panic if the `index` provided is out of bounds or if this type
1790
- /// information represents a core module.
1791
- pub fn component_at(&self, index: u32) -> ComponentTypeId {
1792
- match &self.kind {
1793
- TypesRefKind::Module(_) => panic!("not a component"),
1794
- TypesRefKind::Component(component) => component.components[index as usize],
1795
- }
1796
- }
1797
-
1798
- /// Returns the number of components defined so far.
1799
- pub fn component_count(&self) -> u32 {
1800
- match &self.kind {
1801
- TypesRefKind::Module(_module) => 0,
1802
- TypesRefKind::Component(component) => component.components.len() as u32,
1803
- }
1804
- }
1805
-
1806
- /// Gets the type of an component instance at the given component instance index.
1807
- ///
1808
- /// # Panics
1809
- ///
1810
- /// This will panic if the `index` provided is out of bounds or if this type
1811
- /// information represents a core module.
1812
- pub fn component_instance_at(&self, index: u32) -> ComponentInstanceTypeId {
1813
- match &self.kind {
1814
- TypesRefKind::Module(_) => panic!("not a component"),
1815
- TypesRefKind::Component(component) => component.instances[index as usize],
1816
- }
1817
- }
1818
-
1819
- /// Returns the number of component instances defined so far.
1820
- pub fn component_instance_count(&self) -> u32 {
1821
- match &self.kind {
1822
- TypesRefKind::Module(_module) => 0,
1823
- TypesRefKind::Component(component) => component.instances.len() as u32,
1824
- }
1825
- }
1826
-
1827
- /// Gets the type of a value at the given value index.
1828
- ///
1829
- /// # Panics
1830
- ///
1831
- /// This will panic if the `index` provided is out of bounds or if this type
1832
- /// information represents a core module.
1833
- pub fn value_at(&self, index: u32) -> ComponentValType {
1834
- match &self.kind {
1835
- TypesRefKind::Module(_) => panic!("not a component"),
1836
- TypesRefKind::Component(component) => component.values[index as usize].0,
1837
- }
1838
- }
1839
-
1840
- /// Gets the entity type for the given import.
1841
- pub fn entity_type_from_import(&self, import: &Import) -> Option<EntityType> {
1842
- match &self.kind {
1843
- TypesRefKind::Module(module) => Some(match import.ty {
1844
- TypeRef::Func(idx) => EntityType::Func(*module.types.get(idx as usize)?),
1845
- TypeRef::Table(ty) => EntityType::Table(ty),
1846
- TypeRef::Memory(ty) => EntityType::Memory(ty),
1847
- TypeRef::Global(ty) => EntityType::Global(ty),
1848
- TypeRef::Tag(ty) => EntityType::Tag(*module.types.get(ty.func_type_idx as usize)?),
1849
- }),
1850
- TypesRefKind::Component(_) => None,
1851
- }
1852
- }
1853
-
1854
- /// Gets the entity type from the given export.
1855
- pub fn entity_type_from_export(&self, export: &Export) -> Option<EntityType> {
1856
- match &self.kind {
1857
- TypesRefKind::Module(module) => Some(match export.kind {
1858
- ExternalKind::Func => EntityType::Func(
1859
- module.types[*module.functions.get(export.index as usize)? as usize],
1860
- ),
1861
- ExternalKind::Table => {
1862
- EntityType::Table(*module.tables.get(export.index as usize)?)
1863
- }
1864
- ExternalKind::Memory => {
1865
- EntityType::Memory(*module.memories.get(export.index as usize)?)
1866
- }
1867
- ExternalKind::Global => {
1868
- EntityType::Global(*module.globals.get(export.index as usize)?)
1869
- }
1870
- ExternalKind::Tag => EntityType::Tag(
1871
- module.types[*module.functions.get(export.index as usize)? as usize],
1872
- ),
1873
- }),
1874
- TypesRefKind::Component(_) => None,
1875
- }
1876
- }
1877
-
1878
- /// Gets the component entity type for the given component import.
1879
- pub fn component_entity_type_of_import(&self, name: &str) -> Option<ComponentEntityType> {
1880
- match &self.kind {
1881
- TypesRefKind::Module(_) => None,
1882
- TypesRefKind::Component(component) => Some(*component.imports.get(name)?),
1883
- }
1884
- }
1885
-
1886
- /// Gets the component entity type for the given component export.
1887
- pub fn component_entity_type_of_export(&self, name: &str) -> Option<ComponentEntityType> {
1888
- match &self.kind {
1889
- TypesRefKind::Module(_) => None,
1890
- TypesRefKind::Component(component) => Some(*component.exports.get(name)?),
1891
- }
1892
- }
1893
-
1894
- /// Attempts to lookup the type id that `ty` is an alias of.
1895
- ///
1896
- /// Returns `None` if `ty` wasn't listed as aliasing a prior type.
1897
- pub fn peel_alias<T>(&self, ty: T) -> Option<T>
1898
- where
1899
- T: Aliasable,
1900
- {
1901
- self.list.peel_alias(ty)
1902
- }
1903
- }
1904
-
1905
- impl<T> Index<T> for TypesRef<'_>
1906
- where
1907
- T: TypeIdentifier,
1908
- {
1909
- type Output = T::Data;
1910
-
1911
- fn index(&self, index: T) -> &Self::Output {
1912
- &self.list[index]
1913
- }
1914
- }
1915
-
1916
- impl Types {
1917
- pub(crate) fn from_module(types: TypeList, module: Arc<Module>) -> Self {
1918
- Self {
1919
- list: types,
1920
- kind: TypesKind::Module(module),
1921
- }
1922
- }
1923
-
1924
- pub(crate) fn from_component(types: TypeList, component: ComponentState) -> Self {
1925
- Self {
1926
- list: types,
1927
- kind: TypesKind::Component(component),
1928
- }
1929
- }
1930
-
1931
- /// Gets a reference to this validation type information.
1932
- pub fn as_ref(&self) -> TypesRef {
1933
- TypesRef {
1934
- list: &self.list,
1935
- kind: match &self.kind {
1936
- TypesKind::Module(module) => TypesRefKind::Module(module),
1937
- TypesKind::Component(component) => TypesRefKind::Component(component),
1938
- },
1939
- }
1940
- }
1941
-
1942
- /// Gets a type based on its type id.
1943
- ///
1944
- /// Returns `None` if the type id is unknown.
1945
- pub fn get<T>(&self, id: T) -> Option<&T::Data>
1946
- where
1947
- T: TypeIdentifier,
1948
- {
1949
- self.as_ref().get(id)
1950
- }
1951
-
1952
- /// Gets a core WebAssembly type at the given type index.
1953
- ///
1954
- /// Note that this is in contrast to [`TypesRef::component_type_at`] which
1955
- /// gets a component type from its index.
1956
- ///
1957
- /// # Panics
1958
- ///
1959
- /// Panics if `index` is not a valid function index.
1960
- pub fn core_type_at(&self, index: u32) -> ComponentCoreTypeId {
1961
- self.as_ref().core_type_at(index)
1962
- }
1963
-
1964
- /// Gets a component WebAssembly type at the given type index.
1965
- ///
1966
- /// Note that this is in contrast to [`TypesRef::core_type_at`] which gets a
1967
- /// core type from its index.
1968
- ///
1969
- /// # Panics
1970
- ///
1971
- /// Panics if `index` is not a valid type index.
1972
- pub fn component_any_type_at(&self, index: u32) -> ComponentAnyTypeId {
1973
- self.as_ref().component_any_type_at(index)
1974
- }
1975
-
1976
- /// Gets a component type at the given type index.
1977
- ///
1978
- /// # Panics
1979
- ///
1980
- /// Panics if `index` is not a valid component type index.
1981
- pub fn component_type_at(&self, index: u32) -> ComponentTypeId {
1982
- self.as_ref().component_type_at(index)
1983
- }
1984
-
1985
- /// Gets a component type from the given component type index.
1986
- ///
1987
- /// # Panics
1988
- ///
1989
- /// Panics if `index` is not a valid defined type index or if this type
1990
- /// information represents a core module.
1991
- pub fn component_defined_type_at(&self, index: u32) -> ComponentDefinedTypeId {
1992
- self.as_ref().component_defined_type_at(index)
1993
- }
1994
-
1995
- /// Gets the count of core types.
1996
- pub fn type_count(&self) -> usize {
1997
- match &self.kind {
1998
- TypesKind::Module(module) => module.types.len(),
1999
- TypesKind::Component(component) => component.core_types.len(),
2000
- }
2001
- }
2002
-
2003
- /// Gets the type of a table at the given table index.
2004
- ///
2005
- /// # Panics
2006
- ///
2007
- /// Panics if `index` is not a valid function index.
2008
- pub fn table_at(&self, index: u32) -> TableType {
2009
- self.as_ref().table_at(index)
2010
- }
2011
-
2012
- /// Gets the count of imported and defined tables.
2013
- pub fn table_count(&self) -> usize {
2014
- match &self.kind {
2015
- TypesKind::Module(module) => module.tables.len(),
2016
- TypesKind::Component(component) => component.core_tables.len(),
2017
- }
2018
- }
2019
-
2020
- /// Gets the type of a memory at the given memory index.
2021
- ///
2022
- /// # Panics
2023
- ///
2024
- /// Panics if `index` is not a valid function index.
2025
- pub fn memory_at(&self, index: u32) -> MemoryType {
2026
- self.as_ref().memory_at(index)
2027
- }
2028
-
2029
- /// Gets the count of imported and defined memories.
2030
- pub fn memory_count(&self) -> u32 {
2031
- self.as_ref().memory_count()
2032
- }
2033
-
2034
- /// Gets the type of a global at the given global index.
2035
- ///
2036
- /// # Panics
2037
- ///
2038
- /// Panics if `index` is not a valid function index.
2039
- pub fn global_at(&self, index: u32) -> GlobalType {
2040
- self.as_ref().global_at(index)
2041
- }
2042
-
2043
- /// Gets the count of imported and defined globals.
2044
- pub fn global_count(&self) -> u32 {
2045
- self.as_ref().global_count()
2046
- }
2047
-
2048
- /// Gets the type of a tag at the given tag index.
2049
- ///
2050
- /// # Panics
2051
- ///
2052
- /// Panics if `index` is not a valid function index.
2053
- pub fn tag_at(&self, index: u32) -> CoreTypeId {
2054
- self.as_ref().tag_at(index)
2055
- }
2056
-
2057
- /// Gets the count of imported and defined tags.
2058
- pub fn tag_count(&self) -> u32 {
2059
- self.as_ref().tag_count()
2060
- }
2061
-
2062
- /// Gets the type of a core function at the given function index.
2063
- ///
2064
- /// # Panics
2065
- ///
2066
- /// Panics if `index` is not a valid function index.
2067
- pub fn core_function_at(&self, index: u32) -> CoreTypeId {
2068
- self.as_ref().core_function_at(index)
2069
- }
2070
-
2071
- /// Gets the count of core functions defined so far.
2072
- ///
2073
- /// Note that this includes imported functions, defined functions, and for
2074
- /// components lowered/aliased functions.
2075
- pub fn core_function_count(&self) -> u32 {
2076
- self.as_ref().function_count()
2077
- }
2078
-
2079
- /// Gets the type of an element segment at the given element segment index.
2080
- ///
2081
- /// # Panics
2082
- ///
2083
- /// This will panic if the `index` provided is out of bounds.
2084
- pub fn element_at(&self, index: u32) -> RefType {
2085
- self.as_ref().element_at(index)
2086
- }
2087
-
2088
- /// Gets the count of element segments.
2089
- pub fn element_count(&self) -> u32 {
2090
- self.as_ref().element_count()
2091
- }
2092
-
2093
- /// Gets the type of a component function at the given function index.
2094
- ///
2095
- /// # Panics
2096
- ///
2097
- /// This will panic if the `index` provided is out of bounds or if this type
2098
- /// information represents a core module.
2099
- pub fn component_function_at(&self, index: u32) -> ComponentFuncTypeId {
2100
- self.as_ref().component_function_at(index)
2101
- }
2102
-
2103
- /// Gets the count of imported, exported, or aliased component functions.
2104
- pub fn component_function_count(&self) -> u32 {
2105
- self.as_ref().component_function_count()
2106
- }
2107
-
2108
- /// Gets the type of a module at the given module index.
2109
- ///
2110
- /// # Panics
2111
- ///
2112
- /// This will panic if the `index` provided is out of bounds or if this type
2113
- /// information represents a core module.
2114
- pub fn module_at(&self, index: u32) -> ComponentCoreModuleTypeId {
2115
- self.as_ref().module_at(index)
2116
- }
2117
-
2118
- /// Gets the count of imported, exported, or aliased modules.
2119
- pub fn module_count(&self) -> usize {
2120
- match &self.kind {
2121
- TypesKind::Module(_) => 0,
2122
- TypesKind::Component(component) => component.core_modules.len(),
2123
- }
2124
- }
2125
-
2126
- /// Gets the type of a module instance at the given module instance index.
2127
- ///
2128
- /// # Panics
2129
- ///
2130
- /// This will panic if the `index` provided is out of bounds or if this type
2131
- /// information represents a core module.
2132
- pub fn core_instance_at(&self, index: u32) -> ComponentCoreInstanceTypeId {
2133
- self.as_ref().core_instance_at(index)
2134
- }
2135
-
2136
- /// Gets the count of imported, exported, or aliased core module instances.
2137
- pub fn core_instance_count(&self) -> usize {
2138
- match &self.kind {
2139
- TypesKind::Module(_) => 0,
2140
- TypesKind::Component(component) => component.core_instances.len(),
2141
- }
2142
- }
2143
-
2144
- /// Gets the type of a component at the given component index.
2145
- ///
2146
- /// # Panics
2147
- ///
2148
- /// This will panic if the `index` provided is out of bounds or if this type
2149
- /// information represents a core module.
2150
- pub fn component_at(&self, index: u32) -> ComponentTypeId {
2151
- self.as_ref().component_at(index)
2152
- }
2153
-
2154
- /// Gets the count of imported, exported, or aliased components.
2155
- pub fn component_count(&self) -> usize {
2156
- match &self.kind {
2157
- TypesKind::Module(_) => 0,
2158
- TypesKind::Component(component) => component.components.len(),
2159
- }
2160
- }
2161
-
2162
- /// Gets the type of an component instance at the given component instance index.
2163
- ///
2164
- /// # Panics
2165
- ///
2166
- /// This will panic if the `index` provided is out of bounds or if this type
2167
- /// information represents a core module.
2168
- pub fn component_instance_at(&self, index: u32) -> ComponentInstanceTypeId {
2169
- self.as_ref().component_instance_at(index)
2170
- }
2171
-
2172
- /// Gets the count of imported, exported, or aliased component instances.
2173
- pub fn component_instance_count(&self) -> usize {
2174
- match &self.kind {
2175
- TypesKind::Module(_) => 0,
2176
- TypesKind::Component(component) => component.instances.len(),
2177
- }
2178
- }
2179
-
2180
- /// Gets the type of a value at the given value index.
2181
- ///
2182
- /// # Panics
2183
- ///
2184
- /// This will panic if the `index` provided is out of bounds or if this type
2185
- /// information represents a core module.
2186
- pub fn value_at(&self, index: u32) -> ComponentValType {
2187
- self.as_ref().value_at(index)
2188
- }
2189
-
2190
- /// Gets the count of imported, exported, or aliased values.
2191
- pub fn value_count(&self) -> usize {
2192
- match &self.kind {
2193
- TypesKind::Module(_) => 0,
2194
- TypesKind::Component(component) => component.values.len(),
2195
- }
2196
- }
2197
-
2198
- /// Gets the entity type from the given import.
2199
- pub fn entity_type_from_import(&self, import: &Import) -> Option<EntityType> {
2200
- self.as_ref().entity_type_from_import(import)
2201
- }
2202
-
2203
- /// Gets the entity type from the given export.
2204
- pub fn entity_type_from_export(&self, export: &Export) -> Option<EntityType> {
2205
- self.as_ref().entity_type_from_export(export)
2206
- }
2207
-
2208
- /// Gets the component entity type for the given component import name.
2209
- pub fn component_entity_type_of_import(&self, name: &str) -> Option<ComponentEntityType> {
2210
- self.as_ref().component_entity_type_of_import(name)
2211
- }
2212
-
2213
- /// Gets the component entity type for the given component export name.
2214
- pub fn component_entity_type_of_export(&self, name: &str) -> Option<ComponentEntityType> {
2215
- self.as_ref().component_entity_type_of_export(name)
2216
- }
2217
-
2218
- /// Attempts to lookup the type id that `ty` is an alias of.
2219
- ///
2220
- /// Returns `None` if `ty` wasn't listed as aliasing a prior type.
2221
- pub fn peel_alias<T>(&self, ty: T) -> Option<T>
2222
- where
2223
- T: Aliasable,
2224
- {
2225
- self.list.peel_alias(ty)
2226
- }
2227
- }
2228
-
2229
- impl<T> Index<T> for Types
2230
- where
2231
- T: TypeIdentifier,
2232
- {
2233
- type Output = T::Data;
2234
-
2235
- fn index(&self, id: T) -> &Self::Output {
2236
- &self.list[id]
2237
- }
2238
- }
2239
-
2240
- /// This is a type which mirrors a subset of the `Vec<T>` API, but is intended
2241
- /// to be able to be cheaply snapshotted and cloned.
2242
- ///
2243
- /// When each module's code sections start we "commit" the current list of types
2244
- /// in the global list of types. This means that the temporary `cur` vec here is
2245
- /// pushed onto `snapshots` and wrapped up in an `Arc`. At that point we clone
2246
- /// this entire list (which is then O(modules), not O(types in all modules)) and
2247
- /// pass out as a context to each function validator.
2248
- ///
2249
- /// Otherwise, though, this type behaves as if it were a large `Vec<T>`, but
2250
- /// it's represented by lists of contiguous chunks.
2251
- //
2252
- // Only public because it shows up in a public trait's `doc(hidden)` method.
2253
- #[doc(hidden)]
2254
- pub struct SnapshotList<T> {
2255
- // All previous snapshots, the "head" of the list that this type represents.
2256
- // The first entry in this pair is the starting index for all elements
2257
- // contained in the list, and the second element is the list itself. Note
2258
- // the `Arc` wrapper around sub-lists, which makes cloning time for this
2259
- // `SnapshotList` O(snapshots) rather than O(snapshots_total), which for
2260
- // us in this context means the number of modules, not types.
2261
- //
2262
- // Note that this list is sorted least-to-greatest in order of the index for
2263
- // binary searching.
2264
- snapshots: Vec<Arc<Snapshot<T>>>,
2265
-
2266
- // This is the total length of all lists in the `snapshots` array.
2267
- snapshots_total: usize,
2268
-
2269
- // The current list of types for the current snapshot that are being built.
2270
- cur: Vec<T>,
2271
- }
2272
-
2273
- struct Snapshot<T> {
2274
- prior_types: usize,
2275
- items: Vec<T>,
2276
- }
2277
-
2278
- impl<T> SnapshotList<T> {
2279
- /// Same as `<&[T]>::get`
2280
- pub(crate) fn get(&self, index: usize) -> Option<&T> {
2281
- // Check to see if this index falls on our local list
2282
- if index >= self.snapshots_total {
2283
- return self.cur.get(index - self.snapshots_total);
2284
- }
2285
- // ... and failing that we do a binary search to figure out which bucket
2286
- // it's in. Note the `i-1` in the `Err` case because if we don't find an
2287
- // exact match the type is located in the previous bucket.
2288
- let i = match self
2289
- .snapshots
2290
- .binary_search_by_key(&index, |snapshot| snapshot.prior_types)
2291
- {
2292
- Ok(i) => i,
2293
- Err(i) => i - 1,
2294
- };
2295
- let snapshot = &self.snapshots[i];
2296
- Some(&snapshot.items[index - snapshot.prior_types])
2297
- }
2298
-
2299
- /// Same as `Vec::push`
2300
- pub(crate) fn push(&mut self, val: T) {
2301
- self.cur.push(val);
2302
- }
2303
-
2304
- /// Same as `<[T]>::len`
2305
- pub(crate) fn len(&self) -> usize {
2306
- self.cur.len() + self.snapshots_total
2307
- }
2308
-
2309
- /// Same as `Vec::truncate` but can only truncate uncommitted elements.
2310
- pub(crate) fn truncate(&mut self, len: usize) {
2311
- assert!(len >= self.snapshots_total);
2312
- self.cur.truncate(len - self.snapshots_total);
2313
- }
2314
-
2315
- /// Commits previously pushed types into this snapshot vector, and returns a
2316
- /// clone of this list.
2317
- ///
2318
- /// The returned `SnapshotList` can be used to access all the same types as
2319
- /// this list itself. This list also is not changed (from an external
2320
- /// perspective) and can continue to access all the same types.
2321
- pub(crate) fn commit(&mut self) -> SnapshotList<T> {
2322
- // If the current chunk has new elements, commit them in to an
2323
- // `Arc`-wrapped vector in the snapshots list. Note the `shrink_to_fit`
2324
- // ahead of time to hopefully keep memory usage lower than it would
2325
- // otherwise be.
2326
- let len = self.cur.len();
2327
- if len > 0 {
2328
- self.cur.shrink_to_fit();
2329
- self.snapshots.push(Arc::new(Snapshot {
2330
- prior_types: self.snapshots_total,
2331
- items: mem::take(&mut self.cur),
2332
- }));
2333
- self.snapshots_total += len;
2334
- }
2335
- SnapshotList {
2336
- snapshots: self.snapshots.clone(),
2337
- snapshots_total: self.snapshots_total,
2338
- cur: Vec::new(),
2339
- }
2340
- }
2341
- }
2342
-
2343
- impl<T> Index<usize> for SnapshotList<T> {
2344
- type Output = T;
2345
-
2346
- #[inline]
2347
- fn index(&self, index: usize) -> &T {
2348
- self.get(index).unwrap()
2349
- }
2350
- }
2351
-
2352
- impl<T, U> Index<U> for SnapshotList<T>
2353
- where
2354
- U: TypeIdentifier<Data = T>,
2355
- {
2356
- type Output = T;
2357
-
2358
- #[inline]
2359
- fn index(&self, id: U) -> &T {
2360
- self.get(id.index()).unwrap()
2361
- }
2362
- }
2363
-
2364
- impl<T> Default for SnapshotList<T> {
2365
- fn default() -> SnapshotList<T> {
2366
- SnapshotList {
2367
- snapshots: Vec::new(),
2368
- snapshots_total: 0,
2369
- cur: Vec::new(),
2370
- }
2371
- }
2372
- }
2373
-
2374
- /// A snapshot list of types.
2375
- ///
2376
- /// Note that the snapshot lists below do not correspond with index spaces. Many
2377
- /// different kinds of types are in the same index space (e.g. all of the
2378
- /// component model's {component, instance, defined, func} types are in the same
2379
- /// index space). However, we store each of them in their own type-specific
2380
- /// snapshot list and give each of them their own identifier type.
2381
- #[derive(Default)]
2382
- // Only public because it shows up in a public trait's `doc(hidden)` method.
2383
- #[doc(hidden)]
2384
- pub struct TypeList {
2385
- // Keeps track of which `alias_id` is an alias of which other `alias_id`.
2386
- alias_mappings: HashMap<u32, u32>,
2387
- // Counter for generating new `alias_id`s.
2388
- alias_counter: u32,
2389
- // Snapshots of previously committed `TypeList`s' aliases.
2390
- alias_snapshots: Vec<TypeListAliasSnapshot>,
2391
-
2392
- // Core Wasm types.
2393
- //
2394
- // A primary map from `CoreTypeId` to `SubType`.
2395
- core_types: SnapshotList<SubType>,
2396
- // The id of each core Wasm type's rec group.
2397
- //
2398
- // A secondary map from `CoreTypeId` to `RecGroupId`.
2399
- core_type_to_rec_group: SnapshotList<RecGroupId>,
2400
- // The supertype of each core type.
2401
- //
2402
- // A secondary map from `coreTypeId` to `Option<CoreTypeId>`.
2403
- core_type_to_supertype: SnapshotList<Option<CoreTypeId>>,
2404
- // A primary map from `RecGroupId` to the range of the rec group's elements
2405
- // within `core_types`.
2406
- rec_group_elements: SnapshotList<Range<CoreTypeId>>,
2407
- // A hash map from rec group elements to their canonical `RecGroupId`.
2408
- //
2409
- // This is `None` when a list is "committed" meaning that no more insertions
2410
- // can happen.
2411
- canonical_rec_groups: Option<HashMap<RecGroup, RecGroupId>>,
2412
-
2413
- // Component model types.
2414
- components: SnapshotList<ComponentType>,
2415
- component_defined_types: SnapshotList<ComponentDefinedType>,
2416
- component_values: SnapshotList<ComponentValType>,
2417
- component_instances: SnapshotList<ComponentInstanceType>,
2418
- component_funcs: SnapshotList<ComponentFuncType>,
2419
- core_modules: SnapshotList<ModuleType>,
2420
- core_instances: SnapshotList<InstanceType>,
2421
- }
2422
-
2423
- #[derive(Clone, Debug)]
2424
- struct TypeListAliasSnapshot {
2425
- // The `alias_counter` at the time that this snapshot was taken.
2426
- alias_counter: u32,
2427
-
2428
- // The alias mappings in this snapshot.
2429
- alias_mappings: HashMap<u32, u32>,
2430
- }
2431
-
2432
- struct TypeListCheckpoint {
2433
- core_types: usize,
2434
- components: usize,
2435
- component_defined_types: usize,
2436
- component_values: usize,
2437
- component_instances: usize,
2438
- component_funcs: usize,
2439
- core_modules: usize,
2440
- core_instances: usize,
2441
- core_type_to_rec_group: usize,
2442
- core_type_to_supertype: usize,
2443
- rec_group_elements: usize,
2444
- canonical_rec_groups: usize,
2445
- }
2446
-
2447
- impl TypeList {
2448
- pub fn get<T>(&self, id: T) -> Option<&T::Data>
2449
- where
2450
- T: TypeIdentifier,
2451
- {
2452
- T::list(self).get(id.index())
2453
- }
2454
-
2455
- pub fn push<T>(&mut self, ty: T) -> T::Id
2456
- where
2457
- T: TypeData,
2458
- {
2459
- let index = u32::try_from(T::Id::list(self).len()).unwrap();
2460
- let id = T::Id::from_index(index);
2461
- T::Id::list_mut(self).push(ty);
2462
- id
2463
- }
2464
-
2465
- /// Intern the given recursion group (that has already been canonicalized)
2466
- /// and return its associated id and whether this was a new recursion group
2467
- /// or not.
2468
- pub fn intern_canonical_rec_group(&mut self, rec_group: RecGroup) -> (bool, RecGroupId) {
2469
- let canonical_rec_groups = self
2470
- .canonical_rec_groups
2471
- .as_mut()
2472
- .expect("cannot intern into a committed list");
2473
- let entry = match canonical_rec_groups.entry(rec_group) {
2474
- Entry::Occupied(e) => return (false, *e.get()),
2475
- Entry::Vacant(e) => e,
2476
- };
2477
-
2478
- let rec_group_id = self.rec_group_elements.len();
2479
- let rec_group_id = u32::try_from(rec_group_id).unwrap();
2480
- let rec_group_id = RecGroupId::from_index(rec_group_id);
2481
-
2482
- let start = self.core_types.len();
2483
- let start = u32::try_from(start).unwrap();
2484
- let start = CoreTypeId::from_index(start);
2485
-
2486
- for ty in entry.key().types() {
2487
- debug_assert_eq!(self.core_types.len(), self.core_type_to_supertype.len());
2488
- debug_assert_eq!(self.core_types.len(), self.core_type_to_rec_group.len());
2489
-
2490
- self.core_type_to_supertype
2491
- .push(ty.supertype_idx.map(|idx| match idx.unpack() {
2492
- UnpackedIndex::RecGroup(offset) => CoreTypeId::from_index(start.index + offset),
2493
- UnpackedIndex::Id(id) => id,
2494
- UnpackedIndex::Module(_) => unreachable!("in canonical form"),
2495
- }));
2496
- let mut ty = ty.clone();
2497
- ty.remap_indices(&mut |index| {
2498
- match index.unpack() {
2499
- UnpackedIndex::Id(_) => {}
2500
- UnpackedIndex::Module(_) => unreachable!(),
2501
- UnpackedIndex::RecGroup(offset) => {
2502
- *index = UnpackedIndex::Id(CoreTypeId::from_index(start.index + offset))
2503
- .pack()
2504
- .unwrap();
2505
- }
2506
- };
2507
- Ok(())
2508
- })
2509
- .expect("cannot fail");
2510
- self.core_types.push(ty);
2511
- self.core_type_to_rec_group.push(rec_group_id);
2512
- }
2513
-
2514
- let end = self.core_types.len();
2515
- let end = u32::try_from(end).unwrap();
2516
- let end = CoreTypeId::from_index(end);
2517
-
2518
- let range = start..end;
2519
-
2520
- self.rec_group_elements.push(range.clone());
2521
-
2522
- entry.insert(rec_group_id);
2523
- return (true, rec_group_id);
2524
- }
2525
-
2526
- /// Get the `CoreTypeId` for a local index into a rec group.
2527
- pub fn rec_group_local_id(
2528
- &self,
2529
- rec_group: RecGroupId,
2530
- index: u32,
2531
- offset: usize,
2532
- ) -> Result<CoreTypeId> {
2533
- let elems = &self[rec_group];
2534
- let len = elems.end.index() - elems.start.index();
2535
- let len = u32::try_from(len).unwrap();
2536
- if index < len {
2537
- let id = u32::try_from(elems.start.index()).unwrap() + index;
2538
- let id = CoreTypeId::from_index(id);
2539
- Ok(id)
2540
- } else {
2541
- bail!(
2542
- offset,
2543
- "unknown type {index}: type index out of rec group bounds"
2544
- )
2545
- }
2546
- }
2547
-
2548
- /// Get the id of the rec group that the given type id was defined within.
2549
- pub fn rec_group_id_of(&self, id: CoreTypeId) -> RecGroupId {
2550
- self.core_type_to_rec_group[id.index()]
2551
- }
2552
-
2553
- /// Get the super type of the given type id, if any.
2554
- pub fn supertype_of(&self, id: CoreTypeId) -> Option<CoreTypeId> {
2555
- self.core_type_to_supertype[id.index()]
2556
- }
2557
-
2558
- /// Get the `CoreTypeId` for a canonicalized `PackedIndex`.
2559
- ///
2560
- /// Panics when given a non-canonicalized `PackedIndex`.
2561
- pub fn at_canonicalized_packed_index(
2562
- &self,
2563
- rec_group: RecGroupId,
2564
- index: PackedIndex,
2565
- offset: usize,
2566
- ) -> Result<CoreTypeId> {
2567
- self.at_canonicalized_unpacked_index(rec_group, index.unpack(), offset)
2568
- }
2569
-
2570
- /// Get the `CoreTypeId` for a canonicalized `UnpackedIndex`.
2571
- ///
2572
- /// Panics when given a non-canonicalized `PackedIndex`.
2573
- pub fn at_canonicalized_unpacked_index(
2574
- &self,
2575
- rec_group: RecGroupId,
2576
- index: UnpackedIndex,
2577
- offset: usize,
2578
- ) -> Result<CoreTypeId> {
2579
- match index {
2580
- UnpackedIndex::Module(_) => panic!("not canonicalized"),
2581
- UnpackedIndex::Id(id) => Ok(id),
2582
- UnpackedIndex::RecGroup(idx) => self.rec_group_local_id(rec_group, idx, offset),
2583
- }
2584
- }
2585
-
2586
- /// Does `a` structurally match `b`?
2587
- pub fn matches(&self, a: CoreTypeId, b: CoreTypeId) -> bool {
2588
- let a = WithRecGroup::new(self, a);
2589
- let a = WithRecGroup::map(a, |a| &self[a]);
2590
-
2591
- let b = WithRecGroup::new(self, b);
2592
- let b = WithRecGroup::map(b, |b| &self[b]);
2593
-
2594
- Matches::matches(self, a, b)
2595
- }
2596
-
2597
- /// Is `a == b` or was `a` declared (potentially transitively) to be a
2598
- /// subtype of `b`?
2599
- pub fn id_is_subtype(&self, mut a: CoreTypeId, b: CoreTypeId) -> bool {
2600
- loop {
2601
- if a == b {
2602
- return true;
2603
- }
2604
-
2605
- // TODO: maintain supertype vectors and implement this check in O(1)
2606
- // instead of O(n) time.
2607
- a = match self.supertype_of(a) {
2608
- Some(a) => a,
2609
- None => return false,
2610
- };
2611
- }
2612
- }
2613
-
2614
- /// Like `id_is_subtype` but for `RefType`s.
2615
- ///
2616
- /// Both `a` and `b` must be canonicalized already.
2617
- pub fn reftype_is_subtype(&self, a: RefType, b: RefType) -> bool {
2618
- // NB: Don't need `RecGroupId`s since we are calling from outside of the
2619
- // rec group, and so any `PackedIndex`es we encounter have already been
2620
- // canonicalized to `CoreTypeId`s directly.
2621
- self.reftype_is_subtype_impl(a, None, b, None)
2622
- }
2623
-
2624
- /// Implementation of `RefType` and `HeapType` subtyping.
2625
- ///
2626
- /// Panics if we need rec groups but aren't given them. Rec groups only need
2627
- /// to be passed in when checking subtyping of `RefType`s that we encounter
2628
- /// while validating a rec group itself.
2629
- pub(crate) fn reftype_is_subtype_impl(
2630
- &self,
2631
- a: RefType,
2632
- a_group: Option<RecGroupId>,
2633
- b: RefType,
2634
- b_group: Option<RecGroupId>,
2635
- ) -> bool {
2636
- if a == b && a_group == b_group {
2637
- return true;
2638
- }
2639
-
2640
- if a.is_nullable() && !b.is_nullable() {
2641
- return false;
2642
- }
2643
-
2644
- let core_type_id = |group: Option<RecGroupId>, index: UnpackedIndex| -> CoreTypeId {
2645
- if let Some(id) = index.as_core_type_id() {
2646
- id
2647
- } else {
2648
- self.at_canonicalized_unpacked_index(group.unwrap(), index, usize::MAX)
2649
- .expect("type references are checked during canonicalization")
2650
- }
2651
- };
2652
-
2653
- let subtype = |group, index| -> &SubType {
2654
- let id = core_type_id(group, index);
2655
- &self[id]
2656
- };
2657
-
2658
- use HeapType as HT;
2659
- match (a.heap_type(), b.heap_type()) {
2660
- (a, b) if a == b => true,
2661
-
2662
- (HT::Eq | HT::I31 | HT::Struct | HT::Array | HT::None, HT::Any) => true,
2663
- (HT::I31 | HT::Struct | HT::Array | HT::None, HT::Eq) => true,
2664
- (HT::NoExtern, HT::Extern) => true,
2665
- (HT::NoFunc, HT::Func) => true,
2666
- (HT::None, HT::I31 | HT::Array | HT::Struct) => true,
2667
-
2668
- (HT::Concrete(a), HT::Eq | HT::Any) => matches!(
2669
- subtype(a_group, a).composite_type,
2670
- CompositeType::Array(_) | CompositeType::Struct(_)
2671
- ),
2672
-
2673
- (HT::Concrete(a), HT::Struct) => {
2674
- matches!(subtype(a_group, a).composite_type, CompositeType::Struct(_))
2675
- }
2676
-
2677
- (HT::Concrete(a), HT::Array) => {
2678
- matches!(subtype(a_group, a).composite_type, CompositeType::Array(_))
2679
- }
2680
-
2681
- (HT::Concrete(a), HT::Func) => {
2682
- matches!(subtype(a_group, a).composite_type, CompositeType::Func(_))
2683
- }
2684
-
2685
- (HT::Concrete(a), HT::Concrete(b)) => {
2686
- self.id_is_subtype(core_type_id(a_group, a), core_type_id(b_group, b))
2687
- }
2688
-
2689
- (HT::None, HT::Concrete(b)) => matches!(
2690
- subtype(b_group, b).composite_type,
2691
- CompositeType::Array(_) | CompositeType::Struct(_)
2692
- ),
2693
-
2694
- (HT::NoFunc, HT::Concrete(b)) => {
2695
- matches!(subtype(b_group, b).composite_type, CompositeType::Func(_))
2696
- }
2697
-
2698
- // Nothing else matches. (Avoid full wildcard matches so that
2699
- // adding/modifying variants is easier in the future.)
2700
- (HT::Concrete(_), _)
2701
- | (HT::Func, _)
2702
- | (HT::Extern, _)
2703
- | (HT::Any, _)
2704
- | (HT::None, _)
2705
- | (HT::NoExtern, _)
2706
- | (HT::NoFunc, _)
2707
- | (HT::Eq, _)
2708
- | (HT::Struct, _)
2709
- | (HT::Array, _)
2710
- | (HT::I31, _) => false,
2711
-
2712
- // TODO: this probably isn't right, this is probably related to some
2713
- // gc type.
2714
- (HT::Exn, _) => false,
2715
- }
2716
- }
2717
-
2718
- /// Like `id_is_subtype` but for `RefType`s.
2719
- ///
2720
- /// Both `a` and `b` must be canonicalized already.
2721
- pub fn valtype_is_subtype(&self, a: ValType, b: ValType) -> bool {
2722
- match (a, b) {
2723
- (a, b) if a == b => true,
2724
- (ValType::Ref(a), ValType::Ref(b)) => self.reftype_is_subtype(a, b),
2725
- (ValType::Ref(_), _)
2726
- | (ValType::I32, _)
2727
- | (ValType::I64, _)
2728
- | (ValType::F32, _)
2729
- | (ValType::F64, _)
2730
- | (ValType::V128, _) => false,
2731
- }
2732
- }
2733
-
2734
- /// Get the top type of the given heap type.
2735
- ///
2736
- /// Concrete types must have had their indices canonicalized to core type
2737
- /// ids, otherwise this method will panic.
2738
- pub fn top_type(&self, heap_type: &HeapType) -> HeapType {
2739
- match *heap_type {
2740
- HeapType::Concrete(idx) => match self[idx.as_core_type_id().unwrap()].composite_type {
2741
- CompositeType::Func(_) => HeapType::Func,
2742
- CompositeType::Array(_) | CompositeType::Struct(_) => HeapType::Any,
2743
- },
2744
- HeapType::Func | HeapType::NoFunc => HeapType::Func,
2745
- HeapType::Extern | HeapType::NoExtern => HeapType::Extern,
2746
- HeapType::Any
2747
- | HeapType::Eq
2748
- | HeapType::Struct
2749
- | HeapType::Array
2750
- | HeapType::I31
2751
- | HeapType::None => HeapType::Any,
2752
- HeapType::Exn => HeapType::Exn,
2753
- }
2754
- }
2755
-
2756
- fn checkpoint(&self) -> TypeListCheckpoint {
2757
- let TypeList {
2758
- alias_mappings: _,
2759
- alias_counter: _,
2760
- alias_snapshots: _,
2761
- core_types,
2762
- components,
2763
- component_defined_types,
2764
- component_values,
2765
- component_instances,
2766
- component_funcs,
2767
- core_modules,
2768
- core_instances,
2769
- core_type_to_rec_group,
2770
- core_type_to_supertype,
2771
- rec_group_elements,
2772
- canonical_rec_groups,
2773
- } = self;
2774
-
2775
- TypeListCheckpoint {
2776
- core_types: core_types.len(),
2777
- components: components.len(),
2778
- component_defined_types: component_defined_types.len(),
2779
- component_values: component_values.len(),
2780
- component_instances: component_instances.len(),
2781
- component_funcs: component_funcs.len(),
2782
- core_modules: core_modules.len(),
2783
- core_instances: core_instances.len(),
2784
- core_type_to_rec_group: core_type_to_rec_group.len(),
2785
- core_type_to_supertype: core_type_to_supertype.len(),
2786
- rec_group_elements: rec_group_elements.len(),
2787
- canonical_rec_groups: canonical_rec_groups.as_ref().map(|m| m.len()).unwrap_or(0),
2788
- }
2789
- }
2790
-
2791
- fn reset_to_checkpoint(&mut self, checkpoint: TypeListCheckpoint) {
2792
- let TypeList {
2793
- alias_mappings: _,
2794
- alias_counter: _,
2795
- alias_snapshots: _,
2796
- core_types,
2797
- components,
2798
- component_defined_types,
2799
- component_values,
2800
- component_instances,
2801
- component_funcs,
2802
- core_modules,
2803
- core_instances,
2804
- core_type_to_rec_group,
2805
- core_type_to_supertype,
2806
- rec_group_elements,
2807
- canonical_rec_groups,
2808
- } = self;
2809
-
2810
- core_types.truncate(checkpoint.core_types);
2811
- components.truncate(checkpoint.components);
2812
- component_defined_types.truncate(checkpoint.component_defined_types);
2813
- component_values.truncate(checkpoint.component_values);
2814
- component_instances.truncate(checkpoint.component_instances);
2815
- component_funcs.truncate(checkpoint.component_funcs);
2816
- core_modules.truncate(checkpoint.core_modules);
2817
- core_instances.truncate(checkpoint.core_instances);
2818
- core_type_to_rec_group.truncate(checkpoint.core_type_to_rec_group);
2819
- core_type_to_supertype.truncate(checkpoint.core_type_to_supertype);
2820
- rec_group_elements.truncate(checkpoint.rec_group_elements);
2821
-
2822
- if let Some(canonical_rec_groups) = canonical_rec_groups {
2823
- assert_eq!(
2824
- canonical_rec_groups.len(),
2825
- checkpoint.canonical_rec_groups,
2826
- "checkpointing does not support resetting `canonical_rec_groups` (it would require a \
2827
- proper immutable and persistent hash map) so adding new groups is disallowed"
2828
- );
2829
- }
2830
- }
2831
-
2832
- pub fn commit(&mut self) -> TypeList {
2833
- // Note that the `alias_counter` is bumped here to ensure that the
2834
- // previous value of the unique counter is never used for an actual type
2835
- // so it's suitable for lookup via a binary search.
2836
- let alias_counter = self.alias_counter;
2837
- self.alias_counter += 1;
2838
-
2839
- self.alias_snapshots.push(TypeListAliasSnapshot {
2840
- alias_counter,
2841
- alias_mappings: mem::take(&mut self.alias_mappings),
2842
- });
2843
-
2844
- TypeList {
2845
- alias_mappings: HashMap::new(),
2846
- alias_counter: self.alias_counter,
2847
- alias_snapshots: self.alias_snapshots.clone(),
2848
- core_types: self.core_types.commit(),
2849
- components: self.components.commit(),
2850
- component_defined_types: self.component_defined_types.commit(),
2851
- component_values: self.component_values.commit(),
2852
- component_instances: self.component_instances.commit(),
2853
- component_funcs: self.component_funcs.commit(),
2854
- core_modules: self.core_modules.commit(),
2855
- core_instances: self.core_instances.commit(),
2856
- core_type_to_rec_group: self.core_type_to_rec_group.commit(),
2857
- core_type_to_supertype: self.core_type_to_supertype.commit(),
2858
- rec_group_elements: self.rec_group_elements.commit(),
2859
- canonical_rec_groups: None,
2860
- }
2861
- }
2862
-
2863
- /// See `SnapshotList::with_unique`.
2864
- pub fn with_unique<T>(&mut self, mut ty: T) -> T
2865
- where
2866
- T: Aliasable,
2867
- {
2868
- self.alias_mappings
2869
- .insert(self.alias_counter, ty.alias_id());
2870
- ty.set_alias_id(self.alias_counter);
2871
- self.alias_counter += 1;
2872
- ty
2873
- }
2874
-
2875
- /// Attempts to lookup the type id that `ty` is an alias of.
2876
- ///
2877
- /// Returns `None` if `ty` wasn't listed as aliasing a prior type.
2878
- pub fn peel_alias<T>(&self, mut ty: T) -> Option<T>
2879
- where
2880
- T: Aliasable,
2881
- {
2882
- let alias_id = ty.alias_id();
2883
-
2884
- // The unique counter in each snapshot is the unique counter at the
2885
- // time of the snapshot so it's guaranteed to never be used, meaning
2886
- // that `Ok` should never show up here. With an `Err` it's where the
2887
- // index would be placed meaning that the index in question is the
2888
- // smallest value over the unique id's value, meaning that slot has the
2889
- // mapping we're interested in.
2890
- let i = match self
2891
- .alias_snapshots
2892
- .binary_search_by_key(&alias_id, |snapshot| snapshot.alias_counter)
2893
- {
2894
- Ok(_) => unreachable!(),
2895
- Err(i) => i,
2896
- };
2897
-
2898
- // If the `i` index is beyond the snapshot array then lookup in the
2899
- // current mappings instead since it may refer to a type not snapshot
2900
- // yet.
2901
- ty.set_alias_id(match self.alias_snapshots.get(i) {
2902
- Some(snapshot) => *snapshot.alias_mappings.get(&alias_id)?,
2903
- None => *self.alias_mappings.get(&alias_id)?,
2904
- });
2905
- Some(ty)
2906
- }
2907
- }
2908
-
2909
- impl<T> Index<T> for TypeList
2910
- where
2911
- T: TypeIdentifier,
2912
- {
2913
- type Output = T::Data;
2914
-
2915
- fn index(&self, id: T) -> &Self::Output {
2916
- let arena = T::list(self);
2917
- &arena[id.index()]
2918
- }
2919
- }
2920
-
2921
- /// Thin wrapper around `TypeList` which provides an allocator of unique ids for
2922
- /// types contained within this list.
2923
- pub(crate) struct TypeAlloc {
2924
- list: TypeList,
2925
-
2926
- // This is assigned at creation of a `TypeAlloc` and then never changed.
2927
- // It's used in one entry for all `ResourceId`s contained within.
2928
- globally_unique_id: usize,
2929
-
2930
- // This is a counter that's incremeneted each time `alloc_resource_id` is
2931
- // called.
2932
- next_resource_id: u32,
2933
- }
2934
-
2935
- impl Default for TypeAlloc {
2936
- fn default() -> TypeAlloc {
2937
- static NEXT_GLOBAL_ID: AtomicUsize = AtomicUsize::new(0);
2938
- let mut ret = TypeAlloc {
2939
- list: TypeList::default(),
2940
- globally_unique_id: {
2941
- let id = NEXT_GLOBAL_ID.fetch_add(1, Ordering::Relaxed);
2942
- if id > usize::MAX - 10_000 {
2943
- NEXT_GLOBAL_ID.store(usize::MAX - 10_000, Ordering::Relaxed);
2944
- panic!("overflow on the global id counter");
2945
- }
2946
- id
2947
- },
2948
- next_resource_id: 0,
2949
- };
2950
- ret.list.canonical_rec_groups = Some(Default::default());
2951
- ret
2952
- }
2953
- }
2954
-
2955
- impl Deref for TypeAlloc {
2956
- type Target = TypeList;
2957
- fn deref(&self) -> &TypeList {
2958
- &self.list
2959
- }
2960
- }
2961
-
2962
- impl DerefMut for TypeAlloc {
2963
- fn deref_mut(&mut self) -> &mut TypeList {
2964
- &mut self.list
2965
- }
2966
- }
2967
-
2968
- impl TypeAlloc {
2969
- /// Pushes a new type into this list, returning an identifier which can be
2970
- /// used to later retrieve it.
2971
- ///
2972
- /// The returned identifier is unique within this `TypeAlloc` and won't be
2973
- /// hash-equivalent to anything else.
2974
- pub fn push_ty<T>(&mut self, ty: T) -> T::Id
2975
- where
2976
- T: TypeData,
2977
- {
2978
- self.list.push(ty)
2979
- }
2980
-
2981
- /// Allocates a new unique resource identifier.
2982
- ///
2983
- /// Note that uniqueness is only a property within this `TypeAlloc`.
2984
- pub fn alloc_resource_id(&mut self) -> AliasableResourceId {
2985
- let contextually_unique_id = self.next_resource_id;
2986
- self.next_resource_id = self.next_resource_id.checked_add(1).unwrap();
2987
- AliasableResourceId {
2988
- id: ResourceId {
2989
- globally_unique_id: self.globally_unique_id,
2990
- contextually_unique_id,
2991
- },
2992
- alias_id: NO_ALIAS,
2993
- }
2994
- }
2995
-
2996
- /// Adds the set of "free variables" of the `id` provided to the `set`
2997
- /// provided.
2998
- ///
2999
- /// Free variables are defined as resources. Any resource, perhaps
3000
- /// transitively, referred to but not defined by `id` is added to the `set`
3001
- /// and returned.
3002
- pub fn free_variables_any_type_id(
3003
- &self,
3004
- id: ComponentAnyTypeId,
3005
- set: &mut IndexSet<ResourceId>,
3006
- ) {
3007
- match id {
3008
- ComponentAnyTypeId::Resource(r) => {
3009
- set.insert(r.resource());
3010
- }
3011
- ComponentAnyTypeId::Defined(id) => {
3012
- self.free_variables_component_defined_type_id(id, set)
3013
- }
3014
- ComponentAnyTypeId::Func(id) => self.free_variables_component_func_type_id(id, set),
3015
- ComponentAnyTypeId::Instance(id) => {
3016
- self.free_variables_component_instance_type_id(id, set)
3017
- }
3018
- ComponentAnyTypeId::Component(id) => self.free_variables_component_type_id(id, set),
3019
- }
3020
- }
3021
-
3022
- pub fn free_variables_component_defined_type_id(
3023
- &self,
3024
- id: ComponentDefinedTypeId,
3025
- set: &mut IndexSet<ResourceId>,
3026
- ) {
3027
- match &self[id] {
3028
- ComponentDefinedType::Primitive(_)
3029
- | ComponentDefinedType::Flags(_)
3030
- | ComponentDefinedType::Enum(_) => {}
3031
- ComponentDefinedType::Record(r) => {
3032
- for ty in r.fields.values() {
3033
- self.free_variables_valtype(ty, set);
3034
- }
3035
- }
3036
- ComponentDefinedType::Tuple(r) => {
3037
- for ty in r.types.iter() {
3038
- self.free_variables_valtype(ty, set);
3039
- }
3040
- }
3041
- ComponentDefinedType::Variant(r) => {
3042
- for ty in r.cases.values() {
3043
- if let Some(ty) = &ty.ty {
3044
- self.free_variables_valtype(ty, set);
3045
- }
3046
- }
3047
- }
3048
- ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
3049
- self.free_variables_valtype(ty, set);
3050
- }
3051
- ComponentDefinedType::Result { ok, err } => {
3052
- if let Some(ok) = ok {
3053
- self.free_variables_valtype(ok, set);
3054
- }
3055
- if let Some(err) = err {
3056
- self.free_variables_valtype(err, set);
3057
- }
3058
- }
3059
- ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
3060
- set.insert(id.resource());
3061
- }
3062
- }
3063
- }
3064
-
3065
- pub fn free_variables_component_type_id(
3066
- &self,
3067
- id: ComponentTypeId,
3068
- set: &mut IndexSet<ResourceId>,
3069
- ) {
3070
- let i = &self[id];
3071
- // Recurse on the imports/exports of components, but remove the
3072
- // imported and defined resources within the component itself.
3073
- //
3074
- // Technically this needs to add all the free variables of the
3075
- // exports, remove the defined resources, then add the free
3076
- // variables of imports, then remove the imported resources. Given
3077
- // prior validation of component types, however, the defined
3078
- // and imported resources are disjoint and imports can't refer to
3079
- // defined resources, so doing this all in one go should be
3080
- // equivalent.
3081
- for ty in i.imports.values().chain(i.exports.values()) {
3082
- self.free_variables_component_entity(ty, set);
3083
- }
3084
- for (id, _path) in i.imported_resources.iter().chain(&i.defined_resources) {
3085
- set.remove(id);
3086
- }
3087
- }
3088
-
3089
- pub fn free_variables_component_instance_type_id(
3090
- &self,
3091
- id: ComponentInstanceTypeId,
3092
- set: &mut IndexSet<ResourceId>,
3093
- ) {
3094
- let i = &self[id];
3095
- // Like components, add in all the free variables of referenced
3096
- // types but then remove those defined by this component instance
3097
- // itself.
3098
- for ty in i.exports.values() {
3099
- self.free_variables_component_entity(ty, set);
3100
- }
3101
- for id in i.defined_resources.iter() {
3102
- set.remove(id);
3103
- }
3104
- }
3105
-
3106
- pub fn free_variables_component_func_type_id(
3107
- &self,
3108
- id: ComponentFuncTypeId,
3109
- set: &mut IndexSet<ResourceId>,
3110
- ) {
3111
- let i = &self[id];
3112
- for ty in i
3113
- .params
3114
- .iter()
3115
- .map(|(_, ty)| ty)
3116
- .chain(i.results.iter().map(|(_, ty)| ty))
3117
- {
3118
- self.free_variables_valtype(ty, set);
3119
- }
3120
- }
3121
-
3122
- /// Same as `free_variables_type_id`, but for `ComponentEntityType`.
3123
- pub fn free_variables_component_entity(
3124
- &self,
3125
- ty: &ComponentEntityType,
3126
- set: &mut IndexSet<ResourceId>,
3127
- ) {
3128
- match ty {
3129
- ComponentEntityType::Module(_) => {}
3130
- ComponentEntityType::Func(id) => self.free_variables_component_func_type_id(*id, set),
3131
- ComponentEntityType::Instance(id) => {
3132
- self.free_variables_component_instance_type_id(*id, set)
3133
- }
3134
- ComponentEntityType::Component(id) => self.free_variables_component_type_id(*id, set),
3135
- ComponentEntityType::Type { created, .. } => {
3136
- self.free_variables_any_type_id(*created, set);
3137
- }
3138
- ComponentEntityType::Value(ty) => self.free_variables_valtype(ty, set),
3139
- }
3140
- }
3141
-
3142
- /// Same as `free_variables_type_id`, but for `ComponentValType`.
3143
- fn free_variables_valtype(&self, ty: &ComponentValType, set: &mut IndexSet<ResourceId>) {
3144
- match ty {
3145
- ComponentValType::Primitive(_) => {}
3146
- ComponentValType::Type(id) => self.free_variables_component_defined_type_id(*id, set),
3147
- }
3148
- }
3149
-
3150
- /// Returns whether the type `id` is "named" where named types are presented
3151
- /// via the provided `set`.
3152
- ///
3153
- /// This requires that `id` is a `Defined` type.
3154
- pub(crate) fn type_named_type_id(
3155
- &self,
3156
- id: ComponentDefinedTypeId,
3157
- set: &HashSet<ComponentAnyTypeId>,
3158
- ) -> bool {
3159
- let ty = &self[id];
3160
- match ty {
3161
- // Primitives are always considered named
3162
- ComponentDefinedType::Primitive(_) => true,
3163
-
3164
- // These structures are never allowed to be anonymous, so they
3165
- // themselves must be named.
3166
- ComponentDefinedType::Flags(_)
3167
- | ComponentDefinedType::Enum(_)
3168
- | ComponentDefinedType::Record(_)
3169
- | ComponentDefinedType::Variant(_) => set.contains(&id.into()),
3170
-
3171
- // All types below here are allowed to be anonymous, but their
3172
- // own components must be appropriately named.
3173
- ComponentDefinedType::Tuple(r) => {
3174
- r.types.iter().all(|t| self.type_named_valtype(t, set))
3175
- }
3176
- ComponentDefinedType::Result { ok, err } => {
3177
- ok.as_ref()
3178
- .map(|t| self.type_named_valtype(t, set))
3179
- .unwrap_or(true)
3180
- && err
3181
- .as_ref()
3182
- .map(|t| self.type_named_valtype(t, set))
3183
- .unwrap_or(true)
3184
- }
3185
- ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
3186
- self.type_named_valtype(ty, set)
3187
- }
3188
-
3189
- // own/borrow themselves don't have to be named, but the resource
3190
- // they refer to must be named.
3191
- ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
3192
- set.contains(&(*id).into())
3193
- }
3194
- }
3195
- }
3196
-
3197
- pub(crate) fn type_named_valtype(
3198
- &self,
3199
- ty: &ComponentValType,
3200
- set: &HashSet<ComponentAnyTypeId>,
3201
- ) -> bool {
3202
- match ty {
3203
- ComponentValType::Primitive(_) => true,
3204
- ComponentValType::Type(id) => self.type_named_type_id(*id, set),
3205
- }
3206
- }
3207
- }
3208
-
3209
- /// A helper trait to provide the functionality necessary to resources within a
3210
- /// type.
3211
- ///
3212
- /// This currently exists to abstract over `TypeAlloc` and `SubtypeArena` which
3213
- /// both need to perform remapping operations.
3214
- pub trait Remap
3215
- where
3216
- Self: Index<ComponentTypeId, Output = ComponentType>,
3217
- Self: Index<ComponentDefinedTypeId, Output = ComponentDefinedType>,
3218
- Self: Index<ComponentInstanceTypeId, Output = ComponentInstanceType>,
3219
- Self: Index<ComponentFuncTypeId, Output = ComponentFuncType>,
3220
- {
3221
- /// Pushes a new anonymous type within this object, returning an identifier
3222
- /// which can be used to refer to it.
3223
- fn push_ty<T>(&mut self, ty: T) -> T::Id
3224
- where
3225
- T: TypeData;
3226
-
3227
- /// Apply `map` to the keys of `tmp`, setting `*any_changed = true` if any
3228
- /// keys were remapped.
3229
- fn map_map(
3230
- tmp: &mut IndexMap<ResourceId, Vec<usize>>,
3231
- any_changed: &mut bool,
3232
- map: &Remapping,
3233
- ) {
3234
- for (id, path) in mem::take(tmp) {
3235
- let id = match map.resources.get(&id) {
3236
- Some(id) => {
3237
- *any_changed = true;
3238
- *id
3239
- }
3240
- None => id,
3241
- };
3242
- tmp.insert(id, path);
3243
- }
3244
- }
3245
-
3246
- /// If `any_changed` is true, push `ty`, update `map` to point `id` to the
3247
- /// new type ID, set `id` equal to the new type ID, and return `true`.
3248
- /// Otherwise, update `map` to point `id` to itself and return `false`.
3249
- fn insert_if_any_changed<T>(
3250
- &mut self,
3251
- map: &mut Remapping,
3252
- any_changed: bool,
3253
- id: &mut T::Id,
3254
- ty: T,
3255
- ) -> bool
3256
- where
3257
- T: TypeData,
3258
- T::Id: Into<ComponentAnyTypeId>,
3259
- {
3260
- let new = if any_changed { self.push_ty(ty) } else { *id };
3261
- map.types.insert((*id).into(), new.into());
3262
- let changed = *id != new;
3263
- *id = new;
3264
- changed
3265
- }
3266
-
3267
- /// Recursively search for any resource types reachable from `id`, updating
3268
- /// it and `map` if any are found and remapped, returning `true` iff at last
3269
- /// one is remapped.
3270
- fn remap_component_any_type_id(
3271
- &mut self,
3272
- id: &mut ComponentAnyTypeId,
3273
- map: &mut Remapping,
3274
- ) -> bool {
3275
- match id {
3276
- ComponentAnyTypeId::Resource(id) => self.remap_resource_id(id, map),
3277
- ComponentAnyTypeId::Defined(id) => self.remap_component_defined_type_id(id, map),
3278
- ComponentAnyTypeId::Func(id) => self.remap_component_func_type_id(id, map),
3279
- ComponentAnyTypeId::Instance(id) => self.remap_component_instance_type_id(id, map),
3280
- ComponentAnyTypeId::Component(id) => self.remap_component_type_id(id, map),
3281
- }
3282
- }
3283
-
3284
- /// If `map` indicates `id` should be remapped, update it and return `true`.
3285
- /// Otherwise, do nothing and return `false`.
3286
- fn remap_resource_id(&mut self, id: &mut AliasableResourceId, map: &Remapping) -> bool {
3287
- if let Some(changed) = map.remap_id(id) {
3288
- return changed;
3289
- }
3290
-
3291
- match map.resources.get(&id.resource()) {
3292
- None => false,
3293
- Some(new_id) => {
3294
- *id.resource_mut() = *new_id;
3295
- true
3296
- }
3297
- }
3298
- }
3299
-
3300
- /// Recursively search for any resource types reachable from `id`, updating
3301
- /// it and `map` if any are found and remapped, returning `true` iff at last
3302
- /// one is remapped.
3303
- fn remap_component_type_id(&mut self, id: &mut ComponentTypeId, map: &mut Remapping) -> bool {
3304
- if let Some(changed) = map.remap_id(id) {
3305
- return changed;
3306
- }
3307
-
3308
- let mut any_changed = false;
3309
- let mut ty = self[*id].clone();
3310
- for ty in ty.imports.values_mut().chain(ty.exports.values_mut()) {
3311
- any_changed |= self.remap_component_entity(ty, map);
3312
- }
3313
- for (id, _) in ty
3314
- .imported_resources
3315
- .iter_mut()
3316
- .chain(&mut ty.defined_resources)
3317
- {
3318
- if let Some(new) = map.resources.get(id) {
3319
- *id = *new;
3320
- any_changed = true;
3321
- }
3322
- }
3323
- Self::map_map(&mut ty.explicit_resources, &mut any_changed, map);
3324
- self.insert_if_any_changed(map, any_changed, id, ty)
3325
- }
3326
-
3327
- /// Recursively search for any resource types reachable from `id`, updating
3328
- /// it and `map` if any are found and remapped, returning `true` iff at last
3329
- /// one is remapped.
3330
- fn remap_component_defined_type_id(
3331
- &mut self,
3332
- id: &mut ComponentDefinedTypeId,
3333
- map: &mut Remapping,
3334
- ) -> bool {
3335
- if let Some(changed) = map.remap_id(id) {
3336
- return changed;
3337
- }
3338
-
3339
- let mut any_changed = false;
3340
- let mut tmp = self[*id].clone();
3341
- match &mut tmp {
3342
- ComponentDefinedType::Primitive(_)
3343
- | ComponentDefinedType::Flags(_)
3344
- | ComponentDefinedType::Enum(_) => {}
3345
- ComponentDefinedType::Record(r) => {
3346
- for ty in r.fields.values_mut() {
3347
- any_changed |= self.remap_valtype(ty, map);
3348
- }
3349
- }
3350
- ComponentDefinedType::Tuple(r) => {
3351
- for ty in r.types.iter_mut() {
3352
- any_changed |= self.remap_valtype(ty, map);
3353
- }
3354
- }
3355
- ComponentDefinedType::Variant(r) => {
3356
- for ty in r.cases.values_mut() {
3357
- if let Some(ty) = &mut ty.ty {
3358
- any_changed |= self.remap_valtype(ty, map);
3359
- }
3360
- }
3361
- }
3362
- ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
3363
- any_changed |= self.remap_valtype(ty, map);
3364
- }
3365
- ComponentDefinedType::Result { ok, err } => {
3366
- if let Some(ok) = ok {
3367
- any_changed |= self.remap_valtype(ok, map);
3368
- }
3369
- if let Some(err) = err {
3370
- any_changed |= self.remap_valtype(err, map);
3371
- }
3372
- }
3373
- ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
3374
- any_changed |= self.remap_resource_id(id, map);
3375
- }
3376
- }
3377
- self.insert_if_any_changed(map, any_changed, id, tmp)
3378
- }
3379
-
3380
- /// Recursively search for any resource types reachable from `id`, updating
3381
- /// it and `map` if any are found and remapped, returning `true` iff at last
3382
- /// one is remapped.
3383
- fn remap_component_instance_type_id(
3384
- &mut self,
3385
- id: &mut ComponentInstanceTypeId,
3386
- map: &mut Remapping,
3387
- ) -> bool {
3388
- if let Some(changed) = map.remap_id(id) {
3389
- return changed;
3390
- }
3391
-
3392
- let mut any_changed = false;
3393
- let mut tmp = self[*id].clone();
3394
- for ty in tmp.exports.values_mut() {
3395
- any_changed |= self.remap_component_entity(ty, map);
3396
- }
3397
- for id in tmp.defined_resources.iter_mut() {
3398
- if let Some(new) = map.resources.get(id) {
3399
- *id = *new;
3400
- any_changed = true;
3401
- }
3402
- }
3403
- Self::map_map(&mut tmp.explicit_resources, &mut any_changed, map);
3404
- self.insert_if_any_changed(map, any_changed, id, tmp)
3405
- }
3406
-
3407
- /// Recursively search for any resource types reachable from `id`, updating
3408
- /// it and `map` if any are found and remapped, returning `true` iff at last
3409
- /// one is remapped.
3410
- fn remap_component_func_type_id(
3411
- &mut self,
3412
- id: &mut ComponentFuncTypeId,
3413
- map: &mut Remapping,
3414
- ) -> bool {
3415
- if let Some(changed) = map.remap_id(id) {
3416
- return changed;
3417
- }
3418
-
3419
- let mut any_changed = false;
3420
- let mut tmp = self[*id].clone();
3421
- for ty in tmp
3422
- .params
3423
- .iter_mut()
3424
- .map(|(_, ty)| ty)
3425
- .chain(tmp.results.iter_mut().map(|(_, ty)| ty))
3426
- {
3427
- any_changed |= self.remap_valtype(ty, map);
3428
- }
3429
- self.insert_if_any_changed(map, any_changed, id, tmp)
3430
- }
3431
-
3432
- /// Same as `remap_type_id`, but works with `ComponentEntityType`.
3433
- fn remap_component_entity(
3434
- &mut self,
3435
- ty: &mut ComponentEntityType,
3436
- map: &mut Remapping,
3437
- ) -> bool {
3438
- match ty {
3439
- ComponentEntityType::Module(_) => {
3440
- // Can't reference resources.
3441
- false
3442
- }
3443
- ComponentEntityType::Func(id) => self.remap_component_func_type_id(id, map),
3444
- ComponentEntityType::Instance(id) => self.remap_component_instance_type_id(id, map),
3445
- ComponentEntityType::Component(id) => self.remap_component_type_id(id, map),
3446
- ComponentEntityType::Type {
3447
- referenced,
3448
- created,
3449
- } => {
3450
- let mut changed = self.remap_component_any_type_id(referenced, map);
3451
- if *referenced == *created {
3452
- *created = *referenced;
3453
- } else {
3454
- changed |= self.remap_component_any_type_id(created, map);
3455
- }
3456
- changed
3457
- }
3458
- ComponentEntityType::Value(ty) => self.remap_valtype(ty, map),
3459
- }
3460
- }
3461
-
3462
- /// Same as `remap_type_id`, but works with `ComponentValType`.
3463
- fn remap_valtype(&mut self, ty: &mut ComponentValType, map: &mut Remapping) -> bool {
3464
- match ty {
3465
- ComponentValType::Primitive(_) => false,
3466
- ComponentValType::Type(id) => self.remap_component_defined_type_id(id, map),
3467
- }
3468
- }
3469
- }
3470
-
3471
- /// Utility for mapping equivalent `ResourceId`s to each other and (when paired with the `Remap` trait)
3472
- /// non-destructively edit type lists to reflect those mappings.
3473
- #[derive(Debug, Default)]
3474
- pub struct Remapping {
3475
- /// A mapping from old resource ID to new resource ID.
3476
- pub(crate) resources: HashMap<ResourceId, ResourceId>,
3477
-
3478
- /// A mapping filled in during the remapping process which records how a
3479
- /// type was remapped, if applicable. This avoids remapping multiple
3480
- /// references to the same type and instead only processing it once.
3481
- types: HashMap<ComponentAnyTypeId, ComponentAnyTypeId>,
3482
- }
3483
-
3484
- impl Remap for TypeAlloc {
3485
- fn push_ty<T>(&mut self, ty: T) -> T::Id
3486
- where
3487
- T: TypeData,
3488
- {
3489
- <TypeList>::push(self, ty)
3490
- }
3491
- }
3492
-
3493
- impl<T> Index<T> for TypeAlloc
3494
- where
3495
- T: TypeIdentifier,
3496
- {
3497
- type Output = T::Data;
3498
-
3499
- #[inline]
3500
- fn index(&self, id: T) -> &T::Data {
3501
- &self.list[id]
3502
- }
3503
- }
3504
-
3505
- impl Remapping {
3506
- /// Add a mapping from the specified old resource ID to the new resource ID
3507
- pub fn add(&mut self, old: ResourceId, new: ResourceId) {
3508
- self.resources.insert(old, new);
3509
- }
3510
-
3511
- /// Clear the type cache while leaving the resource mappings intact.
3512
- pub fn reset_type_cache(&mut self) {
3513
- self.types.clear()
3514
- }
3515
-
3516
- fn remap_id<T>(&self, id: &mut T) -> Option<bool>
3517
- where
3518
- T: Copy + Into<ComponentAnyTypeId> + TryFrom<ComponentAnyTypeId>,
3519
- T::Error: std::fmt::Debug,
3520
- {
3521
- let old: ComponentAnyTypeId = (*id).into();
3522
- let new = self.types.get(&old)?;
3523
- if *new == old {
3524
- Some(false)
3525
- } else {
3526
- *id = T::try_from(*new).expect("should never remap across different kinds");
3527
- Some(true)
3528
- }
3529
- }
3530
- }
3531
-
3532
- /// Helper structure used to perform subtyping computations.
3533
- ///
3534
- /// This type is used whenever a subtype needs to be tested in one direction or
3535
- /// the other. The methods of this type are the various entry points for
3536
- /// subtyping.
3537
- ///
3538
- /// Internally this contains arenas for two lists of types. The `a` arena is
3539
- /// intended to be used for lookup of the first argument to all of the methods
3540
- /// below, and the `b` arena is used for lookup of the second argument.
3541
- ///
3542
- /// Arenas here are used specifically for component-based subtyping queries. In
3543
- /// these situations new types must be created based on substitution mappings,
3544
- /// but the types all have temporary lifetimes. Everything in these arenas is
3545
- /// thrown away once the subtyping computation has finished.
3546
- ///
3547
- /// Note that this subtyping context also explicitly supports being created
3548
- /// from to different lists `a` and `b` originally, for testing subtyping
3549
- /// between two different components for example.
3550
- pub struct SubtypeCx<'a> {
3551
- /// Lookup arena for first type argument
3552
- pub a: SubtypeArena<'a>,
3553
- /// Lookup arena for second type argument
3554
- pub b: SubtypeArena<'a>,
3555
- }
3556
-
3557
- impl<'a> SubtypeCx<'a> {
3558
- /// Create a new instance with the specified type lists
3559
- pub fn new_with_refs(a: TypesRef<'a>, b: TypesRef<'a>) -> SubtypeCx<'a> {
3560
- Self::new(a.list, b.list)
3561
- }
3562
-
3563
- pub(crate) fn new(a: &'a TypeList, b: &'a TypeList) -> SubtypeCx<'a> {
3564
- SubtypeCx {
3565
- a: SubtypeArena::new(a),
3566
- b: SubtypeArena::new(b),
3567
- }
3568
- }
3569
-
3570
- /// Swap the type lists
3571
- pub fn swap(&mut self) {
3572
- mem::swap(&mut self.a, &mut self.b);
3573
- }
3574
-
3575
- /// Executes the closure `f`, resetting the internal arenas to their
3576
- /// original size after the closure finishes.
3577
- ///
3578
- /// This enables `f` to modify the internal arenas while relying on all
3579
- /// changes being discarded after the closure finishes.
3580
- fn with_checkpoint<T>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T {
3581
- let a = self.a.list.checkpoint();
3582
- let b = self.b.list.checkpoint();
3583
- let result = f(self);
3584
- self.a.list.reset_to_checkpoint(a);
3585
- self.b.list.reset_to_checkpoint(b);
3586
- result
3587
- }
3588
-
3589
- /// Tests whether `a` is a subtype of `b`.
3590
- ///
3591
- /// Errors are reported at the `offset` specified.
3592
- pub fn component_entity_type(
3593
- &mut self,
3594
- a: &ComponentEntityType,
3595
- b: &ComponentEntityType,
3596
- offset: usize,
3597
- ) -> Result<()> {
3598
- use ComponentEntityType::*;
3599
-
3600
- match (a, b) {
3601
- (Module(a), Module(b)) => self.module_type(*a, *b, offset),
3602
- (Module(_), b) => bail!(offset, "expected {}, found module", b.desc()),
3603
-
3604
- (Func(a), Func(b)) => self.component_func_type(*a, *b, offset),
3605
- (Func(_), b) => bail!(offset, "expected {}, found func", b.desc()),
3606
-
3607
- (Value(a), Value(b)) => self.component_val_type(a, b, offset),
3608
- (Value(_), b) => bail!(offset, "expected {}, found value", b.desc()),
3609
-
3610
- (Type { referenced: a, .. }, Type { referenced: b, .. }) => {
3611
- self.component_any_type_id(*a, *b, offset)
3612
- }
3613
- (Type { .. }, b) => bail!(offset, "expected {}, found type", b.desc()),
3614
-
3615
- (Instance(a), Instance(b)) => self.component_instance_type(*a, *b, offset),
3616
- (Instance(_), b) => bail!(offset, "expected {}, found instance", b.desc()),
3617
-
3618
- (Component(a), Component(b)) => self.component_type(*a, *b, offset),
3619
- (Component(_), b) => bail!(offset, "expected {}, found component", b.desc()),
3620
- }
3621
- }
3622
-
3623
- /// Tests whether `a` is a subtype of `b`.
3624
- ///
3625
- /// Errors are reported at the `offset` specified.
3626
- pub fn component_type(
3627
- &mut self,
3628
- a: ComponentTypeId,
3629
- b: ComponentTypeId,
3630
- offset: usize,
3631
- ) -> Result<()> {
3632
- // Components are ... tricky. They follow the same basic
3633
- // structure as core wasm modules, but they also have extra
3634
- // logic to handle resource types. Resources are effectively
3635
- // abstract types so this is sort of where an ML module system
3636
- // in the component model becomes a reality.
3637
- //
3638
- // This also leverages the `open_instance_type` method below
3639
- // heavily which internally has its own quite large suite of
3640
- // logic. More-or-less what's happening here is:
3641
- //
3642
- // 1. Pretend that the imports of B are given as values to the
3643
- // imports of A. If A didn't import anything, for example,
3644
- // that's great and the subtyping definitely passes there.
3645
- // This operation produces a mapping of all the resources of
3646
- // A's imports to resources in B's imports.
3647
- //
3648
- // 2. This mapping is applied to all of A's exports. This means
3649
- // that all exports of A referring to A's imported resources
3650
- // now instead refer to B's. Note, though that A's exports
3651
- // still refer to its own defined resources.
3652
- //
3653
- // 3. The same `open_instance_type` method used during the
3654
- // first step is used again, but this time on the exports
3655
- // in the reverse direction. This performs a similar
3656
- // operation, though, by creating a mapping from B's
3657
- // defined resources to A's defined resources. The map
3658
- // itself is discarded as it's not needed.
3659
- //
3660
- // The order that everything passed here is intentional, but
3661
- // also subtle. I personally think of it as
3662
- // `open_instance_type` takes a list of things to satisfy a
3663
- // signature and produces a mapping of resources in the
3664
- // signature to those provided in the list of things. The
3665
- // order of operations then goes:
3666
- //
3667
- // * Someone thinks they have a component of type B, but they
3668
- // actually have a component of type A (e.g. due to this
3669
- // subtype check passing).
3670
- // * This person provides the imports of B and that must be
3671
- // sufficient to satisfy the imports of A. This is the first
3672
- // `open_instance_type` check.
3673
- // * Now though the resources provided by B are substituted
3674
- // into A's exports since that's what was provided.
3675
- // * A's exports are then handed back to the original person,
3676
- // and these exports must satisfy the signature required by B
3677
- // since that's what they're expecting.
3678
- // * This is the second `open_instance_type` which, to get
3679
- // resource types to line up, will map from A's defined
3680
- // resources to B's defined resources.
3681
- //
3682
- // If all that passes then the resources should all line up
3683
- // perfectly. Any misalignment is reported as a subtyping
3684
- // error.
3685
- let b_imports = self.b[b]
3686
- .imports
3687
- .iter()
3688
- .map(|(name, ty)| (name.clone(), ty.clone()))
3689
- .collect();
3690
- self.swap();
3691
- let mut import_mapping =
3692
- self.open_instance_type(&b_imports, a, ExternKind::Import, offset)?;
3693
- self.swap();
3694
- self.with_checkpoint(|this| {
3695
- let mut a_exports = this.a[a]
3696
- .exports
3697
- .iter()
3698
- .map(|(name, ty)| (name.clone(), ty.clone()))
3699
- .collect::<IndexMap<_, _>>();
3700
- for ty in a_exports.values_mut() {
3701
- this.a.remap_component_entity(ty, &mut import_mapping);
3702
- }
3703
- this.open_instance_type(&a_exports, b, ExternKind::Export, offset)?;
3704
- Ok(())
3705
- })
3706
- }
3707
-
3708
- /// Tests whether `a` is a subtype of `b`.
3709
- ///
3710
- /// Errors are reported at the `offset` specified.
3711
- pub fn component_instance_type(
3712
- &mut self,
3713
- a_id: ComponentInstanceTypeId,
3714
- b_id: ComponentInstanceTypeId,
3715
- offset: usize,
3716
- ) -> Result<()> {
3717
- // For instance type subtyping, all exports in the other
3718
- // instance type must be present in this instance type's
3719
- // exports (i.e. it can export *more* than what this instance
3720
- // type needs).
3721
- let a = &self.a[a_id];
3722
- let b = &self.b[b_id];
3723
-
3724
- let mut exports = Vec::with_capacity(b.exports.len());
3725
- for (k, b) in b.exports.iter() {
3726
- match a.exports.get(k) {
3727
- Some(a) => exports.push((*a, *b)),
3728
- None => bail!(offset, "missing expected export `{k}`"),
3729
- }
3730
- }
3731
- for (i, (a, b)) in exports.iter().enumerate() {
3732
- let err = match self.component_entity_type(a, b, offset) {
3733
- Ok(()) => continue,
3734
- Err(e) => e,
3735
- };
3736
- // On failure attach the name of this export as context to
3737
- // the error message to leave a breadcrumb trail.
3738
- let (name, _) = self.b[b_id].exports.get_index(i).unwrap();
3739
- return Err(err.with_context(|| format!("type mismatch in instance export `{name}`")));
3740
- }
3741
- Ok(())
3742
- }
3743
-
3744
- /// Tests whether `a` is a subtype of `b`.
3745
- ///
3746
- /// Errors are reported at the `offset` specified.
3747
- pub fn component_func_type(
3748
- &mut self,
3749
- a: ComponentFuncTypeId,
3750
- b: ComponentFuncTypeId,
3751
- offset: usize,
3752
- ) -> Result<()> {
3753
- let a = &self.a[a];
3754
- let b = &self.b[b];
3755
-
3756
- // Note that this intentionally diverges from the upstream
3757
- // specification in terms of subtyping. This is a full
3758
- // type-equality check which ensures that the structure of `a`
3759
- // exactly matches the structure of `b`. The rationale for this
3760
- // is:
3761
- //
3762
- // * Primarily in Wasmtime subtyping based on function types is
3763
- // not implemented. This includes both subtyping a host
3764
- // import and additionally handling subtyping as functions
3765
- // cross component boundaries. The host import subtyping (or
3766
- // component export subtyping) is not clear how to handle at
3767
- // all at this time. The subtyping of functions between
3768
- // components can more easily be handled by extending the
3769
- // `fact` compiler, but that hasn't been done yet.
3770
- //
3771
- // * The upstream specification is currently pretty
3772
- // intentionally vague precisely what subtyping is allowed.
3773
- // Implementing a strict check here is intended to be a
3774
- // conservative starting point for the component model which
3775
- // can be extended in the future if necessary.
3776
- //
3777
- // * The interaction with subtyping on bindings generation, for
3778
- // example, is a tricky problem that doesn't have a clear
3779
- // answer at this time. Effectively this is more rationale
3780
- // for being conservative in the first pass of the component
3781
- // model.
3782
- //
3783
- // So, in conclusion, the test here (and other places that
3784
- // reference this comment) is for exact type equality with no
3785
- // differences.
3786
- if a.params.len() != b.params.len() {
3787
- bail!(
3788
- offset,
3789
- "expected {} parameters, found {}",
3790
- b.params.len(),
3791
- a.params.len(),
3792
- );
3793
- }
3794
- if a.results.len() != b.results.len() {
3795
- bail!(
3796
- offset,
3797
- "expected {} results, found {}",
3798
- b.results.len(),
3799
- a.results.len(),
3800
- );
3801
- }
3802
- for ((an, a), (bn, b)) in a.params.iter().zip(b.params.iter()) {
3803
- if an != bn {
3804
- bail!(offset, "expected parameter named `{bn}`, found `{an}`");
3805
- }
3806
- self.component_val_type(a, b, offset)
3807
- .with_context(|| format!("type mismatch in function parameter `{an}`"))?;
3808
- }
3809
- for ((an, a), (bn, b)) in a.results.iter().zip(b.results.iter()) {
3810
- if an != bn {
3811
- bail!(offset, "mismatched result names");
3812
- }
3813
- self.component_val_type(a, b, offset)
3814
- .with_context(|| "type mismatch with result type")?;
3815
- }
3816
- Ok(())
3817
- }
3818
-
3819
- /// Tests whether `a` is a subtype of `b`.
3820
- ///
3821
- /// Errors are reported at the `offset` specified.
3822
- pub fn module_type(
3823
- &mut self,
3824
- a: ComponentCoreModuleTypeId,
3825
- b: ComponentCoreModuleTypeId,
3826
- offset: usize,
3827
- ) -> Result<()> {
3828
- // For module type subtyping, all exports in the other module
3829
- // type must be present in this module type's exports (i.e. it
3830
- // can export *more* than what this module type needs).
3831
- // However, for imports, the check is reversed (i.e. it is okay
3832
- // to import *less* than what this module type needs).
3833
- self.swap();
3834
- let a_imports = &self.b[a].imports;
3835
- let b_imports = &self.a[b].imports;
3836
- for (k, a) in a_imports {
3837
- match b_imports.get(k) {
3838
- Some(b) => self
3839
- .entity_type(b, a, offset)
3840
- .with_context(|| format!("type mismatch in import `{}::{}`", k.0, k.1))?,
3841
- None => bail!(offset, "missing expected import `{}::{}`", k.0, k.1),
3842
- }
3843
- }
3844
- self.swap();
3845
- let a = &self.a[a];
3846
- let b = &self.b[b];
3847
- for (k, b) in b.exports.iter() {
3848
- match a.exports.get(k) {
3849
- Some(a) => self
3850
- .entity_type(a, b, offset)
3851
- .with_context(|| format!("type mismatch in export `{k}`"))?,
3852
- None => bail!(offset, "missing expected export `{k}`"),
3853
- }
3854
- }
3855
- Ok(())
3856
- }
3857
-
3858
- /// Tests whether `a` is a subtype of `b`.
3859
- ///
3860
- /// Errors are reported at the `offset` specified.
3861
- pub fn component_any_type_id(
3862
- &mut self,
3863
- a: ComponentAnyTypeId,
3864
- b: ComponentAnyTypeId,
3865
- offset: usize,
3866
- ) -> Result<()> {
3867
- match (a, b) {
3868
- (ComponentAnyTypeId::Resource(a), ComponentAnyTypeId::Resource(b)) => {
3869
- if a.resource() == b.resource() {
3870
- Ok(())
3871
- } else {
3872
- bail!(
3873
- offset,
3874
- "resource types are not the same ({:?} vs. {:?})",
3875
- a.resource(),
3876
- b.resource()
3877
- )
3878
- }
3879
- }
3880
- (ComponentAnyTypeId::Resource(_), b) => {
3881
- bail!(offset, "expected {}, found resource", b.desc())
3882
- }
3883
- (ComponentAnyTypeId::Defined(a), ComponentAnyTypeId::Defined(b)) => {
3884
- self.component_defined_type(a, b, offset)
3885
- }
3886
- (ComponentAnyTypeId::Defined(_), b) => {
3887
- bail!(offset, "expected {}, found defined type", b.desc())
3888
- }
3889
-
3890
- (ComponentAnyTypeId::Func(a), ComponentAnyTypeId::Func(b)) => {
3891
- self.component_func_type(a, b, offset)
3892
- }
3893
- (ComponentAnyTypeId::Func(_), b) => {
3894
- bail!(offset, "expected {}, found func type", b.desc())
3895
- }
3896
-
3897
- (ComponentAnyTypeId::Instance(a), ComponentAnyTypeId::Instance(b)) => {
3898
- self.component_instance_type(a, b, offset)
3899
- }
3900
- (ComponentAnyTypeId::Instance(_), b) => {
3901
- bail!(offset, "expected {}, found instance type", b.desc())
3902
- }
3903
-
3904
- (ComponentAnyTypeId::Component(a), ComponentAnyTypeId::Component(b)) => {
3905
- self.component_type(a, b, offset)
3906
- }
3907
- (ComponentAnyTypeId::Component(_), b) => {
3908
- bail!(offset, "expected {}, found component type", b.desc())
3909
- }
3910
- }
3911
- }
3912
-
3913
- /// The building block for subtyping checks when components are
3914
- /// instantiated and when components are tested if they're subtypes of each
3915
- /// other.
3916
- ///
3917
- /// This method takes a number of arguments:
3918
- ///
3919
- /// * `a` - this is a list of typed items which can be thought of as
3920
- /// concrete values to test against `b`.
3921
- /// * `b` - this `TypeId` must point to `Type::Component`.
3922
- /// * `kind` - indicates whether the `imports` or `exports` of `b` are
3923
- /// being tested against for the values in `a`.
3924
- /// * `offset` - the binary offset at which to report errors if one happens.
3925
- ///
3926
- /// This will attempt to determine if the items in `a` satisfy the
3927
- /// signature required by the `kind` items of `b`. For example component
3928
- /// instantiation will have `a` as the list of arguments provided to
3929
- /// instantiation, `b` is the component being instantiated, and `kind` is
3930
- /// `ExternKind::Import`.
3931
- ///
3932
- /// This function, if successful, will return a mapping of the resources in
3933
- /// `b` to the resources in `a` provided. This mapping is guaranteed to
3934
- /// contain all the resources for `b` (all imported resources for
3935
- /// `ExternKind::Import` or all defined resources for `ExternKind::Export`).
3936
- pub fn open_instance_type(
3937
- &mut self,
3938
- a: &IndexMap<String, ComponentEntityType>,
3939
- b: ComponentTypeId,
3940
- kind: ExternKind,
3941
- offset: usize,
3942
- ) -> Result<Remapping> {
3943
- // First, determine the mapping from resources in `b` to those supplied
3944
- // by arguments in `a`.
3945
- //
3946
- // This loop will iterate over all the appropriate resources in `b`
3947
- // and find the corresponding resource in `args`. The exact lists
3948
- // in use here depend on the `kind` provided. This necessarily requires
3949
- // a sequence of string lookups to find the corresponding items in each
3950
- // list.
3951
- //
3952
- // The path to each resource in `resources` is precomputed as a list of
3953
- // indexes. The first index is into `b`'s list of `entities`, and gives
3954
- // the name that `b` assigns to the resource. Each subsequent index,
3955
- // if present, means that this resource was present through a layer of
3956
- // an instance type, and the index is into the instance type's exports.
3957
- // More information about this can be found on
3958
- // `ComponentState::imported_resources`.
3959
- //
3960
- // This loop will follow the list of indices for each resource and, at
3961
- // the same time, walk through the arguments supplied to instantiating
3962
- // the `component_type`. This means that within `component_type`
3963
- // index-based lookups are performed while in `args` name-based
3964
- // lookups are performed.
3965
- //
3966
- // Note that here it's possible that `args` doesn't actually supply the
3967
- // correct type of import for each item since argument checking has
3968
- // not proceeded yet. These type errors, however, aren't handled by
3969
- // this loop and are deferred below to the main subtyping check. That
3970
- // means that `mapping` won't necessarily have a mapping for all
3971
- // imported resources into `component_type`, but that should be ok.
3972
- let component_type = &self.b[b];
3973
- let entities = match kind {
3974
- ExternKind::Import => &component_type.imports,
3975
- ExternKind::Export => &component_type.exports,
3976
- };
3977
- let resources = match kind {
3978
- ExternKind::Import => &component_type.imported_resources,
3979
- ExternKind::Export => &component_type.defined_resources,
3980
- };
3981
- let mut mapping = Remapping::default();
3982
- 'outer: for (resource, path) in resources.iter() {
3983
- // Lookup the first path item in `imports` and the corresponding
3984
- // entry in `args` by name.
3985
- let (name, ty) = entities.get_index(path[0]).unwrap();
3986
- let mut ty = *ty;
3987
- let mut arg = a.get(name);
3988
-
3989
- // Lookup all the subsequent `path` entries, if any, by index in
3990
- // `ty` and by name in `arg`. Type errors in `arg` are skipped over
3991
- // entirely.
3992
- for i in path.iter().skip(1).copied() {
3993
- let id = match ty {
3994
- ComponentEntityType::Instance(id) => id,
3995
- _ => unreachable!(),
3996
- };
3997
- let (name, next_ty) = self.b[id].exports.get_index(i).unwrap();
3998
- ty = *next_ty;
3999
- arg = match arg {
4000
- Some(ComponentEntityType::Instance(id)) => self.a[*id].exports.get(name),
4001
- _ => continue 'outer,
4002
- };
4003
- }
4004
-
4005
- // Double-check that `ty`, the leaf type of `component_type`, is
4006
- // indeed the expected resource.
4007
- if cfg!(debug_assertions) {
4008
- let id = match ty {
4009
- ComponentEntityType::Type { created, .. } => match created {
4010
- ComponentAnyTypeId::Resource(id) => id.resource(),
4011
- _ => unreachable!(),
4012
- },
4013
- _ => unreachable!(),
4014
- };
4015
- assert_eq!(id, *resource);
4016
- }
4017
-
4018
- // The leaf of `arg` should be a type which is a resource. If not
4019
- // it's skipped and this'll wind up generating an error later on in
4020
- // subtype checking below.
4021
- if let Some(ComponentEntityType::Type { created, .. }) = arg {
4022
- if let ComponentAnyTypeId::Resource(r) = created {
4023
- mapping.resources.insert(*resource, r.resource());
4024
- }
4025
- }
4026
- }
4027
-
4028
- // Now that a mapping from the resources in `b` to the resources in `a`
4029
- // has been determined it's possible to perform the actual subtype
4030
- // check.
4031
- //
4032
- // This subtype check notably needs to ensure that all resource types
4033
- // line up. To achieve this the `mapping` previously calculated is used
4034
- // to perform a substitution on each component entity type.
4035
- //
4036
- // The first loop here performs a name lookup to create a list of
4037
- // values from `a` to expected items in `b`. Once the list is created
4038
- // the substitution check is performed on each element.
4039
- let mut to_typecheck = Vec::new();
4040
- for (name, expected) in entities.iter() {
4041
- match a.get(name) {
4042
- Some(arg) => to_typecheck.push((arg.clone(), expected.clone())),
4043
- None => bail!(offset, "missing {} named `{name}`", kind.desc()),
4044
- }
4045
- }
4046
- let mut type_map = HashMap::default();
4047
- for (i, (actual, expected)) in to_typecheck.into_iter().enumerate() {
4048
- let result = self.with_checkpoint(|this| {
4049
- let mut expected = expected;
4050
- this.b.remap_component_entity(&mut expected, &mut mapping);
4051
- mapping.types.clear();
4052
- this.component_entity_type(&actual, &expected, offset)
4053
- });
4054
- let err = match result {
4055
- Ok(()) => {
4056
- // On a successful type-check record a mapping of
4057
- // type-to-type in `type_map` for any type imports that were
4058
- // satisfied. This is then used afterwards when performing
4059
- // type substitution to remap all component-local types to
4060
- // those that were provided in the imports.
4061
- self.register_type_renamings(actual, expected, &mut type_map);
4062
- continue;
4063
- }
4064
- Err(e) => e,
4065
- };
4066
-
4067
- // If an error happens then attach the name of the entity to the
4068
- // error message using the `i` iteration counter.
4069
- let component_type = &self.b[b];
4070
- let entities = match kind {
4071
- ExternKind::Import => &component_type.imports,
4072
- ExternKind::Export => &component_type.exports,
4073
- };
4074
- let (name, _) = entities.get_index(i).unwrap();
4075
- return Err(err.with_context(|| format!("type mismatch for {} `{name}`", kind.desc())));
4076
- }
4077
- mapping.types = type_map;
4078
- Ok(mapping)
4079
- }
4080
-
4081
- pub(crate) fn entity_type(&self, a: &EntityType, b: &EntityType, offset: usize) -> Result<()> {
4082
- macro_rules! limits_match {
4083
- ($a:expr, $b:expr) => {{
4084
- let a = $a;
4085
- let b = $b;
4086
- a.initial >= b.initial
4087
- && match b.maximum {
4088
- Some(b_max) => match a.maximum {
4089
- Some(a_max) => a_max <= b_max,
4090
- None => false,
4091
- },
4092
- None => true,
4093
- }
4094
- }};
4095
- }
4096
-
4097
- match (a, b) {
4098
- (EntityType::Func(a), EntityType::Func(b)) => {
4099
- self.core_func_type(self.a[*a].unwrap_func(), self.b[*b].unwrap_func(), offset)
4100
- }
4101
- (EntityType::Func(_), b) => bail!(offset, "expected {}, found func", b.desc()),
4102
- (EntityType::Table(a), EntityType::Table(b)) => {
4103
- if a.element_type != b.element_type {
4104
- bail!(
4105
- offset,
4106
- "expected table element type {}, found {}",
4107
- b.element_type,
4108
- a.element_type,
4109
- )
4110
- }
4111
- if limits_match!(a, b) {
4112
- Ok(())
4113
- } else {
4114
- bail!(offset, "mismatch in table limits")
4115
- }
4116
- }
4117
- (EntityType::Table(_), b) => bail!(offset, "expected {}, found table", b.desc()),
4118
- (EntityType::Memory(a), EntityType::Memory(b)) => {
4119
- if a.shared != b.shared {
4120
- bail!(offset, "mismatch in the shared flag for memories")
4121
- }
4122
- if a.memory64 != b.memory64 {
4123
- bail!(offset, "mismatch in index type used for memories")
4124
- }
4125
- if limits_match!(a, b) {
4126
- Ok(())
4127
- } else {
4128
- bail!(offset, "mismatch in memory limits")
4129
- }
4130
- }
4131
- (EntityType::Memory(_), b) => bail!(offset, "expected {}, found memory", b.desc()),
4132
- (EntityType::Global(a), EntityType::Global(b)) => {
4133
- if a.mutable != b.mutable {
4134
- bail!(offset, "global types differ in mutability")
4135
- }
4136
- if a.content_type == b.content_type {
4137
- Ok(())
4138
- } else {
4139
- bail!(
4140
- offset,
4141
- "expected global type {}, found {}",
4142
- b.content_type,
4143
- a.content_type,
4144
- )
4145
- }
4146
- }
4147
- (EntityType::Global(_), b) => bail!(offset, "expected {}, found global", b.desc()),
4148
- (EntityType::Tag(a), EntityType::Tag(b)) => {
4149
- self.core_func_type(self.a[*a].unwrap_func(), self.b[*b].unwrap_func(), offset)
4150
- }
4151
- (EntityType::Tag(_), b) => bail!(offset, "expected {}, found tag", b.desc()),
4152
- }
4153
- }
4154
-
4155
- fn core_func_type(&self, a: &FuncType, b: &FuncType, offset: usize) -> Result<()> {
4156
- if a == b {
4157
- Ok(())
4158
- } else {
4159
- bail!(
4160
- offset,
4161
- "expected: {}\n\
4162
- found: {}",
4163
- b.desc(),
4164
- a.desc(),
4165
- )
4166
- }
4167
- }
4168
-
4169
- pub(crate) fn component_val_type(
4170
- &self,
4171
- a: &ComponentValType,
4172
- b: &ComponentValType,
4173
- offset: usize,
4174
- ) -> Result<()> {
4175
- match (a, b) {
4176
- (ComponentValType::Primitive(a), ComponentValType::Primitive(b)) => {
4177
- self.primitive_val_type(*a, *b, offset)
4178
- }
4179
- (ComponentValType::Type(a), ComponentValType::Type(b)) => {
4180
- self.component_defined_type(*a, *b, offset)
4181
- }
4182
- (ComponentValType::Primitive(a), ComponentValType::Type(b)) => match &self.b[*b] {
4183
- ComponentDefinedType::Primitive(b) => self.primitive_val_type(*a, *b, offset),
4184
- b => bail!(offset, "expected {}, found {a}", b.desc()),
4185
- },
4186
- (ComponentValType::Type(a), ComponentValType::Primitive(b)) => match &self.a[*a] {
4187
- ComponentDefinedType::Primitive(a) => self.primitive_val_type(*a, *b, offset),
4188
- a => bail!(offset, "expected {b}, found {}", a.desc()),
4189
- },
4190
- }
4191
- }
4192
-
4193
- fn component_defined_type(
4194
- &self,
4195
- a: ComponentDefinedTypeId,
4196
- b: ComponentDefinedTypeId,
4197
- offset: usize,
4198
- ) -> Result<()> {
4199
- use ComponentDefinedType::*;
4200
-
4201
- // Note that the implementation of subtyping here diverges from the
4202
- // upstream specification intentionally, see the documentation on
4203
- // function subtyping for more information.
4204
- match (&self.a[a], &self.b[b]) {
4205
- (Primitive(a), Primitive(b)) => self.primitive_val_type(*a, *b, offset),
4206
- (Primitive(a), b) => bail!(offset, "expected {}, found {a}", b.desc()),
4207
- (Record(a), Record(b)) => {
4208
- if a.fields.len() != b.fields.len() {
4209
- bail!(
4210
- offset,
4211
- "expected {} fields, found {}",
4212
- b.fields.len(),
4213
- a.fields.len(),
4214
- );
4215
- }
4216
-
4217
- for ((aname, a), (bname, b)) in a.fields.iter().zip(b.fields.iter()) {
4218
- if aname != bname {
4219
- bail!(offset, "expected field name `{bname}`, found `{aname}`");
4220
- }
4221
- self.component_val_type(a, b, offset)
4222
- .with_context(|| format!("type mismatch in record field `{aname}`"))?;
4223
- }
4224
- Ok(())
4225
- }
4226
- (Record(_), b) => bail!(offset, "expected {}, found record", b.desc()),
4227
- (Variant(a), Variant(b)) => {
4228
- if a.cases.len() != b.cases.len() {
4229
- bail!(
4230
- offset,
4231
- "expected {} cases, found {}",
4232
- b.cases.len(),
4233
- a.cases.len(),
4234
- );
4235
- }
4236
- for ((aname, a), (bname, b)) in a.cases.iter().zip(b.cases.iter()) {
4237
- if aname != bname {
4238
- bail!(offset, "expected case named `{bname}`, found `{aname}`");
4239
- }
4240
- match (&a.ty, &b.ty) {
4241
- (Some(a), Some(b)) => self
4242
- .component_val_type(a, b, offset)
4243
- .with_context(|| format!("type mismatch in variant case `{aname}`"))?,
4244
- (None, None) => {}
4245
- (None, Some(_)) => {
4246
- bail!(offset, "expected case `{aname}` to have a type, found none")
4247
- }
4248
- (Some(_), None) => bail!(offset, "expected case `{aname}` to have no type"),
4249
- }
4250
- }
4251
- Ok(())
4252
- }
4253
- (Variant(_), b) => bail!(offset, "expected {}, found variant", b.desc()),
4254
- (List(a), List(b)) | (Option(a), Option(b)) => self.component_val_type(a, b, offset),
4255
- (List(_), b) => bail!(offset, "expected {}, found list", b.desc()),
4256
- (Option(_), b) => bail!(offset, "expected {}, found option", b.desc()),
4257
- (Tuple(a), Tuple(b)) => {
4258
- if a.types.len() != b.types.len() {
4259
- bail!(
4260
- offset,
4261
- "expected {} types, found {}",
4262
- b.types.len(),
4263
- a.types.len(),
4264
- );
4265
- }
4266
- for (i, (a, b)) in a.types.iter().zip(b.types.iter()).enumerate() {
4267
- self.component_val_type(a, b, offset)
4268
- .with_context(|| format!("type mismatch in tuple field {i}"))?;
4269
- }
4270
- Ok(())
4271
- }
4272
- (Tuple(_), b) => bail!(offset, "expected {}, found tuple", b.desc()),
4273
- (at @ Flags(a), Flags(b)) | (at @ Enum(a), Enum(b)) => {
4274
- let desc = match at {
4275
- Flags(_) => "flags",
4276
- _ => "enum",
4277
- };
4278
- if a.len() == b.len() && a.iter().eq(b.iter()) {
4279
- Ok(())
4280
- } else {
4281
- bail!(offset, "mismatch in {desc} elements")
4282
- }
4283
- }
4284
- (Flags(_), b) => bail!(offset, "expected {}, found flags", b.desc()),
4285
- (Enum(_), b) => bail!(offset, "expected {}, found enum", b.desc()),
4286
- (Result { ok: ao, err: ae }, Result { ok: bo, err: be }) => {
4287
- match (ao, bo) {
4288
- (None, None) => {}
4289
- (Some(a), Some(b)) => self
4290
- .component_val_type(a, b, offset)
4291
- .with_context(|| "type mismatch in ok variant")?,
4292
- (None, Some(_)) => bail!(offset, "expected ok type, but found none"),
4293
- (Some(_), None) => bail!(offset, "expected ok type to not be present"),
4294
- }
4295
- match (ae, be) {
4296
- (None, None) => {}
4297
- (Some(a), Some(b)) => self
4298
- .component_val_type(a, b, offset)
4299
- .with_context(|| "type mismatch in err variant")?,
4300
- (None, Some(_)) => bail!(offset, "expected err type, but found none"),
4301
- (Some(_), None) => bail!(offset, "expected err type to not be present"),
4302
- }
4303
- Ok(())
4304
- }
4305
- (Result { .. }, b) => bail!(offset, "expected {}, found result", b.desc()),
4306
- (Own(a), Own(b)) | (Borrow(a), Borrow(b)) => {
4307
- if a.resource() == b.resource() {
4308
- Ok(())
4309
- } else {
4310
- bail!(offset, "resource types are not the same")
4311
- }
4312
- }
4313
- (Own(_), b) => bail!(offset, "expected {}, found own", b.desc()),
4314
- (Borrow(_), b) => bail!(offset, "expected {}, found borrow", b.desc()),
4315
- }
4316
- }
4317
-
4318
- fn primitive_val_type(
4319
- &self,
4320
- a: PrimitiveValType,
4321
- b: PrimitiveValType,
4322
- offset: usize,
4323
- ) -> Result<()> {
4324
- // Note that this intentionally diverges from the upstream specification
4325
- // at this time and only considers exact equality for subtyping
4326
- // relationships.
4327
- //
4328
- // More information can be found in the subtyping implementation for
4329
- // component functions.
4330
- if a == b {
4331
- Ok(())
4332
- } else {
4333
- bail!(offset, "expected primitive `{b}` found primitive `{a}`")
4334
- }
4335
- }
4336
-
4337
- fn register_type_renamings(
4338
- &self,
4339
- actual: ComponentEntityType,
4340
- expected: ComponentEntityType,
4341
- type_map: &mut HashMap<ComponentAnyTypeId, ComponentAnyTypeId>,
4342
- ) {
4343
- match (expected, actual) {
4344
- (
4345
- ComponentEntityType::Type {
4346
- created: expected, ..
4347
- },
4348
- ComponentEntityType::Type {
4349
- created: actual, ..
4350
- },
4351
- ) => {
4352
- let prev = type_map.insert(expected, actual);
4353
- assert!(prev.is_none());
4354
- }
4355
- (ComponentEntityType::Instance(expected), ComponentEntityType::Instance(actual)) => {
4356
- let actual = &self.a[actual];
4357
- for (name, expected) in self.b[expected].exports.iter() {
4358
- let actual = actual.exports[name];
4359
- self.register_type_renamings(actual, *expected, type_map);
4360
- }
4361
- }
4362
- _ => {}
4363
- }
4364
- }
4365
- }
4366
-
4367
- /// A helper typed used purely during subtyping as part of `SubtypeCx`.
4368
- ///
4369
- /// This takes a `types` list as input which is the "base" of the ids that can
4370
- /// be indexed through this arena. All future types pushed into this, if any,
4371
- /// are stored in `self.list`.
4372
- ///
4373
- /// This is intended to have arena-like behavior where everything pushed onto
4374
- /// `self.list` is thrown away after a subtyping computation is performed. All
4375
- /// new types pushed into this arena are purely temporary.
4376
- pub struct SubtypeArena<'a> {
4377
- types: &'a TypeList,
4378
- list: TypeList,
4379
- }
4380
-
4381
- impl<'a> SubtypeArena<'a> {
4382
- fn new(types: &'a TypeList) -> SubtypeArena<'a> {
4383
- SubtypeArena {
4384
- types,
4385
- list: TypeList::default(),
4386
- }
4387
- }
4388
- }
4389
-
4390
- impl<T> Index<T> for SubtypeArena<'_>
4391
- where
4392
- T: TypeIdentifier,
4393
- {
4394
- type Output = T::Data;
4395
-
4396
- fn index(&self, id: T) -> &T::Data {
4397
- let index = id.index();
4398
- if index < T::list(self.types).len() {
4399
- &self.types[id]
4400
- } else {
4401
- let temp_index = index - T::list(self.types).len();
4402
- let temp_index = u32::try_from(temp_index).unwrap();
4403
- let temp_id = T::from_index(temp_index);
4404
- &self.list[temp_id]
4405
- }
4406
- }
4407
- }
4408
-
4409
- impl Remap for SubtypeArena<'_> {
4410
- fn push_ty<T>(&mut self, ty: T) -> T::Id
4411
- where
4412
- T: TypeData,
4413
- {
4414
- let index = T::Id::list(&self.list).len() + T::Id::list(self.types).len();
4415
- let index = u32::try_from(index).unwrap();
4416
- self.list.push(ty);
4417
- T::Id::from_index(index)
4418
- }
4419
- }
4420
-
4421
- /// Helper trait for adding contextual information to an error, modeled after
4422
- /// `anyhow::Context`.
4423
- pub(crate) trait Context {
4424
- fn with_context<S>(self, context: impl FnOnce() -> S) -> Self
4425
- where
4426
- S: Into<String>;
4427
- }
4428
-
4429
- impl<T> Context for Result<T> {
4430
- fn with_context<S>(self, context: impl FnOnce() -> S) -> Self
4431
- where
4432
- S: Into<String>,
4433
- {
4434
- match self {
4435
- Ok(val) => Ok(val),
4436
- Err(e) => Err(e.with_context(context)),
4437
- }
4438
- }
4439
- }
4440
-
4441
- impl Context for BinaryReaderError {
4442
- fn with_context<S>(mut self, context: impl FnOnce() -> S) -> Self
4443
- where
4444
- S: Into<String>,
4445
- {
4446
- self.add_context(context().into());
4447
- self
4448
- }
4449
- }