wasmtime 22.0.0 → 23.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +127 -90
- data/ext/Cargo.toml +5 -5
- data/ext/cargo-vendor/cranelift-bforest-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.110.2/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/Cargo.toml +60 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/compound.rs +508 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/lib.rs +19 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/scalar.rs +575 -0
- data/ext/cargo-vendor/cranelift-bitset-0.110.2/tests/bitset.rs +78 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/Cargo.toml +206 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/binemit/stack_map.rs +141 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/context.rs +390 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/data_value.rs +410 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/dfg.rs +1806 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/globalvalue.rs +147 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/immediates.rs +2109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/instructions.rs +1015 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/jumptable.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/mod.rs +110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/trapcode.rs +148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/types.rs +643 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/user_stack_maps.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/emit.rs +3605 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/emit_tests.rs +7927 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/mod.rs +3058 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst.isle +4221 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/lower.isle +2969 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/mod.rs +259 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/mod.rs +462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/emit.rs +2741 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/emit_tests.rs +2219 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/mod.rs +1935 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst.isle +3153 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/lower/isle.rs +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/lower.isle +2953 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/mod.rs +265 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/inst/emit.rs +3421 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/inst/mod.rs +3395 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/lower.isle +3983 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/mod.rs +220 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/emit.rs +4297 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/emit_state.rs +65 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/mod.rs +2818 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst.isle +5299 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/lower.isle +4819 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/mod.rs +239 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isle_prelude.rs +965 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/legalizer/mod.rs +343 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/abi.rs +2427 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/buffer.rs +2544 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/helpers.rs +23 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/isle.rs +908 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/lower.rs +1462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/mod.rs +564 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/vcode.rs +1840 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/prelude.isle +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/prelude_lower.isle +1070 -0
- data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/write.rs +660 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/Cargo.toml +45 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/cdsl/types.rs +512 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/cdsl/typevar.rs +980 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/gen_inst.rs +1278 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/shared/instructions.rs +3760 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/shared/types.rs +143 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.110.2/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-control-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.110.2/Cargo.toml +39 -0
- data/ext/cargo-vendor/cranelift-entity-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.110.2/Cargo.toml +66 -0
- data/ext/cargo-vendor/cranelift-entity-0.110.2/src/set.rs +193 -0
- data/ext/cargo-vendor/cranelift-frontend-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.110.2/Cargo.toml +87 -0
- data/ext/cargo-vendor/cranelift-frontend-0.110.2/src/frontend.rs +2867 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/Cargo.toml +60 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/codegen.rs +920 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/parser.rs +562 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/sema.rs +2503 -0
- data/ext/cargo-vendor/cranelift-isle-0.110.2/src/trie_again.rs +695 -0
- data/ext/cargo-vendor/cranelift-native-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.110.2/Cargo.toml +52 -0
- data/ext/cargo-vendor/cranelift-native-0.110.2/src/lib.rs +188 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/Cargo.toml +119 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/code_translator/bounds_checks.rs +731 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/code_translator.rs +3694 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/heap.rs +119 -0
- data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/sections_translator.rs +333 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.23/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.23/Cargo.toml +69 -0
- data/ext/cargo-vendor/termcolor-1.4.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/termcolor-1.4.1/COPYING +3 -0
- data/ext/cargo-vendor/termcolor-1.4.1/Cargo.toml +40 -0
- data/ext/cargo-vendor/termcolor-1.4.1/LICENSE-MIT +21 -0
- data/ext/cargo-vendor/termcolor-1.4.1/README.md +110 -0
- data/ext/cargo-vendor/termcolor-1.4.1/UNLICENSE +24 -0
- data/ext/cargo-vendor/termcolor-1.4.1/rustfmt.toml +2 -0
- data/ext/cargo-vendor/termcolor-1.4.1/src/lib.rs +2572 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/Cargo.toml +234 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/src/tokio/mod.rs +135 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/tests/all/async_.rs +295 -0
- data/ext/cargo-vendor/wasi-common-23.0.2/tests/all/sync.rs +284 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/Cargo.toml +49 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/component/types.rs +771 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/code.rs +3571 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/globals.rs +100 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/imports.rs +143 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/memories.rs +115 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/tables.rs +121 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/types.rs +663 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/lib.rs +218 -0
- data/ext/cargo-vendor/wasm-encoder-0.212.0/src/reencode.rs +1804 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/builder.rs +455 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/exports.rs +124 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/imports.rs +175 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/types.rs +802 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/code.rs +3947 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/elements.rs +222 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/globals.rs +100 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/imports.rs +143 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/memories.rs +115 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/names.rs +298 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/producers.rs +181 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/tables.rs +129 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/lib.rs +218 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/reencode.rs +2002 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/Cargo.lock +669 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/binary_reader.rs +1968 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/features.rs +166 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/lib.rs +814 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/parser.rs +1682 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/operators.rs +453 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/tables.rs +93 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/types.rs +1941 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/resources.rs +234 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/component.rs +3252 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/core.rs +1454 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/operators.rs +4230 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/types.rs +4598 -0
- data/ext/cargo-vendor/wasmparser-0.212.0/src/validator.rs +1632 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/src/lib.rs +3221 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/src/operator.rs +1189 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/src/print.rs +190 -0
- data/ext/cargo-vendor/wasmprinter-0.212.0/tests/all.rs +48 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/Cargo.toml +399 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/build.rs +38 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/compile/code_builder.rs +274 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/compile/runtime.rs +167 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/compile.rs +881 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/config.rs +2902 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/engine/serialization.rs +893 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/engine.rs +719 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/lib.rs +406 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/jitdump.rs +65 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/perfmap.rs +47 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/vtune.rs +80 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent.rs +104 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/code_memory.rs +337 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/bindgen_examples/mod.rs +488 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/component.rs +811 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/host.rs +439 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/options.rs +552 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/typed.rs +2497 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func.rs +688 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/instance.rs +846 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/linker.rs +673 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/matching.rs +216 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/mod.rs +663 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/resources.rs +1132 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/values.rs +979 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/coredump.rs +339 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/debug.rs +165 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/externals/global.rs +310 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/func/typed.rs +788 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/func.rs +2593 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/disabled/rooting.rs +224 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/enabled/externref.rs +591 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/enabled/rooting.rs +1590 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/instance.rs +989 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/instantiate.rs +332 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/limits.rs +398 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/linker.rs +1498 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/memory.rs +1101 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/module/registry.rs +353 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/module.rs +1179 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/profiling.rs +280 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/stack.rs +72 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/store/data.rs +301 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/store.rs +2873 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/func.rs +93 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/memory.rs +295 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/table.rs +28 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline.rs +75 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trap.rs +642 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/types/matching.rs +428 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/types.rs +2771 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/values.rs +966 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/arch/riscv64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component/resources.rs +351 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component.rs +857 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/const_expr.rs +102 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/cow.rs +988 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/enabled/drc.rs +964 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/enabled/free_list.rs +770 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/gc_ref.rs +490 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/gc_runtime.rs +505 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc.rs +244 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/on_demand.rs +219 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +199 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +93 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +78 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +703 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +990 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/table_pool.rs +245 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +279 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling.rs +793 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator.rs +808 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance.rs +1518 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/libcalls.rs +832 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/memory.rs +815 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mmap.rs +217 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mmap_vec.rs +159 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/module_id.rs +19 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/disabled.rs +43 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/enabled.rs +213 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/mod.rs +59 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/sys.rs +113 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/mmap.rs +112 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/mod.rs +34 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/unwind.rs +17 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/vm.rs +105 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/miri/mmap.rs +98 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/miri/unwind.rs +17 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/mmap.rs +159 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/signals.rs +407 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/unwind.rs +149 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/windows/mmap.rs +220 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/windows/unwind.rs +46 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/table.rs +898 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/threads/shared_memory.rs +235 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/threads/shared_memory_disabled.rs +104 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/traphandlers.rs +767 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/vmcontext/vm_host_func_context.rs +79 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/vmcontext.rs +1246 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm.rs +403 -0
- data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime.rs +113 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-23.0.2/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-cache-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-23.0.2/Cargo.toml +103 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/Cargo.toml +106 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/src/bindgen.rs +500 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/codegen.rs +698 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/char.rs +268 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/char_async.rs +291 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/conventions.rs +706 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/conventions_async.rs +757 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/dead-code.rs +194 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/dead-code_async.rs +213 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/direct-import.rs +120 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/direct-import_async.rs +132 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/empty.rs +74 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/empty_async.rs +80 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/flags.rs +743 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/flags_async.rs +791 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/floats.rs +343 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/floats_async.rs +376 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/function-new.rs +94 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/function-new_async.rs +103 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/integers.rs +873 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/integers_async.rs +976 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/lists.rs +1924 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/lists_async.rs +2114 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/many-arguments.rs +614 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/many-arguments_async.rs +638 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multi-return.rs +357 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multi-return_async.rs +391 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multiversion.rs +354 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multiversion_async.rs +379 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/records.rs +940 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/records_async.rs +1008 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/rename.rs +183 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/rename_async.rs +202 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-export.rs +657 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-export_async.rs +712 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-import.rs +1088 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-import_async.rs +1166 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/share-types.rs +315 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/share-types_async.rs +337 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-functions.rs +399 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-functions_async.rs +439 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-lists.rs +427 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-lists_async.rs +464 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-wasi.rs +245 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-wasi_async.rs +264 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/small-anonymous.rs +338 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/small-anonymous_async.rs +356 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-default.rs +94 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-default_async.rs +103 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-export.rs +149 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-export_async.rs +158 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke.rs +133 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke_async.rs +146 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/strings.rs +316 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/strings_async.rs +344 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/unversioned-foo.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/unversioned-foo_async.rs +178 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/use-paths.rs +317 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/use-paths_async.rs +349 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/variants.rs +1896 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/variants_async.rs +2019 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/wat.rs +145 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/wat_async.rs +151 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/worlds-with-types.rs +175 -0
- data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/worlds-with-types_async.rs +191 -0
- data/ext/cargo-vendor/wasmtime-component-util-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-23.0.2/Cargo.toml +35 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/compiler.rs +1029 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/gc.rs +257 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/address_transform.rs +841 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/attr.rs +328 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/expression.rs +1264 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/line_program.rs +287 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/mod.rs +273 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/range_info_builder.rs +234 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/simulate.rs +423 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/unit.rs +520 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/utils.rs +165 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/write_debuginfo.rs +176 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug.rs +178 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/func_environ.rs +2721 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/gc/enabled.rs +648 -0
- data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/lib.rs +458 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/Cargo.lock +792 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/Cargo.toml +185 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/compile/mod.rs +379 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/compile/module_environ.rs +1264 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/dfg.rs +718 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/info.rs +683 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/names.rs +275 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/translate/inline.rs +1333 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/translate.rs +993 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/types.rs +1041 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/types_builder.rs +976 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component.rs +109 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/lib.rs +64 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/module.rs +702 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/stack_map.rs +31 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/tunables.rs +165 -0
- data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/vmoffsets.rs +897 -0
- data/ext/cargo-vendor/wasmtime-fiber-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-23.0.2/Cargo.toml +75 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-23.0.2/Cargo.toml +77 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-23.0.2/Cargo.toml +62 -0
- data/ext/cargo-vendor/wasmtime-slab-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-23.0.2/Cargo.toml +31 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/Cargo.toml +71 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/src/lib.rs +1760 -0
- data/ext/cargo-vendor/wasmtime-types-23.0.2/src/prelude.rs +86 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-23.0.2/Cargo.toml +40 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/Cargo.toml +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/bindings.rs +561 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/filesystem.rs +448 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/host/filesystem.rs +1091 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/host/io.rs +391 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/lib.rs +419 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/preview1.rs +2801 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/stdio.rs +596 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/api.rs +197 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/sync.rs +331 -0
- data/ext/cargo-vendor/wasmtime-winch-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-23.0.2/Cargo.toml +92 -0
- data/ext/cargo-vendor/wasmtime-winch-23.0.2/src/compiler.rs +242 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/src/lib.rs +2777 -0
- data/ext/cargo-vendor/wast-215.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-215.0.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/binary.rs +1014 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/component.rs +320 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/expand.rs +875 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component/resolve.rs +988 -0
- data/ext/cargo-vendor/wast-215.0.0/src/component.rs +28 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/binary/dwarf.rs +610 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/binary/dwarf_disabled.rs +41 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/binary.rs +1542 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/expr.rs +2110 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/memory.rs +279 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/module.rs +215 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/deinline_import_export.rs +232 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/names.rs +791 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/types.rs +270 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/table.rs +308 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core/types.rs +1057 -0
- data/ext/cargo-vendor/wast-215.0.0/src/core.rs +30 -0
- data/ext/cargo-vendor/wast-215.0.0/src/lib.rs +556 -0
- data/ext/cargo-vendor/wast-215.0.0/src/parser.rs +1434 -0
- data/ext/cargo-vendor/wast-215.0.0/src/wat.rs +68 -0
- data/ext/cargo-vendor/wat-1.215.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.215.0/Cargo.toml +56 -0
- data/ext/cargo-vendor/wat-1.215.0/src/lib.rs +469 -0
- data/ext/cargo-vendor/wiggle-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-23.0.2/Cargo.toml +110 -0
- data/ext/cargo-vendor/wiggle-generate-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-23.0.2/Cargo.toml +76 -0
- data/ext/cargo-vendor/wiggle-macro-23.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-23.0.2/Cargo.toml +59 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/COPYING +3 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/Cargo.toml +53 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/LICENSE-MIT +21 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/README.md +64 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/UNLICENSE +24 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/rustfmt.toml +2 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/console.rs +407 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/file.rs +166 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/lib.rs +35 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/sysinfo.rs +161 -0
- data/ext/cargo-vendor/winapi-util-0.1.9/src/win.rs +246 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/Cargo.toml +87 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/src/codegen/env.rs +449 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/src/codegen/mod.rs +878 -0
- data/ext/cargo-vendor/winch-codegen-0.21.2/src/visitor.rs +2154 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/ast/lex.rs +751 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/ast/resolve.rs +1539 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/ast.rs +1851 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/decoding.rs +1798 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/lib.rs +888 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/src/resolve.rs +2740 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/feature-gates.wit.json +308 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package/a.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package/b.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package.wit.json +250 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/deps/dep1/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/deps/dep2/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/packages.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps.wit.json +83 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/deps/dep1/types.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/deps/dep2/types.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/packages.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps.wit.json +116 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-colliding-decl-names.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-colliding-decl-names.wit.json +130 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-internal-references.wit +15 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-internal-references.wit.json +87 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-with-semver.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-with-semver.wit.json +130 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-multiple-explicit.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-multiple-explicit.wit.json +130 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-single-explicit.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-single-explicit.wit.json +70 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-colliding-names.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-colliding-names.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-with-error.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-with-error.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-explicit-then-implicit-package.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-explicit-then-implicit-package.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-implicit-then-explicit-package.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-implicit-then-explicit-package.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter/observe.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter/world.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +9 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-package-inline-cycle.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-package-inline-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit +15 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/since-and-unstable.wit.json +583 -0
- data/ext/src/ruby_api/memory.rs +2 -1
- data/lib/wasmtime/version.rb +1 -1
- metadata +1736 -1643
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/Cargo.toml +0 -41
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/Cargo.toml +0 -193
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/binemit/stack_map.rs +0 -155
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/bitset.rs +0 -187
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/context.rs +0 -384
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/data_value.rs +0 -385
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/dfg.rs +0 -1777
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/globalvalue.rs +0 -147
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/immediates.rs +0 -1612
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/instructions.rs +0 -1020
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/jumptable.rs +0 -168
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/mod.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/trapcode.rs +0 -149
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/types.rs +0 -627
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit.rs +0 -3584
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit_tests.rs +0 -7901
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/mod.rs +0 -3060
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst.isle +0 -4218
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/lower.isle +0 -2933
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/mod.rs +0 -242
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/mod.rs +0 -449
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit.rs +0 -2682
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit_tests.rs +0 -2215
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/mod.rs +0 -1938
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst.isle +0 -3127
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower/isle.rs +0 -649
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower.isle +0 -2923
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/mod.rs +0 -260
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit.rs +0 -3401
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/mod.rs +0 -3401
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/lower.isle +0 -3995
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/mod.rs +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit.rs +0 -4287
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_state.rs +0 -52
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/mod.rs +0 -2821
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst.isle +0 -5289
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/lower.isle +0 -4810
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/mod.rs +0 -234
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isle_prelude.rs +0 -986
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/legalizer/mod.rs +0 -348
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/lib.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/abi.rs +0 -2419
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/buffer.rs +0 -2508
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/helpers.rs +0 -33
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/isle.rs +0 -909
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/lower.rs +0 -1432
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/mod.rs +0 -551
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/vcode.rs +0 -1741
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude.isle +0 -664
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude_lower.isle +0 -1073
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/write.rs +0 -638
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/Cargo.toml +0 -36
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/types.rs +0 -496
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/typevar.rs +0 -980
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/gen_inst.rs +0 -1278
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/shared/instructions.rs +0 -3791
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/shared/types.rs +0 -137
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.109.0/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.109.0/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-entity-0.109.0/src/set.rs +0 -290
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/Cargo.toml +0 -68
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/frontend.rs +0 -1857
- data/ext/cargo-vendor/cranelift-isle-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.109.0/Cargo.toml +0 -47
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/codegen.rs +0 -886
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/parser.rs +0 -562
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/sema.rs +0 -2492
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/trie_again.rs +0 -684
- data/ext/cargo-vendor/cranelift-native-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.109.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-native-0.109.0/src/lib.rs +0 -188
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/Cargo.toml +0 -110
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator/bounds_checks.rs +0 -713
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator.rs +0 -3695
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/heap.rs +0 -116
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/sections_translator.rs +0 -343
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/Cargo.toml +0 -48
- data/ext/cargo-vendor/memoffset-0.9.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/memoffset-0.9.0/Cargo.toml +0 -37
- data/ext/cargo-vendor/memoffset-0.9.0/LICENSE +0 -19
- data/ext/cargo-vendor/memoffset-0.9.0/README.md +0 -85
- data/ext/cargo-vendor/memoffset-0.9.0/build.rs +0 -25
- data/ext/cargo-vendor/memoffset-0.9.0/src/lib.rs +0 -94
- data/ext/cargo-vendor/memoffset-0.9.0/src/offset_of.rs +0 -400
- data/ext/cargo-vendor/memoffset-0.9.0/src/raw_field.rs +0 -226
- data/ext/cargo-vendor/memoffset-0.9.0/src/span_of.rs +0 -263
- data/ext/cargo-vendor/wasi-common-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-22.0.0/Cargo.toml +0 -224
- data/ext/cargo-vendor/wasi-common-22.0.0/src/tokio/mod.rs +0 -137
- data/ext/cargo-vendor/wasi-common-22.0.0/tests/all/async_.rs +0 -293
- data/ext/cargo-vendor/wasi-common-22.0.0/tests/all/sync.rs +0 -279
- data/ext/cargo-vendor/wasm-encoder-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.209.1/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/code.rs +0 -3595
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/exports.rs +0 -98
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/globals.rs +0 -112
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/imports.rs +0 -157
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/memories.rs +0 -128
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/tables.rs +0 -134
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/tags.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/types.rs +0 -678
- data/ext/cargo-vendor/wasm-encoder-0.209.1/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasmparser-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.lock +0 -662
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.toml +0 -109
- data/ext/cargo-vendor/wasmparser-0.209.1/src/binary_reader.rs +0 -1929
- data/ext/cargo-vendor/wasmparser-0.209.1/src/features.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.209.1/src/lib.rs +0 -814
- data/ext/cargo-vendor/wasmparser-0.209.1/src/parser.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/operators.rs +0 -423
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/tables.rs +0 -93
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/types.rs +0 -1788
- data/ext/cargo-vendor/wasmparser-0.209.1/src/resources.rs +0 -235
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/component.rs +0 -3236
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core.rs +0 -1464
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/operators.rs +0 -4231
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/types.rs +0 -4550
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator.rs +0 -1633
- data/ext/cargo-vendor/wasmprinter-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.209.1/Cargo.toml +0 -51
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/lib.rs +0 -3225
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/operator.rs +0 -1171
- data/ext/cargo-vendor/wasmprinter-0.209.1/tests/all.rs +0 -293
- data/ext/cargo-vendor/wasmtime-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-22.0.0/Cargo.toml +0 -387
- data/ext/cargo-vendor/wasmtime-22.0.0/build.rs +0 -42
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/code_builder.rs +0 -275
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/runtime.rs +0 -167
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile.rs +0 -917
- data/ext/cargo-vendor/wasmtime-22.0.0/src/config.rs +0 -2943
- data/ext/cargo-vendor/wasmtime-22.0.0/src/engine/serialization.rs +0 -890
- data/ext/cargo-vendor/wasmtime-22.0.0/src/engine.rs +0 -728
- data/ext/cargo-vendor/wasmtime-22.0.0/src/lib.rs +0 -389
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/jitdump.rs +0 -67
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/perfmap.rs +0 -48
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/vtune.rs +0 -81
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent.rs +0 -106
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code_memory.rs +0 -338
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/mod.rs +0 -489
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/component.rs +0 -656
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/host.rs +0 -440
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/options.rs +0 -555
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/typed.rs +0 -2498
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func.rs +0 -689
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/instance.rs +0 -810
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/linker.rs +0 -854
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/matching.rs +0 -217
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/mod.rs +0 -657
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/resources.rs +0 -1133
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/values.rs +0 -980
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/coredump.rs +0 -342
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/debug.rs +0 -166
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/global.rs +0 -310
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/table.rs +0 -481
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func/typed.rs +0 -780
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func.rs +0 -2564
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/disabled/rooting.rs +0 -224
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/externref.rs +0 -592
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/rooting.rs +0 -1588
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instance.rs +0 -992
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instantiate.rs +0 -337
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/limits.rs +0 -399
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/linker.rs +0 -1499
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/memory.rs +0 -998
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module/registry.rs +0 -353
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module.rs +0 -1322
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/profiling.rs +0 -221
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/stack.rs +0 -73
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store/data.rs +0 -301
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store.rs +0 -2824
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/func.rs +0 -94
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/memory.rs +0 -287
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/table.rs +0 -29
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline.rs +0 -78
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trap.rs +0 -642
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types/matching.rs +0 -421
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types.rs +0 -2580
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/values.rs +0 -966
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/arch/riscv64.rs +0 -41
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/libcalls.rs +0 -571
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/resources.rs +0 -352
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component.rs +0 -857
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/const_expr.rs +0 -102
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/cow.rs +0 -972
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/disabled.rs +0 -24
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/enabled/drc.rs +0 -968
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/enabled/free_list.rs +0 -771
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_ref.rs +0 -491
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_runtime.rs +0 -506
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc.rs +0 -245
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/on_demand.rs +0 -220
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +0 -194
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -94
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -78
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -707
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -975
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -245
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -278
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling.rs +0 -794
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator.rs +0 -801
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance.rs +0 -1514
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/libcalls.rs +0 -834
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/memory.rs +0 -736
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mmap.rs +0 -220
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mmap_vec.rs +0 -162
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/module_id.rs +0 -43
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/disabled.rs +0 -43
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/enabled.rs +0 -214
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/mod.rs +0 -54
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/sys.rs +0 -114
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/mmap.rs +0 -112
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/mod.rs +0 -34
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/unwind.rs +0 -17
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/vm.rs +0 -105
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/mmap.rs +0 -95
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/unwind.rs +0 -17
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/mmap.rs +0 -162
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/signals.rs +0 -407
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/unwind.rs +0 -150
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/mmap.rs +0 -221
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/unwind.rs +0 -46
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/table.rs +0 -899
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/threads/shared_memory.rs +0 -233
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/threads/shared_memory_disabled.rs +0 -101
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/traphandlers.rs +0 -768
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -79
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext.rs +0 -1302
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm.rs +0 -277
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime.rs +0 -113
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/Cargo.toml +0 -89
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/Cargo.toml +0 -86
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/bindgen.rs +0 -493
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen.rs +0 -651
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char.rs +0 -198
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char_async.rs +0 -215
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions.rs +0 -586
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions_async.rs +0 -631
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code.rs +0 -165
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code_async.rs +0 -178
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import.rs +0 -91
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import_async.rs +0 -97
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty.rs +0 -45
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty_async.rs +0 -45
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags.rs +0 -637
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags_async.rs +0 -679
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats.rs +0 -255
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats_async.rs +0 -282
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new.rs +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new_async.rs +0 -62
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers.rs +0 -722
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers_async.rs +0 -819
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists.rs +0 -1743
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists_async.rs +0 -1927
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments.rs +0 -543
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments_async.rs +0 -561
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return.rs +0 -270
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return_async.rs +0 -298
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion.rs +0 -251
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion_async.rs +0 -270
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records.rs +0 -815
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records_async.rs +0 -877
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename.rs +0 -154
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename_async.rs +0 -167
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export.rs +0 -467
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export_async.rs +0 -516
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import.rs +0 -1014
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import_async.rs +0 -1086
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types.rs +0 -249
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types_async.rs +0 -265
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions.rs +0 -313
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions_async.rs +0 -347
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists.rs +0 -350
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists_async.rs +0 -381
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi.rs +0 -216
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi_async.rs +0 -229
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous.rs +0 -275
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous_async.rs +0 -287
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default.rs +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default_async.rs +0 -62
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export.rs +0 -86
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export_async.rs +0 -89
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke.rs +0 -104
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke_async.rs +0 -111
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings.rs +0 -247
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings_async.rs +0 -269
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo.rs +0 -136
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo_async.rs +0 -143
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths.rs +0 -288
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths_async.rs +0 -314
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants.rs +0 -1750
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants_async.rs +0 -1867
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat.rs +0 -84
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat_async.rs +0 -84
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types.rs +0 -138
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types_async.rs +0 -148
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/Cargo.toml +0 -115
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler.rs +0 -1067
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/gc.rs +0 -252
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/address_transform.rs +0 -783
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/attr.rs +0 -320
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/expression.rs +0 -1248
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/line_program.rs +0 -287
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/mod.rs +0 -256
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/range_info_builder.rs +0 -221
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/unit.rs +0 -529
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/utils.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/write_debuginfo.rs +0 -196
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug.rs +0 -18
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/func_environ.rs +0 -2910
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/gc/enabled.rs +0 -648
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/lib.rs +0 -462
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.lock +0 -774
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.toml +0 -161
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/mod.rs +0 -374
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_environ.rs +0 -1348
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/dfg.rs +0 -691
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/info.rs +0 -672
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate/inline.rs +0 -1332
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate.rs +0 -985
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types.rs +0 -1038
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder.rs +0 -1004
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component.rs +0 -107
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/lib.rs +0 -151
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module.rs +0 -704
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/stack_map.rs +0 -37
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/tunables.rs +0 -175
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/vmoffsets.rs +0 -989
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/Cargo.toml +0 -65
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/Cargo.toml +0 -68
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/Cargo.toml +0 -52
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-types-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-22.0.0/Cargo.toml +0 -56
- data/ext/cargo-vendor/wasmtime-types-22.0.0/src/lib.rs +0 -1737
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/Cargo.toml +0 -201
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/bindings.rs +0 -289
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/filesystem.rs +0 -446
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem.rs +0 -1091
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/io.rs +0 -388
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/lib.rs +0 -417
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview1.rs +0 -2801
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/stdio.rs +0 -533
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/api.rs +0 -198
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/async_.rs +0 -397
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/sync.rs +0 -331
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/Cargo.toml +0 -82
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/src/compiler.rs +0 -239
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/Cargo.toml +0 -47
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/lib.rs +0 -2639
- data/ext/cargo-vendor/wast-209.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-209.0.1/Cargo.toml +0 -60
- data/ext/cargo-vendor/wast-209.0.1/src/component/binary.rs +0 -1000
- data/ext/cargo-vendor/wast-209.0.1/src/component/component.rs +0 -321
- data/ext/cargo-vendor/wast-209.0.1/src/component/expand.rs +0 -875
- data/ext/cargo-vendor/wast-209.0.1/src/component/resolve.rs +0 -999
- data/ext/cargo-vendor/wast-209.0.1/src/component.rs +0 -28
- data/ext/cargo-vendor/wast-209.0.1/src/core/binary.rs +0 -1396
- data/ext/cargo-vendor/wast-209.0.1/src/core/expr.rs +0 -2016
- data/ext/cargo-vendor/wast-209.0.1/src/core/memory.rs +0 -284
- data/ext/cargo-vendor/wast-209.0.1/src/core/module.rs +0 -218
- data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/deinline_import_export.rs +0 -235
- data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/names.rs +0 -751
- data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/types.rs +0 -267
- data/ext/cargo-vendor/wast-209.0.1/src/core/table.rs +0 -302
- data/ext/cargo-vendor/wast-209.0.1/src/core/types.rs +0 -901
- data/ext/cargo-vendor/wast-209.0.1/src/core.rs +0 -29
- data/ext/cargo-vendor/wast-209.0.1/src/lib.rs +0 -551
- data/ext/cargo-vendor/wast-209.0.1/src/parser.rs +0 -1414
- data/ext/cargo-vendor/wast-209.0.1/src/wat.rs +0 -71
- data/ext/cargo-vendor/wat-1.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.209.1/Cargo.toml +0 -34
- data/ext/cargo-vendor/wat-1.209.1/src/lib.rs +0 -401
- data/ext/cargo-vendor/wiggle-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-22.0.0/Cargo.toml +0 -124
- data/ext/cargo-vendor/wiggle-generate-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-22.0.0/Cargo.toml +0 -67
- data/ext/cargo-vendor/wiggle-generate-22.0.0/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-macro-22.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-22.0.0/Cargo.toml +0 -51
- data/ext/cargo-vendor/wiggle-macro-22.0.0/LICENSE +0 -220
- data/ext/cargo-vendor/winch-codegen-0.20.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.20.0/Cargo.toml +0 -77
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/env.rs +0 -448
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/mod.rs +0 -882
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/visitor.rs +0 -2149
- data/ext/cargo-vendor/wit-parser-0.209.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.209.1/Cargo.toml +0 -112
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/lex.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/resolve.rs +0 -1524
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast.rs +0 -1668
- data/ext/cargo-vendor/wit-parser-0.209.1/src/decoding.rs +0 -1795
- data/ext/cargo-vendor/wit-parser-0.209.1/src/lib.rs +0 -873
- data/ext/cargo-vendor/wit-parser-0.209.1/src/resolve.rs +0 -2498
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit.json +0 -288
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit.json +0 -549
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/encode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/spectre.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ranges.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/traversals.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/verifier/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/disjointsets.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/stablemapset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/dummy.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/spec.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/func_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/hash.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map/detail.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/reloc.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/core/canonical.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.209.1 → wasmprinter-0.212.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.209.1 → wasmprinter-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_0_hello_world.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_1_world_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_2_world_exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_3_interface_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_4_imported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_6_exported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/anyref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled/anyref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/noextern.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/type_registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/v128.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/async_yield.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/host_data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/custom/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/machports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/threads/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/threads/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/sync_nostd.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/sync_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-22.0.0 → wasmtime-asm-macros-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/dead-code.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen_no_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/expanded.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-22.0.0 → wasmtime-component-util-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/types_builder/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-slab-22.0.0 → wasmtime-slab-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-22.0.0 → wasmtime-types-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-22.0.0 → wasmtime-types-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-22.0.0 → wasmtime-versioned-export-macros-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/preview0.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/all/preview1.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/token.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/annotations.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail.rs +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.209.1 → wat-1.215.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-209.0.1 → wiggle-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.209.1 → wiggle-generate-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-macro-23.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-22.0.0 → wiggle-macro-23.0.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-22.0.0 → wiggle-macro-23.0.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/abi/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/bounds.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/context.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/metadata.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/serde_.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/feature-gates.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/functions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/since-and-unstable.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,2497 @@
|
|
1
|
+
use crate::component::func::{Func, LiftContext, LowerContext, Options};
|
2
|
+
use crate::component::matching::InstanceType;
|
3
|
+
use crate::component::storage::{storage_as_slice, storage_as_slice_mut};
|
4
|
+
use crate::prelude::*;
|
5
|
+
use crate::runtime::vm::component::ComponentInstance;
|
6
|
+
use crate::runtime::vm::SendSyncPtr;
|
7
|
+
use crate::{AsContextMut, StoreContext, StoreContextMut, ValRaw};
|
8
|
+
use alloc::borrow::Cow;
|
9
|
+
use alloc::sync::Arc;
|
10
|
+
use core::fmt;
|
11
|
+
use core::marker;
|
12
|
+
use core::mem::{self, MaybeUninit};
|
13
|
+
use core::ptr::NonNull;
|
14
|
+
use core::str;
|
15
|
+
use wasmtime_environ::component::{
|
16
|
+
CanonicalAbiInfo, ComponentTypes, InterfaceType, StringEncoding, VariantInfo, MAX_FLAT_PARAMS,
|
17
|
+
MAX_FLAT_RESULTS,
|
18
|
+
};
|
19
|
+
|
20
|
+
/// A statically-typed version of [`Func`] which takes `Params` as input and
|
21
|
+
/// returns `Return`.
|
22
|
+
///
|
23
|
+
/// This is an efficient way to invoke a WebAssembly component where if the
|
24
|
+
/// inputs and output are statically known this can eschew the vast majority of
|
25
|
+
/// machinery and checks when calling WebAssembly. This is the most optimized
|
26
|
+
/// way to call a WebAssembly component.
|
27
|
+
///
|
28
|
+
/// Note that like [`Func`] this is a pointer within a [`Store`](crate::Store)
|
29
|
+
/// and usage will panic if used with the wrong store.
|
30
|
+
///
|
31
|
+
/// This type is primarily created with the [`Func::typed`] API.
|
32
|
+
///
|
33
|
+
/// See [`ComponentType`] for more information about supported types.
|
34
|
+
pub struct TypedFunc<Params, Return> {
|
35
|
+
func: Func,
|
36
|
+
|
37
|
+
// The definition of this field is somewhat subtle and may be surprising.
|
38
|
+
// Naively one might expect something like
|
39
|
+
//
|
40
|
+
// _marker: marker::PhantomData<fn(Params) -> Return>,
|
41
|
+
//
|
42
|
+
// Since this is a function pointer after all. The problem with this
|
43
|
+
// definition though is that it imposes the wrong variance on `Params` from
|
44
|
+
// what we want. Abstractly a `fn(Params)` is able to store `Params` within
|
45
|
+
// it meaning you can only give it `Params` that live longer than the
|
46
|
+
// function pointer.
|
47
|
+
//
|
48
|
+
// With a component model function, however, we're always copying data from
|
49
|
+
// the host into the guest, so we are never storing pointers to `Params`
|
50
|
+
// into the guest outside the duration of a `call`, meaning we can actually
|
51
|
+
// accept values in `TypedFunc::call` which live for a shorter duration
|
52
|
+
// than the `Params` argument on the struct.
|
53
|
+
//
|
54
|
+
// This all means that we don't use a phantom function pointer, but instead
|
55
|
+
// feign phantom storage here to get the variance desired.
|
56
|
+
_marker: marker::PhantomData<(Params, Return)>,
|
57
|
+
}
|
58
|
+
|
59
|
+
impl<Params, Return> Copy for TypedFunc<Params, Return> {}
|
60
|
+
|
61
|
+
impl<Params, Return> Clone for TypedFunc<Params, Return> {
|
62
|
+
fn clone(&self) -> TypedFunc<Params, Return> {
|
63
|
+
*self
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
impl<Params, Return> TypedFunc<Params, Return>
|
68
|
+
where
|
69
|
+
Params: ComponentNamedList + Lower,
|
70
|
+
Return: ComponentNamedList + Lift,
|
71
|
+
{
|
72
|
+
/// Creates a new [`TypedFunc`] from the provided component [`Func`],
|
73
|
+
/// unsafely asserting that the underlying function takes `Params` as
|
74
|
+
/// input and returns `Return`.
|
75
|
+
///
|
76
|
+
/// # Unsafety
|
77
|
+
///
|
78
|
+
/// This is an unsafe function because it does not verify that the [`Func`]
|
79
|
+
/// provided actually implements this signature. It's up to the caller to
|
80
|
+
/// have performed some other sort of check to ensure that the signature is
|
81
|
+
/// correct.
|
82
|
+
pub unsafe fn new_unchecked(func: Func) -> TypedFunc<Params, Return> {
|
83
|
+
TypedFunc {
|
84
|
+
_marker: marker::PhantomData,
|
85
|
+
func,
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
/// Returns the underlying un-typed [`Func`] that this [`TypedFunc`]
|
90
|
+
/// references.
|
91
|
+
pub fn func(&self) -> &Func {
|
92
|
+
&self.func
|
93
|
+
}
|
94
|
+
|
95
|
+
/// Calls the underlying WebAssembly component function using the provided
|
96
|
+
/// `params` as input.
|
97
|
+
///
|
98
|
+
/// This method is used to enter into a component. Execution happens within
|
99
|
+
/// the `store` provided. The `params` are copied into WebAssembly memory
|
100
|
+
/// as appropriate and a core wasm function is invoked.
|
101
|
+
///
|
102
|
+
/// # Post-return
|
103
|
+
///
|
104
|
+
/// In the component model each function can have a "post return" specified
|
105
|
+
/// which allows cleaning up the arguments returned to the host. For example
|
106
|
+
/// if WebAssembly returns a string to the host then it might be a uniquely
|
107
|
+
/// allocated string which, after the host finishes processing it, needs to
|
108
|
+
/// be deallocated in the wasm instance's own linear memory to prevent
|
109
|
+
/// memory leaks in wasm itself. The `post-return` canonical abi option is
|
110
|
+
/// used to configured this.
|
111
|
+
///
|
112
|
+
/// To accommodate this feature of the component model after invoking a
|
113
|
+
/// function via [`TypedFunc::call`] you must next invoke
|
114
|
+
/// [`TypedFunc::post_return`]. Note that the return value of the function
|
115
|
+
/// should be processed between these two function calls. The return value
|
116
|
+
/// continues to be usable from an embedder's perspective after
|
117
|
+
/// `post_return` is called, but after `post_return` is invoked it may no
|
118
|
+
/// longer retain the same value that the wasm module originally returned.
|
119
|
+
///
|
120
|
+
/// Also note that [`TypedFunc::post_return`] must be invoked irrespective
|
121
|
+
/// of whether the canonical ABI option `post-return` was configured or not.
|
122
|
+
/// This means that embedders must unconditionally call
|
123
|
+
/// [`TypedFunc::post_return`] when a function returns. If this function
|
124
|
+
/// call returns an error, however, then [`TypedFunc::post_return`] is not
|
125
|
+
/// required.
|
126
|
+
///
|
127
|
+
/// # Errors
|
128
|
+
///
|
129
|
+
/// This function can return an error for a number of reasons:
|
130
|
+
///
|
131
|
+
/// * If the wasm itself traps during execution.
|
132
|
+
/// * If the wasm traps while copying arguments into memory.
|
133
|
+
/// * If the wasm provides bad allocation pointers when copying arguments
|
134
|
+
/// into memory.
|
135
|
+
/// * If the wasm returns a value which violates the canonical ABI.
|
136
|
+
/// * If this function's instances cannot be entered, for example if the
|
137
|
+
/// instance is currently calling a host function.
|
138
|
+
/// * If a previous function call occurred and the corresponding
|
139
|
+
/// `post_return` hasn't been invoked yet.
|
140
|
+
///
|
141
|
+
/// In general there are many ways that things could go wrong when copying
|
142
|
+
/// types in and out of a wasm module with the canonical ABI, and certain
|
143
|
+
/// error conditions are specific to certain types. For example a
|
144
|
+
/// WebAssembly module can't return an invalid `char`. When allocating space
|
145
|
+
/// for this host to copy a string into the returned pointer must be
|
146
|
+
/// in-bounds in memory.
|
147
|
+
///
|
148
|
+
/// If an error happens then the error should contain detailed enough
|
149
|
+
/// information to understand which part of the canonical ABI went wrong
|
150
|
+
/// and what to inspect.
|
151
|
+
///
|
152
|
+
/// # Panics
|
153
|
+
///
|
154
|
+
/// Panics if this is called on a function in an asynchronous store. This
|
155
|
+
/// only works with functions defined within a synchonous store. Also
|
156
|
+
/// panics if `store` does not own this function.
|
157
|
+
pub fn call(&self, store: impl AsContextMut, params: Params) -> Result<Return> {
|
158
|
+
assert!(
|
159
|
+
!store.as_context().async_support(),
|
160
|
+
"must use `call_async` when async support is enabled on the config"
|
161
|
+
);
|
162
|
+
self.call_impl(store, params)
|
163
|
+
}
|
164
|
+
|
165
|
+
/// Exactly like [`Self::call`], except for use on asynchronous stores.
|
166
|
+
///
|
167
|
+
/// # Panics
|
168
|
+
///
|
169
|
+
/// Panics if this is called on a function in a synchronous store. This
|
170
|
+
/// only works with functions defined within an asynchronous store. Also
|
171
|
+
/// panics if `store` does not own this function.
|
172
|
+
#[cfg(feature = "async")]
|
173
|
+
pub async fn call_async<T>(
|
174
|
+
&self,
|
175
|
+
mut store: impl AsContextMut<Data = T>,
|
176
|
+
params: Params,
|
177
|
+
) -> Result<Return>
|
178
|
+
where
|
179
|
+
T: Send,
|
180
|
+
Params: Send + Sync,
|
181
|
+
Return: Send + Sync,
|
182
|
+
{
|
183
|
+
let mut store = store.as_context_mut();
|
184
|
+
assert!(
|
185
|
+
store.0.async_support(),
|
186
|
+
"cannot use `call_async` when async support is not enabled on the config"
|
187
|
+
);
|
188
|
+
store
|
189
|
+
.on_fiber(|store| self.call_impl(store, params))
|
190
|
+
.await?
|
191
|
+
}
|
192
|
+
|
193
|
+
fn call_impl(&self, mut store: impl AsContextMut, params: Params) -> Result<Return> {
|
194
|
+
let store = &mut store.as_context_mut();
|
195
|
+
// Note that this is in theory simpler than it might read at this time.
|
196
|
+
// Here we're doing a runtime dispatch on the `flatten_count` for the
|
197
|
+
// params/results to see whether they're inbounds. This creates 4 cases
|
198
|
+
// to handle. In reality this is a highly optimizable branch where LLVM
|
199
|
+
// will easily figure out that only one branch here is taken.
|
200
|
+
//
|
201
|
+
// Otherwise this current construction is done to ensure that the stack
|
202
|
+
// space reserved for the params/results is always of the appropriate
|
203
|
+
// size (as the params/results needed differ depending on the "flatten"
|
204
|
+
// count)
|
205
|
+
if Params::flatten_count() <= MAX_FLAT_PARAMS {
|
206
|
+
if Return::flatten_count() <= MAX_FLAT_RESULTS {
|
207
|
+
self.func.call_raw(
|
208
|
+
store,
|
209
|
+
¶ms,
|
210
|
+
Self::lower_stack_args,
|
211
|
+
Self::lift_stack_result,
|
212
|
+
)
|
213
|
+
} else {
|
214
|
+
self.func.call_raw(
|
215
|
+
store,
|
216
|
+
¶ms,
|
217
|
+
Self::lower_stack_args,
|
218
|
+
Self::lift_heap_result,
|
219
|
+
)
|
220
|
+
}
|
221
|
+
} else {
|
222
|
+
if Return::flatten_count() <= MAX_FLAT_RESULTS {
|
223
|
+
self.func.call_raw(
|
224
|
+
store,
|
225
|
+
¶ms,
|
226
|
+
Self::lower_heap_args,
|
227
|
+
Self::lift_stack_result,
|
228
|
+
)
|
229
|
+
} else {
|
230
|
+
self.func.call_raw(
|
231
|
+
store,
|
232
|
+
¶ms,
|
233
|
+
Self::lower_heap_args,
|
234
|
+
Self::lift_heap_result,
|
235
|
+
)
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
/// Lower parameters directly onto the stack specified by the `dst`
|
241
|
+
/// location.
|
242
|
+
///
|
243
|
+
/// This is only valid to call when the "flatten count" is small enough, or
|
244
|
+
/// when the canonical ABI says arguments go through the stack rather than
|
245
|
+
/// the heap.
|
246
|
+
fn lower_stack_args<T>(
|
247
|
+
cx: &mut LowerContext<'_, T>,
|
248
|
+
params: &Params,
|
249
|
+
ty: InterfaceType,
|
250
|
+
dst: &mut MaybeUninit<Params::Lower>,
|
251
|
+
) -> Result<()> {
|
252
|
+
assert!(Params::flatten_count() <= MAX_FLAT_PARAMS);
|
253
|
+
params.lower(cx, ty, dst)?;
|
254
|
+
Ok(())
|
255
|
+
}
|
256
|
+
|
257
|
+
/// Lower parameters onto a heap-allocated location.
|
258
|
+
///
|
259
|
+
/// This is used when the stack space to be used for the arguments is above
|
260
|
+
/// the `MAX_FLAT_PARAMS` threshold. Here the wasm's `realloc` function is
|
261
|
+
/// invoked to allocate space and then parameters are stored at that heap
|
262
|
+
/// pointer location.
|
263
|
+
fn lower_heap_args<T>(
|
264
|
+
cx: &mut LowerContext<'_, T>,
|
265
|
+
params: &Params,
|
266
|
+
ty: InterfaceType,
|
267
|
+
dst: &mut MaybeUninit<ValRaw>,
|
268
|
+
) -> Result<()> {
|
269
|
+
assert!(Params::flatten_count() > MAX_FLAT_PARAMS);
|
270
|
+
|
271
|
+
// Memory must exist via validation if the arguments are stored on the
|
272
|
+
// heap, so we can create a `MemoryMut` at this point. Afterwards
|
273
|
+
// `realloc` is used to allocate space for all the arguments and then
|
274
|
+
// they're all stored in linear memory.
|
275
|
+
//
|
276
|
+
// Note that `realloc` will bake in a check that the returned pointer is
|
277
|
+
// in-bounds.
|
278
|
+
let ptr = cx.realloc(0, 0, Params::ALIGN32, Params::SIZE32)?;
|
279
|
+
params.store(cx, ty, ptr)?;
|
280
|
+
|
281
|
+
// Note that the pointer here is stored as a 64-bit integer. This allows
|
282
|
+
// this to work with either 32 or 64-bit memories. For a 32-bit memory
|
283
|
+
// it'll just ignore the upper 32 zero bits, and for 64-bit memories
|
284
|
+
// this'll have the full 64-bits. Note that for 32-bit memories the call
|
285
|
+
// to `realloc` above guarantees that the `ptr` is in-bounds meaning
|
286
|
+
// that we will know that the zero-extended upper bits of `ptr` are
|
287
|
+
// guaranteed to be zero.
|
288
|
+
//
|
289
|
+
// This comment about 64-bit integers is also referred to below with
|
290
|
+
// "WRITEPTR64".
|
291
|
+
dst.write(ValRaw::i64(ptr as i64));
|
292
|
+
|
293
|
+
Ok(())
|
294
|
+
}
|
295
|
+
|
296
|
+
/// Lift the result of a function directly from the stack result.
|
297
|
+
///
|
298
|
+
/// This is only used when the result fits in the maximum number of stack
|
299
|
+
/// slots.
|
300
|
+
fn lift_stack_result(
|
301
|
+
cx: &mut LiftContext<'_>,
|
302
|
+
ty: InterfaceType,
|
303
|
+
dst: &Return::Lower,
|
304
|
+
) -> Result<Return> {
|
305
|
+
assert!(Return::flatten_count() <= MAX_FLAT_RESULTS);
|
306
|
+
Return::lift(cx, ty, dst)
|
307
|
+
}
|
308
|
+
|
309
|
+
/// Lift the result of a function where the result is stored indirectly on
|
310
|
+
/// the heap.
|
311
|
+
fn lift_heap_result(
|
312
|
+
cx: &mut LiftContext<'_>,
|
313
|
+
ty: InterfaceType,
|
314
|
+
dst: &ValRaw,
|
315
|
+
) -> Result<Return> {
|
316
|
+
assert!(Return::flatten_count() > MAX_FLAT_RESULTS);
|
317
|
+
// FIXME: needs to read an i64 for memory64
|
318
|
+
let ptr = usize::try_from(dst.get_u32()).err2anyhow()?;
|
319
|
+
if ptr % usize::try_from(Return::ALIGN32).err2anyhow()? != 0 {
|
320
|
+
bail!("return pointer not aligned");
|
321
|
+
}
|
322
|
+
|
323
|
+
let bytes = cx
|
324
|
+
.memory()
|
325
|
+
.get(ptr..)
|
326
|
+
.and_then(|b| b.get(..Return::SIZE32))
|
327
|
+
.ok_or_else(|| anyhow::anyhow!("pointer out of bounds of memory"))?;
|
328
|
+
Return::load(cx, ty, bytes)
|
329
|
+
}
|
330
|
+
|
331
|
+
/// See [`Func::post_return`]
|
332
|
+
pub fn post_return(&self, store: impl AsContextMut) -> Result<()> {
|
333
|
+
self.func.post_return(store)
|
334
|
+
}
|
335
|
+
|
336
|
+
/// See [`Func::post_return_async`]
|
337
|
+
#[cfg(feature = "async")]
|
338
|
+
pub async fn post_return_async<T: Send>(
|
339
|
+
&self,
|
340
|
+
store: impl AsContextMut<Data = T>,
|
341
|
+
) -> Result<()> {
|
342
|
+
self.func.post_return_async(store).await
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
/// A trait representing a static list of named types that can be passed to or
|
347
|
+
/// returned from a [`TypedFunc`].
|
348
|
+
///
|
349
|
+
/// This trait is implemented for a number of tuple types and is not expected
|
350
|
+
/// to be implemented externally. The contents of this trait are hidden as it's
|
351
|
+
/// intended to be an implementation detail of Wasmtime. The contents of this
|
352
|
+
/// trait are not covered by Wasmtime's stability guarantees.
|
353
|
+
///
|
354
|
+
/// For more information about this trait see [`Func::typed`] and
|
355
|
+
/// [`TypedFunc`].
|
356
|
+
//
|
357
|
+
// Note that this is an `unsafe` trait, and the unsafety means that
|
358
|
+
// implementations of this trait must be correct or otherwise [`TypedFunc`]
|
359
|
+
// would not be memory safe. The main reason this is `unsafe` is the
|
360
|
+
// `typecheck` function which must operate correctly relative to the `AsTuple`
|
361
|
+
// interpretation of the implementor.
|
362
|
+
pub unsafe trait ComponentNamedList: ComponentType {}
|
363
|
+
|
364
|
+
/// A trait representing types which can be passed to and read from components
|
365
|
+
/// with the canonical ABI.
|
366
|
+
///
|
367
|
+
/// This trait is implemented for Rust types which can be communicated to
|
368
|
+
/// components. The [`Func::typed`] and [`TypedFunc`] Rust items are the main
|
369
|
+
/// consumers of this trait.
|
370
|
+
///
|
371
|
+
/// Supported Rust types include:
|
372
|
+
///
|
373
|
+
/// | Component Model Type | Rust Type |
|
374
|
+
/// |-----------------------------------|--------------------------------------|
|
375
|
+
/// | `{s,u}{8,16,32,64}` | `{i,u}{8,16,32,64}` |
|
376
|
+
/// | `f{32,64}` | `f{32,64}` |
|
377
|
+
/// | `bool` | `bool` |
|
378
|
+
/// | `char` | `char` |
|
379
|
+
/// | `tuple<A, B>` | `(A, B)` |
|
380
|
+
/// | `option<T>` | `Option<T>` |
|
381
|
+
/// | `result` | `Result<(), ()>` |
|
382
|
+
/// | `result<T>` | `Result<T, ()>` |
|
383
|
+
/// | `result<_, E>` | `Result<(), E>` |
|
384
|
+
/// | `result<T, E>` | `Result<T, E>` |
|
385
|
+
/// | `string` | `String`, `&str`, or [`WasmStr`] |
|
386
|
+
/// | `list<T>` | `Vec<T>`, `&[T]`, or [`WasmList`] |
|
387
|
+
/// | `own<T>`, `borrow<T>` | [`Resource<T>`] or [`ResourceAny`] |
|
388
|
+
/// | `record` | [`#[derive(ComponentType)]`][d-cm] |
|
389
|
+
/// | `variant` | [`#[derive(ComponentType)]`][d-cm] |
|
390
|
+
/// | `enum` | [`#[derive(ComponentType)]`][d-cm] |
|
391
|
+
/// | `flags` | [`flags!`][f-m] |
|
392
|
+
///
|
393
|
+
/// [`Resource<T>`]: crate::component::Resource
|
394
|
+
/// [`ResourceAny`]: crate::component::ResourceAny
|
395
|
+
/// [d-cm]: macro@crate::component::ComponentType
|
396
|
+
/// [f-m]: crate::component::flags
|
397
|
+
///
|
398
|
+
/// Rust standard library pointers such as `&T`, `Box<T>`, `Rc<T>`, and `Arc<T>`
|
399
|
+
/// additionally represent whatever type `T` represents in the component model.
|
400
|
+
/// Note that types such as `record`, `variant`, `enum`, and `flags` are
|
401
|
+
/// generated by the embedder at compile time. These macros derive
|
402
|
+
/// implementation of this trait for custom types to map to custom types in the
|
403
|
+
/// component model. Note that for `record`, `variant`, `enum`, and `flags`
|
404
|
+
/// those types are often generated by the
|
405
|
+
/// [`bindgen!`](crate::component::bindgen) macro from WIT definitions.
|
406
|
+
///
|
407
|
+
/// Types that implement [`ComponentType`] are used for `Params` and `Return`
|
408
|
+
/// in [`TypedFunc`] and [`Func::typed`].
|
409
|
+
///
|
410
|
+
/// The contents of this trait are hidden as it's intended to be an
|
411
|
+
/// implementation detail of Wasmtime. The contents of this trait are not
|
412
|
+
/// covered by Wasmtime's stability guarantees.
|
413
|
+
//
|
414
|
+
// Note that this is an `unsafe` trait as `TypedFunc`'s safety heavily relies on
|
415
|
+
// the correctness of the implementations of this trait. Some ways in which this
|
416
|
+
// trait must be correct to be safe are:
|
417
|
+
//
|
418
|
+
// * The `Lower` associated type must be a `ValRaw` sequence. It doesn't have to
|
419
|
+
// literally be `[ValRaw; N]` but when laid out in memory it must be adjacent
|
420
|
+
// `ValRaw` values and have a multiple of the size of `ValRaw` and the same
|
421
|
+
// alignment.
|
422
|
+
//
|
423
|
+
// * The `lower` function must initialize the bits within `Lower` that are going
|
424
|
+
// to be read by the trampoline that's used to enter core wasm. A trampoline
|
425
|
+
// is passed `*mut Lower` and will read the canonical abi arguments in
|
426
|
+
// sequence, so all of the bits must be correctly initialized.
|
427
|
+
//
|
428
|
+
// * The `size` and `align` functions must be correct for this value stored in
|
429
|
+
// the canonical ABI. The `Cursor<T>` iteration of these bytes rely on this
|
430
|
+
// for correctness as they otherwise eschew bounds-checking.
|
431
|
+
//
|
432
|
+
// There are likely some other correctness issues which aren't documented as
|
433
|
+
// well, this isn't intended to be an exhaustive list. It suffices to say,
|
434
|
+
// though, that correctness bugs in this trait implementation are highly likely
|
435
|
+
// to lead to security bugs, which again leads to the `unsafe` in the trait.
|
436
|
+
//
|
437
|
+
// Also note that this trait specifically is not sealed because we have a proc
|
438
|
+
// macro that generates implementations of this trait for external types in a
|
439
|
+
// `#[derive]`-like fashion.
|
440
|
+
pub unsafe trait ComponentType {
|
441
|
+
/// Representation of the "lowered" form of this component value.
|
442
|
+
///
|
443
|
+
/// Lowerings lower into core wasm values which are represented by `ValRaw`.
|
444
|
+
/// This `Lower` type must be a list of `ValRaw` as either a literal array
|
445
|
+
/// or a struct where every field is a `ValRaw`. This must be `Copy` (as
|
446
|
+
/// `ValRaw` is `Copy`) and support all byte patterns. This being correct is
|
447
|
+
/// one reason why the trait is unsafe.
|
448
|
+
#[doc(hidden)]
|
449
|
+
type Lower: Copy;
|
450
|
+
|
451
|
+
/// The information about this type's canonical ABI (size/align/etc).
|
452
|
+
#[doc(hidden)]
|
453
|
+
const ABI: CanonicalAbiInfo;
|
454
|
+
|
455
|
+
#[doc(hidden)]
|
456
|
+
const SIZE32: usize = Self::ABI.size32 as usize;
|
457
|
+
#[doc(hidden)]
|
458
|
+
const ALIGN32: u32 = Self::ABI.align32;
|
459
|
+
|
460
|
+
#[doc(hidden)]
|
461
|
+
const IS_RUST_UNIT_TYPE: bool = false;
|
462
|
+
|
463
|
+
/// Returns the number of core wasm abi values will be used to represent
|
464
|
+
/// this type in its lowered form.
|
465
|
+
///
|
466
|
+
/// This divides the size of `Self::Lower` by the size of `ValRaw`.
|
467
|
+
#[doc(hidden)]
|
468
|
+
fn flatten_count() -> usize {
|
469
|
+
assert!(mem::size_of::<Self::Lower>() % mem::size_of::<ValRaw>() == 0);
|
470
|
+
assert!(mem::align_of::<Self::Lower>() == mem::align_of::<ValRaw>());
|
471
|
+
mem::size_of::<Self::Lower>() / mem::size_of::<ValRaw>()
|
472
|
+
}
|
473
|
+
|
474
|
+
/// Performs a type-check to see whether this component value type matches
|
475
|
+
/// the interface type `ty` provided.
|
476
|
+
#[doc(hidden)]
|
477
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()>;
|
478
|
+
}
|
479
|
+
|
480
|
+
#[doc(hidden)]
|
481
|
+
pub unsafe trait ComponentVariant: ComponentType {
|
482
|
+
const CASES: &'static [Option<CanonicalAbiInfo>];
|
483
|
+
const INFO: VariantInfo = VariantInfo::new_static(Self::CASES);
|
484
|
+
const PAYLOAD_OFFSET32: usize = Self::INFO.payload_offset32 as usize;
|
485
|
+
}
|
486
|
+
|
487
|
+
/// Host types which can be passed to WebAssembly components.
|
488
|
+
///
|
489
|
+
/// This trait is implemented for all types that can be passed to components
|
490
|
+
/// either as parameters of component exports or returns of component imports.
|
491
|
+
/// This trait represents the ability to convert from the native host
|
492
|
+
/// representation to the canonical ABI.
|
493
|
+
///
|
494
|
+
/// Built-in types to Rust such as `Option<T>` implement this trait as
|
495
|
+
/// appropriate. For a mapping of component model to Rust types see
|
496
|
+
/// [`ComponentType`].
|
497
|
+
///
|
498
|
+
/// For user-defined types, for example `record` types mapped to Rust `struct`s,
|
499
|
+
/// this crate additionally has
|
500
|
+
/// [`#[derive(Lower)]`](macro@crate::component::Lower).
|
501
|
+
///
|
502
|
+
/// Note that like [`ComponentType`] the definition of this trait is intended to
|
503
|
+
/// be an internal implementation detail of Wasmtime at this time. It's
|
504
|
+
/// recommended to use the `#[derive(Lower)]` implementation instead.
|
505
|
+
pub unsafe trait Lower: ComponentType {
|
506
|
+
/// Performs the "lower" function in the canonical ABI.
|
507
|
+
///
|
508
|
+
/// This method will lower the current value into a component. The `lower`
|
509
|
+
/// function performs a "flat" lowering into the `dst` specified which is
|
510
|
+
/// allowed to be uninitialized entering this method but is guaranteed to be
|
511
|
+
/// fully initialized if the method returns `Ok(())`.
|
512
|
+
///
|
513
|
+
/// The `cx` context provided is the context within which this lowering is
|
514
|
+
/// happening. This contains information such as canonical options specified
|
515
|
+
/// (e.g. string encodings, memories, etc), the store itself, along with
|
516
|
+
/// type information.
|
517
|
+
///
|
518
|
+
/// The `ty` parameter is the destination type that is being lowered into.
|
519
|
+
/// For example this is the component's "view" of the type that is being
|
520
|
+
/// lowered. This is guaranteed to have passed a `typecheck` earlier.
|
521
|
+
///
|
522
|
+
/// This will only be called if `typecheck` passes for `Op::Lower`.
|
523
|
+
#[doc(hidden)]
|
524
|
+
fn lower<T>(
|
525
|
+
&self,
|
526
|
+
cx: &mut LowerContext<'_, T>,
|
527
|
+
ty: InterfaceType,
|
528
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
529
|
+
) -> Result<()>;
|
530
|
+
|
531
|
+
/// Performs the "store" operation in the canonical ABI.
|
532
|
+
///
|
533
|
+
/// This function will store `self` into the linear memory described by
|
534
|
+
/// `cx` at the `offset` provided.
|
535
|
+
///
|
536
|
+
/// It is expected that `offset` is a valid offset in memory for
|
537
|
+
/// `Self::SIZE32` bytes. At this time that's not an unsafe contract as it's
|
538
|
+
/// always re-checked on all stores, but this is something that will need to
|
539
|
+
/// be improved in the future to remove extra bounds checks. For now this
|
540
|
+
/// function will panic if there's a bug and `offset` isn't valid within
|
541
|
+
/// memory.
|
542
|
+
///
|
543
|
+
/// The `ty` type information passed here is the same as the type
|
544
|
+
/// information passed to `lower` above, and is the component's own view of
|
545
|
+
/// what the resulting type should be.
|
546
|
+
///
|
547
|
+
/// This will only be called if `typecheck` passes for `Op::Lower`.
|
548
|
+
#[doc(hidden)]
|
549
|
+
fn store<T>(
|
550
|
+
&self,
|
551
|
+
cx: &mut LowerContext<'_, T>,
|
552
|
+
ty: InterfaceType,
|
553
|
+
offset: usize,
|
554
|
+
) -> Result<()>;
|
555
|
+
|
556
|
+
/// Provided method to lower a list of `Self` into memory.
|
557
|
+
///
|
558
|
+
/// Requires that `offset` has already been checked for alignment and
|
559
|
+
/// validity in terms of being in-bounds, otherwise this may panic.
|
560
|
+
///
|
561
|
+
/// This is primarily here to get overridden for implementations of integers
|
562
|
+
/// which can avoid some extra fluff and use a pattern that's more easily
|
563
|
+
/// optimizable by LLVM.
|
564
|
+
#[doc(hidden)]
|
565
|
+
fn store_list<T>(
|
566
|
+
cx: &mut LowerContext<'_, T>,
|
567
|
+
ty: InterfaceType,
|
568
|
+
mut offset: usize,
|
569
|
+
items: &[Self],
|
570
|
+
) -> Result<()>
|
571
|
+
where
|
572
|
+
Self: Sized,
|
573
|
+
{
|
574
|
+
for item in items {
|
575
|
+
item.store(cx, ty, offset)?;
|
576
|
+
offset += Self::SIZE32;
|
577
|
+
}
|
578
|
+
Ok(())
|
579
|
+
}
|
580
|
+
}
|
581
|
+
|
582
|
+
/// Host types which can be created from the canonical ABI.
|
583
|
+
///
|
584
|
+
/// This is the mirror of the [`Lower`] trait where it represents the capability
|
585
|
+
/// of acquiring items from WebAssembly and passing them to the host.
|
586
|
+
///
|
587
|
+
/// Built-in types to Rust such as `Option<T>` implement this trait as
|
588
|
+
/// appropriate. For a mapping of component model to Rust types see
|
589
|
+
/// [`ComponentType`].
|
590
|
+
///
|
591
|
+
/// For user-defined types, for example `record` types mapped to Rust `struct`s,
|
592
|
+
/// this crate additionally has
|
593
|
+
/// [`#[derive(Lift)]`](macro@crate::component::Lift).
|
594
|
+
///
|
595
|
+
/// Note that like [`ComponentType`] the definition of this trait is intended to
|
596
|
+
/// be an internal implementation detail of Wasmtime at this time. It's
|
597
|
+
/// recommended to use the `#[derive(Lift)]` implementation instead.
|
598
|
+
pub unsafe trait Lift: Sized + ComponentType {
|
599
|
+
/// Performs the "lift" operation in the canonical ABI.
|
600
|
+
///
|
601
|
+
/// This function performs a "flat" lift operation from the `src` specified
|
602
|
+
/// which is a sequence of core wasm values. The lifting operation will
|
603
|
+
/// validate core wasm values and produce a `Self` on success.
|
604
|
+
///
|
605
|
+
/// The `cx` provided contains contextual information such as the store
|
606
|
+
/// that's being loaded from, canonical options, and type information.
|
607
|
+
///
|
608
|
+
/// The `ty` parameter is the origin component's specification for what the
|
609
|
+
/// type that is being lifted is. For example this is the record type or the
|
610
|
+
/// resource type that is being lifted.
|
611
|
+
///
|
612
|
+
/// Note that this has a default implementation but if `typecheck` passes
|
613
|
+
/// for `Op::Lift` this needs to be overridden.
|
614
|
+
#[doc(hidden)]
|
615
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self>;
|
616
|
+
|
617
|
+
/// Performs the "load" operation in the canonical ABI.
|
618
|
+
///
|
619
|
+
/// This will read the `bytes` provided, which are a sub-slice into the
|
620
|
+
/// linear memory described by `cx`. The `bytes` array provided is
|
621
|
+
/// guaranteed to be `Self::SIZE32` bytes large. All of memory is then also
|
622
|
+
/// available through `cx` for bounds-checks and such as necessary for
|
623
|
+
/// strings/lists.
|
624
|
+
///
|
625
|
+
/// The `ty` argument is the type that's being loaded, as described by the
|
626
|
+
/// original component.
|
627
|
+
///
|
628
|
+
/// Note that this has a default implementation but if `typecheck` passes
|
629
|
+
/// for `Op::Lift` this needs to be overridden.
|
630
|
+
#[doc(hidden)]
|
631
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self>;
|
632
|
+
|
633
|
+
/// Converts `list` into a `Vec<T>`, used in `Lift for Vec<T>`.
|
634
|
+
///
|
635
|
+
/// This is primarily here to get overridden for implementations of integers
|
636
|
+
/// which can avoid some extra fluff and use a pattern that's more easily
|
637
|
+
/// optimizable by LLVM.
|
638
|
+
#[doc(hidden)]
|
639
|
+
fn load_list(cx: &mut LiftContext<'_>, list: &WasmList<Self>) -> Result<Vec<Self>>
|
640
|
+
where
|
641
|
+
Self: Sized,
|
642
|
+
{
|
643
|
+
(0..list.len)
|
644
|
+
.map(|index| list.get_from_store(cx, index).unwrap())
|
645
|
+
.collect()
|
646
|
+
}
|
647
|
+
}
|
648
|
+
|
649
|
+
// Macro to help generate "forwarding implementations" of `ComponentType` to
|
650
|
+
// another type, used for wrappers in Rust like `&T`, `Box<T>`, etc. Note that
|
651
|
+
// these wrappers only implement lowering because lifting native Rust types
|
652
|
+
// cannot be done.
|
653
|
+
macro_rules! forward_type_impls {
|
654
|
+
($(($($generics:tt)*) $a:ty => $b:ty,)*) => ($(
|
655
|
+
unsafe impl <$($generics)*> ComponentType for $a {
|
656
|
+
type Lower = <$b as ComponentType>::Lower;
|
657
|
+
|
658
|
+
const ABI: CanonicalAbiInfo = <$b as ComponentType>::ABI;
|
659
|
+
|
660
|
+
#[inline]
|
661
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
662
|
+
<$b as ComponentType>::typecheck(ty, types)
|
663
|
+
}
|
664
|
+
}
|
665
|
+
)*)
|
666
|
+
}
|
667
|
+
|
668
|
+
forward_type_impls! {
|
669
|
+
(T: ComponentType + ?Sized) &'_ T => T,
|
670
|
+
(T: ComponentType + ?Sized) Box<T> => T,
|
671
|
+
(T: ComponentType + ?Sized) alloc::rc::Rc<T> => T,
|
672
|
+
(T: ComponentType + ?Sized) alloc::sync::Arc<T> => T,
|
673
|
+
() String => str,
|
674
|
+
(T: ComponentType) Vec<T> => [T],
|
675
|
+
}
|
676
|
+
|
677
|
+
macro_rules! forward_lowers {
|
678
|
+
($(($($generics:tt)*) $a:ty => $b:ty,)*) => ($(
|
679
|
+
unsafe impl <$($generics)*> Lower for $a {
|
680
|
+
fn lower<U>(
|
681
|
+
&self,
|
682
|
+
cx: &mut LowerContext<'_, U>,
|
683
|
+
ty: InterfaceType,
|
684
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
685
|
+
) -> Result<()> {
|
686
|
+
<$b as Lower>::lower(self, cx, ty, dst)
|
687
|
+
}
|
688
|
+
|
689
|
+
fn store<U>(
|
690
|
+
&self,
|
691
|
+
cx: &mut LowerContext<'_, U>,
|
692
|
+
ty: InterfaceType,
|
693
|
+
offset: usize,
|
694
|
+
) -> Result<()> {
|
695
|
+
<$b as Lower>::store(self, cx, ty, offset)
|
696
|
+
}
|
697
|
+
}
|
698
|
+
)*)
|
699
|
+
}
|
700
|
+
|
701
|
+
forward_lowers! {
|
702
|
+
(T: Lower + ?Sized) &'_ T => T,
|
703
|
+
(T: Lower + ?Sized) Box<T> => T,
|
704
|
+
(T: Lower + ?Sized) alloc::rc::Rc<T> => T,
|
705
|
+
(T: Lower + ?Sized) alloc::sync::Arc<T> => T,
|
706
|
+
() String => str,
|
707
|
+
(T: Lower) Vec<T> => [T],
|
708
|
+
}
|
709
|
+
|
710
|
+
macro_rules! forward_string_lifts {
|
711
|
+
($($a:ty,)*) => ($(
|
712
|
+
unsafe impl Lift for $a {
|
713
|
+
#[inline]
|
714
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
715
|
+
Ok(<WasmStr as Lift>::lift(cx, ty, src)?.to_str_from_memory(cx.memory())?.into())
|
716
|
+
}
|
717
|
+
|
718
|
+
#[inline]
|
719
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
720
|
+
Ok(<WasmStr as Lift>::load(cx, ty, bytes)?.to_str_from_memory(cx.memory())?.into())
|
721
|
+
}
|
722
|
+
}
|
723
|
+
)*)
|
724
|
+
}
|
725
|
+
|
726
|
+
forward_string_lifts! {
|
727
|
+
Box<str>,
|
728
|
+
alloc::rc::Rc<str>,
|
729
|
+
alloc::sync::Arc<str>,
|
730
|
+
String,
|
731
|
+
}
|
732
|
+
|
733
|
+
macro_rules! forward_list_lifts {
|
734
|
+
($($a:ty,)*) => ($(
|
735
|
+
unsafe impl <T: Lift> Lift for $a {
|
736
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
737
|
+
let list = <WasmList::<T> as Lift>::lift(cx, ty, src)?;
|
738
|
+
Ok(T::load_list(cx, &list)?.into())
|
739
|
+
}
|
740
|
+
|
741
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
742
|
+
let list = <WasmList::<T> as Lift>::load(cx, ty, bytes)?;
|
743
|
+
Ok(T::load_list(cx, &list)?.into())
|
744
|
+
}
|
745
|
+
}
|
746
|
+
)*)
|
747
|
+
}
|
748
|
+
|
749
|
+
forward_list_lifts! {
|
750
|
+
Box<[T]>,
|
751
|
+
alloc::rc::Rc<[T]>,
|
752
|
+
alloc::sync::Arc<[T]>,
|
753
|
+
Vec<T>,
|
754
|
+
}
|
755
|
+
|
756
|
+
// Macro to help generate `ComponentType` implementations for primitive types
|
757
|
+
// such as integers, char, bool, etc.
|
758
|
+
macro_rules! integers {
|
759
|
+
($($primitive:ident = $ty:ident in $field:ident/$get:ident with abi:$abi:ident,)*) => ($(
|
760
|
+
unsafe impl ComponentType for $primitive {
|
761
|
+
type Lower = ValRaw;
|
762
|
+
|
763
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::$abi;
|
764
|
+
|
765
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
766
|
+
match ty {
|
767
|
+
InterfaceType::$ty => Ok(()),
|
768
|
+
other => bail!("expected `{}` found `{}`", desc(&InterfaceType::$ty), desc(other))
|
769
|
+
}
|
770
|
+
}
|
771
|
+
}
|
772
|
+
|
773
|
+
unsafe impl Lower for $primitive {
|
774
|
+
#[inline]
|
775
|
+
#[allow(trivial_numeric_casts)]
|
776
|
+
fn lower<T>(
|
777
|
+
&self,
|
778
|
+
_cx: &mut LowerContext<'_, T>,
|
779
|
+
ty: InterfaceType,
|
780
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
781
|
+
) -> Result<()> {
|
782
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
783
|
+
dst.write(ValRaw::$field(*self as $field));
|
784
|
+
Ok(())
|
785
|
+
}
|
786
|
+
|
787
|
+
#[inline]
|
788
|
+
fn store<T>(
|
789
|
+
&self,
|
790
|
+
cx: &mut LowerContext<'_, T>,
|
791
|
+
ty: InterfaceType,
|
792
|
+
offset: usize,
|
793
|
+
) -> Result<()> {
|
794
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
795
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
796
|
+
*cx.get(offset) = self.to_le_bytes();
|
797
|
+
Ok(())
|
798
|
+
}
|
799
|
+
|
800
|
+
fn store_list<T>(
|
801
|
+
cx: &mut LowerContext<'_, T>,
|
802
|
+
ty: InterfaceType,
|
803
|
+
offset: usize,
|
804
|
+
items: &[Self],
|
805
|
+
) -> Result<()> {
|
806
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
807
|
+
|
808
|
+
// Double-check that the CM alignment is at least the host's
|
809
|
+
// alignment for this type which should be true for all
|
810
|
+
// platforms.
|
811
|
+
assert!((Self::ALIGN32 as usize) >= mem::align_of::<Self>());
|
812
|
+
|
813
|
+
// Slice `cx`'s memory to the window that we'll be modifying.
|
814
|
+
// This should all have already been verified in terms of
|
815
|
+
// alignment and sizing meaning that these assertions here are
|
816
|
+
// not truly necessary but are instead double-checks.
|
817
|
+
//
|
818
|
+
// Note that we're casting a `[u8]` slice to `[Self]` with
|
819
|
+
// `align_to_mut` which is not safe in general but is safe in
|
820
|
+
// our specific case as all `u8` patterns are valid `Self`
|
821
|
+
// patterns since `Self` is an integral type.
|
822
|
+
let dst = &mut cx.as_slice_mut()[offset..][..items.len() * Self::SIZE32];
|
823
|
+
let (before, middle, end) = unsafe { dst.align_to_mut::<Self>() };
|
824
|
+
assert!(before.is_empty() && end.is_empty());
|
825
|
+
assert_eq!(middle.len(), items.len());
|
826
|
+
|
827
|
+
// And with all that out of the way perform the copying loop.
|
828
|
+
// This is not a `copy_from_slice` because endianness needs to
|
829
|
+
// be handled here, but LLVM should pretty easily transform this
|
830
|
+
// into a memcpy on little-endian platforms.
|
831
|
+
for (dst, src) in middle.iter_mut().zip(items) {
|
832
|
+
*dst = src.to_le();
|
833
|
+
}
|
834
|
+
Ok(())
|
835
|
+
}
|
836
|
+
}
|
837
|
+
|
838
|
+
unsafe impl Lift for $primitive {
|
839
|
+
#[inline]
|
840
|
+
#[allow(trivial_numeric_casts)]
|
841
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
842
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
843
|
+
Ok(src.$get() as $primitive)
|
844
|
+
}
|
845
|
+
|
846
|
+
#[inline]
|
847
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
848
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
849
|
+
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
850
|
+
Ok($primitive::from_le_bytes(bytes.try_into().unwrap()))
|
851
|
+
}
|
852
|
+
|
853
|
+
fn load_list(cx: &mut LiftContext<'_>, list: &WasmList<Self>) -> Result<Vec<Self>> {
|
854
|
+
Ok(
|
855
|
+
list._as_le_slice(cx.memory())
|
856
|
+
.iter()
|
857
|
+
.map(|i| Self::from_le(*i))
|
858
|
+
.collect(),
|
859
|
+
)
|
860
|
+
}
|
861
|
+
}
|
862
|
+
)*)
|
863
|
+
}
|
864
|
+
|
865
|
+
integers! {
|
866
|
+
i8 = S8 in i32/get_i32 with abi:SCALAR1,
|
867
|
+
u8 = U8 in u32/get_u32 with abi:SCALAR1,
|
868
|
+
i16 = S16 in i32/get_i32 with abi:SCALAR2,
|
869
|
+
u16 = U16 in u32/get_u32 with abi:SCALAR2,
|
870
|
+
i32 = S32 in i32/get_i32 with abi:SCALAR4,
|
871
|
+
u32 = U32 in u32/get_u32 with abi:SCALAR4,
|
872
|
+
i64 = S64 in i64/get_i64 with abi:SCALAR8,
|
873
|
+
u64 = U64 in u64/get_u64 with abi:SCALAR8,
|
874
|
+
}
|
875
|
+
|
876
|
+
macro_rules! floats {
|
877
|
+
($($float:ident/$get_float:ident = $ty:ident with abi:$abi:ident)*) => ($(const _: () = {
|
878
|
+
/// All floats in-and-out of the canonical abi always have their nan
|
879
|
+
/// payloads canonicalized. conveniently the `NAN` constant in rust has
|
880
|
+
/// the same representation as canonical nan, so we can use that for the
|
881
|
+
/// nan value.
|
882
|
+
#[inline]
|
883
|
+
fn canonicalize(float: $float) -> $float {
|
884
|
+
if float.is_nan() {
|
885
|
+
$float::NAN
|
886
|
+
} else {
|
887
|
+
float
|
888
|
+
}
|
889
|
+
}
|
890
|
+
|
891
|
+
unsafe impl ComponentType for $float {
|
892
|
+
type Lower = ValRaw;
|
893
|
+
|
894
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::$abi;
|
895
|
+
|
896
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
897
|
+
match ty {
|
898
|
+
InterfaceType::$ty => Ok(()),
|
899
|
+
other => bail!("expected `{}` found `{}`", desc(&InterfaceType::$ty), desc(other))
|
900
|
+
}
|
901
|
+
}
|
902
|
+
}
|
903
|
+
|
904
|
+
unsafe impl Lower for $float {
|
905
|
+
#[inline]
|
906
|
+
fn lower<T>(
|
907
|
+
&self,
|
908
|
+
_cx: &mut LowerContext<'_, T>,
|
909
|
+
ty: InterfaceType,
|
910
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
911
|
+
) -> Result<()> {
|
912
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
913
|
+
dst.write(ValRaw::$float(canonicalize(*self).to_bits()));
|
914
|
+
Ok(())
|
915
|
+
}
|
916
|
+
|
917
|
+
#[inline]
|
918
|
+
fn store<T>(
|
919
|
+
&self,
|
920
|
+
cx: &mut LowerContext<'_, T>,
|
921
|
+
ty: InterfaceType,
|
922
|
+
offset: usize,
|
923
|
+
) -> Result<()> {
|
924
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
925
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
926
|
+
let ptr = cx.get(offset);
|
927
|
+
*ptr = canonicalize(*self).to_bits().to_le_bytes();
|
928
|
+
Ok(())
|
929
|
+
}
|
930
|
+
}
|
931
|
+
|
932
|
+
unsafe impl Lift for $float {
|
933
|
+
#[inline]
|
934
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
935
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
936
|
+
Ok(canonicalize($float::from_bits(src.$get_float())))
|
937
|
+
}
|
938
|
+
|
939
|
+
#[inline]
|
940
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
941
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
942
|
+
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
943
|
+
Ok(canonicalize($float::from_le_bytes(bytes.try_into().unwrap())))
|
944
|
+
}
|
945
|
+
}
|
946
|
+
};)*)
|
947
|
+
}
|
948
|
+
|
949
|
+
floats! {
|
950
|
+
f32/get_f32 = Float32 with abi:SCALAR4
|
951
|
+
f64/get_f64 = Float64 with abi:SCALAR8
|
952
|
+
}
|
953
|
+
|
954
|
+
unsafe impl ComponentType for bool {
|
955
|
+
type Lower = ValRaw;
|
956
|
+
|
957
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::SCALAR1;
|
958
|
+
|
959
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
960
|
+
match ty {
|
961
|
+
InterfaceType::Bool => Ok(()),
|
962
|
+
other => bail!("expected `bool` found `{}`", desc(other)),
|
963
|
+
}
|
964
|
+
}
|
965
|
+
}
|
966
|
+
|
967
|
+
unsafe impl Lower for bool {
|
968
|
+
fn lower<T>(
|
969
|
+
&self,
|
970
|
+
_cx: &mut LowerContext<'_, T>,
|
971
|
+
ty: InterfaceType,
|
972
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
973
|
+
) -> Result<()> {
|
974
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
975
|
+
dst.write(ValRaw::i32(*self as i32));
|
976
|
+
Ok(())
|
977
|
+
}
|
978
|
+
|
979
|
+
fn store<T>(
|
980
|
+
&self,
|
981
|
+
cx: &mut LowerContext<'_, T>,
|
982
|
+
ty: InterfaceType,
|
983
|
+
offset: usize,
|
984
|
+
) -> Result<()> {
|
985
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
986
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
987
|
+
cx.get::<1>(offset)[0] = *self as u8;
|
988
|
+
Ok(())
|
989
|
+
}
|
990
|
+
}
|
991
|
+
|
992
|
+
unsafe impl Lift for bool {
|
993
|
+
#[inline]
|
994
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
995
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
996
|
+
match src.get_i32() {
|
997
|
+
0 => Ok(false),
|
998
|
+
_ => Ok(true),
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
#[inline]
|
1003
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1004
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
1005
|
+
match bytes[0] {
|
1006
|
+
0 => Ok(false),
|
1007
|
+
_ => Ok(true),
|
1008
|
+
}
|
1009
|
+
}
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
unsafe impl ComponentType for char {
|
1013
|
+
type Lower = ValRaw;
|
1014
|
+
|
1015
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::SCALAR4;
|
1016
|
+
|
1017
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1018
|
+
match ty {
|
1019
|
+
InterfaceType::Char => Ok(()),
|
1020
|
+
other => bail!("expected `char` found `{}`", desc(other)),
|
1021
|
+
}
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
unsafe impl Lower for char {
|
1026
|
+
#[inline]
|
1027
|
+
fn lower<T>(
|
1028
|
+
&self,
|
1029
|
+
_cx: &mut LowerContext<'_, T>,
|
1030
|
+
ty: InterfaceType,
|
1031
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
1032
|
+
) -> Result<()> {
|
1033
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1034
|
+
dst.write(ValRaw::u32(u32::from(*self)));
|
1035
|
+
Ok(())
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
#[inline]
|
1039
|
+
fn store<T>(
|
1040
|
+
&self,
|
1041
|
+
cx: &mut LowerContext<'_, T>,
|
1042
|
+
ty: InterfaceType,
|
1043
|
+
offset: usize,
|
1044
|
+
) -> Result<()> {
|
1045
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1046
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
1047
|
+
*cx.get::<4>(offset) = u32::from(*self).to_le_bytes();
|
1048
|
+
Ok(())
|
1049
|
+
}
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
unsafe impl Lift for char {
|
1053
|
+
#[inline]
|
1054
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1055
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1056
|
+
Ok(char::try_from(src.get_u32()).err2anyhow()?)
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
#[inline]
|
1060
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1061
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1062
|
+
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
1063
|
+
let bits = u32::from_le_bytes(bytes.try_into().unwrap());
|
1064
|
+
Ok(char::try_from(bits).err2anyhow()?)
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
// TODO: these probably need different constants for memory64
|
1069
|
+
const UTF16_TAG: usize = 1 << 31;
|
1070
|
+
const MAX_STRING_BYTE_LENGTH: usize = (1 << 31) - 1;
|
1071
|
+
|
1072
|
+
// Note that this is similar to `ComponentType for WasmStr` except it can only
|
1073
|
+
// be used for lowering, not lifting.
|
1074
|
+
unsafe impl ComponentType for str {
|
1075
|
+
type Lower = [ValRaw; 2];
|
1076
|
+
|
1077
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1078
|
+
|
1079
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1080
|
+
match ty {
|
1081
|
+
InterfaceType::String => Ok(()),
|
1082
|
+
other => bail!("expected `string` found `{}`", desc(other)),
|
1083
|
+
}
|
1084
|
+
}
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
unsafe impl Lower for str {
|
1088
|
+
fn lower<T>(
|
1089
|
+
&self,
|
1090
|
+
cx: &mut LowerContext<'_, T>,
|
1091
|
+
ty: InterfaceType,
|
1092
|
+
dst: &mut MaybeUninit<[ValRaw; 2]>,
|
1093
|
+
) -> Result<()> {
|
1094
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1095
|
+
let (ptr, len) = lower_string(cx, self)?;
|
1096
|
+
// See "WRITEPTR64" above for why this is always storing a 64-bit
|
1097
|
+
// integer.
|
1098
|
+
map_maybe_uninit!(dst[0]).write(ValRaw::i64(ptr as i64));
|
1099
|
+
map_maybe_uninit!(dst[1]).write(ValRaw::i64(len as i64));
|
1100
|
+
Ok(())
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
fn store<T>(
|
1104
|
+
&self,
|
1105
|
+
cx: &mut LowerContext<'_, T>,
|
1106
|
+
ty: InterfaceType,
|
1107
|
+
offset: usize,
|
1108
|
+
) -> Result<()> {
|
1109
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1110
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1111
|
+
let (ptr, len) = lower_string(cx, self)?;
|
1112
|
+
// FIXME: needs memory64 handling
|
1113
|
+
*cx.get(offset + 0) = (ptr as i32).to_le_bytes();
|
1114
|
+
*cx.get(offset + 4) = (len as i32).to_le_bytes();
|
1115
|
+
Ok(())
|
1116
|
+
}
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
fn lower_string<T>(cx: &mut LowerContext<'_, T>, string: &str) -> Result<(usize, usize)> {
|
1120
|
+
// Note that in general the wasm module can't assume anything about what the
|
1121
|
+
// host strings are encoded as. Additionally hosts are allowed to have
|
1122
|
+
// differently-encoded strings at runtime. Finally when copying a string
|
1123
|
+
// into wasm it's somewhat strict in the sense that the various patterns of
|
1124
|
+
// allocation and such are already dictated for us.
|
1125
|
+
//
|
1126
|
+
// In general what this means is that when copying a string from the host
|
1127
|
+
// into the destination we need to follow one of the cases of copying into
|
1128
|
+
// WebAssembly. It doesn't particularly matter which case as long as it ends
|
1129
|
+
// up in the right encoding. For example a destination encoding of
|
1130
|
+
// latin1+utf16 has a number of ways to get copied into and we do something
|
1131
|
+
// here that isn't the default "utf8 to latin1+utf16" since we have access
|
1132
|
+
// to simd-accelerated helpers in the `encoding_rs` crate. This is ok though
|
1133
|
+
// because we can fake that the host string was already stored in latin1
|
1134
|
+
// format and follow that copy pattern instead.
|
1135
|
+
match cx.options.string_encoding() {
|
1136
|
+
// This corresponds to `store_string_copy` in the canonical ABI where
|
1137
|
+
// the host's representation is utf-8 and the wasm module wants utf-8 so
|
1138
|
+
// a copy is all that's needed (and the `realloc` can be precise for the
|
1139
|
+
// initial memory allocation).
|
1140
|
+
StringEncoding::Utf8 => {
|
1141
|
+
if string.len() > MAX_STRING_BYTE_LENGTH {
|
1142
|
+
bail!(
|
1143
|
+
"string length of {} too large to copy into wasm",
|
1144
|
+
string.len()
|
1145
|
+
);
|
1146
|
+
}
|
1147
|
+
let ptr = cx.realloc(0, 0, 1, string.len())?;
|
1148
|
+
cx.as_slice_mut()[ptr..][..string.len()].copy_from_slice(string.as_bytes());
|
1149
|
+
Ok((ptr, string.len()))
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
// This corresponds to `store_utf8_to_utf16` in the canonical ABI. Here
|
1153
|
+
// an over-large allocation is performed and then shrunk afterwards if
|
1154
|
+
// necessary.
|
1155
|
+
StringEncoding::Utf16 => {
|
1156
|
+
let size = string.len() * 2;
|
1157
|
+
if size > MAX_STRING_BYTE_LENGTH {
|
1158
|
+
bail!(
|
1159
|
+
"string length of {} too large to copy into wasm",
|
1160
|
+
string.len()
|
1161
|
+
);
|
1162
|
+
}
|
1163
|
+
let mut ptr = cx.realloc(0, 0, 2, size)?;
|
1164
|
+
let mut copied = 0;
|
1165
|
+
let bytes = &mut cx.as_slice_mut()[ptr..][..size];
|
1166
|
+
for (u, bytes) in string.encode_utf16().zip(bytes.chunks_mut(2)) {
|
1167
|
+
let u_bytes = u.to_le_bytes();
|
1168
|
+
bytes[0] = u_bytes[0];
|
1169
|
+
bytes[1] = u_bytes[1];
|
1170
|
+
copied += 1;
|
1171
|
+
}
|
1172
|
+
if (copied * 2) < size {
|
1173
|
+
ptr = cx.realloc(ptr, size, 2, copied * 2)?;
|
1174
|
+
}
|
1175
|
+
Ok((ptr, copied))
|
1176
|
+
}
|
1177
|
+
|
1178
|
+
StringEncoding::CompactUtf16 => {
|
1179
|
+
// This corresponds to `store_string_to_latin1_or_utf16`
|
1180
|
+
let bytes = string.as_bytes();
|
1181
|
+
let mut iter = string.char_indices();
|
1182
|
+
let mut ptr = cx.realloc(0, 0, 2, bytes.len())?;
|
1183
|
+
let mut dst = &mut cx.as_slice_mut()[ptr..][..bytes.len()];
|
1184
|
+
let mut result = 0;
|
1185
|
+
while let Some((i, ch)) = iter.next() {
|
1186
|
+
// Test if this `char` fits into the latin1 encoding.
|
1187
|
+
if let Ok(byte) = u8::try_from(u32::from(ch)) {
|
1188
|
+
dst[result] = byte;
|
1189
|
+
result += 1;
|
1190
|
+
continue;
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
// .. if utf16 is forced to be used then the allocation is
|
1194
|
+
// bumped up to the maximum size.
|
1195
|
+
let worst_case = bytes
|
1196
|
+
.len()
|
1197
|
+
.checked_mul(2)
|
1198
|
+
.ok_or_else(|| anyhow!("byte length overflow"))?;
|
1199
|
+
if worst_case > MAX_STRING_BYTE_LENGTH {
|
1200
|
+
bail!("byte length too large");
|
1201
|
+
}
|
1202
|
+
ptr = cx.realloc(ptr, bytes.len(), 2, worst_case)?;
|
1203
|
+
dst = &mut cx.as_slice_mut()[ptr..][..worst_case];
|
1204
|
+
|
1205
|
+
// Previously encoded latin1 bytes are inflated to their 16-bit
|
1206
|
+
// size for utf16
|
1207
|
+
for i in (0..result).rev() {
|
1208
|
+
dst[2 * i] = dst[i];
|
1209
|
+
dst[2 * i + 1] = 0;
|
1210
|
+
}
|
1211
|
+
|
1212
|
+
// and then the remainder of the string is encoded.
|
1213
|
+
for (u, bytes) in string[i..]
|
1214
|
+
.encode_utf16()
|
1215
|
+
.zip(dst[2 * result..].chunks_mut(2))
|
1216
|
+
{
|
1217
|
+
let u_bytes = u.to_le_bytes();
|
1218
|
+
bytes[0] = u_bytes[0];
|
1219
|
+
bytes[1] = u_bytes[1];
|
1220
|
+
result += 1;
|
1221
|
+
}
|
1222
|
+
if worst_case > 2 * result {
|
1223
|
+
ptr = cx.realloc(ptr, worst_case, 2, 2 * result)?;
|
1224
|
+
}
|
1225
|
+
return Ok((ptr, result | UTF16_TAG));
|
1226
|
+
}
|
1227
|
+
if result < bytes.len() {
|
1228
|
+
ptr = cx.realloc(ptr, bytes.len(), 2, result)?;
|
1229
|
+
}
|
1230
|
+
Ok((ptr, result))
|
1231
|
+
}
|
1232
|
+
}
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
/// Representation of a string located in linear memory in a WebAssembly
|
1236
|
+
/// instance.
|
1237
|
+
///
|
1238
|
+
/// This type can be used in place of `String` and `str` for string-taking APIs
|
1239
|
+
/// in some situations. The purpose of this type is to represent a range of
|
1240
|
+
/// validated bytes within a component but does not actually copy the bytes. The
|
1241
|
+
/// primary method, [`WasmStr::to_str`], attempts to return a reference to the
|
1242
|
+
/// string directly located in the component's memory, avoiding a copy into the
|
1243
|
+
/// host if possible.
|
1244
|
+
///
|
1245
|
+
/// The downside of this type, however, is that accessing a string requires a
|
1246
|
+
/// [`Store`](crate::Store) pointer (via [`StoreContext`]). Bindings generated
|
1247
|
+
/// by [`bindgen!`](crate::component::bindgen), for example, do not have access
|
1248
|
+
/// to [`StoreContext`] and thus can't use this type.
|
1249
|
+
///
|
1250
|
+
/// This is intended for more advanced use cases such as defining functions
|
1251
|
+
/// directly in a [`Linker`](crate::component::Linker). It's expected that in
|
1252
|
+
/// the future [`bindgen!`](crate::component::bindgen) will also have a way to
|
1253
|
+
/// use this type.
|
1254
|
+
///
|
1255
|
+
/// This type is used with [`TypedFunc`], for example, when WebAssembly returns
|
1256
|
+
/// a string. This type cannot be used to give a string to WebAssembly, instead
|
1257
|
+
/// `&str` should be used for that (since it's coming from the host).
|
1258
|
+
///
|
1259
|
+
/// Note that this type represents an in-bounds string in linear memory, but it
|
1260
|
+
/// does not represent a valid string (e.g. valid utf-8). Validation happens
|
1261
|
+
/// when [`WasmStr::to_str`] is called.
|
1262
|
+
///
|
1263
|
+
/// Also note that this type does not implement [`Lower`], it only implements
|
1264
|
+
/// [`Lift`].
|
1265
|
+
pub struct WasmStr {
|
1266
|
+
ptr: usize,
|
1267
|
+
len: usize,
|
1268
|
+
options: Options,
|
1269
|
+
}
|
1270
|
+
|
1271
|
+
impl WasmStr {
|
1272
|
+
fn new(ptr: usize, len: usize, cx: &mut LiftContext<'_>) -> Result<WasmStr> {
|
1273
|
+
let byte_len = match cx.options.string_encoding() {
|
1274
|
+
StringEncoding::Utf8 => Some(len),
|
1275
|
+
StringEncoding::Utf16 => len.checked_mul(2),
|
1276
|
+
StringEncoding::CompactUtf16 => {
|
1277
|
+
if len & UTF16_TAG == 0 {
|
1278
|
+
Some(len)
|
1279
|
+
} else {
|
1280
|
+
(len ^ UTF16_TAG).checked_mul(2)
|
1281
|
+
}
|
1282
|
+
}
|
1283
|
+
};
|
1284
|
+
match byte_len.and_then(|len| ptr.checked_add(len)) {
|
1285
|
+
Some(n) if n <= cx.memory().len() => {}
|
1286
|
+
_ => bail!("string pointer/length out of bounds of memory"),
|
1287
|
+
}
|
1288
|
+
Ok(WasmStr {
|
1289
|
+
ptr,
|
1290
|
+
len,
|
1291
|
+
options: *cx.options,
|
1292
|
+
})
|
1293
|
+
}
|
1294
|
+
|
1295
|
+
/// Returns the underlying string that this cursor points to.
|
1296
|
+
///
|
1297
|
+
/// Note that this will internally decode the string from the wasm's
|
1298
|
+
/// encoding to utf-8 and additionally perform validation.
|
1299
|
+
///
|
1300
|
+
/// The `store` provided must be the store where this string lives to
|
1301
|
+
/// access the correct memory.
|
1302
|
+
///
|
1303
|
+
/// # Errors
|
1304
|
+
///
|
1305
|
+
/// Returns an error if the string wasn't encoded correctly (e.g. invalid
|
1306
|
+
/// utf-8).
|
1307
|
+
///
|
1308
|
+
/// # Panics
|
1309
|
+
///
|
1310
|
+
/// Panics if this string is not owned by `store`.
|
1311
|
+
//
|
1312
|
+
// TODO: should add accessors for specifically utf-8 and utf-16 that perhaps
|
1313
|
+
// in an opt-in basis don't do validation. Additionally there should be some
|
1314
|
+
// method that returns `[u16]` after validating to avoid the utf16-to-utf8
|
1315
|
+
// transcode.
|
1316
|
+
pub fn to_str<'a, T: 'a>(&self, store: impl Into<StoreContext<'a, T>>) -> Result<Cow<'a, str>> {
|
1317
|
+
let store = store.into().0;
|
1318
|
+
let memory = self.options.memory(store);
|
1319
|
+
self.to_str_from_memory(memory)
|
1320
|
+
}
|
1321
|
+
|
1322
|
+
fn to_str_from_memory<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1323
|
+
match self.options.string_encoding() {
|
1324
|
+
StringEncoding::Utf8 => self.decode_utf8(memory),
|
1325
|
+
StringEncoding::Utf16 => self.decode_utf16(memory, self.len),
|
1326
|
+
StringEncoding::CompactUtf16 => {
|
1327
|
+
if self.len & UTF16_TAG == 0 {
|
1328
|
+
self.decode_latin1(memory)
|
1329
|
+
} else {
|
1330
|
+
self.decode_utf16(memory, self.len ^ UTF16_TAG)
|
1331
|
+
}
|
1332
|
+
}
|
1333
|
+
}
|
1334
|
+
}
|
1335
|
+
|
1336
|
+
fn decode_utf8<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1337
|
+
// Note that bounds-checking already happen in construction of `WasmStr`
|
1338
|
+
// so this is never expected to panic. This could theoretically be
|
1339
|
+
// unchecked indexing if we're feeling wild enough.
|
1340
|
+
Ok(str::from_utf8(&memory[self.ptr..][..self.len])
|
1341
|
+
.err2anyhow()?
|
1342
|
+
.into())
|
1343
|
+
}
|
1344
|
+
|
1345
|
+
fn decode_utf16<'a>(&self, memory: &'a [u8], len: usize) -> Result<Cow<'a, str>> {
|
1346
|
+
// See notes in `decode_utf8` for why this is panicking indexing.
|
1347
|
+
let memory = &memory[self.ptr..][..len * 2];
|
1348
|
+
Ok(core::char::decode_utf16(
|
1349
|
+
memory
|
1350
|
+
.chunks(2)
|
1351
|
+
.map(|chunk| u16::from_le_bytes(chunk.try_into().unwrap())),
|
1352
|
+
)
|
1353
|
+
.collect::<Result<String, _>>()
|
1354
|
+
.err2anyhow()?
|
1355
|
+
.into())
|
1356
|
+
}
|
1357
|
+
|
1358
|
+
fn decode_latin1<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1359
|
+
// See notes in `decode_utf8` for why this is panicking indexing.
|
1360
|
+
Ok(encoding_rs::mem::decode_latin1(
|
1361
|
+
&memory[self.ptr..][..self.len],
|
1362
|
+
))
|
1363
|
+
}
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
// Note that this is similar to `ComponentType for str` except it can only be
|
1367
|
+
// used for lifting, not lowering.
|
1368
|
+
unsafe impl ComponentType for WasmStr {
|
1369
|
+
type Lower = <str as ComponentType>::Lower;
|
1370
|
+
|
1371
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1372
|
+
|
1373
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1374
|
+
match ty {
|
1375
|
+
InterfaceType::String => Ok(()),
|
1376
|
+
other => bail!("expected `string` found `{}`", desc(other)),
|
1377
|
+
}
|
1378
|
+
}
|
1379
|
+
}
|
1380
|
+
|
1381
|
+
unsafe impl Lift for WasmStr {
|
1382
|
+
#[inline]
|
1383
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1384
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1385
|
+
// FIXME: needs memory64 treatment
|
1386
|
+
let ptr = src[0].get_u32();
|
1387
|
+
let len = src[1].get_u32();
|
1388
|
+
let (ptr, len) = (
|
1389
|
+
usize::try_from(ptr).err2anyhow()?,
|
1390
|
+
usize::try_from(len).err2anyhow()?,
|
1391
|
+
);
|
1392
|
+
WasmStr::new(ptr, len, cx)
|
1393
|
+
}
|
1394
|
+
|
1395
|
+
#[inline]
|
1396
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1397
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1398
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
1399
|
+
// FIXME: needs memory64 treatment
|
1400
|
+
let ptr = u32::from_le_bytes(bytes[..4].try_into().unwrap());
|
1401
|
+
let len = u32::from_le_bytes(bytes[4..].try_into().unwrap());
|
1402
|
+
let (ptr, len) = (
|
1403
|
+
usize::try_from(ptr).err2anyhow()?,
|
1404
|
+
usize::try_from(len).err2anyhow()?,
|
1405
|
+
);
|
1406
|
+
WasmStr::new(ptr, len, cx)
|
1407
|
+
}
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
unsafe impl<T> ComponentType for [T]
|
1411
|
+
where
|
1412
|
+
T: ComponentType,
|
1413
|
+
{
|
1414
|
+
type Lower = [ValRaw; 2];
|
1415
|
+
|
1416
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1417
|
+
|
1418
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1419
|
+
match ty {
|
1420
|
+
InterfaceType::List(t) => T::typecheck(&types.types[*t].element, types),
|
1421
|
+
other => bail!("expected `list` found `{}`", desc(other)),
|
1422
|
+
}
|
1423
|
+
}
|
1424
|
+
}
|
1425
|
+
|
1426
|
+
unsafe impl<T> Lower for [T]
|
1427
|
+
where
|
1428
|
+
T: Lower,
|
1429
|
+
{
|
1430
|
+
fn lower<U>(
|
1431
|
+
&self,
|
1432
|
+
cx: &mut LowerContext<'_, U>,
|
1433
|
+
ty: InterfaceType,
|
1434
|
+
dst: &mut MaybeUninit<[ValRaw; 2]>,
|
1435
|
+
) -> Result<()> {
|
1436
|
+
let elem = match ty {
|
1437
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1438
|
+
_ => bad_type_info(),
|
1439
|
+
};
|
1440
|
+
let (ptr, len) = lower_list(cx, elem, self)?;
|
1441
|
+
// See "WRITEPTR64" above for why this is always storing a 64-bit
|
1442
|
+
// integer.
|
1443
|
+
map_maybe_uninit!(dst[0]).write(ValRaw::i64(ptr as i64));
|
1444
|
+
map_maybe_uninit!(dst[1]).write(ValRaw::i64(len as i64));
|
1445
|
+
Ok(())
|
1446
|
+
}
|
1447
|
+
|
1448
|
+
fn store<U>(
|
1449
|
+
&self,
|
1450
|
+
cx: &mut LowerContext<'_, U>,
|
1451
|
+
ty: InterfaceType,
|
1452
|
+
offset: usize,
|
1453
|
+
) -> Result<()> {
|
1454
|
+
let elem = match ty {
|
1455
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1456
|
+
_ => bad_type_info(),
|
1457
|
+
};
|
1458
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1459
|
+
let (ptr, len) = lower_list(cx, elem, self)?;
|
1460
|
+
*cx.get(offset + 0) = (ptr as i32).to_le_bytes();
|
1461
|
+
*cx.get(offset + 4) = (len as i32).to_le_bytes();
|
1462
|
+
Ok(())
|
1463
|
+
}
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
// FIXME: this is not a memcpy for `T` where `T` is something like `u8`.
|
1467
|
+
//
|
1468
|
+
// Some attempts to fix this have proved not fruitful. In isolation an attempt
|
1469
|
+
// was made where:
|
1470
|
+
//
|
1471
|
+
// * `MemoryMut` stored a `*mut [u8]` as its "last view" of memory to avoid
|
1472
|
+
// reloading the base pointer constantly. This view is reset on `realloc`.
|
1473
|
+
// * The bounds-checks in `MemoryMut::get` were removed (replaced with unsafe
|
1474
|
+
// indexing)
|
1475
|
+
//
|
1476
|
+
// Even then though this didn't correctly vectorized for `Vec<u8>`. It's not
|
1477
|
+
// entirely clear why but it appeared that it's related to reloading the base
|
1478
|
+
// pointer to memory (I guess from `MemoryMut` itself?). Overall I'm not really
|
1479
|
+
// clear on what's happening there, but this is surely going to be a performance
|
1480
|
+
// bottleneck in the future.
|
1481
|
+
fn lower_list<T, U>(
|
1482
|
+
cx: &mut LowerContext<'_, U>,
|
1483
|
+
ty: InterfaceType,
|
1484
|
+
list: &[T],
|
1485
|
+
) -> Result<(usize, usize)>
|
1486
|
+
where
|
1487
|
+
T: Lower,
|
1488
|
+
{
|
1489
|
+
let elem_size = T::SIZE32;
|
1490
|
+
let size = list
|
1491
|
+
.len()
|
1492
|
+
.checked_mul(elem_size)
|
1493
|
+
.ok_or_else(|| anyhow!("size overflow copying a list"))?;
|
1494
|
+
let ptr = cx.realloc(0, 0, T::ALIGN32, size)?;
|
1495
|
+
T::store_list(cx, ty, ptr, list)?;
|
1496
|
+
Ok((ptr, list.len()))
|
1497
|
+
}
|
1498
|
+
|
1499
|
+
/// Representation of a list of values that are owned by a WebAssembly instance.
|
1500
|
+
///
|
1501
|
+
/// For some more commentary about the rationale for this type see the
|
1502
|
+
/// documentation of [`WasmStr`]. In summary this type can avoid a copy when
|
1503
|
+
/// passing data to the host in some situations but is additionally more
|
1504
|
+
/// cumbersome to use by requiring a [`Store`](crate::Store) to be provided.
|
1505
|
+
///
|
1506
|
+
/// This type is used whenever a `(list T)` is returned from a [`TypedFunc`],
|
1507
|
+
/// for example. This type represents a list of values that are stored in linear
|
1508
|
+
/// memory which are waiting to be read.
|
1509
|
+
///
|
1510
|
+
/// Note that this type represents only a valid range of bytes for the list
|
1511
|
+
/// itself, it does not represent validity of the elements themselves and that's
|
1512
|
+
/// performed when they're iterated.
|
1513
|
+
///
|
1514
|
+
/// Note that this type does not implement the [`Lower`] trait, only [`Lift`].
|
1515
|
+
pub struct WasmList<T> {
|
1516
|
+
ptr: usize,
|
1517
|
+
len: usize,
|
1518
|
+
options: Options,
|
1519
|
+
elem: InterfaceType,
|
1520
|
+
// NB: it would probably be more efficient to store a non-atomic index-style
|
1521
|
+
// reference to something inside a `StoreOpaque`, but that's not easily
|
1522
|
+
// available at this time, so it's left as a future exercise.
|
1523
|
+
types: Arc<ComponentTypes>,
|
1524
|
+
instance: SendSyncPtr<ComponentInstance>,
|
1525
|
+
_marker: marker::PhantomData<T>,
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
impl<T: Lift> WasmList<T> {
|
1529
|
+
fn new(
|
1530
|
+
ptr: usize,
|
1531
|
+
len: usize,
|
1532
|
+
cx: &mut LiftContext<'_>,
|
1533
|
+
elem: InterfaceType,
|
1534
|
+
) -> Result<WasmList<T>> {
|
1535
|
+
match len
|
1536
|
+
.checked_mul(T::SIZE32)
|
1537
|
+
.and_then(|len| ptr.checked_add(len))
|
1538
|
+
{
|
1539
|
+
Some(n) if n <= cx.memory().len() => {}
|
1540
|
+
_ => bail!("list pointer/length out of bounds of memory"),
|
1541
|
+
}
|
1542
|
+
if ptr % usize::try_from(T::ALIGN32).err2anyhow()? != 0 {
|
1543
|
+
bail!("list pointer is not aligned")
|
1544
|
+
}
|
1545
|
+
Ok(WasmList {
|
1546
|
+
ptr,
|
1547
|
+
len,
|
1548
|
+
options: *cx.options,
|
1549
|
+
elem,
|
1550
|
+
types: cx.types.clone(),
|
1551
|
+
instance: SendSyncPtr::new(NonNull::new(cx.instance_ptr()).unwrap()),
|
1552
|
+
_marker: marker::PhantomData,
|
1553
|
+
})
|
1554
|
+
}
|
1555
|
+
|
1556
|
+
/// Returns the item length of this vector
|
1557
|
+
#[inline]
|
1558
|
+
pub fn len(&self) -> usize {
|
1559
|
+
self.len
|
1560
|
+
}
|
1561
|
+
|
1562
|
+
/// Gets the `n`th element of this list.
|
1563
|
+
///
|
1564
|
+
/// Returns `None` if `index` is out of bounds. Returns `Some(Err(..))` if
|
1565
|
+
/// the value couldn't be decoded (it was invalid). Returns `Some(Ok(..))`
|
1566
|
+
/// if the value is valid.
|
1567
|
+
///
|
1568
|
+
/// # Panics
|
1569
|
+
///
|
1570
|
+
/// This function will panic if the string did not originally come from the
|
1571
|
+
/// `store` specified.
|
1572
|
+
//
|
1573
|
+
// TODO: given that interface values are intended to be consumed in one go
|
1574
|
+
// should we even expose a random access iteration API? In theory all
|
1575
|
+
// consumers should be validating through the iterator.
|
1576
|
+
pub fn get(&self, mut store: impl AsContextMut, index: usize) -> Option<Result<T>> {
|
1577
|
+
let store = store.as_context_mut().0;
|
1578
|
+
self.options.store_id().assert_belongs_to(store.id());
|
1579
|
+
// This should be safe because the unsafety lies in the `self.instance`
|
1580
|
+
// pointer passed in has previously been validated by the lifting
|
1581
|
+
// context this was originally created within and with the check above
|
1582
|
+
// this is guaranteed to be the same store. This means that this should
|
1583
|
+
// be carrying over the original assertion from the original creation of
|
1584
|
+
// the lifting context that created this type.
|
1585
|
+
let mut cx =
|
1586
|
+
unsafe { LiftContext::new(store, &self.options, &self.types, self.instance.as_ptr()) };
|
1587
|
+
self.get_from_store(&mut cx, index)
|
1588
|
+
}
|
1589
|
+
|
1590
|
+
fn get_from_store(&self, cx: &mut LiftContext<'_>, index: usize) -> Option<Result<T>> {
|
1591
|
+
if index >= self.len {
|
1592
|
+
return None;
|
1593
|
+
}
|
1594
|
+
// Note that this is using panicking indexing and this is expected to
|
1595
|
+
// never fail. The bounds-checking here happened during the construction
|
1596
|
+
// of the `WasmList` itself which means these should always be in-bounds
|
1597
|
+
// (and wasm memory can only grow). This could theoretically be
|
1598
|
+
// unchecked indexing if we're confident enough and it's actually a perf
|
1599
|
+
// issue one day.
|
1600
|
+
let bytes = &cx.memory()[self.ptr + index * T::SIZE32..][..T::SIZE32];
|
1601
|
+
Some(T::load(cx, self.elem, bytes))
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
/// Returns an iterator over the elements of this list.
|
1605
|
+
///
|
1606
|
+
/// Each item of the list may fail to decode and is represented through the
|
1607
|
+
/// `Result` value of the iterator.
|
1608
|
+
pub fn iter<'a, U: 'a>(
|
1609
|
+
&'a self,
|
1610
|
+
store: impl Into<StoreContextMut<'a, U>>,
|
1611
|
+
) -> impl ExactSizeIterator<Item = Result<T>> + 'a {
|
1612
|
+
let store = store.into().0;
|
1613
|
+
self.options.store_id().assert_belongs_to(store.id());
|
1614
|
+
// See comments about unsafety in the `get` method.
|
1615
|
+
let mut cx =
|
1616
|
+
unsafe { LiftContext::new(store, &self.options, &self.types, self.instance.as_ptr()) };
|
1617
|
+
(0..self.len).map(move |i| self.get_from_store(&mut cx, i).unwrap())
|
1618
|
+
}
|
1619
|
+
}
|
1620
|
+
|
1621
|
+
macro_rules! raw_wasm_list_accessors {
|
1622
|
+
($($i:ident)*) => ($(
|
1623
|
+
impl WasmList<$i> {
|
1624
|
+
/// Get access to the raw underlying memory for this list.
|
1625
|
+
///
|
1626
|
+
/// This method will return a direct slice into the original wasm
|
1627
|
+
/// module's linear memory where the data for this slice is stored.
|
1628
|
+
/// This allows the embedder to have efficient access to the
|
1629
|
+
/// underlying memory if needed and avoid copies and such if
|
1630
|
+
/// desired.
|
1631
|
+
///
|
1632
|
+
/// Note that multi-byte integers are stored in little-endian format
|
1633
|
+
/// so portable processing of this slice must be aware of the host's
|
1634
|
+
/// byte-endianness. The `from_le` constructors in the Rust standard
|
1635
|
+
/// library should be suitable for converting from little-endian.
|
1636
|
+
///
|
1637
|
+
/// # Panics
|
1638
|
+
///
|
1639
|
+
/// Panics if the `store` provided is not the one from which this
|
1640
|
+
/// slice originated.
|
1641
|
+
pub fn as_le_slice<'a, T: 'a>(&self, store: impl Into<StoreContext<'a, T>>) -> &'a [$i] {
|
1642
|
+
let memory = self.options.memory(store.into().0);
|
1643
|
+
self._as_le_slice(memory)
|
1644
|
+
}
|
1645
|
+
|
1646
|
+
fn _as_le_slice<'a>(&self, all_of_memory: &'a [u8]) -> &'a [$i] {
|
1647
|
+
// See comments in `WasmList::get` for the panicking indexing
|
1648
|
+
let byte_size = self.len * mem::size_of::<$i>();
|
1649
|
+
let bytes = &all_of_memory[self.ptr..][..byte_size];
|
1650
|
+
|
1651
|
+
// The canonical ABI requires that everything is aligned to its
|
1652
|
+
// own size, so this should be an aligned array. Furthermore the
|
1653
|
+
// alignment of primitive integers for hosts should be smaller
|
1654
|
+
// than or equal to the size of the primitive itself, meaning
|
1655
|
+
// that a wasm canonical-abi-aligned list is also aligned for
|
1656
|
+
// the host. That should mean that the head/tail slices here are
|
1657
|
+
// empty.
|
1658
|
+
//
|
1659
|
+
// Also note that the `unsafe` here is needed since the type
|
1660
|
+
// we're aligning to isn't guaranteed to be valid, but in our
|
1661
|
+
// case it's just integers and bytes so this should be safe.
|
1662
|
+
unsafe {
|
1663
|
+
let (head, body, tail) = bytes.align_to::<$i>();
|
1664
|
+
assert!(head.is_empty() && tail.is_empty());
|
1665
|
+
body
|
1666
|
+
}
|
1667
|
+
}
|
1668
|
+
}
|
1669
|
+
)*)
|
1670
|
+
}
|
1671
|
+
|
1672
|
+
raw_wasm_list_accessors! {
|
1673
|
+
i8 i16 i32 i64
|
1674
|
+
u8 u16 u32 u64
|
1675
|
+
}
|
1676
|
+
|
1677
|
+
// Note that this is similar to `ComponentType for str` except it can only be
|
1678
|
+
// used for lifting, not lowering.
|
1679
|
+
unsafe impl<T: ComponentType> ComponentType for WasmList<T> {
|
1680
|
+
type Lower = <[T] as ComponentType>::Lower;
|
1681
|
+
|
1682
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1683
|
+
|
1684
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1685
|
+
<[T] as ComponentType>::typecheck(ty, types)
|
1686
|
+
}
|
1687
|
+
}
|
1688
|
+
|
1689
|
+
unsafe impl<T: Lift> Lift for WasmList<T> {
|
1690
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1691
|
+
let elem = match ty {
|
1692
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1693
|
+
_ => bad_type_info(),
|
1694
|
+
};
|
1695
|
+
// FIXME: needs memory64 treatment
|
1696
|
+
let ptr = src[0].get_u32();
|
1697
|
+
let len = src[1].get_u32();
|
1698
|
+
let (ptr, len) = (
|
1699
|
+
usize::try_from(ptr).err2anyhow()?,
|
1700
|
+
usize::try_from(len).err2anyhow()?,
|
1701
|
+
);
|
1702
|
+
WasmList::new(ptr, len, cx, elem)
|
1703
|
+
}
|
1704
|
+
|
1705
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1706
|
+
let elem = match ty {
|
1707
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1708
|
+
_ => bad_type_info(),
|
1709
|
+
};
|
1710
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
1711
|
+
// FIXME: needs memory64 treatment
|
1712
|
+
let ptr = u32::from_le_bytes(bytes[..4].try_into().unwrap());
|
1713
|
+
let len = u32::from_le_bytes(bytes[4..].try_into().unwrap());
|
1714
|
+
let (ptr, len) = (
|
1715
|
+
usize::try_from(ptr).err2anyhow()?,
|
1716
|
+
usize::try_from(len).err2anyhow()?,
|
1717
|
+
);
|
1718
|
+
WasmList::new(ptr, len, cx, elem)
|
1719
|
+
}
|
1720
|
+
}
|
1721
|
+
|
1722
|
+
/// Verify that the given wasm type is a tuple with the expected fields in the right order.
|
1723
|
+
fn typecheck_tuple(
|
1724
|
+
ty: &InterfaceType,
|
1725
|
+
types: &InstanceType<'_>,
|
1726
|
+
expected: &[fn(&InterfaceType, &InstanceType<'_>) -> Result<()>],
|
1727
|
+
) -> Result<()> {
|
1728
|
+
match ty {
|
1729
|
+
InterfaceType::Tuple(t) => {
|
1730
|
+
let tuple = &types.types[*t];
|
1731
|
+
if tuple.types.len() != expected.len() {
|
1732
|
+
bail!(
|
1733
|
+
"expected {}-tuple, found {}-tuple",
|
1734
|
+
expected.len(),
|
1735
|
+
tuple.types.len()
|
1736
|
+
);
|
1737
|
+
}
|
1738
|
+
for (ty, check) in tuple.types.iter().zip(expected) {
|
1739
|
+
check(ty, types)?;
|
1740
|
+
}
|
1741
|
+
Ok(())
|
1742
|
+
}
|
1743
|
+
other => bail!("expected `tuple` found `{}`", desc(other)),
|
1744
|
+
}
|
1745
|
+
}
|
1746
|
+
|
1747
|
+
/// Verify that the given wasm type is a record with the expected fields in the right order and with the right
|
1748
|
+
/// names.
|
1749
|
+
pub fn typecheck_record(
|
1750
|
+
ty: &InterfaceType,
|
1751
|
+
types: &InstanceType<'_>,
|
1752
|
+
expected: &[(&str, fn(&InterfaceType, &InstanceType<'_>) -> Result<()>)],
|
1753
|
+
) -> Result<()> {
|
1754
|
+
match ty {
|
1755
|
+
InterfaceType::Record(index) => {
|
1756
|
+
let fields = &types.types[*index].fields;
|
1757
|
+
|
1758
|
+
if fields.len() != expected.len() {
|
1759
|
+
bail!(
|
1760
|
+
"expected record of {} fields, found {} fields",
|
1761
|
+
expected.len(),
|
1762
|
+
fields.len()
|
1763
|
+
);
|
1764
|
+
}
|
1765
|
+
|
1766
|
+
for (field, &(name, check)) in fields.iter().zip(expected) {
|
1767
|
+
check(&field.ty, types)
|
1768
|
+
.with_context(|| format!("type mismatch for field {}", name))?;
|
1769
|
+
|
1770
|
+
if field.name != name {
|
1771
|
+
bail!("expected record field named {}, found {}", name, field.name);
|
1772
|
+
}
|
1773
|
+
}
|
1774
|
+
|
1775
|
+
Ok(())
|
1776
|
+
}
|
1777
|
+
other => bail!("expected `record` found `{}`", desc(other)),
|
1778
|
+
}
|
1779
|
+
}
|
1780
|
+
|
1781
|
+
/// Verify that the given wasm type is a variant with the expected cases in the right order and with the right
|
1782
|
+
/// names.
|
1783
|
+
pub fn typecheck_variant(
|
1784
|
+
ty: &InterfaceType,
|
1785
|
+
types: &InstanceType<'_>,
|
1786
|
+
expected: &[(
|
1787
|
+
&str,
|
1788
|
+
Option<fn(&InterfaceType, &InstanceType<'_>) -> Result<()>>,
|
1789
|
+
)],
|
1790
|
+
) -> Result<()> {
|
1791
|
+
match ty {
|
1792
|
+
InterfaceType::Variant(index) => {
|
1793
|
+
let cases = &types.types[*index].cases;
|
1794
|
+
|
1795
|
+
if cases.len() != expected.len() {
|
1796
|
+
bail!(
|
1797
|
+
"expected variant of {} cases, found {} cases",
|
1798
|
+
expected.len(),
|
1799
|
+
cases.len()
|
1800
|
+
);
|
1801
|
+
}
|
1802
|
+
|
1803
|
+
for ((case_name, case_ty), &(name, check)) in cases.iter().zip(expected) {
|
1804
|
+
if *case_name != name {
|
1805
|
+
bail!("expected variant case named {name}, found {case_name}");
|
1806
|
+
}
|
1807
|
+
|
1808
|
+
match (check, case_ty) {
|
1809
|
+
(Some(check), Some(ty)) => check(ty, types)
|
1810
|
+
.with_context(|| format!("type mismatch for case {name}"))?,
|
1811
|
+
(None, None) => {}
|
1812
|
+
(Some(_), None) => {
|
1813
|
+
bail!("case `{name}` has no type but one was expected")
|
1814
|
+
}
|
1815
|
+
(None, Some(_)) => {
|
1816
|
+
bail!("case `{name}` has a type but none was expected")
|
1817
|
+
}
|
1818
|
+
}
|
1819
|
+
}
|
1820
|
+
|
1821
|
+
Ok(())
|
1822
|
+
}
|
1823
|
+
other => bail!("expected `variant` found `{}`", desc(other)),
|
1824
|
+
}
|
1825
|
+
}
|
1826
|
+
|
1827
|
+
/// Verify that the given wasm type is a enum with the expected cases in the right order and with the right
|
1828
|
+
/// names.
|
1829
|
+
pub fn typecheck_enum(
|
1830
|
+
ty: &InterfaceType,
|
1831
|
+
types: &InstanceType<'_>,
|
1832
|
+
expected: &[&str],
|
1833
|
+
) -> Result<()> {
|
1834
|
+
match ty {
|
1835
|
+
InterfaceType::Enum(index) => {
|
1836
|
+
let names = &types.types[*index].names;
|
1837
|
+
|
1838
|
+
if names.len() != expected.len() {
|
1839
|
+
bail!(
|
1840
|
+
"expected enum of {} names, found {} names",
|
1841
|
+
expected.len(),
|
1842
|
+
names.len()
|
1843
|
+
);
|
1844
|
+
}
|
1845
|
+
|
1846
|
+
for (name, expected) in names.iter().zip(expected) {
|
1847
|
+
if name != expected {
|
1848
|
+
bail!("expected enum case named {}, found {}", expected, name);
|
1849
|
+
}
|
1850
|
+
}
|
1851
|
+
|
1852
|
+
Ok(())
|
1853
|
+
}
|
1854
|
+
other => bail!("expected `enum` found `{}`", desc(other)),
|
1855
|
+
}
|
1856
|
+
}
|
1857
|
+
|
1858
|
+
/// Verify that the given wasm type is a flags type with the expected flags in the right order and with the right
|
1859
|
+
/// names.
|
1860
|
+
pub fn typecheck_flags(
|
1861
|
+
ty: &InterfaceType,
|
1862
|
+
types: &InstanceType<'_>,
|
1863
|
+
expected: &[&str],
|
1864
|
+
) -> Result<()> {
|
1865
|
+
match ty {
|
1866
|
+
InterfaceType::Flags(index) => {
|
1867
|
+
let names = &types.types[*index].names;
|
1868
|
+
|
1869
|
+
if names.len() != expected.len() {
|
1870
|
+
bail!(
|
1871
|
+
"expected flags type with {} names, found {} names",
|
1872
|
+
expected.len(),
|
1873
|
+
names.len()
|
1874
|
+
);
|
1875
|
+
}
|
1876
|
+
|
1877
|
+
for (name, expected) in names.iter().zip(expected) {
|
1878
|
+
if name != expected {
|
1879
|
+
bail!("expected flag named {}, found {}", expected, name);
|
1880
|
+
}
|
1881
|
+
}
|
1882
|
+
|
1883
|
+
Ok(())
|
1884
|
+
}
|
1885
|
+
other => bail!("expected `flags` found `{}`", desc(other)),
|
1886
|
+
}
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
/// Format the specified bitflags using the specified names for debugging
|
1890
|
+
pub fn format_flags(bits: &[u32], names: &[&str], f: &mut fmt::Formatter) -> fmt::Result {
|
1891
|
+
f.write_str("(")?;
|
1892
|
+
let mut wrote = false;
|
1893
|
+
for (index, name) in names.iter().enumerate() {
|
1894
|
+
if ((bits[index / 32] >> (index % 32)) & 1) != 0 {
|
1895
|
+
if wrote {
|
1896
|
+
f.write_str("|")?;
|
1897
|
+
} else {
|
1898
|
+
wrote = true;
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
f.write_str(name)?;
|
1902
|
+
}
|
1903
|
+
}
|
1904
|
+
f.write_str(")")
|
1905
|
+
}
|
1906
|
+
|
1907
|
+
unsafe impl<T> ComponentType for Option<T>
|
1908
|
+
where
|
1909
|
+
T: ComponentType,
|
1910
|
+
{
|
1911
|
+
type Lower = TupleLower2<<u32 as ComponentType>::Lower, T::Lower>;
|
1912
|
+
|
1913
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::variant_static(&[None, Some(T::ABI)]);
|
1914
|
+
|
1915
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1916
|
+
match ty {
|
1917
|
+
InterfaceType::Option(t) => T::typecheck(&types.types[*t].ty, types),
|
1918
|
+
other => bail!("expected `option` found `{}`", desc(other)),
|
1919
|
+
}
|
1920
|
+
}
|
1921
|
+
}
|
1922
|
+
|
1923
|
+
unsafe impl<T> ComponentVariant for Option<T>
|
1924
|
+
where
|
1925
|
+
T: ComponentType,
|
1926
|
+
{
|
1927
|
+
const CASES: &'static [Option<CanonicalAbiInfo>] = &[None, Some(T::ABI)];
|
1928
|
+
}
|
1929
|
+
|
1930
|
+
unsafe impl<T> Lower for Option<T>
|
1931
|
+
where
|
1932
|
+
T: Lower,
|
1933
|
+
{
|
1934
|
+
fn lower<U>(
|
1935
|
+
&self,
|
1936
|
+
cx: &mut LowerContext<'_, U>,
|
1937
|
+
ty: InterfaceType,
|
1938
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
1939
|
+
) -> Result<()> {
|
1940
|
+
let payload = match ty {
|
1941
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1942
|
+
_ => bad_type_info(),
|
1943
|
+
};
|
1944
|
+
match self {
|
1945
|
+
None => {
|
1946
|
+
map_maybe_uninit!(dst.A1).write(ValRaw::i32(0));
|
1947
|
+
// Note that this is unsafe as we're writing an arbitrary
|
1948
|
+
// bit-pattern to an arbitrary type, but part of the unsafe
|
1949
|
+
// contract of the `ComponentType` trait is that we can assign
|
1950
|
+
// any bit-pattern. By writing all zeros here we're ensuring
|
1951
|
+
// that the core wasm arguments this translates to will all be
|
1952
|
+
// zeros (as the canonical ABI requires).
|
1953
|
+
unsafe {
|
1954
|
+
map_maybe_uninit!(dst.A2).as_mut_ptr().write_bytes(0u8, 1);
|
1955
|
+
}
|
1956
|
+
}
|
1957
|
+
Some(val) => {
|
1958
|
+
map_maybe_uninit!(dst.A1).write(ValRaw::i32(1));
|
1959
|
+
val.lower(cx, payload, map_maybe_uninit!(dst.A2))?;
|
1960
|
+
}
|
1961
|
+
}
|
1962
|
+
Ok(())
|
1963
|
+
}
|
1964
|
+
|
1965
|
+
fn store<U>(
|
1966
|
+
&self,
|
1967
|
+
cx: &mut LowerContext<'_, U>,
|
1968
|
+
ty: InterfaceType,
|
1969
|
+
offset: usize,
|
1970
|
+
) -> Result<()> {
|
1971
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1972
|
+
let payload = match ty {
|
1973
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1974
|
+
_ => bad_type_info(),
|
1975
|
+
};
|
1976
|
+
match self {
|
1977
|
+
None => {
|
1978
|
+
cx.get::<1>(offset)[0] = 0;
|
1979
|
+
}
|
1980
|
+
Some(val) => {
|
1981
|
+
cx.get::<1>(offset)[0] = 1;
|
1982
|
+
val.store(cx, payload, offset + (Self::INFO.payload_offset32 as usize))?;
|
1983
|
+
}
|
1984
|
+
}
|
1985
|
+
Ok(())
|
1986
|
+
}
|
1987
|
+
}
|
1988
|
+
|
1989
|
+
unsafe impl<T> Lift for Option<T>
|
1990
|
+
where
|
1991
|
+
T: Lift,
|
1992
|
+
{
|
1993
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1994
|
+
let payload = match ty {
|
1995
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1996
|
+
_ => bad_type_info(),
|
1997
|
+
};
|
1998
|
+
Ok(match src.A1.get_i32() {
|
1999
|
+
0 => None,
|
2000
|
+
1 => Some(T::lift(cx, payload, &src.A2)?),
|
2001
|
+
_ => bail!("invalid option discriminant"),
|
2002
|
+
})
|
2003
|
+
}
|
2004
|
+
|
2005
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2006
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2007
|
+
let payload_ty = match ty {
|
2008
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
2009
|
+
_ => bad_type_info(),
|
2010
|
+
};
|
2011
|
+
let discrim = bytes[0];
|
2012
|
+
let payload = &bytes[Self::INFO.payload_offset32 as usize..];
|
2013
|
+
match discrim {
|
2014
|
+
0 => Ok(None),
|
2015
|
+
1 => Ok(Some(T::load(cx, payload_ty, payload)?)),
|
2016
|
+
_ => bail!("invalid option discriminant"),
|
2017
|
+
}
|
2018
|
+
}
|
2019
|
+
}
|
2020
|
+
|
2021
|
+
#[derive(Clone, Copy)]
|
2022
|
+
#[repr(C)]
|
2023
|
+
pub struct ResultLower<T: Copy, E: Copy> {
|
2024
|
+
tag: ValRaw,
|
2025
|
+
payload: ResultLowerPayload<T, E>,
|
2026
|
+
}
|
2027
|
+
|
2028
|
+
#[derive(Clone, Copy)]
|
2029
|
+
#[repr(C)]
|
2030
|
+
union ResultLowerPayload<T: Copy, E: Copy> {
|
2031
|
+
ok: T,
|
2032
|
+
err: E,
|
2033
|
+
}
|
2034
|
+
|
2035
|
+
unsafe impl<T, E> ComponentType for Result<T, E>
|
2036
|
+
where
|
2037
|
+
T: ComponentType,
|
2038
|
+
E: ComponentType,
|
2039
|
+
{
|
2040
|
+
type Lower = ResultLower<T::Lower, E::Lower>;
|
2041
|
+
|
2042
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::variant_static(&[Some(T::ABI), Some(E::ABI)]);
|
2043
|
+
|
2044
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
2045
|
+
match ty {
|
2046
|
+
InterfaceType::Result(r) => {
|
2047
|
+
let result = &types.types[*r];
|
2048
|
+
match &result.ok {
|
2049
|
+
Some(ty) => T::typecheck(ty, types)?,
|
2050
|
+
None if T::IS_RUST_UNIT_TYPE => {}
|
2051
|
+
None => bail!("expected no `ok` type"),
|
2052
|
+
}
|
2053
|
+
match &result.err {
|
2054
|
+
Some(ty) => E::typecheck(ty, types)?,
|
2055
|
+
None if E::IS_RUST_UNIT_TYPE => {}
|
2056
|
+
None => bail!("expected no `err` type"),
|
2057
|
+
}
|
2058
|
+
Ok(())
|
2059
|
+
}
|
2060
|
+
other => bail!("expected `result` found `{}`", desc(other)),
|
2061
|
+
}
|
2062
|
+
}
|
2063
|
+
}
|
2064
|
+
|
2065
|
+
/// Lowers the payload of a variant into the storage for the entire payload,
|
2066
|
+
/// handling writing zeros at the end of the representation if this payload is
|
2067
|
+
/// smaller than the entire flat representation.
|
2068
|
+
///
|
2069
|
+
/// * `payload` - the flat storage space for the entire payload of the variant
|
2070
|
+
/// * `typed_payload` - projection from the payload storage space to the
|
2071
|
+
/// individual storage space for this variant.
|
2072
|
+
/// * `lower` - lowering operation used to initialize the `typed_payload` return
|
2073
|
+
/// value.
|
2074
|
+
///
|
2075
|
+
/// For more information on this se the comments in the `Lower for Result`
|
2076
|
+
/// implementation below.
|
2077
|
+
pub unsafe fn lower_payload<P, T>(
|
2078
|
+
payload: &mut MaybeUninit<P>,
|
2079
|
+
typed_payload: impl FnOnce(&mut MaybeUninit<P>) -> &mut MaybeUninit<T>,
|
2080
|
+
lower: impl FnOnce(&mut MaybeUninit<T>) -> Result<()>,
|
2081
|
+
) -> Result<()> {
|
2082
|
+
let typed = typed_payload(payload);
|
2083
|
+
lower(typed)?;
|
2084
|
+
|
2085
|
+
let typed_len = storage_as_slice(typed).len();
|
2086
|
+
let payload = storage_as_slice_mut(payload);
|
2087
|
+
for slot in payload[typed_len..].iter_mut() {
|
2088
|
+
*slot = ValRaw::u64(0);
|
2089
|
+
}
|
2090
|
+
Ok(())
|
2091
|
+
}
|
2092
|
+
|
2093
|
+
unsafe impl<T, E> ComponentVariant for Result<T, E>
|
2094
|
+
where
|
2095
|
+
T: ComponentType,
|
2096
|
+
E: ComponentType,
|
2097
|
+
{
|
2098
|
+
const CASES: &'static [Option<CanonicalAbiInfo>] = &[Some(T::ABI), Some(E::ABI)];
|
2099
|
+
}
|
2100
|
+
|
2101
|
+
unsafe impl<T, E> Lower for Result<T, E>
|
2102
|
+
where
|
2103
|
+
T: Lower,
|
2104
|
+
E: Lower,
|
2105
|
+
{
|
2106
|
+
fn lower<U>(
|
2107
|
+
&self,
|
2108
|
+
cx: &mut LowerContext<'_, U>,
|
2109
|
+
ty: InterfaceType,
|
2110
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
2111
|
+
) -> Result<()> {
|
2112
|
+
let (ok, err) = match ty {
|
2113
|
+
InterfaceType::Result(ty) => {
|
2114
|
+
let ty = &cx.types[ty];
|
2115
|
+
(ty.ok, ty.err)
|
2116
|
+
}
|
2117
|
+
_ => bad_type_info(),
|
2118
|
+
};
|
2119
|
+
|
2120
|
+
// This implementation of `Lower::lower`, if you're reading these from
|
2121
|
+
// the top of this file, is the first location that the "join" logic of
|
2122
|
+
// the component model's canonical ABI encountered. The rough problem is
|
2123
|
+
// that let's say we have a component model type of the form:
|
2124
|
+
//
|
2125
|
+
// (result u64 (error (tuple f32 u16)))
|
2126
|
+
//
|
2127
|
+
// The flat representation of this is actually pretty tricky. Currently
|
2128
|
+
// it is:
|
2129
|
+
//
|
2130
|
+
// i32 i64 i32
|
2131
|
+
//
|
2132
|
+
// The first `i32` is the discriminant for the `result`, and the payload
|
2133
|
+
// is represented by `i64 i32`. The "ok" variant will only use the `i64`
|
2134
|
+
// and the "err" variant will use both `i64` and `i32`.
|
2135
|
+
//
|
2136
|
+
// In the "ok" variant the first issue is encountered. The size of one
|
2137
|
+
// variant may not match the size of the other variants. All variants
|
2138
|
+
// start at the "front" but when lowering a type we need to be sure to
|
2139
|
+
// initialize the later variants (lest we leak random host memory into
|
2140
|
+
// the guest module). Due to how the `Lower` type is represented as a
|
2141
|
+
// `union` of all the variants what ends up happening here is that
|
2142
|
+
// internally within the `lower_payload` after the typed payload is
|
2143
|
+
// lowered the remaining bits of the payload that weren't initialized
|
2144
|
+
// are all set to zero. This will guarantee that we'll write to all the
|
2145
|
+
// slots for each variant.
|
2146
|
+
//
|
2147
|
+
// The "err" variant encounters the second issue, however, which is that
|
2148
|
+
// the flat representation for each type may differ between payloads. In
|
2149
|
+
// the "ok" arm an `i64` is written, but the `lower` implementation for
|
2150
|
+
// the "err" arm will write an `f32` and then an `i32`. For this
|
2151
|
+
// implementation of `lower` to be valid the `f32` needs to get inflated
|
2152
|
+
// to an `i64` with zero-padding in the upper bits. What may be
|
2153
|
+
// surprising, however, is that none of this is handled in this file.
|
2154
|
+
// This implementation looks like it's blindly deferring to `E::lower`
|
2155
|
+
// and hoping it does the right thing.
|
2156
|
+
//
|
2157
|
+
// In reality, however, the correctness of variant lowering relies on
|
2158
|
+
// two subtle details of the `ValRaw` implementation in Wasmtime:
|
2159
|
+
//
|
2160
|
+
// 1. First the `ValRaw` value always contains little-endian values.
|
2161
|
+
// This means that if a `u32` is written, a `u64` is read, and then
|
2162
|
+
// the `u64` has its upper bits truncated the original value will
|
2163
|
+
// always be retained. This is primarily here for big-endian
|
2164
|
+
// platforms where if it weren't little endian then the opposite
|
2165
|
+
// would occur and the wrong value would be read.
|
2166
|
+
//
|
2167
|
+
// 2. Second, and perhaps even more subtly, the `ValRaw` constructors
|
2168
|
+
// for 32-bit types actually always initialize 64-bits of the
|
2169
|
+
// `ValRaw`. In the component model flat ABI only 32 and 64-bit types
|
2170
|
+
// are used so 64-bits is big enough to contain everything. This
|
2171
|
+
// means that when a `ValRaw` is written into the destination it will
|
2172
|
+
// always, whether it's needed or not, be "ready" to get extended up
|
2173
|
+
// to 64-bits.
|
2174
|
+
//
|
2175
|
+
// Put together these two subtle guarantees means that all `Lower`
|
2176
|
+
// implementations can be written "naturally" as one might naively
|
2177
|
+
// expect. Variants will, on each arm, zero out remaining fields and all
|
2178
|
+
// writes to the flat representation will automatically be 64-bit writes
|
2179
|
+
// meaning that if the value is read as a 64-bit value, which isn't
|
2180
|
+
// known at the time of the write, it'll still be correct.
|
2181
|
+
match self {
|
2182
|
+
Ok(e) => {
|
2183
|
+
map_maybe_uninit!(dst.tag).write(ValRaw::i32(0));
|
2184
|
+
unsafe {
|
2185
|
+
lower_payload(
|
2186
|
+
map_maybe_uninit!(dst.payload),
|
2187
|
+
|payload| map_maybe_uninit!(payload.ok),
|
2188
|
+
|dst| match ok {
|
2189
|
+
Some(ok) => e.lower(cx, ok, dst),
|
2190
|
+
None => Ok(()),
|
2191
|
+
},
|
2192
|
+
)
|
2193
|
+
}
|
2194
|
+
}
|
2195
|
+
Err(e) => {
|
2196
|
+
map_maybe_uninit!(dst.tag).write(ValRaw::i32(1));
|
2197
|
+
unsafe {
|
2198
|
+
lower_payload(
|
2199
|
+
map_maybe_uninit!(dst.payload),
|
2200
|
+
|payload| map_maybe_uninit!(payload.err),
|
2201
|
+
|dst| match err {
|
2202
|
+
Some(err) => e.lower(cx, err, dst),
|
2203
|
+
None => Ok(()),
|
2204
|
+
},
|
2205
|
+
)
|
2206
|
+
}
|
2207
|
+
}
|
2208
|
+
}
|
2209
|
+
}
|
2210
|
+
|
2211
|
+
fn store<U>(
|
2212
|
+
&self,
|
2213
|
+
cx: &mut LowerContext<'_, U>,
|
2214
|
+
ty: InterfaceType,
|
2215
|
+
offset: usize,
|
2216
|
+
) -> Result<()> {
|
2217
|
+
let (ok, err) = match ty {
|
2218
|
+
InterfaceType::Result(ty) => {
|
2219
|
+
let ty = &cx.types[ty];
|
2220
|
+
(ty.ok, ty.err)
|
2221
|
+
}
|
2222
|
+
_ => bad_type_info(),
|
2223
|
+
};
|
2224
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
2225
|
+
let payload_offset = Self::INFO.payload_offset32 as usize;
|
2226
|
+
match self {
|
2227
|
+
Ok(e) => {
|
2228
|
+
cx.get::<1>(offset)[0] = 0;
|
2229
|
+
if let Some(ok) = ok {
|
2230
|
+
e.store(cx, ok, offset + payload_offset)?;
|
2231
|
+
}
|
2232
|
+
}
|
2233
|
+
Err(e) => {
|
2234
|
+
cx.get::<1>(offset)[0] = 1;
|
2235
|
+
if let Some(err) = err {
|
2236
|
+
e.store(cx, err, offset + payload_offset)?;
|
2237
|
+
}
|
2238
|
+
}
|
2239
|
+
}
|
2240
|
+
Ok(())
|
2241
|
+
}
|
2242
|
+
}
|
2243
|
+
|
2244
|
+
unsafe impl<T, E> Lift for Result<T, E>
|
2245
|
+
where
|
2246
|
+
T: Lift,
|
2247
|
+
E: Lift,
|
2248
|
+
{
|
2249
|
+
#[inline]
|
2250
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
2251
|
+
let (ok, err) = match ty {
|
2252
|
+
InterfaceType::Result(ty) => {
|
2253
|
+
let ty = &cx.types[ty];
|
2254
|
+
(ty.ok, ty.err)
|
2255
|
+
}
|
2256
|
+
_ => bad_type_info(),
|
2257
|
+
};
|
2258
|
+
// Note that this implementation specifically isn't trying to actually
|
2259
|
+
// reinterpret or alter the bits of `lower` depending on which variant
|
2260
|
+
// we're lifting. This ends up all working out because the value is
|
2261
|
+
// stored in little-endian format.
|
2262
|
+
//
|
2263
|
+
// When stored in little-endian format the `{T,E}::Lower`, when each
|
2264
|
+
// individual `ValRaw` is read, means that if an i64 value, extended
|
2265
|
+
// from an i32 value, was stored then when the i32 value is read it'll
|
2266
|
+
// automatically ignore the upper bits.
|
2267
|
+
//
|
2268
|
+
// This "trick" allows us to seamlessly pass through the `Self::Lower`
|
2269
|
+
// representation into the lifting/lowering without trying to handle
|
2270
|
+
// "join"ed types as per the canonical ABI. It just so happens that i64
|
2271
|
+
// bits will naturally be reinterpreted as f64. Additionally if the
|
2272
|
+
// joined type is i64 but only the lower bits are read that's ok and we
|
2273
|
+
// don't need to validate the upper bits.
|
2274
|
+
//
|
2275
|
+
// This is largely enabled by WebAssembly/component-model#35 where no
|
2276
|
+
// validation needs to be performed for ignored bits and bytes here.
|
2277
|
+
Ok(match src.tag.get_i32() {
|
2278
|
+
0 => Ok(unsafe { lift_option(cx, ok, &src.payload.ok)? }),
|
2279
|
+
1 => Err(unsafe { lift_option(cx, err, &src.payload.err)? }),
|
2280
|
+
_ => bail!("invalid expected discriminant"),
|
2281
|
+
})
|
2282
|
+
}
|
2283
|
+
|
2284
|
+
#[inline]
|
2285
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2286
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2287
|
+
let discrim = bytes[0];
|
2288
|
+
let payload = &bytes[Self::INFO.payload_offset32 as usize..];
|
2289
|
+
let (ok, err) = match ty {
|
2290
|
+
InterfaceType::Result(ty) => {
|
2291
|
+
let ty = &cx.types[ty];
|
2292
|
+
(ty.ok, ty.err)
|
2293
|
+
}
|
2294
|
+
_ => bad_type_info(),
|
2295
|
+
};
|
2296
|
+
match discrim {
|
2297
|
+
0 => Ok(Ok(load_option(cx, ok, &payload[..T::SIZE32])?)),
|
2298
|
+
1 => Ok(Err(load_option(cx, err, &payload[..E::SIZE32])?)),
|
2299
|
+
_ => bail!("invalid expected discriminant"),
|
2300
|
+
}
|
2301
|
+
}
|
2302
|
+
}
|
2303
|
+
|
2304
|
+
fn lift_option<T>(cx: &mut LiftContext<'_>, ty: Option<InterfaceType>, src: &T::Lower) -> Result<T>
|
2305
|
+
where
|
2306
|
+
T: Lift,
|
2307
|
+
{
|
2308
|
+
match ty {
|
2309
|
+
Some(ty) => T::lift(cx, ty, src),
|
2310
|
+
None => Ok(empty_lift()),
|
2311
|
+
}
|
2312
|
+
}
|
2313
|
+
|
2314
|
+
fn load_option<T>(cx: &mut LiftContext<'_>, ty: Option<InterfaceType>, bytes: &[u8]) -> Result<T>
|
2315
|
+
where
|
2316
|
+
T: Lift,
|
2317
|
+
{
|
2318
|
+
match ty {
|
2319
|
+
Some(ty) => T::load(cx, ty, bytes),
|
2320
|
+
None => Ok(empty_lift()),
|
2321
|
+
}
|
2322
|
+
}
|
2323
|
+
|
2324
|
+
fn empty_lift<T>() -> T
|
2325
|
+
where
|
2326
|
+
T: Lift,
|
2327
|
+
{
|
2328
|
+
assert!(T::IS_RUST_UNIT_TYPE);
|
2329
|
+
assert_eq!(mem::size_of::<T>(), 0);
|
2330
|
+
unsafe { MaybeUninit::uninit().assume_init() }
|
2331
|
+
}
|
2332
|
+
|
2333
|
+
macro_rules! impl_component_ty_for_tuples {
|
2334
|
+
($n:tt $($t:ident)*) => {paste::paste!{
|
2335
|
+
#[allow(non_snake_case)]
|
2336
|
+
#[doc(hidden)]
|
2337
|
+
#[derive(Clone, Copy)]
|
2338
|
+
#[repr(C)]
|
2339
|
+
pub struct [<TupleLower$n>]<$($t),*> {
|
2340
|
+
$($t: $t,)*
|
2341
|
+
_align_tuple_lower0_correctly: [ValRaw; 0],
|
2342
|
+
}
|
2343
|
+
|
2344
|
+
#[allow(non_snake_case)]
|
2345
|
+
unsafe impl<$($t,)*> ComponentType for ($($t,)*)
|
2346
|
+
where $($t: ComponentType),*
|
2347
|
+
{
|
2348
|
+
type Lower = [<TupleLower$n>]<$($t::Lower),*>;
|
2349
|
+
|
2350
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::record_static(&[
|
2351
|
+
$($t::ABI),*
|
2352
|
+
]);
|
2353
|
+
|
2354
|
+
const IS_RUST_UNIT_TYPE: bool = {
|
2355
|
+
let mut _is_unit = true;
|
2356
|
+
$(
|
2357
|
+
let _anything_to_bind_the_macro_variable = $t::IS_RUST_UNIT_TYPE;
|
2358
|
+
_is_unit = false;
|
2359
|
+
)*
|
2360
|
+
_is_unit
|
2361
|
+
};
|
2362
|
+
|
2363
|
+
fn typecheck(
|
2364
|
+
ty: &InterfaceType,
|
2365
|
+
types: &InstanceType<'_>,
|
2366
|
+
) -> Result<()> {
|
2367
|
+
typecheck_tuple(ty, types, &[$($t::typecheck),*])
|
2368
|
+
}
|
2369
|
+
}
|
2370
|
+
|
2371
|
+
#[allow(non_snake_case)]
|
2372
|
+
unsafe impl<$($t,)*> Lower for ($($t,)*)
|
2373
|
+
where $($t: Lower),*
|
2374
|
+
{
|
2375
|
+
fn lower<U>(
|
2376
|
+
&self,
|
2377
|
+
cx: &mut LowerContext<'_, U>,
|
2378
|
+
ty: InterfaceType,
|
2379
|
+
_dst: &mut MaybeUninit<Self::Lower>,
|
2380
|
+
) -> Result<()> {
|
2381
|
+
let types = match ty {
|
2382
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2383
|
+
_ => bad_type_info(),
|
2384
|
+
};
|
2385
|
+
let ($($t,)*) = self;
|
2386
|
+
let mut _types = types.iter();
|
2387
|
+
$(
|
2388
|
+
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2389
|
+
$t.lower(cx, ty, map_maybe_uninit!(_dst.$t))?;
|
2390
|
+
)*
|
2391
|
+
Ok(())
|
2392
|
+
}
|
2393
|
+
|
2394
|
+
fn store<U>(
|
2395
|
+
&self,
|
2396
|
+
cx: &mut LowerContext<'_, U>,
|
2397
|
+
ty: InterfaceType,
|
2398
|
+
mut _offset: usize,
|
2399
|
+
) -> Result<()> {
|
2400
|
+
debug_assert!(_offset % (Self::ALIGN32 as usize) == 0);
|
2401
|
+
let types = match ty {
|
2402
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2403
|
+
_ => bad_type_info(),
|
2404
|
+
};
|
2405
|
+
let ($($t,)*) = self;
|
2406
|
+
let mut _types = types.iter();
|
2407
|
+
$(
|
2408
|
+
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2409
|
+
$t.store(cx, ty, $t::ABI.next_field32_size(&mut _offset))?;
|
2410
|
+
)*
|
2411
|
+
Ok(())
|
2412
|
+
}
|
2413
|
+
}
|
2414
|
+
|
2415
|
+
#[allow(non_snake_case)]
|
2416
|
+
unsafe impl<$($t,)*> Lift for ($($t,)*)
|
2417
|
+
where $($t: Lift),*
|
2418
|
+
{
|
2419
|
+
#[inline]
|
2420
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, _src: &Self::Lower) -> Result<Self> {
|
2421
|
+
let types = match ty {
|
2422
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2423
|
+
_ => bad_type_info(),
|
2424
|
+
};
|
2425
|
+
let mut _types = types.iter();
|
2426
|
+
Ok(($(
|
2427
|
+
$t::lift(
|
2428
|
+
cx,
|
2429
|
+
*_types.next().unwrap_or_else(bad_type_info),
|
2430
|
+
&_src.$t,
|
2431
|
+
)?,
|
2432
|
+
)*))
|
2433
|
+
}
|
2434
|
+
|
2435
|
+
#[inline]
|
2436
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2437
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2438
|
+
let types = match ty {
|
2439
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2440
|
+
_ => bad_type_info(),
|
2441
|
+
};
|
2442
|
+
let mut _types = types.iter();
|
2443
|
+
let mut _offset = 0;
|
2444
|
+
$(
|
2445
|
+
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2446
|
+
let $t = $t::load(cx, ty, &bytes[$t::ABI.next_field32_size(&mut _offset)..][..$t::SIZE32])?;
|
2447
|
+
)*
|
2448
|
+
Ok(($($t,)*))
|
2449
|
+
}
|
2450
|
+
}
|
2451
|
+
|
2452
|
+
#[allow(non_snake_case)]
|
2453
|
+
unsafe impl<$($t,)*> ComponentNamedList for ($($t,)*)
|
2454
|
+
where $($t: ComponentType),*
|
2455
|
+
{}
|
2456
|
+
}};
|
2457
|
+
}
|
2458
|
+
|
2459
|
+
for_each_function_signature!(impl_component_ty_for_tuples);
|
2460
|
+
|
2461
|
+
pub fn desc(ty: &InterfaceType) -> &'static str {
|
2462
|
+
match ty {
|
2463
|
+
InterfaceType::U8 => "u8",
|
2464
|
+
InterfaceType::S8 => "s8",
|
2465
|
+
InterfaceType::U16 => "u16",
|
2466
|
+
InterfaceType::S16 => "s16",
|
2467
|
+
InterfaceType::U32 => "u32",
|
2468
|
+
InterfaceType::S32 => "s32",
|
2469
|
+
InterfaceType::U64 => "u64",
|
2470
|
+
InterfaceType::S64 => "s64",
|
2471
|
+
InterfaceType::Float32 => "f32",
|
2472
|
+
InterfaceType::Float64 => "f64",
|
2473
|
+
InterfaceType::Bool => "bool",
|
2474
|
+
InterfaceType::Char => "char",
|
2475
|
+
InterfaceType::String => "string",
|
2476
|
+
InterfaceType::List(_) => "list",
|
2477
|
+
InterfaceType::Tuple(_) => "tuple",
|
2478
|
+
InterfaceType::Option(_) => "option",
|
2479
|
+
InterfaceType::Result(_) => "result",
|
2480
|
+
|
2481
|
+
InterfaceType::Record(_) => "record",
|
2482
|
+
InterfaceType::Variant(_) => "variant",
|
2483
|
+
InterfaceType::Flags(_) => "flags",
|
2484
|
+
InterfaceType::Enum(_) => "enum",
|
2485
|
+
InterfaceType::Own(_) => "owned resource",
|
2486
|
+
InterfaceType::Borrow(_) => "borrowed resource",
|
2487
|
+
}
|
2488
|
+
}
|
2489
|
+
|
2490
|
+
#[cold]
|
2491
|
+
#[doc(hidden)]
|
2492
|
+
pub fn bad_type_info<T>() -> T {
|
2493
|
+
// NB: should consider something like `unreachable_unchecked` here if this
|
2494
|
+
// becomes a performance bottleneck at some point, but that also comes with
|
2495
|
+
// a tradeoff of propagating a lot of unsafety, so it may not be worth it.
|
2496
|
+
panic!("bad type information detected");
|
2497
|
+
}
|