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
@@ -0,0 +1,3297 @@
|
|
1
|
+
//! State relating to validating a WebAssembly component.
|
2
|
+
|
3
|
+
use super::{
|
4
|
+
check_max,
|
5
|
+
core::{InternRecGroup, Module},
|
6
|
+
types::{
|
7
|
+
AliasableResourceId, ComponentCoreInstanceTypeId, ComponentDefinedTypeId,
|
8
|
+
ComponentFuncType, ComponentFuncTypeId, ComponentInstanceType, ComponentInstanceTypeId,
|
9
|
+
ComponentType, ComponentTypeId, ComponentValType, CoreTypeId, EntityType, InstanceType,
|
10
|
+
ModuleType, RecordType, Remapping, ResourceId, TypeAlloc, TypeList, VariantCase,
|
11
|
+
},
|
12
|
+
};
|
13
|
+
use crate::prelude::*;
|
14
|
+
use crate::validator::names::{ComponentName, ComponentNameKind, KebabStr, KebabString};
|
15
|
+
use crate::{collections::index_map::Entry, CompositeInnerType};
|
16
|
+
use crate::{
|
17
|
+
limits::*,
|
18
|
+
types::{
|
19
|
+
ComponentAnyTypeId, ComponentCoreModuleTypeId, ComponentCoreTypeId, ComponentDefinedType,
|
20
|
+
ComponentEntityType, Context, CoreInstanceTypeKind, LoweringInfo, Remap, SubtypeCx,
|
21
|
+
TupleType, TypeInfo, VariantType,
|
22
|
+
},
|
23
|
+
BinaryReaderError, CanonicalOption, ComponentExportName, ComponentExternalKind,
|
24
|
+
ComponentOuterAliasKind, ComponentTypeRef, CompositeType, ExternalKind, FuncType, GlobalType,
|
25
|
+
InstantiationArgKind, MemoryType, RecGroup, Result, SubType, TableType, TypeBounds, ValType,
|
26
|
+
WasmFeatures,
|
27
|
+
};
|
28
|
+
use core::mem;
|
29
|
+
|
30
|
+
fn to_kebab_str<'a>(s: &'a str, desc: &str, offset: usize) -> Result<&'a KebabStr> {
|
31
|
+
match KebabStr::new(s) {
|
32
|
+
Some(s) => Ok(s),
|
33
|
+
None => {
|
34
|
+
if s.is_empty() {
|
35
|
+
bail!(offset, "{desc} name cannot be empty");
|
36
|
+
}
|
37
|
+
|
38
|
+
bail!(offset, "{desc} name `{s}` is not in kebab case");
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
pub(crate) struct ComponentState {
|
44
|
+
/// Whether this state is a concrete component, an instance type, or a
|
45
|
+
/// component type.
|
46
|
+
kind: ComponentKind,
|
47
|
+
|
48
|
+
// Core index spaces
|
49
|
+
pub core_types: Vec<ComponentCoreTypeId>,
|
50
|
+
pub core_funcs: Vec<CoreTypeId>,
|
51
|
+
pub core_tags: Vec<CoreTypeId>,
|
52
|
+
pub core_modules: Vec<ComponentCoreModuleTypeId>,
|
53
|
+
pub core_instances: Vec<ComponentCoreInstanceTypeId>,
|
54
|
+
pub core_memories: Vec<MemoryType>,
|
55
|
+
pub core_tables: Vec<TableType>,
|
56
|
+
pub core_globals: Vec<GlobalType>,
|
57
|
+
|
58
|
+
// Component index spaces
|
59
|
+
pub types: Vec<ComponentAnyTypeId>,
|
60
|
+
pub funcs: Vec<ComponentFuncTypeId>,
|
61
|
+
pub values: Vec<(ComponentValType, bool)>,
|
62
|
+
pub instances: Vec<ComponentInstanceTypeId>,
|
63
|
+
pub components: Vec<ComponentTypeId>,
|
64
|
+
|
65
|
+
pub imports: IndexMap<String, ComponentEntityType>,
|
66
|
+
pub import_names: IndexSet<ComponentName>,
|
67
|
+
pub exports: IndexMap<String, ComponentEntityType>,
|
68
|
+
pub export_names: IndexSet<ComponentName>,
|
69
|
+
|
70
|
+
has_start: bool,
|
71
|
+
type_info: TypeInfo,
|
72
|
+
|
73
|
+
/// A mapping of imported resources in this component.
|
74
|
+
///
|
75
|
+
/// This mapping represents all "type variables" imported into the
|
76
|
+
/// component, or resources. This could be resources imported directly as
|
77
|
+
/// a top-level type import or additionally transitively through other
|
78
|
+
/// imported instances.
|
79
|
+
///
|
80
|
+
/// The mapping element here is a "path" which is a list of indexes into
|
81
|
+
/// the import map that will be generated for this component. Each index
|
82
|
+
/// is an index into an `IndexMap`, and each list is guaranteed to have at
|
83
|
+
/// least one element.
|
84
|
+
///
|
85
|
+
/// An example of this map is:
|
86
|
+
///
|
87
|
+
/// ```wasm
|
88
|
+
/// (component
|
89
|
+
/// ;; [0] - the first import
|
90
|
+
/// (import "r" (type (sub resource)))
|
91
|
+
///
|
92
|
+
/// ;; [1] - the second import
|
93
|
+
/// (import "r2" (type (sub resource)))
|
94
|
+
///
|
95
|
+
/// (import "i" (instance
|
96
|
+
/// ;; [2, 0] - the third import, and the first export the instance
|
97
|
+
/// (export "r3" (type (sub resource)))
|
98
|
+
/// ;; [2, 1] - the third import, and the second export the instance
|
99
|
+
/// (export "r4" (type (sub resource)))
|
100
|
+
/// ))
|
101
|
+
///
|
102
|
+
/// ;; ...
|
103
|
+
/// )
|
104
|
+
/// ```
|
105
|
+
///
|
106
|
+
/// The `Vec<usize>` here can be thought of as `Vec<String>` but a
|
107
|
+
/// (hopefully) more efficient representation.
|
108
|
+
///
|
109
|
+
/// Finally note that this map is listed as an "append only" map because all
|
110
|
+
/// insertions into it should always succeed. Any insertion which overlaps
|
111
|
+
/// with a previous entry indicates a bug in the validator which needs to be
|
112
|
+
/// corrected via other means.
|
113
|
+
//
|
114
|
+
// TODO: make these `SkolemResourceId` and then go fix all the compile
|
115
|
+
// errors, don't add skolem things into the type area
|
116
|
+
imported_resources: IndexMapAppendOnly<ResourceId, Vec<usize>>,
|
117
|
+
|
118
|
+
/// A mapping of "defined" resources in this component, or those which
|
119
|
+
/// are defined within the instantiation of this component.
|
120
|
+
///
|
121
|
+
/// Defined resources, as the name implies, can sort of be thought of as
|
122
|
+
/// "these are defined within the component". Note though that the means by
|
123
|
+
/// which a local definition can occur are not simply those defined in the
|
124
|
+
/// component but also in its transitively instantiated components
|
125
|
+
/// internally. This means that this set closes over many transitive
|
126
|
+
/// internal items in addition to those defined immediately in the component
|
127
|
+
/// itself.
|
128
|
+
///
|
129
|
+
/// The `Option<ValType>` in this mapping is whether or not the underlying
|
130
|
+
/// reprsentation of the resource is known to this component. Immediately
|
131
|
+
/// defined resources, for example, will have `Some(I32)` here. Resources
|
132
|
+
/// that come from transitively defined components, for example, will have
|
133
|
+
/// `None`. In the type context all entries here are `None`.
|
134
|
+
///
|
135
|
+
/// Note that like `imported_resources` all insertions into this map are
|
136
|
+
/// expected to succeed to it's declared as append-only.
|
137
|
+
defined_resources: IndexMapAppendOnly<ResourceId, Option<ValType>>,
|
138
|
+
|
139
|
+
/// A mapping of explicitly exported resources from this component in
|
140
|
+
/// addition to the path that they're exported at.
|
141
|
+
///
|
142
|
+
/// For more information on the path here see the documentation for
|
143
|
+
/// `imported_resources`. Note that the indexes here index into the
|
144
|
+
/// list of exports of this component.
|
145
|
+
explicit_resources: IndexMap<ResourceId, Vec<usize>>,
|
146
|
+
|
147
|
+
/// The set of types which are considered "exported" from this component.
|
148
|
+
///
|
149
|
+
/// This is added to whenever a type export is found, or an instance export
|
150
|
+
/// which itself contains a type export. This additionally includes all
|
151
|
+
/// imported types since those are suitable for export as well.
|
152
|
+
///
|
153
|
+
/// This set is consulted whenever an exported item is added since all
|
154
|
+
/// referenced types must be members of this set.
|
155
|
+
exported_types: Set<ComponentAnyTypeId>,
|
156
|
+
|
157
|
+
/// Same as `exported_types`, but for imports.
|
158
|
+
imported_types: Set<ComponentAnyTypeId>,
|
159
|
+
|
160
|
+
/// The set of top-level resource exports and their names.
|
161
|
+
///
|
162
|
+
/// This context is used to validate method names such as `[method]foo.bar`
|
163
|
+
/// to ensure that `foo` is an exported resource and that the type mentioned
|
164
|
+
/// in a function type is actually named `foo`.
|
165
|
+
///
|
166
|
+
/// Note that imports/exports have disjoint contexts to ensure that they're
|
167
|
+
/// validated correctly. Namely you can't retroactively attach methods to an
|
168
|
+
/// import, for example.
|
169
|
+
toplevel_exported_resources: ComponentNameContext,
|
170
|
+
|
171
|
+
/// Same as `toplevel_exported_resources`, but for imports.
|
172
|
+
toplevel_imported_resources: ComponentNameContext,
|
173
|
+
}
|
174
|
+
|
175
|
+
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
176
|
+
pub enum ComponentKind {
|
177
|
+
Component,
|
178
|
+
InstanceType,
|
179
|
+
ComponentType,
|
180
|
+
}
|
181
|
+
|
182
|
+
/// Helper context used to track information about resource names for method
|
183
|
+
/// name validation.
|
184
|
+
#[derive(Default)]
|
185
|
+
struct ComponentNameContext {
|
186
|
+
/// A map from a resource type id to an index in the `all_resource_names`
|
187
|
+
/// set for the name of that resource.
|
188
|
+
resource_name_map: Map<AliasableResourceId, usize>,
|
189
|
+
|
190
|
+
/// All known resource names in this context, used to validate static method
|
191
|
+
/// names to by ensuring that static methods' resource names are somewhere
|
192
|
+
/// in this set.
|
193
|
+
all_resource_names: IndexSet<String>,
|
194
|
+
}
|
195
|
+
|
196
|
+
#[derive(Debug, Copy, Clone)]
|
197
|
+
pub enum ExternKind {
|
198
|
+
Import,
|
199
|
+
Export,
|
200
|
+
}
|
201
|
+
|
202
|
+
impl ExternKind {
|
203
|
+
pub fn desc(&self) -> &'static str {
|
204
|
+
match self {
|
205
|
+
ExternKind::Import => "import",
|
206
|
+
ExternKind::Export => "export",
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
impl ComponentState {
|
212
|
+
pub fn new(kind: ComponentKind) -> Self {
|
213
|
+
Self {
|
214
|
+
kind,
|
215
|
+
core_types: Default::default(),
|
216
|
+
core_modules: Default::default(),
|
217
|
+
core_instances: Default::default(),
|
218
|
+
core_funcs: Default::default(),
|
219
|
+
core_memories: Default::default(),
|
220
|
+
core_tables: Default::default(),
|
221
|
+
core_globals: Default::default(),
|
222
|
+
core_tags: Default::default(),
|
223
|
+
types: Default::default(),
|
224
|
+
funcs: Default::default(),
|
225
|
+
values: Default::default(),
|
226
|
+
instances: Default::default(),
|
227
|
+
components: Default::default(),
|
228
|
+
imports: Default::default(),
|
229
|
+
exports: Default::default(),
|
230
|
+
import_names: Default::default(),
|
231
|
+
export_names: Default::default(),
|
232
|
+
has_start: Default::default(),
|
233
|
+
type_info: TypeInfo::new(),
|
234
|
+
imported_resources: Default::default(),
|
235
|
+
defined_resources: Default::default(),
|
236
|
+
explicit_resources: Default::default(),
|
237
|
+
exported_types: Default::default(),
|
238
|
+
imported_types: Default::default(),
|
239
|
+
toplevel_exported_resources: Default::default(),
|
240
|
+
toplevel_imported_resources: Default::default(),
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
pub fn type_count(&self) -> usize {
|
245
|
+
self.core_types.len() + self.types.len()
|
246
|
+
}
|
247
|
+
|
248
|
+
pub fn instance_count(&self) -> usize {
|
249
|
+
self.core_instances.len() + self.instances.len()
|
250
|
+
}
|
251
|
+
|
252
|
+
pub fn function_count(&self) -> usize {
|
253
|
+
self.core_funcs.len() + self.funcs.len()
|
254
|
+
}
|
255
|
+
|
256
|
+
pub fn add_core_type(
|
257
|
+
components: &mut [Self],
|
258
|
+
ty: crate::CoreType,
|
259
|
+
features: &WasmFeatures,
|
260
|
+
types: &mut TypeAlloc,
|
261
|
+
offset: usize,
|
262
|
+
check_limit: bool,
|
263
|
+
) -> Result<()> {
|
264
|
+
let current = components.last_mut().unwrap();
|
265
|
+
if check_limit {
|
266
|
+
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
267
|
+
}
|
268
|
+
match ty {
|
269
|
+
crate::CoreType::Sub(sub) => {
|
270
|
+
current.canonicalize_and_intern_rec_group(
|
271
|
+
features,
|
272
|
+
types,
|
273
|
+
RecGroup::implicit(offset, sub),
|
274
|
+
offset,
|
275
|
+
)?;
|
276
|
+
}
|
277
|
+
crate::CoreType::Module(decls) => {
|
278
|
+
let mod_ty = Self::create_module_type(
|
279
|
+
components,
|
280
|
+
decls.into_vec(),
|
281
|
+
features,
|
282
|
+
types,
|
283
|
+
offset,
|
284
|
+
)?;
|
285
|
+
let id = ComponentCoreTypeId::Module(types.push_ty(mod_ty));
|
286
|
+
components.last_mut().unwrap().core_types.push(id);
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
Ok(())
|
291
|
+
}
|
292
|
+
|
293
|
+
pub fn add_core_module(
|
294
|
+
&mut self,
|
295
|
+
module: &Module,
|
296
|
+
types: &mut TypeAlloc,
|
297
|
+
offset: usize,
|
298
|
+
) -> Result<()> {
|
299
|
+
let imports = module.imports_for_module_type(offset)?;
|
300
|
+
|
301
|
+
// We have to clone the module's imports and exports here
|
302
|
+
// because we cannot take the data out of the `MaybeOwned`
|
303
|
+
// as it might be shared with a function validator.
|
304
|
+
let mod_ty = ModuleType {
|
305
|
+
info: TypeInfo::core(module.type_size),
|
306
|
+
imports,
|
307
|
+
exports: module.exports.clone(),
|
308
|
+
};
|
309
|
+
|
310
|
+
let mod_id = types.push_ty(mod_ty);
|
311
|
+
self.core_modules.push(mod_id);
|
312
|
+
|
313
|
+
Ok(())
|
314
|
+
}
|
315
|
+
|
316
|
+
pub fn add_core_instance(
|
317
|
+
&mut self,
|
318
|
+
instance: crate::Instance,
|
319
|
+
types: &mut TypeAlloc,
|
320
|
+
offset: usize,
|
321
|
+
) -> Result<()> {
|
322
|
+
let instance = match instance {
|
323
|
+
crate::Instance::Instantiate { module_index, args } => {
|
324
|
+
self.instantiate_core_module(module_index, args.into_vec(), types, offset)?
|
325
|
+
}
|
326
|
+
crate::Instance::FromExports(exports) => {
|
327
|
+
self.instantiate_core_exports(exports.into_vec(), types, offset)?
|
328
|
+
}
|
329
|
+
};
|
330
|
+
|
331
|
+
self.core_instances.push(instance);
|
332
|
+
|
333
|
+
Ok(())
|
334
|
+
}
|
335
|
+
|
336
|
+
pub fn add_type(
|
337
|
+
components: &mut Vec<Self>,
|
338
|
+
ty: crate::ComponentType,
|
339
|
+
features: &WasmFeatures,
|
340
|
+
types: &mut TypeAlloc,
|
341
|
+
offset: usize,
|
342
|
+
check_limit: bool,
|
343
|
+
) -> Result<()> {
|
344
|
+
assert!(!components.is_empty());
|
345
|
+
|
346
|
+
fn current(components: &mut Vec<ComponentState>) -> &mut ComponentState {
|
347
|
+
components.last_mut().unwrap()
|
348
|
+
}
|
349
|
+
|
350
|
+
let id = match ty {
|
351
|
+
crate::ComponentType::Defined(ty) => {
|
352
|
+
let ty = current(components).create_defined_type(ty, types, features, offset)?;
|
353
|
+
types.push(ty).into()
|
354
|
+
}
|
355
|
+
crate::ComponentType::Func(ty) => {
|
356
|
+
let ty = current(components).create_function_type(ty, types, features, offset)?;
|
357
|
+
types.push(ty).into()
|
358
|
+
}
|
359
|
+
crate::ComponentType::Component(decls) => {
|
360
|
+
let ty = Self::create_component_type(
|
361
|
+
components,
|
362
|
+
decls.into_vec(),
|
363
|
+
features,
|
364
|
+
types,
|
365
|
+
offset,
|
366
|
+
)?;
|
367
|
+
types.push(ty).into()
|
368
|
+
}
|
369
|
+
crate::ComponentType::Instance(decls) => {
|
370
|
+
let ty = Self::create_instance_type(
|
371
|
+
components,
|
372
|
+
decls.into_vec(),
|
373
|
+
features,
|
374
|
+
types,
|
375
|
+
offset,
|
376
|
+
)?;
|
377
|
+
types.push(ty).into()
|
378
|
+
}
|
379
|
+
crate::ComponentType::Resource { rep, dtor } => {
|
380
|
+
let component = current(components);
|
381
|
+
|
382
|
+
// Resource types cannot be declared in a type context, only
|
383
|
+
// within a component context.
|
384
|
+
if component.kind != ComponentKind::Component {
|
385
|
+
bail!(
|
386
|
+
offset,
|
387
|
+
"resources can only be defined within a concrete component"
|
388
|
+
);
|
389
|
+
}
|
390
|
+
|
391
|
+
// Current MVP restriction of the component model.
|
392
|
+
if rep != ValType::I32 {
|
393
|
+
bail!(offset, "resources can only be represented by `i32`");
|
394
|
+
}
|
395
|
+
|
396
|
+
// If specified validate that the destructor is both a valid
|
397
|
+
// function and has the correct signature.
|
398
|
+
if let Some(dtor) = dtor {
|
399
|
+
let ty = component.core_function_at(dtor, offset)?;
|
400
|
+
let ty = types[ty].composite_type.unwrap_func();
|
401
|
+
if ty.params() != [rep] || ty.results() != [] {
|
402
|
+
bail!(
|
403
|
+
offset,
|
404
|
+
"core function {dtor} has wrong signature for a destructor"
|
405
|
+
);
|
406
|
+
}
|
407
|
+
}
|
408
|
+
|
409
|
+
// As this is the introduction of a resource create a fresh new
|
410
|
+
// identifier for the resource. This is then added into the
|
411
|
+
// list of defined resources for this component, notably with a
|
412
|
+
// rep listed to enable getting access to various intrinsics
|
413
|
+
// such as `resource.rep`.
|
414
|
+
let id = types.alloc_resource_id();
|
415
|
+
component.defined_resources.insert(id.resource(), Some(rep));
|
416
|
+
id.into()
|
417
|
+
}
|
418
|
+
};
|
419
|
+
|
420
|
+
let current = current(components);
|
421
|
+
if check_limit {
|
422
|
+
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
423
|
+
}
|
424
|
+
current.types.push(id);
|
425
|
+
|
426
|
+
Ok(())
|
427
|
+
}
|
428
|
+
|
429
|
+
pub fn add_import(
|
430
|
+
&mut self,
|
431
|
+
import: crate::ComponentImport,
|
432
|
+
features: &WasmFeatures,
|
433
|
+
types: &mut TypeAlloc,
|
434
|
+
offset: usize,
|
435
|
+
) -> Result<()> {
|
436
|
+
let mut entity = self.check_type_ref(&import.ty, features, types, offset)?;
|
437
|
+
self.add_entity(
|
438
|
+
&mut entity,
|
439
|
+
Some((import.name.0, ExternKind::Import)),
|
440
|
+
features,
|
441
|
+
types,
|
442
|
+
offset,
|
443
|
+
)?;
|
444
|
+
self.toplevel_imported_resources.validate_extern(
|
445
|
+
import.name.0,
|
446
|
+
ExternKind::Import,
|
447
|
+
&entity,
|
448
|
+
types,
|
449
|
+
offset,
|
450
|
+
&mut self.import_names,
|
451
|
+
&mut self.imports,
|
452
|
+
&mut self.type_info,
|
453
|
+
features,
|
454
|
+
)?;
|
455
|
+
Ok(())
|
456
|
+
}
|
457
|
+
|
458
|
+
fn add_entity(
|
459
|
+
&mut self,
|
460
|
+
ty: &mut ComponentEntityType,
|
461
|
+
name_and_kind: Option<(&str, ExternKind)>,
|
462
|
+
features: &WasmFeatures,
|
463
|
+
types: &mut TypeAlloc,
|
464
|
+
offset: usize,
|
465
|
+
) -> Result<()> {
|
466
|
+
let kind = name_and_kind.map(|(_, k)| k);
|
467
|
+
let (len, max, desc) = match ty {
|
468
|
+
ComponentEntityType::Module(id) => {
|
469
|
+
self.core_modules.push(*id);
|
470
|
+
(self.core_modules.len(), MAX_WASM_MODULES, "modules")
|
471
|
+
}
|
472
|
+
ComponentEntityType::Component(id) => {
|
473
|
+
self.components.push(*id);
|
474
|
+
(self.components.len(), MAX_WASM_COMPONENTS, "components")
|
475
|
+
}
|
476
|
+
ComponentEntityType::Instance(id) => {
|
477
|
+
match kind {
|
478
|
+
Some(ExternKind::Import) => self.prepare_instance_import(id, types),
|
479
|
+
Some(ExternKind::Export) => self.prepare_instance_export(id, types),
|
480
|
+
None => {}
|
481
|
+
}
|
482
|
+
self.instances.push(*id);
|
483
|
+
(self.instance_count(), MAX_WASM_INSTANCES, "instances")
|
484
|
+
}
|
485
|
+
ComponentEntityType::Func(id) => {
|
486
|
+
self.funcs.push(*id);
|
487
|
+
(self.function_count(), MAX_WASM_FUNCTIONS, "functions")
|
488
|
+
}
|
489
|
+
ComponentEntityType::Value(ty) => {
|
490
|
+
self.check_value_support(features, offset)?;
|
491
|
+
let value_used = match kind {
|
492
|
+
Some(ExternKind::Import) | None => false,
|
493
|
+
Some(ExternKind::Export) => true,
|
494
|
+
};
|
495
|
+
self.values.push((*ty, value_used));
|
496
|
+
(self.values.len(), MAX_WASM_VALUES, "values")
|
497
|
+
}
|
498
|
+
ComponentEntityType::Type {
|
499
|
+
created,
|
500
|
+
referenced,
|
501
|
+
} => {
|
502
|
+
self.types.push(*created);
|
503
|
+
|
504
|
+
// Extra logic here for resources being imported and exported.
|
505
|
+
// Note that if `created` is the same as `referenced` then this
|
506
|
+
// is the original introduction of the resource which is where
|
507
|
+
// `self.{imported,defined}_resources` are updated.
|
508
|
+
if let ComponentAnyTypeId::Resource(id) = *created {
|
509
|
+
match kind {
|
510
|
+
Some(ExternKind::Import) => {
|
511
|
+
// A fresh new resource is being imported into a
|
512
|
+
// component. This arises from the import section of
|
513
|
+
// a component or from the import declaration in a
|
514
|
+
// component type. In both cases a new imported
|
515
|
+
// resource is injected with a fresh new identifier
|
516
|
+
// into our state.
|
517
|
+
if created == referenced {
|
518
|
+
self.imported_resources
|
519
|
+
.insert(id.resource(), vec![self.imports.len()]);
|
520
|
+
}
|
521
|
+
}
|
522
|
+
|
523
|
+
Some(ExternKind::Export) => {
|
524
|
+
// A fresh resource is being exported from this
|
525
|
+
// component. This arises as part of the
|
526
|
+
// declaration of a component type, for example. In
|
527
|
+
// this situation brand new resource identifier is
|
528
|
+
// allocated and a definition is added, unlike the
|
529
|
+
// import case where an imported resource is added.
|
530
|
+
// Notably the representation of this new resource
|
531
|
+
// is unknown so it's listed as `None`.
|
532
|
+
if created == referenced {
|
533
|
+
self.defined_resources.insert(id.resource(), None);
|
534
|
+
}
|
535
|
+
|
536
|
+
// If this is a type export of a resource type then
|
537
|
+
// update the `explicit_resources` list. A new
|
538
|
+
// export path is about to be created for this
|
539
|
+
// resource and this keeps track of that.
|
540
|
+
self.explicit_resources
|
541
|
+
.insert(id.resource(), vec![self.exports.len()]);
|
542
|
+
}
|
543
|
+
|
544
|
+
None => {}
|
545
|
+
}
|
546
|
+
}
|
547
|
+
(self.types.len(), MAX_WASM_TYPES, "types")
|
548
|
+
}
|
549
|
+
};
|
550
|
+
|
551
|
+
check_max(len, 0, max, desc, offset)?;
|
552
|
+
|
553
|
+
// Before returning perform the final validation of the type of the item
|
554
|
+
// being imported/exported. This will ensure that everything is
|
555
|
+
// appropriately named with respect to type definitions, resources, etc.
|
556
|
+
if let Some((name, kind)) = name_and_kind {
|
557
|
+
if !self.validate_and_register_named_types(Some(name), kind, ty, types) {
|
558
|
+
bail!(
|
559
|
+
offset,
|
560
|
+
"{} not valid to be used as {}",
|
561
|
+
ty.desc(),
|
562
|
+
kind.desc()
|
563
|
+
);
|
564
|
+
}
|
565
|
+
}
|
566
|
+
Ok(())
|
567
|
+
}
|
568
|
+
|
569
|
+
/// Validates that the `ty` referenced only refers to named types internally
|
570
|
+
/// and then inserts anything necessary, if applicable, to the defined sets
|
571
|
+
/// within this component.
|
572
|
+
///
|
573
|
+
/// This function will validate that `ty` only refers to named types. For
|
574
|
+
/// example if it's a record then all of its fields must refer to named
|
575
|
+
/// types. This consults either `self.imported_types` or
|
576
|
+
/// `self.exported_types` as specified by `kind`. Note that this is not
|
577
|
+
/// inherently recursive itself but it ends up being recursive since if
|
578
|
+
/// recursive members were named then all their components must also be
|
579
|
+
/// named. Consequently this check stops at the "one layer deep" position,
|
580
|
+
/// or more accurately the position where types must be named (e.g. tuples
|
581
|
+
/// aren't required to be named).
|
582
|
+
fn validate_and_register_named_types(
|
583
|
+
&mut self,
|
584
|
+
toplevel_name: Option<&str>,
|
585
|
+
kind: ExternKind,
|
586
|
+
ty: &ComponentEntityType,
|
587
|
+
types: &TypeAlloc,
|
588
|
+
) -> bool {
|
589
|
+
if let ComponentEntityType::Type { created, .. } = ty {
|
590
|
+
// If this is a top-level resource then register it in the
|
591
|
+
// appropriate context so later validation of method-like-names
|
592
|
+
// works out.
|
593
|
+
if let Some(name) = toplevel_name {
|
594
|
+
if let ComponentAnyTypeId::Resource(id) = *created {
|
595
|
+
let cx = match kind {
|
596
|
+
ExternKind::Import => &mut self.toplevel_imported_resources,
|
597
|
+
ExternKind::Export => &mut self.toplevel_exported_resources,
|
598
|
+
};
|
599
|
+
cx.register(name, id);
|
600
|
+
}
|
601
|
+
}
|
602
|
+
}
|
603
|
+
|
604
|
+
match self.kind {
|
605
|
+
ComponentKind::Component | ComponentKind::ComponentType => {}
|
606
|
+
ComponentKind::InstanceType => return true,
|
607
|
+
}
|
608
|
+
let set = match kind {
|
609
|
+
ExternKind::Import => &self.imported_types,
|
610
|
+
ExternKind::Export => &self.exported_types,
|
611
|
+
};
|
612
|
+
match ty {
|
613
|
+
// When a type is imported or exported than any recursive type
|
614
|
+
// referred to by that import/export must additionally be exported
|
615
|
+
// or imported. Here this walks the "first layer" of the type which
|
616
|
+
// delegates to `TypeAlloc::type_named_type_id` to determine whether
|
617
|
+
// the components of the type being named here are indeed all they
|
618
|
+
// themselves named.
|
619
|
+
ComponentEntityType::Type {
|
620
|
+
created,
|
621
|
+
referenced,
|
622
|
+
} => {
|
623
|
+
if !self.all_valtypes_named(types, *referenced, set) {
|
624
|
+
return false;
|
625
|
+
}
|
626
|
+
match kind {
|
627
|
+
// Imported types are both valid for import and valid for
|
628
|
+
// export.
|
629
|
+
ExternKind::Import => {
|
630
|
+
self.imported_types.insert(*created);
|
631
|
+
self.exported_types.insert(*created);
|
632
|
+
}
|
633
|
+
ExternKind::Export => {
|
634
|
+
self.exported_types.insert(*created);
|
635
|
+
}
|
636
|
+
}
|
637
|
+
|
638
|
+
true
|
639
|
+
}
|
640
|
+
|
641
|
+
// Instances are slightly nuanced here. The general idea is that if
|
642
|
+
// an instance is imported, then any type exported by the instance
|
643
|
+
// is then also exported. Additionally for exports. To get this to
|
644
|
+
// work out this arm will recursively call
|
645
|
+
// `validate_and_register_named_types` which means that types are
|
646
|
+
// inserted into `self.{imported,exported}_types` as-we-go rather
|
647
|
+
// than all at once.
|
648
|
+
//
|
649
|
+
// This then recursively validates that all items in the instance
|
650
|
+
// itself are valid to import/export, recursive instances are
|
651
|
+
// captured, and everything is appropriately added to the right
|
652
|
+
// imported/exported set.
|
653
|
+
ComponentEntityType::Instance(i) => types[*i]
|
654
|
+
.exports
|
655
|
+
.iter()
|
656
|
+
.all(|(_name, ty)| self.validate_and_register_named_types(None, kind, ty, types)),
|
657
|
+
|
658
|
+
// All types referred to by a function must be named.
|
659
|
+
ComponentEntityType::Func(id) => self.all_valtypes_named_in_func(types, *id, set),
|
660
|
+
|
661
|
+
ComponentEntityType::Value(ty) => types.type_named_valtype(ty, set),
|
662
|
+
|
663
|
+
// Components/modules are always "closed" or "standalone" and don't
|
664
|
+
// need validation with respect to their named types.
|
665
|
+
ComponentEntityType::Component(_) | ComponentEntityType::Module(_) => true,
|
666
|
+
}
|
667
|
+
}
|
668
|
+
|
669
|
+
fn all_valtypes_named(
|
670
|
+
&self,
|
671
|
+
types: &TypeAlloc,
|
672
|
+
id: ComponentAnyTypeId,
|
673
|
+
set: &Set<ComponentAnyTypeId>,
|
674
|
+
) -> bool {
|
675
|
+
match id {
|
676
|
+
// Resource types, in isolation, are always valid to import or
|
677
|
+
// export since they're either attached to an import or being
|
678
|
+
// exported.
|
679
|
+
//
|
680
|
+
// Note that further validation of this happens in `finish`, too.
|
681
|
+
ComponentAnyTypeId::Resource(_) => true,
|
682
|
+
|
683
|
+
// Component types are validated as they are constructed,
|
684
|
+
// so all component types are valid to export if they've
|
685
|
+
// already been constructed.
|
686
|
+
ComponentAnyTypeId::Component(_) => true,
|
687
|
+
|
688
|
+
ComponentAnyTypeId::Defined(id) => self.all_valtypes_named_in_defined(types, id, set),
|
689
|
+
ComponentAnyTypeId::Func(id) => self.all_valtypes_named_in_func(types, id, set),
|
690
|
+
ComponentAnyTypeId::Instance(id) => self.all_valtypes_named_in_instance(types, id, set),
|
691
|
+
}
|
692
|
+
}
|
693
|
+
|
694
|
+
fn all_valtypes_named_in_instance(
|
695
|
+
&self,
|
696
|
+
types: &TypeAlloc,
|
697
|
+
id: ComponentInstanceTypeId,
|
698
|
+
set: &Set<ComponentAnyTypeId>,
|
699
|
+
) -> bool {
|
700
|
+
// Instances must recursively have all referenced types named.
|
701
|
+
let ty = &types[id];
|
702
|
+
ty.exports.values().all(|ty| match ty {
|
703
|
+
ComponentEntityType::Module(_) => true,
|
704
|
+
ComponentEntityType::Func(id) => self.all_valtypes_named_in_func(types, *id, set),
|
705
|
+
ComponentEntityType::Type { created: id, .. } => {
|
706
|
+
self.all_valtypes_named(types, *id, set)
|
707
|
+
}
|
708
|
+
ComponentEntityType::Value(ComponentValType::Type(id)) => {
|
709
|
+
self.all_valtypes_named_in_defined(types, *id, set)
|
710
|
+
}
|
711
|
+
ComponentEntityType::Instance(id) => {
|
712
|
+
self.all_valtypes_named_in_instance(types, *id, set)
|
713
|
+
}
|
714
|
+
ComponentEntityType::Component(_)
|
715
|
+
| ComponentEntityType::Value(ComponentValType::Primitive(_)) => return true,
|
716
|
+
})
|
717
|
+
}
|
718
|
+
|
719
|
+
fn all_valtypes_named_in_defined(
|
720
|
+
&self,
|
721
|
+
types: &TypeAlloc,
|
722
|
+
id: ComponentDefinedTypeId,
|
723
|
+
set: &Set<ComponentAnyTypeId>,
|
724
|
+
) -> bool {
|
725
|
+
let ty = &types[id];
|
726
|
+
match ty {
|
727
|
+
// These types do not contain anything which must be
|
728
|
+
// named.
|
729
|
+
ComponentDefinedType::Primitive(_)
|
730
|
+
| ComponentDefinedType::Flags(_)
|
731
|
+
| ComponentDefinedType::Enum(_) => true,
|
732
|
+
|
733
|
+
// Referenced types of all these aggregates must all be
|
734
|
+
// named.
|
735
|
+
ComponentDefinedType::Record(r) => {
|
736
|
+
r.fields.values().all(|t| types.type_named_valtype(t, set))
|
737
|
+
}
|
738
|
+
ComponentDefinedType::Tuple(r) => {
|
739
|
+
r.types.iter().all(|t| types.type_named_valtype(t, set))
|
740
|
+
}
|
741
|
+
ComponentDefinedType::Variant(r) => r
|
742
|
+
.cases
|
743
|
+
.values()
|
744
|
+
.filter_map(|t| t.ty.as_ref())
|
745
|
+
.all(|t| types.type_named_valtype(t, set)),
|
746
|
+
ComponentDefinedType::Result { ok, err } => {
|
747
|
+
ok.as_ref()
|
748
|
+
.map(|t| types.type_named_valtype(t, set))
|
749
|
+
.unwrap_or(true)
|
750
|
+
&& err
|
751
|
+
.as_ref()
|
752
|
+
.map(|t| types.type_named_valtype(t, set))
|
753
|
+
.unwrap_or(true)
|
754
|
+
}
|
755
|
+
ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
|
756
|
+
types.type_named_valtype(ty, set)
|
757
|
+
}
|
758
|
+
|
759
|
+
// The resource referred to by own/borrow must be named.
|
760
|
+
ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
|
761
|
+
set.contains(&ComponentAnyTypeId::from(*id))
|
762
|
+
}
|
763
|
+
}
|
764
|
+
}
|
765
|
+
|
766
|
+
fn all_valtypes_named_in_func(
|
767
|
+
&self,
|
768
|
+
types: &TypeAlloc,
|
769
|
+
id: ComponentFuncTypeId,
|
770
|
+
set: &Set<ComponentAnyTypeId>,
|
771
|
+
) -> bool {
|
772
|
+
let ty = &types[id];
|
773
|
+
// Function types must have all their parameters/results named.
|
774
|
+
ty.params
|
775
|
+
.iter()
|
776
|
+
.map(|(_, ty)| ty)
|
777
|
+
.chain(ty.results.iter().map(|(_, ty)| ty))
|
778
|
+
.all(|ty| types.type_named_valtype(ty, set))
|
779
|
+
}
|
780
|
+
|
781
|
+
/// Updates the type `id` specified, an identifier for a component instance
|
782
|
+
/// type, to be imported into this component.
|
783
|
+
///
|
784
|
+
/// Importing an instance type into a component specially handles the
|
785
|
+
/// defined resources registered in the instance type. Notably all
|
786
|
+
/// defined resources are "freshened" into brand new type variables and
|
787
|
+
/// these new variables are substituted within the type. This is what
|
788
|
+
/// creates a new `TypeId` and may update the `id` specified.
|
789
|
+
///
|
790
|
+
/// One side effect of this operation, for example, is that if an instance
|
791
|
+
/// type is used twice to import two different instances then the instances
|
792
|
+
/// do not share resource types despite sharing the same original instance
|
793
|
+
/// type.
|
794
|
+
fn prepare_instance_import(&mut self, id: &mut ComponentInstanceTypeId, types: &mut TypeAlloc) {
|
795
|
+
let ty = &types[*id];
|
796
|
+
|
797
|
+
// No special treatment for imports of instances which themselves have
|
798
|
+
// no defined resources
|
799
|
+
if ty.defined_resources.is_empty() {
|
800
|
+
return;
|
801
|
+
}
|
802
|
+
|
803
|
+
let mut new_ty = ComponentInstanceType {
|
804
|
+
// Copied from the input verbatim
|
805
|
+
info: ty.info,
|
806
|
+
|
807
|
+
// Copied over as temporary storage for now, and both of these are
|
808
|
+
// filled out and expanded below.
|
809
|
+
exports: ty.exports.clone(),
|
810
|
+
explicit_resources: ty.explicit_resources.clone(),
|
811
|
+
|
812
|
+
// Explicitly discard this field since the
|
813
|
+
// defined resources are lifted into `self`
|
814
|
+
defined_resources: Default::default(),
|
815
|
+
};
|
816
|
+
|
817
|
+
// Create brand new resources for all defined ones in the instance.
|
818
|
+
let resources = (0..ty.defined_resources.len())
|
819
|
+
.map(|_| types.alloc_resource_id())
|
820
|
+
.collect::<IndexSet<_>>();
|
821
|
+
|
822
|
+
// Build a map from the defined resources in `ty` to those in `new_ty`.
|
823
|
+
//
|
824
|
+
// As part of this same loop the new resources, which were previously
|
825
|
+
// defined in `ty`, now become imported variables in `self`. Their
|
826
|
+
// path for where they're imported is updated as well with
|
827
|
+
// `self.next_import_index` as the import-to-be soon.
|
828
|
+
let mut mapping = Remapping::default();
|
829
|
+
let ty = &types[*id];
|
830
|
+
for (old, new) in ty.defined_resources.iter().zip(&resources) {
|
831
|
+
let prev = mapping.resources.insert(*old, new.resource());
|
832
|
+
assert!(prev.is_none());
|
833
|
+
|
834
|
+
let mut base = vec![self.imports.len()];
|
835
|
+
base.extend(ty.explicit_resources[old].iter().copied());
|
836
|
+
self.imported_resources.insert(new.resource(), base);
|
837
|
+
}
|
838
|
+
|
839
|
+
// Using the old-to-new resource mapping perform a substitution on
|
840
|
+
// the `exports` and `explicit_resources` fields of `new_ty`
|
841
|
+
for ty in new_ty.exports.values_mut() {
|
842
|
+
types.remap_component_entity(ty, &mut mapping);
|
843
|
+
}
|
844
|
+
for (id, path) in mem::take(&mut new_ty.explicit_resources) {
|
845
|
+
let id = *mapping.resources.get(&id).unwrap_or(&id);
|
846
|
+
new_ty.explicit_resources.insert(id, path);
|
847
|
+
}
|
848
|
+
|
849
|
+
// Now that `new_ty` is complete finish its registration and then
|
850
|
+
// update `id` on the way out.
|
851
|
+
*id = types.push_ty(new_ty);
|
852
|
+
}
|
853
|
+
|
854
|
+
/// Prepares an instance type, pointed to `id`, for being exported as a
|
855
|
+
/// concrete instance from `self`.
|
856
|
+
///
|
857
|
+
/// This will internally perform any resource "freshening" as required and
|
858
|
+
/// then additionally update metadata within `self` about resources being
|
859
|
+
/// exported or defined.
|
860
|
+
fn prepare_instance_export(&mut self, id: &mut ComponentInstanceTypeId, types: &mut TypeAlloc) {
|
861
|
+
// Exports of an instance mean that the enclosing context
|
862
|
+
// is inheriting the resources that the instance
|
863
|
+
// encapsulates. This means that the instance type
|
864
|
+
// recorded for this export will itself have no
|
865
|
+
// defined resources.
|
866
|
+
let ty = &types[*id];
|
867
|
+
|
868
|
+
// Check to see if `defined_resources` is non-empty, and if so then
|
869
|
+
// "freshen" all the resources and inherit them to our own defined
|
870
|
+
// resources, updating `id` in the process.
|
871
|
+
//
|
872
|
+
// Note though that this specifically is not rewriting the resources of
|
873
|
+
// exported instances. The `defined_resources` set on instance types is
|
874
|
+
// a little subtle (see its documentation for more info), but the
|
875
|
+
// general idea is that for a concrete instance it's always empty. Only
|
876
|
+
// for instance type definitions does it ever have elements in it.
|
877
|
+
//
|
878
|
+
// That means that if this set is non-empty then what's happening is
|
879
|
+
// that we're in a type context an exporting an instance of a previously
|
880
|
+
// specified type. In this case all resources are required to be
|
881
|
+
// "freshened" to ensure that multiple exports of the same type all
|
882
|
+
// export different types of resources.
|
883
|
+
//
|
884
|
+
// And finally note that this operation empties out the
|
885
|
+
// `defined_resources` set of the type that is registered for the
|
886
|
+
// instance, as this export is modeled as producing a concrete instance.
|
887
|
+
if !ty.defined_resources.is_empty() {
|
888
|
+
let mut new_ty = ty.clone();
|
889
|
+
let mut mapping = Remapping::default();
|
890
|
+
for old in mem::take(&mut new_ty.defined_resources) {
|
891
|
+
let new = types.alloc_resource_id();
|
892
|
+
mapping.resources.insert(old, new.resource());
|
893
|
+
self.defined_resources.insert(new.resource(), None);
|
894
|
+
}
|
895
|
+
for ty in new_ty.exports.values_mut() {
|
896
|
+
types.remap_component_entity(ty, &mut mapping);
|
897
|
+
}
|
898
|
+
for (id, path) in mem::take(&mut new_ty.explicit_resources) {
|
899
|
+
let id = mapping.resources.get(&id).copied().unwrap_or(id);
|
900
|
+
new_ty.explicit_resources.insert(id, path);
|
901
|
+
}
|
902
|
+
*id = types.push_ty(new_ty);
|
903
|
+
}
|
904
|
+
|
905
|
+
// Any explicit resources in the instance are now additionally explicit
|
906
|
+
// in this component since it's exported.
|
907
|
+
//
|
908
|
+
// The path to each explicit resources gets one element prepended which
|
909
|
+
// is `self.next_export_index`, the index of the export about to be
|
910
|
+
// generated.
|
911
|
+
let ty = &types[*id];
|
912
|
+
for (id, path) in ty.explicit_resources.iter() {
|
913
|
+
let mut new_path = vec![self.exports.len()];
|
914
|
+
new_path.extend(path);
|
915
|
+
self.explicit_resources.insert(*id, new_path);
|
916
|
+
}
|
917
|
+
}
|
918
|
+
|
919
|
+
pub fn add_export(
|
920
|
+
&mut self,
|
921
|
+
name: ComponentExportName<'_>,
|
922
|
+
mut ty: ComponentEntityType,
|
923
|
+
features: &WasmFeatures,
|
924
|
+
types: &mut TypeAlloc,
|
925
|
+
offset: usize,
|
926
|
+
check_limit: bool,
|
927
|
+
) -> Result<()> {
|
928
|
+
if check_limit {
|
929
|
+
check_max(self.exports.len(), 1, MAX_WASM_EXPORTS, "exports", offset)?;
|
930
|
+
}
|
931
|
+
self.add_entity(
|
932
|
+
&mut ty,
|
933
|
+
Some((name.0, ExternKind::Export)),
|
934
|
+
features,
|
935
|
+
types,
|
936
|
+
offset,
|
937
|
+
)?;
|
938
|
+
self.toplevel_exported_resources.validate_extern(
|
939
|
+
name.0,
|
940
|
+
ExternKind::Export,
|
941
|
+
&ty,
|
942
|
+
types,
|
943
|
+
offset,
|
944
|
+
&mut self.export_names,
|
945
|
+
&mut self.exports,
|
946
|
+
&mut self.type_info,
|
947
|
+
features,
|
948
|
+
)?;
|
949
|
+
Ok(())
|
950
|
+
}
|
951
|
+
|
952
|
+
pub fn lift_function(
|
953
|
+
&mut self,
|
954
|
+
core_func_index: u32,
|
955
|
+
type_index: u32,
|
956
|
+
options: Vec<CanonicalOption>,
|
957
|
+
types: &TypeList,
|
958
|
+
offset: usize,
|
959
|
+
) -> Result<()> {
|
960
|
+
let ty = self.function_type_at(type_index, types, offset)?;
|
961
|
+
let core_ty = types[self.core_function_at(core_func_index, offset)?].unwrap_func();
|
962
|
+
|
963
|
+
// Lifting a function is for an export, so match the expected canonical ABI
|
964
|
+
// export signature
|
965
|
+
let info = ty.lower(types, false);
|
966
|
+
self.check_options(Some(core_ty), &info, &options, types, offset)?;
|
967
|
+
|
968
|
+
if core_ty.params() != info.params.as_slice() {
|
969
|
+
bail!(
|
970
|
+
offset,
|
971
|
+
"lowered parameter types `{:?}` do not match parameter types \
|
972
|
+
`{:?}` of core function {core_func_index}",
|
973
|
+
info.params.as_slice(),
|
974
|
+
core_ty.params(),
|
975
|
+
);
|
976
|
+
}
|
977
|
+
|
978
|
+
if core_ty.results() != info.results.as_slice() {
|
979
|
+
bail!(
|
980
|
+
offset,
|
981
|
+
"lowered result types `{:?}` do not match result types \
|
982
|
+
`{:?}` of core function {core_func_index}",
|
983
|
+
info.results.as_slice(),
|
984
|
+
core_ty.results()
|
985
|
+
);
|
986
|
+
}
|
987
|
+
|
988
|
+
self.funcs
|
989
|
+
.push(self.types[type_index as usize].unwrap_func());
|
990
|
+
|
991
|
+
Ok(())
|
992
|
+
}
|
993
|
+
|
994
|
+
pub fn lower_function(
|
995
|
+
&mut self,
|
996
|
+
func_index: u32,
|
997
|
+
options: Vec<CanonicalOption>,
|
998
|
+
types: &mut TypeAlloc,
|
999
|
+
offset: usize,
|
1000
|
+
) -> Result<()> {
|
1001
|
+
let ty = &types[self.function_at(func_index, offset)?];
|
1002
|
+
|
1003
|
+
// Lowering a function is for an import, so use a function type that matches
|
1004
|
+
// the expected canonical ABI import signature.
|
1005
|
+
let info = ty.lower(types, true);
|
1006
|
+
|
1007
|
+
self.check_options(None, &info, &options, types, offset)?;
|
1008
|
+
|
1009
|
+
let composite_type = CompositeType {
|
1010
|
+
inner: CompositeInnerType::Func(info.into_func_type()),
|
1011
|
+
shared: false,
|
1012
|
+
};
|
1013
|
+
let lowered_ty = SubType {
|
1014
|
+
is_final: true,
|
1015
|
+
supertype_idx: None,
|
1016
|
+
composite_type,
|
1017
|
+
};
|
1018
|
+
|
1019
|
+
let (_is_new, group_id) =
|
1020
|
+
types.intern_canonical_rec_group(RecGroup::implicit(offset, lowered_ty));
|
1021
|
+
let id = types[group_id].start;
|
1022
|
+
self.core_funcs.push(id);
|
1023
|
+
|
1024
|
+
Ok(())
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
pub fn resource_new(
|
1028
|
+
&mut self,
|
1029
|
+
resource: u32,
|
1030
|
+
types: &mut TypeAlloc,
|
1031
|
+
offset: usize,
|
1032
|
+
) -> Result<()> {
|
1033
|
+
let rep = self.check_local_resource(resource, types, offset)?;
|
1034
|
+
let composite_type = CompositeType {
|
1035
|
+
inner: CompositeInnerType::Func(FuncType::new([rep], [ValType::I32])),
|
1036
|
+
shared: false,
|
1037
|
+
};
|
1038
|
+
let core_ty = SubType {
|
1039
|
+
is_final: true,
|
1040
|
+
supertype_idx: None,
|
1041
|
+
composite_type,
|
1042
|
+
};
|
1043
|
+
let (_is_new, group_id) =
|
1044
|
+
types.intern_canonical_rec_group(RecGroup::implicit(offset, core_ty));
|
1045
|
+
let id = types[group_id].start;
|
1046
|
+
self.core_funcs.push(id);
|
1047
|
+
Ok(())
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
pub fn resource_drop(
|
1051
|
+
&mut self,
|
1052
|
+
resource: u32,
|
1053
|
+
types: &mut TypeAlloc,
|
1054
|
+
offset: usize,
|
1055
|
+
) -> Result<()> {
|
1056
|
+
self.resource_at(resource, types, offset)?;
|
1057
|
+
let composite_type = CompositeType {
|
1058
|
+
inner: CompositeInnerType::Func(FuncType::new([ValType::I32], [])),
|
1059
|
+
shared: false,
|
1060
|
+
};
|
1061
|
+
let core_ty = SubType {
|
1062
|
+
is_final: true,
|
1063
|
+
supertype_idx: None,
|
1064
|
+
composite_type,
|
1065
|
+
};
|
1066
|
+
let (_is_new, group_id) =
|
1067
|
+
types.intern_canonical_rec_group(RecGroup::implicit(offset, core_ty));
|
1068
|
+
let id = types[group_id].start;
|
1069
|
+
self.core_funcs.push(id);
|
1070
|
+
Ok(())
|
1071
|
+
}
|
1072
|
+
|
1073
|
+
pub fn resource_rep(
|
1074
|
+
&mut self,
|
1075
|
+
resource: u32,
|
1076
|
+
types: &mut TypeAlloc,
|
1077
|
+
offset: usize,
|
1078
|
+
) -> Result<()> {
|
1079
|
+
let rep = self.check_local_resource(resource, types, offset)?;
|
1080
|
+
let composite_type = CompositeType {
|
1081
|
+
inner: CompositeInnerType::Func(FuncType::new([ValType::I32], [rep])),
|
1082
|
+
shared: false,
|
1083
|
+
};
|
1084
|
+
let core_ty = SubType {
|
1085
|
+
is_final: true,
|
1086
|
+
supertype_idx: None,
|
1087
|
+
composite_type,
|
1088
|
+
};
|
1089
|
+
let (_is_new, group_id) =
|
1090
|
+
types.intern_canonical_rec_group(RecGroup::implicit(offset, core_ty));
|
1091
|
+
let id = types[group_id].start;
|
1092
|
+
self.core_funcs.push(id);
|
1093
|
+
Ok(())
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
fn check_local_resource(&self, idx: u32, types: &TypeList, offset: usize) -> Result<ValType> {
|
1097
|
+
let resource = self.resource_at(idx, types, offset)?;
|
1098
|
+
match self
|
1099
|
+
.defined_resources
|
1100
|
+
.get(&resource.resource())
|
1101
|
+
.and_then(|rep| *rep)
|
1102
|
+
{
|
1103
|
+
Some(ty) => Ok(ty),
|
1104
|
+
None => bail!(offset, "type {idx} is not a local resource"),
|
1105
|
+
}
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
fn resource_at<'a>(
|
1109
|
+
&self,
|
1110
|
+
idx: u32,
|
1111
|
+
_types: &'a TypeList,
|
1112
|
+
offset: usize,
|
1113
|
+
) -> Result<AliasableResourceId> {
|
1114
|
+
if let ComponentAnyTypeId::Resource(id) = self.component_type_at(idx, offset)? {
|
1115
|
+
return Ok(id);
|
1116
|
+
}
|
1117
|
+
bail!(offset, "type index {} is not a resource type", idx)
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
pub fn add_component(&mut self, component: ComponentType, types: &mut TypeAlloc) -> Result<()> {
|
1121
|
+
let id = types.push_ty(component);
|
1122
|
+
self.components.push(id);
|
1123
|
+
Ok(())
|
1124
|
+
}
|
1125
|
+
|
1126
|
+
pub fn add_instance(
|
1127
|
+
&mut self,
|
1128
|
+
instance: crate::ComponentInstance,
|
1129
|
+
features: &WasmFeatures,
|
1130
|
+
types: &mut TypeAlloc,
|
1131
|
+
offset: usize,
|
1132
|
+
) -> Result<()> {
|
1133
|
+
let instance = match instance {
|
1134
|
+
crate::ComponentInstance::Instantiate {
|
1135
|
+
component_index,
|
1136
|
+
args,
|
1137
|
+
} => self.instantiate_component(
|
1138
|
+
component_index,
|
1139
|
+
args.into_vec(),
|
1140
|
+
features,
|
1141
|
+
types,
|
1142
|
+
offset,
|
1143
|
+
)?,
|
1144
|
+
crate::ComponentInstance::FromExports(exports) => {
|
1145
|
+
self.instantiate_component_exports(exports.into_vec(), features, types, offset)?
|
1146
|
+
}
|
1147
|
+
};
|
1148
|
+
|
1149
|
+
self.instances.push(instance);
|
1150
|
+
|
1151
|
+
Ok(())
|
1152
|
+
}
|
1153
|
+
|
1154
|
+
pub fn add_alias(
|
1155
|
+
components: &mut [Self],
|
1156
|
+
alias: crate::ComponentAlias,
|
1157
|
+
features: &WasmFeatures,
|
1158
|
+
types: &mut TypeAlloc,
|
1159
|
+
offset: usize,
|
1160
|
+
) -> Result<()> {
|
1161
|
+
match alias {
|
1162
|
+
crate::ComponentAlias::InstanceExport {
|
1163
|
+
instance_index,
|
1164
|
+
kind,
|
1165
|
+
name,
|
1166
|
+
} => components.last_mut().unwrap().alias_instance_export(
|
1167
|
+
instance_index,
|
1168
|
+
kind,
|
1169
|
+
name,
|
1170
|
+
features,
|
1171
|
+
types,
|
1172
|
+
offset,
|
1173
|
+
),
|
1174
|
+
crate::ComponentAlias::CoreInstanceExport {
|
1175
|
+
instance_index,
|
1176
|
+
kind,
|
1177
|
+
name,
|
1178
|
+
} => components.last_mut().unwrap().alias_core_instance_export(
|
1179
|
+
instance_index,
|
1180
|
+
kind,
|
1181
|
+
name,
|
1182
|
+
types,
|
1183
|
+
offset,
|
1184
|
+
),
|
1185
|
+
crate::ComponentAlias::Outer { kind, count, index } => match kind {
|
1186
|
+
ComponentOuterAliasKind::CoreModule => {
|
1187
|
+
Self::alias_module(components, count, index, offset)
|
1188
|
+
}
|
1189
|
+
ComponentOuterAliasKind::CoreType => {
|
1190
|
+
Self::alias_core_type(components, count, index, offset)
|
1191
|
+
}
|
1192
|
+
ComponentOuterAliasKind::Type => {
|
1193
|
+
Self::alias_type(components, count, index, types, offset)
|
1194
|
+
}
|
1195
|
+
ComponentOuterAliasKind::Component => {
|
1196
|
+
Self::alias_component(components, count, index, offset)
|
1197
|
+
}
|
1198
|
+
},
|
1199
|
+
}
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
pub fn add_start(
|
1203
|
+
&mut self,
|
1204
|
+
func_index: u32,
|
1205
|
+
args: &[u32],
|
1206
|
+
results: u32,
|
1207
|
+
features: &WasmFeatures,
|
1208
|
+
types: &mut TypeList,
|
1209
|
+
offset: usize,
|
1210
|
+
) -> Result<()> {
|
1211
|
+
if !features.component_model_values() {
|
1212
|
+
bail!(
|
1213
|
+
offset,
|
1214
|
+
"support for component model `value`s is not enabled"
|
1215
|
+
);
|
1216
|
+
}
|
1217
|
+
if self.has_start {
|
1218
|
+
return Err(BinaryReaderError::new(
|
1219
|
+
"component cannot have more than one start function",
|
1220
|
+
offset,
|
1221
|
+
));
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
let ft = &types[self.function_at(func_index, offset)?];
|
1225
|
+
|
1226
|
+
if ft.params.len() != args.len() {
|
1227
|
+
bail!(
|
1228
|
+
offset,
|
1229
|
+
"component start function requires {} arguments but was given {}",
|
1230
|
+
ft.params.len(),
|
1231
|
+
args.len()
|
1232
|
+
);
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
if ft.results.len() as u32 != results {
|
1236
|
+
bail!(
|
1237
|
+
offset,
|
1238
|
+
"component start function has a result count of {results} \
|
1239
|
+
but the function type has a result count of {type_results}",
|
1240
|
+
type_results = ft.results.len(),
|
1241
|
+
);
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
let cx = SubtypeCx::new(types, types);
|
1245
|
+
for (i, ((_, ty), arg)) in ft.params.iter().zip(args).enumerate() {
|
1246
|
+
// Ensure the value's type is a subtype of the parameter type
|
1247
|
+
cx.component_val_type(self.value_at(*arg, offset)?, ty, offset)
|
1248
|
+
.with_context(|| {
|
1249
|
+
format!("value type mismatch for component start function argument {i}")
|
1250
|
+
})?;
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
for (_, ty) in ft.results.iter() {
|
1254
|
+
self.values.push((*ty, false));
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
self.has_start = true;
|
1258
|
+
|
1259
|
+
Ok(())
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
fn check_options(
|
1263
|
+
&self,
|
1264
|
+
core_ty: Option<&FuncType>,
|
1265
|
+
info: &LoweringInfo,
|
1266
|
+
options: &[CanonicalOption],
|
1267
|
+
types: &TypeList,
|
1268
|
+
offset: usize,
|
1269
|
+
) -> Result<()> {
|
1270
|
+
fn display(option: CanonicalOption) -> &'static str {
|
1271
|
+
match option {
|
1272
|
+
CanonicalOption::UTF8 => "utf8",
|
1273
|
+
CanonicalOption::UTF16 => "utf16",
|
1274
|
+
CanonicalOption::CompactUTF16 => "latin1-utf16",
|
1275
|
+
CanonicalOption::Memory(_) => "memory",
|
1276
|
+
CanonicalOption::Realloc(_) => "realloc",
|
1277
|
+
CanonicalOption::PostReturn(_) => "post-return",
|
1278
|
+
}
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
let mut encoding = None;
|
1282
|
+
let mut memory = None;
|
1283
|
+
let mut realloc = None;
|
1284
|
+
let mut post_return = None;
|
1285
|
+
|
1286
|
+
for option in options {
|
1287
|
+
match option {
|
1288
|
+
CanonicalOption::UTF8 | CanonicalOption::UTF16 | CanonicalOption::CompactUTF16 => {
|
1289
|
+
match encoding {
|
1290
|
+
Some(existing) => {
|
1291
|
+
bail!(
|
1292
|
+
offset,
|
1293
|
+
"canonical encoding option `{}` conflicts with option `{}`",
|
1294
|
+
display(existing),
|
1295
|
+
display(*option),
|
1296
|
+
)
|
1297
|
+
}
|
1298
|
+
None => encoding = Some(*option),
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
CanonicalOption::Memory(idx) => {
|
1302
|
+
memory = match memory {
|
1303
|
+
None => {
|
1304
|
+
self.memory_at(*idx, offset)?;
|
1305
|
+
Some(*idx)
|
1306
|
+
}
|
1307
|
+
Some(_) => {
|
1308
|
+
return Err(BinaryReaderError::new(
|
1309
|
+
"canonical option `memory` is specified more than once",
|
1310
|
+
offset,
|
1311
|
+
))
|
1312
|
+
}
|
1313
|
+
}
|
1314
|
+
}
|
1315
|
+
CanonicalOption::Realloc(idx) => {
|
1316
|
+
realloc = match realloc {
|
1317
|
+
None => {
|
1318
|
+
let ty = types[self.core_function_at(*idx, offset)?].unwrap_func();
|
1319
|
+
if ty.params()
|
1320
|
+
!= [ValType::I32, ValType::I32, ValType::I32, ValType::I32]
|
1321
|
+
|| ty.results() != [ValType::I32]
|
1322
|
+
{
|
1323
|
+
return Err(BinaryReaderError::new(
|
1324
|
+
"canonical option `realloc` uses a core function with an incorrect signature",
|
1325
|
+
offset,
|
1326
|
+
));
|
1327
|
+
}
|
1328
|
+
Some(*idx)
|
1329
|
+
}
|
1330
|
+
Some(_) => {
|
1331
|
+
return Err(BinaryReaderError::new(
|
1332
|
+
"canonical option `realloc` is specified more than once",
|
1333
|
+
offset,
|
1334
|
+
))
|
1335
|
+
}
|
1336
|
+
}
|
1337
|
+
}
|
1338
|
+
CanonicalOption::PostReturn(idx) => {
|
1339
|
+
post_return = match post_return {
|
1340
|
+
None => {
|
1341
|
+
let core_ty = core_ty.ok_or_else(|| {
|
1342
|
+
BinaryReaderError::new(
|
1343
|
+
"canonical option `post-return` cannot be specified for lowerings",
|
1344
|
+
offset,
|
1345
|
+
)
|
1346
|
+
})?;
|
1347
|
+
|
1348
|
+
let ty = types[self.core_function_at(*idx, offset)?].unwrap_func();
|
1349
|
+
|
1350
|
+
if ty.params() != core_ty.results() || !ty.results().is_empty() {
|
1351
|
+
return Err(BinaryReaderError::new(
|
1352
|
+
"canonical option `post-return` uses a core function with an incorrect signature",
|
1353
|
+
offset,
|
1354
|
+
));
|
1355
|
+
}
|
1356
|
+
Some(*idx)
|
1357
|
+
}
|
1358
|
+
Some(_) => {
|
1359
|
+
return Err(BinaryReaderError::new(
|
1360
|
+
"canonical option `post-return` is specified more than once",
|
1361
|
+
offset,
|
1362
|
+
))
|
1363
|
+
}
|
1364
|
+
}
|
1365
|
+
}
|
1366
|
+
}
|
1367
|
+
}
|
1368
|
+
|
1369
|
+
if info.requires_memory && memory.is_none() {
|
1370
|
+
return Err(BinaryReaderError::new(
|
1371
|
+
"canonical option `memory` is required",
|
1372
|
+
offset,
|
1373
|
+
));
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
if info.requires_realloc && realloc.is_none() {
|
1377
|
+
return Err(BinaryReaderError::new(
|
1378
|
+
"canonical option `realloc` is required",
|
1379
|
+
offset,
|
1380
|
+
));
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
Ok(())
|
1384
|
+
}
|
1385
|
+
|
1386
|
+
fn check_type_ref(
|
1387
|
+
&mut self,
|
1388
|
+
ty: &ComponentTypeRef,
|
1389
|
+
features: &WasmFeatures,
|
1390
|
+
types: &mut TypeAlloc,
|
1391
|
+
offset: usize,
|
1392
|
+
) -> Result<ComponentEntityType> {
|
1393
|
+
Ok(match ty {
|
1394
|
+
ComponentTypeRef::Module(index) => {
|
1395
|
+
let id = self.core_type_at(*index, offset)?;
|
1396
|
+
match id {
|
1397
|
+
ComponentCoreTypeId::Sub(_) => {
|
1398
|
+
bail!(offset, "core type index {index} is not a module type")
|
1399
|
+
}
|
1400
|
+
ComponentCoreTypeId::Module(id) => ComponentEntityType::Module(id),
|
1401
|
+
}
|
1402
|
+
}
|
1403
|
+
ComponentTypeRef::Func(index) => {
|
1404
|
+
let id = self.component_type_at(*index, offset)?;
|
1405
|
+
match id {
|
1406
|
+
ComponentAnyTypeId::Func(id) => ComponentEntityType::Func(id),
|
1407
|
+
_ => bail!(offset, "type index {index} is not a function type"),
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
ComponentTypeRef::Value(ty) => {
|
1411
|
+
self.check_value_support(features, offset)?;
|
1412
|
+
let ty = match ty {
|
1413
|
+
crate::ComponentValType::Primitive(ty) => ComponentValType::Primitive(*ty),
|
1414
|
+
crate::ComponentValType::Type(index) => {
|
1415
|
+
ComponentValType::Type(self.defined_type_at(*index, offset)?)
|
1416
|
+
}
|
1417
|
+
};
|
1418
|
+
ComponentEntityType::Value(ty)
|
1419
|
+
}
|
1420
|
+
ComponentTypeRef::Type(TypeBounds::Eq(index)) => {
|
1421
|
+
let referenced = self.component_type_at(*index, offset)?;
|
1422
|
+
let created = types.with_unique(referenced);
|
1423
|
+
ComponentEntityType::Type {
|
1424
|
+
referenced,
|
1425
|
+
created,
|
1426
|
+
}
|
1427
|
+
}
|
1428
|
+
ComponentTypeRef::Type(TypeBounds::SubResource) => {
|
1429
|
+
let id = types.alloc_resource_id();
|
1430
|
+
ComponentEntityType::Type {
|
1431
|
+
referenced: id.into(),
|
1432
|
+
created: id.into(),
|
1433
|
+
}
|
1434
|
+
}
|
1435
|
+
ComponentTypeRef::Instance(index) => {
|
1436
|
+
let id = self.component_type_at(*index, offset)?;
|
1437
|
+
match id {
|
1438
|
+
ComponentAnyTypeId::Instance(id) => ComponentEntityType::Instance(id),
|
1439
|
+
_ => bail!(offset, "type index {index} is not an instance type"),
|
1440
|
+
}
|
1441
|
+
}
|
1442
|
+
ComponentTypeRef::Component(index) => {
|
1443
|
+
let id = self.component_type_at(*index, offset)?;
|
1444
|
+
match id {
|
1445
|
+
ComponentAnyTypeId::Component(id) => ComponentEntityType::Component(id),
|
1446
|
+
_ => bail!(offset, "type index {index} is not a component type"),
|
1447
|
+
}
|
1448
|
+
}
|
1449
|
+
})
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
pub fn export_to_entity_type(
|
1453
|
+
&mut self,
|
1454
|
+
export: &crate::ComponentExport,
|
1455
|
+
features: &WasmFeatures,
|
1456
|
+
types: &mut TypeAlloc,
|
1457
|
+
offset: usize,
|
1458
|
+
) -> Result<ComponentEntityType> {
|
1459
|
+
let actual = match export.kind {
|
1460
|
+
ComponentExternalKind::Module => {
|
1461
|
+
ComponentEntityType::Module(self.module_at(export.index, offset)?)
|
1462
|
+
}
|
1463
|
+
ComponentExternalKind::Func => {
|
1464
|
+
ComponentEntityType::Func(self.function_at(export.index, offset)?)
|
1465
|
+
}
|
1466
|
+
ComponentExternalKind::Value => {
|
1467
|
+
self.check_value_support(features, offset)?;
|
1468
|
+
ComponentEntityType::Value(*self.value_at(export.index, offset)?)
|
1469
|
+
}
|
1470
|
+
ComponentExternalKind::Type => {
|
1471
|
+
let referenced = self.component_type_at(export.index, offset)?;
|
1472
|
+
let created = types.with_unique(referenced);
|
1473
|
+
ComponentEntityType::Type {
|
1474
|
+
referenced,
|
1475
|
+
created,
|
1476
|
+
}
|
1477
|
+
}
|
1478
|
+
ComponentExternalKind::Instance => {
|
1479
|
+
ComponentEntityType::Instance(self.instance_at(export.index, offset)?)
|
1480
|
+
}
|
1481
|
+
ComponentExternalKind::Component => {
|
1482
|
+
ComponentEntityType::Component(self.component_at(export.index, offset)?)
|
1483
|
+
}
|
1484
|
+
};
|
1485
|
+
|
1486
|
+
let ascribed = match &export.ty {
|
1487
|
+
Some(ty) => self.check_type_ref(ty, features, types, offset)?,
|
1488
|
+
None => return Ok(actual),
|
1489
|
+
};
|
1490
|
+
|
1491
|
+
SubtypeCx::new(types, types)
|
1492
|
+
.component_entity_type(&actual, &ascribed, offset)
|
1493
|
+
.with_context(|| "ascribed type of export is not compatible with item's type")?;
|
1494
|
+
|
1495
|
+
Ok(ascribed)
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
fn create_module_type(
|
1499
|
+
components: &[Self],
|
1500
|
+
decls: Vec<crate::ModuleTypeDeclaration>,
|
1501
|
+
features: &WasmFeatures,
|
1502
|
+
types: &mut TypeAlloc,
|
1503
|
+
offset: usize,
|
1504
|
+
) -> Result<ModuleType> {
|
1505
|
+
let mut state = Module::default();
|
1506
|
+
|
1507
|
+
for decl in decls {
|
1508
|
+
match decl {
|
1509
|
+
crate::ModuleTypeDeclaration::Type(ty) => {
|
1510
|
+
state.add_types(
|
1511
|
+
RecGroup::implicit(offset, ty),
|
1512
|
+
features,
|
1513
|
+
types,
|
1514
|
+
offset,
|
1515
|
+
true,
|
1516
|
+
)?;
|
1517
|
+
}
|
1518
|
+
crate::ModuleTypeDeclaration::Export { name, mut ty } => {
|
1519
|
+
let ty = state.check_type_ref(&mut ty, features, types, offset)?;
|
1520
|
+
state.add_export(name, ty, features, offset, true, types)?;
|
1521
|
+
}
|
1522
|
+
crate::ModuleTypeDeclaration::OuterAlias { kind, count, index } => {
|
1523
|
+
match kind {
|
1524
|
+
crate::OuterAliasKind::Type => {
|
1525
|
+
let ty = if count == 0 {
|
1526
|
+
// Local alias, check the local module state
|
1527
|
+
ComponentCoreTypeId::Sub(state.type_id_at(index, offset)?)
|
1528
|
+
} else {
|
1529
|
+
// Otherwise, check the enclosing component state
|
1530
|
+
let component =
|
1531
|
+
Self::check_alias_count(components, count - 1, offset)?;
|
1532
|
+
component.core_type_at(index, offset)?
|
1533
|
+
};
|
1534
|
+
|
1535
|
+
check_max(state.types.len(), 1, MAX_WASM_TYPES, "types", offset)?;
|
1536
|
+
|
1537
|
+
match ty {
|
1538
|
+
ComponentCoreTypeId::Sub(ty) => state.types.push(ty),
|
1539
|
+
// TODO https://github.com/WebAssembly/component-model/issues/265
|
1540
|
+
ComponentCoreTypeId::Module(_) => bail!(
|
1541
|
+
offset,
|
1542
|
+
"not implemented: aliasing core module types into a core \
|
1543
|
+
module's types index space"
|
1544
|
+
),
|
1545
|
+
}
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
}
|
1549
|
+
crate::ModuleTypeDeclaration::Import(import) => {
|
1550
|
+
state.add_import(import, features, types, offset)?;
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
let imports = state.imports_for_module_type(offset)?;
|
1556
|
+
|
1557
|
+
Ok(ModuleType {
|
1558
|
+
info: TypeInfo::core(state.type_size),
|
1559
|
+
imports,
|
1560
|
+
exports: state.exports,
|
1561
|
+
})
|
1562
|
+
}
|
1563
|
+
|
1564
|
+
fn create_component_type(
|
1565
|
+
components: &mut Vec<Self>,
|
1566
|
+
decls: Vec<crate::ComponentTypeDeclaration>,
|
1567
|
+
features: &WasmFeatures,
|
1568
|
+
types: &mut TypeAlloc,
|
1569
|
+
offset: usize,
|
1570
|
+
) -> Result<ComponentType> {
|
1571
|
+
components.push(ComponentState::new(ComponentKind::ComponentType));
|
1572
|
+
|
1573
|
+
for decl in decls {
|
1574
|
+
match decl {
|
1575
|
+
crate::ComponentTypeDeclaration::CoreType(ty) => {
|
1576
|
+
Self::add_core_type(components, ty, features, types, offset, true)?;
|
1577
|
+
}
|
1578
|
+
crate::ComponentTypeDeclaration::Type(ty) => {
|
1579
|
+
Self::add_type(components, ty, features, types, offset, true)?;
|
1580
|
+
}
|
1581
|
+
crate::ComponentTypeDeclaration::Export { name, ty } => {
|
1582
|
+
let current = components.last_mut().unwrap();
|
1583
|
+
let ty = current.check_type_ref(&ty, features, types, offset)?;
|
1584
|
+
current.add_export(name, ty, features, types, offset, true)?;
|
1585
|
+
}
|
1586
|
+
crate::ComponentTypeDeclaration::Import(import) => {
|
1587
|
+
components
|
1588
|
+
.last_mut()
|
1589
|
+
.unwrap()
|
1590
|
+
.add_import(import, features, types, offset)?;
|
1591
|
+
}
|
1592
|
+
crate::ComponentTypeDeclaration::Alias(alias) => {
|
1593
|
+
Self::add_alias(components, alias, features, types, offset)?;
|
1594
|
+
}
|
1595
|
+
};
|
1596
|
+
}
|
1597
|
+
|
1598
|
+
components.pop().unwrap().finish(types, offset)
|
1599
|
+
}
|
1600
|
+
|
1601
|
+
fn create_instance_type(
|
1602
|
+
components: &mut Vec<Self>,
|
1603
|
+
decls: Vec<crate::InstanceTypeDeclaration>,
|
1604
|
+
features: &WasmFeatures,
|
1605
|
+
types: &mut TypeAlloc,
|
1606
|
+
offset: usize,
|
1607
|
+
) -> Result<ComponentInstanceType> {
|
1608
|
+
components.push(ComponentState::new(ComponentKind::InstanceType));
|
1609
|
+
|
1610
|
+
for decl in decls {
|
1611
|
+
match decl {
|
1612
|
+
crate::InstanceTypeDeclaration::CoreType(ty) => {
|
1613
|
+
Self::add_core_type(components, ty, features, types, offset, true)?;
|
1614
|
+
}
|
1615
|
+
crate::InstanceTypeDeclaration::Type(ty) => {
|
1616
|
+
Self::add_type(components, ty, features, types, offset, true)?;
|
1617
|
+
}
|
1618
|
+
crate::InstanceTypeDeclaration::Export { name, ty } => {
|
1619
|
+
let current = components.last_mut().unwrap();
|
1620
|
+
let ty = current.check_type_ref(&ty, features, types, offset)?;
|
1621
|
+
current.add_export(name, ty, features, types, offset, true)?;
|
1622
|
+
}
|
1623
|
+
crate::InstanceTypeDeclaration::Alias(alias) => {
|
1624
|
+
Self::add_alias(components, alias, features, types, offset)?;
|
1625
|
+
}
|
1626
|
+
};
|
1627
|
+
}
|
1628
|
+
|
1629
|
+
let mut state = components.pop().unwrap();
|
1630
|
+
|
1631
|
+
assert!(state.imported_resources.is_empty());
|
1632
|
+
|
1633
|
+
Ok(ComponentInstanceType {
|
1634
|
+
info: state.type_info,
|
1635
|
+
|
1636
|
+
// The defined resources for this instance type are those listed on
|
1637
|
+
// the component state. The path to each defined resource is
|
1638
|
+
// guaranteed to live within the `explicit_resources` map since,
|
1639
|
+
// when in the type context, the introduction of any defined
|
1640
|
+
// resource must have been done with `(export "x" (type (sub
|
1641
|
+
// resource)))` which, in a sense, "fuses" the introduction of the
|
1642
|
+
// variable with the export. This means that all defined resources,
|
1643
|
+
// if any, should be guaranteed to have an `explicit_resources` path
|
1644
|
+
// listed.
|
1645
|
+
defined_resources: mem::take(&mut state.defined_resources)
|
1646
|
+
.into_iter()
|
1647
|
+
.map(|(id, rep)| {
|
1648
|
+
assert!(rep.is_none());
|
1649
|
+
id
|
1650
|
+
})
|
1651
|
+
.collect(),
|
1652
|
+
|
1653
|
+
// The map of what resources are explicitly exported and where
|
1654
|
+
// they're exported is plumbed through as-is.
|
1655
|
+
explicit_resources: mem::take(&mut state.explicit_resources),
|
1656
|
+
|
1657
|
+
exports: mem::take(&mut state.exports),
|
1658
|
+
})
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
fn create_function_type(
|
1662
|
+
&self,
|
1663
|
+
ty: crate::ComponentFuncType,
|
1664
|
+
types: &TypeList,
|
1665
|
+
features: &WasmFeatures,
|
1666
|
+
offset: usize,
|
1667
|
+
) -> Result<ComponentFuncType> {
|
1668
|
+
let mut info = TypeInfo::new();
|
1669
|
+
|
1670
|
+
if ty.results.type_count() > 1 && !features.component_model_multiple_returns() {
|
1671
|
+
bail!(
|
1672
|
+
offset,
|
1673
|
+
"multiple returns on a function is now a gated feature \
|
1674
|
+
-- https://github.com/WebAssembly/component-model/pull/368"
|
1675
|
+
);
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
let mut set = Set::default();
|
1679
|
+
#[cfg(not(feature = "no-hash-maps"))] // TODO: remove when unified map type is available
|
1680
|
+
set.reserve(core::cmp::max(ty.params.len(), ty.results.type_count()));
|
1681
|
+
|
1682
|
+
let params = ty
|
1683
|
+
.params
|
1684
|
+
.iter()
|
1685
|
+
.map(|(name, ty)| {
|
1686
|
+
let name: &KebabStr = to_kebab_str(name, "function parameter", offset)?;
|
1687
|
+
if !set.insert(name) {
|
1688
|
+
bail!(
|
1689
|
+
offset,
|
1690
|
+
"function parameter name `{name}` conflicts with previous parameter name `{prev}`",
|
1691
|
+
prev = set.get(&name).unwrap(),
|
1692
|
+
);
|
1693
|
+
}
|
1694
|
+
|
1695
|
+
let ty = self.create_component_val_type(*ty, offset)?;
|
1696
|
+
info.combine(ty.info(types), offset)?;
|
1697
|
+
Ok((name.to_owned(), ty))
|
1698
|
+
})
|
1699
|
+
.collect::<Result<_>>()?;
|
1700
|
+
|
1701
|
+
set.clear();
|
1702
|
+
|
1703
|
+
let results = ty
|
1704
|
+
.results
|
1705
|
+
.iter()
|
1706
|
+
.map(|(name, ty)| {
|
1707
|
+
let name = name
|
1708
|
+
.map(|name| {
|
1709
|
+
let name = to_kebab_str(name, "function result", offset)?;
|
1710
|
+
if !set.insert(name) {
|
1711
|
+
bail!(
|
1712
|
+
offset,
|
1713
|
+
"function result name `{name}` conflicts with previous result name `{prev}`",
|
1714
|
+
prev = set.get(name).unwrap(),
|
1715
|
+
);
|
1716
|
+
}
|
1717
|
+
|
1718
|
+
Ok(name.to_owned())
|
1719
|
+
})
|
1720
|
+
.transpose()?;
|
1721
|
+
|
1722
|
+
let ty = self.create_component_val_type(*ty, offset)?;
|
1723
|
+
let ty_info = ty.info(types);
|
1724
|
+
if ty_info.contains_borrow() {
|
1725
|
+
bail!(offset, "function result cannot contain a `borrow` type");
|
1726
|
+
}
|
1727
|
+
info.combine(ty.info(types), offset)?;
|
1728
|
+
Ok((name, ty))
|
1729
|
+
})
|
1730
|
+
.collect::<Result<_>>()?;
|
1731
|
+
|
1732
|
+
Ok(ComponentFuncType {
|
1733
|
+
info,
|
1734
|
+
params,
|
1735
|
+
results,
|
1736
|
+
})
|
1737
|
+
}
|
1738
|
+
|
1739
|
+
fn instantiate_core_module(
|
1740
|
+
&self,
|
1741
|
+
module_index: u32,
|
1742
|
+
module_args: Vec<crate::InstantiationArg>,
|
1743
|
+
types: &mut TypeAlloc,
|
1744
|
+
offset: usize,
|
1745
|
+
) -> Result<ComponentCoreInstanceTypeId> {
|
1746
|
+
fn insert_arg<'a>(
|
1747
|
+
name: &'a str,
|
1748
|
+
arg: &'a InstanceType,
|
1749
|
+
args: &mut IndexMap<&'a str, &'a InstanceType>,
|
1750
|
+
offset: usize,
|
1751
|
+
) -> Result<()> {
|
1752
|
+
if args.insert(name, arg).is_some() {
|
1753
|
+
bail!(
|
1754
|
+
offset,
|
1755
|
+
"duplicate module instantiation argument named `{name}`"
|
1756
|
+
);
|
1757
|
+
}
|
1758
|
+
|
1759
|
+
Ok(())
|
1760
|
+
}
|
1761
|
+
|
1762
|
+
let module_type_id = self.module_at(module_index, offset)?;
|
1763
|
+
let mut args = IndexMap::default();
|
1764
|
+
|
1765
|
+
// Populate the arguments
|
1766
|
+
for module_arg in module_args {
|
1767
|
+
match module_arg.kind {
|
1768
|
+
InstantiationArgKind::Instance => {
|
1769
|
+
let instance_type = &types[self.core_instance_at(module_arg.index, offset)?];
|
1770
|
+
insert_arg(module_arg.name, instance_type, &mut args, offset)?;
|
1771
|
+
}
|
1772
|
+
}
|
1773
|
+
}
|
1774
|
+
|
1775
|
+
// Validate the arguments
|
1776
|
+
let module_type = &types[module_type_id];
|
1777
|
+
let cx = SubtypeCx::new(types, types);
|
1778
|
+
for ((module, name), expected) in module_type.imports.iter() {
|
1779
|
+
let instance = args.get(module.as_str()).ok_or_else(|| {
|
1780
|
+
format_err!(
|
1781
|
+
offset,
|
1782
|
+
"missing module instantiation argument named `{module}`"
|
1783
|
+
)
|
1784
|
+
})?;
|
1785
|
+
|
1786
|
+
let arg = instance
|
1787
|
+
.internal_exports(types)
|
1788
|
+
.get(name.as_str())
|
1789
|
+
.ok_or_else(|| {
|
1790
|
+
format_err!(
|
1791
|
+
offset,
|
1792
|
+
"module instantiation argument `{module}` does not \
|
1793
|
+
export an item named `{name}`",
|
1794
|
+
)
|
1795
|
+
})?;
|
1796
|
+
|
1797
|
+
cx.entity_type(arg, expected, offset).with_context(|| {
|
1798
|
+
format!(
|
1799
|
+
"type mismatch for export `{name}` of module \
|
1800
|
+
instantiation argument `{module}`"
|
1801
|
+
)
|
1802
|
+
})?;
|
1803
|
+
}
|
1804
|
+
|
1805
|
+
let mut info = TypeInfo::new();
|
1806
|
+
for (_, ty) in module_type.exports.iter() {
|
1807
|
+
info.combine(ty.info(types), offset)?;
|
1808
|
+
}
|
1809
|
+
|
1810
|
+
Ok(types.push_ty(InstanceType {
|
1811
|
+
info,
|
1812
|
+
kind: CoreInstanceTypeKind::Instantiated(module_type_id),
|
1813
|
+
}))
|
1814
|
+
}
|
1815
|
+
|
1816
|
+
fn instantiate_component(
|
1817
|
+
&mut self,
|
1818
|
+
component_index: u32,
|
1819
|
+
component_args: Vec<crate::ComponentInstantiationArg>,
|
1820
|
+
features: &WasmFeatures,
|
1821
|
+
types: &mut TypeAlloc,
|
1822
|
+
offset: usize,
|
1823
|
+
) -> Result<ComponentInstanceTypeId> {
|
1824
|
+
let component_type_id = self.component_at(component_index, offset)?;
|
1825
|
+
let mut args = IndexMap::default();
|
1826
|
+
|
1827
|
+
// Populate the arguments
|
1828
|
+
for component_arg in component_args {
|
1829
|
+
let ty = match component_arg.kind {
|
1830
|
+
ComponentExternalKind::Module => {
|
1831
|
+
ComponentEntityType::Module(self.module_at(component_arg.index, offset)?)
|
1832
|
+
}
|
1833
|
+
ComponentExternalKind::Component => {
|
1834
|
+
ComponentEntityType::Component(self.component_at(component_arg.index, offset)?)
|
1835
|
+
}
|
1836
|
+
ComponentExternalKind::Instance => {
|
1837
|
+
ComponentEntityType::Instance(self.instance_at(component_arg.index, offset)?)
|
1838
|
+
}
|
1839
|
+
ComponentExternalKind::Func => {
|
1840
|
+
ComponentEntityType::Func(self.function_at(component_arg.index, offset)?)
|
1841
|
+
}
|
1842
|
+
ComponentExternalKind::Value => {
|
1843
|
+
self.check_value_support(features, offset)?;
|
1844
|
+
ComponentEntityType::Value(*self.value_at(component_arg.index, offset)?)
|
1845
|
+
}
|
1846
|
+
ComponentExternalKind::Type => {
|
1847
|
+
let ty = self.component_type_at(component_arg.index, offset)?;
|
1848
|
+
ComponentEntityType::Type {
|
1849
|
+
referenced: ty,
|
1850
|
+
created: ty,
|
1851
|
+
}
|
1852
|
+
}
|
1853
|
+
};
|
1854
|
+
match args.entry(component_arg.name.to_string()) {
|
1855
|
+
Entry::Occupied(e) => {
|
1856
|
+
bail!(
|
1857
|
+
offset,
|
1858
|
+
"instantiation argument `{name}` conflicts with previous argument `{prev}`",
|
1859
|
+
prev = e.key(),
|
1860
|
+
name = component_arg.name
|
1861
|
+
);
|
1862
|
+
}
|
1863
|
+
Entry::Vacant(e) => {
|
1864
|
+
e.insert(ty);
|
1865
|
+
}
|
1866
|
+
}
|
1867
|
+
}
|
1868
|
+
|
1869
|
+
// Here comes the fun part of the component model, we're instantiating
|
1870
|
+
// the component with type `component_type_id` with the `args`
|
1871
|
+
// specified. Easy enough!
|
1872
|
+
//
|
1873
|
+
// This operation, however, is one of the lynchpins of safety in the
|
1874
|
+
// component model. Additionally what this ends up implementing ranges
|
1875
|
+
// from "well just check the types are equal" to "let's have a
|
1876
|
+
// full-blown ML-style module type system in the component model". There
|
1877
|
+
// are primarily two major tricky pieces to the component model which
|
1878
|
+
// make this operation, instantiating components, hard:
|
1879
|
+
//
|
1880
|
+
// 1. Components can import and exports other components. This means
|
1881
|
+
// that arguments to instantiation are along the lines of functions
|
1882
|
+
// being passed to functions or similar. Effectively this means that
|
1883
|
+
// the term "variance" comes into play with either contravariance
|
1884
|
+
// or covariance depending on where you are in typechecking. This is
|
1885
|
+
// one of the main rationales, however, that this check below is a
|
1886
|
+
// check for subtyping as opposed to exact type equivalence. For
|
1887
|
+
// example an instance that exports something is a subtype of an
|
1888
|
+
// instance that exports nothing. Components get a bit trick since
|
1889
|
+
// they both have imports and exports. My way of thinking about it
|
1890
|
+
// is "who's asking for what". If you're asking for imports then
|
1891
|
+
// I need to at least supply those imports, but I can possibly
|
1892
|
+
// supply more. If you're asking for a thing which you'll give a set
|
1893
|
+
// of imports, then I can give you something which takes less imports
|
1894
|
+
// because what you give still suffices. (things like that). The
|
1895
|
+
// real complication with components, however, comes with...
|
1896
|
+
//
|
1897
|
+
// 2. Resources. Resources in the component model are akin to "abstract
|
1898
|
+
// types". They're not abstract in the sense that they have no
|
1899
|
+
// representation, they're always backed by a 32-bit integer right
|
1900
|
+
// now. Instead they're abstract in the sense that some components
|
1901
|
+
// aren't allowed to understand the representation of a resource.
|
1902
|
+
// For example if you import a resource you can't get the underlying
|
1903
|
+
// internals of it. Furthermore the resource is strictly tracked
|
1904
|
+
// within the component with `own` and `borrow` runtime semantics.
|
1905
|
+
// The hardest part about resources, though, is handling them as
|
1906
|
+
// part of instantiation and subtyping.
|
1907
|
+
//
|
1908
|
+
// For example one major aspect of resources is that if a component
|
1909
|
+
// exports a resource then each instantiation of the component
|
1910
|
+
// produces a fresh resource type. This means that the type recorded
|
1911
|
+
// for the instantiation here can't simply be "I instantiated
|
1912
|
+
// component X" since in such a situation the type of all
|
1913
|
+
// instantiations would be the same, which they aren't.
|
1914
|
+
//
|
1915
|
+
// This sort of subtelty comes up quite frequently for resources.
|
1916
|
+
// This file contains references to `imported_resources` and
|
1917
|
+
// `defined_resources` for example which refer to the formal
|
1918
|
+
// nature of components and their abstract variables. Specifically
|
1919
|
+
// for instantiation though we're eventually faced with the problem
|
1920
|
+
// of subtype checks where resource subtyping is defined as "does
|
1921
|
+
// your id equal mine". Naively implemented that means anything with
|
1922
|
+
// resources isn't subtypes of anything else since resource ids are
|
1923
|
+
// unique between components. Instead what actually needs to happen
|
1924
|
+
// is types need to be substituted.
|
1925
|
+
//
|
1926
|
+
// Much of the complexity here is not actually apparent here in this
|
1927
|
+
// literal one function. Instead it's spread out across validation
|
1928
|
+
// in this file and type-checking in the `types.rs` module. Note that
|
1929
|
+
// the "spread out" nature isn't because we're bad maintainers
|
1930
|
+
// (hopefully), but rather it's quite infectious how many parts need
|
1931
|
+
// to handle resources and account for defined/imported variables.
|
1932
|
+
//
|
1933
|
+
// For example only one subtyping method is called here where `args` is
|
1934
|
+
// passed in. This method is quite recursive in its nature though and
|
1935
|
+
// will internally touch all the fields that this file maintains to
|
1936
|
+
// end up putting into various bits and pieces of type information.
|
1937
|
+
//
|
1938
|
+
// Unfortunately there's probably not really a succinct way to read
|
1939
|
+
// this method and understand everything. If you've written ML module
|
1940
|
+
// type systems this will probably look quite familiar, but otherwise
|
1941
|
+
// the whole system is not really easily approachable at this time. It's
|
1942
|
+
// hoped in the future that there's a formalism to refer to which will
|
1943
|
+
// make things more clear as the code would be able to reference this
|
1944
|
+
// hypothetical formalism. Until that's the case, though, these
|
1945
|
+
// comments are hopefully enough when augmented with communication with
|
1946
|
+
// the authors.
|
1947
|
+
|
1948
|
+
let component_type = &types[component_type_id];
|
1949
|
+
let mut exports = component_type.exports.clone();
|
1950
|
+
let mut info = TypeInfo::new();
|
1951
|
+
for (_, ty) in component_type.exports.iter() {
|
1952
|
+
info.combine(ty.info(types), offset)?;
|
1953
|
+
}
|
1954
|
+
|
1955
|
+
// Perform the subtype check that `args` matches the imports of
|
1956
|
+
// `component_type_id`. The result of this subtype check is the
|
1957
|
+
// production of a mapping of resource types from the imports to the
|
1958
|
+
// arguments provided. This is a substitution map which is then used
|
1959
|
+
// below to perform a substitution into the exports of the instance
|
1960
|
+
// since the types of the exports are now in terms of whatever was
|
1961
|
+
// supplied as imports.
|
1962
|
+
let mut mapping = SubtypeCx::new(types, types).open_instance_type(
|
1963
|
+
&args,
|
1964
|
+
component_type_id,
|
1965
|
+
ExternKind::Import,
|
1966
|
+
offset,
|
1967
|
+
)?;
|
1968
|
+
|
1969
|
+
// Part of the instantiation of a component is that all of its
|
1970
|
+
// defined resources become "fresh" on each instantiation. This
|
1971
|
+
// means that each instantiation of a component gets brand new type
|
1972
|
+
// variables representing its defined resources, modeling that each
|
1973
|
+
// instantiation produces distinct types. The freshening is performed
|
1974
|
+
// here by allocating new ids and inserting them into `mapping`.
|
1975
|
+
//
|
1976
|
+
// Note that technically the `mapping` from subtyping should be applied
|
1977
|
+
// first and then the mapping for freshening should be applied
|
1978
|
+
// afterwards. The keys of the map from subtyping are the imported
|
1979
|
+
// resources from this component which are disjoint from its defined
|
1980
|
+
// resources. That means it should be possible to place everything
|
1981
|
+
// into one large map which maps from:
|
1982
|
+
//
|
1983
|
+
// * the component's imported resources go to whatever was explicitly
|
1984
|
+
// supplied in the import map
|
1985
|
+
// * the component's defined resources go to fresh new resources
|
1986
|
+
//
|
1987
|
+
// These two remapping operations can then get folded into one by
|
1988
|
+
// placing everything in the same `mapping` and using that for a remap
|
1989
|
+
// only once.
|
1990
|
+
let fresh_defined_resources = (0..component_type.defined_resources.len())
|
1991
|
+
.map(|_| types.alloc_resource_id().resource())
|
1992
|
+
.collect::<IndexSet<_>>();
|
1993
|
+
let component_type = &types[component_type_id];
|
1994
|
+
for ((old, _path), new) in component_type
|
1995
|
+
.defined_resources
|
1996
|
+
.iter()
|
1997
|
+
.zip(&fresh_defined_resources)
|
1998
|
+
{
|
1999
|
+
let prev = mapping.resources.insert(*old, *new);
|
2000
|
+
assert!(prev.is_none());
|
2001
|
+
}
|
2002
|
+
|
2003
|
+
// Perform the remapping operation over all the exports that will be
|
2004
|
+
// listed for the final instance type. Note that this is performed
|
2005
|
+
// both for all the export types in addition to the explicitly exported
|
2006
|
+
// resources list.
|
2007
|
+
//
|
2008
|
+
// Note that this is a crucial step of the instantiation process which
|
2009
|
+
// is intentionally transforming the type of a component based on the
|
2010
|
+
// variables provided by imports and additionally ensuring that all
|
2011
|
+
// references to the component's defined resources are rebound to the
|
2012
|
+
// fresh ones introduced just above.
|
2013
|
+
for entity in exports.values_mut() {
|
2014
|
+
types.remap_component_entity(entity, &mut mapping);
|
2015
|
+
}
|
2016
|
+
let component_type = &types[component_type_id];
|
2017
|
+
let explicit_resources = component_type
|
2018
|
+
.explicit_resources
|
2019
|
+
.iter()
|
2020
|
+
.map(|(id, path)| {
|
2021
|
+
(
|
2022
|
+
mapping.resources.get(id).copied().unwrap_or(*id),
|
2023
|
+
path.clone(),
|
2024
|
+
)
|
2025
|
+
})
|
2026
|
+
.collect::<IndexMap<_, _>>();
|
2027
|
+
|
2028
|
+
// Technically in the last formalism that was consulted in writing this
|
2029
|
+
// implementation there are two further steps that are part of the
|
2030
|
+
// instantiation process:
|
2031
|
+
//
|
2032
|
+
// 1. The set of defined resources from the instance created, which are
|
2033
|
+
// added to the outer component, is the subset of the instance's
|
2034
|
+
// original defined resources and the free variables of the exports.
|
2035
|
+
//
|
2036
|
+
// 2. Each element of this subset is required to be "explicit in" the
|
2037
|
+
// instance, or otherwise explicitly exported somewhere within the
|
2038
|
+
// instance.
|
2039
|
+
//
|
2040
|
+
// With the syntactic structure of the component model, however, neither
|
2041
|
+
// of these conditions should be necessary. The main reason for this is
|
2042
|
+
// that this function is specifically dealing with instantiation of
|
2043
|
+
// components which should already have these properties validated
|
2044
|
+
// about them. Subsequently we shouldn't have to re-check them.
|
2045
|
+
//
|
2046
|
+
// In debug mode, however, do a sanity check.
|
2047
|
+
if cfg!(debug_assertions) {
|
2048
|
+
let mut free = IndexSet::default();
|
2049
|
+
for ty in exports.values() {
|
2050
|
+
types.free_variables_component_entity(ty, &mut free);
|
2051
|
+
}
|
2052
|
+
assert!(fresh_defined_resources.is_subset(&free));
|
2053
|
+
for resource in fresh_defined_resources.iter() {
|
2054
|
+
assert!(explicit_resources.contains_key(resource));
|
2055
|
+
}
|
2056
|
+
}
|
2057
|
+
|
2058
|
+
// And as the final step of the instantiation process all of the
|
2059
|
+
// new defined resources from this component instantiation are moved
|
2060
|
+
// onto `self`. Note that concrete instances never have defined
|
2061
|
+
// resources (see more comments in `instantiate_exports`) so the
|
2062
|
+
// `defined_resources` listing in the final type is always empty. This
|
2063
|
+
// represents how by having a concrete instance the definitions
|
2064
|
+
// referred to in that instance are now problems for the outer
|
2065
|
+
// component rather than the inner instance since the instance is bound
|
2066
|
+
// to the component.
|
2067
|
+
//
|
2068
|
+
// All defined resources here have no known representation, so they're
|
2069
|
+
// all listed with `None`. Also note that none of the resources were
|
2070
|
+
// exported yet so `self.explicit_resources` is not updated yet. If
|
2071
|
+
// this instance is exported, however, it'll consult the type's
|
2072
|
+
// `explicit_resources` array and use that appropriately.
|
2073
|
+
for resource in fresh_defined_resources {
|
2074
|
+
self.defined_resources.insert(resource, None);
|
2075
|
+
}
|
2076
|
+
|
2077
|
+
Ok(types.push_ty(ComponentInstanceType {
|
2078
|
+
info,
|
2079
|
+
defined_resources: Default::default(),
|
2080
|
+
explicit_resources,
|
2081
|
+
exports,
|
2082
|
+
}))
|
2083
|
+
}
|
2084
|
+
|
2085
|
+
fn instantiate_component_exports(
|
2086
|
+
&mut self,
|
2087
|
+
exports: Vec<crate::ComponentExport>,
|
2088
|
+
features: &WasmFeatures,
|
2089
|
+
types: &mut TypeAlloc,
|
2090
|
+
offset: usize,
|
2091
|
+
) -> Result<ComponentInstanceTypeId> {
|
2092
|
+
let mut info = TypeInfo::new();
|
2093
|
+
let mut inst_exports = IndexMap::default();
|
2094
|
+
let mut explicit_resources = IndexMap::default();
|
2095
|
+
let mut export_names = IndexSet::default();
|
2096
|
+
|
2097
|
+
// NB: It's intentional that this context is empty since no indices are
|
2098
|
+
// introduced in the bag-of-exports construct which means there's no
|
2099
|
+
// way syntactically to register something inside of this.
|
2100
|
+
let names = ComponentNameContext::default();
|
2101
|
+
|
2102
|
+
for export in exports {
|
2103
|
+
assert!(export.ty.is_none());
|
2104
|
+
let ty = match export.kind {
|
2105
|
+
ComponentExternalKind::Module => {
|
2106
|
+
ComponentEntityType::Module(self.module_at(export.index, offset)?)
|
2107
|
+
}
|
2108
|
+
ComponentExternalKind::Component => {
|
2109
|
+
ComponentEntityType::Component(self.component_at(export.index, offset)?)
|
2110
|
+
}
|
2111
|
+
ComponentExternalKind::Instance => {
|
2112
|
+
let ty = self.instance_at(export.index, offset)?;
|
2113
|
+
|
2114
|
+
// When an instance is exported from an instance then
|
2115
|
+
// all explicitly exported resources on the sub-instance are
|
2116
|
+
// now also listed as exported resources on the outer
|
2117
|
+
// instance, just with one more element in their path.
|
2118
|
+
explicit_resources.extend(types[ty].explicit_resources.iter().map(
|
2119
|
+
|(id, path)| {
|
2120
|
+
let mut new_path = vec![inst_exports.len()];
|
2121
|
+
new_path.extend(path);
|
2122
|
+
(*id, new_path)
|
2123
|
+
},
|
2124
|
+
));
|
2125
|
+
ComponentEntityType::Instance(ty)
|
2126
|
+
}
|
2127
|
+
ComponentExternalKind::Func => {
|
2128
|
+
ComponentEntityType::Func(self.function_at(export.index, offset)?)
|
2129
|
+
}
|
2130
|
+
ComponentExternalKind::Value => {
|
2131
|
+
self.check_value_support(features, offset)?;
|
2132
|
+
ComponentEntityType::Value(*self.value_at(export.index, offset)?)
|
2133
|
+
}
|
2134
|
+
ComponentExternalKind::Type => {
|
2135
|
+
let ty = self.component_type_at(export.index, offset)?;
|
2136
|
+
// If this is an export of a resource type be sure to
|
2137
|
+
// record that in the explicit list with the appropriate
|
2138
|
+
// path because if this instance ends up getting used
|
2139
|
+
// it'll count towards the "explicit in" check.
|
2140
|
+
if let ComponentAnyTypeId::Resource(id) = ty {
|
2141
|
+
explicit_resources.insert(id.resource(), vec![inst_exports.len()]);
|
2142
|
+
}
|
2143
|
+
ComponentEntityType::Type {
|
2144
|
+
referenced: ty,
|
2145
|
+
// The created type index here isn't used anywhere
|
2146
|
+
// in index spaces because a "bag of exports"
|
2147
|
+
// doesn't build up its own index spaces. Just fill
|
2148
|
+
// in the same index here in this case as what's
|
2149
|
+
// referenced.
|
2150
|
+
created: ty,
|
2151
|
+
}
|
2152
|
+
}
|
2153
|
+
};
|
2154
|
+
|
2155
|
+
names.validate_extern(
|
2156
|
+
export.name.0,
|
2157
|
+
ExternKind::Export,
|
2158
|
+
&ty,
|
2159
|
+
types,
|
2160
|
+
offset,
|
2161
|
+
&mut export_names,
|
2162
|
+
&mut inst_exports,
|
2163
|
+
&mut info,
|
2164
|
+
features,
|
2165
|
+
)?;
|
2166
|
+
}
|
2167
|
+
|
2168
|
+
Ok(types.push_ty(ComponentInstanceType {
|
2169
|
+
info,
|
2170
|
+
explicit_resources,
|
2171
|
+
exports: inst_exports,
|
2172
|
+
|
2173
|
+
// NB: the list of defined resources for this instance itself
|
2174
|
+
// is always empty. Even if this instance exports resources,
|
2175
|
+
// it's empty.
|
2176
|
+
//
|
2177
|
+
// The reason for this is a bit subtle. The general idea, though, is
|
2178
|
+
// that the defined resources list here is only used for instance
|
2179
|
+
// types that are sort of "floating around" and haven't actually
|
2180
|
+
// been attached to something yet. For example when an instance type
|
2181
|
+
// is simply declared it can have defined resources introduced
|
2182
|
+
// through `(export "name" (type (sub resource)))`. These
|
2183
|
+
// definitions, however, are local to the instance itself and aren't
|
2184
|
+
// defined elsewhere.
|
2185
|
+
//
|
2186
|
+
// Here, though, no new definitions were introduced. The instance
|
2187
|
+
// created here is a "bag of exports" which could only refer to
|
2188
|
+
// preexisting items. This means that inherently no new resources
|
2189
|
+
// were created so there's nothing to put in this list. Any
|
2190
|
+
// resources referenced by the instance must be bound by the outer
|
2191
|
+
// component context or further above.
|
2192
|
+
//
|
2193
|
+
// Furthermore, however, actual instances of instances, which this
|
2194
|
+
// is, aren't allowed to have defined resources. Instead the
|
2195
|
+
// resources would have to be injected into the outer component
|
2196
|
+
// enclosing the instance. That means that even if bag-of-exports
|
2197
|
+
// could declare a new resource then the resource would be moved
|
2198
|
+
// from here to `self.defined_resources`. This doesn't exist at this
|
2199
|
+
// time, though, so this still remains empty and
|
2200
|
+
// `self.defined_resources` remains unperturbed.
|
2201
|
+
defined_resources: Default::default(),
|
2202
|
+
}))
|
2203
|
+
}
|
2204
|
+
|
2205
|
+
fn instantiate_core_exports(
|
2206
|
+
&mut self,
|
2207
|
+
exports: Vec<crate::Export>,
|
2208
|
+
types: &mut TypeAlloc,
|
2209
|
+
offset: usize,
|
2210
|
+
) -> Result<ComponentCoreInstanceTypeId> {
|
2211
|
+
fn insert_export(
|
2212
|
+
types: &TypeList,
|
2213
|
+
name: &str,
|
2214
|
+
export: EntityType,
|
2215
|
+
exports: &mut IndexMap<String, EntityType>,
|
2216
|
+
info: &mut TypeInfo,
|
2217
|
+
offset: usize,
|
2218
|
+
) -> Result<()> {
|
2219
|
+
info.combine(export.info(types), offset)?;
|
2220
|
+
|
2221
|
+
if exports.insert(name.to_string(), export).is_some() {
|
2222
|
+
bail!(
|
2223
|
+
offset,
|
2224
|
+
"duplicate instantiation export name `{name}` already defined",
|
2225
|
+
)
|
2226
|
+
}
|
2227
|
+
|
2228
|
+
Ok(())
|
2229
|
+
}
|
2230
|
+
|
2231
|
+
let mut info = TypeInfo::new();
|
2232
|
+
let mut inst_exports = IndexMap::default();
|
2233
|
+
for export in exports {
|
2234
|
+
match export.kind {
|
2235
|
+
ExternalKind::Func => {
|
2236
|
+
insert_export(
|
2237
|
+
types,
|
2238
|
+
export.name,
|
2239
|
+
EntityType::Func(self.core_function_at(export.index, offset)?),
|
2240
|
+
&mut inst_exports,
|
2241
|
+
&mut info,
|
2242
|
+
offset,
|
2243
|
+
)?;
|
2244
|
+
}
|
2245
|
+
ExternalKind::Table => insert_export(
|
2246
|
+
types,
|
2247
|
+
export.name,
|
2248
|
+
EntityType::Table(*self.table_at(export.index, offset)?),
|
2249
|
+
&mut inst_exports,
|
2250
|
+
&mut info,
|
2251
|
+
offset,
|
2252
|
+
)?,
|
2253
|
+
ExternalKind::Memory => insert_export(
|
2254
|
+
types,
|
2255
|
+
export.name,
|
2256
|
+
EntityType::Memory(*self.memory_at(export.index, offset)?),
|
2257
|
+
&mut inst_exports,
|
2258
|
+
&mut info,
|
2259
|
+
offset,
|
2260
|
+
)?,
|
2261
|
+
ExternalKind::Global => {
|
2262
|
+
insert_export(
|
2263
|
+
types,
|
2264
|
+
export.name,
|
2265
|
+
EntityType::Global(*self.global_at(export.index, offset)?),
|
2266
|
+
&mut inst_exports,
|
2267
|
+
&mut info,
|
2268
|
+
offset,
|
2269
|
+
)?;
|
2270
|
+
}
|
2271
|
+
ExternalKind::Tag => insert_export(
|
2272
|
+
types,
|
2273
|
+
export.name,
|
2274
|
+
EntityType::Tag(self.core_function_at(export.index, offset)?),
|
2275
|
+
&mut inst_exports,
|
2276
|
+
&mut info,
|
2277
|
+
offset,
|
2278
|
+
)?,
|
2279
|
+
}
|
2280
|
+
}
|
2281
|
+
|
2282
|
+
Ok(types.push_ty(InstanceType {
|
2283
|
+
info,
|
2284
|
+
kind: CoreInstanceTypeKind::Exports(inst_exports),
|
2285
|
+
}))
|
2286
|
+
}
|
2287
|
+
|
2288
|
+
fn alias_core_instance_export(
|
2289
|
+
&mut self,
|
2290
|
+
instance_index: u32,
|
2291
|
+
kind: ExternalKind,
|
2292
|
+
name: &str,
|
2293
|
+
types: &TypeList,
|
2294
|
+
offset: usize,
|
2295
|
+
) -> Result<()> {
|
2296
|
+
macro_rules! push_module_export {
|
2297
|
+
($expected:path, $collection:ident, $ty:literal) => {{
|
2298
|
+
match self.core_instance_export(instance_index, name, types, offset)? {
|
2299
|
+
$expected(ty) => {
|
2300
|
+
self.$collection.push(*ty);
|
2301
|
+
Ok(())
|
2302
|
+
}
|
2303
|
+
_ => {
|
2304
|
+
bail!(
|
2305
|
+
offset,
|
2306
|
+
"export `{name}` for core instance {instance_index} is not a {}",
|
2307
|
+
$ty
|
2308
|
+
)
|
2309
|
+
}
|
2310
|
+
}
|
2311
|
+
}};
|
2312
|
+
}
|
2313
|
+
|
2314
|
+
match kind {
|
2315
|
+
ExternalKind::Func => {
|
2316
|
+
check_max(
|
2317
|
+
self.function_count(),
|
2318
|
+
1,
|
2319
|
+
MAX_WASM_FUNCTIONS,
|
2320
|
+
"functions",
|
2321
|
+
offset,
|
2322
|
+
)?;
|
2323
|
+
push_module_export!(EntityType::Func, core_funcs, "function")
|
2324
|
+
}
|
2325
|
+
ExternalKind::Table => {
|
2326
|
+
check_max(
|
2327
|
+
self.core_tables.len(),
|
2328
|
+
1,
|
2329
|
+
MAX_CORE_INDEX_SPACE_ITEMS,
|
2330
|
+
"tables",
|
2331
|
+
offset,
|
2332
|
+
)?;
|
2333
|
+
push_module_export!(EntityType::Table, core_tables, "table")
|
2334
|
+
}
|
2335
|
+
ExternalKind::Memory => {
|
2336
|
+
check_max(
|
2337
|
+
self.core_memories.len(),
|
2338
|
+
1,
|
2339
|
+
MAX_CORE_INDEX_SPACE_ITEMS,
|
2340
|
+
"memories",
|
2341
|
+
offset,
|
2342
|
+
)?;
|
2343
|
+
push_module_export!(EntityType::Memory, core_memories, "memory")
|
2344
|
+
}
|
2345
|
+
ExternalKind::Global => {
|
2346
|
+
check_max(
|
2347
|
+
self.core_globals.len(),
|
2348
|
+
1,
|
2349
|
+
MAX_CORE_INDEX_SPACE_ITEMS,
|
2350
|
+
"globals",
|
2351
|
+
offset,
|
2352
|
+
)?;
|
2353
|
+
push_module_export!(EntityType::Global, core_globals, "global")
|
2354
|
+
}
|
2355
|
+
ExternalKind::Tag => {
|
2356
|
+
check_max(
|
2357
|
+
self.core_tags.len(),
|
2358
|
+
1,
|
2359
|
+
MAX_CORE_INDEX_SPACE_ITEMS,
|
2360
|
+
"tags",
|
2361
|
+
offset,
|
2362
|
+
)?;
|
2363
|
+
push_module_export!(EntityType::Tag, core_tags, "tag")
|
2364
|
+
}
|
2365
|
+
}
|
2366
|
+
}
|
2367
|
+
|
2368
|
+
fn alias_instance_export(
|
2369
|
+
&mut self,
|
2370
|
+
instance_index: u32,
|
2371
|
+
kind: ComponentExternalKind,
|
2372
|
+
name: &str,
|
2373
|
+
features: &WasmFeatures,
|
2374
|
+
types: &mut TypeAlloc,
|
2375
|
+
offset: usize,
|
2376
|
+
) -> Result<()> {
|
2377
|
+
if let ComponentExternalKind::Value = kind {
|
2378
|
+
self.check_value_support(features, offset)?;
|
2379
|
+
}
|
2380
|
+
let mut ty = match types[self.instance_at(instance_index, offset)?]
|
2381
|
+
.exports
|
2382
|
+
.get(name)
|
2383
|
+
{
|
2384
|
+
Some(ty) => *ty,
|
2385
|
+
None => bail!(
|
2386
|
+
offset,
|
2387
|
+
"instance {instance_index} has no export named `{name}`"
|
2388
|
+
),
|
2389
|
+
};
|
2390
|
+
|
2391
|
+
let ok = match (&ty, kind) {
|
2392
|
+
(ComponentEntityType::Module(_), ComponentExternalKind::Module) => true,
|
2393
|
+
(ComponentEntityType::Module(_), _) => false,
|
2394
|
+
(ComponentEntityType::Component(_), ComponentExternalKind::Component) => true,
|
2395
|
+
(ComponentEntityType::Component(_), _) => false,
|
2396
|
+
(ComponentEntityType::Func(_), ComponentExternalKind::Func) => true,
|
2397
|
+
(ComponentEntityType::Func(_), _) => false,
|
2398
|
+
(ComponentEntityType::Instance(_), ComponentExternalKind::Instance) => true,
|
2399
|
+
(ComponentEntityType::Instance(_), _) => false,
|
2400
|
+
(ComponentEntityType::Value(_), ComponentExternalKind::Value) => true,
|
2401
|
+
(ComponentEntityType::Value(_), _) => false,
|
2402
|
+
(ComponentEntityType::Type { .. }, ComponentExternalKind::Type) => true,
|
2403
|
+
(ComponentEntityType::Type { .. }, _) => false,
|
2404
|
+
};
|
2405
|
+
if !ok {
|
2406
|
+
bail!(
|
2407
|
+
offset,
|
2408
|
+
"export `{name}` for instance {instance_index} is not a {}",
|
2409
|
+
kind.desc(),
|
2410
|
+
);
|
2411
|
+
}
|
2412
|
+
|
2413
|
+
self.add_entity(&mut ty, None, features, types, offset)?;
|
2414
|
+
Ok(())
|
2415
|
+
}
|
2416
|
+
|
2417
|
+
fn alias_module(components: &mut [Self], count: u32, index: u32, offset: usize) -> Result<()> {
|
2418
|
+
let component = Self::check_alias_count(components, count, offset)?;
|
2419
|
+
let ty = component.module_at(index, offset)?;
|
2420
|
+
|
2421
|
+
let current = components.last_mut().unwrap();
|
2422
|
+
check_max(
|
2423
|
+
current.core_modules.len(),
|
2424
|
+
1,
|
2425
|
+
MAX_WASM_MODULES,
|
2426
|
+
"modules",
|
2427
|
+
offset,
|
2428
|
+
)?;
|
2429
|
+
|
2430
|
+
current.core_modules.push(ty);
|
2431
|
+
Ok(())
|
2432
|
+
}
|
2433
|
+
|
2434
|
+
fn alias_component(
|
2435
|
+
components: &mut [Self],
|
2436
|
+
count: u32,
|
2437
|
+
index: u32,
|
2438
|
+
offset: usize,
|
2439
|
+
) -> Result<()> {
|
2440
|
+
let component = Self::check_alias_count(components, count, offset)?;
|
2441
|
+
let ty = component.component_at(index, offset)?;
|
2442
|
+
|
2443
|
+
let current = components.last_mut().unwrap();
|
2444
|
+
check_max(
|
2445
|
+
current.components.len(),
|
2446
|
+
1,
|
2447
|
+
MAX_WASM_COMPONENTS,
|
2448
|
+
"components",
|
2449
|
+
offset,
|
2450
|
+
)?;
|
2451
|
+
|
2452
|
+
current.components.push(ty);
|
2453
|
+
Ok(())
|
2454
|
+
}
|
2455
|
+
|
2456
|
+
fn alias_core_type(
|
2457
|
+
components: &mut [Self],
|
2458
|
+
count: u32,
|
2459
|
+
index: u32,
|
2460
|
+
offset: usize,
|
2461
|
+
) -> Result<()> {
|
2462
|
+
let component = Self::check_alias_count(components, count, offset)?;
|
2463
|
+
let ty = component.core_type_at(index, offset)?;
|
2464
|
+
|
2465
|
+
let current = components.last_mut().unwrap();
|
2466
|
+
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
2467
|
+
|
2468
|
+
current.core_types.push(ty);
|
2469
|
+
|
2470
|
+
Ok(())
|
2471
|
+
}
|
2472
|
+
|
2473
|
+
fn alias_type(
|
2474
|
+
components: &mut [Self],
|
2475
|
+
count: u32,
|
2476
|
+
index: u32,
|
2477
|
+
types: &mut TypeAlloc,
|
2478
|
+
offset: usize,
|
2479
|
+
) -> Result<()> {
|
2480
|
+
let component = Self::check_alias_count(components, count, offset)?;
|
2481
|
+
let ty = component.component_type_at(index, offset)?;
|
2482
|
+
|
2483
|
+
// If `count` "crossed a component boundary", meaning that it went from
|
2484
|
+
// one component to another, then this must additionally verify that
|
2485
|
+
// `ty` has no free variables with respect to resources. This is
|
2486
|
+
// intended to preserve the property for components where each component
|
2487
|
+
// is an isolated unit that can theoretically be extracted from other
|
2488
|
+
// components. If resources from other components were allowed to leak
|
2489
|
+
// in then it would prevent that.
|
2490
|
+
//
|
2491
|
+
// This check is done by calculating the `pos` within `components` that
|
2492
|
+
// our target `component` above was selected at. Once this is acquired
|
2493
|
+
// the component to the "right" is checked, and if that's a component
|
2494
|
+
// then it's considered as crossing a component boundary meaning the
|
2495
|
+
// free variables check runs.
|
2496
|
+
//
|
2497
|
+
// The reason this works is that in the list of `ComponentState` types
|
2498
|
+
// it's guaranteed that any `is_type` components are contiguous at the
|
2499
|
+
// end of the array. This means that if state one level deeper than the
|
2500
|
+
// target of this alias is a `!is_type` component, then the target must
|
2501
|
+
// be a component as well. If the one-level deeper state `is_type` then
|
2502
|
+
// the target is either a type or a component, both of which are valid
|
2503
|
+
// (as aliases can reach the enclosing component and have as many free
|
2504
|
+
// variables as they want).
|
2505
|
+
let pos_after_component = components.len() - (count as usize);
|
2506
|
+
if let Some(component) = components.get(pos_after_component) {
|
2507
|
+
if component.kind == ComponentKind::Component {
|
2508
|
+
let mut free = IndexSet::default();
|
2509
|
+
types.free_variables_any_type_id(ty, &mut free);
|
2510
|
+
if !free.is_empty() {
|
2511
|
+
bail!(
|
2512
|
+
offset,
|
2513
|
+
"cannot alias outer type which transitively refers \
|
2514
|
+
to resources not defined in the current component"
|
2515
|
+
);
|
2516
|
+
}
|
2517
|
+
}
|
2518
|
+
}
|
2519
|
+
|
2520
|
+
let current = components.last_mut().unwrap();
|
2521
|
+
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
2522
|
+
|
2523
|
+
current.types.push(ty);
|
2524
|
+
|
2525
|
+
Ok(())
|
2526
|
+
}
|
2527
|
+
|
2528
|
+
fn check_alias_count(components: &[Self], count: u32, offset: usize) -> Result<&Self> {
|
2529
|
+
let count = count as usize;
|
2530
|
+
if count >= components.len() {
|
2531
|
+
bail!(offset, "invalid outer alias count of {count}");
|
2532
|
+
}
|
2533
|
+
|
2534
|
+
Ok(&components[components.len() - count - 1])
|
2535
|
+
}
|
2536
|
+
|
2537
|
+
fn create_defined_type(
|
2538
|
+
&self,
|
2539
|
+
ty: crate::ComponentDefinedType,
|
2540
|
+
types: &TypeList,
|
2541
|
+
features: &WasmFeatures,
|
2542
|
+
offset: usize,
|
2543
|
+
) -> Result<ComponentDefinedType> {
|
2544
|
+
match ty {
|
2545
|
+
crate::ComponentDefinedType::Primitive(ty) => Ok(ComponentDefinedType::Primitive(ty)),
|
2546
|
+
crate::ComponentDefinedType::Record(fields) => {
|
2547
|
+
self.create_record_type(fields.as_ref(), types, offset)
|
2548
|
+
}
|
2549
|
+
crate::ComponentDefinedType::Variant(cases) => {
|
2550
|
+
self.create_variant_type(cases.as_ref(), types, offset)
|
2551
|
+
}
|
2552
|
+
crate::ComponentDefinedType::List(ty) => Ok(ComponentDefinedType::List(
|
2553
|
+
self.create_component_val_type(ty, offset)?,
|
2554
|
+
)),
|
2555
|
+
crate::ComponentDefinedType::Tuple(tys) => {
|
2556
|
+
self.create_tuple_type(tys.as_ref(), types, offset)
|
2557
|
+
}
|
2558
|
+
crate::ComponentDefinedType::Flags(names) => {
|
2559
|
+
self.create_flags_type(names.as_ref(), features, offset)
|
2560
|
+
}
|
2561
|
+
crate::ComponentDefinedType::Enum(cases) => {
|
2562
|
+
self.create_enum_type(cases.as_ref(), offset)
|
2563
|
+
}
|
2564
|
+
crate::ComponentDefinedType::Option(ty) => Ok(ComponentDefinedType::Option(
|
2565
|
+
self.create_component_val_type(ty, offset)?,
|
2566
|
+
)),
|
2567
|
+
crate::ComponentDefinedType::Result { ok, err } => Ok(ComponentDefinedType::Result {
|
2568
|
+
ok: ok
|
2569
|
+
.map(|ty| self.create_component_val_type(ty, offset))
|
2570
|
+
.transpose()?,
|
2571
|
+
err: err
|
2572
|
+
.map(|ty| self.create_component_val_type(ty, offset))
|
2573
|
+
.transpose()?,
|
2574
|
+
}),
|
2575
|
+
crate::ComponentDefinedType::Own(idx) => Ok(ComponentDefinedType::Own(
|
2576
|
+
self.resource_at(idx, types, offset)?,
|
2577
|
+
)),
|
2578
|
+
crate::ComponentDefinedType::Borrow(idx) => Ok(ComponentDefinedType::Borrow(
|
2579
|
+
self.resource_at(idx, types, offset)?,
|
2580
|
+
)),
|
2581
|
+
}
|
2582
|
+
}
|
2583
|
+
|
2584
|
+
fn create_record_type(
|
2585
|
+
&self,
|
2586
|
+
fields: &[(&str, crate::ComponentValType)],
|
2587
|
+
types: &TypeList,
|
2588
|
+
offset: usize,
|
2589
|
+
) -> Result<ComponentDefinedType> {
|
2590
|
+
let mut info = TypeInfo::new();
|
2591
|
+
let mut field_map = IndexMap::default();
|
2592
|
+
field_map.reserve(fields.len());
|
2593
|
+
|
2594
|
+
if fields.is_empty() {
|
2595
|
+
bail!(offset, "record type must have at least one field");
|
2596
|
+
}
|
2597
|
+
|
2598
|
+
for (name, ty) in fields {
|
2599
|
+
let name = to_kebab_str(name, "record field", offset)?;
|
2600
|
+
let ty = self.create_component_val_type(*ty, offset)?;
|
2601
|
+
|
2602
|
+
match field_map.entry(name.to_owned()) {
|
2603
|
+
Entry::Occupied(e) => bail!(
|
2604
|
+
offset,
|
2605
|
+
"record field name `{name}` conflicts with previous field name `{prev}`",
|
2606
|
+
prev = e.key()
|
2607
|
+
),
|
2608
|
+
Entry::Vacant(e) => {
|
2609
|
+
info.combine(ty.info(types), offset)?;
|
2610
|
+
e.insert(ty);
|
2611
|
+
}
|
2612
|
+
}
|
2613
|
+
}
|
2614
|
+
|
2615
|
+
Ok(ComponentDefinedType::Record(RecordType {
|
2616
|
+
info,
|
2617
|
+
fields: field_map,
|
2618
|
+
}))
|
2619
|
+
}
|
2620
|
+
|
2621
|
+
fn create_variant_type(
|
2622
|
+
&self,
|
2623
|
+
cases: &[crate::VariantCase],
|
2624
|
+
types: &TypeList,
|
2625
|
+
offset: usize,
|
2626
|
+
) -> Result<ComponentDefinedType> {
|
2627
|
+
let mut info = TypeInfo::new();
|
2628
|
+
let mut case_map: IndexMap<KebabString, VariantCase> = IndexMap::default();
|
2629
|
+
case_map.reserve(cases.len());
|
2630
|
+
|
2631
|
+
if cases.is_empty() {
|
2632
|
+
bail!(offset, "variant type must have at least one case");
|
2633
|
+
}
|
2634
|
+
|
2635
|
+
if cases.len() > u32::MAX as usize {
|
2636
|
+
return Err(BinaryReaderError::new(
|
2637
|
+
"variant type cannot be represented with a 32-bit discriminant value",
|
2638
|
+
offset,
|
2639
|
+
));
|
2640
|
+
}
|
2641
|
+
|
2642
|
+
for (i, case) in cases.iter().enumerate() {
|
2643
|
+
if let Some(refines) = case.refines {
|
2644
|
+
if refines >= i as u32 {
|
2645
|
+
return Err(BinaryReaderError::new(
|
2646
|
+
"variant case can only refine a previously defined case",
|
2647
|
+
offset,
|
2648
|
+
));
|
2649
|
+
}
|
2650
|
+
}
|
2651
|
+
|
2652
|
+
let name = to_kebab_str(case.name, "variant case", offset)?;
|
2653
|
+
|
2654
|
+
let ty = case
|
2655
|
+
.ty
|
2656
|
+
.map(|ty| self.create_component_val_type(ty, offset))
|
2657
|
+
.transpose()?;
|
2658
|
+
|
2659
|
+
match case_map.entry(name.to_owned()) {
|
2660
|
+
Entry::Occupied(e) => bail!(
|
2661
|
+
offset,
|
2662
|
+
"variant case name `{name}` conflicts with previous case name `{prev}`",
|
2663
|
+
name = case.name,
|
2664
|
+
prev = e.key()
|
2665
|
+
),
|
2666
|
+
Entry::Vacant(e) => {
|
2667
|
+
if let Some(ty) = ty {
|
2668
|
+
info.combine(ty.info(types), offset)?;
|
2669
|
+
}
|
2670
|
+
|
2671
|
+
// Safety: the use of `KebabStr::new_unchecked` here is safe because the string
|
2672
|
+
// was already verified to be kebab case.
|
2673
|
+
e.insert(VariantCase {
|
2674
|
+
ty,
|
2675
|
+
refines: case
|
2676
|
+
.refines
|
2677
|
+
.map(|i| KebabStr::new_unchecked(cases[i as usize].name).to_owned()),
|
2678
|
+
});
|
2679
|
+
}
|
2680
|
+
}
|
2681
|
+
}
|
2682
|
+
|
2683
|
+
Ok(ComponentDefinedType::Variant(VariantType {
|
2684
|
+
info,
|
2685
|
+
cases: case_map,
|
2686
|
+
}))
|
2687
|
+
}
|
2688
|
+
|
2689
|
+
fn create_tuple_type(
|
2690
|
+
&self,
|
2691
|
+
tys: &[crate::ComponentValType],
|
2692
|
+
types: &TypeList,
|
2693
|
+
offset: usize,
|
2694
|
+
) -> Result<ComponentDefinedType> {
|
2695
|
+
let mut info = TypeInfo::new();
|
2696
|
+
if tys.is_empty() {
|
2697
|
+
bail!(offset, "tuple type must have at least one type");
|
2698
|
+
}
|
2699
|
+
let types = tys
|
2700
|
+
.iter()
|
2701
|
+
.map(|ty| {
|
2702
|
+
let ty = self.create_component_val_type(*ty, offset)?;
|
2703
|
+
info.combine(ty.info(types), offset)?;
|
2704
|
+
Ok(ty)
|
2705
|
+
})
|
2706
|
+
.collect::<Result<_>>()?;
|
2707
|
+
|
2708
|
+
Ok(ComponentDefinedType::Tuple(TupleType { info, types }))
|
2709
|
+
}
|
2710
|
+
|
2711
|
+
fn create_flags_type(
|
2712
|
+
&self,
|
2713
|
+
names: &[&str],
|
2714
|
+
features: &WasmFeatures,
|
2715
|
+
offset: usize,
|
2716
|
+
) -> Result<ComponentDefinedType> {
|
2717
|
+
let mut names_set = IndexSet::default();
|
2718
|
+
names_set.reserve(names.len());
|
2719
|
+
|
2720
|
+
if names.is_empty() {
|
2721
|
+
bail!(offset, "flags must have at least one entry");
|
2722
|
+
}
|
2723
|
+
|
2724
|
+
if names.len() > 32 && !features.component_model_more_flags() {
|
2725
|
+
bail!(
|
2726
|
+
offset,
|
2727
|
+
"cannot have more than 32 flags; this was previously \
|
2728
|
+
accepted and if this is required for your project please \
|
2729
|
+
leave a comment on \
|
2730
|
+
https://github.com/WebAssembly/component-model/issues/370"
|
2731
|
+
);
|
2732
|
+
}
|
2733
|
+
|
2734
|
+
for name in names {
|
2735
|
+
let name = to_kebab_str(name, "flag", offset)?;
|
2736
|
+
if !names_set.insert(name.to_owned()) {
|
2737
|
+
bail!(
|
2738
|
+
offset,
|
2739
|
+
"flag name `{name}` conflicts with previous flag name `{prev}`",
|
2740
|
+
prev = names_set.get(name).unwrap()
|
2741
|
+
);
|
2742
|
+
}
|
2743
|
+
}
|
2744
|
+
|
2745
|
+
Ok(ComponentDefinedType::Flags(names_set))
|
2746
|
+
}
|
2747
|
+
|
2748
|
+
fn create_enum_type(&self, cases: &[&str], offset: usize) -> Result<ComponentDefinedType> {
|
2749
|
+
if cases.len() > u32::MAX as usize {
|
2750
|
+
return Err(BinaryReaderError::new(
|
2751
|
+
"enumeration type cannot be represented with a 32-bit discriminant value",
|
2752
|
+
offset,
|
2753
|
+
));
|
2754
|
+
}
|
2755
|
+
|
2756
|
+
if cases.is_empty() {
|
2757
|
+
bail!(offset, "enum type must have at least one variant");
|
2758
|
+
}
|
2759
|
+
|
2760
|
+
let mut tags = IndexSet::default();
|
2761
|
+
tags.reserve(cases.len());
|
2762
|
+
|
2763
|
+
for tag in cases {
|
2764
|
+
let tag = to_kebab_str(tag, "enum tag", offset)?;
|
2765
|
+
if !tags.insert(tag.to_owned()) {
|
2766
|
+
bail!(
|
2767
|
+
offset,
|
2768
|
+
"enum tag name `{tag}` conflicts with previous tag name `{prev}`",
|
2769
|
+
prev = tags.get(tag).unwrap()
|
2770
|
+
);
|
2771
|
+
}
|
2772
|
+
}
|
2773
|
+
|
2774
|
+
Ok(ComponentDefinedType::Enum(tags))
|
2775
|
+
}
|
2776
|
+
|
2777
|
+
fn create_component_val_type(
|
2778
|
+
&self,
|
2779
|
+
ty: crate::ComponentValType,
|
2780
|
+
offset: usize,
|
2781
|
+
) -> Result<ComponentValType> {
|
2782
|
+
Ok(match ty {
|
2783
|
+
crate::ComponentValType::Primitive(pt) => ComponentValType::Primitive(pt),
|
2784
|
+
crate::ComponentValType::Type(idx) => {
|
2785
|
+
ComponentValType::Type(self.defined_type_at(idx, offset)?)
|
2786
|
+
}
|
2787
|
+
})
|
2788
|
+
}
|
2789
|
+
|
2790
|
+
pub fn core_type_at(&self, idx: u32, offset: usize) -> Result<ComponentCoreTypeId> {
|
2791
|
+
self.core_types
|
2792
|
+
.get(idx as usize)
|
2793
|
+
.copied()
|
2794
|
+
.ok_or_else(|| format_err!(offset, "unknown type {idx}: type index out of bounds"))
|
2795
|
+
}
|
2796
|
+
|
2797
|
+
pub fn component_type_at(&self, idx: u32, offset: usize) -> Result<ComponentAnyTypeId> {
|
2798
|
+
self.types
|
2799
|
+
.get(idx as usize)
|
2800
|
+
.copied()
|
2801
|
+
.ok_or_else(|| format_err!(offset, "unknown type {idx}: type index out of bounds"))
|
2802
|
+
}
|
2803
|
+
|
2804
|
+
fn function_type_at<'a>(
|
2805
|
+
&self,
|
2806
|
+
idx: u32,
|
2807
|
+
types: &'a TypeList,
|
2808
|
+
offset: usize,
|
2809
|
+
) -> Result<&'a ComponentFuncType> {
|
2810
|
+
let id = self.component_type_at(idx, offset)?;
|
2811
|
+
match id {
|
2812
|
+
ComponentAnyTypeId::Func(id) => Ok(&types[id]),
|
2813
|
+
_ => bail!(offset, "type index {idx} is not a function type"),
|
2814
|
+
}
|
2815
|
+
}
|
2816
|
+
|
2817
|
+
fn function_at(&self, idx: u32, offset: usize) -> Result<ComponentFuncTypeId> {
|
2818
|
+
self.funcs.get(idx as usize).copied().ok_or_else(|| {
|
2819
|
+
format_err!(
|
2820
|
+
offset,
|
2821
|
+
"unknown function {idx}: function index out of bounds"
|
2822
|
+
)
|
2823
|
+
})
|
2824
|
+
}
|
2825
|
+
|
2826
|
+
fn component_at(&self, idx: u32, offset: usize) -> Result<ComponentTypeId> {
|
2827
|
+
self.components.get(idx as usize).copied().ok_or_else(|| {
|
2828
|
+
format_err!(
|
2829
|
+
offset,
|
2830
|
+
"unknown component {idx}: component index out of bounds"
|
2831
|
+
)
|
2832
|
+
})
|
2833
|
+
}
|
2834
|
+
|
2835
|
+
fn instance_at(&self, idx: u32, offset: usize) -> Result<ComponentInstanceTypeId> {
|
2836
|
+
self.instances.get(idx as usize).copied().ok_or_else(|| {
|
2837
|
+
format_err!(
|
2838
|
+
offset,
|
2839
|
+
"unknown instance {idx}: instance index out of bounds"
|
2840
|
+
)
|
2841
|
+
})
|
2842
|
+
}
|
2843
|
+
|
2844
|
+
fn value_at(&mut self, idx: u32, offset: usize) -> Result<&ComponentValType> {
|
2845
|
+
match self.values.get_mut(idx as usize) {
|
2846
|
+
Some((ty, used)) if !*used => {
|
2847
|
+
*used = true;
|
2848
|
+
Ok(ty)
|
2849
|
+
}
|
2850
|
+
Some(_) => bail!(offset, "value {idx} cannot be used more than once"),
|
2851
|
+
None => bail!(offset, "unknown value {idx}: value index out of bounds"),
|
2852
|
+
}
|
2853
|
+
}
|
2854
|
+
|
2855
|
+
fn defined_type_at(&self, idx: u32, offset: usize) -> Result<ComponentDefinedTypeId> {
|
2856
|
+
match self.component_type_at(idx, offset)? {
|
2857
|
+
ComponentAnyTypeId::Defined(id) => Ok(id),
|
2858
|
+
_ => bail!(offset, "type index {idx} is not a defined type"),
|
2859
|
+
}
|
2860
|
+
}
|
2861
|
+
|
2862
|
+
fn core_function_at(&self, idx: u32, offset: usize) -> Result<CoreTypeId> {
|
2863
|
+
match self.core_funcs.get(idx as usize) {
|
2864
|
+
Some(id) => Ok(*id),
|
2865
|
+
None => bail!(
|
2866
|
+
offset,
|
2867
|
+
"unknown core function {idx}: function index out of bounds"
|
2868
|
+
),
|
2869
|
+
}
|
2870
|
+
}
|
2871
|
+
|
2872
|
+
fn module_at(&self, idx: u32, offset: usize) -> Result<ComponentCoreModuleTypeId> {
|
2873
|
+
match self.core_modules.get(idx as usize) {
|
2874
|
+
Some(id) => Ok(*id),
|
2875
|
+
None => bail!(offset, "unknown module {idx}: module index out of bounds"),
|
2876
|
+
}
|
2877
|
+
}
|
2878
|
+
|
2879
|
+
fn core_instance_at(&self, idx: u32, offset: usize) -> Result<ComponentCoreInstanceTypeId> {
|
2880
|
+
match self.core_instances.get(idx as usize) {
|
2881
|
+
Some(id) => Ok(*id),
|
2882
|
+
None => bail!(
|
2883
|
+
offset,
|
2884
|
+
"unknown core instance {idx}: instance index out of bounds"
|
2885
|
+
),
|
2886
|
+
}
|
2887
|
+
}
|
2888
|
+
|
2889
|
+
fn core_instance_export<'a>(
|
2890
|
+
&self,
|
2891
|
+
instance_index: u32,
|
2892
|
+
name: &str,
|
2893
|
+
types: &'a TypeList,
|
2894
|
+
offset: usize,
|
2895
|
+
) -> Result<&'a EntityType> {
|
2896
|
+
match types[self.core_instance_at(instance_index, offset)?]
|
2897
|
+
.internal_exports(types)
|
2898
|
+
.get(name)
|
2899
|
+
{
|
2900
|
+
Some(export) => Ok(export),
|
2901
|
+
None => bail!(
|
2902
|
+
offset,
|
2903
|
+
"core instance {instance_index} has no export named `{name}`"
|
2904
|
+
),
|
2905
|
+
}
|
2906
|
+
}
|
2907
|
+
|
2908
|
+
fn global_at(&self, idx: u32, offset: usize) -> Result<&GlobalType> {
|
2909
|
+
match self.core_globals.get(idx as usize) {
|
2910
|
+
Some(t) => Ok(t),
|
2911
|
+
None => bail!(offset, "unknown global {idx}: global index out of bounds"),
|
2912
|
+
}
|
2913
|
+
}
|
2914
|
+
|
2915
|
+
fn table_at(&self, idx: u32, offset: usize) -> Result<&TableType> {
|
2916
|
+
match self.core_tables.get(idx as usize) {
|
2917
|
+
Some(t) => Ok(t),
|
2918
|
+
None => bail!(offset, "unknown table {idx}: table index out of bounds"),
|
2919
|
+
}
|
2920
|
+
}
|
2921
|
+
|
2922
|
+
fn memory_at(&self, idx: u32, offset: usize) -> Result<&MemoryType> {
|
2923
|
+
match self.core_memories.get(idx as usize) {
|
2924
|
+
Some(t) => Ok(t),
|
2925
|
+
None => bail!(offset, "unknown memory {idx}: memory index out of bounds"),
|
2926
|
+
}
|
2927
|
+
}
|
2928
|
+
|
2929
|
+
/// Completes the translation of this component, performing final
|
2930
|
+
/// validation of its structure.
|
2931
|
+
///
|
2932
|
+
/// This method is required to be called for translating all components.
|
2933
|
+
/// Internally this will convert local data structures into a
|
2934
|
+
/// `ComponentType` which is suitable to use to describe the type of this
|
2935
|
+
/// component.
|
2936
|
+
pub fn finish(&mut self, types: &TypeAlloc, offset: usize) -> Result<ComponentType> {
|
2937
|
+
let mut ty = ComponentType {
|
2938
|
+
// Inherit some fields based on translation of the component.
|
2939
|
+
info: self.type_info,
|
2940
|
+
imports: self.imports.clone(),
|
2941
|
+
exports: self.exports.clone(),
|
2942
|
+
|
2943
|
+
// This is filled in as a subset of `self.defined_resources`
|
2944
|
+
// depending on what's actually used by the exports. See the
|
2945
|
+
// bottom of this function.
|
2946
|
+
defined_resources: Default::default(),
|
2947
|
+
|
2948
|
+
// These are inherited directly from what was calculated for this
|
2949
|
+
// component.
|
2950
|
+
imported_resources: mem::take(&mut self.imported_resources)
|
2951
|
+
.into_iter()
|
2952
|
+
.collect(),
|
2953
|
+
explicit_resources: mem::take(&mut self.explicit_resources),
|
2954
|
+
};
|
2955
|
+
|
2956
|
+
// Collect all "free variables", or resources, from the imports of this
|
2957
|
+
// component. None of the resources defined within this component can
|
2958
|
+
// be used as part of the exports. This set is then used to reject any
|
2959
|
+
// of `self.defined_resources` which show up.
|
2960
|
+
let mut free = IndexSet::default();
|
2961
|
+
for ty in ty.imports.values() {
|
2962
|
+
types.free_variables_component_entity(ty, &mut free);
|
2963
|
+
}
|
2964
|
+
for (resource, _path) in self.defined_resources.iter() {
|
2965
|
+
// FIXME: this error message is quite opaque and doesn't indicate
|
2966
|
+
// more contextual information such as:
|
2967
|
+
//
|
2968
|
+
// * what was the exported resource found in the imports
|
2969
|
+
// * which import was the resource found within
|
2970
|
+
//
|
2971
|
+
// These are possible to calculate here if necessary, however.
|
2972
|
+
if free.contains(resource) {
|
2973
|
+
bail!(offset, "local resource type found in imports");
|
2974
|
+
}
|
2975
|
+
}
|
2976
|
+
|
2977
|
+
// The next step in validation a component, with respect to resources,
|
2978
|
+
// is to minimize the set of defined resources to only those that
|
2979
|
+
// are actually used by the exports. This weeds out resources that are
|
2980
|
+
// defined, used within a component, and never exported, for example.
|
2981
|
+
//
|
2982
|
+
// The free variables of all exports are inserted into the `free` set
|
2983
|
+
// (which is reused from the imports after clearing it). The defined
|
2984
|
+
// resources calculated for this component are then inserted into this
|
2985
|
+
// type's list of defined resources if it's contained somewhere in
|
2986
|
+
// the free variables.
|
2987
|
+
//
|
2988
|
+
// Note that at the same time all defined resources must be exported,
|
2989
|
+
// somehow, transitively from this component. The `explicit_resources`
|
2990
|
+
// map is consulted for this purpose which lists all explicitly
|
2991
|
+
// exported resources in the component, regardless from whence they
|
2992
|
+
// came. If not present in this map then it's not exported and an error
|
2993
|
+
// is returned.
|
2994
|
+
//
|
2995
|
+
// NB: the "types are exported" check is probably sufficient nowadays
|
2996
|
+
// that the check of the `explicit_resources` map is probably not
|
2997
|
+
// necessary, but it's left here for completeness and out of an
|
2998
|
+
// abundance of caution.
|
2999
|
+
free.clear();
|
3000
|
+
for ty in ty.exports.values() {
|
3001
|
+
types.free_variables_component_entity(ty, &mut free);
|
3002
|
+
}
|
3003
|
+
for (id, _rep) in mem::take(&mut self.defined_resources) {
|
3004
|
+
if !free.contains(&id) {
|
3005
|
+
continue;
|
3006
|
+
}
|
3007
|
+
|
3008
|
+
let path = match ty.explicit_resources.get(&id).cloned() {
|
3009
|
+
Some(path) => path,
|
3010
|
+
// FIXME: this error message is quite opaque and doesn't
|
3011
|
+
// indicate more contextual information such as:
|
3012
|
+
//
|
3013
|
+
// * which resource wasn't found in an export
|
3014
|
+
// * which export has a reference to the resource
|
3015
|
+
//
|
3016
|
+
// These are possible to calculate here if necessary, however.
|
3017
|
+
None => bail!(
|
3018
|
+
offset,
|
3019
|
+
"local resource type found in export but not exported itself"
|
3020
|
+
),
|
3021
|
+
};
|
3022
|
+
|
3023
|
+
ty.defined_resources.push((id, path));
|
3024
|
+
}
|
3025
|
+
|
3026
|
+
Ok(ty)
|
3027
|
+
}
|
3028
|
+
|
3029
|
+
fn check_value_support(&self, features: &WasmFeatures, offset: usize) -> Result<()> {
|
3030
|
+
if !features.component_model_values() {
|
3031
|
+
bail!(
|
3032
|
+
offset,
|
3033
|
+
"support for component model `value`s is not enabled"
|
3034
|
+
);
|
3035
|
+
}
|
3036
|
+
Ok(())
|
3037
|
+
}
|
3038
|
+
}
|
3039
|
+
|
3040
|
+
impl InternRecGroup for ComponentState {
|
3041
|
+
fn add_type_id(&mut self, id: CoreTypeId) {
|
3042
|
+
self.core_types.push(ComponentCoreTypeId::Sub(id));
|
3043
|
+
}
|
3044
|
+
|
3045
|
+
fn type_id_at(&self, idx: u32, offset: usize) -> Result<CoreTypeId> {
|
3046
|
+
match self.core_type_at(idx, offset)? {
|
3047
|
+
ComponentCoreTypeId::Sub(id) => Ok(id),
|
3048
|
+
ComponentCoreTypeId::Module(_) => {
|
3049
|
+
bail!(offset, "type index {idx} is a module type, not a sub type");
|
3050
|
+
}
|
3051
|
+
}
|
3052
|
+
}
|
3053
|
+
|
3054
|
+
fn types_len(&self) -> u32 {
|
3055
|
+
u32::try_from(self.core_types.len()).unwrap()
|
3056
|
+
}
|
3057
|
+
}
|
3058
|
+
|
3059
|
+
impl ComponentNameContext {
|
3060
|
+
/// Registers that the resource `id` is named `name` within this context.
|
3061
|
+
fn register(&mut self, name: &str, id: AliasableResourceId) {
|
3062
|
+
let idx = self.all_resource_names.len();
|
3063
|
+
let prev = self.resource_name_map.insert(id, idx);
|
3064
|
+
assert!(
|
3065
|
+
prev.is_none(),
|
3066
|
+
"for {id:?}, inserted {idx:?} but already had {prev:?}"
|
3067
|
+
);
|
3068
|
+
self.all_resource_names.insert(name.to_string());
|
3069
|
+
}
|
3070
|
+
|
3071
|
+
fn validate_extern(
|
3072
|
+
&self,
|
3073
|
+
name: &str,
|
3074
|
+
kind: ExternKind,
|
3075
|
+
ty: &ComponentEntityType,
|
3076
|
+
types: &TypeAlloc,
|
3077
|
+
offset: usize,
|
3078
|
+
kind_names: &mut IndexSet<ComponentName>,
|
3079
|
+
items: &mut IndexMap<String, ComponentEntityType>,
|
3080
|
+
info: &mut TypeInfo,
|
3081
|
+
features: &WasmFeatures,
|
3082
|
+
) -> Result<()> {
|
3083
|
+
// First validate that `name` is even a valid kebab name, meaning it's
|
3084
|
+
// in kebab-case, is an ID, etc.
|
3085
|
+
let kebab = ComponentName::new_with_features(name, offset, *features)
|
3086
|
+
.with_context(|| format!("{} name `{name}` is not a valid extern name", kind.desc()))?;
|
3087
|
+
|
3088
|
+
if let ExternKind::Export = kind {
|
3089
|
+
match kebab.kind() {
|
3090
|
+
ComponentNameKind::Label(_)
|
3091
|
+
| ComponentNameKind::Method(_)
|
3092
|
+
| ComponentNameKind::Static(_)
|
3093
|
+
| ComponentNameKind::Constructor(_)
|
3094
|
+
| ComponentNameKind::Interface(_) => {}
|
3095
|
+
|
3096
|
+
ComponentNameKind::Hash(_)
|
3097
|
+
| ComponentNameKind::Url(_)
|
3098
|
+
| ComponentNameKind::Dependency(_) => {
|
3099
|
+
bail!(offset, "name `{name}` is not a valid export name")
|
3100
|
+
}
|
3101
|
+
}
|
3102
|
+
}
|
3103
|
+
|
3104
|
+
// Validate that the kebab name, if it has structure such as
|
3105
|
+
// `[method]a.b`, is indeed valid with respect to known resources.
|
3106
|
+
self.validate(&kebab, ty, types, offset)
|
3107
|
+
.with_context(|| format!("{} name `{kebab}` is not valid", kind.desc()))?;
|
3108
|
+
|
3109
|
+
// Top-level kebab-names must all be unique, even between both imports
|
3110
|
+
// and exports ot a component. For those names consult the `kebab_names`
|
3111
|
+
// set.
|
3112
|
+
if let Some(prev) = kind_names.replace(kebab.clone()) {
|
3113
|
+
bail!(
|
3114
|
+
offset,
|
3115
|
+
"{} name `{kebab}` conflicts with previous name `{prev}`",
|
3116
|
+
kind.desc()
|
3117
|
+
);
|
3118
|
+
}
|
3119
|
+
|
3120
|
+
// Otherwise all strings must be unique, regardless of their name, so
|
3121
|
+
// consult the `items` set to ensure that we're not for example
|
3122
|
+
// importing the same interface ID twice.
|
3123
|
+
match items.entry(name.to_string()) {
|
3124
|
+
Entry::Occupied(e) => {
|
3125
|
+
bail!(
|
3126
|
+
offset,
|
3127
|
+
"{kind} name `{name}` conflicts with previous name `{prev}`",
|
3128
|
+
kind = kind.desc(),
|
3129
|
+
prev = e.key(),
|
3130
|
+
);
|
3131
|
+
}
|
3132
|
+
Entry::Vacant(e) => {
|
3133
|
+
e.insert(*ty);
|
3134
|
+
info.combine(ty.info(types), offset)?;
|
3135
|
+
}
|
3136
|
+
}
|
3137
|
+
Ok(())
|
3138
|
+
}
|
3139
|
+
|
3140
|
+
/// Validates that the `name` provided is allowed to have the type `ty`.
|
3141
|
+
fn validate(
|
3142
|
+
&self,
|
3143
|
+
name: &ComponentName,
|
3144
|
+
ty: &ComponentEntityType,
|
3145
|
+
types: &TypeAlloc,
|
3146
|
+
offset: usize,
|
3147
|
+
) -> Result<()> {
|
3148
|
+
let func = || {
|
3149
|
+
let id = match ty {
|
3150
|
+
ComponentEntityType::Func(id) => *id,
|
3151
|
+
_ => bail!(offset, "item is not a func"),
|
3152
|
+
};
|
3153
|
+
Ok(&types[id])
|
3154
|
+
};
|
3155
|
+
match name.kind() {
|
3156
|
+
// No validation necessary for these styles of names
|
3157
|
+
ComponentNameKind::Label(_)
|
3158
|
+
| ComponentNameKind::Interface(_)
|
3159
|
+
| ComponentNameKind::Url(_)
|
3160
|
+
| ComponentNameKind::Dependency(_)
|
3161
|
+
| ComponentNameKind::Hash(_) => {}
|
3162
|
+
|
3163
|
+
// Constructors must return `(own $resource)` and the `$resource`
|
3164
|
+
// must be named within this context to match `rname`
|
3165
|
+
ComponentNameKind::Constructor(rname) => {
|
3166
|
+
let ty = func()?;
|
3167
|
+
if ty.results.len() != 1 {
|
3168
|
+
bail!(offset, "function should return one value");
|
3169
|
+
}
|
3170
|
+
let ty = ty.results[0].1;
|
3171
|
+
let resource = match ty {
|
3172
|
+
ComponentValType::Primitive(_) => None,
|
3173
|
+
ComponentValType::Type(ty) => match &types[ty] {
|
3174
|
+
ComponentDefinedType::Own(id) => Some(id),
|
3175
|
+
_ => None,
|
3176
|
+
},
|
3177
|
+
};
|
3178
|
+
let resource = match resource {
|
3179
|
+
Some(id) => id,
|
3180
|
+
None => bail!(offset, "function should return `(own $T)`"),
|
3181
|
+
};
|
3182
|
+
self.validate_resource_name(*resource, rname, offset)?;
|
3183
|
+
}
|
3184
|
+
|
3185
|
+
// Methods must take `(param "self" (borrow $resource))` as the
|
3186
|
+
// first argument where `$resources` matches the name `resource` as
|
3187
|
+
// named in this context.
|
3188
|
+
ComponentNameKind::Method(name) => {
|
3189
|
+
let ty = func()?;
|
3190
|
+
if ty.params.len() == 0 {
|
3191
|
+
bail!(offset, "function should have at least one argument");
|
3192
|
+
}
|
3193
|
+
let (pname, pty) = &ty.params[0];
|
3194
|
+
if pname.as_str() != "self" {
|
3195
|
+
bail!(
|
3196
|
+
offset,
|
3197
|
+
"function should have a first argument called `self`",
|
3198
|
+
);
|
3199
|
+
}
|
3200
|
+
let id = match pty {
|
3201
|
+
ComponentValType::Primitive(_) => None,
|
3202
|
+
ComponentValType::Type(ty) => match &types[*ty] {
|
3203
|
+
ComponentDefinedType::Borrow(id) => Some(id),
|
3204
|
+
_ => None,
|
3205
|
+
},
|
3206
|
+
};
|
3207
|
+
let id = match id {
|
3208
|
+
Some(id) => id,
|
3209
|
+
None => bail!(
|
3210
|
+
offset,
|
3211
|
+
"function should take a first argument of `(borrow $T)`"
|
3212
|
+
),
|
3213
|
+
};
|
3214
|
+
self.validate_resource_name(*id, name.resource(), offset)?;
|
3215
|
+
}
|
3216
|
+
|
3217
|
+
// Static methods don't have much validation beyond that they must
|
3218
|
+
// be a function and the resource name referred to must already be
|
3219
|
+
// in this context.
|
3220
|
+
ComponentNameKind::Static(name) => {
|
3221
|
+
func()?;
|
3222
|
+
if !self.all_resource_names.contains(name.resource().as_str()) {
|
3223
|
+
bail!(offset, "static resource name is not known in this context");
|
3224
|
+
}
|
3225
|
+
}
|
3226
|
+
}
|
3227
|
+
|
3228
|
+
Ok(())
|
3229
|
+
}
|
3230
|
+
|
3231
|
+
fn validate_resource_name(
|
3232
|
+
&self,
|
3233
|
+
id: AliasableResourceId,
|
3234
|
+
name: &KebabStr,
|
3235
|
+
offset: usize,
|
3236
|
+
) -> Result<()> {
|
3237
|
+
let expected_name_idx = match self.resource_name_map.get(&id) {
|
3238
|
+
Some(idx) => *idx,
|
3239
|
+
None => {
|
3240
|
+
bail!(
|
3241
|
+
offset,
|
3242
|
+
"resource used in function does not have a name in this context"
|
3243
|
+
)
|
3244
|
+
}
|
3245
|
+
};
|
3246
|
+
let expected_name = &self.all_resource_names[expected_name_idx];
|
3247
|
+
if name.as_str() != expected_name {
|
3248
|
+
bail!(
|
3249
|
+
offset,
|
3250
|
+
"function does not match expected \
|
3251
|
+
resource name `{expected_name}`"
|
3252
|
+
);
|
3253
|
+
}
|
3254
|
+
Ok(())
|
3255
|
+
}
|
3256
|
+
}
|
3257
|
+
|
3258
|
+
use self::append_only::*;
|
3259
|
+
|
3260
|
+
mod append_only {
|
3261
|
+
use crate::prelude::IndexMap;
|
3262
|
+
use core::hash::Hash;
|
3263
|
+
use core::ops::Deref;
|
3264
|
+
|
3265
|
+
pub struct IndexMapAppendOnly<K, V>(IndexMap<K, V>);
|
3266
|
+
|
3267
|
+
impl<K, V> IndexMapAppendOnly<K, V>
|
3268
|
+
where
|
3269
|
+
K: Hash + Eq + Ord + PartialEq + Clone,
|
3270
|
+
{
|
3271
|
+
pub fn insert(&mut self, key: K, value: V) {
|
3272
|
+
let prev = self.0.insert(key, value);
|
3273
|
+
assert!(prev.is_none());
|
3274
|
+
}
|
3275
|
+
}
|
3276
|
+
|
3277
|
+
impl<K, V> Deref for IndexMapAppendOnly<K, V> {
|
3278
|
+
type Target = IndexMap<K, V>;
|
3279
|
+
fn deref(&self) -> &IndexMap<K, V> {
|
3280
|
+
&self.0
|
3281
|
+
}
|
3282
|
+
}
|
3283
|
+
|
3284
|
+
impl<K, V> Default for IndexMapAppendOnly<K, V> {
|
3285
|
+
fn default() -> Self {
|
3286
|
+
Self(Default::default())
|
3287
|
+
}
|
3288
|
+
}
|
3289
|
+
|
3290
|
+
impl<K, V> IntoIterator for IndexMapAppendOnly<K, V> {
|
3291
|
+
type IntoIter = <IndexMap<K, V> as IntoIterator>::IntoIter;
|
3292
|
+
type Item = <IndexMap<K, V> as IntoIterator>::Item;
|
3293
|
+
fn into_iter(self) -> Self::IntoIter {
|
3294
|
+
self.0.into_iter()
|
3295
|
+
}
|
3296
|
+
}
|
3297
|
+
}
|