wasmtime 22.0.0 → 23.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +127 -90
- data/ext/Cargo.toml +5 -5
- data/ext/cargo-vendor/cranelift-bforest-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.110.2/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/Cargo.toml +60 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/compound.rs +508 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/lib.rs +19 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/scalar.rs +575 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/tests/bitset.rs +78 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/Cargo.toml +206 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/binemit/stack_map.rs +141 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/context.rs +390 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/data_value.rs +410 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/dfg.rs +1806 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/globalvalue.rs +147 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/immediates.rs +2109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/instructions.rs +1015 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/jumptable.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/mod.rs +110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/trapcode.rs +148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/types.rs +643 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/user_stack_maps.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/emit.rs +3605 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/emit_tests.rs +7927 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/mod.rs +3058 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst.isle +4221 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/lower.isle +2969 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/mod.rs +259 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/mod.rs +462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/emit.rs +2741 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/emit_tests.rs +2219 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/mod.rs +1935 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst.isle +3153 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/lower/isle.rs +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/lower.isle +2953 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/mod.rs +265 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/inst/emit.rs +3421 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/inst/mod.rs +3395 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/lower.isle +3983 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/mod.rs +220 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/emit.rs +4297 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/emit_state.rs +65 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/mod.rs +2818 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst.isle +5299 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/lower.isle +4819 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/mod.rs +239 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isle_prelude.rs +965 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/legalizer/mod.rs +343 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/abi.rs +2427 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/buffer.rs +2544 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/helpers.rs +23 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/isle.rs +908 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/lower.rs +1462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/mod.rs +564 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/vcode.rs +1840 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/prelude.isle +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/prelude_lower.isle +1070 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/write.rs +660 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/Cargo.toml +45 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/cdsl/types.rs +512 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/cdsl/typevar.rs +980 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/gen_inst.rs +1278 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/shared/instructions.rs +3760 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/shared/types.rs +143 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.110.2/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-control-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.110.2/Cargo.toml +39 -0
- data/ext/cargo-vendor/cranelift-entity-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.110.2/Cargo.toml +66 -0
- data/ext/cargo-vendor/cranelift-entity-0.110.2/src/set.rs +193 -0
- data/ext/cargo-vendor/cranelift-frontend-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.110.2/Cargo.toml +87 -0
- data/ext/cargo-vendor/cranelift-frontend-0.110.2/src/frontend.rs +2867 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/Cargo.toml +60 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/codegen.rs +920 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/parser.rs +562 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/sema.rs +2503 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/trie_again.rs +695 -0
- data/ext/cargo-vendor/cranelift-native-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.110.2/Cargo.toml +52 -0
- data/ext/cargo-vendor/cranelift-native-0.110.2/src/lib.rs +188 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/Cargo.toml +119 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/code_translator/bounds_checks.rs +731 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/code_translator.rs +3694 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/heap.rs +119 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/sections_translator.rs +333 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.23/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.23/Cargo.toml +69 -0
- data/ext/cargo-vendor/termcolor-1.4.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/termcolor-1.4.1/COPYING +3 -0
- data/ext/cargo-vendor/termcolor-1.4.1/Cargo.toml +40 -0
- data/ext/cargo-vendor/termcolor-1.4.1/LICENSE-MIT +21 -0
- data/ext/cargo-vendor/termcolor-1.4.1/README.md +110 -0
- data/ext/cargo-vendor/termcolor-1.4.1/UNLICENSE +24 -0
- data/ext/cargo-vendor/termcolor-1.4.1/rustfmt.toml +2 -0
- data/ext/cargo-vendor/termcolor-1.4.1/src/lib.rs +2572 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/Cargo.toml +234 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/src/tokio/mod.rs +135 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/tests/all/async_.rs +295 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/tests/all/sync.rs +284 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/Cargo.toml +49 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/component/types.rs +771 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/code.rs +3571 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/globals.rs +100 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/imports.rs +143 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/memories.rs +115 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/tables.rs +121 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/types.rs +663 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/lib.rs +218 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/reencode.rs +1804 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/builder.rs +455 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/exports.rs +124 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/imports.rs +175 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/types.rs +802 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/code.rs +3947 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/elements.rs +222 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/globals.rs +100 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/imports.rs +143 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/memories.rs +115 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/names.rs +298 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/producers.rs +181 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/tables.rs +129 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/lib.rs +218 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/reencode.rs +2002 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/Cargo.lock +669 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/binary_reader.rs +1968 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/features.rs +166 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/lib.rs +814 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/parser.rs +1682 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/operators.rs +453 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/tables.rs +93 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/types.rs +1941 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/resources.rs +234 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/component.rs +3252 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/core.rs +1454 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/operators.rs +4230 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/types.rs +4598 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator.rs +1632 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/src/lib.rs +3221 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/src/operator.rs +1189 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/src/print.rs +190 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/tests/all.rs +48 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/Cargo.toml +399 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/build.rs +38 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/compile/code_builder.rs +274 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/compile/runtime.rs +167 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/compile.rs +881 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/config.rs +2902 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/engine/serialization.rs +893 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/engine.rs +719 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/lib.rs +406 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/jitdump.rs +65 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/perfmap.rs +47 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/vtune.rs +80 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent.rs +104 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/code_memory.rs +337 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/bindgen_examples/mod.rs +488 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/component.rs +811 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/host.rs +439 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/options.rs +552 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/typed.rs +2497 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func.rs +688 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/instance.rs +846 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/linker.rs +673 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/matching.rs +216 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/mod.rs +663 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/resources.rs +1132 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/values.rs +979 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/coredump.rs +339 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/debug.rs +165 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/externals/global.rs +310 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/func/typed.rs +788 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/func.rs +2593 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/disabled/rooting.rs +224 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/enabled/externref.rs +591 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/enabled/rooting.rs +1590 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/instance.rs +989 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/instantiate.rs +332 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/limits.rs +398 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/linker.rs +1498 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/memory.rs +1101 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/module/registry.rs +353 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/module.rs +1179 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/profiling.rs +280 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/stack.rs +72 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/store/data.rs +301 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/store.rs +2873 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/func.rs +93 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/memory.rs +295 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/table.rs +28 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline.rs +75 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trap.rs +642 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/types/matching.rs +428 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/types.rs +2771 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/values.rs +966 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/arch/riscv64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component/resources.rs +351 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component.rs +857 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/const_expr.rs +102 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/cow.rs +988 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/enabled/drc.rs +964 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/enabled/free_list.rs +770 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/gc_ref.rs +490 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/gc_runtime.rs +505 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc.rs +244 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/on_demand.rs +219 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +199 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +93 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +78 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +703 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +990 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/table_pool.rs +245 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +279 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling.rs +793 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator.rs +808 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance.rs +1518 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/libcalls.rs +832 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/memory.rs +815 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mmap.rs +217 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mmap_vec.rs +159 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/module_id.rs +19 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/disabled.rs +43 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/enabled.rs +213 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/mod.rs +59 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/sys.rs +113 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/mmap.rs +112 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/mod.rs +34 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/unwind.rs +17 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/vm.rs +105 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/miri/mmap.rs +98 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/miri/unwind.rs +17 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/mmap.rs +159 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/signals.rs +407 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/unwind.rs +149 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/windows/mmap.rs +220 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/windows/unwind.rs +46 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/table.rs +898 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/threads/shared_memory.rs +235 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/threads/shared_memory_disabled.rs +104 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/traphandlers.rs +767 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/vmcontext/vm_host_func_context.rs +79 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/vmcontext.rs +1246 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm.rs +403 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime.rs +113 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-23.0.2/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-cache-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-23.0.2/Cargo.toml +103 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/Cargo.toml +106 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/src/bindgen.rs +500 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/codegen.rs +698 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/char.rs +268 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/char_async.rs +291 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/conventions.rs +706 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/conventions_async.rs +757 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/dead-code.rs +194 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/dead-code_async.rs +213 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/direct-import.rs +120 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/direct-import_async.rs +132 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/empty.rs +74 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/empty_async.rs +80 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/flags.rs +743 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/flags_async.rs +791 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/floats.rs +343 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/floats_async.rs +376 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/function-new.rs +94 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/function-new_async.rs +103 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/integers.rs +873 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/integers_async.rs +976 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/lists.rs +1924 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/lists_async.rs +2114 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/many-arguments.rs +614 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/many-arguments_async.rs +638 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multi-return.rs +357 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multi-return_async.rs +391 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multiversion.rs +354 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multiversion_async.rs +379 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/records.rs +940 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/records_async.rs +1008 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/rename.rs +183 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/rename_async.rs +202 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-export.rs +657 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-export_async.rs +712 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-import.rs +1088 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-import_async.rs +1166 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/share-types.rs +315 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/share-types_async.rs +337 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-functions.rs +399 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-functions_async.rs +439 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-lists.rs +427 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-lists_async.rs +464 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-wasi.rs +245 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-wasi_async.rs +264 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/small-anonymous.rs +338 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/small-anonymous_async.rs +356 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-default.rs +94 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-default_async.rs +103 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-export.rs +149 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-export_async.rs +158 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke.rs +133 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke_async.rs +146 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/strings.rs +316 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/strings_async.rs +344 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/unversioned-foo.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/unversioned-foo_async.rs +178 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/use-paths.rs +317 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/use-paths_async.rs +349 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/variants.rs +1896 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/variants_async.rs +2019 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/wat.rs +145 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/wat_async.rs +151 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/worlds-with-types.rs +175 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/worlds-with-types_async.rs +191 -0
- data/ext/cargo-vendor/wasmtime-component-util-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-23.0.2/Cargo.toml +35 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/compiler.rs +1029 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/gc.rs +257 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/address_transform.rs +841 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/attr.rs +328 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/expression.rs +1264 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/line_program.rs +287 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/mod.rs +273 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/range_info_builder.rs +234 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/simulate.rs +423 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/unit.rs +520 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/utils.rs +165 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/write_debuginfo.rs +176 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug.rs +178 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/func_environ.rs +2721 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/gc/enabled.rs +648 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/lib.rs +458 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/Cargo.lock +792 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/Cargo.toml +185 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/compile/mod.rs +379 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/compile/module_environ.rs +1264 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/dfg.rs +718 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/info.rs +683 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/names.rs +275 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/translate/inline.rs +1333 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/translate.rs +993 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/types.rs +1041 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/types_builder.rs +976 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component.rs +109 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/lib.rs +64 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/module.rs +702 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/stack_map.rs +31 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/tunables.rs +165 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/vmoffsets.rs +897 -0
- data/ext/cargo-vendor/wasmtime-fiber-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-23.0.2/Cargo.toml +75 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-23.0.2/Cargo.toml +77 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-23.0.2/Cargo.toml +62 -0
- data/ext/cargo-vendor/wasmtime-slab-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-23.0.2/Cargo.toml +31 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/Cargo.toml +71 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/src/lib.rs +1760 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/src/prelude.rs +86 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-23.0.2/Cargo.toml +40 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/Cargo.toml +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/bindings.rs +561 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/filesystem.rs +448 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/host/filesystem.rs +1091 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/host/io.rs +391 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/lib.rs +419 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/preview1.rs +2801 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/stdio.rs +596 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/api.rs +197 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/sync.rs +331 -0
- data/ext/cargo-vendor/wasmtime-winch-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-23.0.2/Cargo.toml +92 -0
- data/ext/cargo-vendor/wasmtime-winch-23.0.2/src/compiler.rs +242 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/src/lib.rs +2777 -0
- data/ext/cargo-vendor/wast-215.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-215.0.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/binary.rs +1014 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/component.rs +320 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/expand.rs +875 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/resolve.rs +988 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component.rs +28 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/binary/dwarf.rs +610 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/binary/dwarf_disabled.rs +41 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/binary.rs +1542 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/expr.rs +2110 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/memory.rs +279 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/module.rs +215 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/deinline_import_export.rs +232 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/names.rs +791 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/types.rs +270 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/table.rs +308 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/types.rs +1057 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core.rs +30 -0
- data/ext/cargo-vendor/wast-215.0.0/src/lib.rs +556 -0
- data/ext/cargo-vendor/wast-215.0.0/src/parser.rs +1434 -0
- data/ext/cargo-vendor/wast-215.0.0/src/wat.rs +68 -0
- data/ext/cargo-vendor/wat-1.215.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.215.0/Cargo.toml +56 -0
- data/ext/cargo-vendor/wat-1.215.0/src/lib.rs +469 -0
- data/ext/cargo-vendor/wiggle-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-23.0.2/Cargo.toml +110 -0
- data/ext/cargo-vendor/wiggle-generate-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-23.0.2/Cargo.toml +76 -0
- data/ext/cargo-vendor/wiggle-macro-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-23.0.2/Cargo.toml +59 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/COPYING +3 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/Cargo.toml +53 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/LICENSE-MIT +21 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/README.md +64 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/UNLICENSE +24 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/rustfmt.toml +2 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/console.rs +407 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/file.rs +166 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/lib.rs +35 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/sysinfo.rs +161 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/win.rs +246 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/Cargo.toml +87 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/src/codegen/env.rs +449 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/src/codegen/mod.rs +878 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/src/visitor.rs +2154 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/ast/lex.rs +751 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/ast/resolve.rs +1539 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/ast.rs +1851 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/decoding.rs +1798 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/lib.rs +888 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/resolve.rs +2740 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/feature-gates.wit.json +308 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package/a.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package/b.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package.wit.json +250 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/deps/dep1/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/deps/dep2/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/packages.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps.wit.json +83 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/deps/dep1/types.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/deps/dep2/types.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/packages.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps.wit.json +116 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-colliding-decl-names.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-colliding-decl-names.wit.json +130 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-internal-references.wit +15 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-internal-references.wit.json +87 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-with-semver.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-with-semver.wit.json +130 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-multiple-explicit.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-multiple-explicit.wit.json +130 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-single-explicit.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-single-explicit.wit.json +70 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-colliding-names.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-colliding-names.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-with-error.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-with-error.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-explicit-then-implicit-package.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-explicit-then-implicit-package.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-implicit-then-explicit-package.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-implicit-then-explicit-package.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter/observe.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter/world.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +9 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-package-inline-cycle.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-package-inline-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit +15 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/since-and-unstable.wit.json +583 -0
- data/ext/src/ruby_api/memory.rs +2 -1
- data/lib/wasmtime/version.rb +1 -1
- metadata +1736 -1643
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/Cargo.toml +0 -41
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/Cargo.toml +0 -193
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/binemit/stack_map.rs +0 -155
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/bitset.rs +0 -187
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/context.rs +0 -384
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/data_value.rs +0 -385
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/dfg.rs +0 -1777
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/globalvalue.rs +0 -147
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/immediates.rs +0 -1612
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/instructions.rs +0 -1020
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/jumptable.rs +0 -168
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/mod.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/trapcode.rs +0 -149
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/types.rs +0 -627
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit.rs +0 -3584
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit_tests.rs +0 -7901
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/mod.rs +0 -3060
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst.isle +0 -4218
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/lower.isle +0 -2933
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/mod.rs +0 -242
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/mod.rs +0 -449
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit.rs +0 -2682
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit_tests.rs +0 -2215
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/mod.rs +0 -1938
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst.isle +0 -3127
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower/isle.rs +0 -649
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower.isle +0 -2923
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/mod.rs +0 -260
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit.rs +0 -3401
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/mod.rs +0 -3401
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/lower.isle +0 -3995
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/mod.rs +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit.rs +0 -4287
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_state.rs +0 -52
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/mod.rs +0 -2821
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst.isle +0 -5289
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/lower.isle +0 -4810
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/mod.rs +0 -234
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isle_prelude.rs +0 -986
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/legalizer/mod.rs +0 -348
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/lib.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/abi.rs +0 -2419
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/buffer.rs +0 -2508
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/helpers.rs +0 -33
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/isle.rs +0 -909
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/lower.rs +0 -1432
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/mod.rs +0 -551
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/vcode.rs +0 -1741
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude.isle +0 -664
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude_lower.isle +0 -1073
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/write.rs +0 -638
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/Cargo.toml +0 -36
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/types.rs +0 -496
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/typevar.rs +0 -980
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/gen_inst.rs +0 -1278
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/shared/instructions.rs +0 -3791
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/shared/types.rs +0 -137
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.109.0/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.109.0/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-entity-0.109.0/src/set.rs +0 -290
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/Cargo.toml +0 -68
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/frontend.rs +0 -1857
- data/ext/cargo-vendor/cranelift-isle-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.109.0/Cargo.toml +0 -47
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/codegen.rs +0 -886
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/parser.rs +0 -562
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/sema.rs +0 -2492
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/trie_again.rs +0 -684
- data/ext/cargo-vendor/cranelift-native-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.109.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-native-0.109.0/src/lib.rs +0 -188
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/Cargo.toml +0 -110
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator/bounds_checks.rs +0 -713
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator.rs +0 -3695
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/heap.rs +0 -116
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/sections_translator.rs +0 -343
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/Cargo.toml +0 -48
- data/ext/cargo-vendor/memoffset-0.9.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/memoffset-0.9.0/Cargo.toml +0 -37
- data/ext/cargo-vendor/memoffset-0.9.0/LICENSE +0 -19
- data/ext/cargo-vendor/memoffset-0.9.0/README.md +0 -85
- data/ext/cargo-vendor/memoffset-0.9.0/build.rs +0 -25
- data/ext/cargo-vendor/memoffset-0.9.0/src/lib.rs +0 -94
- data/ext/cargo-vendor/memoffset-0.9.0/src/offset_of.rs +0 -400
- data/ext/cargo-vendor/memoffset-0.9.0/src/raw_field.rs +0 -226
- data/ext/cargo-vendor/memoffset-0.9.0/src/span_of.rs +0 -263
- data/ext/cargo-vendor/wasi-common-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-22.0.0/Cargo.toml +0 -224
- data/ext/cargo-vendor/wasi-common-22.0.0/src/tokio/mod.rs +0 -137
- data/ext/cargo-vendor/wasi-common-22.0.0/tests/all/async_.rs +0 -293
- data/ext/cargo-vendor/wasi-common-22.0.0/tests/all/sync.rs +0 -279
- data/ext/cargo-vendor/wasm-encoder-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.209.1/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/code.rs +0 -3595
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/exports.rs +0 -98
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/globals.rs +0 -112
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/imports.rs +0 -157
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/memories.rs +0 -128
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/tables.rs +0 -134
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/tags.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/types.rs +0 -678
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasmparser-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.lock +0 -662
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.toml +0 -109
- data/ext/cargo-vendor/wasmparser-0.209.1/src/binary_reader.rs +0 -1929
- data/ext/cargo-vendor/wasmparser-0.209.1/src/features.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.209.1/src/lib.rs +0 -814
- data/ext/cargo-vendor/wasmparser-0.209.1/src/parser.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/operators.rs +0 -423
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/tables.rs +0 -93
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/types.rs +0 -1788
- data/ext/cargo-vendor/wasmparser-0.209.1/src/resources.rs +0 -235
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/component.rs +0 -3236
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core.rs +0 -1464
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/operators.rs +0 -4231
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/types.rs +0 -4550
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator.rs +0 -1633
- data/ext/cargo-vendor/wasmprinter-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.209.1/Cargo.toml +0 -51
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/lib.rs +0 -3225
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/operator.rs +0 -1171
- data/ext/cargo-vendor/wasmprinter-0.209.1/tests/all.rs +0 -293
- data/ext/cargo-vendor/wasmtime-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-22.0.0/Cargo.toml +0 -387
- data/ext/cargo-vendor/wasmtime-22.0.0/build.rs +0 -42
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/code_builder.rs +0 -275
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/runtime.rs +0 -167
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile.rs +0 -917
- data/ext/cargo-vendor/wasmtime-22.0.0/src/config.rs +0 -2943
- data/ext/cargo-vendor/wasmtime-22.0.0/src/engine/serialization.rs +0 -890
- data/ext/cargo-vendor/wasmtime-22.0.0/src/engine.rs +0 -728
- data/ext/cargo-vendor/wasmtime-22.0.0/src/lib.rs +0 -389
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/jitdump.rs +0 -67
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/perfmap.rs +0 -48
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/vtune.rs +0 -81
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent.rs +0 -106
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code_memory.rs +0 -338
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/mod.rs +0 -489
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/component.rs +0 -656
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/host.rs +0 -440
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/options.rs +0 -555
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/typed.rs +0 -2498
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func.rs +0 -689
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/instance.rs +0 -810
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/linker.rs +0 -854
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/matching.rs +0 -217
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/mod.rs +0 -657
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/resources.rs +0 -1133
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/values.rs +0 -980
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/coredump.rs +0 -342
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/debug.rs +0 -166
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/global.rs +0 -310
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/table.rs +0 -481
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func/typed.rs +0 -780
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func.rs +0 -2564
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/disabled/rooting.rs +0 -224
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/externref.rs +0 -592
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/rooting.rs +0 -1588
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instance.rs +0 -992
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instantiate.rs +0 -337
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/limits.rs +0 -399
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/linker.rs +0 -1499
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/memory.rs +0 -998
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module/registry.rs +0 -353
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module.rs +0 -1322
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/profiling.rs +0 -221
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/stack.rs +0 -73
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store/data.rs +0 -301
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store.rs +0 -2824
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/func.rs +0 -94
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/memory.rs +0 -287
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/table.rs +0 -29
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline.rs +0 -78
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trap.rs +0 -642
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types/matching.rs +0 -421
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types.rs +0 -2580
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/values.rs +0 -966
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/arch/riscv64.rs +0 -41
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/libcalls.rs +0 -571
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/resources.rs +0 -352
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component.rs +0 -857
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/const_expr.rs +0 -102
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/cow.rs +0 -972
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/disabled.rs +0 -24
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/enabled/drc.rs +0 -968
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/enabled/free_list.rs +0 -771
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_ref.rs +0 -491
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_runtime.rs +0 -506
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc.rs +0 -245
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/on_demand.rs +0 -220
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +0 -194
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -94
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -78
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -707
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -975
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -245
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -278
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling.rs +0 -794
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator.rs +0 -801
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance.rs +0 -1514
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/libcalls.rs +0 -834
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/memory.rs +0 -736
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mmap.rs +0 -220
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mmap_vec.rs +0 -162
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/module_id.rs +0 -43
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/disabled.rs +0 -43
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/enabled.rs +0 -214
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/mod.rs +0 -54
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/sys.rs +0 -114
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/mmap.rs +0 -112
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/mod.rs +0 -34
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/unwind.rs +0 -17
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/vm.rs +0 -105
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/mmap.rs +0 -95
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/unwind.rs +0 -17
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/mmap.rs +0 -162
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/signals.rs +0 -407
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/unwind.rs +0 -150
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/mmap.rs +0 -221
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/unwind.rs +0 -46
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/table.rs +0 -899
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/threads/shared_memory.rs +0 -233
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/threads/shared_memory_disabled.rs +0 -101
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/traphandlers.rs +0 -768
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -79
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext.rs +0 -1302
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm.rs +0 -277
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime.rs +0 -113
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/Cargo.toml +0 -89
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/Cargo.toml +0 -86
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/bindgen.rs +0 -493
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen.rs +0 -651
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char.rs +0 -198
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char_async.rs +0 -215
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions.rs +0 -586
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions_async.rs +0 -631
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code.rs +0 -165
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code_async.rs +0 -178
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import.rs +0 -91
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import_async.rs +0 -97
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty.rs +0 -45
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty_async.rs +0 -45
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags.rs +0 -637
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags_async.rs +0 -679
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats.rs +0 -255
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats_async.rs +0 -282
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new.rs +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new_async.rs +0 -62
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers.rs +0 -722
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers_async.rs +0 -819
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists.rs +0 -1743
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists_async.rs +0 -1927
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments.rs +0 -543
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments_async.rs +0 -561
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return.rs +0 -270
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return_async.rs +0 -298
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion.rs +0 -251
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion_async.rs +0 -270
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records.rs +0 -815
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records_async.rs +0 -877
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename.rs +0 -154
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename_async.rs +0 -167
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export.rs +0 -467
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export_async.rs +0 -516
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import.rs +0 -1014
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import_async.rs +0 -1086
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types.rs +0 -249
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types_async.rs +0 -265
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions.rs +0 -313
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions_async.rs +0 -347
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists.rs +0 -350
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists_async.rs +0 -381
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi.rs +0 -216
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi_async.rs +0 -229
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous.rs +0 -275
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous_async.rs +0 -287
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default.rs +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default_async.rs +0 -62
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export.rs +0 -86
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export_async.rs +0 -89
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke.rs +0 -104
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke_async.rs +0 -111
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings.rs +0 -247
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings_async.rs +0 -269
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo.rs +0 -136
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo_async.rs +0 -143
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths.rs +0 -288
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths_async.rs +0 -314
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants.rs +0 -1750
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants_async.rs +0 -1867
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat.rs +0 -84
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat_async.rs +0 -84
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types.rs +0 -138
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types_async.rs +0 -148
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/Cargo.toml +0 -115
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler.rs +0 -1067
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/gc.rs +0 -252
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/address_transform.rs +0 -783
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/attr.rs +0 -320
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/expression.rs +0 -1248
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/line_program.rs +0 -287
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/mod.rs +0 -256
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/range_info_builder.rs +0 -221
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/unit.rs +0 -529
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/utils.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/write_debuginfo.rs +0 -196
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug.rs +0 -18
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/func_environ.rs +0 -2910
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/gc/enabled.rs +0 -648
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/lib.rs +0 -462
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.lock +0 -774
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.toml +0 -161
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/mod.rs +0 -374
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_environ.rs +0 -1348
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/dfg.rs +0 -691
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/info.rs +0 -672
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate/inline.rs +0 -1332
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate.rs +0 -985
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types.rs +0 -1038
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder.rs +0 -1004
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component.rs +0 -107
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/lib.rs +0 -151
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module.rs +0 -704
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/stack_map.rs +0 -37
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/tunables.rs +0 -175
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/vmoffsets.rs +0 -989
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/Cargo.toml +0 -65
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/Cargo.toml +0 -68
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/Cargo.toml +0 -52
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-types-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-22.0.0/Cargo.toml +0 -56
- data/ext/cargo-vendor/wasmtime-types-22.0.0/src/lib.rs +0 -1737
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/Cargo.toml +0 -201
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/bindings.rs +0 -289
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/filesystem.rs +0 -446
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem.rs +0 -1091
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/io.rs +0 -388
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/lib.rs +0 -417
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview1.rs +0 -2801
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/stdio.rs +0 -533
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/api.rs +0 -198
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/async_.rs +0 -397
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/sync.rs +0 -331
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/Cargo.toml +0 -82
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/src/compiler.rs +0 -239
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/Cargo.toml +0 -47
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/lib.rs +0 -2639
- data/ext/cargo-vendor/wast-209.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-209.0.1/Cargo.toml +0 -60
- data/ext/cargo-vendor/wast-209.0.1/src/component/binary.rs +0 -1000
- data/ext/cargo-vendor/wast-209.0.1/src/component/component.rs +0 -321
- data/ext/cargo-vendor/wast-209.0.1/src/component/expand.rs +0 -875
- data/ext/cargo-vendor/wast-209.0.1/src/component/resolve.rs +0 -999
- data/ext/cargo-vendor/wast-209.0.1/src/component.rs +0 -28
- data/ext/cargo-vendor/wast-209.0.1/src/core/binary.rs +0 -1396
- data/ext/cargo-vendor/wast-209.0.1/src/core/expr.rs +0 -2016
- data/ext/cargo-vendor/wast-209.0.1/src/core/memory.rs +0 -284
- data/ext/cargo-vendor/wast-209.0.1/src/core/module.rs +0 -218
- data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/deinline_import_export.rs +0 -235
- data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/names.rs +0 -751
- data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/types.rs +0 -267
- data/ext/cargo-vendor/wast-209.0.1/src/core/table.rs +0 -302
- data/ext/cargo-vendor/wast-209.0.1/src/core/types.rs +0 -901
- data/ext/cargo-vendor/wast-209.0.1/src/core.rs +0 -29
- data/ext/cargo-vendor/wast-209.0.1/src/lib.rs +0 -551
- data/ext/cargo-vendor/wast-209.0.1/src/parser.rs +0 -1414
- data/ext/cargo-vendor/wast-209.0.1/src/wat.rs +0 -71
- data/ext/cargo-vendor/wat-1.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.209.1/Cargo.toml +0 -34
- data/ext/cargo-vendor/wat-1.209.1/src/lib.rs +0 -401
- data/ext/cargo-vendor/wiggle-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-22.0.0/Cargo.toml +0 -124
- data/ext/cargo-vendor/wiggle-generate-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-22.0.0/Cargo.toml +0 -67
- data/ext/cargo-vendor/wiggle-generate-22.0.0/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-macro-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-22.0.0/Cargo.toml +0 -51
- data/ext/cargo-vendor/wiggle-macro-22.0.0/LICENSE +0 -220
- data/ext/cargo-vendor/winch-codegen-0.20.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.20.0/Cargo.toml +0 -77
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/env.rs +0 -448
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/mod.rs +0 -882
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/visitor.rs +0 -2149
- data/ext/cargo-vendor/wit-parser-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.209.1/Cargo.toml +0 -112
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/lex.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/resolve.rs +0 -1524
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast.rs +0 -1668
- data/ext/cargo-vendor/wit-parser-0.209.1/src/decoding.rs +0 -1795
- data/ext/cargo-vendor/wit-parser-0.209.1/src/lib.rs +0 -873
- data/ext/cargo-vendor/wit-parser-0.209.1/src/resolve.rs +0 -2498
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit.json +0 -288
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit.json +0 -549
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/encode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/spectre.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ranges.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/traversals.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/verifier/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/disjointsets.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/stablemapset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/dummy.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/spec.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/func_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/hash.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map/detail.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/reloc.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/core/canonical.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.209.1 → wasmprinter-0.212.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.209.1 → wasmprinter-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_0_hello_world.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_1_world_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_2_world_exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_3_interface_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_4_imported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_6_exported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/anyref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled/anyref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/noextern.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/type_registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/v128.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/async_yield.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/host_data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/custom/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/machports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/threads/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/threads/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/sync_nostd.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/sync_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-22.0.0 → wasmtime-asm-macros-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/dead-code.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen_no_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/expanded.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-22.0.0 → wasmtime-component-util-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/types_builder/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-slab-22.0.0 → wasmtime-slab-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-22.0.0 → wasmtime-types-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-22.0.0 → wasmtime-types-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-22.0.0 → wasmtime-versioned-export-macros-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/preview0.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/all/preview1.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/token.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/annotations.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.209.1 → wat-1.215.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wiggle-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.209.1 → wiggle-generate-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-macro-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-22.0.0 → wiggle-macro-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-22.0.0 → wiggle-macro-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/abi/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/bounds.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/context.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/metadata.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/serde_.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/feature-gates.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/functions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/since-and-unstable.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,3694 @@
|
|
1
|
+
//! This module contains the bulk of the interesting code performing the translation between
|
2
|
+
//! WebAssembly and Cranelift IR.
|
3
|
+
//!
|
4
|
+
//! The translation is done in one pass, opcode by opcode. Two main data structures are used during
|
5
|
+
//! code translations: the value stack and the control stack. The value stack mimics the execution
|
6
|
+
//! of the WebAssembly stack machine: each instruction result is pushed onto the stack and
|
7
|
+
//! instruction arguments are popped off the stack. Similarly, when encountering a control flow
|
8
|
+
//! block, it is pushed onto the control stack and popped off when encountering the corresponding
|
9
|
+
//! `End`.
|
10
|
+
//!
|
11
|
+
//! Another data structure, the translation state, records information concerning unreachable code
|
12
|
+
//! status and about if inserting a return at the end of the function is necessary.
|
13
|
+
//!
|
14
|
+
//! Some of the WebAssembly instructions need information about the environment for which they
|
15
|
+
//! are being translated:
|
16
|
+
//!
|
17
|
+
//! - the loads and stores need the memory base address;
|
18
|
+
//! - the `get_global` and `set_global` instructions depend on how the globals are implemented;
|
19
|
+
//! - `memory.size` and `memory.grow` are runtime functions;
|
20
|
+
//! - `call_indirect` has to translate the function index into the address of where this
|
21
|
+
//! is;
|
22
|
+
//!
|
23
|
+
//! That is why `translate_function_body` takes an object having the `WasmRuntime` trait as
|
24
|
+
//! argument.
|
25
|
+
//!
|
26
|
+
//! There is extra complexity associated with translation of 128-bit SIMD instructions.
|
27
|
+
//! Wasm only considers there to be a single 128-bit vector type. But CLIF's type system
|
28
|
+
//! distinguishes different lane configurations, so considers 8X16, 16X8, 32X4 and 64X2 to be
|
29
|
+
//! different types. The result is that, in wasm, it's perfectly OK to take the output of (eg)
|
30
|
+
//! an `add.16x8` and use that as an operand of a `sub.32x4`, without using any cast. But when
|
31
|
+
//! translated into CLIF, that will cause a verifier error due to the apparent type mismatch.
|
32
|
+
//!
|
33
|
+
//! This file works around that problem by liberally inserting `bitcast` instructions in many
|
34
|
+
//! places -- mostly, before the use of vector values, either as arguments to CLIF instructions
|
35
|
+
//! or as block actual parameters. These are no-op casts which nevertheless have different
|
36
|
+
//! input and output types, and are used (mostly) to "convert" 16X8, 32X4 and 64X2-typed vectors
|
37
|
+
//! to the "canonical" type, 8X16. Hence the functions `optionally_bitcast_vector`,
|
38
|
+
//! `bitcast_arguments`, `pop*_with_bitcast`, `canonicalise_then_jump`,
|
39
|
+
//! `canonicalise_then_br{z,nz}`, `is_non_canonical_v128` and `canonicalise_v128_values`.
|
40
|
+
//! Note that the `bitcast*` functions are occasionally used to convert to some type other than
|
41
|
+
//! 8X16, but the `canonicalise*` functions always convert to type 8X16.
|
42
|
+
//!
|
43
|
+
//! Be careful when adding support for new vector instructions. And when adding new jumps, even
|
44
|
+
//! if they are apparently don't have any connection to vectors. Never generate any kind of
|
45
|
+
//! (inter-block) jump directly. Instead use `canonicalise_then_jump` and
|
46
|
+
//! `canonicalise_then_br{z,nz}`.
|
47
|
+
//!
|
48
|
+
//! The use of bitcasts is ugly and inefficient, but currently unavoidable:
|
49
|
+
//!
|
50
|
+
//! * they make the logic in this file fragile: miss out a bitcast for any reason, and there is
|
51
|
+
//! the risk of the system failing in the verifier. At least for debug builds.
|
52
|
+
//!
|
53
|
+
//! * in the new backends, they potentially interfere with pattern matching on CLIF -- the
|
54
|
+
//! patterns need to take into account the presence of bitcast nodes.
|
55
|
+
//!
|
56
|
+
//! * in the new backends, they get translated into machine-level vector-register-copy
|
57
|
+
//! instructions, none of which are actually necessary. We then depend on the register
|
58
|
+
//! allocator to coalesce them all out.
|
59
|
+
//!
|
60
|
+
//! * they increase the total number of CLIF nodes that have to be processed, hence slowing down
|
61
|
+
//! the compilation pipeline. Also, the extra coalescing work generates a slowdown.
|
62
|
+
//!
|
63
|
+
//! A better solution which would avoid all four problems would be to remove the 8X16, 16X8,
|
64
|
+
//! 32X4 and 64X2 types from CLIF and instead have a single V128 type.
|
65
|
+
//!
|
66
|
+
//! For further background see also:
|
67
|
+
//! <https://github.com/bytecodealliance/wasmtime/issues/1147>
|
68
|
+
//! ("Too many raw_bitcasts in SIMD code")
|
69
|
+
//! <https://github.com/bytecodealliance/cranelift/pull/1251>
|
70
|
+
//! ("Add X128 type to represent WebAssembly's V128 type")
|
71
|
+
//! <https://github.com/bytecodealliance/cranelift/pull/1236>
|
72
|
+
//! ("Relax verification to allow I8X16 to act as a default vector type")
|
73
|
+
|
74
|
+
mod bounds_checks;
|
75
|
+
|
76
|
+
use super::{hash_map, HashMap};
|
77
|
+
use crate::environ::{FuncEnvironment, GlobalVariable};
|
78
|
+
use crate::state::{ControlStackFrame, ElseData, FuncTranslationState};
|
79
|
+
use crate::translation_utils::{
|
80
|
+
block_with_params, blocktype_params_results, f32_translation, f64_translation,
|
81
|
+
};
|
82
|
+
use crate::wasm_unsupported;
|
83
|
+
use crate::{FuncIndex, GlobalIndex, MemoryIndex, TableIndex, TypeIndex, WasmResult};
|
84
|
+
use core::{i32, u32};
|
85
|
+
use cranelift_codegen::ir::condcodes::{FloatCC, IntCC};
|
86
|
+
use cranelift_codegen::ir::immediates::Offset32;
|
87
|
+
use cranelift_codegen::ir::types::*;
|
88
|
+
use cranelift_codegen::ir::{
|
89
|
+
self, AtomicRmwOp, ConstantData, InstBuilder, JumpTableData, MemFlags, Value, ValueLabel,
|
90
|
+
};
|
91
|
+
use cranelift_codegen::packed_option::ReservedValue;
|
92
|
+
use cranelift_frontend::{FunctionBuilder, Variable};
|
93
|
+
use itertools::Itertools;
|
94
|
+
use smallvec::SmallVec;
|
95
|
+
use std::vec::Vec;
|
96
|
+
use wasmparser::{FuncValidator, MemArg, Operator, WasmModuleResources};
|
97
|
+
|
98
|
+
/// Given a `Reachability<T>`, unwrap the inner `T` or, when unreachable, set
|
99
|
+
/// `state.reachable = false` and return.
|
100
|
+
///
|
101
|
+
/// Used in combination with calling `prepare_addr` and `prepare_atomic_addr`
|
102
|
+
/// when we can statically determine that a Wasm access will unconditionally
|
103
|
+
/// trap.
|
104
|
+
macro_rules! unwrap_or_return_unreachable_state {
|
105
|
+
($state:ident, $value:expr) => {
|
106
|
+
match $value {
|
107
|
+
Reachability::Reachable(x) => x,
|
108
|
+
Reachability::Unreachable => {
|
109
|
+
$state.reachable = false;
|
110
|
+
return Ok(());
|
111
|
+
}
|
112
|
+
}
|
113
|
+
};
|
114
|
+
}
|
115
|
+
|
116
|
+
/// Translates wasm operators into Cranelift IR instructions.
|
117
|
+
pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
118
|
+
validator: &mut FuncValidator<impl WasmModuleResources>,
|
119
|
+
op: &Operator,
|
120
|
+
builder: &mut FunctionBuilder,
|
121
|
+
state: &mut FuncTranslationState,
|
122
|
+
environ: &mut FE,
|
123
|
+
) -> WasmResult<()> {
|
124
|
+
if !state.reachable {
|
125
|
+
translate_unreachable_operator(validator, &op, builder, state, environ)?;
|
126
|
+
return Ok(());
|
127
|
+
}
|
128
|
+
|
129
|
+
// Given that we believe the current block is reachable, the FunctionBuilder ought to agree.
|
130
|
+
debug_assert!(!builder.is_unreachable());
|
131
|
+
|
132
|
+
// This big match treats all Wasm code operators.
|
133
|
+
match op {
|
134
|
+
/********************************** Locals ****************************************
|
135
|
+
* `get_local` and `set_local` are treated as non-SSA variables and will completely
|
136
|
+
* disappear in the Cranelift Code
|
137
|
+
***********************************************************************************/
|
138
|
+
Operator::LocalGet { local_index } => {
|
139
|
+
let val = builder.use_var(Variable::from_u32(*local_index));
|
140
|
+
state.push1(val);
|
141
|
+
let label = ValueLabel::from_u32(*local_index);
|
142
|
+
builder.set_val_label(val, label);
|
143
|
+
}
|
144
|
+
Operator::LocalSet { local_index } => {
|
145
|
+
let mut val = state.pop1();
|
146
|
+
|
147
|
+
// Ensure SIMD values are cast to their default Cranelift type, I8x16.
|
148
|
+
let ty = builder.func.dfg.value_type(val);
|
149
|
+
if ty.is_vector() {
|
150
|
+
val = optionally_bitcast_vector(val, I8X16, builder);
|
151
|
+
}
|
152
|
+
|
153
|
+
builder.def_var(Variable::from_u32(*local_index), val);
|
154
|
+
let label = ValueLabel::from_u32(*local_index);
|
155
|
+
builder.set_val_label(val, label);
|
156
|
+
}
|
157
|
+
Operator::LocalTee { local_index } => {
|
158
|
+
let mut val = state.peek1();
|
159
|
+
|
160
|
+
// Ensure SIMD values are cast to their default Cranelift type, I8x16.
|
161
|
+
let ty = builder.func.dfg.value_type(val);
|
162
|
+
if ty.is_vector() {
|
163
|
+
val = optionally_bitcast_vector(val, I8X16, builder);
|
164
|
+
}
|
165
|
+
|
166
|
+
builder.def_var(Variable::from_u32(*local_index), val);
|
167
|
+
let label = ValueLabel::from_u32(*local_index);
|
168
|
+
builder.set_val_label(val, label);
|
169
|
+
}
|
170
|
+
/********************************** Globals ****************************************
|
171
|
+
* `get_global` and `set_global` are handled by the environment.
|
172
|
+
***********************************************************************************/
|
173
|
+
Operator::GlobalGet { global_index } => {
|
174
|
+
let val = match state.get_global(builder.func, *global_index, environ)? {
|
175
|
+
GlobalVariable::Const(val) => val,
|
176
|
+
GlobalVariable::Memory { gv, offset, ty } => {
|
177
|
+
let addr = builder.ins().global_value(environ.pointer_type(), gv);
|
178
|
+
let mut flags = ir::MemFlags::trusted();
|
179
|
+
// Put globals in the "table" abstract heap category as well.
|
180
|
+
flags.set_alias_region(Some(ir::AliasRegion::Table));
|
181
|
+
builder.ins().load(ty, flags, addr, offset)
|
182
|
+
}
|
183
|
+
GlobalVariable::Custom => environ.translate_custom_global_get(
|
184
|
+
builder.cursor(),
|
185
|
+
GlobalIndex::from_u32(*global_index),
|
186
|
+
)?,
|
187
|
+
};
|
188
|
+
state.push1(val);
|
189
|
+
}
|
190
|
+
Operator::GlobalSet { global_index } => {
|
191
|
+
match state.get_global(builder.func, *global_index, environ)? {
|
192
|
+
GlobalVariable::Const(_) => panic!("global #{} is a constant", *global_index),
|
193
|
+
GlobalVariable::Memory { gv, offset, ty } => {
|
194
|
+
let addr = builder.ins().global_value(environ.pointer_type(), gv);
|
195
|
+
let mut flags = ir::MemFlags::trusted();
|
196
|
+
// Put globals in the "table" abstract heap category as well.
|
197
|
+
flags.set_alias_region(Some(ir::AliasRegion::Table));
|
198
|
+
let mut val = state.pop1();
|
199
|
+
// Ensure SIMD values are cast to their default Cranelift type, I8x16.
|
200
|
+
if ty.is_vector() {
|
201
|
+
val = optionally_bitcast_vector(val, I8X16, builder);
|
202
|
+
}
|
203
|
+
debug_assert_eq!(ty, builder.func.dfg.value_type(val));
|
204
|
+
builder.ins().store(flags, val, addr, offset);
|
205
|
+
environ.update_global(builder, *global_index, val);
|
206
|
+
}
|
207
|
+
GlobalVariable::Custom => {
|
208
|
+
let val = state.pop1();
|
209
|
+
environ.translate_custom_global_set(
|
210
|
+
builder.cursor(),
|
211
|
+
GlobalIndex::from_u32(*global_index),
|
212
|
+
val,
|
213
|
+
)?;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
/********************************* Stack misc ***************************************
|
218
|
+
* `drop`, `nop`, `unreachable` and `select`.
|
219
|
+
***********************************************************************************/
|
220
|
+
Operator::Drop => {
|
221
|
+
state.pop1();
|
222
|
+
}
|
223
|
+
Operator::Select => {
|
224
|
+
let (mut arg1, mut arg2, cond) = state.pop3();
|
225
|
+
if builder.func.dfg.value_type(arg1).is_vector() {
|
226
|
+
arg1 = optionally_bitcast_vector(arg1, I8X16, builder);
|
227
|
+
}
|
228
|
+
if builder.func.dfg.value_type(arg2).is_vector() {
|
229
|
+
arg2 = optionally_bitcast_vector(arg2, I8X16, builder);
|
230
|
+
}
|
231
|
+
state.push1(builder.ins().select(cond, arg1, arg2));
|
232
|
+
}
|
233
|
+
Operator::TypedSelect { ty: _ } => {
|
234
|
+
// We ignore the explicit type parameter as it is only needed for
|
235
|
+
// validation, which we require to have been performed before
|
236
|
+
// translation.
|
237
|
+
let (mut arg1, mut arg2, cond) = state.pop3();
|
238
|
+
if builder.func.dfg.value_type(arg1).is_vector() {
|
239
|
+
arg1 = optionally_bitcast_vector(arg1, I8X16, builder);
|
240
|
+
}
|
241
|
+
if builder.func.dfg.value_type(arg2).is_vector() {
|
242
|
+
arg2 = optionally_bitcast_vector(arg2, I8X16, builder);
|
243
|
+
}
|
244
|
+
state.push1(builder.ins().select(cond, arg1, arg2));
|
245
|
+
}
|
246
|
+
Operator::Nop => {
|
247
|
+
// We do nothing
|
248
|
+
}
|
249
|
+
Operator::Unreachable => {
|
250
|
+
builder.ins().trap(ir::TrapCode::UnreachableCodeReached);
|
251
|
+
state.reachable = false;
|
252
|
+
}
|
253
|
+
/***************************** Control flow blocks **********************************
|
254
|
+
* When starting a control flow block, we create a new `Block` that will hold the code
|
255
|
+
* after the block, and we push a frame on the control stack. Depending on the type
|
256
|
+
* of block, we create a new `Block` for the body of the block with an associated
|
257
|
+
* jump instruction.
|
258
|
+
*
|
259
|
+
* The `End` instruction pops the last control frame from the control stack, seals
|
260
|
+
* the destination block (since `br` instructions targeting it only appear inside the
|
261
|
+
* block and have already been translated) and modify the value stack to use the
|
262
|
+
* possible `Block`'s arguments values.
|
263
|
+
***********************************************************************************/
|
264
|
+
Operator::Block { blockty } => {
|
265
|
+
let (params, results) = blocktype_params_results(validator, *blockty)?;
|
266
|
+
let next = block_with_params(builder, results.clone(), environ)?;
|
267
|
+
state.push_block(next, params.len(), results.len());
|
268
|
+
}
|
269
|
+
Operator::Loop { blockty } => {
|
270
|
+
let (params, results) = blocktype_params_results(validator, *blockty)?;
|
271
|
+
let loop_body = block_with_params(builder, params.clone(), environ)?;
|
272
|
+
let next = block_with_params(builder, results.clone(), environ)?;
|
273
|
+
canonicalise_then_jump(builder, loop_body, state.peekn(params.len()));
|
274
|
+
state.push_loop(loop_body, next, params.len(), results.len());
|
275
|
+
|
276
|
+
// Pop the initial `Block` actuals and replace them with the `Block`'s
|
277
|
+
// params since control flow joins at the top of the loop.
|
278
|
+
state.popn(params.len());
|
279
|
+
state
|
280
|
+
.stack
|
281
|
+
.extend_from_slice(builder.block_params(loop_body));
|
282
|
+
|
283
|
+
builder.switch_to_block(loop_body);
|
284
|
+
environ.translate_loop_header(builder)?;
|
285
|
+
}
|
286
|
+
Operator::If { blockty } => {
|
287
|
+
let val = state.pop1();
|
288
|
+
|
289
|
+
let next_block = builder.create_block();
|
290
|
+
let (params, results) = blocktype_params_results(validator, *blockty)?;
|
291
|
+
let (destination, else_data) = if params.clone().eq(results.clone()) {
|
292
|
+
// It is possible there is no `else` block, so we will only
|
293
|
+
// allocate a block for it if/when we find the `else`. For now,
|
294
|
+
// we if the condition isn't true, then we jump directly to the
|
295
|
+
// destination block following the whole `if...end`. If we do end
|
296
|
+
// up discovering an `else`, then we will allocate a block for it
|
297
|
+
// and go back and patch the jump.
|
298
|
+
let destination = block_with_params(builder, results.clone(), environ)?;
|
299
|
+
let branch_inst = canonicalise_brif(
|
300
|
+
builder,
|
301
|
+
val,
|
302
|
+
next_block,
|
303
|
+
&[],
|
304
|
+
destination,
|
305
|
+
state.peekn(params.len()),
|
306
|
+
);
|
307
|
+
(
|
308
|
+
destination,
|
309
|
+
ElseData::NoElse {
|
310
|
+
branch_inst,
|
311
|
+
placeholder: destination,
|
312
|
+
},
|
313
|
+
)
|
314
|
+
} else {
|
315
|
+
// The `if` type signature is not valid without an `else` block,
|
316
|
+
// so we eagerly allocate the `else` block here.
|
317
|
+
let destination = block_with_params(builder, results.clone(), environ)?;
|
318
|
+
let else_block = block_with_params(builder, params.clone(), environ)?;
|
319
|
+
canonicalise_brif(
|
320
|
+
builder,
|
321
|
+
val,
|
322
|
+
next_block,
|
323
|
+
&[],
|
324
|
+
else_block,
|
325
|
+
state.peekn(params.len()),
|
326
|
+
);
|
327
|
+
builder.seal_block(else_block);
|
328
|
+
(destination, ElseData::WithElse { else_block })
|
329
|
+
};
|
330
|
+
|
331
|
+
builder.seal_block(next_block); // Only predecessor is the current block.
|
332
|
+
builder.switch_to_block(next_block);
|
333
|
+
|
334
|
+
// Here we append an argument to a Block targeted by an argumentless jump instruction
|
335
|
+
// But in fact there are two cases:
|
336
|
+
// - either the If does not have a Else clause, in that case ty = EmptyBlock
|
337
|
+
// and we add nothing;
|
338
|
+
// - either the If have an Else clause, in that case the destination of this jump
|
339
|
+
// instruction will be changed later when we translate the Else operator.
|
340
|
+
state.push_if(
|
341
|
+
destination,
|
342
|
+
else_data,
|
343
|
+
params.len(),
|
344
|
+
results.len(),
|
345
|
+
*blockty,
|
346
|
+
);
|
347
|
+
}
|
348
|
+
Operator::Else => {
|
349
|
+
let i = state.control_stack.len() - 1;
|
350
|
+
match state.control_stack[i] {
|
351
|
+
ControlStackFrame::If {
|
352
|
+
ref else_data,
|
353
|
+
head_is_reachable,
|
354
|
+
ref mut consequent_ends_reachable,
|
355
|
+
num_return_values,
|
356
|
+
blocktype,
|
357
|
+
destination,
|
358
|
+
..
|
359
|
+
} => {
|
360
|
+
// We finished the consequent, so record its final
|
361
|
+
// reachability state.
|
362
|
+
debug_assert!(consequent_ends_reachable.is_none());
|
363
|
+
*consequent_ends_reachable = Some(state.reachable);
|
364
|
+
|
365
|
+
if head_is_reachable {
|
366
|
+
// We have a branch from the head of the `if` to the `else`.
|
367
|
+
state.reachable = true;
|
368
|
+
|
369
|
+
// Ensure we have a block for the `else` block (it may have
|
370
|
+
// already been pre-allocated, see `ElseData` for details).
|
371
|
+
let else_block = match *else_data {
|
372
|
+
ElseData::NoElse {
|
373
|
+
branch_inst,
|
374
|
+
placeholder,
|
375
|
+
} => {
|
376
|
+
let (params, _results) =
|
377
|
+
blocktype_params_results(validator, blocktype)?;
|
378
|
+
debug_assert_eq!(params.len(), num_return_values);
|
379
|
+
let else_block =
|
380
|
+
block_with_params(builder, params.clone(), environ)?;
|
381
|
+
canonicalise_then_jump(
|
382
|
+
builder,
|
383
|
+
destination,
|
384
|
+
state.peekn(params.len()),
|
385
|
+
);
|
386
|
+
state.popn(params.len());
|
387
|
+
|
388
|
+
builder.change_jump_destination(
|
389
|
+
branch_inst,
|
390
|
+
placeholder,
|
391
|
+
else_block,
|
392
|
+
);
|
393
|
+
builder.seal_block(else_block);
|
394
|
+
else_block
|
395
|
+
}
|
396
|
+
ElseData::WithElse { else_block } => {
|
397
|
+
canonicalise_then_jump(
|
398
|
+
builder,
|
399
|
+
destination,
|
400
|
+
state.peekn(num_return_values),
|
401
|
+
);
|
402
|
+
state.popn(num_return_values);
|
403
|
+
else_block
|
404
|
+
}
|
405
|
+
};
|
406
|
+
|
407
|
+
// You might be expecting that we push the parameters for this
|
408
|
+
// `else` block here, something like this:
|
409
|
+
//
|
410
|
+
// state.pushn(&control_stack_frame.params);
|
411
|
+
//
|
412
|
+
// We don't do that because they are already on the top of the stack
|
413
|
+
// for us: we pushed the parameters twice when we saw the initial
|
414
|
+
// `if` so that we wouldn't have to save the parameters in the
|
415
|
+
// `ControlStackFrame` as another `Vec` allocation.
|
416
|
+
|
417
|
+
builder.switch_to_block(else_block);
|
418
|
+
|
419
|
+
// We don't bother updating the control frame's `ElseData`
|
420
|
+
// to `WithElse` because nothing else will read it.
|
421
|
+
}
|
422
|
+
}
|
423
|
+
_ => unreachable!(),
|
424
|
+
}
|
425
|
+
}
|
426
|
+
Operator::End => {
|
427
|
+
let frame = state.control_stack.pop().unwrap();
|
428
|
+
let next_block = frame.following_code();
|
429
|
+
let return_count = frame.num_return_values();
|
430
|
+
let return_args = state.peekn_mut(return_count);
|
431
|
+
|
432
|
+
canonicalise_then_jump(builder, next_block, return_args);
|
433
|
+
// You might expect that if we just finished an `if` block that
|
434
|
+
// didn't have a corresponding `else` block, then we would clean
|
435
|
+
// up our duplicate set of parameters that we pushed earlier
|
436
|
+
// right here. However, we don't have to explicitly do that,
|
437
|
+
// since we truncate the stack back to the original height
|
438
|
+
// below.
|
439
|
+
|
440
|
+
builder.switch_to_block(next_block);
|
441
|
+
builder.seal_block(next_block);
|
442
|
+
|
443
|
+
// If it is a loop we also have to seal the body loop block
|
444
|
+
if let ControlStackFrame::Loop { header, .. } = frame {
|
445
|
+
builder.seal_block(header)
|
446
|
+
}
|
447
|
+
|
448
|
+
frame.truncate_value_stack_to_original_size(&mut state.stack);
|
449
|
+
state
|
450
|
+
.stack
|
451
|
+
.extend_from_slice(builder.block_params(next_block));
|
452
|
+
}
|
453
|
+
/**************************** Branch instructions *********************************
|
454
|
+
* The branch instructions all have as arguments a target nesting level, which
|
455
|
+
* corresponds to how many control stack frames do we have to pop to get the
|
456
|
+
* destination `Block`.
|
457
|
+
*
|
458
|
+
* Once the destination `Block` is found, we sometimes have to declare a certain depth
|
459
|
+
* of the stack unreachable, because some branch instructions are terminator.
|
460
|
+
*
|
461
|
+
* The `br_table` case is much more complicated because Cranelift's `br_table` instruction
|
462
|
+
* does not support jump arguments like all the other branch instructions. That is why, in
|
463
|
+
* the case where we would use jump arguments for every other branch instruction, we
|
464
|
+
* need to split the critical edges leaving the `br_tables` by creating one `Block` per
|
465
|
+
* table destination; the `br_table` will point to these newly created `Blocks` and these
|
466
|
+
* `Block`s contain only a jump instruction pointing to the final destination, this time with
|
467
|
+
* jump arguments.
|
468
|
+
*
|
469
|
+
* This system is also implemented in Cranelift's SSA construction algorithm, because
|
470
|
+
* `use_var` located in a destination `Block` of a `br_table` might trigger the addition
|
471
|
+
* of jump arguments in each predecessor branch instruction, one of which might be a
|
472
|
+
* `br_table`.
|
473
|
+
***********************************************************************************/
|
474
|
+
Operator::Br { relative_depth } => {
|
475
|
+
let i = state.control_stack.len() - 1 - (*relative_depth as usize);
|
476
|
+
let (return_count, br_destination) = {
|
477
|
+
let frame = &mut state.control_stack[i];
|
478
|
+
// We signal that all the code that follows until the next End is unreachable
|
479
|
+
frame.set_branched_to_exit();
|
480
|
+
let return_count = if frame.is_loop() {
|
481
|
+
frame.num_param_values()
|
482
|
+
} else {
|
483
|
+
frame.num_return_values()
|
484
|
+
};
|
485
|
+
(return_count, frame.br_destination())
|
486
|
+
};
|
487
|
+
let destination_args = state.peekn_mut(return_count);
|
488
|
+
canonicalise_then_jump(builder, br_destination, destination_args);
|
489
|
+
state.popn(return_count);
|
490
|
+
state.reachable = false;
|
491
|
+
}
|
492
|
+
Operator::BrIf { relative_depth } => translate_br_if(*relative_depth, builder, state),
|
493
|
+
Operator::BrTable { targets } => {
|
494
|
+
let default = targets.default();
|
495
|
+
let mut min_depth = default;
|
496
|
+
for depth in targets.targets() {
|
497
|
+
let depth = depth?;
|
498
|
+
if depth < min_depth {
|
499
|
+
min_depth = depth;
|
500
|
+
}
|
501
|
+
}
|
502
|
+
let jump_args_count = {
|
503
|
+
let i = state.control_stack.len() - 1 - (min_depth as usize);
|
504
|
+
let min_depth_frame = &state.control_stack[i];
|
505
|
+
if min_depth_frame.is_loop() {
|
506
|
+
min_depth_frame.num_param_values()
|
507
|
+
} else {
|
508
|
+
min_depth_frame.num_return_values()
|
509
|
+
}
|
510
|
+
};
|
511
|
+
let val = state.pop1();
|
512
|
+
let mut data = Vec::with_capacity(targets.len() as usize);
|
513
|
+
if jump_args_count == 0 {
|
514
|
+
// No jump arguments
|
515
|
+
for depth in targets.targets() {
|
516
|
+
let depth = depth?;
|
517
|
+
let block = {
|
518
|
+
let i = state.control_stack.len() - 1 - (depth as usize);
|
519
|
+
let frame = &mut state.control_stack[i];
|
520
|
+
frame.set_branched_to_exit();
|
521
|
+
frame.br_destination()
|
522
|
+
};
|
523
|
+
data.push(builder.func.dfg.block_call(block, &[]));
|
524
|
+
}
|
525
|
+
let block = {
|
526
|
+
let i = state.control_stack.len() - 1 - (default as usize);
|
527
|
+
let frame = &mut state.control_stack[i];
|
528
|
+
frame.set_branched_to_exit();
|
529
|
+
frame.br_destination()
|
530
|
+
};
|
531
|
+
let block = builder.func.dfg.block_call(block, &[]);
|
532
|
+
let jt = builder.create_jump_table(JumpTableData::new(block, &data));
|
533
|
+
builder.ins().br_table(val, jt);
|
534
|
+
} else {
|
535
|
+
// Here we have jump arguments, but Cranelift's br_table doesn't support them
|
536
|
+
// We then proceed to split the edges going out of the br_table
|
537
|
+
let return_count = jump_args_count;
|
538
|
+
let mut dest_block_sequence = vec![];
|
539
|
+
let mut dest_block_map = HashMap::new();
|
540
|
+
for depth in targets.targets() {
|
541
|
+
let depth = depth?;
|
542
|
+
let branch_block = match dest_block_map.entry(depth as usize) {
|
543
|
+
hash_map::Entry::Occupied(entry) => *entry.get(),
|
544
|
+
hash_map::Entry::Vacant(entry) => {
|
545
|
+
let block = builder.create_block();
|
546
|
+
dest_block_sequence.push((depth as usize, block));
|
547
|
+
*entry.insert(block)
|
548
|
+
}
|
549
|
+
};
|
550
|
+
data.push(builder.func.dfg.block_call(branch_block, &[]));
|
551
|
+
}
|
552
|
+
let default_branch_block = match dest_block_map.entry(default as usize) {
|
553
|
+
hash_map::Entry::Occupied(entry) => *entry.get(),
|
554
|
+
hash_map::Entry::Vacant(entry) => {
|
555
|
+
let block = builder.create_block();
|
556
|
+
dest_block_sequence.push((default as usize, block));
|
557
|
+
*entry.insert(block)
|
558
|
+
}
|
559
|
+
};
|
560
|
+
let default_branch_block = builder.func.dfg.block_call(default_branch_block, &[]);
|
561
|
+
let jt = builder.create_jump_table(JumpTableData::new(default_branch_block, &data));
|
562
|
+
builder.ins().br_table(val, jt);
|
563
|
+
for (depth, dest_block) in dest_block_sequence {
|
564
|
+
builder.switch_to_block(dest_block);
|
565
|
+
builder.seal_block(dest_block);
|
566
|
+
let real_dest_block = {
|
567
|
+
let i = state.control_stack.len() - 1 - depth;
|
568
|
+
let frame = &mut state.control_stack[i];
|
569
|
+
frame.set_branched_to_exit();
|
570
|
+
frame.br_destination()
|
571
|
+
};
|
572
|
+
let destination_args = state.peekn_mut(return_count);
|
573
|
+
canonicalise_then_jump(builder, real_dest_block, destination_args);
|
574
|
+
}
|
575
|
+
state.popn(return_count);
|
576
|
+
}
|
577
|
+
state.reachable = false;
|
578
|
+
}
|
579
|
+
Operator::Return => {
|
580
|
+
let return_count = {
|
581
|
+
let frame = &mut state.control_stack[0];
|
582
|
+
frame.num_return_values()
|
583
|
+
};
|
584
|
+
{
|
585
|
+
let return_args = state.peekn_mut(return_count);
|
586
|
+
environ.handle_before_return(&return_args, builder);
|
587
|
+
bitcast_wasm_returns(environ, return_args, builder);
|
588
|
+
builder.ins().return_(return_args);
|
589
|
+
}
|
590
|
+
state.popn(return_count);
|
591
|
+
state.reachable = false;
|
592
|
+
}
|
593
|
+
/********************************** Exception handing **********************************/
|
594
|
+
Operator::Try { .. }
|
595
|
+
| Operator::Catch { .. }
|
596
|
+
| Operator::Throw { .. }
|
597
|
+
| Operator::Rethrow { .. }
|
598
|
+
| Operator::Delegate { .. }
|
599
|
+
| Operator::CatchAll => {
|
600
|
+
return Err(wasm_unsupported!(
|
601
|
+
"proposed exception handling operator {:?}",
|
602
|
+
op
|
603
|
+
));
|
604
|
+
}
|
605
|
+
/************************************ Calls ****************************************
|
606
|
+
* The call instructions pop off their arguments from the stack and append their
|
607
|
+
* return values to it. `call_indirect` needs environment support because there is an
|
608
|
+
* argument referring to an index in the external functions table of the module.
|
609
|
+
************************************************************************************/
|
610
|
+
Operator::Call { function_index } => {
|
611
|
+
let (fref, num_args) = state.get_direct_func(builder.func, *function_index, environ)?;
|
612
|
+
|
613
|
+
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
614
|
+
let args = state.peekn_mut(num_args);
|
615
|
+
bitcast_wasm_params(
|
616
|
+
environ,
|
617
|
+
builder.func.dfg.ext_funcs[fref].signature,
|
618
|
+
args,
|
619
|
+
builder,
|
620
|
+
);
|
621
|
+
|
622
|
+
let call = environ.translate_call(
|
623
|
+
builder,
|
624
|
+
FuncIndex::from_u32(*function_index),
|
625
|
+
fref,
|
626
|
+
args,
|
627
|
+
)?;
|
628
|
+
let inst_results = builder.inst_results(call);
|
629
|
+
debug_assert_eq!(
|
630
|
+
inst_results.len(),
|
631
|
+
builder.func.dfg.signatures[builder.func.dfg.ext_funcs[fref].signature]
|
632
|
+
.returns
|
633
|
+
.len(),
|
634
|
+
"translate_call results should match the call signature"
|
635
|
+
);
|
636
|
+
state.popn(num_args);
|
637
|
+
state.pushn(inst_results);
|
638
|
+
}
|
639
|
+
Operator::CallIndirect {
|
640
|
+
type_index,
|
641
|
+
table_index,
|
642
|
+
} => {
|
643
|
+
// `type_index` is the index of the function's signature and
|
644
|
+
// `table_index` is the index of the table to search the function
|
645
|
+
// in.
|
646
|
+
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
647
|
+
let callee = state.pop1();
|
648
|
+
|
649
|
+
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
650
|
+
let args = state.peekn_mut(num_args);
|
651
|
+
bitcast_wasm_params(environ, sigref, args, builder);
|
652
|
+
|
653
|
+
let call = environ.translate_call_indirect(
|
654
|
+
builder,
|
655
|
+
TableIndex::from_u32(*table_index),
|
656
|
+
TypeIndex::from_u32(*type_index),
|
657
|
+
sigref,
|
658
|
+
callee,
|
659
|
+
state.peekn(num_args),
|
660
|
+
)?;
|
661
|
+
let call = match call {
|
662
|
+
Some(call) => call,
|
663
|
+
None => {
|
664
|
+
state.reachable = false;
|
665
|
+
return Ok(());
|
666
|
+
}
|
667
|
+
};
|
668
|
+
let inst_results = builder.inst_results(call);
|
669
|
+
debug_assert_eq!(
|
670
|
+
inst_results.len(),
|
671
|
+
builder.func.dfg.signatures[sigref].returns.len(),
|
672
|
+
"translate_call_indirect results should match the call signature"
|
673
|
+
);
|
674
|
+
state.popn(num_args);
|
675
|
+
state.pushn(inst_results);
|
676
|
+
}
|
677
|
+
/******************************* Tail Calls ******************************************
|
678
|
+
* The tail call instructions pop their arguments from the stack and
|
679
|
+
* then permanently transfer control to their callee. The indirect
|
680
|
+
* version requires environment support (while the direct version can
|
681
|
+
* optionally be hooked but doesn't require it) it interacts with the
|
682
|
+
* VM's runtime state via tables.
|
683
|
+
************************************************************************************/
|
684
|
+
Operator::ReturnCall { function_index } => {
|
685
|
+
let (fref, num_args) = state.get_direct_func(builder.func, *function_index, environ)?;
|
686
|
+
|
687
|
+
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
688
|
+
let args = state.peekn_mut(num_args);
|
689
|
+
bitcast_wasm_params(
|
690
|
+
environ,
|
691
|
+
builder.func.dfg.ext_funcs[fref].signature,
|
692
|
+
args,
|
693
|
+
builder,
|
694
|
+
);
|
695
|
+
|
696
|
+
environ.translate_return_call(
|
697
|
+
builder,
|
698
|
+
FuncIndex::from_u32(*function_index),
|
699
|
+
fref,
|
700
|
+
args,
|
701
|
+
)?;
|
702
|
+
|
703
|
+
state.popn(num_args);
|
704
|
+
state.reachable = false;
|
705
|
+
}
|
706
|
+
Operator::ReturnCallIndirect {
|
707
|
+
type_index,
|
708
|
+
table_index,
|
709
|
+
} => {
|
710
|
+
// `type_index` is the index of the function's signature and
|
711
|
+
// `table_index` is the index of the table to search the function
|
712
|
+
// in.
|
713
|
+
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
714
|
+
let callee = state.pop1();
|
715
|
+
|
716
|
+
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
717
|
+
let args = state.peekn_mut(num_args);
|
718
|
+
bitcast_wasm_params(environ, sigref, args, builder);
|
719
|
+
|
720
|
+
environ.translate_return_call_indirect(
|
721
|
+
builder,
|
722
|
+
TableIndex::from_u32(*table_index),
|
723
|
+
TypeIndex::from_u32(*type_index),
|
724
|
+
sigref,
|
725
|
+
callee,
|
726
|
+
state.peekn(num_args),
|
727
|
+
)?;
|
728
|
+
|
729
|
+
state.popn(num_args);
|
730
|
+
state.reachable = false;
|
731
|
+
}
|
732
|
+
Operator::ReturnCallRef { type_index } => {
|
733
|
+
// Get function signature
|
734
|
+
// `index` is the index of the function's signature and `table_index` is the index of
|
735
|
+
// the table to search the function in.
|
736
|
+
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
737
|
+
let callee = state.pop1();
|
738
|
+
|
739
|
+
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
740
|
+
let args = state.peekn_mut(num_args);
|
741
|
+
bitcast_wasm_params(environ, sigref, args, builder);
|
742
|
+
|
743
|
+
environ.translate_return_call_ref(builder, sigref, callee, state.peekn(num_args))?;
|
744
|
+
|
745
|
+
state.popn(num_args);
|
746
|
+
state.reachable = false;
|
747
|
+
}
|
748
|
+
/******************************* Memory management ***********************************
|
749
|
+
* Memory management is handled by environment. It is usually translated into calls to
|
750
|
+
* special functions.
|
751
|
+
************************************************************************************/
|
752
|
+
Operator::MemoryGrow { mem } => {
|
753
|
+
// The WebAssembly MVP only supports one linear memory, but we expect the reserved
|
754
|
+
// argument to be a memory index.
|
755
|
+
let heap_index = MemoryIndex::from_u32(*mem);
|
756
|
+
let heap = state.get_heap(builder.func, *mem, environ)?;
|
757
|
+
let val = state.pop1();
|
758
|
+
environ.before_memory_grow(builder, val, heap_index);
|
759
|
+
state.push1(environ.translate_memory_grow(builder.cursor(), heap_index, heap, val)?)
|
760
|
+
}
|
761
|
+
Operator::MemorySize { mem } => {
|
762
|
+
let heap_index = MemoryIndex::from_u32(*mem);
|
763
|
+
let heap = state.get_heap(builder.func, *mem, environ)?;
|
764
|
+
state.push1(environ.translate_memory_size(builder.cursor(), heap_index, heap)?);
|
765
|
+
}
|
766
|
+
/******************************* Load instructions ***********************************
|
767
|
+
* Wasm specifies an integer alignment flag but we drop it in Cranelift.
|
768
|
+
* The memory base address is provided by the environment.
|
769
|
+
************************************************************************************/
|
770
|
+
Operator::I32Load8U { memarg } => {
|
771
|
+
unwrap_or_return_unreachable_state!(
|
772
|
+
state,
|
773
|
+
translate_load(memarg, ir::Opcode::Uload8, I32, builder, state, environ)?
|
774
|
+
);
|
775
|
+
}
|
776
|
+
Operator::I32Load16U { memarg } => {
|
777
|
+
unwrap_or_return_unreachable_state!(
|
778
|
+
state,
|
779
|
+
translate_load(memarg, ir::Opcode::Uload16, I32, builder, state, environ)?
|
780
|
+
);
|
781
|
+
}
|
782
|
+
Operator::I32Load8S { memarg } => {
|
783
|
+
unwrap_or_return_unreachable_state!(
|
784
|
+
state,
|
785
|
+
translate_load(memarg, ir::Opcode::Sload8, I32, builder, state, environ)?
|
786
|
+
);
|
787
|
+
}
|
788
|
+
Operator::I32Load16S { memarg } => {
|
789
|
+
unwrap_or_return_unreachable_state!(
|
790
|
+
state,
|
791
|
+
translate_load(memarg, ir::Opcode::Sload16, I32, builder, state, environ)?
|
792
|
+
);
|
793
|
+
}
|
794
|
+
Operator::I64Load8U { memarg } => {
|
795
|
+
unwrap_or_return_unreachable_state!(
|
796
|
+
state,
|
797
|
+
translate_load(memarg, ir::Opcode::Uload8, I64, builder, state, environ)?
|
798
|
+
);
|
799
|
+
}
|
800
|
+
Operator::I64Load16U { memarg } => {
|
801
|
+
unwrap_or_return_unreachable_state!(
|
802
|
+
state,
|
803
|
+
translate_load(memarg, ir::Opcode::Uload16, I64, builder, state, environ)?
|
804
|
+
);
|
805
|
+
}
|
806
|
+
Operator::I64Load8S { memarg } => {
|
807
|
+
unwrap_or_return_unreachable_state!(
|
808
|
+
state,
|
809
|
+
translate_load(memarg, ir::Opcode::Sload8, I64, builder, state, environ)?
|
810
|
+
);
|
811
|
+
}
|
812
|
+
Operator::I64Load16S { memarg } => {
|
813
|
+
unwrap_or_return_unreachable_state!(
|
814
|
+
state,
|
815
|
+
translate_load(memarg, ir::Opcode::Sload16, I64, builder, state, environ)?
|
816
|
+
);
|
817
|
+
}
|
818
|
+
Operator::I64Load32S { memarg } => {
|
819
|
+
unwrap_or_return_unreachable_state!(
|
820
|
+
state,
|
821
|
+
translate_load(memarg, ir::Opcode::Sload32, I64, builder, state, environ)?
|
822
|
+
);
|
823
|
+
}
|
824
|
+
Operator::I64Load32U { memarg } => {
|
825
|
+
unwrap_or_return_unreachable_state!(
|
826
|
+
state,
|
827
|
+
translate_load(memarg, ir::Opcode::Uload32, I64, builder, state, environ)?
|
828
|
+
);
|
829
|
+
}
|
830
|
+
Operator::I32Load { memarg } => {
|
831
|
+
unwrap_or_return_unreachable_state!(
|
832
|
+
state,
|
833
|
+
translate_load(memarg, ir::Opcode::Load, I32, builder, state, environ)?
|
834
|
+
);
|
835
|
+
}
|
836
|
+
Operator::F32Load { memarg } => {
|
837
|
+
unwrap_or_return_unreachable_state!(
|
838
|
+
state,
|
839
|
+
translate_load(memarg, ir::Opcode::Load, F32, builder, state, environ)?
|
840
|
+
);
|
841
|
+
}
|
842
|
+
Operator::I64Load { memarg } => {
|
843
|
+
unwrap_or_return_unreachable_state!(
|
844
|
+
state,
|
845
|
+
translate_load(memarg, ir::Opcode::Load, I64, builder, state, environ)?
|
846
|
+
);
|
847
|
+
}
|
848
|
+
Operator::F64Load { memarg } => {
|
849
|
+
unwrap_or_return_unreachable_state!(
|
850
|
+
state,
|
851
|
+
translate_load(memarg, ir::Opcode::Load, F64, builder, state, environ)?
|
852
|
+
);
|
853
|
+
}
|
854
|
+
Operator::V128Load { memarg } => {
|
855
|
+
unwrap_or_return_unreachable_state!(
|
856
|
+
state,
|
857
|
+
translate_load(memarg, ir::Opcode::Load, I8X16, builder, state, environ)?
|
858
|
+
);
|
859
|
+
}
|
860
|
+
Operator::V128Load8x8S { memarg } => {
|
861
|
+
//TODO(#6829): add before_load() and before_store() hooks for SIMD loads and stores.
|
862
|
+
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
863
|
+
state,
|
864
|
+
prepare_addr(memarg, 8, builder, state, environ)?
|
865
|
+
);
|
866
|
+
let loaded = builder.ins().sload8x8(flags, base, 0);
|
867
|
+
state.push1(loaded);
|
868
|
+
}
|
869
|
+
Operator::V128Load8x8U { memarg } => {
|
870
|
+
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
871
|
+
state,
|
872
|
+
prepare_addr(memarg, 8, builder, state, environ)?
|
873
|
+
);
|
874
|
+
let loaded = builder.ins().uload8x8(flags, base, 0);
|
875
|
+
state.push1(loaded);
|
876
|
+
}
|
877
|
+
Operator::V128Load16x4S { memarg } => {
|
878
|
+
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
879
|
+
state,
|
880
|
+
prepare_addr(memarg, 8, builder, state, environ)?
|
881
|
+
);
|
882
|
+
let loaded = builder.ins().sload16x4(flags, base, 0);
|
883
|
+
state.push1(loaded);
|
884
|
+
}
|
885
|
+
Operator::V128Load16x4U { memarg } => {
|
886
|
+
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
887
|
+
state,
|
888
|
+
prepare_addr(memarg, 8, builder, state, environ)?
|
889
|
+
);
|
890
|
+
let loaded = builder.ins().uload16x4(flags, base, 0);
|
891
|
+
state.push1(loaded);
|
892
|
+
}
|
893
|
+
Operator::V128Load32x2S { memarg } => {
|
894
|
+
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
895
|
+
state,
|
896
|
+
prepare_addr(memarg, 8, builder, state, environ)?
|
897
|
+
);
|
898
|
+
let loaded = builder.ins().sload32x2(flags, base, 0);
|
899
|
+
state.push1(loaded);
|
900
|
+
}
|
901
|
+
Operator::V128Load32x2U { memarg } => {
|
902
|
+
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
903
|
+
state,
|
904
|
+
prepare_addr(memarg, 8, builder, state, environ)?
|
905
|
+
);
|
906
|
+
let loaded = builder.ins().uload32x2(flags, base, 0);
|
907
|
+
state.push1(loaded);
|
908
|
+
}
|
909
|
+
/****************************** Store instructions ***********************************
|
910
|
+
* Wasm specifies an integer alignment flag but we drop it in Cranelift.
|
911
|
+
* The memory base address is provided by the environment.
|
912
|
+
************************************************************************************/
|
913
|
+
Operator::I32Store { memarg }
|
914
|
+
| Operator::I64Store { memarg }
|
915
|
+
| Operator::F32Store { memarg }
|
916
|
+
| Operator::F64Store { memarg } => {
|
917
|
+
translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
|
918
|
+
}
|
919
|
+
Operator::I32Store8 { memarg } | Operator::I64Store8 { memarg } => {
|
920
|
+
translate_store(memarg, ir::Opcode::Istore8, builder, state, environ)?;
|
921
|
+
}
|
922
|
+
Operator::I32Store16 { memarg } | Operator::I64Store16 { memarg } => {
|
923
|
+
translate_store(memarg, ir::Opcode::Istore16, builder, state, environ)?;
|
924
|
+
}
|
925
|
+
Operator::I64Store32 { memarg } => {
|
926
|
+
translate_store(memarg, ir::Opcode::Istore32, builder, state, environ)?;
|
927
|
+
}
|
928
|
+
Operator::V128Store { memarg } => {
|
929
|
+
translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
|
930
|
+
}
|
931
|
+
/****************************** Nullary Operators ************************************/
|
932
|
+
Operator::I32Const { value } => {
|
933
|
+
state.push1(builder.ins().iconst(I32, *value as u32 as i64))
|
934
|
+
}
|
935
|
+
Operator::I64Const { value } => state.push1(builder.ins().iconst(I64, *value)),
|
936
|
+
Operator::F32Const { value } => {
|
937
|
+
state.push1(builder.ins().f32const(f32_translation(*value)));
|
938
|
+
}
|
939
|
+
Operator::F64Const { value } => {
|
940
|
+
state.push1(builder.ins().f64const(f64_translation(*value)));
|
941
|
+
}
|
942
|
+
/******************************* Unary Operators *************************************/
|
943
|
+
Operator::I32Clz | Operator::I64Clz => {
|
944
|
+
let arg = state.pop1();
|
945
|
+
state.push1(builder.ins().clz(arg));
|
946
|
+
}
|
947
|
+
Operator::I32Ctz | Operator::I64Ctz => {
|
948
|
+
let arg = state.pop1();
|
949
|
+
state.push1(builder.ins().ctz(arg));
|
950
|
+
}
|
951
|
+
Operator::I32Popcnt | Operator::I64Popcnt => {
|
952
|
+
let arg = state.pop1();
|
953
|
+
state.push1(builder.ins().popcnt(arg));
|
954
|
+
}
|
955
|
+
Operator::I64ExtendI32S => {
|
956
|
+
let val = state.pop1();
|
957
|
+
state.push1(builder.ins().sextend(I64, val));
|
958
|
+
}
|
959
|
+
Operator::I64ExtendI32U => {
|
960
|
+
let val = state.pop1();
|
961
|
+
state.push1(builder.ins().uextend(I64, val));
|
962
|
+
}
|
963
|
+
Operator::I32WrapI64 => {
|
964
|
+
let val = state.pop1();
|
965
|
+
state.push1(builder.ins().ireduce(I32, val));
|
966
|
+
}
|
967
|
+
Operator::F32Sqrt | Operator::F64Sqrt => {
|
968
|
+
let arg = state.pop1();
|
969
|
+
state.push1(builder.ins().sqrt(arg));
|
970
|
+
}
|
971
|
+
Operator::F32Ceil | Operator::F64Ceil => {
|
972
|
+
let arg = state.pop1();
|
973
|
+
state.push1(builder.ins().ceil(arg));
|
974
|
+
}
|
975
|
+
Operator::F32Floor | Operator::F64Floor => {
|
976
|
+
let arg = state.pop1();
|
977
|
+
state.push1(builder.ins().floor(arg));
|
978
|
+
}
|
979
|
+
Operator::F32Trunc | Operator::F64Trunc => {
|
980
|
+
let arg = state.pop1();
|
981
|
+
state.push1(builder.ins().trunc(arg));
|
982
|
+
}
|
983
|
+
Operator::F32Nearest | Operator::F64Nearest => {
|
984
|
+
let arg = state.pop1();
|
985
|
+
state.push1(builder.ins().nearest(arg));
|
986
|
+
}
|
987
|
+
Operator::F32Abs | Operator::F64Abs => {
|
988
|
+
let val = state.pop1();
|
989
|
+
state.push1(builder.ins().fabs(val));
|
990
|
+
}
|
991
|
+
Operator::F32Neg | Operator::F64Neg => {
|
992
|
+
let arg = state.pop1();
|
993
|
+
state.push1(builder.ins().fneg(arg));
|
994
|
+
}
|
995
|
+
Operator::F64ConvertI64U | Operator::F64ConvertI32U => {
|
996
|
+
let val = state.pop1();
|
997
|
+
state.push1(builder.ins().fcvt_from_uint(F64, val));
|
998
|
+
}
|
999
|
+
Operator::F64ConvertI64S | Operator::F64ConvertI32S => {
|
1000
|
+
let val = state.pop1();
|
1001
|
+
state.push1(builder.ins().fcvt_from_sint(F64, val));
|
1002
|
+
}
|
1003
|
+
Operator::F32ConvertI64S | Operator::F32ConvertI32S => {
|
1004
|
+
let val = state.pop1();
|
1005
|
+
state.push1(builder.ins().fcvt_from_sint(F32, val));
|
1006
|
+
}
|
1007
|
+
Operator::F32ConvertI64U | Operator::F32ConvertI32U => {
|
1008
|
+
let val = state.pop1();
|
1009
|
+
state.push1(builder.ins().fcvt_from_uint(F32, val));
|
1010
|
+
}
|
1011
|
+
Operator::F64PromoteF32 => {
|
1012
|
+
let val = state.pop1();
|
1013
|
+
state.push1(builder.ins().fpromote(F64, val));
|
1014
|
+
}
|
1015
|
+
Operator::F32DemoteF64 => {
|
1016
|
+
let val = state.pop1();
|
1017
|
+
state.push1(builder.ins().fdemote(F32, val));
|
1018
|
+
}
|
1019
|
+
Operator::I64TruncF64S | Operator::I64TruncF32S => {
|
1020
|
+
let val = state.pop1();
|
1021
|
+
state.push1(builder.ins().fcvt_to_sint(I64, val));
|
1022
|
+
}
|
1023
|
+
Operator::I32TruncF64S | Operator::I32TruncF32S => {
|
1024
|
+
let val = state.pop1();
|
1025
|
+
state.push1(builder.ins().fcvt_to_sint(I32, val));
|
1026
|
+
}
|
1027
|
+
Operator::I64TruncF64U | Operator::I64TruncF32U => {
|
1028
|
+
let val = state.pop1();
|
1029
|
+
state.push1(builder.ins().fcvt_to_uint(I64, val));
|
1030
|
+
}
|
1031
|
+
Operator::I32TruncF64U | Operator::I32TruncF32U => {
|
1032
|
+
let val = state.pop1();
|
1033
|
+
state.push1(builder.ins().fcvt_to_uint(I32, val));
|
1034
|
+
}
|
1035
|
+
Operator::I64TruncSatF64S | Operator::I64TruncSatF32S => {
|
1036
|
+
let val = state.pop1();
|
1037
|
+
state.push1(builder.ins().fcvt_to_sint_sat(I64, val));
|
1038
|
+
}
|
1039
|
+
Operator::I32TruncSatF64S | Operator::I32TruncSatF32S => {
|
1040
|
+
let val = state.pop1();
|
1041
|
+
state.push1(builder.ins().fcvt_to_sint_sat(I32, val));
|
1042
|
+
}
|
1043
|
+
Operator::I64TruncSatF64U | Operator::I64TruncSatF32U => {
|
1044
|
+
let val = state.pop1();
|
1045
|
+
state.push1(builder.ins().fcvt_to_uint_sat(I64, val));
|
1046
|
+
}
|
1047
|
+
Operator::I32TruncSatF64U | Operator::I32TruncSatF32U => {
|
1048
|
+
let val = state.pop1();
|
1049
|
+
state.push1(builder.ins().fcvt_to_uint_sat(I32, val));
|
1050
|
+
}
|
1051
|
+
Operator::F32ReinterpretI32 => {
|
1052
|
+
let val = state.pop1();
|
1053
|
+
state.push1(builder.ins().bitcast(F32, MemFlags::new(), val));
|
1054
|
+
}
|
1055
|
+
Operator::F64ReinterpretI64 => {
|
1056
|
+
let val = state.pop1();
|
1057
|
+
state.push1(builder.ins().bitcast(F64, MemFlags::new(), val));
|
1058
|
+
}
|
1059
|
+
Operator::I32ReinterpretF32 => {
|
1060
|
+
let val = state.pop1();
|
1061
|
+
state.push1(builder.ins().bitcast(I32, MemFlags::new(), val));
|
1062
|
+
}
|
1063
|
+
Operator::I64ReinterpretF64 => {
|
1064
|
+
let val = state.pop1();
|
1065
|
+
state.push1(builder.ins().bitcast(I64, MemFlags::new(), val));
|
1066
|
+
}
|
1067
|
+
Operator::I32Extend8S => {
|
1068
|
+
let val = state.pop1();
|
1069
|
+
state.push1(builder.ins().ireduce(I8, val));
|
1070
|
+
let val = state.pop1();
|
1071
|
+
state.push1(builder.ins().sextend(I32, val));
|
1072
|
+
}
|
1073
|
+
Operator::I32Extend16S => {
|
1074
|
+
let val = state.pop1();
|
1075
|
+
state.push1(builder.ins().ireduce(I16, val));
|
1076
|
+
let val = state.pop1();
|
1077
|
+
state.push1(builder.ins().sextend(I32, val));
|
1078
|
+
}
|
1079
|
+
Operator::I64Extend8S => {
|
1080
|
+
let val = state.pop1();
|
1081
|
+
state.push1(builder.ins().ireduce(I8, val));
|
1082
|
+
let val = state.pop1();
|
1083
|
+
state.push1(builder.ins().sextend(I64, val));
|
1084
|
+
}
|
1085
|
+
Operator::I64Extend16S => {
|
1086
|
+
let val = state.pop1();
|
1087
|
+
state.push1(builder.ins().ireduce(I16, val));
|
1088
|
+
let val = state.pop1();
|
1089
|
+
state.push1(builder.ins().sextend(I64, val));
|
1090
|
+
}
|
1091
|
+
Operator::I64Extend32S => {
|
1092
|
+
let val = state.pop1();
|
1093
|
+
state.push1(builder.ins().ireduce(I32, val));
|
1094
|
+
let val = state.pop1();
|
1095
|
+
state.push1(builder.ins().sextend(I64, val));
|
1096
|
+
}
|
1097
|
+
/****************************** Binary Operators ************************************/
|
1098
|
+
Operator::I32Add | Operator::I64Add => {
|
1099
|
+
let (arg1, arg2) = state.pop2();
|
1100
|
+
state.push1(builder.ins().iadd(arg1, arg2));
|
1101
|
+
}
|
1102
|
+
Operator::I32And | Operator::I64And => {
|
1103
|
+
let (arg1, arg2) = state.pop2();
|
1104
|
+
state.push1(builder.ins().band(arg1, arg2));
|
1105
|
+
}
|
1106
|
+
Operator::I32Or | Operator::I64Or => {
|
1107
|
+
let (arg1, arg2) = state.pop2();
|
1108
|
+
state.push1(builder.ins().bor(arg1, arg2));
|
1109
|
+
}
|
1110
|
+
Operator::I32Xor | Operator::I64Xor => {
|
1111
|
+
let (arg1, arg2) = state.pop2();
|
1112
|
+
state.push1(builder.ins().bxor(arg1, arg2));
|
1113
|
+
}
|
1114
|
+
Operator::I32Shl | Operator::I64Shl => {
|
1115
|
+
let (arg1, arg2) = state.pop2();
|
1116
|
+
state.push1(builder.ins().ishl(arg1, arg2));
|
1117
|
+
}
|
1118
|
+
Operator::I32ShrS | Operator::I64ShrS => {
|
1119
|
+
let (arg1, arg2) = state.pop2();
|
1120
|
+
state.push1(builder.ins().sshr(arg1, arg2));
|
1121
|
+
}
|
1122
|
+
Operator::I32ShrU | Operator::I64ShrU => {
|
1123
|
+
let (arg1, arg2) = state.pop2();
|
1124
|
+
state.push1(builder.ins().ushr(arg1, arg2));
|
1125
|
+
}
|
1126
|
+
Operator::I32Rotl | Operator::I64Rotl => {
|
1127
|
+
let (arg1, arg2) = state.pop2();
|
1128
|
+
state.push1(builder.ins().rotl(arg1, arg2));
|
1129
|
+
}
|
1130
|
+
Operator::I32Rotr | Operator::I64Rotr => {
|
1131
|
+
let (arg1, arg2) = state.pop2();
|
1132
|
+
state.push1(builder.ins().rotr(arg1, arg2));
|
1133
|
+
}
|
1134
|
+
Operator::F32Add | Operator::F64Add => {
|
1135
|
+
let (arg1, arg2) = state.pop2();
|
1136
|
+
state.push1(builder.ins().fadd(arg1, arg2));
|
1137
|
+
}
|
1138
|
+
Operator::I32Sub | Operator::I64Sub => {
|
1139
|
+
let (arg1, arg2) = state.pop2();
|
1140
|
+
state.push1(builder.ins().isub(arg1, arg2));
|
1141
|
+
}
|
1142
|
+
Operator::F32Sub | Operator::F64Sub => {
|
1143
|
+
let (arg1, arg2) = state.pop2();
|
1144
|
+
state.push1(builder.ins().fsub(arg1, arg2));
|
1145
|
+
}
|
1146
|
+
Operator::I32Mul | Operator::I64Mul => {
|
1147
|
+
let (arg1, arg2) = state.pop2();
|
1148
|
+
state.push1(builder.ins().imul(arg1, arg2));
|
1149
|
+
}
|
1150
|
+
Operator::F32Mul | Operator::F64Mul => {
|
1151
|
+
let (arg1, arg2) = state.pop2();
|
1152
|
+
state.push1(builder.ins().fmul(arg1, arg2));
|
1153
|
+
}
|
1154
|
+
Operator::F32Div | Operator::F64Div => {
|
1155
|
+
let (arg1, arg2) = state.pop2();
|
1156
|
+
state.push1(builder.ins().fdiv(arg1, arg2));
|
1157
|
+
}
|
1158
|
+
Operator::I32DivS | Operator::I64DivS => {
|
1159
|
+
let (arg1, arg2) = state.pop2();
|
1160
|
+
state.push1(builder.ins().sdiv(arg1, arg2));
|
1161
|
+
}
|
1162
|
+
Operator::I32DivU | Operator::I64DivU => {
|
1163
|
+
let (arg1, arg2) = state.pop2();
|
1164
|
+
state.push1(builder.ins().udiv(arg1, arg2));
|
1165
|
+
}
|
1166
|
+
Operator::I32RemS | Operator::I64RemS => {
|
1167
|
+
let (arg1, arg2) = state.pop2();
|
1168
|
+
state.push1(builder.ins().srem(arg1, arg2));
|
1169
|
+
}
|
1170
|
+
Operator::I32RemU | Operator::I64RemU => {
|
1171
|
+
let (arg1, arg2) = state.pop2();
|
1172
|
+
state.push1(builder.ins().urem(arg1, arg2));
|
1173
|
+
}
|
1174
|
+
Operator::F32Min | Operator::F64Min => {
|
1175
|
+
let (arg1, arg2) = state.pop2();
|
1176
|
+
state.push1(builder.ins().fmin(arg1, arg2));
|
1177
|
+
}
|
1178
|
+
Operator::F32Max | Operator::F64Max => {
|
1179
|
+
let (arg1, arg2) = state.pop2();
|
1180
|
+
state.push1(builder.ins().fmax(arg1, arg2));
|
1181
|
+
}
|
1182
|
+
Operator::F32Copysign | Operator::F64Copysign => {
|
1183
|
+
let (arg1, arg2) = state.pop2();
|
1184
|
+
state.push1(builder.ins().fcopysign(arg1, arg2));
|
1185
|
+
}
|
1186
|
+
/**************************** Comparison Operators **********************************/
|
1187
|
+
Operator::I32LtS | Operator::I64LtS => {
|
1188
|
+
translate_icmp(IntCC::SignedLessThan, builder, state)
|
1189
|
+
}
|
1190
|
+
Operator::I32LtU | Operator::I64LtU => {
|
1191
|
+
translate_icmp(IntCC::UnsignedLessThan, builder, state)
|
1192
|
+
}
|
1193
|
+
Operator::I32LeS | Operator::I64LeS => {
|
1194
|
+
translate_icmp(IntCC::SignedLessThanOrEqual, builder, state)
|
1195
|
+
}
|
1196
|
+
Operator::I32LeU | Operator::I64LeU => {
|
1197
|
+
translate_icmp(IntCC::UnsignedLessThanOrEqual, builder, state)
|
1198
|
+
}
|
1199
|
+
Operator::I32GtS | Operator::I64GtS => {
|
1200
|
+
translate_icmp(IntCC::SignedGreaterThan, builder, state)
|
1201
|
+
}
|
1202
|
+
Operator::I32GtU | Operator::I64GtU => {
|
1203
|
+
translate_icmp(IntCC::UnsignedGreaterThan, builder, state)
|
1204
|
+
}
|
1205
|
+
Operator::I32GeS | Operator::I64GeS => {
|
1206
|
+
translate_icmp(IntCC::SignedGreaterThanOrEqual, builder, state)
|
1207
|
+
}
|
1208
|
+
Operator::I32GeU | Operator::I64GeU => {
|
1209
|
+
translate_icmp(IntCC::UnsignedGreaterThanOrEqual, builder, state)
|
1210
|
+
}
|
1211
|
+
Operator::I32Eqz | Operator::I64Eqz => {
|
1212
|
+
let arg = state.pop1();
|
1213
|
+
let val = builder.ins().icmp_imm(IntCC::Equal, arg, 0);
|
1214
|
+
state.push1(builder.ins().uextend(I32, val));
|
1215
|
+
}
|
1216
|
+
Operator::I32Eq | Operator::I64Eq => translate_icmp(IntCC::Equal, builder, state),
|
1217
|
+
Operator::F32Eq | Operator::F64Eq => translate_fcmp(FloatCC::Equal, builder, state),
|
1218
|
+
Operator::I32Ne | Operator::I64Ne => translate_icmp(IntCC::NotEqual, builder, state),
|
1219
|
+
Operator::F32Ne | Operator::F64Ne => translate_fcmp(FloatCC::NotEqual, builder, state),
|
1220
|
+
Operator::F32Gt | Operator::F64Gt => translate_fcmp(FloatCC::GreaterThan, builder, state),
|
1221
|
+
Operator::F32Ge | Operator::F64Ge => {
|
1222
|
+
translate_fcmp(FloatCC::GreaterThanOrEqual, builder, state)
|
1223
|
+
}
|
1224
|
+
Operator::F32Lt | Operator::F64Lt => translate_fcmp(FloatCC::LessThan, builder, state),
|
1225
|
+
Operator::F32Le | Operator::F64Le => {
|
1226
|
+
translate_fcmp(FloatCC::LessThanOrEqual, builder, state)
|
1227
|
+
}
|
1228
|
+
Operator::RefNull { hty } => {
|
1229
|
+
let hty = environ.convert_heap_type(*hty);
|
1230
|
+
state.push1(environ.translate_ref_null(builder.cursor(), hty)?)
|
1231
|
+
}
|
1232
|
+
Operator::RefIsNull => {
|
1233
|
+
let value = state.pop1();
|
1234
|
+
state.push1(environ.translate_ref_is_null(builder.cursor(), value)?);
|
1235
|
+
}
|
1236
|
+
Operator::RefFunc { function_index } => {
|
1237
|
+
let index = FuncIndex::from_u32(*function_index);
|
1238
|
+
state.push1(environ.translate_ref_func(builder.cursor(), index)?);
|
1239
|
+
}
|
1240
|
+
Operator::MemoryAtomicWait32 { memarg } | Operator::MemoryAtomicWait64 { memarg } => {
|
1241
|
+
// The WebAssembly MVP only supports one linear memory and
|
1242
|
+
// wasmparser will ensure that the memory indices specified are
|
1243
|
+
// zero.
|
1244
|
+
let implied_ty = match op {
|
1245
|
+
Operator::MemoryAtomicWait64 { .. } => I64,
|
1246
|
+
Operator::MemoryAtomicWait32 { .. } => I32,
|
1247
|
+
_ => unreachable!(),
|
1248
|
+
};
|
1249
|
+
let heap_index = MemoryIndex::from_u32(memarg.memory);
|
1250
|
+
let heap = state.get_heap(builder.func, memarg.memory, environ)?;
|
1251
|
+
let timeout = state.pop1(); // 64 (fixed)
|
1252
|
+
let expected = state.pop1(); // 32 or 64 (per the `Ixx` in `IxxAtomicWait`)
|
1253
|
+
assert!(builder.func.dfg.value_type(expected) == implied_ty);
|
1254
|
+
let addr = state.pop1();
|
1255
|
+
let effective_addr = if memarg.offset == 0 {
|
1256
|
+
addr
|
1257
|
+
} else {
|
1258
|
+
let index_type = environ.heaps()[heap].index_type;
|
1259
|
+
let offset = builder.ins().iconst(index_type, memarg.offset as i64);
|
1260
|
+
builder
|
1261
|
+
.ins()
|
1262
|
+
.uadd_overflow_trap(addr, offset, ir::TrapCode::HeapOutOfBounds)
|
1263
|
+
};
|
1264
|
+
// `fn translate_atomic_wait` can inspect the type of `expected` to figure out what
|
1265
|
+
// code it needs to generate, if it wants.
|
1266
|
+
let res = environ.translate_atomic_wait(
|
1267
|
+
builder.cursor(),
|
1268
|
+
heap_index,
|
1269
|
+
heap,
|
1270
|
+
effective_addr,
|
1271
|
+
expected,
|
1272
|
+
timeout,
|
1273
|
+
)?;
|
1274
|
+
state.push1(res);
|
1275
|
+
}
|
1276
|
+
Operator::MemoryAtomicNotify { memarg } => {
|
1277
|
+
let heap_index = MemoryIndex::from_u32(memarg.memory);
|
1278
|
+
let heap = state.get_heap(builder.func, memarg.memory, environ)?;
|
1279
|
+
let count = state.pop1(); // 32 (fixed)
|
1280
|
+
let addr = state.pop1();
|
1281
|
+
let effective_addr = if memarg.offset == 0 {
|
1282
|
+
addr
|
1283
|
+
} else {
|
1284
|
+
let index_type = environ.heaps()[heap].index_type;
|
1285
|
+
let offset = builder.ins().iconst(index_type, memarg.offset as i64);
|
1286
|
+
builder
|
1287
|
+
.ins()
|
1288
|
+
.uadd_overflow_trap(addr, offset, ir::TrapCode::HeapOutOfBounds)
|
1289
|
+
};
|
1290
|
+
let res = environ.translate_atomic_notify(
|
1291
|
+
builder.cursor(),
|
1292
|
+
heap_index,
|
1293
|
+
heap,
|
1294
|
+
effective_addr,
|
1295
|
+
count,
|
1296
|
+
)?;
|
1297
|
+
state.push1(res);
|
1298
|
+
}
|
1299
|
+
Operator::I32AtomicLoad { memarg } => {
|
1300
|
+
translate_atomic_load(I32, I32, memarg, builder, state, environ)?
|
1301
|
+
}
|
1302
|
+
Operator::I64AtomicLoad { memarg } => {
|
1303
|
+
translate_atomic_load(I64, I64, memarg, builder, state, environ)?
|
1304
|
+
}
|
1305
|
+
Operator::I32AtomicLoad8U { memarg } => {
|
1306
|
+
translate_atomic_load(I32, I8, memarg, builder, state, environ)?
|
1307
|
+
}
|
1308
|
+
Operator::I32AtomicLoad16U { memarg } => {
|
1309
|
+
translate_atomic_load(I32, I16, memarg, builder, state, environ)?
|
1310
|
+
}
|
1311
|
+
Operator::I64AtomicLoad8U { memarg } => {
|
1312
|
+
translate_atomic_load(I64, I8, memarg, builder, state, environ)?
|
1313
|
+
}
|
1314
|
+
Operator::I64AtomicLoad16U { memarg } => {
|
1315
|
+
translate_atomic_load(I64, I16, memarg, builder, state, environ)?
|
1316
|
+
}
|
1317
|
+
Operator::I64AtomicLoad32U { memarg } => {
|
1318
|
+
translate_atomic_load(I64, I32, memarg, builder, state, environ)?
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
Operator::I32AtomicStore { memarg } => {
|
1322
|
+
translate_atomic_store(I32, memarg, builder, state, environ)?
|
1323
|
+
}
|
1324
|
+
Operator::I64AtomicStore { memarg } => {
|
1325
|
+
translate_atomic_store(I64, memarg, builder, state, environ)?
|
1326
|
+
}
|
1327
|
+
Operator::I32AtomicStore8 { memarg } => {
|
1328
|
+
translate_atomic_store(I8, memarg, builder, state, environ)?
|
1329
|
+
}
|
1330
|
+
Operator::I32AtomicStore16 { memarg } => {
|
1331
|
+
translate_atomic_store(I16, memarg, builder, state, environ)?
|
1332
|
+
}
|
1333
|
+
Operator::I64AtomicStore8 { memarg } => {
|
1334
|
+
translate_atomic_store(I8, memarg, builder, state, environ)?
|
1335
|
+
}
|
1336
|
+
Operator::I64AtomicStore16 { memarg } => {
|
1337
|
+
translate_atomic_store(I16, memarg, builder, state, environ)?
|
1338
|
+
}
|
1339
|
+
Operator::I64AtomicStore32 { memarg } => {
|
1340
|
+
translate_atomic_store(I32, memarg, builder, state, environ)?
|
1341
|
+
}
|
1342
|
+
|
1343
|
+
Operator::I32AtomicRmwAdd { memarg } => {
|
1344
|
+
translate_atomic_rmw(I32, I32, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1345
|
+
}
|
1346
|
+
Operator::I64AtomicRmwAdd { memarg } => {
|
1347
|
+
translate_atomic_rmw(I64, I64, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1348
|
+
}
|
1349
|
+
Operator::I32AtomicRmw8AddU { memarg } => {
|
1350
|
+
translate_atomic_rmw(I32, I8, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1351
|
+
}
|
1352
|
+
Operator::I32AtomicRmw16AddU { memarg } => {
|
1353
|
+
translate_atomic_rmw(I32, I16, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1354
|
+
}
|
1355
|
+
Operator::I64AtomicRmw8AddU { memarg } => {
|
1356
|
+
translate_atomic_rmw(I64, I8, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1357
|
+
}
|
1358
|
+
Operator::I64AtomicRmw16AddU { memarg } => {
|
1359
|
+
translate_atomic_rmw(I64, I16, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1360
|
+
}
|
1361
|
+
Operator::I64AtomicRmw32AddU { memarg } => {
|
1362
|
+
translate_atomic_rmw(I64, I32, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
Operator::I32AtomicRmwSub { memarg } => {
|
1366
|
+
translate_atomic_rmw(I32, I32, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1367
|
+
}
|
1368
|
+
Operator::I64AtomicRmwSub { memarg } => {
|
1369
|
+
translate_atomic_rmw(I64, I64, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1370
|
+
}
|
1371
|
+
Operator::I32AtomicRmw8SubU { memarg } => {
|
1372
|
+
translate_atomic_rmw(I32, I8, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1373
|
+
}
|
1374
|
+
Operator::I32AtomicRmw16SubU { memarg } => {
|
1375
|
+
translate_atomic_rmw(I32, I16, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1376
|
+
}
|
1377
|
+
Operator::I64AtomicRmw8SubU { memarg } => {
|
1378
|
+
translate_atomic_rmw(I64, I8, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1379
|
+
}
|
1380
|
+
Operator::I64AtomicRmw16SubU { memarg } => {
|
1381
|
+
translate_atomic_rmw(I64, I16, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1382
|
+
}
|
1383
|
+
Operator::I64AtomicRmw32SubU { memarg } => {
|
1384
|
+
translate_atomic_rmw(I64, I32, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
Operator::I32AtomicRmwAnd { memarg } => {
|
1388
|
+
translate_atomic_rmw(I32, I32, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1389
|
+
}
|
1390
|
+
Operator::I64AtomicRmwAnd { memarg } => {
|
1391
|
+
translate_atomic_rmw(I64, I64, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1392
|
+
}
|
1393
|
+
Operator::I32AtomicRmw8AndU { memarg } => {
|
1394
|
+
translate_atomic_rmw(I32, I8, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1395
|
+
}
|
1396
|
+
Operator::I32AtomicRmw16AndU { memarg } => {
|
1397
|
+
translate_atomic_rmw(I32, I16, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1398
|
+
}
|
1399
|
+
Operator::I64AtomicRmw8AndU { memarg } => {
|
1400
|
+
translate_atomic_rmw(I64, I8, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1401
|
+
}
|
1402
|
+
Operator::I64AtomicRmw16AndU { memarg } => {
|
1403
|
+
translate_atomic_rmw(I64, I16, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1404
|
+
}
|
1405
|
+
Operator::I64AtomicRmw32AndU { memarg } => {
|
1406
|
+
translate_atomic_rmw(I64, I32, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
Operator::I32AtomicRmwOr { memarg } => {
|
1410
|
+
translate_atomic_rmw(I32, I32, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1411
|
+
}
|
1412
|
+
Operator::I64AtomicRmwOr { memarg } => {
|
1413
|
+
translate_atomic_rmw(I64, I64, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1414
|
+
}
|
1415
|
+
Operator::I32AtomicRmw8OrU { memarg } => {
|
1416
|
+
translate_atomic_rmw(I32, I8, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1417
|
+
}
|
1418
|
+
Operator::I32AtomicRmw16OrU { memarg } => {
|
1419
|
+
translate_atomic_rmw(I32, I16, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1420
|
+
}
|
1421
|
+
Operator::I64AtomicRmw8OrU { memarg } => {
|
1422
|
+
translate_atomic_rmw(I64, I8, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1423
|
+
}
|
1424
|
+
Operator::I64AtomicRmw16OrU { memarg } => {
|
1425
|
+
translate_atomic_rmw(I64, I16, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1426
|
+
}
|
1427
|
+
Operator::I64AtomicRmw32OrU { memarg } => {
|
1428
|
+
translate_atomic_rmw(I64, I32, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1429
|
+
}
|
1430
|
+
|
1431
|
+
Operator::I32AtomicRmwXor { memarg } => {
|
1432
|
+
translate_atomic_rmw(I32, I32, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1433
|
+
}
|
1434
|
+
Operator::I64AtomicRmwXor { memarg } => {
|
1435
|
+
translate_atomic_rmw(I64, I64, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1436
|
+
}
|
1437
|
+
Operator::I32AtomicRmw8XorU { memarg } => {
|
1438
|
+
translate_atomic_rmw(I32, I8, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1439
|
+
}
|
1440
|
+
Operator::I32AtomicRmw16XorU { memarg } => {
|
1441
|
+
translate_atomic_rmw(I32, I16, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1442
|
+
}
|
1443
|
+
Operator::I64AtomicRmw8XorU { memarg } => {
|
1444
|
+
translate_atomic_rmw(I64, I8, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1445
|
+
}
|
1446
|
+
Operator::I64AtomicRmw16XorU { memarg } => {
|
1447
|
+
translate_atomic_rmw(I64, I16, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1448
|
+
}
|
1449
|
+
Operator::I64AtomicRmw32XorU { memarg } => {
|
1450
|
+
translate_atomic_rmw(I64, I32, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
Operator::I32AtomicRmwXchg { memarg } => {
|
1454
|
+
translate_atomic_rmw(I32, I32, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1455
|
+
}
|
1456
|
+
Operator::I64AtomicRmwXchg { memarg } => {
|
1457
|
+
translate_atomic_rmw(I64, I64, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1458
|
+
}
|
1459
|
+
Operator::I32AtomicRmw8XchgU { memarg } => {
|
1460
|
+
translate_atomic_rmw(I32, I8, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1461
|
+
}
|
1462
|
+
Operator::I32AtomicRmw16XchgU { memarg } => {
|
1463
|
+
translate_atomic_rmw(I32, I16, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1464
|
+
}
|
1465
|
+
Operator::I64AtomicRmw8XchgU { memarg } => {
|
1466
|
+
translate_atomic_rmw(I64, I8, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1467
|
+
}
|
1468
|
+
Operator::I64AtomicRmw16XchgU { memarg } => {
|
1469
|
+
translate_atomic_rmw(I64, I16, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1470
|
+
}
|
1471
|
+
Operator::I64AtomicRmw32XchgU { memarg } => {
|
1472
|
+
translate_atomic_rmw(I64, I32, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
Operator::I32AtomicRmwCmpxchg { memarg } => {
|
1476
|
+
translate_atomic_cas(I32, I32, memarg, builder, state, environ)?
|
1477
|
+
}
|
1478
|
+
Operator::I64AtomicRmwCmpxchg { memarg } => {
|
1479
|
+
translate_atomic_cas(I64, I64, memarg, builder, state, environ)?
|
1480
|
+
}
|
1481
|
+
Operator::I32AtomicRmw8CmpxchgU { memarg } => {
|
1482
|
+
translate_atomic_cas(I32, I8, memarg, builder, state, environ)?
|
1483
|
+
}
|
1484
|
+
Operator::I32AtomicRmw16CmpxchgU { memarg } => {
|
1485
|
+
translate_atomic_cas(I32, I16, memarg, builder, state, environ)?
|
1486
|
+
}
|
1487
|
+
Operator::I64AtomicRmw8CmpxchgU { memarg } => {
|
1488
|
+
translate_atomic_cas(I64, I8, memarg, builder, state, environ)?
|
1489
|
+
}
|
1490
|
+
Operator::I64AtomicRmw16CmpxchgU { memarg } => {
|
1491
|
+
translate_atomic_cas(I64, I16, memarg, builder, state, environ)?
|
1492
|
+
}
|
1493
|
+
Operator::I64AtomicRmw32CmpxchgU { memarg } => {
|
1494
|
+
translate_atomic_cas(I64, I32, memarg, builder, state, environ)?
|
1495
|
+
}
|
1496
|
+
|
1497
|
+
Operator::AtomicFence { .. } => {
|
1498
|
+
builder.ins().fence();
|
1499
|
+
}
|
1500
|
+
Operator::MemoryCopy { src_mem, dst_mem } => {
|
1501
|
+
let src_index = MemoryIndex::from_u32(*src_mem);
|
1502
|
+
let dst_index = MemoryIndex::from_u32(*dst_mem);
|
1503
|
+
let src_heap = state.get_heap(builder.func, *src_mem, environ)?;
|
1504
|
+
let dst_heap = state.get_heap(builder.func, *dst_mem, environ)?;
|
1505
|
+
let len = state.pop1();
|
1506
|
+
let src_pos = state.pop1();
|
1507
|
+
let dst_pos = state.pop1();
|
1508
|
+
environ.translate_memory_copy(
|
1509
|
+
builder.cursor(),
|
1510
|
+
src_index,
|
1511
|
+
src_heap,
|
1512
|
+
dst_index,
|
1513
|
+
dst_heap,
|
1514
|
+
dst_pos,
|
1515
|
+
src_pos,
|
1516
|
+
len,
|
1517
|
+
)?;
|
1518
|
+
}
|
1519
|
+
Operator::MemoryFill { mem } => {
|
1520
|
+
let heap_index = MemoryIndex::from_u32(*mem);
|
1521
|
+
let heap = state.get_heap(builder.func, *mem, environ)?;
|
1522
|
+
let len = state.pop1();
|
1523
|
+
let val = state.pop1();
|
1524
|
+
let dest = state.pop1();
|
1525
|
+
environ.translate_memory_fill(builder.cursor(), heap_index, heap, dest, val, len)?;
|
1526
|
+
}
|
1527
|
+
Operator::MemoryInit { data_index, mem } => {
|
1528
|
+
let heap_index = MemoryIndex::from_u32(*mem);
|
1529
|
+
let heap = state.get_heap(builder.func, *mem, environ)?;
|
1530
|
+
let len = state.pop1();
|
1531
|
+
let src = state.pop1();
|
1532
|
+
let dest = state.pop1();
|
1533
|
+
environ.translate_memory_init(
|
1534
|
+
builder.cursor(),
|
1535
|
+
heap_index,
|
1536
|
+
heap,
|
1537
|
+
*data_index,
|
1538
|
+
dest,
|
1539
|
+
src,
|
1540
|
+
len,
|
1541
|
+
)?;
|
1542
|
+
}
|
1543
|
+
Operator::DataDrop { data_index } => {
|
1544
|
+
environ.translate_data_drop(builder.cursor(), *data_index)?;
|
1545
|
+
}
|
1546
|
+
Operator::TableSize { table: index } => {
|
1547
|
+
state.push1(
|
1548
|
+
environ.translate_table_size(builder.cursor(), TableIndex::from_u32(*index))?,
|
1549
|
+
);
|
1550
|
+
}
|
1551
|
+
Operator::TableGrow { table: index } => {
|
1552
|
+
let table_index = TableIndex::from_u32(*index);
|
1553
|
+
let delta = state.pop1();
|
1554
|
+
let init_value = state.pop1();
|
1555
|
+
state.push1(environ.translate_table_grow(
|
1556
|
+
builder.cursor(),
|
1557
|
+
table_index,
|
1558
|
+
delta,
|
1559
|
+
init_value,
|
1560
|
+
)?);
|
1561
|
+
}
|
1562
|
+
Operator::TableGet { table: index } => {
|
1563
|
+
let table_index = TableIndex::from_u32(*index);
|
1564
|
+
let index = state.pop1();
|
1565
|
+
state.push1(environ.translate_table_get(builder, table_index, index)?);
|
1566
|
+
}
|
1567
|
+
Operator::TableSet { table: index } => {
|
1568
|
+
let table_index = TableIndex::from_u32(*index);
|
1569
|
+
let value = state.pop1();
|
1570
|
+
let index = state.pop1();
|
1571
|
+
environ.translate_table_set(builder, table_index, value, index)?;
|
1572
|
+
}
|
1573
|
+
Operator::TableCopy {
|
1574
|
+
dst_table: dst_table_index,
|
1575
|
+
src_table: src_table_index,
|
1576
|
+
} => {
|
1577
|
+
let len = state.pop1();
|
1578
|
+
let src = state.pop1();
|
1579
|
+
let dest = state.pop1();
|
1580
|
+
environ.translate_table_copy(
|
1581
|
+
builder.cursor(),
|
1582
|
+
TableIndex::from_u32(*dst_table_index),
|
1583
|
+
TableIndex::from_u32(*src_table_index),
|
1584
|
+
dest,
|
1585
|
+
src,
|
1586
|
+
len,
|
1587
|
+
)?;
|
1588
|
+
}
|
1589
|
+
Operator::TableFill { table } => {
|
1590
|
+
let table_index = TableIndex::from_u32(*table);
|
1591
|
+
let len = state.pop1();
|
1592
|
+
let val = state.pop1();
|
1593
|
+
let dest = state.pop1();
|
1594
|
+
environ.translate_table_fill(builder.cursor(), table_index, dest, val, len)?;
|
1595
|
+
}
|
1596
|
+
Operator::TableInit {
|
1597
|
+
elem_index,
|
1598
|
+
table: table_index,
|
1599
|
+
} => {
|
1600
|
+
let len = state.pop1();
|
1601
|
+
let src = state.pop1();
|
1602
|
+
let dest = state.pop1();
|
1603
|
+
environ.translate_table_init(
|
1604
|
+
builder.cursor(),
|
1605
|
+
*elem_index,
|
1606
|
+
TableIndex::from_u32(*table_index),
|
1607
|
+
dest,
|
1608
|
+
src,
|
1609
|
+
len,
|
1610
|
+
)?;
|
1611
|
+
}
|
1612
|
+
Operator::ElemDrop { elem_index } => {
|
1613
|
+
environ.translate_elem_drop(builder.cursor(), *elem_index)?;
|
1614
|
+
}
|
1615
|
+
Operator::V128Const { value } => {
|
1616
|
+
let data = value.bytes().to_vec().into();
|
1617
|
+
let handle = builder.func.dfg.constants.insert(data);
|
1618
|
+
let value = builder.ins().vconst(I8X16, handle);
|
1619
|
+
// the v128.const is typed in CLIF as a I8x16 but bitcast to a different type
|
1620
|
+
// before use
|
1621
|
+
state.push1(value)
|
1622
|
+
}
|
1623
|
+
Operator::I8x16Splat | Operator::I16x8Splat => {
|
1624
|
+
let reduced = builder.ins().ireduce(type_of(op).lane_type(), state.pop1());
|
1625
|
+
let splatted = builder.ins().splat(type_of(op), reduced);
|
1626
|
+
state.push1(splatted)
|
1627
|
+
}
|
1628
|
+
Operator::I32x4Splat
|
1629
|
+
| Operator::I64x2Splat
|
1630
|
+
| Operator::F32x4Splat
|
1631
|
+
| Operator::F64x2Splat => {
|
1632
|
+
let splatted = builder.ins().splat(type_of(op), state.pop1());
|
1633
|
+
state.push1(splatted)
|
1634
|
+
}
|
1635
|
+
Operator::V128Load8Splat { memarg }
|
1636
|
+
| Operator::V128Load16Splat { memarg }
|
1637
|
+
| Operator::V128Load32Splat { memarg }
|
1638
|
+
| Operator::V128Load64Splat { memarg } => {
|
1639
|
+
unwrap_or_return_unreachable_state!(
|
1640
|
+
state,
|
1641
|
+
translate_load(
|
1642
|
+
memarg,
|
1643
|
+
ir::Opcode::Load,
|
1644
|
+
type_of(op).lane_type(),
|
1645
|
+
builder,
|
1646
|
+
state,
|
1647
|
+
environ,
|
1648
|
+
)?
|
1649
|
+
);
|
1650
|
+
let splatted = builder.ins().splat(type_of(op), state.pop1());
|
1651
|
+
state.push1(splatted)
|
1652
|
+
}
|
1653
|
+
Operator::V128Load32Zero { memarg } | Operator::V128Load64Zero { memarg } => {
|
1654
|
+
unwrap_or_return_unreachable_state!(
|
1655
|
+
state,
|
1656
|
+
translate_load(
|
1657
|
+
memarg,
|
1658
|
+
ir::Opcode::Load,
|
1659
|
+
type_of(op).lane_type(),
|
1660
|
+
builder,
|
1661
|
+
state,
|
1662
|
+
environ,
|
1663
|
+
)?
|
1664
|
+
);
|
1665
|
+
let as_vector = builder.ins().scalar_to_vector(type_of(op), state.pop1());
|
1666
|
+
state.push1(as_vector)
|
1667
|
+
}
|
1668
|
+
Operator::V128Load8Lane { memarg, lane }
|
1669
|
+
| Operator::V128Load16Lane { memarg, lane }
|
1670
|
+
| Operator::V128Load32Lane { memarg, lane }
|
1671
|
+
| Operator::V128Load64Lane { memarg, lane } => {
|
1672
|
+
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1673
|
+
unwrap_or_return_unreachable_state!(
|
1674
|
+
state,
|
1675
|
+
translate_load(
|
1676
|
+
memarg,
|
1677
|
+
ir::Opcode::Load,
|
1678
|
+
type_of(op).lane_type(),
|
1679
|
+
builder,
|
1680
|
+
state,
|
1681
|
+
environ,
|
1682
|
+
)?
|
1683
|
+
);
|
1684
|
+
let replacement = state.pop1();
|
1685
|
+
state.push1(builder.ins().insertlane(vector, replacement, *lane))
|
1686
|
+
}
|
1687
|
+
Operator::V128Store8Lane { memarg, lane }
|
1688
|
+
| Operator::V128Store16Lane { memarg, lane }
|
1689
|
+
| Operator::V128Store32Lane { memarg, lane }
|
1690
|
+
| Operator::V128Store64Lane { memarg, lane } => {
|
1691
|
+
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1692
|
+
state.push1(builder.ins().extractlane(vector, lane.clone()));
|
1693
|
+
translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
|
1694
|
+
}
|
1695
|
+
Operator::I8x16ExtractLaneS { lane } | Operator::I16x8ExtractLaneS { lane } => {
|
1696
|
+
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1697
|
+
let extracted = builder.ins().extractlane(vector, lane.clone());
|
1698
|
+
state.push1(builder.ins().sextend(I32, extracted))
|
1699
|
+
}
|
1700
|
+
Operator::I8x16ExtractLaneU { lane } | Operator::I16x8ExtractLaneU { lane } => {
|
1701
|
+
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1702
|
+
let extracted = builder.ins().extractlane(vector, lane.clone());
|
1703
|
+
state.push1(builder.ins().uextend(I32, extracted));
|
1704
|
+
// On x86, PEXTRB zeroes the upper bits of the destination register of extractlane so
|
1705
|
+
// uextend could be elided; for now, uextend is needed for Cranelift's type checks to
|
1706
|
+
// work.
|
1707
|
+
}
|
1708
|
+
Operator::I32x4ExtractLane { lane }
|
1709
|
+
| Operator::I64x2ExtractLane { lane }
|
1710
|
+
| Operator::F32x4ExtractLane { lane }
|
1711
|
+
| Operator::F64x2ExtractLane { lane } => {
|
1712
|
+
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1713
|
+
state.push1(builder.ins().extractlane(vector, lane.clone()))
|
1714
|
+
}
|
1715
|
+
Operator::I8x16ReplaceLane { lane } | Operator::I16x8ReplaceLane { lane } => {
|
1716
|
+
let (vector, replacement) = state.pop2();
|
1717
|
+
let ty = type_of(op);
|
1718
|
+
let reduced = builder.ins().ireduce(ty.lane_type(), replacement);
|
1719
|
+
let vector = optionally_bitcast_vector(vector, ty, builder);
|
1720
|
+
state.push1(builder.ins().insertlane(vector, reduced, *lane))
|
1721
|
+
}
|
1722
|
+
Operator::I32x4ReplaceLane { lane }
|
1723
|
+
| Operator::I64x2ReplaceLane { lane }
|
1724
|
+
| Operator::F32x4ReplaceLane { lane }
|
1725
|
+
| Operator::F64x2ReplaceLane { lane } => {
|
1726
|
+
let (vector, replacement) = state.pop2();
|
1727
|
+
let vector = optionally_bitcast_vector(vector, type_of(op), builder);
|
1728
|
+
state.push1(builder.ins().insertlane(vector, replacement, *lane))
|
1729
|
+
}
|
1730
|
+
Operator::I8x16Shuffle { lanes, .. } => {
|
1731
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
1732
|
+
let lanes = ConstantData::from(lanes.as_ref());
|
1733
|
+
let mask = builder.func.dfg.immediates.push(lanes);
|
1734
|
+
let shuffled = builder.ins().shuffle(a, b, mask);
|
1735
|
+
state.push1(shuffled)
|
1736
|
+
// At this point the original types of a and b are lost; users of this value (i.e. this
|
1737
|
+
// WASM-to-CLIF translator) may need to bitcast for type-correctness. This is due
|
1738
|
+
// to WASM using the less specific v128 type for certain operations and more specific
|
1739
|
+
// types (e.g. i8x16) for others.
|
1740
|
+
}
|
1741
|
+
Operator::I8x16Swizzle => {
|
1742
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
1743
|
+
state.push1(builder.ins().swizzle(a, b))
|
1744
|
+
}
|
1745
|
+
Operator::I8x16Add | Operator::I16x8Add | Operator::I32x4Add | Operator::I64x2Add => {
|
1746
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1747
|
+
state.push1(builder.ins().iadd(a, b))
|
1748
|
+
}
|
1749
|
+
Operator::I8x16AddSatS | Operator::I16x8AddSatS => {
|
1750
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1751
|
+
state.push1(builder.ins().sadd_sat(a, b))
|
1752
|
+
}
|
1753
|
+
Operator::I8x16AddSatU | Operator::I16x8AddSatU => {
|
1754
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1755
|
+
state.push1(builder.ins().uadd_sat(a, b))
|
1756
|
+
}
|
1757
|
+
Operator::I8x16Sub | Operator::I16x8Sub | Operator::I32x4Sub | Operator::I64x2Sub => {
|
1758
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1759
|
+
state.push1(builder.ins().isub(a, b))
|
1760
|
+
}
|
1761
|
+
Operator::I8x16SubSatS | Operator::I16x8SubSatS => {
|
1762
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1763
|
+
state.push1(builder.ins().ssub_sat(a, b))
|
1764
|
+
}
|
1765
|
+
Operator::I8x16SubSatU | Operator::I16x8SubSatU => {
|
1766
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1767
|
+
state.push1(builder.ins().usub_sat(a, b))
|
1768
|
+
}
|
1769
|
+
Operator::I8x16MinS | Operator::I16x8MinS | Operator::I32x4MinS => {
|
1770
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1771
|
+
state.push1(builder.ins().smin(a, b))
|
1772
|
+
}
|
1773
|
+
Operator::I8x16MinU | Operator::I16x8MinU | Operator::I32x4MinU => {
|
1774
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1775
|
+
state.push1(builder.ins().umin(a, b))
|
1776
|
+
}
|
1777
|
+
Operator::I8x16MaxS | Operator::I16x8MaxS | Operator::I32x4MaxS => {
|
1778
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1779
|
+
state.push1(builder.ins().smax(a, b))
|
1780
|
+
}
|
1781
|
+
Operator::I8x16MaxU | Operator::I16x8MaxU | Operator::I32x4MaxU => {
|
1782
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1783
|
+
state.push1(builder.ins().umax(a, b))
|
1784
|
+
}
|
1785
|
+
Operator::I8x16AvgrU | Operator::I16x8AvgrU => {
|
1786
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1787
|
+
state.push1(builder.ins().avg_round(a, b))
|
1788
|
+
}
|
1789
|
+
Operator::I8x16Neg | Operator::I16x8Neg | Operator::I32x4Neg | Operator::I64x2Neg => {
|
1790
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1791
|
+
state.push1(builder.ins().ineg(a))
|
1792
|
+
}
|
1793
|
+
Operator::I8x16Abs | Operator::I16x8Abs | Operator::I32x4Abs | Operator::I64x2Abs => {
|
1794
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1795
|
+
state.push1(builder.ins().iabs(a))
|
1796
|
+
}
|
1797
|
+
Operator::I16x8Mul | Operator::I32x4Mul | Operator::I64x2Mul => {
|
1798
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1799
|
+
state.push1(builder.ins().imul(a, b))
|
1800
|
+
}
|
1801
|
+
Operator::V128Or => {
|
1802
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1803
|
+
state.push1(builder.ins().bor(a, b))
|
1804
|
+
}
|
1805
|
+
Operator::V128Xor => {
|
1806
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1807
|
+
state.push1(builder.ins().bxor(a, b))
|
1808
|
+
}
|
1809
|
+
Operator::V128And => {
|
1810
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1811
|
+
state.push1(builder.ins().band(a, b))
|
1812
|
+
}
|
1813
|
+
Operator::V128AndNot => {
|
1814
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1815
|
+
state.push1(builder.ins().band_not(a, b))
|
1816
|
+
}
|
1817
|
+
Operator::V128Not => {
|
1818
|
+
let a = state.pop1();
|
1819
|
+
state.push1(builder.ins().bnot(a));
|
1820
|
+
}
|
1821
|
+
Operator::I8x16Shl | Operator::I16x8Shl | Operator::I32x4Shl | Operator::I64x2Shl => {
|
1822
|
+
let (a, b) = state.pop2();
|
1823
|
+
let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
|
1824
|
+
// The spec expects to shift with `b mod lanewidth`; This is directly compatible
|
1825
|
+
// with cranelift's instruction.
|
1826
|
+
state.push1(builder.ins().ishl(bitcast_a, b))
|
1827
|
+
}
|
1828
|
+
Operator::I8x16ShrU | Operator::I16x8ShrU | Operator::I32x4ShrU | Operator::I64x2ShrU => {
|
1829
|
+
let (a, b) = state.pop2();
|
1830
|
+
let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
|
1831
|
+
// The spec expects to shift with `b mod lanewidth`; This is directly compatible
|
1832
|
+
// with cranelift's instruction.
|
1833
|
+
state.push1(builder.ins().ushr(bitcast_a, b))
|
1834
|
+
}
|
1835
|
+
Operator::I8x16ShrS | Operator::I16x8ShrS | Operator::I32x4ShrS | Operator::I64x2ShrS => {
|
1836
|
+
let (a, b) = state.pop2();
|
1837
|
+
let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
|
1838
|
+
// The spec expects to shift with `b mod lanewidth`; This is directly compatible
|
1839
|
+
// with cranelift's instruction.
|
1840
|
+
state.push1(builder.ins().sshr(bitcast_a, b))
|
1841
|
+
}
|
1842
|
+
Operator::V128Bitselect => {
|
1843
|
+
let (a, b, c) = pop3_with_bitcast(state, I8X16, builder);
|
1844
|
+
// The CLIF operand ordering is slightly different and the types of all three
|
1845
|
+
// operands must match (hence the bitcast).
|
1846
|
+
state.push1(builder.ins().bitselect(c, a, b))
|
1847
|
+
}
|
1848
|
+
Operator::V128AnyTrue => {
|
1849
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1850
|
+
let bool_result = builder.ins().vany_true(a);
|
1851
|
+
state.push1(builder.ins().uextend(I32, bool_result))
|
1852
|
+
}
|
1853
|
+
Operator::I8x16AllTrue
|
1854
|
+
| Operator::I16x8AllTrue
|
1855
|
+
| Operator::I32x4AllTrue
|
1856
|
+
| Operator::I64x2AllTrue => {
|
1857
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1858
|
+
let bool_result = builder.ins().vall_true(a);
|
1859
|
+
state.push1(builder.ins().uextend(I32, bool_result))
|
1860
|
+
}
|
1861
|
+
Operator::I8x16Bitmask
|
1862
|
+
| Operator::I16x8Bitmask
|
1863
|
+
| Operator::I32x4Bitmask
|
1864
|
+
| Operator::I64x2Bitmask => {
|
1865
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1866
|
+
state.push1(builder.ins().vhigh_bits(I32, a));
|
1867
|
+
}
|
1868
|
+
Operator::I8x16Eq | Operator::I16x8Eq | Operator::I32x4Eq | Operator::I64x2Eq => {
|
1869
|
+
translate_vector_icmp(IntCC::Equal, type_of(op), builder, state)
|
1870
|
+
}
|
1871
|
+
Operator::I8x16Ne | Operator::I16x8Ne | Operator::I32x4Ne | Operator::I64x2Ne => {
|
1872
|
+
translate_vector_icmp(IntCC::NotEqual, type_of(op), builder, state)
|
1873
|
+
}
|
1874
|
+
Operator::I8x16GtS | Operator::I16x8GtS | Operator::I32x4GtS | Operator::I64x2GtS => {
|
1875
|
+
translate_vector_icmp(IntCC::SignedGreaterThan, type_of(op), builder, state)
|
1876
|
+
}
|
1877
|
+
Operator::I8x16LtS | Operator::I16x8LtS | Operator::I32x4LtS | Operator::I64x2LtS => {
|
1878
|
+
translate_vector_icmp(IntCC::SignedLessThan, type_of(op), builder, state)
|
1879
|
+
}
|
1880
|
+
Operator::I8x16GtU | Operator::I16x8GtU | Operator::I32x4GtU => {
|
1881
|
+
translate_vector_icmp(IntCC::UnsignedGreaterThan, type_of(op), builder, state)
|
1882
|
+
}
|
1883
|
+
Operator::I8x16LtU | Operator::I16x8LtU | Operator::I32x4LtU => {
|
1884
|
+
translate_vector_icmp(IntCC::UnsignedLessThan, type_of(op), builder, state)
|
1885
|
+
}
|
1886
|
+
Operator::I8x16GeS | Operator::I16x8GeS | Operator::I32x4GeS | Operator::I64x2GeS => {
|
1887
|
+
translate_vector_icmp(IntCC::SignedGreaterThanOrEqual, type_of(op), builder, state)
|
1888
|
+
}
|
1889
|
+
Operator::I8x16LeS | Operator::I16x8LeS | Operator::I32x4LeS | Operator::I64x2LeS => {
|
1890
|
+
translate_vector_icmp(IntCC::SignedLessThanOrEqual, type_of(op), builder, state)
|
1891
|
+
}
|
1892
|
+
Operator::I8x16GeU | Operator::I16x8GeU | Operator::I32x4GeU => translate_vector_icmp(
|
1893
|
+
IntCC::UnsignedGreaterThanOrEqual,
|
1894
|
+
type_of(op),
|
1895
|
+
builder,
|
1896
|
+
state,
|
1897
|
+
),
|
1898
|
+
Operator::I8x16LeU | Operator::I16x8LeU | Operator::I32x4LeU => {
|
1899
|
+
translate_vector_icmp(IntCC::UnsignedLessThanOrEqual, type_of(op), builder, state)
|
1900
|
+
}
|
1901
|
+
Operator::F32x4Eq | Operator::F64x2Eq => {
|
1902
|
+
translate_vector_fcmp(FloatCC::Equal, type_of(op), builder, state)
|
1903
|
+
}
|
1904
|
+
Operator::F32x4Ne | Operator::F64x2Ne => {
|
1905
|
+
translate_vector_fcmp(FloatCC::NotEqual, type_of(op), builder, state)
|
1906
|
+
}
|
1907
|
+
Operator::F32x4Lt | Operator::F64x2Lt => {
|
1908
|
+
translate_vector_fcmp(FloatCC::LessThan, type_of(op), builder, state)
|
1909
|
+
}
|
1910
|
+
Operator::F32x4Gt | Operator::F64x2Gt => {
|
1911
|
+
translate_vector_fcmp(FloatCC::GreaterThan, type_of(op), builder, state)
|
1912
|
+
}
|
1913
|
+
Operator::F32x4Le | Operator::F64x2Le => {
|
1914
|
+
translate_vector_fcmp(FloatCC::LessThanOrEqual, type_of(op), builder, state)
|
1915
|
+
}
|
1916
|
+
Operator::F32x4Ge | Operator::F64x2Ge => {
|
1917
|
+
translate_vector_fcmp(FloatCC::GreaterThanOrEqual, type_of(op), builder, state)
|
1918
|
+
}
|
1919
|
+
Operator::F32x4Add | Operator::F64x2Add => {
|
1920
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1921
|
+
state.push1(builder.ins().fadd(a, b))
|
1922
|
+
}
|
1923
|
+
Operator::F32x4Sub | Operator::F64x2Sub => {
|
1924
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1925
|
+
state.push1(builder.ins().fsub(a, b))
|
1926
|
+
}
|
1927
|
+
Operator::F32x4Mul | Operator::F64x2Mul => {
|
1928
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1929
|
+
state.push1(builder.ins().fmul(a, b))
|
1930
|
+
}
|
1931
|
+
Operator::F32x4Div | Operator::F64x2Div => {
|
1932
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1933
|
+
state.push1(builder.ins().fdiv(a, b))
|
1934
|
+
}
|
1935
|
+
Operator::F32x4Max | Operator::F64x2Max => {
|
1936
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1937
|
+
state.push1(builder.ins().fmax(a, b))
|
1938
|
+
}
|
1939
|
+
Operator::F32x4Min | Operator::F64x2Min => {
|
1940
|
+
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1941
|
+
state.push1(builder.ins().fmin(a, b))
|
1942
|
+
}
|
1943
|
+
Operator::F32x4PMax | Operator::F64x2PMax => {
|
1944
|
+
// Note the careful ordering here with respect to `fcmp` and
|
1945
|
+
// `bitselect`. This matches the spec definition of:
|
1946
|
+
//
|
1947
|
+
// fpmax(z1, z2) =
|
1948
|
+
// * If z1 is less than z2 then return z2.
|
1949
|
+
// * Else return z1.
|
1950
|
+
let ty = type_of(op);
|
1951
|
+
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
1952
|
+
let cmp = builder.ins().fcmp(FloatCC::LessThan, a, b);
|
1953
|
+
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
1954
|
+
state.push1(builder.ins().bitselect(cmp, b, a))
|
1955
|
+
}
|
1956
|
+
Operator::F32x4PMin | Operator::F64x2PMin => {
|
1957
|
+
// Note the careful ordering here which is similar to `pmax` above:
|
1958
|
+
//
|
1959
|
+
// fpmin(z1, z2) =
|
1960
|
+
// * If z2 is less than z1 then return z2.
|
1961
|
+
// * Else return z1.
|
1962
|
+
let ty = type_of(op);
|
1963
|
+
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
1964
|
+
let cmp = builder.ins().fcmp(FloatCC::LessThan, b, a);
|
1965
|
+
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
1966
|
+
state.push1(builder.ins().bitselect(cmp, b, a))
|
1967
|
+
}
|
1968
|
+
Operator::F32x4Sqrt | Operator::F64x2Sqrt => {
|
1969
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1970
|
+
state.push1(builder.ins().sqrt(a))
|
1971
|
+
}
|
1972
|
+
Operator::F32x4Neg | Operator::F64x2Neg => {
|
1973
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1974
|
+
state.push1(builder.ins().fneg(a))
|
1975
|
+
}
|
1976
|
+
Operator::F32x4Abs | Operator::F64x2Abs => {
|
1977
|
+
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1978
|
+
state.push1(builder.ins().fabs(a))
|
1979
|
+
}
|
1980
|
+
Operator::F32x4ConvertI32x4S => {
|
1981
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
1982
|
+
state.push1(builder.ins().fcvt_from_sint(F32X4, a))
|
1983
|
+
}
|
1984
|
+
Operator::F32x4ConvertI32x4U => {
|
1985
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
1986
|
+
state.push1(builder.ins().fcvt_from_uint(F32X4, a))
|
1987
|
+
}
|
1988
|
+
Operator::F64x2ConvertLowI32x4S => {
|
1989
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
1990
|
+
let widened_a = builder.ins().swiden_low(a);
|
1991
|
+
state.push1(builder.ins().fcvt_from_sint(F64X2, widened_a));
|
1992
|
+
}
|
1993
|
+
Operator::F64x2ConvertLowI32x4U => {
|
1994
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
1995
|
+
let widened_a = builder.ins().uwiden_low(a);
|
1996
|
+
state.push1(builder.ins().fcvt_from_uint(F64X2, widened_a));
|
1997
|
+
}
|
1998
|
+
Operator::F64x2PromoteLowF32x4 => {
|
1999
|
+
let a = pop1_with_bitcast(state, F32X4, builder);
|
2000
|
+
state.push1(builder.ins().fvpromote_low(a));
|
2001
|
+
}
|
2002
|
+
Operator::F32x4DemoteF64x2Zero => {
|
2003
|
+
let a = pop1_with_bitcast(state, F64X2, builder);
|
2004
|
+
state.push1(builder.ins().fvdemote(a));
|
2005
|
+
}
|
2006
|
+
Operator::I32x4TruncSatF32x4S => {
|
2007
|
+
let a = pop1_with_bitcast(state, F32X4, builder);
|
2008
|
+
state.push1(builder.ins().fcvt_to_sint_sat(I32X4, a))
|
2009
|
+
}
|
2010
|
+
Operator::I32x4TruncSatF64x2SZero => {
|
2011
|
+
let a = pop1_with_bitcast(state, F64X2, builder);
|
2012
|
+
let converted_a = builder.ins().fcvt_to_sint_sat(I64X2, a);
|
2013
|
+
let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
|
2014
|
+
let zero = builder.ins().vconst(I64X2, handle);
|
2015
|
+
|
2016
|
+
state.push1(builder.ins().snarrow(converted_a, zero));
|
2017
|
+
}
|
2018
|
+
|
2019
|
+
// FIXME(#5913): the relaxed instructions here are translated the same
|
2020
|
+
// as the saturating instructions, even when the code generator
|
2021
|
+
// configuration allow for different semantics across hosts. On x86,
|
2022
|
+
// however, it's theoretically possible to have a slightly more optimal
|
2023
|
+
// lowering which accounts for NaN differently, although the lowering is
|
2024
|
+
// still not trivial (e.g. one instruction). At this time the
|
2025
|
+
// more-optimal-but-still-large lowering for x86 is not implemented so
|
2026
|
+
// the relaxed instructions are listed here instead of down below with
|
2027
|
+
// the other relaxed instructions. An x86-specific implementation (or
|
2028
|
+
// perhaps for other backends too) should be added and the codegen for
|
2029
|
+
// the relaxed instruction should conditionally be different.
|
2030
|
+
Operator::I32x4RelaxedTruncF32x4U | Operator::I32x4TruncSatF32x4U => {
|
2031
|
+
let a = pop1_with_bitcast(state, F32X4, builder);
|
2032
|
+
state.push1(builder.ins().fcvt_to_uint_sat(I32X4, a))
|
2033
|
+
}
|
2034
|
+
Operator::I32x4RelaxedTruncF64x2UZero | Operator::I32x4TruncSatF64x2UZero => {
|
2035
|
+
let a = pop1_with_bitcast(state, F64X2, builder);
|
2036
|
+
let converted_a = builder.ins().fcvt_to_uint_sat(I64X2, a);
|
2037
|
+
let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
|
2038
|
+
let zero = builder.ins().vconst(I64X2, handle);
|
2039
|
+
|
2040
|
+
state.push1(builder.ins().uunarrow(converted_a, zero));
|
2041
|
+
}
|
2042
|
+
|
2043
|
+
Operator::I8x16NarrowI16x8S => {
|
2044
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2045
|
+
state.push1(builder.ins().snarrow(a, b))
|
2046
|
+
}
|
2047
|
+
Operator::I16x8NarrowI32x4S => {
|
2048
|
+
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2049
|
+
state.push1(builder.ins().snarrow(a, b))
|
2050
|
+
}
|
2051
|
+
Operator::I8x16NarrowI16x8U => {
|
2052
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2053
|
+
state.push1(builder.ins().unarrow(a, b))
|
2054
|
+
}
|
2055
|
+
Operator::I16x8NarrowI32x4U => {
|
2056
|
+
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2057
|
+
state.push1(builder.ins().unarrow(a, b))
|
2058
|
+
}
|
2059
|
+
Operator::I16x8ExtendLowI8x16S => {
|
2060
|
+
let a = pop1_with_bitcast(state, I8X16, builder);
|
2061
|
+
state.push1(builder.ins().swiden_low(a))
|
2062
|
+
}
|
2063
|
+
Operator::I16x8ExtendHighI8x16S => {
|
2064
|
+
let a = pop1_with_bitcast(state, I8X16, builder);
|
2065
|
+
state.push1(builder.ins().swiden_high(a))
|
2066
|
+
}
|
2067
|
+
Operator::I16x8ExtendLowI8x16U => {
|
2068
|
+
let a = pop1_with_bitcast(state, I8X16, builder);
|
2069
|
+
state.push1(builder.ins().uwiden_low(a))
|
2070
|
+
}
|
2071
|
+
Operator::I16x8ExtendHighI8x16U => {
|
2072
|
+
let a = pop1_with_bitcast(state, I8X16, builder);
|
2073
|
+
state.push1(builder.ins().uwiden_high(a))
|
2074
|
+
}
|
2075
|
+
Operator::I32x4ExtendLowI16x8S => {
|
2076
|
+
let a = pop1_with_bitcast(state, I16X8, builder);
|
2077
|
+
state.push1(builder.ins().swiden_low(a))
|
2078
|
+
}
|
2079
|
+
Operator::I32x4ExtendHighI16x8S => {
|
2080
|
+
let a = pop1_with_bitcast(state, I16X8, builder);
|
2081
|
+
state.push1(builder.ins().swiden_high(a))
|
2082
|
+
}
|
2083
|
+
Operator::I32x4ExtendLowI16x8U => {
|
2084
|
+
let a = pop1_with_bitcast(state, I16X8, builder);
|
2085
|
+
state.push1(builder.ins().uwiden_low(a))
|
2086
|
+
}
|
2087
|
+
Operator::I32x4ExtendHighI16x8U => {
|
2088
|
+
let a = pop1_with_bitcast(state, I16X8, builder);
|
2089
|
+
state.push1(builder.ins().uwiden_high(a))
|
2090
|
+
}
|
2091
|
+
Operator::I64x2ExtendLowI32x4S => {
|
2092
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
2093
|
+
state.push1(builder.ins().swiden_low(a))
|
2094
|
+
}
|
2095
|
+
Operator::I64x2ExtendHighI32x4S => {
|
2096
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
2097
|
+
state.push1(builder.ins().swiden_high(a))
|
2098
|
+
}
|
2099
|
+
Operator::I64x2ExtendLowI32x4U => {
|
2100
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
2101
|
+
state.push1(builder.ins().uwiden_low(a))
|
2102
|
+
}
|
2103
|
+
Operator::I64x2ExtendHighI32x4U => {
|
2104
|
+
let a = pop1_with_bitcast(state, I32X4, builder);
|
2105
|
+
state.push1(builder.ins().uwiden_high(a))
|
2106
|
+
}
|
2107
|
+
Operator::I16x8ExtAddPairwiseI8x16S => {
|
2108
|
+
let a = pop1_with_bitcast(state, I8X16, builder);
|
2109
|
+
let widen_low = builder.ins().swiden_low(a);
|
2110
|
+
let widen_high = builder.ins().swiden_high(a);
|
2111
|
+
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2112
|
+
}
|
2113
|
+
Operator::I32x4ExtAddPairwiseI16x8S => {
|
2114
|
+
let a = pop1_with_bitcast(state, I16X8, builder);
|
2115
|
+
let widen_low = builder.ins().swiden_low(a);
|
2116
|
+
let widen_high = builder.ins().swiden_high(a);
|
2117
|
+
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2118
|
+
}
|
2119
|
+
Operator::I16x8ExtAddPairwiseI8x16U => {
|
2120
|
+
let a = pop1_with_bitcast(state, I8X16, builder);
|
2121
|
+
let widen_low = builder.ins().uwiden_low(a);
|
2122
|
+
let widen_high = builder.ins().uwiden_high(a);
|
2123
|
+
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2124
|
+
}
|
2125
|
+
Operator::I32x4ExtAddPairwiseI16x8U => {
|
2126
|
+
let a = pop1_with_bitcast(state, I16X8, builder);
|
2127
|
+
let widen_low = builder.ins().uwiden_low(a);
|
2128
|
+
let widen_high = builder.ins().uwiden_high(a);
|
2129
|
+
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2130
|
+
}
|
2131
|
+
Operator::F32x4Ceil | Operator::F64x2Ceil => {
|
2132
|
+
// This is something of a misuse of `type_of`, because that produces the return type
|
2133
|
+
// of `op`. In this case we want the arg type, but we know it's the same as the
|
2134
|
+
// return type. Same for the 3 cases below.
|
2135
|
+
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2136
|
+
state.push1(builder.ins().ceil(arg));
|
2137
|
+
}
|
2138
|
+
Operator::F32x4Floor | Operator::F64x2Floor => {
|
2139
|
+
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2140
|
+
state.push1(builder.ins().floor(arg));
|
2141
|
+
}
|
2142
|
+
Operator::F32x4Trunc | Operator::F64x2Trunc => {
|
2143
|
+
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2144
|
+
state.push1(builder.ins().trunc(arg));
|
2145
|
+
}
|
2146
|
+
Operator::F32x4Nearest | Operator::F64x2Nearest => {
|
2147
|
+
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2148
|
+
state.push1(builder.ins().nearest(arg));
|
2149
|
+
}
|
2150
|
+
Operator::I32x4DotI16x8S => {
|
2151
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2152
|
+
let alow = builder.ins().swiden_low(a);
|
2153
|
+
let blow = builder.ins().swiden_low(b);
|
2154
|
+
let low = builder.ins().imul(alow, blow);
|
2155
|
+
let ahigh = builder.ins().swiden_high(a);
|
2156
|
+
let bhigh = builder.ins().swiden_high(b);
|
2157
|
+
let high = builder.ins().imul(ahigh, bhigh);
|
2158
|
+
state.push1(builder.ins().iadd_pairwise(low, high));
|
2159
|
+
}
|
2160
|
+
Operator::I8x16Popcnt => {
|
2161
|
+
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2162
|
+
state.push1(builder.ins().popcnt(arg));
|
2163
|
+
}
|
2164
|
+
Operator::I16x8Q15MulrSatS => {
|
2165
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2166
|
+
state.push1(builder.ins().sqmul_round_sat(a, b))
|
2167
|
+
}
|
2168
|
+
Operator::I16x8ExtMulLowI8x16S => {
|
2169
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2170
|
+
let a_low = builder.ins().swiden_low(a);
|
2171
|
+
let b_low = builder.ins().swiden_low(b);
|
2172
|
+
state.push1(builder.ins().imul(a_low, b_low));
|
2173
|
+
}
|
2174
|
+
Operator::I16x8ExtMulHighI8x16S => {
|
2175
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2176
|
+
let a_high = builder.ins().swiden_high(a);
|
2177
|
+
let b_high = builder.ins().swiden_high(b);
|
2178
|
+
state.push1(builder.ins().imul(a_high, b_high));
|
2179
|
+
}
|
2180
|
+
Operator::I16x8ExtMulLowI8x16U => {
|
2181
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2182
|
+
let a_low = builder.ins().uwiden_low(a);
|
2183
|
+
let b_low = builder.ins().uwiden_low(b);
|
2184
|
+
state.push1(builder.ins().imul(a_low, b_low));
|
2185
|
+
}
|
2186
|
+
Operator::I16x8ExtMulHighI8x16U => {
|
2187
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2188
|
+
let a_high = builder.ins().uwiden_high(a);
|
2189
|
+
let b_high = builder.ins().uwiden_high(b);
|
2190
|
+
state.push1(builder.ins().imul(a_high, b_high));
|
2191
|
+
}
|
2192
|
+
Operator::I32x4ExtMulLowI16x8S => {
|
2193
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2194
|
+
let a_low = builder.ins().swiden_low(a);
|
2195
|
+
let b_low = builder.ins().swiden_low(b);
|
2196
|
+
state.push1(builder.ins().imul(a_low, b_low));
|
2197
|
+
}
|
2198
|
+
Operator::I32x4ExtMulHighI16x8S => {
|
2199
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2200
|
+
let a_high = builder.ins().swiden_high(a);
|
2201
|
+
let b_high = builder.ins().swiden_high(b);
|
2202
|
+
state.push1(builder.ins().imul(a_high, b_high));
|
2203
|
+
}
|
2204
|
+
Operator::I32x4ExtMulLowI16x8U => {
|
2205
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2206
|
+
let a_low = builder.ins().uwiden_low(a);
|
2207
|
+
let b_low = builder.ins().uwiden_low(b);
|
2208
|
+
state.push1(builder.ins().imul(a_low, b_low));
|
2209
|
+
}
|
2210
|
+
Operator::I32x4ExtMulHighI16x8U => {
|
2211
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2212
|
+
let a_high = builder.ins().uwiden_high(a);
|
2213
|
+
let b_high = builder.ins().uwiden_high(b);
|
2214
|
+
state.push1(builder.ins().imul(a_high, b_high));
|
2215
|
+
}
|
2216
|
+
Operator::I64x2ExtMulLowI32x4S => {
|
2217
|
+
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2218
|
+
let a_low = builder.ins().swiden_low(a);
|
2219
|
+
let b_low = builder.ins().swiden_low(b);
|
2220
|
+
state.push1(builder.ins().imul(a_low, b_low));
|
2221
|
+
}
|
2222
|
+
Operator::I64x2ExtMulHighI32x4S => {
|
2223
|
+
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2224
|
+
let a_high = builder.ins().swiden_high(a);
|
2225
|
+
let b_high = builder.ins().swiden_high(b);
|
2226
|
+
state.push1(builder.ins().imul(a_high, b_high));
|
2227
|
+
}
|
2228
|
+
Operator::I64x2ExtMulLowI32x4U => {
|
2229
|
+
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2230
|
+
let a_low = builder.ins().uwiden_low(a);
|
2231
|
+
let b_low = builder.ins().uwiden_low(b);
|
2232
|
+
state.push1(builder.ins().imul(a_low, b_low));
|
2233
|
+
}
|
2234
|
+
Operator::I64x2ExtMulHighI32x4U => {
|
2235
|
+
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2236
|
+
let a_high = builder.ins().uwiden_high(a);
|
2237
|
+
let b_high = builder.ins().uwiden_high(b);
|
2238
|
+
state.push1(builder.ins().imul(a_high, b_high));
|
2239
|
+
}
|
2240
|
+
Operator::MemoryDiscard { .. } => {
|
2241
|
+
return Err(wasm_unsupported!(
|
2242
|
+
"proposed memory-control operator {:?}",
|
2243
|
+
op
|
2244
|
+
));
|
2245
|
+
}
|
2246
|
+
|
2247
|
+
Operator::F32x4RelaxedMax | Operator::F64x2RelaxedMax => {
|
2248
|
+
let ty = type_of(op);
|
2249
|
+
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
2250
|
+
state.push1(
|
2251
|
+
if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2252
|
+
// Deterministic semantics match the `fmax` instruction, or
|
2253
|
+
// the `fAAxBB.max` wasm instruction.
|
2254
|
+
builder.ins().fmax(a, b)
|
2255
|
+
} else {
|
2256
|
+
// Note that this matches the `pmax` translation which has
|
2257
|
+
// careful ordering of its operands to trigger
|
2258
|
+
// pattern-matches in the x86 backend.
|
2259
|
+
let cmp = builder.ins().fcmp(FloatCC::LessThan, a, b);
|
2260
|
+
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
2261
|
+
builder.ins().bitselect(cmp, b, a)
|
2262
|
+
},
|
2263
|
+
)
|
2264
|
+
}
|
2265
|
+
|
2266
|
+
Operator::F32x4RelaxedMin | Operator::F64x2RelaxedMin => {
|
2267
|
+
let ty = type_of(op);
|
2268
|
+
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
2269
|
+
state.push1(
|
2270
|
+
if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2271
|
+
// Deterministic semantics match the `fmin` instruction, or
|
2272
|
+
// the `fAAxBB.min` wasm instruction.
|
2273
|
+
builder.ins().fmin(a, b)
|
2274
|
+
} else {
|
2275
|
+
// Note that this matches the `pmin` translation which has
|
2276
|
+
// careful ordering of its operands to trigger
|
2277
|
+
// pattern-matches in the x86 backend.
|
2278
|
+
let cmp = builder.ins().fcmp(FloatCC::LessThan, b, a);
|
2279
|
+
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
2280
|
+
builder.ins().bitselect(cmp, b, a)
|
2281
|
+
},
|
2282
|
+
);
|
2283
|
+
}
|
2284
|
+
|
2285
|
+
Operator::I8x16RelaxedSwizzle => {
|
2286
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2287
|
+
state.push1(
|
2288
|
+
if environ.relaxed_simd_deterministic()
|
2289
|
+
|| !environ.use_x86_pshufb_for_relaxed_swizzle()
|
2290
|
+
{
|
2291
|
+
// Deterministic semantics match the `i8x16.swizzle`
|
2292
|
+
// instruction which is the CLIF `swizzle`.
|
2293
|
+
builder.ins().swizzle(a, b)
|
2294
|
+
} else {
|
2295
|
+
builder.ins().x86_pshufb(a, b)
|
2296
|
+
},
|
2297
|
+
);
|
2298
|
+
}
|
2299
|
+
|
2300
|
+
Operator::F32x4RelaxedMadd | Operator::F64x2RelaxedMadd => {
|
2301
|
+
let (a, b, c) = pop3_with_bitcast(state, type_of(op), builder);
|
2302
|
+
state.push1(
|
2303
|
+
if environ.relaxed_simd_deterministic() || environ.has_native_fma() {
|
2304
|
+
// Deterministic semantics are "fused multiply and add"
|
2305
|
+
// which the CLIF `fma` guarantees.
|
2306
|
+
builder.ins().fma(a, b, c)
|
2307
|
+
} else {
|
2308
|
+
let mul = builder.ins().fmul(a, b);
|
2309
|
+
builder.ins().fadd(mul, c)
|
2310
|
+
},
|
2311
|
+
);
|
2312
|
+
}
|
2313
|
+
Operator::F32x4RelaxedNmadd | Operator::F64x2RelaxedNmadd => {
|
2314
|
+
let (a, b, c) = pop3_with_bitcast(state, type_of(op), builder);
|
2315
|
+
let a = builder.ins().fneg(a);
|
2316
|
+
state.push1(
|
2317
|
+
if environ.relaxed_simd_deterministic() || environ.has_native_fma() {
|
2318
|
+
// Deterministic semantics are "fused multiply and add"
|
2319
|
+
// which the CLIF `fma` guarantees.
|
2320
|
+
builder.ins().fma(a, b, c)
|
2321
|
+
} else {
|
2322
|
+
let mul = builder.ins().fmul(a, b);
|
2323
|
+
builder.ins().fadd(mul, c)
|
2324
|
+
},
|
2325
|
+
);
|
2326
|
+
}
|
2327
|
+
|
2328
|
+
Operator::I8x16RelaxedLaneselect
|
2329
|
+
| Operator::I16x8RelaxedLaneselect
|
2330
|
+
| Operator::I32x4RelaxedLaneselect
|
2331
|
+
| Operator::I64x2RelaxedLaneselect => {
|
2332
|
+
let ty = type_of(op);
|
2333
|
+
let (a, b, c) = pop3_with_bitcast(state, ty, builder);
|
2334
|
+
// Note that the variable swaps here are intentional due to
|
2335
|
+
// the difference of the order of the wasm op and the clif
|
2336
|
+
// op.
|
2337
|
+
state.push1(
|
2338
|
+
if environ.relaxed_simd_deterministic()
|
2339
|
+
|| !environ.use_x86_blendv_for_relaxed_laneselect(ty)
|
2340
|
+
{
|
2341
|
+
// Deterministic semantics are a `bitselect` along the lines
|
2342
|
+
// of the wasm `v128.bitselect` instruction.
|
2343
|
+
builder.ins().bitselect(c, a, b)
|
2344
|
+
} else {
|
2345
|
+
builder.ins().x86_blendv(c, a, b)
|
2346
|
+
},
|
2347
|
+
);
|
2348
|
+
}
|
2349
|
+
|
2350
|
+
Operator::I32x4RelaxedTruncF32x4S => {
|
2351
|
+
let a = pop1_with_bitcast(state, F32X4, builder);
|
2352
|
+
state.push1(
|
2353
|
+
if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2354
|
+
// Deterministic semantics are to match the
|
2355
|
+
// `i32x4.trunc_sat_f32x4_s` instruction.
|
2356
|
+
builder.ins().fcvt_to_sint_sat(I32X4, a)
|
2357
|
+
} else {
|
2358
|
+
builder.ins().x86_cvtt2dq(I32X4, a)
|
2359
|
+
},
|
2360
|
+
)
|
2361
|
+
}
|
2362
|
+
Operator::I32x4RelaxedTruncF64x2SZero => {
|
2363
|
+
let a = pop1_with_bitcast(state, F64X2, builder);
|
2364
|
+
let converted_a = if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2365
|
+
// Deterministic semantics are to match the
|
2366
|
+
// `i32x4.trunc_sat_f64x2_s_zero` instruction.
|
2367
|
+
builder.ins().fcvt_to_sint_sat(I64X2, a)
|
2368
|
+
} else {
|
2369
|
+
builder.ins().x86_cvtt2dq(I64X2, a)
|
2370
|
+
};
|
2371
|
+
let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
|
2372
|
+
let zero = builder.ins().vconst(I64X2, handle);
|
2373
|
+
|
2374
|
+
state.push1(builder.ins().snarrow(converted_a, zero));
|
2375
|
+
}
|
2376
|
+
Operator::I16x8RelaxedQ15mulrS => {
|
2377
|
+
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2378
|
+
state.push1(
|
2379
|
+
if environ.relaxed_simd_deterministic()
|
2380
|
+
|| !environ.use_x86_pmulhrsw_for_relaxed_q15mul()
|
2381
|
+
{
|
2382
|
+
// Deterministic semantics are to match the
|
2383
|
+
// `i16x8.q15mulr_sat_s` instruction.
|
2384
|
+
builder.ins().sqmul_round_sat(a, b)
|
2385
|
+
} else {
|
2386
|
+
builder.ins().x86_pmulhrsw(a, b)
|
2387
|
+
},
|
2388
|
+
);
|
2389
|
+
}
|
2390
|
+
Operator::I16x8RelaxedDotI8x16I7x16S => {
|
2391
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2392
|
+
state.push1(
|
2393
|
+
if environ.relaxed_simd_deterministic() || !environ.use_x86_pmaddubsw_for_dot() {
|
2394
|
+
// Deterministic semantics are to treat both operands as
|
2395
|
+
// signed integers and perform the dot product.
|
2396
|
+
let alo = builder.ins().swiden_low(a);
|
2397
|
+
let blo = builder.ins().swiden_low(b);
|
2398
|
+
let lo = builder.ins().imul(alo, blo);
|
2399
|
+
let ahi = builder.ins().swiden_high(a);
|
2400
|
+
let bhi = builder.ins().swiden_high(b);
|
2401
|
+
let hi = builder.ins().imul(ahi, bhi);
|
2402
|
+
builder.ins().iadd_pairwise(lo, hi)
|
2403
|
+
} else {
|
2404
|
+
builder.ins().x86_pmaddubsw(a, b)
|
2405
|
+
},
|
2406
|
+
);
|
2407
|
+
}
|
2408
|
+
|
2409
|
+
Operator::I32x4RelaxedDotI8x16I7x16AddS => {
|
2410
|
+
let c = pop1_with_bitcast(state, I32X4, builder);
|
2411
|
+
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2412
|
+
let dot =
|
2413
|
+
if environ.relaxed_simd_deterministic() || !environ.use_x86_pmaddubsw_for_dot() {
|
2414
|
+
// Deterministic semantics are to treat both operands as
|
2415
|
+
// signed integers and perform the dot product.
|
2416
|
+
let alo = builder.ins().swiden_low(a);
|
2417
|
+
let blo = builder.ins().swiden_low(b);
|
2418
|
+
let lo = builder.ins().imul(alo, blo);
|
2419
|
+
let ahi = builder.ins().swiden_high(a);
|
2420
|
+
let bhi = builder.ins().swiden_high(b);
|
2421
|
+
let hi = builder.ins().imul(ahi, bhi);
|
2422
|
+
builder.ins().iadd_pairwise(lo, hi)
|
2423
|
+
} else {
|
2424
|
+
builder.ins().x86_pmaddubsw(a, b)
|
2425
|
+
};
|
2426
|
+
let dotlo = builder.ins().swiden_low(dot);
|
2427
|
+
let dothi = builder.ins().swiden_high(dot);
|
2428
|
+
let dot32 = builder.ins().iadd_pairwise(dotlo, dothi);
|
2429
|
+
state.push1(builder.ins().iadd(dot32, c));
|
2430
|
+
}
|
2431
|
+
|
2432
|
+
Operator::BrOnNull { relative_depth } => {
|
2433
|
+
let r = state.pop1();
|
2434
|
+
let (br_destination, inputs) = translate_br_if_args(*relative_depth, state);
|
2435
|
+
let is_null = environ.translate_ref_is_null(builder.cursor(), r)?;
|
2436
|
+
let else_block = builder.create_block();
|
2437
|
+
canonicalise_brif(builder, is_null, br_destination, inputs, else_block, &[]);
|
2438
|
+
|
2439
|
+
builder.seal_block(else_block); // The only predecessor is the current block.
|
2440
|
+
builder.switch_to_block(else_block);
|
2441
|
+
state.push1(r);
|
2442
|
+
}
|
2443
|
+
Operator::BrOnNonNull { relative_depth } => {
|
2444
|
+
// We write this a bit differently from the spec to avoid an extra
|
2445
|
+
// block/branch and the typed accounting thereof. Instead of the
|
2446
|
+
// spec's approach, it's described as such:
|
2447
|
+
// Peek the value val from the stack.
|
2448
|
+
// If val is ref.null ht, then: pop the value val from the stack.
|
2449
|
+
// Else: Execute the instruction (br relative_depth).
|
2450
|
+
let is_null = environ.translate_ref_is_null(builder.cursor(), state.peek1())?;
|
2451
|
+
let (br_destination, inputs) = translate_br_if_args(*relative_depth, state);
|
2452
|
+
let else_block = builder.create_block();
|
2453
|
+
canonicalise_brif(builder, is_null, else_block, &[], br_destination, inputs);
|
2454
|
+
|
2455
|
+
// In the null case, pop the ref
|
2456
|
+
state.pop1();
|
2457
|
+
|
2458
|
+
builder.seal_block(else_block); // The only predecessor is the current block.
|
2459
|
+
|
2460
|
+
// The rest of the translation operates on our is null case, which is
|
2461
|
+
// currently an empty block
|
2462
|
+
builder.switch_to_block(else_block);
|
2463
|
+
}
|
2464
|
+
Operator::CallRef { type_index } => {
|
2465
|
+
// Get function signature
|
2466
|
+
// `index` is the index of the function's signature and `table_index` is the index of
|
2467
|
+
// the table to search the function in.
|
2468
|
+
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
2469
|
+
let callee = state.pop1();
|
2470
|
+
|
2471
|
+
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
2472
|
+
let args = state.peekn_mut(num_args);
|
2473
|
+
bitcast_wasm_params(environ, sigref, args, builder);
|
2474
|
+
|
2475
|
+
let call =
|
2476
|
+
environ.translate_call_ref(builder, sigref, callee, state.peekn(num_args))?;
|
2477
|
+
|
2478
|
+
let inst_results = builder.inst_results(call);
|
2479
|
+
debug_assert_eq!(
|
2480
|
+
inst_results.len(),
|
2481
|
+
builder.func.dfg.signatures[sigref].returns.len(),
|
2482
|
+
"translate_call_ref results should match the call signature"
|
2483
|
+
);
|
2484
|
+
state.popn(num_args);
|
2485
|
+
state.pushn(inst_results);
|
2486
|
+
}
|
2487
|
+
Operator::RefAsNonNull => {
|
2488
|
+
let r = state.pop1();
|
2489
|
+
let is_null = environ.translate_ref_is_null(builder.cursor(), r)?;
|
2490
|
+
builder.ins().trapnz(is_null, ir::TrapCode::NullReference);
|
2491
|
+
state.push1(r);
|
2492
|
+
}
|
2493
|
+
|
2494
|
+
Operator::RefI31 => {
|
2495
|
+
let val = state.pop1();
|
2496
|
+
let i31ref = environ.translate_ref_i31(builder.cursor(), val)?;
|
2497
|
+
state.push1(i31ref);
|
2498
|
+
}
|
2499
|
+
Operator::I31GetS => {
|
2500
|
+
let i31ref = state.pop1();
|
2501
|
+
let val = environ.translate_i31_get_s(builder.cursor(), i31ref)?;
|
2502
|
+
state.push1(val);
|
2503
|
+
}
|
2504
|
+
Operator::I31GetU => {
|
2505
|
+
let i31ref = state.pop1();
|
2506
|
+
let val = environ.translate_i31_get_u(builder.cursor(), i31ref)?;
|
2507
|
+
state.push1(val);
|
2508
|
+
}
|
2509
|
+
|
2510
|
+
Operator::TryTable { .. } | Operator::ThrowRef => {
|
2511
|
+
unimplemented!("exception operators not yet implemented")
|
2512
|
+
}
|
2513
|
+
|
2514
|
+
Operator::RefEq
|
2515
|
+
| Operator::RefTestNonNull { .. }
|
2516
|
+
| Operator::RefTestNullable { .. }
|
2517
|
+
| Operator::RefCastNonNull { .. }
|
2518
|
+
| Operator::RefCastNullable { .. }
|
2519
|
+
| Operator::BrOnCast { .. }
|
2520
|
+
| Operator::BrOnCastFail { .. }
|
2521
|
+
| Operator::AnyConvertExtern
|
2522
|
+
| Operator::ExternConvertAny
|
2523
|
+
| Operator::ArrayNew { .. }
|
2524
|
+
| Operator::ArrayNewDefault { .. }
|
2525
|
+
| Operator::ArrayNewFixed { .. }
|
2526
|
+
| Operator::ArrayNewData { .. }
|
2527
|
+
| Operator::ArrayNewElem { .. }
|
2528
|
+
| Operator::ArrayGet { .. }
|
2529
|
+
| Operator::ArrayGetU { .. }
|
2530
|
+
| Operator::ArrayGetS { .. }
|
2531
|
+
| Operator::ArraySet { .. }
|
2532
|
+
| Operator::ArrayLen { .. }
|
2533
|
+
| Operator::ArrayFill { .. }
|
2534
|
+
| Operator::ArrayCopy { .. }
|
2535
|
+
| Operator::ArrayInitData { .. }
|
2536
|
+
| Operator::ArrayInitElem { .. }
|
2537
|
+
| Operator::StructNew { .. }
|
2538
|
+
| Operator::StructNewDefault { .. }
|
2539
|
+
| Operator::StructGetS { .. }
|
2540
|
+
| Operator::StructGetU { .. }
|
2541
|
+
| Operator::StructSet { .. }
|
2542
|
+
| Operator::StructGet { .. } => {
|
2543
|
+
unimplemented!("GC operators not yet implemented")
|
2544
|
+
}
|
2545
|
+
|
2546
|
+
Operator::GlobalAtomicGet { .. }
|
2547
|
+
| Operator::GlobalAtomicSet { .. }
|
2548
|
+
| Operator::GlobalAtomicRmwAdd { .. }
|
2549
|
+
| Operator::GlobalAtomicRmwSub { .. }
|
2550
|
+
| Operator::GlobalAtomicRmwOr { .. }
|
2551
|
+
| Operator::GlobalAtomicRmwXor { .. }
|
2552
|
+
| Operator::GlobalAtomicRmwAnd { .. }
|
2553
|
+
| Operator::GlobalAtomicRmwXchg { .. }
|
2554
|
+
| Operator::GlobalAtomicRmwCmpxchg { .. } => {
|
2555
|
+
unimplemented!("shared-everything-threads not yet implemented")
|
2556
|
+
}
|
2557
|
+
};
|
2558
|
+
Ok(())
|
2559
|
+
}
|
2560
|
+
|
2561
|
+
/// Deals with a Wasm instruction located in an unreachable portion of the code. Most of them
|
2562
|
+
/// are dropped but special ones like `End` or `Else` signal the potential end of the unreachable
|
2563
|
+
/// portion so the translation state must be updated accordingly.
|
2564
|
+
fn translate_unreachable_operator<FE: FuncEnvironment + ?Sized>(
|
2565
|
+
validator: &FuncValidator<impl WasmModuleResources>,
|
2566
|
+
op: &Operator,
|
2567
|
+
builder: &mut FunctionBuilder,
|
2568
|
+
state: &mut FuncTranslationState,
|
2569
|
+
environ: &mut FE,
|
2570
|
+
) -> WasmResult<()> {
|
2571
|
+
debug_assert!(!state.reachable);
|
2572
|
+
match *op {
|
2573
|
+
Operator::If { blockty } => {
|
2574
|
+
// Push a placeholder control stack entry. The if isn't reachable,
|
2575
|
+
// so we don't have any branches anywhere.
|
2576
|
+
state.push_if(
|
2577
|
+
ir::Block::reserved_value(),
|
2578
|
+
ElseData::NoElse {
|
2579
|
+
branch_inst: ir::Inst::reserved_value(),
|
2580
|
+
placeholder: ir::Block::reserved_value(),
|
2581
|
+
},
|
2582
|
+
0,
|
2583
|
+
0,
|
2584
|
+
blockty,
|
2585
|
+
);
|
2586
|
+
}
|
2587
|
+
Operator::Loop { blockty: _ } | Operator::Block { blockty: _ } => {
|
2588
|
+
state.push_block(ir::Block::reserved_value(), 0, 0);
|
2589
|
+
}
|
2590
|
+
Operator::Else => {
|
2591
|
+
let i = state.control_stack.len() - 1;
|
2592
|
+
match state.control_stack[i] {
|
2593
|
+
ControlStackFrame::If {
|
2594
|
+
ref else_data,
|
2595
|
+
head_is_reachable,
|
2596
|
+
ref mut consequent_ends_reachable,
|
2597
|
+
blocktype,
|
2598
|
+
..
|
2599
|
+
} => {
|
2600
|
+
debug_assert!(consequent_ends_reachable.is_none());
|
2601
|
+
*consequent_ends_reachable = Some(state.reachable);
|
2602
|
+
|
2603
|
+
if head_is_reachable {
|
2604
|
+
// We have a branch from the head of the `if` to the `else`.
|
2605
|
+
state.reachable = true;
|
2606
|
+
|
2607
|
+
let else_block = match *else_data {
|
2608
|
+
ElseData::NoElse {
|
2609
|
+
branch_inst,
|
2610
|
+
placeholder,
|
2611
|
+
} => {
|
2612
|
+
let (params, _results) =
|
2613
|
+
blocktype_params_results(validator, blocktype)?;
|
2614
|
+
let else_block = block_with_params(builder, params, environ)?;
|
2615
|
+
let frame = state.control_stack.last().unwrap();
|
2616
|
+
frame.truncate_value_stack_to_else_params(&mut state.stack);
|
2617
|
+
|
2618
|
+
// We change the target of the branch instruction.
|
2619
|
+
builder.change_jump_destination(
|
2620
|
+
branch_inst,
|
2621
|
+
placeholder,
|
2622
|
+
else_block,
|
2623
|
+
);
|
2624
|
+
builder.seal_block(else_block);
|
2625
|
+
else_block
|
2626
|
+
}
|
2627
|
+
ElseData::WithElse { else_block } => {
|
2628
|
+
let frame = state.control_stack.last().unwrap();
|
2629
|
+
frame.truncate_value_stack_to_else_params(&mut state.stack);
|
2630
|
+
else_block
|
2631
|
+
}
|
2632
|
+
};
|
2633
|
+
|
2634
|
+
builder.switch_to_block(else_block);
|
2635
|
+
|
2636
|
+
// Again, no need to push the parameters for the `else`,
|
2637
|
+
// since we already did when we saw the original `if`. See
|
2638
|
+
// the comment for translating `Operator::Else` in
|
2639
|
+
// `translate_operator` for details.
|
2640
|
+
}
|
2641
|
+
}
|
2642
|
+
_ => unreachable!(),
|
2643
|
+
}
|
2644
|
+
}
|
2645
|
+
Operator::End => {
|
2646
|
+
let stack = &mut state.stack;
|
2647
|
+
let control_stack = &mut state.control_stack;
|
2648
|
+
let frame = control_stack.pop().unwrap();
|
2649
|
+
|
2650
|
+
// Pop unused parameters from stack.
|
2651
|
+
frame.truncate_value_stack_to_original_size(stack);
|
2652
|
+
|
2653
|
+
let reachable_anyway = match frame {
|
2654
|
+
// If it is a loop we also have to seal the body loop block
|
2655
|
+
ControlStackFrame::Loop { header, .. } => {
|
2656
|
+
builder.seal_block(header);
|
2657
|
+
// And loops can't have branches to the end.
|
2658
|
+
false
|
2659
|
+
}
|
2660
|
+
// If we never set `consequent_ends_reachable` then that means
|
2661
|
+
// we are finishing the consequent now, and there was no
|
2662
|
+
// `else`. Whether the following block is reachable depends only
|
2663
|
+
// on if the head was reachable.
|
2664
|
+
ControlStackFrame::If {
|
2665
|
+
head_is_reachable,
|
2666
|
+
consequent_ends_reachable: None,
|
2667
|
+
..
|
2668
|
+
} => head_is_reachable,
|
2669
|
+
// Since we are only in this function when in unreachable code,
|
2670
|
+
// we know that the alternative just ended unreachable. Whether
|
2671
|
+
// the following block is reachable depends on if the consequent
|
2672
|
+
// ended reachable or not.
|
2673
|
+
ControlStackFrame::If {
|
2674
|
+
head_is_reachable,
|
2675
|
+
consequent_ends_reachable: Some(consequent_ends_reachable),
|
2676
|
+
..
|
2677
|
+
} => head_is_reachable && consequent_ends_reachable,
|
2678
|
+
// All other control constructs are already handled.
|
2679
|
+
_ => false,
|
2680
|
+
};
|
2681
|
+
|
2682
|
+
if frame.exit_is_branched_to() || reachable_anyway {
|
2683
|
+
builder.switch_to_block(frame.following_code());
|
2684
|
+
builder.seal_block(frame.following_code());
|
2685
|
+
|
2686
|
+
// And add the return values of the block but only if the next block is reachable
|
2687
|
+
// (which corresponds to testing if the stack depth is 1)
|
2688
|
+
stack.extend_from_slice(builder.block_params(frame.following_code()));
|
2689
|
+
state.reachable = true;
|
2690
|
+
}
|
2691
|
+
}
|
2692
|
+
_ => {
|
2693
|
+
// We don't translate because this is unreachable code
|
2694
|
+
}
|
2695
|
+
}
|
2696
|
+
|
2697
|
+
Ok(())
|
2698
|
+
}
|
2699
|
+
|
2700
|
+
/// This function is a generalized helper for validating that a wasm-supplied
|
2701
|
+
/// heap address is in-bounds.
|
2702
|
+
///
|
2703
|
+
/// This function takes a litany of parameters and requires that the *Wasm*
|
2704
|
+
/// address to be verified is at the top of the stack in `state`. This will
|
2705
|
+
/// generate necessary IR to validate that the heap address is correctly
|
2706
|
+
/// in-bounds, and various parameters are returned describing the valid *native*
|
2707
|
+
/// heap address if execution reaches that point.
|
2708
|
+
///
|
2709
|
+
/// Returns `None` when the Wasm access will unconditionally trap.
|
2710
|
+
///
|
2711
|
+
/// Returns `(flags, wasm_addr, native_addr)`.
|
2712
|
+
fn prepare_addr<FE>(
|
2713
|
+
memarg: &MemArg,
|
2714
|
+
access_size: u8,
|
2715
|
+
builder: &mut FunctionBuilder,
|
2716
|
+
state: &mut FuncTranslationState,
|
2717
|
+
environ: &mut FE,
|
2718
|
+
) -> WasmResult<Reachability<(MemFlags, Value, Value)>>
|
2719
|
+
where
|
2720
|
+
FE: FuncEnvironment + ?Sized,
|
2721
|
+
{
|
2722
|
+
let index = state.pop1();
|
2723
|
+
let heap = state.get_heap(builder.func, memarg.memory, environ)?;
|
2724
|
+
|
2725
|
+
// How exactly the bounds check is performed here and what it's performed
|
2726
|
+
// on is a bit tricky. Generally we want to rely on access violations (e.g.
|
2727
|
+
// segfaults) to generate traps since that means we don't have to bounds
|
2728
|
+
// check anything explicitly.
|
2729
|
+
//
|
2730
|
+
// (1) If we don't have a guard page of unmapped memory, though, then we
|
2731
|
+
// can't rely on this trapping behavior through segfaults. Instead we need
|
2732
|
+
// to bounds-check the entire memory access here which is everything from
|
2733
|
+
// `addr32 + offset` to `addr32 + offset + width` (not inclusive). In this
|
2734
|
+
// scenario our adjusted offset that we're checking is `memarg.offset +
|
2735
|
+
// access_size`. Note that we do saturating arithmetic here to avoid
|
2736
|
+
// overflow. The addition here is in the 64-bit space, which means that
|
2737
|
+
// we'll never overflow for 32-bit wasm but for 64-bit this is an issue. If
|
2738
|
+
// our effective offset is u64::MAX though then it's impossible for for
|
2739
|
+
// that to actually be a valid offset because otherwise the wasm linear
|
2740
|
+
// memory would take all of the host memory!
|
2741
|
+
//
|
2742
|
+
// (2) If we have a guard page, however, then we can perform a further
|
2743
|
+
// optimization of the generated code by only checking multiples of the
|
2744
|
+
// offset-guard size to be more CSE-friendly. Knowing that we have at least
|
2745
|
+
// 1 page of a guard page we're then able to disregard the `width` since we
|
2746
|
+
// know it's always less than one page. Our bounds check will be for the
|
2747
|
+
// first byte which will either succeed and be guaranteed to fault if it's
|
2748
|
+
// actually out of bounds, or the bounds check itself will fail. In any case
|
2749
|
+
// we assert that the width is reasonably small for now so this assumption
|
2750
|
+
// can be adjusted in the future if we get larger widths.
|
2751
|
+
//
|
2752
|
+
// Put another way we can say, where `y < offset_guard_size`:
|
2753
|
+
//
|
2754
|
+
// n * offset_guard_size + y = offset
|
2755
|
+
//
|
2756
|
+
// We'll then pass `n * offset_guard_size` as the bounds check value. If
|
2757
|
+
// this traps then our `offset` would have trapped anyway. If this check
|
2758
|
+
// passes we know
|
2759
|
+
//
|
2760
|
+
// addr32 + n * offset_guard_size < bound
|
2761
|
+
//
|
2762
|
+
// which means
|
2763
|
+
//
|
2764
|
+
// addr32 + n * offset_guard_size + y < bound + offset_guard_size
|
2765
|
+
//
|
2766
|
+
// because `y < offset_guard_size`, which then means:
|
2767
|
+
//
|
2768
|
+
// addr32 + offset < bound + offset_guard_size
|
2769
|
+
//
|
2770
|
+
// Since we know that that guard size bytes are all unmapped we're
|
2771
|
+
// guaranteed that `offset` and the `width` bytes after it are either
|
2772
|
+
// in-bounds or will hit the guard page, meaning we'll get the desired
|
2773
|
+
// semantics we want.
|
2774
|
+
//
|
2775
|
+
// ---
|
2776
|
+
//
|
2777
|
+
// With all that in mind remember that the goal is to bounds check as few
|
2778
|
+
// things as possible. To facilitate this the "fast path" is expected to be
|
2779
|
+
// hit like so:
|
2780
|
+
//
|
2781
|
+
// * For wasm32, wasmtime defaults to 4gb "static" memories with 2gb guard
|
2782
|
+
// regions. This means that for all offsets <=2gb, we hit the optimized
|
2783
|
+
// case for `heap_addr` on static memories 4gb in size in cranelift's
|
2784
|
+
// legalization of `heap_addr`, eliding the bounds check entirely.
|
2785
|
+
//
|
2786
|
+
// * For wasm64 offsets <=2gb will generate a single `heap_addr`
|
2787
|
+
// instruction, but at this time all heaps are "dynamic" which means that
|
2788
|
+
// a single bounds check is forced. Ideally we'd do better here, but
|
2789
|
+
// that's the current state of affairs.
|
2790
|
+
//
|
2791
|
+
// Basically we assume that most configurations have a guard page and most
|
2792
|
+
// offsets in `memarg` are <=2gb, which means we get the fast path of one
|
2793
|
+
// `heap_addr` instruction plus a hardcoded i32-offset in memory-related
|
2794
|
+
// instructions.
|
2795
|
+
let heap = environ.heaps()[heap].clone();
|
2796
|
+
let addr = match u32::try_from(memarg.offset) {
|
2797
|
+
// If our offset fits within a u32, then we can place the it into the
|
2798
|
+
// offset immediate of the `heap_addr` instruction.
|
2799
|
+
Ok(offset) => bounds_checks::bounds_check_and_compute_addr(
|
2800
|
+
builder,
|
2801
|
+
environ,
|
2802
|
+
&heap,
|
2803
|
+
index,
|
2804
|
+
offset,
|
2805
|
+
access_size,
|
2806
|
+
)?,
|
2807
|
+
|
2808
|
+
// If the offset doesn't fit within a u32, then we can't pass it
|
2809
|
+
// directly into `heap_addr`.
|
2810
|
+
//
|
2811
|
+
// One reasonable question you might ask is "why not?". There's no
|
2812
|
+
// fundamental reason why `heap_addr` *must* take a 32-bit offset. The
|
2813
|
+
// reason this isn't done, though, is that blindly changing the offset
|
2814
|
+
// to a 64-bit offset increases the size of the `InstructionData` enum
|
2815
|
+
// in cranelift by 8 bytes (16 to 24). This can have significant
|
2816
|
+
// performance implications so the conclusion when this was written was
|
2817
|
+
// that we shouldn't do that.
|
2818
|
+
//
|
2819
|
+
// Without the ability to put the whole offset into the `heap_addr`
|
2820
|
+
// instruction we need to fold the offset into the address itself with
|
2821
|
+
// an unsigned addition. In doing so though we need to check for
|
2822
|
+
// overflow because that would mean the address is out-of-bounds (wasm
|
2823
|
+
// bounds checks happen on the effective 33 or 65 bit address once the
|
2824
|
+
// offset is factored in).
|
2825
|
+
//
|
2826
|
+
// Once we have the effective address, offset already folded in, then
|
2827
|
+
// `heap_addr` is used to verify that the address is indeed in-bounds.
|
2828
|
+
//
|
2829
|
+
// Note that this is generating what's likely to be at least two
|
2830
|
+
// branches, one for the overflow and one for the bounds check itself.
|
2831
|
+
// For now though that should hopefully be ok since 4gb+ offsets are
|
2832
|
+
// relatively odd/rare. In the future if needed we can look into
|
2833
|
+
// optimizing this more.
|
2834
|
+
Err(_) => {
|
2835
|
+
let offset = builder.ins().iconst(heap.index_type, memarg.offset as i64);
|
2836
|
+
let adjusted_index =
|
2837
|
+
builder
|
2838
|
+
.ins()
|
2839
|
+
.uadd_overflow_trap(index, offset, ir::TrapCode::HeapOutOfBounds);
|
2840
|
+
bounds_checks::bounds_check_and_compute_addr(
|
2841
|
+
builder,
|
2842
|
+
environ,
|
2843
|
+
&heap,
|
2844
|
+
adjusted_index,
|
2845
|
+
0,
|
2846
|
+
access_size,
|
2847
|
+
)?
|
2848
|
+
}
|
2849
|
+
};
|
2850
|
+
let addr = match addr {
|
2851
|
+
Reachability::Unreachable => return Ok(Reachability::Unreachable),
|
2852
|
+
Reachability::Reachable(a) => a,
|
2853
|
+
};
|
2854
|
+
|
2855
|
+
// Note that we don't set `is_aligned` here, even if the load instruction's
|
2856
|
+
// alignment immediate may says it's aligned, because WebAssembly's
|
2857
|
+
// immediate field is just a hint, while Cranelift's aligned flag needs a
|
2858
|
+
// guarantee. WebAssembly memory accesses are always little-endian.
|
2859
|
+
let mut flags = MemFlags::new();
|
2860
|
+
flags.set_endianness(ir::Endianness::Little);
|
2861
|
+
|
2862
|
+
if heap.memory_type.is_some() {
|
2863
|
+
// Proof-carrying code is enabled; check this memory access.
|
2864
|
+
flags.set_checked();
|
2865
|
+
}
|
2866
|
+
|
2867
|
+
// The access occurs to the `heap` disjoint category of abstract
|
2868
|
+
// state. This may allow alias analysis to merge redundant loads,
|
2869
|
+
// etc. when heap accesses occur interleaved with other (table,
|
2870
|
+
// vmctx, stack) accesses.
|
2871
|
+
flags.set_alias_region(Some(ir::AliasRegion::Heap));
|
2872
|
+
|
2873
|
+
Ok(Reachability::Reachable((flags, index, addr)))
|
2874
|
+
}
|
2875
|
+
|
2876
|
+
fn align_atomic_addr(
|
2877
|
+
memarg: &MemArg,
|
2878
|
+
loaded_bytes: u8,
|
2879
|
+
builder: &mut FunctionBuilder,
|
2880
|
+
state: &mut FuncTranslationState,
|
2881
|
+
) {
|
2882
|
+
// Atomic addresses must all be aligned correctly, and for now we check
|
2883
|
+
// alignment before we check out-of-bounds-ness. The order of this check may
|
2884
|
+
// need to be updated depending on the outcome of the official threads
|
2885
|
+
// proposal itself.
|
2886
|
+
//
|
2887
|
+
// Note that with an offset>0 we generate an `iadd_imm` where the result is
|
2888
|
+
// thrown away after the offset check. This may truncate the offset and the
|
2889
|
+
// result may overflow as well, but those conditions won't affect the
|
2890
|
+
// alignment check itself. This can probably be optimized better and we
|
2891
|
+
// should do so in the future as well.
|
2892
|
+
if loaded_bytes > 1 {
|
2893
|
+
let addr = state.pop1(); // "peek" via pop then push
|
2894
|
+
state.push1(addr);
|
2895
|
+
let effective_addr = if memarg.offset == 0 {
|
2896
|
+
addr
|
2897
|
+
} else {
|
2898
|
+
builder
|
2899
|
+
.ins()
|
2900
|
+
.iadd_imm(addr, i64::from(memarg.offset as i32))
|
2901
|
+
};
|
2902
|
+
debug_assert!(loaded_bytes.is_power_of_two());
|
2903
|
+
let misalignment = builder
|
2904
|
+
.ins()
|
2905
|
+
.band_imm(effective_addr, i64::from(loaded_bytes - 1));
|
2906
|
+
let f = builder.ins().icmp_imm(IntCC::NotEqual, misalignment, 0);
|
2907
|
+
builder.ins().trapnz(f, ir::TrapCode::HeapMisaligned);
|
2908
|
+
}
|
2909
|
+
}
|
2910
|
+
|
2911
|
+
/// Like `prepare_addr` but for atomic accesses.
|
2912
|
+
///
|
2913
|
+
/// Returns `None` when the Wasm access will unconditionally trap.
|
2914
|
+
fn prepare_atomic_addr<FE: FuncEnvironment + ?Sized>(
|
2915
|
+
memarg: &MemArg,
|
2916
|
+
loaded_bytes: u8,
|
2917
|
+
builder: &mut FunctionBuilder,
|
2918
|
+
state: &mut FuncTranslationState,
|
2919
|
+
environ: &mut FE,
|
2920
|
+
) -> WasmResult<Reachability<(MemFlags, Value, Value)>> {
|
2921
|
+
align_atomic_addr(memarg, loaded_bytes, builder, state);
|
2922
|
+
prepare_addr(memarg, loaded_bytes, builder, state, environ)
|
2923
|
+
}
|
2924
|
+
|
2925
|
+
/// Like `Option<T>` but specifically for passing information about transitions
|
2926
|
+
/// from reachable to unreachable state and the like from callees to callers.
|
2927
|
+
///
|
2928
|
+
/// Marked `must_use` to force callers to update
|
2929
|
+
/// `FuncTranslationState::reachable` as necessary.
|
2930
|
+
#[derive(PartialEq, Eq)]
|
2931
|
+
#[must_use]
|
2932
|
+
pub enum Reachability<T> {
|
2933
|
+
/// The Wasm execution state is reachable, here is a `T`.
|
2934
|
+
Reachable(T),
|
2935
|
+
/// The Wasm execution state has been determined to be statically
|
2936
|
+
/// unreachable. It is the receiver of this value's responsibility to update
|
2937
|
+
/// `FuncTranslationState::reachable` as necessary.
|
2938
|
+
Unreachable,
|
2939
|
+
}
|
2940
|
+
|
2941
|
+
/// Translate a load instruction.
|
2942
|
+
///
|
2943
|
+
/// Returns the execution state's reachability after the load is translated.
|
2944
|
+
fn translate_load<FE: FuncEnvironment + ?Sized>(
|
2945
|
+
memarg: &MemArg,
|
2946
|
+
opcode: ir::Opcode,
|
2947
|
+
result_ty: Type,
|
2948
|
+
builder: &mut FunctionBuilder,
|
2949
|
+
state: &mut FuncTranslationState,
|
2950
|
+
environ: &mut FE,
|
2951
|
+
) -> WasmResult<Reachability<()>> {
|
2952
|
+
let mem_op_size = mem_op_size(opcode, result_ty);
|
2953
|
+
let (flags, wasm_index, base) =
|
2954
|
+
match prepare_addr(memarg, mem_op_size, builder, state, environ)? {
|
2955
|
+
Reachability::Unreachable => return Ok(Reachability::Unreachable),
|
2956
|
+
Reachability::Reachable((f, i, b)) => (f, i, b),
|
2957
|
+
};
|
2958
|
+
|
2959
|
+
environ.before_load(builder, mem_op_size, wasm_index, memarg.offset);
|
2960
|
+
|
2961
|
+
let (load, dfg) = builder
|
2962
|
+
.ins()
|
2963
|
+
.Load(opcode, result_ty, flags, Offset32::new(0), base);
|
2964
|
+
state.push1(dfg.first_result(load));
|
2965
|
+
Ok(Reachability::Reachable(()))
|
2966
|
+
}
|
2967
|
+
|
2968
|
+
/// Translate a store instruction.
|
2969
|
+
fn translate_store<FE: FuncEnvironment + ?Sized>(
|
2970
|
+
memarg: &MemArg,
|
2971
|
+
opcode: ir::Opcode,
|
2972
|
+
builder: &mut FunctionBuilder,
|
2973
|
+
state: &mut FuncTranslationState,
|
2974
|
+
environ: &mut FE,
|
2975
|
+
) -> WasmResult<()> {
|
2976
|
+
let val = state.pop1();
|
2977
|
+
let val_ty = builder.func.dfg.value_type(val);
|
2978
|
+
let mem_op_size = mem_op_size(opcode, val_ty);
|
2979
|
+
|
2980
|
+
let (flags, wasm_index, base) = unwrap_or_return_unreachable_state!(
|
2981
|
+
state,
|
2982
|
+
prepare_addr(memarg, mem_op_size, builder, state, environ)?
|
2983
|
+
);
|
2984
|
+
|
2985
|
+
environ.before_store(builder, mem_op_size, wasm_index, memarg.offset);
|
2986
|
+
|
2987
|
+
builder
|
2988
|
+
.ins()
|
2989
|
+
.Store(opcode, val_ty, flags, Offset32::new(0), val, base);
|
2990
|
+
Ok(())
|
2991
|
+
}
|
2992
|
+
|
2993
|
+
fn mem_op_size(opcode: ir::Opcode, ty: Type) -> u8 {
|
2994
|
+
match opcode {
|
2995
|
+
ir::Opcode::Istore8 | ir::Opcode::Sload8 | ir::Opcode::Uload8 => 1,
|
2996
|
+
ir::Opcode::Istore16 | ir::Opcode::Sload16 | ir::Opcode::Uload16 => 2,
|
2997
|
+
ir::Opcode::Istore32 | ir::Opcode::Sload32 | ir::Opcode::Uload32 => 4,
|
2998
|
+
ir::Opcode::Store | ir::Opcode::Load => u8::try_from(ty.bytes()).unwrap(),
|
2999
|
+
_ => panic!("unknown size of mem op for {:?}", opcode),
|
3000
|
+
}
|
3001
|
+
}
|
3002
|
+
|
3003
|
+
fn translate_icmp(cc: IntCC, builder: &mut FunctionBuilder, state: &mut FuncTranslationState) {
|
3004
|
+
let (arg0, arg1) = state.pop2();
|
3005
|
+
let val = builder.ins().icmp(cc, arg0, arg1);
|
3006
|
+
state.push1(builder.ins().uextend(I32, val));
|
3007
|
+
}
|
3008
|
+
|
3009
|
+
fn translate_atomic_rmw<FE: FuncEnvironment + ?Sized>(
|
3010
|
+
widened_ty: Type,
|
3011
|
+
access_ty: Type,
|
3012
|
+
op: AtomicRmwOp,
|
3013
|
+
memarg: &MemArg,
|
3014
|
+
builder: &mut FunctionBuilder,
|
3015
|
+
state: &mut FuncTranslationState,
|
3016
|
+
environ: &mut FE,
|
3017
|
+
) -> WasmResult<()> {
|
3018
|
+
let mut arg2 = state.pop1();
|
3019
|
+
let arg2_ty = builder.func.dfg.value_type(arg2);
|
3020
|
+
|
3021
|
+
// The operation is performed at type `access_ty`, and the old value is zero-extended
|
3022
|
+
// to type `widened_ty`.
|
3023
|
+
match access_ty {
|
3024
|
+
I8 | I16 | I32 | I64 => {}
|
3025
|
+
_ => {
|
3026
|
+
return Err(wasm_unsupported!(
|
3027
|
+
"atomic_rmw: unsupported access type {:?}",
|
3028
|
+
access_ty
|
3029
|
+
))
|
3030
|
+
}
|
3031
|
+
};
|
3032
|
+
let w_ty_ok = match widened_ty {
|
3033
|
+
I32 | I64 => true,
|
3034
|
+
_ => false,
|
3035
|
+
};
|
3036
|
+
assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
|
3037
|
+
|
3038
|
+
assert!(arg2_ty.bytes() >= access_ty.bytes());
|
3039
|
+
if arg2_ty.bytes() > access_ty.bytes() {
|
3040
|
+
arg2 = builder.ins().ireduce(access_ty, arg2);
|
3041
|
+
}
|
3042
|
+
|
3043
|
+
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3044
|
+
state,
|
3045
|
+
prepare_atomic_addr(
|
3046
|
+
memarg,
|
3047
|
+
u8::try_from(access_ty.bytes()).unwrap(),
|
3048
|
+
builder,
|
3049
|
+
state,
|
3050
|
+
environ,
|
3051
|
+
)?
|
3052
|
+
);
|
3053
|
+
|
3054
|
+
let mut res = builder.ins().atomic_rmw(access_ty, flags, op, addr, arg2);
|
3055
|
+
if access_ty != widened_ty {
|
3056
|
+
res = builder.ins().uextend(widened_ty, res);
|
3057
|
+
}
|
3058
|
+
state.push1(res);
|
3059
|
+
Ok(())
|
3060
|
+
}
|
3061
|
+
|
3062
|
+
fn translate_atomic_cas<FE: FuncEnvironment + ?Sized>(
|
3063
|
+
widened_ty: Type,
|
3064
|
+
access_ty: Type,
|
3065
|
+
memarg: &MemArg,
|
3066
|
+
builder: &mut FunctionBuilder,
|
3067
|
+
state: &mut FuncTranslationState,
|
3068
|
+
environ: &mut FE,
|
3069
|
+
) -> WasmResult<()> {
|
3070
|
+
let (mut expected, mut replacement) = state.pop2();
|
3071
|
+
let expected_ty = builder.func.dfg.value_type(expected);
|
3072
|
+
let replacement_ty = builder.func.dfg.value_type(replacement);
|
3073
|
+
|
3074
|
+
// The compare-and-swap is performed at type `access_ty`, and the old value is zero-extended
|
3075
|
+
// to type `widened_ty`.
|
3076
|
+
match access_ty {
|
3077
|
+
I8 | I16 | I32 | I64 => {}
|
3078
|
+
_ => {
|
3079
|
+
return Err(wasm_unsupported!(
|
3080
|
+
"atomic_cas: unsupported access type {:?}",
|
3081
|
+
access_ty
|
3082
|
+
))
|
3083
|
+
}
|
3084
|
+
};
|
3085
|
+
let w_ty_ok = match widened_ty {
|
3086
|
+
I32 | I64 => true,
|
3087
|
+
_ => false,
|
3088
|
+
};
|
3089
|
+
assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
|
3090
|
+
|
3091
|
+
assert!(expected_ty.bytes() >= access_ty.bytes());
|
3092
|
+
if expected_ty.bytes() > access_ty.bytes() {
|
3093
|
+
expected = builder.ins().ireduce(access_ty, expected);
|
3094
|
+
}
|
3095
|
+
assert!(replacement_ty.bytes() >= access_ty.bytes());
|
3096
|
+
if replacement_ty.bytes() > access_ty.bytes() {
|
3097
|
+
replacement = builder.ins().ireduce(access_ty, replacement);
|
3098
|
+
}
|
3099
|
+
|
3100
|
+
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3101
|
+
state,
|
3102
|
+
prepare_atomic_addr(
|
3103
|
+
memarg,
|
3104
|
+
u8::try_from(access_ty.bytes()).unwrap(),
|
3105
|
+
builder,
|
3106
|
+
state,
|
3107
|
+
environ,
|
3108
|
+
)?
|
3109
|
+
);
|
3110
|
+
let mut res = builder.ins().atomic_cas(flags, addr, expected, replacement);
|
3111
|
+
if access_ty != widened_ty {
|
3112
|
+
res = builder.ins().uextend(widened_ty, res);
|
3113
|
+
}
|
3114
|
+
state.push1(res);
|
3115
|
+
Ok(())
|
3116
|
+
}
|
3117
|
+
|
3118
|
+
fn translate_atomic_load<FE: FuncEnvironment + ?Sized>(
|
3119
|
+
widened_ty: Type,
|
3120
|
+
access_ty: Type,
|
3121
|
+
memarg: &MemArg,
|
3122
|
+
builder: &mut FunctionBuilder,
|
3123
|
+
state: &mut FuncTranslationState,
|
3124
|
+
environ: &mut FE,
|
3125
|
+
) -> WasmResult<()> {
|
3126
|
+
// The load is performed at type `access_ty`, and the loaded value is zero extended
|
3127
|
+
// to `widened_ty`.
|
3128
|
+
match access_ty {
|
3129
|
+
I8 | I16 | I32 | I64 => {}
|
3130
|
+
_ => {
|
3131
|
+
return Err(wasm_unsupported!(
|
3132
|
+
"atomic_load: unsupported access type {:?}",
|
3133
|
+
access_ty
|
3134
|
+
))
|
3135
|
+
}
|
3136
|
+
};
|
3137
|
+
let w_ty_ok = match widened_ty {
|
3138
|
+
I32 | I64 => true,
|
3139
|
+
_ => false,
|
3140
|
+
};
|
3141
|
+
assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
|
3142
|
+
|
3143
|
+
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3144
|
+
state,
|
3145
|
+
prepare_atomic_addr(
|
3146
|
+
memarg,
|
3147
|
+
u8::try_from(access_ty.bytes()).unwrap(),
|
3148
|
+
builder,
|
3149
|
+
state,
|
3150
|
+
environ,
|
3151
|
+
)?
|
3152
|
+
);
|
3153
|
+
let mut res = builder.ins().atomic_load(access_ty, flags, addr);
|
3154
|
+
if access_ty != widened_ty {
|
3155
|
+
res = builder.ins().uextend(widened_ty, res);
|
3156
|
+
}
|
3157
|
+
state.push1(res);
|
3158
|
+
Ok(())
|
3159
|
+
}
|
3160
|
+
|
3161
|
+
fn translate_atomic_store<FE: FuncEnvironment + ?Sized>(
|
3162
|
+
access_ty: Type,
|
3163
|
+
memarg: &MemArg,
|
3164
|
+
builder: &mut FunctionBuilder,
|
3165
|
+
state: &mut FuncTranslationState,
|
3166
|
+
environ: &mut FE,
|
3167
|
+
) -> WasmResult<()> {
|
3168
|
+
let mut data = state.pop1();
|
3169
|
+
let data_ty = builder.func.dfg.value_type(data);
|
3170
|
+
|
3171
|
+
// The operation is performed at type `access_ty`, and the data to be stored may first
|
3172
|
+
// need to be narrowed accordingly.
|
3173
|
+
match access_ty {
|
3174
|
+
I8 | I16 | I32 | I64 => {}
|
3175
|
+
_ => {
|
3176
|
+
return Err(wasm_unsupported!(
|
3177
|
+
"atomic_store: unsupported access type {:?}",
|
3178
|
+
access_ty
|
3179
|
+
))
|
3180
|
+
}
|
3181
|
+
};
|
3182
|
+
let d_ty_ok = match data_ty {
|
3183
|
+
I32 | I64 => true,
|
3184
|
+
_ => false,
|
3185
|
+
};
|
3186
|
+
assert!(d_ty_ok && data_ty.bytes() >= access_ty.bytes());
|
3187
|
+
|
3188
|
+
if data_ty.bytes() > access_ty.bytes() {
|
3189
|
+
data = builder.ins().ireduce(access_ty, data);
|
3190
|
+
}
|
3191
|
+
|
3192
|
+
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3193
|
+
state,
|
3194
|
+
prepare_atomic_addr(
|
3195
|
+
memarg,
|
3196
|
+
u8::try_from(access_ty.bytes()).unwrap(),
|
3197
|
+
builder,
|
3198
|
+
state,
|
3199
|
+
environ,
|
3200
|
+
)?
|
3201
|
+
);
|
3202
|
+
builder.ins().atomic_store(flags, data, addr);
|
3203
|
+
Ok(())
|
3204
|
+
}
|
3205
|
+
|
3206
|
+
fn translate_vector_icmp(
|
3207
|
+
cc: IntCC,
|
3208
|
+
needed_type: Type,
|
3209
|
+
builder: &mut FunctionBuilder,
|
3210
|
+
state: &mut FuncTranslationState,
|
3211
|
+
) {
|
3212
|
+
let (a, b) = state.pop2();
|
3213
|
+
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3214
|
+
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3215
|
+
state.push1(builder.ins().icmp(cc, bitcast_a, bitcast_b))
|
3216
|
+
}
|
3217
|
+
|
3218
|
+
fn translate_fcmp(cc: FloatCC, builder: &mut FunctionBuilder, state: &mut FuncTranslationState) {
|
3219
|
+
let (arg0, arg1) = state.pop2();
|
3220
|
+
let val = builder.ins().fcmp(cc, arg0, arg1);
|
3221
|
+
state.push1(builder.ins().uextend(I32, val));
|
3222
|
+
}
|
3223
|
+
|
3224
|
+
fn translate_vector_fcmp(
|
3225
|
+
cc: FloatCC,
|
3226
|
+
needed_type: Type,
|
3227
|
+
builder: &mut FunctionBuilder,
|
3228
|
+
state: &mut FuncTranslationState,
|
3229
|
+
) {
|
3230
|
+
let (a, b) = state.pop2();
|
3231
|
+
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3232
|
+
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3233
|
+
state.push1(builder.ins().fcmp(cc, bitcast_a, bitcast_b))
|
3234
|
+
}
|
3235
|
+
|
3236
|
+
fn translate_br_if(
|
3237
|
+
relative_depth: u32,
|
3238
|
+
builder: &mut FunctionBuilder,
|
3239
|
+
state: &mut FuncTranslationState,
|
3240
|
+
) {
|
3241
|
+
let val = state.pop1();
|
3242
|
+
let (br_destination, inputs) = translate_br_if_args(relative_depth, state);
|
3243
|
+
let next_block = builder.create_block();
|
3244
|
+
canonicalise_brif(builder, val, br_destination, inputs, next_block, &[]);
|
3245
|
+
|
3246
|
+
builder.seal_block(next_block); // The only predecessor is the current block.
|
3247
|
+
builder.switch_to_block(next_block);
|
3248
|
+
}
|
3249
|
+
|
3250
|
+
fn translate_br_if_args(
|
3251
|
+
relative_depth: u32,
|
3252
|
+
state: &mut FuncTranslationState,
|
3253
|
+
) -> (ir::Block, &mut [ir::Value]) {
|
3254
|
+
let i = state.control_stack.len() - 1 - (relative_depth as usize);
|
3255
|
+
let (return_count, br_destination) = {
|
3256
|
+
let frame = &mut state.control_stack[i];
|
3257
|
+
// The values returned by the branch are still available for the reachable
|
3258
|
+
// code that comes after it
|
3259
|
+
frame.set_branched_to_exit();
|
3260
|
+
let return_count = if frame.is_loop() {
|
3261
|
+
frame.num_param_values()
|
3262
|
+
} else {
|
3263
|
+
frame.num_return_values()
|
3264
|
+
};
|
3265
|
+
(return_count, frame.br_destination())
|
3266
|
+
};
|
3267
|
+
let inputs = state.peekn_mut(return_count);
|
3268
|
+
(br_destination, inputs)
|
3269
|
+
}
|
3270
|
+
|
3271
|
+
/// Determine the returned value type of a WebAssembly operator
|
3272
|
+
fn type_of(operator: &Operator) -> Type {
|
3273
|
+
match operator {
|
3274
|
+
Operator::V128Load { .. }
|
3275
|
+
| Operator::V128Store { .. }
|
3276
|
+
| Operator::V128Const { .. }
|
3277
|
+
| Operator::V128Not
|
3278
|
+
| Operator::V128And
|
3279
|
+
| Operator::V128AndNot
|
3280
|
+
| Operator::V128Or
|
3281
|
+
| Operator::V128Xor
|
3282
|
+
| Operator::V128AnyTrue
|
3283
|
+
| Operator::V128Bitselect => I8X16, // default type representing V128
|
3284
|
+
|
3285
|
+
Operator::I8x16Shuffle { .. }
|
3286
|
+
| Operator::I8x16Splat
|
3287
|
+
| Operator::V128Load8Splat { .. }
|
3288
|
+
| Operator::V128Load8Lane { .. }
|
3289
|
+
| Operator::V128Store8Lane { .. }
|
3290
|
+
| Operator::I8x16ExtractLaneS { .. }
|
3291
|
+
| Operator::I8x16ExtractLaneU { .. }
|
3292
|
+
| Operator::I8x16ReplaceLane { .. }
|
3293
|
+
| Operator::I8x16Eq
|
3294
|
+
| Operator::I8x16Ne
|
3295
|
+
| Operator::I8x16LtS
|
3296
|
+
| Operator::I8x16LtU
|
3297
|
+
| Operator::I8x16GtS
|
3298
|
+
| Operator::I8x16GtU
|
3299
|
+
| Operator::I8x16LeS
|
3300
|
+
| Operator::I8x16LeU
|
3301
|
+
| Operator::I8x16GeS
|
3302
|
+
| Operator::I8x16GeU
|
3303
|
+
| Operator::I8x16Neg
|
3304
|
+
| Operator::I8x16Abs
|
3305
|
+
| Operator::I8x16AllTrue
|
3306
|
+
| Operator::I8x16Shl
|
3307
|
+
| Operator::I8x16ShrS
|
3308
|
+
| Operator::I8x16ShrU
|
3309
|
+
| Operator::I8x16Add
|
3310
|
+
| Operator::I8x16AddSatS
|
3311
|
+
| Operator::I8x16AddSatU
|
3312
|
+
| Operator::I8x16Sub
|
3313
|
+
| Operator::I8x16SubSatS
|
3314
|
+
| Operator::I8x16SubSatU
|
3315
|
+
| Operator::I8x16MinS
|
3316
|
+
| Operator::I8x16MinU
|
3317
|
+
| Operator::I8x16MaxS
|
3318
|
+
| Operator::I8x16MaxU
|
3319
|
+
| Operator::I8x16AvgrU
|
3320
|
+
| Operator::I8x16Bitmask
|
3321
|
+
| Operator::I8x16Popcnt
|
3322
|
+
| Operator::I8x16RelaxedLaneselect => I8X16,
|
3323
|
+
|
3324
|
+
Operator::I16x8Splat
|
3325
|
+
| Operator::V128Load16Splat { .. }
|
3326
|
+
| Operator::V128Load16Lane { .. }
|
3327
|
+
| Operator::V128Store16Lane { .. }
|
3328
|
+
| Operator::I16x8ExtractLaneS { .. }
|
3329
|
+
| Operator::I16x8ExtractLaneU { .. }
|
3330
|
+
| Operator::I16x8ReplaceLane { .. }
|
3331
|
+
| Operator::I16x8Eq
|
3332
|
+
| Operator::I16x8Ne
|
3333
|
+
| Operator::I16x8LtS
|
3334
|
+
| Operator::I16x8LtU
|
3335
|
+
| Operator::I16x8GtS
|
3336
|
+
| Operator::I16x8GtU
|
3337
|
+
| Operator::I16x8LeS
|
3338
|
+
| Operator::I16x8LeU
|
3339
|
+
| Operator::I16x8GeS
|
3340
|
+
| Operator::I16x8GeU
|
3341
|
+
| Operator::I16x8Neg
|
3342
|
+
| Operator::I16x8Abs
|
3343
|
+
| Operator::I16x8AllTrue
|
3344
|
+
| Operator::I16x8Shl
|
3345
|
+
| Operator::I16x8ShrS
|
3346
|
+
| Operator::I16x8ShrU
|
3347
|
+
| Operator::I16x8Add
|
3348
|
+
| Operator::I16x8AddSatS
|
3349
|
+
| Operator::I16x8AddSatU
|
3350
|
+
| Operator::I16x8Sub
|
3351
|
+
| Operator::I16x8SubSatS
|
3352
|
+
| Operator::I16x8SubSatU
|
3353
|
+
| Operator::I16x8MinS
|
3354
|
+
| Operator::I16x8MinU
|
3355
|
+
| Operator::I16x8MaxS
|
3356
|
+
| Operator::I16x8MaxU
|
3357
|
+
| Operator::I16x8AvgrU
|
3358
|
+
| Operator::I16x8Mul
|
3359
|
+
| Operator::I16x8Bitmask
|
3360
|
+
| Operator::I16x8RelaxedLaneselect => I16X8,
|
3361
|
+
|
3362
|
+
Operator::I32x4Splat
|
3363
|
+
| Operator::V128Load32Splat { .. }
|
3364
|
+
| Operator::V128Load32Lane { .. }
|
3365
|
+
| Operator::V128Store32Lane { .. }
|
3366
|
+
| Operator::I32x4ExtractLane { .. }
|
3367
|
+
| Operator::I32x4ReplaceLane { .. }
|
3368
|
+
| Operator::I32x4Eq
|
3369
|
+
| Operator::I32x4Ne
|
3370
|
+
| Operator::I32x4LtS
|
3371
|
+
| Operator::I32x4LtU
|
3372
|
+
| Operator::I32x4GtS
|
3373
|
+
| Operator::I32x4GtU
|
3374
|
+
| Operator::I32x4LeS
|
3375
|
+
| Operator::I32x4LeU
|
3376
|
+
| Operator::I32x4GeS
|
3377
|
+
| Operator::I32x4GeU
|
3378
|
+
| Operator::I32x4Neg
|
3379
|
+
| Operator::I32x4Abs
|
3380
|
+
| Operator::I32x4AllTrue
|
3381
|
+
| Operator::I32x4Shl
|
3382
|
+
| Operator::I32x4ShrS
|
3383
|
+
| Operator::I32x4ShrU
|
3384
|
+
| Operator::I32x4Add
|
3385
|
+
| Operator::I32x4Sub
|
3386
|
+
| Operator::I32x4Mul
|
3387
|
+
| Operator::I32x4MinS
|
3388
|
+
| Operator::I32x4MinU
|
3389
|
+
| Operator::I32x4MaxS
|
3390
|
+
| Operator::I32x4MaxU
|
3391
|
+
| Operator::I32x4Bitmask
|
3392
|
+
| Operator::I32x4TruncSatF32x4S
|
3393
|
+
| Operator::I32x4TruncSatF32x4U
|
3394
|
+
| Operator::I32x4RelaxedLaneselect
|
3395
|
+
| Operator::V128Load32Zero { .. } => I32X4,
|
3396
|
+
|
3397
|
+
Operator::I64x2Splat
|
3398
|
+
| Operator::V128Load64Splat { .. }
|
3399
|
+
| Operator::V128Load64Lane { .. }
|
3400
|
+
| Operator::V128Store64Lane { .. }
|
3401
|
+
| Operator::I64x2ExtractLane { .. }
|
3402
|
+
| Operator::I64x2ReplaceLane { .. }
|
3403
|
+
| Operator::I64x2Eq
|
3404
|
+
| Operator::I64x2Ne
|
3405
|
+
| Operator::I64x2LtS
|
3406
|
+
| Operator::I64x2GtS
|
3407
|
+
| Operator::I64x2LeS
|
3408
|
+
| Operator::I64x2GeS
|
3409
|
+
| Operator::I64x2Neg
|
3410
|
+
| Operator::I64x2Abs
|
3411
|
+
| Operator::I64x2AllTrue
|
3412
|
+
| Operator::I64x2Shl
|
3413
|
+
| Operator::I64x2ShrS
|
3414
|
+
| Operator::I64x2ShrU
|
3415
|
+
| Operator::I64x2Add
|
3416
|
+
| Operator::I64x2Sub
|
3417
|
+
| Operator::I64x2Mul
|
3418
|
+
| Operator::I64x2Bitmask
|
3419
|
+
| Operator::I64x2RelaxedLaneselect
|
3420
|
+
| Operator::V128Load64Zero { .. } => I64X2,
|
3421
|
+
|
3422
|
+
Operator::F32x4Splat
|
3423
|
+
| Operator::F32x4ExtractLane { .. }
|
3424
|
+
| Operator::F32x4ReplaceLane { .. }
|
3425
|
+
| Operator::F32x4Eq
|
3426
|
+
| Operator::F32x4Ne
|
3427
|
+
| Operator::F32x4Lt
|
3428
|
+
| Operator::F32x4Gt
|
3429
|
+
| Operator::F32x4Le
|
3430
|
+
| Operator::F32x4Ge
|
3431
|
+
| Operator::F32x4Abs
|
3432
|
+
| Operator::F32x4Neg
|
3433
|
+
| Operator::F32x4Sqrt
|
3434
|
+
| Operator::F32x4Add
|
3435
|
+
| Operator::F32x4Sub
|
3436
|
+
| Operator::F32x4Mul
|
3437
|
+
| Operator::F32x4Div
|
3438
|
+
| Operator::F32x4Min
|
3439
|
+
| Operator::F32x4Max
|
3440
|
+
| Operator::F32x4PMin
|
3441
|
+
| Operator::F32x4PMax
|
3442
|
+
| Operator::F32x4ConvertI32x4S
|
3443
|
+
| Operator::F32x4ConvertI32x4U
|
3444
|
+
| Operator::F32x4Ceil
|
3445
|
+
| Operator::F32x4Floor
|
3446
|
+
| Operator::F32x4Trunc
|
3447
|
+
| Operator::F32x4Nearest
|
3448
|
+
| Operator::F32x4RelaxedMax
|
3449
|
+
| Operator::F32x4RelaxedMin
|
3450
|
+
| Operator::F32x4RelaxedMadd
|
3451
|
+
| Operator::F32x4RelaxedNmadd => F32X4,
|
3452
|
+
|
3453
|
+
Operator::F64x2Splat
|
3454
|
+
| Operator::F64x2ExtractLane { .. }
|
3455
|
+
| Operator::F64x2ReplaceLane { .. }
|
3456
|
+
| Operator::F64x2Eq
|
3457
|
+
| Operator::F64x2Ne
|
3458
|
+
| Operator::F64x2Lt
|
3459
|
+
| Operator::F64x2Gt
|
3460
|
+
| Operator::F64x2Le
|
3461
|
+
| Operator::F64x2Ge
|
3462
|
+
| Operator::F64x2Abs
|
3463
|
+
| Operator::F64x2Neg
|
3464
|
+
| Operator::F64x2Sqrt
|
3465
|
+
| Operator::F64x2Add
|
3466
|
+
| Operator::F64x2Sub
|
3467
|
+
| Operator::F64x2Mul
|
3468
|
+
| Operator::F64x2Div
|
3469
|
+
| Operator::F64x2Min
|
3470
|
+
| Operator::F64x2Max
|
3471
|
+
| Operator::F64x2PMin
|
3472
|
+
| Operator::F64x2PMax
|
3473
|
+
| Operator::F64x2Ceil
|
3474
|
+
| Operator::F64x2Floor
|
3475
|
+
| Operator::F64x2Trunc
|
3476
|
+
| Operator::F64x2Nearest
|
3477
|
+
| Operator::F64x2RelaxedMax
|
3478
|
+
| Operator::F64x2RelaxedMin
|
3479
|
+
| Operator::F64x2RelaxedMadd
|
3480
|
+
| Operator::F64x2RelaxedNmadd => F64X2,
|
3481
|
+
|
3482
|
+
_ => unimplemented!(
|
3483
|
+
"Currently only SIMD instructions are mapped to their return type; the \
|
3484
|
+
following instruction is not mapped: {:?}",
|
3485
|
+
operator
|
3486
|
+
),
|
3487
|
+
}
|
3488
|
+
}
|
3489
|
+
|
3490
|
+
/// Some SIMD operations only operate on I8X16 in CLIF; this will convert them to that type by
|
3491
|
+
/// adding a bitcast if necessary.
|
3492
|
+
fn optionally_bitcast_vector(
|
3493
|
+
value: Value,
|
3494
|
+
needed_type: Type,
|
3495
|
+
builder: &mut FunctionBuilder,
|
3496
|
+
) -> Value {
|
3497
|
+
if builder.func.dfg.value_type(value) != needed_type {
|
3498
|
+
let mut flags = MemFlags::new();
|
3499
|
+
flags.set_endianness(ir::Endianness::Little);
|
3500
|
+
builder.ins().bitcast(needed_type, flags, value)
|
3501
|
+
} else {
|
3502
|
+
value
|
3503
|
+
}
|
3504
|
+
}
|
3505
|
+
|
3506
|
+
#[inline(always)]
|
3507
|
+
fn is_non_canonical_v128(ty: ir::Type) -> bool {
|
3508
|
+
match ty {
|
3509
|
+
I64X2 | I32X4 | I16X8 | F32X4 | F64X2 => true,
|
3510
|
+
_ => false,
|
3511
|
+
}
|
3512
|
+
}
|
3513
|
+
|
3514
|
+
/// Cast to I8X16, any vector values in `values` that are of "non-canonical" type (meaning, not
|
3515
|
+
/// I8X16), and return them in a slice. A pre-scan is made to determine whether any casts are
|
3516
|
+
/// actually necessary, and if not, the original slice is returned. Otherwise the cast values
|
3517
|
+
/// are returned in a slice that belongs to the caller-supplied `SmallVec`.
|
3518
|
+
fn canonicalise_v128_values<'a>(
|
3519
|
+
tmp_canonicalised: &'a mut SmallVec<[ir::Value; 16]>,
|
3520
|
+
builder: &mut FunctionBuilder,
|
3521
|
+
values: &'a [ir::Value],
|
3522
|
+
) -> &'a [ir::Value] {
|
3523
|
+
debug_assert!(tmp_canonicalised.is_empty());
|
3524
|
+
// First figure out if any of the parameters need to be cast. Mostly they don't need to be.
|
3525
|
+
let any_non_canonical = values
|
3526
|
+
.iter()
|
3527
|
+
.any(|v| is_non_canonical_v128(builder.func.dfg.value_type(*v)));
|
3528
|
+
// Hopefully we take this exit most of the time, hence doing no heap allocation.
|
3529
|
+
if !any_non_canonical {
|
3530
|
+
return values;
|
3531
|
+
}
|
3532
|
+
// Otherwise we'll have to cast, and push the resulting `Value`s into `canonicalised`.
|
3533
|
+
for v in values {
|
3534
|
+
tmp_canonicalised.push(if is_non_canonical_v128(builder.func.dfg.value_type(*v)) {
|
3535
|
+
let mut flags = MemFlags::new();
|
3536
|
+
flags.set_endianness(ir::Endianness::Little);
|
3537
|
+
builder.ins().bitcast(I8X16, flags, *v)
|
3538
|
+
} else {
|
3539
|
+
*v
|
3540
|
+
});
|
3541
|
+
}
|
3542
|
+
tmp_canonicalised.as_slice()
|
3543
|
+
}
|
3544
|
+
|
3545
|
+
/// Generate a `jump` instruction, but first cast all 128-bit vector values to I8X16 if they
|
3546
|
+
/// don't have that type. This is done in somewhat roundabout way so as to ensure that we
|
3547
|
+
/// almost never have to do any heap allocation.
|
3548
|
+
fn canonicalise_then_jump(
|
3549
|
+
builder: &mut FunctionBuilder,
|
3550
|
+
destination: ir::Block,
|
3551
|
+
params: &[ir::Value],
|
3552
|
+
) -> ir::Inst {
|
3553
|
+
let mut tmp_canonicalised = SmallVec::<[ir::Value; 16]>::new();
|
3554
|
+
let canonicalised = canonicalise_v128_values(&mut tmp_canonicalised, builder, params);
|
3555
|
+
builder.ins().jump(destination, canonicalised)
|
3556
|
+
}
|
3557
|
+
|
3558
|
+
/// The same but for a `brif` instruction.
|
3559
|
+
fn canonicalise_brif(
|
3560
|
+
builder: &mut FunctionBuilder,
|
3561
|
+
cond: ir::Value,
|
3562
|
+
block_then: ir::Block,
|
3563
|
+
params_then: &[ir::Value],
|
3564
|
+
block_else: ir::Block,
|
3565
|
+
params_else: &[ir::Value],
|
3566
|
+
) -> ir::Inst {
|
3567
|
+
let mut tmp_canonicalised_then = SmallVec::<[ir::Value; 16]>::new();
|
3568
|
+
let canonicalised_then =
|
3569
|
+
canonicalise_v128_values(&mut tmp_canonicalised_then, builder, params_then);
|
3570
|
+
let mut tmp_canonicalised_else = SmallVec::<[ir::Value; 16]>::new();
|
3571
|
+
let canonicalised_else =
|
3572
|
+
canonicalise_v128_values(&mut tmp_canonicalised_else, builder, params_else);
|
3573
|
+
builder.ins().brif(
|
3574
|
+
cond,
|
3575
|
+
block_then,
|
3576
|
+
canonicalised_then,
|
3577
|
+
block_else,
|
3578
|
+
canonicalised_else,
|
3579
|
+
)
|
3580
|
+
}
|
3581
|
+
|
3582
|
+
/// A helper for popping and bitcasting a single value; since SIMD values can lose their type by
|
3583
|
+
/// using v128 (i.e. CLIF's I8x16) we must re-type the values using a bitcast to avoid CLIF
|
3584
|
+
/// typing issues.
|
3585
|
+
fn pop1_with_bitcast(
|
3586
|
+
state: &mut FuncTranslationState,
|
3587
|
+
needed_type: Type,
|
3588
|
+
builder: &mut FunctionBuilder,
|
3589
|
+
) -> Value {
|
3590
|
+
optionally_bitcast_vector(state.pop1(), needed_type, builder)
|
3591
|
+
}
|
3592
|
+
|
3593
|
+
/// A helper for popping and bitcasting two values; since SIMD values can lose their type by
|
3594
|
+
/// using v128 (i.e. CLIF's I8x16) we must re-type the values using a bitcast to avoid CLIF
|
3595
|
+
/// typing issues.
|
3596
|
+
fn pop2_with_bitcast(
|
3597
|
+
state: &mut FuncTranslationState,
|
3598
|
+
needed_type: Type,
|
3599
|
+
builder: &mut FunctionBuilder,
|
3600
|
+
) -> (Value, Value) {
|
3601
|
+
let (a, b) = state.pop2();
|
3602
|
+
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3603
|
+
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3604
|
+
(bitcast_a, bitcast_b)
|
3605
|
+
}
|
3606
|
+
|
3607
|
+
fn pop3_with_bitcast(
|
3608
|
+
state: &mut FuncTranslationState,
|
3609
|
+
needed_type: Type,
|
3610
|
+
builder: &mut FunctionBuilder,
|
3611
|
+
) -> (Value, Value, Value) {
|
3612
|
+
let (a, b, c) = state.pop3();
|
3613
|
+
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3614
|
+
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3615
|
+
let bitcast_c = optionally_bitcast_vector(c, needed_type, builder);
|
3616
|
+
(bitcast_a, bitcast_b, bitcast_c)
|
3617
|
+
}
|
3618
|
+
|
3619
|
+
fn bitcast_arguments<'a>(
|
3620
|
+
builder: &FunctionBuilder,
|
3621
|
+
arguments: &'a mut [Value],
|
3622
|
+
params: &[ir::AbiParam],
|
3623
|
+
param_predicate: impl Fn(usize) -> bool,
|
3624
|
+
) -> Vec<(Type, &'a mut Value)> {
|
3625
|
+
let filtered_param_types = params
|
3626
|
+
.iter()
|
3627
|
+
.enumerate()
|
3628
|
+
.filter(|(i, _)| param_predicate(*i))
|
3629
|
+
.map(|(_, param)| param.value_type);
|
3630
|
+
|
3631
|
+
// zip_eq, from the itertools::Itertools trait, is like Iterator::zip but panics if one
|
3632
|
+
// iterator ends before the other. The `param_predicate` is required to select exactly as many
|
3633
|
+
// elements of `params` as there are elements in `arguments`.
|
3634
|
+
let pairs = filtered_param_types.zip_eq(arguments.iter_mut());
|
3635
|
+
|
3636
|
+
// The arguments which need to be bitcasted are those which have some vector type but the type
|
3637
|
+
// expected by the parameter is not the same vector type as that of the provided argument.
|
3638
|
+
pairs
|
3639
|
+
.filter(|(param_type, _)| param_type.is_vector())
|
3640
|
+
.filter(|(param_type, arg)| {
|
3641
|
+
let arg_type = builder.func.dfg.value_type(**arg);
|
3642
|
+
assert!(
|
3643
|
+
arg_type.is_vector(),
|
3644
|
+
"unexpected type mismatch: expected {}, argument {} was actually of type {}",
|
3645
|
+
param_type,
|
3646
|
+
*arg,
|
3647
|
+
arg_type
|
3648
|
+
);
|
3649
|
+
|
3650
|
+
// This is the same check that would be done by `optionally_bitcast_vector`, except we
|
3651
|
+
// can't take a mutable borrow of the FunctionBuilder here, so we defer inserting the
|
3652
|
+
// bitcast instruction to the caller.
|
3653
|
+
arg_type != *param_type
|
3654
|
+
})
|
3655
|
+
.collect()
|
3656
|
+
}
|
3657
|
+
|
3658
|
+
/// A helper for bitcasting a sequence of return values for the function currently being built. If
|
3659
|
+
/// a value is a vector type that does not match its expected type, this will modify the value in
|
3660
|
+
/// place to point to the result of a `bitcast`. This conversion is necessary to translate Wasm
|
3661
|
+
/// code that uses `V128` as function parameters (or implicitly in block parameters) and still use
|
3662
|
+
/// specific CLIF types (e.g. `I32X4`) in the function body.
|
3663
|
+
pub fn bitcast_wasm_returns<FE: FuncEnvironment + ?Sized>(
|
3664
|
+
environ: &mut FE,
|
3665
|
+
arguments: &mut [Value],
|
3666
|
+
builder: &mut FunctionBuilder,
|
3667
|
+
) {
|
3668
|
+
let changes = bitcast_arguments(builder, arguments, &builder.func.signature.returns, |i| {
|
3669
|
+
environ.is_wasm_return(&builder.func.signature, i)
|
3670
|
+
});
|
3671
|
+
for (t, arg) in changes {
|
3672
|
+
let mut flags = MemFlags::new();
|
3673
|
+
flags.set_endianness(ir::Endianness::Little);
|
3674
|
+
*arg = builder.ins().bitcast(t, flags, *arg);
|
3675
|
+
}
|
3676
|
+
}
|
3677
|
+
|
3678
|
+
/// Like `bitcast_wasm_returns`, but for the parameters being passed to a specified callee.
|
3679
|
+
fn bitcast_wasm_params<FE: FuncEnvironment + ?Sized>(
|
3680
|
+
environ: &mut FE,
|
3681
|
+
callee_signature: ir::SigRef,
|
3682
|
+
arguments: &mut [Value],
|
3683
|
+
builder: &mut FunctionBuilder,
|
3684
|
+
) {
|
3685
|
+
let callee_signature = &builder.func.dfg.signatures[callee_signature];
|
3686
|
+
let changes = bitcast_arguments(builder, arguments, &callee_signature.params, |i| {
|
3687
|
+
environ.is_wasm_parameter(&callee_signature, i)
|
3688
|
+
});
|
3689
|
+
for (t, arg) in changes {
|
3690
|
+
let mut flags = MemFlags::new();
|
3691
|
+
flags.set_endianness(ir::Endianness::Little);
|
3692
|
+
*arg = builder.ins().bitcast(t, flags, *arg);
|
3693
|
+
}
|
3694
|
+
}
|