wasmtime 15.0.1 → 16.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1212) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +83 -103
  3. data/ext/Cargo.toml +6 -6
  4. data/ext/cargo-vendor/cranelift-bforest-0.103.0/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cranelift-bforest-0.103.0/Cargo.toml +40 -0
  6. data/ext/cargo-vendor/cranelift-bforest-0.103.0/src/lib.rs +183 -0
  7. data/ext/cargo-vendor/cranelift-codegen-0.103.0/.cargo-checksum.json +1 -0
  8. data/ext/cargo-vendor/cranelift-codegen-0.103.0/Cargo.toml +175 -0
  9. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/binemit/mod.rs +171 -0
  10. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/cost.rs +171 -0
  11. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/elaborate.rs +750 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph.rs +703 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/dfg.rs +1735 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/pcc.rs +1682 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/aarch64/lower/isle.rs +874 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst/mod.rs +2041 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst.isle +2928 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/lower.isle +2864 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/s390x/lower/isle.rs +1029 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/lower/isle.rs +1064 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/pcc.rs +916 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isle_prelude.rs +977 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/lib.rs +106 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/machinst/isle.rs +896 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/arithmetic.isle +152 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/cprop.isle +237 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/icmp.isle +199 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/selects.isle +76 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts.rs +172 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/prelude.isle +649 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/timing.rs +297 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/unionfind.rs +75 -0
  33. data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/.cargo-checksum.json +1 -0
  34. data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/Cargo.toml +35 -0
  35. data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/.cargo-checksum.json +1 -0
  36. data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/Cargo.toml +22 -0
  37. data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/src/lib.rs +10 -0
  38. data/ext/cargo-vendor/cranelift-control-0.103.0/.cargo-checksum.json +1 -0
  39. data/ext/cargo-vendor/cranelift-control-0.103.0/Cargo.toml +30 -0
  40. data/ext/cargo-vendor/cranelift-entity-0.103.0/.cargo-checksum.json +1 -0
  41. data/ext/cargo-vendor/cranelift-entity-0.103.0/Cargo.toml +50 -0
  42. data/ext/cargo-vendor/cranelift-entity-0.103.0/src/lib.rs +317 -0
  43. data/ext/cargo-vendor/cranelift-entity-0.103.0/src/primary.rs +516 -0
  44. data/ext/cargo-vendor/cranelift-entity-0.103.0/src/unsigned.rs +71 -0
  45. data/ext/cargo-vendor/cranelift-frontend-0.103.0/.cargo-checksum.json +1 -0
  46. data/ext/cargo-vendor/cranelift-frontend-0.103.0/Cargo.toml +68 -0
  47. data/ext/cargo-vendor/cranelift-frontend-0.103.0/src/lib.rs +189 -0
  48. data/ext/cargo-vendor/cranelift-isle-0.103.0/.cargo-checksum.json +1 -0
  49. data/ext/cargo-vendor/cranelift-isle-0.103.0/Cargo.toml +46 -0
  50. data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_constructor_main.rs +88 -0
  51. data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_extractor_main.rs +63 -0
  52. data/ext/cargo-vendor/cranelift-isle-0.103.0/src/codegen.rs +886 -0
  53. data/ext/cargo-vendor/cranelift-native-0.103.0/.cargo-checksum.json +1 -0
  54. data/ext/cargo-vendor/cranelift-native-0.103.0/Cargo.toml +43 -0
  55. data/ext/cargo-vendor/cranelift-native-0.103.0/src/lib.rs +184 -0
  56. data/ext/cargo-vendor/cranelift-wasm-0.103.0/.cargo-checksum.json +1 -0
  57. data/ext/cargo-vendor/cranelift-wasm-0.103.0/Cargo.toml +106 -0
  58. data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/environ/dummy.rs +953 -0
  59. data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/lib.rs +62 -0
  60. data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/translation_utils.rs +89 -0
  61. data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/.cargo-checksum.json +1 -0
  62. data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/Cargo.toml +102 -0
  63. data/ext/cargo-vendor/wasi-common-16.0.0/.cargo-checksum.json +1 -0
  64. data/ext/cargo-vendor/wasi-common-16.0.0/Cargo.toml +131 -0
  65. data/ext/cargo-vendor/wasi-common-16.0.0/src/lib.rs +76 -0
  66. data/ext/cargo-vendor/wasi-common-16.0.0/src/snapshots/preview_1.rs +1492 -0
  67. data/ext/cargo-vendor/wasmtime-16.0.0/.cargo-checksum.json +1 -0
  68. data/ext/cargo-vendor/wasmtime-16.0.0/Cargo.toml +211 -0
  69. data/ext/cargo-vendor/wasmtime-16.0.0/src/compiler.rs +682 -0
  70. data/ext/cargo-vendor/wasmtime-16.0.0/src/component/component.rs +505 -0
  71. data/ext/cargo-vendor/wasmtime-16.0.0/src/component/func/typed.rs +2400 -0
  72. data/ext/cargo-vendor/wasmtime-16.0.0/src/config.rs +2422 -0
  73. data/ext/cargo-vendor/wasmtime-16.0.0/src/func.rs +2391 -0
  74. data/ext/cargo-vendor/wasmtime-16.0.0/src/lib.rs +520 -0
  75. data/ext/cargo-vendor/wasmtime-16.0.0/src/memory.rs +998 -0
  76. data/ext/cargo-vendor/wasmtime-16.0.0/src/module.rs +1370 -0
  77. data/ext/cargo-vendor/wasmtime-16.0.0/src/stack.rs +73 -0
  78. data/ext/cargo-vendor/wasmtime-16.0.0/src/v128.rs +122 -0
  79. data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/.cargo-checksum.json +1 -0
  80. data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/Cargo.toml +22 -0
  81. data/ext/cargo-vendor/wasmtime-cache-16.0.0/.cargo-checksum.json +1 -0
  82. data/ext/cargo-vendor/wasmtime-cache-16.0.0/Cargo.toml +81 -0
  83. data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/lib.rs +235 -0
  84. data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/worker.rs +890 -0
  85. data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/.cargo-checksum.json +1 -0
  86. data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/Cargo.toml +67 -0
  87. data/ext/cargo-vendor/wasmtime-component-util-16.0.0/.cargo-checksum.json +1 -0
  88. data/ext/cargo-vendor/wasmtime-component-util-16.0.0/Cargo.toml +25 -0
  89. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/.cargo-checksum.json +1 -0
  90. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/Cargo.toml +112 -0
  91. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler/component.rs +959 -0
  92. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler.rs +1317 -0
  93. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/expression.rs +1252 -0
  94. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/simulate.rs +410 -0
  95. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug.rs +18 -0
  96. data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/func_environ.rs +2750 -0
  97. data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/.cargo-checksum.json +1 -0
  98. data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/Cargo.toml +71 -0
  99. data/ext/cargo-vendor/wasmtime-environ-16.0.0/.cargo-checksum.json +1 -0
  100. data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.lock +660 -0
  101. data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.toml +125 -0
  102. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/compilation.rs +402 -0
  103. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/compiler.rs +47 -0
  104. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/translate.rs +951 -0
  105. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/types.rs +1876 -0
  106. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/lib.rs +59 -0
  107. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module.rs +1075 -0
  108. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_environ.rs +892 -0
  109. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_types.rs +120 -0
  110. data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/scopevec.rs +78 -0
  111. data/ext/cargo-vendor/wasmtime-fiber-16.0.0/.cargo-checksum.json +1 -0
  112. data/ext/cargo-vendor/wasmtime-fiber-16.0.0/Cargo.toml +63 -0
  113. data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/lib.rs +328 -0
  114. data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/unix.rs +265 -0
  115. data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/windows.c +9 -0
  116. data/ext/cargo-vendor/wasmtime-jit-16.0.0/.cargo-checksum.json +1 -0
  117. data/ext/cargo-vendor/wasmtime-jit-16.0.0/Cargo.toml +125 -0
  118. data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/code_memory.rs +319 -0
  119. data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/instantiate.rs +772 -0
  120. data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/lib.rs +21 -0
  121. data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/.cargo-checksum.json +1 -0
  122. data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/Cargo.toml +67 -0
  123. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/.cargo-checksum.json +1 -0
  124. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/Cargo.toml +46 -0
  125. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/.cargo-checksum.json +1 -0
  126. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/Cargo.toml +139 -0
  127. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/build.rs +28 -0
  128. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/proptest-regressions/instance/allocator/pooling/memory_pool.txt +9 -0
  129. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/aarch64.rs +120 -0
  130. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/mod.rs +32 -0
  131. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/riscv64.rs +88 -0
  132. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/s390x.rs +61 -0
  133. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/x86_64.rs +106 -0
  134. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/cow.rs +888 -0
  135. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/helpers.c +113 -0
  136. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/memory_pool.rs +1005 -0
  137. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/stack_pool.rs +242 -0
  138. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/table_pool.rs +227 -0
  139. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling.rs +698 -0
  140. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/lib.rs +264 -0
  141. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/libcalls.rs +776 -0
  142. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mmap.rs +214 -0
  143. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/enabled.rs +204 -0
  144. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/pkru.rs +102 -0
  145. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/mod.rs +10 -0
  146. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/traphandlers.rs +42 -0
  147. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/unwind.rs +17 -0
  148. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/vm.rs +63 -0
  149. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/mod.rs +30 -0
  150. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/machports.rs +487 -0
  151. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/macos_traphandlers.rs +28 -0
  152. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/mod.rs +21 -0
  153. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/signals.rs +402 -0
  154. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/unwind.rs +91 -0
  155. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/vm.rs +208 -0
  156. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/mod.rs +6 -0
  157. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/traphandlers.rs +105 -0
  158. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/unwind.rs +46 -0
  159. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/vm.rs +79 -0
  160. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers/backtrace.rs +265 -0
  161. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers.rs +733 -0
  162. data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/vmcontext.rs +1197 -0
  163. data/ext/cargo-vendor/wasmtime-types-16.0.0/.cargo-checksum.json +1 -0
  164. data/ext/cargo-vendor/wasmtime-types-16.0.0/Cargo.toml +36 -0
  165. data/ext/cargo-vendor/wasmtime-types-16.0.0/src/lib.rs +504 -0
  166. data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/.cargo-checksum.json +1 -0
  167. data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/Cargo.toml +32 -0
  168. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/.cargo-checksum.json +1 -0
  169. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/Cargo.toml +261 -0
  170. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/lib.rs +137 -0
  171. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/io.rs +368 -0
  172. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/network.rs +570 -0
  173. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/tcp.rs +632 -0
  174. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/udp.rs +550 -0
  175. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/mod.rs +328 -0
  176. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview0.rs +870 -0
  177. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview1.rs +2348 -0
  178. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stdio.rs +259 -0
  179. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stream.rs +182 -0
  180. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/table.rs +337 -0
  181. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/api.rs +218 -0
  182. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/async_.rs +360 -0
  183. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/main.rs +113 -0
  184. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/preview1.rs +239 -0
  185. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/sync.rs +299 -0
  186. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/process_stdin.rs +165 -0
  187. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/command-extended.wit +6 -0
  188. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/command.wit +7 -0
  189. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/imports.wit +20 -0
  190. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/proxy.wit +32 -0
  191. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/types.wit +570 -0
  192. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/test.wit +22 -0
  193. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/typenames.witx +746 -0
  194. data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/wasi_unstable.witx +513 -0
  195. data/ext/cargo-vendor/wasmtime-winch-16.0.0/.cargo-checksum.json +1 -0
  196. data/ext/cargo-vendor/wasmtime-winch-16.0.0/Cargo.toml +77 -0
  197. data/ext/cargo-vendor/wasmtime-winch-16.0.0/src/compiler.rs +243 -0
  198. data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/.cargo-checksum.json +1 -0
  199. data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/Cargo.toml +41 -0
  200. data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/.cargo-checksum.json +1 -0
  201. data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/Cargo.toml +29 -0
  202. data/ext/cargo-vendor/wiggle-16.0.0/.cargo-checksum.json +1 -0
  203. data/ext/cargo-vendor/wiggle-16.0.0/Cargo.toml +115 -0
  204. data/ext/cargo-vendor/wiggle-16.0.0/src/lib.rs +1198 -0
  205. data/ext/cargo-vendor/wiggle-generate-16.0.0/.cargo-checksum.json +1 -0
  206. data/ext/cargo-vendor/wiggle-generate-16.0.0/Cargo.toml +65 -0
  207. data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/handle.rs +84 -0
  208. data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/record.rs +132 -0
  209. data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/variant.rs +191 -0
  210. data/ext/cargo-vendor/wiggle-macro-16.0.0/.cargo-checksum.json +1 -0
  211. data/ext/cargo-vendor/wiggle-macro-16.0.0/Cargo.toml +55 -0
  212. data/ext/cargo-vendor/winch-codegen-0.14.0/.cargo-checksum.json +1 -0
  213. data/ext/cargo-vendor/winch-codegen-0.14.0/Cargo.toml +76 -0
  214. data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/local.rs +81 -0
  215. data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/mod.rs +614 -0
  216. data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/call.rs +345 -0
  217. data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/context.rs +545 -0
  218. data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/control.rs +497 -0
  219. data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/env.rs +251 -0
  220. data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/mod.rs +428 -0
  221. data/ext/cargo-vendor/winch-codegen-0.14.0/src/frame/mod.rs +221 -0
  222. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/abi.rs +313 -0
  223. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/masm.rs +444 -0
  224. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/mod.rs +137 -0
  225. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/mod.rs +225 -0
  226. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/abi.rs +524 -0
  227. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/asm.rs +1117 -0
  228. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/masm.rs +994 -0
  229. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/mod.rs +172 -0
  230. data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/regs.rs +247 -0
  231. data/ext/cargo-vendor/winch-codegen-0.14.0/src/masm.rs +679 -0
  232. data/ext/cargo-vendor/winch-codegen-0.14.0/src/stack.rs +436 -0
  233. data/ext/cargo-vendor/winch-codegen-0.14.0/src/trampoline.rs +734 -0
  234. data/ext/cargo-vendor/winch-codegen-0.14.0/src/visitor.rs +1383 -0
  235. data/lib/wasmtime/version.rb +1 -1
  236. metadata +903 -977
  237. data/ext/cargo-vendor/cranelift-bforest-0.102.1/.cargo-checksum.json +0 -1
  238. data/ext/cargo-vendor/cranelift-bforest-0.102.1/Cargo.toml +0 -31
  239. data/ext/cargo-vendor/cranelift-bforest-0.102.1/src/lib.rs +0 -184
  240. data/ext/cargo-vendor/cranelift-codegen-0.102.1/.cargo-checksum.json +0 -1
  241. data/ext/cargo-vendor/cranelift-codegen-0.102.1/Cargo.toml +0 -164
  242. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/binemit/mod.rs +0 -171
  243. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/cost.rs +0 -91
  244. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/elaborate.rs +0 -731
  245. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph.rs +0 -678
  246. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/dfg.rs +0 -1730
  247. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/pcc.rs +0 -1682
  248. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/aarch64/lower/isle.rs +0 -875
  249. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst/mod.rs +0 -2041
  250. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst.isle +0 -2909
  251. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/lower.isle +0 -2860
  252. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/s390x/lower/isle.rs +0 -1029
  253. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/lower/isle.rs +0 -1070
  254. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/pcc.rs +0 -884
  255. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isle_prelude.rs +0 -972
  256. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/lib.rs +0 -108
  257. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/machinst/isle.rs +0 -897
  258. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/arithmetic.isle +0 -128
  259. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/cprop.isle +0 -210
  260. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/icmp.isle +0 -177
  261. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/selects.isle +0 -59
  262. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts.rs +0 -138
  263. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/prelude.isle +0 -646
  264. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/timing.rs +0 -271
  265. data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/unionfind.rs +0 -74
  266. data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/.cargo-checksum.json +0 -1
  267. data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/Cargo.toml +0 -26
  268. data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/.cargo-checksum.json +0 -1
  269. data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/Cargo.toml +0 -22
  270. data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/src/lib.rs +0 -12
  271. data/ext/cargo-vendor/cranelift-control-0.102.1/.cargo-checksum.json +0 -1
  272. data/ext/cargo-vendor/cranelift-control-0.102.1/Cargo.toml +0 -30
  273. data/ext/cargo-vendor/cranelift-entity-0.102.1/.cargo-checksum.json +0 -1
  274. data/ext/cargo-vendor/cranelift-entity-0.102.1/Cargo.toml +0 -41
  275. data/ext/cargo-vendor/cranelift-entity-0.102.1/src/lib.rs +0 -316
  276. data/ext/cargo-vendor/cranelift-entity-0.102.1/src/primary.rs +0 -456
  277. data/ext/cargo-vendor/cranelift-frontend-0.102.1/.cargo-checksum.json +0 -1
  278. data/ext/cargo-vendor/cranelift-frontend-0.102.1/Cargo.toml +0 -59
  279. data/ext/cargo-vendor/cranelift-frontend-0.102.1/src/lib.rs +0 -191
  280. data/ext/cargo-vendor/cranelift-isle-0.102.1/.cargo-checksum.json +0 -1
  281. data/ext/cargo-vendor/cranelift-isle-0.102.1/Cargo.toml +0 -37
  282. data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_constructor_main.rs +0 -71
  283. data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_extractor_main.rs +0 -50
  284. data/ext/cargo-vendor/cranelift-isle-0.102.1/src/codegen.rs +0 -763
  285. data/ext/cargo-vendor/cranelift-native-0.102.1/.cargo-checksum.json +0 -1
  286. data/ext/cargo-vendor/cranelift-native-0.102.1/Cargo.toml +0 -43
  287. data/ext/cargo-vendor/cranelift-native-0.102.1/src/lib.rs +0 -190
  288. data/ext/cargo-vendor/cranelift-wasm-0.102.1/.cargo-checksum.json +0 -1
  289. data/ext/cargo-vendor/cranelift-wasm-0.102.1/Cargo.toml +0 -97
  290. data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/environ/dummy.rs +0 -953
  291. data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/lib.rs +0 -64
  292. data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/translation_utils.rs +0 -97
  293. data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/.cargo-checksum.json +0 -1
  294. data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/Cargo.toml +0 -93
  295. data/ext/cargo-vendor/wasi-common-15.0.1/.cargo-checksum.json +0 -1
  296. data/ext/cargo-vendor/wasi-common-15.0.1/Cargo.toml +0 -122
  297. data/ext/cargo-vendor/wasi-common-15.0.1/src/lib.rs +0 -73
  298. data/ext/cargo-vendor/wasi-common-15.0.1/src/snapshots/preview_1.rs +0 -1490
  299. data/ext/cargo-vendor/wasm-encoder-0.36.2/.cargo-checksum.json +0 -1
  300. data/ext/cargo-vendor/wasm-encoder-0.36.2/Cargo.toml +0 -37
  301. data/ext/cargo-vendor/wasm-encoder-0.36.2/README.md +0 -80
  302. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/aliases.rs +0 -160
  303. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/builder.rs +0 -455
  304. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/canonicals.rs +0 -159
  305. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/components.rs +0 -29
  306. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/exports.rs +0 -124
  307. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/imports.rs +0 -175
  308. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/instances.rs +0 -200
  309. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/modules.rs +0 -29
  310. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/names.rs +0 -149
  311. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/start.rs +0 -52
  312. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/types.rs +0 -771
  313. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component.rs +0 -168
  314. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/code.rs +0 -2989
  315. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/custom.rs +0 -73
  316. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/data.rs +0 -185
  317. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/dump.rs +0 -627
  318. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/elements.rs +0 -220
  319. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/exports.rs +0 -98
  320. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/functions.rs +0 -63
  321. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/globals.rs +0 -100
  322. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/imports.rs +0 -155
  323. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/linking.rs +0 -263
  324. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/memories.rs +0 -111
  325. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/names.rs +0 -265
  326. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/producers.rs +0 -180
  327. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/start.rs +0 -39
  328. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tables.rs +0 -115
  329. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tags.rs +0 -104
  330. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/types.rs +0 -584
  331. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core.rs +0 -168
  332. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/lib.rs +0 -215
  333. data/ext/cargo-vendor/wasm-encoder-0.36.2/src/raw.rs +0 -30
  334. data/ext/cargo-vendor/wasmparser-0.116.1/.cargo-checksum.json +0 -1
  335. data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.lock +0 -674
  336. data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.toml +0 -60
  337. data/ext/cargo-vendor/wasmparser-0.116.1/README.md +0 -36
  338. data/ext/cargo-vendor/wasmparser-0.116.1/benches/benchmark.rs +0 -370
  339. data/ext/cargo-vendor/wasmparser-0.116.1/examples/simple.rs +0 -37
  340. data/ext/cargo-vendor/wasmparser-0.116.1/src/binary_reader.rs +0 -1706
  341. data/ext/cargo-vendor/wasmparser-0.116.1/src/define_types.rs +0 -782
  342. data/ext/cargo-vendor/wasmparser-0.116.1/src/lib.rs +0 -729
  343. data/ext/cargo-vendor/wasmparser-0.116.1/src/limits.rs +0 -58
  344. data/ext/cargo-vendor/wasmparser-0.116.1/src/parser.rs +0 -1612
  345. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/aliases.rs +0 -119
  346. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/canonicals.rs +0 -120
  347. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/exports.rs +0 -135
  348. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/imports.rs +0 -129
  349. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/instances.rs +0 -163
  350. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/names.rs +0 -102
  351. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/start.rs +0 -30
  352. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/types.rs +0 -549
  353. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component.rs +0 -17
  354. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/code.rs +0 -146
  355. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/coredumps.rs +0 -243
  356. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/custom.rs +0 -63
  357. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/data.rs +0 -96
  358. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/dylink0.rs +0 -132
  359. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/elements.rs +0 -152
  360. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/exports.rs +0 -65
  361. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/functions.rs +0 -17
  362. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/globals.rs +0 -49
  363. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/imports.rs +0 -76
  364. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/init.rs +0 -51
  365. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/memories.rs +0 -56
  366. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/names.rs +0 -153
  367. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/operators.rs +0 -354
  368. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/producers.rs +0 -83
  369. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tables.rs +0 -87
  370. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tags.rs +0 -32
  371. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/types.rs +0 -544
  372. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core.rs +0 -37
  373. data/ext/cargo-vendor/wasmparser-0.116.1/src/readers.rs +0 -316
  374. data/ext/cargo-vendor/wasmparser-0.116.1/src/resources.rs +0 -398
  375. data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/component.rs +0 -3203
  376. data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/core.rs +0 -1341
  377. data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/func.rs +0 -348
  378. data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/names.rs +0 -859
  379. data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/operators.rs +0 -3466
  380. data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/types.rs +0 -4011
  381. data/ext/cargo-vendor/wasmparser-0.116.1/src/validator.rs +0 -1603
  382. data/ext/cargo-vendor/wasmparser-0.116.1/tests/big-module.rs +0 -33
  383. data/ext/cargo-vendor/wasmtime-15.0.1/.cargo-checksum.json +0 -1
  384. data/ext/cargo-vendor/wasmtime-15.0.1/Cargo.toml +0 -202
  385. data/ext/cargo-vendor/wasmtime-15.0.1/src/compiler.rs +0 -682
  386. data/ext/cargo-vendor/wasmtime-15.0.1/src/component/component.rs +0 -505
  387. data/ext/cargo-vendor/wasmtime-15.0.1/src/component/func/typed.rs +0 -2398
  388. data/ext/cargo-vendor/wasmtime-15.0.1/src/config.rs +0 -2422
  389. data/ext/cargo-vendor/wasmtime-15.0.1/src/func.rs +0 -2428
  390. data/ext/cargo-vendor/wasmtime-15.0.1/src/lib.rs +0 -518
  391. data/ext/cargo-vendor/wasmtime-15.0.1/src/memory.rs +0 -996
  392. data/ext/cargo-vendor/wasmtime-15.0.1/src/module.rs +0 -1370
  393. data/ext/cargo-vendor/wasmtime-15.0.1/src/stack.rs +0 -73
  394. data/ext/cargo-vendor/wasmtime-15.0.1/src/v128.rs +0 -151
  395. data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/.cargo-checksum.json +0 -1
  396. data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/Cargo.toml +0 -22
  397. data/ext/cargo-vendor/wasmtime-cache-15.0.1/.cargo-checksum.json +0 -1
  398. data/ext/cargo-vendor/wasmtime-cache-15.0.1/Cargo.toml +0 -72
  399. data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/lib.rs +0 -238
  400. data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/worker.rs +0 -894
  401. data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/.cargo-checksum.json +0 -1
  402. data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/Cargo.toml +0 -58
  403. data/ext/cargo-vendor/wasmtime-component-util-15.0.1/.cargo-checksum.json +0 -1
  404. data/ext/cargo-vendor/wasmtime-component-util-15.0.1/Cargo.toml +0 -25
  405. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/.cargo-checksum.json +0 -1
  406. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/Cargo.toml +0 -103
  407. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler/component.rs +0 -959
  408. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler.rs +0 -1317
  409. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/expression.rs +0 -1250
  410. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/simulate.rs +0 -410
  411. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug.rs +0 -18
  412. data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/func_environ.rs +0 -2746
  413. data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/.cargo-checksum.json +0 -1
  414. data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/Cargo.toml +0 -62
  415. data/ext/cargo-vendor/wasmtime-environ-15.0.1/.cargo-checksum.json +0 -1
  416. data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.lock +0 -677
  417. data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.toml +0 -116
  418. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/compilation.rs +0 -402
  419. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/compiler.rs +0 -47
  420. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/translate.rs +0 -951
  421. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/types.rs +0 -1870
  422. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/lib.rs +0 -59
  423. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module.rs +0 -1083
  424. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_environ.rs +0 -876
  425. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_types.rs +0 -78
  426. data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/scopevec.rs +0 -57
  427. data/ext/cargo-vendor/wasmtime-fiber-15.0.1/.cargo-checksum.json +0 -1
  428. data/ext/cargo-vendor/wasmtime-fiber-15.0.1/Cargo.toml +0 -54
  429. data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/lib.rs +0 -327
  430. data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/unix.rs +0 -265
  431. data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/windows.c +0 -9
  432. data/ext/cargo-vendor/wasmtime-jit-15.0.1/.cargo-checksum.json +0 -1
  433. data/ext/cargo-vendor/wasmtime-jit-15.0.1/Cargo.toml +0 -115
  434. data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/code_memory.rs +0 -321
  435. data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/instantiate.rs +0 -766
  436. data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/lib.rs +0 -22
  437. data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/miri.rs +0 -15
  438. data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/systemv.rs +0 -90
  439. data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/winx64.rs +0 -44
  440. data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind.rs +0 -14
  441. data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/.cargo-checksum.json +0 -1
  442. data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/Cargo.toml +0 -58
  443. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/.cargo-checksum.json +0 -1
  444. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/Cargo.toml +0 -37
  445. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/.cargo-checksum.json +0 -1
  446. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/Cargo.toml +0 -126
  447. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/build.rs +0 -19
  448. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -8
  449. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/cow.rs +0 -1060
  450. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/helpers.c +0 -108
  451. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/memory_pool.rs +0 -999
  452. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/stack_pool.rs +0 -242
  453. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/table_pool.rs +0 -225
  454. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/unix.rs +0 -56
  455. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/windows.rs +0 -38
  456. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling.rs +0 -708
  457. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/lib.rs +0 -279
  458. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/libcalls.rs +0 -775
  459. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mmap.rs +0 -226
  460. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/enabled.rs +0 -201
  461. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/pkru.rs +0 -93
  462. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/aarch64.rs +0 -42
  463. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/riscv64.rs +0 -45
  464. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/s390x.rs +0 -25
  465. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/x86_64.rs +0 -64
  466. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines.rs +0 -19
  467. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/aarch64.rs +0 -55
  468. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/riscv64.rs +0 -18
  469. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/s390x.rs +0 -22
  470. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/x86_64.rs +0 -20
  471. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace.rs +0 -291
  472. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/macos.rs +0 -492
  473. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/unix.rs +0 -402
  474. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/windows.rs +0 -89
  475. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers.rs +0 -815
  476. data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/vmcontext.rs +0 -1197
  477. data/ext/cargo-vendor/wasmtime-types-15.0.1/.cargo-checksum.json +0 -1
  478. data/ext/cargo-vendor/wasmtime-types-15.0.1/Cargo.toml +0 -36
  479. data/ext/cargo-vendor/wasmtime-types-15.0.1/src/lib.rs +0 -504
  480. data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/.cargo-checksum.json +0 -1
  481. data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/Cargo.toml +0 -32
  482. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/.cargo-checksum.json +0 -1
  483. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/Cargo.toml +0 -248
  484. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/lib.rs +0 -135
  485. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/io.rs +0 -368
  486. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/network.rs +0 -515
  487. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/tcp.rs +0 -630
  488. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/udp.rs +0 -543
  489. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/mod.rs +0 -326
  490. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/preview1.rs +0 -2342
  491. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stdio.rs +0 -450
  492. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stream.rs +0 -182
  493. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/table.rs +0 -258
  494. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/command-extended.wit +0 -6
  495. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/command.wit +0 -7
  496. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/reactor.wit +0 -31
  497. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/proxy.wit +0 -33
  498. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/types.wit +0 -559
  499. data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/test.wit +0 -22
  500. data/ext/cargo-vendor/wasmtime-winch-15.0.1/.cargo-checksum.json +0 -1
  501. data/ext/cargo-vendor/wasmtime-winch-15.0.1/Cargo.toml +0 -68
  502. data/ext/cargo-vendor/wasmtime-winch-15.0.1/src/compiler.rs +0 -242
  503. data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/.cargo-checksum.json +0 -1
  504. data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/Cargo.toml +0 -32
  505. data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/.cargo-checksum.json +0 -1
  506. data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/Cargo.toml +0 -22
  507. data/ext/cargo-vendor/wiggle-15.0.1/.cargo-checksum.json +0 -1
  508. data/ext/cargo-vendor/wiggle-15.0.1/Cargo.toml +0 -106
  509. data/ext/cargo-vendor/wiggle-15.0.1/src/lib.rs +0 -1198
  510. data/ext/cargo-vendor/wiggle-generate-15.0.1/.cargo-checksum.json +0 -1
  511. data/ext/cargo-vendor/wiggle-generate-15.0.1/Cargo.toml +0 -58
  512. data/ext/cargo-vendor/wiggle-generate-15.0.1/LICENSE +0 -220
  513. data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/handle.rs +0 -84
  514. data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/record.rs +0 -132
  515. data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/variant.rs +0 -191
  516. data/ext/cargo-vendor/wiggle-macro-15.0.1/.cargo-checksum.json +0 -1
  517. data/ext/cargo-vendor/wiggle-macro-15.0.1/Cargo.toml +0 -55
  518. data/ext/cargo-vendor/wiggle-macro-15.0.1/LICENSE +0 -220
  519. data/ext/cargo-vendor/winch-codegen-0.13.1/.cargo-checksum.json +0 -1
  520. data/ext/cargo-vendor/winch-codegen-0.13.1/Cargo.toml +0 -67
  521. data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/local.rs +0 -70
  522. data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/mod.rs +0 -304
  523. data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/call.rs +0 -353
  524. data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/context.rs +0 -465
  525. data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/control.rs +0 -456
  526. data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/env.rs +0 -181
  527. data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/mod.rs +0 -436
  528. data/ext/cargo-vendor/winch-codegen-0.13.1/src/frame/mod.rs +0 -189
  529. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/abi.rs +0 -267
  530. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/masm.rs +0 -436
  531. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/mod.rs +0 -136
  532. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/mod.rs +0 -218
  533. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/abi.rs +0 -410
  534. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/asm.rs +0 -1106
  535. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/masm.rs +0 -953
  536. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/mod.rs +0 -172
  537. data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/regs.rs +0 -247
  538. data/ext/cargo-vendor/winch-codegen-0.13.1/src/masm.rs +0 -592
  539. data/ext/cargo-vendor/winch-codegen-0.13.1/src/stack.rs +0 -366
  540. data/ext/cargo-vendor/winch-codegen-0.13.1/src/trampoline.rs +0 -489
  541. data/ext/cargo-vendor/winch-codegen-0.13.1/src/visitor.rs +0 -1339
  542. /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/LICENSE +0 -0
  543. /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/README.md +0 -0
  544. /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/map.rs +0 -0
  545. /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/node.rs +0 -0
  546. /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/path.rs +0 -0
  547. /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/pool.rs +0 -0
  548. /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/set.rs +0 -0
  549. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/LICENSE +0 -0
  550. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/README.md +0 -0
  551. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/benches/x64-evex-encoding.rs +0 -0
  552. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/build.rs +0 -0
  553. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/alias_analysis.rs +0 -0
  554. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/binemit/stack_map.rs +0 -0
  555. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/bitset.rs +0 -0
  556. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cfg_printer.rs +0 -0
  557. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/constant_hash.rs +0 -0
  558. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/context.rs +0 -0
  559. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ctxhash.rs +0 -0
  560. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cursor.rs +0 -0
  561. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/data_value.rs +0 -0
  562. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dbg.rs +0 -0
  563. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dce.rs +0 -0
  564. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dominator_tree.rs +0 -0
  565. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/egraph/domtree.rs +0 -0
  566. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/flowgraph.rs +0 -0
  567. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/fx.rs +0 -0
  568. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/incremental_cache.rs +0 -0
  569. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/inst_predicates.rs +0 -0
  570. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/atomic_rmw_op.rs +0 -0
  571. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/builder.rs +0 -0
  572. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/condcodes.rs +0 -0
  573. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/constant.rs +0 -0
  574. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/dynamic_type.rs +0 -0
  575. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/entities.rs +0 -0
  576. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extfunc.rs +0 -0
  577. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extname.rs +0 -0
  578. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/function.rs +0 -0
  579. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/globalvalue.rs +0 -0
  580. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/immediates.rs +0 -0
  581. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/instructions.rs +0 -0
  582. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/jumptable.rs +0 -0
  583. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/known_symbol.rs +0 -0
  584. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/layout.rs +0 -0
  585. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/libcall.rs +0 -0
  586. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memflags.rs +0 -0
  587. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memtype.rs +0 -0
  588. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/mod.rs +0 -0
  589. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/progpoint.rs +0 -0
  590. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/sourceloc.rs +0 -0
  591. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/stackslot.rs +0 -0
  592. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/table.rs +0 -0
  593. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/trapcode.rs +0 -0
  594. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/types.rs +0 -0
  595. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/abi.rs +0 -0
  596. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/args.rs +0 -0
  597. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit.rs +0 -0
  598. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit_tests.rs +0 -0
  599. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/imms.rs +0 -0
  600. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/mod.rs +0 -0
  601. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/regs.rs +0 -0
  602. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  603. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind.rs +0 -0
  604. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst.isle +0 -0
  605. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst_neon.isle +0 -0
  606. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  607. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.isle +0 -0
  608. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.rs +0 -0
  609. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  610. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/mod.rs +0 -0
  611. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/pcc.rs +0 -0
  612. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/settings.rs +0 -0
  613. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/call_conv.rs +0 -0
  614. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/mod.rs +0 -0
  615. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/abi.rs +0 -0
  616. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/args.rs +0 -0
  617. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit.rs +0 -0
  618. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit_tests.rs +0 -0
  619. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/encode.rs +0 -0
  620. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/imms.rs +0 -0
  621. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/regs.rs +0 -0
  622. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  623. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind.rs +0 -0
  624. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/vector.rs +0 -0
  625. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst_vector.isle +0 -0
  626. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  627. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle.rs +0 -0
  628. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower.rs +0 -0
  629. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/mod.rs +0 -0
  630. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/settings.rs +0 -0
  631. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/abi.rs +0 -0
  632. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/args.rs +0 -0
  633. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit.rs +0 -0
  634. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit_tests.rs +0 -0
  635. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/imms.rs +0 -0
  636. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/mod.rs +0 -0
  637. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/regs.rs +0 -0
  638. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  639. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind.rs +0 -0
  640. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst.isle +0 -0
  641. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  642. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.isle +0 -0
  643. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.rs +0 -0
  644. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/mod.rs +0 -0
  645. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/settings.rs +0 -0
  646. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/systemv.rs +0 -0
  647. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/winx64.rs +0 -0
  648. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind.rs +0 -0
  649. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/abi.rs +0 -0
  650. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/evex.rs +0 -0
  651. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/mod.rs +0 -0
  652. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/rex.rs +0 -0
  653. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/vex.rs +0 -0
  654. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/args.rs +0 -0
  655. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit.rs +0 -0
  656. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_state.rs +0 -0
  657. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_tests.rs +0 -0
  658. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/mod.rs +0 -0
  659. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/regs.rs +0 -0
  660. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  661. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  662. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind.rs +0 -0
  663. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst.isle +0 -0
  664. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  665. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.isle +0 -0
  666. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.rs +0 -0
  667. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/mod.rs +0 -0
  668. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/settings.rs +0 -0
  669. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/iterators.rs +0 -0
  670. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/globalvalue.rs +0 -0
  671. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/mod.rs +0 -0
  672. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/table.rs +0 -0
  673. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/loop_analysis.rs +0 -0
  674. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/abi.rs +0 -0
  675. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/blockorder.rs +0 -0
  676. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/buffer.rs +0 -0
  677. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/compile.rs +0 -0
  678. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/helpers.rs +0 -0
  679. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/inst_common.rs +0 -0
  680. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/lower.rs +0 -0
  681. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/mod.rs +0 -0
  682. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/pcc.rs +0 -0
  683. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/reg.rs +0 -0
  684. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/valueregs.rs +0 -0
  685. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/vcode.rs +0 -0
  686. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/nan_canonicalization.rs +0 -0
  687. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/README.md +0 -0
  688. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/bitops.isle +0 -0
  689. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/extends.isle +0 -0
  690. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/generated_code.rs +0 -0
  691. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/remat.isle +0 -0
  692. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/shifts.isle +0 -0
  693. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/vector.isle +0 -0
  694. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_lower.isle +0 -0
  695. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_opt.isle +0 -0
  696. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/print_errors.rs +0 -0
  697. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/remove_constant_phis.rs +0 -0
  698. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/result.rs +0 -0
  699. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/scoped_hash_map.rs +0 -0
  700. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/settings.rs +0 -0
  701. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/souper_harvest.rs +0 -0
  702. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/unreachable_code.rs +0 -0
  703. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/value_label.rs +0 -0
  704. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/verifier/mod.rs +0 -0
  705. /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/write.rs +0 -0
  706. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/LICENSE +0 -0
  707. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/README.md +0 -0
  708. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/formats.rs +0 -0
  709. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/instructions.rs +0 -0
  710. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/isa.rs +0 -0
  711. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/mod.rs +0 -0
  712. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/operands.rs +0 -0
  713. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/settings.rs +0 -0
  714. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/types.rs +0 -0
  715. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/typevar.rs +0 -0
  716. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/constant_hash.rs +0 -0
  717. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/error.rs +0 -0
  718. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_inst.rs +0 -0
  719. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_settings.rs +0 -0
  720. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_types.rs +0 -0
  721. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/arm64.rs +0 -0
  722. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/mod.rs +0 -0
  723. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/riscv64.rs +0 -0
  724. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/s390x.rs +0 -0
  725. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/x86.rs +0 -0
  726. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/lib.rs +0 -0
  727. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/entities.rs +0 -0
  728. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/formats.rs +0 -0
  729. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/immediates.rs +0 -0
  730. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/instructions.rs +0 -0
  731. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/mod.rs +0 -0
  732. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/settings.rs +0 -0
  733. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/types.rs +0 -0
  734. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/srcgen.rs +0 -0
  735. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/unique_table.rs +0 -0
  736. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/LICENSE +0 -0
  737. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/README.md +0 -0
  738. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constant_hash.rs +0 -0
  739. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constants.rs +0 -0
  740. /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/LICENSE +0 -0
  741. /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/README.md +0 -0
  742. /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/chaos.rs +0 -0
  743. /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/lib.rs +0 -0
  744. /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/zero_sized.rs +0 -0
  745. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/LICENSE +0 -0
  746. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/README.md +0 -0
  747. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/boxed_slice.rs +0 -0
  748. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/iter.rs +0 -0
  749. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/keys.rs +0 -0
  750. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/list.rs +0 -0
  751. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/map.rs +0 -0
  752. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/packed_option.rs +0 -0
  753. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/set.rs +0 -0
  754. /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/sparse.rs +0 -0
  755. /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/LICENSE +0 -0
  756. /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/README.md +0 -0
  757. /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/frontend.rs +0 -0
  758. /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/ssa.rs +0 -0
  759. /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/switch.rs +0 -0
  760. /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/variable.rs +0 -0
  761. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/README.md +0 -0
  762. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/build.rs +0 -0
  763. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bad_converters.isle +0 -0
  764. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  765. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  766. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/error1.isle +0 -0
  767. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/extra_parens.isle +0 -0
  768. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_expression.isle +0 -0
  769. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_rhs.isle +0 -0
  770. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
  771. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_prio.isle +0 -0
  772. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows.isle +0 -0
  773. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows_main.rs +0 -0
  774. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets.isle +0 -0
  775. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets_main.rs +0 -0
  776. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_constructor.isle +0 -0
  777. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_extractor.isle +0 -0
  778. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test.isle +0 -0
  779. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test_main.rs +0 -0
  780. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/bound_var.isle +0 -0
  781. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/construct_and_extract.isle +0 -0
  782. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions.isle +0 -0
  783. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions_extern.isle +0 -0
  784. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/let.isle +0 -0
  785. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/nodebug.isle +0 -0
  786. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
  787. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test2.isle +0 -0
  788. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test3.isle +0 -0
  789. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test4.isle +0 -0
  790. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/tutorial.isle +0 -0
  791. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst.isle +0 -0
  792. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst_main.rs +0 -0
  793. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing.isle +0 -0
  794. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing_main.rs +0 -0
  795. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/ast.rs +0 -0
  796. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/compile.rs +0 -0
  797. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/error.rs +0 -0
  798. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lexer.rs +0 -0
  799. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lib.rs +0 -0
  800. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/log.rs +0 -0
  801. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/overlap.rs +0 -0
  802. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/parser.rs +0 -0
  803. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/sema.rs +0 -0
  804. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/serialize.rs +0 -0
  805. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/trie_again.rs +0 -0
  806. /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/tests/run_tests.rs +0 -0
  807. /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/LICENSE +0 -0
  808. /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/README.md +0 -0
  809. /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/src/riscv.rs +0 -0
  810. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/LICENSE +0 -0
  811. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/README.md +0 -0
  812. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator/bounds_checks.rs +0 -0
  813. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator.rs +0 -0
  814. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/mod.rs +0 -0
  815. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/spec.rs +0 -0
  816. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/func_translator.rs +0 -0
  817. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/heap.rs +0 -0
  818. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/module_translator.rs +0 -0
  819. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/sections_translator.rs +0 -0
  820. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/state.rs +0 -0
  821. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/tests/wasm_testsuite.rs +0 -0
  822. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/arith.wat +0 -0
  823. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/br_table.wat +0 -0
  824. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call-simd.wat +0 -0
  825. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call.wat +0 -0
  826. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fannkuch.wat +0 -0
  827. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fasta.wat +0 -0
  828. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_ifs.wat +0 -0
  829. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_primes.wat +0 -0
  830. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fac-multi-value.wat +0 -0
  831. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fibonacci.wat +0 -0
  832. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/globals.wat +0 -0
  833. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall-simd.wat +0 -0
  834. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall.wat +0 -0
  835. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-0.wat +0 -0
  836. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-1.wat +0 -0
  837. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-2.wat +0 -0
  838. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-3.wat +0 -0
  839. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-4.wat +0 -0
  840. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-5.wat +0 -0
  841. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-6.wat +0 -0
  842. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params-2.wat +0 -0
  843. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params.wat +0 -0
  844. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
  845. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/memory.wat +0 -0
  846. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-0.wat +0 -0
  847. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-1.wat +0 -0
  848. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-10.wat +0 -0
  849. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-11.wat +0 -0
  850. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-12.wat +0 -0
  851. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-13.wat +0 -0
  852. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-14.wat +0 -0
  853. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-15.wat +0 -0
  854. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-16.wat +0 -0
  855. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-17.wat +0 -0
  856. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-2.wat +0 -0
  857. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-3.wat +0 -0
  858. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-4.wat +0 -0
  859. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-5.wat +0 -0
  860. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-6.wat +0 -0
  861. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-7.wat +0 -0
  862. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-8.wat +0 -0
  863. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-9.wat +0 -0
  864. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/nullref.wat +0 -0
  865. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/passive-data.wat +0 -0
  866. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2303.wat +0 -0
  867. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2559.wat +0 -0
  868. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/ref-func-0.wat +0 -0
  869. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/rust_fannkuch.wat +0 -0
  870. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/select.wat +0 -0
  871. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd-store.wat +0 -0
  872. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd.wat +0 -0
  873. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/table-copy.wat +0 -0
  874. /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/unreachable_code.wat +0 -0
  875. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/LICENSE +0 -0
  876. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/README.md +0 -0
  877. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/clocks.rs +0 -0
  878. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/dir.rs +0 -0
  879. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/file.rs +0 -0
  880. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/lib.rs +0 -0
  881. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/net.rs +0 -0
  882. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/unix.rs +0 -0
  883. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/windows.rs +0 -0
  884. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched.rs +0 -0
  885. /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/stdio.rs +0 -0
  886. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/LICENSE +0 -0
  887. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/README.md +0 -0
  888. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/README.md +0 -0
  889. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/docs/README.md +0 -0
  890. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/README.md +0 -0
  891. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/docs.md +0 -0
  892. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
  893. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
  894. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
  895. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
  896. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
  897. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
  898. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
  899. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
  900. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
  901. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
  902. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
  903. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/docs.md +0 -0
  904. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
  905. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
  906. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.html +0 -0
  907. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.md +0 -0
  908. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/typenames.witx +0 -0
  909. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
  910. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposal-template/README.md +0 -0
  911. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposals/README.md +0 -0
  912. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/snapshots/README.md +0 -0
  913. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/standard/README.md +0 -0
  914. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/build.rs +0 -0
  915. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/clocks.rs +0 -0
  916. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/ctx.rs +0 -0
  917. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/dir.rs +0 -0
  918. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/error.rs +0 -0
  919. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/file.rs +0 -0
  920. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/pipe.rs +0 -0
  921. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/random.rs +0 -0
  922. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched/subscription.rs +0 -0
  923. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched.rs +0 -0
  924. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/mod.rs +0 -0
  925. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_0.rs +0 -0
  926. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_1/error.rs +0 -0
  927. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/string_array.rs +0 -0
  928. /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/table.rs +0 -0
  929. /data/ext/cargo-vendor/{wasm-encoder-0.36.2 → wasmtime-16.0.0}/LICENSE +0 -0
  930. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/README.md +0 -0
  931. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/code.rs +0 -0
  932. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/host.rs +0 -0
  933. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/options.rs +0 -0
  934. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func.rs +0 -0
  935. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/instance.rs +0 -0
  936. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/linker.rs +0 -0
  937. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/matching.rs +0 -0
  938. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/mod.rs +0 -0
  939. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/resources.rs +0 -0
  940. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/storage.rs +0 -0
  941. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/store.rs +0 -0
  942. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/types.rs +0 -0
  943. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/values.rs +0 -0
  944. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/coredump.rs +0 -0
  945. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine/serialization.rs +0 -0
  946. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine.rs +0 -0
  947. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/global.rs +0 -0
  948. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/table.rs +0 -0
  949. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals.rs +0 -0
  950. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/func/typed.rs +0 -0
  951. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/instance.rs +0 -0
  952. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/limits.rs +0 -0
  953. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/linker.rs +0 -0
  954. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/module/registry.rs +0 -0
  955. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/profiling.rs +0 -0
  956. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/ref.rs +0 -0
  957. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/resources.rs +0 -0
  958. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/signatures.rs +0 -0
  959. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/context.rs +0 -0
  960. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/data.rs +0 -0
  961. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/func_refs.rs +0 -0
  962. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store.rs +0 -0
  963. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/func.rs +0 -0
  964. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/global.rs +0 -0
  965. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/memory.rs +0 -0
  966. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/table.rs +0 -0
  967. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline.rs +0 -0
  968. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trap.rs +0 -0
  969. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types/matching.rs +0 -0
  970. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types.rs +0 -0
  971. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/unix.rs +0 -0
  972. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/values.rs +0 -0
  973. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/windows.rs +0 -0
  974. /data/ext/cargo-vendor/{wasmtime-asm-macros-15.0.1 → wasmtime-asm-macros-16.0.0}/src/lib.rs +0 -0
  975. /data/ext/cargo-vendor/{wasmparser-0.116.1 → wasmtime-cache-16.0.0}/LICENSE +0 -0
  976. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/build.rs +0 -0
  977. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config/tests.rs +0 -0
  978. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config.rs +0 -0
  979. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/tests.rs +0 -0
  980. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests/system_time_stub.rs +0 -0
  981. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests.rs +0 -0
  982. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/tests/cache_write_default_config.rs +0 -0
  983. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/bindgen.rs +0 -0
  984. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/component.rs +0 -0
  985. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/lib.rs +0 -0
  986. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/char.wit +0 -0
  987. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/conventions.wit +0 -0
  988. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/direct-import.wit +0 -0
  989. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/empty.wit +0 -0
  990. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/flags.wit +0 -0
  991. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/floats.wit +0 -0
  992. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/function-new.wit +0 -0
  993. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/integers.wit +0 -0
  994. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/lists.wit +0 -0
  995. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/many-arguments.wit +0 -0
  996. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multi-return.wit +0 -0
  997. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  998. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  999. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/root.wit +0 -0
  1000. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/records.wit +0 -0
  1001. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/rename.wit +0 -0
  1002. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-export.wit +0 -0
  1003. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-import.wit +0 -0
  1004. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/share-types.wit +0 -0
  1005. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-functions.wit +0 -0
  1006. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-lists.wit +0 -0
  1007. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-wasi.wit +0 -0
  1008. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/small-anonymous.wit +0 -0
  1009. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-default.wit +0 -0
  1010. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-export.wit +0 -0
  1011. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke.wit +0 -0
  1012. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/strings.wit +0 -0
  1013. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/use-paths.wit +0 -0
  1014. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/variants.wit +0 -0
  1015. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/worlds-with-types.wit +0 -0
  1016. /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen.rs +0 -0
  1017. /data/ext/cargo-vendor/{wasmtime-component-util-15.0.1 → wasmtime-component-util-16.0.0}/src/lib.rs +0 -0
  1018. /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-cranelift-16.0.0}/LICENSE +0 -0
  1019. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/SECURITY.md +0 -0
  1020. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/builder.rs +0 -0
  1021. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/gc.rs +0 -0
  1022. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/address_transform.rs +0 -0
  1023. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/attr.rs +0 -0
  1024. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/line_program.rs +0 -0
  1025. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/mod.rs +0 -0
  1026. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/range_info_builder.rs +0 -0
  1027. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/refs.rs +0 -0
  1028. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/unit.rs +0 -0
  1029. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/utils.rs +0 -0
  1030. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/write_debuginfo.rs +0 -0
  1031. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/lib.rs +0 -0
  1032. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/compiled_function.rs +0 -0
  1033. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/isa_builder.rs +0 -0
  1034. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/lib.rs +0 -0
  1035. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/obj.rs +0 -0
  1036. /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-environ-16.0.0}/LICENSE +0 -0
  1037. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/examples/factc.rs +0 -0
  1038. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/address_map.rs +0 -0
  1039. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/builtin.rs +0 -0
  1040. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/dfg.rs +0 -0
  1041. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/info.rs +0 -0
  1042. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/adapt.rs +0 -0
  1043. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/inline.rs +0 -0
  1044. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/types/resources.rs +0 -0
  1045. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/vmcomponent_offsets.rs +0 -0
  1046. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component.rs +0 -0
  1047. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/core_types.rs +0 -0
  1048. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/signature.rs +0 -0
  1049. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/trampoline.rs +0 -0
  1050. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/transcode.rs +0 -0
  1051. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/traps.rs +0 -0
  1052. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact.rs +0 -0
  1053. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/obj.rs +0 -0
  1054. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/ref_bits.rs +0 -0
  1055. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/stack_map.rs +0 -0
  1056. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/trap_encoding.rs +0 -0
  1057. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/tunables.rs +0 -0
  1058. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/vmoffsets.rs +0 -0
  1059. /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-fiber-16.0.0}/LICENSE +0 -0
  1060. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/build.rs +0 -0
  1061. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/aarch64.rs +0 -0
  1062. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/arm.rs +0 -0
  1063. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/riscv64.rs +0 -0
  1064. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/s390x.S +0 -0
  1065. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86.rs +0 -0
  1066. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86_64.rs +0 -0
  1067. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/windows.rs +0 -0
  1068. /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-jit-16.0.0}/LICENSE +0 -0
  1069. /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/debug.rs +0 -0
  1070. /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/demangling.rs +0 -0
  1071. /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/jitdump.rs +0 -0
  1072. /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/perfmap.rs +0 -0
  1073. /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/vtune.rs +0 -0
  1074. /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling.rs +0 -0
  1075. /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/README.md +0 -0
  1076. /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/gdb_jit_int.rs +0 -0
  1077. /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/lib.rs +0 -0
  1078. /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/perf_jitdump.rs +0 -0
  1079. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/lib.rs +0 -0
  1080. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/libc.rs +0 -0
  1081. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/miri.rs +0 -0
  1082. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/win.rs +0 -0
  1083. /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-runtime-16.0.0}/LICENSE +0 -0
  1084. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/trampolines → wasmtime-runtime-16.0.0/src/arch}/s390x.S +0 -0
  1085. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/libcalls.rs +0 -0
  1086. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/resources.rs +0 -0
  1087. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component.rs +0 -0
  1088. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/debug_builtins.rs +0 -0
  1089. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/export.rs +0 -0
  1090. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/externref.rs +0 -0
  1091. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/imports.rs +0 -0
  1092. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/on_demand.rs +0 -0
  1093. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
  1094. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator.rs +0 -0
  1095. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance.rs +0 -0
  1096. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/memory.rs +0 -0
  1097. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mmap_vec.rs +0 -0
  1098. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/module_id.rs +0 -0
  1099. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/disabled.rs +0 -0
  1100. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/mod.rs +0 -0
  1101. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/sys.rs +0 -0
  1102. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/parking_spot.rs +0 -0
  1103. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/send_sync_ptr.rs +0 -0
  1104. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/store_box.rs +0 -0
  1105. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/miri.rs → wasmtime-runtime-16.0.0/src/sys/miri/mmap.rs} +0 -0
  1106. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/unix.rs → wasmtime-runtime-16.0.0/src/sys/unix/mmap.rs} +0 -0
  1107. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/windows.rs → wasmtime-runtime-16.0.0/src/sys/windows/mmap.rs} +0 -0
  1108. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/table.rs +0 -0
  1109. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/traphandlers/coredump.rs +0 -0
  1110. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
  1111. /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-types-16.0.0}/LICENSE +0 -0
  1112. /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wasmtime-types-16.0.0}/src/error.rs +0 -0
  1113. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-15.0.1 → wasmtime-versioned-export-macros-16.0.0}/src/lib.rs +0 -0
  1114. /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-wasi-16.0.0}/LICENSE +0 -0
  1115. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/README.md +0 -0
  1116. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/build.rs +0 -0
  1117. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks/host.rs +0 -0
  1118. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks.rs +0 -0
  1119. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/command.rs +0 -0
  1120. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ctx.rs +0 -0
  1121. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/error.rs +0 -0
  1122. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/filesystem.rs +0 -0
  1123. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/clocks.rs +0 -0
  1124. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/env.rs +0 -0
  1125. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/exit.rs +0 -0
  1126. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem/sync.rs +0 -0
  1127. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem.rs +0 -0
  1128. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/instance_network.rs +0 -0
  1129. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/mod.rs +0 -0
  1130. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/random.rs +0 -0
  1131. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/tcp_create_socket.rs +0 -0
  1132. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/udp_create_socket.rs +0 -0
  1133. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ip_name_lookup.rs +0 -0
  1134. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/network.rs +0 -0
  1135. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/pipe.rs +0 -0
  1136. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/poll.rs +0 -0
  1137. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/random.rs +0 -0
  1138. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/stdio/worker_thread_stdin.rs +0 -0
  1139. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/tcp.rs +0 -0
  1140. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/udp.rs +0 -0
  1141. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/write_stream.rs +0 -0
  1142. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/environment.wit +0 -0
  1143. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/exit.wit +0 -0
  1144. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/run.wit +0 -0
  1145. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/stdio.wit +0 -0
  1146. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/terminal.wit +0 -0
  1147. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1148. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
  1149. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/world.wit +0 -0
  1150. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/preopens.wit +0 -0
  1151. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/types.wit +0 -0
  1152. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/world.wit +0 -0
  1153. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/http/handler.wit +0 -0
  1154. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/error.wit +0 -0
  1155. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/poll.wit +0 -0
  1156. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/streams.wit +0 -0
  1157. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/world.wit +0 -0
  1158. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure-seed.wit +0 -0
  1159. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure.wit +0 -0
  1160. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/random.wit +0 -0
  1161. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/world.wit +0 -0
  1162. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/instance-network.wit +0 -0
  1163. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1164. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/network.wit +0 -0
  1165. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1166. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp.wit +0 -0
  1167. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1168. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp.wit +0 -0
  1169. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/world.wit +0 -0
  1170. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/typenames.witx +0 -0
  1171. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/wasi_snapshot_preview1.witx +0 -0
  1172. /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/LICENSE +0 -0
  1173. /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/builder.rs +0 -0
  1174. /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/lib.rs +0 -0
  1175. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/lib.rs +0 -0
  1176. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/rust.rs +0 -0
  1177. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/source.rs +0 -0
  1178. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/types.rs +0 -0
  1179. /data/ext/cargo-vendor/{wasmtime-wmemcheck-15.0.1 → wasmtime-wmemcheck-16.0.0}/src/lib.rs +0 -0
  1180. /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wiggle-16.0.0}/LICENSE +0 -0
  1181. /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/README.md +0 -0
  1182. /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/borrow.rs +0 -0
  1183. /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/error.rs +0 -0
  1184. /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/guest_type.rs +0 -0
  1185. /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/region.rs +0 -0
  1186. /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/wasmtime.rs +0 -0
  1187. /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wiggle-generate-16.0.0}/LICENSE +0 -0
  1188. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/README.md +0 -0
  1189. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/codegen_settings.rs +0 -0
  1190. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/config.rs +0 -0
  1191. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/funcs.rs +0 -0
  1192. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lib.rs +0 -0
  1193. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lifetimes.rs +0 -0
  1194. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/module_trait.rs +0 -0
  1195. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/names.rs +0 -0
  1196. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/error.rs +0 -0
  1197. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/flags.rs +0 -0
  1198. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/mod.rs +0 -0
  1199. /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/wasmtime.rs +0 -0
  1200. /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-macro-16.0.0}/LICENSE +0 -0
  1201. /data/ext/cargo-vendor/{wiggle-macro-15.0.1 → wiggle-macro-16.0.0}/src/lib.rs +0 -0
  1202. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/LICENSE +0 -0
  1203. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/build.rs +0 -0
  1204. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/codegen/builtin.rs +0 -0
  1205. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/address.rs +0 -0
  1206. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/asm.rs +0 -0
  1207. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/regs.rs +0 -0
  1208. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/reg.rs +0 -0
  1209. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/x64/address.rs +0 -0
  1210. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/lib.rs +0 -0
  1211. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regalloc.rs +0 -0
  1212. /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regset.rs +0 -0
@@ -1,2746 +0,0 @@
1
- use cfg_if::cfg_if;
2
- use cranelift_codegen::cursor::FuncCursor;
3
- use cranelift_codegen::ir;
4
- use cranelift_codegen::ir::condcodes::*;
5
- use cranelift_codegen::ir::immediates::{Imm64, Offset32, Uimm64};
6
- use cranelift_codegen::ir::pcc::Fact;
7
- use cranelift_codegen::ir::types::*;
8
- use cranelift_codegen::ir::{
9
- AbiParam, ArgumentPurpose, Function, InstBuilder, MemFlags, Signature, UserFuncName, Value,
10
- };
11
- use cranelift_codegen::isa::{self, CallConv, TargetFrontendConfig, TargetIsa};
12
- use cranelift_entity::{EntityRef, PrimaryMap};
13
- use cranelift_frontend::FunctionBuilder;
14
- use cranelift_frontend::Variable;
15
- use cranelift_wasm::{
16
- self, FuncIndex, FuncTranslationState, GlobalIndex, GlobalVariable, Heap, HeapData, HeapStyle,
17
- MemoryIndex, TableIndex, TargetEnvironment, TypeIndex, WasmHeapType, WasmRefType, WasmResult,
18
- WasmType,
19
- };
20
- use std::convert::TryFrom;
21
- use std::mem;
22
- use wasmparser::Operator;
23
- use wasmtime_environ::{
24
- BuiltinFunctionIndex, MemoryPlan, MemoryStyle, Module, ModuleTranslation, ModuleTypes, PtrSize,
25
- TableStyle, Tunables, TypeConvert, VMOffsets, WASM_PAGE_SIZE,
26
- };
27
- use wasmtime_environ::{FUNCREF_INIT_BIT, FUNCREF_MASK};
28
-
29
- macro_rules! declare_function_signatures {
30
- (
31
- $(
32
- $( #[$attr:meta] )*
33
- $name:ident( $( $pname:ident: $param:ident ),* ) $( -> $result:ident )?;
34
- )*
35
- ) => {
36
- /// A struct with an `Option<ir::SigRef>` member for every builtin
37
- /// function, to de-duplicate constructing/getting its signature.
38
- struct BuiltinFunctionSignatures {
39
- pointer_type: ir::Type,
40
- reference_type: ir::Type,
41
- call_conv: isa::CallConv,
42
- $(
43
- $name: Option<ir::SigRef>,
44
- )*
45
- }
46
-
47
- impl BuiltinFunctionSignatures {
48
- fn new(
49
- pointer_type: ir::Type,
50
- reference_type: ir::Type,
51
- call_conv: isa::CallConv,
52
- ) -> Self {
53
- Self {
54
- pointer_type,
55
- reference_type,
56
- call_conv,
57
- $(
58
- $name: None,
59
- )*
60
- }
61
- }
62
-
63
- fn vmctx(&self) -> AbiParam {
64
- AbiParam::special(self.pointer_type, ArgumentPurpose::VMContext)
65
- }
66
-
67
- fn reference(&self) -> AbiParam {
68
- AbiParam::new(self.reference_type)
69
- }
70
-
71
- fn pointer(&self) -> AbiParam {
72
- AbiParam::new(self.pointer_type)
73
- }
74
-
75
- fn i32(&self) -> AbiParam {
76
- // Some platform ABIs require i32 values to be zero- or sign-
77
- // extended to the full register width. We need to indicate
78
- // this here by using the appropriate .uext or .sext attribute.
79
- // The attribute can be added unconditionally; platforms whose
80
- // ABI does not require such extensions will simply ignore it.
81
- // Note that currently all i32 arguments or return values used
82
- // by builtin functions are unsigned, so we always use .uext.
83
- // If that ever changes, we will have to add a second type
84
- // marker here.
85
- AbiParam::new(I32).uext()
86
- }
87
-
88
- fn i64(&self) -> AbiParam {
89
- AbiParam::new(I64)
90
- }
91
-
92
- $(
93
- fn $name(&mut self, func: &mut Function) -> ir::SigRef {
94
- let sig = self.$name.unwrap_or_else(|| {
95
- func.import_signature(Signature {
96
- params: vec![ $( self.$param() ),* ],
97
- returns: vec![ $( self.$result() )? ],
98
- call_conv: self.call_conv,
99
- })
100
- });
101
- self.$name = Some(sig);
102
- sig
103
- }
104
- )*
105
- }
106
- };
107
- }
108
-
109
- wasmtime_environ::foreach_builtin_function!(declare_function_signatures);
110
-
111
- /// The `FuncEnvironment` implementation for use by the `ModuleEnvironment`.
112
- pub struct FuncEnvironment<'module_environment> {
113
- isa: &'module_environment (dyn TargetIsa + 'module_environment),
114
- module: &'module_environment Module,
115
- types: &'module_environment ModuleTypes,
116
-
117
- translation: &'module_environment ModuleTranslation<'module_environment>,
118
-
119
- /// Heaps implementing WebAssembly linear memories.
120
- heaps: PrimaryMap<Heap, HeapData>,
121
-
122
- /// The Cranelift global holding the vmctx address.
123
- vmctx: Option<ir::GlobalValue>,
124
-
125
- /// The PCC memory type describing the vmctx layout, if we're
126
- /// using PCC.
127
- pcc_vmctx_memtype: Option<ir::MemoryType>,
128
-
129
- /// Caches of signatures for builtin functions.
130
- builtin_function_signatures: BuiltinFunctionSignatures,
131
-
132
- /// Offsets to struct fields accessed by JIT code.
133
- pub(crate) offsets: VMOffsets<u8>,
134
-
135
- tunables: &'module_environment Tunables,
136
-
137
- /// A function-local variable which stores the cached value of the amount of
138
- /// fuel remaining to execute. If used this is modified frequently so it's
139
- /// stored locally as a variable instead of always referenced from the field
140
- /// in `*const VMRuntimeLimits`
141
- fuel_var: cranelift_frontend::Variable,
142
-
143
- /// A function-local variable which caches the value of `*const
144
- /// VMRuntimeLimits` for this function's vmctx argument. This pointer is stored
145
- /// in the vmctx itself, but never changes for the lifetime of the function,
146
- /// so if we load it up front we can continue to use it throughout.
147
- vmruntime_limits_ptr: cranelift_frontend::Variable,
148
-
149
- /// A cached epoch deadline value, when performing epoch-based
150
- /// interruption. Loaded from `VMRuntimeLimits` and reloaded after
151
- /// any yield.
152
- epoch_deadline_var: cranelift_frontend::Variable,
153
-
154
- /// A cached pointer to the per-Engine epoch counter, when
155
- /// performing epoch-based interruption. Initialized in the
156
- /// function prologue. We prefer to use a variable here rather
157
- /// than reload on each check because it's better to let the
158
- /// regalloc keep it in a register if able; if not, it can always
159
- /// spill, and this isn't any worse than reloading each time.
160
- epoch_ptr_var: cranelift_frontend::Variable,
161
-
162
- fuel_consumed: i64,
163
-
164
- #[cfg(feature = "wmemcheck")]
165
- wmemcheck: bool,
166
- }
167
-
168
- impl<'module_environment> FuncEnvironment<'module_environment> {
169
- pub fn new(
170
- isa: &'module_environment (dyn TargetIsa + 'module_environment),
171
- translation: &'module_environment ModuleTranslation<'module_environment>,
172
- types: &'module_environment ModuleTypes,
173
- tunables: &'module_environment Tunables,
174
- wmemcheck: bool,
175
- ) -> Self {
176
- let builtin_function_signatures = BuiltinFunctionSignatures::new(
177
- isa.pointer_type(),
178
- match isa.pointer_type() {
179
- ir::types::I32 => ir::types::R32,
180
- ir::types::I64 => ir::types::R64,
181
- _ => panic!(),
182
- },
183
- CallConv::triple_default(isa.triple()),
184
- );
185
-
186
- // Avoid unused warning in default build.
187
- #[cfg(not(feature = "wmemcheck"))]
188
- let _ = wmemcheck;
189
-
190
- Self {
191
- isa,
192
- module: &translation.module,
193
- types,
194
- heaps: PrimaryMap::default(),
195
- vmctx: None,
196
- pcc_vmctx_memtype: None,
197
- builtin_function_signatures,
198
- offsets: VMOffsets::new(isa.pointer_bytes(), &translation.module),
199
- tunables,
200
- fuel_var: Variable::new(0),
201
- epoch_deadline_var: Variable::new(0),
202
- epoch_ptr_var: Variable::new(0),
203
- vmruntime_limits_ptr: Variable::new(0),
204
- translation: translation,
205
-
206
- // Start with at least one fuel being consumed because even empty
207
- // functions should consume at least some fuel.
208
- fuel_consumed: 1,
209
- #[cfg(feature = "wmemcheck")]
210
- wmemcheck,
211
- }
212
- }
213
-
214
- fn pointer_type(&self) -> ir::Type {
215
- self.isa.pointer_type()
216
- }
217
-
218
- fn vmctx(&mut self, func: &mut Function) -> ir::GlobalValue {
219
- self.vmctx.unwrap_or_else(|| {
220
- let vmctx = func.create_global_value(ir::GlobalValueData::VMContext);
221
- if self.isa.flags().enable_pcc() {
222
- // Create a placeholder memtype for the vmctx; we'll
223
- // add fields to it as we lazily create HeapData
224
- // structs and global values.
225
- let vmctx_memtype = func.create_memory_type(ir::MemoryTypeData::Struct {
226
- size: 0,
227
- fields: vec![],
228
- });
229
-
230
- self.pcc_vmctx_memtype = Some(vmctx_memtype);
231
- func.global_value_facts[vmctx] = Some(Fact::Mem {
232
- ty: vmctx_memtype,
233
- min_offset: 0,
234
- max_offset: 0,
235
- nullable: false,
236
- });
237
- }
238
-
239
- self.vmctx = Some(vmctx);
240
- vmctx
241
- })
242
- }
243
-
244
- fn get_table_copy_func(
245
- &mut self,
246
- func: &mut Function,
247
- dst_table_index: TableIndex,
248
- src_table_index: TableIndex,
249
- ) -> (ir::SigRef, usize, usize, BuiltinFunctionIndex) {
250
- let sig = self.builtin_function_signatures.table_copy(func);
251
- (
252
- sig,
253
- dst_table_index.as_u32() as usize,
254
- src_table_index.as_u32() as usize,
255
- BuiltinFunctionIndex::table_copy(),
256
- )
257
- }
258
-
259
- fn get_table_init_func(
260
- &mut self,
261
- func: &mut Function,
262
- table_index: TableIndex,
263
- ) -> (ir::SigRef, usize, BuiltinFunctionIndex) {
264
- let sig = self.builtin_function_signatures.table_init(func);
265
- let table_index = table_index.as_u32() as usize;
266
- (sig, table_index, BuiltinFunctionIndex::table_init())
267
- }
268
-
269
- fn get_elem_drop_func(&mut self, func: &mut Function) -> (ir::SigRef, BuiltinFunctionIndex) {
270
- let sig = self.builtin_function_signatures.elem_drop(func);
271
- (sig, BuiltinFunctionIndex::elem_drop())
272
- }
273
-
274
- fn get_memory_atomic_wait(
275
- &mut self,
276
- func: &mut Function,
277
- memory_index: MemoryIndex,
278
- ty: ir::Type,
279
- ) -> (ir::SigRef, usize, BuiltinFunctionIndex) {
280
- match ty {
281
- I32 => (
282
- self.builtin_function_signatures.memory_atomic_wait32(func),
283
- memory_index.index(),
284
- BuiltinFunctionIndex::memory_atomic_wait32(),
285
- ),
286
- I64 => (
287
- self.builtin_function_signatures.memory_atomic_wait64(func),
288
- memory_index.index(),
289
- BuiltinFunctionIndex::memory_atomic_wait64(),
290
- ),
291
- x => panic!("get_memory_atomic_wait unsupported type: {:?}", x),
292
- }
293
- }
294
-
295
- fn get_memory_init_func(&mut self, func: &mut Function) -> (ir::SigRef, BuiltinFunctionIndex) {
296
- (
297
- self.builtin_function_signatures.memory_init(func),
298
- BuiltinFunctionIndex::memory_init(),
299
- )
300
- }
301
-
302
- fn get_data_drop_func(&mut self, func: &mut Function) -> (ir::SigRef, BuiltinFunctionIndex) {
303
- (
304
- self.builtin_function_signatures.data_drop(func),
305
- BuiltinFunctionIndex::data_drop(),
306
- )
307
- }
308
-
309
- /// Translates load of builtin function and returns a pair of values `vmctx`
310
- /// and address of the loaded function.
311
- fn translate_load_builtin_function_address(
312
- &mut self,
313
- pos: &mut FuncCursor<'_>,
314
- callee_func_idx: BuiltinFunctionIndex,
315
- ) -> (ir::Value, ir::Value) {
316
- // We use an indirect call so that we don't have to patch the code at runtime.
317
- let pointer_type = self.pointer_type();
318
- let vmctx = self.vmctx(&mut pos.func);
319
- let base = pos.ins().global_value(pointer_type, vmctx);
320
-
321
- let mem_flags = ir::MemFlags::trusted().with_readonly();
322
-
323
- // Load the base of the array of builtin functions
324
- let array_offset = i32::try_from(self.offsets.vmctx_builtin_functions()).unwrap();
325
- let array_addr = pos.ins().load(pointer_type, mem_flags, base, array_offset);
326
-
327
- // Load the callee address.
328
- let body_offset = i32::try_from(callee_func_idx.index() * pointer_type.bytes()).unwrap();
329
- let func_addr = pos
330
- .ins()
331
- .load(pointer_type, mem_flags, array_addr, body_offset);
332
-
333
- (base, func_addr)
334
- }
335
-
336
- /// Generate code to increment or decrement the given `externref`'s
337
- /// reference count.
338
- ///
339
- /// The new reference count is returned.
340
- fn mutate_externref_ref_count(
341
- &mut self,
342
- builder: &mut FunctionBuilder,
343
- externref: ir::Value,
344
- delta: i64,
345
- ) -> ir::Value {
346
- debug_assert!(delta == -1 || delta == 1);
347
-
348
- let pointer_type = self.pointer_type();
349
-
350
- // If this changes that's ok, the `atomic_rmw` below just needs to be
351
- // preceded with an add instruction of `externref` and the offset.
352
- assert_eq!(self.offsets.vm_extern_data_ref_count(), 0);
353
- let delta = builder.ins().iconst(pointer_type, delta);
354
- builder.ins().atomic_rmw(
355
- pointer_type,
356
- ir::MemFlags::trusted(),
357
- ir::AtomicRmwOp::Add,
358
- externref,
359
- delta,
360
- )
361
- }
362
-
363
- fn get_global_location(
364
- &mut self,
365
- func: &mut ir::Function,
366
- index: GlobalIndex,
367
- ) -> (ir::GlobalValue, i32) {
368
- let pointer_type = self.pointer_type();
369
- let vmctx = self.vmctx(func);
370
- if let Some(def_index) = self.module.defined_global_index(index) {
371
- let offset = i32::try_from(self.offsets.vmctx_vmglobal_definition(def_index)).unwrap();
372
- (vmctx, offset)
373
- } else {
374
- let from_offset = self.offsets.vmctx_vmglobal_import_from(index);
375
- let global = func.create_global_value(ir::GlobalValueData::Load {
376
- base: vmctx,
377
- offset: Offset32::new(i32::try_from(from_offset).unwrap()),
378
- global_type: pointer_type,
379
- flags: MemFlags::trusted().with_readonly(),
380
- });
381
- (global, 0)
382
- }
383
- }
384
-
385
- fn declare_vmruntime_limits_ptr(&mut self, builder: &mut FunctionBuilder<'_>) {
386
- // We load the `*const VMRuntimeLimits` value stored within vmctx at the
387
- // head of the function and reuse the same value across the entire
388
- // function. This is possible since we know that the pointer never
389
- // changes for the lifetime of the function.
390
- let pointer_type = self.pointer_type();
391
- builder.declare_var(self.vmruntime_limits_ptr, pointer_type);
392
- let vmctx = self.vmctx(builder.func);
393
- let base = builder.ins().global_value(pointer_type, vmctx);
394
- let offset = i32::try_from(self.offsets.vmctx_runtime_limits()).unwrap();
395
- let interrupt_ptr = builder
396
- .ins()
397
- .load(pointer_type, ir::MemFlags::trusted(), base, offset);
398
- builder.def_var(self.vmruntime_limits_ptr, interrupt_ptr);
399
- }
400
-
401
- fn fuel_function_entry(&mut self, builder: &mut FunctionBuilder<'_>) {
402
- // On function entry we load the amount of fuel into a function-local
403
- // `self.fuel_var` to make fuel modifications fast locally. This cache
404
- // is then periodically flushed to the Store-defined location in
405
- // `VMRuntimeLimits` later.
406
- builder.declare_var(self.fuel_var, ir::types::I64);
407
- self.fuel_load_into_var(builder);
408
- self.fuel_check(builder);
409
- }
410
-
411
- fn fuel_function_exit(&mut self, builder: &mut FunctionBuilder<'_>) {
412
- // On exiting the function we need to be sure to save the fuel we have
413
- // cached locally in `self.fuel_var` back into the Store-defined
414
- // location.
415
- self.fuel_save_from_var(builder);
416
- }
417
-
418
- fn fuel_before_op(
419
- &mut self,
420
- op: &Operator<'_>,
421
- builder: &mut FunctionBuilder<'_>,
422
- reachable: bool,
423
- ) {
424
- if !reachable {
425
- // In unreachable code we shouldn't have any leftover fuel we
426
- // haven't accounted for since the reason for us to become
427
- // unreachable should have already added it to `self.fuel_var`.
428
- debug_assert_eq!(self.fuel_consumed, 0);
429
- return;
430
- }
431
-
432
- self.fuel_consumed += match op {
433
- // Nop and drop generate no code, so don't consume fuel for them.
434
- Operator::Nop | Operator::Drop => 0,
435
-
436
- // Control flow may create branches, but is generally cheap and
437
- // free, so don't consume fuel. Note the lack of `if` since some
438
- // cost is incurred with the conditional check.
439
- Operator::Block { .. }
440
- | Operator::Loop { .. }
441
- | Operator::Unreachable
442
- | Operator::Return
443
- | Operator::Else
444
- | Operator::End => 0,
445
-
446
- // everything else, just call it one operation.
447
- _ => 1,
448
- };
449
-
450
- match op {
451
- // Exiting a function (via a return or unreachable) or otherwise
452
- // entering a different function (via a call) means that we need to
453
- // update the fuel consumption in `VMRuntimeLimits` because we're
454
- // about to move control out of this function itself and the fuel
455
- // may need to be read.
456
- //
457
- // Before this we need to update the fuel counter from our own cost
458
- // leading up to this function call, and then we can store
459
- // `self.fuel_var` into `VMRuntimeLimits`.
460
- Operator::Unreachable
461
- | Operator::Return
462
- | Operator::CallIndirect { .. }
463
- | Operator::Call { .. }
464
- | Operator::ReturnCall { .. }
465
- | Operator::ReturnCallIndirect { .. } => {
466
- self.fuel_increment_var(builder);
467
- self.fuel_save_from_var(builder);
468
- }
469
-
470
- // To ensure all code preceding a loop is only counted once we
471
- // update the fuel variable on entry.
472
- Operator::Loop { .. }
473
-
474
- // Entering into an `if` block means that the edge we take isn't
475
- // known until runtime, so we need to update our fuel consumption
476
- // before we take the branch.
477
- | Operator::If { .. }
478
-
479
- // Control-flow instructions mean that we're moving to the end/exit
480
- // of a block somewhere else. That means we need to update the fuel
481
- // counter since we're effectively terminating our basic block.
482
- | Operator::Br { .. }
483
- | Operator::BrIf { .. }
484
- | Operator::BrTable { .. }
485
-
486
- // Exiting a scope means that we need to update the fuel
487
- // consumption because there are multiple ways to exit a scope and
488
- // this is the only time we have to account for instructions
489
- // executed so far.
490
- | Operator::End
491
-
492
- // This is similar to `end`, except that it's only the terminator
493
- // for an `if` block. The same reasoning applies though in that we
494
- // are terminating a basic block and need to update the fuel
495
- // variable.
496
- | Operator::Else => self.fuel_increment_var(builder),
497
-
498
- // This is a normal instruction where the fuel is buffered to later
499
- // get added to `self.fuel_var`.
500
- //
501
- // Note that we generally ignore instructions which may trap and
502
- // therefore result in exiting a block early. Current usage of fuel
503
- // means that it's not too important to account for a precise amount
504
- // of fuel consumed but rather "close to the actual amount" is good
505
- // enough. For 100% precise counting, however, we'd probably need to
506
- // not only increment but also save the fuel amount more often
507
- // around trapping instructions. (see the `unreachable` instruction
508
- // case above)
509
- //
510
- // Note that `Block` is specifically omitted from incrementing the
511
- // fuel variable. Control flow entering a `block` is unconditional
512
- // which means it's effectively executing straight-line code. We'll
513
- // update the counter when exiting a block, but we shouldn't need to
514
- // do so upon entering a block.
515
- _ => {}
516
- }
517
- }
518
-
519
- fn fuel_after_op(&mut self, op: &Operator<'_>, builder: &mut FunctionBuilder<'_>) {
520
- // After a function call we need to reload our fuel value since the
521
- // function may have changed it.
522
- match op {
523
- Operator::Call { .. } | Operator::CallIndirect { .. } => {
524
- self.fuel_load_into_var(builder);
525
- }
526
- _ => {}
527
- }
528
- }
529
-
530
- /// Adds `self.fuel_consumed` to the `fuel_var`, zero-ing out the amount of
531
- /// fuel consumed at that point.
532
- fn fuel_increment_var(&mut self, builder: &mut FunctionBuilder<'_>) {
533
- let consumption = mem::replace(&mut self.fuel_consumed, 0);
534
- if consumption == 0 {
535
- return;
536
- }
537
-
538
- let fuel = builder.use_var(self.fuel_var);
539
- let fuel = builder.ins().iadd_imm(fuel, consumption);
540
- builder.def_var(self.fuel_var, fuel);
541
- }
542
-
543
- /// Loads the fuel consumption value from `VMRuntimeLimits` into `self.fuel_var`
544
- fn fuel_load_into_var(&mut self, builder: &mut FunctionBuilder<'_>) {
545
- let (addr, offset) = self.fuel_addr_offset(builder);
546
- let fuel = builder
547
- .ins()
548
- .load(ir::types::I64, ir::MemFlags::trusted(), addr, offset);
549
- builder.def_var(self.fuel_var, fuel);
550
- }
551
-
552
- /// Stores the fuel consumption value from `self.fuel_var` into
553
- /// `VMRuntimeLimits`.
554
- fn fuel_save_from_var(&mut self, builder: &mut FunctionBuilder<'_>) {
555
- let (addr, offset) = self.fuel_addr_offset(builder);
556
- let fuel_consumed = builder.use_var(self.fuel_var);
557
- builder
558
- .ins()
559
- .store(ir::MemFlags::trusted(), fuel_consumed, addr, offset);
560
- }
561
-
562
- /// Returns the `(address, offset)` of the fuel consumption within
563
- /// `VMRuntimeLimits`, used to perform loads/stores later.
564
- fn fuel_addr_offset(
565
- &mut self,
566
- builder: &mut FunctionBuilder<'_>,
567
- ) -> (ir::Value, ir::immediates::Offset32) {
568
- (
569
- builder.use_var(self.vmruntime_limits_ptr),
570
- i32::from(self.offsets.ptr.vmruntime_limits_fuel_consumed()).into(),
571
- )
572
- }
573
-
574
- /// Checks the amount of remaining, and if we've run out of fuel we call
575
- /// the out-of-fuel function.
576
- fn fuel_check(&mut self, builder: &mut FunctionBuilder) {
577
- self.fuel_increment_var(builder);
578
- let out_of_gas_block = builder.create_block();
579
- let continuation_block = builder.create_block();
580
-
581
- // Note that our fuel is encoded as adding positive values to a
582
- // negative number. Whenever the negative number goes positive that
583
- // means we ran out of fuel.
584
- //
585
- // Compare to see if our fuel is positive, and if so we ran out of gas.
586
- // Otherwise we can continue on like usual.
587
- let zero = builder.ins().iconst(ir::types::I64, 0);
588
- let fuel = builder.use_var(self.fuel_var);
589
- let cmp = builder
590
- .ins()
591
- .icmp(IntCC::SignedGreaterThanOrEqual, fuel, zero);
592
- builder
593
- .ins()
594
- .brif(cmp, out_of_gas_block, &[], continuation_block, &[]);
595
- builder.seal_block(out_of_gas_block);
596
-
597
- // If we ran out of gas then we call our out-of-gas intrinsic and it
598
- // figures out what to do. Note that this may raise a trap, or do
599
- // something like yield to an async runtime. In either case we don't
600
- // assume what happens and handle the case the intrinsic returns.
601
- //
602
- // Note that we save/reload fuel around this since the out-of-gas
603
- // intrinsic may alter how much fuel is in the system.
604
- builder.switch_to_block(out_of_gas_block);
605
- self.fuel_save_from_var(builder);
606
- let out_of_gas_sig = self.builtin_function_signatures.out_of_gas(builder.func);
607
- let (vmctx, out_of_gas) = self.translate_load_builtin_function_address(
608
- &mut builder.cursor(),
609
- BuiltinFunctionIndex::out_of_gas(),
610
- );
611
- builder
612
- .ins()
613
- .call_indirect(out_of_gas_sig, out_of_gas, &[vmctx]);
614
- self.fuel_load_into_var(builder);
615
- builder.ins().jump(continuation_block, &[]);
616
- builder.seal_block(continuation_block);
617
-
618
- builder.switch_to_block(continuation_block);
619
- }
620
-
621
- fn epoch_function_entry(&mut self, builder: &mut FunctionBuilder<'_>) {
622
- builder.declare_var(self.epoch_deadline_var, ir::types::I64);
623
- self.epoch_load_deadline_into_var(builder);
624
- builder.declare_var(self.epoch_ptr_var, self.pointer_type());
625
- let epoch_ptr = self.epoch_ptr(builder);
626
- builder.def_var(self.epoch_ptr_var, epoch_ptr);
627
-
628
- // We must check for an epoch change when entering a
629
- // function. Why? Why aren't checks at loops sufficient to
630
- // bound runtime to O(|static program size|)?
631
- //
632
- // The reason is that one can construct a "zip-bomb-like"
633
- // program with exponential-in-program-size runtime, with no
634
- // backedges (loops), by building a tree of function calls: f0
635
- // calls f1 ten times, f1 calls f2 ten times, etc. E.g., nine
636
- // levels of this yields a billion function calls with no
637
- // backedges. So we can't do checks only at backedges.
638
- //
639
- // In this "call-tree" scenario, and in fact in any program
640
- // that uses calls as a sort of control flow to try to evade
641
- // backedge checks, a check at every function entry is
642
- // sufficient. Then, combined with checks at every backedge
643
- // (loop) the longest runtime between checks is bounded by the
644
- // straightline length of any function body.
645
- self.epoch_check(builder);
646
- }
647
-
648
- #[cfg(feature = "wmemcheck")]
649
- fn hook_malloc_exit(&mut self, builder: &mut FunctionBuilder, retvals: &[Value]) {
650
- let check_malloc_sig = self.builtin_function_signatures.check_malloc(builder.func);
651
- let (vmctx, check_malloc) = self.translate_load_builtin_function_address(
652
- &mut builder.cursor(),
653
- BuiltinFunctionIndex::check_malloc(),
654
- );
655
- let func_args = builder
656
- .func
657
- .dfg
658
- .block_params(builder.func.layout.entry_block().unwrap());
659
- let len = if func_args.len() < 3 {
660
- return;
661
- } else {
662
- // If a function named `malloc` has at least one argument, we assume the
663
- // first argument is the requested allocation size.
664
- func_args[2]
665
- };
666
- let retval = if retvals.len() < 1 {
667
- return;
668
- } else {
669
- retvals[0]
670
- };
671
- builder
672
- .ins()
673
- .call_indirect(check_malloc_sig, check_malloc, &[vmctx, retval, len]);
674
- }
675
-
676
- #[cfg(feature = "wmemcheck")]
677
- fn hook_free_exit(&mut self, builder: &mut FunctionBuilder) {
678
- let check_free_sig = self.builtin_function_signatures.check_free(builder.func);
679
- let (vmctx, check_free) = self.translate_load_builtin_function_address(
680
- &mut builder.cursor(),
681
- BuiltinFunctionIndex::check_free(),
682
- );
683
- let func_args = builder
684
- .func
685
- .dfg
686
- .block_params(builder.func.layout.entry_block().unwrap());
687
- let ptr = if func_args.len() < 3 {
688
- return;
689
- } else {
690
- // If a function named `free` has at least one argument, we assume the
691
- // first argument is a pointer to memory.
692
- func_args[2]
693
- };
694
- builder
695
- .ins()
696
- .call_indirect(check_free_sig, check_free, &[vmctx, ptr]);
697
- }
698
-
699
- fn epoch_ptr(&mut self, builder: &mut FunctionBuilder<'_>) -> ir::Value {
700
- let vmctx = self.vmctx(builder.func);
701
- let pointer_type = self.pointer_type();
702
- let base = builder.ins().global_value(pointer_type, vmctx);
703
- let offset = i32::try_from(self.offsets.vmctx_epoch_ptr()).unwrap();
704
- let epoch_ptr = builder
705
- .ins()
706
- .load(pointer_type, ir::MemFlags::trusted(), base, offset);
707
- epoch_ptr
708
- }
709
-
710
- fn epoch_load_current(&mut self, builder: &mut FunctionBuilder<'_>) -> ir::Value {
711
- let addr = builder.use_var(self.epoch_ptr_var);
712
- builder.ins().load(
713
- ir::types::I64,
714
- ir::MemFlags::trusted(),
715
- addr,
716
- ir::immediates::Offset32::new(0),
717
- )
718
- }
719
-
720
- fn epoch_load_deadline_into_var(&mut self, builder: &mut FunctionBuilder<'_>) {
721
- let interrupts = builder.use_var(self.vmruntime_limits_ptr);
722
- let deadline =
723
- builder.ins().load(
724
- ir::types::I64,
725
- ir::MemFlags::trusted(),
726
- interrupts,
727
- ir::immediates::Offset32::new(
728
- self.offsets.ptr.vmruntime_limits_epoch_deadline() as i32
729
- ),
730
- );
731
- builder.def_var(self.epoch_deadline_var, deadline);
732
- }
733
-
734
- fn epoch_check(&mut self, builder: &mut FunctionBuilder<'_>) {
735
- let new_epoch_block = builder.create_block();
736
- let new_epoch_doublecheck_block = builder.create_block();
737
- let continuation_block = builder.create_block();
738
- builder.set_cold_block(new_epoch_block);
739
- builder.set_cold_block(new_epoch_doublecheck_block);
740
-
741
- let epoch_deadline = builder.use_var(self.epoch_deadline_var);
742
- // Load new epoch and check against cached deadline. The
743
- // deadline may be out of date if it was updated (within
744
- // another yield) during some function that we called; this is
745
- // fine, as we'll reload it and check again before yielding in
746
- // the cold path.
747
- let cur_epoch_value = self.epoch_load_current(builder);
748
- let cmp = builder.ins().icmp(
749
- IntCC::UnsignedGreaterThanOrEqual,
750
- cur_epoch_value,
751
- epoch_deadline,
752
- );
753
- builder
754
- .ins()
755
- .brif(cmp, new_epoch_block, &[], continuation_block, &[]);
756
- builder.seal_block(new_epoch_block);
757
-
758
- // In the "new epoch block", we've noticed that the epoch has
759
- // exceeded our cached deadline. However the real deadline may
760
- // have been moved in the meantime. We keep the cached value
761
- // in a register to speed the checks in the common case
762
- // (between epoch ticks) but we want to do a precise check
763
- // here, on the cold path, by reloading the latest value
764
- // first.
765
- builder.switch_to_block(new_epoch_block);
766
- self.epoch_load_deadline_into_var(builder);
767
- let fresh_epoch_deadline = builder.use_var(self.epoch_deadline_var);
768
- let fresh_cmp = builder.ins().icmp(
769
- IntCC::UnsignedGreaterThanOrEqual,
770
- cur_epoch_value,
771
- fresh_epoch_deadline,
772
- );
773
- builder.ins().brif(
774
- fresh_cmp,
775
- new_epoch_doublecheck_block,
776
- &[],
777
- continuation_block,
778
- &[],
779
- );
780
- builder.seal_block(new_epoch_doublecheck_block);
781
-
782
- builder.switch_to_block(new_epoch_doublecheck_block);
783
- let new_epoch_sig = self.builtin_function_signatures.new_epoch(builder.func);
784
- let (vmctx, new_epoch) = self.translate_load_builtin_function_address(
785
- &mut builder.cursor(),
786
- BuiltinFunctionIndex::new_epoch(),
787
- );
788
- // new_epoch() returns the new deadline, so we don't have to
789
- // reload it.
790
- let call = builder
791
- .ins()
792
- .call_indirect(new_epoch_sig, new_epoch, &[vmctx]);
793
- let new_deadline = *builder.func.dfg.inst_results(call).first().unwrap();
794
- builder.def_var(self.epoch_deadline_var, new_deadline);
795
- builder.ins().jump(continuation_block, &[]);
796
- builder.seal_block(continuation_block);
797
-
798
- builder.switch_to_block(continuation_block);
799
- }
800
-
801
- fn memory_index_type(&self, index: MemoryIndex) -> ir::Type {
802
- if self.module.memory_plans[index].memory.memory64 {
803
- I64
804
- } else {
805
- I32
806
- }
807
- }
808
-
809
- fn cast_pointer_to_memory_index(
810
- &self,
811
- mut pos: FuncCursor<'_>,
812
- val: ir::Value,
813
- index: MemoryIndex,
814
- ) -> ir::Value {
815
- let desired_type = self.memory_index_type(index);
816
- let pointer_type = self.pointer_type();
817
- assert_eq!(pos.func.dfg.value_type(val), pointer_type);
818
-
819
- // The current length is of type `pointer_type` but we need to fit it
820
- // into `desired_type`. We are guaranteed that the result will always
821
- // fit, so we just need to do the right ireduce/sextend here.
822
- if pointer_type == desired_type {
823
- val
824
- } else if pointer_type.bits() > desired_type.bits() {
825
- pos.ins().ireduce(desired_type, val)
826
- } else {
827
- // Note that we `sextend` instead of the probably expected
828
- // `uextend`. This function is only used within the contexts of
829
- // `memory.size` and `memory.grow` where we're working with units of
830
- // pages instead of actual bytes, so we know that the upper bit is
831
- // always cleared for "valid values". The one case we care about
832
- // sextend would be when the return value of `memory.grow` is `-1`,
833
- // in which case we want to copy the sign bit.
834
- //
835
- // This should only come up on 32-bit hosts running wasm64 modules,
836
- // which at some point also makes you question various assumptions
837
- // made along the way...
838
- pos.ins().sextend(desired_type, val)
839
- }
840
- }
841
-
842
- fn cast_memory_index_to_i64(
843
- &self,
844
- pos: &mut FuncCursor<'_>,
845
- val: ir::Value,
846
- index: MemoryIndex,
847
- ) -> ir::Value {
848
- if self.memory_index_type(index) == I64 {
849
- val
850
- } else {
851
- pos.ins().uextend(I64, val)
852
- }
853
- }
854
-
855
- fn get_or_init_func_ref_table_elem(
856
- &mut self,
857
- builder: &mut FunctionBuilder,
858
- table_index: TableIndex,
859
- table: ir::Table,
860
- index: ir::Value,
861
- ) -> ir::Value {
862
- let pointer_type = self.pointer_type();
863
-
864
- // To support lazy initialization of table
865
- // contents, we check for a null entry here, and
866
- // if null, we take a slow-path that invokes a
867
- // libcall.
868
- let table_entry_addr = builder.ins().table_addr(pointer_type, table, index, 0);
869
- let flags = ir::MemFlags::trusted().with_table();
870
- let value = builder.ins().load(pointer_type, flags, table_entry_addr, 0);
871
- // Mask off the "initialized bit". See documentation on
872
- // FUNCREF_INIT_BIT in crates/environ/src/ref_bits.rs for more
873
- // details.
874
- let value_masked = builder
875
- .ins()
876
- .band_imm(value, Imm64::from(FUNCREF_MASK as i64));
877
-
878
- let null_block = builder.create_block();
879
- let continuation_block = builder.create_block();
880
- let result_param = builder.append_block_param(continuation_block, pointer_type);
881
- builder.set_cold_block(null_block);
882
-
883
- builder
884
- .ins()
885
- .brif(value, continuation_block, &[value_masked], null_block, &[]);
886
- builder.seal_block(null_block);
887
-
888
- builder.switch_to_block(null_block);
889
- let table_index = builder.ins().iconst(I32, table_index.index() as i64);
890
- let builtin_idx = BuiltinFunctionIndex::table_get_lazy_init_func_ref();
891
- let builtin_sig = self
892
- .builtin_function_signatures
893
- .table_get_lazy_init_func_ref(builder.func);
894
- let (vmctx, builtin_addr) =
895
- self.translate_load_builtin_function_address(&mut builder.cursor(), builtin_idx);
896
- let call_inst =
897
- builder
898
- .ins()
899
- .call_indirect(builtin_sig, builtin_addr, &[vmctx, table_index, index]);
900
- let returned_entry = builder.func.dfg.inst_results(call_inst)[0];
901
- builder.ins().jump(continuation_block, &[returned_entry]);
902
- builder.seal_block(continuation_block);
903
-
904
- builder.switch_to_block(continuation_block);
905
- result_param
906
- }
907
-
908
- fn check_malloc_start(&mut self, builder: &mut FunctionBuilder) {
909
- let malloc_start_sig = self.builtin_function_signatures.malloc_start(builder.func);
910
- let (vmctx, malloc_start) = self.translate_load_builtin_function_address(
911
- &mut builder.cursor(),
912
- BuiltinFunctionIndex::malloc_start(),
913
- );
914
- builder
915
- .ins()
916
- .call_indirect(malloc_start_sig, malloc_start, &[vmctx]);
917
- }
918
-
919
- fn check_free_start(&mut self, builder: &mut FunctionBuilder) {
920
- let free_start_sig = self.builtin_function_signatures.free_start(builder.func);
921
- let (vmctx, free_start) = self.translate_load_builtin_function_address(
922
- &mut builder.cursor(),
923
- BuiltinFunctionIndex::free_start(),
924
- );
925
- builder
926
- .ins()
927
- .call_indirect(free_start_sig, free_start, &[vmctx]);
928
- }
929
-
930
- fn current_func_name(&self, builder: &mut FunctionBuilder) -> Option<&str> {
931
- let func_index = match &builder.func.name {
932
- UserFuncName::User(user) => FuncIndex::from_u32(user.index),
933
- _ => {
934
- panic!("function name not a UserFuncName::User as expected")
935
- }
936
- };
937
- self.translation
938
- .debuginfo
939
- .name_section
940
- .func_names
941
- .get(&func_index)
942
- .map(|s| *s)
943
- }
944
- }
945
-
946
- struct Call<'a, 'func, 'module_env> {
947
- builder: &'a mut FunctionBuilder<'func>,
948
- env: &'a mut FuncEnvironment<'module_env>,
949
- tail: bool,
950
- }
951
-
952
- impl<'a, 'func, 'module_env> Call<'a, 'func, 'module_env> {
953
- /// Create a new `Call` site that will do regular, non-tail calls.
954
- pub fn new(
955
- builder: &'a mut FunctionBuilder<'func>,
956
- env: &'a mut FuncEnvironment<'module_env>,
957
- ) -> Self {
958
- Call {
959
- builder,
960
- env,
961
- tail: false,
962
- }
963
- }
964
-
965
- /// Create a new `Call` site that will perform tail calls.
966
- pub fn new_tail(
967
- builder: &'a mut FunctionBuilder<'func>,
968
- env: &'a mut FuncEnvironment<'module_env>,
969
- ) -> Self {
970
- Call {
971
- builder,
972
- env,
973
- tail: true,
974
- }
975
- }
976
-
977
- /// Do a direct call to the given callee function.
978
- pub fn direct_call(
979
- mut self,
980
- callee_index: FuncIndex,
981
- callee: ir::FuncRef,
982
- call_args: &[ir::Value],
983
- ) -> WasmResult<ir::Inst> {
984
- let mut real_call_args = Vec::with_capacity(call_args.len() + 2);
985
- let caller_vmctx = self
986
- .builder
987
- .func
988
- .special_param(ArgumentPurpose::VMContext)
989
- .unwrap();
990
-
991
- // Handle direct calls to locally-defined functions.
992
- if !self.env.module.is_imported_function(callee_index) {
993
- // First append the callee vmctx address, which is the same as the caller vmctx in
994
- // this case.
995
- real_call_args.push(caller_vmctx);
996
-
997
- // Then append the caller vmctx address.
998
- real_call_args.push(caller_vmctx);
999
-
1000
- // Then append the regular call arguments.
1001
- real_call_args.extend_from_slice(call_args);
1002
-
1003
- // Finally, make the direct call!
1004
- return Ok(self.direct_call_inst(callee, &real_call_args));
1005
- }
1006
-
1007
- // Handle direct calls to imported functions. We use an indirect call
1008
- // so that we don't have to patch the code at runtime.
1009
- let pointer_type = self.env.pointer_type();
1010
- let sig_ref = self.builder.func.dfg.ext_funcs[callee].signature;
1011
- let vmctx = self.env.vmctx(self.builder.func);
1012
- let base = self.builder.ins().global_value(pointer_type, vmctx);
1013
-
1014
- let mem_flags = ir::MemFlags::trusted().with_readonly();
1015
-
1016
- // Load the callee address.
1017
- let body_offset = i32::try_from(
1018
- self.env
1019
- .offsets
1020
- .vmctx_vmfunction_import_wasm_call(callee_index),
1021
- )
1022
- .unwrap();
1023
- let func_addr = self
1024
- .builder
1025
- .ins()
1026
- .load(pointer_type, mem_flags, base, body_offset);
1027
-
1028
- // First append the callee vmctx address.
1029
- let vmctx_offset =
1030
- i32::try_from(self.env.offsets.vmctx_vmfunction_import_vmctx(callee_index)).unwrap();
1031
- let vmctx = self
1032
- .builder
1033
- .ins()
1034
- .load(pointer_type, mem_flags, base, vmctx_offset);
1035
- real_call_args.push(vmctx);
1036
- real_call_args.push(caller_vmctx);
1037
-
1038
- // Then append the regular call arguments.
1039
- real_call_args.extend_from_slice(call_args);
1040
-
1041
- // Finally, make the indirect call!
1042
- Ok(self.indirect_call_inst(sig_ref, func_addr, &real_call_args))
1043
- }
1044
-
1045
- /// Do an indirect call through the given funcref table.
1046
- pub fn indirect_call(
1047
- mut self,
1048
- table_index: TableIndex,
1049
- table: ir::Table,
1050
- ty_index: TypeIndex,
1051
- sig_ref: ir::SigRef,
1052
- callee: ir::Value,
1053
- call_args: &[ir::Value],
1054
- ) -> WasmResult<ir::Inst> {
1055
- let pointer_type = self.env.pointer_type();
1056
-
1057
- // Get the funcref pointer from the table.
1058
- let funcref_ptr =
1059
- self.env
1060
- .get_or_init_func_ref_table_elem(self.builder, table_index, table, callee);
1061
-
1062
- // Check for whether the table element is null, and trap if so.
1063
- self.builder
1064
- .ins()
1065
- .trapz(funcref_ptr, ir::TrapCode::IndirectCallToNull);
1066
-
1067
- // If necessary, check the signature.
1068
- match self.env.module.table_plans[table_index].style {
1069
- TableStyle::CallerChecksSignature => {
1070
- let sig_id_size = self.env.offsets.size_of_vmshared_signature_index();
1071
- let sig_id_type = Type::int(u16::from(sig_id_size) * 8).unwrap();
1072
- let vmctx = self.env.vmctx(self.builder.func);
1073
- let base = self.builder.ins().global_value(pointer_type, vmctx);
1074
-
1075
- // Load the caller ID. This requires loading the `*mut
1076
- // VMFuncRef` base pointer from `VMContext` and then loading,
1077
- // based on `SignatureIndex`, the corresponding entry.
1078
- let mem_flags = ir::MemFlags::trusted().with_readonly();
1079
- let signatures = self.builder.ins().load(
1080
- pointer_type,
1081
- mem_flags,
1082
- base,
1083
- i32::try_from(self.env.offsets.vmctx_signature_ids_array()).unwrap(),
1084
- );
1085
- let sig_index = self.env.module.types[ty_index].unwrap_function();
1086
- let offset =
1087
- i32::try_from(sig_index.as_u32().checked_mul(sig_id_type.bytes()).unwrap())
1088
- .unwrap();
1089
- let caller_sig_id =
1090
- self.builder
1091
- .ins()
1092
- .load(sig_id_type, mem_flags, signatures, offset);
1093
-
1094
- // Load the callee ID.
1095
- let mem_flags = ir::MemFlags::trusted().with_readonly();
1096
- let callee_sig_id = self.builder.ins().load(
1097
- sig_id_type,
1098
- mem_flags,
1099
- funcref_ptr,
1100
- i32::from(self.env.offsets.ptr.vm_func_ref_type_index()),
1101
- );
1102
-
1103
- // Check that they match.
1104
- let cmp = self
1105
- .builder
1106
- .ins()
1107
- .icmp(IntCC::Equal, callee_sig_id, caller_sig_id);
1108
- self.builder.ins().trapz(cmp, ir::TrapCode::BadSignature);
1109
- }
1110
- }
1111
-
1112
- self.unchecked_call(sig_ref, funcref_ptr, call_args)
1113
- }
1114
-
1115
- /// Call a typed function reference.
1116
- pub fn call_ref(
1117
- mut self,
1118
- sig_ref: ir::SigRef,
1119
- callee: ir::Value,
1120
- args: &[ir::Value],
1121
- ) -> WasmResult<ir::Inst> {
1122
- // Check for whether the callee is null, and trap if so.
1123
- //
1124
- // FIXME: the wasm type system tracks enough information to know whether
1125
- // `callee` is a null reference or not. In some situations it can be
1126
- // statically known here that `callee` cannot be null in which case this
1127
- // null check can be elided. This requires feeding type information from
1128
- // wasmparser's validator into this function, however, which is not
1129
- // easily done at this time.
1130
- self.builder
1131
- .ins()
1132
- .trapz(callee, ir::TrapCode::NullReference);
1133
-
1134
- self.unchecked_call(sig_ref, callee, args)
1135
- }
1136
-
1137
- /// This calls a function by reference without checking the signature.
1138
- ///
1139
- /// It gets the function address, sets relevant flags, and passes the
1140
- /// special callee/caller vmctxs. It is used by both call_indirect (which
1141
- /// checks the signature) and call_ref (which doesn't).
1142
- fn unchecked_call(
1143
- &mut self,
1144
- sig_ref: ir::SigRef,
1145
- callee: ir::Value,
1146
- call_args: &[ir::Value],
1147
- ) -> WasmResult<ir::Inst> {
1148
- let pointer_type = self.env.pointer_type();
1149
-
1150
- // Dereference callee pointer to get the function address.
1151
- let mem_flags = ir::MemFlags::trusted().with_readonly();
1152
- let func_addr = self.builder.ins().load(
1153
- pointer_type,
1154
- mem_flags,
1155
- callee,
1156
- i32::from(self.env.offsets.ptr.vm_func_ref_wasm_call()),
1157
- );
1158
-
1159
- let mut real_call_args = Vec::with_capacity(call_args.len() + 2);
1160
- let caller_vmctx = self
1161
- .builder
1162
- .func
1163
- .special_param(ArgumentPurpose::VMContext)
1164
- .unwrap();
1165
-
1166
- // First append the callee vmctx address.
1167
- let vmctx = self.builder.ins().load(
1168
- pointer_type,
1169
- mem_flags,
1170
- callee,
1171
- i32::from(self.env.offsets.ptr.vm_func_ref_vmctx()),
1172
- );
1173
- real_call_args.push(vmctx);
1174
- real_call_args.push(caller_vmctx);
1175
-
1176
- // Then append the regular call arguments.
1177
- real_call_args.extend_from_slice(call_args);
1178
-
1179
- Ok(self.indirect_call_inst(sig_ref, func_addr, &real_call_args))
1180
- }
1181
-
1182
- fn direct_call_inst(&mut self, callee: ir::FuncRef, args: &[ir::Value]) -> ir::Inst {
1183
- if self.tail {
1184
- self.builder.ins().return_call(callee, args)
1185
- } else {
1186
- self.builder.ins().call(callee, args)
1187
- }
1188
- }
1189
-
1190
- fn indirect_call_inst(
1191
- &mut self,
1192
- sig_ref: ir::SigRef,
1193
- func_addr: ir::Value,
1194
- args: &[ir::Value],
1195
- ) -> ir::Inst {
1196
- if self.tail {
1197
- self.builder
1198
- .ins()
1199
- .return_call_indirect(sig_ref, func_addr, args)
1200
- } else {
1201
- self.builder.ins().call_indirect(sig_ref, func_addr, args)
1202
- }
1203
- }
1204
- }
1205
-
1206
- impl TypeConvert for FuncEnvironment<'_> {
1207
- fn lookup_heap_type(&self, ty: TypeIndex) -> WasmHeapType {
1208
- self.module.lookup_heap_type(ty)
1209
- }
1210
- }
1211
-
1212
- impl<'module_environment> TargetEnvironment for FuncEnvironment<'module_environment> {
1213
- fn target_config(&self) -> TargetFrontendConfig {
1214
- self.isa.frontend_config()
1215
- }
1216
-
1217
- fn reference_type(&self, ty: WasmHeapType) -> ir::Type {
1218
- crate::reference_type(ty, self.pointer_type())
1219
- }
1220
-
1221
- fn heap_access_spectre_mitigation(&self) -> bool {
1222
- self.isa.flags().enable_heap_access_spectre_mitigation()
1223
- }
1224
-
1225
- fn proof_carrying_code(&self) -> bool {
1226
- self.isa.flags().enable_pcc()
1227
- }
1228
- }
1229
-
1230
- impl<'module_environment> cranelift_wasm::FuncEnvironment for FuncEnvironment<'module_environment> {
1231
- fn heaps(&self) -> &PrimaryMap<Heap, HeapData> {
1232
- &self.heaps
1233
- }
1234
-
1235
- fn is_wasm_parameter(&self, _signature: &ir::Signature, index: usize) -> bool {
1236
- // The first two parameters are the vmctx and caller vmctx. The rest are
1237
- // the wasm parameters.
1238
- index >= 2
1239
- }
1240
-
1241
- fn after_locals(&mut self, num_locals: usize) {
1242
- self.vmruntime_limits_ptr = Variable::new(num_locals);
1243
- self.fuel_var = Variable::new(num_locals + 1);
1244
- self.epoch_deadline_var = Variable::new(num_locals + 2);
1245
- self.epoch_ptr_var = Variable::new(num_locals + 3);
1246
- }
1247
-
1248
- fn make_table(&mut self, func: &mut ir::Function, index: TableIndex) -> WasmResult<ir::Table> {
1249
- let pointer_type = self.pointer_type();
1250
-
1251
- let (ptr, base_offset, current_elements_offset) = {
1252
- let vmctx = self.vmctx(func);
1253
- if let Some(def_index) = self.module.defined_table_index(index) {
1254
- let base_offset =
1255
- i32::try_from(self.offsets.vmctx_vmtable_definition_base(def_index)).unwrap();
1256
- let current_elements_offset = i32::try_from(
1257
- self.offsets
1258
- .vmctx_vmtable_definition_current_elements(def_index),
1259
- )
1260
- .unwrap();
1261
- (vmctx, base_offset, current_elements_offset)
1262
- } else {
1263
- let from_offset = self.offsets.vmctx_vmtable_import_from(index);
1264
- let table = func.create_global_value(ir::GlobalValueData::Load {
1265
- base: vmctx,
1266
- offset: Offset32::new(i32::try_from(from_offset).unwrap()),
1267
- global_type: pointer_type,
1268
- flags: MemFlags::trusted().with_readonly(),
1269
- });
1270
- let base_offset = i32::from(self.offsets.vmtable_definition_base());
1271
- let current_elements_offset =
1272
- i32::from(self.offsets.vmtable_definition_current_elements());
1273
- (table, base_offset, current_elements_offset)
1274
- }
1275
- };
1276
-
1277
- let base_gv = func.create_global_value(ir::GlobalValueData::Load {
1278
- base: ptr,
1279
- offset: Offset32::new(base_offset),
1280
- global_type: pointer_type,
1281
- flags: MemFlags::trusted(),
1282
- });
1283
- let bound_gv = func.create_global_value(ir::GlobalValueData::Load {
1284
- base: ptr,
1285
- offset: Offset32::new(current_elements_offset),
1286
- global_type: ir::Type::int(
1287
- u16::from(self.offsets.size_of_vmtable_definition_current_elements()) * 8,
1288
- )
1289
- .unwrap(),
1290
- flags: MemFlags::trusted(),
1291
- });
1292
-
1293
- let element_size = u64::from(
1294
- self.reference_type(self.module.table_plans[index].table.wasm_ty.heap_type)
1295
- .bytes(),
1296
- );
1297
-
1298
- Ok(func.create_table(ir::TableData {
1299
- base_gv,
1300
- min_size: Uimm64::new(0),
1301
- bound_gv,
1302
- element_size: Uimm64::new(element_size),
1303
- index_type: I32,
1304
- }))
1305
- }
1306
-
1307
- fn translate_table_grow(
1308
- &mut self,
1309
- mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
1310
- table_index: TableIndex,
1311
- _table: ir::Table,
1312
- delta: ir::Value,
1313
- init_value: ir::Value,
1314
- ) -> WasmResult<ir::Value> {
1315
- let (func_idx, func_sig) =
1316
- match self.module.table_plans[table_index].table.wasm_ty.heap_type {
1317
- WasmHeapType::Func | WasmHeapType::TypedFunc(_) => (
1318
- BuiltinFunctionIndex::table_grow_func_ref(),
1319
- self.builtin_function_signatures
1320
- .table_grow_func_ref(&mut pos.func),
1321
- ),
1322
- WasmHeapType::Extern => (
1323
- BuiltinFunctionIndex::table_grow_externref(),
1324
- self.builtin_function_signatures
1325
- .table_grow_externref(&mut pos.func),
1326
- ),
1327
- };
1328
-
1329
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(&mut pos, func_idx);
1330
-
1331
- let table_index_arg = pos.ins().iconst(I32, table_index.as_u32() as i64);
1332
- let call_inst = pos.ins().call_indirect(
1333
- func_sig,
1334
- func_addr,
1335
- &[vmctx, table_index_arg, delta, init_value],
1336
- );
1337
-
1338
- Ok(pos.func.dfg.first_result(call_inst))
1339
- }
1340
-
1341
- fn translate_table_get(
1342
- &mut self,
1343
- builder: &mut FunctionBuilder,
1344
- table_index: TableIndex,
1345
- table: ir::Table,
1346
- index: ir::Value,
1347
- ) -> WasmResult<ir::Value> {
1348
- let pointer_type = self.pointer_type();
1349
-
1350
- let plan = &self.module.table_plans[table_index];
1351
- match plan.table.wasm_ty.heap_type {
1352
- WasmHeapType::Func | WasmHeapType::TypedFunc(_) => match plan.style {
1353
- TableStyle::CallerChecksSignature => {
1354
- Ok(self.get_or_init_func_ref_table_elem(builder, table_index, table, index))
1355
- }
1356
- },
1357
- WasmHeapType::Extern => {
1358
- // Our read barrier for `externref` tables is roughly equivalent
1359
- // to the following pseudocode:
1360
- //
1361
- // ```
1362
- // let elem = table[index]
1363
- // if elem is not null:
1364
- // let (next, end) = VMExternRefActivationsTable bump region
1365
- // if next != end:
1366
- // elem.ref_count += 1
1367
- // *next = elem
1368
- // next += 1
1369
- // else:
1370
- // call activations_table_insert_with_gc(elem)
1371
- // return elem
1372
- // ```
1373
- //
1374
- // This ensures that all `externref`s coming out of tables and
1375
- // onto the stack are safely held alive by the
1376
- // `VMExternRefActivationsTable`.
1377
-
1378
- let reference_type = self.reference_type(WasmHeapType::Extern);
1379
-
1380
- builder.ensure_inserted_block();
1381
- let continue_block = builder.create_block();
1382
- let non_null_elem_block = builder.create_block();
1383
- let gc_block = builder.create_block();
1384
- let no_gc_block = builder.create_block();
1385
- let current_block = builder.current_block().unwrap();
1386
- builder.insert_block_after(non_null_elem_block, current_block);
1387
- builder.insert_block_after(no_gc_block, non_null_elem_block);
1388
- builder.insert_block_after(gc_block, no_gc_block);
1389
- builder.insert_block_after(continue_block, gc_block);
1390
-
1391
- // Load the table element.
1392
- let elem_addr = builder.ins().table_addr(pointer_type, table, index, 0);
1393
- let flags = ir::MemFlags::trusted().with_table();
1394
- let elem = builder.ins().load(reference_type, flags, elem_addr, 0);
1395
-
1396
- let elem_is_null = builder.ins().is_null(elem);
1397
- builder
1398
- .ins()
1399
- .brif(elem_is_null, continue_block, &[], non_null_elem_block, &[]);
1400
-
1401
- // Load the `VMExternRefActivationsTable::next` bump finger and
1402
- // the `VMExternRefActivationsTable::end` bump boundary.
1403
- builder.switch_to_block(non_null_elem_block);
1404
- let vmctx = self.vmctx(&mut builder.func);
1405
- let vmctx = builder.ins().global_value(pointer_type, vmctx);
1406
- let activations_table = builder.ins().load(
1407
- pointer_type,
1408
- ir::MemFlags::trusted(),
1409
- vmctx,
1410
- i32::try_from(self.offsets.vmctx_externref_activations_table()).unwrap(),
1411
- );
1412
- let next = builder.ins().load(
1413
- pointer_type,
1414
- ir::MemFlags::trusted(),
1415
- activations_table,
1416
- i32::try_from(self.offsets.vm_extern_ref_activation_table_next()).unwrap(),
1417
- );
1418
- let end = builder.ins().load(
1419
- pointer_type,
1420
- ir::MemFlags::trusted(),
1421
- activations_table,
1422
- i32::try_from(self.offsets.vm_extern_ref_activation_table_end()).unwrap(),
1423
- );
1424
-
1425
- // If `next == end`, then we are at full capacity. Call a
1426
- // builtin to do a GC and insert this reference into the
1427
- // just-swept table for us.
1428
- let at_capacity = builder.ins().icmp(ir::condcodes::IntCC::Equal, next, end);
1429
- builder
1430
- .ins()
1431
- .brif(at_capacity, gc_block, &[], no_gc_block, &[]);
1432
- builder.switch_to_block(gc_block);
1433
- let builtin_idx = BuiltinFunctionIndex::activations_table_insert_with_gc();
1434
- let builtin_sig = self
1435
- .builtin_function_signatures
1436
- .activations_table_insert_with_gc(builder.func);
1437
- let (vmctx, builtin_addr) = self
1438
- .translate_load_builtin_function_address(&mut builder.cursor(), builtin_idx);
1439
- builder
1440
- .ins()
1441
- .call_indirect(builtin_sig, builtin_addr, &[vmctx, elem]);
1442
- builder.ins().jump(continue_block, &[]);
1443
-
1444
- // If `next != end`, then:
1445
- //
1446
- // * increment this reference's ref count,
1447
- // * store the reference into the bump table at `*next`,
1448
- // * and finally increment the `next` bump finger.
1449
- builder.switch_to_block(no_gc_block);
1450
- self.mutate_externref_ref_count(builder, elem, 1);
1451
- builder.ins().store(ir::MemFlags::trusted(), elem, next, 0);
1452
-
1453
- let new_next = builder
1454
- .ins()
1455
- .iadd_imm(next, i64::from(reference_type.bytes()));
1456
- builder.ins().store(
1457
- ir::MemFlags::trusted(),
1458
- new_next,
1459
- activations_table,
1460
- i32::try_from(self.offsets.vm_extern_ref_activation_table_next()).unwrap(),
1461
- );
1462
-
1463
- builder.ins().jump(continue_block, &[]);
1464
- builder.switch_to_block(continue_block);
1465
-
1466
- builder.seal_block(non_null_elem_block);
1467
- builder.seal_block(gc_block);
1468
- builder.seal_block(no_gc_block);
1469
- builder.seal_block(continue_block);
1470
-
1471
- Ok(elem)
1472
- }
1473
- }
1474
- }
1475
-
1476
- fn translate_table_set(
1477
- &mut self,
1478
- builder: &mut FunctionBuilder,
1479
- table_index: TableIndex,
1480
- table: ir::Table,
1481
- value: ir::Value,
1482
- index: ir::Value,
1483
- ) -> WasmResult<()> {
1484
- let pointer_type = self.pointer_type();
1485
- let plan = &self.module.table_plans[table_index];
1486
- match plan.table.wasm_ty.heap_type {
1487
- WasmHeapType::Func | WasmHeapType::TypedFunc(_) => match plan.style {
1488
- TableStyle::CallerChecksSignature => {
1489
- let table_entry_addr = builder.ins().table_addr(pointer_type, table, index, 0);
1490
- // Set the "initialized bit". See doc-comment on
1491
- // `FUNCREF_INIT_BIT` in
1492
- // crates/environ/src/ref_bits.rs for details.
1493
- let value_with_init_bit = builder
1494
- .ins()
1495
- .bor_imm(value, Imm64::from(FUNCREF_INIT_BIT as i64));
1496
- let flags = ir::MemFlags::trusted().with_table();
1497
- builder
1498
- .ins()
1499
- .store(flags, value_with_init_bit, table_entry_addr, 0);
1500
- Ok(())
1501
- }
1502
- },
1503
-
1504
- WasmHeapType::Extern => {
1505
- // Our write barrier for `externref`s being copied out of the
1506
- // stack and into a table is roughly equivalent to the following
1507
- // pseudocode:
1508
- //
1509
- // ```
1510
- // if value != null:
1511
- // value.ref_count += 1
1512
- // let current_elem = table[index]
1513
- // table[index] = value
1514
- // if current_elem != null:
1515
- // current_elem.ref_count -= 1
1516
- // if current_elem.ref_count == 0:
1517
- // call drop_externref(current_elem)
1518
- // ```
1519
- //
1520
- // This write barrier is responsible for ensuring that:
1521
- //
1522
- // 1. The value's ref count is incremented now that the
1523
- // table is holding onto it. This is required for memory safety.
1524
- //
1525
- // 2. The old table element, if any, has its ref count
1526
- // decremented, and that the wrapped data is dropped if the
1527
- // ref count reaches zero. This is not required for memory
1528
- // safety, but is required to avoid leaks. Furthermore, the
1529
- // destructor might GC or touch this table, so we must only
1530
- // drop the old table element *after* we've replaced it with
1531
- // the new `value`!
1532
-
1533
- builder.ensure_inserted_block();
1534
- let current_block = builder.current_block().unwrap();
1535
- let inc_ref_count_block = builder.create_block();
1536
- builder.insert_block_after(inc_ref_count_block, current_block);
1537
- let check_current_elem_block = builder.create_block();
1538
- builder.insert_block_after(check_current_elem_block, inc_ref_count_block);
1539
- let dec_ref_count_block = builder.create_block();
1540
- builder.insert_block_after(dec_ref_count_block, check_current_elem_block);
1541
- let drop_block = builder.create_block();
1542
- builder.insert_block_after(drop_block, dec_ref_count_block);
1543
- let continue_block = builder.create_block();
1544
- builder.insert_block_after(continue_block, drop_block);
1545
-
1546
- // Calculate the table address of the current element and do
1547
- // bounds checks. This is the first thing we do, because we
1548
- // don't want to modify any ref counts if this `table.set` is
1549
- // going to trap.
1550
- let table_entry_addr = builder.ins().table_addr(pointer_type, table, index, 0);
1551
-
1552
- // If value is not null, increment `value`'s ref count.
1553
- //
1554
- // This has to come *before* decrementing the current table
1555
- // element's ref count, because it might reach ref count == zero,
1556
- // causing us to deallocate the current table element. However,
1557
- // if `value` *is* the current table element (and therefore this
1558
- // whole `table.set` is a no-op), then we would incorrectly
1559
- // deallocate `value` and leave it in the table, leading to use
1560
- // after free.
1561
- let value_is_null = builder.ins().is_null(value);
1562
- builder.ins().brif(
1563
- value_is_null,
1564
- check_current_elem_block,
1565
- &[],
1566
- inc_ref_count_block,
1567
- &[],
1568
- );
1569
- builder.switch_to_block(inc_ref_count_block);
1570
- self.mutate_externref_ref_count(builder, value, 1);
1571
- builder.ins().jump(check_current_elem_block, &[]);
1572
-
1573
- // Grab the current element from the table, and store the new
1574
- // `value` into the table.
1575
- //
1576
- // Note that we load the current element as a pointer, not a
1577
- // reference. This is so that if we call out-of-line to run its
1578
- // destructor, and its destructor triggers GC, this reference is
1579
- // not recorded in the stack map (which would lead to the GC
1580
- // saving a reference to a deallocated object, and then using it
1581
- // after its been freed).
1582
- builder.switch_to_block(check_current_elem_block);
1583
- let flags = ir::MemFlags::trusted().with_table();
1584
- let current_elem = builder.ins().load(pointer_type, flags, table_entry_addr, 0);
1585
- builder.ins().store(flags, value, table_entry_addr, 0);
1586
-
1587
- // If the current element is non-null, decrement its reference
1588
- // count. And if its reference count has reached zero, then make
1589
- // an out-of-line call to deallocate it.
1590
- let current_elem_is_null =
1591
- builder
1592
- .ins()
1593
- .icmp_imm(ir::condcodes::IntCC::Equal, current_elem, 0);
1594
- builder.ins().brif(
1595
- current_elem_is_null,
1596
- continue_block,
1597
- &[],
1598
- dec_ref_count_block,
1599
- &[],
1600
- );
1601
-
1602
- builder.switch_to_block(dec_ref_count_block);
1603
- let prev_ref_count = self.mutate_externref_ref_count(builder, current_elem, -1);
1604
- let one = builder.ins().iconst(pointer_type, 1);
1605
- let cond = builder.ins().icmp(IntCC::Equal, one, prev_ref_count);
1606
- builder
1607
- .ins()
1608
- .brif(cond, drop_block, &[], continue_block, &[]);
1609
-
1610
- // Call the `drop_externref` builtin to (you guessed it) drop
1611
- // the `externref`.
1612
- builder.switch_to_block(drop_block);
1613
- let builtin_idx = BuiltinFunctionIndex::drop_externref();
1614
- let builtin_sig = self
1615
- .builtin_function_signatures
1616
- .drop_externref(builder.func);
1617
- let (vmctx, builtin_addr) = self
1618
- .translate_load_builtin_function_address(&mut builder.cursor(), builtin_idx);
1619
- builder
1620
- .ins()
1621
- .call_indirect(builtin_sig, builtin_addr, &[vmctx, current_elem]);
1622
- builder.ins().jump(continue_block, &[]);
1623
-
1624
- builder.switch_to_block(continue_block);
1625
-
1626
- builder.seal_block(inc_ref_count_block);
1627
- builder.seal_block(check_current_elem_block);
1628
- builder.seal_block(dec_ref_count_block);
1629
- builder.seal_block(drop_block);
1630
- builder.seal_block(continue_block);
1631
-
1632
- Ok(())
1633
- }
1634
- }
1635
- }
1636
-
1637
- fn translate_table_fill(
1638
- &mut self,
1639
- mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
1640
- table_index: TableIndex,
1641
- dst: ir::Value,
1642
- val: ir::Value,
1643
- len: ir::Value,
1644
- ) -> WasmResult<()> {
1645
- let (builtin_idx, builtin_sig) =
1646
- match self.module.table_plans[table_index].table.wasm_ty.heap_type {
1647
- WasmHeapType::Func | WasmHeapType::TypedFunc(_) => (
1648
- BuiltinFunctionIndex::table_fill_func_ref(),
1649
- self.builtin_function_signatures
1650
- .table_fill_func_ref(&mut pos.func),
1651
- ),
1652
- WasmHeapType::Extern => (
1653
- BuiltinFunctionIndex::table_fill_externref(),
1654
- self.builtin_function_signatures
1655
- .table_fill_externref(&mut pos.func),
1656
- ),
1657
- };
1658
-
1659
- let (vmctx, builtin_addr) =
1660
- self.translate_load_builtin_function_address(&mut pos, builtin_idx);
1661
-
1662
- let table_index_arg = pos.ins().iconst(I32, table_index.as_u32() as i64);
1663
- pos.ins().call_indirect(
1664
- builtin_sig,
1665
- builtin_addr,
1666
- &[vmctx, table_index_arg, dst, val, len],
1667
- );
1668
-
1669
- Ok(())
1670
- }
1671
-
1672
- fn translate_ref_null(
1673
- &mut self,
1674
- mut pos: cranelift_codegen::cursor::FuncCursor,
1675
- ht: WasmHeapType,
1676
- ) -> WasmResult<ir::Value> {
1677
- Ok(match ht {
1678
- WasmHeapType::Func | WasmHeapType::TypedFunc(_) => {
1679
- pos.ins().iconst(self.pointer_type(), 0)
1680
- }
1681
- WasmHeapType::Extern => pos.ins().null(self.reference_type(ht)),
1682
- })
1683
- }
1684
-
1685
- fn translate_ref_is_null(
1686
- &mut self,
1687
- mut pos: cranelift_codegen::cursor::FuncCursor,
1688
- value: ir::Value,
1689
- ) -> WasmResult<ir::Value> {
1690
- let bool_is_null = match pos.func.dfg.value_type(value) {
1691
- // `externref`
1692
- ty if ty.is_ref() => pos.ins().is_null(value),
1693
- // `funcref`
1694
- ty if ty == self.pointer_type() => {
1695
- pos.ins()
1696
- .icmp_imm(cranelift_codegen::ir::condcodes::IntCC::Equal, value, 0)
1697
- }
1698
- _ => unreachable!(),
1699
- };
1700
-
1701
- Ok(pos.ins().uextend(ir::types::I32, bool_is_null))
1702
- }
1703
-
1704
- fn translate_ref_func(
1705
- &mut self,
1706
- mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
1707
- func_index: FuncIndex,
1708
- ) -> WasmResult<ir::Value> {
1709
- let func_index = pos.ins().iconst(I32, func_index.as_u32() as i64);
1710
- let builtin_index = BuiltinFunctionIndex::ref_func();
1711
- let builtin_sig = self.builtin_function_signatures.ref_func(&mut pos.func);
1712
- let (vmctx, builtin_addr) =
1713
- self.translate_load_builtin_function_address(&mut pos, builtin_index);
1714
-
1715
- let call_inst = pos
1716
- .ins()
1717
- .call_indirect(builtin_sig, builtin_addr, &[vmctx, func_index]);
1718
- Ok(pos.func.dfg.first_result(call_inst))
1719
- }
1720
-
1721
- fn translate_custom_global_get(
1722
- &mut self,
1723
- mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
1724
- index: cranelift_wasm::GlobalIndex,
1725
- ) -> WasmResult<ir::Value> {
1726
- debug_assert_eq!(
1727
- self.module.globals[index].wasm_ty,
1728
- WasmType::Ref(WasmRefType::EXTERNREF),
1729
- "We only use GlobalVariable::Custom for externref"
1730
- );
1731
-
1732
- let builtin_index = BuiltinFunctionIndex::externref_global_get();
1733
- let builtin_sig = self
1734
- .builtin_function_signatures
1735
- .externref_global_get(&mut pos.func);
1736
-
1737
- let (vmctx, builtin_addr) =
1738
- self.translate_load_builtin_function_address(&mut pos, builtin_index);
1739
-
1740
- let global_index_arg = pos.ins().iconst(I32, index.as_u32() as i64);
1741
- let call_inst =
1742
- pos.ins()
1743
- .call_indirect(builtin_sig, builtin_addr, &[vmctx, global_index_arg]);
1744
-
1745
- Ok(pos.func.dfg.first_result(call_inst))
1746
- }
1747
-
1748
- fn translate_custom_global_set(
1749
- &mut self,
1750
- mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
1751
- index: cranelift_wasm::GlobalIndex,
1752
- value: ir::Value,
1753
- ) -> WasmResult<()> {
1754
- debug_assert_eq!(
1755
- self.module.globals[index].wasm_ty,
1756
- WasmType::Ref(WasmRefType::EXTERNREF),
1757
- "We only use GlobalVariable::Custom for externref"
1758
- );
1759
-
1760
- let builtin_index = BuiltinFunctionIndex::externref_global_set();
1761
- let builtin_sig = self
1762
- .builtin_function_signatures
1763
- .externref_global_set(&mut pos.func);
1764
-
1765
- let (vmctx, builtin_addr) =
1766
- self.translate_load_builtin_function_address(&mut pos, builtin_index);
1767
-
1768
- let global_index_arg = pos.ins().iconst(I32, index.as_u32() as i64);
1769
- pos.ins()
1770
- .call_indirect(builtin_sig, builtin_addr, &[vmctx, global_index_arg, value]);
1771
-
1772
- Ok(())
1773
- }
1774
-
1775
- fn make_heap(&mut self, func: &mut ir::Function, index: MemoryIndex) -> WasmResult<Heap> {
1776
- let pointer_type = self.pointer_type();
1777
- let is_shared = self.module.memory_plans[index].memory.shared;
1778
-
1779
- let min_size = self.module.memory_plans[index]
1780
- .memory
1781
- .minimum
1782
- .checked_mul(u64::from(WASM_PAGE_SIZE))
1783
- .unwrap_or_else(|| {
1784
- // The only valid Wasm memory size that won't fit in a 64-bit
1785
- // integer is the maximum memory64 size (2^64) which is one
1786
- // larger than `u64::MAX` (2^64 - 1). In this case, just say the
1787
- // minimum heap size is `u64::MAX`.
1788
- debug_assert_eq!(self.module.memory_plans[index].memory.minimum, 1 << 48);
1789
- u64::MAX
1790
- });
1791
-
1792
- let max_size = self.module.memory_plans[index]
1793
- .memory
1794
- .maximum
1795
- .and_then(|max| max.checked_mul(u64::from(WASM_PAGE_SIZE)));
1796
-
1797
- let (ptr, base_offset, current_length_offset, ptr_memtype) = {
1798
- let vmctx = self.vmctx(func);
1799
- if let Some(def_index) = self.module.defined_memory_index(index) {
1800
- if is_shared {
1801
- // As with imported memory, the `VMMemoryDefinition` for a
1802
- // shared memory is stored elsewhere. We store a `*mut
1803
- // VMMemoryDefinition` to it and dereference that when
1804
- // atomically growing it.
1805
- let from_offset = self.offsets.vmctx_vmmemory_pointer(def_index);
1806
- let memory = func.create_global_value(ir::GlobalValueData::Load {
1807
- base: vmctx,
1808
- offset: Offset32::new(i32::try_from(from_offset).unwrap()),
1809
- global_type: pointer_type,
1810
- flags: MemFlags::trusted().with_readonly(),
1811
- });
1812
- let base_offset = i32::from(self.offsets.ptr.vmmemory_definition_base());
1813
- let current_length_offset =
1814
- i32::from(self.offsets.ptr.vmmemory_definition_current_length());
1815
- (memory, base_offset, current_length_offset, None)
1816
- } else {
1817
- let owned_index = self.module.owned_memory_index(def_index);
1818
- let owned_base_offset =
1819
- self.offsets.vmctx_vmmemory_definition_base(owned_index);
1820
- let owned_length_offset = self
1821
- .offsets
1822
- .vmctx_vmmemory_definition_current_length(owned_index);
1823
- let current_base_offset = i32::try_from(owned_base_offset).unwrap();
1824
- let current_length_offset = i32::try_from(owned_length_offset).unwrap();
1825
- (
1826
- vmctx,
1827
- current_base_offset,
1828
- current_length_offset,
1829
- self.pcc_vmctx_memtype,
1830
- )
1831
- }
1832
- } else {
1833
- let from_offset = self.offsets.vmctx_vmmemory_import_from(index);
1834
- let memory = func.create_global_value(ir::GlobalValueData::Load {
1835
- base: vmctx,
1836
- offset: Offset32::new(i32::try_from(from_offset).unwrap()),
1837
- global_type: pointer_type,
1838
- flags: MemFlags::trusted().with_readonly(),
1839
- });
1840
- let base_offset = i32::from(self.offsets.ptr.vmmemory_definition_base());
1841
- let current_length_offset =
1842
- i32::from(self.offsets.ptr.vmmemory_definition_current_length());
1843
- (memory, base_offset, current_length_offset, None)
1844
- }
1845
- };
1846
-
1847
- // If we have a declared maximum, we can make this a "static" heap, which is
1848
- // allocated up front and never moved.
1849
- let (offset_guard_size, heap_style, readonly_base, base_fact, memory_type) =
1850
- match self.module.memory_plans[index] {
1851
- MemoryPlan {
1852
- style: MemoryStyle::Dynamic { .. },
1853
- offset_guard_size,
1854
- pre_guard_size: _,
1855
- memory: _,
1856
- } => {
1857
- let heap_bound = func.create_global_value(ir::GlobalValueData::Load {
1858
- base: ptr,
1859
- offset: Offset32::new(current_length_offset),
1860
- global_type: pointer_type,
1861
- flags: MemFlags::trusted(),
1862
- });
1863
-
1864
- let (base_fact, data_mt) = if let Some(ptr_memtype) = ptr_memtype {
1865
- // Create a memtype representing the untyped memory region.
1866
- let data_mt = func.create_memory_type(ir::MemoryTypeData::DynamicMemory {
1867
- gv: heap_bound,
1868
- size: offset_guard_size,
1869
- });
1870
- // This fact applies to any pointer to the start of the memory.
1871
- let base_fact = ir::Fact::dynamic_base_ptr(data_mt);
1872
- // This fact applies to the length.
1873
- let length_fact = ir::Fact::global_value(
1874
- u16::try_from(self.isa.pointer_type().bits()).unwrap(),
1875
- heap_bound,
1876
- );
1877
- // Create a field in the vmctx for the base pointer.
1878
- match &mut func.memory_types[ptr_memtype] {
1879
- ir::MemoryTypeData::Struct { size, fields } => {
1880
- let base_offset = u64::try_from(base_offset).unwrap();
1881
- fields.push(ir::MemoryTypeField {
1882
- offset: base_offset,
1883
- ty: self.isa.pointer_type(),
1884
- // Read-only field from the PoV of PCC checks:
1885
- // don't allow stores to this field. (Even if
1886
- // it is a dynamic memory whose base can
1887
- // change, that update happens inside the
1888
- // runtime, not in generated code.)
1889
- readonly: true,
1890
- fact: Some(base_fact.clone()),
1891
- });
1892
- let current_length_offset =
1893
- u64::try_from(current_length_offset).unwrap();
1894
- fields.push(ir::MemoryTypeField {
1895
- offset: current_length_offset,
1896
- ty: self.isa.pointer_type(),
1897
- // As above, read-only; only the runtime modifies it.
1898
- readonly: true,
1899
- fact: Some(length_fact),
1900
- });
1901
-
1902
- let pointer_size = u64::from(self.isa.pointer_type().bytes());
1903
- let fields_end = std::cmp::max(
1904
- base_offset + pointer_size,
1905
- current_length_offset + pointer_size,
1906
- );
1907
- *size = std::cmp::max(*size, fields_end);
1908
- }
1909
- _ => {}
1910
- }
1911
- // Apply a fact to the base pointer.
1912
- (Some(base_fact), Some(data_mt))
1913
- } else {
1914
- (None, None)
1915
- };
1916
-
1917
- (
1918
- offset_guard_size,
1919
- HeapStyle::Dynamic {
1920
- bound_gv: heap_bound,
1921
- },
1922
- false,
1923
- base_fact,
1924
- data_mt,
1925
- )
1926
- }
1927
- MemoryPlan {
1928
- style: MemoryStyle::Static { bound: bound_pages },
1929
- offset_guard_size,
1930
- pre_guard_size: _,
1931
- memory: _,
1932
- } => {
1933
- let bound_bytes = u64::from(bound_pages) * u64::from(WASM_PAGE_SIZE);
1934
- let (base_fact, data_mt) = if let Some(ptr_memtype) = ptr_memtype {
1935
- // Create a memtype representing the untyped memory region.
1936
- let data_mt = func.create_memory_type(ir::MemoryTypeData::Memory {
1937
- size: bound_bytes
1938
- .checked_add(offset_guard_size)
1939
- .expect("Memory plan has overflowing size plus guard"),
1940
- });
1941
- // This fact applies to any pointer to the start of the memory.
1942
- let base_fact = Fact::Mem {
1943
- ty: data_mt,
1944
- min_offset: 0,
1945
- max_offset: 0,
1946
- nullable: false,
1947
- };
1948
- // Create a field in the vmctx for the base pointer.
1949
- match &mut func.memory_types[ptr_memtype] {
1950
- ir::MemoryTypeData::Struct { size, fields } => {
1951
- let offset = u64::try_from(base_offset).unwrap();
1952
- fields.push(ir::MemoryTypeField {
1953
- offset,
1954
- ty: self.isa.pointer_type(),
1955
- // Read-only field from the PoV of PCC checks:
1956
- // don't allow stores to this field. (Even if
1957
- // it is a dynamic memory whose base can
1958
- // change, that update happens inside the
1959
- // runtime, not in generated code.)
1960
- readonly: true,
1961
- fact: Some(base_fact.clone()),
1962
- });
1963
- *size = std::cmp::max(
1964
- *size,
1965
- offset + u64::from(self.isa.pointer_type().bytes()),
1966
- );
1967
- }
1968
- _ => {}
1969
- }
1970
- // Apply a fact to the base pointer.
1971
- (Some(base_fact), Some(data_mt))
1972
- } else {
1973
- (None, None)
1974
- };
1975
- (
1976
- offset_guard_size,
1977
- HeapStyle::Static { bound: bound_bytes },
1978
- true,
1979
- base_fact,
1980
- data_mt,
1981
- )
1982
- }
1983
- };
1984
-
1985
- let mut flags = MemFlags::trusted().with_checked();
1986
- if readonly_base {
1987
- flags.set_readonly();
1988
- }
1989
- let heap_base = func.create_global_value(ir::GlobalValueData::Load {
1990
- base: ptr,
1991
- offset: Offset32::new(base_offset),
1992
- global_type: pointer_type,
1993
- flags,
1994
- });
1995
- func.global_value_facts[heap_base] = base_fact;
1996
-
1997
- Ok(self.heaps.push(HeapData {
1998
- base: heap_base,
1999
- min_size,
2000
- max_size,
2001
- offset_guard_size,
2002
- style: heap_style,
2003
- index_type: self.memory_index_type(index),
2004
- memory_type,
2005
- }))
2006
- }
2007
-
2008
- fn make_global(
2009
- &mut self,
2010
- func: &mut ir::Function,
2011
- index: GlobalIndex,
2012
- ) -> WasmResult<GlobalVariable> {
2013
- let ty = self.module.globals[index].wasm_ty;
2014
- match ty {
2015
- // Although `ExternRef`s live at the same memory location as any
2016
- // other type of global at the same index would, getting or setting
2017
- // them requires ref counting barriers. Therefore, we need to use
2018
- // `GlobalVariable::Custom`, as that is the only kind of
2019
- // `GlobalVariable` for which `cranelift-wasm` supports custom
2020
- // access translation.
2021
- WasmType::Ref(WasmRefType {
2022
- heap_type: WasmHeapType::Extern,
2023
- ..
2024
- }) => return Ok(GlobalVariable::Custom),
2025
-
2026
- // Funcrefs are represented as pointers which survive for the
2027
- // entire lifetime of the `Store` so there's no need for barriers.
2028
- // This means that they can fall through to memory as well.
2029
- WasmType::Ref(WasmRefType {
2030
- heap_type: WasmHeapType::Func | WasmHeapType::TypedFunc(_),
2031
- ..
2032
- }) => {}
2033
-
2034
- // Value types all live in memory so let them fall through to a
2035
- // memory-based global.
2036
- WasmType::I32 | WasmType::I64 | WasmType::F32 | WasmType::F64 | WasmType::V128 => {}
2037
- }
2038
-
2039
- let (gv, offset) = self.get_global_location(func, index);
2040
- Ok(GlobalVariable::Memory {
2041
- gv,
2042
- offset: offset.into(),
2043
- ty: super::value_type(self.isa, ty),
2044
- })
2045
- }
2046
-
2047
- fn make_indirect_sig(
2048
- &mut self,
2049
- func: &mut ir::Function,
2050
- index: TypeIndex,
2051
- ) -> WasmResult<ir::SigRef> {
2052
- let index = self.module.types[index].unwrap_function();
2053
- let sig = crate::wasm_call_signature(self.isa, &self.types[index], &self.tunables);
2054
- Ok(func.import_signature(sig))
2055
- }
2056
-
2057
- fn make_direct_func(
2058
- &mut self,
2059
- func: &mut ir::Function,
2060
- index: FuncIndex,
2061
- ) -> WasmResult<ir::FuncRef> {
2062
- let sig = self.module.functions[index].signature;
2063
- let sig = crate::wasm_call_signature(self.isa, &self.types[sig], &self.tunables);
2064
- let signature = func.import_signature(sig);
2065
- let name =
2066
- ir::ExternalName::User(func.declare_imported_user_function(ir::UserExternalName {
2067
- namespace: 0,
2068
- index: index.as_u32(),
2069
- }));
2070
- Ok(func.import_function(ir::ExtFuncData {
2071
- name,
2072
- signature,
2073
-
2074
- // The value of this flag determines the codegen for calls to this
2075
- // function. If this flag is `false` then absolute relocations will
2076
- // be generated for references to the function, which requires
2077
- // load-time relocation resolution. If this flag is set to `true`
2078
- // then relative relocations are emitted which can be resolved at
2079
- // object-link-time, just after all functions are compiled.
2080
- //
2081
- // This flag is set to `true` for functions defined in the object
2082
- // we'll be defining in this compilation unit, or everything local
2083
- // to the wasm module. This means that between functions in a wasm
2084
- // module there's relative calls encoded. All calls external to a
2085
- // wasm module (e.g. imports or libcalls) are either encoded through
2086
- // the `VMContext` as relative jumps (hence no relocations) or
2087
- // they're libcalls with absolute relocations.
2088
- colocated: self.module.defined_func_index(index).is_some(),
2089
- }))
2090
- }
2091
-
2092
- fn translate_call_indirect(
2093
- &mut self,
2094
- builder: &mut FunctionBuilder,
2095
- table_index: TableIndex,
2096
- table: ir::Table,
2097
- ty_index: TypeIndex,
2098
- sig_ref: ir::SigRef,
2099
- callee: ir::Value,
2100
- call_args: &[ir::Value],
2101
- ) -> WasmResult<ir::Inst> {
2102
- Call::new(builder, self).indirect_call(
2103
- table_index,
2104
- table,
2105
- ty_index,
2106
- sig_ref,
2107
- callee,
2108
- call_args,
2109
- )
2110
- }
2111
-
2112
- fn translate_call(
2113
- &mut self,
2114
- builder: &mut FunctionBuilder,
2115
- callee_index: FuncIndex,
2116
- callee: ir::FuncRef,
2117
- call_args: &[ir::Value],
2118
- ) -> WasmResult<ir::Inst> {
2119
- Call::new(builder, self).direct_call(callee_index, callee, call_args)
2120
- }
2121
-
2122
- fn translate_call_ref(
2123
- &mut self,
2124
- builder: &mut FunctionBuilder,
2125
- sig_ref: ir::SigRef,
2126
- callee: ir::Value,
2127
- call_args: &[ir::Value],
2128
- ) -> WasmResult<ir::Inst> {
2129
- Call::new(builder, self).call_ref(sig_ref, callee, call_args)
2130
- }
2131
-
2132
- fn translate_return_call(
2133
- &mut self,
2134
- builder: &mut FunctionBuilder,
2135
- callee_index: FuncIndex,
2136
- callee: ir::FuncRef,
2137
- call_args: &[ir::Value],
2138
- ) -> WasmResult<()> {
2139
- Call::new_tail(builder, self).direct_call(callee_index, callee, call_args)?;
2140
- Ok(())
2141
- }
2142
-
2143
- fn translate_return_call_indirect(
2144
- &mut self,
2145
- builder: &mut FunctionBuilder,
2146
- table_index: TableIndex,
2147
- table: ir::Table,
2148
- ty_index: TypeIndex,
2149
- sig_ref: ir::SigRef,
2150
- callee: ir::Value,
2151
- call_args: &[ir::Value],
2152
- ) -> WasmResult<()> {
2153
- Call::new_tail(builder, self).indirect_call(
2154
- table_index,
2155
- table,
2156
- ty_index,
2157
- sig_ref,
2158
- callee,
2159
- call_args,
2160
- )?;
2161
- Ok(())
2162
- }
2163
-
2164
- fn translate_return_call_ref(
2165
- &mut self,
2166
- builder: &mut FunctionBuilder,
2167
- sig_ref: ir::SigRef,
2168
- callee: ir::Value,
2169
- call_args: &[ir::Value],
2170
- ) -> WasmResult<()> {
2171
- Call::new_tail(builder, self).call_ref(sig_ref, callee, call_args)?;
2172
- Ok(())
2173
- }
2174
-
2175
- fn translate_memory_grow(
2176
- &mut self,
2177
- mut pos: FuncCursor<'_>,
2178
- index: MemoryIndex,
2179
- _heap: Heap,
2180
- val: ir::Value,
2181
- ) -> WasmResult<ir::Value> {
2182
- let func_sig = self
2183
- .builtin_function_signatures
2184
- .memory32_grow(&mut pos.func);
2185
- let index_arg = index.index();
2186
-
2187
- let memory_index = pos.ins().iconst(I32, index_arg as i64);
2188
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(
2189
- &mut pos,
2190
- BuiltinFunctionIndex::memory32_grow(),
2191
- );
2192
-
2193
- let val = self.cast_memory_index_to_i64(&mut pos, val, index);
2194
- let call_inst = pos
2195
- .ins()
2196
- .call_indirect(func_sig, func_addr, &[vmctx, val, memory_index]);
2197
- let result = *pos.func.dfg.inst_results(call_inst).first().unwrap();
2198
- Ok(self.cast_pointer_to_memory_index(pos, result, index))
2199
- }
2200
-
2201
- fn translate_memory_size(
2202
- &mut self,
2203
- mut pos: FuncCursor<'_>,
2204
- index: MemoryIndex,
2205
- _heap: Heap,
2206
- ) -> WasmResult<ir::Value> {
2207
- let pointer_type = self.pointer_type();
2208
- let vmctx = self.vmctx(&mut pos.func);
2209
- let is_shared = self.module.memory_plans[index].memory.shared;
2210
- let base = pos.ins().global_value(pointer_type, vmctx);
2211
- let current_length_in_bytes = match self.module.defined_memory_index(index) {
2212
- Some(def_index) => {
2213
- if is_shared {
2214
- let offset =
2215
- i32::try_from(self.offsets.vmctx_vmmemory_pointer(def_index)).unwrap();
2216
- let vmmemory_ptr =
2217
- pos.ins()
2218
- .load(pointer_type, ir::MemFlags::trusted(), base, offset);
2219
- let vmmemory_definition_offset =
2220
- i64::from(self.offsets.ptr.vmmemory_definition_current_length());
2221
- let vmmemory_definition_ptr =
2222
- pos.ins().iadd_imm(vmmemory_ptr, vmmemory_definition_offset);
2223
- // This atomic access of the
2224
- // `VMMemoryDefinition::current_length` is direct; no bounds
2225
- // check is needed. This is possible because shared memory
2226
- // has a static size (the maximum is always known). Shared
2227
- // memory is thus built with a static memory plan and no
2228
- // bounds-checked version of this is implemented.
2229
- pos.ins().atomic_load(
2230
- pointer_type,
2231
- ir::MemFlags::trusted(),
2232
- vmmemory_definition_ptr,
2233
- )
2234
- } else {
2235
- let owned_index = self.module.owned_memory_index(def_index);
2236
- let offset = i32::try_from(
2237
- self.offsets
2238
- .vmctx_vmmemory_definition_current_length(owned_index),
2239
- )
2240
- .unwrap();
2241
- pos.ins()
2242
- .load(pointer_type, ir::MemFlags::trusted(), base, offset)
2243
- }
2244
- }
2245
- None => {
2246
- let offset = i32::try_from(self.offsets.vmctx_vmmemory_import_from(index)).unwrap();
2247
- let vmmemory_ptr =
2248
- pos.ins()
2249
- .load(pointer_type, ir::MemFlags::trusted(), base, offset);
2250
- if is_shared {
2251
- let vmmemory_definition_offset =
2252
- i64::from(self.offsets.ptr.vmmemory_definition_current_length());
2253
- let vmmemory_definition_ptr =
2254
- pos.ins().iadd_imm(vmmemory_ptr, vmmemory_definition_offset);
2255
- pos.ins().atomic_load(
2256
- pointer_type,
2257
- ir::MemFlags::trusted(),
2258
- vmmemory_definition_ptr,
2259
- )
2260
- } else {
2261
- pos.ins().load(
2262
- pointer_type,
2263
- ir::MemFlags::trusted(),
2264
- vmmemory_ptr,
2265
- i32::from(self.offsets.ptr.vmmemory_definition_current_length()),
2266
- )
2267
- }
2268
- }
2269
- };
2270
- let current_length_in_pages = pos
2271
- .ins()
2272
- .udiv_imm(current_length_in_bytes, i64::from(WASM_PAGE_SIZE));
2273
-
2274
- Ok(self.cast_pointer_to_memory_index(pos, current_length_in_pages, index))
2275
- }
2276
-
2277
- fn translate_memory_copy(
2278
- &mut self,
2279
- mut pos: FuncCursor,
2280
- src_index: MemoryIndex,
2281
- _src_heap: Heap,
2282
- dst_index: MemoryIndex,
2283
- _dst_heap: Heap,
2284
- dst: ir::Value,
2285
- src: ir::Value,
2286
- len: ir::Value,
2287
- ) -> WasmResult<()> {
2288
- let (vmctx, func_addr) = self
2289
- .translate_load_builtin_function_address(&mut pos, BuiltinFunctionIndex::memory_copy());
2290
-
2291
- let func_sig = self.builtin_function_signatures.memory_copy(&mut pos.func);
2292
- let dst = self.cast_memory_index_to_i64(&mut pos, dst, dst_index);
2293
- let src = self.cast_memory_index_to_i64(&mut pos, src, src_index);
2294
- // The length is 32-bit if either memory is 32-bit, but if they're both
2295
- // 64-bit then it's 64-bit. Our intrinsic takes a 64-bit length for
2296
- // compatibility across all memories, so make sure that it's cast
2297
- // correctly here (this is a bit special so no generic helper unlike for
2298
- // `dst`/`src` above)
2299
- let len = if self.memory_index_type(dst_index) == I64
2300
- && self.memory_index_type(src_index) == I64
2301
- {
2302
- len
2303
- } else {
2304
- pos.ins().uextend(I64, len)
2305
- };
2306
- let src_index = pos.ins().iconst(I32, i64::from(src_index.as_u32()));
2307
- let dst_index = pos.ins().iconst(I32, i64::from(dst_index.as_u32()));
2308
- pos.ins().call_indirect(
2309
- func_sig,
2310
- func_addr,
2311
- &[vmctx, dst_index, dst, src_index, src, len],
2312
- );
2313
-
2314
- Ok(())
2315
- }
2316
-
2317
- fn translate_memory_fill(
2318
- &mut self,
2319
- mut pos: FuncCursor,
2320
- memory_index: MemoryIndex,
2321
- _heap: Heap,
2322
- dst: ir::Value,
2323
- val: ir::Value,
2324
- len: ir::Value,
2325
- ) -> WasmResult<()> {
2326
- let func_sig = self.builtin_function_signatures.memory_fill(&mut pos.func);
2327
- let dst = self.cast_memory_index_to_i64(&mut pos, dst, memory_index);
2328
- let len = self.cast_memory_index_to_i64(&mut pos, len, memory_index);
2329
- let memory_index_arg = pos.ins().iconst(I32, i64::from(memory_index.as_u32()));
2330
-
2331
- let (vmctx, func_addr) = self
2332
- .translate_load_builtin_function_address(&mut pos, BuiltinFunctionIndex::memory_fill());
2333
-
2334
- pos.ins().call_indirect(
2335
- func_sig,
2336
- func_addr,
2337
- &[vmctx, memory_index_arg, dst, val, len],
2338
- );
2339
-
2340
- Ok(())
2341
- }
2342
-
2343
- fn translate_memory_init(
2344
- &mut self,
2345
- mut pos: FuncCursor,
2346
- memory_index: MemoryIndex,
2347
- _heap: Heap,
2348
- seg_index: u32,
2349
- dst: ir::Value,
2350
- src: ir::Value,
2351
- len: ir::Value,
2352
- ) -> WasmResult<()> {
2353
- let (func_sig, func_idx) = self.get_memory_init_func(&mut pos.func);
2354
-
2355
- let memory_index_arg = pos.ins().iconst(I32, memory_index.index() as i64);
2356
- let seg_index_arg = pos.ins().iconst(I32, seg_index as i64);
2357
-
2358
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(&mut pos, func_idx);
2359
-
2360
- let dst = self.cast_memory_index_to_i64(&mut pos, dst, memory_index);
2361
-
2362
- pos.ins().call_indirect(
2363
- func_sig,
2364
- func_addr,
2365
- &[vmctx, memory_index_arg, seg_index_arg, dst, src, len],
2366
- );
2367
-
2368
- Ok(())
2369
- }
2370
-
2371
- fn translate_data_drop(&mut self, mut pos: FuncCursor, seg_index: u32) -> WasmResult<()> {
2372
- let (func_sig, func_idx) = self.get_data_drop_func(&mut pos.func);
2373
- let seg_index_arg = pos.ins().iconst(I32, seg_index as i64);
2374
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(&mut pos, func_idx);
2375
- pos.ins()
2376
- .call_indirect(func_sig, func_addr, &[vmctx, seg_index_arg]);
2377
- Ok(())
2378
- }
2379
-
2380
- fn translate_table_size(
2381
- &mut self,
2382
- mut pos: FuncCursor,
2383
- _table_index: TableIndex,
2384
- table: ir::Table,
2385
- ) -> WasmResult<ir::Value> {
2386
- let size_gv = pos.func.tables[table].bound_gv;
2387
- Ok(pos.ins().global_value(ir::types::I32, size_gv))
2388
- }
2389
-
2390
- fn translate_table_copy(
2391
- &mut self,
2392
- mut pos: FuncCursor,
2393
- dst_table_index: TableIndex,
2394
- _dst_table: ir::Table,
2395
- src_table_index: TableIndex,
2396
- _src_table: ir::Table,
2397
- dst: ir::Value,
2398
- src: ir::Value,
2399
- len: ir::Value,
2400
- ) -> WasmResult<()> {
2401
- let (func_sig, dst_table_index_arg, src_table_index_arg, func_idx) =
2402
- self.get_table_copy_func(&mut pos.func, dst_table_index, src_table_index);
2403
-
2404
- let dst_table_index_arg = pos.ins().iconst(I32, dst_table_index_arg as i64);
2405
- let src_table_index_arg = pos.ins().iconst(I32, src_table_index_arg as i64);
2406
-
2407
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(&mut pos, func_idx);
2408
-
2409
- pos.ins().call_indirect(
2410
- func_sig,
2411
- func_addr,
2412
- &[
2413
- vmctx,
2414
- dst_table_index_arg,
2415
- src_table_index_arg,
2416
- dst,
2417
- src,
2418
- len,
2419
- ],
2420
- );
2421
-
2422
- Ok(())
2423
- }
2424
-
2425
- fn translate_table_init(
2426
- &mut self,
2427
- mut pos: FuncCursor,
2428
- seg_index: u32,
2429
- table_index: TableIndex,
2430
- _table: ir::Table,
2431
- dst: ir::Value,
2432
- src: ir::Value,
2433
- len: ir::Value,
2434
- ) -> WasmResult<()> {
2435
- let (func_sig, table_index_arg, func_idx) =
2436
- self.get_table_init_func(&mut pos.func, table_index);
2437
-
2438
- let table_index_arg = pos.ins().iconst(I32, table_index_arg as i64);
2439
- let seg_index_arg = pos.ins().iconst(I32, seg_index as i64);
2440
-
2441
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(&mut pos, func_idx);
2442
-
2443
- pos.ins().call_indirect(
2444
- func_sig,
2445
- func_addr,
2446
- &[vmctx, table_index_arg, seg_index_arg, dst, src, len],
2447
- );
2448
-
2449
- Ok(())
2450
- }
2451
-
2452
- fn translate_elem_drop(&mut self, mut pos: FuncCursor, elem_index: u32) -> WasmResult<()> {
2453
- let (func_sig, func_idx) = self.get_elem_drop_func(&mut pos.func);
2454
-
2455
- let elem_index_arg = pos.ins().iconst(I32, elem_index as i64);
2456
-
2457
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(&mut pos, func_idx);
2458
-
2459
- pos.ins()
2460
- .call_indirect(func_sig, func_addr, &[vmctx, elem_index_arg]);
2461
-
2462
- Ok(())
2463
- }
2464
-
2465
- fn translate_atomic_wait(
2466
- &mut self,
2467
- mut pos: FuncCursor,
2468
- memory_index: MemoryIndex,
2469
- _heap: Heap,
2470
- addr: ir::Value,
2471
- expected: ir::Value,
2472
- timeout: ir::Value,
2473
- ) -> WasmResult<ir::Value> {
2474
- let addr = self.cast_memory_index_to_i64(&mut pos, addr, memory_index);
2475
- let implied_ty = pos.func.dfg.value_type(expected);
2476
- let (func_sig, memory_index, func_idx) =
2477
- self.get_memory_atomic_wait(&mut pos.func, memory_index, implied_ty);
2478
-
2479
- let memory_index_arg = pos.ins().iconst(I32, memory_index as i64);
2480
-
2481
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(&mut pos, func_idx);
2482
-
2483
- let call_inst = pos.ins().call_indirect(
2484
- func_sig,
2485
- func_addr,
2486
- &[vmctx, memory_index_arg, addr, expected, timeout],
2487
- );
2488
-
2489
- Ok(*pos.func.dfg.inst_results(call_inst).first().unwrap())
2490
- }
2491
-
2492
- fn translate_atomic_notify(
2493
- &mut self,
2494
- mut pos: FuncCursor,
2495
- memory_index: MemoryIndex,
2496
- _heap: Heap,
2497
- addr: ir::Value,
2498
- count: ir::Value,
2499
- ) -> WasmResult<ir::Value> {
2500
- let addr = self.cast_memory_index_to_i64(&mut pos, addr, memory_index);
2501
- let func_sig = self
2502
- .builtin_function_signatures
2503
- .memory_atomic_notify(&mut pos.func);
2504
-
2505
- let memory_index_arg = pos.ins().iconst(I32, memory_index.index() as i64);
2506
-
2507
- let (vmctx, func_addr) = self.translate_load_builtin_function_address(
2508
- &mut pos,
2509
- BuiltinFunctionIndex::memory_atomic_notify(),
2510
- );
2511
-
2512
- let call_inst =
2513
- pos.ins()
2514
- .call_indirect(func_sig, func_addr, &[vmctx, memory_index_arg, addr, count]);
2515
-
2516
- Ok(*pos.func.dfg.inst_results(call_inst).first().unwrap())
2517
- }
2518
-
2519
- fn translate_loop_header(&mut self, builder: &mut FunctionBuilder) -> WasmResult<()> {
2520
- // Additionally if enabled check how much fuel we have remaining to see
2521
- // if we've run out by this point.
2522
- if self.tunables.consume_fuel {
2523
- self.fuel_check(builder);
2524
- }
2525
-
2526
- // If we are performing epoch-based interruption, check to see
2527
- // if the epoch counter has changed.
2528
- if self.tunables.epoch_interruption {
2529
- self.epoch_check(builder);
2530
- }
2531
-
2532
- Ok(())
2533
- }
2534
-
2535
- fn before_translate_operator(
2536
- &mut self,
2537
- op: &Operator,
2538
- builder: &mut FunctionBuilder,
2539
- state: &FuncTranslationState,
2540
- ) -> WasmResult<()> {
2541
- if self.tunables.consume_fuel {
2542
- self.fuel_before_op(op, builder, state.reachable());
2543
- }
2544
- Ok(())
2545
- }
2546
-
2547
- fn after_translate_operator(
2548
- &mut self,
2549
- op: &Operator,
2550
- builder: &mut FunctionBuilder,
2551
- state: &FuncTranslationState,
2552
- ) -> WasmResult<()> {
2553
- if self.tunables.consume_fuel && state.reachable() {
2554
- self.fuel_after_op(op, builder);
2555
- }
2556
- Ok(())
2557
- }
2558
-
2559
- fn before_unconditionally_trapping_memory_access(
2560
- &mut self,
2561
- builder: &mut FunctionBuilder,
2562
- ) -> WasmResult<()> {
2563
- if self.tunables.consume_fuel {
2564
- self.fuel_increment_var(builder);
2565
- self.fuel_save_from_var(builder);
2566
- }
2567
- Ok(())
2568
- }
2569
-
2570
- fn before_translate_function(
2571
- &mut self,
2572
- builder: &mut FunctionBuilder,
2573
- _state: &FuncTranslationState,
2574
- ) -> WasmResult<()> {
2575
- // If the `vmruntime_limits_ptr` variable will get used then we initialize
2576
- // it here.
2577
- if self.tunables.consume_fuel || self.tunables.epoch_interruption {
2578
- self.declare_vmruntime_limits_ptr(builder);
2579
- }
2580
- // Additionally we initialize `fuel_var` if it will get used.
2581
- if self.tunables.consume_fuel {
2582
- self.fuel_function_entry(builder);
2583
- }
2584
- // Initialize `epoch_var` with the current epoch.
2585
- if self.tunables.epoch_interruption {
2586
- self.epoch_function_entry(builder);
2587
- }
2588
-
2589
- let func_name = self.current_func_name(builder);
2590
- if func_name == Some("malloc") {
2591
- self.check_malloc_start(builder);
2592
- } else if func_name == Some("free") {
2593
- self.check_free_start(builder);
2594
- }
2595
-
2596
- Ok(())
2597
- }
2598
-
2599
- fn after_translate_function(
2600
- &mut self,
2601
- builder: &mut FunctionBuilder,
2602
- state: &FuncTranslationState,
2603
- ) -> WasmResult<()> {
2604
- if self.tunables.consume_fuel && state.reachable() {
2605
- self.fuel_function_exit(builder);
2606
- }
2607
- if let Some(pcc_vmctx_memtype) = self.pcc_vmctx_memtype {
2608
- // Sort the fields by offset in the struct definition for
2609
- // vmctx, now that we've completed it.
2610
- match &mut builder.func.memory_types[pcc_vmctx_memtype] {
2611
- ir::MemoryTypeData::Struct { fields, .. } => {
2612
- fields.sort_by_key(|f| f.offset);
2613
- }
2614
- _ => {}
2615
- }
2616
- }
2617
- Ok(())
2618
- }
2619
-
2620
- fn relaxed_simd_deterministic(&self) -> bool {
2621
- self.tunables.relaxed_simd_deterministic
2622
- }
2623
-
2624
- fn has_native_fma(&self) -> bool {
2625
- self.isa.has_native_fma()
2626
- }
2627
-
2628
- fn is_x86(&self) -> bool {
2629
- self.isa.triple().architecture == target_lexicon::Architecture::X86_64
2630
- }
2631
-
2632
- fn use_x86_blendv_for_relaxed_laneselect(&self, ty: Type) -> bool {
2633
- self.isa.has_x86_blendv_lowering(ty)
2634
- }
2635
-
2636
- fn use_x86_pshufb_for_relaxed_swizzle(&self) -> bool {
2637
- self.isa.has_x86_pshufb_lowering()
2638
- }
2639
-
2640
- fn use_x86_pmulhrsw_for_relaxed_q15mul(&self) -> bool {
2641
- self.isa.has_x86_pmulhrsw_lowering()
2642
- }
2643
-
2644
- fn use_x86_pmaddubsw_for_dot(&self) -> bool {
2645
- self.isa.has_x86_pmaddubsw_lowering()
2646
- }
2647
-
2648
- cfg_if! {
2649
- if #[cfg(feature = "wmemcheck")] {
2650
- fn handle_before_return(
2651
- &mut self,
2652
- retvals: &[Value],
2653
- builder: &mut FunctionBuilder,
2654
- ) {
2655
- if self.wmemcheck {
2656
- let func_name = self.current_func_name(builder);
2657
- if func_name == Some("malloc") {
2658
- self.hook_malloc_exit(builder, retvals);
2659
- } else if func_name == Some("free") {
2660
- self.hook_free_exit(builder);
2661
- }
2662
- }
2663
- }
2664
-
2665
- fn before_load(&mut self, builder: &mut FunctionBuilder, val_size: u8, addr: ir::Value, offset: u64) {
2666
- if self.wmemcheck {
2667
- let check_load_sig = self.builtin_function_signatures.check_load(builder.func);
2668
- let (vmctx, check_load) = self.translate_load_builtin_function_address(
2669
- &mut builder.cursor(),
2670
- BuiltinFunctionIndex::check_load(),
2671
- );
2672
- let num_bytes = builder.ins().iconst(I32, val_size as i64);
2673
- let offset_val = builder.ins().iconst(I64, offset as i64);
2674
- builder
2675
- .ins()
2676
- .call_indirect(check_load_sig, check_load, &[vmctx, num_bytes, addr, offset_val]);
2677
- }
2678
- }
2679
-
2680
- fn before_store(&mut self, builder: &mut FunctionBuilder, val_size: u8, addr: ir::Value, offset: u64) {
2681
- if self.wmemcheck {
2682
- let check_store_sig = self.builtin_function_signatures.check_store(builder.func);
2683
- let (vmctx, check_store) = self.translate_load_builtin_function_address(
2684
- &mut builder.cursor(),
2685
- BuiltinFunctionIndex::check_store(),
2686
- );
2687
- let num_bytes = builder.ins().iconst(I32, val_size as i64);
2688
- let offset_val = builder.ins().iconst(I64, offset as i64);
2689
- builder
2690
- .ins()
2691
- .call_indirect(check_store_sig, check_store, &[vmctx, num_bytes, addr, offset_val]);
2692
- }
2693
- }
2694
-
2695
- fn update_global(&mut self, builder: &mut FunctionBuilder, global_index: u32, value: ir::Value) {
2696
- if self.wmemcheck {
2697
- if global_index == 0 {
2698
- // We are making the assumption that global 0 is the auxiliary stack pointer.
2699
- let update_stack_pointer_sig = self.builtin_function_signatures.update_stack_pointer(builder.func);
2700
- let (vmctx, update_stack_pointer) = self.translate_load_builtin_function_address(
2701
- &mut builder.cursor(),
2702
- BuiltinFunctionIndex::update_stack_pointer(),
2703
- );
2704
- builder
2705
- .ins()
2706
- .call_indirect(update_stack_pointer_sig, update_stack_pointer, &[vmctx, value]);
2707
- }
2708
- }
2709
- }
2710
-
2711
- fn before_memory_grow(&mut self, builder: &mut FunctionBuilder, num_pages: ir::Value, mem_index: MemoryIndex) {
2712
- if self.wmemcheck && mem_index.as_u32() == 0 {
2713
- let update_mem_size_sig = self.builtin_function_signatures.update_mem_size(builder.func);
2714
- let (vmctx, update_mem_size) = self.translate_load_builtin_function_address(
2715
- &mut builder.cursor(),
2716
- BuiltinFunctionIndex::update_mem_size(),
2717
- );
2718
- builder
2719
- .ins()
2720
- .call_indirect(update_mem_size_sig, update_mem_size, &[vmctx, num_pages]);
2721
- }
2722
- }
2723
- } else {
2724
- fn handle_before_return(&mut self, _retvals: &[Value], builder: &mut FunctionBuilder) {
2725
- let _ = self.builtin_function_signatures.check_malloc(builder.func);
2726
- let _ = self.builtin_function_signatures.check_free(builder.func);
2727
- }
2728
-
2729
- fn before_load(&mut self, builder: &mut FunctionBuilder, _val_size: u8, _addr: ir::Value, _offset: u64) {
2730
- let _ = self.builtin_function_signatures.check_load(builder.func);
2731
- }
2732
-
2733
- fn before_store(&mut self, builder: &mut FunctionBuilder, _val_size: u8, _addr: ir::Value, _offset: u64) {
2734
- let _ = self.builtin_function_signatures.check_store(builder.func);
2735
- }
2736
-
2737
- fn update_global(&mut self, builder: &mut FunctionBuilder, _global_index: u32, _value: ir::Value) {
2738
- let _ = self.builtin_function_signatures.update_stack_pointer(builder.func);
2739
- }
2740
-
2741
- fn before_memory_grow(&mut self, builder: &mut FunctionBuilder, _num_pages: Value, _mem_index: MemoryIndex) {
2742
- let _ = self.builtin_function_signatures.update_mem_size(builder.func);
2743
- }
2744
- }
2745
- }
2746
- }