wasmtime 9.0.4 → 10.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1933) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +184 -101
  3. data/ext/Cargo.toml +6 -6
  4. data/ext/build.rs +2 -2
  5. data/ext/cargo-vendor/cranelift-bforest-0.97.1/.cargo-checksum.json +1 -0
  6. data/ext/cargo-vendor/cranelift-bforest-0.97.1/Cargo.toml +31 -0
  7. data/ext/cargo-vendor/cranelift-codegen-0.97.1/.cargo-checksum.json +1 -0
  8. data/ext/cargo-vendor/cranelift-codegen-0.97.1/Cargo.toml +158 -0
  9. data/ext/cargo-vendor/cranelift-codegen-0.97.1/benches/x64-evex-encoding.rs +52 -0
  10. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/ir/trapcode.rs +144 -0
  11. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/abi.rs +1294 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit.rs +3684 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit_tests.rs +7895 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/imms.rs +1210 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/mod.rs +2966 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst.isle +4037 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower/isle.rs +816 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower.isle +2906 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/mod.rs +238 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/mod.rs +424 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/abi.rs +825 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/args.rs +1812 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit.rs +3008 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit_tests.rs +2338 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/encode.rs +262 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/imms.rs +250 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/mod.rs +1963 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/regs.rs +223 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/unwind/systemv.rs +174 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/vector.rs +669 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst.isle +2915 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst_vector.isle +760 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower/isle.rs +553 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower.isle +1409 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/mod.rs +216 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/abi.rs +957 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit.rs +3707 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit_tests.rs +13409 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/mod.rs +3426 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst.isle +5046 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/lower.isle +3991 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/mod.rs +213 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/abi.rs +985 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/evex.rs +749 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/rex.rs +588 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/vex.rs +492 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/args.rs +2193 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit.rs +4090 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit_tests.rs +5674 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/mod.rs +2667 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst.isle +5104 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower/isle.rs +1148 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.isle +4481 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.rs +328 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/mod.rs +251 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isle_prelude.rs +862 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/abi.rs +2455 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/buffer.rs +2277 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/compile.rs +92 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/isle.rs +827 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/lower.rs +1388 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/mod.rs +549 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/reg.rs +537 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/vcode.rs +1580 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude.isle +578 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude_lower.isle +1012 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/settings.rs +600 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/verifier/mod.rs +1884 -0
  69. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/.cargo-checksum.json +1 -0
  70. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/Cargo.toml +23 -0
  71. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/isa/x86.rs +444 -0
  72. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/shared/settings.rs +348 -0
  73. data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/.cargo-checksum.json +1 -0
  74. data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/Cargo.toml +22 -0
  75. data/ext/cargo-vendor/cranelift-control-0.97.1/.cargo-checksum.json +1 -0
  76. data/ext/cargo-vendor/cranelift-control-0.97.1/Cargo.toml +30 -0
  77. data/ext/cargo-vendor/cranelift-control-0.97.1/src/chaos.rs +125 -0
  78. data/ext/cargo-vendor/cranelift-control-0.97.1/src/lib.rs +45 -0
  79. data/ext/cargo-vendor/cranelift-control-0.97.1/src/zero_sized.rs +53 -0
  80. data/ext/cargo-vendor/cranelift-entity-0.97.1/.cargo-checksum.json +1 -0
  81. data/ext/cargo-vendor/cranelift-entity-0.97.1/Cargo.toml +35 -0
  82. data/ext/cargo-vendor/cranelift-entity-0.97.1/src/list.rs +955 -0
  83. data/ext/cargo-vendor/cranelift-frontend-0.97.1/.cargo-checksum.json +1 -0
  84. data/ext/cargo-vendor/cranelift-frontend-0.97.1/Cargo.toml +53 -0
  85. data/ext/cargo-vendor/cranelift-isle-0.97.1/.cargo-checksum.json +1 -0
  86. data/ext/cargo-vendor/cranelift-isle-0.97.1/Cargo.toml +37 -0
  87. data/ext/cargo-vendor/cranelift-native-0.97.1/.cargo-checksum.json +1 -0
  88. data/ext/cargo-vendor/cranelift-native-0.97.1/Cargo.toml +38 -0
  89. data/ext/cargo-vendor/cranelift-native-0.97.1/src/lib.rs +215 -0
  90. data/ext/cargo-vendor/cranelift-wasm-0.97.1/.cargo-checksum.json +1 -0
  91. data/ext/cargo-vendor/cranelift-wasm-0.97.1/Cargo.toml +85 -0
  92. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/code_translator.rs +3538 -0
  93. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/dummy.rs +924 -0
  94. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/spec.rs +834 -0
  95. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/func_translator.rs +440 -0
  96. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/sections_translator.rs +417 -0
  97. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/translation_utils.rs +99 -0
  98. data/ext/cargo-vendor/encoding_rs-0.8.32/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/encoding_rs-0.8.32/CONTRIBUTING.md +48 -0
  100. data/ext/cargo-vendor/encoding_rs-0.8.32/COPYRIGHT +17 -0
  101. data/ext/cargo-vendor/encoding_rs-0.8.32/Cargo.toml +84 -0
  102. data/ext/cargo-vendor/encoding_rs-0.8.32/Ideas.md +106 -0
  103. data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-APACHE +202 -0
  104. data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-MIT +25 -0
  105. data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-WHATWG +26 -0
  106. data/ext/cargo-vendor/encoding_rs-0.8.32/README.md +827 -0
  107. data/ext/cargo-vendor/encoding_rs-0.8.32/ci/miri.sh +14 -0
  108. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Big5.txt +16 -0
  109. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-JP.txt +12 -0
  110. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-KR.txt +10 -0
  111. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/GBK.txt +16 -0
  112. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/IBM866.txt +8 -0
  113. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-2022-JP.txt +10 -0
  114. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-10.txt +8 -0
  115. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-13.txt +8 -0
  116. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-14.txt +8 -0
  117. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-15.txt +7 -0
  118. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-16.txt +8 -0
  119. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-2.txt +6 -0
  120. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-3.txt +6 -0
  121. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-4.txt +6 -0
  122. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-5.txt +6 -0
  123. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-6.txt +7 -0
  124. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-7.txt +11 -0
  125. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8-I.txt +9 -0
  126. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8.txt +9 -0
  127. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-R.txt +6 -0
  128. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-U.txt +6 -0
  129. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Shift_JIS.txt +8 -0
  130. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16BE.txt +8 -0
  131. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16LE.txt +8 -0
  132. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-8.txt +5 -0
  133. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/gb18030.txt +9 -0
  134. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/macintosh.txt +7 -0
  135. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/replacement.txt +10 -0
  136. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1250.txt +6 -0
  137. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1251.txt +6 -0
  138. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1252.txt +7 -0
  139. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1253.txt +8 -0
  140. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1254.txt +7 -0
  141. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1255.txt +8 -0
  142. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1256.txt +6 -0
  143. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1257.txt +7 -0
  144. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1258.txt +11 -0
  145. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-874.txt +7 -0
  146. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-mac-cyrillic.txt +6 -0
  147. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-user-defined.txt +6 -0
  148. data/ext/cargo-vendor/encoding_rs-0.8.32/generate-encoding-data.py +2008 -0
  149. data/ext/cargo-vendor/encoding_rs-0.8.32/rustfmt.toml +1 -0
  150. data/ext/cargo-vendor/encoding_rs-0.8.32/src/ascii.rs +1546 -0
  151. data/ext/cargo-vendor/encoding_rs-0.8.32/src/big5.rs +427 -0
  152. data/ext/cargo-vendor/encoding_rs-0.8.32/src/data.rs +114378 -0
  153. data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_jp.rs +469 -0
  154. data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_kr.rs +442 -0
  155. data/ext/cargo-vendor/encoding_rs-0.8.32/src/gb18030.rs +767 -0
  156. data/ext/cargo-vendor/encoding_rs-0.8.32/src/handles.rs +1969 -0
  157. data/ext/cargo-vendor/encoding_rs-0.8.32/src/iso_2022_jp.rs +1068 -0
  158. data/ext/cargo-vendor/encoding_rs-0.8.32/src/lib.rs +6133 -0
  159. data/ext/cargo-vendor/encoding_rs-0.8.32/src/macros.rs +1622 -0
  160. data/ext/cargo-vendor/encoding_rs-0.8.32/src/mem.rs +3354 -0
  161. data/ext/cargo-vendor/encoding_rs-0.8.32/src/replacement.rs +104 -0
  162. data/ext/cargo-vendor/encoding_rs-0.8.32/src/shift_jis.rs +426 -0
  163. data/ext/cargo-vendor/encoding_rs-0.8.32/src/simd_funcs.rs +453 -0
  164. data/ext/cargo-vendor/encoding_rs-0.8.32/src/single_byte.rs +714 -0
  165. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in.txt +19787 -0
  166. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in_ref.txt +19787 -0
  167. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out.txt +14601 -0
  168. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out_ref.txt +14601 -0
  169. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in.txt +23945 -0
  170. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in_ref.txt +23945 -0
  171. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out.txt +17053 -0
  172. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out_ref.txt +17053 -0
  173. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in.txt +23945 -0
  174. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in_ref.txt +23945 -0
  175. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out.txt +23944 -0
  176. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out_ref.txt +23944 -0
  177. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in.txt +8841 -0
  178. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in_ref.txt +8841 -0
  179. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out.txt +7404 -0
  180. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out_ref.txt +7404 -0
  181. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in.txt +8841 -0
  182. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in_ref.txt +8841 -0
  183. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out.txt +7341 -0
  184. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out_ref.txt +7341 -0
  185. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in.txt +8841 -0
  186. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in_ref.txt +8841 -0
  187. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in.txt +11285 -0
  188. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in_ref.txt +11285 -0
  189. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out.txt +7355 -0
  190. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out_ref.txt +7355 -0
  191. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_labels_names.rs +242 -0
  192. data/ext/cargo-vendor/encoding_rs-0.8.32/src/testing.rs +262 -0
  193. data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_16.rs +472 -0
  194. data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_8.rs +1629 -0
  195. data/ext/cargo-vendor/encoding_rs-0.8.32/src/variant.rs +400 -0
  196. data/ext/cargo-vendor/encoding_rs-0.8.32/src/x_user_defined.rs +249 -0
  197. data/ext/cargo-vendor/equivalent-1.0.1/.cargo-checksum.json +1 -0
  198. data/ext/cargo-vendor/equivalent-1.0.1/Cargo.toml +27 -0
  199. data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-APACHE +201 -0
  200. data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-MIT +25 -0
  201. data/ext/cargo-vendor/equivalent-1.0.1/README.md +25 -0
  202. data/ext/cargo-vendor/equivalent-1.0.1/src/lib.rs +113 -0
  203. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +1 -0
  204. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +36 -0
  205. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +12 -0
  206. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +200 -0
  207. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +323 -0
  208. data/ext/cargo-vendor/hashbrown-0.14.0/.cargo-checksum.json +1 -0
  209. data/ext/cargo-vendor/hashbrown-0.14.0/CHANGELOG.md +475 -0
  210. data/ext/cargo-vendor/hashbrown-0.14.0/Cargo.toml +131 -0
  211. data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-APACHE +201 -0
  212. data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-MIT +25 -0
  213. data/ext/cargo-vendor/hashbrown-0.14.0/README.md +125 -0
  214. data/ext/cargo-vendor/hashbrown-0.14.0/benches/bench.rs +331 -0
  215. data/ext/cargo-vendor/hashbrown-0.14.0/benches/insert_unique_unchecked.rs +32 -0
  216. data/ext/cargo-vendor/hashbrown-0.14.0/clippy.toml +1 -0
  217. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/mod.rs +6 -0
  218. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/helpers.rs +27 -0
  219. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/map.rs +731 -0
  220. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/mod.rs +4 -0
  221. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/raw.rs +231 -0
  222. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/set.rs +659 -0
  223. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_map.rs +125 -0
  224. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_set.rs +123 -0
  225. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/mod.rs +2 -0
  226. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/serde.rs +201 -0
  227. data/ext/cargo-vendor/hashbrown-0.14.0/src/lib.rs +165 -0
  228. data/ext/cargo-vendor/hashbrown-0.14.0/src/macros.rs +70 -0
  229. data/ext/cargo-vendor/hashbrown-0.14.0/src/map.rs +8506 -0
  230. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/alloc.rs +86 -0
  231. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/bitmask.rs +133 -0
  232. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/generic.rs +157 -0
  233. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/mod.rs +3378 -0
  234. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/neon.rs +124 -0
  235. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/sse2.rs +149 -0
  236. data/ext/cargo-vendor/hashbrown-0.14.0/src/rustc_entry.rs +630 -0
  237. data/ext/cargo-vendor/hashbrown-0.14.0/src/scopeguard.rs +72 -0
  238. data/ext/cargo-vendor/hashbrown-0.14.0/src/set.rs +2903 -0
  239. data/ext/cargo-vendor/hashbrown-0.14.0/tests/equivalent_trait.rs +53 -0
  240. data/ext/cargo-vendor/hashbrown-0.14.0/tests/hasher.rs +65 -0
  241. data/ext/cargo-vendor/hashbrown-0.14.0/tests/raw.rs +11 -0
  242. data/ext/cargo-vendor/hashbrown-0.14.0/tests/rayon.rs +535 -0
  243. data/ext/cargo-vendor/hashbrown-0.14.0/tests/serde.rs +65 -0
  244. data/ext/cargo-vendor/hashbrown-0.14.0/tests/set.rs +34 -0
  245. data/ext/cargo-vendor/indexmap-2.0.0/.cargo-checksum.json +1 -0
  246. data/ext/cargo-vendor/indexmap-2.0.0/Cargo.toml +112 -0
  247. data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-APACHE +201 -0
  248. data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-MIT +25 -0
  249. data/ext/cargo-vendor/indexmap-2.0.0/README.md +55 -0
  250. data/ext/cargo-vendor/indexmap-2.0.0/RELEASES.md +424 -0
  251. data/ext/cargo-vendor/indexmap-2.0.0/benches/bench.rs +763 -0
  252. data/ext/cargo-vendor/indexmap-2.0.0/benches/faststring.rs +185 -0
  253. data/ext/cargo-vendor/indexmap-2.0.0/src/arbitrary.rs +77 -0
  254. data/ext/cargo-vendor/indexmap-2.0.0/src/lib.rs +278 -0
  255. data/ext/cargo-vendor/indexmap-2.0.0/src/macros.rs +178 -0
  256. data/ext/cargo-vendor/indexmap-2.0.0/src/map/core/raw.rs +217 -0
  257. data/ext/cargo-vendor/indexmap-2.0.0/src/map/core.rs +742 -0
  258. data/ext/cargo-vendor/indexmap-2.0.0/src/map/iter.rs +541 -0
  259. data/ext/cargo-vendor/indexmap-2.0.0/src/map/serde_seq.rs +138 -0
  260. data/ext/cargo-vendor/indexmap-2.0.0/src/map/slice.rs +471 -0
  261. data/ext/cargo-vendor/indexmap-2.0.0/src/map/tests.rs +449 -0
  262. data/ext/cargo-vendor/indexmap-2.0.0/src/map.rs +1223 -0
  263. data/ext/cargo-vendor/indexmap-2.0.0/src/mutable_keys.rs +91 -0
  264. data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/map.rs +679 -0
  265. data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/mod.rs +27 -0
  266. data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/set.rs +774 -0
  267. data/ext/cargo-vendor/indexmap-2.0.0/src/rustc.rs +158 -0
  268. data/ext/cargo-vendor/indexmap-2.0.0/src/serde.rs +151 -0
  269. data/ext/cargo-vendor/indexmap-2.0.0/src/set/iter.rs +543 -0
  270. data/ext/cargo-vendor/indexmap-2.0.0/src/set/slice.rs +278 -0
  271. data/ext/cargo-vendor/indexmap-2.0.0/src/set/tests.rs +545 -0
  272. data/ext/cargo-vendor/indexmap-2.0.0/src/set.rs +1011 -0
  273. data/ext/cargo-vendor/indexmap-2.0.0/src/util.rs +53 -0
  274. data/ext/cargo-vendor/indexmap-2.0.0/tests/equivalent_trait.rs +53 -0
  275. data/ext/cargo-vendor/indexmap-2.0.0/tests/macros_full_path.rs +19 -0
  276. data/ext/cargo-vendor/indexmap-2.0.0/tests/quick.rs +579 -0
  277. data/ext/cargo-vendor/indexmap-2.0.0/tests/tests.rs +28 -0
  278. data/ext/cargo-vendor/regalloc2-0.9.2/.cargo-checksum.json +1 -0
  279. data/ext/cargo-vendor/regalloc2-0.9.2/Cargo.toml +72 -0
  280. data/ext/cargo-vendor/regalloc2-0.9.2/deny.toml +28 -0
  281. data/ext/cargo-vendor/regalloc2-0.9.2/src/checker.rs +1089 -0
  282. data/ext/cargo-vendor/regalloc2-0.9.2/src/fuzzing/func.rs +702 -0
  283. data/ext/cargo-vendor/regalloc2-0.9.2/src/index.rs +268 -0
  284. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/data_structures.rs +857 -0
  285. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/liveranges.rs +961 -0
  286. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/merge.rs +368 -0
  287. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/mod.rs +150 -0
  288. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/moves.rs +1017 -0
  289. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/process.rs +1307 -0
  290. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/requirement.rs +174 -0
  291. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/spill.rs +165 -0
  292. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/stackmap.rs +79 -0
  293. data/ext/cargo-vendor/regalloc2-0.9.2/src/lib.rs +1526 -0
  294. data/ext/cargo-vendor/regalloc2-0.9.2/src/moves.rs +439 -0
  295. data/ext/cargo-vendor/regalloc2-0.9.2/src/serialize.rs +311 -0
  296. data/ext/cargo-vendor/semver-1.0.18/.cargo-checksum.json +1 -0
  297. data/ext/cargo-vendor/semver-1.0.18/Cargo.toml +47 -0
  298. data/ext/cargo-vendor/semver-1.0.18/LICENSE-APACHE +176 -0
  299. data/ext/cargo-vendor/semver-1.0.18/LICENSE-MIT +23 -0
  300. data/ext/cargo-vendor/semver-1.0.18/README.md +84 -0
  301. data/ext/cargo-vendor/semver-1.0.18/benches/parse.rs +24 -0
  302. data/ext/cargo-vendor/semver-1.0.18/build.rs +75 -0
  303. data/ext/cargo-vendor/semver-1.0.18/src/backport.rs +23 -0
  304. data/ext/cargo-vendor/semver-1.0.18/src/display.rs +165 -0
  305. data/ext/cargo-vendor/semver-1.0.18/src/error.rs +126 -0
  306. data/ext/cargo-vendor/semver-1.0.18/src/eval.rs +181 -0
  307. data/ext/cargo-vendor/semver-1.0.18/src/identifier.rs +422 -0
  308. data/ext/cargo-vendor/semver-1.0.18/src/impls.rs +156 -0
  309. data/ext/cargo-vendor/semver-1.0.18/src/lib.rs +533 -0
  310. data/ext/cargo-vendor/semver-1.0.18/src/parse.rs +409 -0
  311. data/ext/cargo-vendor/semver-1.0.18/src/serde.rs +109 -0
  312. data/ext/cargo-vendor/semver-1.0.18/tests/node/mod.rs +43 -0
  313. data/ext/cargo-vendor/semver-1.0.18/tests/test_autotrait.rs +14 -0
  314. data/ext/cargo-vendor/semver-1.0.18/tests/test_identifier.rs +45 -0
  315. data/ext/cargo-vendor/semver-1.0.18/tests/test_version.rs +238 -0
  316. data/ext/cargo-vendor/semver-1.0.18/tests/test_version_req.rs +443 -0
  317. data/ext/cargo-vendor/semver-1.0.18/tests/util/mod.rs +39 -0
  318. data/ext/cargo-vendor/sptr-0.3.2/.cargo-checksum.json +1 -0
  319. data/ext/cargo-vendor/sptr-0.3.2/Cargo.toml +28 -0
  320. data/ext/cargo-vendor/sptr-0.3.2/README.md +73 -0
  321. data/ext/cargo-vendor/sptr-0.3.2/src/func.rs +83 -0
  322. data/ext/cargo-vendor/sptr-0.3.2/src/int.rs +364 -0
  323. data/ext/cargo-vendor/sptr-0.3.2/src/lib.rs +756 -0
  324. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/.cargo-checksum.json +1 -0
  325. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/Cargo.toml +90 -0
  326. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/dir.rs +464 -0
  327. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/lib.rs +141 -0
  328. data/ext/cargo-vendor/wasi-common-10.0.1/.cargo-checksum.json +1 -0
  329. data/ext/cargo-vendor/wasi-common-10.0.1/Cargo.toml +87 -0
  330. data/ext/cargo-vendor/wasi-common-10.0.1/src/ctx.rs +128 -0
  331. data/ext/cargo-vendor/wasi-common-10.0.1/src/file.rs +262 -0
  332. data/ext/cargo-vendor/wasi-common-10.0.1/src/snapshots/preview_1.rs +1490 -0
  333. data/ext/cargo-vendor/wasm-encoder-0.29.0/.cargo-checksum.json +1 -0
  334. data/ext/cargo-vendor/wasm-encoder-0.29.0/Cargo.toml +33 -0
  335. data/ext/cargo-vendor/wasm-encoder-0.29.0/README.md +80 -0
  336. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/aliases.rs +160 -0
  337. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/canonicals.rs +159 -0
  338. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/components.rs +29 -0
  339. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/exports.rs +127 -0
  340. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/imports.rs +200 -0
  341. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/instances.rs +200 -0
  342. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/modules.rs +29 -0
  343. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/names.rs +149 -0
  344. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/start.rs +52 -0
  345. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/types.rs +759 -0
  346. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component.rs +160 -0
  347. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/code.rs +2913 -0
  348. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/custom.rs +55 -0
  349. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/data.rs +185 -0
  350. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/dump.rs +627 -0
  351. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/elements.rs +224 -0
  352. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/exports.rs +85 -0
  353. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/functions.rs +63 -0
  354. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/globals.rs +90 -0
  355. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/imports.rs +142 -0
  356. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/linking.rs +263 -0
  357. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/memories.rs +99 -0
  358. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/names.rs +265 -0
  359. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/producers.rs +180 -0
  360. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/start.rs +39 -0
  361. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tables.rs +104 -0
  362. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tags.rs +85 -0
  363. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/types.rs +246 -0
  364. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core.rs +168 -0
  365. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/lib.rs +215 -0
  366. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/raw.rs +30 -0
  367. data/ext/cargo-vendor/wasmparser-0.107.0/.cargo-checksum.json +1 -0
  368. data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.lock +621 -0
  369. data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.toml +54 -0
  370. data/ext/cargo-vendor/wasmparser-0.107.0/benches/benchmark.rs +351 -0
  371. data/ext/cargo-vendor/wasmparser-0.107.0/src/binary_reader.rs +1706 -0
  372. data/ext/cargo-vendor/wasmparser-0.107.0/src/lib.rs +723 -0
  373. data/ext/cargo-vendor/wasmparser-0.107.0/src/parser.rs +1535 -0
  374. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/canonicals.rs +119 -0
  375. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/exports.rs +117 -0
  376. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/imports.rs +137 -0
  377. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/instances.rs +163 -0
  378. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/types.rs +548 -0
  379. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/coredumps.rs +243 -0
  380. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/producers.rs +83 -0
  381. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/types.rs +874 -0
  382. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core.rs +35 -0
  383. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/component.rs +3082 -0
  384. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/core.rs +1334 -0
  385. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/names.rs +606 -0
  386. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/operators.rs +3463 -0
  387. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/types.rs +3070 -0
  388. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator.rs +1589 -0
  389. data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +1 -0
  390. data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +644 -0
  391. data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +54 -0
  392. data/ext/cargo-vendor/wasmparser-0.111.0/README.md +36 -0
  393. data/ext/cargo-vendor/wasmparser-0.111.0/benches/benchmark.rs +349 -0
  394. data/ext/cargo-vendor/wasmparser-0.111.0/examples/simple.rs +37 -0
  395. data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +1706 -0
  396. data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +726 -0
  397. data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +59 -0
  398. data/ext/cargo-vendor/wasmparser-0.111.0/src/parser.rs +1612 -0
  399. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/aliases.rs +119 -0
  400. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/canonicals.rs +120 -0
  401. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/exports.rs +117 -0
  402. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/imports.rs +137 -0
  403. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/instances.rs +163 -0
  404. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/names.rs +102 -0
  405. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/start.rs +30 -0
  406. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +548 -0
  407. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component.rs +17 -0
  408. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/code.rs +146 -0
  409. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/coredumps.rs +243 -0
  410. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/custom.rs +63 -0
  411. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/data.rs +96 -0
  412. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/dylink0.rs +132 -0
  413. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/elements.rs +152 -0
  414. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/exports.rs +65 -0
  415. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/functions.rs +17 -0
  416. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/globals.rs +49 -0
  417. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/imports.rs +76 -0
  418. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/init.rs +51 -0
  419. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/memories.rs +56 -0
  420. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/names.rs +153 -0
  421. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/operators.rs +354 -0
  422. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/producers.rs +83 -0
  423. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tables.rs +87 -0
  424. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tags.rs +32 -0
  425. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +1141 -0
  426. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core.rs +37 -0
  427. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers.rs +316 -0
  428. data/ext/cargo-vendor/wasmparser-0.111.0/src/resources.rs +398 -0
  429. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +3148 -0
  430. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +1314 -0
  431. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/func.rs +348 -0
  432. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/names.rs +606 -0
  433. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +3466 -0
  434. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +3283 -0
  435. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +1568 -0
  436. data/ext/cargo-vendor/wasmparser-0.111.0/tests/big-module.rs +33 -0
  437. data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +1 -0
  438. data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +39 -0
  439. data/ext/cargo-vendor/wasmprinter-0.2.63/README.md +47 -0
  440. data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +2962 -0
  441. data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +873 -0
  442. data/ext/cargo-vendor/wasmprinter-0.2.63/tests/all.rs +278 -0
  443. data/ext/cargo-vendor/wasmtime-10.0.1/.cargo-checksum.json +1 -0
  444. data/ext/cargo-vendor/wasmtime-10.0.1/Cargo.toml +183 -0
  445. data/ext/cargo-vendor/wasmtime-10.0.1/src/compiler.rs +710 -0
  446. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/component.rs +382 -0
  447. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/instance.rs +727 -0
  448. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/matching.rs +112 -0
  449. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/mod.rs +313 -0
  450. data/ext/cargo-vendor/wasmtime-10.0.1/src/config.rs +2066 -0
  451. data/ext/cargo-vendor/wasmtime-10.0.1/src/engine/serialization.rs +622 -0
  452. data/ext/cargo-vendor/wasmtime-10.0.1/src/engine.rs +757 -0
  453. data/ext/cargo-vendor/wasmtime-10.0.1/src/externals.rs +763 -0
  454. data/ext/cargo-vendor/wasmtime-10.0.1/src/func/typed.rs +638 -0
  455. data/ext/cargo-vendor/wasmtime-10.0.1/src/func.rs +2355 -0
  456. data/ext/cargo-vendor/wasmtime-10.0.1/src/instance.rs +905 -0
  457. data/ext/cargo-vendor/wasmtime-10.0.1/src/lib.rs +486 -0
  458. data/ext/cargo-vendor/wasmtime-10.0.1/src/linker.rs +1479 -0
  459. data/ext/cargo-vendor/wasmtime-10.0.1/src/memory.rs +950 -0
  460. data/ext/cargo-vendor/wasmtime-10.0.1/src/module.rs +1274 -0
  461. data/ext/cargo-vendor/wasmtime-10.0.1/src/ref.rs +109 -0
  462. data/ext/cargo-vendor/wasmtime-10.0.1/src/store/context.rs +243 -0
  463. data/ext/cargo-vendor/wasmtime-10.0.1/src/store/func_refs.rs +85 -0
  464. data/ext/cargo-vendor/wasmtime-10.0.1/src/store.rs +2166 -0
  465. data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/func.rs +133 -0
  466. data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/global.rs +67 -0
  467. data/ext/cargo-vendor/wasmtime-10.0.1/src/types/matching.rs +312 -0
  468. data/ext/cargo-vendor/wasmtime-10.0.1/src/types.rs +572 -0
  469. data/ext/cargo-vendor/wasmtime-10.0.1/src/values.rs +290 -0
  470. data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/.cargo-checksum.json +1 -0
  471. data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/Cargo.toml +22 -0
  472. data/ext/cargo-vendor/wasmtime-cache-10.0.1/.cargo-checksum.json +1 -0
  473. data/ext/cargo-vendor/wasmtime-cache-10.0.1/Cargo.toml +73 -0
  474. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/.cargo-checksum.json +1 -0
  475. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/Cargo.toml +58 -0
  476. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/src/bindgen.rs +316 -0
  477. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/char.wit +13 -0
  478. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/conventions.wit +39 -0
  479. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/direct-import.wit +5 -0
  480. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/empty.wit +2 -0
  481. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/flags.wit +55 -0
  482. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/floats.wit +13 -0
  483. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/function-new.wit +4 -0
  484. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/integers.wit +40 -0
  485. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/lists.wit +85 -0
  486. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/many-arguments.wit +52 -0
  487. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/multi-return.wit +14 -0
  488. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/records.wit +61 -0
  489. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/rename.wit +16 -0
  490. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/share-types.wit +21 -0
  491. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-functions.wit +17 -0
  492. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-lists.wit +13 -0
  493. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-wasi.wit +23 -0
  494. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/small-anonymous.wit +15 -0
  495. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-default.wit +5 -0
  496. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-export.wit +7 -0
  497. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke.wit +7 -0
  498. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/strings.wit +12 -0
  499. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/unions.wit +66 -0
  500. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/use-paths.wit +29 -0
  501. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/variants.wit +147 -0
  502. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/worlds-with-types.wit +16 -0
  503. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen.rs +24 -0
  504. data/ext/cargo-vendor/wasmtime-component-util-10.0.1/.cargo-checksum.json +1 -0
  505. data/ext/cargo-vendor/wasmtime-component-util-10.0.1/Cargo.toml +25 -0
  506. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/.cargo-checksum.json +1 -0
  507. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/Cargo.toml +90 -0
  508. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/compiler.rs +1200 -0
  509. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/debug/transform/simulate.rs +410 -0
  510. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/func_environ.rs +2206 -0
  511. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/lib.rs +178 -0
  512. data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/.cargo-checksum.json +1 -0
  513. data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/Cargo.toml +57 -0
  514. data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/src/lib.rs +120 -0
  515. data/ext/cargo-vendor/wasmtime-environ-10.0.1/.cargo-checksum.json +1 -0
  516. data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.lock +681 -0
  517. data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.toml +116 -0
  518. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/compiler.rs +84 -0
  519. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate/inline.rs +1067 -0
  520. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate.rs +1070 -0
  521. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/types.rs +1916 -0
  522. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/fact.rs +623 -0
  523. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module.rs +1083 -0
  524. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module_environ.rs +884 -0
  525. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/trap_encoding.rs +238 -0
  526. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/.cargo-checksum.json +1 -0
  527. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/Cargo.toml +46 -0
  528. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/lib.rs +305 -0
  529. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/unix.rs +212 -0
  530. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/windows.rs +161 -0
  531. data/ext/cargo-vendor/wasmtime-jit-10.0.1/.cargo-checksum.json +1 -0
  532. data/ext/cargo-vendor/wasmtime-jit-10.0.1/Cargo.toml +104 -0
  533. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/instantiate.rs +760 -0
  534. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/lib.rs +38 -0
  535. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/jitdump.rs +66 -0
  536. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/perfmap.rs +47 -0
  537. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/vtune.rs +80 -0
  538. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling.rs +108 -0
  539. data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/.cargo-checksum.json +1 -0
  540. data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/Cargo.toml +55 -0
  541. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/.cargo-checksum.json +1 -0
  542. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/Cargo.toml +37 -0
  543. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/.cargo-checksum.json +1 -0
  544. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/Cargo.toml +110 -0
  545. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/component.rs +701 -0
  546. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/cow.rs +1060 -0
  547. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/debug_builtins.rs +58 -0
  548. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/externref.rs +1073 -0
  549. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator/pooling.rs +1368 -0
  550. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator.rs +531 -0
  551. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance.rs +1345 -0
  552. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/lib.rs +285 -0
  553. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/libcalls.rs +578 -0
  554. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/memory.rs +958 -0
  555. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/miri.rs +94 -0
  556. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/unix.rs +148 -0
  557. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/windows.rs +208 -0
  558. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/send_sync_ptr.rs +69 -0
  559. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/table.rs +595 -0
  560. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers/unix.rs +387 -0
  561. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers.rs +749 -0
  562. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext/vm_host_func_context.rs +137 -0
  563. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext.rs +1221 -0
  564. data/ext/cargo-vendor/wasmtime-types-10.0.1/.cargo-checksum.json +1 -0
  565. data/ext/cargo-vendor/wasmtime-types-10.0.1/Cargo.toml +34 -0
  566. data/ext/cargo-vendor/wasmtime-types-10.0.1/src/lib.rs +462 -0
  567. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/.cargo-checksum.json +1 -0
  568. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/Cargo.toml +153 -0
  569. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/lib.rs +131 -0
  570. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks/host.rs +73 -0
  571. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks.rs +17 -0
  572. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/ctx.rs +206 -0
  573. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/error.rs +16 -0
  574. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/filesystem.rs +269 -0
  575. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/mod.rs +44 -0
  576. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/pipe.rs +233 -0
  577. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview1/mod.rs +1860 -0
  578. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/clocks.rs +80 -0
  579. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/env.rs +48 -0
  580. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/exit.rs +12 -0
  581. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/filesystem.rs +1020 -0
  582. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/io.rs +215 -0
  583. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/mod.rs +7 -0
  584. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/poll.rs +84 -0
  585. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/random.rs +41 -0
  586. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/random.rs +58 -0
  587. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/subscription.rs +104 -0
  588. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/sync.rs +156 -0
  589. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched.rs +105 -0
  590. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stdio.rs +176 -0
  591. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stream.rs +210 -0
  592. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/table.rs +107 -0
  593. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/command.rs +43 -0
  594. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/mod.rs +30 -0
  595. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/monotonic-clock.wit +34 -0
  596. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/timezone.wit +63 -0
  597. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/wall-clock.wit +43 -0
  598. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/filesystem/filesystem.wit +782 -0
  599. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/incoming-handler.wit +24 -0
  600. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/outgoing-handler.wit +18 -0
  601. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/types.wit +159 -0
  602. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/io/streams.wit +215 -0
  603. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/logging/handler.wit +34 -0
  604. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/poll/poll.wit +41 -0
  605. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command-extended.wit +36 -0
  606. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command.wit +26 -0
  607. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/proxy.wit +9 -0
  608. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/reactor.wit +24 -0
  609. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure-seed.wit +24 -0
  610. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure.wit +21 -0
  611. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/random.wit +25 -0
  612. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/instance-network.wit +9 -0
  613. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/ip-name-lookup.wit +69 -0
  614. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/network.wit +187 -0
  615. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp-create-socket.wit +27 -0
  616. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp.wit +255 -0
  617. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp-create-socket.wit +27 -0
  618. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp.wit +211 -0
  619. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/environment.wit +16 -0
  620. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/exit.wit +4 -0
  621. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/preopens.wit +7 -0
  622. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/stdio.wit +17 -0
  623. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/main.wit +1 -0
  624. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/test.wit +19 -0
  625. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/typenames.witx +750 -0
  626. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/wasi_snapshot_preview1.witx +521 -0
  627. data/ext/cargo-vendor/wasmtime-winch-10.0.1/.cargo-checksum.json +1 -0
  628. data/ext/cargo-vendor/wasmtime-winch-10.0.1/Cargo.toml +63 -0
  629. data/ext/cargo-vendor/wasmtime-winch-10.0.1/src/compiler.rs +220 -0
  630. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/.cargo-checksum.json +1 -0
  631. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/Cargo.toml +29 -0
  632. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/lib.rs +1631 -0
  633. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/types.rs +179 -0
  634. data/ext/cargo-vendor/wiggle-10.0.1/.cargo-checksum.json +1 -0
  635. data/ext/cargo-vendor/wiggle-10.0.1/Cargo.toml +106 -0
  636. data/ext/cargo-vendor/wiggle-10.0.1/LICENSE +220 -0
  637. data/ext/cargo-vendor/wiggle-10.0.1/README.md +18 -0
  638. data/ext/cargo-vendor/wiggle-generate-10.0.1/.cargo-checksum.json +1 -0
  639. data/ext/cargo-vendor/wiggle-generate-10.0.1/Cargo.toml +58 -0
  640. data/ext/cargo-vendor/wiggle-generate-10.0.1/LICENSE +220 -0
  641. data/ext/cargo-vendor/wiggle-macro-10.0.1/.cargo-checksum.json +1 -0
  642. data/ext/cargo-vendor/wiggle-macro-10.0.1/Cargo.toml +55 -0
  643. data/ext/cargo-vendor/wiggle-macro-10.0.1/LICENSE +220 -0
  644. data/ext/cargo-vendor/wiggle-macro-10.0.1/src/lib.rs +210 -0
  645. data/ext/cargo-vendor/winch-codegen-0.8.1/.cargo-checksum.json +1 -0
  646. data/ext/cargo-vendor/winch-codegen-0.8.1/Cargo.toml +62 -0
  647. data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/local.rs +70 -0
  648. data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/mod.rs +237 -0
  649. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/call.rs +225 -0
  650. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/context.rs +270 -0
  651. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/env.rs +52 -0
  652. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/mod.rs +214 -0
  653. data/ext/cargo-vendor/winch-codegen-0.8.1/src/frame/mod.rs +172 -0
  654. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/abi.rs +243 -0
  655. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/asm.rs +300 -0
  656. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/masm.rs +230 -0
  657. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/mod.rs +127 -0
  658. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/regs.rs +166 -0
  659. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/mod.rs +215 -0
  660. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/abi.rs +369 -0
  661. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/address.rs +17 -0
  662. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/asm.rs +576 -0
  663. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/masm.rs +288 -0
  664. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/mod.rs +149 -0
  665. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/regs.rs +192 -0
  666. data/ext/cargo-vendor/winch-codegen-0.8.1/src/lib.rs +21 -0
  667. data/ext/cargo-vendor/winch-codegen-0.8.1/src/masm.rs +255 -0
  668. data/ext/cargo-vendor/winch-codegen-0.8.1/src/regalloc.rs +70 -0
  669. data/ext/cargo-vendor/winch-codegen-0.8.1/src/stack.rs +235 -0
  670. data/ext/cargo-vendor/winch-codegen-0.8.1/src/trampoline.rs +494 -0
  671. data/ext/cargo-vendor/winch-codegen-0.8.1/src/visitor.rs +353 -0
  672. data/ext/cargo-vendor/wit-parser-0.8.0/.cargo-checksum.json +1 -0
  673. data/ext/cargo-vendor/wit-parser-0.8.0/Cargo.toml +62 -0
  674. data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/lex.rs +679 -0
  675. data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/resolve.rs +1122 -0
  676. data/ext/cargo-vendor/wit-parser-0.8.0/src/ast.rs +1207 -0
  677. data/ext/cargo-vendor/wit-parser-0.8.0/src/lib.rs +622 -0
  678. data/ext/cargo-vendor/wit-parser-0.8.0/src/live.rs +111 -0
  679. data/ext/cargo-vendor/wit-parser-0.8.0/src/resolve.rs +1307 -0
  680. data/ext/cargo-vendor/wit-parser-0.8.0/tests/all.rs +168 -0
  681. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/comments.wit +25 -0
  682. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep1/types.wit +2 -0
  683. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep2/types.wit +2 -0
  684. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/join.wit +6 -0
  685. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared1.wit +3 -0
  686. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared2.wit +3 -0
  687. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/world.wit +13 -0
  688. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/embedded.wit.md +34 -0
  689. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/empty.wit +1 -0
  690. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +3 -0
  691. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/corp/saas.wit +4 -0
  692. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +2 -0
  693. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +5 -0
  694. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +13 -0
  695. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/clocks.wit +5 -0
  696. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/filesystem.wit +7 -0
  697. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/root.wit +44 -0
  698. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/functions.wit +14 -0
  699. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/a.wit +2 -0
  700. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/b.wit +5 -0
  701. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/bar.wit +21 -0
  702. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-a.wit +7 -0
  703. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-b.wit +3 -0
  704. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/foo.wit +31 -0
  705. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax1.wit +1 -0
  706. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax3.wit +1 -0
  707. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax4.wit +1 -0
  708. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/alias-no-type.wit.result +1 -0
  709. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit +7 -0
  710. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit.result +5 -0
  711. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit +7 -0
  712. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit.result +5 -0
  713. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1/root.wit +5 -0
  714. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1.wit.result +8 -0
  715. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +1 -0
  716. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/root.wit +5 -0
  717. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
  718. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +2 -0
  719. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/root.wit +5 -0
  720. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
  721. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +4 -0
  722. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/root.wit +4 -0
  723. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
  724. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +3 -0
  725. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/root.wit +4 -0
  726. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
  727. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +4 -0
  728. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/root.wit +4 -0
  729. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
  730. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit +5 -0
  731. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit.result +5 -0
  732. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/a.wit +1 -0
  733. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/b.wit +1 -0
  734. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package.wit.result +8 -0
  735. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit +6 -0
  736. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit.result +5 -0
  737. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit +7 -0
  738. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit.result +5 -0
  739. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit +7 -0
  740. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit.result +5 -0
  741. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit +7 -0
  742. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit.result +5 -0
  743. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit +7 -0
  744. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit.result +5 -0
  745. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit +8 -0
  746. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit.result +5 -0
  747. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit +6 -0
  748. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit.result +5 -0
  749. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo.wit +3 -0
  750. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo2.wit +3 -0
  751. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2.wit.result +8 -0
  752. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit +7 -0
  753. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit.result +5 -0
  754. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit +6 -0
  755. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit.result +5 -0
  756. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit +6 -0
  757. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit.result +5 -0
  758. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit +6 -0
  759. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit.result +5 -0
  760. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit +8 -0
  761. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit.result +5 -0
  762. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit +5 -0
  763. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit.result +5 -0
  764. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit +5 -0
  765. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit.result +5 -0
  766. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit +8 -0
  767. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit.result +5 -0
  768. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-md.wit.result +5 -0
  769. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit +10 -0
  770. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit.result +5 -0
  771. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit +6 -0
  772. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit.result +5 -0
  773. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit.result +1 -0
  774. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +1 -0
  775. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +5 -0
  776. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +8 -0
  777. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +4 -0
  778. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/root.wit +4 -0
  779. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
  780. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +4 -0
  781. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +4 -0
  782. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/root.wit +4 -0
  783. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
  784. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit +6 -0
  785. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit.result +5 -0
  786. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit +7 -0
  787. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit.result +5 -0
  788. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit +7 -0
  789. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit.result +5 -0
  790. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit +8 -0
  791. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit.result +5 -0
  792. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit +5 -0
  793. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit.result +5 -0
  794. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit +7 -0
  795. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit.result +5 -0
  796. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit +7 -0
  797. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit.result +5 -0
  798. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10/bar.wit +5 -0
  799. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10.wit.result +8 -0
  800. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit +10 -0
  801. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit.result +5 -0
  802. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit +11 -0
  803. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit.result +5 -0
  804. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit +10 -0
  805. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit.result +5 -0
  806. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit +9 -0
  807. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit.result +5 -0
  808. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit +9 -0
  809. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit.result +5 -0
  810. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit +11 -0
  811. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit.result +5 -0
  812. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit +13 -0
  813. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit.result +5 -0
  814. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit +13 -0
  815. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit.result +5 -0
  816. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit +7 -0
  817. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit.result +5 -0
  818. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit +14 -0
  819. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit.result +5 -0
  820. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit +7 -0
  821. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit.result +5 -0
  822. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit +3 -0
  823. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit.result +5 -0
  824. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit +8 -0
  825. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit.result +5 -0
  826. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit +8 -0
  827. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit.result +5 -0
  828. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit +5 -0
  829. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit.result +5 -0
  830. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit +4 -0
  831. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit.result +5 -0
  832. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/shared-types.wit +10 -0
  833. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/type-then-eof.wit +5 -0
  834. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/types.wit +61 -0
  835. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use-chain.wit +11 -0
  836. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit +34 -0
  837. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a1/foo.wit +5 -0
  838. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a2/foo.wit +5 -0
  839. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/foo.wit +7 -0
  840. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/wasi.wit +178 -0
  841. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-diamond.wit +22 -0
  842. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-iface-no-collide.wit +11 -0
  843. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import1.wit +12 -0
  844. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import2.wit +11 -0
  845. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import3.wit +11 -0
  846. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-same-fields4.wit +13 -0
  847. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-top-level-funcs.wit +9 -0
  848. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-same-fields5.wit +17 -0
  849. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit +34 -0
  850. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds.wit +37 -0
  851. data/ext/src/ruby_api/global.rs +3 -3
  852. data/ext/src/ruby_api/memory/unsafe_slice.rs +9 -3
  853. data/ext/src/ruby_api/params.rs +14 -12
  854. data/ext/src/ruby_api/table.rs +1 -1
  855. data/lib/wasmtime/version.rb +1 -1
  856. metadata +1418 -1079
  857. data/ext/cargo-vendor/cranelift-bforest-0.96.4/.cargo-checksum.json +0 -1
  858. data/ext/cargo-vendor/cranelift-bforest-0.96.4/Cargo.toml +0 -31
  859. data/ext/cargo-vendor/cranelift-codegen-0.96.4/.cargo-checksum.json +0 -1
  860. data/ext/cargo-vendor/cranelift-codegen-0.96.4/Cargo.toml +0 -159
  861. data/ext/cargo-vendor/cranelift-codegen-0.96.4/benches/x64-evex-encoding.rs +0 -53
  862. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/ir/trapcode.rs +0 -138
  863. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/abi.rs +0 -1281
  864. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit.rs +0 -3658
  865. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit_tests.rs +0 -7868
  866. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/imms.rs +0 -1215
  867. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/mod.rs +0 -2945
  868. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst.isle +0 -4035
  869. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower/isle.rs +0 -813
  870. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower.isle +0 -2906
  871. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/mod.rs +0 -240
  872. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/mod.rs +0 -420
  873. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/abi.rs +0 -726
  874. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/args.rs +0 -1822
  875. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit.rs +0 -2914
  876. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit_tests.rs +0 -2317
  877. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/encode.rs +0 -188
  878. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/imms.rs +0 -244
  879. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/mod.rs +0 -1823
  880. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/regs.rs +0 -231
  881. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/unwind/systemv.rs +0 -177
  882. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/vector.rs +0 -354
  883. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst.isle +0 -2746
  884. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst_vector.isle +0 -224
  885. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower/isle.rs +0 -544
  886. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower.isle +0 -1012
  887. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/mod.rs +0 -219
  888. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/abi.rs +0 -947
  889. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit.rs +0 -3697
  890. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit_tests.rs +0 -13397
  891. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/mod.rs +0 -3409
  892. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst.isle +0 -5045
  893. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/lower.isle +0 -3991
  894. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/mod.rs +0 -215
  895. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/abi.rs +0 -978
  896. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/evex.rs +0 -403
  897. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/rex.rs +0 -565
  898. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/vex.rs +0 -498
  899. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/args.rs +0 -2168
  900. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit.rs +0 -3938
  901. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit_tests.rs +0 -5669
  902. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/mod.rs +0 -2763
  903. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst.isle +0 -5186
  904. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower/isle.rs +0 -1158
  905. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.isle +0 -4262
  906. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.rs +0 -328
  907. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/mod.rs +0 -250
  908. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isle_prelude.rs +0 -818
  909. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/abi.rs +0 -2410
  910. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/buffer.rs +0 -2219
  911. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/compile.rs +0 -92
  912. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/isle.rs +0 -827
  913. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/lower.rs +0 -1366
  914. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/mod.rs +0 -538
  915. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/reg.rs +0 -532
  916. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/vcode.rs +0 -1571
  917. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude.isle +0 -552
  918. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude_lower.isle +0 -1012
  919. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/settings.rs +0 -599
  920. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/verifier/mod.rs +0 -1881
  921. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/.cargo-checksum.json +0 -1
  922. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/Cargo.toml +0 -23
  923. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/isa/x86.rs +0 -445
  924. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/shared/settings.rs +0 -331
  925. data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/.cargo-checksum.json +0 -1
  926. data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/Cargo.toml +0 -22
  927. data/ext/cargo-vendor/cranelift-control-0.96.4/.cargo-checksum.json +0 -1
  928. data/ext/cargo-vendor/cranelift-control-0.96.4/Cargo.toml +0 -30
  929. data/ext/cargo-vendor/cranelift-control-0.96.4/src/chaos.rs +0 -78
  930. data/ext/cargo-vendor/cranelift-control-0.96.4/src/lib.rs +0 -30
  931. data/ext/cargo-vendor/cranelift-control-0.96.4/src/zero_sized.rs +0 -42
  932. data/ext/cargo-vendor/cranelift-entity-0.96.4/.cargo-checksum.json +0 -1
  933. data/ext/cargo-vendor/cranelift-entity-0.96.4/Cargo.toml +0 -35
  934. data/ext/cargo-vendor/cranelift-entity-0.96.4/src/list.rs +0 -868
  935. data/ext/cargo-vendor/cranelift-frontend-0.96.4/.cargo-checksum.json +0 -1
  936. data/ext/cargo-vendor/cranelift-frontend-0.96.4/Cargo.toml +0 -53
  937. data/ext/cargo-vendor/cranelift-isle-0.96.4/.cargo-checksum.json +0 -1
  938. data/ext/cargo-vendor/cranelift-isle-0.96.4/Cargo.toml +0 -37
  939. data/ext/cargo-vendor/cranelift-native-0.96.4/.cargo-checksum.json +0 -1
  940. data/ext/cargo-vendor/cranelift-native-0.96.4/Cargo.toml +0 -38
  941. data/ext/cargo-vendor/cranelift-native-0.96.4/src/lib.rs +0 -216
  942. data/ext/cargo-vendor/cranelift-wasm-0.96.4/.cargo-checksum.json +0 -1
  943. data/ext/cargo-vendor/cranelift-wasm-0.96.4/Cargo.toml +0 -85
  944. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/code_translator.rs +0 -3479
  945. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/dummy.rs +0 -901
  946. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/spec.rs +0 -807
  947. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/func_translator.rs +0 -419
  948. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/sections_translator.rs +0 -429
  949. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/translation_utils.rs +0 -108
  950. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/.cargo-checksum.json +0 -1
  951. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/Cargo.toml +0 -36
  952. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/run-tests.sh +0 -11
  953. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/src/lib.rs +0 -162
  954. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/tests/test.rs +0 -267
  955. data/ext/cargo-vendor/regalloc2-0.8.1/.cargo-checksum.json +0 -1
  956. data/ext/cargo-vendor/regalloc2-0.8.1/Cargo.toml +0 -72
  957. data/ext/cargo-vendor/regalloc2-0.8.1/deny.toml +0 -28
  958. data/ext/cargo-vendor/regalloc2-0.8.1/src/checker.rs +0 -1089
  959. data/ext/cargo-vendor/regalloc2-0.8.1/src/fuzzing/func.rs +0 -673
  960. data/ext/cargo-vendor/regalloc2-0.8.1/src/index.rs +0 -188
  961. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/data_structures.rs +0 -688
  962. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/liveranges.rs +0 -1012
  963. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/merge.rs +0 -394
  964. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/mod.rs +0 -152
  965. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/moves.rs +0 -985
  966. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/process.rs +0 -1322
  967. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/requirement.rs +0 -174
  968. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/spill.rs +0 -198
  969. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/stackmap.rs +0 -74
  970. data/ext/cargo-vendor/regalloc2-0.8.1/src/lib.rs +0 -1523
  971. data/ext/cargo-vendor/regalloc2-0.8.1/src/moves.rs +0 -438
  972. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/.cargo-checksum.json +0 -1
  973. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/Cargo.toml +0 -89
  974. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/dir.rs +0 -465
  975. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/lib.rs +0 -140
  976. data/ext/cargo-vendor/wasi-common-9.0.4/.cargo-checksum.json +0 -1
  977. data/ext/cargo-vendor/wasi-common-9.0.4/Cargo.toml +0 -86
  978. data/ext/cargo-vendor/wasi-common-9.0.4/src/ctx.rs +0 -127
  979. data/ext/cargo-vendor/wasi-common-9.0.4/src/file.rs +0 -260
  980. data/ext/cargo-vendor/wasi-common-9.0.4/src/snapshots/preview_1.rs +0 -1490
  981. data/ext/cargo-vendor/wasmparser-0.103.0/.cargo-checksum.json +0 -1
  982. data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.lock +0 -692
  983. data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.toml +0 -54
  984. data/ext/cargo-vendor/wasmparser-0.103.0/benches/benchmark.rs +0 -350
  985. data/ext/cargo-vendor/wasmparser-0.103.0/src/binary_reader.rs +0 -1682
  986. data/ext/cargo-vendor/wasmparser-0.103.0/src/lib.rs +0 -712
  987. data/ext/cargo-vendor/wasmparser-0.103.0/src/parser.rs +0 -1496
  988. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/canonicals.rs +0 -95
  989. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/exports.rs +0 -105
  990. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/imports.rs +0 -109
  991. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/instances.rs +0 -164
  992. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/types.rs +0 -508
  993. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/producers.rs +0 -78
  994. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/types.rs +0 -511
  995. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core.rs +0 -33
  996. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/component.rs +0 -2097
  997. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/core.rs +0 -1278
  998. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/operators.rs +0 -3456
  999. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/types.rs +0 -2159
  1000. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator.rs +0 -1514
  1001. data/ext/cargo-vendor/wasmtime-9.0.4/.cargo-checksum.json +0 -1
  1002. data/ext/cargo-vendor/wasmtime-9.0.4/Cargo.toml +0 -183
  1003. data/ext/cargo-vendor/wasmtime-9.0.4/build.rs +0 -20
  1004. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/component.rs +0 -519
  1005. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/instance.rs +0 -728
  1006. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/matching.rs +0 -112
  1007. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/mod.rs +0 -313
  1008. data/ext/cargo-vendor/wasmtime-9.0.4/src/config.rs +0 -2036
  1009. data/ext/cargo-vendor/wasmtime-9.0.4/src/engine/serialization.rs +0 -613
  1010. data/ext/cargo-vendor/wasmtime-9.0.4/src/engine.rs +0 -729
  1011. data/ext/cargo-vendor/wasmtime-9.0.4/src/externals.rs +0 -762
  1012. data/ext/cargo-vendor/wasmtime-9.0.4/src/func/typed.rs +0 -638
  1013. data/ext/cargo-vendor/wasmtime-9.0.4/src/func.rs +0 -2385
  1014. data/ext/cargo-vendor/wasmtime-9.0.4/src/instance.rs +0 -905
  1015. data/ext/cargo-vendor/wasmtime-9.0.4/src/lib.rs +0 -481
  1016. data/ext/cargo-vendor/wasmtime-9.0.4/src/linker.rs +0 -1479
  1017. data/ext/cargo-vendor/wasmtime-9.0.4/src/memory.rs +0 -948
  1018. data/ext/cargo-vendor/wasmtime-9.0.4/src/module.rs +0 -1542
  1019. data/ext/cargo-vendor/wasmtime-9.0.4/src/ref.rs +0 -108
  1020. data/ext/cargo-vendor/wasmtime-9.0.4/src/store/context.rs +0 -243
  1021. data/ext/cargo-vendor/wasmtime-9.0.4/src/store/func_refs.rs +0 -110
  1022. data/ext/cargo-vendor/wasmtime-9.0.4/src/store.rs +0 -2059
  1023. data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/func.rs +0 -171
  1024. data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/global.rs +0 -71
  1025. data/ext/cargo-vendor/wasmtime-9.0.4/src/types/matching.rs +0 -254
  1026. data/ext/cargo-vendor/wasmtime-9.0.4/src/types.rs +0 -551
  1027. data/ext/cargo-vendor/wasmtime-9.0.4/src/values.rs +0 -290
  1028. data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/.cargo-checksum.json +0 -1
  1029. data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/Cargo.toml +0 -22
  1030. data/ext/cargo-vendor/wasmtime-cache-9.0.4/.cargo-checksum.json +0 -1
  1031. data/ext/cargo-vendor/wasmtime-cache-9.0.4/Cargo.toml +0 -73
  1032. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/.cargo-checksum.json +0 -1
  1033. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/Cargo.toml +0 -58
  1034. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/src/bindgen.rs +0 -316
  1035. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/char.wit +0 -11
  1036. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/conventions.wit +0 -38
  1037. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/direct-import.wit +0 -3
  1038. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/empty.wit +0 -1
  1039. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/flags.wit +0 -53
  1040. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/floats.wit +0 -11
  1041. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/function-new.wit +0 -3
  1042. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/integers.wit +0 -38
  1043. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/lists.wit +0 -83
  1044. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/many-arguments.wit +0 -50
  1045. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/multi-return.wit +0 -12
  1046. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/records.wit +0 -59
  1047. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/rename.wit +0 -14
  1048. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/share-types.wit +0 -19
  1049. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-functions.wit +0 -15
  1050. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-lists.wit +0 -11
  1051. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-wasi.wit +0 -21
  1052. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/small-anonymous.wit +0 -13
  1053. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-default.wit +0 -3
  1054. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-export.wit +0 -5
  1055. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke.wit +0 -5
  1056. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/strings.wit +0 -10
  1057. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/unions.wit +0 -64
  1058. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/use-paths.wit +0 -27
  1059. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/variants.wit +0 -145
  1060. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/worlds-with-types.wit +0 -14
  1061. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen.rs +0 -30
  1062. data/ext/cargo-vendor/wasmtime-component-util-9.0.4/.cargo-checksum.json +0 -1
  1063. data/ext/cargo-vendor/wasmtime-component-util-9.0.4/Cargo.toml +0 -25
  1064. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/.cargo-checksum.json +0 -1
  1065. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/Cargo.toml +0 -90
  1066. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/compiler.rs +0 -1200
  1067. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/debug/transform/simulate.rs +0 -411
  1068. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/func_environ.rs +0 -2162
  1069. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/lib.rs +0 -177
  1070. data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/.cargo-checksum.json +0 -1
  1071. data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/Cargo.toml +0 -57
  1072. data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/src/lib.rs +0 -119
  1073. data/ext/cargo-vendor/wasmtime-environ-9.0.4/.cargo-checksum.json +0 -1
  1074. data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.lock +0 -735
  1075. data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.toml +0 -116
  1076. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/compiler.rs +0 -84
  1077. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate/inline.rs +0 -1064
  1078. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate.rs +0 -1066
  1079. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/types.rs +0 -1903
  1080. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/fact.rs +0 -622
  1081. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module.rs +0 -1043
  1082. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module_environ.rs +0 -841
  1083. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/trap_encoding.rs +0 -234
  1084. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/.cargo-checksum.json +0 -1
  1085. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/Cargo.toml +0 -46
  1086. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/lib.rs +0 -293
  1087. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/unix.rs +0 -199
  1088. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/windows.rs +0 -156
  1089. data/ext/cargo-vendor/wasmtime-jit-9.0.4/.cargo-checksum.json +0 -1
  1090. data/ext/cargo-vendor/wasmtime-jit-9.0.4/Cargo.toml +0 -100
  1091. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/instantiate.rs +0 -786
  1092. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/lib.rs +0 -39
  1093. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_disabled.rs +0 -32
  1094. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_linux.rs +0 -444
  1095. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_disabled.rs +0 -28
  1096. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_linux.rs +0 -104
  1097. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune.rs +0 -147
  1098. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune_disabled.rs +0 -32
  1099. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling.rs +0 -74
  1100. data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/.cargo-checksum.json +0 -1
  1101. data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/Cargo.toml +0 -55
  1102. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/.cargo-checksum.json +0 -1
  1103. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/Cargo.toml +0 -37
  1104. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/.cargo-checksum.json +0 -1
  1105. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/Cargo.toml +0 -107
  1106. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/component.rs +0 -724
  1107. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/cow.rs +0 -1063
  1108. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/debug_builtins.rs +0 -56
  1109. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/externref.rs +0 -1078
  1110. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator/pooling.rs +0 -1371
  1111. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator.rs +0 -528
  1112. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance.rs +0 -1267
  1113. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/lib.rs +0 -286
  1114. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/libcalls.rs +0 -597
  1115. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/memory.rs +0 -945
  1116. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/miri.rs +0 -93
  1117. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/unix.rs +0 -147
  1118. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/windows.rs +0 -207
  1119. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/table.rs +0 -573
  1120. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers/unix.rs +0 -387
  1121. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers.rs +0 -664
  1122. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext/vm_host_func_context.rs +0 -147
  1123. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext.rs +0 -1244
  1124. data/ext/cargo-vendor/wasmtime-types-9.0.4/.cargo-checksum.json +0 -1
  1125. data/ext/cargo-vendor/wasmtime-types-9.0.4/Cargo.toml +0 -34
  1126. data/ext/cargo-vendor/wasmtime-types-9.0.4/src/lib.rs +0 -413
  1127. data/ext/cargo-vendor/wasmtime-wasi-9.0.4/.cargo-checksum.json +0 -1
  1128. data/ext/cargo-vendor/wasmtime-wasi-9.0.4/Cargo.toml +0 -67
  1129. data/ext/cargo-vendor/wasmtime-wasi-9.0.4/src/lib.rs +0 -128
  1130. data/ext/cargo-vendor/wasmtime-winch-9.0.4/.cargo-checksum.json +0 -1
  1131. data/ext/cargo-vendor/wasmtime-winch-9.0.4/Cargo.toml +0 -66
  1132. data/ext/cargo-vendor/wasmtime-winch-9.0.4/src/compiler.rs +0 -191
  1133. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/.cargo-checksum.json +0 -1
  1134. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/Cargo.toml +0 -29
  1135. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/lib.rs +0 -1488
  1136. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/types.rs +0 -178
  1137. data/ext/cargo-vendor/wiggle-9.0.4/.cargo-checksum.json +0 -1
  1138. data/ext/cargo-vendor/wiggle-9.0.4/Cargo.toml +0 -106
  1139. data/ext/cargo-vendor/wiggle-9.0.4/README.md +0 -18
  1140. data/ext/cargo-vendor/wiggle-generate-9.0.4/.cargo-checksum.json +0 -1
  1141. data/ext/cargo-vendor/wiggle-generate-9.0.4/Cargo.toml +0 -58
  1142. data/ext/cargo-vendor/wiggle-macro-9.0.4/.cargo-checksum.json +0 -1
  1143. data/ext/cargo-vendor/wiggle-macro-9.0.4/Cargo.toml +0 -55
  1144. data/ext/cargo-vendor/wiggle-macro-9.0.4/src/lib.rs +0 -210
  1145. data/ext/cargo-vendor/winch-codegen-0.7.4/.cargo-checksum.json +0 -1
  1146. data/ext/cargo-vendor/winch-codegen-0.7.4/Cargo.toml +0 -59
  1147. data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/local.rs +0 -69
  1148. data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/mod.rs +0 -223
  1149. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/call.rs +0 -215
  1150. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/context.rs +0 -259
  1151. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/env.rs +0 -19
  1152. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/mod.rs +0 -183
  1153. data/ext/cargo-vendor/winch-codegen-0.7.4/src/frame/mod.rs +0 -166
  1154. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/abi.rs +0 -221
  1155. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/asm.rs +0 -244
  1156. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/masm.rs +0 -221
  1157. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/mod.rs +0 -122
  1158. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/regs.rs +0 -160
  1159. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/mod.rs +0 -202
  1160. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/abi.rs +0 -337
  1161. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/address.rs +0 -17
  1162. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/asm.rs +0 -499
  1163. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/masm.rs +0 -267
  1164. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/mod.rs +0 -135
  1165. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/regs.rs +0 -178
  1166. data/ext/cargo-vendor/winch-codegen-0.7.4/src/lib.rs +0 -20
  1167. data/ext/cargo-vendor/winch-codegen-0.7.4/src/masm.rs +0 -213
  1168. data/ext/cargo-vendor/winch-codegen-0.7.4/src/regalloc.rs +0 -61
  1169. data/ext/cargo-vendor/winch-codegen-0.7.4/src/stack.rs +0 -230
  1170. data/ext/cargo-vendor/winch-codegen-0.7.4/src/trampoline.rs +0 -206
  1171. data/ext/cargo-vendor/winch-codegen-0.7.4/src/visitor.rs +0 -215
  1172. data/ext/cargo-vendor/winch-environ-0.7.4/.cargo-checksum.json +0 -1
  1173. data/ext/cargo-vendor/winch-environ-0.7.4/Cargo.toml +0 -28
  1174. data/ext/cargo-vendor/winch-environ-0.7.4/src/lib.rs +0 -41
  1175. data/ext/cargo-vendor/wit-parser-0.7.1/.cargo-checksum.json +0 -1
  1176. data/ext/cargo-vendor/wit-parser-0.7.1/Cargo.toml +0 -59
  1177. data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/lex.rs +0 -662
  1178. data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/resolve.rs +0 -1072
  1179. data/ext/cargo-vendor/wit-parser-0.7.1/src/ast.rs +0 -1099
  1180. data/ext/cargo-vendor/wit-parser-0.7.1/src/lib.rs +0 -617
  1181. data/ext/cargo-vendor/wit-parser-0.7.1/src/live.rs +0 -123
  1182. data/ext/cargo-vendor/wit-parser-0.7.1/src/resolve.rs +0 -1478
  1183. data/ext/cargo-vendor/wit-parser-0.7.1/tests/all.rs +0 -168
  1184. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/comments.wit +0 -23
  1185. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared1.wit +0 -3
  1186. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared2.wit +0 -3
  1187. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/world.wit +0 -11
  1188. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/embedded.wit.md +0 -32
  1189. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -1
  1190. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/corp/saas.wit +0 -2
  1191. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -1
  1192. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -3
  1193. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -11
  1194. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -3
  1195. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -5
  1196. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/root.wit +0 -31
  1197. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/functions.wit +0 -12
  1198. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/bar.wit +0 -19
  1199. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/foo.wit +0 -15
  1200. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/alias-no-type.wit.result +0 -5
  1201. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/a.wit +0 -9
  1202. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/b.wit +0 -9
  1203. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/join.wit +0 -4
  1204. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond.wit.result +0 -8
  1205. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit +0 -5
  1206. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit.result +0 -5
  1207. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit +0 -5
  1208. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit.result +0 -5
  1209. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1/root.wit +0 -3
  1210. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1.wit.result +0 -5
  1211. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2/root.wit +0 -3
  1212. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2.wit.result +0 -5
  1213. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1214. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/root.wit +0 -3
  1215. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3.wit.result +0 -5
  1216. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -3
  1217. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/root.wit +0 -3
  1218. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4.wit.result +0 -5
  1219. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -2
  1220. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/root.wit +0 -3
  1221. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5.wit.result +0 -5
  1222. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1223. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/root.wit +0 -3
  1224. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6.wit.result +0 -5
  1225. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit +0 -4
  1226. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit.result +0 -5
  1227. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit +0 -9
  1228. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit.result +0 -5
  1229. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit +0 -5
  1230. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit.result +0 -5
  1231. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit +0 -6
  1232. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit.result +0 -5
  1233. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit +0 -6
  1234. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit.result +0 -5
  1235. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit +0 -6
  1236. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit.result +0 -5
  1237. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit +0 -6
  1238. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit.result +0 -5
  1239. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit +0 -3
  1240. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit.result +0 -5
  1241. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit +0 -3
  1242. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit.result +0 -5
  1243. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit +0 -6
  1244. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit.result +0 -5
  1245. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit +0 -4
  1246. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit.result +0 -5
  1247. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit +0 -6
  1248. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit.result +0 -5
  1249. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit +0 -5
  1250. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit.result +0 -5
  1251. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit +0 -5
  1252. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit.result +0 -5
  1253. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit +0 -5
  1254. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit.result +0 -5
  1255. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit +0 -4
  1256. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -5
  1257. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit +0 -4
  1258. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -5
  1259. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit +0 -11
  1260. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit.result +0 -6
  1261. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-md.wit.result +0 -5
  1262. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit +0 -8
  1263. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -5
  1264. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit +0 -4
  1265. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -5
  1266. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit +0 -0
  1267. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit.result +0 -4
  1268. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -3
  1269. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/root.wit +0 -3
  1270. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle.wit.result +0 -5
  1271. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -3
  1272. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -3
  1273. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -3
  1274. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -5
  1275. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit +0 -5
  1276. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit.result +0 -5
  1277. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit +0 -5
  1278. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit.result +0 -5
  1279. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit +0 -5
  1280. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -5
  1281. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit +0 -6
  1282. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -5
  1283. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit +0 -5
  1284. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -5
  1285. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit +0 -5
  1286. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -5
  1287. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit +0 -5
  1288. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit.result +0 -5
  1289. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit +0 -5
  1290. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit.result +0 -5
  1291. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -3
  1292. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10.wit.result +0 -8
  1293. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/bar.wit +0 -3
  1294. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/foo.wit +0 -2
  1295. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11.wit.result +0 -8
  1296. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit +0 -8
  1297. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit.result +0 -5
  1298. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit +0 -9
  1299. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit.result +0 -5
  1300. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit +0 -5
  1301. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit.result +0 -5
  1302. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit +0 -6
  1303. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit.result +0 -5
  1304. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit +0 -5
  1305. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit.result +0 -5
  1306. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit +0 -8
  1307. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit.result +0 -5
  1308. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit +0 -7
  1309. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit.result +0 -5
  1310. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit +0 -7
  1311. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit.result +0 -5
  1312. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit +0 -9
  1313. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit.result +0 -5
  1314. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit +0 -11
  1315. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit.result +0 -5
  1316. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit +0 -11
  1317. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit.result +0 -5
  1318. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit +0 -5
  1319. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit.result +0 -5
  1320. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit +0 -5
  1321. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit.result +0 -5
  1322. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit +0 -6
  1323. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit.result +0 -5
  1324. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit +0 -13
  1325. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit.result +0 -5
  1326. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit +0 -8
  1327. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit.result +0 -5
  1328. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/bar.wit +0 -3
  1329. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/foo.wit +0 -2
  1330. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2.wit.result +0 -8
  1331. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit +0 -10
  1332. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit.result +0 -6
  1333. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit +0 -9
  1334. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit.result +0 -5
  1335. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit +0 -9
  1336. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit.result +0 -5
  1337. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit +0 -2
  1338. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit.result +0 -5
  1339. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit +0 -9
  1340. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit.result +0 -5
  1341. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit +0 -6
  1342. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit.result +0 -5
  1343. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit +0 -6
  1344. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit.result +0 -5
  1345. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit +0 -11
  1346. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit.result +0 -8
  1347. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit +0 -6
  1348. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit.result +0 -5
  1349. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit +0 -4
  1350. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit.result +0 -5
  1351. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit +0 -3
  1352. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -5
  1353. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit +0 -16
  1354. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit.result +0 -9
  1355. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/shared-types.wit +0 -8
  1356. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/type-then-eof.wit +0 -3
  1357. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/types.wit +0 -59
  1358. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit +0 -33
  1359. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/wasi.wit +0 -176
  1360. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-diamond.wit +0 -20
  1361. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-top-level-funcs.wit +0 -7
  1362. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit +0 -32
  1363. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds.wit +0 -40
  1364. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/LICENSE +0 -0
  1365. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/README.md +0 -0
  1366. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/lib.rs +0 -0
  1367. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/map.rs +0 -0
  1368. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/node.rs +0 -0
  1369. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/path.rs +0 -0
  1370. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/pool.rs +0 -0
  1371. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/set.rs +0 -0
  1372. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/LICENSE +0 -0
  1373. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/README.md +0 -0
  1374. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/build.rs +0 -0
  1375. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/alias_analysis.rs +0 -0
  1376. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/mod.rs +0 -0
  1377. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/stack_map.rs +0 -0
  1378. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/bitset.rs +0 -0
  1379. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cfg_printer.rs +0 -0
  1380. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/constant_hash.rs +0 -0
  1381. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/context.rs +0 -0
  1382. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ctxhash.rs +0 -0
  1383. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cursor.rs +0 -0
  1384. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/data_value.rs +0 -0
  1385. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dbg.rs +0 -0
  1386. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dce.rs +0 -0
  1387. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dominator_tree.rs +0 -0
  1388. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/cost.rs +0 -0
  1389. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/domtree.rs +0 -0
  1390. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/elaborate.rs +0 -0
  1391. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph.rs +0 -0
  1392. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/flowgraph.rs +0 -0
  1393. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/fx.rs +0 -0
  1394. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/incremental_cache.rs +0 -0
  1395. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/inst_predicates.rs +0 -0
  1396. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/atomic_rmw_op.rs +0 -0
  1397. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/builder.rs +0 -0
  1398. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/condcodes.rs +0 -0
  1399. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/constant.rs +0 -0
  1400. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dfg.rs +0 -0
  1401. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dynamic_type.rs +0 -0
  1402. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/entities.rs +0 -0
  1403. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extfunc.rs +0 -0
  1404. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extname.rs +0 -0
  1405. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/function.rs +0 -0
  1406. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/globalvalue.rs +0 -0
  1407. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/immediates.rs +0 -0
  1408. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/instructions.rs +0 -0
  1409. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/jumptable.rs +0 -0
  1410. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/known_symbol.rs +0 -0
  1411. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/layout.rs +0 -0
  1412. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/libcall.rs +0 -0
  1413. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/memflags.rs +0 -0
  1414. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/mod.rs +0 -0
  1415. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/progpoint.rs +0 -0
  1416. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/sourceloc.rs +0 -0
  1417. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/stackslot.rs +0 -0
  1418. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/table.rs +0 -0
  1419. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/types.rs +0 -0
  1420. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/args.rs +0 -0
  1421. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/regs.rs +0 -0
  1422. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  1423. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind.rs +0 -0
  1424. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst_neon.isle +0 -0
  1425. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1426. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower.rs +0 -0
  1427. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1428. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/settings.rs +0 -0
  1429. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/call_conv.rs +0 -0
  1430. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/inst/unwind.rs +0 -0
  1431. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1432. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower.rs +0 -0
  1433. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/settings.rs +0 -0
  1434. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/args.rs +0 -0
  1435. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/imms.rs +0 -0
  1436. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/regs.rs +0 -0
  1437. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1438. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind.rs +0 -0
  1439. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1440. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle.rs +0 -0
  1441. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower.rs +0 -0
  1442. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/settings.rs +0 -0
  1443. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/systemv.rs +0 -0
  1444. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/winx64.rs +0 -0
  1445. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind.rs +0 -0
  1446. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/encoding/mod.rs +0 -0
  1447. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/regs.rs +0 -0
  1448. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1449. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1450. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind.rs +0 -0
  1451. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1452. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/settings.rs +0 -0
  1453. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/iterators.rs +0 -0
  1454. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/globalvalue.rs +0 -0
  1455. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/mod.rs +0 -0
  1456. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/table.rs +0 -0
  1457. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/lib.rs +0 -0
  1458. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/loop_analysis.rs +0 -0
  1459. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/blockorder.rs +0 -0
  1460. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/helpers.rs +0 -0
  1461. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/inst_common.rs +0 -0
  1462. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/valueregs.rs +0 -0
  1463. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/nan_canonicalization.rs +0 -0
  1464. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/README.md +0 -0
  1465. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/arithmetic.isle +0 -0
  1466. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/bitops.isle +0 -0
  1467. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/cprop.isle +0 -0
  1468. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/extends.isle +0 -0
  1469. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/generated_code.rs +0 -0
  1470. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/icmp.isle +0 -0
  1471. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/remat.isle +0 -0
  1472. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/selects.isle +0 -0
  1473. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/shifts.isle +0 -0
  1474. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts.rs +0 -0
  1475. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/prelude_opt.isle +0 -0
  1476. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/print_errors.rs +0 -0
  1477. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/remove_constant_phis.rs +0 -0
  1478. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/result.rs +0 -0
  1479. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/scoped_hash_map.rs +0 -0
  1480. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/souper_harvest.rs +0 -0
  1481. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/timing.rs +0 -0
  1482. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unionfind.rs +0 -0
  1483. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unreachable_code.rs +0 -0
  1484. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/value_label.rs +0 -0
  1485. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/write.rs +0 -0
  1486. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/LICENSE +0 -0
  1487. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/README.md +0 -0
  1488. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/formats.rs +0 -0
  1489. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/instructions.rs +0 -0
  1490. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/isa.rs +0 -0
  1491. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/mod.rs +0 -0
  1492. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/operands.rs +0 -0
  1493. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/settings.rs +0 -0
  1494. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/types.rs +0 -0
  1495. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/typevar.rs +0 -0
  1496. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/constant_hash.rs +0 -0
  1497. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/error.rs +0 -0
  1498. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_inst.rs +0 -0
  1499. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_settings.rs +0 -0
  1500. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_types.rs +0 -0
  1501. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/arm64.rs +0 -0
  1502. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/mod.rs +0 -0
  1503. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/riscv64.rs +0 -0
  1504. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/s390x.rs +0 -0
  1505. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/lib.rs +0 -0
  1506. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/entities.rs +0 -0
  1507. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/formats.rs +0 -0
  1508. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/immediates.rs +0 -0
  1509. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/instructions.rs +0 -0
  1510. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/mod.rs +0 -0
  1511. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/types.rs +0 -0
  1512. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/srcgen.rs +0 -0
  1513. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/unique_table.rs +0 -0
  1514. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/LICENSE +0 -0
  1515. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/README.md +0 -0
  1516. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constant_hash.rs +0 -0
  1517. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constants.rs +0 -0
  1518. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/lib.rs +0 -0
  1519. /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/LICENSE +0 -0
  1520. /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/README.md +0 -0
  1521. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/LICENSE +0 -0
  1522. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/README.md +0 -0
  1523. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/boxed_slice.rs +0 -0
  1524. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/iter.rs +0 -0
  1525. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/keys.rs +0 -0
  1526. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/lib.rs +0 -0
  1527. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/map.rs +0 -0
  1528. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/packed_option.rs +0 -0
  1529. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/primary.rs +0 -0
  1530. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/set.rs +0 -0
  1531. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/sparse.rs +0 -0
  1532. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/LICENSE +0 -0
  1533. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/README.md +0 -0
  1534. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/frontend.rs +0 -0
  1535. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/lib.rs +0 -0
  1536. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/ssa.rs +0 -0
  1537. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/switch.rs +0 -0
  1538. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/variable.rs +0 -0
  1539. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/README.md +0 -0
  1540. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/build.rs +0 -0
  1541. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bad_converters.isle +0 -0
  1542. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1543. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1544. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/error1.isle +0 -0
  1545. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/extra_parens.isle +0 -0
  1546. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_expression.isle +0 -0
  1547. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_rhs.isle +0 -0
  1548. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1549. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_prio.isle +0 -0
  1550. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows.isle +0 -0
  1551. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows_main.rs +0 -0
  1552. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets.isle +0 -0
  1553. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets_main.rs +0 -0
  1554. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor.isle +0 -0
  1555. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor_main.rs +0 -0
  1556. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor.isle +0 -0
  1557. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor_main.rs +0 -0
  1558. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test.isle +0 -0
  1559. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test_main.rs +0 -0
  1560. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/bound_var.isle +0 -0
  1561. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/construct_and_extract.isle +0 -0
  1562. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions.isle +0 -0
  1563. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions_extern.isle +0 -0
  1564. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/let.isle +0 -0
  1565. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/nodebug.isle +0 -0
  1566. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1567. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test2.isle +0 -0
  1568. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test3.isle +0 -0
  1569. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test4.isle +0 -0
  1570. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/tutorial.isle +0 -0
  1571. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst.isle +0 -0
  1572. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst_main.rs +0 -0
  1573. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing.isle +0 -0
  1574. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing_main.rs +0 -0
  1575. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/ast.rs +0 -0
  1576. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/codegen.rs +0 -0
  1577. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/compile.rs +0 -0
  1578. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/error.rs +0 -0
  1579. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lexer.rs +0 -0
  1580. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lib.rs +0 -0
  1581. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/log.rs +0 -0
  1582. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/overlap.rs +0 -0
  1583. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/parser.rs +0 -0
  1584. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/sema.rs +0 -0
  1585. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/serialize.rs +0 -0
  1586. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/trie_again.rs +0 -0
  1587. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/tests/run_tests.rs +0 -0
  1588. /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/LICENSE +0 -0
  1589. /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/README.md +0 -0
  1590. /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/src/riscv.rs +0 -0
  1591. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/LICENSE +0 -0
  1592. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/README.md +0 -0
  1593. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/code_translator/bounds_checks.rs +0 -0
  1594. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/environ/mod.rs +0 -0
  1595. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/heap.rs +0 -0
  1596. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/lib.rs +0 -0
  1597. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/module_translator.rs +0 -0
  1598. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/state.rs +0 -0
  1599. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/tests/wasm_testsuite.rs +0 -0
  1600. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/arith.wat +0 -0
  1601. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/br_table.wat +0 -0
  1602. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call-simd.wat +0 -0
  1603. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call.wat +0 -0
  1604. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fannkuch.wat +0 -0
  1605. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fasta.wat +0 -0
  1606. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_ifs.wat +0 -0
  1607. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_primes.wat +0 -0
  1608. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fac-multi-value.wat +0 -0
  1609. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fibonacci.wat +0 -0
  1610. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/globals.wat +0 -0
  1611. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall-simd.wat +0 -0
  1612. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall.wat +0 -0
  1613. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-0.wat +0 -0
  1614. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-1.wat +0 -0
  1615. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-2.wat +0 -0
  1616. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-3.wat +0 -0
  1617. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-4.wat +0 -0
  1618. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-5.wat +0 -0
  1619. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-6.wat +0 -0
  1620. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params-2.wat +0 -0
  1621. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params.wat +0 -0
  1622. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
  1623. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/memory.wat +0 -0
  1624. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-0.wat +0 -0
  1625. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-1.wat +0 -0
  1626. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-10.wat +0 -0
  1627. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-11.wat +0 -0
  1628. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-12.wat +0 -0
  1629. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-13.wat +0 -0
  1630. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-14.wat +0 -0
  1631. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-15.wat +0 -0
  1632. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-16.wat +0 -0
  1633. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-17.wat +0 -0
  1634. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-2.wat +0 -0
  1635. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-3.wat +0 -0
  1636. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-4.wat +0 -0
  1637. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-5.wat +0 -0
  1638. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-6.wat +0 -0
  1639. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-7.wat +0 -0
  1640. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-8.wat +0 -0
  1641. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-9.wat +0 -0
  1642. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/nullref.wat +0 -0
  1643. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/passive-data.wat +0 -0
  1644. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2303.wat +0 -0
  1645. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2559.wat +0 -0
  1646. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/ref-func-0.wat +0 -0
  1647. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/rust_fannkuch.wat +0 -0
  1648. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/select.wat +0 -0
  1649. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd-store.wat +0 -0
  1650. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd.wat +0 -0
  1651. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/table-copy.wat +0 -0
  1652. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/unreachable_code.wat +0 -0
  1653. /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/LICENSE +0 -0
  1654. /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/README.md +0 -0
  1655. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/LICENSE +0 -0
  1656. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/README.md +0 -0
  1657. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/DESIGN.md +0 -0
  1658. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/TODO +0 -0
  1659. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/cfg.rs +0 -0
  1660. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/domtree.rs +0 -0
  1661. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/fuzzing/mod.rs +0 -0
  1662. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/indexset.rs +0 -0
  1663. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/dump.rs +0 -0
  1664. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/redundant_moves.rs +0 -0
  1665. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/reg_traversal.rs +0 -0
  1666. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/postorder.rs +0 -0
  1667. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ssa.rs +0 -0
  1668. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/LICENSE +0 -0
  1669. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/README.md +0 -0
  1670. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/clocks.rs +0 -0
  1671. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/file.rs +0 -0
  1672. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/net.rs +0 -0
  1673. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/unix.rs +0 -0
  1674. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/windows.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/stdio.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/LICENSE +0 -0
  1678. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/README.md +0 -0
  1679. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/README.md +0 -0
  1680. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/docs/README.md +0 -0
  1681. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/README.md +0 -0
  1682. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/docs.md +0 -0
  1683. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
  1684. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
  1685. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
  1686. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
  1687. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
  1688. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
  1689. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
  1690. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
  1691. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
  1692. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
  1693. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
  1694. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/docs.md +0 -0
  1695. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
  1696. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
  1697. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.html +0 -0
  1698. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.md +0 -0
  1699. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/typenames.witx +0 -0
  1700. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
  1701. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposal-template/README.md +0 -0
  1702. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposals/README.md +0 -0
  1703. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/snapshots/README.md +0 -0
  1704. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/standard/README.md +0 -0
  1705. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/build.rs +0 -0
  1706. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/clocks.rs +0 -0
  1707. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/dir.rs +0 -0
  1708. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/error.rs +0 -0
  1709. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/lib.rs +0 -0
  1710. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/pipe.rs +0 -0
  1711. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/random.rs +0 -0
  1712. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched/subscription.rs +0 -0
  1713. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched.rs +0 -0
  1714. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/mod.rs +0 -0
  1715. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_0.rs +0 -0
  1716. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_1/error.rs +0 -0
  1717. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/string_array.rs +0 -0
  1718. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/table.rs +0 -0
  1719. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasm-encoder-0.29.0}/LICENSE +0 -0
  1720. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmparser-0.107.0}/LICENSE +0 -0
  1721. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/README.md +0 -0
  1722. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/examples/simple.rs +0 -0
  1723. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/limits.rs +0 -0
  1724. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/aliases.rs +0 -0
  1725. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/names.rs +0 -0
  1726. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/start.rs +0 -0
  1727. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component.rs +0 -0
  1728. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/code.rs +0 -0
  1729. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/custom.rs +0 -0
  1730. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/data.rs +0 -0
  1731. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/elements.rs +0 -0
  1732. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/exports.rs +0 -0
  1733. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/functions.rs +0 -0
  1734. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/globals.rs +0 -0
  1735. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/imports.rs +0 -0
  1736. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/init.rs +0 -0
  1737. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/memories.rs +0 -0
  1738. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/names.rs +0 -0
  1739. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/operators.rs +0 -0
  1740. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tables.rs +0 -0
  1741. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tags.rs +0 -0
  1742. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers.rs +0 -0
  1743. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/resources.rs +0 -0
  1744. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/validator/func.rs +0 -0
  1745. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/tests/big-module.rs +0 -0
  1746. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmparser-0.111.0}/LICENSE +0 -0
  1747. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmprinter-0.2.63}/LICENSE +0 -0
  1748. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-10.0.1}/LICENSE +0 -0
  1749. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/README.md +0 -0
  1750. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/code.rs +0 -0
  1751. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/host.rs +0 -0
  1752. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/options.rs +0 -0
  1753. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/typed.rs +0 -0
  1754. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func.rs +0 -0
  1755. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/linker.rs +0 -0
  1756. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/storage.rs +0 -0
  1757. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/store.rs +0 -0
  1758. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/types.rs +0 -0
  1759. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/values.rs +0 -0
  1760. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/limits.rs +0 -0
  1761. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/module/registry.rs +0 -0
  1762. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/profiling.rs +0 -0
  1763. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/signatures.rs +0 -0
  1764. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/store/data.rs +0 -0
  1765. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/memory.rs +0 -0
  1766. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/table.rs +0 -0
  1767. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline.rs +0 -0
  1768. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trap.rs +0 -0
  1769. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/unix.rs +0 -0
  1770. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/windows.rs +0 -0
  1771. /data/ext/cargo-vendor/{wasmtime-asm-macros-9.0.4 → wasmtime-asm-macros-10.0.1}/src/lib.rs +0 -0
  1772. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-cache-10.0.1}/LICENSE +0 -0
  1773. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/build.rs +0 -0
  1774. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config/tests.rs +0 -0
  1775. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config.rs +0 -0
  1776. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/lib.rs +0 -0
  1777. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/tests.rs +0 -0
  1778. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests/system_time_stub.rs +0 -0
  1779. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests.rs +0 -0
  1780. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker.rs +0 -0
  1781. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/tests/cache_write_default_config.rs +0 -0
  1782. /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/component.rs +0 -0
  1783. /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/lib.rs +0 -0
  1784. /data/ext/cargo-vendor/{wasmtime-component-util-9.0.4 → wasmtime-component-util-10.0.1}/src/lib.rs +0 -0
  1785. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-cranelift-10.0.1}/LICENSE +0 -0
  1786. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/SECURITY.md +0 -0
  1787. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/builder.rs +0 -0
  1788. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/compiler/component.rs +0 -0
  1789. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/gc.rs +0 -0
  1790. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/address_transform.rs +0 -0
  1791. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/attr.rs +0 -0
  1792. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/expression.rs +0 -0
  1793. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/line_program.rs +0 -0
  1794. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/mod.rs +0 -0
  1795. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/range_info_builder.rs +0 -0
  1796. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/refs.rs +0 -0
  1797. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/unit.rs +0 -0
  1798. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/utils.rs +0 -0
  1799. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/write_debuginfo.rs +0 -0
  1800. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug.rs +0 -0
  1801. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/compiled_function.rs +0 -0
  1802. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/isa_builder.rs +0 -0
  1803. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/obj.rs +0 -0
  1804. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-environ-10.0.1}/LICENSE +0 -0
  1805. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/examples/factc.rs +0 -0
  1806. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/address_map.rs +0 -0
  1807. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/builtin.rs +0 -0
  1808. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/compilation.rs +0 -0
  1809. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/dfg.rs +0 -0
  1810. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/info.rs +0 -0
  1811. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/translate/adapt.rs +0 -0
  1812. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/vmcomponent_offsets.rs +0 -0
  1813. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component.rs +0 -0
  1814. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/core_types.rs +0 -0
  1815. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/signature.rs +0 -0
  1816. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/trampoline.rs +0 -0
  1817. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/transcode.rs +0 -0
  1818. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/traps.rs +0 -0
  1819. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/lib.rs +0 -0
  1820. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/module_types.rs +0 -0
  1821. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/obj.rs +0 -0
  1822. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/ref_bits.rs +0 -0
  1823. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/scopevec.rs +0 -0
  1824. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/stack_map.rs +0 -0
  1825. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/tunables.rs +0 -0
  1826. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/vmoffsets.rs +0 -0
  1827. /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-fiber-10.0.1}/LICENSE +0 -0
  1828. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/build.rs +0 -0
  1829. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/aarch64.rs +0 -0
  1830. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/arm.rs +0 -0
  1831. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/riscv64.rs +0 -0
  1832. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/s390x.S +0 -0
  1833. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86.rs +0 -0
  1834. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86_64.rs +0 -0
  1835. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/windows.c +0 -0
  1836. /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-jit-10.0.1}/LICENSE +0 -0
  1837. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/code_memory.rs +0 -0
  1838. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/debug.rs +0 -0
  1839. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/demangling.rs +0 -0
  1840. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/miri.rs +0 -0
  1841. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/systemv.rs +0 -0
  1842. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/winx64.rs +0 -0
  1843. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind.rs +0 -0
  1844. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/README.md +0 -0
  1845. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/gdb_jit_int.rs +0 -0
  1846. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/lib.rs +0 -0
  1847. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/perf_jitdump.rs +0 -0
  1848. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/lib.rs +0 -0
  1849. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/libc.rs +0 -0
  1850. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/miri.rs +0 -0
  1851. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/win.rs +0 -0
  1852. /data/ext/cargo-vendor/{wiggle-9.0.4 → wasmtime-runtime-10.0.1}/LICENSE +0 -0
  1853. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/build.rs +0 -0
  1854. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/component/transcode.rs +0 -0
  1855. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/export.rs +0 -0
  1856. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/helpers.c +0 -0
  1857. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/imports.rs +0 -0
  1858. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/index_allocator.rs +0 -0
  1859. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/unix.rs +0 -0
  1860. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/windows.rs +0 -0
  1861. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap.rs +0 -0
  1862. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap_vec.rs +0 -0
  1863. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/module_id.rs +0 -0
  1864. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/parking_spot.rs +0 -0
  1865. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/store_box.rs +0 -0
  1866. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/aarch64.rs +0 -0
  1867. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/riscv64.rs +0 -0
  1868. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.S +0 -0
  1869. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.rs +0 -0
  1870. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/x86_64.rs +0 -0
  1871. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines.rs +0 -0
  1872. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/aarch64.rs +0 -0
  1873. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/riscv64.rs +0 -0
  1874. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/s390x.rs +0 -0
  1875. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/x86_64.rs +0 -0
  1876. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace.rs +0 -0
  1877. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/macos.rs +0 -0
  1878. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/windows.rs +0 -0
  1879. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wasmtime-types-10.0.1}/LICENSE +0 -0
  1880. /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-types-10.0.1}/src/error.rs +0 -0
  1881. /data/ext/cargo-vendor/{wiggle-macro-9.0.4 → wasmtime-wasi-10.0.1}/LICENSE +0 -0
  1882. /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/README.md +0 -0
  1883. /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/build.rs +0 -0
  1884. /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/LICENSE +0 -0
  1885. /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/builder.rs +0 -0
  1886. /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/lib.rs +0 -0
  1887. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/rust.rs +0 -0
  1888. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/source.rs +0 -0
  1889. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/borrow.rs +0 -0
  1890. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/error.rs +0 -0
  1891. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/guest_type.rs +0 -0
  1892. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/lib.rs +0 -0
  1893. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/region.rs +0 -0
  1894. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/wasmtime.rs +0 -0
  1895. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/README.md +0 -0
  1896. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/codegen_settings.rs +0 -0
  1897. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/config.rs +0 -0
  1898. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/funcs.rs +0 -0
  1899. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lib.rs +0 -0
  1900. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lifetimes.rs +0 -0
  1901. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/module_trait.rs +0 -0
  1902. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/names.rs +0 -0
  1903. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/error.rs +0 -0
  1904. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/flags.rs +0 -0
  1905. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/handle.rs +0 -0
  1906. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/mod.rs +0 -0
  1907. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/record.rs +0 -0
  1908. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/variant.rs +0 -0
  1909. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/wasmtime.rs +0 -0
  1910. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/LICENSE +0 -0
  1911. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/build.rs +0 -0
  1912. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/aarch64/address.rs +0 -0
  1913. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/reg.rs +0 -0
  1914. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/regset.rs +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/README.md +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/abi.rs +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/ast/toposort.rs +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/sizealign.rs +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async.wit.result +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-md.md +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.7.1/tests/ui/empty.wit → wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit} +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
@@ -1,3479 +0,0 @@
1
- //! This module contains the bulk of the interesting code performing the translation between
2
- //! WebAssembly and Cranelift IR.
3
- //!
4
- //! The translation is done in one pass, opcode by opcode. Two main data structures are used during
5
- //! code translations: the value stack and the control stack. The value stack mimics the execution
6
- //! of the WebAssembly stack machine: each instruction result is pushed onto the stack and
7
- //! instruction arguments are popped off the stack. Similarly, when encountering a control flow
8
- //! block, it is pushed onto the control stack and popped off when encountering the corresponding
9
- //! `End`.
10
- //!
11
- //! Another data structure, the translation state, records information concerning unreachable code
12
- //! status and about if inserting a return at the end of the function is necessary.
13
- //!
14
- //! Some of the WebAssembly instructions need information about the environment for which they
15
- //! are being translated:
16
- //!
17
- //! - the loads and stores need the memory base address;
18
- //! - the `get_global` and `set_global` instructions depend on how the globals are implemented;
19
- //! - `memory.size` and `memory.grow` are runtime functions;
20
- //! - `call_indirect` has to translate the function index into the address of where this
21
- //! is;
22
- //!
23
- //! That is why `translate_function_body` takes an object having the `WasmRuntime` trait as
24
- //! argument.
25
- //!
26
- //! There is extra complexity associated with translation of 128-bit SIMD instructions.
27
- //! Wasm only considers there to be a single 128-bit vector type. But CLIF's type system
28
- //! distinguishes different lane configurations, so considers 8X16, 16X8, 32X4 and 64X2 to be
29
- //! different types. The result is that, in wasm, it's perfectly OK to take the output of (eg)
30
- //! an `add.16x8` and use that as an operand of a `sub.32x4`, without using any cast. But when
31
- //! translated into CLIF, that will cause a verifier error due to the apparent type mismatch.
32
- //!
33
- //! This file works around that problem by liberally inserting `bitcast` instructions in many
34
- //! places -- mostly, before the use of vector values, either as arguments to CLIF instructions
35
- //! or as block actual parameters. These are no-op casts which nevertheless have different
36
- //! input and output types, and are used (mostly) to "convert" 16X8, 32X4 and 64X2-typed vectors
37
- //! to the "canonical" type, 8X16. Hence the functions `optionally_bitcast_vector`,
38
- //! `bitcast_arguments`, `pop*_with_bitcast`, `canonicalise_then_jump`,
39
- //! `canonicalise_then_br{z,nz}`, `is_non_canonical_v128` and `canonicalise_v128_values`.
40
- //! Note that the `bitcast*` functions are occasionally used to convert to some type other than
41
- //! 8X16, but the `canonicalise*` functions always convert to type 8X16.
42
- //!
43
- //! Be careful when adding support for new vector instructions. And when adding new jumps, even
44
- //! if they are apparently don't have any connection to vectors. Never generate any kind of
45
- //! (inter-block) jump directly. Instead use `canonicalise_then_jump` and
46
- //! `canonicalise_then_br{z,nz}`.
47
- //!
48
- //! The use of bitcasts is ugly and inefficient, but currently unavoidable:
49
- //!
50
- //! * they make the logic in this file fragile: miss out a bitcast for any reason, and there is
51
- //! the risk of the system failing in the verifier. At least for debug builds.
52
- //!
53
- //! * in the new backends, they potentially interfere with pattern matching on CLIF -- the
54
- //! patterns need to take into account the presence of bitcast nodes.
55
- //!
56
- //! * in the new backends, they get translated into machine-level vector-register-copy
57
- //! instructions, none of which are actually necessary. We then depend on the register
58
- //! allocator to coalesce them all out.
59
- //!
60
- //! * they increase the total number of CLIF nodes that have to be processed, hence slowing down
61
- //! the compilation pipeline. Also, the extra coalescing work generates a slowdown.
62
- //!
63
- //! A better solution which would avoid all four problems would be to remove the 8X16, 16X8,
64
- //! 32X4 and 64X2 types from CLIF and instead have a single V128 type.
65
- //!
66
- //! For further background see also:
67
- //! <https://github.com/bytecodealliance/wasmtime/issues/1147>
68
- //! ("Too many raw_bitcasts in SIMD code")
69
- //! <https://github.com/bytecodealliance/cranelift/pull/1251>
70
- //! ("Add X128 type to represent WebAssembly's V128 type")
71
- //! <https://github.com/bytecodealliance/cranelift/pull/1236>
72
- //! ("Relax verification to allow I8X16 to act as a default vector type")
73
-
74
- mod bounds_checks;
75
-
76
- use super::{hash_map, HashMap};
77
- use crate::environ::{FuncEnvironment, GlobalVariable};
78
- use crate::state::{ControlStackFrame, ElseData, FuncTranslationState};
79
- use crate::translation_utils::{
80
- block_with_params, blocktype_params_results, f32_translation, f64_translation,
81
- };
82
- use crate::wasm_unsupported;
83
- use crate::{FuncIndex, GlobalIndex, MemoryIndex, TableIndex, TypeIndex, WasmResult};
84
- use core::convert::TryInto;
85
- use core::{i32, u32};
86
- use cranelift_codegen::ir::condcodes::{FloatCC, IntCC};
87
- use cranelift_codegen::ir::immediates::Offset32;
88
- use cranelift_codegen::ir::types::*;
89
- use cranelift_codegen::ir::{
90
- self, AtomicRmwOp, ConstantData, InstBuilder, JumpTableData, MemFlags, Value, ValueLabel,
91
- };
92
- use cranelift_codegen::packed_option::ReservedValue;
93
- use cranelift_frontend::{FunctionBuilder, Variable};
94
- use itertools::Itertools;
95
- use smallvec::SmallVec;
96
- use std::convert::TryFrom;
97
- use std::vec::Vec;
98
- use wasmparser::{FuncValidator, MemArg, Operator, WasmModuleResources};
99
-
100
- /// Given a `Reachability<T>`, unwrap the inner `T` or, when unreachable, set
101
- /// `state.reachable = false` and return.
102
- ///
103
- /// Used in combination with calling `prepare_addr` and `prepare_atomic_addr`
104
- /// when we can statically determine that a Wasm access will unconditionally
105
- /// trap.
106
- macro_rules! unwrap_or_return_unreachable_state {
107
- ($state:ident, $value:expr) => {
108
- match $value {
109
- Reachability::Reachable(x) => x,
110
- Reachability::Unreachable => {
111
- $state.reachable = false;
112
- return Ok(());
113
- }
114
- }
115
- };
116
- }
117
-
118
- // Clippy warns about "align: _" but its important to document that the flags field is ignored
119
- #[cfg_attr(
120
- feature = "cargo-clippy",
121
- allow(clippy::unneeded_field_pattern, clippy::cognitive_complexity)
122
- )]
123
- /// Translates wasm operators into Cranelift IR instructions.
124
- pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
125
- validator: &mut FuncValidator<impl WasmModuleResources>,
126
- op: &Operator,
127
- builder: &mut FunctionBuilder,
128
- state: &mut FuncTranslationState,
129
- environ: &mut FE,
130
- ) -> WasmResult<()> {
131
- if !state.reachable {
132
- translate_unreachable_operator(validator, &op, builder, state, environ)?;
133
- return Ok(());
134
- }
135
-
136
- // Given that we believe the current block is reachable, the FunctionBuilder ought to agree.
137
- debug_assert!(!builder.is_unreachable());
138
-
139
- // This big match treats all Wasm code operators.
140
- match op {
141
- /********************************** Locals ****************************************
142
- * `get_local` and `set_local` are treated as non-SSA variables and will completely
143
- * disappear in the Cranelift Code
144
- ***********************************************************************************/
145
- Operator::LocalGet { local_index } => {
146
- let val = builder.use_var(Variable::from_u32(*local_index));
147
- state.push1(val);
148
- let label = ValueLabel::from_u32(*local_index);
149
- builder.set_val_label(val, label);
150
- }
151
- Operator::LocalSet { local_index } => {
152
- let mut val = state.pop1();
153
-
154
- // Ensure SIMD values are cast to their default Cranelift type, I8x16.
155
- let ty = builder.func.dfg.value_type(val);
156
- if ty.is_vector() {
157
- val = optionally_bitcast_vector(val, I8X16, builder);
158
- }
159
-
160
- builder.def_var(Variable::from_u32(*local_index), val);
161
- let label = ValueLabel::from_u32(*local_index);
162
- builder.set_val_label(val, label);
163
- }
164
- Operator::LocalTee { local_index } => {
165
- let mut val = state.peek1();
166
-
167
- // Ensure SIMD values are cast to their default Cranelift type, I8x16.
168
- let ty = builder.func.dfg.value_type(val);
169
- if ty.is_vector() {
170
- val = optionally_bitcast_vector(val, I8X16, builder);
171
- }
172
-
173
- builder.def_var(Variable::from_u32(*local_index), val);
174
- let label = ValueLabel::from_u32(*local_index);
175
- builder.set_val_label(val, label);
176
- }
177
- /********************************** Globals ****************************************
178
- * `get_global` and `set_global` are handled by the environment.
179
- ***********************************************************************************/
180
- Operator::GlobalGet { global_index } => {
181
- let val = match state.get_global(builder.func, *global_index, environ)? {
182
- GlobalVariable::Const(val) => val,
183
- GlobalVariable::Memory { gv, offset, ty } => {
184
- let addr = builder.ins().global_value(environ.pointer_type(), gv);
185
- let mut flags = ir::MemFlags::trusted();
186
- // Put globals in the "table" abstract heap category as well.
187
- flags.set_table();
188
- builder.ins().load(ty, flags, addr, offset)
189
- }
190
- GlobalVariable::Custom => environ.translate_custom_global_get(
191
- builder.cursor(),
192
- GlobalIndex::from_u32(*global_index),
193
- )?,
194
- };
195
- state.push1(val);
196
- }
197
- Operator::GlobalSet { global_index } => {
198
- match state.get_global(builder.func, *global_index, environ)? {
199
- GlobalVariable::Const(_) => panic!("global #{} is a constant", *global_index),
200
- GlobalVariable::Memory { gv, offset, ty } => {
201
- let addr = builder.ins().global_value(environ.pointer_type(), gv);
202
- let mut flags = ir::MemFlags::trusted();
203
- // Put globals in the "table" abstract heap category as well.
204
- flags.set_table();
205
- let mut val = state.pop1();
206
- // Ensure SIMD values are cast to their default Cranelift type, I8x16.
207
- if ty.is_vector() {
208
- val = optionally_bitcast_vector(val, I8X16, builder);
209
- }
210
- debug_assert_eq!(ty, builder.func.dfg.value_type(val));
211
- builder.ins().store(flags, val, addr, offset);
212
- }
213
- GlobalVariable::Custom => {
214
- let val = state.pop1();
215
- environ.translate_custom_global_set(
216
- builder.cursor(),
217
- GlobalIndex::from_u32(*global_index),
218
- val,
219
- )?;
220
- }
221
- }
222
- }
223
- /********************************* Stack misc ***************************************
224
- * `drop`, `nop`, `unreachable` and `select`.
225
- ***********************************************************************************/
226
- Operator::Drop => {
227
- state.pop1();
228
- }
229
- Operator::Select => {
230
- let (mut arg1, mut arg2, cond) = state.pop3();
231
- if builder.func.dfg.value_type(arg1).is_vector() {
232
- arg1 = optionally_bitcast_vector(arg1, I8X16, builder);
233
- }
234
- if builder.func.dfg.value_type(arg2).is_vector() {
235
- arg2 = optionally_bitcast_vector(arg2, I8X16, builder);
236
- }
237
- state.push1(builder.ins().select(cond, arg1, arg2));
238
- }
239
- Operator::TypedSelect { ty: _ } => {
240
- // We ignore the explicit type parameter as it is only needed for
241
- // validation, which we require to have been performed before
242
- // translation.
243
- let (mut arg1, mut arg2, cond) = state.pop3();
244
- if builder.func.dfg.value_type(arg1).is_vector() {
245
- arg1 = optionally_bitcast_vector(arg1, I8X16, builder);
246
- }
247
- if builder.func.dfg.value_type(arg2).is_vector() {
248
- arg2 = optionally_bitcast_vector(arg2, I8X16, builder);
249
- }
250
- state.push1(builder.ins().select(cond, arg1, arg2));
251
- }
252
- Operator::Nop => {
253
- // We do nothing
254
- }
255
- Operator::Unreachable => {
256
- builder.ins().trap(ir::TrapCode::UnreachableCodeReached);
257
- state.reachable = false;
258
- }
259
- /***************************** Control flow blocks **********************************
260
- * When starting a control flow block, we create a new `Block` that will hold the code
261
- * after the block, and we push a frame on the control stack. Depending on the type
262
- * of block, we create a new `Block` for the body of the block with an associated
263
- * jump instruction.
264
- *
265
- * The `End` instruction pops the last control frame from the control stack, seals
266
- * the destination block (since `br` instructions targeting it only appear inside the
267
- * block and have already been translated) and modify the value stack to use the
268
- * possible `Block`'s arguments values.
269
- ***********************************************************************************/
270
- Operator::Block { blockty } => {
271
- let (params, results) = blocktype_params_results(validator, *blockty)?;
272
- let next = block_with_params(builder, results.clone(), environ)?;
273
- state.push_block(next, params.len(), results.len());
274
- }
275
- Operator::Loop { blockty } => {
276
- let (params, results) = blocktype_params_results(validator, *blockty)?;
277
- let loop_body = block_with_params(builder, params.clone(), environ)?;
278
- let next = block_with_params(builder, results.clone(), environ)?;
279
- canonicalise_then_jump(builder, loop_body, state.peekn(params.len()));
280
- state.push_loop(loop_body, next, params.len(), results.len());
281
-
282
- // Pop the initial `Block` actuals and replace them with the `Block`'s
283
- // params since control flow joins at the top of the loop.
284
- state.popn(params.len());
285
- state
286
- .stack
287
- .extend_from_slice(builder.block_params(loop_body));
288
-
289
- builder.switch_to_block(loop_body);
290
- environ.translate_loop_header(builder)?;
291
- }
292
- Operator::If { blockty } => {
293
- let val = state.pop1();
294
-
295
- let next_block = builder.create_block();
296
- let (params, results) = blocktype_params_results(validator, *blockty)?;
297
- let (destination, else_data) = if params.clone().eq(results.clone()) {
298
- // It is possible there is no `else` block, so we will only
299
- // allocate a block for it if/when we find the `else`. For now,
300
- // we if the condition isn't true, then we jump directly to the
301
- // destination block following the whole `if...end`. If we do end
302
- // up discovering an `else`, then we will allocate a block for it
303
- // and go back and patch the jump.
304
- let destination = block_with_params(builder, results.clone(), environ)?;
305
- let branch_inst = canonicalise_brif(
306
- builder,
307
- val,
308
- next_block,
309
- &[],
310
- destination,
311
- state.peekn(params.len()),
312
- );
313
- (
314
- destination,
315
- ElseData::NoElse {
316
- branch_inst,
317
- placeholder: destination,
318
- },
319
- )
320
- } else {
321
- // The `if` type signature is not valid without an `else` block,
322
- // so we eagerly allocate the `else` block here.
323
- let destination = block_with_params(builder, results.clone(), environ)?;
324
- let else_block = block_with_params(builder, params.clone(), environ)?;
325
- canonicalise_brif(
326
- builder,
327
- val,
328
- next_block,
329
- &[],
330
- else_block,
331
- state.peekn(params.len()),
332
- );
333
- builder.seal_block(else_block);
334
- (destination, ElseData::WithElse { else_block })
335
- };
336
-
337
- builder.seal_block(next_block); // Only predecessor is the current block.
338
- builder.switch_to_block(next_block);
339
-
340
- // Here we append an argument to a Block targeted by an argumentless jump instruction
341
- // But in fact there are two cases:
342
- // - either the If does not have a Else clause, in that case ty = EmptyBlock
343
- // and we add nothing;
344
- // - either the If have an Else clause, in that case the destination of this jump
345
- // instruction will be changed later when we translate the Else operator.
346
- state.push_if(
347
- destination,
348
- else_data,
349
- params.len(),
350
- results.len(),
351
- *blockty,
352
- );
353
- }
354
- Operator::Else => {
355
- let i = state.control_stack.len() - 1;
356
- match state.control_stack[i] {
357
- ControlStackFrame::If {
358
- ref else_data,
359
- head_is_reachable,
360
- ref mut consequent_ends_reachable,
361
- num_return_values,
362
- blocktype,
363
- destination,
364
- ..
365
- } => {
366
- // We finished the consequent, so record its final
367
- // reachability state.
368
- debug_assert!(consequent_ends_reachable.is_none());
369
- *consequent_ends_reachable = Some(state.reachable);
370
-
371
- if head_is_reachable {
372
- // We have a branch from the head of the `if` to the `else`.
373
- state.reachable = true;
374
-
375
- // Ensure we have a block for the `else` block (it may have
376
- // already been pre-allocated, see `ElseData` for details).
377
- let else_block = match *else_data {
378
- ElseData::NoElse {
379
- branch_inst,
380
- placeholder,
381
- } => {
382
- let (params, _results) =
383
- blocktype_params_results(validator, blocktype)?;
384
- debug_assert_eq!(params.len(), num_return_values);
385
- let else_block =
386
- block_with_params(builder, params.clone(), environ)?;
387
- canonicalise_then_jump(
388
- builder,
389
- destination,
390
- state.peekn(params.len()),
391
- );
392
- state.popn(params.len());
393
-
394
- builder.change_jump_destination(
395
- branch_inst,
396
- placeholder,
397
- else_block,
398
- );
399
- builder.seal_block(else_block);
400
- else_block
401
- }
402
- ElseData::WithElse { else_block } => {
403
- canonicalise_then_jump(
404
- builder,
405
- destination,
406
- state.peekn(num_return_values),
407
- );
408
- state.popn(num_return_values);
409
- else_block
410
- }
411
- };
412
-
413
- // You might be expecting that we push the parameters for this
414
- // `else` block here, something like this:
415
- //
416
- // state.pushn(&control_stack_frame.params);
417
- //
418
- // We don't do that because they are already on the top of the stack
419
- // for us: we pushed the parameters twice when we saw the initial
420
- // `if` so that we wouldn't have to save the parameters in the
421
- // `ControlStackFrame` as another `Vec` allocation.
422
-
423
- builder.switch_to_block(else_block);
424
-
425
- // We don't bother updating the control frame's `ElseData`
426
- // to `WithElse` because nothing else will read it.
427
- }
428
- }
429
- _ => unreachable!(),
430
- }
431
- }
432
- Operator::End => {
433
- let frame = state.control_stack.pop().unwrap();
434
- let next_block = frame.following_code();
435
- let return_count = frame.num_return_values();
436
- let return_args = state.peekn_mut(return_count);
437
-
438
- canonicalise_then_jump(builder, next_block, return_args);
439
- // You might expect that if we just finished an `if` block that
440
- // didn't have a corresponding `else` block, then we would clean
441
- // up our duplicate set of parameters that we pushed earlier
442
- // right here. However, we don't have to explicitly do that,
443
- // since we truncate the stack back to the original height
444
- // below.
445
-
446
- builder.switch_to_block(next_block);
447
- builder.seal_block(next_block);
448
-
449
- // If it is a loop we also have to seal the body loop block
450
- if let ControlStackFrame::Loop { header, .. } = frame {
451
- builder.seal_block(header)
452
- }
453
-
454
- frame.truncate_value_stack_to_original_size(&mut state.stack);
455
- state
456
- .stack
457
- .extend_from_slice(builder.block_params(next_block));
458
- }
459
- /**************************** Branch instructions *********************************
460
- * The branch instructions all have as arguments a target nesting level, which
461
- * corresponds to how many control stack frames do we have to pop to get the
462
- * destination `Block`.
463
- *
464
- * Once the destination `Block` is found, we sometimes have to declare a certain depth
465
- * of the stack unreachable, because some branch instructions are terminator.
466
- *
467
- * The `br_table` case is much more complicated because Cranelift's `br_table` instruction
468
- * does not support jump arguments like all the other branch instructions. That is why, in
469
- * the case where we would use jump arguments for every other branch instruction, we
470
- * need to split the critical edges leaving the `br_tables` by creating one `Block` per
471
- * table destination; the `br_table` will point to these newly created `Blocks` and these
472
- * `Block`s contain only a jump instruction pointing to the final destination, this time with
473
- * jump arguments.
474
- *
475
- * This system is also implemented in Cranelift's SSA construction algorithm, because
476
- * `use_var` located in a destination `Block` of a `br_table` might trigger the addition
477
- * of jump arguments in each predecessor branch instruction, one of which might be a
478
- * `br_table`.
479
- ***********************************************************************************/
480
- Operator::Br { relative_depth } => {
481
- let i = state.control_stack.len() - 1 - (*relative_depth as usize);
482
- let (return_count, br_destination) = {
483
- let frame = &mut state.control_stack[i];
484
- // We signal that all the code that follows until the next End is unreachable
485
- frame.set_branched_to_exit();
486
- let return_count = if frame.is_loop() {
487
- frame.num_param_values()
488
- } else {
489
- frame.num_return_values()
490
- };
491
- (return_count, frame.br_destination())
492
- };
493
- let destination_args = state.peekn_mut(return_count);
494
- canonicalise_then_jump(builder, br_destination, destination_args);
495
- state.popn(return_count);
496
- state.reachable = false;
497
- }
498
- Operator::BrIf { relative_depth } => translate_br_if(*relative_depth, builder, state),
499
- Operator::BrTable { targets } => {
500
- let default = targets.default();
501
- let mut min_depth = default;
502
- for depth in targets.targets() {
503
- let depth = depth?;
504
- if depth < min_depth {
505
- min_depth = depth;
506
- }
507
- }
508
- let jump_args_count = {
509
- let i = state.control_stack.len() - 1 - (min_depth as usize);
510
- let min_depth_frame = &state.control_stack[i];
511
- if min_depth_frame.is_loop() {
512
- min_depth_frame.num_param_values()
513
- } else {
514
- min_depth_frame.num_return_values()
515
- }
516
- };
517
- let val = state.pop1();
518
- let mut data = Vec::with_capacity(targets.len() as usize);
519
- if jump_args_count == 0 {
520
- // No jump arguments
521
- for depth in targets.targets() {
522
- let depth = depth?;
523
- let block = {
524
- let i = state.control_stack.len() - 1 - (depth as usize);
525
- let frame = &mut state.control_stack[i];
526
- frame.set_branched_to_exit();
527
- frame.br_destination()
528
- };
529
- data.push(builder.func.dfg.block_call(block, &[]));
530
- }
531
- let block = {
532
- let i = state.control_stack.len() - 1 - (default as usize);
533
- let frame = &mut state.control_stack[i];
534
- frame.set_branched_to_exit();
535
- frame.br_destination()
536
- };
537
- let block = builder.func.dfg.block_call(block, &[]);
538
- let jt = builder.create_jump_table(JumpTableData::new(block, &data));
539
- builder.ins().br_table(val, jt);
540
- } else {
541
- // Here we have jump arguments, but Cranelift's br_table doesn't support them
542
- // We then proceed to split the edges going out of the br_table
543
- let return_count = jump_args_count;
544
- let mut dest_block_sequence = vec![];
545
- let mut dest_block_map = HashMap::new();
546
- for depth in targets.targets() {
547
- let depth = depth?;
548
- let branch_block = match dest_block_map.entry(depth as usize) {
549
- hash_map::Entry::Occupied(entry) => *entry.get(),
550
- hash_map::Entry::Vacant(entry) => {
551
- let block = builder.create_block();
552
- dest_block_sequence.push((depth as usize, block));
553
- *entry.insert(block)
554
- }
555
- };
556
- data.push(builder.func.dfg.block_call(branch_block, &[]));
557
- }
558
- let default_branch_block = match dest_block_map.entry(default as usize) {
559
- hash_map::Entry::Occupied(entry) => *entry.get(),
560
- hash_map::Entry::Vacant(entry) => {
561
- let block = builder.create_block();
562
- dest_block_sequence.push((default as usize, block));
563
- *entry.insert(block)
564
- }
565
- };
566
- let default_branch_block = builder.func.dfg.block_call(default_branch_block, &[]);
567
- let jt = builder.create_jump_table(JumpTableData::new(default_branch_block, &data));
568
- builder.ins().br_table(val, jt);
569
- for (depth, dest_block) in dest_block_sequence {
570
- builder.switch_to_block(dest_block);
571
- builder.seal_block(dest_block);
572
- let real_dest_block = {
573
- let i = state.control_stack.len() - 1 - depth;
574
- let frame = &mut state.control_stack[i];
575
- frame.set_branched_to_exit();
576
- frame.br_destination()
577
- };
578
- let destination_args = state.peekn_mut(return_count);
579
- canonicalise_then_jump(builder, real_dest_block, destination_args);
580
- }
581
- state.popn(return_count);
582
- }
583
- state.reachable = false;
584
- }
585
- Operator::Return => {
586
- let return_count = {
587
- let frame = &mut state.control_stack[0];
588
- frame.num_return_values()
589
- };
590
- {
591
- let return_args = state.peekn_mut(return_count);
592
- bitcast_wasm_returns(environ, return_args, builder);
593
- builder.ins().return_(return_args);
594
- }
595
- state.popn(return_count);
596
- state.reachable = false;
597
- }
598
- /********************************** Exception handing **********************************/
599
- Operator::Try { .. }
600
- | Operator::Catch { .. }
601
- | Operator::Throw { .. }
602
- | Operator::Rethrow { .. }
603
- | Operator::Delegate { .. }
604
- | Operator::CatchAll => {
605
- return Err(wasm_unsupported!(
606
- "proposed exception handling operator {:?}",
607
- op
608
- ));
609
- }
610
- /************************************ Calls ****************************************
611
- * The call instructions pop off their arguments from the stack and append their
612
- * return values to it. `call_indirect` needs environment support because there is an
613
- * argument referring to an index in the external functions table of the module.
614
- ************************************************************************************/
615
- Operator::Call { function_index } => {
616
- let (fref, num_args) = state.get_direct_func(builder.func, *function_index, environ)?;
617
-
618
- // Bitcast any vector arguments to their default type, I8X16, before calling.
619
- let args = state.peekn_mut(num_args);
620
- bitcast_wasm_params(
621
- environ,
622
- builder.func.dfg.ext_funcs[fref].signature,
623
- args,
624
- builder,
625
- );
626
-
627
- let call = environ.translate_call(
628
- builder.cursor(),
629
- FuncIndex::from_u32(*function_index),
630
- fref,
631
- args,
632
- )?;
633
- let inst_results = builder.inst_results(call);
634
- debug_assert_eq!(
635
- inst_results.len(),
636
- builder.func.dfg.signatures[builder.func.dfg.ext_funcs[fref].signature]
637
- .returns
638
- .len(),
639
- "translate_call results should match the call signature"
640
- );
641
- state.popn(num_args);
642
- state.pushn(inst_results);
643
- }
644
- Operator::CallIndirect {
645
- type_index,
646
- table_index,
647
- table_byte: _,
648
- } => {
649
- // `type_index` is the index of the function's signature and
650
- // `table_index` is the index of the table to search the function
651
- // in.
652
- let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
653
- let table = state.get_or_create_table(builder.func, *table_index, environ)?;
654
- let callee = state.pop1();
655
-
656
- // Bitcast any vector arguments to their default type, I8X16, before calling.
657
- let args = state.peekn_mut(num_args);
658
- bitcast_wasm_params(environ, sigref, args, builder);
659
-
660
- let call = environ.translate_call_indirect(
661
- builder,
662
- TableIndex::from_u32(*table_index),
663
- table,
664
- TypeIndex::from_u32(*type_index),
665
- sigref,
666
- callee,
667
- state.peekn(num_args),
668
- )?;
669
- let inst_results = builder.inst_results(call);
670
- debug_assert_eq!(
671
- inst_results.len(),
672
- builder.func.dfg.signatures[sigref].returns.len(),
673
- "translate_call_indirect results should match the call signature"
674
- );
675
- state.popn(num_args);
676
- state.pushn(inst_results);
677
- }
678
- /******************************* Memory management ***********************************
679
- * Memory management is handled by environment. It is usually translated into calls to
680
- * special functions.
681
- ************************************************************************************/
682
- Operator::MemoryGrow { mem, mem_byte: _ } => {
683
- // The WebAssembly MVP only supports one linear memory, but we expect the reserved
684
- // argument to be a memory index.
685
- let heap_index = MemoryIndex::from_u32(*mem);
686
- let heap = state.get_heap(builder.func, *mem, environ)?;
687
- let val = state.pop1();
688
- state.push1(environ.translate_memory_grow(builder.cursor(), heap_index, heap, val)?)
689
- }
690
- Operator::MemorySize { mem, mem_byte: _ } => {
691
- let heap_index = MemoryIndex::from_u32(*mem);
692
- let heap = state.get_heap(builder.func, *mem, environ)?;
693
- state.push1(environ.translate_memory_size(builder.cursor(), heap_index, heap)?);
694
- }
695
- /******************************* Load instructions ***********************************
696
- * Wasm specifies an integer alignment flag but we drop it in Cranelift.
697
- * The memory base address is provided by the environment.
698
- ************************************************************************************/
699
- Operator::I32Load8U { memarg } => {
700
- unwrap_or_return_unreachable_state!(
701
- state,
702
- translate_load(memarg, ir::Opcode::Uload8, I32, builder, state, environ)?
703
- );
704
- }
705
- Operator::I32Load16U { memarg } => {
706
- unwrap_or_return_unreachable_state!(
707
- state,
708
- translate_load(memarg, ir::Opcode::Uload16, I32, builder, state, environ)?
709
- );
710
- }
711
- Operator::I32Load8S { memarg } => {
712
- unwrap_or_return_unreachable_state!(
713
- state,
714
- translate_load(memarg, ir::Opcode::Sload8, I32, builder, state, environ)?
715
- );
716
- }
717
- Operator::I32Load16S { memarg } => {
718
- unwrap_or_return_unreachable_state!(
719
- state,
720
- translate_load(memarg, ir::Opcode::Sload16, I32, builder, state, environ)?
721
- );
722
- }
723
- Operator::I64Load8U { memarg } => {
724
- unwrap_or_return_unreachable_state!(
725
- state,
726
- translate_load(memarg, ir::Opcode::Uload8, I64, builder, state, environ)?
727
- );
728
- }
729
- Operator::I64Load16U { memarg } => {
730
- unwrap_or_return_unreachable_state!(
731
- state,
732
- translate_load(memarg, ir::Opcode::Uload16, I64, builder, state, environ)?
733
- );
734
- }
735
- Operator::I64Load8S { memarg } => {
736
- unwrap_or_return_unreachable_state!(
737
- state,
738
- translate_load(memarg, ir::Opcode::Sload8, I64, builder, state, environ)?
739
- );
740
- }
741
- Operator::I64Load16S { memarg } => {
742
- unwrap_or_return_unreachable_state!(
743
- state,
744
- translate_load(memarg, ir::Opcode::Sload16, I64, builder, state, environ)?
745
- );
746
- }
747
- Operator::I64Load32S { memarg } => {
748
- unwrap_or_return_unreachable_state!(
749
- state,
750
- translate_load(memarg, ir::Opcode::Sload32, I64, builder, state, environ)?
751
- );
752
- }
753
- Operator::I64Load32U { memarg } => {
754
- unwrap_or_return_unreachable_state!(
755
- state,
756
- translate_load(memarg, ir::Opcode::Uload32, I64, builder, state, environ)?
757
- );
758
- }
759
- Operator::I32Load { memarg } => {
760
- unwrap_or_return_unreachable_state!(
761
- state,
762
- translate_load(memarg, ir::Opcode::Load, I32, builder, state, environ)?
763
- );
764
- }
765
- Operator::F32Load { memarg } => {
766
- unwrap_or_return_unreachable_state!(
767
- state,
768
- translate_load(memarg, ir::Opcode::Load, F32, builder, state, environ)?
769
- );
770
- }
771
- Operator::I64Load { memarg } => {
772
- unwrap_or_return_unreachable_state!(
773
- state,
774
- translate_load(memarg, ir::Opcode::Load, I64, builder, state, environ)?
775
- );
776
- }
777
- Operator::F64Load { memarg } => {
778
- unwrap_or_return_unreachable_state!(
779
- state,
780
- translate_load(memarg, ir::Opcode::Load, F64, builder, state, environ)?
781
- );
782
- }
783
- Operator::V128Load { memarg } => {
784
- unwrap_or_return_unreachable_state!(
785
- state,
786
- translate_load(memarg, ir::Opcode::Load, I8X16, builder, state, environ)?
787
- );
788
- }
789
- Operator::V128Load8x8S { memarg } => {
790
- let (flags, base) = unwrap_or_return_unreachable_state!(
791
- state,
792
- prepare_addr(memarg, 8, builder, state, environ)?
793
- );
794
- let loaded = builder.ins().sload8x8(flags, base, 0);
795
- state.push1(loaded);
796
- }
797
- Operator::V128Load8x8U { memarg } => {
798
- let (flags, base) = unwrap_or_return_unreachable_state!(
799
- state,
800
- prepare_addr(memarg, 8, builder, state, environ)?
801
- );
802
- let loaded = builder.ins().uload8x8(flags, base, 0);
803
- state.push1(loaded);
804
- }
805
- Operator::V128Load16x4S { memarg } => {
806
- let (flags, base) = unwrap_or_return_unreachable_state!(
807
- state,
808
- prepare_addr(memarg, 8, builder, state, environ)?
809
- );
810
- let loaded = builder.ins().sload16x4(flags, base, 0);
811
- state.push1(loaded);
812
- }
813
- Operator::V128Load16x4U { memarg } => {
814
- let (flags, base) = unwrap_or_return_unreachable_state!(
815
- state,
816
- prepare_addr(memarg, 8, builder, state, environ)?
817
- );
818
- let loaded = builder.ins().uload16x4(flags, base, 0);
819
- state.push1(loaded);
820
- }
821
- Operator::V128Load32x2S { memarg } => {
822
- let (flags, base) = unwrap_or_return_unreachable_state!(
823
- state,
824
- prepare_addr(memarg, 8, builder, state, environ)?
825
- );
826
- let loaded = builder.ins().sload32x2(flags, base, 0);
827
- state.push1(loaded);
828
- }
829
- Operator::V128Load32x2U { memarg } => {
830
- let (flags, base) = unwrap_or_return_unreachable_state!(
831
- state,
832
- prepare_addr(memarg, 8, builder, state, environ)?
833
- );
834
- let loaded = builder.ins().uload32x2(flags, base, 0);
835
- state.push1(loaded);
836
- }
837
- /****************************** Store instructions ***********************************
838
- * Wasm specifies an integer alignment flag but we drop it in Cranelift.
839
- * The memory base address is provided by the environment.
840
- ************************************************************************************/
841
- Operator::I32Store { memarg }
842
- | Operator::I64Store { memarg }
843
- | Operator::F32Store { memarg }
844
- | Operator::F64Store { memarg } => {
845
- translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
846
- }
847
- Operator::I32Store8 { memarg } | Operator::I64Store8 { memarg } => {
848
- translate_store(memarg, ir::Opcode::Istore8, builder, state, environ)?;
849
- }
850
- Operator::I32Store16 { memarg } | Operator::I64Store16 { memarg } => {
851
- translate_store(memarg, ir::Opcode::Istore16, builder, state, environ)?;
852
- }
853
- Operator::I64Store32 { memarg } => {
854
- translate_store(memarg, ir::Opcode::Istore32, builder, state, environ)?;
855
- }
856
- Operator::V128Store { memarg } => {
857
- translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
858
- }
859
- /****************************** Nullary Operators ************************************/
860
- Operator::I32Const { value } => state.push1(builder.ins().iconst(I32, i64::from(*value))),
861
- Operator::I64Const { value } => state.push1(builder.ins().iconst(I64, *value)),
862
- Operator::F32Const { value } => {
863
- state.push1(builder.ins().f32const(f32_translation(*value)));
864
- }
865
- Operator::F64Const { value } => {
866
- state.push1(builder.ins().f64const(f64_translation(*value)));
867
- }
868
- /******************************* Unary Operators *************************************/
869
- Operator::I32Clz | Operator::I64Clz => {
870
- let arg = state.pop1();
871
- state.push1(builder.ins().clz(arg));
872
- }
873
- Operator::I32Ctz | Operator::I64Ctz => {
874
- let arg = state.pop1();
875
- state.push1(builder.ins().ctz(arg));
876
- }
877
- Operator::I32Popcnt | Operator::I64Popcnt => {
878
- let arg = state.pop1();
879
- state.push1(builder.ins().popcnt(arg));
880
- }
881
- Operator::I64ExtendI32S => {
882
- let val = state.pop1();
883
- state.push1(builder.ins().sextend(I64, val));
884
- }
885
- Operator::I64ExtendI32U => {
886
- let val = state.pop1();
887
- state.push1(builder.ins().uextend(I64, val));
888
- }
889
- Operator::I32WrapI64 => {
890
- let val = state.pop1();
891
- state.push1(builder.ins().ireduce(I32, val));
892
- }
893
- Operator::F32Sqrt | Operator::F64Sqrt => {
894
- let arg = state.pop1();
895
- state.push1(builder.ins().sqrt(arg));
896
- }
897
- Operator::F32Ceil | Operator::F64Ceil => {
898
- let arg = state.pop1();
899
- state.push1(builder.ins().ceil(arg));
900
- }
901
- Operator::F32Floor | Operator::F64Floor => {
902
- let arg = state.pop1();
903
- state.push1(builder.ins().floor(arg));
904
- }
905
- Operator::F32Trunc | Operator::F64Trunc => {
906
- let arg = state.pop1();
907
- state.push1(builder.ins().trunc(arg));
908
- }
909
- Operator::F32Nearest | Operator::F64Nearest => {
910
- let arg = state.pop1();
911
- state.push1(builder.ins().nearest(arg));
912
- }
913
- Operator::F32Abs | Operator::F64Abs => {
914
- let val = state.pop1();
915
- state.push1(builder.ins().fabs(val));
916
- }
917
- Operator::F32Neg | Operator::F64Neg => {
918
- let arg = state.pop1();
919
- state.push1(builder.ins().fneg(arg));
920
- }
921
- Operator::F64ConvertI64U | Operator::F64ConvertI32U => {
922
- let val = state.pop1();
923
- state.push1(builder.ins().fcvt_from_uint(F64, val));
924
- }
925
- Operator::F64ConvertI64S | Operator::F64ConvertI32S => {
926
- let val = state.pop1();
927
- state.push1(builder.ins().fcvt_from_sint(F64, val));
928
- }
929
- Operator::F32ConvertI64S | Operator::F32ConvertI32S => {
930
- let val = state.pop1();
931
- state.push1(builder.ins().fcvt_from_sint(F32, val));
932
- }
933
- Operator::F32ConvertI64U | Operator::F32ConvertI32U => {
934
- let val = state.pop1();
935
- state.push1(builder.ins().fcvt_from_uint(F32, val));
936
- }
937
- Operator::F64PromoteF32 => {
938
- let val = state.pop1();
939
- state.push1(builder.ins().fpromote(F64, val));
940
- }
941
- Operator::F32DemoteF64 => {
942
- let val = state.pop1();
943
- state.push1(builder.ins().fdemote(F32, val));
944
- }
945
- Operator::I64TruncF64S | Operator::I64TruncF32S => {
946
- let val = state.pop1();
947
- state.push1(builder.ins().fcvt_to_sint(I64, val));
948
- }
949
- Operator::I32TruncF64S | Operator::I32TruncF32S => {
950
- let val = state.pop1();
951
- state.push1(builder.ins().fcvt_to_sint(I32, val));
952
- }
953
- Operator::I64TruncF64U | Operator::I64TruncF32U => {
954
- let val = state.pop1();
955
- state.push1(builder.ins().fcvt_to_uint(I64, val));
956
- }
957
- Operator::I32TruncF64U | Operator::I32TruncF32U => {
958
- let val = state.pop1();
959
- state.push1(builder.ins().fcvt_to_uint(I32, val));
960
- }
961
- Operator::I64TruncSatF64S | Operator::I64TruncSatF32S => {
962
- let val = state.pop1();
963
- state.push1(builder.ins().fcvt_to_sint_sat(I64, val));
964
- }
965
- Operator::I32TruncSatF64S | Operator::I32TruncSatF32S => {
966
- let val = state.pop1();
967
- state.push1(builder.ins().fcvt_to_sint_sat(I32, val));
968
- }
969
- Operator::I64TruncSatF64U | Operator::I64TruncSatF32U => {
970
- let val = state.pop1();
971
- state.push1(builder.ins().fcvt_to_uint_sat(I64, val));
972
- }
973
- Operator::I32TruncSatF64U | Operator::I32TruncSatF32U => {
974
- let val = state.pop1();
975
- state.push1(builder.ins().fcvt_to_uint_sat(I32, val));
976
- }
977
- Operator::F32ReinterpretI32 => {
978
- let val = state.pop1();
979
- state.push1(builder.ins().bitcast(F32, MemFlags::new(), val));
980
- }
981
- Operator::F64ReinterpretI64 => {
982
- let val = state.pop1();
983
- state.push1(builder.ins().bitcast(F64, MemFlags::new(), val));
984
- }
985
- Operator::I32ReinterpretF32 => {
986
- let val = state.pop1();
987
- state.push1(builder.ins().bitcast(I32, MemFlags::new(), val));
988
- }
989
- Operator::I64ReinterpretF64 => {
990
- let val = state.pop1();
991
- state.push1(builder.ins().bitcast(I64, MemFlags::new(), val));
992
- }
993
- Operator::I32Extend8S => {
994
- let val = state.pop1();
995
- state.push1(builder.ins().ireduce(I8, val));
996
- let val = state.pop1();
997
- state.push1(builder.ins().sextend(I32, val));
998
- }
999
- Operator::I32Extend16S => {
1000
- let val = state.pop1();
1001
- state.push1(builder.ins().ireduce(I16, val));
1002
- let val = state.pop1();
1003
- state.push1(builder.ins().sextend(I32, val));
1004
- }
1005
- Operator::I64Extend8S => {
1006
- let val = state.pop1();
1007
- state.push1(builder.ins().ireduce(I8, val));
1008
- let val = state.pop1();
1009
- state.push1(builder.ins().sextend(I64, val));
1010
- }
1011
- Operator::I64Extend16S => {
1012
- let val = state.pop1();
1013
- state.push1(builder.ins().ireduce(I16, val));
1014
- let val = state.pop1();
1015
- state.push1(builder.ins().sextend(I64, val));
1016
- }
1017
- Operator::I64Extend32S => {
1018
- let val = state.pop1();
1019
- state.push1(builder.ins().ireduce(I32, val));
1020
- let val = state.pop1();
1021
- state.push1(builder.ins().sextend(I64, val));
1022
- }
1023
- /****************************** Binary Operators ************************************/
1024
- Operator::I32Add | Operator::I64Add => {
1025
- let (arg1, arg2) = state.pop2();
1026
- state.push1(builder.ins().iadd(arg1, arg2));
1027
- }
1028
- Operator::I32And | Operator::I64And => {
1029
- let (arg1, arg2) = state.pop2();
1030
- state.push1(builder.ins().band(arg1, arg2));
1031
- }
1032
- Operator::I32Or | Operator::I64Or => {
1033
- let (arg1, arg2) = state.pop2();
1034
- state.push1(builder.ins().bor(arg1, arg2));
1035
- }
1036
- Operator::I32Xor | Operator::I64Xor => {
1037
- let (arg1, arg2) = state.pop2();
1038
- state.push1(builder.ins().bxor(arg1, arg2));
1039
- }
1040
- Operator::I32Shl | Operator::I64Shl => {
1041
- let (arg1, arg2) = state.pop2();
1042
- state.push1(builder.ins().ishl(arg1, arg2));
1043
- }
1044
- Operator::I32ShrS | Operator::I64ShrS => {
1045
- let (arg1, arg2) = state.pop2();
1046
- state.push1(builder.ins().sshr(arg1, arg2));
1047
- }
1048
- Operator::I32ShrU | Operator::I64ShrU => {
1049
- let (arg1, arg2) = state.pop2();
1050
- state.push1(builder.ins().ushr(arg1, arg2));
1051
- }
1052
- Operator::I32Rotl | Operator::I64Rotl => {
1053
- let (arg1, arg2) = state.pop2();
1054
- state.push1(builder.ins().rotl(arg1, arg2));
1055
- }
1056
- Operator::I32Rotr | Operator::I64Rotr => {
1057
- let (arg1, arg2) = state.pop2();
1058
- state.push1(builder.ins().rotr(arg1, arg2));
1059
- }
1060
- Operator::F32Add | Operator::F64Add => {
1061
- let (arg1, arg2) = state.pop2();
1062
- state.push1(builder.ins().fadd(arg1, arg2));
1063
- }
1064
- Operator::I32Sub | Operator::I64Sub => {
1065
- let (arg1, arg2) = state.pop2();
1066
- state.push1(builder.ins().isub(arg1, arg2));
1067
- }
1068
- Operator::F32Sub | Operator::F64Sub => {
1069
- let (arg1, arg2) = state.pop2();
1070
- state.push1(builder.ins().fsub(arg1, arg2));
1071
- }
1072
- Operator::I32Mul | Operator::I64Mul => {
1073
- let (arg1, arg2) = state.pop2();
1074
- state.push1(builder.ins().imul(arg1, arg2));
1075
- }
1076
- Operator::F32Mul | Operator::F64Mul => {
1077
- let (arg1, arg2) = state.pop2();
1078
- state.push1(builder.ins().fmul(arg1, arg2));
1079
- }
1080
- Operator::F32Div | Operator::F64Div => {
1081
- let (arg1, arg2) = state.pop2();
1082
- state.push1(builder.ins().fdiv(arg1, arg2));
1083
- }
1084
- Operator::I32DivS | Operator::I64DivS => {
1085
- let (arg1, arg2) = state.pop2();
1086
- state.push1(builder.ins().sdiv(arg1, arg2));
1087
- }
1088
- Operator::I32DivU | Operator::I64DivU => {
1089
- let (arg1, arg2) = state.pop2();
1090
- state.push1(builder.ins().udiv(arg1, arg2));
1091
- }
1092
- Operator::I32RemS | Operator::I64RemS => {
1093
- let (arg1, arg2) = state.pop2();
1094
- state.push1(builder.ins().srem(arg1, arg2));
1095
- }
1096
- Operator::I32RemU | Operator::I64RemU => {
1097
- let (arg1, arg2) = state.pop2();
1098
- state.push1(builder.ins().urem(arg1, arg2));
1099
- }
1100
- Operator::F32Min | Operator::F64Min => {
1101
- let (arg1, arg2) = state.pop2();
1102
- state.push1(builder.ins().fmin(arg1, arg2));
1103
- }
1104
- Operator::F32Max | Operator::F64Max => {
1105
- let (arg1, arg2) = state.pop2();
1106
- state.push1(builder.ins().fmax(arg1, arg2));
1107
- }
1108
- Operator::F32Copysign | Operator::F64Copysign => {
1109
- let (arg1, arg2) = state.pop2();
1110
- state.push1(builder.ins().fcopysign(arg1, arg2));
1111
- }
1112
- /**************************** Comparison Operators **********************************/
1113
- Operator::I32LtS | Operator::I64LtS => {
1114
- translate_icmp(IntCC::SignedLessThan, builder, state)
1115
- }
1116
- Operator::I32LtU | Operator::I64LtU => {
1117
- translate_icmp(IntCC::UnsignedLessThan, builder, state)
1118
- }
1119
- Operator::I32LeS | Operator::I64LeS => {
1120
- translate_icmp(IntCC::SignedLessThanOrEqual, builder, state)
1121
- }
1122
- Operator::I32LeU | Operator::I64LeU => {
1123
- translate_icmp(IntCC::UnsignedLessThanOrEqual, builder, state)
1124
- }
1125
- Operator::I32GtS | Operator::I64GtS => {
1126
- translate_icmp(IntCC::SignedGreaterThan, builder, state)
1127
- }
1128
- Operator::I32GtU | Operator::I64GtU => {
1129
- translate_icmp(IntCC::UnsignedGreaterThan, builder, state)
1130
- }
1131
- Operator::I32GeS | Operator::I64GeS => {
1132
- translate_icmp(IntCC::SignedGreaterThanOrEqual, builder, state)
1133
- }
1134
- Operator::I32GeU | Operator::I64GeU => {
1135
- translate_icmp(IntCC::UnsignedGreaterThanOrEqual, builder, state)
1136
- }
1137
- Operator::I32Eqz | Operator::I64Eqz => {
1138
- let arg = state.pop1();
1139
- let val = builder.ins().icmp_imm(IntCC::Equal, arg, 0);
1140
- state.push1(builder.ins().uextend(I32, val));
1141
- }
1142
- Operator::I32Eq | Operator::I64Eq => translate_icmp(IntCC::Equal, builder, state),
1143
- Operator::F32Eq | Operator::F64Eq => translate_fcmp(FloatCC::Equal, builder, state),
1144
- Operator::I32Ne | Operator::I64Ne => translate_icmp(IntCC::NotEqual, builder, state),
1145
- Operator::F32Ne | Operator::F64Ne => translate_fcmp(FloatCC::NotEqual, builder, state),
1146
- Operator::F32Gt | Operator::F64Gt => translate_fcmp(FloatCC::GreaterThan, builder, state),
1147
- Operator::F32Ge | Operator::F64Ge => {
1148
- translate_fcmp(FloatCC::GreaterThanOrEqual, builder, state)
1149
- }
1150
- Operator::F32Lt | Operator::F64Lt => translate_fcmp(FloatCC::LessThan, builder, state),
1151
- Operator::F32Le | Operator::F64Le => {
1152
- translate_fcmp(FloatCC::LessThanOrEqual, builder, state)
1153
- }
1154
- Operator::RefNull { hty } => {
1155
- state.push1(environ.translate_ref_null(builder.cursor(), (*hty).try_into()?)?)
1156
- }
1157
- Operator::RefIsNull => {
1158
- let value = state.pop1();
1159
- state.push1(environ.translate_ref_is_null(builder.cursor(), value)?);
1160
- }
1161
- Operator::RefFunc { function_index } => {
1162
- let index = FuncIndex::from_u32(*function_index);
1163
- state.push1(environ.translate_ref_func(builder.cursor(), index)?);
1164
- }
1165
- Operator::MemoryAtomicWait32 { memarg } | Operator::MemoryAtomicWait64 { memarg } => {
1166
- // The WebAssembly MVP only supports one linear memory and
1167
- // wasmparser will ensure that the memory indices specified are
1168
- // zero.
1169
- let implied_ty = match op {
1170
- Operator::MemoryAtomicWait64 { .. } => I64,
1171
- Operator::MemoryAtomicWait32 { .. } => I32,
1172
- _ => unreachable!(),
1173
- };
1174
- let heap_index = MemoryIndex::from_u32(memarg.memory);
1175
- let heap = state.get_heap(builder.func, memarg.memory, environ)?;
1176
- let timeout = state.pop1(); // 64 (fixed)
1177
- let expected = state.pop1(); // 32 or 64 (per the `Ixx` in `IxxAtomicWait`)
1178
- assert!(builder.func.dfg.value_type(expected) == implied_ty);
1179
- let addr = state.pop1();
1180
- let effective_addr = if memarg.offset == 0 {
1181
- addr
1182
- } else {
1183
- let index_type = environ.heaps()[heap].index_type;
1184
- let offset = builder.ins().iconst(index_type, memarg.offset as i64);
1185
- builder
1186
- .ins()
1187
- .uadd_overflow_trap(addr, offset, ir::TrapCode::HeapOutOfBounds)
1188
- };
1189
- // `fn translate_atomic_wait` can inspect the type of `expected` to figure out what
1190
- // code it needs to generate, if it wants.
1191
- let res = environ.translate_atomic_wait(
1192
- builder.cursor(),
1193
- heap_index,
1194
- heap,
1195
- effective_addr,
1196
- expected,
1197
- timeout,
1198
- )?;
1199
- state.push1(res);
1200
- }
1201
- Operator::MemoryAtomicNotify { memarg } => {
1202
- let heap_index = MemoryIndex::from_u32(memarg.memory);
1203
- let heap = state.get_heap(builder.func, memarg.memory, environ)?;
1204
- let count = state.pop1(); // 32 (fixed)
1205
- let addr = state.pop1();
1206
- let effective_addr = if memarg.offset == 0 {
1207
- addr
1208
- } else {
1209
- let index_type = environ.heaps()[heap].index_type;
1210
- let offset = builder.ins().iconst(index_type, memarg.offset as i64);
1211
- builder
1212
- .ins()
1213
- .uadd_overflow_trap(addr, offset, ir::TrapCode::HeapOutOfBounds)
1214
- };
1215
- let res = environ.translate_atomic_notify(
1216
- builder.cursor(),
1217
- heap_index,
1218
- heap,
1219
- effective_addr,
1220
- count,
1221
- )?;
1222
- state.push1(res);
1223
- }
1224
- Operator::I32AtomicLoad { memarg } => {
1225
- translate_atomic_load(I32, I32, memarg, builder, state, environ)?
1226
- }
1227
- Operator::I64AtomicLoad { memarg } => {
1228
- translate_atomic_load(I64, I64, memarg, builder, state, environ)?
1229
- }
1230
- Operator::I32AtomicLoad8U { memarg } => {
1231
- translate_atomic_load(I32, I8, memarg, builder, state, environ)?
1232
- }
1233
- Operator::I32AtomicLoad16U { memarg } => {
1234
- translate_atomic_load(I32, I16, memarg, builder, state, environ)?
1235
- }
1236
- Operator::I64AtomicLoad8U { memarg } => {
1237
- translate_atomic_load(I64, I8, memarg, builder, state, environ)?
1238
- }
1239
- Operator::I64AtomicLoad16U { memarg } => {
1240
- translate_atomic_load(I64, I16, memarg, builder, state, environ)?
1241
- }
1242
- Operator::I64AtomicLoad32U { memarg } => {
1243
- translate_atomic_load(I64, I32, memarg, builder, state, environ)?
1244
- }
1245
-
1246
- Operator::I32AtomicStore { memarg } => {
1247
- translate_atomic_store(I32, memarg, builder, state, environ)?
1248
- }
1249
- Operator::I64AtomicStore { memarg } => {
1250
- translate_atomic_store(I64, memarg, builder, state, environ)?
1251
- }
1252
- Operator::I32AtomicStore8 { memarg } => {
1253
- translate_atomic_store(I8, memarg, builder, state, environ)?
1254
- }
1255
- Operator::I32AtomicStore16 { memarg } => {
1256
- translate_atomic_store(I16, memarg, builder, state, environ)?
1257
- }
1258
- Operator::I64AtomicStore8 { memarg } => {
1259
- translate_atomic_store(I8, memarg, builder, state, environ)?
1260
- }
1261
- Operator::I64AtomicStore16 { memarg } => {
1262
- translate_atomic_store(I16, memarg, builder, state, environ)?
1263
- }
1264
- Operator::I64AtomicStore32 { memarg } => {
1265
- translate_atomic_store(I32, memarg, builder, state, environ)?
1266
- }
1267
-
1268
- Operator::I32AtomicRmwAdd { memarg } => {
1269
- translate_atomic_rmw(I32, I32, AtomicRmwOp::Add, memarg, builder, state, environ)?
1270
- }
1271
- Operator::I64AtomicRmwAdd { memarg } => {
1272
- translate_atomic_rmw(I64, I64, AtomicRmwOp::Add, memarg, builder, state, environ)?
1273
- }
1274
- Operator::I32AtomicRmw8AddU { memarg } => {
1275
- translate_atomic_rmw(I32, I8, AtomicRmwOp::Add, memarg, builder, state, environ)?
1276
- }
1277
- Operator::I32AtomicRmw16AddU { memarg } => {
1278
- translate_atomic_rmw(I32, I16, AtomicRmwOp::Add, memarg, builder, state, environ)?
1279
- }
1280
- Operator::I64AtomicRmw8AddU { memarg } => {
1281
- translate_atomic_rmw(I64, I8, AtomicRmwOp::Add, memarg, builder, state, environ)?
1282
- }
1283
- Operator::I64AtomicRmw16AddU { memarg } => {
1284
- translate_atomic_rmw(I64, I16, AtomicRmwOp::Add, memarg, builder, state, environ)?
1285
- }
1286
- Operator::I64AtomicRmw32AddU { memarg } => {
1287
- translate_atomic_rmw(I64, I32, AtomicRmwOp::Add, memarg, builder, state, environ)?
1288
- }
1289
-
1290
- Operator::I32AtomicRmwSub { memarg } => {
1291
- translate_atomic_rmw(I32, I32, AtomicRmwOp::Sub, memarg, builder, state, environ)?
1292
- }
1293
- Operator::I64AtomicRmwSub { memarg } => {
1294
- translate_atomic_rmw(I64, I64, AtomicRmwOp::Sub, memarg, builder, state, environ)?
1295
- }
1296
- Operator::I32AtomicRmw8SubU { memarg } => {
1297
- translate_atomic_rmw(I32, I8, AtomicRmwOp::Sub, memarg, builder, state, environ)?
1298
- }
1299
- Operator::I32AtomicRmw16SubU { memarg } => {
1300
- translate_atomic_rmw(I32, I16, AtomicRmwOp::Sub, memarg, builder, state, environ)?
1301
- }
1302
- Operator::I64AtomicRmw8SubU { memarg } => {
1303
- translate_atomic_rmw(I64, I8, AtomicRmwOp::Sub, memarg, builder, state, environ)?
1304
- }
1305
- Operator::I64AtomicRmw16SubU { memarg } => {
1306
- translate_atomic_rmw(I64, I16, AtomicRmwOp::Sub, memarg, builder, state, environ)?
1307
- }
1308
- Operator::I64AtomicRmw32SubU { memarg } => {
1309
- translate_atomic_rmw(I64, I32, AtomicRmwOp::Sub, memarg, builder, state, environ)?
1310
- }
1311
-
1312
- Operator::I32AtomicRmwAnd { memarg } => {
1313
- translate_atomic_rmw(I32, I32, AtomicRmwOp::And, memarg, builder, state, environ)?
1314
- }
1315
- Operator::I64AtomicRmwAnd { memarg } => {
1316
- translate_atomic_rmw(I64, I64, AtomicRmwOp::And, memarg, builder, state, environ)?
1317
- }
1318
- Operator::I32AtomicRmw8AndU { memarg } => {
1319
- translate_atomic_rmw(I32, I8, AtomicRmwOp::And, memarg, builder, state, environ)?
1320
- }
1321
- Operator::I32AtomicRmw16AndU { memarg } => {
1322
- translate_atomic_rmw(I32, I16, AtomicRmwOp::And, memarg, builder, state, environ)?
1323
- }
1324
- Operator::I64AtomicRmw8AndU { memarg } => {
1325
- translate_atomic_rmw(I64, I8, AtomicRmwOp::And, memarg, builder, state, environ)?
1326
- }
1327
- Operator::I64AtomicRmw16AndU { memarg } => {
1328
- translate_atomic_rmw(I64, I16, AtomicRmwOp::And, memarg, builder, state, environ)?
1329
- }
1330
- Operator::I64AtomicRmw32AndU { memarg } => {
1331
- translate_atomic_rmw(I64, I32, AtomicRmwOp::And, memarg, builder, state, environ)?
1332
- }
1333
-
1334
- Operator::I32AtomicRmwOr { memarg } => {
1335
- translate_atomic_rmw(I32, I32, AtomicRmwOp::Or, memarg, builder, state, environ)?
1336
- }
1337
- Operator::I64AtomicRmwOr { memarg } => {
1338
- translate_atomic_rmw(I64, I64, AtomicRmwOp::Or, memarg, builder, state, environ)?
1339
- }
1340
- Operator::I32AtomicRmw8OrU { memarg } => {
1341
- translate_atomic_rmw(I32, I8, AtomicRmwOp::Or, memarg, builder, state, environ)?
1342
- }
1343
- Operator::I32AtomicRmw16OrU { memarg } => {
1344
- translate_atomic_rmw(I32, I16, AtomicRmwOp::Or, memarg, builder, state, environ)?
1345
- }
1346
- Operator::I64AtomicRmw8OrU { memarg } => {
1347
- translate_atomic_rmw(I64, I8, AtomicRmwOp::Or, memarg, builder, state, environ)?
1348
- }
1349
- Operator::I64AtomicRmw16OrU { memarg } => {
1350
- translate_atomic_rmw(I64, I16, AtomicRmwOp::Or, memarg, builder, state, environ)?
1351
- }
1352
- Operator::I64AtomicRmw32OrU { memarg } => {
1353
- translate_atomic_rmw(I64, I32, AtomicRmwOp::Or, memarg, builder, state, environ)?
1354
- }
1355
-
1356
- Operator::I32AtomicRmwXor { memarg } => {
1357
- translate_atomic_rmw(I32, I32, AtomicRmwOp::Xor, memarg, builder, state, environ)?
1358
- }
1359
- Operator::I64AtomicRmwXor { memarg } => {
1360
- translate_atomic_rmw(I64, I64, AtomicRmwOp::Xor, memarg, builder, state, environ)?
1361
- }
1362
- Operator::I32AtomicRmw8XorU { memarg } => {
1363
- translate_atomic_rmw(I32, I8, AtomicRmwOp::Xor, memarg, builder, state, environ)?
1364
- }
1365
- Operator::I32AtomicRmw16XorU { memarg } => {
1366
- translate_atomic_rmw(I32, I16, AtomicRmwOp::Xor, memarg, builder, state, environ)?
1367
- }
1368
- Operator::I64AtomicRmw8XorU { memarg } => {
1369
- translate_atomic_rmw(I64, I8, AtomicRmwOp::Xor, memarg, builder, state, environ)?
1370
- }
1371
- Operator::I64AtomicRmw16XorU { memarg } => {
1372
- translate_atomic_rmw(I64, I16, AtomicRmwOp::Xor, memarg, builder, state, environ)?
1373
- }
1374
- Operator::I64AtomicRmw32XorU { memarg } => {
1375
- translate_atomic_rmw(I64, I32, AtomicRmwOp::Xor, memarg, builder, state, environ)?
1376
- }
1377
-
1378
- Operator::I32AtomicRmwXchg { memarg } => {
1379
- translate_atomic_rmw(I32, I32, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
1380
- }
1381
- Operator::I64AtomicRmwXchg { memarg } => {
1382
- translate_atomic_rmw(I64, I64, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
1383
- }
1384
- Operator::I32AtomicRmw8XchgU { memarg } => {
1385
- translate_atomic_rmw(I32, I8, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
1386
- }
1387
- Operator::I32AtomicRmw16XchgU { memarg } => {
1388
- translate_atomic_rmw(I32, I16, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
1389
- }
1390
- Operator::I64AtomicRmw8XchgU { memarg } => {
1391
- translate_atomic_rmw(I64, I8, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
1392
- }
1393
- Operator::I64AtomicRmw16XchgU { memarg } => {
1394
- translate_atomic_rmw(I64, I16, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
1395
- }
1396
- Operator::I64AtomicRmw32XchgU { memarg } => {
1397
- translate_atomic_rmw(I64, I32, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
1398
- }
1399
-
1400
- Operator::I32AtomicRmwCmpxchg { memarg } => {
1401
- translate_atomic_cas(I32, I32, memarg, builder, state, environ)?
1402
- }
1403
- Operator::I64AtomicRmwCmpxchg { memarg } => {
1404
- translate_atomic_cas(I64, I64, memarg, builder, state, environ)?
1405
- }
1406
- Operator::I32AtomicRmw8CmpxchgU { memarg } => {
1407
- translate_atomic_cas(I32, I8, memarg, builder, state, environ)?
1408
- }
1409
- Operator::I32AtomicRmw16CmpxchgU { memarg } => {
1410
- translate_atomic_cas(I32, I16, memarg, builder, state, environ)?
1411
- }
1412
- Operator::I64AtomicRmw8CmpxchgU { memarg } => {
1413
- translate_atomic_cas(I64, I8, memarg, builder, state, environ)?
1414
- }
1415
- Operator::I64AtomicRmw16CmpxchgU { memarg } => {
1416
- translate_atomic_cas(I64, I16, memarg, builder, state, environ)?
1417
- }
1418
- Operator::I64AtomicRmw32CmpxchgU { memarg } => {
1419
- translate_atomic_cas(I64, I32, memarg, builder, state, environ)?
1420
- }
1421
-
1422
- Operator::AtomicFence { .. } => {
1423
- builder.ins().fence();
1424
- }
1425
- Operator::MemoryCopy { src_mem, dst_mem } => {
1426
- let src_index = MemoryIndex::from_u32(*src_mem);
1427
- let dst_index = MemoryIndex::from_u32(*dst_mem);
1428
- let src_heap = state.get_heap(builder.func, *src_mem, environ)?;
1429
- let dst_heap = state.get_heap(builder.func, *dst_mem, environ)?;
1430
- let len = state.pop1();
1431
- let src_pos = state.pop1();
1432
- let dst_pos = state.pop1();
1433
- environ.translate_memory_copy(
1434
- builder.cursor(),
1435
- src_index,
1436
- src_heap,
1437
- dst_index,
1438
- dst_heap,
1439
- dst_pos,
1440
- src_pos,
1441
- len,
1442
- )?;
1443
- }
1444
- Operator::MemoryFill { mem } => {
1445
- let heap_index = MemoryIndex::from_u32(*mem);
1446
- let heap = state.get_heap(builder.func, *mem, environ)?;
1447
- let len = state.pop1();
1448
- let val = state.pop1();
1449
- let dest = state.pop1();
1450
- environ.translate_memory_fill(builder.cursor(), heap_index, heap, dest, val, len)?;
1451
- }
1452
- Operator::MemoryInit { data_index, mem } => {
1453
- let heap_index = MemoryIndex::from_u32(*mem);
1454
- let heap = state.get_heap(builder.func, *mem, environ)?;
1455
- let len = state.pop1();
1456
- let src = state.pop1();
1457
- let dest = state.pop1();
1458
- environ.translate_memory_init(
1459
- builder.cursor(),
1460
- heap_index,
1461
- heap,
1462
- *data_index,
1463
- dest,
1464
- src,
1465
- len,
1466
- )?;
1467
- }
1468
- Operator::DataDrop { data_index } => {
1469
- environ.translate_data_drop(builder.cursor(), *data_index)?;
1470
- }
1471
- Operator::TableSize { table: index } => {
1472
- let table = state.get_or_create_table(builder.func, *index, environ)?;
1473
- state.push1(environ.translate_table_size(
1474
- builder.cursor(),
1475
- TableIndex::from_u32(*index),
1476
- table,
1477
- )?);
1478
- }
1479
- Operator::TableGrow { table: index } => {
1480
- let table_index = TableIndex::from_u32(*index);
1481
- let table = state.get_or_create_table(builder.func, *index, environ)?;
1482
- let delta = state.pop1();
1483
- let init_value = state.pop1();
1484
- state.push1(environ.translate_table_grow(
1485
- builder.cursor(),
1486
- table_index,
1487
- table,
1488
- delta,
1489
- init_value,
1490
- )?);
1491
- }
1492
- Operator::TableGet { table: index } => {
1493
- let table_index = TableIndex::from_u32(*index);
1494
- let table = state.get_or_create_table(builder.func, *index, environ)?;
1495
- let index = state.pop1();
1496
- state.push1(environ.translate_table_get(builder, table_index, table, index)?);
1497
- }
1498
- Operator::TableSet { table: index } => {
1499
- let table_index = TableIndex::from_u32(*index);
1500
- let table = state.get_or_create_table(builder.func, *index, environ)?;
1501
- let value = state.pop1();
1502
- let index = state.pop1();
1503
- environ.translate_table_set(builder, table_index, table, value, index)?;
1504
- }
1505
- Operator::TableCopy {
1506
- dst_table: dst_table_index,
1507
- src_table: src_table_index,
1508
- } => {
1509
- let dst_table = state.get_or_create_table(builder.func, *dst_table_index, environ)?;
1510
- let src_table = state.get_or_create_table(builder.func, *src_table_index, environ)?;
1511
- let len = state.pop1();
1512
- let src = state.pop1();
1513
- let dest = state.pop1();
1514
- environ.translate_table_copy(
1515
- builder.cursor(),
1516
- TableIndex::from_u32(*dst_table_index),
1517
- dst_table,
1518
- TableIndex::from_u32(*src_table_index),
1519
- src_table,
1520
- dest,
1521
- src,
1522
- len,
1523
- )?;
1524
- }
1525
- Operator::TableFill { table } => {
1526
- let table_index = TableIndex::from_u32(*table);
1527
- let len = state.pop1();
1528
- let val = state.pop1();
1529
- let dest = state.pop1();
1530
- environ.translate_table_fill(builder.cursor(), table_index, dest, val, len)?;
1531
- }
1532
- Operator::TableInit {
1533
- elem_index,
1534
- table: table_index,
1535
- } => {
1536
- let table = state.get_or_create_table(builder.func, *table_index, environ)?;
1537
- let len = state.pop1();
1538
- let src = state.pop1();
1539
- let dest = state.pop1();
1540
- environ.translate_table_init(
1541
- builder.cursor(),
1542
- *elem_index,
1543
- TableIndex::from_u32(*table_index),
1544
- table,
1545
- dest,
1546
- src,
1547
- len,
1548
- )?;
1549
- }
1550
- Operator::ElemDrop { elem_index } => {
1551
- environ.translate_elem_drop(builder.cursor(), *elem_index)?;
1552
- }
1553
- Operator::V128Const { value } => {
1554
- let data = value.bytes().to_vec().into();
1555
- let handle = builder.func.dfg.constants.insert(data);
1556
- let value = builder.ins().vconst(I8X16, handle);
1557
- // the v128.const is typed in CLIF as a I8x16 but bitcast to a different type
1558
- // before use
1559
- state.push1(value)
1560
- }
1561
- Operator::I8x16Splat | Operator::I16x8Splat => {
1562
- let reduced = builder.ins().ireduce(type_of(op).lane_type(), state.pop1());
1563
- let splatted = builder.ins().splat(type_of(op), reduced);
1564
- state.push1(splatted)
1565
- }
1566
- Operator::I32x4Splat
1567
- | Operator::I64x2Splat
1568
- | Operator::F32x4Splat
1569
- | Operator::F64x2Splat => {
1570
- let splatted = builder.ins().splat(type_of(op), state.pop1());
1571
- state.push1(splatted)
1572
- }
1573
- Operator::V128Load8Splat { memarg }
1574
- | Operator::V128Load16Splat { memarg }
1575
- | Operator::V128Load32Splat { memarg }
1576
- | Operator::V128Load64Splat { memarg } => {
1577
- unwrap_or_return_unreachable_state!(
1578
- state,
1579
- translate_load(
1580
- memarg,
1581
- ir::Opcode::Load,
1582
- type_of(op).lane_type(),
1583
- builder,
1584
- state,
1585
- environ,
1586
- )?
1587
- );
1588
- let splatted = builder.ins().splat(type_of(op), state.pop1());
1589
- state.push1(splatted)
1590
- }
1591
- Operator::V128Load32Zero { memarg } | Operator::V128Load64Zero { memarg } => {
1592
- unwrap_or_return_unreachable_state!(
1593
- state,
1594
- translate_load(
1595
- memarg,
1596
- ir::Opcode::Load,
1597
- type_of(op).lane_type(),
1598
- builder,
1599
- state,
1600
- environ,
1601
- )?
1602
- );
1603
- let as_vector = builder.ins().scalar_to_vector(type_of(op), state.pop1());
1604
- state.push1(as_vector)
1605
- }
1606
- Operator::V128Load8Lane { memarg, lane }
1607
- | Operator::V128Load16Lane { memarg, lane }
1608
- | Operator::V128Load32Lane { memarg, lane }
1609
- | Operator::V128Load64Lane { memarg, lane } => {
1610
- let vector = pop1_with_bitcast(state, type_of(op), builder);
1611
- unwrap_or_return_unreachable_state!(
1612
- state,
1613
- translate_load(
1614
- memarg,
1615
- ir::Opcode::Load,
1616
- type_of(op).lane_type(),
1617
- builder,
1618
- state,
1619
- environ,
1620
- )?
1621
- );
1622
- let replacement = state.pop1();
1623
- state.push1(builder.ins().insertlane(vector, replacement, *lane))
1624
- }
1625
- Operator::V128Store8Lane { memarg, lane }
1626
- | Operator::V128Store16Lane { memarg, lane }
1627
- | Operator::V128Store32Lane { memarg, lane }
1628
- | Operator::V128Store64Lane { memarg, lane } => {
1629
- let vector = pop1_with_bitcast(state, type_of(op), builder);
1630
- state.push1(builder.ins().extractlane(vector, lane.clone()));
1631
- translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
1632
- }
1633
- Operator::I8x16ExtractLaneS { lane } | Operator::I16x8ExtractLaneS { lane } => {
1634
- let vector = pop1_with_bitcast(state, type_of(op), builder);
1635
- let extracted = builder.ins().extractlane(vector, lane.clone());
1636
- state.push1(builder.ins().sextend(I32, extracted))
1637
- }
1638
- Operator::I8x16ExtractLaneU { lane } | Operator::I16x8ExtractLaneU { lane } => {
1639
- let vector = pop1_with_bitcast(state, type_of(op), builder);
1640
- let extracted = builder.ins().extractlane(vector, lane.clone());
1641
- state.push1(builder.ins().uextend(I32, extracted));
1642
- // On x86, PEXTRB zeroes the upper bits of the destination register of extractlane so
1643
- // uextend could be elided; for now, uextend is needed for Cranelift's type checks to
1644
- // work.
1645
- }
1646
- Operator::I32x4ExtractLane { lane }
1647
- | Operator::I64x2ExtractLane { lane }
1648
- | Operator::F32x4ExtractLane { lane }
1649
- | Operator::F64x2ExtractLane { lane } => {
1650
- let vector = pop1_with_bitcast(state, type_of(op), builder);
1651
- state.push1(builder.ins().extractlane(vector, lane.clone()))
1652
- }
1653
- Operator::I8x16ReplaceLane { lane } | Operator::I16x8ReplaceLane { lane } => {
1654
- let (vector, replacement) = state.pop2();
1655
- let ty = type_of(op);
1656
- let reduced = builder.ins().ireduce(ty.lane_type(), replacement);
1657
- let vector = optionally_bitcast_vector(vector, ty, builder);
1658
- state.push1(builder.ins().insertlane(vector, reduced, *lane))
1659
- }
1660
- Operator::I32x4ReplaceLane { lane }
1661
- | Operator::I64x2ReplaceLane { lane }
1662
- | Operator::F32x4ReplaceLane { lane }
1663
- | Operator::F64x2ReplaceLane { lane } => {
1664
- let (vector, replacement) = state.pop2();
1665
- let vector = optionally_bitcast_vector(vector, type_of(op), builder);
1666
- state.push1(builder.ins().insertlane(vector, replacement, *lane))
1667
- }
1668
- Operator::I8x16Shuffle { lanes, .. } => {
1669
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
1670
- let lanes = ConstantData::from(lanes.as_ref());
1671
- let mask = builder.func.dfg.immediates.push(lanes);
1672
- let shuffled = builder.ins().shuffle(a, b, mask);
1673
- state.push1(shuffled)
1674
- // At this point the original types of a and b are lost; users of this value (i.e. this
1675
- // WASM-to-CLIF translator) may need to bitcast for type-correctness. This is due
1676
- // to WASM using the less specific v128 type for certain operations and more specific
1677
- // types (e.g. i8x16) for others.
1678
- }
1679
- Operator::I8x16Swizzle => {
1680
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
1681
- state.push1(builder.ins().swizzle(a, b))
1682
- }
1683
- Operator::I8x16Add | Operator::I16x8Add | Operator::I32x4Add | Operator::I64x2Add => {
1684
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1685
- state.push1(builder.ins().iadd(a, b))
1686
- }
1687
- Operator::I8x16AddSatS | Operator::I16x8AddSatS => {
1688
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1689
- state.push1(builder.ins().sadd_sat(a, b))
1690
- }
1691
- Operator::I8x16AddSatU | Operator::I16x8AddSatU => {
1692
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1693
- state.push1(builder.ins().uadd_sat(a, b))
1694
- }
1695
- Operator::I8x16Sub | Operator::I16x8Sub | Operator::I32x4Sub | Operator::I64x2Sub => {
1696
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1697
- state.push1(builder.ins().isub(a, b))
1698
- }
1699
- Operator::I8x16SubSatS | Operator::I16x8SubSatS => {
1700
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1701
- state.push1(builder.ins().ssub_sat(a, b))
1702
- }
1703
- Operator::I8x16SubSatU | Operator::I16x8SubSatU => {
1704
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1705
- state.push1(builder.ins().usub_sat(a, b))
1706
- }
1707
- Operator::I8x16MinS | Operator::I16x8MinS | Operator::I32x4MinS => {
1708
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1709
- state.push1(builder.ins().smin(a, b))
1710
- }
1711
- Operator::I8x16MinU | Operator::I16x8MinU | Operator::I32x4MinU => {
1712
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1713
- state.push1(builder.ins().umin(a, b))
1714
- }
1715
- Operator::I8x16MaxS | Operator::I16x8MaxS | Operator::I32x4MaxS => {
1716
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1717
- state.push1(builder.ins().smax(a, b))
1718
- }
1719
- Operator::I8x16MaxU | Operator::I16x8MaxU | Operator::I32x4MaxU => {
1720
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1721
- state.push1(builder.ins().umax(a, b))
1722
- }
1723
- Operator::I8x16AvgrU | Operator::I16x8AvgrU => {
1724
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1725
- state.push1(builder.ins().avg_round(a, b))
1726
- }
1727
- Operator::I8x16Neg | Operator::I16x8Neg | Operator::I32x4Neg | Operator::I64x2Neg => {
1728
- let a = pop1_with_bitcast(state, type_of(op), builder);
1729
- state.push1(builder.ins().ineg(a))
1730
- }
1731
- Operator::I8x16Abs | Operator::I16x8Abs | Operator::I32x4Abs | Operator::I64x2Abs => {
1732
- let a = pop1_with_bitcast(state, type_of(op), builder);
1733
- state.push1(builder.ins().iabs(a))
1734
- }
1735
- Operator::I16x8Mul | Operator::I32x4Mul | Operator::I64x2Mul => {
1736
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1737
- state.push1(builder.ins().imul(a, b))
1738
- }
1739
- Operator::V128Or => {
1740
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1741
- state.push1(builder.ins().bor(a, b))
1742
- }
1743
- Operator::V128Xor => {
1744
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1745
- state.push1(builder.ins().bxor(a, b))
1746
- }
1747
- Operator::V128And => {
1748
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1749
- state.push1(builder.ins().band(a, b))
1750
- }
1751
- Operator::V128AndNot => {
1752
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1753
- state.push1(builder.ins().band_not(a, b))
1754
- }
1755
- Operator::V128Not => {
1756
- let a = state.pop1();
1757
- state.push1(builder.ins().bnot(a));
1758
- }
1759
- Operator::I8x16Shl | Operator::I16x8Shl | Operator::I32x4Shl | Operator::I64x2Shl => {
1760
- let (a, b) = state.pop2();
1761
- let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
1762
- // The spec expects to shift with `b mod lanewidth`; This is directly compatible
1763
- // with cranelift's instruction.
1764
- state.push1(builder.ins().ishl(bitcast_a, b))
1765
- }
1766
- Operator::I8x16ShrU | Operator::I16x8ShrU | Operator::I32x4ShrU | Operator::I64x2ShrU => {
1767
- let (a, b) = state.pop2();
1768
- let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
1769
- // The spec expects to shift with `b mod lanewidth`; This is directly compatible
1770
- // with cranelift's instruction.
1771
- state.push1(builder.ins().ushr(bitcast_a, b))
1772
- }
1773
- Operator::I8x16ShrS | Operator::I16x8ShrS | Operator::I32x4ShrS | Operator::I64x2ShrS => {
1774
- let (a, b) = state.pop2();
1775
- let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
1776
- // The spec expects to shift with `b mod lanewidth`; This is directly compatible
1777
- // with cranelift's instruction.
1778
- state.push1(builder.ins().sshr(bitcast_a, b))
1779
- }
1780
- Operator::V128Bitselect => {
1781
- let (a, b, c) = pop3_with_bitcast(state, I8X16, builder);
1782
- // The CLIF operand ordering is slightly different and the types of all three
1783
- // operands must match (hence the bitcast).
1784
- state.push1(builder.ins().bitselect(c, a, b))
1785
- }
1786
- Operator::V128AnyTrue => {
1787
- let a = pop1_with_bitcast(state, type_of(op), builder);
1788
- let bool_result = builder.ins().vany_true(a);
1789
- state.push1(builder.ins().uextend(I32, bool_result))
1790
- }
1791
- Operator::I8x16AllTrue
1792
- | Operator::I16x8AllTrue
1793
- | Operator::I32x4AllTrue
1794
- | Operator::I64x2AllTrue => {
1795
- let a = pop1_with_bitcast(state, type_of(op), builder);
1796
- let bool_result = builder.ins().vall_true(a);
1797
- state.push1(builder.ins().uextend(I32, bool_result))
1798
- }
1799
- Operator::I8x16Bitmask
1800
- | Operator::I16x8Bitmask
1801
- | Operator::I32x4Bitmask
1802
- | Operator::I64x2Bitmask => {
1803
- let a = pop1_with_bitcast(state, type_of(op), builder);
1804
- state.push1(builder.ins().vhigh_bits(I32, a));
1805
- }
1806
- Operator::I8x16Eq | Operator::I16x8Eq | Operator::I32x4Eq | Operator::I64x2Eq => {
1807
- translate_vector_icmp(IntCC::Equal, type_of(op), builder, state)
1808
- }
1809
- Operator::I8x16Ne | Operator::I16x8Ne | Operator::I32x4Ne | Operator::I64x2Ne => {
1810
- translate_vector_icmp(IntCC::NotEqual, type_of(op), builder, state)
1811
- }
1812
- Operator::I8x16GtS | Operator::I16x8GtS | Operator::I32x4GtS | Operator::I64x2GtS => {
1813
- translate_vector_icmp(IntCC::SignedGreaterThan, type_of(op), builder, state)
1814
- }
1815
- Operator::I8x16LtS | Operator::I16x8LtS | Operator::I32x4LtS | Operator::I64x2LtS => {
1816
- translate_vector_icmp(IntCC::SignedLessThan, type_of(op), builder, state)
1817
- }
1818
- Operator::I8x16GtU | Operator::I16x8GtU | Operator::I32x4GtU => {
1819
- translate_vector_icmp(IntCC::UnsignedGreaterThan, type_of(op), builder, state)
1820
- }
1821
- Operator::I8x16LtU | Operator::I16x8LtU | Operator::I32x4LtU => {
1822
- translate_vector_icmp(IntCC::UnsignedLessThan, type_of(op), builder, state)
1823
- }
1824
- Operator::I8x16GeS | Operator::I16x8GeS | Operator::I32x4GeS | Operator::I64x2GeS => {
1825
- translate_vector_icmp(IntCC::SignedGreaterThanOrEqual, type_of(op), builder, state)
1826
- }
1827
- Operator::I8x16LeS | Operator::I16x8LeS | Operator::I32x4LeS | Operator::I64x2LeS => {
1828
- translate_vector_icmp(IntCC::SignedLessThanOrEqual, type_of(op), builder, state)
1829
- }
1830
- Operator::I8x16GeU | Operator::I16x8GeU | Operator::I32x4GeU => translate_vector_icmp(
1831
- IntCC::UnsignedGreaterThanOrEqual,
1832
- type_of(op),
1833
- builder,
1834
- state,
1835
- ),
1836
- Operator::I8x16LeU | Operator::I16x8LeU | Operator::I32x4LeU => {
1837
- translate_vector_icmp(IntCC::UnsignedLessThanOrEqual, type_of(op), builder, state)
1838
- }
1839
- Operator::F32x4Eq | Operator::F64x2Eq => {
1840
- translate_vector_fcmp(FloatCC::Equal, type_of(op), builder, state)
1841
- }
1842
- Operator::F32x4Ne | Operator::F64x2Ne => {
1843
- translate_vector_fcmp(FloatCC::NotEqual, type_of(op), builder, state)
1844
- }
1845
- Operator::F32x4Lt | Operator::F64x2Lt => {
1846
- translate_vector_fcmp(FloatCC::LessThan, type_of(op), builder, state)
1847
- }
1848
- Operator::F32x4Gt | Operator::F64x2Gt => {
1849
- translate_vector_fcmp(FloatCC::GreaterThan, type_of(op), builder, state)
1850
- }
1851
- Operator::F32x4Le | Operator::F64x2Le => {
1852
- translate_vector_fcmp(FloatCC::LessThanOrEqual, type_of(op), builder, state)
1853
- }
1854
- Operator::F32x4Ge | Operator::F64x2Ge => {
1855
- translate_vector_fcmp(FloatCC::GreaterThanOrEqual, type_of(op), builder, state)
1856
- }
1857
- Operator::F32x4Add | Operator::F64x2Add => {
1858
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1859
- state.push1(builder.ins().fadd(a, b))
1860
- }
1861
- Operator::F32x4Sub | Operator::F64x2Sub => {
1862
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1863
- state.push1(builder.ins().fsub(a, b))
1864
- }
1865
- Operator::F32x4Mul | Operator::F64x2Mul => {
1866
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1867
- state.push1(builder.ins().fmul(a, b))
1868
- }
1869
- Operator::F32x4Div | Operator::F64x2Div => {
1870
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1871
- state.push1(builder.ins().fdiv(a, b))
1872
- }
1873
- Operator::F32x4Max | Operator::F64x2Max => {
1874
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1875
- state.push1(builder.ins().fmax(a, b))
1876
- }
1877
- Operator::F32x4Min | Operator::F64x2Min => {
1878
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1879
- state.push1(builder.ins().fmin(a, b))
1880
- }
1881
- Operator::F32x4PMax | Operator::F64x2PMax => {
1882
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1883
- state.push1(builder.ins().fmax_pseudo(a, b))
1884
- }
1885
- Operator::F32x4PMin | Operator::F64x2PMin => {
1886
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
1887
- state.push1(builder.ins().fmin_pseudo(a, b))
1888
- }
1889
- Operator::F32x4Sqrt | Operator::F64x2Sqrt => {
1890
- let a = pop1_with_bitcast(state, type_of(op), builder);
1891
- state.push1(builder.ins().sqrt(a))
1892
- }
1893
- Operator::F32x4Neg | Operator::F64x2Neg => {
1894
- let a = pop1_with_bitcast(state, type_of(op), builder);
1895
- state.push1(builder.ins().fneg(a))
1896
- }
1897
- Operator::F32x4Abs | Operator::F64x2Abs => {
1898
- let a = pop1_with_bitcast(state, type_of(op), builder);
1899
- state.push1(builder.ins().fabs(a))
1900
- }
1901
- Operator::F32x4ConvertI32x4S => {
1902
- let a = pop1_with_bitcast(state, I32X4, builder);
1903
- state.push1(builder.ins().fcvt_from_sint(F32X4, a))
1904
- }
1905
- Operator::F32x4ConvertI32x4U => {
1906
- let a = pop1_with_bitcast(state, I32X4, builder);
1907
- state.push1(builder.ins().fcvt_from_uint(F32X4, a))
1908
- }
1909
- Operator::F64x2ConvertLowI32x4S => {
1910
- let a = pop1_with_bitcast(state, I32X4, builder);
1911
- state.push1(builder.ins().fcvt_low_from_sint(F64X2, a));
1912
- }
1913
- Operator::F64x2ConvertLowI32x4U => {
1914
- let a = pop1_with_bitcast(state, I32X4, builder);
1915
- let widened_a = builder.ins().uwiden_low(a);
1916
- state.push1(builder.ins().fcvt_from_uint(F64X2, widened_a));
1917
- }
1918
- Operator::F64x2PromoteLowF32x4 => {
1919
- let a = pop1_with_bitcast(state, F32X4, builder);
1920
- state.push1(builder.ins().fvpromote_low(a));
1921
- }
1922
- Operator::F32x4DemoteF64x2Zero => {
1923
- let a = pop1_with_bitcast(state, F64X2, builder);
1924
- state.push1(builder.ins().fvdemote(a));
1925
- }
1926
- Operator::I32x4TruncSatF32x4S => {
1927
- let a = pop1_with_bitcast(state, F32X4, builder);
1928
- state.push1(builder.ins().fcvt_to_sint_sat(I32X4, a))
1929
- }
1930
- Operator::I32x4TruncSatF64x2SZero => {
1931
- let a = pop1_with_bitcast(state, F64X2, builder);
1932
- let converted_a = builder.ins().fcvt_to_sint_sat(I64X2, a);
1933
- let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
1934
- let zero = builder.ins().vconst(I64X2, handle);
1935
-
1936
- state.push1(builder.ins().snarrow(converted_a, zero));
1937
- }
1938
-
1939
- // FIXME(#5913): the relaxed instructions here are translated the same
1940
- // as the saturating instructions, even when the code generator
1941
- // configuration allow for different semantics across hosts. On x86,
1942
- // however, it's theoretically possible to have a slightly more optimal
1943
- // lowering which accounts for NaN differently, although the lowering is
1944
- // still not trivial (e.g. one instruction). At this time the
1945
- // more-optimal-but-still-large lowering for x86 is not implemented so
1946
- // the relaxed instructions are listed here instead of down below with
1947
- // the other relaxed instructions. An x86-specific implementation (or
1948
- // perhaps for other backends too) should be added and the codegen for
1949
- // the relaxed instruction should conditionally be different.
1950
- Operator::I32x4RelaxedTruncF32x4U | Operator::I32x4TruncSatF32x4U => {
1951
- let a = pop1_with_bitcast(state, F32X4, builder);
1952
- state.push1(builder.ins().fcvt_to_uint_sat(I32X4, a))
1953
- }
1954
- Operator::I32x4RelaxedTruncF64x2UZero | Operator::I32x4TruncSatF64x2UZero => {
1955
- let a = pop1_with_bitcast(state, F64X2, builder);
1956
- let converted_a = builder.ins().fcvt_to_uint_sat(I64X2, a);
1957
- let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
1958
- let zero = builder.ins().vconst(I64X2, handle);
1959
-
1960
- state.push1(builder.ins().uunarrow(converted_a, zero));
1961
- }
1962
-
1963
- Operator::I8x16NarrowI16x8S => {
1964
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
1965
- state.push1(builder.ins().snarrow(a, b))
1966
- }
1967
- Operator::I16x8NarrowI32x4S => {
1968
- let (a, b) = pop2_with_bitcast(state, I32X4, builder);
1969
- state.push1(builder.ins().snarrow(a, b))
1970
- }
1971
- Operator::I8x16NarrowI16x8U => {
1972
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
1973
- state.push1(builder.ins().unarrow(a, b))
1974
- }
1975
- Operator::I16x8NarrowI32x4U => {
1976
- let (a, b) = pop2_with_bitcast(state, I32X4, builder);
1977
- state.push1(builder.ins().unarrow(a, b))
1978
- }
1979
- Operator::I16x8ExtendLowI8x16S => {
1980
- let a = pop1_with_bitcast(state, I8X16, builder);
1981
- state.push1(builder.ins().swiden_low(a))
1982
- }
1983
- Operator::I16x8ExtendHighI8x16S => {
1984
- let a = pop1_with_bitcast(state, I8X16, builder);
1985
- state.push1(builder.ins().swiden_high(a))
1986
- }
1987
- Operator::I16x8ExtendLowI8x16U => {
1988
- let a = pop1_with_bitcast(state, I8X16, builder);
1989
- state.push1(builder.ins().uwiden_low(a))
1990
- }
1991
- Operator::I16x8ExtendHighI8x16U => {
1992
- let a = pop1_with_bitcast(state, I8X16, builder);
1993
- state.push1(builder.ins().uwiden_high(a))
1994
- }
1995
- Operator::I32x4ExtendLowI16x8S => {
1996
- let a = pop1_with_bitcast(state, I16X8, builder);
1997
- state.push1(builder.ins().swiden_low(a))
1998
- }
1999
- Operator::I32x4ExtendHighI16x8S => {
2000
- let a = pop1_with_bitcast(state, I16X8, builder);
2001
- state.push1(builder.ins().swiden_high(a))
2002
- }
2003
- Operator::I32x4ExtendLowI16x8U => {
2004
- let a = pop1_with_bitcast(state, I16X8, builder);
2005
- state.push1(builder.ins().uwiden_low(a))
2006
- }
2007
- Operator::I32x4ExtendHighI16x8U => {
2008
- let a = pop1_with_bitcast(state, I16X8, builder);
2009
- state.push1(builder.ins().uwiden_high(a))
2010
- }
2011
- Operator::I64x2ExtendLowI32x4S => {
2012
- let a = pop1_with_bitcast(state, I32X4, builder);
2013
- state.push1(builder.ins().swiden_low(a))
2014
- }
2015
- Operator::I64x2ExtendHighI32x4S => {
2016
- let a = pop1_with_bitcast(state, I32X4, builder);
2017
- state.push1(builder.ins().swiden_high(a))
2018
- }
2019
- Operator::I64x2ExtendLowI32x4U => {
2020
- let a = pop1_with_bitcast(state, I32X4, builder);
2021
- state.push1(builder.ins().uwiden_low(a))
2022
- }
2023
- Operator::I64x2ExtendHighI32x4U => {
2024
- let a = pop1_with_bitcast(state, I32X4, builder);
2025
- state.push1(builder.ins().uwiden_high(a))
2026
- }
2027
- Operator::I16x8ExtAddPairwiseI8x16S => {
2028
- let a = pop1_with_bitcast(state, I8X16, builder);
2029
- let widen_low = builder.ins().swiden_low(a);
2030
- let widen_high = builder.ins().swiden_high(a);
2031
- state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
2032
- }
2033
- Operator::I32x4ExtAddPairwiseI16x8S => {
2034
- let a = pop1_with_bitcast(state, I16X8, builder);
2035
- let widen_low = builder.ins().swiden_low(a);
2036
- let widen_high = builder.ins().swiden_high(a);
2037
- state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
2038
- }
2039
- Operator::I16x8ExtAddPairwiseI8x16U => {
2040
- let a = pop1_with_bitcast(state, I8X16, builder);
2041
- let widen_low = builder.ins().uwiden_low(a);
2042
- let widen_high = builder.ins().uwiden_high(a);
2043
- state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
2044
- }
2045
- Operator::I32x4ExtAddPairwiseI16x8U => {
2046
- let a = pop1_with_bitcast(state, I16X8, builder);
2047
- let widen_low = builder.ins().uwiden_low(a);
2048
- let widen_high = builder.ins().uwiden_high(a);
2049
- state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
2050
- }
2051
- Operator::F32x4Ceil | Operator::F64x2Ceil => {
2052
- // This is something of a misuse of `type_of`, because that produces the return type
2053
- // of `op`. In this case we want the arg type, but we know it's the same as the
2054
- // return type. Same for the 3 cases below.
2055
- let arg = pop1_with_bitcast(state, type_of(op), builder);
2056
- state.push1(builder.ins().ceil(arg));
2057
- }
2058
- Operator::F32x4Floor | Operator::F64x2Floor => {
2059
- let arg = pop1_with_bitcast(state, type_of(op), builder);
2060
- state.push1(builder.ins().floor(arg));
2061
- }
2062
- Operator::F32x4Trunc | Operator::F64x2Trunc => {
2063
- let arg = pop1_with_bitcast(state, type_of(op), builder);
2064
- state.push1(builder.ins().trunc(arg));
2065
- }
2066
- Operator::F32x4Nearest | Operator::F64x2Nearest => {
2067
- let arg = pop1_with_bitcast(state, type_of(op), builder);
2068
- state.push1(builder.ins().nearest(arg));
2069
- }
2070
- Operator::I32x4DotI16x8S => {
2071
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
2072
- let alow = builder.ins().swiden_low(a);
2073
- let blow = builder.ins().swiden_low(b);
2074
- let low = builder.ins().imul(alow, blow);
2075
- let ahigh = builder.ins().swiden_high(a);
2076
- let bhigh = builder.ins().swiden_high(b);
2077
- let high = builder.ins().imul(ahigh, bhigh);
2078
- state.push1(builder.ins().iadd_pairwise(low, high));
2079
- }
2080
- Operator::I8x16Popcnt => {
2081
- let arg = pop1_with_bitcast(state, type_of(op), builder);
2082
- state.push1(builder.ins().popcnt(arg));
2083
- }
2084
- Operator::I16x8Q15MulrSatS => {
2085
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
2086
- state.push1(builder.ins().sqmul_round_sat(a, b))
2087
- }
2088
- Operator::I16x8ExtMulLowI8x16S => {
2089
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
2090
- let a_low = builder.ins().swiden_low(a);
2091
- let b_low = builder.ins().swiden_low(b);
2092
- state.push1(builder.ins().imul(a_low, b_low));
2093
- }
2094
- Operator::I16x8ExtMulHighI8x16S => {
2095
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
2096
- let a_high = builder.ins().swiden_high(a);
2097
- let b_high = builder.ins().swiden_high(b);
2098
- state.push1(builder.ins().imul(a_high, b_high));
2099
- }
2100
- Operator::I16x8ExtMulLowI8x16U => {
2101
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
2102
- let a_low = builder.ins().uwiden_low(a);
2103
- let b_low = builder.ins().uwiden_low(b);
2104
- state.push1(builder.ins().imul(a_low, b_low));
2105
- }
2106
- Operator::I16x8ExtMulHighI8x16U => {
2107
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
2108
- let a_high = builder.ins().uwiden_high(a);
2109
- let b_high = builder.ins().uwiden_high(b);
2110
- state.push1(builder.ins().imul(a_high, b_high));
2111
- }
2112
- Operator::I32x4ExtMulLowI16x8S => {
2113
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
2114
- let a_low = builder.ins().swiden_low(a);
2115
- let b_low = builder.ins().swiden_low(b);
2116
- state.push1(builder.ins().imul(a_low, b_low));
2117
- }
2118
- Operator::I32x4ExtMulHighI16x8S => {
2119
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
2120
- let a_high = builder.ins().swiden_high(a);
2121
- let b_high = builder.ins().swiden_high(b);
2122
- state.push1(builder.ins().imul(a_high, b_high));
2123
- }
2124
- Operator::I32x4ExtMulLowI16x8U => {
2125
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
2126
- let a_low = builder.ins().uwiden_low(a);
2127
- let b_low = builder.ins().uwiden_low(b);
2128
- state.push1(builder.ins().imul(a_low, b_low));
2129
- }
2130
- Operator::I32x4ExtMulHighI16x8U => {
2131
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
2132
- let a_high = builder.ins().uwiden_high(a);
2133
- let b_high = builder.ins().uwiden_high(b);
2134
- state.push1(builder.ins().imul(a_high, b_high));
2135
- }
2136
- Operator::I64x2ExtMulLowI32x4S => {
2137
- let (a, b) = pop2_with_bitcast(state, I32X4, builder);
2138
- let a_low = builder.ins().swiden_low(a);
2139
- let b_low = builder.ins().swiden_low(b);
2140
- state.push1(builder.ins().imul(a_low, b_low));
2141
- }
2142
- Operator::I64x2ExtMulHighI32x4S => {
2143
- let (a, b) = pop2_with_bitcast(state, I32X4, builder);
2144
- let a_high = builder.ins().swiden_high(a);
2145
- let b_high = builder.ins().swiden_high(b);
2146
- state.push1(builder.ins().imul(a_high, b_high));
2147
- }
2148
- Operator::I64x2ExtMulLowI32x4U => {
2149
- let (a, b) = pop2_with_bitcast(state, I32X4, builder);
2150
- let a_low = builder.ins().uwiden_low(a);
2151
- let b_low = builder.ins().uwiden_low(b);
2152
- state.push1(builder.ins().imul(a_low, b_low));
2153
- }
2154
- Operator::I64x2ExtMulHighI32x4U => {
2155
- let (a, b) = pop2_with_bitcast(state, I32X4, builder);
2156
- let a_high = builder.ins().uwiden_high(a);
2157
- let b_high = builder.ins().uwiden_high(b);
2158
- state.push1(builder.ins().imul(a_high, b_high));
2159
- }
2160
- Operator::ReturnCall { .. } | Operator::ReturnCallIndirect { .. } => {
2161
- return Err(wasm_unsupported!("proposed tail-call operator {:?}", op));
2162
- }
2163
- Operator::MemoryDiscard { .. } => {
2164
- return Err(wasm_unsupported!(
2165
- "proposed memory-control operator {:?}",
2166
- op
2167
- ));
2168
- }
2169
-
2170
- Operator::F32x4RelaxedMax | Operator::F64x2RelaxedMax => {
2171
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
2172
- state.push1(
2173
- if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2174
- // Deterministic semantics match the `fmax` instruction, or
2175
- // the `fAAxBB.max` wasm instruction.
2176
- builder.ins().fmax(a, b)
2177
- } else {
2178
- builder.ins().fmax_pseudo(a, b)
2179
- },
2180
- )
2181
- }
2182
-
2183
- Operator::F32x4RelaxedMin | Operator::F64x2RelaxedMin => {
2184
- let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
2185
- state.push1(
2186
- if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2187
- // Deterministic semantics match the `fmin` instruction, or
2188
- // the `fAAxBB.min` wasm instruction.
2189
- builder.ins().fmin(a, b)
2190
- } else {
2191
- builder.ins().fmin_pseudo(a, b)
2192
- },
2193
- );
2194
- }
2195
-
2196
- Operator::I8x16RelaxedSwizzle => {
2197
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
2198
- state.push1(
2199
- if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2200
- // Deterministic semantics match the `i8x16.swizzle`
2201
- // instruction which is the CLIF `swizzle`.
2202
- builder.ins().swizzle(a, b)
2203
- } else {
2204
- builder.ins().x86_pshufb(a, b)
2205
- },
2206
- );
2207
- }
2208
-
2209
- Operator::F32x4RelaxedMadd | Operator::F64x2RelaxedMadd => {
2210
- let (a, b, c) = pop3_with_bitcast(state, type_of(op), builder);
2211
- state.push1(
2212
- if environ.relaxed_simd_deterministic() || environ.has_native_fma() {
2213
- // Deterministic semantics are "fused multiply and add"
2214
- // which the CLIF `fma` guarantees.
2215
- builder.ins().fma(a, b, c)
2216
- } else {
2217
- let mul = builder.ins().fmul(a, b);
2218
- builder.ins().fadd(mul, c)
2219
- },
2220
- );
2221
- }
2222
- Operator::F32x4RelaxedNmadd | Operator::F64x2RelaxedNmadd => {
2223
- let (a, b, c) = pop3_with_bitcast(state, type_of(op), builder);
2224
- let a = builder.ins().fneg(a);
2225
- state.push1(
2226
- if environ.relaxed_simd_deterministic() || environ.has_native_fma() {
2227
- // Deterministic semantics are "fused multiply and add"
2228
- // which the CLIF `fma` guarantees.
2229
- builder.ins().fma(a, b, c)
2230
- } else {
2231
- let mul = builder.ins().fmul(a, b);
2232
- builder.ins().fadd(mul, c)
2233
- },
2234
- );
2235
- }
2236
-
2237
- Operator::I8x16RelaxedLaneselect
2238
- | Operator::I16x8RelaxedLaneselect
2239
- | Operator::I32x4RelaxedLaneselect
2240
- | Operator::I64x2RelaxedLaneselect => {
2241
- let ty = type_of(op);
2242
- let (a, b, c) = pop3_with_bitcast(state, ty, builder);
2243
- // Note that the variable swaps here are intentional due to
2244
- // the difference of the order of the wasm op and the clif
2245
- // op.
2246
- //
2247
- // Additionally note that even on x86 the I16X8 type uses the
2248
- // `bitselect` instruction since x86 has no corresponding
2249
- // `blendv`-style instruction for 16-bit operands.
2250
- state.push1(
2251
- if environ.relaxed_simd_deterministic() || !environ.is_x86() || ty == I16X8 {
2252
- // Deterministic semantics are a `bitselect` along the lines
2253
- // of the wasm `v128.bitselect` instruction.
2254
- builder.ins().bitselect(c, a, b)
2255
- } else {
2256
- builder.ins().x86_blendv(c, a, b)
2257
- },
2258
- );
2259
- }
2260
-
2261
- Operator::I32x4RelaxedTruncF32x4S => {
2262
- let a = pop1_with_bitcast(state, F32X4, builder);
2263
- state.push1(
2264
- if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2265
- // Deterministic semantics are to match the
2266
- // `i32x4.trunc_sat_f32x4_s` instruction.
2267
- builder.ins().fcvt_to_sint_sat(I32X4, a)
2268
- } else {
2269
- builder.ins().x86_cvtt2dq(I32X4, a)
2270
- },
2271
- )
2272
- }
2273
- Operator::I32x4RelaxedTruncF64x2SZero => {
2274
- let a = pop1_with_bitcast(state, F64X2, builder);
2275
- let converted_a = if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2276
- // Deterministic semantics are to match the
2277
- // `i32x4.trunc_sat_f64x2_s_zero` instruction.
2278
- builder.ins().fcvt_to_sint_sat(I64X2, a)
2279
- } else {
2280
- builder.ins().x86_cvtt2dq(I64X2, a)
2281
- };
2282
- let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
2283
- let zero = builder.ins().vconst(I64X2, handle);
2284
-
2285
- state.push1(builder.ins().snarrow(converted_a, zero));
2286
- }
2287
- Operator::I16x8RelaxedQ15mulrS => {
2288
- let (a, b) = pop2_with_bitcast(state, I16X8, builder);
2289
- state.push1(
2290
- if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2291
- // Deterministic semantics are to match the
2292
- // `i16x8.q15mulr_sat_s` instruction.
2293
- builder.ins().sqmul_round_sat(a, b)
2294
- } else {
2295
- builder.ins().x86_pmulhrsw(a, b)
2296
- },
2297
- );
2298
- }
2299
- Operator::I16x8RelaxedDotI8x16I7x16S => {
2300
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
2301
- state.push1(
2302
- if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2303
- // Deterministic semantics are to treat both operands as
2304
- // signed integers and perform the dot product.
2305
- let alo = builder.ins().swiden_low(a);
2306
- let blo = builder.ins().swiden_low(b);
2307
- let lo = builder.ins().imul(alo, blo);
2308
- let ahi = builder.ins().swiden_high(a);
2309
- let bhi = builder.ins().swiden_high(b);
2310
- let hi = builder.ins().imul(ahi, bhi);
2311
- builder.ins().iadd_pairwise(lo, hi)
2312
- } else {
2313
- builder.ins().x86_pmaddubsw(a, b)
2314
- },
2315
- );
2316
- }
2317
-
2318
- Operator::I32x4RelaxedDotI8x16I7x16AddS => {
2319
- let c = pop1_with_bitcast(state, I32X4, builder);
2320
- let (a, b) = pop2_with_bitcast(state, I8X16, builder);
2321
- let dot = if environ.relaxed_simd_deterministic() || !environ.is_x86() {
2322
- // Deterministic semantics are to treat both operands as
2323
- // signed integers and perform the dot product.
2324
- let alo = builder.ins().swiden_low(a);
2325
- let blo = builder.ins().swiden_low(b);
2326
- let lo = builder.ins().imul(alo, blo);
2327
- let ahi = builder.ins().swiden_high(a);
2328
- let bhi = builder.ins().swiden_high(b);
2329
- let hi = builder.ins().imul(ahi, bhi);
2330
- builder.ins().iadd_pairwise(lo, hi)
2331
- } else {
2332
- builder.ins().x86_pmaddubsw(a, b)
2333
- };
2334
- let dotlo = builder.ins().swiden_low(dot);
2335
- let dothi = builder.ins().swiden_high(dot);
2336
- let dot32 = builder.ins().iadd_pairwise(dotlo, dothi);
2337
- state.push1(builder.ins().iadd(dot32, c));
2338
- }
2339
-
2340
- Operator::CallRef { .. }
2341
- | Operator::ReturnCallRef { .. }
2342
- | Operator::BrOnNull { .. }
2343
- | Operator::BrOnNonNull { .. }
2344
- | Operator::RefAsNonNull => {
2345
- return Err(wasm_unsupported!(
2346
- "proposed function-references operator {:?}",
2347
- op
2348
- ));
2349
- }
2350
- };
2351
- Ok(())
2352
- }
2353
-
2354
- // Clippy warns us of some fields we are deliberately ignoring
2355
- #[cfg_attr(feature = "cargo-clippy", allow(clippy::unneeded_field_pattern))]
2356
- /// Deals with a Wasm instruction located in an unreachable portion of the code. Most of them
2357
- /// are dropped but special ones like `End` or `Else` signal the potential end of the unreachable
2358
- /// portion so the translation state must be updated accordingly.
2359
- fn translate_unreachable_operator<FE: FuncEnvironment + ?Sized>(
2360
- validator: &FuncValidator<impl WasmModuleResources>,
2361
- op: &Operator,
2362
- builder: &mut FunctionBuilder,
2363
- state: &mut FuncTranslationState,
2364
- environ: &mut FE,
2365
- ) -> WasmResult<()> {
2366
- debug_assert!(!state.reachable);
2367
- match *op {
2368
- Operator::If { blockty } => {
2369
- // Push a placeholder control stack entry. The if isn't reachable,
2370
- // so we don't have any branches anywhere.
2371
- state.push_if(
2372
- ir::Block::reserved_value(),
2373
- ElseData::NoElse {
2374
- branch_inst: ir::Inst::reserved_value(),
2375
- placeholder: ir::Block::reserved_value(),
2376
- },
2377
- 0,
2378
- 0,
2379
- blockty,
2380
- );
2381
- }
2382
- Operator::Loop { blockty: _ } | Operator::Block { blockty: _ } => {
2383
- state.push_block(ir::Block::reserved_value(), 0, 0);
2384
- }
2385
- Operator::Else => {
2386
- let i = state.control_stack.len() - 1;
2387
- match state.control_stack[i] {
2388
- ControlStackFrame::If {
2389
- ref else_data,
2390
- head_is_reachable,
2391
- ref mut consequent_ends_reachable,
2392
- blocktype,
2393
- ..
2394
- } => {
2395
- debug_assert!(consequent_ends_reachable.is_none());
2396
- *consequent_ends_reachable = Some(state.reachable);
2397
-
2398
- if head_is_reachable {
2399
- // We have a branch from the head of the `if` to the `else`.
2400
- state.reachable = true;
2401
-
2402
- let else_block = match *else_data {
2403
- ElseData::NoElse {
2404
- branch_inst,
2405
- placeholder,
2406
- } => {
2407
- let (params, _results) =
2408
- blocktype_params_results(validator, blocktype)?;
2409
- let else_block = block_with_params(builder, params, environ)?;
2410
- let frame = state.control_stack.last().unwrap();
2411
- frame.truncate_value_stack_to_else_params(&mut state.stack);
2412
-
2413
- // We change the target of the branch instruction.
2414
- builder.change_jump_destination(
2415
- branch_inst,
2416
- placeholder,
2417
- else_block,
2418
- );
2419
- builder.seal_block(else_block);
2420
- else_block
2421
- }
2422
- ElseData::WithElse { else_block } => {
2423
- let frame = state.control_stack.last().unwrap();
2424
- frame.truncate_value_stack_to_else_params(&mut state.stack);
2425
- else_block
2426
- }
2427
- };
2428
-
2429
- builder.switch_to_block(else_block);
2430
-
2431
- // Again, no need to push the parameters for the `else`,
2432
- // since we already did when we saw the original `if`. See
2433
- // the comment for translating `Operator::Else` in
2434
- // `translate_operator` for details.
2435
- }
2436
- }
2437
- _ => unreachable!(),
2438
- }
2439
- }
2440
- Operator::End => {
2441
- let stack = &mut state.stack;
2442
- let control_stack = &mut state.control_stack;
2443
- let frame = control_stack.pop().unwrap();
2444
-
2445
- // Pop unused parameters from stack.
2446
- frame.truncate_value_stack_to_original_size(stack);
2447
-
2448
- let reachable_anyway = match frame {
2449
- // If it is a loop we also have to seal the body loop block
2450
- ControlStackFrame::Loop { header, .. } => {
2451
- builder.seal_block(header);
2452
- // And loops can't have branches to the end.
2453
- false
2454
- }
2455
- // If we never set `consequent_ends_reachable` then that means
2456
- // we are finishing the consequent now, and there was no
2457
- // `else`. Whether the following block is reachable depends only
2458
- // on if the head was reachable.
2459
- ControlStackFrame::If {
2460
- head_is_reachable,
2461
- consequent_ends_reachable: None,
2462
- ..
2463
- } => head_is_reachable,
2464
- // Since we are only in this function when in unreachable code,
2465
- // we know that the alternative just ended unreachable. Whether
2466
- // the following block is reachable depends on if the consequent
2467
- // ended reachable or not.
2468
- ControlStackFrame::If {
2469
- head_is_reachable,
2470
- consequent_ends_reachable: Some(consequent_ends_reachable),
2471
- ..
2472
- } => head_is_reachable && consequent_ends_reachable,
2473
- // All other control constructs are already handled.
2474
- _ => false,
2475
- };
2476
-
2477
- if frame.exit_is_branched_to() || reachable_anyway {
2478
- builder.switch_to_block(frame.following_code());
2479
- builder.seal_block(frame.following_code());
2480
-
2481
- // And add the return values of the block but only if the next block is reachable
2482
- // (which corresponds to testing if the stack depth is 1)
2483
- stack.extend_from_slice(builder.block_params(frame.following_code()));
2484
- state.reachable = true;
2485
- }
2486
- }
2487
- _ => {
2488
- // We don't translate because this is unreachable code
2489
- }
2490
- }
2491
-
2492
- Ok(())
2493
- }
2494
-
2495
- /// This function is a generalized helper for validating that a wasm-supplied
2496
- /// heap address is in-bounds.
2497
- ///
2498
- /// This function takes a litany of parameters and requires that the *Wasm*
2499
- /// address to be verified is at the top of the stack in `state`. This will
2500
- /// generate necessary IR to validate that the heap address is correctly
2501
- /// in-bounds, and various parameters are returned describing the valid *native*
2502
- /// heap address if execution reaches that point.
2503
- ///
2504
- /// Returns `None` when the Wasm access will unconditionally trap.
2505
- fn prepare_addr<FE>(
2506
- memarg: &MemArg,
2507
- access_size: u8,
2508
- builder: &mut FunctionBuilder,
2509
- state: &mut FuncTranslationState,
2510
- environ: &mut FE,
2511
- ) -> WasmResult<Reachability<(MemFlags, Value)>>
2512
- where
2513
- FE: FuncEnvironment + ?Sized,
2514
- {
2515
- let index = state.pop1();
2516
- let heap = state.get_heap(builder.func, memarg.memory, environ)?;
2517
-
2518
- // How exactly the bounds check is performed here and what it's performed
2519
- // on is a bit tricky. Generally we want to rely on access violations (e.g.
2520
- // segfaults) to generate traps since that means we don't have to bounds
2521
- // check anything explicitly.
2522
- //
2523
- // (1) If we don't have a guard page of unmapped memory, though, then we
2524
- // can't rely on this trapping behavior through segfaults. Instead we need
2525
- // to bounds-check the entire memory access here which is everything from
2526
- // `addr32 + offset` to `addr32 + offset + width` (not inclusive). In this
2527
- // scenario our adjusted offset that we're checking is `memarg.offset +
2528
- // access_size`. Note that we do saturating arithmetic here to avoid
2529
- // overflow. THe addition here is in the 64-bit space, which means that
2530
- // we'll never overflow for 32-bit wasm but for 64-bit this is an issue. If
2531
- // our effective offset is u64::MAX though then it's impossible for for
2532
- // that to actually be a valid offset because otherwise the wasm linear
2533
- // memory would take all of the host memory!
2534
- //
2535
- // (2) If we have a guard page, however, then we can perform a further
2536
- // optimization of the generated code by only checking multiples of the
2537
- // offset-guard size to be more CSE-friendly. Knowing that we have at least
2538
- // 1 page of a guard page we're then able to disregard the `width` since we
2539
- // know it's always less than one page. Our bounds check will be for the
2540
- // first byte which will either succeed and be guaranteed to fault if it's
2541
- // actually out of bounds, or the bounds check itself will fail. In any case
2542
- // we assert that the width is reasonably small for now so this assumption
2543
- // can be adjusted in the future if we get larger widths.
2544
- //
2545
- // Put another way we can say, where `y < offset_guard_size`:
2546
- //
2547
- // n * offset_guard_size + y = offset
2548
- //
2549
- // We'll then pass `n * offset_guard_size` as the bounds check value. If
2550
- // this traps then our `offset` would have trapped anyway. If this check
2551
- // passes we know
2552
- //
2553
- // addr32 + n * offset_guard_size < bound
2554
- //
2555
- // which means
2556
- //
2557
- // addr32 + n * offset_guard_size + y < bound + offset_guard_size
2558
- //
2559
- // because `y < offset_guard_size`, which then means:
2560
- //
2561
- // addr32 + offset < bound + offset_guard_size
2562
- //
2563
- // Since we know that that guard size bytes are all unmapped we're
2564
- // guaranteed that `offset` and the `width` bytes after it are either
2565
- // in-bounds or will hit the guard page, meaning we'll get the desired
2566
- // semantics we want.
2567
- //
2568
- // ---
2569
- //
2570
- // With all that in mind remember that the goal is to bounds check as few
2571
- // things as possible. To facilitate this the "fast path" is expected to be
2572
- // hit like so:
2573
- //
2574
- // * For wasm32, wasmtime defaults to 4gb "static" memories with 2gb guard
2575
- // regions. This means that for all offsets <=2gb, we hit the optimized
2576
- // case for `heap_addr` on static memories 4gb in size in cranelift's
2577
- // legalization of `heap_addr`, eliding the bounds check entirely.
2578
- //
2579
- // * For wasm64 offsets <=2gb will generate a single `heap_addr`
2580
- // instruction, but at this time all heaps are "dyanmic" which means that
2581
- // a single bounds check is forced. Ideally we'd do better here, but
2582
- // that's the current state of affairs.
2583
- //
2584
- // Basically we assume that most configurations have a guard page and most
2585
- // offsets in `memarg` are <=2gb, which means we get the fast path of one
2586
- // `heap_addr` instruction plus a hardcoded i32-offset in memory-related
2587
- // instructions.
2588
- let heap = environ.heaps()[heap].clone();
2589
- let addr = match u32::try_from(memarg.offset) {
2590
- // If our offset fits within a u32, then we can place the it into the
2591
- // offset immediate of the `heap_addr` instruction.
2592
- Ok(offset) => bounds_checks::bounds_check_and_compute_addr(
2593
- builder,
2594
- environ,
2595
- &heap,
2596
- index,
2597
- offset,
2598
- access_size,
2599
- )?,
2600
-
2601
- // If the offset doesn't fit within a u32, then we can't pass it
2602
- // directly into `heap_addr`.
2603
- //
2604
- // One reasonable question you might ask is "why not?". There's no
2605
- // fundamental reason why `heap_addr` *must* take a 32-bit offset. The
2606
- // reason this isn't done, though, is that blindly changing the offset
2607
- // to a 64-bit offset increases the size of the `InstructionData` enum
2608
- // in cranelift by 8 bytes (16 to 24). This can have significant
2609
- // performance implications so the conclusion when this was written was
2610
- // that we shouldn't do that.
2611
- //
2612
- // Without the ability to put the whole offset into the `heap_addr`
2613
- // instruction we need to fold the offset into the address itself with
2614
- // an unsigned addition. In doing so though we need to check for
2615
- // overflow because that would mean the address is out-of-bounds (wasm
2616
- // bounds checks happen on the effective 33 or 65 bit address once the
2617
- // offset is factored in).
2618
- //
2619
- // Once we have the effective address, offset already folded in, then
2620
- // `heap_addr` is used to verify that the address is indeed in-bounds.
2621
- //
2622
- // Note that this is generating what's likely to be at least two
2623
- // branches, one for the overflow and one for the bounds check itself.
2624
- // For now though that should hopefully be ok since 4gb+ offsets are
2625
- // relatively odd/rare. In the future if needed we can look into
2626
- // optimizing this more.
2627
- Err(_) => {
2628
- let offset = builder.ins().iconst(heap.index_type, memarg.offset as i64);
2629
- let adjusted_index =
2630
- builder
2631
- .ins()
2632
- .uadd_overflow_trap(index, offset, ir::TrapCode::HeapOutOfBounds);
2633
- bounds_checks::bounds_check_and_compute_addr(
2634
- builder,
2635
- environ,
2636
- &heap,
2637
- adjusted_index,
2638
- 0,
2639
- access_size,
2640
- )?
2641
- }
2642
- };
2643
- let addr = match addr {
2644
- Reachability::Unreachable => return Ok(Reachability::Unreachable),
2645
- Reachability::Reachable(a) => a,
2646
- };
2647
-
2648
- // Note that we don't set `is_aligned` here, even if the load instruction's
2649
- // alignment immediate may says it's aligned, because WebAssembly's
2650
- // immediate field is just a hint, while Cranelift's aligned flag needs a
2651
- // guarantee. WebAssembly memory accesses are always little-endian.
2652
- let mut flags = MemFlags::new();
2653
- flags.set_endianness(ir::Endianness::Little);
2654
-
2655
- // The access occurs to the `heap` disjoint category of abstract
2656
- // state. This may allow alias analysis to merge redundant loads,
2657
- // etc. when heap accesses occur interleaved with other (table,
2658
- // vmctx, stack) accesses.
2659
- flags.set_heap();
2660
-
2661
- Ok(Reachability::Reachable((flags, addr)))
2662
- }
2663
-
2664
- fn align_atomic_addr(
2665
- memarg: &MemArg,
2666
- loaded_bytes: u8,
2667
- builder: &mut FunctionBuilder,
2668
- state: &mut FuncTranslationState,
2669
- ) {
2670
- // Atomic addresses must all be aligned correctly, and for now we check
2671
- // alignment before we check out-of-bounds-ness. The order of this check may
2672
- // need to be updated depending on the outcome of the official threads
2673
- // proposal itself.
2674
- //
2675
- // Note that with an offset>0 we generate an `iadd_imm` where the result is
2676
- // thrown away after the offset check. This may truncate the offset and the
2677
- // result may overflow as well, but those conditions won't affect the
2678
- // alignment check itself. This can probably be optimized better and we
2679
- // should do so in the future as well.
2680
- if loaded_bytes > 1 {
2681
- let addr = state.pop1(); // "peek" via pop then push
2682
- state.push1(addr);
2683
- let effective_addr = if memarg.offset == 0 {
2684
- addr
2685
- } else {
2686
- builder
2687
- .ins()
2688
- .iadd_imm(addr, i64::from(memarg.offset as i32))
2689
- };
2690
- debug_assert!(loaded_bytes.is_power_of_two());
2691
- let misalignment = builder
2692
- .ins()
2693
- .band_imm(effective_addr, i64::from(loaded_bytes - 1));
2694
- let f = builder.ins().icmp_imm(IntCC::NotEqual, misalignment, 0);
2695
- builder.ins().trapnz(f, ir::TrapCode::HeapMisaligned);
2696
- }
2697
- }
2698
-
2699
- /// Like `prepare_addr` but for atomic accesses.
2700
- ///
2701
- /// Returns `None` when the Wasm access will unconditionally trap.
2702
- fn prepare_atomic_addr<FE: FuncEnvironment + ?Sized>(
2703
- memarg: &MemArg,
2704
- loaded_bytes: u8,
2705
- builder: &mut FunctionBuilder,
2706
- state: &mut FuncTranslationState,
2707
- environ: &mut FE,
2708
- ) -> WasmResult<Reachability<(MemFlags, Value)>> {
2709
- align_atomic_addr(memarg, loaded_bytes, builder, state);
2710
- prepare_addr(memarg, loaded_bytes, builder, state, environ)
2711
- }
2712
-
2713
- /// Like `Option<T>` but specifically for passing information about transitions
2714
- /// from reachable to unreachable state and the like from callees to callers.
2715
- ///
2716
- /// Marked `must_use` to force callers to update
2717
- /// `FuncTranslationState::reachable` as necessary.
2718
- #[derive(PartialEq, Eq)]
2719
- #[must_use]
2720
- pub enum Reachability<T> {
2721
- /// The Wasm execution state is reachable, here is a `T`.
2722
- Reachable(T),
2723
- /// The Wasm execution state has been determined to be statically
2724
- /// unreachable. It is the receiver of this value's responsibility to update
2725
- /// `FuncTranslationState::reachable` as necessary.
2726
- Unreachable,
2727
- }
2728
-
2729
- /// Translate a load instruction.
2730
- ///
2731
- /// Returns the execution state's reachability after the load is translated.
2732
- fn translate_load<FE: FuncEnvironment + ?Sized>(
2733
- memarg: &MemArg,
2734
- opcode: ir::Opcode,
2735
- result_ty: Type,
2736
- builder: &mut FunctionBuilder,
2737
- state: &mut FuncTranslationState,
2738
- environ: &mut FE,
2739
- ) -> WasmResult<Reachability<()>> {
2740
- let (flags, base) = match prepare_addr(
2741
- memarg,
2742
- mem_op_size(opcode, result_ty),
2743
- builder,
2744
- state,
2745
- environ,
2746
- )? {
2747
- Reachability::Unreachable => return Ok(Reachability::Unreachable),
2748
- Reachability::Reachable((f, b)) => (f, b),
2749
- };
2750
- let (load, dfg) = builder
2751
- .ins()
2752
- .Load(opcode, result_ty, flags, Offset32::new(0), base);
2753
- state.push1(dfg.first_result(load));
2754
- Ok(Reachability::Reachable(()))
2755
- }
2756
-
2757
- /// Translate a store instruction.
2758
- fn translate_store<FE: FuncEnvironment + ?Sized>(
2759
- memarg: &MemArg,
2760
- opcode: ir::Opcode,
2761
- builder: &mut FunctionBuilder,
2762
- state: &mut FuncTranslationState,
2763
- environ: &mut FE,
2764
- ) -> WasmResult<()> {
2765
- let val = state.pop1();
2766
- let val_ty = builder.func.dfg.value_type(val);
2767
-
2768
- let (flags, base) = unwrap_or_return_unreachable_state!(
2769
- state,
2770
- prepare_addr(memarg, mem_op_size(opcode, val_ty), builder, state, environ)?
2771
- );
2772
- builder
2773
- .ins()
2774
- .Store(opcode, val_ty, flags, Offset32::new(0), val, base);
2775
- Ok(())
2776
- }
2777
-
2778
- fn mem_op_size(opcode: ir::Opcode, ty: Type) -> u8 {
2779
- match opcode {
2780
- ir::Opcode::Istore8 | ir::Opcode::Sload8 | ir::Opcode::Uload8 => 1,
2781
- ir::Opcode::Istore16 | ir::Opcode::Sload16 | ir::Opcode::Uload16 => 2,
2782
- ir::Opcode::Istore32 | ir::Opcode::Sload32 | ir::Opcode::Uload32 => 4,
2783
- ir::Opcode::Store | ir::Opcode::Load => u8::try_from(ty.bytes()).unwrap(),
2784
- _ => panic!("unknown size of mem op for {:?}", opcode),
2785
- }
2786
- }
2787
-
2788
- fn translate_icmp(cc: IntCC, builder: &mut FunctionBuilder, state: &mut FuncTranslationState) {
2789
- let (arg0, arg1) = state.pop2();
2790
- let val = builder.ins().icmp(cc, arg0, arg1);
2791
- state.push1(builder.ins().uextend(I32, val));
2792
- }
2793
-
2794
- fn translate_atomic_rmw<FE: FuncEnvironment + ?Sized>(
2795
- widened_ty: Type,
2796
- access_ty: Type,
2797
- op: AtomicRmwOp,
2798
- memarg: &MemArg,
2799
- builder: &mut FunctionBuilder,
2800
- state: &mut FuncTranslationState,
2801
- environ: &mut FE,
2802
- ) -> WasmResult<()> {
2803
- let mut arg2 = state.pop1();
2804
- let arg2_ty = builder.func.dfg.value_type(arg2);
2805
-
2806
- // The operation is performed at type `access_ty`, and the old value is zero-extended
2807
- // to type `widened_ty`.
2808
- match access_ty {
2809
- I8 | I16 | I32 | I64 => {}
2810
- _ => {
2811
- return Err(wasm_unsupported!(
2812
- "atomic_rmw: unsupported access type {:?}",
2813
- access_ty
2814
- ))
2815
- }
2816
- };
2817
- let w_ty_ok = match widened_ty {
2818
- I32 | I64 => true,
2819
- _ => false,
2820
- };
2821
- assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
2822
-
2823
- assert!(arg2_ty.bytes() >= access_ty.bytes());
2824
- if arg2_ty.bytes() > access_ty.bytes() {
2825
- arg2 = builder.ins().ireduce(access_ty, arg2);
2826
- }
2827
-
2828
- let (flags, addr) = unwrap_or_return_unreachable_state!(
2829
- state,
2830
- prepare_atomic_addr(
2831
- memarg,
2832
- u8::try_from(access_ty.bytes()).unwrap(),
2833
- builder,
2834
- state,
2835
- environ,
2836
- )?
2837
- );
2838
-
2839
- let mut res = builder.ins().atomic_rmw(access_ty, flags, op, addr, arg2);
2840
- if access_ty != widened_ty {
2841
- res = builder.ins().uextend(widened_ty, res);
2842
- }
2843
- state.push1(res);
2844
- Ok(())
2845
- }
2846
-
2847
- fn translate_atomic_cas<FE: FuncEnvironment + ?Sized>(
2848
- widened_ty: Type,
2849
- access_ty: Type,
2850
- memarg: &MemArg,
2851
- builder: &mut FunctionBuilder,
2852
- state: &mut FuncTranslationState,
2853
- environ: &mut FE,
2854
- ) -> WasmResult<()> {
2855
- let (mut expected, mut replacement) = state.pop2();
2856
- let expected_ty = builder.func.dfg.value_type(expected);
2857
- let replacement_ty = builder.func.dfg.value_type(replacement);
2858
-
2859
- // The compare-and-swap is performed at type `access_ty`, and the old value is zero-extended
2860
- // to type `widened_ty`.
2861
- match access_ty {
2862
- I8 | I16 | I32 | I64 => {}
2863
- _ => {
2864
- return Err(wasm_unsupported!(
2865
- "atomic_cas: unsupported access type {:?}",
2866
- access_ty
2867
- ))
2868
- }
2869
- };
2870
- let w_ty_ok = match widened_ty {
2871
- I32 | I64 => true,
2872
- _ => false,
2873
- };
2874
- assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
2875
-
2876
- assert!(expected_ty.bytes() >= access_ty.bytes());
2877
- if expected_ty.bytes() > access_ty.bytes() {
2878
- expected = builder.ins().ireduce(access_ty, expected);
2879
- }
2880
- assert!(replacement_ty.bytes() >= access_ty.bytes());
2881
- if replacement_ty.bytes() > access_ty.bytes() {
2882
- replacement = builder.ins().ireduce(access_ty, replacement);
2883
- }
2884
-
2885
- let (flags, addr) = unwrap_or_return_unreachable_state!(
2886
- state,
2887
- prepare_atomic_addr(
2888
- memarg,
2889
- u8::try_from(access_ty.bytes()).unwrap(),
2890
- builder,
2891
- state,
2892
- environ,
2893
- )?
2894
- );
2895
- let mut res = builder.ins().atomic_cas(flags, addr, expected, replacement);
2896
- if access_ty != widened_ty {
2897
- res = builder.ins().uextend(widened_ty, res);
2898
- }
2899
- state.push1(res);
2900
- Ok(())
2901
- }
2902
-
2903
- fn translate_atomic_load<FE: FuncEnvironment + ?Sized>(
2904
- widened_ty: Type,
2905
- access_ty: Type,
2906
- memarg: &MemArg,
2907
- builder: &mut FunctionBuilder,
2908
- state: &mut FuncTranslationState,
2909
- environ: &mut FE,
2910
- ) -> WasmResult<()> {
2911
- // The load is performed at type `access_ty`, and the loaded value is zero extended
2912
- // to `widened_ty`.
2913
- match access_ty {
2914
- I8 | I16 | I32 | I64 => {}
2915
- _ => {
2916
- return Err(wasm_unsupported!(
2917
- "atomic_load: unsupported access type {:?}",
2918
- access_ty
2919
- ))
2920
- }
2921
- };
2922
- let w_ty_ok = match widened_ty {
2923
- I32 | I64 => true,
2924
- _ => false,
2925
- };
2926
- assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
2927
-
2928
- let (flags, addr) = unwrap_or_return_unreachable_state!(
2929
- state,
2930
- prepare_atomic_addr(
2931
- memarg,
2932
- u8::try_from(access_ty.bytes()).unwrap(),
2933
- builder,
2934
- state,
2935
- environ,
2936
- )?
2937
- );
2938
- let mut res = builder.ins().atomic_load(access_ty, flags, addr);
2939
- if access_ty != widened_ty {
2940
- res = builder.ins().uextend(widened_ty, res);
2941
- }
2942
- state.push1(res);
2943
- Ok(())
2944
- }
2945
-
2946
- fn translate_atomic_store<FE: FuncEnvironment + ?Sized>(
2947
- access_ty: Type,
2948
- memarg: &MemArg,
2949
- builder: &mut FunctionBuilder,
2950
- state: &mut FuncTranslationState,
2951
- environ: &mut FE,
2952
- ) -> WasmResult<()> {
2953
- let mut data = state.pop1();
2954
- let data_ty = builder.func.dfg.value_type(data);
2955
-
2956
- // The operation is performed at type `access_ty`, and the data to be stored may first
2957
- // need to be narrowed accordingly.
2958
- match access_ty {
2959
- I8 | I16 | I32 | I64 => {}
2960
- _ => {
2961
- return Err(wasm_unsupported!(
2962
- "atomic_store: unsupported access type {:?}",
2963
- access_ty
2964
- ))
2965
- }
2966
- };
2967
- let d_ty_ok = match data_ty {
2968
- I32 | I64 => true,
2969
- _ => false,
2970
- };
2971
- assert!(d_ty_ok && data_ty.bytes() >= access_ty.bytes());
2972
-
2973
- if data_ty.bytes() > access_ty.bytes() {
2974
- data = builder.ins().ireduce(access_ty, data);
2975
- }
2976
-
2977
- let (flags, addr) = unwrap_or_return_unreachable_state!(
2978
- state,
2979
- prepare_atomic_addr(
2980
- memarg,
2981
- u8::try_from(access_ty.bytes()).unwrap(),
2982
- builder,
2983
- state,
2984
- environ,
2985
- )?
2986
- );
2987
- builder.ins().atomic_store(flags, data, addr);
2988
- Ok(())
2989
- }
2990
-
2991
- fn translate_vector_icmp(
2992
- cc: IntCC,
2993
- needed_type: Type,
2994
- builder: &mut FunctionBuilder,
2995
- state: &mut FuncTranslationState,
2996
- ) {
2997
- let (a, b) = state.pop2();
2998
- let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
2999
- let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
3000
- state.push1(builder.ins().icmp(cc, bitcast_a, bitcast_b))
3001
- }
3002
-
3003
- fn translate_fcmp(cc: FloatCC, builder: &mut FunctionBuilder, state: &mut FuncTranslationState) {
3004
- let (arg0, arg1) = state.pop2();
3005
- let val = builder.ins().fcmp(cc, arg0, arg1);
3006
- state.push1(builder.ins().uextend(I32, val));
3007
- }
3008
-
3009
- fn translate_vector_fcmp(
3010
- cc: FloatCC,
3011
- needed_type: Type,
3012
- builder: &mut FunctionBuilder,
3013
- state: &mut FuncTranslationState,
3014
- ) {
3015
- let (a, b) = state.pop2();
3016
- let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
3017
- let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
3018
- state.push1(builder.ins().fcmp(cc, bitcast_a, bitcast_b))
3019
- }
3020
-
3021
- fn translate_br_if(
3022
- relative_depth: u32,
3023
- builder: &mut FunctionBuilder,
3024
- state: &mut FuncTranslationState,
3025
- ) {
3026
- let val = state.pop1();
3027
- let (br_destination, inputs) = translate_br_if_args(relative_depth, state);
3028
- let next_block = builder.create_block();
3029
- canonicalise_brif(builder, val, br_destination, inputs, next_block, &[]);
3030
-
3031
- builder.seal_block(next_block); // The only predecessor is the current block.
3032
- builder.switch_to_block(next_block);
3033
- }
3034
-
3035
- fn translate_br_if_args(
3036
- relative_depth: u32,
3037
- state: &mut FuncTranslationState,
3038
- ) -> (ir::Block, &mut [ir::Value]) {
3039
- let i = state.control_stack.len() - 1 - (relative_depth as usize);
3040
- let (return_count, br_destination) = {
3041
- let frame = &mut state.control_stack[i];
3042
- // The values returned by the branch are still available for the reachable
3043
- // code that comes after it
3044
- frame.set_branched_to_exit();
3045
- let return_count = if frame.is_loop() {
3046
- frame.num_param_values()
3047
- } else {
3048
- frame.num_return_values()
3049
- };
3050
- (return_count, frame.br_destination())
3051
- };
3052
- let inputs = state.peekn_mut(return_count);
3053
- (br_destination, inputs)
3054
- }
3055
-
3056
- /// Determine the returned value type of a WebAssembly operator
3057
- fn type_of(operator: &Operator) -> Type {
3058
- match operator {
3059
- Operator::V128Load { .. }
3060
- | Operator::V128Store { .. }
3061
- | Operator::V128Const { .. }
3062
- | Operator::V128Not
3063
- | Operator::V128And
3064
- | Operator::V128AndNot
3065
- | Operator::V128Or
3066
- | Operator::V128Xor
3067
- | Operator::V128AnyTrue
3068
- | Operator::V128Bitselect => I8X16, // default type representing V128
3069
-
3070
- Operator::I8x16Shuffle { .. }
3071
- | Operator::I8x16Splat
3072
- | Operator::V128Load8Splat { .. }
3073
- | Operator::V128Load8Lane { .. }
3074
- | Operator::V128Store8Lane { .. }
3075
- | Operator::I8x16ExtractLaneS { .. }
3076
- | Operator::I8x16ExtractLaneU { .. }
3077
- | Operator::I8x16ReplaceLane { .. }
3078
- | Operator::I8x16Eq
3079
- | Operator::I8x16Ne
3080
- | Operator::I8x16LtS
3081
- | Operator::I8x16LtU
3082
- | Operator::I8x16GtS
3083
- | Operator::I8x16GtU
3084
- | Operator::I8x16LeS
3085
- | Operator::I8x16LeU
3086
- | Operator::I8x16GeS
3087
- | Operator::I8x16GeU
3088
- | Operator::I8x16Neg
3089
- | Operator::I8x16Abs
3090
- | Operator::I8x16AllTrue
3091
- | Operator::I8x16Shl
3092
- | Operator::I8x16ShrS
3093
- | Operator::I8x16ShrU
3094
- | Operator::I8x16Add
3095
- | Operator::I8x16AddSatS
3096
- | Operator::I8x16AddSatU
3097
- | Operator::I8x16Sub
3098
- | Operator::I8x16SubSatS
3099
- | Operator::I8x16SubSatU
3100
- | Operator::I8x16MinS
3101
- | Operator::I8x16MinU
3102
- | Operator::I8x16MaxS
3103
- | Operator::I8x16MaxU
3104
- | Operator::I8x16AvgrU
3105
- | Operator::I8x16Bitmask
3106
- | Operator::I8x16Popcnt
3107
- | Operator::I8x16RelaxedLaneselect => I8X16,
3108
-
3109
- Operator::I16x8Splat
3110
- | Operator::V128Load16Splat { .. }
3111
- | Operator::V128Load16Lane { .. }
3112
- | Operator::V128Store16Lane { .. }
3113
- | Operator::I16x8ExtractLaneS { .. }
3114
- | Operator::I16x8ExtractLaneU { .. }
3115
- | Operator::I16x8ReplaceLane { .. }
3116
- | Operator::I16x8Eq
3117
- | Operator::I16x8Ne
3118
- | Operator::I16x8LtS
3119
- | Operator::I16x8LtU
3120
- | Operator::I16x8GtS
3121
- | Operator::I16x8GtU
3122
- | Operator::I16x8LeS
3123
- | Operator::I16x8LeU
3124
- | Operator::I16x8GeS
3125
- | Operator::I16x8GeU
3126
- | Operator::I16x8Neg
3127
- | Operator::I16x8Abs
3128
- | Operator::I16x8AllTrue
3129
- | Operator::I16x8Shl
3130
- | Operator::I16x8ShrS
3131
- | Operator::I16x8ShrU
3132
- | Operator::I16x8Add
3133
- | Operator::I16x8AddSatS
3134
- | Operator::I16x8AddSatU
3135
- | Operator::I16x8Sub
3136
- | Operator::I16x8SubSatS
3137
- | Operator::I16x8SubSatU
3138
- | Operator::I16x8MinS
3139
- | Operator::I16x8MinU
3140
- | Operator::I16x8MaxS
3141
- | Operator::I16x8MaxU
3142
- | Operator::I16x8AvgrU
3143
- | Operator::I16x8Mul
3144
- | Operator::I16x8Bitmask
3145
- | Operator::I16x8RelaxedLaneselect => I16X8,
3146
-
3147
- Operator::I32x4Splat
3148
- | Operator::V128Load32Splat { .. }
3149
- | Operator::V128Load32Lane { .. }
3150
- | Operator::V128Store32Lane { .. }
3151
- | Operator::I32x4ExtractLane { .. }
3152
- | Operator::I32x4ReplaceLane { .. }
3153
- | Operator::I32x4Eq
3154
- | Operator::I32x4Ne
3155
- | Operator::I32x4LtS
3156
- | Operator::I32x4LtU
3157
- | Operator::I32x4GtS
3158
- | Operator::I32x4GtU
3159
- | Operator::I32x4LeS
3160
- | Operator::I32x4LeU
3161
- | Operator::I32x4GeS
3162
- | Operator::I32x4GeU
3163
- | Operator::I32x4Neg
3164
- | Operator::I32x4Abs
3165
- | Operator::I32x4AllTrue
3166
- | Operator::I32x4Shl
3167
- | Operator::I32x4ShrS
3168
- | Operator::I32x4ShrU
3169
- | Operator::I32x4Add
3170
- | Operator::I32x4Sub
3171
- | Operator::I32x4Mul
3172
- | Operator::I32x4MinS
3173
- | Operator::I32x4MinU
3174
- | Operator::I32x4MaxS
3175
- | Operator::I32x4MaxU
3176
- | Operator::I32x4Bitmask
3177
- | Operator::I32x4TruncSatF32x4S
3178
- | Operator::I32x4TruncSatF32x4U
3179
- | Operator::I32x4RelaxedLaneselect
3180
- | Operator::V128Load32Zero { .. } => I32X4,
3181
-
3182
- Operator::I64x2Splat
3183
- | Operator::V128Load64Splat { .. }
3184
- | Operator::V128Load64Lane { .. }
3185
- | Operator::V128Store64Lane { .. }
3186
- | Operator::I64x2ExtractLane { .. }
3187
- | Operator::I64x2ReplaceLane { .. }
3188
- | Operator::I64x2Eq
3189
- | Operator::I64x2Ne
3190
- | Operator::I64x2LtS
3191
- | Operator::I64x2GtS
3192
- | Operator::I64x2LeS
3193
- | Operator::I64x2GeS
3194
- | Operator::I64x2Neg
3195
- | Operator::I64x2Abs
3196
- | Operator::I64x2AllTrue
3197
- | Operator::I64x2Shl
3198
- | Operator::I64x2ShrS
3199
- | Operator::I64x2ShrU
3200
- | Operator::I64x2Add
3201
- | Operator::I64x2Sub
3202
- | Operator::I64x2Mul
3203
- | Operator::I64x2Bitmask
3204
- | Operator::I64x2RelaxedLaneselect
3205
- | Operator::V128Load64Zero { .. } => I64X2,
3206
-
3207
- Operator::F32x4Splat
3208
- | Operator::F32x4ExtractLane { .. }
3209
- | Operator::F32x4ReplaceLane { .. }
3210
- | Operator::F32x4Eq
3211
- | Operator::F32x4Ne
3212
- | Operator::F32x4Lt
3213
- | Operator::F32x4Gt
3214
- | Operator::F32x4Le
3215
- | Operator::F32x4Ge
3216
- | Operator::F32x4Abs
3217
- | Operator::F32x4Neg
3218
- | Operator::F32x4Sqrt
3219
- | Operator::F32x4Add
3220
- | Operator::F32x4Sub
3221
- | Operator::F32x4Mul
3222
- | Operator::F32x4Div
3223
- | Operator::F32x4Min
3224
- | Operator::F32x4Max
3225
- | Operator::F32x4PMin
3226
- | Operator::F32x4PMax
3227
- | Operator::F32x4ConvertI32x4S
3228
- | Operator::F32x4ConvertI32x4U
3229
- | Operator::F32x4Ceil
3230
- | Operator::F32x4Floor
3231
- | Operator::F32x4Trunc
3232
- | Operator::F32x4Nearest
3233
- | Operator::F32x4RelaxedMax
3234
- | Operator::F32x4RelaxedMin
3235
- | Operator::F32x4RelaxedMadd
3236
- | Operator::F32x4RelaxedNmadd => F32X4,
3237
-
3238
- Operator::F64x2Splat
3239
- | Operator::F64x2ExtractLane { .. }
3240
- | Operator::F64x2ReplaceLane { .. }
3241
- | Operator::F64x2Eq
3242
- | Operator::F64x2Ne
3243
- | Operator::F64x2Lt
3244
- | Operator::F64x2Gt
3245
- | Operator::F64x2Le
3246
- | Operator::F64x2Ge
3247
- | Operator::F64x2Abs
3248
- | Operator::F64x2Neg
3249
- | Operator::F64x2Sqrt
3250
- | Operator::F64x2Add
3251
- | Operator::F64x2Sub
3252
- | Operator::F64x2Mul
3253
- | Operator::F64x2Div
3254
- | Operator::F64x2Min
3255
- | Operator::F64x2Max
3256
- | Operator::F64x2PMin
3257
- | Operator::F64x2PMax
3258
- | Operator::F64x2Ceil
3259
- | Operator::F64x2Floor
3260
- | Operator::F64x2Trunc
3261
- | Operator::F64x2Nearest
3262
- | Operator::F64x2RelaxedMax
3263
- | Operator::F64x2RelaxedMin
3264
- | Operator::F64x2RelaxedMadd
3265
- | Operator::F64x2RelaxedNmadd => F64X2,
3266
-
3267
- _ => unimplemented!(
3268
- "Currently only SIMD instructions are mapped to their return type; the \
3269
- following instruction is not mapped: {:?}",
3270
- operator
3271
- ),
3272
- }
3273
- }
3274
-
3275
- /// Some SIMD operations only operate on I8X16 in CLIF; this will convert them to that type by
3276
- /// adding a bitcast if necessary.
3277
- fn optionally_bitcast_vector(
3278
- value: Value,
3279
- needed_type: Type,
3280
- builder: &mut FunctionBuilder,
3281
- ) -> Value {
3282
- if builder.func.dfg.value_type(value) != needed_type {
3283
- let mut flags = MemFlags::new();
3284
- flags.set_endianness(ir::Endianness::Little);
3285
- builder.ins().bitcast(needed_type, flags, value)
3286
- } else {
3287
- value
3288
- }
3289
- }
3290
-
3291
- #[inline(always)]
3292
- fn is_non_canonical_v128(ty: ir::Type) -> bool {
3293
- match ty {
3294
- I64X2 | I32X4 | I16X8 | F32X4 | F64X2 => true,
3295
- _ => false,
3296
- }
3297
- }
3298
-
3299
- /// Cast to I8X16, any vector values in `values` that are of "non-canonical" type (meaning, not
3300
- /// I8X16), and return them in a slice. A pre-scan is made to determine whether any casts are
3301
- /// actually necessary, and if not, the original slice is returned. Otherwise the cast values
3302
- /// are returned in a slice that belongs to the caller-supplied `SmallVec`.
3303
- fn canonicalise_v128_values<'a>(
3304
- tmp_canonicalised: &'a mut SmallVec<[ir::Value; 16]>,
3305
- builder: &mut FunctionBuilder,
3306
- values: &'a [ir::Value],
3307
- ) -> &'a [ir::Value] {
3308
- debug_assert!(tmp_canonicalised.is_empty());
3309
- // First figure out if any of the parameters need to be cast. Mostly they don't need to be.
3310
- let any_non_canonical = values
3311
- .iter()
3312
- .any(|v| is_non_canonical_v128(builder.func.dfg.value_type(*v)));
3313
- // Hopefully we take this exit most of the time, hence doing no heap allocation.
3314
- if !any_non_canonical {
3315
- return values;
3316
- }
3317
- // Otherwise we'll have to cast, and push the resulting `Value`s into `canonicalised`.
3318
- for v in values {
3319
- tmp_canonicalised.push(if is_non_canonical_v128(builder.func.dfg.value_type(*v)) {
3320
- let mut flags = MemFlags::new();
3321
- flags.set_endianness(ir::Endianness::Little);
3322
- builder.ins().bitcast(I8X16, flags, *v)
3323
- } else {
3324
- *v
3325
- });
3326
- }
3327
- tmp_canonicalised.as_slice()
3328
- }
3329
-
3330
- /// Generate a `jump` instruction, but first cast all 128-bit vector values to I8X16 if they
3331
- /// don't have that type. This is done in somewhat roundabout way so as to ensure that we
3332
- /// almost never have to do any heap allocation.
3333
- fn canonicalise_then_jump(
3334
- builder: &mut FunctionBuilder,
3335
- destination: ir::Block,
3336
- params: &[ir::Value],
3337
- ) -> ir::Inst {
3338
- let mut tmp_canonicalised = SmallVec::<[ir::Value; 16]>::new();
3339
- let canonicalised = canonicalise_v128_values(&mut tmp_canonicalised, builder, params);
3340
- builder.ins().jump(destination, canonicalised)
3341
- }
3342
-
3343
- /// The same but for a `brif` instruction.
3344
- fn canonicalise_brif(
3345
- builder: &mut FunctionBuilder,
3346
- cond: ir::Value,
3347
- block_then: ir::Block,
3348
- params_then: &[ir::Value],
3349
- block_else: ir::Block,
3350
- params_else: &[ir::Value],
3351
- ) -> ir::Inst {
3352
- let mut tmp_canonicalised_then = SmallVec::<[ir::Value; 16]>::new();
3353
- let canonicalised_then =
3354
- canonicalise_v128_values(&mut tmp_canonicalised_then, builder, params_then);
3355
- let mut tmp_canonicalised_else = SmallVec::<[ir::Value; 16]>::new();
3356
- let canonicalised_else =
3357
- canonicalise_v128_values(&mut tmp_canonicalised_else, builder, params_else);
3358
- builder.ins().brif(
3359
- cond,
3360
- block_then,
3361
- canonicalised_then,
3362
- block_else,
3363
- canonicalised_else,
3364
- )
3365
- }
3366
-
3367
- /// A helper for popping and bitcasting a single value; since SIMD values can lose their type by
3368
- /// using v128 (i.e. CLIF's I8x16) we must re-type the values using a bitcast to avoid CLIF
3369
- /// typing issues.
3370
- fn pop1_with_bitcast(
3371
- state: &mut FuncTranslationState,
3372
- needed_type: Type,
3373
- builder: &mut FunctionBuilder,
3374
- ) -> Value {
3375
- optionally_bitcast_vector(state.pop1(), needed_type, builder)
3376
- }
3377
-
3378
- /// A helper for popping and bitcasting two values; since SIMD values can lose their type by
3379
- /// using v128 (i.e. CLIF's I8x16) we must re-type the values using a bitcast to avoid CLIF
3380
- /// typing issues.
3381
- fn pop2_with_bitcast(
3382
- state: &mut FuncTranslationState,
3383
- needed_type: Type,
3384
- builder: &mut FunctionBuilder,
3385
- ) -> (Value, Value) {
3386
- let (a, b) = state.pop2();
3387
- let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
3388
- let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
3389
- (bitcast_a, bitcast_b)
3390
- }
3391
-
3392
- fn pop3_with_bitcast(
3393
- state: &mut FuncTranslationState,
3394
- needed_type: Type,
3395
- builder: &mut FunctionBuilder,
3396
- ) -> (Value, Value, Value) {
3397
- let (a, b, c) = state.pop3();
3398
- let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
3399
- let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
3400
- let bitcast_c = optionally_bitcast_vector(c, needed_type, builder);
3401
- (bitcast_a, bitcast_b, bitcast_c)
3402
- }
3403
-
3404
- fn bitcast_arguments<'a>(
3405
- builder: &FunctionBuilder,
3406
- arguments: &'a mut [Value],
3407
- params: &[ir::AbiParam],
3408
- param_predicate: impl Fn(usize) -> bool,
3409
- ) -> Vec<(Type, &'a mut Value)> {
3410
- let filtered_param_types = params
3411
- .iter()
3412
- .enumerate()
3413
- .filter(|(i, _)| param_predicate(*i))
3414
- .map(|(_, param)| param.value_type);
3415
-
3416
- // zip_eq, from the itertools::Itertools trait, is like Iterator::zip but panics if one
3417
- // iterator ends before the other. The `param_predicate` is required to select exactly as many
3418
- // elements of `params` as there are elements in `arguments`.
3419
- let pairs = filtered_param_types.zip_eq(arguments.iter_mut());
3420
-
3421
- // The arguments which need to be bitcasted are those which have some vector type but the type
3422
- // expected by the parameter is not the same vector type as that of the provided argument.
3423
- pairs
3424
- .filter(|(param_type, _)| param_type.is_vector())
3425
- .filter(|(param_type, arg)| {
3426
- let arg_type = builder.func.dfg.value_type(**arg);
3427
- assert!(
3428
- arg_type.is_vector(),
3429
- "unexpected type mismatch: expected {}, argument {} was actually of type {}",
3430
- param_type,
3431
- *arg,
3432
- arg_type
3433
- );
3434
-
3435
- // This is the same check that would be done by `optionally_bitcast_vector`, except we
3436
- // can't take a mutable borrow of the FunctionBuilder here, so we defer inserting the
3437
- // bitcast instruction to the caller.
3438
- arg_type != *param_type
3439
- })
3440
- .collect()
3441
- }
3442
-
3443
- /// A helper for bitcasting a sequence of return values for the function currently being built. If
3444
- /// a value is a vector type that does not match its expected type, this will modify the value in
3445
- /// place to point to the result of a `bitcast`. This conversion is necessary to translate Wasm
3446
- /// code that uses `V128` as function parameters (or implicitly in block parameters) and still use
3447
- /// specific CLIF types (e.g. `I32X4`) in the function body.
3448
- pub fn bitcast_wasm_returns<FE: FuncEnvironment + ?Sized>(
3449
- environ: &mut FE,
3450
- arguments: &mut [Value],
3451
- builder: &mut FunctionBuilder,
3452
- ) {
3453
- let changes = bitcast_arguments(builder, arguments, &builder.func.signature.returns, |i| {
3454
- environ.is_wasm_return(&builder.func.signature, i)
3455
- });
3456
- for (t, arg) in changes {
3457
- let mut flags = MemFlags::new();
3458
- flags.set_endianness(ir::Endianness::Little);
3459
- *arg = builder.ins().bitcast(t, flags, *arg);
3460
- }
3461
- }
3462
-
3463
- /// Like `bitcast_wasm_returns`, but for the parameters being passed to a specified callee.
3464
- fn bitcast_wasm_params<FE: FuncEnvironment + ?Sized>(
3465
- environ: &mut FE,
3466
- callee_signature: ir::SigRef,
3467
- arguments: &mut [Value],
3468
- builder: &mut FunctionBuilder,
3469
- ) {
3470
- let callee_signature = &builder.func.dfg.signatures[callee_signature];
3471
- let changes = bitcast_arguments(builder, arguments, &callee_signature.params, |i| {
3472
- environ.is_wasm_parameter(&callee_signature, i)
3473
- });
3474
- for (t, arg) in changes {
3475
- let mut flags = MemFlags::new();
3476
- flags.set_endianness(ir::Endianness::Little);
3477
- *arg = builder.ins().bitcast(t, flags, *arg);
3478
- }
3479
- }