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