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
@@ -0,0 +1,4076 @@
1
+ /* Copyright 2019 Mozilla Foundation
2
+ *
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+
16
+ // The basic validation algorithm here is copied from the "Validation
17
+ // Algorithm" section of the WebAssembly specification -
18
+ // https://webassembly.github.io/spec/core/appendix/algorithm.html.
19
+ //
20
+ // That algorithm is followed pretty closely here, namely `push_operand`,
21
+ // `pop_operand`, `push_ctrl`, and `pop_ctrl`. If anything here is a bit
22
+ // confusing it's recommended to read over that section to see how it maps to
23
+ // the various methods here.
24
+
25
+ use crate::{
26
+ limits::MAX_WASM_FUNCTION_LOCALS, ArrayType, BinaryReaderError, BlockType, BrTable, Catch,
27
+ CompositeType, FieldType, FuncType, HeapType, Ieee32, Ieee64, MemArg, RefType, Result,
28
+ StorageType, StructType, SubType, TryTable, UnpackedIndex, ValType, VisitOperator,
29
+ WasmFeatures, WasmModuleResources, V128,
30
+ };
31
+ use std::ops::{Deref, DerefMut};
32
+
33
+ pub(crate) struct OperatorValidator {
34
+ pub(super) locals: Locals,
35
+ pub(super) local_inits: Vec<bool>,
36
+
37
+ // This is a list of flags for wasm features which are used to gate various
38
+ // instructions.
39
+ pub(crate) features: WasmFeatures,
40
+
41
+ // Temporary storage used during `pop_push_label_types` and various
42
+ // branching instructions.
43
+ popped_types_tmp: Vec<MaybeType>,
44
+
45
+ /// The `control` list is the list of blocks that we're currently in.
46
+ control: Vec<Frame>,
47
+ /// The `operands` is the current type stack.
48
+ operands: Vec<MaybeType>,
49
+ /// When local_inits is modified, the relevant index is recorded here to be
50
+ /// undone when control pops
51
+ inits: Vec<u32>,
52
+
53
+ /// Offset of the `end` instruction which emptied the `control` stack, which
54
+ /// must be the end of the function.
55
+ end_which_emptied_control: Option<usize>,
56
+ }
57
+
58
+ // No science was performed in the creation of this number, feel free to change
59
+ // it if you so like.
60
+ const MAX_LOCALS_TO_TRACK: usize = 50;
61
+
62
+ pub(super) struct Locals {
63
+ // Total number of locals in the function.
64
+ num_locals: u32,
65
+
66
+ // The first MAX_LOCALS_TO_TRACK locals in a function. This is used to
67
+ // optimize the theoretically common case where most functions don't have
68
+ // many locals and don't need a full binary search in the entire local space
69
+ // below.
70
+ first: Vec<ValType>,
71
+
72
+ // This is a "compressed" list of locals for this function. The list of
73
+ // locals are represented as a list of tuples. The second element is the
74
+ // type of the local, and the first element is monotonically increasing as
75
+ // you visit elements of this list. The first element is the maximum index
76
+ // of the local, after the previous index, of the type specified.
77
+ //
78
+ // This allows us to do a binary search on the list for a local's index for
79
+ // `local.{get,set,tee}`. We do a binary search for the index desired, and
80
+ // it either lies in a "hole" where the maximum index is specified later,
81
+ // or it's at the end of the list meaning it's out of bounds.
82
+ all: Vec<(u32, ValType)>,
83
+ }
84
+
85
+ /// A Wasm control flow block on the control flow stack during Wasm validation.
86
+ //
87
+ // # Dev. Note
88
+ //
89
+ // This structure corresponds to `ctrl_frame` as specified at in the validation
90
+ // appendix of the wasm spec
91
+ #[derive(Debug, Copy, Clone)]
92
+ pub struct Frame {
93
+ /// Indicator for what kind of instruction pushed this frame.
94
+ pub kind: FrameKind,
95
+ /// The type signature of this frame, represented as a singular return type
96
+ /// or a type index pointing into the module's types.
97
+ pub block_type: BlockType,
98
+ /// The index, below which, this frame cannot modify the operand stack.
99
+ pub height: usize,
100
+ /// Whether this frame is unreachable so far.
101
+ pub unreachable: bool,
102
+ /// The number of initializations in the stack at the time of its creation
103
+ pub init_height: usize,
104
+ }
105
+
106
+ /// The kind of a control flow [`Frame`].
107
+ #[derive(Copy, Clone, Debug, PartialEq, Eq)]
108
+ pub enum FrameKind {
109
+ /// A Wasm `block` control block.
110
+ Block,
111
+ /// A Wasm `if` control block.
112
+ If,
113
+ /// A Wasm `else` control block.
114
+ Else,
115
+ /// A Wasm `loop` control block.
116
+ Loop,
117
+ /// A Wasm `try` control block.
118
+ ///
119
+ /// # Note
120
+ ///
121
+ /// This belongs to the Wasm exception handling proposal.
122
+ TryTable,
123
+ }
124
+
125
+ struct OperatorValidatorTemp<'validator, 'resources, T> {
126
+ offset: usize,
127
+ inner: &'validator mut OperatorValidator,
128
+ resources: &'resources T,
129
+ }
130
+
131
+ #[derive(Default)]
132
+ pub struct OperatorValidatorAllocations {
133
+ popped_types_tmp: Vec<MaybeType>,
134
+ control: Vec<Frame>,
135
+ operands: Vec<MaybeType>,
136
+ local_inits: Vec<bool>,
137
+ inits: Vec<u32>,
138
+ locals_first: Vec<ValType>,
139
+ locals_all: Vec<(u32, ValType)>,
140
+ }
141
+
142
+ /// Type storage within the validator.
143
+ ///
144
+ /// This is used to manage the operand stack and notably isn't just `ValType` to
145
+ /// handle unreachable code and the "bottom" type.
146
+ #[derive(Debug, Copy, Clone)]
147
+ enum MaybeType {
148
+ Bot,
149
+ HeapBot,
150
+ Type(ValType),
151
+ }
152
+
153
+ // The validator is pretty performance-sensitive and `MaybeType` is the main
154
+ // unit of storage, so assert that it doesn't exceed 4 bytes which is the
155
+ // current expected size.
156
+ const _: () = {
157
+ assert!(std::mem::size_of::<MaybeType>() == 4);
158
+ };
159
+
160
+ impl std::fmt::Display for MaybeType {
161
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162
+ match self {
163
+ MaybeType::Bot => write!(f, "bot"),
164
+ MaybeType::HeapBot => write!(f, "heap-bot"),
165
+ MaybeType::Type(ty) => std::fmt::Display::fmt(ty, f),
166
+ }
167
+ }
168
+ }
169
+
170
+ impl From<ValType> for MaybeType {
171
+ fn from(ty: ValType) -> MaybeType {
172
+ MaybeType::Type(ty)
173
+ }
174
+ }
175
+
176
+ impl From<RefType> for MaybeType {
177
+ fn from(ty: RefType) -> MaybeType {
178
+ let ty: ValType = ty.into();
179
+ ty.into()
180
+ }
181
+ }
182
+
183
+ impl MaybeType {
184
+ fn as_type(&self) -> Option<ValType> {
185
+ match *self {
186
+ Self::Type(ty) => Some(ty),
187
+ Self::Bot | Self::HeapBot => None,
188
+ }
189
+ }
190
+ }
191
+
192
+ impl OperatorValidator {
193
+ fn new(features: &WasmFeatures, allocs: OperatorValidatorAllocations) -> Self {
194
+ let OperatorValidatorAllocations {
195
+ popped_types_tmp,
196
+ control,
197
+ operands,
198
+ local_inits,
199
+ inits,
200
+ locals_first,
201
+ locals_all,
202
+ } = allocs;
203
+ debug_assert!(popped_types_tmp.is_empty());
204
+ debug_assert!(control.is_empty());
205
+ debug_assert!(operands.is_empty());
206
+ debug_assert!(local_inits.is_empty());
207
+ debug_assert!(inits.is_empty());
208
+ debug_assert!(locals_first.is_empty());
209
+ debug_assert!(locals_all.is_empty());
210
+ OperatorValidator {
211
+ locals: Locals {
212
+ num_locals: 0,
213
+ first: locals_first,
214
+ all: locals_all,
215
+ },
216
+ local_inits,
217
+ inits,
218
+ features: *features,
219
+ popped_types_tmp,
220
+ operands,
221
+ control,
222
+ end_which_emptied_control: None,
223
+ }
224
+ }
225
+
226
+ /// Creates a new operator validator which will be used to validate a
227
+ /// function whose type is the `ty` index specified.
228
+ ///
229
+ /// The `resources` are used to learn about the function type underlying
230
+ /// `ty`.
231
+ pub fn new_func<T>(
232
+ ty: u32,
233
+ offset: usize,
234
+ features: &WasmFeatures,
235
+ resources: &T,
236
+ allocs: OperatorValidatorAllocations,
237
+ ) -> Result<Self>
238
+ where
239
+ T: WasmModuleResources,
240
+ {
241
+ let mut ret = OperatorValidator::new(features, allocs);
242
+ ret.control.push(Frame {
243
+ kind: FrameKind::Block,
244
+ block_type: BlockType::FuncType(ty),
245
+ height: 0,
246
+ unreachable: false,
247
+ init_height: 0,
248
+ });
249
+ let params = OperatorValidatorTemp {
250
+ // This offset is used by the `func_type_at` and `inputs`.
251
+ offset,
252
+ inner: &mut ret,
253
+ resources,
254
+ }
255
+ .func_type_at(ty)?
256
+ .params();
257
+ for ty in params {
258
+ ret.locals.define(1, *ty);
259
+ ret.local_inits.push(true);
260
+ }
261
+ Ok(ret)
262
+ }
263
+
264
+ /// Creates a new operator validator which will be used to validate an
265
+ /// `init_expr` constant expression which should result in the `ty`
266
+ /// specified.
267
+ pub fn new_const_expr(
268
+ features: &WasmFeatures,
269
+ ty: ValType,
270
+ allocs: OperatorValidatorAllocations,
271
+ ) -> Self {
272
+ let mut ret = OperatorValidator::new(features, allocs);
273
+ ret.control.push(Frame {
274
+ kind: FrameKind::Block,
275
+ block_type: BlockType::Type(ty),
276
+ height: 0,
277
+ unreachable: false,
278
+ init_height: 0,
279
+ });
280
+ ret
281
+ }
282
+
283
+ pub fn define_locals(
284
+ &mut self,
285
+ offset: usize,
286
+ count: u32,
287
+ mut ty: ValType,
288
+ resources: &impl WasmModuleResources,
289
+ ) -> Result<()> {
290
+ resources.check_value_type(&mut ty, &self.features, offset)?;
291
+ if count == 0 {
292
+ return Ok(());
293
+ }
294
+ if !self.locals.define(count, ty) {
295
+ return Err(BinaryReaderError::new(
296
+ "too many locals: locals exceed maximum",
297
+ offset,
298
+ ));
299
+ }
300
+ self.local_inits
301
+ .resize(self.local_inits.len() + count as usize, ty.is_defaultable());
302
+ Ok(())
303
+ }
304
+
305
+ /// Returns the current operands stack height.
306
+ pub fn operand_stack_height(&self) -> usize {
307
+ self.operands.len()
308
+ }
309
+
310
+ /// Returns the optional value type of the value operand at the given
311
+ /// `depth` from the top of the operand stack.
312
+ ///
313
+ /// - Returns `None` if the `depth` is out of bounds.
314
+ /// - Returns `Some(None)` if there is a value with unknown type
315
+ /// at the given `depth`.
316
+ ///
317
+ /// # Note
318
+ ///
319
+ /// A `depth` of 0 will refer to the last operand on the stack.
320
+ pub fn peek_operand_at(&self, depth: usize) -> Option<Option<ValType>> {
321
+ Some(match self.operands.iter().rev().nth(depth)? {
322
+ MaybeType::Type(t) => Some(*t),
323
+ MaybeType::Bot | MaybeType::HeapBot => None,
324
+ })
325
+ }
326
+
327
+ /// Returns the number of frames on the control flow stack.
328
+ pub fn control_stack_height(&self) -> usize {
329
+ self.control.len()
330
+ }
331
+
332
+ pub fn get_frame(&self, depth: usize) -> Option<&Frame> {
333
+ self.control.iter().rev().nth(depth)
334
+ }
335
+
336
+ /// Create a temporary [`OperatorValidatorTemp`] for validation.
337
+ pub fn with_resources<'a, 'validator, 'resources, T>(
338
+ &'validator mut self,
339
+ resources: &'resources T,
340
+ offset: usize,
341
+ ) -> impl VisitOperator<'a, Output = Result<()>> + 'validator
342
+ where
343
+ T: WasmModuleResources,
344
+ 'resources: 'validator,
345
+ {
346
+ WasmProposalValidator(OperatorValidatorTemp {
347
+ offset,
348
+ inner: self,
349
+ resources,
350
+ })
351
+ }
352
+
353
+ pub fn finish(&mut self, offset: usize) -> Result<()> {
354
+ if self.control.last().is_some() {
355
+ bail!(
356
+ offset,
357
+ "control frames remain at end of function: END opcode expected"
358
+ );
359
+ }
360
+
361
+ // The `end` opcode is one byte which means that the `offset` here
362
+ // should point just beyond the `end` opcode which emptied the control
363
+ // stack. If not that means more instructions were present after the
364
+ // control stack was emptied.
365
+ if offset != self.end_which_emptied_control.unwrap() + 1 {
366
+ return Err(self.err_beyond_end(offset));
367
+ }
368
+ Ok(())
369
+ }
370
+
371
+ fn err_beyond_end(&self, offset: usize) -> BinaryReaderError {
372
+ format_err!(offset, "operators remaining after end of function")
373
+ }
374
+
375
+ pub fn into_allocations(self) -> OperatorValidatorAllocations {
376
+ fn clear<T>(mut tmp: Vec<T>) -> Vec<T> {
377
+ tmp.clear();
378
+ tmp
379
+ }
380
+ OperatorValidatorAllocations {
381
+ popped_types_tmp: clear(self.popped_types_tmp),
382
+ control: clear(self.control),
383
+ operands: clear(self.operands),
384
+ local_inits: clear(self.local_inits),
385
+ inits: clear(self.inits),
386
+ locals_first: clear(self.locals.first),
387
+ locals_all: clear(self.locals.all),
388
+ }
389
+ }
390
+ }
391
+
392
+ impl<R> Deref for OperatorValidatorTemp<'_, '_, R> {
393
+ type Target = OperatorValidator;
394
+ fn deref(&self) -> &OperatorValidator {
395
+ self.inner
396
+ }
397
+ }
398
+
399
+ impl<R> DerefMut for OperatorValidatorTemp<'_, '_, R> {
400
+ fn deref_mut(&mut self) -> &mut OperatorValidator {
401
+ self.inner
402
+ }
403
+ }
404
+
405
+ impl<'resources, R> OperatorValidatorTemp<'_, 'resources, R>
406
+ where
407
+ R: WasmModuleResources,
408
+ {
409
+ /// Pushes a type onto the operand stack.
410
+ ///
411
+ /// This is used by instructions to represent a value that is pushed to the
412
+ /// operand stack. This can fail, but only if `Type` is feature gated.
413
+ /// Otherwise the push operation always succeeds.
414
+ fn push_operand<T>(&mut self, ty: T) -> Result<()>
415
+ where
416
+ T: Into<MaybeType>,
417
+ {
418
+ let maybe_ty = ty.into();
419
+
420
+ if cfg!(debug_assertions) {
421
+ match maybe_ty {
422
+ MaybeType::Type(ValType::Ref(r)) => match r.heap_type() {
423
+ HeapType::Concrete(index) => {
424
+ debug_assert!(
425
+ matches!(index, UnpackedIndex::Id(_)),
426
+ "only ref types referencing `CoreTypeId`s can \
427
+ be pushed to the operand stack"
428
+ );
429
+ }
430
+ _ => {}
431
+ },
432
+ _ => {}
433
+ }
434
+ }
435
+
436
+ self.operands.push(maybe_ty);
437
+ Ok(())
438
+ }
439
+
440
+ fn push_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<()> {
441
+ let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
442
+
443
+ // Canonicalize the module index into an id.
444
+ self.resources.check_heap_type(&mut heap_ty, self.offset)?;
445
+ debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
446
+
447
+ let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
448
+ format_err!(self.offset, "implementation limit: type index too large")
449
+ })?;
450
+
451
+ self.push_operand(ref_ty)
452
+ }
453
+
454
+ fn pop_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<MaybeType> {
455
+ let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
456
+
457
+ // Canonicalize the module index into an id.
458
+ self.resources.check_heap_type(&mut heap_ty, self.offset)?;
459
+ debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
460
+
461
+ let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
462
+ format_err!(self.offset, "implementation limit: type index too large")
463
+ })?;
464
+
465
+ self.pop_operand(Some(ref_ty.into()))
466
+ }
467
+
468
+ /// Pop the given label types, checking that they are indeed present on the
469
+ /// stack, and then push them back on again.
470
+ fn pop_push_label_types(
471
+ &mut self,
472
+ label_types: impl PreciseIterator<Item = ValType>,
473
+ ) -> Result<()> {
474
+ for ty in label_types.clone().rev() {
475
+ self.pop_operand(Some(ty))?;
476
+ }
477
+ for ty in label_types {
478
+ self.push_operand(ty)?;
479
+ }
480
+ Ok(())
481
+ }
482
+
483
+ /// Attempts to pop a type from the operand stack.
484
+ ///
485
+ /// This function is used to remove types from the operand stack. The
486
+ /// `expected` argument can be used to indicate that a type is required, or
487
+ /// simply that something is needed to be popped.
488
+ ///
489
+ /// If `expected` is `Some(T)` then this will be guaranteed to return
490
+ /// `T`, and it will only return success if the current block is
491
+ /// unreachable or if `T` was found at the top of the operand stack.
492
+ ///
493
+ /// If `expected` is `None` then it indicates that something must be on the
494
+ /// operand stack, but it doesn't matter what's on the operand stack. This
495
+ /// is useful for polymorphic instructions like `select`.
496
+ ///
497
+ /// If `Some(T)` is returned then `T` was popped from the operand stack and
498
+ /// matches `expected`. If `None` is returned then it means that `None` was
499
+ /// expected and a type was successfully popped, but its exact type is
500
+ /// indeterminate because the current block is unreachable.
501
+ fn pop_operand(&mut self, expected: Option<ValType>) -> Result<MaybeType> {
502
+ // This method is one of the hottest methods in the validator so to
503
+ // improve codegen this method contains a fast-path success case where
504
+ // if the top operand on the stack is as expected it's returned
505
+ // immediately. This is the most common case where the stack will indeed
506
+ // have the expected type and all we need to do is pop it off.
507
+ //
508
+ // Note that this still has to be careful to be correct, though. For
509
+ // efficiency an operand is unconditionally popped and on success it is
510
+ // matched against the state of the world to see if we could actually
511
+ // pop it. If we shouldn't have popped it then it's passed to the slow
512
+ // path to get pushed back onto the stack.
513
+ let popped = match self.operands.pop() {
514
+ Some(MaybeType::Type(actual_ty)) => {
515
+ if Some(actual_ty) == expected {
516
+ if let Some(control) = self.control.last() {
517
+ if self.operands.len() >= control.height {
518
+ return Ok(MaybeType::Type(actual_ty));
519
+ }
520
+ }
521
+ }
522
+ Some(MaybeType::Type(actual_ty))
523
+ }
524
+ other => other,
525
+ };
526
+
527
+ self._pop_operand(expected, popped)
528
+ }
529
+
530
+ // This is the "real" implementation of `pop_operand` which is 100%
531
+ // spec-compliant with little attention paid to efficiency since this is the
532
+ // slow-path from the actual `pop_operand` function above.
533
+ #[cold]
534
+ fn _pop_operand(
535
+ &mut self,
536
+ expected: Option<ValType>,
537
+ popped: Option<MaybeType>,
538
+ ) -> Result<MaybeType> {
539
+ self.operands.extend(popped);
540
+ let control = match self.control.last() {
541
+ Some(c) => c,
542
+ None => return Err(self.err_beyond_end(self.offset)),
543
+ };
544
+ let actual = if self.operands.len() == control.height && control.unreachable {
545
+ MaybeType::Bot
546
+ } else {
547
+ if self.operands.len() == control.height {
548
+ let desc = match expected {
549
+ Some(ty) => ty_to_str(ty),
550
+ None => "a type".into(),
551
+ };
552
+ bail!(
553
+ self.offset,
554
+ "type mismatch: expected {desc} but nothing on stack"
555
+ )
556
+ } else {
557
+ self.operands.pop().unwrap()
558
+ }
559
+ };
560
+ if let Some(expected) = expected {
561
+ match (actual, expected) {
562
+ // The bottom type matches all expectations
563
+ (MaybeType::Bot, _)
564
+ // The "heap bottom" type only matches other references types,
565
+ // but not any integer types.
566
+ | (MaybeType::HeapBot, ValType::Ref(_)) => {}
567
+
568
+ // Use the `is_subtype` predicate to test if a found type matches
569
+ // the expectation.
570
+ (MaybeType::Type(actual), expected) => {
571
+ if !self.resources.is_subtype(actual, expected) {
572
+ bail!(
573
+ self.offset,
574
+ "type mismatch: expected {}, found {}",
575
+ ty_to_str(expected),
576
+ ty_to_str(actual)
577
+ );
578
+ }
579
+ }
580
+
581
+ // A "heap bottom" type cannot match any numeric types.
582
+ (
583
+ MaybeType::HeapBot,
584
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128,
585
+ ) => {
586
+ bail!(
587
+ self.offset,
588
+ "type mismatch: expected {}, found heap type",
589
+ ty_to_str(expected)
590
+ )
591
+ }
592
+ }
593
+ }
594
+ Ok(actual)
595
+ }
596
+
597
+ fn pop_ref(&mut self) -> Result<Option<RefType>> {
598
+ match self.pop_operand(None)? {
599
+ MaybeType::Bot | MaybeType::HeapBot => Ok(None),
600
+ MaybeType::Type(ValType::Ref(rt)) => Ok(Some(rt)),
601
+ MaybeType::Type(ty) => bail!(
602
+ self.offset,
603
+ "type mismatch: expected ref but found {}",
604
+ ty_to_str(ty)
605
+ ),
606
+ }
607
+ }
608
+
609
+ /// Fetches the type for the local at `idx`, returning an error if it's out
610
+ /// of bounds.
611
+ fn local(&self, idx: u32) -> Result<ValType> {
612
+ match self.locals.get(idx) {
613
+ Some(ty) => Ok(ty),
614
+ None => bail!(
615
+ self.offset,
616
+ "unknown local {}: local index out of bounds",
617
+ idx
618
+ ),
619
+ }
620
+ }
621
+
622
+ /// Flags the current control frame as unreachable, additionally truncating
623
+ /// the currently active operand stack.
624
+ fn unreachable(&mut self) -> Result<()> {
625
+ let control = match self.control.last_mut() {
626
+ Some(frame) => frame,
627
+ None => return Err(self.err_beyond_end(self.offset)),
628
+ };
629
+ control.unreachable = true;
630
+ let new_height = control.height;
631
+ self.operands.truncate(new_height);
632
+ Ok(())
633
+ }
634
+
635
+ /// Pushes a new frame onto the control stack.
636
+ ///
637
+ /// This operation is used when entering a new block such as an if, loop,
638
+ /// or block itself. The `kind` of block is specified which indicates how
639
+ /// breaks interact with this block's type. Additionally the type signature
640
+ /// of the block is specified by `ty`.
641
+ fn push_ctrl(&mut self, kind: FrameKind, ty: BlockType) -> Result<()> {
642
+ // Push a new frame which has a snapshot of the height of the current
643
+ // operand stack.
644
+ let height = self.operands.len();
645
+ let init_height = self.inits.len();
646
+ self.control.push(Frame {
647
+ kind,
648
+ block_type: ty,
649
+ height,
650
+ unreachable: false,
651
+ init_height,
652
+ });
653
+ // All of the parameters are now also available in this control frame,
654
+ // so we push them here in order.
655
+ for ty in self.params(ty)? {
656
+ self.push_operand(ty)?;
657
+ }
658
+ Ok(())
659
+ }
660
+
661
+ /// Pops a frame from the control stack.
662
+ ///
663
+ /// This function is used when exiting a block and leaves a block scope.
664
+ /// Internally this will validate that blocks have the correct result type.
665
+ fn pop_ctrl(&mut self) -> Result<Frame> {
666
+ // Read the expected type and expected height of the operand stack the
667
+ // end of the frame.
668
+ let frame = match self.control.last() {
669
+ Some(f) => f,
670
+ None => return Err(self.err_beyond_end(self.offset)),
671
+ };
672
+ let ty = frame.block_type;
673
+ let height = frame.height;
674
+ let init_height = frame.init_height;
675
+
676
+ // reset_locals in the spec
677
+ for init in self.inits.split_off(init_height) {
678
+ self.local_inits[init as usize] = false;
679
+ }
680
+
681
+ // Pop all the result types, in reverse order, from the operand stack.
682
+ // These types will, possibly, be transferred to the next frame.
683
+ for ty in self.results(ty)?.rev() {
684
+ self.pop_operand(Some(ty))?;
685
+ }
686
+
687
+ // Make sure that the operand stack has returned to is original
688
+ // height...
689
+ if self.operands.len() != height {
690
+ bail!(
691
+ self.offset,
692
+ "type mismatch: values remaining on stack at end of block"
693
+ );
694
+ }
695
+
696
+ // And then we can remove it!
697
+ Ok(self.control.pop().unwrap())
698
+ }
699
+
700
+ /// Validates a relative jump to the `depth` specified.
701
+ ///
702
+ /// Returns the type signature of the block that we're jumping to as well
703
+ /// as the kind of block if the jump is valid. Otherwise returns an error.
704
+ fn jump(&self, depth: u32) -> Result<(BlockType, FrameKind)> {
705
+ if self.control.is_empty() {
706
+ return Err(self.err_beyond_end(self.offset));
707
+ }
708
+ match (self.control.len() - 1).checked_sub(depth as usize) {
709
+ Some(i) => {
710
+ let frame = &self.control[i];
711
+ Ok((frame.block_type, frame.kind))
712
+ }
713
+ None => bail!(self.offset, "unknown label: branch depth too large"),
714
+ }
715
+ }
716
+
717
+ /// Validates that `memory_index` is valid in this module, and returns the
718
+ /// type of address used to index the memory specified.
719
+ fn check_memory_index(&self, memory_index: u32) -> Result<ValType> {
720
+ match self.resources.memory_at(memory_index) {
721
+ Some(mem) => Ok(mem.index_type()),
722
+ None => bail!(self.offset, "unknown memory {}", memory_index),
723
+ }
724
+ }
725
+
726
+ /// Validates a `memarg for alignment and such (also the memory it
727
+ /// references), and returns the type of index used to address the memory.
728
+ fn check_memarg(&self, memarg: MemArg) -> Result<ValType> {
729
+ let index_ty = self.check_memory_index(memarg.memory)?;
730
+ if memarg.align > memarg.max_align {
731
+ bail!(self.offset, "alignment must not be larger than natural");
732
+ }
733
+ if index_ty == ValType::I32 && memarg.offset > u64::from(u32::MAX) {
734
+ bail!(self.offset, "offset out of range: must be <= 2**32");
735
+ }
736
+ Ok(index_ty)
737
+ }
738
+
739
+ fn check_floats_enabled(&self) -> Result<()> {
740
+ if !self.features.floats {
741
+ bail!(self.offset, "floating-point instruction disallowed");
742
+ }
743
+ Ok(())
744
+ }
745
+
746
+ fn check_shared_memarg(&self, memarg: MemArg) -> Result<ValType> {
747
+ if memarg.align != memarg.max_align {
748
+ bail!(
749
+ self.offset,
750
+ "atomic instructions must always specify maximum alignment"
751
+ );
752
+ }
753
+ self.check_memory_index(memarg.memory)
754
+ }
755
+
756
+ fn check_simd_lane_index(&self, index: u8, max: u8) -> Result<()> {
757
+ if index >= max {
758
+ bail!(self.offset, "SIMD index out of bounds");
759
+ }
760
+ Ok(())
761
+ }
762
+
763
+ /// Validates a block type, primarily with various in-flight proposals.
764
+ fn check_block_type(&self, ty: &mut BlockType) -> Result<()> {
765
+ match ty {
766
+ BlockType::Empty => Ok(()),
767
+ BlockType::Type(t) => self
768
+ .resources
769
+ .check_value_type(t, &self.features, self.offset),
770
+ BlockType::FuncType(idx) => {
771
+ if !self.features.multi_value {
772
+ bail!(
773
+ self.offset,
774
+ "blocks, loops, and ifs may only produce a resulttype \
775
+ when multi-value is not enabled",
776
+ );
777
+ }
778
+ self.func_type_at(*idx)?;
779
+ Ok(())
780
+ }
781
+ }
782
+ }
783
+
784
+ /// Validates a `call` instruction, ensuring that the function index is
785
+ /// in-bounds and the right types are on the stack to call the function.
786
+ fn check_call(&mut self, function_index: u32) -> Result<()> {
787
+ let ty = match self.resources.type_of_function(function_index) {
788
+ Some(i) => i,
789
+ None => {
790
+ bail!(
791
+ self.offset,
792
+ "unknown function {function_index}: function index out of bounds",
793
+ );
794
+ }
795
+ };
796
+ self.check_call_ty(ty)
797
+ }
798
+
799
+ fn check_call_type_index(&mut self, type_index: u32) -> Result<()> {
800
+ let ty = self.func_type_at(type_index)?;
801
+ self.check_call_ty(ty)
802
+ }
803
+
804
+ fn check_call_ty(&mut self, ty: &FuncType) -> Result<()> {
805
+ for &ty in ty.params().iter().rev() {
806
+ debug_assert_type_indices_are_ids(ty);
807
+ self.pop_operand(Some(ty))?;
808
+ }
809
+ for &ty in ty.results() {
810
+ debug_assert_type_indices_are_ids(ty);
811
+ self.push_operand(ty)?;
812
+ }
813
+ Ok(())
814
+ }
815
+
816
+ /// Validates a call to an indirect function, very similar to `check_call`.
817
+ fn check_call_indirect(&mut self, index: u32, table_index: u32) -> Result<()> {
818
+ match self.resources.table_at(table_index) {
819
+ None => {
820
+ bail!(self.offset, "unknown table: table index out of bounds");
821
+ }
822
+ Some(tab) => {
823
+ if !self
824
+ .resources
825
+ .is_subtype(ValType::Ref(tab.element_type), ValType::FUNCREF)
826
+ {
827
+ bail!(
828
+ self.offset,
829
+ "indirect calls must go through a table with type <= funcref",
830
+ );
831
+ }
832
+ }
833
+ }
834
+ let ty = self.func_type_at(index)?;
835
+ self.pop_operand(Some(ValType::I32))?;
836
+ for ty in ty.clone().params().iter().rev() {
837
+ self.pop_operand(Some(*ty))?;
838
+ }
839
+ for ty in ty.results() {
840
+ self.push_operand(*ty)?;
841
+ }
842
+ Ok(())
843
+ }
844
+
845
+ /// Validates a `return` instruction, popping types from the operand
846
+ /// stack that the function needs.
847
+ fn check_return(&mut self) -> Result<()> {
848
+ if self.control.is_empty() {
849
+ return Err(self.err_beyond_end(self.offset));
850
+ }
851
+ for ty in self.results(self.control[0].block_type)?.rev() {
852
+ self.pop_operand(Some(ty))?;
853
+ }
854
+ self.unreachable()?;
855
+ Ok(())
856
+ }
857
+
858
+ /// Checks the validity of a common comparison operator.
859
+ fn check_cmp_op(&mut self, ty: ValType) -> Result<()> {
860
+ self.pop_operand(Some(ty))?;
861
+ self.pop_operand(Some(ty))?;
862
+ self.push_operand(ValType::I32)?;
863
+ Ok(())
864
+ }
865
+
866
+ /// Checks the validity of a common float comparison operator.
867
+ fn check_fcmp_op(&mut self, ty: ValType) -> Result<()> {
868
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
869
+ self.check_floats_enabled()?;
870
+ self.check_cmp_op(ty)
871
+ }
872
+
873
+ /// Checks the validity of a common unary operator.
874
+ fn check_unary_op(&mut self, ty: ValType) -> Result<()> {
875
+ self.pop_operand(Some(ty))?;
876
+ self.push_operand(ty)?;
877
+ Ok(())
878
+ }
879
+
880
+ /// Checks the validity of a common unary float operator.
881
+ fn check_funary_op(&mut self, ty: ValType) -> Result<()> {
882
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
883
+ self.check_floats_enabled()?;
884
+ self.check_unary_op(ty)
885
+ }
886
+
887
+ /// Checks the validity of a common conversion operator.
888
+ fn check_conversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
889
+ self.pop_operand(Some(from))?;
890
+ self.push_operand(into)?;
891
+ Ok(())
892
+ }
893
+
894
+ /// Checks the validity of a common conversion operator.
895
+ fn check_fconversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
896
+ debug_assert!(matches!(into, ValType::F32 | ValType::F64));
897
+ self.check_floats_enabled()?;
898
+ self.check_conversion_op(into, from)
899
+ }
900
+
901
+ /// Checks the validity of a common binary operator.
902
+ fn check_binary_op(&mut self, ty: ValType) -> Result<()> {
903
+ self.pop_operand(Some(ty))?;
904
+ self.pop_operand(Some(ty))?;
905
+ self.push_operand(ty)?;
906
+ Ok(())
907
+ }
908
+
909
+ /// Checks the validity of a common binary float operator.
910
+ fn check_fbinary_op(&mut self, ty: ValType) -> Result<()> {
911
+ debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
912
+ self.check_floats_enabled()?;
913
+ self.check_binary_op(ty)
914
+ }
915
+
916
+ /// Checks the validity of an atomic load operator.
917
+ fn check_atomic_load(&mut self, memarg: MemArg, load_ty: ValType) -> Result<()> {
918
+ let ty = self.check_shared_memarg(memarg)?;
919
+ self.pop_operand(Some(ty))?;
920
+ self.push_operand(load_ty)?;
921
+ Ok(())
922
+ }
923
+
924
+ /// Checks the validity of an atomic store operator.
925
+ fn check_atomic_store(&mut self, memarg: MemArg, store_ty: ValType) -> Result<()> {
926
+ let ty = self.check_shared_memarg(memarg)?;
927
+ self.pop_operand(Some(store_ty))?;
928
+ self.pop_operand(Some(ty))?;
929
+ Ok(())
930
+ }
931
+
932
+ /// Checks the validity of a common atomic binary operator.
933
+ fn check_atomic_binary_op(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
934
+ let ty = self.check_shared_memarg(memarg)?;
935
+ self.pop_operand(Some(op_ty))?;
936
+ self.pop_operand(Some(ty))?;
937
+ self.push_operand(op_ty)?;
938
+ Ok(())
939
+ }
940
+
941
+ /// Checks the validity of an atomic compare exchange operator.
942
+ fn check_atomic_binary_cmpxchg(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
943
+ let ty = self.check_shared_memarg(memarg)?;
944
+ self.pop_operand(Some(op_ty))?;
945
+ self.pop_operand(Some(op_ty))?;
946
+ self.pop_operand(Some(ty))?;
947
+ self.push_operand(op_ty)?;
948
+ Ok(())
949
+ }
950
+
951
+ /// Checks a [`V128`] splat operator.
952
+ fn check_v128_splat(&mut self, src_ty: ValType) -> Result<()> {
953
+ self.pop_operand(Some(src_ty))?;
954
+ self.push_operand(ValType::V128)?;
955
+ Ok(())
956
+ }
957
+
958
+ /// Checks a [`V128`] binary operator.
959
+ fn check_v128_binary_op(&mut self) -> Result<()> {
960
+ self.pop_operand(Some(ValType::V128))?;
961
+ self.pop_operand(Some(ValType::V128))?;
962
+ self.push_operand(ValType::V128)?;
963
+ Ok(())
964
+ }
965
+
966
+ /// Checks a [`V128`] binary float operator.
967
+ fn check_v128_fbinary_op(&mut self) -> Result<()> {
968
+ self.check_floats_enabled()?;
969
+ self.check_v128_binary_op()
970
+ }
971
+
972
+ /// Checks a [`V128`] binary operator.
973
+ fn check_v128_unary_op(&mut self) -> Result<()> {
974
+ self.pop_operand(Some(ValType::V128))?;
975
+ self.push_operand(ValType::V128)?;
976
+ Ok(())
977
+ }
978
+
979
+ /// Checks a [`V128`] binary operator.
980
+ fn check_v128_funary_op(&mut self) -> Result<()> {
981
+ self.check_floats_enabled()?;
982
+ self.check_v128_unary_op()
983
+ }
984
+
985
+ /// Checks a [`V128`] relaxed ternary operator.
986
+ fn check_v128_ternary_op(&mut self) -> Result<()> {
987
+ self.pop_operand(Some(ValType::V128))?;
988
+ self.pop_operand(Some(ValType::V128))?;
989
+ self.pop_operand(Some(ValType::V128))?;
990
+ self.push_operand(ValType::V128)?;
991
+ Ok(())
992
+ }
993
+
994
+ /// Checks a [`V128`] relaxed ternary operator.
995
+ fn check_v128_bitmask_op(&mut self) -> Result<()> {
996
+ self.pop_operand(Some(ValType::V128))?;
997
+ self.push_operand(ValType::I32)?;
998
+ Ok(())
999
+ }
1000
+
1001
+ /// Checks a [`V128`] relaxed ternary operator.
1002
+ fn check_v128_shift_op(&mut self) -> Result<()> {
1003
+ self.pop_operand(Some(ValType::I32))?;
1004
+ self.pop_operand(Some(ValType::V128))?;
1005
+ self.push_operand(ValType::V128)?;
1006
+ Ok(())
1007
+ }
1008
+
1009
+ /// Checks a [`V128`] common load operator.
1010
+ fn check_v128_load_op(&mut self, memarg: MemArg) -> Result<()> {
1011
+ let idx = self.check_memarg(memarg)?;
1012
+ self.pop_operand(Some(idx))?;
1013
+ self.push_operand(ValType::V128)?;
1014
+ Ok(())
1015
+ }
1016
+
1017
+ /// Common helper for `ref.test` and `ref.cast` downcasting/checking
1018
+ /// instructions. Returns the given `heap_type` as a `ValType`.
1019
+ fn check_downcast(
1020
+ &mut self,
1021
+ nullable: bool,
1022
+ mut heap_type: HeapType,
1023
+ inst_name: &str,
1024
+ ) -> Result<ValType> {
1025
+ self.resources
1026
+ .check_heap_type(&mut heap_type, self.offset)?;
1027
+
1028
+ let sub_ty = RefType::new(nullable, heap_type)
1029
+ .map(ValType::from)
1030
+ .ok_or_else(|| {
1031
+ BinaryReaderError::new("implementation limit: type index too large", self.offset)
1032
+ })?;
1033
+
1034
+ let sup_ty = self.pop_ref()?.unwrap_or_else(|| {
1035
+ sub_ty
1036
+ .as_reference_type()
1037
+ .expect("we created this as a reference just above")
1038
+ });
1039
+ let sup_ty = RefType::new(true, self.resources.top_type(&sup_ty.heap_type()))
1040
+ .expect("can't panic with non-concrete heap types");
1041
+
1042
+ if !self.resources.is_subtype(sub_ty, sup_ty.into()) {
1043
+ bail!(
1044
+ self.offset,
1045
+ "{inst_name}'s heap type must be a sub type of the type on the stack: \
1046
+ {sub_ty} is not a sub type of {sup_ty}"
1047
+ );
1048
+ }
1049
+
1050
+ Ok(sub_ty)
1051
+ }
1052
+
1053
+ /// Common helper for both nullable and non-nullable variants of `ref.test`
1054
+ /// instructions.
1055
+ fn check_ref_test(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
1056
+ self.check_downcast(nullable, heap_type, "ref.test")?;
1057
+ self.push_operand(ValType::I32)
1058
+ }
1059
+
1060
+ /// Common helper for both nullable and non-nullable variants of `ref.cast`
1061
+ /// instructions.
1062
+ fn check_ref_cast(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
1063
+ let sub_ty = self.check_downcast(nullable, heap_type, "ref.cast")?;
1064
+ self.push_operand(sub_ty)
1065
+ }
1066
+
1067
+ fn element_type_at(&self, elem_index: u32) -> Result<RefType> {
1068
+ match self.resources.element_type_at(elem_index) {
1069
+ Some(ty) => Ok(ty),
1070
+ None => bail!(
1071
+ self.offset,
1072
+ "unknown elem segment {}: segment index out of bounds",
1073
+ elem_index
1074
+ ),
1075
+ }
1076
+ }
1077
+
1078
+ fn sub_type_at(&self, at: u32) -> Result<&'resources SubType> {
1079
+ self.resources
1080
+ .sub_type_at(at)
1081
+ .ok_or_else(|| format_err!(self.offset, "unknown type: type index out of bounds"))
1082
+ }
1083
+
1084
+ fn struct_type_at(&self, at: u32) -> Result<&'resources StructType> {
1085
+ let sub_ty = self.sub_type_at(at)?;
1086
+ if let CompositeType::Struct(struct_ty) = &sub_ty.composite_type {
1087
+ Ok(struct_ty)
1088
+ } else {
1089
+ bail!(
1090
+ self.offset,
1091
+ "expected struct type at index {at}, found {sub_ty}"
1092
+ )
1093
+ }
1094
+ }
1095
+
1096
+ fn struct_field_at(&self, struct_type_index: u32, field_index: u32) -> Result<FieldType> {
1097
+ let field_index = usize::try_from(field_index).map_err(|_| {
1098
+ BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
1099
+ })?;
1100
+ self.struct_type_at(struct_type_index)?
1101
+ .fields
1102
+ .get(field_index)
1103
+ .copied()
1104
+ .ok_or_else(|| {
1105
+ BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
1106
+ })
1107
+ }
1108
+
1109
+ fn array_type_at(&self, at: u32) -> Result<&'resources ArrayType> {
1110
+ let sub_ty = self.sub_type_at(at)?;
1111
+ if let CompositeType::Array(array_ty) = &sub_ty.composite_type {
1112
+ Ok(array_ty)
1113
+ } else {
1114
+ bail!(
1115
+ self.offset,
1116
+ "expected array type at index {at}, found {sub_ty}"
1117
+ )
1118
+ }
1119
+ }
1120
+
1121
+ fn func_type_at(&self, at: u32) -> Result<&'resources FuncType> {
1122
+ let sub_ty = self.sub_type_at(at)?;
1123
+ if let CompositeType::Func(func_ty) = &sub_ty.composite_type {
1124
+ Ok(func_ty)
1125
+ } else {
1126
+ bail!(
1127
+ self.offset,
1128
+ "expected func type at index {at}, found {sub_ty}"
1129
+ )
1130
+ }
1131
+ }
1132
+
1133
+ fn tag_at(&self, at: u32) -> Result<&'resources FuncType> {
1134
+ self.resources
1135
+ .tag_at(at)
1136
+ .ok_or_else(|| format_err!(self.offset, "unknown tag {}: tag index out of bounds", at))
1137
+ }
1138
+
1139
+ fn params(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1140
+ Ok(match ty {
1141
+ BlockType::Empty | BlockType::Type(_) => Either::B(None.into_iter()),
1142
+ BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.params().iter().copied()),
1143
+ })
1144
+ }
1145
+
1146
+ fn results(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1147
+ Ok(match ty {
1148
+ BlockType::Empty => Either::B(None.into_iter()),
1149
+ BlockType::Type(t) => Either::B(Some(t).into_iter()),
1150
+ BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.results().iter().copied()),
1151
+ })
1152
+ }
1153
+
1154
+ fn label_types(
1155
+ &self,
1156
+ ty: BlockType,
1157
+ kind: FrameKind,
1158
+ ) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
1159
+ Ok(match kind {
1160
+ FrameKind::Loop => Either::A(self.params(ty)?),
1161
+ _ => Either::B(self.results(ty)?),
1162
+ })
1163
+ }
1164
+ }
1165
+
1166
+ pub fn ty_to_str(ty: ValType) -> &'static str {
1167
+ match ty {
1168
+ ValType::I32 => "i32",
1169
+ ValType::I64 => "i64",
1170
+ ValType::F32 => "f32",
1171
+ ValType::F64 => "f64",
1172
+ ValType::V128 => "v128",
1173
+ ValType::Ref(r) => r.wat(),
1174
+ }
1175
+ }
1176
+
1177
+ /// A wrapper "visitor" around the real operator validator internally which
1178
+ /// exists to check that the required wasm feature is enabled to proceed with
1179
+ /// validation.
1180
+ ///
1181
+ /// This validator is macro-generated to ensure that the proposal listed in this
1182
+ /// crate's macro matches the one that's validated here. Each instruction's
1183
+ /// visit method validates the specified proposal is enabled and then delegates
1184
+ /// to `OperatorValidatorTemp` to perform the actual opcode validation.
1185
+ struct WasmProposalValidator<'validator, 'resources, T>(
1186
+ OperatorValidatorTemp<'validator, 'resources, T>,
1187
+ );
1188
+
1189
+ impl<T> WasmProposalValidator<'_, '_, T> {
1190
+ fn check_enabled(&self, flag: bool, desc: &str) -> Result<()> {
1191
+ if flag {
1192
+ return Ok(());
1193
+ }
1194
+ bail!(self.0.offset, "{desc} support is not enabled");
1195
+ }
1196
+ }
1197
+
1198
+ macro_rules! validate_proposal {
1199
+ ($( @$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
1200
+ $(
1201
+ fn $visit(&mut self $($(,$arg: $argty)*)?) -> Result<()> {
1202
+ validate_proposal!(validate self $proposal);
1203
+ self.0.$visit($( $($arg),* )?)
1204
+ }
1205
+ )*
1206
+ };
1207
+
1208
+ (validate self mvp) => {};
1209
+ (validate $self:ident $proposal:ident) => {
1210
+ $self.check_enabled($self.0.features.$proposal, validate_proposal!(desc $proposal))?
1211
+ };
1212
+
1213
+ (desc simd) => ("SIMD");
1214
+ (desc relaxed_simd) => ("relaxed SIMD");
1215
+ (desc threads) => ("threads");
1216
+ (desc saturating_float_to_int) => ("saturating float to int conversions");
1217
+ (desc reference_types) => ("reference types");
1218
+ (desc bulk_memory) => ("bulk memory");
1219
+ (desc sign_extension) => ("sign extension operations");
1220
+ (desc exceptions) => ("exceptions");
1221
+ (desc tail_call) => ("tail calls");
1222
+ (desc function_references) => ("function references");
1223
+ (desc memory_control) => ("memory control");
1224
+ (desc gc) => ("gc");
1225
+ }
1226
+
1227
+ impl<'a, T> VisitOperator<'a> for WasmProposalValidator<'_, '_, T>
1228
+ where
1229
+ T: WasmModuleResources,
1230
+ {
1231
+ type Output = Result<()>;
1232
+
1233
+ for_each_operator!(validate_proposal);
1234
+ }
1235
+
1236
+ #[track_caller]
1237
+ #[inline]
1238
+ fn debug_assert_type_indices_are_ids(ty: ValType) {
1239
+ if cfg!(debug_assertions) {
1240
+ if let ValType::Ref(r) = ty {
1241
+ if let HeapType::Concrete(idx) = r.heap_type() {
1242
+ debug_assert!(
1243
+ matches!(idx, UnpackedIndex::Id(_)),
1244
+ "type reference should be a `CoreTypeId`, found {idx:?}"
1245
+ );
1246
+ }
1247
+ }
1248
+ }
1249
+ }
1250
+
1251
+ impl<'a, T> VisitOperator<'a> for OperatorValidatorTemp<'_, '_, T>
1252
+ where
1253
+ T: WasmModuleResources,
1254
+ {
1255
+ type Output = Result<()>;
1256
+
1257
+ fn visit_nop(&mut self) -> Self::Output {
1258
+ Ok(())
1259
+ }
1260
+ fn visit_unreachable(&mut self) -> Self::Output {
1261
+ self.unreachable()?;
1262
+ Ok(())
1263
+ }
1264
+ fn visit_block(&mut self, mut ty: BlockType) -> Self::Output {
1265
+ self.check_block_type(&mut ty)?;
1266
+ for ty in self.params(ty)?.rev() {
1267
+ self.pop_operand(Some(ty))?;
1268
+ }
1269
+ self.push_ctrl(FrameKind::Block, ty)?;
1270
+ Ok(())
1271
+ }
1272
+ fn visit_loop(&mut self, mut ty: BlockType) -> Self::Output {
1273
+ self.check_block_type(&mut ty)?;
1274
+ for ty in self.params(ty)?.rev() {
1275
+ self.pop_operand(Some(ty))?;
1276
+ }
1277
+ self.push_ctrl(FrameKind::Loop, ty)?;
1278
+ Ok(())
1279
+ }
1280
+ fn visit_if(&mut self, mut ty: BlockType) -> Self::Output {
1281
+ self.check_block_type(&mut ty)?;
1282
+ self.pop_operand(Some(ValType::I32))?;
1283
+ for ty in self.params(ty)?.rev() {
1284
+ self.pop_operand(Some(ty))?;
1285
+ }
1286
+ self.push_ctrl(FrameKind::If, ty)?;
1287
+ Ok(())
1288
+ }
1289
+ fn visit_else(&mut self) -> Self::Output {
1290
+ let frame = self.pop_ctrl()?;
1291
+ if frame.kind != FrameKind::If {
1292
+ bail!(self.offset, "else found outside of an `if` block");
1293
+ }
1294
+ self.push_ctrl(FrameKind::Else, frame.block_type)?;
1295
+ Ok(())
1296
+ }
1297
+ fn visit_try_table(&mut self, mut ty: TryTable) -> Self::Output {
1298
+ self.check_block_type(&mut ty.ty)?;
1299
+ for ty in self.params(ty.ty)?.rev() {
1300
+ self.pop_operand(Some(ty))?;
1301
+ }
1302
+ for catch in ty.catches {
1303
+ match catch {
1304
+ Catch::One { tag, label } => {
1305
+ let tag = self.tag_at(tag)?;
1306
+ let (ty, kind) = self.jump(label)?;
1307
+ let params = tag.params();
1308
+ let types = self.label_types(ty, kind)?;
1309
+ if params.len() != types.len() {
1310
+ bail!(
1311
+ self.offset,
1312
+ "type mismatch: catch label must have same number of types as tag"
1313
+ );
1314
+ }
1315
+ for (expected, actual) in types.zip(params) {
1316
+ self.push_operand(*actual)?;
1317
+ self.pop_operand(Some(expected))?;
1318
+ }
1319
+ }
1320
+ Catch::OneRef { tag, label } => {
1321
+ let tag = self.tag_at(tag)?;
1322
+ let (ty, kind) = self.jump(label)?;
1323
+ let tag_params = tag.params().iter().copied();
1324
+ let label_types = self.label_types(ty, kind)?;
1325
+ if tag_params.len() + 1 != label_types.len() {
1326
+ bail!(
1327
+ self.offset,
1328
+ "type mismatch: catch_ref label must have one \
1329
+ more type than tag types",
1330
+ );
1331
+ }
1332
+ for (expected_label_tyep, actual_tag_param) in
1333
+ label_types.zip(tag_params.chain([ValType::EXNREF]))
1334
+ {
1335
+ self.push_operand(actual_tag_param)?;
1336
+ self.pop_operand(Some(expected_label_tyep))?;
1337
+ }
1338
+ }
1339
+
1340
+ Catch::All { label } => {
1341
+ let (ty, kind) = self.jump(label)?;
1342
+ if self.label_types(ty, kind)?.len() != 0 {
1343
+ bail!(
1344
+ self.offset,
1345
+ "type mismatch: catch_all label must have no result types"
1346
+ );
1347
+ }
1348
+ }
1349
+
1350
+ Catch::AllRef { label } => {
1351
+ let (ty, kind) = self.jump(label)?;
1352
+ let mut types = self.label_types(ty, kind)?;
1353
+ match (types.next(), types.next()) {
1354
+ (Some(ValType::EXNREF), None) => {}
1355
+ _ => {
1356
+ bail!(
1357
+ self.offset,
1358
+ "type mismatch: catch_all_ref label must have \
1359
+ one exnref result type"
1360
+ );
1361
+ }
1362
+ }
1363
+ }
1364
+ }
1365
+ }
1366
+ self.push_ctrl(FrameKind::TryTable, ty.ty)?;
1367
+ Ok(())
1368
+ }
1369
+ fn visit_throw(&mut self, index: u32) -> Self::Output {
1370
+ // Check values associated with the exception.
1371
+ let ty = self.tag_at(index)?;
1372
+ for ty in ty.clone().params().iter().rev() {
1373
+ self.pop_operand(Some(*ty))?;
1374
+ }
1375
+ if ty.results().len() > 0 {
1376
+ bail!(
1377
+ self.offset,
1378
+ "result type expected to be empty for exception"
1379
+ );
1380
+ }
1381
+ self.unreachable()?;
1382
+ Ok(())
1383
+ }
1384
+ fn visit_throw_ref(&mut self) -> Self::Output {
1385
+ self.pop_operand(Some(ValType::EXNREF))?;
1386
+ self.unreachable()?;
1387
+ Ok(())
1388
+ }
1389
+ fn visit_try(&mut self, _: BlockType) -> Self::Output {
1390
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1391
+ }
1392
+ fn visit_catch(&mut self, _: u32) -> Self::Output {
1393
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1394
+ }
1395
+ fn visit_rethrow(&mut self, _: u32) -> Self::Output {
1396
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1397
+ }
1398
+ fn visit_delegate(&mut self, _: u32) -> Self::Output {
1399
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1400
+ }
1401
+ fn visit_catch_all(&mut self) -> Self::Output {
1402
+ bail!(self.offset, "unimplemented validation of deprecated opcode")
1403
+ }
1404
+ fn visit_end(&mut self) -> Self::Output {
1405
+ let mut frame = self.pop_ctrl()?;
1406
+
1407
+ // Note that this `if` isn't included in the appendix right
1408
+ // now, but it's used to allow for `if` statements that are
1409
+ // missing an `else` block which have the same parameter/return
1410
+ // types on the block (since that's valid).
1411
+ if frame.kind == FrameKind::If {
1412
+ self.push_ctrl(FrameKind::Else, frame.block_type)?;
1413
+ frame = self.pop_ctrl()?;
1414
+ }
1415
+ for ty in self.results(frame.block_type)? {
1416
+ self.push_operand(ty)?;
1417
+ }
1418
+
1419
+ if self.control.is_empty() && self.end_which_emptied_control.is_none() {
1420
+ assert_ne!(self.offset, 0);
1421
+ self.end_which_emptied_control = Some(self.offset);
1422
+ }
1423
+ Ok(())
1424
+ }
1425
+ fn visit_br(&mut self, relative_depth: u32) -> Self::Output {
1426
+ let (ty, kind) = self.jump(relative_depth)?;
1427
+ for ty in self.label_types(ty, kind)?.rev() {
1428
+ self.pop_operand(Some(ty))?;
1429
+ }
1430
+ self.unreachable()?;
1431
+ Ok(())
1432
+ }
1433
+ fn visit_br_if(&mut self, relative_depth: u32) -> Self::Output {
1434
+ self.pop_operand(Some(ValType::I32))?;
1435
+ let (ty, kind) = self.jump(relative_depth)?;
1436
+ let label_types = self.label_types(ty, kind)?;
1437
+ self.pop_push_label_types(label_types)?;
1438
+ Ok(())
1439
+ }
1440
+ fn visit_br_table(&mut self, table: BrTable) -> Self::Output {
1441
+ self.pop_operand(Some(ValType::I32))?;
1442
+ let default = self.jump(table.default())?;
1443
+ let default_types = self.label_types(default.0, default.1)?;
1444
+ for element in table.targets() {
1445
+ let relative_depth = element?;
1446
+ let block = self.jump(relative_depth)?;
1447
+ let label_tys = self.label_types(block.0, block.1)?;
1448
+ if label_tys.len() != default_types.len() {
1449
+ bail!(
1450
+ self.offset,
1451
+ "type mismatch: br_table target labels have different number of types"
1452
+ );
1453
+ }
1454
+
1455
+ debug_assert!(self.popped_types_tmp.is_empty());
1456
+ self.popped_types_tmp.reserve(label_tys.len());
1457
+ for expected_ty in label_tys.rev() {
1458
+ let actual_ty = self.pop_operand(Some(expected_ty))?;
1459
+ self.popped_types_tmp.push(actual_ty);
1460
+ }
1461
+ for ty in self.inner.popped_types_tmp.drain(..).rev() {
1462
+ self.inner.operands.push(ty.into());
1463
+ }
1464
+ }
1465
+ for ty in default_types.rev() {
1466
+ self.pop_operand(Some(ty))?;
1467
+ }
1468
+ self.unreachable()?;
1469
+ Ok(())
1470
+ }
1471
+ fn visit_return(&mut self) -> Self::Output {
1472
+ self.check_return()?;
1473
+ Ok(())
1474
+ }
1475
+ fn visit_call(&mut self, function_index: u32) -> Self::Output {
1476
+ self.check_call(function_index)?;
1477
+ Ok(())
1478
+ }
1479
+ fn visit_return_call(&mut self, function_index: u32) -> Self::Output {
1480
+ self.check_call(function_index)?;
1481
+ self.check_return()?;
1482
+ Ok(())
1483
+ }
1484
+ fn visit_call_ref(&mut self, type_index: u32) -> Self::Output {
1485
+ let unpacked_index = UnpackedIndex::Module(type_index);
1486
+ let mut hty = HeapType::Concrete(unpacked_index);
1487
+ self.resources.check_heap_type(&mut hty, self.offset)?;
1488
+ // If `None` is popped then that means a "bottom" type was popped which
1489
+ // is always considered equivalent to the `hty` tag.
1490
+ if let Some(rt) = self.pop_ref()? {
1491
+ let expected = RefType::new(true, hty).expect("hty should be previously validated");
1492
+ let expected = ValType::Ref(expected);
1493
+ if !self.resources.is_subtype(ValType::Ref(rt), expected) {
1494
+ bail!(
1495
+ self.offset,
1496
+ "type mismatch: funcref on stack does not match specified type",
1497
+ );
1498
+ }
1499
+ }
1500
+ self.check_call_type_index(type_index)
1501
+ }
1502
+ fn visit_return_call_ref(&mut self, type_index: u32) -> Self::Output {
1503
+ self.visit_call_ref(type_index)?;
1504
+ self.check_return()
1505
+ }
1506
+ fn visit_call_indirect(
1507
+ &mut self,
1508
+ index: u32,
1509
+ table_index: u32,
1510
+ table_byte: u8,
1511
+ ) -> Self::Output {
1512
+ if table_byte != 0 && !self.features.reference_types {
1513
+ bail!(
1514
+ self.offset,
1515
+ "reference-types not enabled: zero byte expected"
1516
+ );
1517
+ }
1518
+ self.check_call_indirect(index, table_index)?;
1519
+ Ok(())
1520
+ }
1521
+ fn visit_return_call_indirect(&mut self, index: u32, table_index: u32) -> Self::Output {
1522
+ self.check_call_indirect(index, table_index)?;
1523
+ self.check_return()?;
1524
+ Ok(())
1525
+ }
1526
+ fn visit_drop(&mut self) -> Self::Output {
1527
+ self.pop_operand(None)?;
1528
+ Ok(())
1529
+ }
1530
+ fn visit_select(&mut self) -> Self::Output {
1531
+ self.pop_operand(Some(ValType::I32))?;
1532
+ let ty1 = self.pop_operand(None)?;
1533
+ let ty2 = self.pop_operand(None)?;
1534
+
1535
+ let ty = match (ty1, ty2) {
1536
+ // All heap-related types aren't allowed with the `select`
1537
+ // instruction
1538
+ (MaybeType::HeapBot, _)
1539
+ | (_, MaybeType::HeapBot)
1540
+ | (MaybeType::Type(ValType::Ref(_)), _)
1541
+ | (_, MaybeType::Type(ValType::Ref(_))) => {
1542
+ bail!(
1543
+ self.offset,
1544
+ "type mismatch: select only takes integral types"
1545
+ )
1546
+ }
1547
+
1548
+ // If one operand is the "bottom" type then whatever the other
1549
+ // operand is is the result of the `select`
1550
+ (MaybeType::Bot, t) | (t, MaybeType::Bot) => t,
1551
+
1552
+ // Otherwise these are two integral types and they must match for
1553
+ // `select` to typecheck.
1554
+ (t @ MaybeType::Type(t1), MaybeType::Type(t2)) => {
1555
+ if t1 != t2 {
1556
+ bail!(
1557
+ self.offset,
1558
+ "type mismatch: select operands have different types"
1559
+ );
1560
+ }
1561
+ t
1562
+ }
1563
+ };
1564
+ self.push_operand(ty)?;
1565
+ Ok(())
1566
+ }
1567
+ fn visit_typed_select(&mut self, mut ty: ValType) -> Self::Output {
1568
+ self.resources
1569
+ .check_value_type(&mut ty, &self.features, self.offset)?;
1570
+ self.pop_operand(Some(ValType::I32))?;
1571
+ self.pop_operand(Some(ty))?;
1572
+ self.pop_operand(Some(ty))?;
1573
+ self.push_operand(ty)?;
1574
+ Ok(())
1575
+ }
1576
+ fn visit_local_get(&mut self, local_index: u32) -> Self::Output {
1577
+ let ty = self.local(local_index)?;
1578
+ debug_assert_type_indices_are_ids(ty);
1579
+ if !self.local_inits[local_index as usize] {
1580
+ bail!(self.offset, "uninitialized local: {}", local_index);
1581
+ }
1582
+ self.push_operand(ty)?;
1583
+ Ok(())
1584
+ }
1585
+ fn visit_local_set(&mut self, local_index: u32) -> Self::Output {
1586
+ let ty = self.local(local_index)?;
1587
+ self.pop_operand(Some(ty))?;
1588
+ if !self.local_inits[local_index as usize] {
1589
+ self.local_inits[local_index as usize] = true;
1590
+ self.inits.push(local_index);
1591
+ }
1592
+ Ok(())
1593
+ }
1594
+ fn visit_local_tee(&mut self, local_index: u32) -> Self::Output {
1595
+ let expected_ty = self.local(local_index)?;
1596
+ let actual_ty = self.pop_operand(Some(expected_ty))?;
1597
+ if !self.local_inits[local_index as usize] {
1598
+ self.local_inits[local_index as usize] = true;
1599
+ self.inits.push(local_index);
1600
+ }
1601
+
1602
+ self.push_operand(actual_ty)?;
1603
+ Ok(())
1604
+ }
1605
+ fn visit_global_get(&mut self, global_index: u32) -> Self::Output {
1606
+ if let Some(ty) = self.resources.global_at(global_index) {
1607
+ let ty = ty.content_type;
1608
+ debug_assert_type_indices_are_ids(ty);
1609
+ self.push_operand(ty)?;
1610
+ } else {
1611
+ bail!(self.offset, "unknown global: global index out of bounds");
1612
+ };
1613
+ Ok(())
1614
+ }
1615
+ fn visit_global_set(&mut self, global_index: u32) -> Self::Output {
1616
+ if let Some(ty) = self.resources.global_at(global_index) {
1617
+ if !ty.mutable {
1618
+ bail!(
1619
+ self.offset,
1620
+ "global is immutable: cannot modify it with `global.set`"
1621
+ );
1622
+ }
1623
+ self.pop_operand(Some(ty.content_type))?;
1624
+ } else {
1625
+ bail!(self.offset, "unknown global: global index out of bounds");
1626
+ };
1627
+ Ok(())
1628
+ }
1629
+ fn visit_i32_load(&mut self, memarg: MemArg) -> Self::Output {
1630
+ let ty = self.check_memarg(memarg)?;
1631
+ self.pop_operand(Some(ty))?;
1632
+ self.push_operand(ValType::I32)?;
1633
+ Ok(())
1634
+ }
1635
+ fn visit_i64_load(&mut self, memarg: MemArg) -> Self::Output {
1636
+ let ty = self.check_memarg(memarg)?;
1637
+ self.pop_operand(Some(ty))?;
1638
+ self.push_operand(ValType::I64)?;
1639
+ Ok(())
1640
+ }
1641
+ fn visit_f32_load(&mut self, memarg: MemArg) -> Self::Output {
1642
+ self.check_floats_enabled()?;
1643
+ let ty = self.check_memarg(memarg)?;
1644
+ self.pop_operand(Some(ty))?;
1645
+ self.push_operand(ValType::F32)?;
1646
+ Ok(())
1647
+ }
1648
+ fn visit_f64_load(&mut self, memarg: MemArg) -> Self::Output {
1649
+ self.check_floats_enabled()?;
1650
+ let ty = self.check_memarg(memarg)?;
1651
+ self.pop_operand(Some(ty))?;
1652
+ self.push_operand(ValType::F64)?;
1653
+ Ok(())
1654
+ }
1655
+ fn visit_i32_load8_s(&mut self, memarg: MemArg) -> Self::Output {
1656
+ let ty = self.check_memarg(memarg)?;
1657
+ self.pop_operand(Some(ty))?;
1658
+ self.push_operand(ValType::I32)?;
1659
+ Ok(())
1660
+ }
1661
+ fn visit_i32_load8_u(&mut self, memarg: MemArg) -> Self::Output {
1662
+ self.visit_i32_load8_s(memarg)
1663
+ }
1664
+ fn visit_i32_load16_s(&mut self, memarg: MemArg) -> Self::Output {
1665
+ let ty = self.check_memarg(memarg)?;
1666
+ self.pop_operand(Some(ty))?;
1667
+ self.push_operand(ValType::I32)?;
1668
+ Ok(())
1669
+ }
1670
+ fn visit_i32_load16_u(&mut self, memarg: MemArg) -> Self::Output {
1671
+ self.visit_i32_load16_s(memarg)
1672
+ }
1673
+ fn visit_i64_load8_s(&mut self, memarg: MemArg) -> Self::Output {
1674
+ let ty = self.check_memarg(memarg)?;
1675
+ self.pop_operand(Some(ty))?;
1676
+ self.push_operand(ValType::I64)?;
1677
+ Ok(())
1678
+ }
1679
+ fn visit_i64_load8_u(&mut self, memarg: MemArg) -> Self::Output {
1680
+ self.visit_i64_load8_s(memarg)
1681
+ }
1682
+ fn visit_i64_load16_s(&mut self, memarg: MemArg) -> Self::Output {
1683
+ let ty = self.check_memarg(memarg)?;
1684
+ self.pop_operand(Some(ty))?;
1685
+ self.push_operand(ValType::I64)?;
1686
+ Ok(())
1687
+ }
1688
+ fn visit_i64_load16_u(&mut self, memarg: MemArg) -> Self::Output {
1689
+ self.visit_i64_load16_s(memarg)
1690
+ }
1691
+ fn visit_i64_load32_s(&mut self, memarg: MemArg) -> Self::Output {
1692
+ let ty = self.check_memarg(memarg)?;
1693
+ self.pop_operand(Some(ty))?;
1694
+ self.push_operand(ValType::I64)?;
1695
+ Ok(())
1696
+ }
1697
+ fn visit_i64_load32_u(&mut self, memarg: MemArg) -> Self::Output {
1698
+ self.visit_i64_load32_s(memarg)
1699
+ }
1700
+ fn visit_i32_store(&mut self, memarg: MemArg) -> Self::Output {
1701
+ let ty = self.check_memarg(memarg)?;
1702
+ self.pop_operand(Some(ValType::I32))?;
1703
+ self.pop_operand(Some(ty))?;
1704
+ Ok(())
1705
+ }
1706
+ fn visit_i64_store(&mut self, memarg: MemArg) -> Self::Output {
1707
+ let ty = self.check_memarg(memarg)?;
1708
+ self.pop_operand(Some(ValType::I64))?;
1709
+ self.pop_operand(Some(ty))?;
1710
+ Ok(())
1711
+ }
1712
+ fn visit_f32_store(&mut self, memarg: MemArg) -> Self::Output {
1713
+ self.check_floats_enabled()?;
1714
+ let ty = self.check_memarg(memarg)?;
1715
+ self.pop_operand(Some(ValType::F32))?;
1716
+ self.pop_operand(Some(ty))?;
1717
+ Ok(())
1718
+ }
1719
+ fn visit_f64_store(&mut self, memarg: MemArg) -> Self::Output {
1720
+ self.check_floats_enabled()?;
1721
+ let ty = self.check_memarg(memarg)?;
1722
+ self.pop_operand(Some(ValType::F64))?;
1723
+ self.pop_operand(Some(ty))?;
1724
+ Ok(())
1725
+ }
1726
+ fn visit_i32_store8(&mut self, memarg: MemArg) -> Self::Output {
1727
+ let ty = self.check_memarg(memarg)?;
1728
+ self.pop_operand(Some(ValType::I32))?;
1729
+ self.pop_operand(Some(ty))?;
1730
+ Ok(())
1731
+ }
1732
+ fn visit_i32_store16(&mut self, memarg: MemArg) -> Self::Output {
1733
+ let ty = self.check_memarg(memarg)?;
1734
+ self.pop_operand(Some(ValType::I32))?;
1735
+ self.pop_operand(Some(ty))?;
1736
+ Ok(())
1737
+ }
1738
+ fn visit_i64_store8(&mut self, memarg: MemArg) -> Self::Output {
1739
+ let ty = self.check_memarg(memarg)?;
1740
+ self.pop_operand(Some(ValType::I64))?;
1741
+ self.pop_operand(Some(ty))?;
1742
+ Ok(())
1743
+ }
1744
+ fn visit_i64_store16(&mut self, memarg: MemArg) -> Self::Output {
1745
+ let ty = self.check_memarg(memarg)?;
1746
+ self.pop_operand(Some(ValType::I64))?;
1747
+ self.pop_operand(Some(ty))?;
1748
+ Ok(())
1749
+ }
1750
+ fn visit_i64_store32(&mut self, memarg: MemArg) -> Self::Output {
1751
+ let ty = self.check_memarg(memarg)?;
1752
+ self.pop_operand(Some(ValType::I64))?;
1753
+ self.pop_operand(Some(ty))?;
1754
+ Ok(())
1755
+ }
1756
+ fn visit_memory_size(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
1757
+ if mem_byte != 0 && !self.features.multi_memory {
1758
+ bail!(self.offset, "multi-memory not enabled: zero byte expected");
1759
+ }
1760
+ let index_ty = self.check_memory_index(mem)?;
1761
+ self.push_operand(index_ty)?;
1762
+ Ok(())
1763
+ }
1764
+ fn visit_memory_grow(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
1765
+ if mem_byte != 0 && !self.features.multi_memory {
1766
+ bail!(self.offset, "multi-memory not enabled: zero byte expected");
1767
+ }
1768
+ let index_ty = self.check_memory_index(mem)?;
1769
+ self.pop_operand(Some(index_ty))?;
1770
+ self.push_operand(index_ty)?;
1771
+ Ok(())
1772
+ }
1773
+ fn visit_i32_const(&mut self, _value: i32) -> Self::Output {
1774
+ self.push_operand(ValType::I32)?;
1775
+ Ok(())
1776
+ }
1777
+ fn visit_i64_const(&mut self, _value: i64) -> Self::Output {
1778
+ self.push_operand(ValType::I64)?;
1779
+ Ok(())
1780
+ }
1781
+ fn visit_f32_const(&mut self, _value: Ieee32) -> Self::Output {
1782
+ self.check_floats_enabled()?;
1783
+ self.push_operand(ValType::F32)?;
1784
+ Ok(())
1785
+ }
1786
+ fn visit_f64_const(&mut self, _value: Ieee64) -> Self::Output {
1787
+ self.check_floats_enabled()?;
1788
+ self.push_operand(ValType::F64)?;
1789
+ Ok(())
1790
+ }
1791
+ fn visit_i32_eqz(&mut self) -> Self::Output {
1792
+ self.pop_operand(Some(ValType::I32))?;
1793
+ self.push_operand(ValType::I32)?;
1794
+ Ok(())
1795
+ }
1796
+ fn visit_i32_eq(&mut self) -> Self::Output {
1797
+ self.check_cmp_op(ValType::I32)
1798
+ }
1799
+ fn visit_i32_ne(&mut self) -> Self::Output {
1800
+ self.check_cmp_op(ValType::I32)
1801
+ }
1802
+ fn visit_i32_lt_s(&mut self) -> Self::Output {
1803
+ self.check_cmp_op(ValType::I32)
1804
+ }
1805
+ fn visit_i32_lt_u(&mut self) -> Self::Output {
1806
+ self.check_cmp_op(ValType::I32)
1807
+ }
1808
+ fn visit_i32_gt_s(&mut self) -> Self::Output {
1809
+ self.check_cmp_op(ValType::I32)
1810
+ }
1811
+ fn visit_i32_gt_u(&mut self) -> Self::Output {
1812
+ self.check_cmp_op(ValType::I32)
1813
+ }
1814
+ fn visit_i32_le_s(&mut self) -> Self::Output {
1815
+ self.check_cmp_op(ValType::I32)
1816
+ }
1817
+ fn visit_i32_le_u(&mut self) -> Self::Output {
1818
+ self.check_cmp_op(ValType::I32)
1819
+ }
1820
+ fn visit_i32_ge_s(&mut self) -> Self::Output {
1821
+ self.check_cmp_op(ValType::I32)
1822
+ }
1823
+ fn visit_i32_ge_u(&mut self) -> Self::Output {
1824
+ self.check_cmp_op(ValType::I32)
1825
+ }
1826
+ fn visit_i64_eqz(&mut self) -> Self::Output {
1827
+ self.pop_operand(Some(ValType::I64))?;
1828
+ self.push_operand(ValType::I32)?;
1829
+ Ok(())
1830
+ }
1831
+ fn visit_i64_eq(&mut self) -> Self::Output {
1832
+ self.check_cmp_op(ValType::I64)
1833
+ }
1834
+ fn visit_i64_ne(&mut self) -> Self::Output {
1835
+ self.check_cmp_op(ValType::I64)
1836
+ }
1837
+ fn visit_i64_lt_s(&mut self) -> Self::Output {
1838
+ self.check_cmp_op(ValType::I64)
1839
+ }
1840
+ fn visit_i64_lt_u(&mut self) -> Self::Output {
1841
+ self.check_cmp_op(ValType::I64)
1842
+ }
1843
+ fn visit_i64_gt_s(&mut self) -> Self::Output {
1844
+ self.check_cmp_op(ValType::I64)
1845
+ }
1846
+ fn visit_i64_gt_u(&mut self) -> Self::Output {
1847
+ self.check_cmp_op(ValType::I64)
1848
+ }
1849
+ fn visit_i64_le_s(&mut self) -> Self::Output {
1850
+ self.check_cmp_op(ValType::I64)
1851
+ }
1852
+ fn visit_i64_le_u(&mut self) -> Self::Output {
1853
+ self.check_cmp_op(ValType::I64)
1854
+ }
1855
+ fn visit_i64_ge_s(&mut self) -> Self::Output {
1856
+ self.check_cmp_op(ValType::I64)
1857
+ }
1858
+ fn visit_i64_ge_u(&mut self) -> Self::Output {
1859
+ self.check_cmp_op(ValType::I64)
1860
+ }
1861
+ fn visit_f32_eq(&mut self) -> Self::Output {
1862
+ self.check_fcmp_op(ValType::F32)
1863
+ }
1864
+ fn visit_f32_ne(&mut self) -> Self::Output {
1865
+ self.check_fcmp_op(ValType::F32)
1866
+ }
1867
+ fn visit_f32_lt(&mut self) -> Self::Output {
1868
+ self.check_fcmp_op(ValType::F32)
1869
+ }
1870
+ fn visit_f32_gt(&mut self) -> Self::Output {
1871
+ self.check_fcmp_op(ValType::F32)
1872
+ }
1873
+ fn visit_f32_le(&mut self) -> Self::Output {
1874
+ self.check_fcmp_op(ValType::F32)
1875
+ }
1876
+ fn visit_f32_ge(&mut self) -> Self::Output {
1877
+ self.check_fcmp_op(ValType::F32)
1878
+ }
1879
+ fn visit_f64_eq(&mut self) -> Self::Output {
1880
+ self.check_fcmp_op(ValType::F64)
1881
+ }
1882
+ fn visit_f64_ne(&mut self) -> Self::Output {
1883
+ self.check_fcmp_op(ValType::F64)
1884
+ }
1885
+ fn visit_f64_lt(&mut self) -> Self::Output {
1886
+ self.check_fcmp_op(ValType::F64)
1887
+ }
1888
+ fn visit_f64_gt(&mut self) -> Self::Output {
1889
+ self.check_fcmp_op(ValType::F64)
1890
+ }
1891
+ fn visit_f64_le(&mut self) -> Self::Output {
1892
+ self.check_fcmp_op(ValType::F64)
1893
+ }
1894
+ fn visit_f64_ge(&mut self) -> Self::Output {
1895
+ self.check_fcmp_op(ValType::F64)
1896
+ }
1897
+ fn visit_i32_clz(&mut self) -> Self::Output {
1898
+ self.check_unary_op(ValType::I32)
1899
+ }
1900
+ fn visit_i32_ctz(&mut self) -> Self::Output {
1901
+ self.check_unary_op(ValType::I32)
1902
+ }
1903
+ fn visit_i32_popcnt(&mut self) -> Self::Output {
1904
+ self.check_unary_op(ValType::I32)
1905
+ }
1906
+ fn visit_i32_add(&mut self) -> Self::Output {
1907
+ self.check_binary_op(ValType::I32)
1908
+ }
1909
+ fn visit_i32_sub(&mut self) -> Self::Output {
1910
+ self.check_binary_op(ValType::I32)
1911
+ }
1912
+ fn visit_i32_mul(&mut self) -> Self::Output {
1913
+ self.check_binary_op(ValType::I32)
1914
+ }
1915
+ fn visit_i32_div_s(&mut self) -> Self::Output {
1916
+ self.check_binary_op(ValType::I32)
1917
+ }
1918
+ fn visit_i32_div_u(&mut self) -> Self::Output {
1919
+ self.check_binary_op(ValType::I32)
1920
+ }
1921
+ fn visit_i32_rem_s(&mut self) -> Self::Output {
1922
+ self.check_binary_op(ValType::I32)
1923
+ }
1924
+ fn visit_i32_rem_u(&mut self) -> Self::Output {
1925
+ self.check_binary_op(ValType::I32)
1926
+ }
1927
+ fn visit_i32_and(&mut self) -> Self::Output {
1928
+ self.check_binary_op(ValType::I32)
1929
+ }
1930
+ fn visit_i32_or(&mut self) -> Self::Output {
1931
+ self.check_binary_op(ValType::I32)
1932
+ }
1933
+ fn visit_i32_xor(&mut self) -> Self::Output {
1934
+ self.check_binary_op(ValType::I32)
1935
+ }
1936
+ fn visit_i32_shl(&mut self) -> Self::Output {
1937
+ self.check_binary_op(ValType::I32)
1938
+ }
1939
+ fn visit_i32_shr_s(&mut self) -> Self::Output {
1940
+ self.check_binary_op(ValType::I32)
1941
+ }
1942
+ fn visit_i32_shr_u(&mut self) -> Self::Output {
1943
+ self.check_binary_op(ValType::I32)
1944
+ }
1945
+ fn visit_i32_rotl(&mut self) -> Self::Output {
1946
+ self.check_binary_op(ValType::I32)
1947
+ }
1948
+ fn visit_i32_rotr(&mut self) -> Self::Output {
1949
+ self.check_binary_op(ValType::I32)
1950
+ }
1951
+ fn visit_i64_clz(&mut self) -> Self::Output {
1952
+ self.check_unary_op(ValType::I64)
1953
+ }
1954
+ fn visit_i64_ctz(&mut self) -> Self::Output {
1955
+ self.check_unary_op(ValType::I64)
1956
+ }
1957
+ fn visit_i64_popcnt(&mut self) -> Self::Output {
1958
+ self.check_unary_op(ValType::I64)
1959
+ }
1960
+ fn visit_i64_add(&mut self) -> Self::Output {
1961
+ self.check_binary_op(ValType::I64)
1962
+ }
1963
+ fn visit_i64_sub(&mut self) -> Self::Output {
1964
+ self.check_binary_op(ValType::I64)
1965
+ }
1966
+ fn visit_i64_mul(&mut self) -> Self::Output {
1967
+ self.check_binary_op(ValType::I64)
1968
+ }
1969
+ fn visit_i64_div_s(&mut self) -> Self::Output {
1970
+ self.check_binary_op(ValType::I64)
1971
+ }
1972
+ fn visit_i64_div_u(&mut self) -> Self::Output {
1973
+ self.check_binary_op(ValType::I64)
1974
+ }
1975
+ fn visit_i64_rem_s(&mut self) -> Self::Output {
1976
+ self.check_binary_op(ValType::I64)
1977
+ }
1978
+ fn visit_i64_rem_u(&mut self) -> Self::Output {
1979
+ self.check_binary_op(ValType::I64)
1980
+ }
1981
+ fn visit_i64_and(&mut self) -> Self::Output {
1982
+ self.check_binary_op(ValType::I64)
1983
+ }
1984
+ fn visit_i64_or(&mut self) -> Self::Output {
1985
+ self.check_binary_op(ValType::I64)
1986
+ }
1987
+ fn visit_i64_xor(&mut self) -> Self::Output {
1988
+ self.check_binary_op(ValType::I64)
1989
+ }
1990
+ fn visit_i64_shl(&mut self) -> Self::Output {
1991
+ self.check_binary_op(ValType::I64)
1992
+ }
1993
+ fn visit_i64_shr_s(&mut self) -> Self::Output {
1994
+ self.check_binary_op(ValType::I64)
1995
+ }
1996
+ fn visit_i64_shr_u(&mut self) -> Self::Output {
1997
+ self.check_binary_op(ValType::I64)
1998
+ }
1999
+ fn visit_i64_rotl(&mut self) -> Self::Output {
2000
+ self.check_binary_op(ValType::I64)
2001
+ }
2002
+ fn visit_i64_rotr(&mut self) -> Self::Output {
2003
+ self.check_binary_op(ValType::I64)
2004
+ }
2005
+ fn visit_f32_abs(&mut self) -> Self::Output {
2006
+ self.check_funary_op(ValType::F32)
2007
+ }
2008
+ fn visit_f32_neg(&mut self) -> Self::Output {
2009
+ self.check_funary_op(ValType::F32)
2010
+ }
2011
+ fn visit_f32_ceil(&mut self) -> Self::Output {
2012
+ self.check_funary_op(ValType::F32)
2013
+ }
2014
+ fn visit_f32_floor(&mut self) -> Self::Output {
2015
+ self.check_funary_op(ValType::F32)
2016
+ }
2017
+ fn visit_f32_trunc(&mut self) -> Self::Output {
2018
+ self.check_funary_op(ValType::F32)
2019
+ }
2020
+ fn visit_f32_nearest(&mut self) -> Self::Output {
2021
+ self.check_funary_op(ValType::F32)
2022
+ }
2023
+ fn visit_f32_sqrt(&mut self) -> Self::Output {
2024
+ self.check_funary_op(ValType::F32)
2025
+ }
2026
+ fn visit_f32_add(&mut self) -> Self::Output {
2027
+ self.check_fbinary_op(ValType::F32)
2028
+ }
2029
+ fn visit_f32_sub(&mut self) -> Self::Output {
2030
+ self.check_fbinary_op(ValType::F32)
2031
+ }
2032
+ fn visit_f32_mul(&mut self) -> Self::Output {
2033
+ self.check_fbinary_op(ValType::F32)
2034
+ }
2035
+ fn visit_f32_div(&mut self) -> Self::Output {
2036
+ self.check_fbinary_op(ValType::F32)
2037
+ }
2038
+ fn visit_f32_min(&mut self) -> Self::Output {
2039
+ self.check_fbinary_op(ValType::F32)
2040
+ }
2041
+ fn visit_f32_max(&mut self) -> Self::Output {
2042
+ self.check_fbinary_op(ValType::F32)
2043
+ }
2044
+ fn visit_f32_copysign(&mut self) -> Self::Output {
2045
+ self.check_fbinary_op(ValType::F32)
2046
+ }
2047
+ fn visit_f64_abs(&mut self) -> Self::Output {
2048
+ self.check_funary_op(ValType::F64)
2049
+ }
2050
+ fn visit_f64_neg(&mut self) -> Self::Output {
2051
+ self.check_funary_op(ValType::F64)
2052
+ }
2053
+ fn visit_f64_ceil(&mut self) -> Self::Output {
2054
+ self.check_funary_op(ValType::F64)
2055
+ }
2056
+ fn visit_f64_floor(&mut self) -> Self::Output {
2057
+ self.check_funary_op(ValType::F64)
2058
+ }
2059
+ fn visit_f64_trunc(&mut self) -> Self::Output {
2060
+ self.check_funary_op(ValType::F64)
2061
+ }
2062
+ fn visit_f64_nearest(&mut self) -> Self::Output {
2063
+ self.check_funary_op(ValType::F64)
2064
+ }
2065
+ fn visit_f64_sqrt(&mut self) -> Self::Output {
2066
+ self.check_funary_op(ValType::F64)
2067
+ }
2068
+ fn visit_f64_add(&mut self) -> Self::Output {
2069
+ self.check_fbinary_op(ValType::F64)
2070
+ }
2071
+ fn visit_f64_sub(&mut self) -> Self::Output {
2072
+ self.check_fbinary_op(ValType::F64)
2073
+ }
2074
+ fn visit_f64_mul(&mut self) -> Self::Output {
2075
+ self.check_fbinary_op(ValType::F64)
2076
+ }
2077
+ fn visit_f64_div(&mut self) -> Self::Output {
2078
+ self.check_fbinary_op(ValType::F64)
2079
+ }
2080
+ fn visit_f64_min(&mut self) -> Self::Output {
2081
+ self.check_fbinary_op(ValType::F64)
2082
+ }
2083
+ fn visit_f64_max(&mut self) -> Self::Output {
2084
+ self.check_fbinary_op(ValType::F64)
2085
+ }
2086
+ fn visit_f64_copysign(&mut self) -> Self::Output {
2087
+ self.check_fbinary_op(ValType::F64)
2088
+ }
2089
+ fn visit_i32_wrap_i64(&mut self) -> Self::Output {
2090
+ self.check_conversion_op(ValType::I32, ValType::I64)
2091
+ }
2092
+ fn visit_i32_trunc_f32_s(&mut self) -> Self::Output {
2093
+ self.check_conversion_op(ValType::I32, ValType::F32)
2094
+ }
2095
+ fn visit_i32_trunc_f32_u(&mut self) -> Self::Output {
2096
+ self.check_conversion_op(ValType::I32, ValType::F32)
2097
+ }
2098
+ fn visit_i32_trunc_f64_s(&mut self) -> Self::Output {
2099
+ self.check_conversion_op(ValType::I32, ValType::F64)
2100
+ }
2101
+ fn visit_i32_trunc_f64_u(&mut self) -> Self::Output {
2102
+ self.check_conversion_op(ValType::I32, ValType::F64)
2103
+ }
2104
+ fn visit_i64_extend_i32_s(&mut self) -> Self::Output {
2105
+ self.check_conversion_op(ValType::I64, ValType::I32)
2106
+ }
2107
+ fn visit_i64_extend_i32_u(&mut self) -> Self::Output {
2108
+ self.check_conversion_op(ValType::I64, ValType::I32)
2109
+ }
2110
+ fn visit_i64_trunc_f32_s(&mut self) -> Self::Output {
2111
+ self.check_conversion_op(ValType::I64, ValType::F32)
2112
+ }
2113
+ fn visit_i64_trunc_f32_u(&mut self) -> Self::Output {
2114
+ self.check_conversion_op(ValType::I64, ValType::F32)
2115
+ }
2116
+ fn visit_i64_trunc_f64_s(&mut self) -> Self::Output {
2117
+ self.check_conversion_op(ValType::I64, ValType::F64)
2118
+ }
2119
+ fn visit_i64_trunc_f64_u(&mut self) -> Self::Output {
2120
+ self.check_conversion_op(ValType::I64, ValType::F64)
2121
+ }
2122
+ fn visit_f32_convert_i32_s(&mut self) -> Self::Output {
2123
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2124
+ }
2125
+ fn visit_f32_convert_i32_u(&mut self) -> Self::Output {
2126
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2127
+ }
2128
+ fn visit_f32_convert_i64_s(&mut self) -> Self::Output {
2129
+ self.check_fconversion_op(ValType::F32, ValType::I64)
2130
+ }
2131
+ fn visit_f32_convert_i64_u(&mut self) -> Self::Output {
2132
+ self.check_fconversion_op(ValType::F32, ValType::I64)
2133
+ }
2134
+ fn visit_f32_demote_f64(&mut self) -> Self::Output {
2135
+ self.check_fconversion_op(ValType::F32, ValType::F64)
2136
+ }
2137
+ fn visit_f64_convert_i32_s(&mut self) -> Self::Output {
2138
+ self.check_fconversion_op(ValType::F64, ValType::I32)
2139
+ }
2140
+ fn visit_f64_convert_i32_u(&mut self) -> Self::Output {
2141
+ self.check_fconversion_op(ValType::F64, ValType::I32)
2142
+ }
2143
+ fn visit_f64_convert_i64_s(&mut self) -> Self::Output {
2144
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2145
+ }
2146
+ fn visit_f64_convert_i64_u(&mut self) -> Self::Output {
2147
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2148
+ }
2149
+ fn visit_f64_promote_f32(&mut self) -> Self::Output {
2150
+ self.check_fconversion_op(ValType::F64, ValType::F32)
2151
+ }
2152
+ fn visit_i32_reinterpret_f32(&mut self) -> Self::Output {
2153
+ self.check_conversion_op(ValType::I32, ValType::F32)
2154
+ }
2155
+ fn visit_i64_reinterpret_f64(&mut self) -> Self::Output {
2156
+ self.check_conversion_op(ValType::I64, ValType::F64)
2157
+ }
2158
+ fn visit_f32_reinterpret_i32(&mut self) -> Self::Output {
2159
+ self.check_fconversion_op(ValType::F32, ValType::I32)
2160
+ }
2161
+ fn visit_f64_reinterpret_i64(&mut self) -> Self::Output {
2162
+ self.check_fconversion_op(ValType::F64, ValType::I64)
2163
+ }
2164
+ fn visit_i32_trunc_sat_f32_s(&mut self) -> Self::Output {
2165
+ self.check_conversion_op(ValType::I32, ValType::F32)
2166
+ }
2167
+ fn visit_i32_trunc_sat_f32_u(&mut self) -> Self::Output {
2168
+ self.check_conversion_op(ValType::I32, ValType::F32)
2169
+ }
2170
+ fn visit_i32_trunc_sat_f64_s(&mut self) -> Self::Output {
2171
+ self.check_conversion_op(ValType::I32, ValType::F64)
2172
+ }
2173
+ fn visit_i32_trunc_sat_f64_u(&mut self) -> Self::Output {
2174
+ self.check_conversion_op(ValType::I32, ValType::F64)
2175
+ }
2176
+ fn visit_i64_trunc_sat_f32_s(&mut self) -> Self::Output {
2177
+ self.check_conversion_op(ValType::I64, ValType::F32)
2178
+ }
2179
+ fn visit_i64_trunc_sat_f32_u(&mut self) -> Self::Output {
2180
+ self.check_conversion_op(ValType::I64, ValType::F32)
2181
+ }
2182
+ fn visit_i64_trunc_sat_f64_s(&mut self) -> Self::Output {
2183
+ self.check_conversion_op(ValType::I64, ValType::F64)
2184
+ }
2185
+ fn visit_i64_trunc_sat_f64_u(&mut self) -> Self::Output {
2186
+ self.check_conversion_op(ValType::I64, ValType::F64)
2187
+ }
2188
+ fn visit_i32_extend8_s(&mut self) -> Self::Output {
2189
+ self.check_unary_op(ValType::I32)
2190
+ }
2191
+ fn visit_i32_extend16_s(&mut self) -> Self::Output {
2192
+ self.check_unary_op(ValType::I32)
2193
+ }
2194
+ fn visit_i64_extend8_s(&mut self) -> Self::Output {
2195
+ self.check_unary_op(ValType::I64)
2196
+ }
2197
+ fn visit_i64_extend16_s(&mut self) -> Self::Output {
2198
+ self.check_unary_op(ValType::I64)
2199
+ }
2200
+ fn visit_i64_extend32_s(&mut self) -> Self::Output {
2201
+ self.check_unary_op(ValType::I64)
2202
+ }
2203
+ fn visit_i32_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
2204
+ self.check_atomic_load(memarg, ValType::I32)
2205
+ }
2206
+ fn visit_i32_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
2207
+ self.check_atomic_load(memarg, ValType::I32)
2208
+ }
2209
+ fn visit_i32_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
2210
+ self.check_atomic_load(memarg, ValType::I32)
2211
+ }
2212
+ fn visit_i64_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
2213
+ self.check_atomic_load(memarg, ValType::I64)
2214
+ }
2215
+ fn visit_i64_atomic_load32_u(&mut self, memarg: MemArg) -> Self::Output {
2216
+ self.check_atomic_load(memarg, ValType::I64)
2217
+ }
2218
+ fn visit_i64_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
2219
+ self.check_atomic_load(memarg, ValType::I64)
2220
+ }
2221
+ fn visit_i64_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
2222
+ self.check_atomic_load(memarg, ValType::I64)
2223
+ }
2224
+ fn visit_i32_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
2225
+ self.check_atomic_store(memarg, ValType::I32)
2226
+ }
2227
+ fn visit_i32_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
2228
+ self.check_atomic_store(memarg, ValType::I32)
2229
+ }
2230
+ fn visit_i32_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
2231
+ self.check_atomic_store(memarg, ValType::I32)
2232
+ }
2233
+ fn visit_i64_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
2234
+ self.check_atomic_store(memarg, ValType::I64)
2235
+ }
2236
+ fn visit_i64_atomic_store32(&mut self, memarg: MemArg) -> Self::Output {
2237
+ self.check_atomic_store(memarg, ValType::I64)
2238
+ }
2239
+ fn visit_i64_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
2240
+ self.check_atomic_store(memarg, ValType::I64)
2241
+ }
2242
+ fn visit_i64_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
2243
+ self.check_atomic_store(memarg, ValType::I64)
2244
+ }
2245
+ fn visit_i32_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
2246
+ self.check_atomic_binary_op(memarg, ValType::I32)
2247
+ }
2248
+ fn visit_i32_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
2249
+ self.check_atomic_binary_op(memarg, ValType::I32)
2250
+ }
2251
+ fn visit_i32_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
2252
+ self.check_atomic_binary_op(memarg, ValType::I32)
2253
+ }
2254
+ fn visit_i32_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
2255
+ self.check_atomic_binary_op(memarg, ValType::I32)
2256
+ }
2257
+ fn visit_i32_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
2258
+ self.check_atomic_binary_op(memarg, ValType::I32)
2259
+ }
2260
+ fn visit_i32_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
2261
+ self.check_atomic_binary_op(memarg, ValType::I32)
2262
+ }
2263
+ fn visit_i32_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2264
+ self.check_atomic_binary_op(memarg, ValType::I32)
2265
+ }
2266
+ fn visit_i32_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
2267
+ self.check_atomic_binary_op(memarg, ValType::I32)
2268
+ }
2269
+ fn visit_i32_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
2270
+ self.check_atomic_binary_op(memarg, ValType::I32)
2271
+ }
2272
+ fn visit_i32_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2273
+ self.check_atomic_binary_op(memarg, ValType::I32)
2274
+ }
2275
+ fn visit_i32_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
2276
+ self.check_atomic_binary_op(memarg, ValType::I32)
2277
+ }
2278
+ fn visit_i32_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2279
+ self.check_atomic_binary_op(memarg, ValType::I32)
2280
+ }
2281
+ fn visit_i32_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
2282
+ self.check_atomic_binary_op(memarg, ValType::I32)
2283
+ }
2284
+ fn visit_i32_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
2285
+ self.check_atomic_binary_op(memarg, ValType::I32)
2286
+ }
2287
+ fn visit_i32_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2288
+ self.check_atomic_binary_op(memarg, ValType::I32)
2289
+ }
2290
+ fn visit_i64_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
2291
+ self.check_atomic_binary_op(memarg, ValType::I64)
2292
+ }
2293
+ fn visit_i64_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
2294
+ self.check_atomic_binary_op(memarg, ValType::I64)
2295
+ }
2296
+ fn visit_i64_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
2297
+ self.check_atomic_binary_op(memarg, ValType::I64)
2298
+ }
2299
+ fn visit_i64_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
2300
+ self.check_atomic_binary_op(memarg, ValType::I64)
2301
+ }
2302
+ fn visit_i64_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
2303
+ self.check_atomic_binary_op(memarg, ValType::I64)
2304
+ }
2305
+ fn visit_i64_atomic_rmw32_add_u(&mut self, memarg: MemArg) -> Self::Output {
2306
+ self.check_atomic_binary_op(memarg, ValType::I64)
2307
+ }
2308
+ fn visit_i64_atomic_rmw32_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2309
+ self.check_atomic_binary_op(memarg, ValType::I64)
2310
+ }
2311
+ fn visit_i64_atomic_rmw32_and_u(&mut self, memarg: MemArg) -> Self::Output {
2312
+ self.check_atomic_binary_op(memarg, ValType::I64)
2313
+ }
2314
+ fn visit_i64_atomic_rmw32_or_u(&mut self, memarg: MemArg) -> Self::Output {
2315
+ self.check_atomic_binary_op(memarg, ValType::I64)
2316
+ }
2317
+ fn visit_i64_atomic_rmw32_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2318
+ self.check_atomic_binary_op(memarg, ValType::I64)
2319
+ }
2320
+ fn visit_i64_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
2321
+ self.check_atomic_binary_op(memarg, ValType::I64)
2322
+ }
2323
+ fn visit_i64_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2324
+ self.check_atomic_binary_op(memarg, ValType::I64)
2325
+ }
2326
+ fn visit_i64_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
2327
+ self.check_atomic_binary_op(memarg, ValType::I64)
2328
+ }
2329
+ fn visit_i64_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
2330
+ self.check_atomic_binary_op(memarg, ValType::I64)
2331
+ }
2332
+ fn visit_i64_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2333
+ self.check_atomic_binary_op(memarg, ValType::I64)
2334
+ }
2335
+ fn visit_i64_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
2336
+ self.check_atomic_binary_op(memarg, ValType::I64)
2337
+ }
2338
+ fn visit_i64_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
2339
+ self.check_atomic_binary_op(memarg, ValType::I64)
2340
+ }
2341
+ fn visit_i64_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
2342
+ self.check_atomic_binary_op(memarg, ValType::I64)
2343
+ }
2344
+ fn visit_i64_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
2345
+ self.check_atomic_binary_op(memarg, ValType::I64)
2346
+ }
2347
+ fn visit_i64_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
2348
+ self.check_atomic_binary_op(memarg, ValType::I64)
2349
+ }
2350
+ fn visit_i32_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
2351
+ self.check_atomic_binary_op(memarg, ValType::I32)
2352
+ }
2353
+ fn visit_i32_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2354
+ self.check_atomic_binary_op(memarg, ValType::I32)
2355
+ }
2356
+ fn visit_i32_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2357
+ self.check_atomic_binary_op(memarg, ValType::I32)
2358
+ }
2359
+ fn visit_i32_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
2360
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
2361
+ }
2362
+ fn visit_i32_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2363
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
2364
+ }
2365
+ fn visit_i32_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2366
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
2367
+ }
2368
+ fn visit_i64_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
2369
+ self.check_atomic_binary_op(memarg, ValType::I64)
2370
+ }
2371
+ fn visit_i64_atomic_rmw32_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2372
+ self.check_atomic_binary_op(memarg, ValType::I64)
2373
+ }
2374
+ fn visit_i64_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2375
+ self.check_atomic_binary_op(memarg, ValType::I64)
2376
+ }
2377
+ fn visit_i64_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
2378
+ self.check_atomic_binary_op(memarg, ValType::I64)
2379
+ }
2380
+ fn visit_i64_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
2381
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2382
+ }
2383
+ fn visit_i64_atomic_rmw32_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2384
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2385
+ }
2386
+ fn visit_i64_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2387
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2388
+ }
2389
+ fn visit_i64_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
2390
+ self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
2391
+ }
2392
+ fn visit_memory_atomic_notify(&mut self, memarg: MemArg) -> Self::Output {
2393
+ self.check_atomic_binary_op(memarg, ValType::I32)
2394
+ }
2395
+ fn visit_memory_atomic_wait32(&mut self, memarg: MemArg) -> Self::Output {
2396
+ let ty = self.check_shared_memarg(memarg)?;
2397
+ self.pop_operand(Some(ValType::I64))?;
2398
+ self.pop_operand(Some(ValType::I32))?;
2399
+ self.pop_operand(Some(ty))?;
2400
+ self.push_operand(ValType::I32)?;
2401
+ Ok(())
2402
+ }
2403
+ fn visit_memory_atomic_wait64(&mut self, memarg: MemArg) -> Self::Output {
2404
+ let ty = self.check_shared_memarg(memarg)?;
2405
+ self.pop_operand(Some(ValType::I64))?;
2406
+ self.pop_operand(Some(ValType::I64))?;
2407
+ self.pop_operand(Some(ty))?;
2408
+ self.push_operand(ValType::I32)?;
2409
+ Ok(())
2410
+ }
2411
+ fn visit_atomic_fence(&mut self) -> Self::Output {
2412
+ Ok(())
2413
+ }
2414
+ fn visit_ref_null(&mut self, mut heap_type: HeapType) -> Self::Output {
2415
+ if let Some(ty) = RefType::new(true, heap_type) {
2416
+ self.features
2417
+ .check_ref_type(ty)
2418
+ .map_err(|e| BinaryReaderError::new(e, self.offset))?;
2419
+ }
2420
+ self.resources
2421
+ .check_heap_type(&mut heap_type, self.offset)?;
2422
+ let ty = ValType::Ref(
2423
+ RefType::new(true, heap_type).expect("existing heap types should be within our limits"),
2424
+ );
2425
+ self.push_operand(ty)?;
2426
+ Ok(())
2427
+ }
2428
+
2429
+ fn visit_ref_as_non_null(&mut self) -> Self::Output {
2430
+ let ty = match self.pop_ref()? {
2431
+ Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
2432
+ None => MaybeType::HeapBot,
2433
+ };
2434
+ self.push_operand(ty)?;
2435
+ Ok(())
2436
+ }
2437
+ fn visit_br_on_null(&mut self, relative_depth: u32) -> Self::Output {
2438
+ let ref_ty = match self.pop_ref()? {
2439
+ None => MaybeType::HeapBot,
2440
+ Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
2441
+ };
2442
+ let (ft, kind) = self.jump(relative_depth)?;
2443
+ let label_types = self.label_types(ft, kind)?;
2444
+ self.pop_push_label_types(label_types)?;
2445
+ self.push_operand(ref_ty)?;
2446
+ Ok(())
2447
+ }
2448
+ fn visit_br_on_non_null(&mut self, relative_depth: u32) -> Self::Output {
2449
+ let ty = self.pop_ref()?;
2450
+ let (ft, kind) = self.jump(relative_depth)?;
2451
+
2452
+ let mut label_types = self.label_types(ft, kind)?;
2453
+ match (label_types.next_back(), ty) {
2454
+ (None, _) => bail!(
2455
+ self.offset,
2456
+ "type mismatch: br_on_non_null target has no label types",
2457
+ ),
2458
+ (Some(ValType::Ref(_)), None) => {}
2459
+ (Some(rt1 @ ValType::Ref(_)), Some(rt0)) => {
2460
+ // Switch rt0, our popped type, to a non-nullable type and
2461
+ // perform the match because if the branch is taken it's a
2462
+ // non-null value.
2463
+ let ty = rt0.as_non_null();
2464
+ if !self.resources.is_subtype(ty.into(), rt1) {
2465
+ bail!(
2466
+ self.offset,
2467
+ "type mismatch: expected {} but found {}",
2468
+ ty_to_str(rt0.into()),
2469
+ ty_to_str(rt1)
2470
+ )
2471
+ }
2472
+ }
2473
+ (Some(_), _) => bail!(
2474
+ self.offset,
2475
+ "type mismatch: br_on_non_null target does not end with heap type",
2476
+ ),
2477
+ }
2478
+
2479
+ self.pop_push_label_types(label_types)?;
2480
+ Ok(())
2481
+ }
2482
+ fn visit_ref_is_null(&mut self) -> Self::Output {
2483
+ self.pop_ref()?;
2484
+ self.push_operand(ValType::I32)?;
2485
+ Ok(())
2486
+ }
2487
+ fn visit_ref_func(&mut self, function_index: u32) -> Self::Output {
2488
+ let type_id = match self.resources.type_id_of_function(function_index) {
2489
+ Some(id) => id,
2490
+ None => bail!(
2491
+ self.offset,
2492
+ "unknown function {}: function index out of bounds",
2493
+ function_index,
2494
+ ),
2495
+ };
2496
+ if !self.resources.is_function_referenced(function_index) {
2497
+ bail!(self.offset, "undeclared function reference");
2498
+ }
2499
+
2500
+ let index = UnpackedIndex::Id(type_id);
2501
+ let ty = ValType::Ref(
2502
+ RefType::new(false, HeapType::Concrete(index)).ok_or_else(|| {
2503
+ BinaryReaderError::new("implementation limit: type index too large", self.offset)
2504
+ })?,
2505
+ );
2506
+ self.push_operand(ty)?;
2507
+ Ok(())
2508
+ }
2509
+ fn visit_ref_eq(&mut self) -> Self::Output {
2510
+ self.pop_operand(Some(RefType::EQ.nullable().into()))?;
2511
+ self.pop_operand(Some(RefType::EQ.nullable().into()))?;
2512
+ self.push_operand(ValType::I32)
2513
+ }
2514
+ fn visit_v128_load(&mut self, memarg: MemArg) -> Self::Output {
2515
+ let ty = self.check_memarg(memarg)?;
2516
+ self.pop_operand(Some(ty))?;
2517
+ self.push_operand(ValType::V128)?;
2518
+ Ok(())
2519
+ }
2520
+ fn visit_v128_store(&mut self, memarg: MemArg) -> Self::Output {
2521
+ let ty = self.check_memarg(memarg)?;
2522
+ self.pop_operand(Some(ValType::V128))?;
2523
+ self.pop_operand(Some(ty))?;
2524
+ Ok(())
2525
+ }
2526
+ fn visit_v128_const(&mut self, _value: V128) -> Self::Output {
2527
+ self.push_operand(ValType::V128)?;
2528
+ Ok(())
2529
+ }
2530
+ fn visit_i8x16_splat(&mut self) -> Self::Output {
2531
+ self.check_v128_splat(ValType::I32)
2532
+ }
2533
+ fn visit_i16x8_splat(&mut self) -> Self::Output {
2534
+ self.check_v128_splat(ValType::I32)
2535
+ }
2536
+ fn visit_i32x4_splat(&mut self) -> Self::Output {
2537
+ self.check_v128_splat(ValType::I32)
2538
+ }
2539
+ fn visit_i64x2_splat(&mut self) -> Self::Output {
2540
+ self.check_v128_splat(ValType::I64)
2541
+ }
2542
+ fn visit_f32x4_splat(&mut self) -> Self::Output {
2543
+ self.check_floats_enabled()?;
2544
+ self.check_v128_splat(ValType::F32)
2545
+ }
2546
+ fn visit_f64x2_splat(&mut self) -> Self::Output {
2547
+ self.check_floats_enabled()?;
2548
+ self.check_v128_splat(ValType::F64)
2549
+ }
2550
+ fn visit_i8x16_extract_lane_s(&mut self, lane: u8) -> Self::Output {
2551
+ self.check_simd_lane_index(lane, 16)?;
2552
+ self.pop_operand(Some(ValType::V128))?;
2553
+ self.push_operand(ValType::I32)?;
2554
+ Ok(())
2555
+ }
2556
+ fn visit_i8x16_extract_lane_u(&mut self, lane: u8) -> Self::Output {
2557
+ self.visit_i8x16_extract_lane_s(lane)
2558
+ }
2559
+ fn visit_i16x8_extract_lane_s(&mut self, lane: u8) -> Self::Output {
2560
+ self.check_simd_lane_index(lane, 8)?;
2561
+ self.pop_operand(Some(ValType::V128))?;
2562
+ self.push_operand(ValType::I32)?;
2563
+ Ok(())
2564
+ }
2565
+ fn visit_i16x8_extract_lane_u(&mut self, lane: u8) -> Self::Output {
2566
+ self.visit_i16x8_extract_lane_s(lane)
2567
+ }
2568
+ fn visit_i32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
2569
+ self.check_simd_lane_index(lane, 4)?;
2570
+ self.pop_operand(Some(ValType::V128))?;
2571
+ self.push_operand(ValType::I32)?;
2572
+ Ok(())
2573
+ }
2574
+ fn visit_i8x16_replace_lane(&mut self, lane: u8) -> Self::Output {
2575
+ self.check_simd_lane_index(lane, 16)?;
2576
+ self.pop_operand(Some(ValType::I32))?;
2577
+ self.pop_operand(Some(ValType::V128))?;
2578
+ self.push_operand(ValType::V128)?;
2579
+ Ok(())
2580
+ }
2581
+ fn visit_i16x8_replace_lane(&mut self, lane: u8) -> Self::Output {
2582
+ self.check_simd_lane_index(lane, 8)?;
2583
+ self.pop_operand(Some(ValType::I32))?;
2584
+ self.pop_operand(Some(ValType::V128))?;
2585
+ self.push_operand(ValType::V128)?;
2586
+ Ok(())
2587
+ }
2588
+ fn visit_i32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
2589
+ self.check_simd_lane_index(lane, 4)?;
2590
+ self.pop_operand(Some(ValType::I32))?;
2591
+ self.pop_operand(Some(ValType::V128))?;
2592
+ self.push_operand(ValType::V128)?;
2593
+ Ok(())
2594
+ }
2595
+ fn visit_i64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
2596
+ self.check_simd_lane_index(lane, 2)?;
2597
+ self.pop_operand(Some(ValType::V128))?;
2598
+ self.push_operand(ValType::I64)?;
2599
+ Ok(())
2600
+ }
2601
+ fn visit_i64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
2602
+ self.check_simd_lane_index(lane, 2)?;
2603
+ self.pop_operand(Some(ValType::I64))?;
2604
+ self.pop_operand(Some(ValType::V128))?;
2605
+ self.push_operand(ValType::V128)?;
2606
+ Ok(())
2607
+ }
2608
+ fn visit_f32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
2609
+ self.check_floats_enabled()?;
2610
+ self.check_simd_lane_index(lane, 4)?;
2611
+ self.pop_operand(Some(ValType::V128))?;
2612
+ self.push_operand(ValType::F32)?;
2613
+ Ok(())
2614
+ }
2615
+ fn visit_f32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
2616
+ self.check_floats_enabled()?;
2617
+ self.check_simd_lane_index(lane, 4)?;
2618
+ self.pop_operand(Some(ValType::F32))?;
2619
+ self.pop_operand(Some(ValType::V128))?;
2620
+ self.push_operand(ValType::V128)?;
2621
+ Ok(())
2622
+ }
2623
+ fn visit_f64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
2624
+ self.check_floats_enabled()?;
2625
+ self.check_simd_lane_index(lane, 2)?;
2626
+ self.pop_operand(Some(ValType::V128))?;
2627
+ self.push_operand(ValType::F64)?;
2628
+ Ok(())
2629
+ }
2630
+ fn visit_f64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
2631
+ self.check_floats_enabled()?;
2632
+ self.check_simd_lane_index(lane, 2)?;
2633
+ self.pop_operand(Some(ValType::F64))?;
2634
+ self.pop_operand(Some(ValType::V128))?;
2635
+ self.push_operand(ValType::V128)?;
2636
+ Ok(())
2637
+ }
2638
+ fn visit_f32x4_eq(&mut self) -> Self::Output {
2639
+ self.check_v128_fbinary_op()
2640
+ }
2641
+ fn visit_f32x4_ne(&mut self) -> Self::Output {
2642
+ self.check_v128_fbinary_op()
2643
+ }
2644
+ fn visit_f32x4_lt(&mut self) -> Self::Output {
2645
+ self.check_v128_fbinary_op()
2646
+ }
2647
+ fn visit_f32x4_gt(&mut self) -> Self::Output {
2648
+ self.check_v128_fbinary_op()
2649
+ }
2650
+ fn visit_f32x4_le(&mut self) -> Self::Output {
2651
+ self.check_v128_fbinary_op()
2652
+ }
2653
+ fn visit_f32x4_ge(&mut self) -> Self::Output {
2654
+ self.check_v128_fbinary_op()
2655
+ }
2656
+ fn visit_f64x2_eq(&mut self) -> Self::Output {
2657
+ self.check_v128_fbinary_op()
2658
+ }
2659
+ fn visit_f64x2_ne(&mut self) -> Self::Output {
2660
+ self.check_v128_fbinary_op()
2661
+ }
2662
+ fn visit_f64x2_lt(&mut self) -> Self::Output {
2663
+ self.check_v128_fbinary_op()
2664
+ }
2665
+ fn visit_f64x2_gt(&mut self) -> Self::Output {
2666
+ self.check_v128_fbinary_op()
2667
+ }
2668
+ fn visit_f64x2_le(&mut self) -> Self::Output {
2669
+ self.check_v128_fbinary_op()
2670
+ }
2671
+ fn visit_f64x2_ge(&mut self) -> Self::Output {
2672
+ self.check_v128_fbinary_op()
2673
+ }
2674
+ fn visit_f32x4_add(&mut self) -> Self::Output {
2675
+ self.check_v128_fbinary_op()
2676
+ }
2677
+ fn visit_f32x4_sub(&mut self) -> Self::Output {
2678
+ self.check_v128_fbinary_op()
2679
+ }
2680
+ fn visit_f32x4_mul(&mut self) -> Self::Output {
2681
+ self.check_v128_fbinary_op()
2682
+ }
2683
+ fn visit_f32x4_div(&mut self) -> Self::Output {
2684
+ self.check_v128_fbinary_op()
2685
+ }
2686
+ fn visit_f32x4_min(&mut self) -> Self::Output {
2687
+ self.check_v128_fbinary_op()
2688
+ }
2689
+ fn visit_f32x4_max(&mut self) -> Self::Output {
2690
+ self.check_v128_fbinary_op()
2691
+ }
2692
+ fn visit_f32x4_pmin(&mut self) -> Self::Output {
2693
+ self.check_v128_fbinary_op()
2694
+ }
2695
+ fn visit_f32x4_pmax(&mut self) -> Self::Output {
2696
+ self.check_v128_fbinary_op()
2697
+ }
2698
+ fn visit_f64x2_add(&mut self) -> Self::Output {
2699
+ self.check_v128_fbinary_op()
2700
+ }
2701
+ fn visit_f64x2_sub(&mut self) -> Self::Output {
2702
+ self.check_v128_fbinary_op()
2703
+ }
2704
+ fn visit_f64x2_mul(&mut self) -> Self::Output {
2705
+ self.check_v128_fbinary_op()
2706
+ }
2707
+ fn visit_f64x2_div(&mut self) -> Self::Output {
2708
+ self.check_v128_fbinary_op()
2709
+ }
2710
+ fn visit_f64x2_min(&mut self) -> Self::Output {
2711
+ self.check_v128_fbinary_op()
2712
+ }
2713
+ fn visit_f64x2_max(&mut self) -> Self::Output {
2714
+ self.check_v128_fbinary_op()
2715
+ }
2716
+ fn visit_f64x2_pmin(&mut self) -> Self::Output {
2717
+ self.check_v128_fbinary_op()
2718
+ }
2719
+ fn visit_f64x2_pmax(&mut self) -> Self::Output {
2720
+ self.check_v128_fbinary_op()
2721
+ }
2722
+ fn visit_i8x16_eq(&mut self) -> Self::Output {
2723
+ self.check_v128_binary_op()
2724
+ }
2725
+ fn visit_i8x16_ne(&mut self) -> Self::Output {
2726
+ self.check_v128_binary_op()
2727
+ }
2728
+ fn visit_i8x16_lt_s(&mut self) -> Self::Output {
2729
+ self.check_v128_binary_op()
2730
+ }
2731
+ fn visit_i8x16_lt_u(&mut self) -> Self::Output {
2732
+ self.check_v128_binary_op()
2733
+ }
2734
+ fn visit_i8x16_gt_s(&mut self) -> Self::Output {
2735
+ self.check_v128_binary_op()
2736
+ }
2737
+ fn visit_i8x16_gt_u(&mut self) -> Self::Output {
2738
+ self.check_v128_binary_op()
2739
+ }
2740
+ fn visit_i8x16_le_s(&mut self) -> Self::Output {
2741
+ self.check_v128_binary_op()
2742
+ }
2743
+ fn visit_i8x16_le_u(&mut self) -> Self::Output {
2744
+ self.check_v128_binary_op()
2745
+ }
2746
+ fn visit_i8x16_ge_s(&mut self) -> Self::Output {
2747
+ self.check_v128_binary_op()
2748
+ }
2749
+ fn visit_i8x16_ge_u(&mut self) -> Self::Output {
2750
+ self.check_v128_binary_op()
2751
+ }
2752
+ fn visit_i16x8_eq(&mut self) -> Self::Output {
2753
+ self.check_v128_binary_op()
2754
+ }
2755
+ fn visit_i16x8_ne(&mut self) -> Self::Output {
2756
+ self.check_v128_binary_op()
2757
+ }
2758
+ fn visit_i16x8_lt_s(&mut self) -> Self::Output {
2759
+ self.check_v128_binary_op()
2760
+ }
2761
+ fn visit_i16x8_lt_u(&mut self) -> Self::Output {
2762
+ self.check_v128_binary_op()
2763
+ }
2764
+ fn visit_i16x8_gt_s(&mut self) -> Self::Output {
2765
+ self.check_v128_binary_op()
2766
+ }
2767
+ fn visit_i16x8_gt_u(&mut self) -> Self::Output {
2768
+ self.check_v128_binary_op()
2769
+ }
2770
+ fn visit_i16x8_le_s(&mut self) -> Self::Output {
2771
+ self.check_v128_binary_op()
2772
+ }
2773
+ fn visit_i16x8_le_u(&mut self) -> Self::Output {
2774
+ self.check_v128_binary_op()
2775
+ }
2776
+ fn visit_i16x8_ge_s(&mut self) -> Self::Output {
2777
+ self.check_v128_binary_op()
2778
+ }
2779
+ fn visit_i16x8_ge_u(&mut self) -> Self::Output {
2780
+ self.check_v128_binary_op()
2781
+ }
2782
+ fn visit_i32x4_eq(&mut self) -> Self::Output {
2783
+ self.check_v128_binary_op()
2784
+ }
2785
+ fn visit_i32x4_ne(&mut self) -> Self::Output {
2786
+ self.check_v128_binary_op()
2787
+ }
2788
+ fn visit_i32x4_lt_s(&mut self) -> Self::Output {
2789
+ self.check_v128_binary_op()
2790
+ }
2791
+ fn visit_i32x4_lt_u(&mut self) -> Self::Output {
2792
+ self.check_v128_binary_op()
2793
+ }
2794
+ fn visit_i32x4_gt_s(&mut self) -> Self::Output {
2795
+ self.check_v128_binary_op()
2796
+ }
2797
+ fn visit_i32x4_gt_u(&mut self) -> Self::Output {
2798
+ self.check_v128_binary_op()
2799
+ }
2800
+ fn visit_i32x4_le_s(&mut self) -> Self::Output {
2801
+ self.check_v128_binary_op()
2802
+ }
2803
+ fn visit_i32x4_le_u(&mut self) -> Self::Output {
2804
+ self.check_v128_binary_op()
2805
+ }
2806
+ fn visit_i32x4_ge_s(&mut self) -> Self::Output {
2807
+ self.check_v128_binary_op()
2808
+ }
2809
+ fn visit_i32x4_ge_u(&mut self) -> Self::Output {
2810
+ self.check_v128_binary_op()
2811
+ }
2812
+ fn visit_i64x2_eq(&mut self) -> Self::Output {
2813
+ self.check_v128_binary_op()
2814
+ }
2815
+ fn visit_i64x2_ne(&mut self) -> Self::Output {
2816
+ self.check_v128_binary_op()
2817
+ }
2818
+ fn visit_i64x2_lt_s(&mut self) -> Self::Output {
2819
+ self.check_v128_binary_op()
2820
+ }
2821
+ fn visit_i64x2_gt_s(&mut self) -> Self::Output {
2822
+ self.check_v128_binary_op()
2823
+ }
2824
+ fn visit_i64x2_le_s(&mut self) -> Self::Output {
2825
+ self.check_v128_binary_op()
2826
+ }
2827
+ fn visit_i64x2_ge_s(&mut self) -> Self::Output {
2828
+ self.check_v128_binary_op()
2829
+ }
2830
+ fn visit_v128_and(&mut self) -> Self::Output {
2831
+ self.check_v128_binary_op()
2832
+ }
2833
+ fn visit_v128_andnot(&mut self) -> Self::Output {
2834
+ self.check_v128_binary_op()
2835
+ }
2836
+ fn visit_v128_or(&mut self) -> Self::Output {
2837
+ self.check_v128_binary_op()
2838
+ }
2839
+ fn visit_v128_xor(&mut self) -> Self::Output {
2840
+ self.check_v128_binary_op()
2841
+ }
2842
+ fn visit_i8x16_add(&mut self) -> Self::Output {
2843
+ self.check_v128_binary_op()
2844
+ }
2845
+ fn visit_i8x16_add_sat_s(&mut self) -> Self::Output {
2846
+ self.check_v128_binary_op()
2847
+ }
2848
+ fn visit_i8x16_add_sat_u(&mut self) -> Self::Output {
2849
+ self.check_v128_binary_op()
2850
+ }
2851
+ fn visit_i8x16_sub(&mut self) -> Self::Output {
2852
+ self.check_v128_binary_op()
2853
+ }
2854
+ fn visit_i8x16_sub_sat_s(&mut self) -> Self::Output {
2855
+ self.check_v128_binary_op()
2856
+ }
2857
+ fn visit_i8x16_sub_sat_u(&mut self) -> Self::Output {
2858
+ self.check_v128_binary_op()
2859
+ }
2860
+ fn visit_i8x16_min_s(&mut self) -> Self::Output {
2861
+ self.check_v128_binary_op()
2862
+ }
2863
+ fn visit_i8x16_min_u(&mut self) -> Self::Output {
2864
+ self.check_v128_binary_op()
2865
+ }
2866
+ fn visit_i8x16_max_s(&mut self) -> Self::Output {
2867
+ self.check_v128_binary_op()
2868
+ }
2869
+ fn visit_i8x16_max_u(&mut self) -> Self::Output {
2870
+ self.check_v128_binary_op()
2871
+ }
2872
+ fn visit_i16x8_add(&mut self) -> Self::Output {
2873
+ self.check_v128_binary_op()
2874
+ }
2875
+ fn visit_i16x8_add_sat_s(&mut self) -> Self::Output {
2876
+ self.check_v128_binary_op()
2877
+ }
2878
+ fn visit_i16x8_add_sat_u(&mut self) -> Self::Output {
2879
+ self.check_v128_binary_op()
2880
+ }
2881
+ fn visit_i16x8_sub(&mut self) -> Self::Output {
2882
+ self.check_v128_binary_op()
2883
+ }
2884
+ fn visit_i16x8_sub_sat_s(&mut self) -> Self::Output {
2885
+ self.check_v128_binary_op()
2886
+ }
2887
+ fn visit_i16x8_sub_sat_u(&mut self) -> Self::Output {
2888
+ self.check_v128_binary_op()
2889
+ }
2890
+ fn visit_i16x8_mul(&mut self) -> Self::Output {
2891
+ self.check_v128_binary_op()
2892
+ }
2893
+ fn visit_i16x8_min_s(&mut self) -> Self::Output {
2894
+ self.check_v128_binary_op()
2895
+ }
2896
+ fn visit_i16x8_min_u(&mut self) -> Self::Output {
2897
+ self.check_v128_binary_op()
2898
+ }
2899
+ fn visit_i16x8_max_s(&mut self) -> Self::Output {
2900
+ self.check_v128_binary_op()
2901
+ }
2902
+ fn visit_i16x8_max_u(&mut self) -> Self::Output {
2903
+ self.check_v128_binary_op()
2904
+ }
2905
+ fn visit_i32x4_add(&mut self) -> Self::Output {
2906
+ self.check_v128_binary_op()
2907
+ }
2908
+ fn visit_i32x4_sub(&mut self) -> Self::Output {
2909
+ self.check_v128_binary_op()
2910
+ }
2911
+ fn visit_i32x4_mul(&mut self) -> Self::Output {
2912
+ self.check_v128_binary_op()
2913
+ }
2914
+ fn visit_i32x4_min_s(&mut self) -> Self::Output {
2915
+ self.check_v128_binary_op()
2916
+ }
2917
+ fn visit_i32x4_min_u(&mut self) -> Self::Output {
2918
+ self.check_v128_binary_op()
2919
+ }
2920
+ fn visit_i32x4_max_s(&mut self) -> Self::Output {
2921
+ self.check_v128_binary_op()
2922
+ }
2923
+ fn visit_i32x4_max_u(&mut self) -> Self::Output {
2924
+ self.check_v128_binary_op()
2925
+ }
2926
+ fn visit_i32x4_dot_i16x8_s(&mut self) -> Self::Output {
2927
+ self.check_v128_binary_op()
2928
+ }
2929
+ fn visit_i64x2_add(&mut self) -> Self::Output {
2930
+ self.check_v128_binary_op()
2931
+ }
2932
+ fn visit_i64x2_sub(&mut self) -> Self::Output {
2933
+ self.check_v128_binary_op()
2934
+ }
2935
+ fn visit_i64x2_mul(&mut self) -> Self::Output {
2936
+ self.check_v128_binary_op()
2937
+ }
2938
+ fn visit_i8x16_avgr_u(&mut self) -> Self::Output {
2939
+ self.check_v128_binary_op()
2940
+ }
2941
+ fn visit_i16x8_avgr_u(&mut self) -> Self::Output {
2942
+ self.check_v128_binary_op()
2943
+ }
2944
+ fn visit_i8x16_narrow_i16x8_s(&mut self) -> Self::Output {
2945
+ self.check_v128_binary_op()
2946
+ }
2947
+ fn visit_i8x16_narrow_i16x8_u(&mut self) -> Self::Output {
2948
+ self.check_v128_binary_op()
2949
+ }
2950
+ fn visit_i16x8_narrow_i32x4_s(&mut self) -> Self::Output {
2951
+ self.check_v128_binary_op()
2952
+ }
2953
+ fn visit_i16x8_narrow_i32x4_u(&mut self) -> Self::Output {
2954
+ self.check_v128_binary_op()
2955
+ }
2956
+ fn visit_i16x8_extmul_low_i8x16_s(&mut self) -> Self::Output {
2957
+ self.check_v128_binary_op()
2958
+ }
2959
+ fn visit_i16x8_extmul_high_i8x16_s(&mut self) -> Self::Output {
2960
+ self.check_v128_binary_op()
2961
+ }
2962
+ fn visit_i16x8_extmul_low_i8x16_u(&mut self) -> Self::Output {
2963
+ self.check_v128_binary_op()
2964
+ }
2965
+ fn visit_i16x8_extmul_high_i8x16_u(&mut self) -> Self::Output {
2966
+ self.check_v128_binary_op()
2967
+ }
2968
+ fn visit_i32x4_extmul_low_i16x8_s(&mut self) -> Self::Output {
2969
+ self.check_v128_binary_op()
2970
+ }
2971
+ fn visit_i32x4_extmul_high_i16x8_s(&mut self) -> Self::Output {
2972
+ self.check_v128_binary_op()
2973
+ }
2974
+ fn visit_i32x4_extmul_low_i16x8_u(&mut self) -> Self::Output {
2975
+ self.check_v128_binary_op()
2976
+ }
2977
+ fn visit_i32x4_extmul_high_i16x8_u(&mut self) -> Self::Output {
2978
+ self.check_v128_binary_op()
2979
+ }
2980
+ fn visit_i64x2_extmul_low_i32x4_s(&mut self) -> Self::Output {
2981
+ self.check_v128_binary_op()
2982
+ }
2983
+ fn visit_i64x2_extmul_high_i32x4_s(&mut self) -> Self::Output {
2984
+ self.check_v128_binary_op()
2985
+ }
2986
+ fn visit_i64x2_extmul_low_i32x4_u(&mut self) -> Self::Output {
2987
+ self.check_v128_binary_op()
2988
+ }
2989
+ fn visit_i64x2_extmul_high_i32x4_u(&mut self) -> Self::Output {
2990
+ self.check_v128_binary_op()
2991
+ }
2992
+ fn visit_i16x8_q15mulr_sat_s(&mut self) -> Self::Output {
2993
+ self.check_v128_binary_op()
2994
+ }
2995
+ fn visit_f32x4_ceil(&mut self) -> Self::Output {
2996
+ self.check_v128_funary_op()
2997
+ }
2998
+ fn visit_f32x4_floor(&mut self) -> Self::Output {
2999
+ self.check_v128_funary_op()
3000
+ }
3001
+ fn visit_f32x4_trunc(&mut self) -> Self::Output {
3002
+ self.check_v128_funary_op()
3003
+ }
3004
+ fn visit_f32x4_nearest(&mut self) -> Self::Output {
3005
+ self.check_v128_funary_op()
3006
+ }
3007
+ fn visit_f64x2_ceil(&mut self) -> Self::Output {
3008
+ self.check_v128_funary_op()
3009
+ }
3010
+ fn visit_f64x2_floor(&mut self) -> Self::Output {
3011
+ self.check_v128_funary_op()
3012
+ }
3013
+ fn visit_f64x2_trunc(&mut self) -> Self::Output {
3014
+ self.check_v128_funary_op()
3015
+ }
3016
+ fn visit_f64x2_nearest(&mut self) -> Self::Output {
3017
+ self.check_v128_funary_op()
3018
+ }
3019
+ fn visit_f32x4_abs(&mut self) -> Self::Output {
3020
+ self.check_v128_funary_op()
3021
+ }
3022
+ fn visit_f32x4_neg(&mut self) -> Self::Output {
3023
+ self.check_v128_funary_op()
3024
+ }
3025
+ fn visit_f32x4_sqrt(&mut self) -> Self::Output {
3026
+ self.check_v128_funary_op()
3027
+ }
3028
+ fn visit_f64x2_abs(&mut self) -> Self::Output {
3029
+ self.check_v128_funary_op()
3030
+ }
3031
+ fn visit_f64x2_neg(&mut self) -> Self::Output {
3032
+ self.check_v128_funary_op()
3033
+ }
3034
+ fn visit_f64x2_sqrt(&mut self) -> Self::Output {
3035
+ self.check_v128_funary_op()
3036
+ }
3037
+ fn visit_f32x4_demote_f64x2_zero(&mut self) -> Self::Output {
3038
+ self.check_v128_funary_op()
3039
+ }
3040
+ fn visit_f64x2_promote_low_f32x4(&mut self) -> Self::Output {
3041
+ self.check_v128_funary_op()
3042
+ }
3043
+ fn visit_f64x2_convert_low_i32x4_s(&mut self) -> Self::Output {
3044
+ self.check_v128_funary_op()
3045
+ }
3046
+ fn visit_f64x2_convert_low_i32x4_u(&mut self) -> Self::Output {
3047
+ self.check_v128_funary_op()
3048
+ }
3049
+ fn visit_i32x4_trunc_sat_f32x4_s(&mut self) -> Self::Output {
3050
+ self.check_v128_funary_op()
3051
+ }
3052
+ fn visit_i32x4_trunc_sat_f32x4_u(&mut self) -> Self::Output {
3053
+ self.check_v128_funary_op()
3054
+ }
3055
+ fn visit_i32x4_trunc_sat_f64x2_s_zero(&mut self) -> Self::Output {
3056
+ self.check_v128_funary_op()
3057
+ }
3058
+ fn visit_i32x4_trunc_sat_f64x2_u_zero(&mut self) -> Self::Output {
3059
+ self.check_v128_funary_op()
3060
+ }
3061
+ fn visit_f32x4_convert_i32x4_s(&mut self) -> Self::Output {
3062
+ self.check_v128_funary_op()
3063
+ }
3064
+ fn visit_f32x4_convert_i32x4_u(&mut self) -> Self::Output {
3065
+ self.check_v128_funary_op()
3066
+ }
3067
+ fn visit_v128_not(&mut self) -> Self::Output {
3068
+ self.check_v128_unary_op()
3069
+ }
3070
+ fn visit_i8x16_abs(&mut self) -> Self::Output {
3071
+ self.check_v128_unary_op()
3072
+ }
3073
+ fn visit_i8x16_neg(&mut self) -> Self::Output {
3074
+ self.check_v128_unary_op()
3075
+ }
3076
+ fn visit_i8x16_popcnt(&mut self) -> Self::Output {
3077
+ self.check_v128_unary_op()
3078
+ }
3079
+ fn visit_i16x8_abs(&mut self) -> Self::Output {
3080
+ self.check_v128_unary_op()
3081
+ }
3082
+ fn visit_i16x8_neg(&mut self) -> Self::Output {
3083
+ self.check_v128_unary_op()
3084
+ }
3085
+ fn visit_i32x4_abs(&mut self) -> Self::Output {
3086
+ self.check_v128_unary_op()
3087
+ }
3088
+ fn visit_i32x4_neg(&mut self) -> Self::Output {
3089
+ self.check_v128_unary_op()
3090
+ }
3091
+ fn visit_i64x2_abs(&mut self) -> Self::Output {
3092
+ self.check_v128_unary_op()
3093
+ }
3094
+ fn visit_i64x2_neg(&mut self) -> Self::Output {
3095
+ self.check_v128_unary_op()
3096
+ }
3097
+ fn visit_i16x8_extend_low_i8x16_s(&mut self) -> Self::Output {
3098
+ self.check_v128_unary_op()
3099
+ }
3100
+ fn visit_i16x8_extend_high_i8x16_s(&mut self) -> Self::Output {
3101
+ self.check_v128_unary_op()
3102
+ }
3103
+ fn visit_i16x8_extend_low_i8x16_u(&mut self) -> Self::Output {
3104
+ self.check_v128_unary_op()
3105
+ }
3106
+ fn visit_i16x8_extend_high_i8x16_u(&mut self) -> Self::Output {
3107
+ self.check_v128_unary_op()
3108
+ }
3109
+ fn visit_i32x4_extend_low_i16x8_s(&mut self) -> Self::Output {
3110
+ self.check_v128_unary_op()
3111
+ }
3112
+ fn visit_i32x4_extend_high_i16x8_s(&mut self) -> Self::Output {
3113
+ self.check_v128_unary_op()
3114
+ }
3115
+ fn visit_i32x4_extend_low_i16x8_u(&mut self) -> Self::Output {
3116
+ self.check_v128_unary_op()
3117
+ }
3118
+ fn visit_i32x4_extend_high_i16x8_u(&mut self) -> Self::Output {
3119
+ self.check_v128_unary_op()
3120
+ }
3121
+ fn visit_i64x2_extend_low_i32x4_s(&mut self) -> Self::Output {
3122
+ self.check_v128_unary_op()
3123
+ }
3124
+ fn visit_i64x2_extend_high_i32x4_s(&mut self) -> Self::Output {
3125
+ self.check_v128_unary_op()
3126
+ }
3127
+ fn visit_i64x2_extend_low_i32x4_u(&mut self) -> Self::Output {
3128
+ self.check_v128_unary_op()
3129
+ }
3130
+ fn visit_i64x2_extend_high_i32x4_u(&mut self) -> Self::Output {
3131
+ self.check_v128_unary_op()
3132
+ }
3133
+ fn visit_i16x8_extadd_pairwise_i8x16_s(&mut self) -> Self::Output {
3134
+ self.check_v128_unary_op()
3135
+ }
3136
+ fn visit_i16x8_extadd_pairwise_i8x16_u(&mut self) -> Self::Output {
3137
+ self.check_v128_unary_op()
3138
+ }
3139
+ fn visit_i32x4_extadd_pairwise_i16x8_s(&mut self) -> Self::Output {
3140
+ self.check_v128_unary_op()
3141
+ }
3142
+ fn visit_i32x4_extadd_pairwise_i16x8_u(&mut self) -> Self::Output {
3143
+ self.check_v128_unary_op()
3144
+ }
3145
+ fn visit_v128_bitselect(&mut self) -> Self::Output {
3146
+ self.pop_operand(Some(ValType::V128))?;
3147
+ self.pop_operand(Some(ValType::V128))?;
3148
+ self.pop_operand(Some(ValType::V128))?;
3149
+ self.push_operand(ValType::V128)?;
3150
+ Ok(())
3151
+ }
3152
+ fn visit_i8x16_relaxed_swizzle(&mut self) -> Self::Output {
3153
+ self.pop_operand(Some(ValType::V128))?;
3154
+ self.pop_operand(Some(ValType::V128))?;
3155
+ self.push_operand(ValType::V128)?;
3156
+ Ok(())
3157
+ }
3158
+ fn visit_i32x4_relaxed_trunc_f32x4_s(&mut self) -> Self::Output {
3159
+ self.check_v128_unary_op()
3160
+ }
3161
+ fn visit_i32x4_relaxed_trunc_f32x4_u(&mut self) -> Self::Output {
3162
+ self.check_v128_unary_op()
3163
+ }
3164
+ fn visit_i32x4_relaxed_trunc_f64x2_s_zero(&mut self) -> Self::Output {
3165
+ self.check_v128_unary_op()
3166
+ }
3167
+ fn visit_i32x4_relaxed_trunc_f64x2_u_zero(&mut self) -> Self::Output {
3168
+ self.check_v128_unary_op()
3169
+ }
3170
+ fn visit_f32x4_relaxed_madd(&mut self) -> Self::Output {
3171
+ self.check_v128_ternary_op()
3172
+ }
3173
+ fn visit_f32x4_relaxed_nmadd(&mut self) -> Self::Output {
3174
+ self.check_v128_ternary_op()
3175
+ }
3176
+ fn visit_f64x2_relaxed_madd(&mut self) -> Self::Output {
3177
+ self.check_v128_ternary_op()
3178
+ }
3179
+ fn visit_f64x2_relaxed_nmadd(&mut self) -> Self::Output {
3180
+ self.check_v128_ternary_op()
3181
+ }
3182
+ fn visit_i8x16_relaxed_laneselect(&mut self) -> Self::Output {
3183
+ self.check_v128_ternary_op()
3184
+ }
3185
+ fn visit_i16x8_relaxed_laneselect(&mut self) -> Self::Output {
3186
+ self.check_v128_ternary_op()
3187
+ }
3188
+ fn visit_i32x4_relaxed_laneselect(&mut self) -> Self::Output {
3189
+ self.check_v128_ternary_op()
3190
+ }
3191
+ fn visit_i64x2_relaxed_laneselect(&mut self) -> Self::Output {
3192
+ self.check_v128_ternary_op()
3193
+ }
3194
+ fn visit_f32x4_relaxed_min(&mut self) -> Self::Output {
3195
+ self.check_v128_binary_op()
3196
+ }
3197
+ fn visit_f32x4_relaxed_max(&mut self) -> Self::Output {
3198
+ self.check_v128_binary_op()
3199
+ }
3200
+ fn visit_f64x2_relaxed_min(&mut self) -> Self::Output {
3201
+ self.check_v128_binary_op()
3202
+ }
3203
+ fn visit_f64x2_relaxed_max(&mut self) -> Self::Output {
3204
+ self.check_v128_binary_op()
3205
+ }
3206
+ fn visit_i16x8_relaxed_q15mulr_s(&mut self) -> Self::Output {
3207
+ self.check_v128_binary_op()
3208
+ }
3209
+ fn visit_i16x8_relaxed_dot_i8x16_i7x16_s(&mut self) -> Self::Output {
3210
+ self.check_v128_binary_op()
3211
+ }
3212
+ fn visit_i32x4_relaxed_dot_i8x16_i7x16_add_s(&mut self) -> Self::Output {
3213
+ self.check_v128_ternary_op()
3214
+ }
3215
+ fn visit_v128_any_true(&mut self) -> Self::Output {
3216
+ self.check_v128_bitmask_op()
3217
+ }
3218
+ fn visit_i8x16_all_true(&mut self) -> Self::Output {
3219
+ self.check_v128_bitmask_op()
3220
+ }
3221
+ fn visit_i8x16_bitmask(&mut self) -> Self::Output {
3222
+ self.check_v128_bitmask_op()
3223
+ }
3224
+ fn visit_i16x8_all_true(&mut self) -> Self::Output {
3225
+ self.check_v128_bitmask_op()
3226
+ }
3227
+ fn visit_i16x8_bitmask(&mut self) -> Self::Output {
3228
+ self.check_v128_bitmask_op()
3229
+ }
3230
+ fn visit_i32x4_all_true(&mut self) -> Self::Output {
3231
+ self.check_v128_bitmask_op()
3232
+ }
3233
+ fn visit_i32x4_bitmask(&mut self) -> Self::Output {
3234
+ self.check_v128_bitmask_op()
3235
+ }
3236
+ fn visit_i64x2_all_true(&mut self) -> Self::Output {
3237
+ self.check_v128_bitmask_op()
3238
+ }
3239
+ fn visit_i64x2_bitmask(&mut self) -> Self::Output {
3240
+ self.check_v128_bitmask_op()
3241
+ }
3242
+ fn visit_i8x16_shl(&mut self) -> Self::Output {
3243
+ self.check_v128_shift_op()
3244
+ }
3245
+ fn visit_i8x16_shr_s(&mut self) -> Self::Output {
3246
+ self.check_v128_shift_op()
3247
+ }
3248
+ fn visit_i8x16_shr_u(&mut self) -> Self::Output {
3249
+ self.check_v128_shift_op()
3250
+ }
3251
+ fn visit_i16x8_shl(&mut self) -> Self::Output {
3252
+ self.check_v128_shift_op()
3253
+ }
3254
+ fn visit_i16x8_shr_s(&mut self) -> Self::Output {
3255
+ self.check_v128_shift_op()
3256
+ }
3257
+ fn visit_i16x8_shr_u(&mut self) -> Self::Output {
3258
+ self.check_v128_shift_op()
3259
+ }
3260
+ fn visit_i32x4_shl(&mut self) -> Self::Output {
3261
+ self.check_v128_shift_op()
3262
+ }
3263
+ fn visit_i32x4_shr_s(&mut self) -> Self::Output {
3264
+ self.check_v128_shift_op()
3265
+ }
3266
+ fn visit_i32x4_shr_u(&mut self) -> Self::Output {
3267
+ self.check_v128_shift_op()
3268
+ }
3269
+ fn visit_i64x2_shl(&mut self) -> Self::Output {
3270
+ self.check_v128_shift_op()
3271
+ }
3272
+ fn visit_i64x2_shr_s(&mut self) -> Self::Output {
3273
+ self.check_v128_shift_op()
3274
+ }
3275
+ fn visit_i64x2_shr_u(&mut self) -> Self::Output {
3276
+ self.check_v128_shift_op()
3277
+ }
3278
+ fn visit_i8x16_swizzle(&mut self) -> Self::Output {
3279
+ self.pop_operand(Some(ValType::V128))?;
3280
+ self.pop_operand(Some(ValType::V128))?;
3281
+ self.push_operand(ValType::V128)?;
3282
+ Ok(())
3283
+ }
3284
+ fn visit_i8x16_shuffle(&mut self, lanes: [u8; 16]) -> Self::Output {
3285
+ self.pop_operand(Some(ValType::V128))?;
3286
+ self.pop_operand(Some(ValType::V128))?;
3287
+ for i in lanes {
3288
+ self.check_simd_lane_index(i, 32)?;
3289
+ }
3290
+ self.push_operand(ValType::V128)?;
3291
+ Ok(())
3292
+ }
3293
+ fn visit_v128_load8_splat(&mut self, memarg: MemArg) -> Self::Output {
3294
+ let ty = self.check_memarg(memarg)?;
3295
+ self.pop_operand(Some(ty))?;
3296
+ self.push_operand(ValType::V128)?;
3297
+ Ok(())
3298
+ }
3299
+ fn visit_v128_load16_splat(&mut self, memarg: MemArg) -> Self::Output {
3300
+ let ty = self.check_memarg(memarg)?;
3301
+ self.pop_operand(Some(ty))?;
3302
+ self.push_operand(ValType::V128)?;
3303
+ Ok(())
3304
+ }
3305
+ fn visit_v128_load32_splat(&mut self, memarg: MemArg) -> Self::Output {
3306
+ let ty = self.check_memarg(memarg)?;
3307
+ self.pop_operand(Some(ty))?;
3308
+ self.push_operand(ValType::V128)?;
3309
+ Ok(())
3310
+ }
3311
+ fn visit_v128_load32_zero(&mut self, memarg: MemArg) -> Self::Output {
3312
+ self.visit_v128_load32_splat(memarg)
3313
+ }
3314
+ fn visit_v128_load64_splat(&mut self, memarg: MemArg) -> Self::Output {
3315
+ self.check_v128_load_op(memarg)
3316
+ }
3317
+ fn visit_v128_load64_zero(&mut self, memarg: MemArg) -> Self::Output {
3318
+ self.check_v128_load_op(memarg)
3319
+ }
3320
+ fn visit_v128_load8x8_s(&mut self, memarg: MemArg) -> Self::Output {
3321
+ self.check_v128_load_op(memarg)
3322
+ }
3323
+ fn visit_v128_load8x8_u(&mut self, memarg: MemArg) -> Self::Output {
3324
+ self.check_v128_load_op(memarg)
3325
+ }
3326
+ fn visit_v128_load16x4_s(&mut self, memarg: MemArg) -> Self::Output {
3327
+ self.check_v128_load_op(memarg)
3328
+ }
3329
+ fn visit_v128_load16x4_u(&mut self, memarg: MemArg) -> Self::Output {
3330
+ self.check_v128_load_op(memarg)
3331
+ }
3332
+ fn visit_v128_load32x2_s(&mut self, memarg: MemArg) -> Self::Output {
3333
+ self.check_v128_load_op(memarg)
3334
+ }
3335
+ fn visit_v128_load32x2_u(&mut self, memarg: MemArg) -> Self::Output {
3336
+ self.check_v128_load_op(memarg)
3337
+ }
3338
+ fn visit_v128_load8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3339
+ let idx = self.check_memarg(memarg)?;
3340
+ self.check_simd_lane_index(lane, 16)?;
3341
+ self.pop_operand(Some(ValType::V128))?;
3342
+ self.pop_operand(Some(idx))?;
3343
+ self.push_operand(ValType::V128)?;
3344
+ Ok(())
3345
+ }
3346
+ fn visit_v128_load16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3347
+ let idx = self.check_memarg(memarg)?;
3348
+ self.check_simd_lane_index(lane, 8)?;
3349
+ self.pop_operand(Some(ValType::V128))?;
3350
+ self.pop_operand(Some(idx))?;
3351
+ self.push_operand(ValType::V128)?;
3352
+ Ok(())
3353
+ }
3354
+ fn visit_v128_load32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3355
+ let idx = self.check_memarg(memarg)?;
3356
+ self.check_simd_lane_index(lane, 4)?;
3357
+ self.pop_operand(Some(ValType::V128))?;
3358
+ self.pop_operand(Some(idx))?;
3359
+ self.push_operand(ValType::V128)?;
3360
+ Ok(())
3361
+ }
3362
+ fn visit_v128_load64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3363
+ let idx = self.check_memarg(memarg)?;
3364
+ self.check_simd_lane_index(lane, 2)?;
3365
+ self.pop_operand(Some(ValType::V128))?;
3366
+ self.pop_operand(Some(idx))?;
3367
+ self.push_operand(ValType::V128)?;
3368
+ Ok(())
3369
+ }
3370
+ fn visit_v128_store8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3371
+ let idx = self.check_memarg(memarg)?;
3372
+ self.check_simd_lane_index(lane, 16)?;
3373
+ self.pop_operand(Some(ValType::V128))?;
3374
+ self.pop_operand(Some(idx))?;
3375
+ Ok(())
3376
+ }
3377
+ fn visit_v128_store16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3378
+ let idx = self.check_memarg(memarg)?;
3379
+ self.check_simd_lane_index(lane, 8)?;
3380
+ self.pop_operand(Some(ValType::V128))?;
3381
+ self.pop_operand(Some(idx))?;
3382
+ Ok(())
3383
+ }
3384
+ fn visit_v128_store32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3385
+ let idx = self.check_memarg(memarg)?;
3386
+ self.check_simd_lane_index(lane, 4)?;
3387
+ self.pop_operand(Some(ValType::V128))?;
3388
+ self.pop_operand(Some(idx))?;
3389
+ Ok(())
3390
+ }
3391
+ fn visit_v128_store64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
3392
+ let idx = self.check_memarg(memarg)?;
3393
+ self.check_simd_lane_index(lane, 2)?;
3394
+ self.pop_operand(Some(ValType::V128))?;
3395
+ self.pop_operand(Some(idx))?;
3396
+ Ok(())
3397
+ }
3398
+ fn visit_memory_init(&mut self, segment: u32, mem: u32) -> Self::Output {
3399
+ let ty = self.check_memory_index(mem)?;
3400
+ match self.resources.data_count() {
3401
+ None => bail!(self.offset, "data count section required"),
3402
+ Some(count) if segment < count => {}
3403
+ Some(_) => bail!(self.offset, "unknown data segment {}", segment),
3404
+ }
3405
+ self.pop_operand(Some(ValType::I32))?;
3406
+ self.pop_operand(Some(ValType::I32))?;
3407
+ self.pop_operand(Some(ty))?;
3408
+ Ok(())
3409
+ }
3410
+ fn visit_data_drop(&mut self, segment: u32) -> Self::Output {
3411
+ match self.resources.data_count() {
3412
+ None => bail!(self.offset, "data count section required"),
3413
+ Some(count) if segment < count => {}
3414
+ Some(_) => bail!(self.offset, "unknown data segment {}", segment),
3415
+ }
3416
+ Ok(())
3417
+ }
3418
+ fn visit_memory_copy(&mut self, dst: u32, src: u32) -> Self::Output {
3419
+ let dst_ty = self.check_memory_index(dst)?;
3420
+ let src_ty = self.check_memory_index(src)?;
3421
+
3422
+ // The length operand here is the smaller of src/dst, which is
3423
+ // i32 if one is i32
3424
+ self.pop_operand(Some(match src_ty {
3425
+ ValType::I32 => ValType::I32,
3426
+ _ => dst_ty,
3427
+ }))?;
3428
+
3429
+ // ... and the offset into each memory is required to be
3430
+ // whatever the indexing type is for that memory
3431
+ self.pop_operand(Some(src_ty))?;
3432
+ self.pop_operand(Some(dst_ty))?;
3433
+ Ok(())
3434
+ }
3435
+ fn visit_memory_fill(&mut self, mem: u32) -> Self::Output {
3436
+ let ty = self.check_memory_index(mem)?;
3437
+ self.pop_operand(Some(ty))?;
3438
+ self.pop_operand(Some(ValType::I32))?;
3439
+ self.pop_operand(Some(ty))?;
3440
+ Ok(())
3441
+ }
3442
+ fn visit_memory_discard(&mut self, mem: u32) -> Self::Output {
3443
+ let ty = self.check_memory_index(mem)?;
3444
+ self.pop_operand(Some(ty))?;
3445
+ self.pop_operand(Some(ty))?;
3446
+ Ok(())
3447
+ }
3448
+ fn visit_table_init(&mut self, segment: u32, table: u32) -> Self::Output {
3449
+ if table > 0 {}
3450
+ let table = match self.resources.table_at(table) {
3451
+ Some(table) => table,
3452
+ None => bail!(
3453
+ self.offset,
3454
+ "unknown table {}: table index out of bounds",
3455
+ table
3456
+ ),
3457
+ };
3458
+ let segment_ty = self.element_type_at(segment)?;
3459
+ if !self
3460
+ .resources
3461
+ .is_subtype(ValType::Ref(segment_ty), ValType::Ref(table.element_type))
3462
+ {
3463
+ bail!(self.offset, "type mismatch");
3464
+ }
3465
+ self.pop_operand(Some(ValType::I32))?;
3466
+ self.pop_operand(Some(ValType::I32))?;
3467
+ self.pop_operand(Some(ValType::I32))?;
3468
+ Ok(())
3469
+ }
3470
+ fn visit_elem_drop(&mut self, segment: u32) -> Self::Output {
3471
+ if segment >= self.resources.element_count() {
3472
+ bail!(
3473
+ self.offset,
3474
+ "unknown elem segment {}: segment index out of bounds",
3475
+ segment
3476
+ );
3477
+ }
3478
+ Ok(())
3479
+ }
3480
+ fn visit_table_copy(&mut self, dst_table: u32, src_table: u32) -> Self::Output {
3481
+ if src_table > 0 || dst_table > 0 {}
3482
+ let (src, dst) = match (
3483
+ self.resources.table_at(src_table),
3484
+ self.resources.table_at(dst_table),
3485
+ ) {
3486
+ (Some(a), Some(b)) => (a, b),
3487
+ _ => bail!(self.offset, "table index out of bounds"),
3488
+ };
3489
+ if !self.resources.is_subtype(
3490
+ ValType::Ref(src.element_type),
3491
+ ValType::Ref(dst.element_type),
3492
+ ) {
3493
+ bail!(self.offset, "type mismatch");
3494
+ }
3495
+ self.pop_operand(Some(ValType::I32))?;
3496
+ self.pop_operand(Some(ValType::I32))?;
3497
+ self.pop_operand(Some(ValType::I32))?;
3498
+ Ok(())
3499
+ }
3500
+ fn visit_table_get(&mut self, table: u32) -> Self::Output {
3501
+ let ty = match self.resources.table_at(table) {
3502
+ Some(ty) => ty.element_type,
3503
+ None => bail!(self.offset, "table index out of bounds"),
3504
+ };
3505
+ let ty = ValType::Ref(ty);
3506
+ debug_assert_type_indices_are_ids(ty);
3507
+ self.pop_operand(Some(ValType::I32))?;
3508
+ self.push_operand(ty)?;
3509
+ Ok(())
3510
+ }
3511
+ fn visit_table_set(&mut self, table: u32) -> Self::Output {
3512
+ let ty = match self.resources.table_at(table) {
3513
+ Some(ty) => ValType::Ref(ty.element_type),
3514
+ None => bail!(self.offset, "table index out of bounds"),
3515
+ };
3516
+ debug_assert_type_indices_are_ids(ty);
3517
+ self.pop_operand(Some(ty))?;
3518
+ self.pop_operand(Some(ValType::I32))?;
3519
+ Ok(())
3520
+ }
3521
+ fn visit_table_grow(&mut self, table: u32) -> Self::Output {
3522
+ let ty = match self.resources.table_at(table) {
3523
+ Some(ty) => ValType::Ref(ty.element_type),
3524
+ None => bail!(self.offset, "table index out of bounds"),
3525
+ };
3526
+ debug_assert_type_indices_are_ids(ty);
3527
+ self.pop_operand(Some(ValType::I32))?;
3528
+ self.pop_operand(Some(ty))?;
3529
+ self.push_operand(ValType::I32)?;
3530
+ Ok(())
3531
+ }
3532
+ fn visit_table_size(&mut self, table: u32) -> Self::Output {
3533
+ if self.resources.table_at(table).is_none() {
3534
+ bail!(self.offset, "table index out of bounds");
3535
+ }
3536
+ self.push_operand(ValType::I32)?;
3537
+ Ok(())
3538
+ }
3539
+ fn visit_table_fill(&mut self, table: u32) -> Self::Output {
3540
+ let ty = match self.resources.table_at(table) {
3541
+ Some(ty) => ValType::Ref(ty.element_type),
3542
+ None => bail!(self.offset, "table index out of bounds"),
3543
+ };
3544
+ debug_assert_type_indices_are_ids(ty);
3545
+ self.pop_operand(Some(ValType::I32))?;
3546
+ self.pop_operand(Some(ty))?;
3547
+ self.pop_operand(Some(ValType::I32))?;
3548
+ Ok(())
3549
+ }
3550
+ fn visit_struct_new(&mut self, struct_type_index: u32) -> Self::Output {
3551
+ let struct_ty = self.struct_type_at(struct_type_index)?;
3552
+ for ty in struct_ty.fields.iter().rev() {
3553
+ self.pop_operand(Some(ty.element_type.unpack()))?;
3554
+ }
3555
+ self.push_concrete_ref(false, struct_type_index)?;
3556
+ Ok(())
3557
+ }
3558
+ fn visit_struct_new_default(&mut self, type_index: u32) -> Self::Output {
3559
+ let ty = self.struct_type_at(type_index)?;
3560
+ for field in ty.fields.iter() {
3561
+ let val_ty = field.element_type.unpack();
3562
+ if !val_ty.is_defaultable() {
3563
+ bail!(
3564
+ self.offset,
3565
+ "invalid `struct.new_default`: {val_ty} field is not defaultable"
3566
+ );
3567
+ }
3568
+ }
3569
+ self.push_concrete_ref(false, type_index)?;
3570
+ Ok(())
3571
+ }
3572
+ fn visit_struct_get(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3573
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3574
+ if field_ty.element_type.is_packed() {
3575
+ bail!(
3576
+ self.offset,
3577
+ "can only use struct.get with non-packed storage types"
3578
+ )
3579
+ }
3580
+ self.pop_concrete_ref(true, struct_type_index)?;
3581
+ self.push_operand(field_ty.element_type.unpack())
3582
+ }
3583
+ fn visit_struct_get_s(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3584
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3585
+ if !field_ty.element_type.is_packed() {
3586
+ bail!(
3587
+ self.offset,
3588
+ "cannot use struct.get_s with non-packed storage types"
3589
+ )
3590
+ }
3591
+ self.pop_concrete_ref(true, struct_type_index)?;
3592
+ self.push_operand(field_ty.element_type.unpack())
3593
+ }
3594
+ fn visit_struct_get_u(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3595
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3596
+ if !field_ty.element_type.is_packed() {
3597
+ bail!(
3598
+ self.offset,
3599
+ "cannot use struct.get_u with non-packed storage types"
3600
+ )
3601
+ }
3602
+ self.pop_concrete_ref(true, struct_type_index)?;
3603
+ self.push_operand(field_ty.element_type.unpack())
3604
+ }
3605
+ fn visit_struct_set(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
3606
+ let field_ty = self.struct_field_at(struct_type_index, field_index)?;
3607
+ if !field_ty.mutable {
3608
+ bail!(self.offset, "invalid struct.set: struct field is immutable")
3609
+ }
3610
+ self.pop_operand(Some(field_ty.element_type.unpack()))?;
3611
+ self.pop_concrete_ref(true, struct_type_index)?;
3612
+ Ok(())
3613
+ }
3614
+ fn visit_array_new(&mut self, type_index: u32) -> Self::Output {
3615
+ let array_ty = self.array_type_at(type_index)?;
3616
+ self.pop_operand(Some(ValType::I32))?;
3617
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3618
+ self.push_concrete_ref(false, type_index)
3619
+ }
3620
+ fn visit_array_new_default(&mut self, type_index: u32) -> Self::Output {
3621
+ let ty = self.array_type_at(type_index)?;
3622
+ let val_ty = ty.0.element_type.unpack();
3623
+ if !val_ty.is_defaultable() {
3624
+ bail!(
3625
+ self.offset,
3626
+ "invalid `array.new_default`: {val_ty} field is not defaultable"
3627
+ );
3628
+ }
3629
+ self.pop_operand(Some(ValType::I32))?;
3630
+ self.push_concrete_ref(false, type_index)
3631
+ }
3632
+ fn visit_array_new_fixed(&mut self, type_index: u32, n: u32) -> Self::Output {
3633
+ let array_ty = self.array_type_at(type_index)?;
3634
+ let elem_ty = array_ty.0.element_type.unpack();
3635
+ for _ in 0..n {
3636
+ self.pop_operand(Some(elem_ty))?;
3637
+ }
3638
+ self.push_concrete_ref(false, type_index)
3639
+ }
3640
+ fn visit_array_new_data(&mut self, type_index: u32, data_index: u32) -> Self::Output {
3641
+ let array_ty = self.array_type_at(type_index)?;
3642
+ let elem_ty = array_ty.0.element_type.unpack();
3643
+ match elem_ty {
3644
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
3645
+ ValType::Ref(_) => bail!(
3646
+ self.offset,
3647
+ "type mismatch: array.new_data can only create arrays with numeric and vector elements"
3648
+ ),
3649
+ }
3650
+ match self.resources.data_count() {
3651
+ None => bail!(self.offset, "data count section required"),
3652
+ Some(count) if data_index < count => {}
3653
+ Some(_) => bail!(self.offset, "unknown data segment {}", data_index),
3654
+ }
3655
+ self.pop_operand(Some(ValType::I32))?;
3656
+ self.pop_operand(Some(ValType::I32))?;
3657
+ self.push_concrete_ref(false, type_index)
3658
+ }
3659
+ fn visit_array_new_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
3660
+ let array_ty = self.array_type_at(type_index)?;
3661
+ let array_ref_ty = match array_ty.0.element_type.unpack() {
3662
+ ValType::Ref(rt) => rt,
3663
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
3664
+ self.offset,
3665
+ "type mismatch: array.new_elem can only create arrays with reference elements"
3666
+ ),
3667
+ };
3668
+ let elem_ref_ty = self.element_type_at(elem_index)?;
3669
+ if !self
3670
+ .resources
3671
+ .is_subtype(elem_ref_ty.into(), array_ref_ty.into())
3672
+ {
3673
+ bail!(
3674
+ self.offset,
3675
+ "invalid array.new_elem instruction: element segment {elem_index} type mismatch: \
3676
+ expected {array_ref_ty}, found {elem_ref_ty}"
3677
+ )
3678
+ }
3679
+ self.pop_operand(Some(ValType::I32))?;
3680
+ self.pop_operand(Some(ValType::I32))?;
3681
+ self.push_concrete_ref(false, type_index)
3682
+ }
3683
+ fn visit_array_get(&mut self, type_index: u32) -> Self::Output {
3684
+ let array_ty = self.array_type_at(type_index)?;
3685
+ let elem_ty = array_ty.0.element_type;
3686
+ if elem_ty.is_packed() {
3687
+ bail!(
3688
+ self.offset,
3689
+ "cannot use array.get with packed storage types"
3690
+ )
3691
+ }
3692
+ self.pop_operand(Some(ValType::I32))?;
3693
+ self.pop_concrete_ref(true, type_index)?;
3694
+ self.push_operand(elem_ty.unpack())
3695
+ }
3696
+ fn visit_array_get_s(&mut self, type_index: u32) -> Self::Output {
3697
+ let array_ty = self.array_type_at(type_index)?;
3698
+ let elem_ty = array_ty.0.element_type;
3699
+ if !elem_ty.is_packed() {
3700
+ bail!(
3701
+ self.offset,
3702
+ "cannot use array.get_s with non-packed storage types"
3703
+ )
3704
+ }
3705
+ self.pop_operand(Some(ValType::I32))?;
3706
+ self.pop_concrete_ref(true, type_index)?;
3707
+ self.push_operand(elem_ty.unpack())
3708
+ }
3709
+ fn visit_array_get_u(&mut self, type_index: u32) -> Self::Output {
3710
+ let array_ty = self.array_type_at(type_index)?;
3711
+ let elem_ty = array_ty.0.element_type;
3712
+ if !elem_ty.is_packed() {
3713
+ bail!(
3714
+ self.offset,
3715
+ "cannot use array.get_u with non-packed storage types"
3716
+ )
3717
+ }
3718
+ self.pop_operand(Some(ValType::I32))?;
3719
+ self.pop_concrete_ref(true, type_index)?;
3720
+ self.push_operand(elem_ty.unpack())
3721
+ }
3722
+ fn visit_array_set(&mut self, type_index: u32) -> Self::Output {
3723
+ let array_ty = self.array_type_at(type_index)?;
3724
+ if !array_ty.0.mutable {
3725
+ bail!(self.offset, "invalid array.set: array is immutable")
3726
+ }
3727
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3728
+ self.pop_operand(Some(ValType::I32))?;
3729
+ self.pop_concrete_ref(true, type_index)?;
3730
+ Ok(())
3731
+ }
3732
+ fn visit_array_len(&mut self) -> Self::Output {
3733
+ self.pop_operand(Some(RefType::ARRAY.nullable().into()))?;
3734
+ self.push_operand(ValType::I32)
3735
+ }
3736
+ fn visit_array_fill(&mut self, array_type_index: u32) -> Self::Output {
3737
+ let array_ty = self.array_type_at(array_type_index)?;
3738
+ if !array_ty.0.mutable {
3739
+ bail!(self.offset, "invalid array.fill: array is immutable");
3740
+ }
3741
+ self.pop_operand(Some(ValType::I32))?;
3742
+ self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
3743
+ self.pop_operand(Some(ValType::I32))?;
3744
+ self.pop_concrete_ref(true, array_type_index)?;
3745
+ Ok(())
3746
+ }
3747
+ fn visit_array_copy(&mut self, type_index_dst: u32, type_index_src: u32) -> Self::Output {
3748
+ let array_ty_dst = self.array_type_at(type_index_dst)?;
3749
+ if !array_ty_dst.0.mutable {
3750
+ bail!(
3751
+ self.offset,
3752
+ "invalid array.copy: destination array is immutable"
3753
+ );
3754
+ }
3755
+ let array_ty_src = self.array_type_at(type_index_src)?;
3756
+ match (array_ty_dst.0.element_type, array_ty_src.0.element_type) {
3757
+ (StorageType::I8, StorageType::I8) => {}
3758
+ (StorageType::I8, ty) => bail!(
3759
+ self.offset,
3760
+ "array types do not match: expected i8, found {ty}"
3761
+ ),
3762
+ (StorageType::I16, StorageType::I16) => {}
3763
+ (StorageType::I16, ty) => bail!(
3764
+ self.offset,
3765
+ "array types do not match: expected i16, found {ty}"
3766
+ ),
3767
+ (StorageType::Val(dst), StorageType::Val(src)) => {
3768
+ if !self.resources.is_subtype(src, dst) {
3769
+ bail!(
3770
+ self.offset,
3771
+ "array types do not match: expected {dst}, found {src}"
3772
+ )
3773
+ }
3774
+ }
3775
+ (StorageType::Val(dst), src) => {
3776
+ bail!(
3777
+ self.offset,
3778
+ "array types do not match: expected {dst}, found {src}"
3779
+ )
3780
+ }
3781
+ }
3782
+ self.pop_operand(Some(ValType::I32))?;
3783
+ self.pop_operand(Some(ValType::I32))?;
3784
+ self.pop_concrete_ref(true, type_index_src)?;
3785
+ self.pop_operand(Some(ValType::I32))?;
3786
+ self.pop_concrete_ref(true, type_index_dst)?;
3787
+ Ok(())
3788
+ }
3789
+ fn visit_array_init_data(
3790
+ &mut self,
3791
+ array_type_index: u32,
3792
+ array_data_index: u32,
3793
+ ) -> Self::Output {
3794
+ let array_ty = self.array_type_at(array_type_index)?;
3795
+ if !array_ty.0.mutable {
3796
+ bail!(self.offset, "invalid array.init_data: array is immutable");
3797
+ }
3798
+ let val_ty = array_ty.0.element_type.unpack();
3799
+ match val_ty {
3800
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
3801
+ ValType::Ref(_) => bail!(
3802
+ self.offset,
3803
+ "invalid array.init_data: array type is not numeric or vector"
3804
+ ),
3805
+ }
3806
+ match self.resources.data_count() {
3807
+ None => bail!(self.offset, "data count section required"),
3808
+ Some(count) if array_data_index < count => {}
3809
+ Some(_) => bail!(self.offset, "unknown data segment {}", array_data_index),
3810
+ }
3811
+ self.pop_operand(Some(ValType::I32))?;
3812
+ self.pop_operand(Some(ValType::I32))?;
3813
+ self.pop_operand(Some(ValType::I32))?;
3814
+ self.pop_concrete_ref(true, array_type_index)?;
3815
+ Ok(())
3816
+ }
3817
+ fn visit_array_init_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
3818
+ let array_ty = self.array_type_at(type_index)?;
3819
+ if !array_ty.0.mutable {
3820
+ bail!(self.offset, "invalid array.init_data: array is immutable");
3821
+ }
3822
+ let array_ref_ty = match array_ty.0.element_type.unpack() {
3823
+ ValType::Ref(rt) => rt,
3824
+ ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
3825
+ self.offset,
3826
+ "type mismatch: array.init_elem can only create arrays with reference elements"
3827
+ ),
3828
+ };
3829
+ let elem_ref_ty = self.element_type_at(elem_index)?;
3830
+ if !self
3831
+ .resources
3832
+ .is_subtype(elem_ref_ty.into(), array_ref_ty.into())
3833
+ {
3834
+ bail!(
3835
+ self.offset,
3836
+ "invalid array.init_elem instruction: element segment {elem_index} type mismatch: \
3837
+ expected {array_ref_ty}, found {elem_ref_ty}"
3838
+ )
3839
+ }
3840
+ self.pop_operand(Some(ValType::I32))?;
3841
+ self.pop_operand(Some(ValType::I32))?;
3842
+ self.pop_operand(Some(ValType::I32))?;
3843
+ self.pop_concrete_ref(true, type_index)?;
3844
+ Ok(())
3845
+ }
3846
+ fn visit_any_convert_extern(&mut self) -> Self::Output {
3847
+ let extern_ref = self.pop_operand(Some(RefType::EXTERNREF.into()))?;
3848
+ let is_nullable = extern_ref
3849
+ .as_type()
3850
+ .map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
3851
+ let any_ref = RefType::new(is_nullable, HeapType::Any).unwrap();
3852
+ self.push_operand(any_ref)
3853
+ }
3854
+ fn visit_extern_convert_any(&mut self) -> Self::Output {
3855
+ let any_ref = self.pop_operand(Some(RefType::ANY.nullable().into()))?;
3856
+ let is_nullable = any_ref
3857
+ .as_type()
3858
+ .map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
3859
+ let extern_ref = RefType::new(is_nullable, HeapType::Extern).unwrap();
3860
+ self.push_operand(extern_ref)
3861
+ }
3862
+ fn visit_ref_test_non_null(&mut self, heap_type: HeapType) -> Self::Output {
3863
+ self.check_ref_test(false, heap_type)
3864
+ }
3865
+ fn visit_ref_test_nullable(&mut self, heap_type: HeapType) -> Self::Output {
3866
+ self.check_ref_test(true, heap_type)
3867
+ }
3868
+ fn visit_ref_cast_non_null(&mut self, heap_type: HeapType) -> Self::Output {
3869
+ self.check_ref_cast(false, heap_type)
3870
+ }
3871
+ fn visit_ref_cast_nullable(&mut self, heap_type: HeapType) -> Self::Output {
3872
+ self.check_ref_cast(true, heap_type)
3873
+ }
3874
+ fn visit_br_on_cast(
3875
+ &mut self,
3876
+ relative_depth: u32,
3877
+ mut from_ref_type: RefType,
3878
+ mut to_ref_type: RefType,
3879
+ ) -> Self::Output {
3880
+ self.resources
3881
+ .check_ref_type(&mut from_ref_type, self.offset)?;
3882
+ self.resources
3883
+ .check_ref_type(&mut to_ref_type, self.offset)?;
3884
+
3885
+ if !self
3886
+ .resources
3887
+ .is_subtype(to_ref_type.into(), from_ref_type.into())
3888
+ {
3889
+ bail!(
3890
+ self.offset,
3891
+ "type mismatch: expected {from_ref_type}, found {to_ref_type}"
3892
+ );
3893
+ }
3894
+
3895
+ let (block_ty, frame_kind) = self.jump(relative_depth)?;
3896
+ let mut label_types = self.label_types(block_ty, frame_kind)?;
3897
+
3898
+ match label_types.next_back() {
3899
+ Some(label_ty) if self.resources.is_subtype(to_ref_type.into(), label_ty) => {
3900
+ self.pop_operand(Some(from_ref_type.into()))?;
3901
+ }
3902
+ Some(label_ty) => bail!(
3903
+ self.offset,
3904
+ "type mismatch: casting to type {to_ref_type}, but it does not match \
3905
+ label result type {label_ty}"
3906
+ ),
3907
+ None => bail!(
3908
+ self.offset,
3909
+ "type mismtach: br_on_cast to label with empty types, must have a reference type"
3910
+ ),
3911
+ };
3912
+
3913
+ self.pop_push_label_types(label_types)?;
3914
+ let diff_ty = RefType::difference(from_ref_type, to_ref_type);
3915
+ self.push_operand(diff_ty)?;
3916
+ Ok(())
3917
+ }
3918
+ fn visit_br_on_cast_fail(
3919
+ &mut self,
3920
+ relative_depth: u32,
3921
+ mut from_ref_type: RefType,
3922
+ mut to_ref_type: RefType,
3923
+ ) -> Self::Output {
3924
+ self.resources
3925
+ .check_ref_type(&mut from_ref_type, self.offset)?;
3926
+ self.resources
3927
+ .check_ref_type(&mut to_ref_type, self.offset)?;
3928
+
3929
+ if !self
3930
+ .resources
3931
+ .is_subtype(to_ref_type.into(), from_ref_type.into())
3932
+ {
3933
+ bail!(
3934
+ self.offset,
3935
+ "type mismatch: expected {from_ref_type}, found {to_ref_type}"
3936
+ );
3937
+ }
3938
+
3939
+ let (block_ty, frame_kind) = self.jump(relative_depth)?;
3940
+ let mut label_tys = self.label_types(block_ty, frame_kind)?;
3941
+
3942
+ let diff_ty = RefType::difference(from_ref_type, to_ref_type);
3943
+ match label_tys.next_back() {
3944
+ Some(label_ty) if self.resources.is_subtype(diff_ty.into(), label_ty) => {
3945
+ self.pop_operand(Some(from_ref_type.into()))?;
3946
+ }
3947
+ Some(label_ty) => bail!(
3948
+ self.offset,
3949
+ "type mismatch: expected label result type {label_ty}, found {diff_ty}"
3950
+ ),
3951
+ None => bail!(
3952
+ self.offset,
3953
+ "type mismatch: expected a reference type, found nothing"
3954
+ ),
3955
+ }
3956
+
3957
+ self.pop_push_label_types(label_tys)?;
3958
+ self.push_operand(to_ref_type)?;
3959
+ Ok(())
3960
+ }
3961
+ fn visit_ref_i31(&mut self) -> Self::Output {
3962
+ self.pop_operand(Some(ValType::I32))?;
3963
+ self.push_operand(ValType::Ref(RefType::I31))
3964
+ }
3965
+ fn visit_i31_get_s(&mut self) -> Self::Output {
3966
+ self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
3967
+ self.push_operand(ValType::I32)
3968
+ }
3969
+ fn visit_i31_get_u(&mut self) -> Self::Output {
3970
+ self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
3971
+ self.push_operand(ValType::I32)
3972
+ }
3973
+ }
3974
+
3975
+ #[derive(Clone, Debug)]
3976
+ enum Either<A, B> {
3977
+ A(A),
3978
+ B(B),
3979
+ }
3980
+
3981
+ impl<A, B> Iterator for Either<A, B>
3982
+ where
3983
+ A: Iterator,
3984
+ B: Iterator<Item = A::Item>,
3985
+ {
3986
+ type Item = A::Item;
3987
+ fn next(&mut self) -> Option<A::Item> {
3988
+ match self {
3989
+ Either::A(a) => a.next(),
3990
+ Either::B(b) => b.next(),
3991
+ }
3992
+ }
3993
+ }
3994
+
3995
+ impl<A, B> DoubleEndedIterator for Either<A, B>
3996
+ where
3997
+ A: DoubleEndedIterator,
3998
+ B: DoubleEndedIterator<Item = A::Item>,
3999
+ {
4000
+ fn next_back(&mut self) -> Option<A::Item> {
4001
+ match self {
4002
+ Either::A(a) => a.next_back(),
4003
+ Either::B(b) => b.next_back(),
4004
+ }
4005
+ }
4006
+ }
4007
+
4008
+ impl<A, B> ExactSizeIterator for Either<A, B>
4009
+ where
4010
+ A: ExactSizeIterator,
4011
+ B: ExactSizeIterator<Item = A::Item>,
4012
+ {
4013
+ fn len(&self) -> usize {
4014
+ match self {
4015
+ Either::A(a) => a.len(),
4016
+ Either::B(b) => b.len(),
4017
+ }
4018
+ }
4019
+ }
4020
+
4021
+ trait PreciseIterator: ExactSizeIterator + DoubleEndedIterator + Clone + std::fmt::Debug {}
4022
+ impl<T: ExactSizeIterator + DoubleEndedIterator + Clone + std::fmt::Debug> PreciseIterator for T {}
4023
+
4024
+ impl Locals {
4025
+ /// Defines another group of `count` local variables of type `ty`.
4026
+ ///
4027
+ /// Returns `true` if the definition was successful. Local variable
4028
+ /// definition is unsuccessful in case the amount of total variables
4029
+ /// after definition exceeds the allowed maximum number.
4030
+ fn define(&mut self, count: u32, ty: ValType) -> bool {
4031
+ match self.num_locals.checked_add(count) {
4032
+ Some(n) => self.num_locals = n,
4033
+ None => return false,
4034
+ }
4035
+ if self.num_locals > (MAX_WASM_FUNCTION_LOCALS as u32) {
4036
+ return false;
4037
+ }
4038
+ for _ in 0..count {
4039
+ if self.first.len() >= MAX_LOCALS_TO_TRACK {
4040
+ break;
4041
+ }
4042
+ self.first.push(ty);
4043
+ }
4044
+ self.all.push((self.num_locals - 1, ty));
4045
+ true
4046
+ }
4047
+
4048
+ /// Returns the number of defined local variables.
4049
+ pub(super) fn len_locals(&self) -> u32 {
4050
+ self.num_locals
4051
+ }
4052
+
4053
+ /// Returns the type of the local variable at the given index if any.
4054
+ #[inline]
4055
+ pub(super) fn get(&self, idx: u32) -> Option<ValType> {
4056
+ match self.first.get(idx as usize) {
4057
+ Some(ty) => Some(*ty),
4058
+ None => self.get_bsearch(idx),
4059
+ }
4060
+ }
4061
+
4062
+ fn get_bsearch(&self, idx: u32) -> Option<ValType> {
4063
+ match self.all.binary_search_by_key(&idx, |(idx, _)| *idx) {
4064
+ // If this index would be inserted at the end of the list, then the
4065
+ // index is out of bounds and we return an error.
4066
+ Err(i) if i == self.all.len() => None,
4067
+
4068
+ // If `Ok` is returned we found the index exactly, or if `Err` is
4069
+ // returned the position is the one which is the least index
4070
+ // greater that `idx`, which is still the type of `idx` according
4071
+ // to our "compressed" representation. In both cases we access the
4072
+ // list at index `i`.
4073
+ Ok(i) | Err(i) => Some(self.all[i].1),
4074
+ }
4075
+ }
4076
+ }