wasmtime 24.0.0 → 25.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +112 -111
- data/ext/Cargo.toml +5 -5
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/Cargo.toml +59 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/node.rs +806 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/path.rs +830 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/pool.rs +219 -0
- data/ext/cargo-vendor/cranelift-bitset-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bitset-0.112.0/Cargo.toml +74 -0
- data/ext/cargo-vendor/cranelift-bitset-0.112.0/src/scalar.rs +626 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/Cargo.toml +222 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/build.rs +267 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/binemit/mod.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/cfg_printer.rs +83 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/data_value.rs +402 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/dbg.rs +28 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/egraph.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/incremental_cache.rs +256 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/inst_predicates.rs +207 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/constant.rs +485 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/dfg.rs +1802 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/entities.rs +564 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/extfunc.rs +408 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/extname.rs +333 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/function.rs +500 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/globalvalue.rs +147 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/immediates.rs +1941 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/instructions.rs +1021 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/memtype.rs +190 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/progpoint.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/trapcode.rs +148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/types.rs +624 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/user_stack_maps.rs +199 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/abi.rs +1520 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/args.rs +711 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/emit.rs +3567 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/emit_tests.rs +7972 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/imms.rs +1244 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/mod.rs +3051 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/regs.rs +269 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst.isle +4267 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/lower/isle.rs +811 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/lower.isle +2968 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/pcc.rs +570 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/settings.rs +9 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/mod.rs +471 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley32.rs +13 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley64.rs +13 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/abi.rs +798 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/args.rs +192 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/emit.rs +482 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/mod.rs +905 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/regs.rs +164 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst.isle +543 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower/isle/generated_code.rs +17 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower/isle.rs +195 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower.isle +178 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower.rs +36 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/mod.rs +281 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/settings.rs +16 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/abi.rs +993 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/args.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/emit.rs +2685 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/emit_tests.rs +2277 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/encode.rs +721 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/mod.rs +1865 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/unwind/systemv.rs +170 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/vector.rs +1150 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst.isle +3128 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst_vector.isle +1907 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/lower/isle.rs +721 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/lower.isle +2940 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/abi.rs +1348 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/emit.rs +3470 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/emit_tests.rs +13370 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/mod.rs +3461 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/regs.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/unwind/systemv.rs +212 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst.isle +5071 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/lower/isle.rs +1109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/lower.isle +3981 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/unwind/systemv.rs +276 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/abi.rs +1390 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/encoding/evex.rs +747 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/args.rs +2318 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit.rs +4400 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit_state.rs +55 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit_tests.rs +5146 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/mod.rs +2811 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/regs.rs +275 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/stack_switch.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/unwind/systemv.rs +198 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst.isle +5382 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower/isle.rs +1047 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower.isle +4919 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower.rs +338 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/mod.rs +239 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/pcc.rs +1022 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isle_prelude.rs +1144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/abi.rs +2417 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/buffer.rs +2492 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/isle.rs +890 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/lower.rs +1590 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/mod.rs +560 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/reg.rs +484 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/vcode.rs +1762 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/extends.isle +95 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/icmp.isle +258 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/selects.isle +88 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/prelude.isle +751 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/prelude_lower.isle +1081 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/print_errors.rs +223 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/remove_constant_phis.rs +419 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/result.rs +111 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/settings.rs +591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/timing.rs +296 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/verifier/mod.rs +1941 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/write.rs +694 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/settings.rs +429 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/types.rs +420 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/typevar.rs +946 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/error.rs +48 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_inst.rs +1274 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_isle.rs +519 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_settings.rs +505 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_types.rs +70 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/arm64.rs +59 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/mod.rs +81 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/pulley.rs +14 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/riscv64.rs +181 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/x86.rs +414 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isle.rs +142 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/lib.rs +98 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/instructions.rs +3801 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/mod.rs +87 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/settings.rs +361 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/types.rs +103 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/srcgen.rs +464 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.112.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/cranelift-control-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.112.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/Cargo.toml +75 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/src/lib.rs +381 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/src/packed_option.rs +173 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/src/sparse.rs +367 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/Cargo.toml +97 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/frontend.rs +1963 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/ssa.rs +1325 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/switch.rs +676 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/Cargo.toml +69 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/build.rs +35 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/ast.rs +412 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/codegen.rs +922 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/compile.rs +65 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/error.rs +318 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/files.rs +133 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/lexer.rs +343 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/lib.rs +34 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/overlap.rs +130 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/parser.rs +551 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/sema.rs +2482 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/trie_again.rs +696 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/tests/run_tests.rs +77 -0
- data/ext/cargo-vendor/cranelift-native-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.112.0/Cargo.toml +52 -0
- data/ext/cargo-vendor/cranelift-native-0.112.0/src/lib.rs +192 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/Cargo.toml +128 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/code_translator.rs +3723 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/environ/dummy.rs +897 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/environ/spec.rs +922 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/func_translator.rs +283 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/module_translator.rs +120 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/sections_translator.rs +332 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/translation_utils.rs +95 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.25/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.25/Cargo.toml +69 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/Cargo.toml +85 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/README.md +109 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/decode.rs +657 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/disas.rs +256 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/encode.rs +198 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/imms.rs +31 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/interp.rs +1113 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/lib.rs +215 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/op.rs +256 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/opcode.rs +126 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/regs.rs +329 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/disas.rs +87 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/interp.rs +1216 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/main.rs +5 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/Cargo.toml +83 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/doc/DESIGN.md +1411 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/cfg.rs +135 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/checker.rs +993 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/fuzzing/func.rs +651 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/fuzzing/mod.rs +31 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/index.rs +209 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/data_structures.rs +838 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/liveranges.rs +882 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/merge.rs +366 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/mod.rs +143 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/moves.rs +1006 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/process.rs +1319 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/requirement.rs +167 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/lib.rs +1518 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/serialize.rs +293 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/CHANGELOG.md +19 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/CODE_OF_CONDUCT.md +3 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/Cargo.toml +39 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/LICENSE-MIT +23 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/README.md +42 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/src/lib.rs +459 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/src/random_state.rs +92 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/src/seeded_state.rs +53 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/Cargo.toml +242 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/lib.rs +193 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/snapshots/mod.rs +24 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/sync/dir.rs +461 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/tokio/dir.rs +220 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/async_.rs +294 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/main.rs +21 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/sync.rs +283 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/builder.rs +469 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/exports.rs +129 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/imports.rs +169 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/instances.rs +199 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/types.rs +800 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/core/code.rs +3947 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/Cargo.lock +679 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/Cargo.toml +139 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/benches/benchmark.rs +350 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/binary_reader.rs +2115 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/features.rs +281 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/limits.rs +80 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/parser.rs +1691 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/aliases.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/canonicals.rs +121 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/exports.rs +135 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/imports.rs +145 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/instances.rs +166 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/types.rs +553 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/code.rs +142 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/coredumps.rs +278 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/data.rs +94 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/exports.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/globals.rs +61 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/imports.rs +76 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/init.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/operators.rs +479 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/producers.rs +84 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/types.rs +1987 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers.rs +315 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/resources.rs +245 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/component.rs +3297 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/core/canonical.rs +409 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/core.rs +1374 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/func.rs +340 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/names.rs +1012 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/operators.rs +4845 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/types.rs +4612 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator.rs +1658 -0
- data/ext/cargo-vendor/wasmprinter-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.217.0/Cargo.toml +74 -0
- data/ext/cargo-vendor/wasmprinter-0.217.0/src/lib.rs +3250 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/Cargo.toml +407 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/build.rs +38 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/compile/code_builder.rs +317 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/compile/runtime.rs +167 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/compile.rs +881 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/config.rs +3021 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/engine/serialization.rs +906 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/engine.rs +778 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/lib.rs +406 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/profiling_agent/jitdump.rs +64 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/component.rs +810 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/func/host.rs +458 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/func/typed.rs +2497 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/linker.rs +704 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/mod.rs +673 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/resources.rs +1132 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/types.rs +897 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/coredump.rs +339 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/externals/global.rs +312 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/func.rs +2607 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/anyref.rs +126 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/arrayref.rs +56 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/rooting.rs +229 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/anyref.rs +662 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/arrayref.rs +879 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/i31.rs +291 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/rooting.rs +1755 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/instance.rs +989 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/linker.rs +1498 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/memory.rs +1101 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/module.rs +1178 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/store.rs +2877 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/trampoline/global.rs +70 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/trap.rs +641 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/types.rs +2932 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/values.rs +1050 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/const_expr.rs +132 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/cow.rs +992 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/disabled.rs +41 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/arrayref.rs +342 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/data.rs +149 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/drc.rs +1163 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/structref.rs +336 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled.rs +29 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/gc_ref.rs +479 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/gc_runtime.rs +718 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc.rs +339 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/helpers.c +118 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +95 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +702 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/libcalls.rs +850 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/custom/traphandlers.rs +57 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/machports.rs +440 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/mmap.rs +159 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/signals.rs +465 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/windows/traphandlers.rs +135 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/threads/parking_spot.rs +623 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/traphandlers.rs +787 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/vmcontext.rs +1246 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-25.0.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/build.rs +10 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/config.rs +584 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/worker/tests.rs +758 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/worker.rs +890 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/Cargo.toml +115 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/src/bindgen.rs +507 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/src/component.rs +1540 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/codegen.rs +699 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char.rs +387 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char_async.rs +414 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char_tracing_async.rs +461 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions.rs +824 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions_async.rs +899 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions_tracing_async.rs +1190 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code.rs +279 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code_async.rs +300 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code_tracing_async.rs +313 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import.rs +205 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import_async.rs +219 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import_tracing_async.rs +232 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty.rs +159 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty_async.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty_tracing_async.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags.rs +859 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags_async.rs +921 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags_tracing_async.rs +1096 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats.rs +459 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats_async.rs +500 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats_tracing_async.rs +594 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new.rs +182 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new_async.rs +191 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new_tracing_async.rs +199 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers.rs +989 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers_async.rs +1128 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers_tracing_async.rs +1555 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists.rs +2040 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists_async.rs +2288 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists_tracing_async.rs +2980 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments.rs +730 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments_async.rs +758 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments_tracing_async.rs +819 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return.rs +475 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return_async.rs +519 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return_tracing_async.rs +633 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion.rs +508 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion_async.rs +537 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion_tracing_async.rs +585 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records.rs +1056 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records_async.rs +1146 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records_tracing_async.rs +1406 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename.rs +268 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename_async.rs +289 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename_tracing_async.rs +302 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export.rs +879 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export_async.rs +937 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export_tracing_async.rs +1011 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import.rs +1217 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import_async.rs +1361 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import_tracing_async.rs +1774 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types.rs +429 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types_async.rs +453 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types_tracing_async.rs +477 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions.rs +522 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions_async.rs +574 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions_tracing_async.rs +718 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists.rs +545 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists_async.rs +590 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists_tracing_async.rs +687 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi.rs +331 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi_async.rs +354 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi_tracing_async.rs +380 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous.rs +454 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous_async.rs +474 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous_tracing_async.rs +496 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default.rs +182 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default_async.rs +191 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default_tracing_async.rs +199 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export.rs +263 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export_async.rs +272 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export_tracing_async.rs +280 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke.rs +218 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke_async.rs +233 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke_tracing_async.rs +246 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings.rs +432 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings_async.rs +466 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings_tracing_async.rs +538 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo.rs +250 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo_async.rs +265 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo_tracing_async.rs +278 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths.rs +402 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths_async.rs +442 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths_tracing_async.rs +494 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants.rs +2016 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants_async.rs +2183 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants_tracing_async.rs +2705 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat.rs +265 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat_async.rs +271 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat_tracing_async.rs +271 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types.rs +263 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types_async.rs +279 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types_tracing_async.rs +287 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded.rs +72 -0
- data/ext/cargo-vendor/wasmtime-component-util-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-25.0.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/Cargo.toml +137 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/compiler.rs +1035 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/attr.rs +308 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/line_program.rs +264 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/mod.rs +256 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/range_info_builder.rs +215 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/simulate.rs +423 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/unit.rs +512 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/func_environ.rs +2757 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/gc/enabled.rs +631 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/gc.rs +189 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/lib.rs +399 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/Cargo.lock +792 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/Cargo.toml +195 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/builtin.rs +184 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/compile/mod.rs +379 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/compile/module_environ.rs +1264 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/component/types.rs +1059 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/demangling.rs +28 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/fact/trampoline.rs +3234 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/fact/traps.rs +116 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/stack_map.rs +60 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/trap_encoding.rs +189 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/Cargo.toml +84 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/build.rs +39 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/src/lib.rs +343 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-25.0.0/Cargo.toml +86 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-25.0.0/Cargo.toml +71 -0
- data/ext/cargo-vendor/wasmtime-slab-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-25.0.0/Cargo.toml +50 -0
- data/ext/cargo-vendor/wasmtime-types-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-25.0.0/Cargo.toml +80 -0
- data/ext/cargo-vendor/wasmtime-types-25.0.0/src/lib.rs +1846 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-25.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/Cargo.toml +224 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/bindings.rs +563 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/filesystem.rs +607 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/host/filesystem.rs +1091 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/host/io.rs +372 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/pipe.rs +833 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/preview1.rs +2764 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/runtime.rs +188 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/stdio.rs +616 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/stream.rs +265 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/tcp.rs +877 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/write_stream.rs +211 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/tests/process_stdin.rs +165 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/command.wit +10 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/environment.wit +22 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/exit.wit +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/imports.wit +36 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/run.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/stdio.wit +26 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/terminal.wit +62 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/monotonic-clock.wit +50 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/timezone.wit +55 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/wall-clock.wit +46 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/world.wit +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/preopens.wit +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/types.wit +678 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/world.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/error.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/poll.wit +47 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/streams.wit +286 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/world.wit +10 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/insecure-seed.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/insecure.wit +25 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/random.wit +29 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/world.wit +13 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/instance-network.wit +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/ip-name-lookup.wit +56 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/network.wit +153 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/tcp-create-socket.wit +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/tcp.wit +387 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/udp-create-socket.wit +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/udp.wit +288 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/world.wit +19 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/test.wit +13 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/world.wit +6 -0
- data/ext/cargo-vendor/wasmtime-winch-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-25.0.0/Cargo.toml +100 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/Cargo.toml +66 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/src/lib.rs +3117 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/src/rust.rs +427 -0
- data/ext/cargo-vendor/wast-217.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-217.0.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/binary.rs +1014 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/component.rs +324 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/expand.rs +879 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/import.rs +216 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/resolve.rs +994 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/binary/dwarf.rs +613 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/binary.rs +1556 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/expr.rs +2110 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/module.rs +218 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/mod.rs +111 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/names.rs +808 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/types.rs +273 -0
- data/ext/cargo-vendor/wast-217.0.0/src/lexer.rs +1573 -0
- data/ext/cargo-vendor/wast-217.0.0/src/lib.rs +557 -0
- data/ext/cargo-vendor/wast-217.0.0/src/parser.rs +1447 -0
- data/ext/cargo-vendor/wast-217.0.0/src/wast.rs +552 -0
- data/ext/cargo-vendor/wast-217.0.0/src/wat.rs +66 -0
- data/ext/cargo-vendor/wat-1.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.217.0/Cargo.toml +56 -0
- data/ext/cargo-vendor/wiggle-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-25.0.0/Cargo.toml +119 -0
- data/ext/cargo-vendor/wiggle-25.0.0/src/lib.rs +605 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/Cargo.toml +85 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/funcs.rs +434 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/lib.rs +100 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/names.rs +299 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/wasmtime.rs +172 -0
- data/ext/cargo-vendor/wiggle-macro-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-25.0.0/Cargo.toml +78 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/Cargo.toml +95 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/abi/local.rs +82 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/abi/mod.rs +666 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/bounds.rs +220 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/context.rs +593 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/mod.rs +905 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/abi.rs +288 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/address.rs +143 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/asm.rs +840 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/masm.rs +680 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/mod.rs +320 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/abi.rs +494 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/asm.rs +1422 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/masm.rs +1113 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/masm.rs +986 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/regalloc.rs +65 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/stack.rs +447 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/visitor.rs +2169 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/Cargo.toml +129 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/ast/resolve.rs +1575 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/ast.rs +1886 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/decoding.rs +1794 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/lib.rs +910 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/sizealign.rs +584 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/all.rs +154 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-resource15.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/conflicting-package.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/duplicate-interface2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/include-foreign.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multi-package-deps-share-nest.wit.result +3 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multiple-package-docs.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/non-existance-world-include.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/resources-return-borrow.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow8.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/type-and-resource-same-name.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/unresolved-use10.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/use-and-include-world.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/use-world.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/very-nested-packages.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/since-and-unstable.wit +107 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/since-and-unstable.wit.json +621 -0
- data/ext/src/ruby_api/config.rs +3 -0
- data/ext/src/ruby_api/engine.rs +1 -0
- data/ext/src/ruby_api/pooling_allocation_config.rs +7 -7
- data/ext/src/ruby_api/store.rs +58 -4
- data/ext/src/ruby_api/wasi_ctx.rs +6 -6
- data/lib/wasmtime/version.rb +1 -1
- metadata +1808 -1804
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/Cargo.toml +0 -57
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/node.rs +0 -806
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/path.rs +0 -835
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/pool.rs +0 -219
- data/ext/cargo-vendor/cranelift-bitset-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bitset-0.111.0/Cargo.toml +0 -67
- data/ext/cargo-vendor/cranelift-bitset-0.111.0/src/scalar.rs +0 -575
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/Cargo.toml +0 -213
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/build.rs +0 -266
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/binemit/stack_map.rs +0 -141
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/cfg_printer.rs +0 -83
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/data_value.rs +0 -410
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/dbg.rs +0 -28
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/egraph.rs +0 -835
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/incremental_cache.rs +0 -256
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/inst_predicates.rs +0 -231
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/constant.rs +0 -489
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/dfg.rs +0 -1806
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/entities.rs +0 -564
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/extfunc.rs +0 -408
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/extname.rs +0 -333
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/function.rs +0 -500
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/globalvalue.rs +0 -147
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/immediates.rs +0 -1941
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/instructions.rs +0 -1026
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/memtype.rs +0 -190
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/progpoint.rs +0 -75
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/trapcode.rs +0 -148
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/types.rs +0 -643
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/user_stack_maps.rs +0 -101
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/abi.rs +0 -1548
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/args.rs +0 -711
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/emit.rs +0 -3599
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/emit_tests.rs +0 -7925
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/imms.rs +0 -1213
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/mod.rs +0 -3052
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/regs.rs +0 -269
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/unwind/systemv.rs +0 -174
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst.isle +0 -4221
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/lower/isle.rs +0 -807
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/lower.isle +0 -2969
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/pcc.rs +0 -568
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/settings.rs +0 -9
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/mod.rs +0 -462
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/abi.rs +0 -1021
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/args.rs +0 -2054
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/emit.rs +0 -2736
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/emit_tests.rs +0 -2219
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/encode.rs +0 -675
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/mod.rs +0 -1932
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/unwind/systemv.rs +0 -170
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/vector.rs +0 -1150
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst.isle +0 -3153
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst_vector.isle +0 -1907
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/lower/isle.rs +0 -651
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/lower.isle +0 -2953
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/abi.rs +0 -1357
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/emit.rs +0 -3481
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/emit_tests.rs +0 -13388
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/mod.rs +0 -3481
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/regs.rs +0 -169
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/unwind/systemv.rs +0 -212
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst.isle +0 -5070
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/lower/isle.rs +0 -1156
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/lower.isle +0 -4022
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/unwind/systemv.rs +0 -276
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/abi.rs +0 -1410
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/encoding/evex.rs +0 -748
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/args.rs +0 -2318
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit.rs +0 -4309
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit_state.rs +0 -65
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit_tests.rs +0 -5137
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/mod.rs +0 -2819
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/regs.rs +0 -275
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/unwind/systemv.rs +0 -198
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst.isle +0 -5381
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower/isle.rs +0 -1048
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower.isle +0 -4892
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower.rs +0 -339
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/mod.rs +0 -239
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/pcc.rs +0 -1014
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isle_prelude.rs +0 -1097
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/lib.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/abi.rs +0 -2411
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/buffer.rs +0 -2537
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/isle.rs +0 -881
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/lower.rs +0 -1462
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/mod.rs +0 -564
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/reg.rs +0 -479
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/vcode.rs +0 -1840
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/extends.isle +0 -91
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/icmp.isle +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/selects.isle +0 -77
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/prelude.isle +0 -725
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/prelude_lower.isle +0 -1074
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/print_errors.rs +0 -223
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/remove_constant_phis.rs +0 -419
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/result.rs +0 -111
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/settings.rs +0 -590
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/timing.rs +0 -296
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/verifier/mod.rs +0 -1963
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/write.rs +0 -694
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/Cargo.toml +0 -52
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/settings.rs +0 -429
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/types.rs +0 -512
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/typevar.rs +0 -980
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/error.rs +0 -48
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_inst.rs +0 -1278
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_isle.rs +0 -519
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_settings.rs +0 -508
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_types.rs +0 -75
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/arm64.rs +0 -53
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/mod.rs +0 -66
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/riscv64.rs +0 -174
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/x86.rs +0 -414
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isle.rs +0 -126
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/lib.rs +0 -98
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/instructions.rs +0 -3794
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/mod.rs +0 -87
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/settings.rs +0 -348
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/types.rs +0 -143
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/srcgen.rs +0 -464
- data/ext/cargo-vendor/cranelift-codegen-shared-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.111.0/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-control-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.111.0/Cargo.toml +0 -42
- data/ext/cargo-vendor/cranelift-entity-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.111.0/Cargo.toml +0 -73
- data/ext/cargo-vendor/cranelift-entity-0.111.0/src/lib.rs +0 -381
- data/ext/cargo-vendor/cranelift-entity-0.111.0/src/packed_option.rs +0 -171
- data/ext/cargo-vendor/cranelift-entity-0.111.0/src/sparse.rs +0 -367
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/Cargo.toml +0 -97
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/frontend.rs +0 -1977
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/ssa.rs +0 -1328
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/switch.rs +0 -683
- data/ext/cargo-vendor/cranelift-isle-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.111.0/Cargo.toml +0 -67
- data/ext/cargo-vendor/cranelift-isle-0.111.0/build.rs +0 -35
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/ast.rs +0 -421
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/codegen.rs +0 -920
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/compile.rs +0 -24
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/error.rs +0 -317
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/lexer.rs +0 -405
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/lib.rs +0 -33
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/overlap.rs +0 -137
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/parser.rs +0 -562
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/sema.rs +0 -2503
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/trie_again.rs +0 -695
- data/ext/cargo-vendor/cranelift-isle-0.111.0/tests/run_tests.rs +0 -77
- data/ext/cargo-vendor/cranelift-native-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.111.0/Cargo.toml +0 -52
- data/ext/cargo-vendor/cranelift-native-0.111.0/src/lib.rs +0 -188
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/Cargo.toml +0 -127
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/code_translator.rs +0 -3721
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/environ/dummy.rs +0 -906
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/environ/spec.rs +0 -945
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/func_translator.rs +0 -271
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/module_translator.rs +0 -120
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/sections_translator.rs +0 -333
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/translation_utils.rs +0 -91
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.24/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.24/Cargo.toml +0 -48
- data/ext/cargo-vendor/hashbrown-0.13.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/hashbrown-0.13.2/CHANGELOG.md +0 -437
- data/ext/cargo-vendor/hashbrown-0.13.2/Cargo.toml +0 -111
- data/ext/cargo-vendor/hashbrown-0.13.2/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/hashbrown-0.13.2/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/hashbrown-0.13.2/README.md +0 -124
- data/ext/cargo-vendor/hashbrown-0.13.2/benches/bench.rs +0 -331
- data/ext/cargo-vendor/hashbrown-0.13.2/benches/insert_unique_unchecked.rs +0 -32
- data/ext/cargo-vendor/hashbrown-0.13.2/clippy.toml +0 -1
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/helpers.rs +0 -27
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/map.rs +0 -734
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/raw.rs +0 -231
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/set.rs +0 -659
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/serde.rs +0 -201
- data/ext/cargo-vendor/hashbrown-0.13.2/src/lib.rs +0 -183
- data/ext/cargo-vendor/hashbrown-0.13.2/src/macros.rs +0 -70
- data/ext/cargo-vendor/hashbrown-0.13.2/src/map.rs +0 -8512
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/alloc.rs +0 -73
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/bitmask.rs +0 -122
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/generic.rs +0 -154
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/mod.rs +0 -2518
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/sse2.rs +0 -146
- data/ext/cargo-vendor/hashbrown-0.13.2/src/rustc_entry.rs +0 -630
- data/ext/cargo-vendor/hashbrown-0.13.2/src/scopeguard.rs +0 -72
- data/ext/cargo-vendor/hashbrown-0.13.2/src/set.rs +0 -2889
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/equivalent_trait.rs +0 -53
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/hasher.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/raw.rs +0 -11
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/rayon.rs +0 -533
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/serde.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/set.rs +0 -34
- data/ext/cargo-vendor/regalloc2-0.9.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/regalloc2-0.9.3/Cargo.toml +0 -72
- data/ext/cargo-vendor/regalloc2-0.9.3/doc/DESIGN.md +0 -1420
- data/ext/cargo-vendor/regalloc2-0.9.3/src/cfg.rs +0 -134
- data/ext/cargo-vendor/regalloc2-0.9.3/src/checker.rs +0 -1089
- data/ext/cargo-vendor/regalloc2-0.9.3/src/fuzzing/func.rs +0 -677
- data/ext/cargo-vendor/regalloc2-0.9.3/src/fuzzing/mod.rs +0 -28
- data/ext/cargo-vendor/regalloc2-0.9.3/src/index.rs +0 -268
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/data_structures.rs +0 -857
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/liveranges.rs +0 -961
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/merge.rs +0 -383
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/mod.rs +0 -150
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/moves.rs +0 -1017
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/process.rs +0 -1307
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/requirement.rs +0 -174
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/stackmap.rs +0 -79
- data/ext/cargo-vendor/regalloc2-0.9.3/src/lib.rs +0 -1526
- data/ext/cargo-vendor/regalloc2-0.9.3/src/serialize.rs +0 -311
- data/ext/cargo-vendor/wasi-common-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-24.0.0/Cargo.toml +0 -240
- data/ext/cargo-vendor/wasi-common-24.0.0/src/ctx.rs +0 -128
- data/ext/cargo-vendor/wasi-common-24.0.0/src/lib.rs +0 -193
- data/ext/cargo-vendor/wasi-common-24.0.0/src/snapshots/mod.rs +0 -27
- data/ext/cargo-vendor/wasi-common-24.0.0/src/sync/dir.rs +0 -462
- data/ext/cargo-vendor/wasi-common-24.0.0/src/tokio/dir.rs +0 -221
- data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/async_.rs +0 -295
- data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/main.rs +0 -21
- data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/sync.rs +0 -284
- data/ext/cargo-vendor/wasm-encoder-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.215.0/Cargo.toml +0 -65
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/types.rs +0 -802
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/code.rs +0 -3947
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/names.rs +0 -298
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/types.rs +0 -678
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/reencode.rs +0 -2002
- data/ext/cargo-vendor/wasm-encoder-0.216.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.216.0/Cargo.toml +0 -65
- data/ext/cargo-vendor/wasm-encoder-0.216.0/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/types.rs +0 -802
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/code.rs +0 -3947
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/custom.rs +0 -73
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/data.rs +0 -186
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/elements.rs +0 -222
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/exports.rs +0 -85
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/globals.rs +0 -100
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/imports.rs +0 -143
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/memories.rs +0 -115
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/producers.rs +0 -181
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/tables.rs +0 -129
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/tags.rs +0 -85
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/lib.rs +0 -218
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.215.0/Cargo.lock +0 -669
- data/ext/cargo-vendor/wasmparser-0.215.0/Cargo.toml +0 -137
- data/ext/cargo-vendor/wasmparser-0.215.0/benches/benchmark.rs +0 -349
- data/ext/cargo-vendor/wasmparser-0.215.0/src/binary_reader.rs +0 -2064
- data/ext/cargo-vendor/wasmparser-0.215.0/src/features.rs +0 -175
- data/ext/cargo-vendor/wasmparser-0.215.0/src/limits.rs +0 -80
- data/ext/cargo-vendor/wasmparser-0.215.0/src/parser.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/aliases.rs +0 -119
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/canonicals.rs +0 -121
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/exports.rs +0 -135
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/imports.rs +0 -130
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/instances.rs +0 -166
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/types.rs +0 -553
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/code.rs +0 -142
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/coredumps.rs +0 -278
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/exports.rs +0 -65
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/globals.rs +0 -61
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/imports.rs +0 -76
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/init.rs +0 -57
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/operators.rs +0 -479
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/producers.rs +0 -84
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/types.rs +0 -1964
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers.rs +0 -315
- data/ext/cargo-vendor/wasmparser-0.215.0/src/resources.rs +0 -234
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/component.rs +0 -3277
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/core/canonical.rs +0 -233
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/core.rs +0 -1499
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/func.rs +0 -334
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/names.rs +0 -1016
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/operators.rs +0 -4716
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/types.rs +0 -4592
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator.rs +0 -1643
- data/ext/cargo-vendor/wasmprinter-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.215.0/Cargo.toml +0 -74
- data/ext/cargo-vendor/wasmprinter-0.215.0/src/lib.rs +0 -3242
- data/ext/cargo-vendor/wasmtime-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-24.0.0/Cargo.toml +0 -406
- data/ext/cargo-vendor/wasmtime-24.0.0/build.rs +0 -38
- data/ext/cargo-vendor/wasmtime-24.0.0/src/compile/code_builder.rs +0 -274
- data/ext/cargo-vendor/wasmtime-24.0.0/src/compile/runtime.rs +0 -167
- data/ext/cargo-vendor/wasmtime-24.0.0/src/compile.rs +0 -881
- data/ext/cargo-vendor/wasmtime-24.0.0/src/config.rs +0 -2875
- data/ext/cargo-vendor/wasmtime-24.0.0/src/engine/serialization.rs +0 -902
- data/ext/cargo-vendor/wasmtime-24.0.0/src/engine.rs +0 -765
- data/ext/cargo-vendor/wasmtime-24.0.0/src/lib.rs +0 -406
- data/ext/cargo-vendor/wasmtime-24.0.0/src/profiling_agent/jitdump.rs +0 -64
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/component.rs +0 -811
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/func/host.rs +0 -439
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/func/typed.rs +0 -2497
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/linker.rs +0 -673
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/mod.rs +0 -663
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/resources.rs +0 -1132
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/types.rs +0 -897
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/coredump.rs +0 -339
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/externals/global.rs +0 -310
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/externals/table.rs +0 -480
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/func.rs +0 -2598
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled/anyref.rs +0 -77
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled/rooting.rs +0 -229
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled.rs +0 -21
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/anyref.rs +0 -584
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/i31.rs +0 -299
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/rooting.rs +0 -1755
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled.rs +0 -14
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/instance.rs +0 -990
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/linker.rs +0 -1498
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/memory.rs +0 -1101
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/module.rs +0 -1179
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/store.rs +0 -2885
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/trampoline/global.rs +0 -68
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/trap.rs +0 -642
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/types.rs +0 -2868
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/values.rs +0 -1016
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/const_expr.rs +0 -102
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/cow.rs +0 -988
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/disabled.rs +0 -39
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled/drc.rs +0 -1113
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled/structref.rs +0 -481
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled.rs +0 -20
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/gc_ref.rs +0 -502
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/gc_runtime.rs +0 -651
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc.rs +0 -303
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/helpers.c +0 -113
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -93
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -703
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/libcalls.rs +0 -832
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/custom/traphandlers.rs +0 -60
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/machports.rs +0 -445
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/mmap.rs +0 -159
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/signals.rs +0 -464
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/windows/traphandlers.rs +0 -133
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/threads/parking_spot.rs +0 -623
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/traphandlers.rs +0 -783
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/vmcontext.rs +0 -1246
- data/ext/cargo-vendor/wasmtime-asm-macros-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-24.0.0/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/Cargo.toml +0 -110
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/build.rs +0 -10
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/config.rs +0 -584
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/lib.rs +0 -235
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/worker/tests.rs +0 -758
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/worker.rs +0 -890
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/Cargo.toml +0 -113
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/src/bindgen.rs +0 -500
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/src/component.rs +0 -1330
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/codegen.rs +0 -698
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/char.rs +0 -268
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/char_async.rs +0 -291
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/conventions.rs +0 -706
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/conventions_async.rs +0 -757
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/dead-code.rs +0 -194
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/dead-code_async.rs +0 -213
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/direct-import.rs +0 -120
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/direct-import_async.rs +0 -132
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/empty.rs +0 -74
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/empty_async.rs +0 -80
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/flags.rs +0 -743
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/flags_async.rs +0 -791
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/floats.rs +0 -343
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/floats_async.rs +0 -376
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/function-new.rs +0 -94
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/function-new_async.rs +0 -103
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/integers.rs +0 -873
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/integers_async.rs +0 -976
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/lists.rs +0 -1924
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/lists_async.rs +0 -2114
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/many-arguments.rs +0 -614
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/many-arguments_async.rs +0 -638
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multi-return.rs +0 -357
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multi-return_async.rs +0 -391
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multiversion.rs +0 -354
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multiversion_async.rs +0 -379
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/records.rs +0 -940
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/records_async.rs +0 -1008
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/rename.rs +0 -183
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/rename_async.rs +0 -202
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-export.rs +0 -657
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-export_async.rs +0 -712
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-import.rs +0 -1088
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-import_async.rs +0 -1166
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/share-types.rs +0 -315
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/share-types_async.rs +0 -337
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-functions.rs +0 -399
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-functions_async.rs +0 -439
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-lists.rs +0 -427
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-lists_async.rs +0 -464
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-wasi.rs +0 -245
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-wasi_async.rs +0 -264
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/small-anonymous.rs +0 -338
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/small-anonymous_async.rs +0 -356
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-default.rs +0 -94
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-default_async.rs +0 -103
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-export.rs +0 -149
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-export_async.rs +0 -158
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke.rs +0 -133
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke_async.rs +0 -146
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/strings.rs +0 -316
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/strings_async.rs +0 -344
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/unversioned-foo.rs +0 -165
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/unversioned-foo_async.rs +0 -178
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/use-paths.rs +0 -317
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/use-paths_async.rs +0 -349
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/variants.rs +0 -1896
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/variants_async.rs +0 -2019
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/wat.rs +0 -145
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/wat_async.rs +0 -151
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/worlds-with-types.rs +0 -175
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/worlds-with-types_async.rs +0 -191
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded.rs +0 -65
- data/ext/cargo-vendor/wasmtime-component-util-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-24.0.0/Cargo.toml +0 -35
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/Cargo.toml +0 -132
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/compiler.rs +0 -1029
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/attr.rs +0 -328
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/line_program.rs +0 -287
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/mod.rs +0 -273
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/range_info_builder.rs +0 -234
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/simulate.rs +0 -423
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/unit.rs +0 -520
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/func_environ.rs +0 -2721
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/gc/enabled.rs +0 -648
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/gc.rs +0 -198
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/lib.rs +0 -431
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/Cargo.lock +0 -792
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/Cargo.toml +0 -192
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/builtin.rs +0 -184
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/compile/mod.rs +0 -379
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/compile/module_environ.rs +0 -1264
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/component/types.rs +0 -1041
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/demangling.rs +0 -28
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/fact/trampoline.rs +0 -3234
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/fact/traps.rs +0 -116
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/stack_map.rs +0 -31
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/trap_encoding.rs +0 -189
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/Cargo.toml +0 -82
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/build.rs +0 -39
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/src/lib.rs +0 -343
- data/ext/cargo-vendor/wasmtime-jit-debug-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-24.0.0/Cargo.toml +0 -84
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-24.0.0/Cargo.toml +0 -69
- data/ext/cargo-vendor/wasmtime-slab-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-24.0.0/Cargo.toml +0 -48
- data/ext/cargo-vendor/wasmtime-types-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-24.0.0/Cargo.toml +0 -78
- data/ext/cargo-vendor/wasmtime-types-24.0.0/src/lib.rs +0 -1835
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-24.0.0/Cargo.toml +0 -40
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/Cargo.toml +0 -222
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/bindings.rs +0 -561
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/filesystem.rs +0 -448
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/host/filesystem.rs +0 -1091
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/host/io.rs +0 -391
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/preview1.rs +0 -2801
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/runtime.rs +0 -176
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/stdio.rs +0 -596
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/stream.rs +0 -181
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/tcp.rs +0 -871
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/write_stream.rs +0 -203
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/tests/all/main.rs +0 -91
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/tests/process_stdin.rs +0 -165
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/command-extended.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/command.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/environment.wit +0 -18
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/exit.wit +0 -4
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/imports.wit +0 -20
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/run.wit +0 -4
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/stdio.wit +0 -17
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/terminal.wit +0 -49
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/monotonic-clock.wit +0 -45
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/wall-clock.wit +0 -42
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/world.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/preopens.wit +0 -8
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/types.wit +0 -634
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/world.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/handler.wit +0 -43
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/proxy.wit +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/types.wit +0 -570
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/error.wit +0 -34
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/poll.wit +0 -41
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/streams.wit +0 -262
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/world.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/insecure-seed.wit +0 -25
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/insecure.wit +0 -22
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/random.wit +0 -26
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/world.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/instance-network.wit +0 -9
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/ip-name-lookup.wit +0 -51
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/network.wit +0 -145
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/tcp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/tcp.wit +0 -353
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/udp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/udp.wit +0 -266
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/world.wit +0 -11
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/test.wit +0 -22
- data/ext/cargo-vendor/wasmtime-winch-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-24.0.0/Cargo.toml +0 -99
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/Cargo.toml +0 -64
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/src/lib.rs +0 -2798
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/src/rust.rs +0 -427
- data/ext/cargo-vendor/wast-216.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-216.0.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wast-216.0.0/src/component/binary.rs +0 -1014
- data/ext/cargo-vendor/wast-216.0.0/src/component/component.rs +0 -320
- data/ext/cargo-vendor/wast-216.0.0/src/component/expand.rs +0 -875
- data/ext/cargo-vendor/wast-216.0.0/src/component/import.rs +0 -215
- data/ext/cargo-vendor/wast-216.0.0/src/component/resolve.rs +0 -988
- data/ext/cargo-vendor/wast-216.0.0/src/core/binary/dwarf.rs +0 -610
- data/ext/cargo-vendor/wast-216.0.0/src/core/binary.rs +0 -1539
- data/ext/cargo-vendor/wast-216.0.0/src/core/expr.rs +0 -2110
- data/ext/cargo-vendor/wast-216.0.0/src/core/module.rs +0 -215
- data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/mod.rs +0 -109
- data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/names.rs +0 -791
- data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/types.rs +0 -270
- data/ext/cargo-vendor/wast-216.0.0/src/lexer.rs +0 -1572
- data/ext/cargo-vendor/wast-216.0.0/src/lib.rs +0 -556
- data/ext/cargo-vendor/wast-216.0.0/src/parser.rs +0 -1434
- data/ext/cargo-vendor/wast-216.0.0/src/wast.rs +0 -459
- data/ext/cargo-vendor/wast-216.0.0/src/wat.rs +0 -68
- data/ext/cargo-vendor/wat-1.216.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.216.0/Cargo.toml +0 -56
- data/ext/cargo-vendor/wiggle-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-24.0.0/Cargo.toml +0 -117
- data/ext/cargo-vendor/wiggle-24.0.0/src/lib.rs +0 -605
- data/ext/cargo-vendor/wiggle-generate-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-24.0.0/Cargo.toml +0 -83
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/funcs.rs +0 -434
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/lib.rs +0 -100
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/names.rs +0 -299
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/wasmtime.rs +0 -172
- data/ext/cargo-vendor/wiggle-macro-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-24.0.0/Cargo.toml +0 -76
- data/ext/cargo-vendor/winch-codegen-0.22.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.22.0/Cargo.toml +0 -94
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/abi/local.rs +0 -81
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/abi/mod.rs +0 -666
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/bounds.rs +0 -220
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/context.rs +0 -591
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/mod.rs +0 -880
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/abi.rs +0 -296
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/address.rs +0 -143
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/asm.rs +0 -709
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/masm.rs +0 -665
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/mod.rs +0 -223
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/abi.rs +0 -564
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/asm.rs +0 -1418
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/masm.rs +0 -1115
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/masm.rs +0 -957
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/regalloc.rs +0 -65
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/stack.rs +0 -447
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/visitor.rs +0 -2158
- data/ext/cargo-vendor/wit-parser-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.215.0/Cargo.toml +0 -129
- data/ext/cargo-vendor/wit-parser-0.215.0/src/ast/resolve.rs +0 -1583
- data/ext/cargo-vendor/wit-parser-0.215.0/src/ast.rs +0 -1904
- data/ext/cargo-vendor/wit-parser-0.215.0/src/decoding.rs +0 -1795
- data/ext/cargo-vendor/wit-parser-0.215.0/src/lib.rs +0 -912
- data/ext/cargo-vendor/wit-parser-0.215.0/src/sizealign.rs +0 -179
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/all.rs +0 -154
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate3.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate5.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg1.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg3.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg5.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg6.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-resource15.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/conflicting-package.wit.result +0 -10
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/include-foreign.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multi-package-deps-share-nest.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -10
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/pkg-cycle.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow1.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow6.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow7.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow8.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/unresolved-use10.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/use-and-include-world.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/use-world.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/very-nested-packages.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/since-and-unstable.wit +0 -107
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/since-and-unstable.wit.json +0 -623
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/src/compound.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/tests/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/spectre.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ranges.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/traversals.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/frontend/safepoints.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/disjointsets.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/stablemapset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/deny.toml +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/doc/TODO +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/domtree.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/indexset.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/dump.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/redundant_moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/reg_traversal.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/spill.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/postorder.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/reencode/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/reencode.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/hash.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map/detail.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/reloc.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/src/operator.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/src/print.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_0_hello_world.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_1_world_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_2_world_exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_3_interface_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_4_imported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_6_exported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/structref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/enabled/structref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/noextern.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/instantiate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/type_registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/v128.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/unsupported.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/async_yield.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/enabled/free_list.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/host_data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/on_demand.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/shared_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/shared_memory_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/sync_nostd.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/sync_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-24.0.0 → wasmtime-asm-macros-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/dead-code.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen_no_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-24.0.0 → wasmtime-component-util-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/types_builder/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/types_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-slab-24.0.0 → wasmtime-slab-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/src/prelude.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-24.0.0 → wasmtime-versioned-export-macros-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/preview0.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/api.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/async_.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/preview1.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-24.0.0 → wasmtime-wit-bindgen-25.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-24.0.0 → wasmtime-wit-bindgen-25.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/binary/dwarf_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/memory.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/resolve/deinline_import_export.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/table.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/token.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/annotations.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.216.0 → wat-1.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.216.0 → wat-1.217.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/env.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/ast/lex.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/metadata.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/resolve.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/serde_.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/feature-gates.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/feature-gates.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/functions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps/deps/dep.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/packages.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/packages.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-multiple-nested.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-multiple-nested.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-colliding-decl-names.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-colliding-decl-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-internal-references.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-internal-references.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-with-semver.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-with-semver.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-single-nested.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-single-nested.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-main.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-main.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-nested.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-nested.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-file-missing-delimiter/observe.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-file-missing-delimiter/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-inline-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-inline-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-colliding-names.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-colliding-names.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-with-error.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-with-error.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/very-nested-packages.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/version-syntax.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/version-syntax.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,4716 +0,0 @@
|
|
1
|
-
/* Copyright 2019 Mozilla Foundation
|
2
|
-
*
|
3
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
* you may not use this file except in compliance with the License.
|
5
|
-
* You may obtain a copy of the License at
|
6
|
-
*
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
*
|
9
|
-
* Unless required by applicable law or agreed to in writing, software
|
10
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
* See the License for the specific language governing permissions and
|
13
|
-
* limitations under the License.
|
14
|
-
*/
|
15
|
-
|
16
|
-
// The basic validation algorithm here is copied from the "Validation
|
17
|
-
// Algorithm" section of the WebAssembly specification -
|
18
|
-
// https://webassembly.github.io/spec/core/appendix/algorithm.html.
|
19
|
-
//
|
20
|
-
// That algorithm is followed pretty closely here, namely `push_operand`,
|
21
|
-
// `pop_operand`, `push_ctrl`, and `pop_ctrl`. If anything here is a bit
|
22
|
-
// confusing it's recommended to read over that section to see how it maps to
|
23
|
-
// the various methods here.
|
24
|
-
|
25
|
-
use crate::{
|
26
|
-
limits::MAX_WASM_FUNCTION_LOCALS, AbstractHeapType, ArrayType, BinaryReaderError, BlockType,
|
27
|
-
BrTable, Catch, FieldType, FuncType, GlobalType, HeapType, Ieee32, Ieee64, MemArg, RefType,
|
28
|
-
Result, StorageType, StructType, SubType, TableType, TryTable, UnpackedIndex, ValType,
|
29
|
-
VisitOperator, WasmFeatures, WasmModuleResources, V128,
|
30
|
-
};
|
31
|
-
use crate::{prelude::*, CompositeInnerType, Ordering};
|
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
|
-
/// A Wasm legacy `try` control block.
|
125
|
-
///
|
126
|
-
/// # Note
|
127
|
-
///
|
128
|
-
/// See: `WasmFeatures::legacy_exceptions` Note in `crates/wasmparser/src/features.rs`
|
129
|
-
LegacyTry,
|
130
|
-
/// A Wasm legacy `catch` control block.
|
131
|
-
///
|
132
|
-
/// # Note
|
133
|
-
///
|
134
|
-
/// See: `WasmFeatures::legacy_exceptions` Note in `crates/wasmparser/src/features.rs`
|
135
|
-
LegacyCatch,
|
136
|
-
/// A Wasm legacy `catch_all` control block.
|
137
|
-
///
|
138
|
-
/// # Note
|
139
|
-
///
|
140
|
-
/// See: `WasmFeatures::legacy_exceptions` Note in `crates/wasmparser/src/features.rs`
|
141
|
-
LegacyCatchAll,
|
142
|
-
}
|
143
|
-
|
144
|
-
struct OperatorValidatorTemp<'validator, 'resources, T> {
|
145
|
-
offset: usize,
|
146
|
-
inner: &'validator mut OperatorValidator,
|
147
|
-
resources: &'resources T,
|
148
|
-
}
|
149
|
-
|
150
|
-
#[derive(Default)]
|
151
|
-
pub struct OperatorValidatorAllocations {
|
152
|
-
popped_types_tmp: Vec<MaybeType>,
|
153
|
-
control: Vec<Frame>,
|
154
|
-
operands: Vec<MaybeType>,
|
155
|
-
local_inits: Vec<bool>,
|
156
|
-
inits: Vec<u32>,
|
157
|
-
locals_first: Vec<ValType>,
|
158
|
-
locals_all: Vec<(u32, ValType)>,
|
159
|
-
}
|
160
|
-
|
161
|
-
/// Type storage within the validator.
|
162
|
-
///
|
163
|
-
/// This is used to manage the operand stack and notably isn't just `ValType` to
|
164
|
-
/// handle unreachable code and the "bottom" type.
|
165
|
-
#[derive(Debug, Copy, Clone)]
|
166
|
-
enum MaybeType {
|
167
|
-
Bot,
|
168
|
-
HeapBot,
|
169
|
-
Type(ValType),
|
170
|
-
}
|
171
|
-
|
172
|
-
// The validator is pretty performance-sensitive and `MaybeType` is the main
|
173
|
-
// unit of storage, so assert that it doesn't exceed 4 bytes which is the
|
174
|
-
// current expected size.
|
175
|
-
const _: () = {
|
176
|
-
assert!(core::mem::size_of::<MaybeType>() == 4);
|
177
|
-
};
|
178
|
-
|
179
|
-
impl core::fmt::Display for MaybeType {
|
180
|
-
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
181
|
-
match self {
|
182
|
-
MaybeType::Bot => write!(f, "bot"),
|
183
|
-
MaybeType::HeapBot => write!(f, "heap-bot"),
|
184
|
-
MaybeType::Type(ty) => core::fmt::Display::fmt(ty, f),
|
185
|
-
}
|
186
|
-
}
|
187
|
-
}
|
188
|
-
|
189
|
-
impl From<ValType> for MaybeType {
|
190
|
-
fn from(ty: ValType) -> MaybeType {
|
191
|
-
MaybeType::Type(ty)
|
192
|
-
}
|
193
|
-
}
|
194
|
-
|
195
|
-
impl From<RefType> for MaybeType {
|
196
|
-
fn from(ty: RefType) -> MaybeType {
|
197
|
-
let ty: ValType = ty.into();
|
198
|
-
ty.into()
|
199
|
-
}
|
200
|
-
}
|
201
|
-
|
202
|
-
impl MaybeType {
|
203
|
-
fn as_type(&self) -> Option<ValType> {
|
204
|
-
match *self {
|
205
|
-
Self::Type(ty) => Some(ty),
|
206
|
-
Self::Bot | Self::HeapBot => None,
|
207
|
-
}
|
208
|
-
}
|
209
|
-
}
|
210
|
-
|
211
|
-
impl OperatorValidator {
|
212
|
-
fn new(features: &WasmFeatures, allocs: OperatorValidatorAllocations) -> Self {
|
213
|
-
let OperatorValidatorAllocations {
|
214
|
-
popped_types_tmp,
|
215
|
-
control,
|
216
|
-
operands,
|
217
|
-
local_inits,
|
218
|
-
inits,
|
219
|
-
locals_first,
|
220
|
-
locals_all,
|
221
|
-
} = allocs;
|
222
|
-
debug_assert!(popped_types_tmp.is_empty());
|
223
|
-
debug_assert!(control.is_empty());
|
224
|
-
debug_assert!(operands.is_empty());
|
225
|
-
debug_assert!(local_inits.is_empty());
|
226
|
-
debug_assert!(inits.is_empty());
|
227
|
-
debug_assert!(locals_first.is_empty());
|
228
|
-
debug_assert!(locals_all.is_empty());
|
229
|
-
OperatorValidator {
|
230
|
-
locals: Locals {
|
231
|
-
num_locals: 0,
|
232
|
-
first: locals_first,
|
233
|
-
all: locals_all,
|
234
|
-
},
|
235
|
-
local_inits,
|
236
|
-
inits,
|
237
|
-
features: *features,
|
238
|
-
popped_types_tmp,
|
239
|
-
operands,
|
240
|
-
control,
|
241
|
-
end_which_emptied_control: None,
|
242
|
-
}
|
243
|
-
}
|
244
|
-
|
245
|
-
/// Creates a new operator validator which will be used to validate a
|
246
|
-
/// function whose type is the `ty` index specified.
|
247
|
-
///
|
248
|
-
/// The `resources` are used to learn about the function type underlying
|
249
|
-
/// `ty`.
|
250
|
-
pub fn new_func<T>(
|
251
|
-
ty: u32,
|
252
|
-
offset: usize,
|
253
|
-
features: &WasmFeatures,
|
254
|
-
resources: &T,
|
255
|
-
allocs: OperatorValidatorAllocations,
|
256
|
-
) -> Result<Self>
|
257
|
-
where
|
258
|
-
T: WasmModuleResources,
|
259
|
-
{
|
260
|
-
let mut ret = OperatorValidator::new(features, allocs);
|
261
|
-
ret.control.push(Frame {
|
262
|
-
kind: FrameKind::Block,
|
263
|
-
block_type: BlockType::FuncType(ty),
|
264
|
-
height: 0,
|
265
|
-
unreachable: false,
|
266
|
-
init_height: 0,
|
267
|
-
});
|
268
|
-
let params = OperatorValidatorTemp {
|
269
|
-
// This offset is used by the `func_type_at` and `inputs`.
|
270
|
-
offset,
|
271
|
-
inner: &mut ret,
|
272
|
-
resources,
|
273
|
-
}
|
274
|
-
.func_type_at(ty)?
|
275
|
-
.params();
|
276
|
-
for ty in params {
|
277
|
-
ret.locals.define(1, *ty);
|
278
|
-
ret.local_inits.push(true);
|
279
|
-
}
|
280
|
-
Ok(ret)
|
281
|
-
}
|
282
|
-
|
283
|
-
/// Creates a new operator validator which will be used to validate an
|
284
|
-
/// `init_expr` constant expression which should result in the `ty`
|
285
|
-
/// specified.
|
286
|
-
pub fn new_const_expr(
|
287
|
-
features: &WasmFeatures,
|
288
|
-
ty: ValType,
|
289
|
-
allocs: OperatorValidatorAllocations,
|
290
|
-
) -> Self {
|
291
|
-
let mut ret = OperatorValidator::new(features, allocs);
|
292
|
-
ret.control.push(Frame {
|
293
|
-
kind: FrameKind::Block,
|
294
|
-
block_type: BlockType::Type(ty),
|
295
|
-
height: 0,
|
296
|
-
unreachable: false,
|
297
|
-
init_height: 0,
|
298
|
-
});
|
299
|
-
ret
|
300
|
-
}
|
301
|
-
|
302
|
-
pub fn define_locals(
|
303
|
-
&mut self,
|
304
|
-
offset: usize,
|
305
|
-
count: u32,
|
306
|
-
mut ty: ValType,
|
307
|
-
resources: &impl WasmModuleResources,
|
308
|
-
) -> Result<()> {
|
309
|
-
resources.check_value_type(&mut ty, &self.features, offset)?;
|
310
|
-
if count == 0 {
|
311
|
-
return Ok(());
|
312
|
-
}
|
313
|
-
if !self.locals.define(count, ty) {
|
314
|
-
return Err(BinaryReaderError::new(
|
315
|
-
"too many locals: locals exceed maximum",
|
316
|
-
offset,
|
317
|
-
));
|
318
|
-
}
|
319
|
-
self.local_inits
|
320
|
-
.resize(self.local_inits.len() + count as usize, ty.is_defaultable());
|
321
|
-
Ok(())
|
322
|
-
}
|
323
|
-
|
324
|
-
/// Returns the current operands stack height.
|
325
|
-
pub fn operand_stack_height(&self) -> usize {
|
326
|
-
self.operands.len()
|
327
|
-
}
|
328
|
-
|
329
|
-
/// Returns the optional value type of the value operand at the given
|
330
|
-
/// `depth` from the top of the operand stack.
|
331
|
-
///
|
332
|
-
/// - Returns `None` if the `depth` is out of bounds.
|
333
|
-
/// - Returns `Some(None)` if there is a value with unknown type
|
334
|
-
/// at the given `depth`.
|
335
|
-
///
|
336
|
-
/// # Note
|
337
|
-
///
|
338
|
-
/// A `depth` of 0 will refer to the last operand on the stack.
|
339
|
-
pub fn peek_operand_at(&self, depth: usize) -> Option<Option<ValType>> {
|
340
|
-
Some(match self.operands.iter().rev().nth(depth)? {
|
341
|
-
MaybeType::Type(t) => Some(*t),
|
342
|
-
MaybeType::Bot | MaybeType::HeapBot => None,
|
343
|
-
})
|
344
|
-
}
|
345
|
-
|
346
|
-
/// Returns the number of frames on the control flow stack.
|
347
|
-
pub fn control_stack_height(&self) -> usize {
|
348
|
-
self.control.len()
|
349
|
-
}
|
350
|
-
|
351
|
-
pub fn get_frame(&self, depth: usize) -> Option<&Frame> {
|
352
|
-
self.control.iter().rev().nth(depth)
|
353
|
-
}
|
354
|
-
|
355
|
-
/// Create a temporary [`OperatorValidatorTemp`] for validation.
|
356
|
-
pub fn with_resources<'a, 'validator, 'resources, T>(
|
357
|
-
&'validator mut self,
|
358
|
-
resources: &'resources T,
|
359
|
-
offset: usize,
|
360
|
-
) -> impl VisitOperator<'a, Output = Result<()>> + 'validator
|
361
|
-
where
|
362
|
-
T: WasmModuleResources,
|
363
|
-
'resources: 'validator,
|
364
|
-
{
|
365
|
-
WasmProposalValidator(OperatorValidatorTemp {
|
366
|
-
offset,
|
367
|
-
inner: self,
|
368
|
-
resources,
|
369
|
-
})
|
370
|
-
}
|
371
|
-
|
372
|
-
pub fn finish(&mut self, offset: usize) -> Result<()> {
|
373
|
-
if self.control.last().is_some() {
|
374
|
-
bail!(
|
375
|
-
offset,
|
376
|
-
"control frames remain at end of function: END opcode expected"
|
377
|
-
);
|
378
|
-
}
|
379
|
-
|
380
|
-
// The `end` opcode is one byte which means that the `offset` here
|
381
|
-
// should point just beyond the `end` opcode which emptied the control
|
382
|
-
// stack. If not that means more instructions were present after the
|
383
|
-
// control stack was emptied.
|
384
|
-
if offset != self.end_which_emptied_control.unwrap() + 1 {
|
385
|
-
return Err(self.err_beyond_end(offset));
|
386
|
-
}
|
387
|
-
Ok(())
|
388
|
-
}
|
389
|
-
|
390
|
-
fn err_beyond_end(&self, offset: usize) -> BinaryReaderError {
|
391
|
-
format_err!(offset, "operators remaining after end of function")
|
392
|
-
}
|
393
|
-
|
394
|
-
pub fn into_allocations(self) -> OperatorValidatorAllocations {
|
395
|
-
fn clear<T>(mut tmp: Vec<T>) -> Vec<T> {
|
396
|
-
tmp.clear();
|
397
|
-
tmp
|
398
|
-
}
|
399
|
-
OperatorValidatorAllocations {
|
400
|
-
popped_types_tmp: clear(self.popped_types_tmp),
|
401
|
-
control: clear(self.control),
|
402
|
-
operands: clear(self.operands),
|
403
|
-
local_inits: clear(self.local_inits),
|
404
|
-
inits: clear(self.inits),
|
405
|
-
locals_first: clear(self.locals.first),
|
406
|
-
locals_all: clear(self.locals.all),
|
407
|
-
}
|
408
|
-
}
|
409
|
-
}
|
410
|
-
|
411
|
-
impl<R> Deref for OperatorValidatorTemp<'_, '_, R> {
|
412
|
-
type Target = OperatorValidator;
|
413
|
-
fn deref(&self) -> &OperatorValidator {
|
414
|
-
self.inner
|
415
|
-
}
|
416
|
-
}
|
417
|
-
|
418
|
-
impl<R> DerefMut for OperatorValidatorTemp<'_, '_, R> {
|
419
|
-
fn deref_mut(&mut self) -> &mut OperatorValidator {
|
420
|
-
self.inner
|
421
|
-
}
|
422
|
-
}
|
423
|
-
|
424
|
-
impl<'resources, R> OperatorValidatorTemp<'_, 'resources, R>
|
425
|
-
where
|
426
|
-
R: WasmModuleResources,
|
427
|
-
{
|
428
|
-
/// Pushes a type onto the operand stack.
|
429
|
-
///
|
430
|
-
/// This is used by instructions to represent a value that is pushed to the
|
431
|
-
/// operand stack. This can fail, but only if `Type` is feature gated.
|
432
|
-
/// Otherwise the push operation always succeeds.
|
433
|
-
fn push_operand<T>(&mut self, ty: T) -> Result<()>
|
434
|
-
where
|
435
|
-
T: Into<MaybeType>,
|
436
|
-
{
|
437
|
-
let maybe_ty = ty.into();
|
438
|
-
|
439
|
-
if cfg!(debug_assertions) {
|
440
|
-
match maybe_ty {
|
441
|
-
MaybeType::Type(ValType::Ref(r)) => match r.heap_type() {
|
442
|
-
HeapType::Concrete(index) => {
|
443
|
-
debug_assert!(
|
444
|
-
matches!(index, UnpackedIndex::Id(_)),
|
445
|
-
"only ref types referencing `CoreTypeId`s can \
|
446
|
-
be pushed to the operand stack"
|
447
|
-
);
|
448
|
-
}
|
449
|
-
_ => {}
|
450
|
-
},
|
451
|
-
_ => {}
|
452
|
-
}
|
453
|
-
}
|
454
|
-
|
455
|
-
self.operands.push(maybe_ty);
|
456
|
-
Ok(())
|
457
|
-
}
|
458
|
-
|
459
|
-
fn push_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<()> {
|
460
|
-
let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
|
461
|
-
|
462
|
-
// Canonicalize the module index into an id.
|
463
|
-
self.resources.check_heap_type(&mut heap_ty, self.offset)?;
|
464
|
-
debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
|
465
|
-
|
466
|
-
let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
|
467
|
-
format_err!(self.offset, "implementation limit: type index too large")
|
468
|
-
})?;
|
469
|
-
|
470
|
-
self.push_operand(ref_ty)
|
471
|
-
}
|
472
|
-
|
473
|
-
fn pop_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<MaybeType> {
|
474
|
-
let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
|
475
|
-
|
476
|
-
// Canonicalize the module index into an id.
|
477
|
-
self.resources.check_heap_type(&mut heap_ty, self.offset)?;
|
478
|
-
debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
|
479
|
-
|
480
|
-
let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
|
481
|
-
format_err!(self.offset, "implementation limit: type index too large")
|
482
|
-
})?;
|
483
|
-
|
484
|
-
self.pop_operand(Some(ref_ty.into()))
|
485
|
-
}
|
486
|
-
|
487
|
-
/// Pop the given label types, checking that they are indeed present on the
|
488
|
-
/// stack, and then push them back on again.
|
489
|
-
fn pop_push_label_types(
|
490
|
-
&mut self,
|
491
|
-
label_types: impl PreciseIterator<Item = ValType>,
|
492
|
-
) -> Result<()> {
|
493
|
-
for ty in label_types.clone().rev() {
|
494
|
-
self.pop_operand(Some(ty))?;
|
495
|
-
}
|
496
|
-
for ty in label_types {
|
497
|
-
self.push_operand(ty)?;
|
498
|
-
}
|
499
|
-
Ok(())
|
500
|
-
}
|
501
|
-
|
502
|
-
/// Attempts to pop a type from the operand stack.
|
503
|
-
///
|
504
|
-
/// This function is used to remove types from the operand stack. The
|
505
|
-
/// `expected` argument can be used to indicate that a type is required, or
|
506
|
-
/// simply that something is needed to be popped.
|
507
|
-
///
|
508
|
-
/// If `expected` is `Some(T)` then this will be guaranteed to return
|
509
|
-
/// `T`, and it will only return success if the current block is
|
510
|
-
/// unreachable or if `T` was found at the top of the operand stack.
|
511
|
-
///
|
512
|
-
/// If `expected` is `None` then it indicates that something must be on the
|
513
|
-
/// operand stack, but it doesn't matter what's on the operand stack. This
|
514
|
-
/// is useful for polymorphic instructions like `select`.
|
515
|
-
///
|
516
|
-
/// If `Some(T)` is returned then `T` was popped from the operand stack and
|
517
|
-
/// matches `expected`. If `None` is returned then it means that `None` was
|
518
|
-
/// expected and a type was successfully popped, but its exact type is
|
519
|
-
/// indeterminate because the current block is unreachable.
|
520
|
-
fn pop_operand(&mut self, expected: Option<ValType>) -> Result<MaybeType> {
|
521
|
-
// This method is one of the hottest methods in the validator so to
|
522
|
-
// improve codegen this method contains a fast-path success case where
|
523
|
-
// if the top operand on the stack is as expected it's returned
|
524
|
-
// immediately. This is the most common case where the stack will indeed
|
525
|
-
// have the expected type and all we need to do is pop it off.
|
526
|
-
//
|
527
|
-
// Note that this still has to be careful to be correct, though. For
|
528
|
-
// efficiency an operand is unconditionally popped and on success it is
|
529
|
-
// matched against the state of the world to see if we could actually
|
530
|
-
// pop it. If we shouldn't have popped it then it's passed to the slow
|
531
|
-
// path to get pushed back onto the stack.
|
532
|
-
let popped = match self.operands.pop() {
|
533
|
-
Some(MaybeType::Type(actual_ty)) => {
|
534
|
-
if Some(actual_ty) == expected {
|
535
|
-
if let Some(control) = self.control.last() {
|
536
|
-
if self.operands.len() >= control.height {
|
537
|
-
return Ok(MaybeType::Type(actual_ty));
|
538
|
-
}
|
539
|
-
}
|
540
|
-
}
|
541
|
-
Some(MaybeType::Type(actual_ty))
|
542
|
-
}
|
543
|
-
other => other,
|
544
|
-
};
|
545
|
-
|
546
|
-
self._pop_operand(expected, popped)
|
547
|
-
}
|
548
|
-
|
549
|
-
// This is the "real" implementation of `pop_operand` which is 100%
|
550
|
-
// spec-compliant with little attention paid to efficiency since this is the
|
551
|
-
// slow-path from the actual `pop_operand` function above.
|
552
|
-
#[cold]
|
553
|
-
fn _pop_operand(
|
554
|
-
&mut self,
|
555
|
-
expected: Option<ValType>,
|
556
|
-
popped: Option<MaybeType>,
|
557
|
-
) -> Result<MaybeType> {
|
558
|
-
self.operands.extend(popped);
|
559
|
-
let control = match self.control.last() {
|
560
|
-
Some(c) => c,
|
561
|
-
None => return Err(self.err_beyond_end(self.offset)),
|
562
|
-
};
|
563
|
-
let actual = if self.operands.len() == control.height && control.unreachable {
|
564
|
-
MaybeType::Bot
|
565
|
-
} else {
|
566
|
-
if self.operands.len() == control.height {
|
567
|
-
let desc = match expected {
|
568
|
-
Some(ty) => ty_to_str(ty),
|
569
|
-
None => "a type".into(),
|
570
|
-
};
|
571
|
-
bail!(
|
572
|
-
self.offset,
|
573
|
-
"type mismatch: expected {desc} but nothing on stack"
|
574
|
-
)
|
575
|
-
} else {
|
576
|
-
self.operands.pop().unwrap()
|
577
|
-
}
|
578
|
-
};
|
579
|
-
if let Some(expected) = expected {
|
580
|
-
match (actual, expected) {
|
581
|
-
// The bottom type matches all expectations
|
582
|
-
(MaybeType::Bot, _)
|
583
|
-
// The "heap bottom" type only matches other references types,
|
584
|
-
// but not any integer types.
|
585
|
-
| (MaybeType::HeapBot, ValType::Ref(_)) => {}
|
586
|
-
|
587
|
-
// Use the `is_subtype` predicate to test if a found type matches
|
588
|
-
// the expectation.
|
589
|
-
(MaybeType::Type(actual), expected) => {
|
590
|
-
if !self.resources.is_subtype(actual, expected) {
|
591
|
-
bail!(
|
592
|
-
self.offset,
|
593
|
-
"type mismatch: expected {}, found {}",
|
594
|
-
ty_to_str(expected),
|
595
|
-
ty_to_str(actual)
|
596
|
-
);
|
597
|
-
}
|
598
|
-
}
|
599
|
-
|
600
|
-
// A "heap bottom" type cannot match any numeric types.
|
601
|
-
(
|
602
|
-
MaybeType::HeapBot,
|
603
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128,
|
604
|
-
) => {
|
605
|
-
bail!(
|
606
|
-
self.offset,
|
607
|
-
"type mismatch: expected {}, found heap type",
|
608
|
-
ty_to_str(expected)
|
609
|
-
)
|
610
|
-
}
|
611
|
-
}
|
612
|
-
}
|
613
|
-
Ok(actual)
|
614
|
-
}
|
615
|
-
|
616
|
-
fn pop_ref(&mut self) -> Result<Option<RefType>> {
|
617
|
-
match self.pop_operand(None)? {
|
618
|
-
MaybeType::Bot | MaybeType::HeapBot => Ok(None),
|
619
|
-
MaybeType::Type(ValType::Ref(rt)) => Ok(Some(rt)),
|
620
|
-
MaybeType::Type(ty) => bail!(
|
621
|
-
self.offset,
|
622
|
-
"type mismatch: expected ref but found {}",
|
623
|
-
ty_to_str(ty)
|
624
|
-
),
|
625
|
-
}
|
626
|
-
}
|
627
|
-
|
628
|
-
/// Fetches the type for the local at `idx`, returning an error if it's out
|
629
|
-
/// of bounds.
|
630
|
-
fn local(&self, idx: u32) -> Result<ValType> {
|
631
|
-
match self.locals.get(idx) {
|
632
|
-
Some(ty) => Ok(ty),
|
633
|
-
None => bail!(
|
634
|
-
self.offset,
|
635
|
-
"unknown local {}: local index out of bounds",
|
636
|
-
idx
|
637
|
-
),
|
638
|
-
}
|
639
|
-
}
|
640
|
-
|
641
|
-
/// Flags the current control frame as unreachable, additionally truncating
|
642
|
-
/// the currently active operand stack.
|
643
|
-
fn unreachable(&mut self) -> Result<()> {
|
644
|
-
let control = match self.control.last_mut() {
|
645
|
-
Some(frame) => frame,
|
646
|
-
None => return Err(self.err_beyond_end(self.offset)),
|
647
|
-
};
|
648
|
-
control.unreachable = true;
|
649
|
-
let new_height = control.height;
|
650
|
-
self.operands.truncate(new_height);
|
651
|
-
Ok(())
|
652
|
-
}
|
653
|
-
|
654
|
-
/// Pushes a new frame onto the control stack.
|
655
|
-
///
|
656
|
-
/// This operation is used when entering a new block such as an if, loop,
|
657
|
-
/// or block itself. The `kind` of block is specified which indicates how
|
658
|
-
/// breaks interact with this block's type. Additionally the type signature
|
659
|
-
/// of the block is specified by `ty`.
|
660
|
-
fn push_ctrl(&mut self, kind: FrameKind, ty: BlockType) -> Result<()> {
|
661
|
-
// Push a new frame which has a snapshot of the height of the current
|
662
|
-
// operand stack.
|
663
|
-
let height = self.operands.len();
|
664
|
-
let init_height = self.inits.len();
|
665
|
-
self.control.push(Frame {
|
666
|
-
kind,
|
667
|
-
block_type: ty,
|
668
|
-
height,
|
669
|
-
unreachable: false,
|
670
|
-
init_height,
|
671
|
-
});
|
672
|
-
// All of the parameters are now also available in this control frame,
|
673
|
-
// so we push them here in order.
|
674
|
-
for ty in self.params(ty)? {
|
675
|
-
self.push_operand(ty)?;
|
676
|
-
}
|
677
|
-
Ok(())
|
678
|
-
}
|
679
|
-
|
680
|
-
/// Pops a frame from the control stack.
|
681
|
-
///
|
682
|
-
/// This function is used when exiting a block and leaves a block scope.
|
683
|
-
/// Internally this will validate that blocks have the correct result type.
|
684
|
-
fn pop_ctrl(&mut self) -> Result<Frame> {
|
685
|
-
// Read the expected type and expected height of the operand stack the
|
686
|
-
// end of the frame.
|
687
|
-
let frame = match self.control.last() {
|
688
|
-
Some(f) => f,
|
689
|
-
None => return Err(self.err_beyond_end(self.offset)),
|
690
|
-
};
|
691
|
-
let ty = frame.block_type;
|
692
|
-
let height = frame.height;
|
693
|
-
let init_height = frame.init_height;
|
694
|
-
|
695
|
-
// reset_locals in the spec
|
696
|
-
for init in self.inits.split_off(init_height) {
|
697
|
-
self.local_inits[init as usize] = false;
|
698
|
-
}
|
699
|
-
|
700
|
-
// Pop all the result types, in reverse order, from the operand stack.
|
701
|
-
// These types will, possibly, be transferred to the next frame.
|
702
|
-
for ty in self.results(ty)?.rev() {
|
703
|
-
self.pop_operand(Some(ty))?;
|
704
|
-
}
|
705
|
-
|
706
|
-
// Make sure that the operand stack has returned to is original
|
707
|
-
// height...
|
708
|
-
if self.operands.len() != height {
|
709
|
-
bail!(
|
710
|
-
self.offset,
|
711
|
-
"type mismatch: values remaining on stack at end of block"
|
712
|
-
);
|
713
|
-
}
|
714
|
-
|
715
|
-
// And then we can remove it!
|
716
|
-
Ok(self.control.pop().unwrap())
|
717
|
-
}
|
718
|
-
|
719
|
-
/// Validates a relative jump to the `depth` specified.
|
720
|
-
///
|
721
|
-
/// Returns the type signature of the block that we're jumping to as well
|
722
|
-
/// as the kind of block if the jump is valid. Otherwise returns an error.
|
723
|
-
fn jump(&self, depth: u32) -> Result<(BlockType, FrameKind)> {
|
724
|
-
if self.control.is_empty() {
|
725
|
-
return Err(self.err_beyond_end(self.offset));
|
726
|
-
}
|
727
|
-
match (self.control.len() - 1).checked_sub(depth as usize) {
|
728
|
-
Some(i) => {
|
729
|
-
let frame = &self.control[i];
|
730
|
-
Ok((frame.block_type, frame.kind))
|
731
|
-
}
|
732
|
-
None => bail!(self.offset, "unknown label: branch depth too large"),
|
733
|
-
}
|
734
|
-
}
|
735
|
-
|
736
|
-
/// Validates that `memory_index` is valid in this module, and returns the
|
737
|
-
/// type of address used to index the memory specified.
|
738
|
-
fn check_memory_index(&self, memory_index: u32) -> Result<ValType> {
|
739
|
-
match self.resources.memory_at(memory_index) {
|
740
|
-
Some(mem) => Ok(mem.index_type()),
|
741
|
-
None => bail!(self.offset, "unknown memory {}", memory_index),
|
742
|
-
}
|
743
|
-
}
|
744
|
-
|
745
|
-
/// Validates a `memarg for alignment and such (also the memory it
|
746
|
-
/// references), and returns the type of index used to address the memory.
|
747
|
-
fn check_memarg(&self, memarg: MemArg) -> Result<ValType> {
|
748
|
-
let index_ty = self.check_memory_index(memarg.memory)?;
|
749
|
-
if memarg.align > memarg.max_align {
|
750
|
-
bail!(
|
751
|
-
self.offset,
|
752
|
-
"malformed memop flags: alignment must not be larger than natural"
|
753
|
-
);
|
754
|
-
}
|
755
|
-
if index_ty == ValType::I32 && memarg.offset > u64::from(u32::MAX) {
|
756
|
-
bail!(self.offset, "offset out of range: must be <= 2**32");
|
757
|
-
}
|
758
|
-
Ok(index_ty)
|
759
|
-
}
|
760
|
-
|
761
|
-
fn check_floats_enabled(&self) -> Result<()> {
|
762
|
-
if !self.features.floats() {
|
763
|
-
bail!(self.offset, "floating-point instruction disallowed");
|
764
|
-
}
|
765
|
-
Ok(())
|
766
|
-
}
|
767
|
-
|
768
|
-
fn check_shared_memarg(&self, memarg: MemArg) -> Result<ValType> {
|
769
|
-
if memarg.align != memarg.max_align {
|
770
|
-
bail!(
|
771
|
-
self.offset,
|
772
|
-
"atomic instructions must always specify maximum alignment"
|
773
|
-
);
|
774
|
-
}
|
775
|
-
self.check_memory_index(memarg.memory)
|
776
|
-
}
|
777
|
-
|
778
|
-
fn check_simd_lane_index(&self, index: u8, max: u8) -> Result<()> {
|
779
|
-
if index >= max {
|
780
|
-
bail!(self.offset, "SIMD index out of bounds");
|
781
|
-
}
|
782
|
-
Ok(())
|
783
|
-
}
|
784
|
-
|
785
|
-
/// Validates a block type, primarily with various in-flight proposals.
|
786
|
-
fn check_block_type(&self, ty: &mut BlockType) -> Result<()> {
|
787
|
-
match ty {
|
788
|
-
BlockType::Empty => Ok(()),
|
789
|
-
BlockType::Type(t) => self
|
790
|
-
.resources
|
791
|
-
.check_value_type(t, &self.features, self.offset),
|
792
|
-
BlockType::FuncType(idx) => {
|
793
|
-
if !self.features.multi_value() {
|
794
|
-
bail!(
|
795
|
-
self.offset,
|
796
|
-
"blocks, loops, and ifs may only produce a resulttype \
|
797
|
-
when multi-value is not enabled",
|
798
|
-
);
|
799
|
-
}
|
800
|
-
self.func_type_at(*idx)?;
|
801
|
-
Ok(())
|
802
|
-
}
|
803
|
-
}
|
804
|
-
}
|
805
|
-
|
806
|
-
/// Returns the corresponding function type for the `func` item located at
|
807
|
-
/// `function_index`.
|
808
|
-
fn type_of_function(&self, function_index: u32) -> Result<&'resources FuncType> {
|
809
|
-
match self.resources.type_of_function(function_index) {
|
810
|
-
Some(f) => Ok(f),
|
811
|
-
None => {
|
812
|
-
bail!(
|
813
|
-
self.offset,
|
814
|
-
"unknown function {function_index}: function index out of bounds",
|
815
|
-
)
|
816
|
-
}
|
817
|
-
}
|
818
|
-
}
|
819
|
-
|
820
|
-
/// Checks a call-style instruction which will be invoking the function `ty`
|
821
|
-
/// specified.
|
822
|
-
///
|
823
|
-
/// This will pop parameters from the operand stack for the function's
|
824
|
-
/// parameters and then push the results of the function on the stack.
|
825
|
-
fn check_call_ty(&mut self, ty: &FuncType) -> Result<()> {
|
826
|
-
for &ty in ty.params().iter().rev() {
|
827
|
-
debug_assert_type_indices_are_ids(ty);
|
828
|
-
self.pop_operand(Some(ty))?;
|
829
|
-
}
|
830
|
-
for &ty in ty.results() {
|
831
|
-
debug_assert_type_indices_are_ids(ty);
|
832
|
-
self.push_operand(ty)?;
|
833
|
-
}
|
834
|
-
Ok(())
|
835
|
-
}
|
836
|
-
|
837
|
-
/// Similar to `check_call_ty` except used for tail-call instructions.
|
838
|
-
fn check_return_call_ty(&mut self, ty: &FuncType) -> Result<()> {
|
839
|
-
self.check_func_type_same_results(ty)?;
|
840
|
-
self.check_call_ty(ty)?;
|
841
|
-
self.check_return()
|
842
|
-
}
|
843
|
-
|
844
|
-
/// Checks the immediate `type_index` of a `call_ref`-style instruction
|
845
|
-
/// (also `return_call_ref`).
|
846
|
-
///
|
847
|
-
/// This will validate that the value on the stack is a `(ref type_index)`
|
848
|
-
/// or a subtype. This will then return the corresponding function type used
|
849
|
-
/// for this call (to be used with `check_call_ty` or
|
850
|
-
/// `check_return_call_ty`).
|
851
|
-
fn check_call_ref_ty(&mut self, type_index: u32) -> Result<&'resources FuncType> {
|
852
|
-
let unpacked_index = UnpackedIndex::Module(type_index);
|
853
|
-
let mut hty = HeapType::Concrete(unpacked_index);
|
854
|
-
self.resources.check_heap_type(&mut hty, self.offset)?;
|
855
|
-
// If `None` is popped then that means a "bottom" type was popped which
|
856
|
-
// is always considered equivalent to the `hty` tag.
|
857
|
-
if let Some(rt) = self.pop_ref()? {
|
858
|
-
let expected = RefType::new(true, hty).expect("hty should be previously validated");
|
859
|
-
let expected = ValType::Ref(expected);
|
860
|
-
if !self.resources.is_subtype(ValType::Ref(rt), expected) {
|
861
|
-
bail!(
|
862
|
-
self.offset,
|
863
|
-
"type mismatch: funcref on stack does not match specified type",
|
864
|
-
);
|
865
|
-
}
|
866
|
-
}
|
867
|
-
self.func_type_at(type_index)
|
868
|
-
}
|
869
|
-
|
870
|
-
/// Validates the immediate operands of a `call_indirect` or
|
871
|
-
/// `return_call_indirect` instruction.
|
872
|
-
///
|
873
|
-
/// This will validate that `table_index` is valid and a funcref table. It
|
874
|
-
/// will additionally pop the index argument which is used to index into the
|
875
|
-
/// table.
|
876
|
-
///
|
877
|
-
/// The return value of this function is the function type behind
|
878
|
-
/// `type_index` which must then be passedt o `check_{call,return_call}_ty`.
|
879
|
-
fn check_call_indirect_ty(
|
880
|
-
&mut self,
|
881
|
-
type_index: u32,
|
882
|
-
table_index: u32,
|
883
|
-
) -> Result<&'resources FuncType> {
|
884
|
-
let tab = self.table_type_at(table_index)?;
|
885
|
-
if !self
|
886
|
-
.resources
|
887
|
-
.is_subtype(ValType::Ref(tab.element_type), ValType::FUNCREF)
|
888
|
-
{
|
889
|
-
bail!(
|
890
|
-
self.offset,
|
891
|
-
"indirect calls must go through a table with type <= funcref",
|
892
|
-
);
|
893
|
-
}
|
894
|
-
self.pop_operand(Some(tab.index_type()))?;
|
895
|
-
self.func_type_at(type_index)
|
896
|
-
}
|
897
|
-
|
898
|
-
/// Validates a `return` instruction, popping types from the operand
|
899
|
-
/// stack that the function needs.
|
900
|
-
fn check_return(&mut self) -> Result<()> {
|
901
|
-
if self.control.is_empty() {
|
902
|
-
return Err(self.err_beyond_end(self.offset));
|
903
|
-
}
|
904
|
-
for ty in self.results(self.control[0].block_type)?.rev() {
|
905
|
-
self.pop_operand(Some(ty))?;
|
906
|
-
}
|
907
|
-
self.unreachable()?;
|
908
|
-
Ok(())
|
909
|
-
}
|
910
|
-
|
911
|
-
/// Check that the given type has the same result types as the current
|
912
|
-
/// function's results.
|
913
|
-
fn check_func_type_same_results(&self, callee_ty: &FuncType) -> Result<()> {
|
914
|
-
if self.control.is_empty() {
|
915
|
-
return Err(self.err_beyond_end(self.offset));
|
916
|
-
}
|
917
|
-
let caller_rets = self.results(self.control[0].block_type)?;
|
918
|
-
if callee_ty.results().len() != caller_rets.len()
|
919
|
-
|| !caller_rets
|
920
|
-
.zip(callee_ty.results())
|
921
|
-
.all(|(caller_ty, callee_ty)| self.resources.is_subtype(*callee_ty, caller_ty))
|
922
|
-
{
|
923
|
-
let caller_rets = self
|
924
|
-
.results(self.control[0].block_type)?
|
925
|
-
.map(|ty| format!("{ty}"))
|
926
|
-
.collect::<Vec<_>>()
|
927
|
-
.join(" ");
|
928
|
-
let callee_rets = callee_ty
|
929
|
-
.results()
|
930
|
-
.iter()
|
931
|
-
.map(|ty| format!("{ty}"))
|
932
|
-
.collect::<Vec<_>>()
|
933
|
-
.join(" ");
|
934
|
-
bail!(
|
935
|
-
self.offset,
|
936
|
-
"type mismatch: current function requires result type \
|
937
|
-
[{caller_rets}] but callee returns [{callee_rets}]"
|
938
|
-
);
|
939
|
-
}
|
940
|
-
Ok(())
|
941
|
-
}
|
942
|
-
|
943
|
-
/// Checks the validity of a common comparison operator.
|
944
|
-
fn check_cmp_op(&mut self, ty: ValType) -> Result<()> {
|
945
|
-
self.pop_operand(Some(ty))?;
|
946
|
-
self.pop_operand(Some(ty))?;
|
947
|
-
self.push_operand(ValType::I32)?;
|
948
|
-
Ok(())
|
949
|
-
}
|
950
|
-
|
951
|
-
/// Checks the validity of a common float comparison operator.
|
952
|
-
fn check_fcmp_op(&mut self, ty: ValType) -> Result<()> {
|
953
|
-
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
954
|
-
self.check_floats_enabled()?;
|
955
|
-
self.check_cmp_op(ty)
|
956
|
-
}
|
957
|
-
|
958
|
-
/// Checks the validity of a common unary operator.
|
959
|
-
fn check_unary_op(&mut self, ty: ValType) -> Result<()> {
|
960
|
-
self.pop_operand(Some(ty))?;
|
961
|
-
self.push_operand(ty)?;
|
962
|
-
Ok(())
|
963
|
-
}
|
964
|
-
|
965
|
-
/// Checks the validity of a common unary float operator.
|
966
|
-
fn check_funary_op(&mut self, ty: ValType) -> Result<()> {
|
967
|
-
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
968
|
-
self.check_floats_enabled()?;
|
969
|
-
self.check_unary_op(ty)
|
970
|
-
}
|
971
|
-
|
972
|
-
/// Checks the validity of a common conversion operator.
|
973
|
-
fn check_conversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
|
974
|
-
self.pop_operand(Some(from))?;
|
975
|
-
self.push_operand(into)?;
|
976
|
-
Ok(())
|
977
|
-
}
|
978
|
-
|
979
|
-
/// Checks the validity of a common float conversion operator.
|
980
|
-
fn check_fconversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
|
981
|
-
debug_assert!(matches!(into, ValType::F32 | ValType::F64));
|
982
|
-
self.check_floats_enabled()?;
|
983
|
-
self.check_conversion_op(into, from)
|
984
|
-
}
|
985
|
-
|
986
|
-
/// Checks the validity of a common binary operator.
|
987
|
-
fn check_binary_op(&mut self, ty: ValType) -> Result<()> {
|
988
|
-
self.pop_operand(Some(ty))?;
|
989
|
-
self.pop_operand(Some(ty))?;
|
990
|
-
self.push_operand(ty)?;
|
991
|
-
Ok(())
|
992
|
-
}
|
993
|
-
|
994
|
-
/// Checks the validity of a common binary float operator.
|
995
|
-
fn check_fbinary_op(&mut self, ty: ValType) -> Result<()> {
|
996
|
-
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
997
|
-
self.check_floats_enabled()?;
|
998
|
-
self.check_binary_op(ty)
|
999
|
-
}
|
1000
|
-
|
1001
|
-
/// Checks the validity of an atomic load operator.
|
1002
|
-
fn check_atomic_load(&mut self, memarg: MemArg, load_ty: ValType) -> Result<()> {
|
1003
|
-
let ty = self.check_shared_memarg(memarg)?;
|
1004
|
-
self.pop_operand(Some(ty))?;
|
1005
|
-
self.push_operand(load_ty)?;
|
1006
|
-
Ok(())
|
1007
|
-
}
|
1008
|
-
|
1009
|
-
/// Checks the validity of an atomic store operator.
|
1010
|
-
fn check_atomic_store(&mut self, memarg: MemArg, store_ty: ValType) -> Result<()> {
|
1011
|
-
let ty = self.check_shared_memarg(memarg)?;
|
1012
|
-
self.pop_operand(Some(store_ty))?;
|
1013
|
-
self.pop_operand(Some(ty))?;
|
1014
|
-
Ok(())
|
1015
|
-
}
|
1016
|
-
|
1017
|
-
/// Checks the validity of atomic binary operator on memory.
|
1018
|
-
fn check_atomic_binary_memory_op(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
|
1019
|
-
let ty = self.check_shared_memarg(memarg)?;
|
1020
|
-
self.pop_operand(Some(op_ty))?;
|
1021
|
-
self.pop_operand(Some(ty))?;
|
1022
|
-
self.push_operand(op_ty)?;
|
1023
|
-
Ok(())
|
1024
|
-
}
|
1025
|
-
|
1026
|
-
/// Checks the validity of an atomic compare exchange operator on memories.
|
1027
|
-
fn check_atomic_binary_memory_cmpxchg(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
|
1028
|
-
let ty = self.check_shared_memarg(memarg)?;
|
1029
|
-
self.pop_operand(Some(op_ty))?;
|
1030
|
-
self.pop_operand(Some(op_ty))?;
|
1031
|
-
self.pop_operand(Some(ty))?;
|
1032
|
-
self.push_operand(op_ty)?;
|
1033
|
-
Ok(())
|
1034
|
-
}
|
1035
|
-
|
1036
|
-
/// Checks a [`V128`] splat operator.
|
1037
|
-
fn check_v128_splat(&mut self, src_ty: ValType) -> Result<()> {
|
1038
|
-
self.pop_operand(Some(src_ty))?;
|
1039
|
-
self.push_operand(ValType::V128)?;
|
1040
|
-
Ok(())
|
1041
|
-
}
|
1042
|
-
|
1043
|
-
/// Checks a [`V128`] binary operator.
|
1044
|
-
fn check_v128_binary_op(&mut self) -> Result<()> {
|
1045
|
-
self.pop_operand(Some(ValType::V128))?;
|
1046
|
-
self.pop_operand(Some(ValType::V128))?;
|
1047
|
-
self.push_operand(ValType::V128)?;
|
1048
|
-
Ok(())
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
/// Checks a [`V128`] binary float operator.
|
1052
|
-
fn check_v128_fbinary_op(&mut self) -> Result<()> {
|
1053
|
-
self.check_floats_enabled()?;
|
1054
|
-
self.check_v128_binary_op()
|
1055
|
-
}
|
1056
|
-
|
1057
|
-
/// Checks a [`V128`] unary operator.
|
1058
|
-
fn check_v128_unary_op(&mut self) -> Result<()> {
|
1059
|
-
self.pop_operand(Some(ValType::V128))?;
|
1060
|
-
self.push_operand(ValType::V128)?;
|
1061
|
-
Ok(())
|
1062
|
-
}
|
1063
|
-
|
1064
|
-
/// Checks a [`V128`] unary float operator.
|
1065
|
-
fn check_v128_funary_op(&mut self) -> Result<()> {
|
1066
|
-
self.check_floats_enabled()?;
|
1067
|
-
self.check_v128_unary_op()
|
1068
|
-
}
|
1069
|
-
|
1070
|
-
/// Checks a [`V128`] relaxed ternary operator.
|
1071
|
-
fn check_v128_ternary_op(&mut self) -> Result<()> {
|
1072
|
-
self.pop_operand(Some(ValType::V128))?;
|
1073
|
-
self.pop_operand(Some(ValType::V128))?;
|
1074
|
-
self.pop_operand(Some(ValType::V128))?;
|
1075
|
-
self.push_operand(ValType::V128)?;
|
1076
|
-
Ok(())
|
1077
|
-
}
|
1078
|
-
|
1079
|
-
/// Checks a [`V128`] test operator.
|
1080
|
-
fn check_v128_bitmask_op(&mut self) -> Result<()> {
|
1081
|
-
self.pop_operand(Some(ValType::V128))?;
|
1082
|
-
self.push_operand(ValType::I32)?;
|
1083
|
-
Ok(())
|
1084
|
-
}
|
1085
|
-
|
1086
|
-
/// Checks a [`V128`] shift operator.
|
1087
|
-
fn check_v128_shift_op(&mut self) -> Result<()> {
|
1088
|
-
self.pop_operand(Some(ValType::I32))?;
|
1089
|
-
self.pop_operand(Some(ValType::V128))?;
|
1090
|
-
self.push_operand(ValType::V128)?;
|
1091
|
-
Ok(())
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
/// Checks a [`V128`] common load operator.
|
1095
|
-
fn check_v128_load_op(&mut self, memarg: MemArg) -> Result<()> {
|
1096
|
-
let idx = self.check_memarg(memarg)?;
|
1097
|
-
self.pop_operand(Some(idx))?;
|
1098
|
-
self.push_operand(ValType::V128)?;
|
1099
|
-
Ok(())
|
1100
|
-
}
|
1101
|
-
|
1102
|
-
/// Common helper for `ref.test` and `ref.cast` downcasting/checking
|
1103
|
-
/// instructions. Returns the given `heap_type` as a `ValType`.
|
1104
|
-
fn check_downcast(
|
1105
|
-
&mut self,
|
1106
|
-
nullable: bool,
|
1107
|
-
mut heap_type: HeapType,
|
1108
|
-
inst_name: &str,
|
1109
|
-
) -> Result<ValType> {
|
1110
|
-
self.resources
|
1111
|
-
.check_heap_type(&mut heap_type, self.offset)?;
|
1112
|
-
|
1113
|
-
let sub_ty = RefType::new(nullable, heap_type)
|
1114
|
-
.map(ValType::from)
|
1115
|
-
.ok_or_else(|| {
|
1116
|
-
BinaryReaderError::new("implementation limit: type index too large", self.offset)
|
1117
|
-
})?;
|
1118
|
-
|
1119
|
-
let sup_ty = self.pop_ref()?.unwrap_or_else(|| {
|
1120
|
-
sub_ty
|
1121
|
-
.as_reference_type()
|
1122
|
-
.expect("we created this as a reference just above")
|
1123
|
-
});
|
1124
|
-
let sup_ty = RefType::new(true, self.resources.top_type(&sup_ty.heap_type()))
|
1125
|
-
.expect("can't panic with non-concrete heap types");
|
1126
|
-
|
1127
|
-
if !self.resources.is_subtype(sub_ty, sup_ty.into()) {
|
1128
|
-
bail!(
|
1129
|
-
self.offset,
|
1130
|
-
"{inst_name}'s heap type must be a sub type of the type on the stack: \
|
1131
|
-
{sub_ty} is not a sub type of {sup_ty}"
|
1132
|
-
);
|
1133
|
-
}
|
1134
|
-
|
1135
|
-
Ok(sub_ty)
|
1136
|
-
}
|
1137
|
-
|
1138
|
-
/// Common helper for both nullable and non-nullable variants of `ref.test`
|
1139
|
-
/// instructions.
|
1140
|
-
fn check_ref_test(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
|
1141
|
-
self.check_downcast(nullable, heap_type, "ref.test")?;
|
1142
|
-
self.push_operand(ValType::I32)
|
1143
|
-
}
|
1144
|
-
|
1145
|
-
/// Common helper for both nullable and non-nullable variants of `ref.cast`
|
1146
|
-
/// instructions.
|
1147
|
-
fn check_ref_cast(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
|
1148
|
-
let sub_ty = self.check_downcast(nullable, heap_type, "ref.cast")?;
|
1149
|
-
self.push_operand(sub_ty)
|
1150
|
-
}
|
1151
|
-
|
1152
|
-
/// Common helper for checking the types of globals accessed with atomic RMW
|
1153
|
-
/// instructions, which only allow `i32` and `i64`.
|
1154
|
-
fn check_atomic_global_rmw_ty(&self, global_index: u32) -> Result<ValType> {
|
1155
|
-
let ty = self.global_type_at(global_index)?.content_type;
|
1156
|
-
if !(ty == ValType::I32 || ty == ValType::I64) {
|
1157
|
-
bail!(
|
1158
|
-
self.offset,
|
1159
|
-
"invalid type: `global.atomic.rmw.*` only allows `i32` and `i64`"
|
1160
|
-
);
|
1161
|
-
}
|
1162
|
-
Ok(ty)
|
1163
|
-
}
|
1164
|
-
|
1165
|
-
/// Common helper for checking the types of structs accessed with atomic RMW
|
1166
|
-
/// instructions, which only allow `i32` and `i64` types.
|
1167
|
-
fn check_struct_atomic_rmw(
|
1168
|
-
&mut self,
|
1169
|
-
op: &'static str,
|
1170
|
-
struct_type_index: u32,
|
1171
|
-
field_index: u32,
|
1172
|
-
) -> Result<()> {
|
1173
|
-
let ty = self
|
1174
|
-
.struct_field_at(struct_type_index, field_index)?
|
1175
|
-
.element_type;
|
1176
|
-
let field_ty = match ty {
|
1177
|
-
StorageType::Val(ValType::I32) => ValType::I32,
|
1178
|
-
StorageType::Val(ValType::I64) => ValType::I64,
|
1179
|
-
_ => bail!(
|
1180
|
-
self.offset,
|
1181
|
-
"invalid type: `struct.atomic.rmw.{}` only allows `i32` and `i64`",
|
1182
|
-
op
|
1183
|
-
),
|
1184
|
-
};
|
1185
|
-
self.pop_operand(Some(field_ty))?;
|
1186
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
1187
|
-
self.push_operand(field_ty)?;
|
1188
|
-
Ok(())
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
/// Common helper for checking the types of arrays accessed with atomic RMW
|
1192
|
-
/// instructions, which only allow `i32` and `i64`.
|
1193
|
-
fn check_array_atomic_rmw(&mut self, op: &'static str, type_index: u32) -> Result<()> {
|
1194
|
-
let ty = self.array_type_at(type_index)?.0.element_type;
|
1195
|
-
let elem_ty = match ty {
|
1196
|
-
StorageType::Val(ValType::I32) => ValType::I32,
|
1197
|
-
StorageType::Val(ValType::I64) => ValType::I64,
|
1198
|
-
_ => bail!(
|
1199
|
-
self.offset,
|
1200
|
-
"invalid type: `array.atomic.rmw.{}` only allows `i32` and `i64`",
|
1201
|
-
op
|
1202
|
-
),
|
1203
|
-
};
|
1204
|
-
self.pop_operand(Some(elem_ty))?;
|
1205
|
-
self.pop_operand(Some(ValType::I32))?;
|
1206
|
-
self.pop_concrete_ref(true, type_index)?;
|
1207
|
-
self.push_operand(elem_ty)?;
|
1208
|
-
Ok(())
|
1209
|
-
}
|
1210
|
-
|
1211
|
-
fn element_type_at(&self, elem_index: u32) -> Result<RefType> {
|
1212
|
-
match self.resources.element_type_at(elem_index) {
|
1213
|
-
Some(ty) => Ok(ty),
|
1214
|
-
None => bail!(
|
1215
|
-
self.offset,
|
1216
|
-
"unknown elem segment {}: segment index out of bounds",
|
1217
|
-
elem_index
|
1218
|
-
),
|
1219
|
-
}
|
1220
|
-
}
|
1221
|
-
|
1222
|
-
fn sub_type_at(&self, at: u32) -> Result<&'resources SubType> {
|
1223
|
-
self.resources
|
1224
|
-
.sub_type_at(at)
|
1225
|
-
.ok_or_else(|| format_err!(self.offset, "unknown type: type index out of bounds"))
|
1226
|
-
}
|
1227
|
-
|
1228
|
-
fn struct_type_at(&self, at: u32) -> Result<&'resources StructType> {
|
1229
|
-
let sub_ty = self.sub_type_at(at)?;
|
1230
|
-
if let CompositeInnerType::Struct(struct_ty) = &sub_ty.composite_type.inner {
|
1231
|
-
Ok(struct_ty)
|
1232
|
-
} else {
|
1233
|
-
bail!(
|
1234
|
-
self.offset,
|
1235
|
-
"expected struct type at index {at}, found {sub_ty}"
|
1236
|
-
)
|
1237
|
-
}
|
1238
|
-
}
|
1239
|
-
|
1240
|
-
fn struct_field_at(&self, struct_type_index: u32, field_index: u32) -> Result<FieldType> {
|
1241
|
-
let field_index = usize::try_from(field_index).map_err(|_| {
|
1242
|
-
BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
|
1243
|
-
})?;
|
1244
|
-
self.struct_type_at(struct_type_index)?
|
1245
|
-
.fields
|
1246
|
-
.get(field_index)
|
1247
|
-
.copied()
|
1248
|
-
.ok_or_else(|| {
|
1249
|
-
BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
|
1250
|
-
})
|
1251
|
-
}
|
1252
|
-
|
1253
|
-
fn array_type_at(&self, at: u32) -> Result<&'resources ArrayType> {
|
1254
|
-
let sub_ty = self.sub_type_at(at)?;
|
1255
|
-
if let CompositeInnerType::Array(array_ty) = &sub_ty.composite_type.inner {
|
1256
|
-
Ok(array_ty)
|
1257
|
-
} else {
|
1258
|
-
bail!(
|
1259
|
-
self.offset,
|
1260
|
-
"expected array type at index {at}, found {sub_ty}"
|
1261
|
-
)
|
1262
|
-
}
|
1263
|
-
}
|
1264
|
-
|
1265
|
-
fn func_type_at(&self, at: u32) -> Result<&'resources FuncType> {
|
1266
|
-
let sub_ty = self.sub_type_at(at)?;
|
1267
|
-
if let CompositeInnerType::Func(func_ty) = &sub_ty.composite_type.inner {
|
1268
|
-
Ok(func_ty)
|
1269
|
-
} else {
|
1270
|
-
bail!(
|
1271
|
-
self.offset,
|
1272
|
-
"expected func type at index {at}, found {sub_ty}"
|
1273
|
-
)
|
1274
|
-
}
|
1275
|
-
}
|
1276
|
-
|
1277
|
-
fn tag_at(&self, at: u32) -> Result<&'resources FuncType> {
|
1278
|
-
self.resources
|
1279
|
-
.tag_at(at)
|
1280
|
-
.ok_or_else(|| format_err!(self.offset, "unknown tag {}: tag index out of bounds", at))
|
1281
|
-
}
|
1282
|
-
|
1283
|
-
fn global_type_at(&self, at: u32) -> Result<GlobalType> {
|
1284
|
-
if let Some(ty) = self.resources.global_at(at) {
|
1285
|
-
Ok(ty)
|
1286
|
-
} else {
|
1287
|
-
bail!(self.offset, "unknown global: global index out of bounds");
|
1288
|
-
}
|
1289
|
-
}
|
1290
|
-
|
1291
|
-
/// Validates that the `table` is valid and returns the type it points to.
|
1292
|
-
fn table_type_at(&self, table: u32) -> Result<TableType> {
|
1293
|
-
match self.resources.table_at(table) {
|
1294
|
-
Some(ty) => Ok(ty),
|
1295
|
-
None => bail!(
|
1296
|
-
self.offset,
|
1297
|
-
"unknown table {table}: table index out of bounds"
|
1298
|
-
),
|
1299
|
-
}
|
1300
|
-
}
|
1301
|
-
|
1302
|
-
fn params(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
1303
|
-
Ok(match ty {
|
1304
|
-
BlockType::Empty | BlockType::Type(_) => Either::B(None.into_iter()),
|
1305
|
-
BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.params().iter().copied()),
|
1306
|
-
})
|
1307
|
-
}
|
1308
|
-
|
1309
|
-
fn results(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
1310
|
-
Ok(match ty {
|
1311
|
-
BlockType::Empty => Either::B(None.into_iter()),
|
1312
|
-
BlockType::Type(t) => Either::B(Some(t).into_iter()),
|
1313
|
-
BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.results().iter().copied()),
|
1314
|
-
})
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
fn label_types(
|
1318
|
-
&self,
|
1319
|
-
ty: BlockType,
|
1320
|
-
kind: FrameKind,
|
1321
|
-
) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
1322
|
-
Ok(match kind {
|
1323
|
-
FrameKind::Loop => Either::A(self.params(ty)?),
|
1324
|
-
_ => Either::B(self.results(ty)?),
|
1325
|
-
})
|
1326
|
-
}
|
1327
|
-
}
|
1328
|
-
|
1329
|
-
pub fn ty_to_str(ty: ValType) -> &'static str {
|
1330
|
-
match ty {
|
1331
|
-
ValType::I32 => "i32",
|
1332
|
-
ValType::I64 => "i64",
|
1333
|
-
ValType::F32 => "f32",
|
1334
|
-
ValType::F64 => "f64",
|
1335
|
-
ValType::V128 => "v128",
|
1336
|
-
ValType::Ref(r) => r.wat(),
|
1337
|
-
}
|
1338
|
-
}
|
1339
|
-
|
1340
|
-
/// A wrapper "visitor" around the real operator validator internally which
|
1341
|
-
/// exists to check that the required wasm feature is enabled to proceed with
|
1342
|
-
/// validation.
|
1343
|
-
///
|
1344
|
-
/// This validator is macro-generated to ensure that the proposal listed in this
|
1345
|
-
/// crate's macro matches the one that's validated here. Each instruction's
|
1346
|
-
/// visit method validates the specified proposal is enabled and then delegates
|
1347
|
-
/// to `OperatorValidatorTemp` to perform the actual opcode validation.
|
1348
|
-
struct WasmProposalValidator<'validator, 'resources, T>(
|
1349
|
-
OperatorValidatorTemp<'validator, 'resources, T>,
|
1350
|
-
);
|
1351
|
-
|
1352
|
-
impl<T> WasmProposalValidator<'_, '_, T> {
|
1353
|
-
fn check_enabled(&self, flag: bool, desc: &str) -> Result<()> {
|
1354
|
-
if flag {
|
1355
|
-
return Ok(());
|
1356
|
-
}
|
1357
|
-
bail!(self.0.offset, "{desc} support is not enabled");
|
1358
|
-
}
|
1359
|
-
}
|
1360
|
-
|
1361
|
-
macro_rules! validate_proposal {
|
1362
|
-
($( @$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
|
1363
|
-
$(
|
1364
|
-
fn $visit(&mut self $($(,$arg: $argty)*)?) -> Result<()> {
|
1365
|
-
validate_proposal!(validate self $proposal);
|
1366
|
-
self.0.$visit($( $($arg),* )?)
|
1367
|
-
}
|
1368
|
-
)*
|
1369
|
-
};
|
1370
|
-
|
1371
|
-
(validate self mvp) => {};
|
1372
|
-
(validate $self:ident $proposal:ident) => {
|
1373
|
-
$self.check_enabled($self.0.features.$proposal(), validate_proposal!(desc $proposal))?
|
1374
|
-
};
|
1375
|
-
|
1376
|
-
(desc simd) => ("SIMD");
|
1377
|
-
(desc relaxed_simd) => ("relaxed SIMD");
|
1378
|
-
(desc threads) => ("threads");
|
1379
|
-
(desc shared_everything_threads) => ("shared-everything-threads");
|
1380
|
-
(desc saturating_float_to_int) => ("saturating float to int conversions");
|
1381
|
-
(desc reference_types) => ("reference types");
|
1382
|
-
(desc bulk_memory) => ("bulk memory");
|
1383
|
-
(desc sign_extension) => ("sign extension operations");
|
1384
|
-
(desc exceptions) => ("exceptions");
|
1385
|
-
(desc tail_call) => ("tail calls");
|
1386
|
-
(desc function_references) => ("function references");
|
1387
|
-
(desc memory_control) => ("memory control");
|
1388
|
-
(desc gc) => ("gc");
|
1389
|
-
(desc legacy_exceptions) => ("legacy exceptions");
|
1390
|
-
}
|
1391
|
-
|
1392
|
-
impl<'a, T> VisitOperator<'a> for WasmProposalValidator<'_, '_, T>
|
1393
|
-
where
|
1394
|
-
T: WasmModuleResources,
|
1395
|
-
{
|
1396
|
-
type Output = Result<()>;
|
1397
|
-
|
1398
|
-
for_each_operator!(validate_proposal);
|
1399
|
-
}
|
1400
|
-
|
1401
|
-
#[track_caller]
|
1402
|
-
#[inline]
|
1403
|
-
fn debug_assert_type_indices_are_ids(ty: ValType) {
|
1404
|
-
if cfg!(debug_assertions) {
|
1405
|
-
if let ValType::Ref(r) = ty {
|
1406
|
-
if let HeapType::Concrete(idx) = r.heap_type() {
|
1407
|
-
debug_assert!(
|
1408
|
-
matches!(idx, UnpackedIndex::Id(_)),
|
1409
|
-
"type reference should be a `CoreTypeId`, found {idx:?}"
|
1410
|
-
);
|
1411
|
-
}
|
1412
|
-
}
|
1413
|
-
}
|
1414
|
-
}
|
1415
|
-
|
1416
|
-
impl<'a, T> VisitOperator<'a> for OperatorValidatorTemp<'_, '_, T>
|
1417
|
-
where
|
1418
|
-
T: WasmModuleResources,
|
1419
|
-
{
|
1420
|
-
type Output = Result<()>;
|
1421
|
-
|
1422
|
-
fn visit_nop(&mut self) -> Self::Output {
|
1423
|
-
Ok(())
|
1424
|
-
}
|
1425
|
-
fn visit_unreachable(&mut self) -> Self::Output {
|
1426
|
-
self.unreachable()?;
|
1427
|
-
Ok(())
|
1428
|
-
}
|
1429
|
-
fn visit_block(&mut self, mut ty: BlockType) -> Self::Output {
|
1430
|
-
self.check_block_type(&mut ty)?;
|
1431
|
-
for ty in self.params(ty)?.rev() {
|
1432
|
-
self.pop_operand(Some(ty))?;
|
1433
|
-
}
|
1434
|
-
self.push_ctrl(FrameKind::Block, ty)?;
|
1435
|
-
Ok(())
|
1436
|
-
}
|
1437
|
-
fn visit_loop(&mut self, mut ty: BlockType) -> Self::Output {
|
1438
|
-
self.check_block_type(&mut ty)?;
|
1439
|
-
for ty in self.params(ty)?.rev() {
|
1440
|
-
self.pop_operand(Some(ty))?;
|
1441
|
-
}
|
1442
|
-
self.push_ctrl(FrameKind::Loop, ty)?;
|
1443
|
-
Ok(())
|
1444
|
-
}
|
1445
|
-
fn visit_if(&mut self, mut ty: BlockType) -> Self::Output {
|
1446
|
-
self.check_block_type(&mut ty)?;
|
1447
|
-
self.pop_operand(Some(ValType::I32))?;
|
1448
|
-
for ty in self.params(ty)?.rev() {
|
1449
|
-
self.pop_operand(Some(ty))?;
|
1450
|
-
}
|
1451
|
-
self.push_ctrl(FrameKind::If, ty)?;
|
1452
|
-
Ok(())
|
1453
|
-
}
|
1454
|
-
fn visit_else(&mut self) -> Self::Output {
|
1455
|
-
let frame = self.pop_ctrl()?;
|
1456
|
-
if frame.kind != FrameKind::If {
|
1457
|
-
bail!(self.offset, "else found outside of an `if` block");
|
1458
|
-
}
|
1459
|
-
self.push_ctrl(FrameKind::Else, frame.block_type)?;
|
1460
|
-
Ok(())
|
1461
|
-
}
|
1462
|
-
fn visit_try_table(&mut self, mut ty: TryTable) -> Self::Output {
|
1463
|
-
self.check_block_type(&mut ty.ty)?;
|
1464
|
-
for ty in self.params(ty.ty)?.rev() {
|
1465
|
-
self.pop_operand(Some(ty))?;
|
1466
|
-
}
|
1467
|
-
for catch in ty.catches {
|
1468
|
-
match catch {
|
1469
|
-
Catch::One { tag, label } => {
|
1470
|
-
let tag = self.tag_at(tag)?;
|
1471
|
-
let (ty, kind) = self.jump(label)?;
|
1472
|
-
let params = tag.params();
|
1473
|
-
let types = self.label_types(ty, kind)?;
|
1474
|
-
if params.len() != types.len() {
|
1475
|
-
bail!(
|
1476
|
-
self.offset,
|
1477
|
-
"type mismatch: catch label must have same number of types as tag"
|
1478
|
-
);
|
1479
|
-
}
|
1480
|
-
for (expected, actual) in types.zip(params) {
|
1481
|
-
self.push_operand(*actual)?;
|
1482
|
-
self.pop_operand(Some(expected))?;
|
1483
|
-
}
|
1484
|
-
}
|
1485
|
-
Catch::OneRef { tag, label } => {
|
1486
|
-
let tag = self.tag_at(tag)?;
|
1487
|
-
let (ty, kind) = self.jump(label)?;
|
1488
|
-
let tag_params = tag.params().iter().copied();
|
1489
|
-
let label_types = self.label_types(ty, kind)?;
|
1490
|
-
if tag_params.len() + 1 != label_types.len() {
|
1491
|
-
bail!(
|
1492
|
-
self.offset,
|
1493
|
-
"type mismatch: catch_ref label must have one \
|
1494
|
-
more type than tag types",
|
1495
|
-
);
|
1496
|
-
}
|
1497
|
-
for (expected_label_tyep, actual_tag_param) in
|
1498
|
-
label_types.zip(tag_params.chain([ValType::EXNREF]))
|
1499
|
-
{
|
1500
|
-
self.push_operand(actual_tag_param)?;
|
1501
|
-
self.pop_operand(Some(expected_label_tyep))?;
|
1502
|
-
}
|
1503
|
-
}
|
1504
|
-
|
1505
|
-
Catch::All { label } => {
|
1506
|
-
let (ty, kind) = self.jump(label)?;
|
1507
|
-
if self.label_types(ty, kind)?.len() != 0 {
|
1508
|
-
bail!(
|
1509
|
-
self.offset,
|
1510
|
-
"type mismatch: catch_all label must have no result types"
|
1511
|
-
);
|
1512
|
-
}
|
1513
|
-
}
|
1514
|
-
|
1515
|
-
Catch::AllRef { label } => {
|
1516
|
-
let (ty, kind) = self.jump(label)?;
|
1517
|
-
let mut types = self.label_types(ty, kind)?;
|
1518
|
-
match (types.next(), types.next()) {
|
1519
|
-
(Some(ValType::EXNREF), None) => {}
|
1520
|
-
_ => {
|
1521
|
-
bail!(
|
1522
|
-
self.offset,
|
1523
|
-
"type mismatch: catch_all_ref label must have \
|
1524
|
-
one exnref result type"
|
1525
|
-
);
|
1526
|
-
}
|
1527
|
-
}
|
1528
|
-
}
|
1529
|
-
}
|
1530
|
-
}
|
1531
|
-
self.push_ctrl(FrameKind::TryTable, ty.ty)?;
|
1532
|
-
Ok(())
|
1533
|
-
}
|
1534
|
-
fn visit_throw(&mut self, index: u32) -> Self::Output {
|
1535
|
-
// Check values associated with the exception.
|
1536
|
-
let ty = self.tag_at(index)?;
|
1537
|
-
for ty in ty.clone().params().iter().rev() {
|
1538
|
-
self.pop_operand(Some(*ty))?;
|
1539
|
-
}
|
1540
|
-
if ty.results().len() > 0 {
|
1541
|
-
bail!(
|
1542
|
-
self.offset,
|
1543
|
-
"result type expected to be empty for exception"
|
1544
|
-
);
|
1545
|
-
}
|
1546
|
-
self.unreachable()?;
|
1547
|
-
Ok(())
|
1548
|
-
}
|
1549
|
-
fn visit_throw_ref(&mut self) -> Self::Output {
|
1550
|
-
self.pop_operand(Some(ValType::EXNREF))?;
|
1551
|
-
self.unreachable()?;
|
1552
|
-
Ok(())
|
1553
|
-
}
|
1554
|
-
fn visit_end(&mut self) -> Self::Output {
|
1555
|
-
let mut frame = self.pop_ctrl()?;
|
1556
|
-
|
1557
|
-
// Note that this `if` isn't included in the appendix right
|
1558
|
-
// now, but it's used to allow for `if` statements that are
|
1559
|
-
// missing an `else` block which have the same parameter/return
|
1560
|
-
// types on the block (since that's valid).
|
1561
|
-
if frame.kind == FrameKind::If {
|
1562
|
-
self.push_ctrl(FrameKind::Else, frame.block_type)?;
|
1563
|
-
frame = self.pop_ctrl()?;
|
1564
|
-
}
|
1565
|
-
for ty in self.results(frame.block_type)? {
|
1566
|
-
self.push_operand(ty)?;
|
1567
|
-
}
|
1568
|
-
|
1569
|
-
if self.control.is_empty() && self.end_which_emptied_control.is_none() {
|
1570
|
-
assert_ne!(self.offset, 0);
|
1571
|
-
self.end_which_emptied_control = Some(self.offset);
|
1572
|
-
}
|
1573
|
-
Ok(())
|
1574
|
-
}
|
1575
|
-
fn visit_br(&mut self, relative_depth: u32) -> Self::Output {
|
1576
|
-
let (ty, kind) = self.jump(relative_depth)?;
|
1577
|
-
for ty in self.label_types(ty, kind)?.rev() {
|
1578
|
-
self.pop_operand(Some(ty))?;
|
1579
|
-
}
|
1580
|
-
self.unreachable()?;
|
1581
|
-
Ok(())
|
1582
|
-
}
|
1583
|
-
fn visit_br_if(&mut self, relative_depth: u32) -> Self::Output {
|
1584
|
-
self.pop_operand(Some(ValType::I32))?;
|
1585
|
-
let (ty, kind) = self.jump(relative_depth)?;
|
1586
|
-
let label_types = self.label_types(ty, kind)?;
|
1587
|
-
self.pop_push_label_types(label_types)?;
|
1588
|
-
Ok(())
|
1589
|
-
}
|
1590
|
-
fn visit_br_table(&mut self, table: BrTable) -> Self::Output {
|
1591
|
-
self.pop_operand(Some(ValType::I32))?;
|
1592
|
-
let default = self.jump(table.default())?;
|
1593
|
-
let default_types = self.label_types(default.0, default.1)?;
|
1594
|
-
for element in table.targets() {
|
1595
|
-
let relative_depth = element?;
|
1596
|
-
let block = self.jump(relative_depth)?;
|
1597
|
-
let label_tys = self.label_types(block.0, block.1)?;
|
1598
|
-
if label_tys.len() != default_types.len() {
|
1599
|
-
bail!(
|
1600
|
-
self.offset,
|
1601
|
-
"type mismatch: br_table target labels have different number of types"
|
1602
|
-
);
|
1603
|
-
}
|
1604
|
-
|
1605
|
-
debug_assert!(self.popped_types_tmp.is_empty());
|
1606
|
-
self.popped_types_tmp.reserve(label_tys.len());
|
1607
|
-
for expected_ty in label_tys.rev() {
|
1608
|
-
let actual_ty = self.pop_operand(Some(expected_ty))?;
|
1609
|
-
self.popped_types_tmp.push(actual_ty);
|
1610
|
-
}
|
1611
|
-
for ty in self.inner.popped_types_tmp.drain(..).rev() {
|
1612
|
-
self.inner.operands.push(ty.into());
|
1613
|
-
}
|
1614
|
-
}
|
1615
|
-
for ty in default_types.rev() {
|
1616
|
-
self.pop_operand(Some(ty))?;
|
1617
|
-
}
|
1618
|
-
self.unreachable()?;
|
1619
|
-
Ok(())
|
1620
|
-
}
|
1621
|
-
fn visit_return(&mut self) -> Self::Output {
|
1622
|
-
self.check_return()?;
|
1623
|
-
Ok(())
|
1624
|
-
}
|
1625
|
-
fn visit_call(&mut self, function_index: u32) -> Self::Output {
|
1626
|
-
let ty = self.type_of_function(function_index)?;
|
1627
|
-
self.check_call_ty(ty)?;
|
1628
|
-
Ok(())
|
1629
|
-
}
|
1630
|
-
fn visit_return_call(&mut self, function_index: u32) -> Self::Output {
|
1631
|
-
let ty = self.type_of_function(function_index)?;
|
1632
|
-
self.check_return_call_ty(ty)?;
|
1633
|
-
Ok(())
|
1634
|
-
}
|
1635
|
-
fn visit_call_ref(&mut self, type_index: u32) -> Self::Output {
|
1636
|
-
let ty = self.check_call_ref_ty(type_index)?;
|
1637
|
-
self.check_call_ty(ty)?;
|
1638
|
-
Ok(())
|
1639
|
-
}
|
1640
|
-
fn visit_return_call_ref(&mut self, type_index: u32) -> Self::Output {
|
1641
|
-
let ty = self.check_call_ref_ty(type_index)?;
|
1642
|
-
self.check_return_call_ty(ty)?;
|
1643
|
-
Ok(())
|
1644
|
-
}
|
1645
|
-
fn visit_call_indirect(&mut self, type_index: u32, table_index: u32) -> Self::Output {
|
1646
|
-
let ty = self.check_call_indirect_ty(type_index, table_index)?;
|
1647
|
-
self.check_call_ty(ty)?;
|
1648
|
-
Ok(())
|
1649
|
-
}
|
1650
|
-
fn visit_return_call_indirect(&mut self, type_index: u32, table_index: u32) -> Self::Output {
|
1651
|
-
let ty = self.check_call_indirect_ty(type_index, table_index)?;
|
1652
|
-
self.check_return_call_ty(ty)?;
|
1653
|
-
Ok(())
|
1654
|
-
}
|
1655
|
-
fn visit_drop(&mut self) -> Self::Output {
|
1656
|
-
self.pop_operand(None)?;
|
1657
|
-
Ok(())
|
1658
|
-
}
|
1659
|
-
fn visit_select(&mut self) -> Self::Output {
|
1660
|
-
self.pop_operand(Some(ValType::I32))?;
|
1661
|
-
let ty1 = self.pop_operand(None)?;
|
1662
|
-
let ty2 = self.pop_operand(None)?;
|
1663
|
-
|
1664
|
-
let ty = match (ty1, ty2) {
|
1665
|
-
// All heap-related types aren't allowed with the `select`
|
1666
|
-
// instruction
|
1667
|
-
(MaybeType::HeapBot, _)
|
1668
|
-
| (_, MaybeType::HeapBot)
|
1669
|
-
| (MaybeType::Type(ValType::Ref(_)), _)
|
1670
|
-
| (_, MaybeType::Type(ValType::Ref(_))) => {
|
1671
|
-
bail!(
|
1672
|
-
self.offset,
|
1673
|
-
"type mismatch: select only takes integral types"
|
1674
|
-
)
|
1675
|
-
}
|
1676
|
-
|
1677
|
-
// If one operand is the "bottom" type then whatever the other
|
1678
|
-
// operand is is the result of the `select`
|
1679
|
-
(MaybeType::Bot, t) | (t, MaybeType::Bot) => t,
|
1680
|
-
|
1681
|
-
// Otherwise these are two integral types and they must match for
|
1682
|
-
// `select` to typecheck.
|
1683
|
-
(t @ MaybeType::Type(t1), MaybeType::Type(t2)) => {
|
1684
|
-
if t1 != t2 {
|
1685
|
-
bail!(
|
1686
|
-
self.offset,
|
1687
|
-
"type mismatch: select operands have different types"
|
1688
|
-
);
|
1689
|
-
}
|
1690
|
-
t
|
1691
|
-
}
|
1692
|
-
};
|
1693
|
-
self.push_operand(ty)?;
|
1694
|
-
Ok(())
|
1695
|
-
}
|
1696
|
-
fn visit_typed_select(&mut self, mut ty: ValType) -> Self::Output {
|
1697
|
-
self.resources
|
1698
|
-
.check_value_type(&mut ty, &self.features, self.offset)?;
|
1699
|
-
self.pop_operand(Some(ValType::I32))?;
|
1700
|
-
self.pop_operand(Some(ty))?;
|
1701
|
-
self.pop_operand(Some(ty))?;
|
1702
|
-
self.push_operand(ty)?;
|
1703
|
-
Ok(())
|
1704
|
-
}
|
1705
|
-
fn visit_local_get(&mut self, local_index: u32) -> Self::Output {
|
1706
|
-
let ty = self.local(local_index)?;
|
1707
|
-
debug_assert_type_indices_are_ids(ty);
|
1708
|
-
if !self.local_inits[local_index as usize] {
|
1709
|
-
bail!(self.offset, "uninitialized local: {}", local_index);
|
1710
|
-
}
|
1711
|
-
self.push_operand(ty)?;
|
1712
|
-
Ok(())
|
1713
|
-
}
|
1714
|
-
fn visit_local_set(&mut self, local_index: u32) -> Self::Output {
|
1715
|
-
let ty = self.local(local_index)?;
|
1716
|
-
self.pop_operand(Some(ty))?;
|
1717
|
-
if !self.local_inits[local_index as usize] {
|
1718
|
-
self.local_inits[local_index as usize] = true;
|
1719
|
-
self.inits.push(local_index);
|
1720
|
-
}
|
1721
|
-
Ok(())
|
1722
|
-
}
|
1723
|
-
fn visit_local_tee(&mut self, local_index: u32) -> Self::Output {
|
1724
|
-
let expected_ty = self.local(local_index)?;
|
1725
|
-
self.pop_operand(Some(expected_ty))?;
|
1726
|
-
if !self.local_inits[local_index as usize] {
|
1727
|
-
self.local_inits[local_index as usize] = true;
|
1728
|
-
self.inits.push(local_index);
|
1729
|
-
}
|
1730
|
-
|
1731
|
-
self.push_operand(expected_ty)?;
|
1732
|
-
Ok(())
|
1733
|
-
}
|
1734
|
-
fn visit_global_get(&mut self, global_index: u32) -> Self::Output {
|
1735
|
-
let ty = self.global_type_at(global_index)?.content_type;
|
1736
|
-
debug_assert_type_indices_are_ids(ty);
|
1737
|
-
self.push_operand(ty)?;
|
1738
|
-
Ok(())
|
1739
|
-
}
|
1740
|
-
fn visit_global_atomic_get(&mut self, _ordering: Ordering, global_index: u32) -> Self::Output {
|
1741
|
-
self.visit_global_get(global_index)?;
|
1742
|
-
// No validation of `ordering` is needed because `global.atomic.get` can
|
1743
|
-
// be used on both shared and unshared globals. But we do need to limit
|
1744
|
-
// which types can be used with this instruction.
|
1745
|
-
let ty = self.global_type_at(global_index)?.content_type;
|
1746
|
-
let supertype = RefType::ANYREF.into();
|
1747
|
-
if !(ty == ValType::I32 || ty == ValType::I64 || self.resources.is_subtype(ty, supertype)) {
|
1748
|
-
bail!(self.offset, "invalid type: `global.atomic.get` only allows `i32`, `i64` and subtypes of `anyref`");
|
1749
|
-
}
|
1750
|
-
Ok(())
|
1751
|
-
}
|
1752
|
-
fn visit_global_set(&mut self, global_index: u32) -> Self::Output {
|
1753
|
-
let ty = self.global_type_at(global_index)?;
|
1754
|
-
if !ty.mutable {
|
1755
|
-
bail!(
|
1756
|
-
self.offset,
|
1757
|
-
"global is immutable: cannot modify it with `global.set`"
|
1758
|
-
);
|
1759
|
-
}
|
1760
|
-
self.pop_operand(Some(ty.content_type))?;
|
1761
|
-
Ok(())
|
1762
|
-
}
|
1763
|
-
fn visit_global_atomic_set(&mut self, _ordering: Ordering, global_index: u32) -> Self::Output {
|
1764
|
-
self.visit_global_set(global_index)?;
|
1765
|
-
// No validation of `ordering` is needed because `global.atomic.get` can
|
1766
|
-
// be used on both shared and unshared globals.
|
1767
|
-
let ty = self.global_type_at(global_index)?.content_type;
|
1768
|
-
let supertype = RefType::ANYREF.into();
|
1769
|
-
if !(ty == ValType::I32 || ty == ValType::I64 || self.resources.is_subtype(ty, supertype)) {
|
1770
|
-
bail!(self.offset, "invalid type: `global.atomic.set` only allows `i32`, `i64` and subtypes of `anyref`");
|
1771
|
-
}
|
1772
|
-
Ok(())
|
1773
|
-
}
|
1774
|
-
fn visit_global_atomic_rmw_add(
|
1775
|
-
&mut self,
|
1776
|
-
_ordering: crate::Ordering,
|
1777
|
-
global_index: u32,
|
1778
|
-
) -> Self::Output {
|
1779
|
-
let ty = self.check_atomic_global_rmw_ty(global_index)?;
|
1780
|
-
self.check_unary_op(ty)
|
1781
|
-
}
|
1782
|
-
fn visit_global_atomic_rmw_sub(
|
1783
|
-
&mut self,
|
1784
|
-
_ordering: crate::Ordering,
|
1785
|
-
global_index: u32,
|
1786
|
-
) -> Self::Output {
|
1787
|
-
let ty = self.check_atomic_global_rmw_ty(global_index)?;
|
1788
|
-
self.check_unary_op(ty)
|
1789
|
-
}
|
1790
|
-
fn visit_global_atomic_rmw_and(
|
1791
|
-
&mut self,
|
1792
|
-
_ordering: crate::Ordering,
|
1793
|
-
global_index: u32,
|
1794
|
-
) -> Self::Output {
|
1795
|
-
let ty = self.check_atomic_global_rmw_ty(global_index)?;
|
1796
|
-
self.check_unary_op(ty)
|
1797
|
-
}
|
1798
|
-
fn visit_global_atomic_rmw_or(
|
1799
|
-
&mut self,
|
1800
|
-
_ordering: crate::Ordering,
|
1801
|
-
global_index: u32,
|
1802
|
-
) -> Self::Output {
|
1803
|
-
let ty = self.check_atomic_global_rmw_ty(global_index)?;
|
1804
|
-
self.check_unary_op(ty)
|
1805
|
-
}
|
1806
|
-
fn visit_global_atomic_rmw_xor(
|
1807
|
-
&mut self,
|
1808
|
-
_ordering: crate::Ordering,
|
1809
|
-
global_index: u32,
|
1810
|
-
) -> Self::Output {
|
1811
|
-
let ty = self.check_atomic_global_rmw_ty(global_index)?;
|
1812
|
-
self.check_unary_op(ty)
|
1813
|
-
}
|
1814
|
-
fn visit_global_atomic_rmw_xchg(
|
1815
|
-
&mut self,
|
1816
|
-
_ordering: crate::Ordering,
|
1817
|
-
global_index: u32,
|
1818
|
-
) -> Self::Output {
|
1819
|
-
let ty = self.global_type_at(global_index)?.content_type;
|
1820
|
-
if !(ty == ValType::I32
|
1821
|
-
|| ty == ValType::I64
|
1822
|
-
|| self.resources.is_subtype(ty, RefType::ANYREF.into()))
|
1823
|
-
{
|
1824
|
-
bail!(self.offset, "invalid type: `global.atomic.rmw.xchg` only allows `i32`, `i64` and subtypes of `anyref`");
|
1825
|
-
}
|
1826
|
-
self.check_unary_op(ty)
|
1827
|
-
}
|
1828
|
-
fn visit_global_atomic_rmw_cmpxchg(
|
1829
|
-
&mut self,
|
1830
|
-
_ordering: crate::Ordering,
|
1831
|
-
global_index: u32,
|
1832
|
-
) -> Self::Output {
|
1833
|
-
let ty = self.global_type_at(global_index)?.content_type;
|
1834
|
-
if !(ty == ValType::I32
|
1835
|
-
|| ty == ValType::I64
|
1836
|
-
|| self.resources.is_subtype(ty, RefType::EQREF.into()))
|
1837
|
-
{
|
1838
|
-
bail!(self.offset, "invalid type: `global.atomic.rmw.cmpxchg` only allows `i32`, `i64` and subtypes of `eqref`");
|
1839
|
-
}
|
1840
|
-
self.check_binary_op(ty)
|
1841
|
-
}
|
1842
|
-
|
1843
|
-
fn visit_i32_load(&mut self, memarg: MemArg) -> Self::Output {
|
1844
|
-
let ty = self.check_memarg(memarg)?;
|
1845
|
-
self.pop_operand(Some(ty))?;
|
1846
|
-
self.push_operand(ValType::I32)?;
|
1847
|
-
Ok(())
|
1848
|
-
}
|
1849
|
-
fn visit_i64_load(&mut self, memarg: MemArg) -> Self::Output {
|
1850
|
-
let ty = self.check_memarg(memarg)?;
|
1851
|
-
self.pop_operand(Some(ty))?;
|
1852
|
-
self.push_operand(ValType::I64)?;
|
1853
|
-
Ok(())
|
1854
|
-
}
|
1855
|
-
fn visit_f32_load(&mut self, memarg: MemArg) -> Self::Output {
|
1856
|
-
self.check_floats_enabled()?;
|
1857
|
-
let ty = self.check_memarg(memarg)?;
|
1858
|
-
self.pop_operand(Some(ty))?;
|
1859
|
-
self.push_operand(ValType::F32)?;
|
1860
|
-
Ok(())
|
1861
|
-
}
|
1862
|
-
fn visit_f64_load(&mut self, memarg: MemArg) -> Self::Output {
|
1863
|
-
self.check_floats_enabled()?;
|
1864
|
-
let ty = self.check_memarg(memarg)?;
|
1865
|
-
self.pop_operand(Some(ty))?;
|
1866
|
-
self.push_operand(ValType::F64)?;
|
1867
|
-
Ok(())
|
1868
|
-
}
|
1869
|
-
fn visit_i32_load8_s(&mut self, memarg: MemArg) -> Self::Output {
|
1870
|
-
let ty = self.check_memarg(memarg)?;
|
1871
|
-
self.pop_operand(Some(ty))?;
|
1872
|
-
self.push_operand(ValType::I32)?;
|
1873
|
-
Ok(())
|
1874
|
-
}
|
1875
|
-
fn visit_i32_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
1876
|
-
self.visit_i32_load8_s(memarg)
|
1877
|
-
}
|
1878
|
-
fn visit_i32_load16_s(&mut self, memarg: MemArg) -> Self::Output {
|
1879
|
-
let ty = self.check_memarg(memarg)?;
|
1880
|
-
self.pop_operand(Some(ty))?;
|
1881
|
-
self.push_operand(ValType::I32)?;
|
1882
|
-
Ok(())
|
1883
|
-
}
|
1884
|
-
fn visit_i32_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
1885
|
-
self.visit_i32_load16_s(memarg)
|
1886
|
-
}
|
1887
|
-
fn visit_i64_load8_s(&mut self, memarg: MemArg) -> Self::Output {
|
1888
|
-
let ty = self.check_memarg(memarg)?;
|
1889
|
-
self.pop_operand(Some(ty))?;
|
1890
|
-
self.push_operand(ValType::I64)?;
|
1891
|
-
Ok(())
|
1892
|
-
}
|
1893
|
-
fn visit_i64_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
1894
|
-
self.visit_i64_load8_s(memarg)
|
1895
|
-
}
|
1896
|
-
fn visit_i64_load16_s(&mut self, memarg: MemArg) -> Self::Output {
|
1897
|
-
let ty = self.check_memarg(memarg)?;
|
1898
|
-
self.pop_operand(Some(ty))?;
|
1899
|
-
self.push_operand(ValType::I64)?;
|
1900
|
-
Ok(())
|
1901
|
-
}
|
1902
|
-
fn visit_i64_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
1903
|
-
self.visit_i64_load16_s(memarg)
|
1904
|
-
}
|
1905
|
-
fn visit_i64_load32_s(&mut self, memarg: MemArg) -> Self::Output {
|
1906
|
-
let ty = self.check_memarg(memarg)?;
|
1907
|
-
self.pop_operand(Some(ty))?;
|
1908
|
-
self.push_operand(ValType::I64)?;
|
1909
|
-
Ok(())
|
1910
|
-
}
|
1911
|
-
fn visit_i64_load32_u(&mut self, memarg: MemArg) -> Self::Output {
|
1912
|
-
self.visit_i64_load32_s(memarg)
|
1913
|
-
}
|
1914
|
-
fn visit_i32_store(&mut self, memarg: MemArg) -> Self::Output {
|
1915
|
-
let ty = self.check_memarg(memarg)?;
|
1916
|
-
self.pop_operand(Some(ValType::I32))?;
|
1917
|
-
self.pop_operand(Some(ty))?;
|
1918
|
-
Ok(())
|
1919
|
-
}
|
1920
|
-
fn visit_i64_store(&mut self, memarg: MemArg) -> Self::Output {
|
1921
|
-
let ty = self.check_memarg(memarg)?;
|
1922
|
-
self.pop_operand(Some(ValType::I64))?;
|
1923
|
-
self.pop_operand(Some(ty))?;
|
1924
|
-
Ok(())
|
1925
|
-
}
|
1926
|
-
fn visit_f32_store(&mut self, memarg: MemArg) -> Self::Output {
|
1927
|
-
self.check_floats_enabled()?;
|
1928
|
-
let ty = self.check_memarg(memarg)?;
|
1929
|
-
self.pop_operand(Some(ValType::F32))?;
|
1930
|
-
self.pop_operand(Some(ty))?;
|
1931
|
-
Ok(())
|
1932
|
-
}
|
1933
|
-
fn visit_f64_store(&mut self, memarg: MemArg) -> Self::Output {
|
1934
|
-
self.check_floats_enabled()?;
|
1935
|
-
let ty = self.check_memarg(memarg)?;
|
1936
|
-
self.pop_operand(Some(ValType::F64))?;
|
1937
|
-
self.pop_operand(Some(ty))?;
|
1938
|
-
Ok(())
|
1939
|
-
}
|
1940
|
-
fn visit_i32_store8(&mut self, memarg: MemArg) -> Self::Output {
|
1941
|
-
let ty = self.check_memarg(memarg)?;
|
1942
|
-
self.pop_operand(Some(ValType::I32))?;
|
1943
|
-
self.pop_operand(Some(ty))?;
|
1944
|
-
Ok(())
|
1945
|
-
}
|
1946
|
-
fn visit_i32_store16(&mut self, memarg: MemArg) -> Self::Output {
|
1947
|
-
let ty = self.check_memarg(memarg)?;
|
1948
|
-
self.pop_operand(Some(ValType::I32))?;
|
1949
|
-
self.pop_operand(Some(ty))?;
|
1950
|
-
Ok(())
|
1951
|
-
}
|
1952
|
-
fn visit_i64_store8(&mut self, memarg: MemArg) -> Self::Output {
|
1953
|
-
let ty = self.check_memarg(memarg)?;
|
1954
|
-
self.pop_operand(Some(ValType::I64))?;
|
1955
|
-
self.pop_operand(Some(ty))?;
|
1956
|
-
Ok(())
|
1957
|
-
}
|
1958
|
-
fn visit_i64_store16(&mut self, memarg: MemArg) -> Self::Output {
|
1959
|
-
let ty = self.check_memarg(memarg)?;
|
1960
|
-
self.pop_operand(Some(ValType::I64))?;
|
1961
|
-
self.pop_operand(Some(ty))?;
|
1962
|
-
Ok(())
|
1963
|
-
}
|
1964
|
-
fn visit_i64_store32(&mut self, memarg: MemArg) -> Self::Output {
|
1965
|
-
let ty = self.check_memarg(memarg)?;
|
1966
|
-
self.pop_operand(Some(ValType::I64))?;
|
1967
|
-
self.pop_operand(Some(ty))?;
|
1968
|
-
Ok(())
|
1969
|
-
}
|
1970
|
-
fn visit_memory_size(&mut self, mem: u32) -> Self::Output {
|
1971
|
-
let index_ty = self.check_memory_index(mem)?;
|
1972
|
-
self.push_operand(index_ty)?;
|
1973
|
-
Ok(())
|
1974
|
-
}
|
1975
|
-
fn visit_memory_grow(&mut self, mem: u32) -> Self::Output {
|
1976
|
-
let index_ty = self.check_memory_index(mem)?;
|
1977
|
-
self.pop_operand(Some(index_ty))?;
|
1978
|
-
self.push_operand(index_ty)?;
|
1979
|
-
Ok(())
|
1980
|
-
}
|
1981
|
-
fn visit_i32_const(&mut self, _value: i32) -> Self::Output {
|
1982
|
-
self.push_operand(ValType::I32)?;
|
1983
|
-
Ok(())
|
1984
|
-
}
|
1985
|
-
fn visit_i64_const(&mut self, _value: i64) -> Self::Output {
|
1986
|
-
self.push_operand(ValType::I64)?;
|
1987
|
-
Ok(())
|
1988
|
-
}
|
1989
|
-
fn visit_f32_const(&mut self, _value: Ieee32) -> Self::Output {
|
1990
|
-
self.check_floats_enabled()?;
|
1991
|
-
self.push_operand(ValType::F32)?;
|
1992
|
-
Ok(())
|
1993
|
-
}
|
1994
|
-
fn visit_f64_const(&mut self, _value: Ieee64) -> Self::Output {
|
1995
|
-
self.check_floats_enabled()?;
|
1996
|
-
self.push_operand(ValType::F64)?;
|
1997
|
-
Ok(())
|
1998
|
-
}
|
1999
|
-
fn visit_i32_eqz(&mut self) -> Self::Output {
|
2000
|
-
self.pop_operand(Some(ValType::I32))?;
|
2001
|
-
self.push_operand(ValType::I32)?;
|
2002
|
-
Ok(())
|
2003
|
-
}
|
2004
|
-
fn visit_i32_eq(&mut self) -> Self::Output {
|
2005
|
-
self.check_cmp_op(ValType::I32)
|
2006
|
-
}
|
2007
|
-
fn visit_i32_ne(&mut self) -> Self::Output {
|
2008
|
-
self.check_cmp_op(ValType::I32)
|
2009
|
-
}
|
2010
|
-
fn visit_i32_lt_s(&mut self) -> Self::Output {
|
2011
|
-
self.check_cmp_op(ValType::I32)
|
2012
|
-
}
|
2013
|
-
fn visit_i32_lt_u(&mut self) -> Self::Output {
|
2014
|
-
self.check_cmp_op(ValType::I32)
|
2015
|
-
}
|
2016
|
-
fn visit_i32_gt_s(&mut self) -> Self::Output {
|
2017
|
-
self.check_cmp_op(ValType::I32)
|
2018
|
-
}
|
2019
|
-
fn visit_i32_gt_u(&mut self) -> Self::Output {
|
2020
|
-
self.check_cmp_op(ValType::I32)
|
2021
|
-
}
|
2022
|
-
fn visit_i32_le_s(&mut self) -> Self::Output {
|
2023
|
-
self.check_cmp_op(ValType::I32)
|
2024
|
-
}
|
2025
|
-
fn visit_i32_le_u(&mut self) -> Self::Output {
|
2026
|
-
self.check_cmp_op(ValType::I32)
|
2027
|
-
}
|
2028
|
-
fn visit_i32_ge_s(&mut self) -> Self::Output {
|
2029
|
-
self.check_cmp_op(ValType::I32)
|
2030
|
-
}
|
2031
|
-
fn visit_i32_ge_u(&mut self) -> Self::Output {
|
2032
|
-
self.check_cmp_op(ValType::I32)
|
2033
|
-
}
|
2034
|
-
fn visit_i64_eqz(&mut self) -> Self::Output {
|
2035
|
-
self.pop_operand(Some(ValType::I64))?;
|
2036
|
-
self.push_operand(ValType::I32)?;
|
2037
|
-
Ok(())
|
2038
|
-
}
|
2039
|
-
fn visit_i64_eq(&mut self) -> Self::Output {
|
2040
|
-
self.check_cmp_op(ValType::I64)
|
2041
|
-
}
|
2042
|
-
fn visit_i64_ne(&mut self) -> Self::Output {
|
2043
|
-
self.check_cmp_op(ValType::I64)
|
2044
|
-
}
|
2045
|
-
fn visit_i64_lt_s(&mut self) -> Self::Output {
|
2046
|
-
self.check_cmp_op(ValType::I64)
|
2047
|
-
}
|
2048
|
-
fn visit_i64_lt_u(&mut self) -> Self::Output {
|
2049
|
-
self.check_cmp_op(ValType::I64)
|
2050
|
-
}
|
2051
|
-
fn visit_i64_gt_s(&mut self) -> Self::Output {
|
2052
|
-
self.check_cmp_op(ValType::I64)
|
2053
|
-
}
|
2054
|
-
fn visit_i64_gt_u(&mut self) -> Self::Output {
|
2055
|
-
self.check_cmp_op(ValType::I64)
|
2056
|
-
}
|
2057
|
-
fn visit_i64_le_s(&mut self) -> Self::Output {
|
2058
|
-
self.check_cmp_op(ValType::I64)
|
2059
|
-
}
|
2060
|
-
fn visit_i64_le_u(&mut self) -> Self::Output {
|
2061
|
-
self.check_cmp_op(ValType::I64)
|
2062
|
-
}
|
2063
|
-
fn visit_i64_ge_s(&mut self) -> Self::Output {
|
2064
|
-
self.check_cmp_op(ValType::I64)
|
2065
|
-
}
|
2066
|
-
fn visit_i64_ge_u(&mut self) -> Self::Output {
|
2067
|
-
self.check_cmp_op(ValType::I64)
|
2068
|
-
}
|
2069
|
-
fn visit_f32_eq(&mut self) -> Self::Output {
|
2070
|
-
self.check_fcmp_op(ValType::F32)
|
2071
|
-
}
|
2072
|
-
fn visit_f32_ne(&mut self) -> Self::Output {
|
2073
|
-
self.check_fcmp_op(ValType::F32)
|
2074
|
-
}
|
2075
|
-
fn visit_f32_lt(&mut self) -> Self::Output {
|
2076
|
-
self.check_fcmp_op(ValType::F32)
|
2077
|
-
}
|
2078
|
-
fn visit_f32_gt(&mut self) -> Self::Output {
|
2079
|
-
self.check_fcmp_op(ValType::F32)
|
2080
|
-
}
|
2081
|
-
fn visit_f32_le(&mut self) -> Self::Output {
|
2082
|
-
self.check_fcmp_op(ValType::F32)
|
2083
|
-
}
|
2084
|
-
fn visit_f32_ge(&mut self) -> Self::Output {
|
2085
|
-
self.check_fcmp_op(ValType::F32)
|
2086
|
-
}
|
2087
|
-
fn visit_f64_eq(&mut self) -> Self::Output {
|
2088
|
-
self.check_fcmp_op(ValType::F64)
|
2089
|
-
}
|
2090
|
-
fn visit_f64_ne(&mut self) -> Self::Output {
|
2091
|
-
self.check_fcmp_op(ValType::F64)
|
2092
|
-
}
|
2093
|
-
fn visit_f64_lt(&mut self) -> Self::Output {
|
2094
|
-
self.check_fcmp_op(ValType::F64)
|
2095
|
-
}
|
2096
|
-
fn visit_f64_gt(&mut self) -> Self::Output {
|
2097
|
-
self.check_fcmp_op(ValType::F64)
|
2098
|
-
}
|
2099
|
-
fn visit_f64_le(&mut self) -> Self::Output {
|
2100
|
-
self.check_fcmp_op(ValType::F64)
|
2101
|
-
}
|
2102
|
-
fn visit_f64_ge(&mut self) -> Self::Output {
|
2103
|
-
self.check_fcmp_op(ValType::F64)
|
2104
|
-
}
|
2105
|
-
fn visit_i32_clz(&mut self) -> Self::Output {
|
2106
|
-
self.check_unary_op(ValType::I32)
|
2107
|
-
}
|
2108
|
-
fn visit_i32_ctz(&mut self) -> Self::Output {
|
2109
|
-
self.check_unary_op(ValType::I32)
|
2110
|
-
}
|
2111
|
-
fn visit_i32_popcnt(&mut self) -> Self::Output {
|
2112
|
-
self.check_unary_op(ValType::I32)
|
2113
|
-
}
|
2114
|
-
fn visit_i32_add(&mut self) -> Self::Output {
|
2115
|
-
self.check_binary_op(ValType::I32)
|
2116
|
-
}
|
2117
|
-
fn visit_i32_sub(&mut self) -> Self::Output {
|
2118
|
-
self.check_binary_op(ValType::I32)
|
2119
|
-
}
|
2120
|
-
fn visit_i32_mul(&mut self) -> Self::Output {
|
2121
|
-
self.check_binary_op(ValType::I32)
|
2122
|
-
}
|
2123
|
-
fn visit_i32_div_s(&mut self) -> Self::Output {
|
2124
|
-
self.check_binary_op(ValType::I32)
|
2125
|
-
}
|
2126
|
-
fn visit_i32_div_u(&mut self) -> Self::Output {
|
2127
|
-
self.check_binary_op(ValType::I32)
|
2128
|
-
}
|
2129
|
-
fn visit_i32_rem_s(&mut self) -> Self::Output {
|
2130
|
-
self.check_binary_op(ValType::I32)
|
2131
|
-
}
|
2132
|
-
fn visit_i32_rem_u(&mut self) -> Self::Output {
|
2133
|
-
self.check_binary_op(ValType::I32)
|
2134
|
-
}
|
2135
|
-
fn visit_i32_and(&mut self) -> Self::Output {
|
2136
|
-
self.check_binary_op(ValType::I32)
|
2137
|
-
}
|
2138
|
-
fn visit_i32_or(&mut self) -> Self::Output {
|
2139
|
-
self.check_binary_op(ValType::I32)
|
2140
|
-
}
|
2141
|
-
fn visit_i32_xor(&mut self) -> Self::Output {
|
2142
|
-
self.check_binary_op(ValType::I32)
|
2143
|
-
}
|
2144
|
-
fn visit_i32_shl(&mut self) -> Self::Output {
|
2145
|
-
self.check_binary_op(ValType::I32)
|
2146
|
-
}
|
2147
|
-
fn visit_i32_shr_s(&mut self) -> Self::Output {
|
2148
|
-
self.check_binary_op(ValType::I32)
|
2149
|
-
}
|
2150
|
-
fn visit_i32_shr_u(&mut self) -> Self::Output {
|
2151
|
-
self.check_binary_op(ValType::I32)
|
2152
|
-
}
|
2153
|
-
fn visit_i32_rotl(&mut self) -> Self::Output {
|
2154
|
-
self.check_binary_op(ValType::I32)
|
2155
|
-
}
|
2156
|
-
fn visit_i32_rotr(&mut self) -> Self::Output {
|
2157
|
-
self.check_binary_op(ValType::I32)
|
2158
|
-
}
|
2159
|
-
fn visit_i64_clz(&mut self) -> Self::Output {
|
2160
|
-
self.check_unary_op(ValType::I64)
|
2161
|
-
}
|
2162
|
-
fn visit_i64_ctz(&mut self) -> Self::Output {
|
2163
|
-
self.check_unary_op(ValType::I64)
|
2164
|
-
}
|
2165
|
-
fn visit_i64_popcnt(&mut self) -> Self::Output {
|
2166
|
-
self.check_unary_op(ValType::I64)
|
2167
|
-
}
|
2168
|
-
fn visit_i64_add(&mut self) -> Self::Output {
|
2169
|
-
self.check_binary_op(ValType::I64)
|
2170
|
-
}
|
2171
|
-
fn visit_i64_sub(&mut self) -> Self::Output {
|
2172
|
-
self.check_binary_op(ValType::I64)
|
2173
|
-
}
|
2174
|
-
fn visit_i64_mul(&mut self) -> Self::Output {
|
2175
|
-
self.check_binary_op(ValType::I64)
|
2176
|
-
}
|
2177
|
-
fn visit_i64_div_s(&mut self) -> Self::Output {
|
2178
|
-
self.check_binary_op(ValType::I64)
|
2179
|
-
}
|
2180
|
-
fn visit_i64_div_u(&mut self) -> Self::Output {
|
2181
|
-
self.check_binary_op(ValType::I64)
|
2182
|
-
}
|
2183
|
-
fn visit_i64_rem_s(&mut self) -> Self::Output {
|
2184
|
-
self.check_binary_op(ValType::I64)
|
2185
|
-
}
|
2186
|
-
fn visit_i64_rem_u(&mut self) -> Self::Output {
|
2187
|
-
self.check_binary_op(ValType::I64)
|
2188
|
-
}
|
2189
|
-
fn visit_i64_and(&mut self) -> Self::Output {
|
2190
|
-
self.check_binary_op(ValType::I64)
|
2191
|
-
}
|
2192
|
-
fn visit_i64_or(&mut self) -> Self::Output {
|
2193
|
-
self.check_binary_op(ValType::I64)
|
2194
|
-
}
|
2195
|
-
fn visit_i64_xor(&mut self) -> Self::Output {
|
2196
|
-
self.check_binary_op(ValType::I64)
|
2197
|
-
}
|
2198
|
-
fn visit_i64_shl(&mut self) -> Self::Output {
|
2199
|
-
self.check_binary_op(ValType::I64)
|
2200
|
-
}
|
2201
|
-
fn visit_i64_shr_s(&mut self) -> Self::Output {
|
2202
|
-
self.check_binary_op(ValType::I64)
|
2203
|
-
}
|
2204
|
-
fn visit_i64_shr_u(&mut self) -> Self::Output {
|
2205
|
-
self.check_binary_op(ValType::I64)
|
2206
|
-
}
|
2207
|
-
fn visit_i64_rotl(&mut self) -> Self::Output {
|
2208
|
-
self.check_binary_op(ValType::I64)
|
2209
|
-
}
|
2210
|
-
fn visit_i64_rotr(&mut self) -> Self::Output {
|
2211
|
-
self.check_binary_op(ValType::I64)
|
2212
|
-
}
|
2213
|
-
fn visit_f32_abs(&mut self) -> Self::Output {
|
2214
|
-
self.check_funary_op(ValType::F32)
|
2215
|
-
}
|
2216
|
-
fn visit_f32_neg(&mut self) -> Self::Output {
|
2217
|
-
self.check_funary_op(ValType::F32)
|
2218
|
-
}
|
2219
|
-
fn visit_f32_ceil(&mut self) -> Self::Output {
|
2220
|
-
self.check_funary_op(ValType::F32)
|
2221
|
-
}
|
2222
|
-
fn visit_f32_floor(&mut self) -> Self::Output {
|
2223
|
-
self.check_funary_op(ValType::F32)
|
2224
|
-
}
|
2225
|
-
fn visit_f32_trunc(&mut self) -> Self::Output {
|
2226
|
-
self.check_funary_op(ValType::F32)
|
2227
|
-
}
|
2228
|
-
fn visit_f32_nearest(&mut self) -> Self::Output {
|
2229
|
-
self.check_funary_op(ValType::F32)
|
2230
|
-
}
|
2231
|
-
fn visit_f32_sqrt(&mut self) -> Self::Output {
|
2232
|
-
self.check_funary_op(ValType::F32)
|
2233
|
-
}
|
2234
|
-
fn visit_f32_add(&mut self) -> Self::Output {
|
2235
|
-
self.check_fbinary_op(ValType::F32)
|
2236
|
-
}
|
2237
|
-
fn visit_f32_sub(&mut self) -> Self::Output {
|
2238
|
-
self.check_fbinary_op(ValType::F32)
|
2239
|
-
}
|
2240
|
-
fn visit_f32_mul(&mut self) -> Self::Output {
|
2241
|
-
self.check_fbinary_op(ValType::F32)
|
2242
|
-
}
|
2243
|
-
fn visit_f32_div(&mut self) -> Self::Output {
|
2244
|
-
self.check_fbinary_op(ValType::F32)
|
2245
|
-
}
|
2246
|
-
fn visit_f32_min(&mut self) -> Self::Output {
|
2247
|
-
self.check_fbinary_op(ValType::F32)
|
2248
|
-
}
|
2249
|
-
fn visit_f32_max(&mut self) -> Self::Output {
|
2250
|
-
self.check_fbinary_op(ValType::F32)
|
2251
|
-
}
|
2252
|
-
fn visit_f32_copysign(&mut self) -> Self::Output {
|
2253
|
-
self.check_fbinary_op(ValType::F32)
|
2254
|
-
}
|
2255
|
-
fn visit_f64_abs(&mut self) -> Self::Output {
|
2256
|
-
self.check_funary_op(ValType::F64)
|
2257
|
-
}
|
2258
|
-
fn visit_f64_neg(&mut self) -> Self::Output {
|
2259
|
-
self.check_funary_op(ValType::F64)
|
2260
|
-
}
|
2261
|
-
fn visit_f64_ceil(&mut self) -> Self::Output {
|
2262
|
-
self.check_funary_op(ValType::F64)
|
2263
|
-
}
|
2264
|
-
fn visit_f64_floor(&mut self) -> Self::Output {
|
2265
|
-
self.check_funary_op(ValType::F64)
|
2266
|
-
}
|
2267
|
-
fn visit_f64_trunc(&mut self) -> Self::Output {
|
2268
|
-
self.check_funary_op(ValType::F64)
|
2269
|
-
}
|
2270
|
-
fn visit_f64_nearest(&mut self) -> Self::Output {
|
2271
|
-
self.check_funary_op(ValType::F64)
|
2272
|
-
}
|
2273
|
-
fn visit_f64_sqrt(&mut self) -> Self::Output {
|
2274
|
-
self.check_funary_op(ValType::F64)
|
2275
|
-
}
|
2276
|
-
fn visit_f64_add(&mut self) -> Self::Output {
|
2277
|
-
self.check_fbinary_op(ValType::F64)
|
2278
|
-
}
|
2279
|
-
fn visit_f64_sub(&mut self) -> Self::Output {
|
2280
|
-
self.check_fbinary_op(ValType::F64)
|
2281
|
-
}
|
2282
|
-
fn visit_f64_mul(&mut self) -> Self::Output {
|
2283
|
-
self.check_fbinary_op(ValType::F64)
|
2284
|
-
}
|
2285
|
-
fn visit_f64_div(&mut self) -> Self::Output {
|
2286
|
-
self.check_fbinary_op(ValType::F64)
|
2287
|
-
}
|
2288
|
-
fn visit_f64_min(&mut self) -> Self::Output {
|
2289
|
-
self.check_fbinary_op(ValType::F64)
|
2290
|
-
}
|
2291
|
-
fn visit_f64_max(&mut self) -> Self::Output {
|
2292
|
-
self.check_fbinary_op(ValType::F64)
|
2293
|
-
}
|
2294
|
-
fn visit_f64_copysign(&mut self) -> Self::Output {
|
2295
|
-
self.check_fbinary_op(ValType::F64)
|
2296
|
-
}
|
2297
|
-
fn visit_i32_wrap_i64(&mut self) -> Self::Output {
|
2298
|
-
self.check_conversion_op(ValType::I32, ValType::I64)
|
2299
|
-
}
|
2300
|
-
fn visit_i32_trunc_f32_s(&mut self) -> Self::Output {
|
2301
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2302
|
-
}
|
2303
|
-
fn visit_i32_trunc_f32_u(&mut self) -> Self::Output {
|
2304
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2305
|
-
}
|
2306
|
-
fn visit_i32_trunc_f64_s(&mut self) -> Self::Output {
|
2307
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2308
|
-
}
|
2309
|
-
fn visit_i32_trunc_f64_u(&mut self) -> Self::Output {
|
2310
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2311
|
-
}
|
2312
|
-
fn visit_i64_extend_i32_s(&mut self) -> Self::Output {
|
2313
|
-
self.check_conversion_op(ValType::I64, ValType::I32)
|
2314
|
-
}
|
2315
|
-
fn visit_i64_extend_i32_u(&mut self) -> Self::Output {
|
2316
|
-
self.check_conversion_op(ValType::I64, ValType::I32)
|
2317
|
-
}
|
2318
|
-
fn visit_i64_trunc_f32_s(&mut self) -> Self::Output {
|
2319
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2320
|
-
}
|
2321
|
-
fn visit_i64_trunc_f32_u(&mut self) -> Self::Output {
|
2322
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2323
|
-
}
|
2324
|
-
fn visit_i64_trunc_f64_s(&mut self) -> Self::Output {
|
2325
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2326
|
-
}
|
2327
|
-
fn visit_i64_trunc_f64_u(&mut self) -> Self::Output {
|
2328
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2329
|
-
}
|
2330
|
-
fn visit_f32_convert_i32_s(&mut self) -> Self::Output {
|
2331
|
-
self.check_fconversion_op(ValType::F32, ValType::I32)
|
2332
|
-
}
|
2333
|
-
fn visit_f32_convert_i32_u(&mut self) -> Self::Output {
|
2334
|
-
self.check_fconversion_op(ValType::F32, ValType::I32)
|
2335
|
-
}
|
2336
|
-
fn visit_f32_convert_i64_s(&mut self) -> Self::Output {
|
2337
|
-
self.check_fconversion_op(ValType::F32, ValType::I64)
|
2338
|
-
}
|
2339
|
-
fn visit_f32_convert_i64_u(&mut self) -> Self::Output {
|
2340
|
-
self.check_fconversion_op(ValType::F32, ValType::I64)
|
2341
|
-
}
|
2342
|
-
fn visit_f32_demote_f64(&mut self) -> Self::Output {
|
2343
|
-
self.check_fconversion_op(ValType::F32, ValType::F64)
|
2344
|
-
}
|
2345
|
-
fn visit_f64_convert_i32_s(&mut self) -> Self::Output {
|
2346
|
-
self.check_fconversion_op(ValType::F64, ValType::I32)
|
2347
|
-
}
|
2348
|
-
fn visit_f64_convert_i32_u(&mut self) -> Self::Output {
|
2349
|
-
self.check_fconversion_op(ValType::F64, ValType::I32)
|
2350
|
-
}
|
2351
|
-
fn visit_f64_convert_i64_s(&mut self) -> Self::Output {
|
2352
|
-
self.check_fconversion_op(ValType::F64, ValType::I64)
|
2353
|
-
}
|
2354
|
-
fn visit_f64_convert_i64_u(&mut self) -> Self::Output {
|
2355
|
-
self.check_fconversion_op(ValType::F64, ValType::I64)
|
2356
|
-
}
|
2357
|
-
fn visit_f64_promote_f32(&mut self) -> Self::Output {
|
2358
|
-
self.check_fconversion_op(ValType::F64, ValType::F32)
|
2359
|
-
}
|
2360
|
-
fn visit_i32_reinterpret_f32(&mut self) -> Self::Output {
|
2361
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2362
|
-
}
|
2363
|
-
fn visit_i64_reinterpret_f64(&mut self) -> Self::Output {
|
2364
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2365
|
-
}
|
2366
|
-
fn visit_f32_reinterpret_i32(&mut self) -> Self::Output {
|
2367
|
-
self.check_fconversion_op(ValType::F32, ValType::I32)
|
2368
|
-
}
|
2369
|
-
fn visit_f64_reinterpret_i64(&mut self) -> Self::Output {
|
2370
|
-
self.check_fconversion_op(ValType::F64, ValType::I64)
|
2371
|
-
}
|
2372
|
-
fn visit_i32_trunc_sat_f32_s(&mut self) -> Self::Output {
|
2373
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2374
|
-
}
|
2375
|
-
fn visit_i32_trunc_sat_f32_u(&mut self) -> Self::Output {
|
2376
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2377
|
-
}
|
2378
|
-
fn visit_i32_trunc_sat_f64_s(&mut self) -> Self::Output {
|
2379
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2380
|
-
}
|
2381
|
-
fn visit_i32_trunc_sat_f64_u(&mut self) -> Self::Output {
|
2382
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2383
|
-
}
|
2384
|
-
fn visit_i64_trunc_sat_f32_s(&mut self) -> Self::Output {
|
2385
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2386
|
-
}
|
2387
|
-
fn visit_i64_trunc_sat_f32_u(&mut self) -> Self::Output {
|
2388
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2389
|
-
}
|
2390
|
-
fn visit_i64_trunc_sat_f64_s(&mut self) -> Self::Output {
|
2391
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2392
|
-
}
|
2393
|
-
fn visit_i64_trunc_sat_f64_u(&mut self) -> Self::Output {
|
2394
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2395
|
-
}
|
2396
|
-
fn visit_i32_extend8_s(&mut self) -> Self::Output {
|
2397
|
-
self.check_unary_op(ValType::I32)
|
2398
|
-
}
|
2399
|
-
fn visit_i32_extend16_s(&mut self) -> Self::Output {
|
2400
|
-
self.check_unary_op(ValType::I32)
|
2401
|
-
}
|
2402
|
-
fn visit_i64_extend8_s(&mut self) -> Self::Output {
|
2403
|
-
self.check_unary_op(ValType::I64)
|
2404
|
-
}
|
2405
|
-
fn visit_i64_extend16_s(&mut self) -> Self::Output {
|
2406
|
-
self.check_unary_op(ValType::I64)
|
2407
|
-
}
|
2408
|
-
fn visit_i64_extend32_s(&mut self) -> Self::Output {
|
2409
|
-
self.check_unary_op(ValType::I64)
|
2410
|
-
}
|
2411
|
-
fn visit_i32_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
|
2412
|
-
self.check_atomic_load(memarg, ValType::I32)
|
2413
|
-
}
|
2414
|
-
fn visit_i32_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
2415
|
-
self.check_atomic_load(memarg, ValType::I32)
|
2416
|
-
}
|
2417
|
-
fn visit_i32_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
2418
|
-
self.check_atomic_load(memarg, ValType::I32)
|
2419
|
-
}
|
2420
|
-
fn visit_i64_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
|
2421
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2422
|
-
}
|
2423
|
-
fn visit_i64_atomic_load32_u(&mut self, memarg: MemArg) -> Self::Output {
|
2424
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2425
|
-
}
|
2426
|
-
fn visit_i64_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
2427
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2428
|
-
}
|
2429
|
-
fn visit_i64_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
2430
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2431
|
-
}
|
2432
|
-
fn visit_i32_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
|
2433
|
-
self.check_atomic_store(memarg, ValType::I32)
|
2434
|
-
}
|
2435
|
-
fn visit_i32_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
|
2436
|
-
self.check_atomic_store(memarg, ValType::I32)
|
2437
|
-
}
|
2438
|
-
fn visit_i32_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
|
2439
|
-
self.check_atomic_store(memarg, ValType::I32)
|
2440
|
-
}
|
2441
|
-
fn visit_i64_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
|
2442
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2443
|
-
}
|
2444
|
-
fn visit_i64_atomic_store32(&mut self, memarg: MemArg) -> Self::Output {
|
2445
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2446
|
-
}
|
2447
|
-
fn visit_i64_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
|
2448
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2449
|
-
}
|
2450
|
-
fn visit_i64_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
|
2451
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2452
|
-
}
|
2453
|
-
fn visit_i32_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
|
2454
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2455
|
-
}
|
2456
|
-
fn visit_i32_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
|
2457
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2458
|
-
}
|
2459
|
-
fn visit_i32_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
|
2460
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2461
|
-
}
|
2462
|
-
fn visit_i32_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
|
2463
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2464
|
-
}
|
2465
|
-
fn visit_i32_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
|
2466
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2467
|
-
}
|
2468
|
-
fn visit_i32_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2469
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2470
|
-
}
|
2471
|
-
fn visit_i32_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2472
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2473
|
-
}
|
2474
|
-
fn visit_i32_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2475
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2476
|
-
}
|
2477
|
-
fn visit_i32_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2478
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2479
|
-
}
|
2480
|
-
fn visit_i32_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2481
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2482
|
-
}
|
2483
|
-
fn visit_i32_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2484
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2485
|
-
}
|
2486
|
-
fn visit_i32_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2487
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2488
|
-
}
|
2489
|
-
fn visit_i32_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2490
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2491
|
-
}
|
2492
|
-
fn visit_i32_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2493
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2494
|
-
}
|
2495
|
-
fn visit_i32_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2496
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2497
|
-
}
|
2498
|
-
fn visit_i64_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
|
2499
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2500
|
-
}
|
2501
|
-
fn visit_i64_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
|
2502
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2503
|
-
}
|
2504
|
-
fn visit_i64_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
|
2505
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2506
|
-
}
|
2507
|
-
fn visit_i64_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
|
2508
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2509
|
-
}
|
2510
|
-
fn visit_i64_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
|
2511
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2512
|
-
}
|
2513
|
-
fn visit_i64_atomic_rmw32_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2514
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2515
|
-
}
|
2516
|
-
fn visit_i64_atomic_rmw32_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2517
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2518
|
-
}
|
2519
|
-
fn visit_i64_atomic_rmw32_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2520
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2521
|
-
}
|
2522
|
-
fn visit_i64_atomic_rmw32_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2523
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2524
|
-
}
|
2525
|
-
fn visit_i64_atomic_rmw32_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2526
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2527
|
-
}
|
2528
|
-
fn visit_i64_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2529
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2530
|
-
}
|
2531
|
-
fn visit_i64_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2532
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2533
|
-
}
|
2534
|
-
fn visit_i64_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2535
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2536
|
-
}
|
2537
|
-
fn visit_i64_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2538
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2539
|
-
}
|
2540
|
-
fn visit_i64_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2541
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2542
|
-
}
|
2543
|
-
fn visit_i64_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2544
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2545
|
-
}
|
2546
|
-
fn visit_i64_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2547
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2548
|
-
}
|
2549
|
-
fn visit_i64_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2550
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2551
|
-
}
|
2552
|
-
fn visit_i64_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2553
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2554
|
-
}
|
2555
|
-
fn visit_i64_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2556
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2557
|
-
}
|
2558
|
-
fn visit_i32_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
|
2559
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2560
|
-
}
|
2561
|
-
fn visit_i32_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2562
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2563
|
-
}
|
2564
|
-
fn visit_i32_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2565
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2566
|
-
}
|
2567
|
-
fn visit_i32_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
|
2568
|
-
self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I32)
|
2569
|
-
}
|
2570
|
-
fn visit_i32_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2571
|
-
self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I32)
|
2572
|
-
}
|
2573
|
-
fn visit_i32_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2574
|
-
self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I32)
|
2575
|
-
}
|
2576
|
-
fn visit_i64_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
|
2577
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2578
|
-
}
|
2579
|
-
fn visit_i64_atomic_rmw32_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2580
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2581
|
-
}
|
2582
|
-
fn visit_i64_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2583
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2584
|
-
}
|
2585
|
-
fn visit_i64_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2586
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I64)
|
2587
|
-
}
|
2588
|
-
fn visit_i64_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
|
2589
|
-
self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
|
2590
|
-
}
|
2591
|
-
fn visit_i64_atomic_rmw32_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2592
|
-
self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
|
2593
|
-
}
|
2594
|
-
fn visit_i64_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2595
|
-
self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
|
2596
|
-
}
|
2597
|
-
fn visit_i64_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2598
|
-
self.check_atomic_binary_memory_cmpxchg(memarg, ValType::I64)
|
2599
|
-
}
|
2600
|
-
fn visit_memory_atomic_notify(&mut self, memarg: MemArg) -> Self::Output {
|
2601
|
-
self.check_atomic_binary_memory_op(memarg, ValType::I32)
|
2602
|
-
}
|
2603
|
-
fn visit_memory_atomic_wait32(&mut self, memarg: MemArg) -> Self::Output {
|
2604
|
-
let ty = self.check_shared_memarg(memarg)?;
|
2605
|
-
self.pop_operand(Some(ValType::I64))?;
|
2606
|
-
self.pop_operand(Some(ValType::I32))?;
|
2607
|
-
self.pop_operand(Some(ty))?;
|
2608
|
-
self.push_operand(ValType::I32)?;
|
2609
|
-
Ok(())
|
2610
|
-
}
|
2611
|
-
fn visit_memory_atomic_wait64(&mut self, memarg: MemArg) -> Self::Output {
|
2612
|
-
let ty = self.check_shared_memarg(memarg)?;
|
2613
|
-
self.pop_operand(Some(ValType::I64))?;
|
2614
|
-
self.pop_operand(Some(ValType::I64))?;
|
2615
|
-
self.pop_operand(Some(ty))?;
|
2616
|
-
self.push_operand(ValType::I32)?;
|
2617
|
-
Ok(())
|
2618
|
-
}
|
2619
|
-
fn visit_atomic_fence(&mut self) -> Self::Output {
|
2620
|
-
Ok(())
|
2621
|
-
}
|
2622
|
-
fn visit_ref_null(&mut self, mut heap_type: HeapType) -> Self::Output {
|
2623
|
-
if let Some(ty) = RefType::new(true, heap_type) {
|
2624
|
-
self.features
|
2625
|
-
.check_ref_type(ty)
|
2626
|
-
.map_err(|e| BinaryReaderError::new(e, self.offset))?;
|
2627
|
-
}
|
2628
|
-
self.resources
|
2629
|
-
.check_heap_type(&mut heap_type, self.offset)?;
|
2630
|
-
let ty = ValType::Ref(
|
2631
|
-
RefType::new(true, heap_type).expect("existing heap types should be within our limits"),
|
2632
|
-
);
|
2633
|
-
self.push_operand(ty)?;
|
2634
|
-
Ok(())
|
2635
|
-
}
|
2636
|
-
|
2637
|
-
fn visit_ref_as_non_null(&mut self) -> Self::Output {
|
2638
|
-
let ty = match self.pop_ref()? {
|
2639
|
-
Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
|
2640
|
-
None => MaybeType::HeapBot,
|
2641
|
-
};
|
2642
|
-
self.push_operand(ty)?;
|
2643
|
-
Ok(())
|
2644
|
-
}
|
2645
|
-
fn visit_br_on_null(&mut self, relative_depth: u32) -> Self::Output {
|
2646
|
-
let ref_ty = match self.pop_ref()? {
|
2647
|
-
None => MaybeType::HeapBot,
|
2648
|
-
Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
|
2649
|
-
};
|
2650
|
-
let (ft, kind) = self.jump(relative_depth)?;
|
2651
|
-
let label_types = self.label_types(ft, kind)?;
|
2652
|
-
self.pop_push_label_types(label_types)?;
|
2653
|
-
self.push_operand(ref_ty)?;
|
2654
|
-
Ok(())
|
2655
|
-
}
|
2656
|
-
fn visit_br_on_non_null(&mut self, relative_depth: u32) -> Self::Output {
|
2657
|
-
let ty = self.pop_ref()?;
|
2658
|
-
let (ft, kind) = self.jump(relative_depth)?;
|
2659
|
-
|
2660
|
-
let mut label_types = self.label_types(ft, kind)?;
|
2661
|
-
match (label_types.next_back(), ty) {
|
2662
|
-
(None, _) => bail!(
|
2663
|
-
self.offset,
|
2664
|
-
"type mismatch: br_on_non_null target has no label types",
|
2665
|
-
),
|
2666
|
-
(Some(ValType::Ref(_)), None) => {}
|
2667
|
-
(Some(rt1 @ ValType::Ref(_)), Some(rt0)) => {
|
2668
|
-
// Switch rt0, our popped type, to a non-nullable type and
|
2669
|
-
// perform the match because if the branch is taken it's a
|
2670
|
-
// non-null value.
|
2671
|
-
let ty = rt0.as_non_null();
|
2672
|
-
if !self.resources.is_subtype(ty.into(), rt1) {
|
2673
|
-
bail!(
|
2674
|
-
self.offset,
|
2675
|
-
"type mismatch: expected {} but found {}",
|
2676
|
-
ty_to_str(rt0.into()),
|
2677
|
-
ty_to_str(rt1)
|
2678
|
-
)
|
2679
|
-
}
|
2680
|
-
}
|
2681
|
-
(Some(_), _) => bail!(
|
2682
|
-
self.offset,
|
2683
|
-
"type mismatch: br_on_non_null target does not end with heap type",
|
2684
|
-
),
|
2685
|
-
}
|
2686
|
-
|
2687
|
-
self.pop_push_label_types(label_types)?;
|
2688
|
-
Ok(())
|
2689
|
-
}
|
2690
|
-
fn visit_ref_is_null(&mut self) -> Self::Output {
|
2691
|
-
self.pop_ref()?;
|
2692
|
-
self.push_operand(ValType::I32)?;
|
2693
|
-
Ok(())
|
2694
|
-
}
|
2695
|
-
fn visit_ref_func(&mut self, function_index: u32) -> Self::Output {
|
2696
|
-
let type_id = match self.resources.type_id_of_function(function_index) {
|
2697
|
-
Some(id) => id,
|
2698
|
-
None => bail!(
|
2699
|
-
self.offset,
|
2700
|
-
"unknown function {}: function index out of bounds",
|
2701
|
-
function_index,
|
2702
|
-
),
|
2703
|
-
};
|
2704
|
-
if !self.resources.is_function_referenced(function_index) {
|
2705
|
-
bail!(self.offset, "undeclared function reference");
|
2706
|
-
}
|
2707
|
-
|
2708
|
-
let index = UnpackedIndex::Id(type_id);
|
2709
|
-
let ty = ValType::Ref(
|
2710
|
-
RefType::new(false, HeapType::Concrete(index)).ok_or_else(|| {
|
2711
|
-
BinaryReaderError::new("implementation limit: type index too large", self.offset)
|
2712
|
-
})?,
|
2713
|
-
);
|
2714
|
-
self.push_operand(ty)?;
|
2715
|
-
Ok(())
|
2716
|
-
}
|
2717
|
-
fn visit_ref_eq(&mut self) -> Self::Output {
|
2718
|
-
self.pop_operand(Some(RefType::EQ.nullable().into()))?;
|
2719
|
-
self.pop_operand(Some(RefType::EQ.nullable().into()))?;
|
2720
|
-
self.push_operand(ValType::I32)
|
2721
|
-
}
|
2722
|
-
fn visit_v128_load(&mut self, memarg: MemArg) -> Self::Output {
|
2723
|
-
let ty = self.check_memarg(memarg)?;
|
2724
|
-
self.pop_operand(Some(ty))?;
|
2725
|
-
self.push_operand(ValType::V128)?;
|
2726
|
-
Ok(())
|
2727
|
-
}
|
2728
|
-
fn visit_v128_store(&mut self, memarg: MemArg) -> Self::Output {
|
2729
|
-
let ty = self.check_memarg(memarg)?;
|
2730
|
-
self.pop_operand(Some(ValType::V128))?;
|
2731
|
-
self.pop_operand(Some(ty))?;
|
2732
|
-
Ok(())
|
2733
|
-
}
|
2734
|
-
fn visit_v128_const(&mut self, _value: V128) -> Self::Output {
|
2735
|
-
self.push_operand(ValType::V128)?;
|
2736
|
-
Ok(())
|
2737
|
-
}
|
2738
|
-
fn visit_i8x16_splat(&mut self) -> Self::Output {
|
2739
|
-
self.check_v128_splat(ValType::I32)
|
2740
|
-
}
|
2741
|
-
fn visit_i16x8_splat(&mut self) -> Self::Output {
|
2742
|
-
self.check_v128_splat(ValType::I32)
|
2743
|
-
}
|
2744
|
-
fn visit_i32x4_splat(&mut self) -> Self::Output {
|
2745
|
-
self.check_v128_splat(ValType::I32)
|
2746
|
-
}
|
2747
|
-
fn visit_i64x2_splat(&mut self) -> Self::Output {
|
2748
|
-
self.check_v128_splat(ValType::I64)
|
2749
|
-
}
|
2750
|
-
fn visit_f32x4_splat(&mut self) -> Self::Output {
|
2751
|
-
self.check_floats_enabled()?;
|
2752
|
-
self.check_v128_splat(ValType::F32)
|
2753
|
-
}
|
2754
|
-
fn visit_f64x2_splat(&mut self) -> Self::Output {
|
2755
|
-
self.check_floats_enabled()?;
|
2756
|
-
self.check_v128_splat(ValType::F64)
|
2757
|
-
}
|
2758
|
-
fn visit_i8x16_extract_lane_s(&mut self, lane: u8) -> Self::Output {
|
2759
|
-
self.check_simd_lane_index(lane, 16)?;
|
2760
|
-
self.pop_operand(Some(ValType::V128))?;
|
2761
|
-
self.push_operand(ValType::I32)?;
|
2762
|
-
Ok(())
|
2763
|
-
}
|
2764
|
-
fn visit_i8x16_extract_lane_u(&mut self, lane: u8) -> Self::Output {
|
2765
|
-
self.visit_i8x16_extract_lane_s(lane)
|
2766
|
-
}
|
2767
|
-
fn visit_i16x8_extract_lane_s(&mut self, lane: u8) -> Self::Output {
|
2768
|
-
self.check_simd_lane_index(lane, 8)?;
|
2769
|
-
self.pop_operand(Some(ValType::V128))?;
|
2770
|
-
self.push_operand(ValType::I32)?;
|
2771
|
-
Ok(())
|
2772
|
-
}
|
2773
|
-
fn visit_i16x8_extract_lane_u(&mut self, lane: u8) -> Self::Output {
|
2774
|
-
self.visit_i16x8_extract_lane_s(lane)
|
2775
|
-
}
|
2776
|
-
fn visit_i32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2777
|
-
self.check_simd_lane_index(lane, 4)?;
|
2778
|
-
self.pop_operand(Some(ValType::V128))?;
|
2779
|
-
self.push_operand(ValType::I32)?;
|
2780
|
-
Ok(())
|
2781
|
-
}
|
2782
|
-
fn visit_i8x16_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2783
|
-
self.check_simd_lane_index(lane, 16)?;
|
2784
|
-
self.pop_operand(Some(ValType::I32))?;
|
2785
|
-
self.pop_operand(Some(ValType::V128))?;
|
2786
|
-
self.push_operand(ValType::V128)?;
|
2787
|
-
Ok(())
|
2788
|
-
}
|
2789
|
-
fn visit_i16x8_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2790
|
-
self.check_simd_lane_index(lane, 8)?;
|
2791
|
-
self.pop_operand(Some(ValType::I32))?;
|
2792
|
-
self.pop_operand(Some(ValType::V128))?;
|
2793
|
-
self.push_operand(ValType::V128)?;
|
2794
|
-
Ok(())
|
2795
|
-
}
|
2796
|
-
fn visit_i32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2797
|
-
self.check_simd_lane_index(lane, 4)?;
|
2798
|
-
self.pop_operand(Some(ValType::I32))?;
|
2799
|
-
self.pop_operand(Some(ValType::V128))?;
|
2800
|
-
self.push_operand(ValType::V128)?;
|
2801
|
-
Ok(())
|
2802
|
-
}
|
2803
|
-
fn visit_i64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2804
|
-
self.check_simd_lane_index(lane, 2)?;
|
2805
|
-
self.pop_operand(Some(ValType::V128))?;
|
2806
|
-
self.push_operand(ValType::I64)?;
|
2807
|
-
Ok(())
|
2808
|
-
}
|
2809
|
-
fn visit_i64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2810
|
-
self.check_simd_lane_index(lane, 2)?;
|
2811
|
-
self.pop_operand(Some(ValType::I64))?;
|
2812
|
-
self.pop_operand(Some(ValType::V128))?;
|
2813
|
-
self.push_operand(ValType::V128)?;
|
2814
|
-
Ok(())
|
2815
|
-
}
|
2816
|
-
fn visit_f32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2817
|
-
self.check_floats_enabled()?;
|
2818
|
-
self.check_simd_lane_index(lane, 4)?;
|
2819
|
-
self.pop_operand(Some(ValType::V128))?;
|
2820
|
-
self.push_operand(ValType::F32)?;
|
2821
|
-
Ok(())
|
2822
|
-
}
|
2823
|
-
fn visit_f32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2824
|
-
self.check_floats_enabled()?;
|
2825
|
-
self.check_simd_lane_index(lane, 4)?;
|
2826
|
-
self.pop_operand(Some(ValType::F32))?;
|
2827
|
-
self.pop_operand(Some(ValType::V128))?;
|
2828
|
-
self.push_operand(ValType::V128)?;
|
2829
|
-
Ok(())
|
2830
|
-
}
|
2831
|
-
fn visit_f64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2832
|
-
self.check_floats_enabled()?;
|
2833
|
-
self.check_simd_lane_index(lane, 2)?;
|
2834
|
-
self.pop_operand(Some(ValType::V128))?;
|
2835
|
-
self.push_operand(ValType::F64)?;
|
2836
|
-
Ok(())
|
2837
|
-
}
|
2838
|
-
fn visit_f64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2839
|
-
self.check_floats_enabled()?;
|
2840
|
-
self.check_simd_lane_index(lane, 2)?;
|
2841
|
-
self.pop_operand(Some(ValType::F64))?;
|
2842
|
-
self.pop_operand(Some(ValType::V128))?;
|
2843
|
-
self.push_operand(ValType::V128)?;
|
2844
|
-
Ok(())
|
2845
|
-
}
|
2846
|
-
fn visit_f32x4_eq(&mut self) -> Self::Output {
|
2847
|
-
self.check_v128_fbinary_op()
|
2848
|
-
}
|
2849
|
-
fn visit_f32x4_ne(&mut self) -> Self::Output {
|
2850
|
-
self.check_v128_fbinary_op()
|
2851
|
-
}
|
2852
|
-
fn visit_f32x4_lt(&mut self) -> Self::Output {
|
2853
|
-
self.check_v128_fbinary_op()
|
2854
|
-
}
|
2855
|
-
fn visit_f32x4_gt(&mut self) -> Self::Output {
|
2856
|
-
self.check_v128_fbinary_op()
|
2857
|
-
}
|
2858
|
-
fn visit_f32x4_le(&mut self) -> Self::Output {
|
2859
|
-
self.check_v128_fbinary_op()
|
2860
|
-
}
|
2861
|
-
fn visit_f32x4_ge(&mut self) -> Self::Output {
|
2862
|
-
self.check_v128_fbinary_op()
|
2863
|
-
}
|
2864
|
-
fn visit_f64x2_eq(&mut self) -> Self::Output {
|
2865
|
-
self.check_v128_fbinary_op()
|
2866
|
-
}
|
2867
|
-
fn visit_f64x2_ne(&mut self) -> Self::Output {
|
2868
|
-
self.check_v128_fbinary_op()
|
2869
|
-
}
|
2870
|
-
fn visit_f64x2_lt(&mut self) -> Self::Output {
|
2871
|
-
self.check_v128_fbinary_op()
|
2872
|
-
}
|
2873
|
-
fn visit_f64x2_gt(&mut self) -> Self::Output {
|
2874
|
-
self.check_v128_fbinary_op()
|
2875
|
-
}
|
2876
|
-
fn visit_f64x2_le(&mut self) -> Self::Output {
|
2877
|
-
self.check_v128_fbinary_op()
|
2878
|
-
}
|
2879
|
-
fn visit_f64x2_ge(&mut self) -> Self::Output {
|
2880
|
-
self.check_v128_fbinary_op()
|
2881
|
-
}
|
2882
|
-
fn visit_f32x4_add(&mut self) -> Self::Output {
|
2883
|
-
self.check_v128_fbinary_op()
|
2884
|
-
}
|
2885
|
-
fn visit_f32x4_sub(&mut self) -> Self::Output {
|
2886
|
-
self.check_v128_fbinary_op()
|
2887
|
-
}
|
2888
|
-
fn visit_f32x4_mul(&mut self) -> Self::Output {
|
2889
|
-
self.check_v128_fbinary_op()
|
2890
|
-
}
|
2891
|
-
fn visit_f32x4_div(&mut self) -> Self::Output {
|
2892
|
-
self.check_v128_fbinary_op()
|
2893
|
-
}
|
2894
|
-
fn visit_f32x4_min(&mut self) -> Self::Output {
|
2895
|
-
self.check_v128_fbinary_op()
|
2896
|
-
}
|
2897
|
-
fn visit_f32x4_max(&mut self) -> Self::Output {
|
2898
|
-
self.check_v128_fbinary_op()
|
2899
|
-
}
|
2900
|
-
fn visit_f32x4_pmin(&mut self) -> Self::Output {
|
2901
|
-
self.check_v128_fbinary_op()
|
2902
|
-
}
|
2903
|
-
fn visit_f32x4_pmax(&mut self) -> Self::Output {
|
2904
|
-
self.check_v128_fbinary_op()
|
2905
|
-
}
|
2906
|
-
fn visit_f64x2_add(&mut self) -> Self::Output {
|
2907
|
-
self.check_v128_fbinary_op()
|
2908
|
-
}
|
2909
|
-
fn visit_f64x2_sub(&mut self) -> Self::Output {
|
2910
|
-
self.check_v128_fbinary_op()
|
2911
|
-
}
|
2912
|
-
fn visit_f64x2_mul(&mut self) -> Self::Output {
|
2913
|
-
self.check_v128_fbinary_op()
|
2914
|
-
}
|
2915
|
-
fn visit_f64x2_div(&mut self) -> Self::Output {
|
2916
|
-
self.check_v128_fbinary_op()
|
2917
|
-
}
|
2918
|
-
fn visit_f64x2_min(&mut self) -> Self::Output {
|
2919
|
-
self.check_v128_fbinary_op()
|
2920
|
-
}
|
2921
|
-
fn visit_f64x2_max(&mut self) -> Self::Output {
|
2922
|
-
self.check_v128_fbinary_op()
|
2923
|
-
}
|
2924
|
-
fn visit_f64x2_pmin(&mut self) -> Self::Output {
|
2925
|
-
self.check_v128_fbinary_op()
|
2926
|
-
}
|
2927
|
-
fn visit_f64x2_pmax(&mut self) -> Self::Output {
|
2928
|
-
self.check_v128_fbinary_op()
|
2929
|
-
}
|
2930
|
-
fn visit_i8x16_eq(&mut self) -> Self::Output {
|
2931
|
-
self.check_v128_binary_op()
|
2932
|
-
}
|
2933
|
-
fn visit_i8x16_ne(&mut self) -> Self::Output {
|
2934
|
-
self.check_v128_binary_op()
|
2935
|
-
}
|
2936
|
-
fn visit_i8x16_lt_s(&mut self) -> Self::Output {
|
2937
|
-
self.check_v128_binary_op()
|
2938
|
-
}
|
2939
|
-
fn visit_i8x16_lt_u(&mut self) -> Self::Output {
|
2940
|
-
self.check_v128_binary_op()
|
2941
|
-
}
|
2942
|
-
fn visit_i8x16_gt_s(&mut self) -> Self::Output {
|
2943
|
-
self.check_v128_binary_op()
|
2944
|
-
}
|
2945
|
-
fn visit_i8x16_gt_u(&mut self) -> Self::Output {
|
2946
|
-
self.check_v128_binary_op()
|
2947
|
-
}
|
2948
|
-
fn visit_i8x16_le_s(&mut self) -> Self::Output {
|
2949
|
-
self.check_v128_binary_op()
|
2950
|
-
}
|
2951
|
-
fn visit_i8x16_le_u(&mut self) -> Self::Output {
|
2952
|
-
self.check_v128_binary_op()
|
2953
|
-
}
|
2954
|
-
fn visit_i8x16_ge_s(&mut self) -> Self::Output {
|
2955
|
-
self.check_v128_binary_op()
|
2956
|
-
}
|
2957
|
-
fn visit_i8x16_ge_u(&mut self) -> Self::Output {
|
2958
|
-
self.check_v128_binary_op()
|
2959
|
-
}
|
2960
|
-
fn visit_i16x8_eq(&mut self) -> Self::Output {
|
2961
|
-
self.check_v128_binary_op()
|
2962
|
-
}
|
2963
|
-
fn visit_i16x8_ne(&mut self) -> Self::Output {
|
2964
|
-
self.check_v128_binary_op()
|
2965
|
-
}
|
2966
|
-
fn visit_i16x8_lt_s(&mut self) -> Self::Output {
|
2967
|
-
self.check_v128_binary_op()
|
2968
|
-
}
|
2969
|
-
fn visit_i16x8_lt_u(&mut self) -> Self::Output {
|
2970
|
-
self.check_v128_binary_op()
|
2971
|
-
}
|
2972
|
-
fn visit_i16x8_gt_s(&mut self) -> Self::Output {
|
2973
|
-
self.check_v128_binary_op()
|
2974
|
-
}
|
2975
|
-
fn visit_i16x8_gt_u(&mut self) -> Self::Output {
|
2976
|
-
self.check_v128_binary_op()
|
2977
|
-
}
|
2978
|
-
fn visit_i16x8_le_s(&mut self) -> Self::Output {
|
2979
|
-
self.check_v128_binary_op()
|
2980
|
-
}
|
2981
|
-
fn visit_i16x8_le_u(&mut self) -> Self::Output {
|
2982
|
-
self.check_v128_binary_op()
|
2983
|
-
}
|
2984
|
-
fn visit_i16x8_ge_s(&mut self) -> Self::Output {
|
2985
|
-
self.check_v128_binary_op()
|
2986
|
-
}
|
2987
|
-
fn visit_i16x8_ge_u(&mut self) -> Self::Output {
|
2988
|
-
self.check_v128_binary_op()
|
2989
|
-
}
|
2990
|
-
fn visit_i32x4_eq(&mut self) -> Self::Output {
|
2991
|
-
self.check_v128_binary_op()
|
2992
|
-
}
|
2993
|
-
fn visit_i32x4_ne(&mut self) -> Self::Output {
|
2994
|
-
self.check_v128_binary_op()
|
2995
|
-
}
|
2996
|
-
fn visit_i32x4_lt_s(&mut self) -> Self::Output {
|
2997
|
-
self.check_v128_binary_op()
|
2998
|
-
}
|
2999
|
-
fn visit_i32x4_lt_u(&mut self) -> Self::Output {
|
3000
|
-
self.check_v128_binary_op()
|
3001
|
-
}
|
3002
|
-
fn visit_i32x4_gt_s(&mut self) -> Self::Output {
|
3003
|
-
self.check_v128_binary_op()
|
3004
|
-
}
|
3005
|
-
fn visit_i32x4_gt_u(&mut self) -> Self::Output {
|
3006
|
-
self.check_v128_binary_op()
|
3007
|
-
}
|
3008
|
-
fn visit_i32x4_le_s(&mut self) -> Self::Output {
|
3009
|
-
self.check_v128_binary_op()
|
3010
|
-
}
|
3011
|
-
fn visit_i32x4_le_u(&mut self) -> Self::Output {
|
3012
|
-
self.check_v128_binary_op()
|
3013
|
-
}
|
3014
|
-
fn visit_i32x4_ge_s(&mut self) -> Self::Output {
|
3015
|
-
self.check_v128_binary_op()
|
3016
|
-
}
|
3017
|
-
fn visit_i32x4_ge_u(&mut self) -> Self::Output {
|
3018
|
-
self.check_v128_binary_op()
|
3019
|
-
}
|
3020
|
-
fn visit_i64x2_eq(&mut self) -> Self::Output {
|
3021
|
-
self.check_v128_binary_op()
|
3022
|
-
}
|
3023
|
-
fn visit_i64x2_ne(&mut self) -> Self::Output {
|
3024
|
-
self.check_v128_binary_op()
|
3025
|
-
}
|
3026
|
-
fn visit_i64x2_lt_s(&mut self) -> Self::Output {
|
3027
|
-
self.check_v128_binary_op()
|
3028
|
-
}
|
3029
|
-
fn visit_i64x2_gt_s(&mut self) -> Self::Output {
|
3030
|
-
self.check_v128_binary_op()
|
3031
|
-
}
|
3032
|
-
fn visit_i64x2_le_s(&mut self) -> Self::Output {
|
3033
|
-
self.check_v128_binary_op()
|
3034
|
-
}
|
3035
|
-
fn visit_i64x2_ge_s(&mut self) -> Self::Output {
|
3036
|
-
self.check_v128_binary_op()
|
3037
|
-
}
|
3038
|
-
fn visit_v128_and(&mut self) -> Self::Output {
|
3039
|
-
self.check_v128_binary_op()
|
3040
|
-
}
|
3041
|
-
fn visit_v128_andnot(&mut self) -> Self::Output {
|
3042
|
-
self.check_v128_binary_op()
|
3043
|
-
}
|
3044
|
-
fn visit_v128_or(&mut self) -> Self::Output {
|
3045
|
-
self.check_v128_binary_op()
|
3046
|
-
}
|
3047
|
-
fn visit_v128_xor(&mut self) -> Self::Output {
|
3048
|
-
self.check_v128_binary_op()
|
3049
|
-
}
|
3050
|
-
fn visit_i8x16_add(&mut self) -> Self::Output {
|
3051
|
-
self.check_v128_binary_op()
|
3052
|
-
}
|
3053
|
-
fn visit_i8x16_add_sat_s(&mut self) -> Self::Output {
|
3054
|
-
self.check_v128_binary_op()
|
3055
|
-
}
|
3056
|
-
fn visit_i8x16_add_sat_u(&mut self) -> Self::Output {
|
3057
|
-
self.check_v128_binary_op()
|
3058
|
-
}
|
3059
|
-
fn visit_i8x16_sub(&mut self) -> Self::Output {
|
3060
|
-
self.check_v128_binary_op()
|
3061
|
-
}
|
3062
|
-
fn visit_i8x16_sub_sat_s(&mut self) -> Self::Output {
|
3063
|
-
self.check_v128_binary_op()
|
3064
|
-
}
|
3065
|
-
fn visit_i8x16_sub_sat_u(&mut self) -> Self::Output {
|
3066
|
-
self.check_v128_binary_op()
|
3067
|
-
}
|
3068
|
-
fn visit_i8x16_min_s(&mut self) -> Self::Output {
|
3069
|
-
self.check_v128_binary_op()
|
3070
|
-
}
|
3071
|
-
fn visit_i8x16_min_u(&mut self) -> Self::Output {
|
3072
|
-
self.check_v128_binary_op()
|
3073
|
-
}
|
3074
|
-
fn visit_i8x16_max_s(&mut self) -> Self::Output {
|
3075
|
-
self.check_v128_binary_op()
|
3076
|
-
}
|
3077
|
-
fn visit_i8x16_max_u(&mut self) -> Self::Output {
|
3078
|
-
self.check_v128_binary_op()
|
3079
|
-
}
|
3080
|
-
fn visit_i16x8_add(&mut self) -> Self::Output {
|
3081
|
-
self.check_v128_binary_op()
|
3082
|
-
}
|
3083
|
-
fn visit_i16x8_add_sat_s(&mut self) -> Self::Output {
|
3084
|
-
self.check_v128_binary_op()
|
3085
|
-
}
|
3086
|
-
fn visit_i16x8_add_sat_u(&mut self) -> Self::Output {
|
3087
|
-
self.check_v128_binary_op()
|
3088
|
-
}
|
3089
|
-
fn visit_i16x8_sub(&mut self) -> Self::Output {
|
3090
|
-
self.check_v128_binary_op()
|
3091
|
-
}
|
3092
|
-
fn visit_i16x8_sub_sat_s(&mut self) -> Self::Output {
|
3093
|
-
self.check_v128_binary_op()
|
3094
|
-
}
|
3095
|
-
fn visit_i16x8_sub_sat_u(&mut self) -> Self::Output {
|
3096
|
-
self.check_v128_binary_op()
|
3097
|
-
}
|
3098
|
-
fn visit_i16x8_mul(&mut self) -> Self::Output {
|
3099
|
-
self.check_v128_binary_op()
|
3100
|
-
}
|
3101
|
-
fn visit_i16x8_min_s(&mut self) -> Self::Output {
|
3102
|
-
self.check_v128_binary_op()
|
3103
|
-
}
|
3104
|
-
fn visit_i16x8_min_u(&mut self) -> Self::Output {
|
3105
|
-
self.check_v128_binary_op()
|
3106
|
-
}
|
3107
|
-
fn visit_i16x8_max_s(&mut self) -> Self::Output {
|
3108
|
-
self.check_v128_binary_op()
|
3109
|
-
}
|
3110
|
-
fn visit_i16x8_max_u(&mut self) -> Self::Output {
|
3111
|
-
self.check_v128_binary_op()
|
3112
|
-
}
|
3113
|
-
fn visit_i32x4_add(&mut self) -> Self::Output {
|
3114
|
-
self.check_v128_binary_op()
|
3115
|
-
}
|
3116
|
-
fn visit_i32x4_sub(&mut self) -> Self::Output {
|
3117
|
-
self.check_v128_binary_op()
|
3118
|
-
}
|
3119
|
-
fn visit_i32x4_mul(&mut self) -> Self::Output {
|
3120
|
-
self.check_v128_binary_op()
|
3121
|
-
}
|
3122
|
-
fn visit_i32x4_min_s(&mut self) -> Self::Output {
|
3123
|
-
self.check_v128_binary_op()
|
3124
|
-
}
|
3125
|
-
fn visit_i32x4_min_u(&mut self) -> Self::Output {
|
3126
|
-
self.check_v128_binary_op()
|
3127
|
-
}
|
3128
|
-
fn visit_i32x4_max_s(&mut self) -> Self::Output {
|
3129
|
-
self.check_v128_binary_op()
|
3130
|
-
}
|
3131
|
-
fn visit_i32x4_max_u(&mut self) -> Self::Output {
|
3132
|
-
self.check_v128_binary_op()
|
3133
|
-
}
|
3134
|
-
fn visit_i32x4_dot_i16x8_s(&mut self) -> Self::Output {
|
3135
|
-
self.check_v128_binary_op()
|
3136
|
-
}
|
3137
|
-
fn visit_i64x2_add(&mut self) -> Self::Output {
|
3138
|
-
self.check_v128_binary_op()
|
3139
|
-
}
|
3140
|
-
fn visit_i64x2_sub(&mut self) -> Self::Output {
|
3141
|
-
self.check_v128_binary_op()
|
3142
|
-
}
|
3143
|
-
fn visit_i64x2_mul(&mut self) -> Self::Output {
|
3144
|
-
self.check_v128_binary_op()
|
3145
|
-
}
|
3146
|
-
fn visit_i8x16_avgr_u(&mut self) -> Self::Output {
|
3147
|
-
self.check_v128_binary_op()
|
3148
|
-
}
|
3149
|
-
fn visit_i16x8_avgr_u(&mut self) -> Self::Output {
|
3150
|
-
self.check_v128_binary_op()
|
3151
|
-
}
|
3152
|
-
fn visit_i8x16_narrow_i16x8_s(&mut self) -> Self::Output {
|
3153
|
-
self.check_v128_binary_op()
|
3154
|
-
}
|
3155
|
-
fn visit_i8x16_narrow_i16x8_u(&mut self) -> Self::Output {
|
3156
|
-
self.check_v128_binary_op()
|
3157
|
-
}
|
3158
|
-
fn visit_i16x8_narrow_i32x4_s(&mut self) -> Self::Output {
|
3159
|
-
self.check_v128_binary_op()
|
3160
|
-
}
|
3161
|
-
fn visit_i16x8_narrow_i32x4_u(&mut self) -> Self::Output {
|
3162
|
-
self.check_v128_binary_op()
|
3163
|
-
}
|
3164
|
-
fn visit_i16x8_extmul_low_i8x16_s(&mut self) -> Self::Output {
|
3165
|
-
self.check_v128_binary_op()
|
3166
|
-
}
|
3167
|
-
fn visit_i16x8_extmul_high_i8x16_s(&mut self) -> Self::Output {
|
3168
|
-
self.check_v128_binary_op()
|
3169
|
-
}
|
3170
|
-
fn visit_i16x8_extmul_low_i8x16_u(&mut self) -> Self::Output {
|
3171
|
-
self.check_v128_binary_op()
|
3172
|
-
}
|
3173
|
-
fn visit_i16x8_extmul_high_i8x16_u(&mut self) -> Self::Output {
|
3174
|
-
self.check_v128_binary_op()
|
3175
|
-
}
|
3176
|
-
fn visit_i32x4_extmul_low_i16x8_s(&mut self) -> Self::Output {
|
3177
|
-
self.check_v128_binary_op()
|
3178
|
-
}
|
3179
|
-
fn visit_i32x4_extmul_high_i16x8_s(&mut self) -> Self::Output {
|
3180
|
-
self.check_v128_binary_op()
|
3181
|
-
}
|
3182
|
-
fn visit_i32x4_extmul_low_i16x8_u(&mut self) -> Self::Output {
|
3183
|
-
self.check_v128_binary_op()
|
3184
|
-
}
|
3185
|
-
fn visit_i32x4_extmul_high_i16x8_u(&mut self) -> Self::Output {
|
3186
|
-
self.check_v128_binary_op()
|
3187
|
-
}
|
3188
|
-
fn visit_i64x2_extmul_low_i32x4_s(&mut self) -> Self::Output {
|
3189
|
-
self.check_v128_binary_op()
|
3190
|
-
}
|
3191
|
-
fn visit_i64x2_extmul_high_i32x4_s(&mut self) -> Self::Output {
|
3192
|
-
self.check_v128_binary_op()
|
3193
|
-
}
|
3194
|
-
fn visit_i64x2_extmul_low_i32x4_u(&mut self) -> Self::Output {
|
3195
|
-
self.check_v128_binary_op()
|
3196
|
-
}
|
3197
|
-
fn visit_i64x2_extmul_high_i32x4_u(&mut self) -> Self::Output {
|
3198
|
-
self.check_v128_binary_op()
|
3199
|
-
}
|
3200
|
-
fn visit_i16x8_q15mulr_sat_s(&mut self) -> Self::Output {
|
3201
|
-
self.check_v128_binary_op()
|
3202
|
-
}
|
3203
|
-
fn visit_f32x4_ceil(&mut self) -> Self::Output {
|
3204
|
-
self.check_v128_funary_op()
|
3205
|
-
}
|
3206
|
-
fn visit_f32x4_floor(&mut self) -> Self::Output {
|
3207
|
-
self.check_v128_funary_op()
|
3208
|
-
}
|
3209
|
-
fn visit_f32x4_trunc(&mut self) -> Self::Output {
|
3210
|
-
self.check_v128_funary_op()
|
3211
|
-
}
|
3212
|
-
fn visit_f32x4_nearest(&mut self) -> Self::Output {
|
3213
|
-
self.check_v128_funary_op()
|
3214
|
-
}
|
3215
|
-
fn visit_f64x2_ceil(&mut self) -> Self::Output {
|
3216
|
-
self.check_v128_funary_op()
|
3217
|
-
}
|
3218
|
-
fn visit_f64x2_floor(&mut self) -> Self::Output {
|
3219
|
-
self.check_v128_funary_op()
|
3220
|
-
}
|
3221
|
-
fn visit_f64x2_trunc(&mut self) -> Self::Output {
|
3222
|
-
self.check_v128_funary_op()
|
3223
|
-
}
|
3224
|
-
fn visit_f64x2_nearest(&mut self) -> Self::Output {
|
3225
|
-
self.check_v128_funary_op()
|
3226
|
-
}
|
3227
|
-
fn visit_f32x4_abs(&mut self) -> Self::Output {
|
3228
|
-
self.check_v128_funary_op()
|
3229
|
-
}
|
3230
|
-
fn visit_f32x4_neg(&mut self) -> Self::Output {
|
3231
|
-
self.check_v128_funary_op()
|
3232
|
-
}
|
3233
|
-
fn visit_f32x4_sqrt(&mut self) -> Self::Output {
|
3234
|
-
self.check_v128_funary_op()
|
3235
|
-
}
|
3236
|
-
fn visit_f64x2_abs(&mut self) -> Self::Output {
|
3237
|
-
self.check_v128_funary_op()
|
3238
|
-
}
|
3239
|
-
fn visit_f64x2_neg(&mut self) -> Self::Output {
|
3240
|
-
self.check_v128_funary_op()
|
3241
|
-
}
|
3242
|
-
fn visit_f64x2_sqrt(&mut self) -> Self::Output {
|
3243
|
-
self.check_v128_funary_op()
|
3244
|
-
}
|
3245
|
-
fn visit_f32x4_demote_f64x2_zero(&mut self) -> Self::Output {
|
3246
|
-
self.check_v128_funary_op()
|
3247
|
-
}
|
3248
|
-
fn visit_f64x2_promote_low_f32x4(&mut self) -> Self::Output {
|
3249
|
-
self.check_v128_funary_op()
|
3250
|
-
}
|
3251
|
-
fn visit_f64x2_convert_low_i32x4_s(&mut self) -> Self::Output {
|
3252
|
-
self.check_v128_funary_op()
|
3253
|
-
}
|
3254
|
-
fn visit_f64x2_convert_low_i32x4_u(&mut self) -> Self::Output {
|
3255
|
-
self.check_v128_funary_op()
|
3256
|
-
}
|
3257
|
-
fn visit_i32x4_trunc_sat_f32x4_s(&mut self) -> Self::Output {
|
3258
|
-
self.check_v128_funary_op()
|
3259
|
-
}
|
3260
|
-
fn visit_i32x4_trunc_sat_f32x4_u(&mut self) -> Self::Output {
|
3261
|
-
self.check_v128_funary_op()
|
3262
|
-
}
|
3263
|
-
fn visit_i32x4_trunc_sat_f64x2_s_zero(&mut self) -> Self::Output {
|
3264
|
-
self.check_v128_funary_op()
|
3265
|
-
}
|
3266
|
-
fn visit_i32x4_trunc_sat_f64x2_u_zero(&mut self) -> Self::Output {
|
3267
|
-
self.check_v128_funary_op()
|
3268
|
-
}
|
3269
|
-
fn visit_f32x4_convert_i32x4_s(&mut self) -> Self::Output {
|
3270
|
-
self.check_v128_funary_op()
|
3271
|
-
}
|
3272
|
-
fn visit_f32x4_convert_i32x4_u(&mut self) -> Self::Output {
|
3273
|
-
self.check_v128_funary_op()
|
3274
|
-
}
|
3275
|
-
fn visit_v128_not(&mut self) -> Self::Output {
|
3276
|
-
self.check_v128_unary_op()
|
3277
|
-
}
|
3278
|
-
fn visit_i8x16_abs(&mut self) -> Self::Output {
|
3279
|
-
self.check_v128_unary_op()
|
3280
|
-
}
|
3281
|
-
fn visit_i8x16_neg(&mut self) -> Self::Output {
|
3282
|
-
self.check_v128_unary_op()
|
3283
|
-
}
|
3284
|
-
fn visit_i8x16_popcnt(&mut self) -> Self::Output {
|
3285
|
-
self.check_v128_unary_op()
|
3286
|
-
}
|
3287
|
-
fn visit_i16x8_abs(&mut self) -> Self::Output {
|
3288
|
-
self.check_v128_unary_op()
|
3289
|
-
}
|
3290
|
-
fn visit_i16x8_neg(&mut self) -> Self::Output {
|
3291
|
-
self.check_v128_unary_op()
|
3292
|
-
}
|
3293
|
-
fn visit_i32x4_abs(&mut self) -> Self::Output {
|
3294
|
-
self.check_v128_unary_op()
|
3295
|
-
}
|
3296
|
-
fn visit_i32x4_neg(&mut self) -> Self::Output {
|
3297
|
-
self.check_v128_unary_op()
|
3298
|
-
}
|
3299
|
-
fn visit_i64x2_abs(&mut self) -> Self::Output {
|
3300
|
-
self.check_v128_unary_op()
|
3301
|
-
}
|
3302
|
-
fn visit_i64x2_neg(&mut self) -> Self::Output {
|
3303
|
-
self.check_v128_unary_op()
|
3304
|
-
}
|
3305
|
-
fn visit_i16x8_extend_low_i8x16_s(&mut self) -> Self::Output {
|
3306
|
-
self.check_v128_unary_op()
|
3307
|
-
}
|
3308
|
-
fn visit_i16x8_extend_high_i8x16_s(&mut self) -> Self::Output {
|
3309
|
-
self.check_v128_unary_op()
|
3310
|
-
}
|
3311
|
-
fn visit_i16x8_extend_low_i8x16_u(&mut self) -> Self::Output {
|
3312
|
-
self.check_v128_unary_op()
|
3313
|
-
}
|
3314
|
-
fn visit_i16x8_extend_high_i8x16_u(&mut self) -> Self::Output {
|
3315
|
-
self.check_v128_unary_op()
|
3316
|
-
}
|
3317
|
-
fn visit_i32x4_extend_low_i16x8_s(&mut self) -> Self::Output {
|
3318
|
-
self.check_v128_unary_op()
|
3319
|
-
}
|
3320
|
-
fn visit_i32x4_extend_high_i16x8_s(&mut self) -> Self::Output {
|
3321
|
-
self.check_v128_unary_op()
|
3322
|
-
}
|
3323
|
-
fn visit_i32x4_extend_low_i16x8_u(&mut self) -> Self::Output {
|
3324
|
-
self.check_v128_unary_op()
|
3325
|
-
}
|
3326
|
-
fn visit_i32x4_extend_high_i16x8_u(&mut self) -> Self::Output {
|
3327
|
-
self.check_v128_unary_op()
|
3328
|
-
}
|
3329
|
-
fn visit_i64x2_extend_low_i32x4_s(&mut self) -> Self::Output {
|
3330
|
-
self.check_v128_unary_op()
|
3331
|
-
}
|
3332
|
-
fn visit_i64x2_extend_high_i32x4_s(&mut self) -> Self::Output {
|
3333
|
-
self.check_v128_unary_op()
|
3334
|
-
}
|
3335
|
-
fn visit_i64x2_extend_low_i32x4_u(&mut self) -> Self::Output {
|
3336
|
-
self.check_v128_unary_op()
|
3337
|
-
}
|
3338
|
-
fn visit_i64x2_extend_high_i32x4_u(&mut self) -> Self::Output {
|
3339
|
-
self.check_v128_unary_op()
|
3340
|
-
}
|
3341
|
-
fn visit_i16x8_extadd_pairwise_i8x16_s(&mut self) -> Self::Output {
|
3342
|
-
self.check_v128_unary_op()
|
3343
|
-
}
|
3344
|
-
fn visit_i16x8_extadd_pairwise_i8x16_u(&mut self) -> Self::Output {
|
3345
|
-
self.check_v128_unary_op()
|
3346
|
-
}
|
3347
|
-
fn visit_i32x4_extadd_pairwise_i16x8_s(&mut self) -> Self::Output {
|
3348
|
-
self.check_v128_unary_op()
|
3349
|
-
}
|
3350
|
-
fn visit_i32x4_extadd_pairwise_i16x8_u(&mut self) -> Self::Output {
|
3351
|
-
self.check_v128_unary_op()
|
3352
|
-
}
|
3353
|
-
fn visit_v128_bitselect(&mut self) -> Self::Output {
|
3354
|
-
self.pop_operand(Some(ValType::V128))?;
|
3355
|
-
self.pop_operand(Some(ValType::V128))?;
|
3356
|
-
self.pop_operand(Some(ValType::V128))?;
|
3357
|
-
self.push_operand(ValType::V128)?;
|
3358
|
-
Ok(())
|
3359
|
-
}
|
3360
|
-
fn visit_i8x16_relaxed_swizzle(&mut self) -> Self::Output {
|
3361
|
-
self.pop_operand(Some(ValType::V128))?;
|
3362
|
-
self.pop_operand(Some(ValType::V128))?;
|
3363
|
-
self.push_operand(ValType::V128)?;
|
3364
|
-
Ok(())
|
3365
|
-
}
|
3366
|
-
fn visit_i32x4_relaxed_trunc_f32x4_s(&mut self) -> Self::Output {
|
3367
|
-
self.check_v128_unary_op()
|
3368
|
-
}
|
3369
|
-
fn visit_i32x4_relaxed_trunc_f32x4_u(&mut self) -> Self::Output {
|
3370
|
-
self.check_v128_unary_op()
|
3371
|
-
}
|
3372
|
-
fn visit_i32x4_relaxed_trunc_f64x2_s_zero(&mut self) -> Self::Output {
|
3373
|
-
self.check_v128_unary_op()
|
3374
|
-
}
|
3375
|
-
fn visit_i32x4_relaxed_trunc_f64x2_u_zero(&mut self) -> Self::Output {
|
3376
|
-
self.check_v128_unary_op()
|
3377
|
-
}
|
3378
|
-
fn visit_f32x4_relaxed_madd(&mut self) -> Self::Output {
|
3379
|
-
self.check_v128_ternary_op()
|
3380
|
-
}
|
3381
|
-
fn visit_f32x4_relaxed_nmadd(&mut self) -> Self::Output {
|
3382
|
-
self.check_v128_ternary_op()
|
3383
|
-
}
|
3384
|
-
fn visit_f64x2_relaxed_madd(&mut self) -> Self::Output {
|
3385
|
-
self.check_v128_ternary_op()
|
3386
|
-
}
|
3387
|
-
fn visit_f64x2_relaxed_nmadd(&mut self) -> Self::Output {
|
3388
|
-
self.check_v128_ternary_op()
|
3389
|
-
}
|
3390
|
-
fn visit_i8x16_relaxed_laneselect(&mut self) -> Self::Output {
|
3391
|
-
self.check_v128_ternary_op()
|
3392
|
-
}
|
3393
|
-
fn visit_i16x8_relaxed_laneselect(&mut self) -> Self::Output {
|
3394
|
-
self.check_v128_ternary_op()
|
3395
|
-
}
|
3396
|
-
fn visit_i32x4_relaxed_laneselect(&mut self) -> Self::Output {
|
3397
|
-
self.check_v128_ternary_op()
|
3398
|
-
}
|
3399
|
-
fn visit_i64x2_relaxed_laneselect(&mut self) -> Self::Output {
|
3400
|
-
self.check_v128_ternary_op()
|
3401
|
-
}
|
3402
|
-
fn visit_f32x4_relaxed_min(&mut self) -> Self::Output {
|
3403
|
-
self.check_v128_binary_op()
|
3404
|
-
}
|
3405
|
-
fn visit_f32x4_relaxed_max(&mut self) -> Self::Output {
|
3406
|
-
self.check_v128_binary_op()
|
3407
|
-
}
|
3408
|
-
fn visit_f64x2_relaxed_min(&mut self) -> Self::Output {
|
3409
|
-
self.check_v128_binary_op()
|
3410
|
-
}
|
3411
|
-
fn visit_f64x2_relaxed_max(&mut self) -> Self::Output {
|
3412
|
-
self.check_v128_binary_op()
|
3413
|
-
}
|
3414
|
-
fn visit_i16x8_relaxed_q15mulr_s(&mut self) -> Self::Output {
|
3415
|
-
self.check_v128_binary_op()
|
3416
|
-
}
|
3417
|
-
fn visit_i16x8_relaxed_dot_i8x16_i7x16_s(&mut self) -> Self::Output {
|
3418
|
-
self.check_v128_binary_op()
|
3419
|
-
}
|
3420
|
-
fn visit_i32x4_relaxed_dot_i8x16_i7x16_add_s(&mut self) -> Self::Output {
|
3421
|
-
self.check_v128_ternary_op()
|
3422
|
-
}
|
3423
|
-
fn visit_v128_any_true(&mut self) -> Self::Output {
|
3424
|
-
self.check_v128_bitmask_op()
|
3425
|
-
}
|
3426
|
-
fn visit_i8x16_all_true(&mut self) -> Self::Output {
|
3427
|
-
self.check_v128_bitmask_op()
|
3428
|
-
}
|
3429
|
-
fn visit_i8x16_bitmask(&mut self) -> Self::Output {
|
3430
|
-
self.check_v128_bitmask_op()
|
3431
|
-
}
|
3432
|
-
fn visit_i16x8_all_true(&mut self) -> Self::Output {
|
3433
|
-
self.check_v128_bitmask_op()
|
3434
|
-
}
|
3435
|
-
fn visit_i16x8_bitmask(&mut self) -> Self::Output {
|
3436
|
-
self.check_v128_bitmask_op()
|
3437
|
-
}
|
3438
|
-
fn visit_i32x4_all_true(&mut self) -> Self::Output {
|
3439
|
-
self.check_v128_bitmask_op()
|
3440
|
-
}
|
3441
|
-
fn visit_i32x4_bitmask(&mut self) -> Self::Output {
|
3442
|
-
self.check_v128_bitmask_op()
|
3443
|
-
}
|
3444
|
-
fn visit_i64x2_all_true(&mut self) -> Self::Output {
|
3445
|
-
self.check_v128_bitmask_op()
|
3446
|
-
}
|
3447
|
-
fn visit_i64x2_bitmask(&mut self) -> Self::Output {
|
3448
|
-
self.check_v128_bitmask_op()
|
3449
|
-
}
|
3450
|
-
fn visit_i8x16_shl(&mut self) -> Self::Output {
|
3451
|
-
self.check_v128_shift_op()
|
3452
|
-
}
|
3453
|
-
fn visit_i8x16_shr_s(&mut self) -> Self::Output {
|
3454
|
-
self.check_v128_shift_op()
|
3455
|
-
}
|
3456
|
-
fn visit_i8x16_shr_u(&mut self) -> Self::Output {
|
3457
|
-
self.check_v128_shift_op()
|
3458
|
-
}
|
3459
|
-
fn visit_i16x8_shl(&mut self) -> Self::Output {
|
3460
|
-
self.check_v128_shift_op()
|
3461
|
-
}
|
3462
|
-
fn visit_i16x8_shr_s(&mut self) -> Self::Output {
|
3463
|
-
self.check_v128_shift_op()
|
3464
|
-
}
|
3465
|
-
fn visit_i16x8_shr_u(&mut self) -> Self::Output {
|
3466
|
-
self.check_v128_shift_op()
|
3467
|
-
}
|
3468
|
-
fn visit_i32x4_shl(&mut self) -> Self::Output {
|
3469
|
-
self.check_v128_shift_op()
|
3470
|
-
}
|
3471
|
-
fn visit_i32x4_shr_s(&mut self) -> Self::Output {
|
3472
|
-
self.check_v128_shift_op()
|
3473
|
-
}
|
3474
|
-
fn visit_i32x4_shr_u(&mut self) -> Self::Output {
|
3475
|
-
self.check_v128_shift_op()
|
3476
|
-
}
|
3477
|
-
fn visit_i64x2_shl(&mut self) -> Self::Output {
|
3478
|
-
self.check_v128_shift_op()
|
3479
|
-
}
|
3480
|
-
fn visit_i64x2_shr_s(&mut self) -> Self::Output {
|
3481
|
-
self.check_v128_shift_op()
|
3482
|
-
}
|
3483
|
-
fn visit_i64x2_shr_u(&mut self) -> Self::Output {
|
3484
|
-
self.check_v128_shift_op()
|
3485
|
-
}
|
3486
|
-
fn visit_i8x16_swizzle(&mut self) -> Self::Output {
|
3487
|
-
self.pop_operand(Some(ValType::V128))?;
|
3488
|
-
self.pop_operand(Some(ValType::V128))?;
|
3489
|
-
self.push_operand(ValType::V128)?;
|
3490
|
-
Ok(())
|
3491
|
-
}
|
3492
|
-
fn visit_i8x16_shuffle(&mut self, lanes: [u8; 16]) -> Self::Output {
|
3493
|
-
self.pop_operand(Some(ValType::V128))?;
|
3494
|
-
self.pop_operand(Some(ValType::V128))?;
|
3495
|
-
for i in lanes {
|
3496
|
-
self.check_simd_lane_index(i, 32)?;
|
3497
|
-
}
|
3498
|
-
self.push_operand(ValType::V128)?;
|
3499
|
-
Ok(())
|
3500
|
-
}
|
3501
|
-
fn visit_v128_load8_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3502
|
-
let ty = self.check_memarg(memarg)?;
|
3503
|
-
self.pop_operand(Some(ty))?;
|
3504
|
-
self.push_operand(ValType::V128)?;
|
3505
|
-
Ok(())
|
3506
|
-
}
|
3507
|
-
fn visit_v128_load16_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3508
|
-
let ty = self.check_memarg(memarg)?;
|
3509
|
-
self.pop_operand(Some(ty))?;
|
3510
|
-
self.push_operand(ValType::V128)?;
|
3511
|
-
Ok(())
|
3512
|
-
}
|
3513
|
-
fn visit_v128_load32_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3514
|
-
let ty = self.check_memarg(memarg)?;
|
3515
|
-
self.pop_operand(Some(ty))?;
|
3516
|
-
self.push_operand(ValType::V128)?;
|
3517
|
-
Ok(())
|
3518
|
-
}
|
3519
|
-
fn visit_v128_load32_zero(&mut self, memarg: MemArg) -> Self::Output {
|
3520
|
-
self.visit_v128_load32_splat(memarg)
|
3521
|
-
}
|
3522
|
-
fn visit_v128_load64_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3523
|
-
self.check_v128_load_op(memarg)
|
3524
|
-
}
|
3525
|
-
fn visit_v128_load64_zero(&mut self, memarg: MemArg) -> Self::Output {
|
3526
|
-
self.check_v128_load_op(memarg)
|
3527
|
-
}
|
3528
|
-
fn visit_v128_load8x8_s(&mut self, memarg: MemArg) -> Self::Output {
|
3529
|
-
self.check_v128_load_op(memarg)
|
3530
|
-
}
|
3531
|
-
fn visit_v128_load8x8_u(&mut self, memarg: MemArg) -> Self::Output {
|
3532
|
-
self.check_v128_load_op(memarg)
|
3533
|
-
}
|
3534
|
-
fn visit_v128_load16x4_s(&mut self, memarg: MemArg) -> Self::Output {
|
3535
|
-
self.check_v128_load_op(memarg)
|
3536
|
-
}
|
3537
|
-
fn visit_v128_load16x4_u(&mut self, memarg: MemArg) -> Self::Output {
|
3538
|
-
self.check_v128_load_op(memarg)
|
3539
|
-
}
|
3540
|
-
fn visit_v128_load32x2_s(&mut self, memarg: MemArg) -> Self::Output {
|
3541
|
-
self.check_v128_load_op(memarg)
|
3542
|
-
}
|
3543
|
-
fn visit_v128_load32x2_u(&mut self, memarg: MemArg) -> Self::Output {
|
3544
|
-
self.check_v128_load_op(memarg)
|
3545
|
-
}
|
3546
|
-
fn visit_v128_load8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3547
|
-
let idx = self.check_memarg(memarg)?;
|
3548
|
-
self.check_simd_lane_index(lane, 16)?;
|
3549
|
-
self.pop_operand(Some(ValType::V128))?;
|
3550
|
-
self.pop_operand(Some(idx))?;
|
3551
|
-
self.push_operand(ValType::V128)?;
|
3552
|
-
Ok(())
|
3553
|
-
}
|
3554
|
-
fn visit_v128_load16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3555
|
-
let idx = self.check_memarg(memarg)?;
|
3556
|
-
self.check_simd_lane_index(lane, 8)?;
|
3557
|
-
self.pop_operand(Some(ValType::V128))?;
|
3558
|
-
self.pop_operand(Some(idx))?;
|
3559
|
-
self.push_operand(ValType::V128)?;
|
3560
|
-
Ok(())
|
3561
|
-
}
|
3562
|
-
fn visit_v128_load32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3563
|
-
let idx = self.check_memarg(memarg)?;
|
3564
|
-
self.check_simd_lane_index(lane, 4)?;
|
3565
|
-
self.pop_operand(Some(ValType::V128))?;
|
3566
|
-
self.pop_operand(Some(idx))?;
|
3567
|
-
self.push_operand(ValType::V128)?;
|
3568
|
-
Ok(())
|
3569
|
-
}
|
3570
|
-
fn visit_v128_load64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3571
|
-
let idx = self.check_memarg(memarg)?;
|
3572
|
-
self.check_simd_lane_index(lane, 2)?;
|
3573
|
-
self.pop_operand(Some(ValType::V128))?;
|
3574
|
-
self.pop_operand(Some(idx))?;
|
3575
|
-
self.push_operand(ValType::V128)?;
|
3576
|
-
Ok(())
|
3577
|
-
}
|
3578
|
-
fn visit_v128_store8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3579
|
-
let idx = self.check_memarg(memarg)?;
|
3580
|
-
self.check_simd_lane_index(lane, 16)?;
|
3581
|
-
self.pop_operand(Some(ValType::V128))?;
|
3582
|
-
self.pop_operand(Some(idx))?;
|
3583
|
-
Ok(())
|
3584
|
-
}
|
3585
|
-
fn visit_v128_store16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3586
|
-
let idx = self.check_memarg(memarg)?;
|
3587
|
-
self.check_simd_lane_index(lane, 8)?;
|
3588
|
-
self.pop_operand(Some(ValType::V128))?;
|
3589
|
-
self.pop_operand(Some(idx))?;
|
3590
|
-
Ok(())
|
3591
|
-
}
|
3592
|
-
fn visit_v128_store32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3593
|
-
let idx = self.check_memarg(memarg)?;
|
3594
|
-
self.check_simd_lane_index(lane, 4)?;
|
3595
|
-
self.pop_operand(Some(ValType::V128))?;
|
3596
|
-
self.pop_operand(Some(idx))?;
|
3597
|
-
Ok(())
|
3598
|
-
}
|
3599
|
-
fn visit_v128_store64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3600
|
-
let idx = self.check_memarg(memarg)?;
|
3601
|
-
self.check_simd_lane_index(lane, 2)?;
|
3602
|
-
self.pop_operand(Some(ValType::V128))?;
|
3603
|
-
self.pop_operand(Some(idx))?;
|
3604
|
-
Ok(())
|
3605
|
-
}
|
3606
|
-
fn visit_memory_init(&mut self, segment: u32, mem: u32) -> Self::Output {
|
3607
|
-
let ty = self.check_memory_index(mem)?;
|
3608
|
-
match self.resources.data_count() {
|
3609
|
-
None => bail!(self.offset, "data count section required"),
|
3610
|
-
Some(count) if segment < count => {}
|
3611
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", segment),
|
3612
|
-
}
|
3613
|
-
self.pop_operand(Some(ValType::I32))?;
|
3614
|
-
self.pop_operand(Some(ValType::I32))?;
|
3615
|
-
self.pop_operand(Some(ty))?;
|
3616
|
-
Ok(())
|
3617
|
-
}
|
3618
|
-
fn visit_data_drop(&mut self, segment: u32) -> Self::Output {
|
3619
|
-
match self.resources.data_count() {
|
3620
|
-
None => bail!(self.offset, "data count section required"),
|
3621
|
-
Some(count) if segment < count => {}
|
3622
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", segment),
|
3623
|
-
}
|
3624
|
-
Ok(())
|
3625
|
-
}
|
3626
|
-
fn visit_memory_copy(&mut self, dst: u32, src: u32) -> Self::Output {
|
3627
|
-
let dst_ty = self.check_memory_index(dst)?;
|
3628
|
-
let src_ty = self.check_memory_index(src)?;
|
3629
|
-
|
3630
|
-
// The length operand here is the smaller of src/dst, which is
|
3631
|
-
// i32 if one is i32
|
3632
|
-
self.pop_operand(Some(match src_ty {
|
3633
|
-
ValType::I32 => ValType::I32,
|
3634
|
-
_ => dst_ty,
|
3635
|
-
}))?;
|
3636
|
-
|
3637
|
-
// ... and the offset into each memory is required to be
|
3638
|
-
// whatever the indexing type is for that memory
|
3639
|
-
self.pop_operand(Some(src_ty))?;
|
3640
|
-
self.pop_operand(Some(dst_ty))?;
|
3641
|
-
Ok(())
|
3642
|
-
}
|
3643
|
-
fn visit_memory_fill(&mut self, mem: u32) -> Self::Output {
|
3644
|
-
let ty = self.check_memory_index(mem)?;
|
3645
|
-
self.pop_operand(Some(ty))?;
|
3646
|
-
self.pop_operand(Some(ValType::I32))?;
|
3647
|
-
self.pop_operand(Some(ty))?;
|
3648
|
-
Ok(())
|
3649
|
-
}
|
3650
|
-
fn visit_memory_discard(&mut self, mem: u32) -> Self::Output {
|
3651
|
-
let ty = self.check_memory_index(mem)?;
|
3652
|
-
self.pop_operand(Some(ty))?;
|
3653
|
-
self.pop_operand(Some(ty))?;
|
3654
|
-
Ok(())
|
3655
|
-
}
|
3656
|
-
fn visit_table_init(&mut self, segment: u32, table: u32) -> Self::Output {
|
3657
|
-
let table = self.table_type_at(table)?;
|
3658
|
-
let segment_ty = self.element_type_at(segment)?;
|
3659
|
-
if !self
|
3660
|
-
.resources
|
3661
|
-
.is_subtype(ValType::Ref(segment_ty), ValType::Ref(table.element_type))
|
3662
|
-
{
|
3663
|
-
bail!(self.offset, "type mismatch");
|
3664
|
-
}
|
3665
|
-
self.pop_operand(Some(ValType::I32))?;
|
3666
|
-
self.pop_operand(Some(ValType::I32))?;
|
3667
|
-
self.pop_operand(Some(table.index_type()))?;
|
3668
|
-
Ok(())
|
3669
|
-
}
|
3670
|
-
fn visit_elem_drop(&mut self, segment: u32) -> Self::Output {
|
3671
|
-
if segment >= self.resources.element_count() {
|
3672
|
-
bail!(
|
3673
|
-
self.offset,
|
3674
|
-
"unknown elem segment {}: segment index out of bounds",
|
3675
|
-
segment
|
3676
|
-
);
|
3677
|
-
}
|
3678
|
-
Ok(())
|
3679
|
-
}
|
3680
|
-
fn visit_table_copy(&mut self, dst_table: u32, src_table: u32) -> Self::Output {
|
3681
|
-
let src = self.table_type_at(src_table)?;
|
3682
|
-
let dst = self.table_type_at(dst_table)?;
|
3683
|
-
if !self.resources.is_subtype(
|
3684
|
-
ValType::Ref(src.element_type),
|
3685
|
-
ValType::Ref(dst.element_type),
|
3686
|
-
) {
|
3687
|
-
bail!(self.offset, "type mismatch");
|
3688
|
-
}
|
3689
|
-
|
3690
|
-
// The length operand here is the smaller of src/dst, which is
|
3691
|
-
// i32 if one is i32
|
3692
|
-
self.pop_operand(Some(match src.index_type() {
|
3693
|
-
ValType::I32 => ValType::I32,
|
3694
|
-
_ => dst.index_type(),
|
3695
|
-
}))?;
|
3696
|
-
|
3697
|
-
// ... and the offset into each table is required to be
|
3698
|
-
// whatever the indexing type is for that table
|
3699
|
-
self.pop_operand(Some(src.index_type()))?;
|
3700
|
-
self.pop_operand(Some(dst.index_type()))?;
|
3701
|
-
Ok(())
|
3702
|
-
}
|
3703
|
-
fn visit_table_get(&mut self, table: u32) -> Self::Output {
|
3704
|
-
let table = self.table_type_at(table)?;
|
3705
|
-
debug_assert_type_indices_are_ids(table.element_type.into());
|
3706
|
-
self.pop_operand(Some(table.index_type()))?;
|
3707
|
-
self.push_operand(table.element_type)?;
|
3708
|
-
Ok(())
|
3709
|
-
}
|
3710
|
-
fn visit_table_atomic_get(&mut self, _ordering: Ordering, table: u32) -> Self::Output {
|
3711
|
-
self.visit_table_get(table)?;
|
3712
|
-
// No validation of `ordering` is needed because `table.atomic.get` can
|
3713
|
-
// be used on both shared and unshared tables. But we do need to limit
|
3714
|
-
// which types can be used with this instruction.
|
3715
|
-
let ty = self.table_type_at(table)?.element_type;
|
3716
|
-
let supertype = RefType::ANYREF.shared().unwrap();
|
3717
|
-
if !self.resources.is_subtype(ty.into(), supertype.into()) {
|
3718
|
-
bail!(
|
3719
|
-
self.offset,
|
3720
|
-
"invalid type: `table.atomic.get` only allows subtypes of `anyref`"
|
3721
|
-
);
|
3722
|
-
}
|
3723
|
-
Ok(())
|
3724
|
-
}
|
3725
|
-
fn visit_table_set(&mut self, table: u32) -> Self::Output {
|
3726
|
-
let table = self.table_type_at(table)?;
|
3727
|
-
debug_assert_type_indices_are_ids(table.element_type.into());
|
3728
|
-
self.pop_operand(Some(table.element_type.into()))?;
|
3729
|
-
self.pop_operand(Some(table.index_type()))?;
|
3730
|
-
Ok(())
|
3731
|
-
}
|
3732
|
-
fn visit_table_atomic_set(&mut self, _ordering: Ordering, table: u32) -> Self::Output {
|
3733
|
-
self.visit_table_set(table)?;
|
3734
|
-
// No validation of `ordering` is needed because `table.atomic.set` can
|
3735
|
-
// be used on both shared and unshared tables. But we do need to limit
|
3736
|
-
// which types can be used with this instruction.
|
3737
|
-
let ty = self.table_type_at(table)?.element_type;
|
3738
|
-
let supertype = RefType::ANYREF.shared().unwrap();
|
3739
|
-
if !self.resources.is_subtype(ty.into(), supertype.into()) {
|
3740
|
-
bail!(
|
3741
|
-
self.offset,
|
3742
|
-
"invalid type: `table.atomic.set` only allows subtypes of `anyref`"
|
3743
|
-
);
|
3744
|
-
}
|
3745
|
-
Ok(())
|
3746
|
-
}
|
3747
|
-
fn visit_table_grow(&mut self, table: u32) -> Self::Output {
|
3748
|
-
let table = self.table_type_at(table)?;
|
3749
|
-
debug_assert_type_indices_are_ids(table.element_type.into());
|
3750
|
-
self.pop_operand(Some(table.index_type()))?;
|
3751
|
-
self.pop_operand(Some(table.element_type.into()))?;
|
3752
|
-
self.push_operand(table.index_type())?;
|
3753
|
-
Ok(())
|
3754
|
-
}
|
3755
|
-
fn visit_table_size(&mut self, table: u32) -> Self::Output {
|
3756
|
-
let table = self.table_type_at(table)?;
|
3757
|
-
self.push_operand(table.index_type())?;
|
3758
|
-
Ok(())
|
3759
|
-
}
|
3760
|
-
fn visit_table_fill(&mut self, table: u32) -> Self::Output {
|
3761
|
-
let table = self.table_type_at(table)?;
|
3762
|
-
debug_assert_type_indices_are_ids(table.element_type.into());
|
3763
|
-
self.pop_operand(Some(table.index_type()))?;
|
3764
|
-
self.pop_operand(Some(table.element_type.into()))?;
|
3765
|
-
self.pop_operand(Some(table.index_type()))?;
|
3766
|
-
Ok(())
|
3767
|
-
}
|
3768
|
-
fn visit_table_atomic_rmw_xchg(&mut self, _ordering: Ordering, table: u32) -> Self::Output {
|
3769
|
-
let table = self.table_type_at(table)?;
|
3770
|
-
let elem_ty = table.element_type.into();
|
3771
|
-
debug_assert_type_indices_are_ids(elem_ty);
|
3772
|
-
let supertype = RefType::ANYREF.shared().unwrap();
|
3773
|
-
if !self.resources.is_subtype(elem_ty, supertype.into()) {
|
3774
|
-
bail!(
|
3775
|
-
self.offset,
|
3776
|
-
"invalid type: `table.atomic.rmw.xchg` only allows subtypes of `anyref`"
|
3777
|
-
);
|
3778
|
-
}
|
3779
|
-
self.pop_operand(Some(elem_ty))?;
|
3780
|
-
self.pop_operand(Some(table.index_type()))?;
|
3781
|
-
self.push_operand(elem_ty)?;
|
3782
|
-
Ok(())
|
3783
|
-
}
|
3784
|
-
fn visit_table_atomic_rmw_cmpxchg(&mut self, _ordering: Ordering, table: u32) -> Self::Output {
|
3785
|
-
let table = self.table_type_at(table)?;
|
3786
|
-
let elem_ty = table.element_type.into();
|
3787
|
-
debug_assert_type_indices_are_ids(elem_ty);
|
3788
|
-
let supertype = RefType::EQREF.shared().unwrap();
|
3789
|
-
if !self.resources.is_subtype(elem_ty, supertype.into()) {
|
3790
|
-
bail!(
|
3791
|
-
self.offset,
|
3792
|
-
"invalid type: `table.atomic.rmw.cmpxchg` only allows subtypes of `eqref`"
|
3793
|
-
);
|
3794
|
-
}
|
3795
|
-
self.pop_operand(Some(elem_ty))?;
|
3796
|
-
self.pop_operand(Some(elem_ty))?;
|
3797
|
-
self.pop_operand(Some(table.index_type()))?;
|
3798
|
-
self.push_operand(elem_ty)?;
|
3799
|
-
Ok(())
|
3800
|
-
}
|
3801
|
-
fn visit_struct_new(&mut self, struct_type_index: u32) -> Self::Output {
|
3802
|
-
let struct_ty = self.struct_type_at(struct_type_index)?;
|
3803
|
-
for ty in struct_ty.fields.iter().rev() {
|
3804
|
-
self.pop_operand(Some(ty.element_type.unpack()))?;
|
3805
|
-
}
|
3806
|
-
self.push_concrete_ref(false, struct_type_index)?;
|
3807
|
-
Ok(())
|
3808
|
-
}
|
3809
|
-
fn visit_struct_new_default(&mut self, type_index: u32) -> Self::Output {
|
3810
|
-
let ty = self.struct_type_at(type_index)?;
|
3811
|
-
for field in ty.fields.iter() {
|
3812
|
-
let val_ty = field.element_type.unpack();
|
3813
|
-
if !val_ty.is_defaultable() {
|
3814
|
-
bail!(
|
3815
|
-
self.offset,
|
3816
|
-
"invalid `struct.new_default`: {val_ty} field is not defaultable"
|
3817
|
-
);
|
3818
|
-
}
|
3819
|
-
}
|
3820
|
-
self.push_concrete_ref(false, type_index)?;
|
3821
|
-
Ok(())
|
3822
|
-
}
|
3823
|
-
fn visit_struct_get(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3824
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3825
|
-
if field_ty.element_type.is_packed() {
|
3826
|
-
bail!(
|
3827
|
-
self.offset,
|
3828
|
-
"can only use struct.get with non-packed storage types"
|
3829
|
-
)
|
3830
|
-
}
|
3831
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3832
|
-
self.push_operand(field_ty.element_type.unpack())
|
3833
|
-
}
|
3834
|
-
fn visit_struct_atomic_get(
|
3835
|
-
&mut self,
|
3836
|
-
_ordering: Ordering,
|
3837
|
-
struct_type_index: u32,
|
3838
|
-
field_index: u32,
|
3839
|
-
) -> Self::Output {
|
3840
|
-
self.visit_struct_get(struct_type_index, field_index)?;
|
3841
|
-
// The `atomic` version has some additional type restrictions.
|
3842
|
-
let ty = self
|
3843
|
-
.struct_field_at(struct_type_index, field_index)?
|
3844
|
-
.element_type;
|
3845
|
-
let is_valid_type = match ty {
|
3846
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
3847
|
-
StorageType::Val(v) => self
|
3848
|
-
.resources
|
3849
|
-
.is_subtype(v, RefType::ANYREF.shared().unwrap().into()),
|
3850
|
-
_ => false,
|
3851
|
-
};
|
3852
|
-
if !is_valid_type {
|
3853
|
-
bail!(
|
3854
|
-
self.offset,
|
3855
|
-
"invalid type: `struct.atomic.get` only allows `i32`, `i64` and subtypes of `anyref`"
|
3856
|
-
);
|
3857
|
-
}
|
3858
|
-
Ok(())
|
3859
|
-
}
|
3860
|
-
fn visit_struct_get_s(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3861
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3862
|
-
if !field_ty.element_type.is_packed() {
|
3863
|
-
bail!(
|
3864
|
-
self.offset,
|
3865
|
-
"cannot use struct.get_s with non-packed storage types"
|
3866
|
-
)
|
3867
|
-
}
|
3868
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3869
|
-
self.push_operand(field_ty.element_type.unpack())
|
3870
|
-
}
|
3871
|
-
fn visit_struct_atomic_get_s(
|
3872
|
-
&mut self,
|
3873
|
-
_ordering: Ordering,
|
3874
|
-
struct_type_index: u32,
|
3875
|
-
field_index: u32,
|
3876
|
-
) -> Self::Output {
|
3877
|
-
self.visit_struct_get_s(struct_type_index, field_index)?;
|
3878
|
-
// This instruction has the same type restrictions as the non-`atomic` version.
|
3879
|
-
debug_assert!(matches!(
|
3880
|
-
self.struct_field_at(struct_type_index, field_index)?
|
3881
|
-
.element_type,
|
3882
|
-
StorageType::I8 | StorageType::I16
|
3883
|
-
));
|
3884
|
-
Ok(())
|
3885
|
-
}
|
3886
|
-
fn visit_struct_get_u(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3887
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3888
|
-
if !field_ty.element_type.is_packed() {
|
3889
|
-
bail!(
|
3890
|
-
self.offset,
|
3891
|
-
"cannot use struct.get_u with non-packed storage types"
|
3892
|
-
)
|
3893
|
-
}
|
3894
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3895
|
-
self.push_operand(field_ty.element_type.unpack())
|
3896
|
-
}
|
3897
|
-
fn visit_struct_atomic_get_u(
|
3898
|
-
&mut self,
|
3899
|
-
_ordering: Ordering,
|
3900
|
-
struct_type_index: u32,
|
3901
|
-
field_index: u32,
|
3902
|
-
) -> Self::Output {
|
3903
|
-
self.visit_struct_get_s(struct_type_index, field_index)?;
|
3904
|
-
// This instruction has the same type restrictions as the non-`atomic` version.
|
3905
|
-
debug_assert!(matches!(
|
3906
|
-
self.struct_field_at(struct_type_index, field_index)?
|
3907
|
-
.element_type,
|
3908
|
-
StorageType::I8 | StorageType::I16
|
3909
|
-
));
|
3910
|
-
Ok(())
|
3911
|
-
}
|
3912
|
-
fn visit_struct_set(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3913
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3914
|
-
if !field_ty.mutable {
|
3915
|
-
bail!(self.offset, "invalid struct.set: struct field is immutable")
|
3916
|
-
}
|
3917
|
-
self.pop_operand(Some(field_ty.element_type.unpack()))?;
|
3918
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3919
|
-
Ok(())
|
3920
|
-
}
|
3921
|
-
fn visit_struct_atomic_set(
|
3922
|
-
&mut self,
|
3923
|
-
_ordering: Ordering,
|
3924
|
-
struct_type_index: u32,
|
3925
|
-
field_index: u32,
|
3926
|
-
) -> Self::Output {
|
3927
|
-
self.visit_struct_set(struct_type_index, field_index)?;
|
3928
|
-
// The `atomic` version has some additional type restrictions.
|
3929
|
-
let ty = self
|
3930
|
-
.struct_field_at(struct_type_index, field_index)?
|
3931
|
-
.element_type;
|
3932
|
-
let is_valid_type = match ty {
|
3933
|
-
StorageType::I8 | StorageType::I16 => true,
|
3934
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
3935
|
-
StorageType::Val(v) => self
|
3936
|
-
.resources
|
3937
|
-
.is_subtype(v, RefType::ANYREF.shared().unwrap().into()),
|
3938
|
-
};
|
3939
|
-
if !is_valid_type {
|
3940
|
-
bail!(
|
3941
|
-
self.offset,
|
3942
|
-
"invalid type: `struct.atomic.set` only allows `i8`, `i16`, `i32`, `i64` and subtypes of `anyref`"
|
3943
|
-
);
|
3944
|
-
}
|
3945
|
-
Ok(())
|
3946
|
-
}
|
3947
|
-
fn visit_struct_atomic_rmw_add(
|
3948
|
-
&mut self,
|
3949
|
-
_ordering: Ordering,
|
3950
|
-
struct_type_index: u32,
|
3951
|
-
field_index: u32,
|
3952
|
-
) -> Self::Output {
|
3953
|
-
self.check_struct_atomic_rmw("add", struct_type_index, field_index)
|
3954
|
-
}
|
3955
|
-
fn visit_struct_atomic_rmw_sub(
|
3956
|
-
&mut self,
|
3957
|
-
_ordering: Ordering,
|
3958
|
-
struct_type_index: u32,
|
3959
|
-
field_index: u32,
|
3960
|
-
) -> Self::Output {
|
3961
|
-
self.check_struct_atomic_rmw("sub", struct_type_index, field_index)
|
3962
|
-
}
|
3963
|
-
fn visit_struct_atomic_rmw_and(
|
3964
|
-
&mut self,
|
3965
|
-
_ordering: Ordering,
|
3966
|
-
struct_type_index: u32,
|
3967
|
-
field_index: u32,
|
3968
|
-
) -> Self::Output {
|
3969
|
-
self.check_struct_atomic_rmw("and", struct_type_index, field_index)
|
3970
|
-
}
|
3971
|
-
fn visit_struct_atomic_rmw_or(
|
3972
|
-
&mut self,
|
3973
|
-
_ordering: Ordering,
|
3974
|
-
struct_type_index: u32,
|
3975
|
-
field_index: u32,
|
3976
|
-
) -> Self::Output {
|
3977
|
-
self.check_struct_atomic_rmw("or", struct_type_index, field_index)
|
3978
|
-
}
|
3979
|
-
fn visit_struct_atomic_rmw_xor(
|
3980
|
-
&mut self,
|
3981
|
-
_ordering: Ordering,
|
3982
|
-
struct_type_index: u32,
|
3983
|
-
field_index: u32,
|
3984
|
-
) -> Self::Output {
|
3985
|
-
self.check_struct_atomic_rmw("xor", struct_type_index, field_index)
|
3986
|
-
}
|
3987
|
-
fn visit_struct_atomic_rmw_xchg(
|
3988
|
-
&mut self,
|
3989
|
-
_ordering: Ordering,
|
3990
|
-
struct_type_index: u32,
|
3991
|
-
field_index: u32,
|
3992
|
-
) -> Self::Output {
|
3993
|
-
let field_ty = self
|
3994
|
-
.struct_field_at(struct_type_index, field_index)?
|
3995
|
-
.element_type;
|
3996
|
-
let is_valid_type = match field_ty {
|
3997
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
3998
|
-
StorageType::Val(v) => self
|
3999
|
-
.resources
|
4000
|
-
.is_subtype(v, RefType::ANYREF.shared().unwrap().into()),
|
4001
|
-
_ => false,
|
4002
|
-
};
|
4003
|
-
if !is_valid_type {
|
4004
|
-
bail!(
|
4005
|
-
self.offset,
|
4006
|
-
"invalid type: `struct.atomic.rmw.xchg` only allows `i32`, `i64` and subtypes of `anyref`"
|
4007
|
-
);
|
4008
|
-
}
|
4009
|
-
let field_ty = field_ty.unpack();
|
4010
|
-
self.pop_operand(Some(field_ty))?;
|
4011
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
4012
|
-
self.push_operand(field_ty)?;
|
4013
|
-
Ok(())
|
4014
|
-
}
|
4015
|
-
fn visit_struct_atomic_rmw_cmpxchg(
|
4016
|
-
&mut self,
|
4017
|
-
_ordering: Ordering,
|
4018
|
-
struct_type_index: u32,
|
4019
|
-
field_index: u32,
|
4020
|
-
) -> Self::Output {
|
4021
|
-
let field_ty = self
|
4022
|
-
.struct_field_at(struct_type_index, field_index)?
|
4023
|
-
.element_type;
|
4024
|
-
let is_valid_type = match field_ty {
|
4025
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
4026
|
-
StorageType::Val(v) => self
|
4027
|
-
.resources
|
4028
|
-
.is_subtype(v, RefType::EQREF.shared().unwrap().into()),
|
4029
|
-
_ => false,
|
4030
|
-
};
|
4031
|
-
if !is_valid_type {
|
4032
|
-
bail!(
|
4033
|
-
self.offset,
|
4034
|
-
"invalid type: `struct.atomic.rmw.cmpxchg` only allows `i32`, `i64` and subtypes of `eqref`"
|
4035
|
-
);
|
4036
|
-
}
|
4037
|
-
let field_ty = field_ty.unpack();
|
4038
|
-
self.pop_operand(Some(field_ty))?;
|
4039
|
-
self.pop_operand(Some(field_ty))?;
|
4040
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
4041
|
-
self.push_operand(field_ty)?;
|
4042
|
-
Ok(())
|
4043
|
-
}
|
4044
|
-
fn visit_array_new(&mut self, type_index: u32) -> Self::Output {
|
4045
|
-
let array_ty = self.array_type_at(type_index)?;
|
4046
|
-
self.pop_operand(Some(ValType::I32))?;
|
4047
|
-
self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
|
4048
|
-
self.push_concrete_ref(false, type_index)
|
4049
|
-
}
|
4050
|
-
fn visit_array_new_default(&mut self, type_index: u32) -> Self::Output {
|
4051
|
-
let ty = self.array_type_at(type_index)?;
|
4052
|
-
let val_ty = ty.0.element_type.unpack();
|
4053
|
-
if !val_ty.is_defaultable() {
|
4054
|
-
bail!(
|
4055
|
-
self.offset,
|
4056
|
-
"invalid `array.new_default`: {val_ty} field is not defaultable"
|
4057
|
-
);
|
4058
|
-
}
|
4059
|
-
self.pop_operand(Some(ValType::I32))?;
|
4060
|
-
self.push_concrete_ref(false, type_index)
|
4061
|
-
}
|
4062
|
-
fn visit_array_new_fixed(&mut self, type_index: u32, n: u32) -> Self::Output {
|
4063
|
-
let array_ty = self.array_type_at(type_index)?;
|
4064
|
-
let elem_ty = array_ty.0.element_type.unpack();
|
4065
|
-
for _ in 0..n {
|
4066
|
-
self.pop_operand(Some(elem_ty))?;
|
4067
|
-
}
|
4068
|
-
self.push_concrete_ref(false, type_index)
|
4069
|
-
}
|
4070
|
-
fn visit_array_new_data(&mut self, type_index: u32, data_index: u32) -> Self::Output {
|
4071
|
-
let array_ty = self.array_type_at(type_index)?;
|
4072
|
-
let elem_ty = array_ty.0.element_type.unpack();
|
4073
|
-
match elem_ty {
|
4074
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
|
4075
|
-
ValType::Ref(_) => bail!(
|
4076
|
-
self.offset,
|
4077
|
-
"type mismatch: array.new_data can only create arrays with numeric and vector elements"
|
4078
|
-
),
|
4079
|
-
}
|
4080
|
-
match self.resources.data_count() {
|
4081
|
-
None => bail!(self.offset, "data count section required"),
|
4082
|
-
Some(count) if data_index < count => {}
|
4083
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", data_index),
|
4084
|
-
}
|
4085
|
-
self.pop_operand(Some(ValType::I32))?;
|
4086
|
-
self.pop_operand(Some(ValType::I32))?;
|
4087
|
-
self.push_concrete_ref(false, type_index)
|
4088
|
-
}
|
4089
|
-
fn visit_array_new_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
|
4090
|
-
let array_ty = self.array_type_at(type_index)?;
|
4091
|
-
let array_ref_ty = match array_ty.0.element_type.unpack() {
|
4092
|
-
ValType::Ref(rt) => rt,
|
4093
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
|
4094
|
-
self.offset,
|
4095
|
-
"type mismatch: array.new_elem can only create arrays with reference elements"
|
4096
|
-
),
|
4097
|
-
};
|
4098
|
-
let elem_ref_ty = self.element_type_at(elem_index)?;
|
4099
|
-
if !self
|
4100
|
-
.resources
|
4101
|
-
.is_subtype(elem_ref_ty.into(), array_ref_ty.into())
|
4102
|
-
{
|
4103
|
-
bail!(
|
4104
|
-
self.offset,
|
4105
|
-
"invalid array.new_elem instruction: element segment {elem_index} type mismatch: \
|
4106
|
-
expected {array_ref_ty}, found {elem_ref_ty}"
|
4107
|
-
)
|
4108
|
-
}
|
4109
|
-
self.pop_operand(Some(ValType::I32))?;
|
4110
|
-
self.pop_operand(Some(ValType::I32))?;
|
4111
|
-
self.push_concrete_ref(false, type_index)
|
4112
|
-
}
|
4113
|
-
fn visit_array_get(&mut self, type_index: u32) -> Self::Output {
|
4114
|
-
let array_ty = self.array_type_at(type_index)?;
|
4115
|
-
let elem_ty = array_ty.0.element_type;
|
4116
|
-
if elem_ty.is_packed() {
|
4117
|
-
bail!(
|
4118
|
-
self.offset,
|
4119
|
-
"cannot use array.get with packed storage types"
|
4120
|
-
)
|
4121
|
-
}
|
4122
|
-
self.pop_operand(Some(ValType::I32))?;
|
4123
|
-
self.pop_concrete_ref(true, type_index)?;
|
4124
|
-
self.push_operand(elem_ty.unpack())
|
4125
|
-
}
|
4126
|
-
fn visit_array_atomic_get(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4127
|
-
self.visit_array_get(type_index)?;
|
4128
|
-
// The `atomic` version has some additional type restrictions.
|
4129
|
-
let elem_ty = self.array_type_at(type_index)?.0.element_type;
|
4130
|
-
let is_valid_type = match elem_ty {
|
4131
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
4132
|
-
StorageType::Val(v) => self
|
4133
|
-
.resources
|
4134
|
-
.is_subtype(v, RefType::ANYREF.shared().unwrap().into()),
|
4135
|
-
_ => false,
|
4136
|
-
};
|
4137
|
-
if !is_valid_type {
|
4138
|
-
bail!(
|
4139
|
-
self.offset,
|
4140
|
-
"invalid type: `array.atomic.get` only allows `i32`, `i64` and subtypes of `anyref`"
|
4141
|
-
);
|
4142
|
-
}
|
4143
|
-
Ok(())
|
4144
|
-
}
|
4145
|
-
fn visit_array_get_s(&mut self, type_index: u32) -> Self::Output {
|
4146
|
-
let array_ty = self.array_type_at(type_index)?;
|
4147
|
-
let elem_ty = array_ty.0.element_type;
|
4148
|
-
if !elem_ty.is_packed() {
|
4149
|
-
bail!(
|
4150
|
-
self.offset,
|
4151
|
-
"cannot use array.get_s with non-packed storage types"
|
4152
|
-
)
|
4153
|
-
}
|
4154
|
-
self.pop_operand(Some(ValType::I32))?;
|
4155
|
-
self.pop_concrete_ref(true, type_index)?;
|
4156
|
-
self.push_operand(elem_ty.unpack())
|
4157
|
-
}
|
4158
|
-
fn visit_array_atomic_get_s(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4159
|
-
self.visit_array_get_s(type_index)?;
|
4160
|
-
// This instruction has the same type restrictions as the non-`atomic` version.
|
4161
|
-
debug_assert!(matches!(
|
4162
|
-
self.array_type_at(type_index)?.0.element_type,
|
4163
|
-
StorageType::I8 | StorageType::I16
|
4164
|
-
));
|
4165
|
-
Ok(())
|
4166
|
-
}
|
4167
|
-
fn visit_array_get_u(&mut self, type_index: u32) -> Self::Output {
|
4168
|
-
let array_ty = self.array_type_at(type_index)?;
|
4169
|
-
let elem_ty = array_ty.0.element_type;
|
4170
|
-
if !elem_ty.is_packed() {
|
4171
|
-
bail!(
|
4172
|
-
self.offset,
|
4173
|
-
"cannot use array.get_u with non-packed storage types"
|
4174
|
-
)
|
4175
|
-
}
|
4176
|
-
self.pop_operand(Some(ValType::I32))?;
|
4177
|
-
self.pop_concrete_ref(true, type_index)?;
|
4178
|
-
self.push_operand(elem_ty.unpack())
|
4179
|
-
}
|
4180
|
-
fn visit_array_atomic_get_u(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4181
|
-
self.visit_array_get_u(type_index)?;
|
4182
|
-
// This instruction has the same type restrictions as the non-`atomic` version.
|
4183
|
-
debug_assert!(matches!(
|
4184
|
-
self.array_type_at(type_index)?.0.element_type,
|
4185
|
-
StorageType::I8 | StorageType::I16
|
4186
|
-
));
|
4187
|
-
Ok(())
|
4188
|
-
}
|
4189
|
-
fn visit_array_set(&mut self, type_index: u32) -> Self::Output {
|
4190
|
-
let array_ty = self.array_type_at(type_index)?;
|
4191
|
-
if !array_ty.0.mutable {
|
4192
|
-
bail!(self.offset, "invalid array.set: array is immutable")
|
4193
|
-
}
|
4194
|
-
self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
|
4195
|
-
self.pop_operand(Some(ValType::I32))?;
|
4196
|
-
self.pop_concrete_ref(true, type_index)?;
|
4197
|
-
Ok(())
|
4198
|
-
}
|
4199
|
-
fn visit_array_atomic_set(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4200
|
-
self.visit_array_set(type_index)?;
|
4201
|
-
// The `atomic` version has some additional type restrictions.
|
4202
|
-
let elem_ty = self.array_type_at(type_index)?.0.element_type;
|
4203
|
-
let is_valid_type = match elem_ty {
|
4204
|
-
StorageType::I8 | StorageType::I16 => true,
|
4205
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
4206
|
-
StorageType::Val(v) => self
|
4207
|
-
.resources
|
4208
|
-
.is_subtype(v, RefType::ANYREF.shared().unwrap().into()),
|
4209
|
-
};
|
4210
|
-
if !is_valid_type {
|
4211
|
-
bail!(
|
4212
|
-
self.offset,
|
4213
|
-
"invalid type: `array.atomic.set` only allows `i8`, `i16`, `i32`, `i64` and subtypes of `anyref`"
|
4214
|
-
);
|
4215
|
-
}
|
4216
|
-
Ok(())
|
4217
|
-
}
|
4218
|
-
fn visit_array_len(&mut self) -> Self::Output {
|
4219
|
-
self.pop_operand(Some(RefType::ARRAY.nullable().into()))?;
|
4220
|
-
self.push_operand(ValType::I32)
|
4221
|
-
}
|
4222
|
-
fn visit_array_fill(&mut self, array_type_index: u32) -> Self::Output {
|
4223
|
-
let array_ty = self.array_type_at(array_type_index)?;
|
4224
|
-
if !array_ty.0.mutable {
|
4225
|
-
bail!(self.offset, "invalid array.fill: array is immutable");
|
4226
|
-
}
|
4227
|
-
self.pop_operand(Some(ValType::I32))?;
|
4228
|
-
self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
|
4229
|
-
self.pop_operand(Some(ValType::I32))?;
|
4230
|
-
self.pop_concrete_ref(true, array_type_index)?;
|
4231
|
-
Ok(())
|
4232
|
-
}
|
4233
|
-
fn visit_array_copy(&mut self, type_index_dst: u32, type_index_src: u32) -> Self::Output {
|
4234
|
-
let array_ty_dst = self.array_type_at(type_index_dst)?;
|
4235
|
-
if !array_ty_dst.0.mutable {
|
4236
|
-
bail!(
|
4237
|
-
self.offset,
|
4238
|
-
"invalid array.copy: destination array is immutable"
|
4239
|
-
);
|
4240
|
-
}
|
4241
|
-
let array_ty_src = self.array_type_at(type_index_src)?;
|
4242
|
-
match (array_ty_dst.0.element_type, array_ty_src.0.element_type) {
|
4243
|
-
(StorageType::I8, StorageType::I8) => {}
|
4244
|
-
(StorageType::I8, ty) => bail!(
|
4245
|
-
self.offset,
|
4246
|
-
"array types do not match: expected i8, found {ty}"
|
4247
|
-
),
|
4248
|
-
(StorageType::I16, StorageType::I16) => {}
|
4249
|
-
(StorageType::I16, ty) => bail!(
|
4250
|
-
self.offset,
|
4251
|
-
"array types do not match: expected i16, found {ty}"
|
4252
|
-
),
|
4253
|
-
(StorageType::Val(dst), StorageType::Val(src)) => {
|
4254
|
-
if !self.resources.is_subtype(src, dst) {
|
4255
|
-
bail!(
|
4256
|
-
self.offset,
|
4257
|
-
"array types do not match: expected {dst}, found {src}"
|
4258
|
-
)
|
4259
|
-
}
|
4260
|
-
}
|
4261
|
-
(StorageType::Val(dst), src) => {
|
4262
|
-
bail!(
|
4263
|
-
self.offset,
|
4264
|
-
"array types do not match: expected {dst}, found {src}"
|
4265
|
-
)
|
4266
|
-
}
|
4267
|
-
}
|
4268
|
-
self.pop_operand(Some(ValType::I32))?;
|
4269
|
-
self.pop_operand(Some(ValType::I32))?;
|
4270
|
-
self.pop_concrete_ref(true, type_index_src)?;
|
4271
|
-
self.pop_operand(Some(ValType::I32))?;
|
4272
|
-
self.pop_concrete_ref(true, type_index_dst)?;
|
4273
|
-
Ok(())
|
4274
|
-
}
|
4275
|
-
fn visit_array_init_data(
|
4276
|
-
&mut self,
|
4277
|
-
array_type_index: u32,
|
4278
|
-
array_data_index: u32,
|
4279
|
-
) -> Self::Output {
|
4280
|
-
let array_ty = self.array_type_at(array_type_index)?;
|
4281
|
-
if !array_ty.0.mutable {
|
4282
|
-
bail!(self.offset, "invalid array.init_data: array is immutable");
|
4283
|
-
}
|
4284
|
-
let val_ty = array_ty.0.element_type.unpack();
|
4285
|
-
match val_ty {
|
4286
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
|
4287
|
-
ValType::Ref(_) => bail!(
|
4288
|
-
self.offset,
|
4289
|
-
"invalid array.init_data: array type is not numeric or vector"
|
4290
|
-
),
|
4291
|
-
}
|
4292
|
-
match self.resources.data_count() {
|
4293
|
-
None => bail!(self.offset, "data count section required"),
|
4294
|
-
Some(count) if array_data_index < count => {}
|
4295
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", array_data_index),
|
4296
|
-
}
|
4297
|
-
self.pop_operand(Some(ValType::I32))?;
|
4298
|
-
self.pop_operand(Some(ValType::I32))?;
|
4299
|
-
self.pop_operand(Some(ValType::I32))?;
|
4300
|
-
self.pop_concrete_ref(true, array_type_index)?;
|
4301
|
-
Ok(())
|
4302
|
-
}
|
4303
|
-
fn visit_array_init_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
|
4304
|
-
let array_ty = self.array_type_at(type_index)?;
|
4305
|
-
if !array_ty.0.mutable {
|
4306
|
-
bail!(self.offset, "invalid array.init_data: array is immutable");
|
4307
|
-
}
|
4308
|
-
let array_ref_ty = match array_ty.0.element_type.unpack() {
|
4309
|
-
ValType::Ref(rt) => rt,
|
4310
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
|
4311
|
-
self.offset,
|
4312
|
-
"type mismatch: array.init_elem can only create arrays with reference elements"
|
4313
|
-
),
|
4314
|
-
};
|
4315
|
-
let elem_ref_ty = self.element_type_at(elem_index)?;
|
4316
|
-
if !self
|
4317
|
-
.resources
|
4318
|
-
.is_subtype(elem_ref_ty.into(), array_ref_ty.into())
|
4319
|
-
{
|
4320
|
-
bail!(
|
4321
|
-
self.offset,
|
4322
|
-
"invalid array.init_elem instruction: element segment {elem_index} type mismatch: \
|
4323
|
-
expected {array_ref_ty}, found {elem_ref_ty}"
|
4324
|
-
)
|
4325
|
-
}
|
4326
|
-
self.pop_operand(Some(ValType::I32))?;
|
4327
|
-
self.pop_operand(Some(ValType::I32))?;
|
4328
|
-
self.pop_operand(Some(ValType::I32))?;
|
4329
|
-
self.pop_concrete_ref(true, type_index)?;
|
4330
|
-
Ok(())
|
4331
|
-
}
|
4332
|
-
fn visit_array_atomic_rmw_add(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4333
|
-
self.check_array_atomic_rmw("add", type_index)
|
4334
|
-
}
|
4335
|
-
fn visit_array_atomic_rmw_sub(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4336
|
-
self.check_array_atomic_rmw("sub", type_index)
|
4337
|
-
}
|
4338
|
-
fn visit_array_atomic_rmw_and(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4339
|
-
self.check_array_atomic_rmw("and", type_index)
|
4340
|
-
}
|
4341
|
-
fn visit_array_atomic_rmw_or(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4342
|
-
self.check_array_atomic_rmw("or", type_index)
|
4343
|
-
}
|
4344
|
-
fn visit_array_atomic_rmw_xor(&mut self, _ordering: Ordering, type_index: u32) -> Self::Output {
|
4345
|
-
self.check_array_atomic_rmw("xor", type_index)
|
4346
|
-
}
|
4347
|
-
fn visit_array_atomic_rmw_xchg(
|
4348
|
-
&mut self,
|
4349
|
-
_ordering: Ordering,
|
4350
|
-
type_index: u32,
|
4351
|
-
) -> Self::Output {
|
4352
|
-
let elem_ty = self.array_type_at(type_index)?.0.element_type;
|
4353
|
-
let is_valid_type = match elem_ty {
|
4354
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
4355
|
-
StorageType::Val(v) => self
|
4356
|
-
.resources
|
4357
|
-
.is_subtype(v, RefType::ANYREF.shared().unwrap().into()),
|
4358
|
-
_ => false,
|
4359
|
-
};
|
4360
|
-
if !is_valid_type {
|
4361
|
-
bail!(
|
4362
|
-
self.offset,
|
4363
|
-
"invalid type: `array.atomic.rmw.xchg` only allows `i32`, `i64` and subtypes of `anyref`"
|
4364
|
-
);
|
4365
|
-
}
|
4366
|
-
let elem_ty = elem_ty.unpack();
|
4367
|
-
self.pop_operand(Some(elem_ty))?;
|
4368
|
-
self.pop_operand(Some(ValType::I32))?;
|
4369
|
-
self.pop_concrete_ref(true, type_index)?;
|
4370
|
-
self.push_operand(elem_ty)?;
|
4371
|
-
Ok(())
|
4372
|
-
}
|
4373
|
-
fn visit_array_atomic_rmw_cmpxchg(
|
4374
|
-
&mut self,
|
4375
|
-
_ordering: Ordering,
|
4376
|
-
type_index: u32,
|
4377
|
-
) -> Self::Output {
|
4378
|
-
let elem_ty = self.array_type_at(type_index)?.0.element_type;
|
4379
|
-
let is_valid_type = match elem_ty {
|
4380
|
-
StorageType::Val(ValType::I32) | StorageType::Val(ValType::I64) => true,
|
4381
|
-
StorageType::Val(v) => self
|
4382
|
-
.resources
|
4383
|
-
.is_subtype(v, RefType::EQREF.shared().unwrap().into()),
|
4384
|
-
_ => false,
|
4385
|
-
};
|
4386
|
-
if !is_valid_type {
|
4387
|
-
bail!(
|
4388
|
-
self.offset,
|
4389
|
-
"invalid type: `array.atomic.rmw.cmpxchg` only allows `i32`, `i64` and subtypes of `eqref`"
|
4390
|
-
);
|
4391
|
-
}
|
4392
|
-
let elem_ty = elem_ty.unpack();
|
4393
|
-
self.pop_operand(Some(elem_ty))?;
|
4394
|
-
self.pop_operand(Some(elem_ty))?;
|
4395
|
-
self.pop_operand(Some(ValType::I32))?;
|
4396
|
-
self.pop_concrete_ref(true, type_index)?;
|
4397
|
-
self.push_operand(elem_ty)?;
|
4398
|
-
Ok(())
|
4399
|
-
}
|
4400
|
-
fn visit_any_convert_extern(&mut self) -> Self::Output {
|
4401
|
-
let extern_ref = self.pop_operand(Some(RefType::EXTERNREF.into()))?;
|
4402
|
-
let is_nullable = extern_ref
|
4403
|
-
.as_type()
|
4404
|
-
.map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
|
4405
|
-
let heap_type = HeapType::Abstract {
|
4406
|
-
shared: false, // TODO: handle shared--see https://github.com/WebAssembly/shared-everything-threads/issues/65.
|
4407
|
-
ty: AbstractHeapType::Any,
|
4408
|
-
};
|
4409
|
-
let any_ref = RefType::new(is_nullable, heap_type).unwrap();
|
4410
|
-
self.push_operand(any_ref)
|
4411
|
-
}
|
4412
|
-
fn visit_extern_convert_any(&mut self) -> Self::Output {
|
4413
|
-
let any_ref = self.pop_operand(Some(RefType::ANY.nullable().into()))?;
|
4414
|
-
let is_nullable = any_ref
|
4415
|
-
.as_type()
|
4416
|
-
.map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
|
4417
|
-
let heap_type = HeapType::Abstract {
|
4418
|
-
shared: false, // TODO: handle shared--see https://github.com/WebAssembly/shared-everything-threads/issues/65.
|
4419
|
-
ty: AbstractHeapType::Extern,
|
4420
|
-
};
|
4421
|
-
let extern_ref = RefType::new(is_nullable, heap_type).unwrap();
|
4422
|
-
self.push_operand(extern_ref)
|
4423
|
-
}
|
4424
|
-
fn visit_ref_test_non_null(&mut self, heap_type: HeapType) -> Self::Output {
|
4425
|
-
self.check_ref_test(false, heap_type)
|
4426
|
-
}
|
4427
|
-
fn visit_ref_test_nullable(&mut self, heap_type: HeapType) -> Self::Output {
|
4428
|
-
self.check_ref_test(true, heap_type)
|
4429
|
-
}
|
4430
|
-
fn visit_ref_cast_non_null(&mut self, heap_type: HeapType) -> Self::Output {
|
4431
|
-
self.check_ref_cast(false, heap_type)
|
4432
|
-
}
|
4433
|
-
fn visit_ref_cast_nullable(&mut self, heap_type: HeapType) -> Self::Output {
|
4434
|
-
self.check_ref_cast(true, heap_type)
|
4435
|
-
}
|
4436
|
-
fn visit_br_on_cast(
|
4437
|
-
&mut self,
|
4438
|
-
relative_depth: u32,
|
4439
|
-
mut from_ref_type: RefType,
|
4440
|
-
mut to_ref_type: RefType,
|
4441
|
-
) -> Self::Output {
|
4442
|
-
self.resources
|
4443
|
-
.check_ref_type(&mut from_ref_type, self.offset)?;
|
4444
|
-
self.resources
|
4445
|
-
.check_ref_type(&mut to_ref_type, self.offset)?;
|
4446
|
-
|
4447
|
-
if !self
|
4448
|
-
.resources
|
4449
|
-
.is_subtype(to_ref_type.into(), from_ref_type.into())
|
4450
|
-
{
|
4451
|
-
bail!(
|
4452
|
-
self.offset,
|
4453
|
-
"type mismatch: expected {from_ref_type}, found {to_ref_type}"
|
4454
|
-
);
|
4455
|
-
}
|
4456
|
-
|
4457
|
-
let (block_ty, frame_kind) = self.jump(relative_depth)?;
|
4458
|
-
let mut label_types = self.label_types(block_ty, frame_kind)?;
|
4459
|
-
|
4460
|
-
match label_types.next_back() {
|
4461
|
-
Some(label_ty) if self.resources.is_subtype(to_ref_type.into(), label_ty) => {
|
4462
|
-
self.pop_operand(Some(from_ref_type.into()))?;
|
4463
|
-
}
|
4464
|
-
Some(label_ty) => bail!(
|
4465
|
-
self.offset,
|
4466
|
-
"type mismatch: casting to type {to_ref_type}, but it does not match \
|
4467
|
-
label result type {label_ty}"
|
4468
|
-
),
|
4469
|
-
None => bail!(
|
4470
|
-
self.offset,
|
4471
|
-
"type mismatch: br_on_cast to label with empty types, must have a reference type"
|
4472
|
-
),
|
4473
|
-
};
|
4474
|
-
|
4475
|
-
self.pop_push_label_types(label_types)?;
|
4476
|
-
let diff_ty = RefType::difference(from_ref_type, to_ref_type);
|
4477
|
-
self.push_operand(diff_ty)?;
|
4478
|
-
Ok(())
|
4479
|
-
}
|
4480
|
-
fn visit_br_on_cast_fail(
|
4481
|
-
&mut self,
|
4482
|
-
relative_depth: u32,
|
4483
|
-
mut from_ref_type: RefType,
|
4484
|
-
mut to_ref_type: RefType,
|
4485
|
-
) -> Self::Output {
|
4486
|
-
self.resources
|
4487
|
-
.check_ref_type(&mut from_ref_type, self.offset)?;
|
4488
|
-
self.resources
|
4489
|
-
.check_ref_type(&mut to_ref_type, self.offset)?;
|
4490
|
-
|
4491
|
-
if !self
|
4492
|
-
.resources
|
4493
|
-
.is_subtype(to_ref_type.into(), from_ref_type.into())
|
4494
|
-
{
|
4495
|
-
bail!(
|
4496
|
-
self.offset,
|
4497
|
-
"type mismatch: expected {from_ref_type}, found {to_ref_type}"
|
4498
|
-
);
|
4499
|
-
}
|
4500
|
-
|
4501
|
-
let (block_ty, frame_kind) = self.jump(relative_depth)?;
|
4502
|
-
let mut label_tys = self.label_types(block_ty, frame_kind)?;
|
4503
|
-
|
4504
|
-
let diff_ty = RefType::difference(from_ref_type, to_ref_type);
|
4505
|
-
match label_tys.next_back() {
|
4506
|
-
Some(label_ty) if self.resources.is_subtype(diff_ty.into(), label_ty) => {
|
4507
|
-
self.pop_operand(Some(from_ref_type.into()))?;
|
4508
|
-
}
|
4509
|
-
Some(label_ty) => bail!(
|
4510
|
-
self.offset,
|
4511
|
-
"type mismatch: expected label result type {label_ty}, found {diff_ty}"
|
4512
|
-
),
|
4513
|
-
None => bail!(
|
4514
|
-
self.offset,
|
4515
|
-
"type mismatch: expected a reference type, found nothing"
|
4516
|
-
),
|
4517
|
-
}
|
4518
|
-
|
4519
|
-
self.pop_push_label_types(label_tys)?;
|
4520
|
-
self.push_operand(to_ref_type)?;
|
4521
|
-
Ok(())
|
4522
|
-
}
|
4523
|
-
fn visit_ref_i31(&mut self) -> Self::Output {
|
4524
|
-
self.pop_operand(Some(ValType::I32))?;
|
4525
|
-
self.push_operand(ValType::Ref(RefType::I31))
|
4526
|
-
}
|
4527
|
-
fn visit_ref_i31_shared(&mut self) -> Self::Output {
|
4528
|
-
self.pop_operand(Some(ValType::I32))?;
|
4529
|
-
self.push_operand(ValType::Ref(RefType::I31)) // TODO: handle shared--is this correct?
|
4530
|
-
}
|
4531
|
-
fn visit_i31_get_s(&mut self) -> Self::Output {
|
4532
|
-
self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
|
4533
|
-
self.push_operand(ValType::I32)
|
4534
|
-
}
|
4535
|
-
fn visit_i31_get_u(&mut self) -> Self::Output {
|
4536
|
-
self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
|
4537
|
-
self.push_operand(ValType::I32)
|
4538
|
-
}
|
4539
|
-
fn visit_try(&mut self, mut ty: BlockType) -> Self::Output {
|
4540
|
-
self.check_block_type(&mut ty)?;
|
4541
|
-
for ty in self.params(ty)?.rev() {
|
4542
|
-
self.pop_operand(Some(ty))?;
|
4543
|
-
}
|
4544
|
-
self.push_ctrl(FrameKind::LegacyTry, ty)?;
|
4545
|
-
Ok(())
|
4546
|
-
}
|
4547
|
-
fn visit_catch(&mut self, index: u32) -> Self::Output {
|
4548
|
-
let frame = self.pop_ctrl()?;
|
4549
|
-
if frame.kind != FrameKind::LegacyTry && frame.kind != FrameKind::LegacyCatch {
|
4550
|
-
bail!(self.offset, "catch found outside of an `try` block");
|
4551
|
-
}
|
4552
|
-
// Start a new frame and push `exnref` value.
|
4553
|
-
let height = self.operands.len();
|
4554
|
-
let init_height = self.inits.len();
|
4555
|
-
self.control.push(Frame {
|
4556
|
-
kind: FrameKind::LegacyCatch,
|
4557
|
-
block_type: frame.block_type,
|
4558
|
-
height,
|
4559
|
-
unreachable: false,
|
4560
|
-
init_height,
|
4561
|
-
});
|
4562
|
-
// Push exception argument types.
|
4563
|
-
let ty = self.tag_at(index)?;
|
4564
|
-
for ty in ty.params() {
|
4565
|
-
self.push_operand(*ty)?;
|
4566
|
-
}
|
4567
|
-
Ok(())
|
4568
|
-
}
|
4569
|
-
fn visit_rethrow(&mut self, relative_depth: u32) -> Self::Output {
|
4570
|
-
// This is not a jump, but we need to check that the `rethrow`
|
4571
|
-
// targets an actual `catch` to get the exception.
|
4572
|
-
let (_, kind) = self.jump(relative_depth)?;
|
4573
|
-
if kind != FrameKind::LegacyCatch && kind != FrameKind::LegacyCatchAll {
|
4574
|
-
bail!(
|
4575
|
-
self.offset,
|
4576
|
-
"invalid rethrow label: target was not a `catch` block"
|
4577
|
-
);
|
4578
|
-
}
|
4579
|
-
self.unreachable()?;
|
4580
|
-
Ok(())
|
4581
|
-
}
|
4582
|
-
fn visit_delegate(&mut self, relative_depth: u32) -> Self::Output {
|
4583
|
-
let frame = self.pop_ctrl()?;
|
4584
|
-
if frame.kind != FrameKind::LegacyTry {
|
4585
|
-
bail!(self.offset, "delegate found outside of an `try` block");
|
4586
|
-
}
|
4587
|
-
// This operation is not a jump, but we need to check the
|
4588
|
-
// depth for validity
|
4589
|
-
let _ = self.jump(relative_depth)?;
|
4590
|
-
for ty in self.results(frame.block_type)? {
|
4591
|
-
self.push_operand(ty)?;
|
4592
|
-
}
|
4593
|
-
Ok(())
|
4594
|
-
}
|
4595
|
-
fn visit_catch_all(&mut self) -> Self::Output {
|
4596
|
-
let frame = self.pop_ctrl()?;
|
4597
|
-
if frame.kind == FrameKind::LegacyCatchAll {
|
4598
|
-
bail!(self.offset, "only one catch_all allowed per `try` block");
|
4599
|
-
} else if frame.kind != FrameKind::LegacyTry && frame.kind != FrameKind::LegacyCatch {
|
4600
|
-
bail!(self.offset, "catch_all found outside of a `try` block");
|
4601
|
-
}
|
4602
|
-
let height = self.operands.len();
|
4603
|
-
let init_height = self.inits.len();
|
4604
|
-
self.control.push(Frame {
|
4605
|
-
kind: FrameKind::LegacyCatchAll,
|
4606
|
-
block_type: frame.block_type,
|
4607
|
-
height,
|
4608
|
-
unreachable: false,
|
4609
|
-
init_height,
|
4610
|
-
});
|
4611
|
-
Ok(())
|
4612
|
-
}
|
4613
|
-
}
|
4614
|
-
|
4615
|
-
#[derive(Clone, Debug)]
|
4616
|
-
enum Either<A, B> {
|
4617
|
-
A(A),
|
4618
|
-
B(B),
|
4619
|
-
}
|
4620
|
-
|
4621
|
-
impl<A, B> Iterator for Either<A, B>
|
4622
|
-
where
|
4623
|
-
A: Iterator,
|
4624
|
-
B: Iterator<Item = A::Item>,
|
4625
|
-
{
|
4626
|
-
type Item = A::Item;
|
4627
|
-
fn next(&mut self) -> Option<A::Item> {
|
4628
|
-
match self {
|
4629
|
-
Either::A(a) => a.next(),
|
4630
|
-
Either::B(b) => b.next(),
|
4631
|
-
}
|
4632
|
-
}
|
4633
|
-
}
|
4634
|
-
|
4635
|
-
impl<A, B> DoubleEndedIterator for Either<A, B>
|
4636
|
-
where
|
4637
|
-
A: DoubleEndedIterator,
|
4638
|
-
B: DoubleEndedIterator<Item = A::Item>,
|
4639
|
-
{
|
4640
|
-
fn next_back(&mut self) -> Option<A::Item> {
|
4641
|
-
match self {
|
4642
|
-
Either::A(a) => a.next_back(),
|
4643
|
-
Either::B(b) => b.next_back(),
|
4644
|
-
}
|
4645
|
-
}
|
4646
|
-
}
|
4647
|
-
|
4648
|
-
impl<A, B> ExactSizeIterator for Either<A, B>
|
4649
|
-
where
|
4650
|
-
A: ExactSizeIterator,
|
4651
|
-
B: ExactSizeIterator<Item = A::Item>,
|
4652
|
-
{
|
4653
|
-
fn len(&self) -> usize {
|
4654
|
-
match self {
|
4655
|
-
Either::A(a) => a.len(),
|
4656
|
-
Either::B(b) => b.len(),
|
4657
|
-
}
|
4658
|
-
}
|
4659
|
-
}
|
4660
|
-
|
4661
|
-
trait PreciseIterator: ExactSizeIterator + DoubleEndedIterator + Clone + core::fmt::Debug {}
|
4662
|
-
impl<T: ExactSizeIterator + DoubleEndedIterator + Clone + core::fmt::Debug> PreciseIterator for T {}
|
4663
|
-
|
4664
|
-
impl Locals {
|
4665
|
-
/// Defines another group of `count` local variables of type `ty`.
|
4666
|
-
///
|
4667
|
-
/// Returns `true` if the definition was successful. Local variable
|
4668
|
-
/// definition is unsuccessful in case the amount of total variables
|
4669
|
-
/// after definition exceeds the allowed maximum number.
|
4670
|
-
fn define(&mut self, count: u32, ty: ValType) -> bool {
|
4671
|
-
match self.num_locals.checked_add(count) {
|
4672
|
-
Some(n) => self.num_locals = n,
|
4673
|
-
None => return false,
|
4674
|
-
}
|
4675
|
-
if self.num_locals > (MAX_WASM_FUNCTION_LOCALS as u32) {
|
4676
|
-
return false;
|
4677
|
-
}
|
4678
|
-
for _ in 0..count {
|
4679
|
-
if self.first.len() >= MAX_LOCALS_TO_TRACK {
|
4680
|
-
break;
|
4681
|
-
}
|
4682
|
-
self.first.push(ty);
|
4683
|
-
}
|
4684
|
-
self.all.push((self.num_locals - 1, ty));
|
4685
|
-
true
|
4686
|
-
}
|
4687
|
-
|
4688
|
-
/// Returns the number of defined local variables.
|
4689
|
-
pub(super) fn len_locals(&self) -> u32 {
|
4690
|
-
self.num_locals
|
4691
|
-
}
|
4692
|
-
|
4693
|
-
/// Returns the type of the local variable at the given index if any.
|
4694
|
-
#[inline]
|
4695
|
-
pub(super) fn get(&self, idx: u32) -> Option<ValType> {
|
4696
|
-
match self.first.get(idx as usize) {
|
4697
|
-
Some(ty) => Some(*ty),
|
4698
|
-
None => self.get_bsearch(idx),
|
4699
|
-
}
|
4700
|
-
}
|
4701
|
-
|
4702
|
-
fn get_bsearch(&self, idx: u32) -> Option<ValType> {
|
4703
|
-
match self.all.binary_search_by_key(&idx, |(idx, _)| *idx) {
|
4704
|
-
// If this index would be inserted at the end of the list, then the
|
4705
|
-
// index is out of bounds and we return an error.
|
4706
|
-
Err(i) if i == self.all.len() => None,
|
4707
|
-
|
4708
|
-
// If `Ok` is returned we found the index exactly, or if `Err` is
|
4709
|
-
// returned the position is the one which is the least index
|
4710
|
-
// greater that `idx`, which is still the type of `idx` according
|
4711
|
-
// to our "compressed" representation. In both cases we access the
|
4712
|
-
// list at index `i`.
|
4713
|
-
Ok(i) | Err(i) => Some(self.all[i].1),
|
4714
|
-
}
|
4715
|
-
}
|
4716
|
-
}
|