wasmtime 21.0.1 → 22.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +80 -87
- data/ext/Cargo.toml +4 -4
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/Cargo.toml +193 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/context.rs +384 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/dominator_tree.rs +727 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/egraph.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/inst_predicates.rs +230 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/dfg.rs +1777 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/extfunc.rs +402 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/immediates.rs +1612 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/stackslot.rs +208 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/types.rs +627 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/abi.rs +1556 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/args.rs +711 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit.rs +3584 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit_tests.rs +7901 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/imms.rs +1213 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/mod.rs +3060 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/regs.rs +269 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst.isle +4218 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/pcc.rs +568 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/abi.rs +1029 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/args.rs +2054 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit.rs +2682 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit_tests.rs +2215 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/encode.rs +675 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/imms.rs +374 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/mod.rs +1938 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/unwind/systemv.rs +170 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/vector.rs +1150 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst.isle +3127 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst_vector.isle +1907 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower/isle.rs +649 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower.isle +2923 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/mod.rs +260 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/abi.rs +1016 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/args.rs +298 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit.rs +3401 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit_tests.rs +13388 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/imms.rs +202 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/mod.rs +3401 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/regs.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/unwind/systemv.rs +212 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst.isle +5028 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/lower.isle +3995 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/abi.rs +1390 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/args.rs +2240 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit.rs +4287 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_state.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_tests.rs +5171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/mod.rs +2821 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/regs.rs +275 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/unwind/systemv.rs +198 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst.isle +5289 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/lower.isle +4810 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/pcc.rs +1014 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isle_prelude.rs +986 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/abi.rs +2419 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/blockorder.rs +465 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/buffer.rs +2508 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/isle.rs +909 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/lower.rs +1432 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/mod.rs +551 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/reg.rs +479 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/valueregs.rs +138 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/vcode.rs +1741 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/cprop.isle +297 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/shifts.isle +307 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude.isle +664 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude_lower.isle +1073 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/timing.rs +296 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/traversals.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/verifier/mod.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/write.rs +638 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/types.rs +496 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/isa/riscv64.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/src/constants.rs +28 -0
- data/ext/cargo-vendor/cranelift-control-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.109.0/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.109.0/Cargo.toml +53 -0
- data/ext/cargo-vendor/cranelift-entity-0.109.0/src/set.rs +290 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/Cargo.toml +68 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/frontend.rs +1857 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/lib.rs +187 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/ssa.rs +1328 -0
- data/ext/cargo-vendor/cranelift-isle-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.109.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/sema.rs +2492 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/src/lib.rs +188 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/src/riscv.rs +128 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/Cargo.toml +110 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator.rs +3695 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/func_translator.rs +296 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/module_translator.rs +120 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/sections_translator.rs +343 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/state.rs +522 -0
- data/ext/cargo-vendor/object-0.36.3/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.36.3/CHANGELOG.md +1028 -0
- data/ext/cargo-vendor/object-0.36.3/Cargo.toml +180 -0
- data/ext/cargo-vendor/object-0.36.3/README.md +60 -0
- data/ext/cargo-vendor/object-0.36.3/src/build/bytes.rs +146 -0
- data/ext/cargo-vendor/object-0.36.3/src/build/elf.rs +3113 -0
- data/ext/cargo-vendor/object-0.36.3/src/common.rs +590 -0
- data/ext/cargo-vendor/object-0.36.3/src/elf.rs +6303 -0
- data/ext/cargo-vendor/object-0.36.3/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.36.3/src/macho.rs +3303 -0
- data/ext/cargo-vendor/object-0.36.3/src/pod.rs +281 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/any.rs +1334 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/archive.rs +1133 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/comdat.rs +220 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/file.rs +381 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/relocation.rs +113 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/section.rs +619 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/symbol.rs +669 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/attributes.rs +340 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/comdat.rs +186 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/file.rs +959 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/hash.rs +236 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/note.rs +302 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/relocation.rs +661 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/section.rs +1241 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/segment.rs +365 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/symbol.rs +654 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/version.rs +513 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/gnu_compression.rs +36 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/dyld_cache.rs +384 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/file.rs +779 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/load_command.rs +404 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/section.rs +420 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/segment.rs +317 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/symbol.rs +532 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/mod.rs +1018 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/file.rs +1033 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/import.rs +381 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/relocation.rs +109 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/section.rs +476 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/read_cache.rs +261 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/traits.rs +589 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/wasm.rs +983 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/file.rs +716 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/relocation.rs +138 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/section.rs +452 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/symbol.rs +836 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/coff/object.rs +681 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/coff/writer.rs +520 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/elf/object.rs +897 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/elf/writer.rs +2361 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/macho.rs +1124 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/mod.rs +1023 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/pe.rs +849 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/xcoff.rs +588 -0
- data/ext/cargo-vendor/object-0.36.3/tests/build/elf.rs +254 -0
- data/ext/cargo-vendor/object-0.36.3/tests/build/mod.rs +3 -0
- data/ext/cargo-vendor/object-0.36.3/tests/integration.rs +3 -0
- data/ext/cargo-vendor/object-0.36.3/tests/read/macho.rs +49 -0
- data/ext/cargo-vendor/object-0.36.3/tests/read/mod.rs +5 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/bss.rs +244 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/comdat.rs +217 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/common.rs +241 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/elf.rs +302 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/mod.rs +682 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/section_flags.rs +89 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/tls.rs +308 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/Cargo.toml +224 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_0.rs +1080 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_1.rs +1562 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/string_array.rs +75 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/sync/sched/windows.rs +221 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/tokio/file.rs +247 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.lock +662 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.toml +109 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/binary_reader.rs +1929 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/hash.rs +120 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/detail.rs +1094 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/tests.rs +183 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map.rs +656 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_set.rs +316 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/map.rs +840 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/mod.rs +24 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/set.rs +660 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/features.rs +164 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/lib.rs +814 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/limits.rs +79 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/parser.rs +1682 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/imports.rs +130 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/instances.rs +166 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/names.rs +99 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/types.rs +553 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/branch_hinting.rs +59 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/code.rs +142 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/coredumps.rs +278 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/custom.rs +128 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/data.rs +96 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/elements.rs +146 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/globals.rs +61 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/init.rs +57 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/linking.rs +457 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/names.rs +159 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/operators.rs +423 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/producers.rs +84 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/reloc.rs +300 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/types.rs +1788 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers.rs +315 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/component.rs +3236 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core/canonical.rs +233 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core.rs +1464 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/func.rs +331 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/names.rs +1016 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/operators.rs +4231 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/types.rs +4550 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator.rs +1633 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/Cargo.toml +51 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/lib.rs +3225 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/operator.rs +1171 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/Cargo.toml +387 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/build.rs +42 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/runtime.rs +167 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile.rs +917 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/config.rs +2943 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/engine/serialization.rs +890 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/lib.rs +389 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/jitdump.rs +67 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/perfmap.rs +48 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code.rs +102 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code_memory.rs +338 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_0_hello_world.rs +9 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_1_world_imports.rs +17 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs +18 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_3_interface_imports.rs +20 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_4_imported_resources.rs +45 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +29 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_6_exported_resources.rs +26 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/mod.rs +489 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/component.rs +656 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/typed.rs +2498 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func.rs +689 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/instance.rs +810 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/linker.rs +854 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/mod.rs +657 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/resource_table.rs +355 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/types.rs +897 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/debug.rs +166 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/global.rs +310 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/table.rs +481 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func/typed.rs +780 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func.rs +2564 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/anyref.rs +410 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/externref.rs +592 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/i31.rs +299 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/noextern.rs +154 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc.rs +92 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instantiate.rs +337 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/linker.rs +1499 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module/registry.rs +353 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module.rs +1322 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store/func_refs.rs +90 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store.rs +2824 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/func.rs +94 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/memory.rs +287 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/type_registry.rs +1015 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types.rs +2580 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/v128.rs +116 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/values.rs +966 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/resources.rs +352 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component.rs +857 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/cow.rs +972 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_ref.rs +491 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/on_demand.rs +220 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +194 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +94 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +78 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +707 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +975 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/table_pool.rs +245 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +278 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling.rs +794 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator.rs +801 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance.rs +1514 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/memory.rs +736 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/capi.rs +200 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/vm.rs +105 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/vm.rs +59 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/mod.rs +36 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/signals.rs +407 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/vm.rs +190 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/vm.rs +75 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/table.rs +899 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/traphandlers.rs +768 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext/vm_host_func_context.rs +79 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext.rs +1302 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm.rs +277 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime.rs +113 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/Cargo.toml +89 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/config.rs +584 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/tests.rs +91 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker/tests.rs +758 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker.rs +890 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/Cargo.toml +86 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/bindgen.rs +493 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/component.rs +1330 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen.rs +651 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char.rs +198 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char_async.rs +215 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions.rs +586 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions_async.rs +631 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code_async.rs +178 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import.rs +91 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import_async.rs +97 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty.rs +45 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty_async.rs +45 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags.rs +637 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags_async.rs +679 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats.rs +255 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats_async.rs +282 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new.rs +59 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new_async.rs +62 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers.rs +722 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers_async.rs +819 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists.rs +1743 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists_async.rs +1927 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments.rs +543 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments_async.rs +561 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return.rs +270 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return_async.rs +298 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion.rs +251 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion_async.rs +270 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records.rs +815 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records_async.rs +877 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename.rs +154 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename_async.rs +167 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export.rs +467 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export_async.rs +516 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import.rs +1014 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import_async.rs +1086 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types.rs +249 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types_async.rs +265 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions.rs +313 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions_async.rs +347 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists.rs +350 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists_async.rs +381 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi.rs +216 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi_async.rs +229 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous.rs +275 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous_async.rs +287 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default.rs +59 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default_async.rs +62 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export.rs +86 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export_async.rs +89 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke.rs +104 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke_async.rs +111 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings.rs +247 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings_async.rs +269 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo.rs +136 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo_async.rs +143 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths.rs +288 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths_async.rs +314 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants.rs +1750 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants_async.rs +1867 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat.rs +84 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat_async.rs +84 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types.rs +138 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types_async.rs +148 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded.rs +65 -0
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/Cargo.toml +115 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler/component.rs +957 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/address_transform.rs +783 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/mod.rs +256 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/simulate.rs +411 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/unit.rs +529 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/utils.rs +186 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/write_debuginfo.rs +196 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/func_environ.rs +2910 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/gc/enabled.rs +648 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/lib.rs +462 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/obj.rs +545 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.lock +774 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.toml +161 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/address_map.rs +73 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/mod.rs +374 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_artifacts.rs +315 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_environ.rs +1348 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_types.rs +455 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/artifacts.rs +68 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate/adapt.rs +455 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate.rs +985 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types.rs +1038 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder/resources.rs +233 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder.rs +1004 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/trampoline.rs +3234 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/transcode.rs +90 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact.rs +714 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/lib.rs +151 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module.rs +704 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_artifacts.rs +144 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_types.rs +139 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/ref_bits.rs +36 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/tunables.rs +175 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/vmoffsets.rs +989 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/build.rs +39 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/lib.rs +340 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/unix.rs +494 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/windows.rs +170 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/Cargo.toml +68 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/gdb_jit_int.rs +130 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/perf_jitdump.rs +293 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/Cargo.toml +52 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/src/libc.rs +164 -0
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/src/lib.rs +498 -0
- data/ext/cargo-vendor/wasmtime-types-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-22.0.0/Cargo.toml +56 -0
- data/ext/cargo-vendor/wasmtime-types-22.0.0/src/lib.rs +1737 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/Cargo.toml +201 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/bindings.rs +289 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ctx.rs +704 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/filesystem.rs +446 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/clocks.rs +109 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/env.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/exit.rs +14 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem/sync.rs +525 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem.rs +1091 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/instance_network.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/io.rs +388 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/network.rs +545 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/random.rs +45 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp.rs +547 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp_create_socket.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp.rs +762 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp_create_socket.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ip_name_lookup.rs +132 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/lib.rs +417 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/network.rs +113 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/pipe.rs +826 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/poll.rs +245 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview0.rs +983 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview1.rs +2801 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/stdio.rs +533 -0
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/Cargo.toml +82 -0
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/src/compiler.rs +239 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/lib.rs +2639 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/rust.rs +427 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/types.rs +202 -0
- data/ext/cargo-vendor/wiggle-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-22.0.0/Cargo.toml +124 -0
- data/ext/cargo-vendor/wiggle-22.0.0/src/guest_type.rs +200 -0
- data/ext/cargo-vendor/wiggle-22.0.0/src/lib.rs +605 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/funcs.rs +434 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/module_trait.rs +89 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/names.rs +299 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/flags.rs +92 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/handle.rs +84 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/mod.rs +129 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/record.rs +129 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/variant.rs +186 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/wasmtime.rs +172 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/Cargo.toml +51 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/build.rs +5 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/src/lib.rs +233 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/Cargo.toml +77 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/abi/mod.rs +671 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/context.rs +536 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/control.rs +972 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/env.rs +448 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/mod.rs +882 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/frame/mod.rs +258 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/asm.rs +430 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/masm.rs +572 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/regs.rs +161 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/masm.rs +1120 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/masm.rs +941 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/regalloc.rs +65 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/stack.rs +439 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/visitor.rs +2149 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/Cargo.toml +112 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/resolve.rs +1524 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast.rs +1668 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/decoding.rs +1795 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/lib.rs +873 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/live.rs +126 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/metadata.rs +772 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/resolve.rs +2498 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/serde_.rs +124 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/all.rs +154 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/complex-include.wit.json +200 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/diamond1.wit.json +59 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/disambiguate-diamond.wit.json +115 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit +118 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit.json +288 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps-union.wit.json +410 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps.wit.json +362 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/ignore-files-deps.wit.json +41 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/import-export-overlap2.wit.json +43 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/include-reps.wit.json +68 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/kinds-of-deps.wit.json +95 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/many-names.wit.json +42 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/multi-file.wit.json +304 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/conflicting-package.wit.result +10 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/multiple-package-docs.wit.result +10 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-return-borrow.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow1.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow2.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow6.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow7.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow8.wit.result +9 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/shared-types.wit.json +87 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit +89 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit.json +549 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/stress-export-elaborate.wit.json +1156 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-diamond.wit.json +124 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-iface-no-collide.wit.json +68 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import1.wit.json +81 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import2.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import3.wit.json +73 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-same-fields4.wit.json +82 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-top-level-resources.wit.json +237 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-union-dedup.wit.json +112 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-with-types.wit.json +204 -0
- data/ext/src/ruby_api/pooling_allocation_config.rs +6 -6
- data/lib/wasmtime/version.rb +1 -1
- metadata +1525 -1459
- data/ext/cargo-vendor/cranelift-bforest-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.108.1/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/Cargo.toml +0 -189
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/context.rs +0 -395
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dce.rs +0 -37
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dominator_tree.rs +0 -803
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph.rs +0 -839
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/inst_predicates.rs +0 -236
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/dfg.rs +0 -1777
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/extfunc.rs +0 -411
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/immediates.rs +0 -1612
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/stackslot.rs +0 -216
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/types.rs +0 -629
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/abi.rs +0 -1580
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/args.rs +0 -721
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit.rs +0 -3846
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit_tests.rs +0 -7902
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/imms.rs +0 -1213
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/mod.rs +0 -3094
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/regs.rs +0 -288
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/unwind/systemv.rs +0 -174
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst.isle +0 -4225
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/pcc.rs +0 -568
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/abi.rs +0 -1051
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/args.rs +0 -1938
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit.rs +0 -2681
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit_tests.rs +0 -2197
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/encode.rs +0 -654
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/imms.rs +0 -374
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/mod.rs +0 -1975
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/unwind/systemv.rs +0 -170
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/vector.rs +0 -1144
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst.isle +0 -2969
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst_vector.isle +0 -1899
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower/isle.rs +0 -625
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower.isle +0 -2883
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/mod.rs +0 -260
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/abi.rs +0 -1037
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/args.rs +0 -314
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit.rs +0 -3646
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit_tests.rs +0 -13389
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/imms.rs +0 -202
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/mod.rs +0 -3421
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/regs.rs +0 -180
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/unwind/systemv.rs +0 -212
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst.isle +0 -5033
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/lower.isle +0 -3995
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/abi.rs +0 -1410
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/args.rs +0 -2256
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit.rs +0 -4311
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_state.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_tests.rs +0 -5171
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/mod.rs +0 -2838
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/regs.rs +0 -276
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/unwind/systemv.rs +0 -198
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst.isle +0 -5294
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.isle +0 -4808
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/pcc.rs +0 -1014
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isle_prelude.rs +0 -957
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/lib.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/abi.rs +0 -2506
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/blockorder.rs +0 -465
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/buffer.rs +0 -2512
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/isle.rs +0 -903
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/lower.rs +0 -1432
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/mod.rs +0 -555
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/reg.rs +0 -522
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/valueregs.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/vcode.rs +0 -1741
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/cprop.isle +0 -281
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/shifts.isle +0 -307
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude.isle +0 -646
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude_lower.isle +0 -1073
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/timing.rs +0 -297
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/verifier/mod.rs +0 -1957
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/write.rs +0 -631
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/cdsl/types.rs +0 -496
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/riscv64.rs +0 -168
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/src/constants.rs +0 -28
- data/ext/cargo-vendor/cranelift-control-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.108.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.108.1/Cargo.toml +0 -52
- data/ext/cargo-vendor/cranelift-entity-0.108.1/src/set.rs +0 -290
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/Cargo.toml +0 -67
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/frontend.rs +0 -1854
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/lib.rs +0 -189
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/ssa.rs +0 -1328
- data/ext/cargo-vendor/cranelift-isle-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.108.1/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/sema.rs +0 -2492
- data/ext/cargo-vendor/cranelift-native-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.108.1/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-native-0.108.1/src/lib.rs +0 -188
- data/ext/cargo-vendor/cranelift-native-0.108.1/src/riscv.rs +0 -128
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/Cargo.toml +0 -109
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/code_translator.rs +0 -3687
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/func_translator.rs +0 -296
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/module_translator.rs +0 -128
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/sections_translator.rs +0 -389
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/state.rs +0 -522
- data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +0 -797
- data/ext/cargo-vendor/object-0.33.0/Cargo.toml +0 -179
- data/ext/cargo-vendor/object-0.33.0/README.md +0 -56
- data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +0 -141
- data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +0 -3033
- data/ext/cargo-vendor/object-0.33.0/src/common.rs +0 -568
- data/ext/cargo-vendor/object-0.33.0/src/elf.rs +0 -6291
- data/ext/cargo-vendor/object-0.33.0/src/endian.rs +0 -831
- data/ext/cargo-vendor/object-0.33.0/src/macho.rs +0 -3309
- data/ext/cargo-vendor/object-0.33.0/src/pod.rs +0 -239
- data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +0 -1328
- data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +0 -759
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +0 -211
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +0 -383
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +0 -108
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +0 -585
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +0 -635
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +0 -306
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +0 -162
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +0 -918
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +0 -224
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +0 -271
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +0 -629
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +0 -1150
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +0 -356
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +0 -595
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +0 -424
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +0 -345
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +0 -783
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +0 -386
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +0 -389
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +0 -303
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +0 -492
- data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +0 -880
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +0 -1053
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +0 -339
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +0 -92
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +0 -440
- data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +0 -213
- data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +0 -551
- data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +0 -966
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +0 -697
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +0 -134
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +0 -433
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +0 -784
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +0 -678
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +0 -518
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +0 -885
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +0 -2309
- data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +0 -1107
- data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +0 -990
- data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +0 -847
- data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +0 -589
- data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +0 -2
- data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +0 -4
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +0 -255
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +0 -225
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +0 -245
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +0 -289
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +0 -704
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +0 -90
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +0 -316
- data/ext/cargo-vendor/wasi-common-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-21.0.1/Cargo.toml +0 -223
- data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_0.rs +0 -1145
- data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_1.rs +0 -1497
- data/ext/cargo-vendor/wasi-common-21.0.1/src/string_array.rs +0 -74
- data/ext/cargo-vendor/wasi-common-21.0.1/src/sync/sched/windows.rs +0 -221
- data/ext/cargo-vendor/wasi-common-21.0.1/src/tokio/file.rs +0 -247
- data/ext/cargo-vendor/wasm-encoder-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.207.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasm-encoder-0.207.0/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/code.rs +0 -3502
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/custom.rs +0 -73
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/data.rs +0 -186
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/elements.rs +0 -221
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/exports.rs +0 -98
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/globals.rs +0 -112
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/imports.rs +0 -157
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/memories.rs +0 -128
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/names.rs +0 -298
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/producers.rs +0 -180
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tables.rs +0 -134
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tags.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/types.rs +0 -678
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.lock +0 -659
- data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.toml +0 -95
- data/ext/cargo-vendor/wasmparser-0.207.0/src/binary_reader.rs +0 -1867
- data/ext/cargo-vendor/wasmparser-0.207.0/src/lib.rs +0 -805
- data/ext/cargo-vendor/wasmparser-0.207.0/src/limits.rs +0 -78
- data/ext/cargo-vendor/wasmparser-0.207.0/src/map.rs +0 -137
- data/ext/cargo-vendor/wasmparser-0.207.0/src/parser.rs +0 -1636
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/imports.rs +0 -129
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/instances.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/names.rs +0 -102
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/types.rs +0 -551
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/branch_hinting.rs +0 -59
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/code.rs +0 -146
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/coredumps.rs +0 -244
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/custom.rs +0 -64
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/elements.rs +0 -152
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/globals.rs +0 -51
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/init.rs +0 -51
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/linking.rs +0 -450
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/names.rs +0 -159
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/operators.rs +0 -430
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/producers.rs +0 -83
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/reloc.rs +0 -301
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types.rs +0 -1773
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers.rs +0 -316
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/component.rs +0 -3242
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core/canonical.rs +0 -233
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core.rs +0 -1450
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/func.rs +0 -331
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/names.rs +0 -947
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/operators.rs +0 -4117
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/types.rs +0 -4492
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator.rs +0 -1786
- data/ext/cargo-vendor/wasmprinter-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.207.0/Cargo.toml +0 -50
- data/ext/cargo-vendor/wasmprinter-0.207.0/src/lib.rs +0 -3226
- data/ext/cargo-vendor/wasmprinter-0.207.0/src/operator.rs +0 -1164
- data/ext/cargo-vendor/wasmtime-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-21.0.1/Cargo.toml +0 -386
- data/ext/cargo-vendor/wasmtime-21.0.1/build.rs +0 -37
- data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/runtime.rs +0 -176
- data/ext/cargo-vendor/wasmtime-21.0.1/src/compile.rs +0 -910
- data/ext/cargo-vendor/wasmtime-21.0.1/src/config.rs +0 -2904
- data/ext/cargo-vendor/wasmtime-21.0.1/src/engine/serialization.rs +0 -887
- data/ext/cargo-vendor/wasmtime-21.0.1/src/lib.rs +0 -328
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/jitdump.rs +0 -67
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/perfmap.rs +0 -48
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code.rs +0 -102
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code_memory.rs +0 -337
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/component.rs +0 -661
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/typed.rs +0 -2498
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func.rs +0 -746
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/instance.rs +0 -814
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/linker.rs +0 -783
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/matching.rs +0 -217
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/mod.rs +0 -783
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resource_table.rs +0 -355
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/types.rs +0 -892
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/debug.rs +0 -166
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/global.rs +0 -310
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/table.rs +0 -477
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func/typed.rs +0 -899
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func.rs +0 -2627
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/anyref.rs +0 -473
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/externref.rs +0 -650
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/i31.rs +0 -346
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc.rs +0 -89
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instance.rs +0 -992
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instantiate.rs +0 -346
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/linker.rs +0 -1506
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module/registry.rs +0 -353
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/func_refs.rs +0 -90
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store.rs +0 -2820
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/func.rs +0 -139
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/memory.rs +0 -287
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/type_registry.rs +0 -807
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types.rs +0 -2239
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/values.rs +0 -966
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/resources.rs +0 -352
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component.rs +0 -860
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/cow.rs +0 -893
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/export.rs +0 -108
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_ref.rs +0 -491
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/on_demand.rs +0 -218
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -93
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -66
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -705
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -1000
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -233
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -245
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling.rs +0 -656
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator.rs +0 -798
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance.rs +0 -1519
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/memory.rs +0 -744
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/capi.rs +0 -200
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/vm.rs +0 -109
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/vm.rs +0 -63
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/mod.rs +0 -25
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/signals.rs +0 -401
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/vm.rs +0 -215
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/vm.rs +0 -79
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/table.rs +0 -847
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers.rs +0 -768
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -138
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext.rs +0 -1337
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm.rs +0 -287
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime.rs +0 -110
- data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/Cargo.toml +0 -88
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/config.rs +0 -584
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/lib.rs +0 -235
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/tests.rs +0 -91
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker/tests.rs +0 -758
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker.rs +0 -890
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/Cargo.toml +0 -79
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/bindgen.rs +0 -436
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen.rs +0 -576
- data/ext/cargo-vendor/wasmtime-component-util-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-21.0.1/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler/component.rs +0 -968
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler.rs +0 -1383
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/address_transform.rs +0 -783
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/mod.rs +0 -256
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/unit.rs +0 -529
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/utils.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/write_debuginfo.rs +0 -196
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/func_environ.rs +0 -2888
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc/enabled.rs +0 -648
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/lib.rs +0 -511
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/obj.rs +0 -545
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.lock +0 -772
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.toml +0 -154
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/address_map.rs +0 -73
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/mod.rs +0 -419
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_artifacts.rs +0 -315
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_environ.rs +0 -1337
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_types.rs +0 -362
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/artifacts.rs +0 -72
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/info.rs +0 -672
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate/adapt.rs +0 -455
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate.rs +0 -978
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types.rs +0 -1029
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder/resources.rs +0 -233
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder.rs +0 -997
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/trampoline.rs +0 -3234
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/transcode.rs +0 -90
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact.rs +0 -714
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/lib.rs +0 -161
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module.rs +0 -697
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_artifacts.rs +0 -146
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_types.rs +0 -91
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/ref_bits.rs +0 -36
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/tunables.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/vmoffsets.rs +0 -1015
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/Cargo.toml +0 -64
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/build.rs +0 -38
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/lib.rs +0 -328
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/unix.rs +0 -490
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/windows.rs +0 -166
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/gdb_jit_int.rs +0 -130
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/perf_jitdump.rs +0 -293
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/Cargo.toml +0 -51
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/libc.rs +0 -163
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/src/lib.rs +0 -498
- data/ext/cargo-vendor/wasmtime-types-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-21.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/wasmtime-types-21.0.1/src/lib.rs +0 -1572
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/Cargo.toml +0 -200
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/bindings.rs +0 -280
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ctx.rs +0 -667
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/filesystem.rs +0 -446
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/clocks.rs +0 -103
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/env.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/exit.rs +0 -11
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem/sync.rs +0 -518
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem.rs +0 -1079
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/instance_network.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/io.rs +0 -367
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/network.rs +0 -539
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/random.rs +0 -36
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp.rs +0 -306
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp_create_socket.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp.rs +0 -532
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp_create_socket.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ip_name_lookup.rs +0 -126
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/lib.rs +0 -426
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/network.rs +0 -107
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/poll.rs +0 -233
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview0.rs +0 -877
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview1.rs +0 -2660
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/stdio.rs +0 -507
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/src/compiler.rs +0 -261
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/lib.rs +0 -2541
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/rust.rs +0 -421
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/types.rs +0 -202
- data/ext/cargo-vendor/wiggle-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-21.0.1/Cargo.toml +0 -123
- data/ext/cargo-vendor/wiggle-21.0.1/src/borrow.rs +0 -113
- data/ext/cargo-vendor/wiggle-21.0.1/src/guest_type.rs +0 -237
- data/ext/cargo-vendor/wiggle-21.0.1/src/lib.rs +0 -1184
- data/ext/cargo-vendor/wiggle-21.0.1/src/wasmtime.rs +0 -97
- data/ext/cargo-vendor/wiggle-generate-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-21.0.1/Cargo.toml +0 -66
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/funcs.rs +0 -435
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/module_trait.rs +0 -102
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/names.rs +0 -303
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/flags.rs +0 -92
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/handle.rs +0 -84
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/mod.rs +0 -129
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/record.rs +0 -132
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/variant.rs +0 -191
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/wasmtime.rs +0 -170
- data/ext/cargo-vendor/wiggle-macro-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-21.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-21.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-macro-21.0.1/src/lib.rs +0 -210
- data/ext/cargo-vendor/winch-codegen-0.19.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.19.1/Cargo.toml +0 -76
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/abi/mod.rs +0 -671
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/context.rs +0 -534
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/control.rs +0 -972
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/env.rs +0 -440
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/mod.rs +0 -882
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/frame/mod.rs +0 -258
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/asm.rs +0 -380
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/masm.rs +0 -566
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/regs.rs +0 -161
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/asm.rs +0 -1423
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/masm.rs +0 -1120
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/masm.rs +0 -941
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/regalloc.rs +0 -65
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/stack.rs +0 -439
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/visitor.rs +0 -2144
- data/ext/cargo-vendor/wit-parser-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.207.0/Cargo.toml +0 -109
- data/ext/cargo-vendor/wit-parser-0.207.0/src/ast/resolve.rs +0 -1442
- data/ext/cargo-vendor/wit-parser-0.207.0/src/ast.rs +0 -1348
- data/ext/cargo-vendor/wit-parser-0.207.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.207.0/src/docs.rs +0 -389
- data/ext/cargo-vendor/wit-parser-0.207.0/src/lib.rs +0 -777
- data/ext/cargo-vendor/wit-parser-0.207.0/src/live.rs +0 -126
- data/ext/cargo-vendor/wit-parser-0.207.0/src/resolve.rs +0 -2337
- data/ext/cargo-vendor/wit-parser-0.207.0/src/serde_.rs +0 -108
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/all.rs +0 -153
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/complex-include.wit.json +0 -168
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/diamond1.wit.json +0 -55
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/disambiguate-diamond.wit.json +0 -107
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps-union.wit.json +0 -380
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps.wit.json +0 -344
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/ignore-files-deps.wit.json +0 -39
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/import-export-overlap2.wit.json +0 -41
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/include-reps.wit.json +0 -60
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/kinds-of-deps.wit.json +0 -87
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/many-names.wit.json +0 -40
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/multi-file.wit.json +0 -298
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/conflicting-package.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/shared-types.wit.json +0 -83
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/stress-export-elaborate.wit.json +0 -1136
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-diamond.wit.json +0 -118
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-iface-no-collide.wit.json +0 -66
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import1.wit.json +0 -75
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import2.wit.json +0 -70
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import3.wit.json +0 -71
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-same-fields4.wit.json +0 -76
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit.json +0 -231
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-union-dedup.wit.json +0 -100
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-with-types.wit.json +0 -202
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/trapcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spectre.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ranges.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/disjointsets.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/stablemapset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/dummy.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/spec.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/archive.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/error.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/table.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/pe.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/import.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/compression.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/dynamic.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/fat.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/relocation.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/data_directory.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/export.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/resource.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/rich.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/read_ref.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/util.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/comdat.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/segment.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/coff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/elf/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/string.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/util.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/xcoff.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/parse_self.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/coff.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/elf.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/coff.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/macho.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/async_.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.207.0 → wasmprinter-0.209.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmtime-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/compile/code_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/engine.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/anyref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/rooting.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled/rooting.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/async_yield.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/const_expr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/drc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/free_list.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/gc_runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/host_data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/machports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_nostd.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-21.0.1 → wasmtime-asm-macros-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-cache-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/dead-code.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen_no_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-21.0.1 → wasmtime-component-util-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cranelift-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-environ-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/compile/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-fiber-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-types-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-types-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-21.0.1 → wasmtime-versioned-export-macros-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-wasi-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/api.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/async_.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/preview1.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-21.0.1 → wasmtime-wit-bindgen-22.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wiggle-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-generate-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-macro-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/bounds.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/lex.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-with-types.wit +0 -0
@@ -1,2498 +0,0 @@
|
|
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 anyhow::{anyhow, bail, Context, Result};
|
11
|
-
use core::fmt;
|
12
|
-
use core::marker;
|
13
|
-
use core::mem::{self, MaybeUninit};
|
14
|
-
use core::ptr::NonNull;
|
15
|
-
use core::str;
|
16
|
-
use wasmtime_environ::component::{
|
17
|
-
CanonicalAbiInfo, ComponentTypes, InterfaceType, StringEncoding, VariantInfo, MAX_FLAT_PARAMS,
|
18
|
-
MAX_FLAT_RESULTS,
|
19
|
-
};
|
20
|
-
|
21
|
-
/// A statically-typed version of [`Func`] which takes `Params` as input and
|
22
|
-
/// returns `Return`.
|
23
|
-
///
|
24
|
-
/// This is an efficient way to invoke a WebAssembly component where if the
|
25
|
-
/// inputs and output are statically known this can eschew the vast majority of
|
26
|
-
/// machinery and checks when calling WebAssembly. This is the most optimized
|
27
|
-
/// way to call a WebAssembly component.
|
28
|
-
///
|
29
|
-
/// Note that like [`Func`] this is a pointer within a [`Store`](crate::Store)
|
30
|
-
/// and usage will panic if used with the wrong store.
|
31
|
-
///
|
32
|
-
/// This type is primarily created with the [`Func::typed`] API.
|
33
|
-
///
|
34
|
-
/// See [`ComponentType`] for more information about supported types.
|
35
|
-
pub struct TypedFunc<Params, Return> {
|
36
|
-
func: Func,
|
37
|
-
|
38
|
-
// The definition of this field is somewhat subtle and may be surprising.
|
39
|
-
// Naively one might expect something like
|
40
|
-
//
|
41
|
-
// _marker: marker::PhantomData<fn(Params) -> Return>,
|
42
|
-
//
|
43
|
-
// Since this is a function pointer after all. The problem with this
|
44
|
-
// definition though is that it imposes the wrong variance on `Params` from
|
45
|
-
// what we want. Abstractly a `fn(Params)` is able to store `Params` within
|
46
|
-
// it meaning you can only give it `Params` that live longer than the
|
47
|
-
// function pointer.
|
48
|
-
//
|
49
|
-
// With a component model function, however, we're always copying data from
|
50
|
-
// the host into the guest, so we are never storing pointers to `Params`
|
51
|
-
// into the guest outside the duration of a `call`, meaning we can actually
|
52
|
-
// accept values in `TypedFunc::call` which live for a shorter duration
|
53
|
-
// than the `Params` argument on the struct.
|
54
|
-
//
|
55
|
-
// This all means that we don't use a phantom function pointer, but instead
|
56
|
-
// feign phantom storage here to get the variance desired.
|
57
|
-
_marker: marker::PhantomData<(Params, Return)>,
|
58
|
-
}
|
59
|
-
|
60
|
-
impl<Params, Return> Copy for TypedFunc<Params, Return> {}
|
61
|
-
|
62
|
-
impl<Params, Return> Clone for TypedFunc<Params, Return> {
|
63
|
-
fn clone(&self) -> TypedFunc<Params, Return> {
|
64
|
-
*self
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
impl<Params, Return> TypedFunc<Params, Return>
|
69
|
-
where
|
70
|
-
Params: ComponentNamedList + Lower,
|
71
|
-
Return: ComponentNamedList + Lift,
|
72
|
-
{
|
73
|
-
/// Creates a new [`TypedFunc`] from the provided component [`Func`],
|
74
|
-
/// unsafely asserting that the underlying function takes `Params` as
|
75
|
-
/// input and returns `Return`.
|
76
|
-
///
|
77
|
-
/// # Unsafety
|
78
|
-
///
|
79
|
-
/// This is an unsafe function because it does not verify that the [`Func`]
|
80
|
-
/// provided actually implements this signature. It's up to the caller to
|
81
|
-
/// have performed some other sort of check to ensure that the signature is
|
82
|
-
/// correct.
|
83
|
-
pub unsafe fn new_unchecked(func: Func) -> TypedFunc<Params, Return> {
|
84
|
-
TypedFunc {
|
85
|
-
_marker: marker::PhantomData,
|
86
|
-
func,
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
/// Returns the underlying un-typed [`Func`] that this [`TypedFunc`]
|
91
|
-
/// references.
|
92
|
-
pub fn func(&self) -> &Func {
|
93
|
-
&self.func
|
94
|
-
}
|
95
|
-
|
96
|
-
/// Calls the underlying WebAssembly component function using the provided
|
97
|
-
/// `params` as input.
|
98
|
-
///
|
99
|
-
/// This method is used to enter into a component. Execution happens within
|
100
|
-
/// the `store` provided. The `params` are copied into WebAssembly memory
|
101
|
-
/// as appropriate and a core wasm function is invoked.
|
102
|
-
///
|
103
|
-
/// # Post-return
|
104
|
-
///
|
105
|
-
/// In the component model each function can have a "post return" specified
|
106
|
-
/// which allows cleaning up the arguments returned to the host. For example
|
107
|
-
/// if WebAssembly returns a string to the host then it might be a uniquely
|
108
|
-
/// allocated string which, after the host finishes processing it, needs to
|
109
|
-
/// be deallocated in the wasm instance's own linear memory to prevent
|
110
|
-
/// memory leaks in wasm itself. The `post-return` canonical abi option is
|
111
|
-
/// used to configured this.
|
112
|
-
///
|
113
|
-
/// To accommodate this feature of the component model after invoking a
|
114
|
-
/// function via [`TypedFunc::call`] you must next invoke
|
115
|
-
/// [`TypedFunc::post_return`]. Note that the return value of the function
|
116
|
-
/// should be processed between these two function calls. The return value
|
117
|
-
/// continues to be usable from an embedder's perspective after
|
118
|
-
/// `post_return` is called, but after `post_return` is invoked it may no
|
119
|
-
/// longer retain the same value that the wasm module originally returned.
|
120
|
-
///
|
121
|
-
/// Also note that [`TypedFunc::post_return`] must be invoked irrespective
|
122
|
-
/// of whether the canonical ABI option `post-return` was configured or not.
|
123
|
-
/// This means that embedders must unconditionally call
|
124
|
-
/// [`TypedFunc::post_return`] when a function returns. If this function
|
125
|
-
/// call returns an error, however, then [`TypedFunc::post_return`] is not
|
126
|
-
/// required.
|
127
|
-
///
|
128
|
-
/// # Errors
|
129
|
-
///
|
130
|
-
/// This function can return an error for a number of reasons:
|
131
|
-
///
|
132
|
-
/// * If the wasm itself traps during execution.
|
133
|
-
/// * If the wasm traps while copying arguments into memory.
|
134
|
-
/// * If the wasm provides bad allocation pointers when copying arguments
|
135
|
-
/// into memory.
|
136
|
-
/// * If the wasm returns a value which violates the canonical ABI.
|
137
|
-
/// * If this function's instances cannot be entered, for example if the
|
138
|
-
/// instance is currently calling a host function.
|
139
|
-
/// * If a previous function call occurred and the corresponding
|
140
|
-
/// `post_return` hasn't been invoked yet.
|
141
|
-
///
|
142
|
-
/// In general there are many ways that things could go wrong when copying
|
143
|
-
/// types in and out of a wasm module with the canonical ABI, and certain
|
144
|
-
/// error conditions are specific to certain types. For example a
|
145
|
-
/// WebAssembly module can't return an invalid `char`. When allocating space
|
146
|
-
/// for this host to copy a string into the returned pointer must be
|
147
|
-
/// in-bounds in memory.
|
148
|
-
///
|
149
|
-
/// If an error happens then the error should contain detailed enough
|
150
|
-
/// information to understand which part of the canonical ABI went wrong
|
151
|
-
/// and what to inspect.
|
152
|
-
///
|
153
|
-
/// # Panics
|
154
|
-
///
|
155
|
-
/// Panics if this is called on a function in an asynchronous store. This
|
156
|
-
/// only works with functions defined within a synchonous store. Also
|
157
|
-
/// panics if `store` does not own this function.
|
158
|
-
pub fn call(&self, store: impl AsContextMut, params: Params) -> Result<Return> {
|
159
|
-
assert!(
|
160
|
-
!store.as_context().async_support(),
|
161
|
-
"must use `call_async` when async support is enabled on the config"
|
162
|
-
);
|
163
|
-
self.call_impl(store, params)
|
164
|
-
}
|
165
|
-
|
166
|
-
/// Exactly like [`Self::call`], except for use on asynchronous stores.
|
167
|
-
///
|
168
|
-
/// # Panics
|
169
|
-
///
|
170
|
-
/// Panics if this is called on a function in a synchronous store. This
|
171
|
-
/// only works with functions defined within an asynchronous store. Also
|
172
|
-
/// panics if `store` does not own this function.
|
173
|
-
#[cfg(feature = "async")]
|
174
|
-
pub async fn call_async<T>(
|
175
|
-
&self,
|
176
|
-
mut store: impl AsContextMut<Data = T>,
|
177
|
-
params: Params,
|
178
|
-
) -> Result<Return>
|
179
|
-
where
|
180
|
-
T: Send,
|
181
|
-
Params: Send + Sync,
|
182
|
-
Return: Send + Sync,
|
183
|
-
{
|
184
|
-
let mut store = store.as_context_mut();
|
185
|
-
assert!(
|
186
|
-
store.0.async_support(),
|
187
|
-
"cannot use `call_async` when async support is not enabled on the config"
|
188
|
-
);
|
189
|
-
store
|
190
|
-
.on_fiber(|store| self.call_impl(store, params))
|
191
|
-
.await?
|
192
|
-
}
|
193
|
-
|
194
|
-
fn call_impl(&self, mut store: impl AsContextMut, params: Params) -> Result<Return> {
|
195
|
-
let store = &mut store.as_context_mut();
|
196
|
-
// Note that this is in theory simpler than it might read at this time.
|
197
|
-
// Here we're doing a runtime dispatch on the `flatten_count` for the
|
198
|
-
// params/results to see whether they're inbounds. This creates 4 cases
|
199
|
-
// to handle. In reality this is a highly optimizable branch where LLVM
|
200
|
-
// will easily figure out that only one branch here is taken.
|
201
|
-
//
|
202
|
-
// Otherwise this current construction is done to ensure that the stack
|
203
|
-
// space reserved for the params/results is always of the appropriate
|
204
|
-
// size (as the params/results needed differ depending on the "flatten"
|
205
|
-
// count)
|
206
|
-
if Params::flatten_count() <= MAX_FLAT_PARAMS {
|
207
|
-
if Return::flatten_count() <= MAX_FLAT_RESULTS {
|
208
|
-
self.func.call_raw(
|
209
|
-
store,
|
210
|
-
¶ms,
|
211
|
-
Self::lower_stack_args,
|
212
|
-
Self::lift_stack_result,
|
213
|
-
)
|
214
|
-
} else {
|
215
|
-
self.func.call_raw(
|
216
|
-
store,
|
217
|
-
¶ms,
|
218
|
-
Self::lower_stack_args,
|
219
|
-
Self::lift_heap_result,
|
220
|
-
)
|
221
|
-
}
|
222
|
-
} else {
|
223
|
-
if Return::flatten_count() <= MAX_FLAT_RESULTS {
|
224
|
-
self.func.call_raw(
|
225
|
-
store,
|
226
|
-
¶ms,
|
227
|
-
Self::lower_heap_args,
|
228
|
-
Self::lift_stack_result,
|
229
|
-
)
|
230
|
-
} else {
|
231
|
-
self.func.call_raw(
|
232
|
-
store,
|
233
|
-
¶ms,
|
234
|
-
Self::lower_heap_args,
|
235
|
-
Self::lift_heap_result,
|
236
|
-
)
|
237
|
-
}
|
238
|
-
}
|
239
|
-
}
|
240
|
-
|
241
|
-
/// Lower parameters directly onto the stack specified by the `dst`
|
242
|
-
/// location.
|
243
|
-
///
|
244
|
-
/// This is only valid to call when the "flatten count" is small enough, or
|
245
|
-
/// when the canonical ABI says arguments go through the stack rather than
|
246
|
-
/// the heap.
|
247
|
-
fn lower_stack_args<T>(
|
248
|
-
cx: &mut LowerContext<'_, T>,
|
249
|
-
params: &Params,
|
250
|
-
ty: InterfaceType,
|
251
|
-
dst: &mut MaybeUninit<Params::Lower>,
|
252
|
-
) -> Result<()> {
|
253
|
-
assert!(Params::flatten_count() <= MAX_FLAT_PARAMS);
|
254
|
-
params.lower(cx, ty, dst)?;
|
255
|
-
Ok(())
|
256
|
-
}
|
257
|
-
|
258
|
-
/// Lower parameters onto a heap-allocated location.
|
259
|
-
///
|
260
|
-
/// This is used when the stack space to be used for the arguments is above
|
261
|
-
/// the `MAX_FLAT_PARAMS` threshold. Here the wasm's `realloc` function is
|
262
|
-
/// invoked to allocate space and then parameters are stored at that heap
|
263
|
-
/// pointer location.
|
264
|
-
fn lower_heap_args<T>(
|
265
|
-
cx: &mut LowerContext<'_, T>,
|
266
|
-
params: &Params,
|
267
|
-
ty: InterfaceType,
|
268
|
-
dst: &mut MaybeUninit<ValRaw>,
|
269
|
-
) -> Result<()> {
|
270
|
-
assert!(Params::flatten_count() > MAX_FLAT_PARAMS);
|
271
|
-
|
272
|
-
// Memory must exist via validation if the arguments are stored on the
|
273
|
-
// heap, so we can create a `MemoryMut` at this point. Afterwards
|
274
|
-
// `realloc` is used to allocate space for all the arguments and then
|
275
|
-
// they're all stored in linear memory.
|
276
|
-
//
|
277
|
-
// Note that `realloc` will bake in a check that the returned pointer is
|
278
|
-
// in-bounds.
|
279
|
-
let ptr = cx.realloc(0, 0, Params::ALIGN32, Params::SIZE32)?;
|
280
|
-
params.store(cx, ty, ptr)?;
|
281
|
-
|
282
|
-
// Note that the pointer here is stored as a 64-bit integer. This allows
|
283
|
-
// this to work with either 32 or 64-bit memories. For a 32-bit memory
|
284
|
-
// it'll just ignore the upper 32 zero bits, and for 64-bit memories
|
285
|
-
// this'll have the full 64-bits. Note that for 32-bit memories the call
|
286
|
-
// to `realloc` above guarantees that the `ptr` is in-bounds meaning
|
287
|
-
// that we will know that the zero-extended upper bits of `ptr` are
|
288
|
-
// guaranteed to be zero.
|
289
|
-
//
|
290
|
-
// This comment about 64-bit integers is also referred to below with
|
291
|
-
// "WRITEPTR64".
|
292
|
-
dst.write(ValRaw::i64(ptr as i64));
|
293
|
-
|
294
|
-
Ok(())
|
295
|
-
}
|
296
|
-
|
297
|
-
/// Lift the result of a function directly from the stack result.
|
298
|
-
///
|
299
|
-
/// This is only used when the result fits in the maximum number of stack
|
300
|
-
/// slots.
|
301
|
-
fn lift_stack_result(
|
302
|
-
cx: &mut LiftContext<'_>,
|
303
|
-
ty: InterfaceType,
|
304
|
-
dst: &Return::Lower,
|
305
|
-
) -> Result<Return> {
|
306
|
-
assert!(Return::flatten_count() <= MAX_FLAT_RESULTS);
|
307
|
-
Return::lift(cx, ty, dst)
|
308
|
-
}
|
309
|
-
|
310
|
-
/// Lift the result of a function where the result is stored indirectly on
|
311
|
-
/// the heap.
|
312
|
-
fn lift_heap_result(
|
313
|
-
cx: &mut LiftContext<'_>,
|
314
|
-
ty: InterfaceType,
|
315
|
-
dst: &ValRaw,
|
316
|
-
) -> Result<Return> {
|
317
|
-
assert!(Return::flatten_count() > MAX_FLAT_RESULTS);
|
318
|
-
// FIXME: needs to read an i64 for memory64
|
319
|
-
let ptr = usize::try_from(dst.get_u32()).err2anyhow()?;
|
320
|
-
if ptr % usize::try_from(Return::ALIGN32).err2anyhow()? != 0 {
|
321
|
-
bail!("return pointer not aligned");
|
322
|
-
}
|
323
|
-
|
324
|
-
let bytes = cx
|
325
|
-
.memory()
|
326
|
-
.get(ptr..)
|
327
|
-
.and_then(|b| b.get(..Return::SIZE32))
|
328
|
-
.ok_or_else(|| anyhow::anyhow!("pointer out of bounds of memory"))?;
|
329
|
-
Return::load(cx, ty, bytes)
|
330
|
-
}
|
331
|
-
|
332
|
-
/// See [`Func::post_return`]
|
333
|
-
pub fn post_return(&self, store: impl AsContextMut) -> Result<()> {
|
334
|
-
self.func.post_return(store)
|
335
|
-
}
|
336
|
-
|
337
|
-
/// See [`Func::post_return_async`]
|
338
|
-
#[cfg(feature = "async")]
|
339
|
-
pub async fn post_return_async<T: Send>(
|
340
|
-
&self,
|
341
|
-
store: impl AsContextMut<Data = T>,
|
342
|
-
) -> Result<()> {
|
343
|
-
self.func.post_return_async(store).await
|
344
|
-
}
|
345
|
-
}
|
346
|
-
|
347
|
-
/// A trait representing a static list of named types that can be passed to or
|
348
|
-
/// returned from a [`TypedFunc`].
|
349
|
-
///
|
350
|
-
/// This trait is implemented for a number of tuple types and is not expected
|
351
|
-
/// to be implemented externally. The contents of this trait are hidden as it's
|
352
|
-
/// intended to be an implementation detail of Wasmtime. The contents of this
|
353
|
-
/// trait are not covered by Wasmtime's stability guarantees.
|
354
|
-
///
|
355
|
-
/// For more information about this trait see [`Func::typed`] and
|
356
|
-
/// [`TypedFunc`].
|
357
|
-
//
|
358
|
-
// Note that this is an `unsafe` trait, and the unsafety means that
|
359
|
-
// implementations of this trait must be correct or otherwise [`TypedFunc`]
|
360
|
-
// would not be memory safe. The main reason this is `unsafe` is the
|
361
|
-
// `typecheck` function which must operate correctly relative to the `AsTuple`
|
362
|
-
// interpretation of the implementor.
|
363
|
-
pub unsafe trait ComponentNamedList: ComponentType {}
|
364
|
-
|
365
|
-
/// A trait representing types which can be passed to and read from components
|
366
|
-
/// with the canonical ABI.
|
367
|
-
///
|
368
|
-
/// This trait is implemented for Rust types which can be communicated to
|
369
|
-
/// components. The [`Func::typed`] and [`TypedFunc`] Rust items are the main
|
370
|
-
/// consumers of this trait.
|
371
|
-
///
|
372
|
-
/// Supported Rust types include:
|
373
|
-
///
|
374
|
-
/// | Component Model Type | Rust Type |
|
375
|
-
/// |-----------------------------------|--------------------------------------|
|
376
|
-
/// | `{s,u}{8,16,32,64}` | `{i,u}{8,16,32,64}` |
|
377
|
-
/// | `f{32,64}` | `f{32,64}` |
|
378
|
-
/// | `bool` | `bool` |
|
379
|
-
/// | `char` | `char` |
|
380
|
-
/// | `tuple<A, B>` | `(A, B)` |
|
381
|
-
/// | `option<T>` | `Option<T>` |
|
382
|
-
/// | `result` | `Result<(), ()>` |
|
383
|
-
/// | `result<T>` | `Result<T, ()>` |
|
384
|
-
/// | `result<_, E>` | `Result<(), E>` |
|
385
|
-
/// | `result<T, E>` | `Result<T, E>` |
|
386
|
-
/// | `string` | `String`, `&str`, or [`WasmStr`] |
|
387
|
-
/// | `list<T>` | `Vec<T>`, `&[T]`, or [`WasmList`] |
|
388
|
-
/// | `own<T>`, `borrow<T>` | [`Resource<T>`] or [`ResourceAny`] |
|
389
|
-
/// | `record` | [`#[derive(ComponentType)]`][d-cm] |
|
390
|
-
/// | `variant` | [`#[derive(ComponentType)]`][d-cm] |
|
391
|
-
/// | `enum` | [`#[derive(ComponentType)]`][d-cm] |
|
392
|
-
/// | `flags` | [`flags!`][f-m] |
|
393
|
-
///
|
394
|
-
/// [`Resource<T>`]: crate::component::Resource
|
395
|
-
/// [`ResourceAny`]: crate::component::ResourceAny
|
396
|
-
/// [d-cm]: macro@crate::component::ComponentType
|
397
|
-
/// [f-m]: crate::component::flags
|
398
|
-
///
|
399
|
-
/// Rust standard library pointers such as `&T`, `Box<T>`, `Rc<T>`, and `Arc<T>`
|
400
|
-
/// additionally represent whatever type `T` represents in the component model.
|
401
|
-
/// Note that types such as `record`, `variant`, `enum`, and `flags` are
|
402
|
-
/// generated by the embedder at compile time. These macros derive
|
403
|
-
/// implementation of this trait for custom types to map to custom types in the
|
404
|
-
/// component model. Note that for `record`, `variant`, `enum`, and `flags`
|
405
|
-
/// those types are often generated by the
|
406
|
-
/// [`bindgen!`](crate::component::bindgen) macro from WIT definitions.
|
407
|
-
///
|
408
|
-
/// Types that implement [`ComponentType`] are used for `Params` and `Return`
|
409
|
-
/// in [`TypedFunc`] and [`Func::typed`].
|
410
|
-
///
|
411
|
-
/// The contents of this trait are hidden as it's intended to be an
|
412
|
-
/// implementation detail of Wasmtime. The contents of this trait are not
|
413
|
-
/// covered by Wasmtime's stability guarantees.
|
414
|
-
//
|
415
|
-
// Note that this is an `unsafe` trait as `TypedFunc`'s safety heavily relies on
|
416
|
-
// the correctness of the implementations of this trait. Some ways in which this
|
417
|
-
// trait must be correct to be safe are:
|
418
|
-
//
|
419
|
-
// * The `Lower` associated type must be a `ValRaw` sequence. It doesn't have to
|
420
|
-
// literally be `[ValRaw; N]` but when laid out in memory it must be adjacent
|
421
|
-
// `ValRaw` values and have a multiple of the size of `ValRaw` and the same
|
422
|
-
// alignment.
|
423
|
-
//
|
424
|
-
// * The `lower` function must initialize the bits within `Lower` that are going
|
425
|
-
// to be read by the trampoline that's used to enter core wasm. A trampoline
|
426
|
-
// is passed `*mut Lower` and will read the canonical abi arguments in
|
427
|
-
// sequence, so all of the bits must be correctly initialized.
|
428
|
-
//
|
429
|
-
// * The `size` and `align` functions must be correct for this value stored in
|
430
|
-
// the canonical ABI. The `Cursor<T>` iteration of these bytes rely on this
|
431
|
-
// for correctness as they otherwise eschew bounds-checking.
|
432
|
-
//
|
433
|
-
// There are likely some other correctness issues which aren't documented as
|
434
|
-
// well, this isn't intended to be an exhaustive list. It suffices to say,
|
435
|
-
// though, that correctness bugs in this trait implementation are highly likely
|
436
|
-
// to lead to security bugs, which again leads to the `unsafe` in the trait.
|
437
|
-
//
|
438
|
-
// Also note that this trait specifically is not sealed because we have a proc
|
439
|
-
// macro that generates implementations of this trait for external types in a
|
440
|
-
// `#[derive]`-like fashion.
|
441
|
-
pub unsafe trait ComponentType {
|
442
|
-
/// Representation of the "lowered" form of this component value.
|
443
|
-
///
|
444
|
-
/// Lowerings lower into core wasm values which are represented by `ValRaw`.
|
445
|
-
/// This `Lower` type must be a list of `ValRaw` as either a literal array
|
446
|
-
/// or a struct where every field is a `ValRaw`. This must be `Copy` (as
|
447
|
-
/// `ValRaw` is `Copy`) and support all byte patterns. This being correct is
|
448
|
-
/// one reason why the trait is unsafe.
|
449
|
-
#[doc(hidden)]
|
450
|
-
type Lower: Copy;
|
451
|
-
|
452
|
-
/// The information about this type's canonical ABI (size/align/etc).
|
453
|
-
#[doc(hidden)]
|
454
|
-
const ABI: CanonicalAbiInfo;
|
455
|
-
|
456
|
-
#[doc(hidden)]
|
457
|
-
const SIZE32: usize = Self::ABI.size32 as usize;
|
458
|
-
#[doc(hidden)]
|
459
|
-
const ALIGN32: u32 = Self::ABI.align32;
|
460
|
-
|
461
|
-
#[doc(hidden)]
|
462
|
-
const IS_RUST_UNIT_TYPE: bool = false;
|
463
|
-
|
464
|
-
/// Returns the number of core wasm abi values will be used to represent
|
465
|
-
/// this type in its lowered form.
|
466
|
-
///
|
467
|
-
/// This divides the size of `Self::Lower` by the size of `ValRaw`.
|
468
|
-
#[doc(hidden)]
|
469
|
-
fn flatten_count() -> usize {
|
470
|
-
assert!(mem::size_of::<Self::Lower>() % mem::size_of::<ValRaw>() == 0);
|
471
|
-
assert!(mem::align_of::<Self::Lower>() == mem::align_of::<ValRaw>());
|
472
|
-
mem::size_of::<Self::Lower>() / mem::size_of::<ValRaw>()
|
473
|
-
}
|
474
|
-
|
475
|
-
/// Performs a type-check to see whether this component value type matches
|
476
|
-
/// the interface type `ty` provided.
|
477
|
-
#[doc(hidden)]
|
478
|
-
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()>;
|
479
|
-
}
|
480
|
-
|
481
|
-
#[doc(hidden)]
|
482
|
-
pub unsafe trait ComponentVariant: ComponentType {
|
483
|
-
const CASES: &'static [Option<CanonicalAbiInfo>];
|
484
|
-
const INFO: VariantInfo = VariantInfo::new_static(Self::CASES);
|
485
|
-
const PAYLOAD_OFFSET32: usize = Self::INFO.payload_offset32 as usize;
|
486
|
-
}
|
487
|
-
|
488
|
-
/// Host types which can be passed to WebAssembly components.
|
489
|
-
///
|
490
|
-
/// This trait is implemented for all types that can be passed to components
|
491
|
-
/// either as parameters of component exports or returns of component imports.
|
492
|
-
/// This trait represents the ability to convert from the native host
|
493
|
-
/// representation to the canonical ABI.
|
494
|
-
///
|
495
|
-
/// Built-in types to Rust such as `Option<T>` implement this trait as
|
496
|
-
/// appropriate. For a mapping of component model to Rust types see
|
497
|
-
/// [`ComponentType`].
|
498
|
-
///
|
499
|
-
/// For user-defined types, for example `record` types mapped to Rust `struct`s,
|
500
|
-
/// this crate additionally has
|
501
|
-
/// [`#[derive(Lower)]`](macro@crate::component::Lower).
|
502
|
-
///
|
503
|
-
/// Note that like [`ComponentType`] the definition of this trait is intended to
|
504
|
-
/// be an internal implementation detail of Wasmtime at this time. It's
|
505
|
-
/// recommended to use the `#[derive(Lower)]` implementation instead.
|
506
|
-
pub unsafe trait Lower: ComponentType {
|
507
|
-
/// Performs the "lower" function in the canonical ABI.
|
508
|
-
///
|
509
|
-
/// This method will lower the current value into a component. The `lower`
|
510
|
-
/// function performs a "flat" lowering into the `dst` specified which is
|
511
|
-
/// allowed to be uninitialized entering this method but is guaranteed to be
|
512
|
-
/// fully initialized if the method returns `Ok(())`.
|
513
|
-
///
|
514
|
-
/// The `cx` context provided is the context within which this lowering is
|
515
|
-
/// happening. This contains information such as canonical options specified
|
516
|
-
/// (e.g. string encodings, memories, etc), the store itself, along with
|
517
|
-
/// type information.
|
518
|
-
///
|
519
|
-
/// The `ty` parameter is the destination type that is being lowered into.
|
520
|
-
/// For example this is the component's "view" of the type that is being
|
521
|
-
/// lowered. This is guaranteed to have passed a `typecheck` earlier.
|
522
|
-
///
|
523
|
-
/// This will only be called if `typecheck` passes for `Op::Lower`.
|
524
|
-
#[doc(hidden)]
|
525
|
-
fn lower<T>(
|
526
|
-
&self,
|
527
|
-
cx: &mut LowerContext<'_, T>,
|
528
|
-
ty: InterfaceType,
|
529
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
530
|
-
) -> Result<()>;
|
531
|
-
|
532
|
-
/// Performs the "store" operation in the canonical ABI.
|
533
|
-
///
|
534
|
-
/// This function will store `self` into the linear memory described by
|
535
|
-
/// `cx` at the `offset` provided.
|
536
|
-
///
|
537
|
-
/// It is expected that `offset` is a valid offset in memory for
|
538
|
-
/// `Self::SIZE32` bytes. At this time that's not an unsafe contract as it's
|
539
|
-
/// always re-checked on all stores, but this is something that will need to
|
540
|
-
/// be improved in the future to remove extra bounds checks. For now this
|
541
|
-
/// function will panic if there's a bug and `offset` isn't valid within
|
542
|
-
/// memory.
|
543
|
-
///
|
544
|
-
/// The `ty` type information passed here is the same as the type
|
545
|
-
/// information passed to `lower` above, and is the component's own view of
|
546
|
-
/// what the resulting type should be.
|
547
|
-
///
|
548
|
-
/// This will only be called if `typecheck` passes for `Op::Lower`.
|
549
|
-
#[doc(hidden)]
|
550
|
-
fn store<T>(
|
551
|
-
&self,
|
552
|
-
cx: &mut LowerContext<'_, T>,
|
553
|
-
ty: InterfaceType,
|
554
|
-
offset: usize,
|
555
|
-
) -> Result<()>;
|
556
|
-
|
557
|
-
/// Provided method to lower a list of `Self` into memory.
|
558
|
-
///
|
559
|
-
/// Requires that `offset` has already been checked for alignment and
|
560
|
-
/// validity in terms of being in-bounds, otherwise this may panic.
|
561
|
-
///
|
562
|
-
/// This is primarily here to get overridden for implementations of integers
|
563
|
-
/// which can avoid some extra fluff and use a pattern that's more easily
|
564
|
-
/// optimizable by LLVM.
|
565
|
-
#[doc(hidden)]
|
566
|
-
fn store_list<T>(
|
567
|
-
cx: &mut LowerContext<'_, T>,
|
568
|
-
ty: InterfaceType,
|
569
|
-
mut offset: usize,
|
570
|
-
items: &[Self],
|
571
|
-
) -> Result<()>
|
572
|
-
where
|
573
|
-
Self: Sized,
|
574
|
-
{
|
575
|
-
for item in items {
|
576
|
-
item.store(cx, ty, offset)?;
|
577
|
-
offset += Self::SIZE32;
|
578
|
-
}
|
579
|
-
Ok(())
|
580
|
-
}
|
581
|
-
}
|
582
|
-
|
583
|
-
/// Host types which can be created from the canonical ABI.
|
584
|
-
///
|
585
|
-
/// This is the mirror of the [`Lower`] trait where it represents the capability
|
586
|
-
/// of acquiring items from WebAssembly and passing them to the host.
|
587
|
-
///
|
588
|
-
/// Built-in types to Rust such as `Option<T>` implement this trait as
|
589
|
-
/// appropriate. For a mapping of component model to Rust types see
|
590
|
-
/// [`ComponentType`].
|
591
|
-
///
|
592
|
-
/// For user-defined types, for example `record` types mapped to Rust `struct`s,
|
593
|
-
/// this crate additionally has
|
594
|
-
/// [`#[derive(Lift)]`](macro@crate::component::Lift).
|
595
|
-
///
|
596
|
-
/// Note that like [`ComponentType`] the definition of this trait is intended to
|
597
|
-
/// be an internal implementation detail of Wasmtime at this time. It's
|
598
|
-
/// recommended to use the `#[derive(Lift)]` implementation instead.
|
599
|
-
pub unsafe trait Lift: Sized + ComponentType {
|
600
|
-
/// Performs the "lift" operation in the canonical ABI.
|
601
|
-
///
|
602
|
-
/// This function performs a "flat" lift operation from the `src` specified
|
603
|
-
/// which is a sequence of core wasm values. The lifting operation will
|
604
|
-
/// validate core wasm values and produce a `Self` on success.
|
605
|
-
///
|
606
|
-
/// The `cx` provided contains contextual information such as the store
|
607
|
-
/// that's being loaded from, canonical options, and type information.
|
608
|
-
///
|
609
|
-
/// The `ty` parameter is the origin component's specification for what the
|
610
|
-
/// type that is being lifted is. For example this is the record type or the
|
611
|
-
/// resource type that is being lifted.
|
612
|
-
///
|
613
|
-
/// Note that this has a default implementation but if `typecheck` passes
|
614
|
-
/// for `Op::Lift` this needs to be overridden.
|
615
|
-
#[doc(hidden)]
|
616
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self>;
|
617
|
-
|
618
|
-
/// Performs the "load" operation in the canonical ABI.
|
619
|
-
///
|
620
|
-
/// This will read the `bytes` provided, which are a sub-slice into the
|
621
|
-
/// linear memory described by `cx`. The `bytes` array provided is
|
622
|
-
/// guaranteed to be `Self::SIZE32` bytes large. All of memory is then also
|
623
|
-
/// available through `cx` for bounds-checks and such as necessary for
|
624
|
-
/// strings/lists.
|
625
|
-
///
|
626
|
-
/// The `ty` argument is the type that's being loaded, as described by the
|
627
|
-
/// original component.
|
628
|
-
///
|
629
|
-
/// Note that this has a default implementation but if `typecheck` passes
|
630
|
-
/// for `Op::Lift` this needs to be overridden.
|
631
|
-
#[doc(hidden)]
|
632
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self>;
|
633
|
-
|
634
|
-
/// Converts `list` into a `Vec<T>`, used in `Lift for Vec<T>`.
|
635
|
-
///
|
636
|
-
/// This is primarily here to get overridden for implementations of integers
|
637
|
-
/// which can avoid some extra fluff and use a pattern that's more easily
|
638
|
-
/// optimizable by LLVM.
|
639
|
-
#[doc(hidden)]
|
640
|
-
fn load_list(cx: &mut LiftContext<'_>, list: &WasmList<Self>) -> Result<Vec<Self>>
|
641
|
-
where
|
642
|
-
Self: Sized,
|
643
|
-
{
|
644
|
-
(0..list.len)
|
645
|
-
.map(|index| list.get_from_store(cx, index).unwrap())
|
646
|
-
.collect()
|
647
|
-
}
|
648
|
-
}
|
649
|
-
|
650
|
-
// Macro to help generate "forwarding implementations" of `ComponentType` to
|
651
|
-
// another type, used for wrappers in Rust like `&T`, `Box<T>`, etc. Note that
|
652
|
-
// these wrappers only implement lowering because lifting native Rust types
|
653
|
-
// cannot be done.
|
654
|
-
macro_rules! forward_type_impls {
|
655
|
-
($(($($generics:tt)*) $a:ty => $b:ty,)*) => ($(
|
656
|
-
unsafe impl <$($generics)*> ComponentType for $a {
|
657
|
-
type Lower = <$b as ComponentType>::Lower;
|
658
|
-
|
659
|
-
const ABI: CanonicalAbiInfo = <$b as ComponentType>::ABI;
|
660
|
-
|
661
|
-
#[inline]
|
662
|
-
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
663
|
-
<$b as ComponentType>::typecheck(ty, types)
|
664
|
-
}
|
665
|
-
}
|
666
|
-
)*)
|
667
|
-
}
|
668
|
-
|
669
|
-
forward_type_impls! {
|
670
|
-
(T: ComponentType + ?Sized) &'_ T => T,
|
671
|
-
(T: ComponentType + ?Sized) Box<T> => T,
|
672
|
-
(T: ComponentType + ?Sized) alloc::rc::Rc<T> => T,
|
673
|
-
(T: ComponentType + ?Sized) alloc::sync::Arc<T> => T,
|
674
|
-
() String => str,
|
675
|
-
(T: ComponentType) Vec<T> => [T],
|
676
|
-
}
|
677
|
-
|
678
|
-
macro_rules! forward_lowers {
|
679
|
-
($(($($generics:tt)*) $a:ty => $b:ty,)*) => ($(
|
680
|
-
unsafe impl <$($generics)*> Lower for $a {
|
681
|
-
fn lower<U>(
|
682
|
-
&self,
|
683
|
-
cx: &mut LowerContext<'_, U>,
|
684
|
-
ty: InterfaceType,
|
685
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
686
|
-
) -> Result<()> {
|
687
|
-
<$b as Lower>::lower(self, cx, ty, dst)
|
688
|
-
}
|
689
|
-
|
690
|
-
fn store<U>(
|
691
|
-
&self,
|
692
|
-
cx: &mut LowerContext<'_, U>,
|
693
|
-
ty: InterfaceType,
|
694
|
-
offset: usize,
|
695
|
-
) -> Result<()> {
|
696
|
-
<$b as Lower>::store(self, cx, ty, offset)
|
697
|
-
}
|
698
|
-
}
|
699
|
-
)*)
|
700
|
-
}
|
701
|
-
|
702
|
-
forward_lowers! {
|
703
|
-
(T: Lower + ?Sized) &'_ T => T,
|
704
|
-
(T: Lower + ?Sized) Box<T> => T,
|
705
|
-
(T: Lower + ?Sized) alloc::rc::Rc<T> => T,
|
706
|
-
(T: Lower + ?Sized) alloc::sync::Arc<T> => T,
|
707
|
-
() String => str,
|
708
|
-
(T: Lower) Vec<T> => [T],
|
709
|
-
}
|
710
|
-
|
711
|
-
macro_rules! forward_string_lifts {
|
712
|
-
($($a:ty,)*) => ($(
|
713
|
-
unsafe impl Lift for $a {
|
714
|
-
#[inline]
|
715
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
716
|
-
Ok(<WasmStr as Lift>::lift(cx, ty, src)?.to_str_from_memory(cx.memory())?.into())
|
717
|
-
}
|
718
|
-
|
719
|
-
#[inline]
|
720
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
721
|
-
Ok(<WasmStr as Lift>::load(cx, ty, bytes)?.to_str_from_memory(cx.memory())?.into())
|
722
|
-
}
|
723
|
-
}
|
724
|
-
)*)
|
725
|
-
}
|
726
|
-
|
727
|
-
forward_string_lifts! {
|
728
|
-
Box<str>,
|
729
|
-
alloc::rc::Rc<str>,
|
730
|
-
alloc::sync::Arc<str>,
|
731
|
-
String,
|
732
|
-
}
|
733
|
-
|
734
|
-
macro_rules! forward_list_lifts {
|
735
|
-
($($a:ty,)*) => ($(
|
736
|
-
unsafe impl <T: Lift> Lift for $a {
|
737
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
738
|
-
let list = <WasmList::<T> as Lift>::lift(cx, ty, src)?;
|
739
|
-
Ok(T::load_list(cx, &list)?.into())
|
740
|
-
}
|
741
|
-
|
742
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
743
|
-
let list = <WasmList::<T> as Lift>::load(cx, ty, bytes)?;
|
744
|
-
Ok(T::load_list(cx, &list)?.into())
|
745
|
-
}
|
746
|
-
}
|
747
|
-
)*)
|
748
|
-
}
|
749
|
-
|
750
|
-
forward_list_lifts! {
|
751
|
-
Box<[T]>,
|
752
|
-
alloc::rc::Rc<[T]>,
|
753
|
-
alloc::sync::Arc<[T]>,
|
754
|
-
Vec<T>,
|
755
|
-
}
|
756
|
-
|
757
|
-
// Macro to help generate `ComponentType` implementations for primitive types
|
758
|
-
// such as integers, char, bool, etc.
|
759
|
-
macro_rules! integers {
|
760
|
-
($($primitive:ident = $ty:ident in $field:ident/$get:ident with abi:$abi:ident,)*) => ($(
|
761
|
-
unsafe impl ComponentType for $primitive {
|
762
|
-
type Lower = ValRaw;
|
763
|
-
|
764
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::$abi;
|
765
|
-
|
766
|
-
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
767
|
-
match ty {
|
768
|
-
InterfaceType::$ty => Ok(()),
|
769
|
-
other => bail!("expected `{}` found `{}`", desc(&InterfaceType::$ty), desc(other))
|
770
|
-
}
|
771
|
-
}
|
772
|
-
}
|
773
|
-
|
774
|
-
unsafe impl Lower for $primitive {
|
775
|
-
#[inline]
|
776
|
-
#[allow(trivial_numeric_casts)]
|
777
|
-
fn lower<T>(
|
778
|
-
&self,
|
779
|
-
_cx: &mut LowerContext<'_, T>,
|
780
|
-
ty: InterfaceType,
|
781
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
782
|
-
) -> Result<()> {
|
783
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
784
|
-
dst.write(ValRaw::$field(*self as $field));
|
785
|
-
Ok(())
|
786
|
-
}
|
787
|
-
|
788
|
-
#[inline]
|
789
|
-
fn store<T>(
|
790
|
-
&self,
|
791
|
-
cx: &mut LowerContext<'_, T>,
|
792
|
-
ty: InterfaceType,
|
793
|
-
offset: usize,
|
794
|
-
) -> Result<()> {
|
795
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
796
|
-
debug_assert!(offset % Self::SIZE32 == 0);
|
797
|
-
*cx.get(offset) = self.to_le_bytes();
|
798
|
-
Ok(())
|
799
|
-
}
|
800
|
-
|
801
|
-
fn store_list<T>(
|
802
|
-
cx: &mut LowerContext<'_, T>,
|
803
|
-
ty: InterfaceType,
|
804
|
-
offset: usize,
|
805
|
-
items: &[Self],
|
806
|
-
) -> Result<()> {
|
807
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
808
|
-
|
809
|
-
// Double-check that the CM alignment is at least the host's
|
810
|
-
// alignment for this type which should be true for all
|
811
|
-
// platforms.
|
812
|
-
assert!((Self::ALIGN32 as usize) >= mem::align_of::<Self>());
|
813
|
-
|
814
|
-
// Slice `cx`'s memory to the window that we'll be modifying.
|
815
|
-
// This should all have already been verified in terms of
|
816
|
-
// alignment and sizing meaning that these assertions here are
|
817
|
-
// not truly necessary but are instead double-checks.
|
818
|
-
//
|
819
|
-
// Note that we're casting a `[u8]` slice to `[Self]` with
|
820
|
-
// `align_to_mut` which is not safe in general but is safe in
|
821
|
-
// our specific case as all `u8` patterns are valid `Self`
|
822
|
-
// patterns since `Self` is an integral type.
|
823
|
-
let dst = &mut cx.as_slice_mut()[offset..][..items.len() * Self::SIZE32];
|
824
|
-
let (before, middle, end) = unsafe { dst.align_to_mut::<Self>() };
|
825
|
-
assert!(before.is_empty() && end.is_empty());
|
826
|
-
assert_eq!(middle.len(), items.len());
|
827
|
-
|
828
|
-
// And with all that out of the way perform the copying loop.
|
829
|
-
// This is not a `copy_from_slice` because endianness needs to
|
830
|
-
// be handled here, but LLVM should pretty easily transform this
|
831
|
-
// into a memcpy on little-endian platforms.
|
832
|
-
for (dst, src) in middle.iter_mut().zip(items) {
|
833
|
-
*dst = src.to_le();
|
834
|
-
}
|
835
|
-
Ok(())
|
836
|
-
}
|
837
|
-
}
|
838
|
-
|
839
|
-
unsafe impl Lift for $primitive {
|
840
|
-
#[inline]
|
841
|
-
#[allow(trivial_numeric_casts)]
|
842
|
-
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
843
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
844
|
-
Ok(src.$get() as $primitive)
|
845
|
-
}
|
846
|
-
|
847
|
-
#[inline]
|
848
|
-
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
849
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
850
|
-
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
851
|
-
Ok($primitive::from_le_bytes(bytes.try_into().unwrap()))
|
852
|
-
}
|
853
|
-
|
854
|
-
fn load_list(cx: &mut LiftContext<'_>, list: &WasmList<Self>) -> Result<Vec<Self>> {
|
855
|
-
Ok(
|
856
|
-
list._as_le_slice(cx.memory())
|
857
|
-
.iter()
|
858
|
-
.map(|i| Self::from_le(*i))
|
859
|
-
.collect(),
|
860
|
-
)
|
861
|
-
}
|
862
|
-
}
|
863
|
-
)*)
|
864
|
-
}
|
865
|
-
|
866
|
-
integers! {
|
867
|
-
i8 = S8 in i32/get_i32 with abi:SCALAR1,
|
868
|
-
u8 = U8 in u32/get_u32 with abi:SCALAR1,
|
869
|
-
i16 = S16 in i32/get_i32 with abi:SCALAR2,
|
870
|
-
u16 = U16 in u32/get_u32 with abi:SCALAR2,
|
871
|
-
i32 = S32 in i32/get_i32 with abi:SCALAR4,
|
872
|
-
u32 = U32 in u32/get_u32 with abi:SCALAR4,
|
873
|
-
i64 = S64 in i64/get_i64 with abi:SCALAR8,
|
874
|
-
u64 = U64 in u64/get_u64 with abi:SCALAR8,
|
875
|
-
}
|
876
|
-
|
877
|
-
macro_rules! floats {
|
878
|
-
($($float:ident/$get_float:ident = $ty:ident with abi:$abi:ident)*) => ($(const _: () = {
|
879
|
-
/// All floats in-and-out of the canonical abi always have their nan
|
880
|
-
/// payloads canonicalized. conveniently the `NAN` constant in rust has
|
881
|
-
/// the same representation as canonical nan, so we can use that for the
|
882
|
-
/// nan value.
|
883
|
-
#[inline]
|
884
|
-
fn canonicalize(float: $float) -> $float {
|
885
|
-
if float.is_nan() {
|
886
|
-
$float::NAN
|
887
|
-
} else {
|
888
|
-
float
|
889
|
-
}
|
890
|
-
}
|
891
|
-
|
892
|
-
unsafe impl ComponentType for $float {
|
893
|
-
type Lower = ValRaw;
|
894
|
-
|
895
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::$abi;
|
896
|
-
|
897
|
-
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
898
|
-
match ty {
|
899
|
-
InterfaceType::$ty => Ok(()),
|
900
|
-
other => bail!("expected `{}` found `{}`", desc(&InterfaceType::$ty), desc(other))
|
901
|
-
}
|
902
|
-
}
|
903
|
-
}
|
904
|
-
|
905
|
-
unsafe impl Lower for $float {
|
906
|
-
#[inline]
|
907
|
-
fn lower<T>(
|
908
|
-
&self,
|
909
|
-
_cx: &mut LowerContext<'_, T>,
|
910
|
-
ty: InterfaceType,
|
911
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
912
|
-
) -> Result<()> {
|
913
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
914
|
-
dst.write(ValRaw::$float(canonicalize(*self).to_bits()));
|
915
|
-
Ok(())
|
916
|
-
}
|
917
|
-
|
918
|
-
#[inline]
|
919
|
-
fn store<T>(
|
920
|
-
&self,
|
921
|
-
cx: &mut LowerContext<'_, T>,
|
922
|
-
ty: InterfaceType,
|
923
|
-
offset: usize,
|
924
|
-
) -> Result<()> {
|
925
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
926
|
-
debug_assert!(offset % Self::SIZE32 == 0);
|
927
|
-
let ptr = cx.get(offset);
|
928
|
-
*ptr = canonicalize(*self).to_bits().to_le_bytes();
|
929
|
-
Ok(())
|
930
|
-
}
|
931
|
-
}
|
932
|
-
|
933
|
-
unsafe impl Lift for $float {
|
934
|
-
#[inline]
|
935
|
-
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
936
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
937
|
-
Ok(canonicalize($float::from_bits(src.$get_float())))
|
938
|
-
}
|
939
|
-
|
940
|
-
#[inline]
|
941
|
-
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
942
|
-
debug_assert!(matches!(ty, InterfaceType::$ty));
|
943
|
-
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
944
|
-
Ok(canonicalize($float::from_le_bytes(bytes.try_into().unwrap())))
|
945
|
-
}
|
946
|
-
}
|
947
|
-
};)*)
|
948
|
-
}
|
949
|
-
|
950
|
-
floats! {
|
951
|
-
f32/get_f32 = Float32 with abi:SCALAR4
|
952
|
-
f64/get_f64 = Float64 with abi:SCALAR8
|
953
|
-
}
|
954
|
-
|
955
|
-
unsafe impl ComponentType for bool {
|
956
|
-
type Lower = ValRaw;
|
957
|
-
|
958
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::SCALAR1;
|
959
|
-
|
960
|
-
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
961
|
-
match ty {
|
962
|
-
InterfaceType::Bool => Ok(()),
|
963
|
-
other => bail!("expected `bool` found `{}`", desc(other)),
|
964
|
-
}
|
965
|
-
}
|
966
|
-
}
|
967
|
-
|
968
|
-
unsafe impl Lower for bool {
|
969
|
-
fn lower<T>(
|
970
|
-
&self,
|
971
|
-
_cx: &mut LowerContext<'_, T>,
|
972
|
-
ty: InterfaceType,
|
973
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
974
|
-
) -> Result<()> {
|
975
|
-
debug_assert!(matches!(ty, InterfaceType::Bool));
|
976
|
-
dst.write(ValRaw::i32(*self as i32));
|
977
|
-
Ok(())
|
978
|
-
}
|
979
|
-
|
980
|
-
fn store<T>(
|
981
|
-
&self,
|
982
|
-
cx: &mut LowerContext<'_, T>,
|
983
|
-
ty: InterfaceType,
|
984
|
-
offset: usize,
|
985
|
-
) -> Result<()> {
|
986
|
-
debug_assert!(matches!(ty, InterfaceType::Bool));
|
987
|
-
debug_assert!(offset % Self::SIZE32 == 0);
|
988
|
-
cx.get::<1>(offset)[0] = *self as u8;
|
989
|
-
Ok(())
|
990
|
-
}
|
991
|
-
}
|
992
|
-
|
993
|
-
unsafe impl Lift for bool {
|
994
|
-
#[inline]
|
995
|
-
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
996
|
-
debug_assert!(matches!(ty, InterfaceType::Bool));
|
997
|
-
match src.get_i32() {
|
998
|
-
0 => Ok(false),
|
999
|
-
_ => Ok(true),
|
1000
|
-
}
|
1001
|
-
}
|
1002
|
-
|
1003
|
-
#[inline]
|
1004
|
-
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1005
|
-
debug_assert!(matches!(ty, InterfaceType::Bool));
|
1006
|
-
match bytes[0] {
|
1007
|
-
0 => Ok(false),
|
1008
|
-
_ => Ok(true),
|
1009
|
-
}
|
1010
|
-
}
|
1011
|
-
}
|
1012
|
-
|
1013
|
-
unsafe impl ComponentType for char {
|
1014
|
-
type Lower = ValRaw;
|
1015
|
-
|
1016
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::SCALAR4;
|
1017
|
-
|
1018
|
-
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1019
|
-
match ty {
|
1020
|
-
InterfaceType::Char => Ok(()),
|
1021
|
-
other => bail!("expected `char` found `{}`", desc(other)),
|
1022
|
-
}
|
1023
|
-
}
|
1024
|
-
}
|
1025
|
-
|
1026
|
-
unsafe impl Lower for char {
|
1027
|
-
#[inline]
|
1028
|
-
fn lower<T>(
|
1029
|
-
&self,
|
1030
|
-
_cx: &mut LowerContext<'_, T>,
|
1031
|
-
ty: InterfaceType,
|
1032
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
1033
|
-
) -> Result<()> {
|
1034
|
-
debug_assert!(matches!(ty, InterfaceType::Char));
|
1035
|
-
dst.write(ValRaw::u32(u32::from(*self)));
|
1036
|
-
Ok(())
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
#[inline]
|
1040
|
-
fn store<T>(
|
1041
|
-
&self,
|
1042
|
-
cx: &mut LowerContext<'_, T>,
|
1043
|
-
ty: InterfaceType,
|
1044
|
-
offset: usize,
|
1045
|
-
) -> Result<()> {
|
1046
|
-
debug_assert!(matches!(ty, InterfaceType::Char));
|
1047
|
-
debug_assert!(offset % Self::SIZE32 == 0);
|
1048
|
-
*cx.get::<4>(offset) = u32::from(*self).to_le_bytes();
|
1049
|
-
Ok(())
|
1050
|
-
}
|
1051
|
-
}
|
1052
|
-
|
1053
|
-
unsafe impl Lift for char {
|
1054
|
-
#[inline]
|
1055
|
-
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1056
|
-
debug_assert!(matches!(ty, InterfaceType::Char));
|
1057
|
-
Ok(char::try_from(src.get_u32()).err2anyhow()?)
|
1058
|
-
}
|
1059
|
-
|
1060
|
-
#[inline]
|
1061
|
-
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1062
|
-
debug_assert!(matches!(ty, InterfaceType::Char));
|
1063
|
-
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
1064
|
-
let bits = u32::from_le_bytes(bytes.try_into().unwrap());
|
1065
|
-
Ok(char::try_from(bits).err2anyhow()?)
|
1066
|
-
}
|
1067
|
-
}
|
1068
|
-
|
1069
|
-
// TODO: these probably need different constants for memory64
|
1070
|
-
const UTF16_TAG: usize = 1 << 31;
|
1071
|
-
const MAX_STRING_BYTE_LENGTH: usize = (1 << 31) - 1;
|
1072
|
-
|
1073
|
-
// Note that this is similar to `ComponentType for WasmStr` except it can only
|
1074
|
-
// be used for lowering, not lifting.
|
1075
|
-
unsafe impl ComponentType for str {
|
1076
|
-
type Lower = [ValRaw; 2];
|
1077
|
-
|
1078
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1079
|
-
|
1080
|
-
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1081
|
-
match ty {
|
1082
|
-
InterfaceType::String => Ok(()),
|
1083
|
-
other => bail!("expected `string` found `{}`", desc(other)),
|
1084
|
-
}
|
1085
|
-
}
|
1086
|
-
}
|
1087
|
-
|
1088
|
-
unsafe impl Lower for str {
|
1089
|
-
fn lower<T>(
|
1090
|
-
&self,
|
1091
|
-
cx: &mut LowerContext<'_, T>,
|
1092
|
-
ty: InterfaceType,
|
1093
|
-
dst: &mut MaybeUninit<[ValRaw; 2]>,
|
1094
|
-
) -> Result<()> {
|
1095
|
-
debug_assert!(matches!(ty, InterfaceType::String));
|
1096
|
-
let (ptr, len) = lower_string(cx, self)?;
|
1097
|
-
// See "WRITEPTR64" above for why this is always storing a 64-bit
|
1098
|
-
// integer.
|
1099
|
-
map_maybe_uninit!(dst[0]).write(ValRaw::i64(ptr as i64));
|
1100
|
-
map_maybe_uninit!(dst[1]).write(ValRaw::i64(len as i64));
|
1101
|
-
Ok(())
|
1102
|
-
}
|
1103
|
-
|
1104
|
-
fn store<T>(
|
1105
|
-
&self,
|
1106
|
-
cx: &mut LowerContext<'_, T>,
|
1107
|
-
ty: InterfaceType,
|
1108
|
-
offset: usize,
|
1109
|
-
) -> Result<()> {
|
1110
|
-
debug_assert!(matches!(ty, InterfaceType::String));
|
1111
|
-
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1112
|
-
let (ptr, len) = lower_string(cx, self)?;
|
1113
|
-
// FIXME: needs memory64 handling
|
1114
|
-
*cx.get(offset + 0) = (ptr as i32).to_le_bytes();
|
1115
|
-
*cx.get(offset + 4) = (len as i32).to_le_bytes();
|
1116
|
-
Ok(())
|
1117
|
-
}
|
1118
|
-
}
|
1119
|
-
|
1120
|
-
fn lower_string<T>(cx: &mut LowerContext<'_, T>, string: &str) -> Result<(usize, usize)> {
|
1121
|
-
// Note that in general the wasm module can't assume anything about what the
|
1122
|
-
// host strings are encoded as. Additionally hosts are allowed to have
|
1123
|
-
// differently-encoded strings at runtime. Finally when copying a string
|
1124
|
-
// into wasm it's somewhat strict in the sense that the various patterns of
|
1125
|
-
// allocation and such are already dictated for us.
|
1126
|
-
//
|
1127
|
-
// In general what this means is that when copying a string from the host
|
1128
|
-
// into the destination we need to follow one of the cases of copying into
|
1129
|
-
// WebAssembly. It doesn't particularly matter which case as long as it ends
|
1130
|
-
// up in the right encoding. For example a destination encoding of
|
1131
|
-
// latin1+utf16 has a number of ways to get copied into and we do something
|
1132
|
-
// here that isn't the default "utf8 to latin1+utf16" since we have access
|
1133
|
-
// to simd-accelerated helpers in the `encoding_rs` crate. This is ok though
|
1134
|
-
// because we can fake that the host string was already stored in latin1
|
1135
|
-
// format and follow that copy pattern instead.
|
1136
|
-
match cx.options.string_encoding() {
|
1137
|
-
// This corresponds to `store_string_copy` in the canonical ABI where
|
1138
|
-
// the host's representation is utf-8 and the wasm module wants utf-8 so
|
1139
|
-
// a copy is all that's needed (and the `realloc` can be precise for the
|
1140
|
-
// initial memory allocation).
|
1141
|
-
StringEncoding::Utf8 => {
|
1142
|
-
if string.len() > MAX_STRING_BYTE_LENGTH {
|
1143
|
-
bail!(
|
1144
|
-
"string length of {} too large to copy into wasm",
|
1145
|
-
string.len()
|
1146
|
-
);
|
1147
|
-
}
|
1148
|
-
let ptr = cx.realloc(0, 0, 1, string.len())?;
|
1149
|
-
cx.as_slice_mut()[ptr..][..string.len()].copy_from_slice(string.as_bytes());
|
1150
|
-
Ok((ptr, string.len()))
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
// This corresponds to `store_utf8_to_utf16` in the canonical ABI. Here
|
1154
|
-
// an over-large allocation is performed and then shrunk afterwards if
|
1155
|
-
// necessary.
|
1156
|
-
StringEncoding::Utf16 => {
|
1157
|
-
let size = string.len() * 2;
|
1158
|
-
if size > MAX_STRING_BYTE_LENGTH {
|
1159
|
-
bail!(
|
1160
|
-
"string length of {} too large to copy into wasm",
|
1161
|
-
string.len()
|
1162
|
-
);
|
1163
|
-
}
|
1164
|
-
let mut ptr = cx.realloc(0, 0, 2, size)?;
|
1165
|
-
let mut copied = 0;
|
1166
|
-
let bytes = &mut cx.as_slice_mut()[ptr..][..size];
|
1167
|
-
for (u, bytes) in string.encode_utf16().zip(bytes.chunks_mut(2)) {
|
1168
|
-
let u_bytes = u.to_le_bytes();
|
1169
|
-
bytes[0] = u_bytes[0];
|
1170
|
-
bytes[1] = u_bytes[1];
|
1171
|
-
copied += 1;
|
1172
|
-
}
|
1173
|
-
if (copied * 2) < size {
|
1174
|
-
ptr = cx.realloc(ptr, size, 2, copied * 2)?;
|
1175
|
-
}
|
1176
|
-
Ok((ptr, copied))
|
1177
|
-
}
|
1178
|
-
|
1179
|
-
StringEncoding::CompactUtf16 => {
|
1180
|
-
// This corresponds to `store_string_to_latin1_or_utf16`
|
1181
|
-
let bytes = string.as_bytes();
|
1182
|
-
let mut iter = string.char_indices();
|
1183
|
-
let mut ptr = cx.realloc(0, 0, 2, bytes.len())?;
|
1184
|
-
let mut dst = &mut cx.as_slice_mut()[ptr..][..bytes.len()];
|
1185
|
-
let mut result = 0;
|
1186
|
-
while let Some((i, ch)) = iter.next() {
|
1187
|
-
// Test if this `char` fits into the latin1 encoding.
|
1188
|
-
if let Ok(byte) = u8::try_from(u32::from(ch)) {
|
1189
|
-
dst[result] = byte;
|
1190
|
-
result += 1;
|
1191
|
-
continue;
|
1192
|
-
}
|
1193
|
-
|
1194
|
-
// .. if utf16 is forced to be used then the allocation is
|
1195
|
-
// bumped up to the maximum size.
|
1196
|
-
let worst_case = bytes
|
1197
|
-
.len()
|
1198
|
-
.checked_mul(2)
|
1199
|
-
.ok_or_else(|| anyhow!("byte length overflow"))?;
|
1200
|
-
if worst_case > MAX_STRING_BYTE_LENGTH {
|
1201
|
-
bail!("byte length too large");
|
1202
|
-
}
|
1203
|
-
ptr = cx.realloc(ptr, bytes.len(), 2, worst_case)?;
|
1204
|
-
dst = &mut cx.as_slice_mut()[ptr..][..worst_case];
|
1205
|
-
|
1206
|
-
// Previously encoded latin1 bytes are inflated to their 16-bit
|
1207
|
-
// size for utf16
|
1208
|
-
for i in (0..result).rev() {
|
1209
|
-
dst[2 * i] = dst[i];
|
1210
|
-
dst[2 * i + 1] = 0;
|
1211
|
-
}
|
1212
|
-
|
1213
|
-
// and then the remainder of the string is encoded.
|
1214
|
-
for (u, bytes) in string[i..]
|
1215
|
-
.encode_utf16()
|
1216
|
-
.zip(dst[2 * result..].chunks_mut(2))
|
1217
|
-
{
|
1218
|
-
let u_bytes = u.to_le_bytes();
|
1219
|
-
bytes[0] = u_bytes[0];
|
1220
|
-
bytes[1] = u_bytes[1];
|
1221
|
-
result += 1;
|
1222
|
-
}
|
1223
|
-
if worst_case > 2 * result {
|
1224
|
-
ptr = cx.realloc(ptr, worst_case, 2, 2 * result)?;
|
1225
|
-
}
|
1226
|
-
return Ok((ptr, result | UTF16_TAG));
|
1227
|
-
}
|
1228
|
-
if result < bytes.len() {
|
1229
|
-
ptr = cx.realloc(ptr, bytes.len(), 2, result)?;
|
1230
|
-
}
|
1231
|
-
Ok((ptr, result))
|
1232
|
-
}
|
1233
|
-
}
|
1234
|
-
}
|
1235
|
-
|
1236
|
-
/// Representation of a string located in linear memory in a WebAssembly
|
1237
|
-
/// instance.
|
1238
|
-
///
|
1239
|
-
/// This type can be used in place of `String` and `str` for string-taking APIs
|
1240
|
-
/// in some situations. The purpose of this type is to represent a range of
|
1241
|
-
/// validated bytes within a component but does not actually copy the bytes. The
|
1242
|
-
/// primary method, [`WasmStr::to_str`], attempts to return a reference to the
|
1243
|
-
/// string directly located in the component's memory, avoiding a copy into the
|
1244
|
-
/// host if possible.
|
1245
|
-
///
|
1246
|
-
/// The downside of this type, however, is that accessing a string requires a
|
1247
|
-
/// [`Store`](crate::Store) pointer (via [`StoreContext`]). Bindings generated
|
1248
|
-
/// by [`bindgen!`](crate::component::bindgen), for example, do not have access
|
1249
|
-
/// to [`StoreContext`] and thus can't use this type.
|
1250
|
-
///
|
1251
|
-
/// This is intended for more advanced use cases such as defining functions
|
1252
|
-
/// directly in a [`Linker`](crate::component::Linker). It's expected that in
|
1253
|
-
/// the future [`bindgen!`](crate::component::bindgen) will also have a way to
|
1254
|
-
/// use this type.
|
1255
|
-
///
|
1256
|
-
/// This type is used with [`TypedFunc`], for example, when WebAssembly returns
|
1257
|
-
/// a string. This type cannot be used to give a string to WebAssembly, instead
|
1258
|
-
/// `&str` should be used for that (since it's coming from the host).
|
1259
|
-
///
|
1260
|
-
/// Note that this type represents an in-bounds string in linear memory, but it
|
1261
|
-
/// does not represent a valid string (e.g. valid utf-8). Validation happens
|
1262
|
-
/// when [`WasmStr::to_str`] is called.
|
1263
|
-
///
|
1264
|
-
/// Also note that this type does not implement [`Lower`], it only implements
|
1265
|
-
/// [`Lift`].
|
1266
|
-
pub struct WasmStr {
|
1267
|
-
ptr: usize,
|
1268
|
-
len: usize,
|
1269
|
-
options: Options,
|
1270
|
-
}
|
1271
|
-
|
1272
|
-
impl WasmStr {
|
1273
|
-
fn new(ptr: usize, len: usize, cx: &mut LiftContext<'_>) -> Result<WasmStr> {
|
1274
|
-
let byte_len = match cx.options.string_encoding() {
|
1275
|
-
StringEncoding::Utf8 => Some(len),
|
1276
|
-
StringEncoding::Utf16 => len.checked_mul(2),
|
1277
|
-
StringEncoding::CompactUtf16 => {
|
1278
|
-
if len & UTF16_TAG == 0 {
|
1279
|
-
Some(len)
|
1280
|
-
} else {
|
1281
|
-
(len ^ UTF16_TAG).checked_mul(2)
|
1282
|
-
}
|
1283
|
-
}
|
1284
|
-
};
|
1285
|
-
match byte_len.and_then(|len| ptr.checked_add(len)) {
|
1286
|
-
Some(n) if n <= cx.memory().len() => {}
|
1287
|
-
_ => bail!("string pointer/length out of bounds of memory"),
|
1288
|
-
}
|
1289
|
-
Ok(WasmStr {
|
1290
|
-
ptr,
|
1291
|
-
len,
|
1292
|
-
options: *cx.options,
|
1293
|
-
})
|
1294
|
-
}
|
1295
|
-
|
1296
|
-
/// Returns the underlying string that this cursor points to.
|
1297
|
-
///
|
1298
|
-
/// Note that this will internally decode the string from the wasm's
|
1299
|
-
/// encoding to utf-8 and additionally perform validation.
|
1300
|
-
///
|
1301
|
-
/// The `store` provided must be the store where this string lives to
|
1302
|
-
/// access the correct memory.
|
1303
|
-
///
|
1304
|
-
/// # Errors
|
1305
|
-
///
|
1306
|
-
/// Returns an error if the string wasn't encoded correctly (e.g. invalid
|
1307
|
-
/// utf-8).
|
1308
|
-
///
|
1309
|
-
/// # Panics
|
1310
|
-
///
|
1311
|
-
/// Panics if this string is not owned by `store`.
|
1312
|
-
//
|
1313
|
-
// TODO: should add accessors for specifically utf-8 and utf-16 that perhaps
|
1314
|
-
// in an opt-in basis don't do validation. Additionally there should be some
|
1315
|
-
// method that returns `[u16]` after validating to avoid the utf16-to-utf8
|
1316
|
-
// transcode.
|
1317
|
-
pub fn to_str<'a, T: 'a>(&self, store: impl Into<StoreContext<'a, T>>) -> Result<Cow<'a, str>> {
|
1318
|
-
let store = store.into().0;
|
1319
|
-
let memory = self.options.memory(store);
|
1320
|
-
self.to_str_from_memory(memory)
|
1321
|
-
}
|
1322
|
-
|
1323
|
-
fn to_str_from_memory<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1324
|
-
match self.options.string_encoding() {
|
1325
|
-
StringEncoding::Utf8 => self.decode_utf8(memory),
|
1326
|
-
StringEncoding::Utf16 => self.decode_utf16(memory, self.len),
|
1327
|
-
StringEncoding::CompactUtf16 => {
|
1328
|
-
if self.len & UTF16_TAG == 0 {
|
1329
|
-
self.decode_latin1(memory)
|
1330
|
-
} else {
|
1331
|
-
self.decode_utf16(memory, self.len ^ UTF16_TAG)
|
1332
|
-
}
|
1333
|
-
}
|
1334
|
-
}
|
1335
|
-
}
|
1336
|
-
|
1337
|
-
fn decode_utf8<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1338
|
-
// Note that bounds-checking already happen in construction of `WasmStr`
|
1339
|
-
// so this is never expected to panic. This could theoretically be
|
1340
|
-
// unchecked indexing if we're feeling wild enough.
|
1341
|
-
Ok(str::from_utf8(&memory[self.ptr..][..self.len])
|
1342
|
-
.err2anyhow()?
|
1343
|
-
.into())
|
1344
|
-
}
|
1345
|
-
|
1346
|
-
fn decode_utf16<'a>(&self, memory: &'a [u8], len: usize) -> Result<Cow<'a, str>> {
|
1347
|
-
// See notes in `decode_utf8` for why this is panicking indexing.
|
1348
|
-
let memory = &memory[self.ptr..][..len * 2];
|
1349
|
-
Ok(core::char::decode_utf16(
|
1350
|
-
memory
|
1351
|
-
.chunks(2)
|
1352
|
-
.map(|chunk| u16::from_le_bytes(chunk.try_into().unwrap())),
|
1353
|
-
)
|
1354
|
-
.collect::<Result<String, _>>()
|
1355
|
-
.err2anyhow()?
|
1356
|
-
.into())
|
1357
|
-
}
|
1358
|
-
|
1359
|
-
fn decode_latin1<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1360
|
-
// See notes in `decode_utf8` for why this is panicking indexing.
|
1361
|
-
Ok(encoding_rs::mem::decode_latin1(
|
1362
|
-
&memory[self.ptr..][..self.len],
|
1363
|
-
))
|
1364
|
-
}
|
1365
|
-
}
|
1366
|
-
|
1367
|
-
// Note that this is similar to `ComponentType for str` except it can only be
|
1368
|
-
// used for lifting, not lowering.
|
1369
|
-
unsafe impl ComponentType for WasmStr {
|
1370
|
-
type Lower = <str as ComponentType>::Lower;
|
1371
|
-
|
1372
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1373
|
-
|
1374
|
-
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1375
|
-
match ty {
|
1376
|
-
InterfaceType::String => Ok(()),
|
1377
|
-
other => bail!("expected `string` found `{}`", desc(other)),
|
1378
|
-
}
|
1379
|
-
}
|
1380
|
-
}
|
1381
|
-
|
1382
|
-
unsafe impl Lift for WasmStr {
|
1383
|
-
#[inline]
|
1384
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1385
|
-
debug_assert!(matches!(ty, InterfaceType::String));
|
1386
|
-
// FIXME: needs memory64 treatment
|
1387
|
-
let ptr = src[0].get_u32();
|
1388
|
-
let len = src[1].get_u32();
|
1389
|
-
let (ptr, len) = (
|
1390
|
-
usize::try_from(ptr).err2anyhow()?,
|
1391
|
-
usize::try_from(len).err2anyhow()?,
|
1392
|
-
);
|
1393
|
-
WasmStr::new(ptr, len, cx)
|
1394
|
-
}
|
1395
|
-
|
1396
|
-
#[inline]
|
1397
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1398
|
-
debug_assert!(matches!(ty, InterfaceType::String));
|
1399
|
-
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
1400
|
-
// FIXME: needs memory64 treatment
|
1401
|
-
let ptr = u32::from_le_bytes(bytes[..4].try_into().unwrap());
|
1402
|
-
let len = u32::from_le_bytes(bytes[4..].try_into().unwrap());
|
1403
|
-
let (ptr, len) = (
|
1404
|
-
usize::try_from(ptr).err2anyhow()?,
|
1405
|
-
usize::try_from(len).err2anyhow()?,
|
1406
|
-
);
|
1407
|
-
WasmStr::new(ptr, len, cx)
|
1408
|
-
}
|
1409
|
-
}
|
1410
|
-
|
1411
|
-
unsafe impl<T> ComponentType for [T]
|
1412
|
-
where
|
1413
|
-
T: ComponentType,
|
1414
|
-
{
|
1415
|
-
type Lower = [ValRaw; 2];
|
1416
|
-
|
1417
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1418
|
-
|
1419
|
-
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1420
|
-
match ty {
|
1421
|
-
InterfaceType::List(t) => T::typecheck(&types.types[*t].element, types),
|
1422
|
-
other => bail!("expected `list` found `{}`", desc(other)),
|
1423
|
-
}
|
1424
|
-
}
|
1425
|
-
}
|
1426
|
-
|
1427
|
-
unsafe impl<T> Lower for [T]
|
1428
|
-
where
|
1429
|
-
T: Lower,
|
1430
|
-
{
|
1431
|
-
fn lower<U>(
|
1432
|
-
&self,
|
1433
|
-
cx: &mut LowerContext<'_, U>,
|
1434
|
-
ty: InterfaceType,
|
1435
|
-
dst: &mut MaybeUninit<[ValRaw; 2]>,
|
1436
|
-
) -> Result<()> {
|
1437
|
-
let elem = match ty {
|
1438
|
-
InterfaceType::List(i) => cx.types[i].element,
|
1439
|
-
_ => bad_type_info(),
|
1440
|
-
};
|
1441
|
-
let (ptr, len) = lower_list(cx, elem, self)?;
|
1442
|
-
// See "WRITEPTR64" above for why this is always storing a 64-bit
|
1443
|
-
// integer.
|
1444
|
-
map_maybe_uninit!(dst[0]).write(ValRaw::i64(ptr as i64));
|
1445
|
-
map_maybe_uninit!(dst[1]).write(ValRaw::i64(len as i64));
|
1446
|
-
Ok(())
|
1447
|
-
}
|
1448
|
-
|
1449
|
-
fn store<U>(
|
1450
|
-
&self,
|
1451
|
-
cx: &mut LowerContext<'_, U>,
|
1452
|
-
ty: InterfaceType,
|
1453
|
-
offset: usize,
|
1454
|
-
) -> Result<()> {
|
1455
|
-
let elem = match ty {
|
1456
|
-
InterfaceType::List(i) => cx.types[i].element,
|
1457
|
-
_ => bad_type_info(),
|
1458
|
-
};
|
1459
|
-
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1460
|
-
let (ptr, len) = lower_list(cx, elem, self)?;
|
1461
|
-
*cx.get(offset + 0) = (ptr as i32).to_le_bytes();
|
1462
|
-
*cx.get(offset + 4) = (len as i32).to_le_bytes();
|
1463
|
-
Ok(())
|
1464
|
-
}
|
1465
|
-
}
|
1466
|
-
|
1467
|
-
// FIXME: this is not a memcpy for `T` where `T` is something like `u8`.
|
1468
|
-
//
|
1469
|
-
// Some attempts to fix this have proved not fruitful. In isolation an attempt
|
1470
|
-
// was made where:
|
1471
|
-
//
|
1472
|
-
// * `MemoryMut` stored a `*mut [u8]` as its "last view" of memory to avoid
|
1473
|
-
// reloading the base pointer constantly. This view is reset on `realloc`.
|
1474
|
-
// * The bounds-checks in `MemoryMut::get` were removed (replaced with unsafe
|
1475
|
-
// indexing)
|
1476
|
-
//
|
1477
|
-
// Even then though this didn't correctly vectorized for `Vec<u8>`. It's not
|
1478
|
-
// entirely clear why but it appeared that it's related to reloading the base
|
1479
|
-
// pointer fo memory (I guess from `MemoryMut` itself?). Overall I'm not really
|
1480
|
-
// clear on what's happening there, but this is surely going to be a performance
|
1481
|
-
// bottleneck in the future.
|
1482
|
-
fn lower_list<T, U>(
|
1483
|
-
cx: &mut LowerContext<'_, U>,
|
1484
|
-
ty: InterfaceType,
|
1485
|
-
list: &[T],
|
1486
|
-
) -> Result<(usize, usize)>
|
1487
|
-
where
|
1488
|
-
T: Lower,
|
1489
|
-
{
|
1490
|
-
let elem_size = T::SIZE32;
|
1491
|
-
let size = list
|
1492
|
-
.len()
|
1493
|
-
.checked_mul(elem_size)
|
1494
|
-
.ok_or_else(|| anyhow!("size overflow copying a list"))?;
|
1495
|
-
let ptr = cx.realloc(0, 0, T::ALIGN32, size)?;
|
1496
|
-
T::store_list(cx, ty, ptr, list)?;
|
1497
|
-
Ok((ptr, list.len()))
|
1498
|
-
}
|
1499
|
-
|
1500
|
-
/// Representation of a list of values that are owned by a WebAssembly instance.
|
1501
|
-
///
|
1502
|
-
/// For some more commentary about the rationale for this type see the
|
1503
|
-
/// documentation of [`WasmStr`]. In summary this type can avoid a copy when
|
1504
|
-
/// passing data to the host in some situations but is additionally more
|
1505
|
-
/// cumbersome to use by requiring a [`Store`](crate::Store) to be provided.
|
1506
|
-
///
|
1507
|
-
/// This type is used whenever a `(list T)` is returned from a [`TypedFunc`],
|
1508
|
-
/// for example. This type represents a list of values that are stored in linear
|
1509
|
-
/// memory which are waiting to be read.
|
1510
|
-
///
|
1511
|
-
/// Note that this type represents only a valid range of bytes for the list
|
1512
|
-
/// itself, it does not represent validity of the elements themselves and that's
|
1513
|
-
/// performed when they're iterated.
|
1514
|
-
///
|
1515
|
-
/// Note that this type does not implement the [`Lower`] trait, only [`Lift`].
|
1516
|
-
pub struct WasmList<T> {
|
1517
|
-
ptr: usize,
|
1518
|
-
len: usize,
|
1519
|
-
options: Options,
|
1520
|
-
elem: InterfaceType,
|
1521
|
-
// NB: it would probably be more efficient to store a non-atomic index-style
|
1522
|
-
// reference to something inside a `StoreOpaque`, but that's not easily
|
1523
|
-
// available at this time, so it's left as a future exercise.
|
1524
|
-
types: Arc<ComponentTypes>,
|
1525
|
-
instance: SendSyncPtr<ComponentInstance>,
|
1526
|
-
_marker: marker::PhantomData<T>,
|
1527
|
-
}
|
1528
|
-
|
1529
|
-
impl<T: Lift> WasmList<T> {
|
1530
|
-
fn new(
|
1531
|
-
ptr: usize,
|
1532
|
-
len: usize,
|
1533
|
-
cx: &mut LiftContext<'_>,
|
1534
|
-
elem: InterfaceType,
|
1535
|
-
) -> Result<WasmList<T>> {
|
1536
|
-
match len
|
1537
|
-
.checked_mul(T::SIZE32)
|
1538
|
-
.and_then(|len| ptr.checked_add(len))
|
1539
|
-
{
|
1540
|
-
Some(n) if n <= cx.memory().len() => {}
|
1541
|
-
_ => bail!("list pointer/length out of bounds of memory"),
|
1542
|
-
}
|
1543
|
-
if ptr % usize::try_from(T::ALIGN32).err2anyhow()? != 0 {
|
1544
|
-
bail!("list pointer is not aligned")
|
1545
|
-
}
|
1546
|
-
Ok(WasmList {
|
1547
|
-
ptr,
|
1548
|
-
len,
|
1549
|
-
options: *cx.options,
|
1550
|
-
elem,
|
1551
|
-
types: cx.types.clone(),
|
1552
|
-
instance: SendSyncPtr::new(NonNull::new(cx.instance_ptr()).unwrap()),
|
1553
|
-
_marker: marker::PhantomData,
|
1554
|
-
})
|
1555
|
-
}
|
1556
|
-
|
1557
|
-
/// Returns the item length of this vector
|
1558
|
-
#[inline]
|
1559
|
-
pub fn len(&self) -> usize {
|
1560
|
-
self.len
|
1561
|
-
}
|
1562
|
-
|
1563
|
-
/// Gets the `n`th element of this list.
|
1564
|
-
///
|
1565
|
-
/// Returns `None` if `index` is out of bounds. Returns `Some(Err(..))` if
|
1566
|
-
/// the value couldn't be decoded (it was invalid). Returns `Some(Ok(..))`
|
1567
|
-
/// if the value is valid.
|
1568
|
-
///
|
1569
|
-
/// # Panics
|
1570
|
-
///
|
1571
|
-
/// This function will panic if the string did not originally come from the
|
1572
|
-
/// `store` specified.
|
1573
|
-
//
|
1574
|
-
// TODO: given that interface values are intended to be consumed in one go
|
1575
|
-
// should we even expose a random access iteration API? In theory all
|
1576
|
-
// consumers should be validating through the iterator.
|
1577
|
-
pub fn get(&self, mut store: impl AsContextMut, index: usize) -> Option<Result<T>> {
|
1578
|
-
let store = store.as_context_mut().0;
|
1579
|
-
self.options.store_id().assert_belongs_to(store.id());
|
1580
|
-
// This should be safe because the unsafety lies in the `self.instance`
|
1581
|
-
// pointer passed in has previously been validated by the lifting
|
1582
|
-
// context this was originally created within and with the check above
|
1583
|
-
// this is guaranteed to be the same store. This means that this should
|
1584
|
-
// be carrying over the original assertion from the original creation of
|
1585
|
-
// the lifting context that created this type.
|
1586
|
-
let mut cx =
|
1587
|
-
unsafe { LiftContext::new(store, &self.options, &self.types, self.instance.as_ptr()) };
|
1588
|
-
self.get_from_store(&mut cx, index)
|
1589
|
-
}
|
1590
|
-
|
1591
|
-
fn get_from_store(&self, cx: &mut LiftContext<'_>, index: usize) -> Option<Result<T>> {
|
1592
|
-
if index >= self.len {
|
1593
|
-
return None;
|
1594
|
-
}
|
1595
|
-
// Note that this is using panicking indexing and this is expected to
|
1596
|
-
// never fail. The bounds-checking here happened during the construction
|
1597
|
-
// of the `WasmList` itself which means these should always be in-bounds
|
1598
|
-
// (and wasm memory can only grow). This could theoretically be
|
1599
|
-
// unchecked indexing if we're confident enough and it's actually a perf
|
1600
|
-
// issue one day.
|
1601
|
-
let bytes = &cx.memory()[self.ptr + index * T::SIZE32..][..T::SIZE32];
|
1602
|
-
Some(T::load(cx, self.elem, bytes))
|
1603
|
-
}
|
1604
|
-
|
1605
|
-
/// Returns an iterator over the elements of this list.
|
1606
|
-
///
|
1607
|
-
/// Each item of the list may fail to decode and is represented through the
|
1608
|
-
/// `Result` value of the iterator.
|
1609
|
-
pub fn iter<'a, U: 'a>(
|
1610
|
-
&'a self,
|
1611
|
-
store: impl Into<StoreContextMut<'a, U>>,
|
1612
|
-
) -> impl ExactSizeIterator<Item = Result<T>> + 'a {
|
1613
|
-
let store = store.into().0;
|
1614
|
-
self.options.store_id().assert_belongs_to(store.id());
|
1615
|
-
// See comments about unsafety in the `get` method.
|
1616
|
-
let mut cx =
|
1617
|
-
unsafe { LiftContext::new(store, &self.options, &self.types, self.instance.as_ptr()) };
|
1618
|
-
(0..self.len).map(move |i| self.get_from_store(&mut cx, i).unwrap())
|
1619
|
-
}
|
1620
|
-
}
|
1621
|
-
|
1622
|
-
macro_rules! raw_wasm_list_accessors {
|
1623
|
-
($($i:ident)*) => ($(
|
1624
|
-
impl WasmList<$i> {
|
1625
|
-
/// Get access to the raw underlying memory for this list.
|
1626
|
-
///
|
1627
|
-
/// This method will return a direct slice into the original wasm
|
1628
|
-
/// module's linear memory where the data for this slice is stored.
|
1629
|
-
/// This allows the embedder to have efficient access to the
|
1630
|
-
/// underlying memory if needed and avoid copies and such if
|
1631
|
-
/// desired.
|
1632
|
-
///
|
1633
|
-
/// Note that multi-byte integers are stored in little-endian format
|
1634
|
-
/// so portable processing of this slice must be aware of the host's
|
1635
|
-
/// byte-endianness. The `from_le` constructors in the Rust standard
|
1636
|
-
/// library should be suitable for converting from little-endian.
|
1637
|
-
///
|
1638
|
-
/// # Panics
|
1639
|
-
///
|
1640
|
-
/// Panics if the `store` provided is not the one from which this
|
1641
|
-
/// slice originated.
|
1642
|
-
pub fn as_le_slice<'a, T: 'a>(&self, store: impl Into<StoreContext<'a, T>>) -> &'a [$i] {
|
1643
|
-
let memory = self.options.memory(store.into().0);
|
1644
|
-
self._as_le_slice(memory)
|
1645
|
-
}
|
1646
|
-
|
1647
|
-
fn _as_le_slice<'a>(&self, all_of_memory: &'a [u8]) -> &'a [$i] {
|
1648
|
-
// See comments in `WasmList::get` for the panicking indexing
|
1649
|
-
let byte_size = self.len * mem::size_of::<$i>();
|
1650
|
-
let bytes = &all_of_memory[self.ptr..][..byte_size];
|
1651
|
-
|
1652
|
-
// The canonical ABI requires that everything is aligned to its
|
1653
|
-
// own size, so this should be an aligned array. Furthermore the
|
1654
|
-
// alignment of primitive integers for hosts should be smaller
|
1655
|
-
// than or equal to the size of the primitive itself, meaning
|
1656
|
-
// that a wasm canonical-abi-aligned list is also aligned for
|
1657
|
-
// the host. That should mean that the head/tail slices here are
|
1658
|
-
// empty.
|
1659
|
-
//
|
1660
|
-
// Also note that the `unsafe` here is needed since the type
|
1661
|
-
// we're aligning to isn't guaranteed to be valid, but in our
|
1662
|
-
// case it's just integers and bytes so this should be safe.
|
1663
|
-
unsafe {
|
1664
|
-
let (head, body, tail) = bytes.align_to::<$i>();
|
1665
|
-
assert!(head.is_empty() && tail.is_empty());
|
1666
|
-
body
|
1667
|
-
}
|
1668
|
-
}
|
1669
|
-
}
|
1670
|
-
)*)
|
1671
|
-
}
|
1672
|
-
|
1673
|
-
raw_wasm_list_accessors! {
|
1674
|
-
i8 i16 i32 i64
|
1675
|
-
u8 u16 u32 u64
|
1676
|
-
}
|
1677
|
-
|
1678
|
-
// Note that this is similar to `ComponentType for str` except it can only be
|
1679
|
-
// used for lifting, not lowering.
|
1680
|
-
unsafe impl<T: ComponentType> ComponentType for WasmList<T> {
|
1681
|
-
type Lower = <[T] as ComponentType>::Lower;
|
1682
|
-
|
1683
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1684
|
-
|
1685
|
-
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1686
|
-
<[T] as ComponentType>::typecheck(ty, types)
|
1687
|
-
}
|
1688
|
-
}
|
1689
|
-
|
1690
|
-
unsafe impl<T: Lift> Lift for WasmList<T> {
|
1691
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1692
|
-
let elem = match ty {
|
1693
|
-
InterfaceType::List(i) => cx.types[i].element,
|
1694
|
-
_ => bad_type_info(),
|
1695
|
-
};
|
1696
|
-
// FIXME: needs memory64 treatment
|
1697
|
-
let ptr = src[0].get_u32();
|
1698
|
-
let len = src[1].get_u32();
|
1699
|
-
let (ptr, len) = (
|
1700
|
-
usize::try_from(ptr).err2anyhow()?,
|
1701
|
-
usize::try_from(len).err2anyhow()?,
|
1702
|
-
);
|
1703
|
-
WasmList::new(ptr, len, cx, elem)
|
1704
|
-
}
|
1705
|
-
|
1706
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1707
|
-
let elem = match ty {
|
1708
|
-
InterfaceType::List(i) => cx.types[i].element,
|
1709
|
-
_ => bad_type_info(),
|
1710
|
-
};
|
1711
|
-
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
1712
|
-
// FIXME: needs memory64 treatment
|
1713
|
-
let ptr = u32::from_le_bytes(bytes[..4].try_into().unwrap());
|
1714
|
-
let len = u32::from_le_bytes(bytes[4..].try_into().unwrap());
|
1715
|
-
let (ptr, len) = (
|
1716
|
-
usize::try_from(ptr).err2anyhow()?,
|
1717
|
-
usize::try_from(len).err2anyhow()?,
|
1718
|
-
);
|
1719
|
-
WasmList::new(ptr, len, cx, elem)
|
1720
|
-
}
|
1721
|
-
}
|
1722
|
-
|
1723
|
-
/// Verify that the given wasm type is a tuple with the expected fields in the right order.
|
1724
|
-
fn typecheck_tuple(
|
1725
|
-
ty: &InterfaceType,
|
1726
|
-
types: &InstanceType<'_>,
|
1727
|
-
expected: &[fn(&InterfaceType, &InstanceType<'_>) -> Result<()>],
|
1728
|
-
) -> Result<()> {
|
1729
|
-
match ty {
|
1730
|
-
InterfaceType::Tuple(t) => {
|
1731
|
-
let tuple = &types.types[*t];
|
1732
|
-
if tuple.types.len() != expected.len() {
|
1733
|
-
bail!(
|
1734
|
-
"expected {}-tuple, found {}-tuple",
|
1735
|
-
expected.len(),
|
1736
|
-
tuple.types.len()
|
1737
|
-
);
|
1738
|
-
}
|
1739
|
-
for (ty, check) in tuple.types.iter().zip(expected) {
|
1740
|
-
check(ty, types)?;
|
1741
|
-
}
|
1742
|
-
Ok(())
|
1743
|
-
}
|
1744
|
-
other => bail!("expected `tuple` found `{}`", desc(other)),
|
1745
|
-
}
|
1746
|
-
}
|
1747
|
-
|
1748
|
-
/// Verify that the given wasm type is a record with the expected fields in the right order and with the right
|
1749
|
-
/// names.
|
1750
|
-
pub fn typecheck_record(
|
1751
|
-
ty: &InterfaceType,
|
1752
|
-
types: &InstanceType<'_>,
|
1753
|
-
expected: &[(&str, fn(&InterfaceType, &InstanceType<'_>) -> Result<()>)],
|
1754
|
-
) -> Result<()> {
|
1755
|
-
match ty {
|
1756
|
-
InterfaceType::Record(index) => {
|
1757
|
-
let fields = &types.types[*index].fields;
|
1758
|
-
|
1759
|
-
if fields.len() != expected.len() {
|
1760
|
-
bail!(
|
1761
|
-
"expected record of {} fields, found {} fields",
|
1762
|
-
expected.len(),
|
1763
|
-
fields.len()
|
1764
|
-
);
|
1765
|
-
}
|
1766
|
-
|
1767
|
-
for (field, &(name, check)) in fields.iter().zip(expected) {
|
1768
|
-
check(&field.ty, types)
|
1769
|
-
.with_context(|| format!("type mismatch for field {}", name))?;
|
1770
|
-
|
1771
|
-
if field.name != name {
|
1772
|
-
bail!("expected record field named {}, found {}", name, field.name);
|
1773
|
-
}
|
1774
|
-
}
|
1775
|
-
|
1776
|
-
Ok(())
|
1777
|
-
}
|
1778
|
-
other => bail!("expected `record` found `{}`", desc(other)),
|
1779
|
-
}
|
1780
|
-
}
|
1781
|
-
|
1782
|
-
/// Verify that the given wasm type is a variant with the expected cases in the right order and with the right
|
1783
|
-
/// names.
|
1784
|
-
pub fn typecheck_variant(
|
1785
|
-
ty: &InterfaceType,
|
1786
|
-
types: &InstanceType<'_>,
|
1787
|
-
expected: &[(
|
1788
|
-
&str,
|
1789
|
-
Option<fn(&InterfaceType, &InstanceType<'_>) -> Result<()>>,
|
1790
|
-
)],
|
1791
|
-
) -> Result<()> {
|
1792
|
-
match ty {
|
1793
|
-
InterfaceType::Variant(index) => {
|
1794
|
-
let cases = &types.types[*index].cases;
|
1795
|
-
|
1796
|
-
if cases.len() != expected.len() {
|
1797
|
-
bail!(
|
1798
|
-
"expected variant of {} cases, found {} cases",
|
1799
|
-
expected.len(),
|
1800
|
-
cases.len()
|
1801
|
-
);
|
1802
|
-
}
|
1803
|
-
|
1804
|
-
for ((case_name, case_ty), &(name, check)) in cases.iter().zip(expected) {
|
1805
|
-
if *case_name != name {
|
1806
|
-
bail!("expected variant case named {name}, found {case_name}");
|
1807
|
-
}
|
1808
|
-
|
1809
|
-
match (check, case_ty) {
|
1810
|
-
(Some(check), Some(ty)) => check(ty, types)
|
1811
|
-
.with_context(|| format!("type mismatch for case {name}"))?,
|
1812
|
-
(None, None) => {}
|
1813
|
-
(Some(_), None) => {
|
1814
|
-
bail!("case `{name}` has no type but one was expected")
|
1815
|
-
}
|
1816
|
-
(None, Some(_)) => {
|
1817
|
-
bail!("case `{name}` has a type but none was expected")
|
1818
|
-
}
|
1819
|
-
}
|
1820
|
-
}
|
1821
|
-
|
1822
|
-
Ok(())
|
1823
|
-
}
|
1824
|
-
other => bail!("expected `variant` found `{}`", desc(other)),
|
1825
|
-
}
|
1826
|
-
}
|
1827
|
-
|
1828
|
-
/// Verify that the given wasm type is a enum with the expected cases in the right order and with the right
|
1829
|
-
/// names.
|
1830
|
-
pub fn typecheck_enum(
|
1831
|
-
ty: &InterfaceType,
|
1832
|
-
types: &InstanceType<'_>,
|
1833
|
-
expected: &[&str],
|
1834
|
-
) -> Result<()> {
|
1835
|
-
match ty {
|
1836
|
-
InterfaceType::Enum(index) => {
|
1837
|
-
let names = &types.types[*index].names;
|
1838
|
-
|
1839
|
-
if names.len() != expected.len() {
|
1840
|
-
bail!(
|
1841
|
-
"expected enum of {} names, found {} names",
|
1842
|
-
expected.len(),
|
1843
|
-
names.len()
|
1844
|
-
);
|
1845
|
-
}
|
1846
|
-
|
1847
|
-
for (name, expected) in names.iter().zip(expected) {
|
1848
|
-
if name != expected {
|
1849
|
-
bail!("expected enum case named {}, found {}", expected, name);
|
1850
|
-
}
|
1851
|
-
}
|
1852
|
-
|
1853
|
-
Ok(())
|
1854
|
-
}
|
1855
|
-
other => bail!("expected `enum` found `{}`", desc(other)),
|
1856
|
-
}
|
1857
|
-
}
|
1858
|
-
|
1859
|
-
/// Verify that the given wasm type is a flags type with the expected flags in the right order and with the right
|
1860
|
-
/// names.
|
1861
|
-
pub fn typecheck_flags(
|
1862
|
-
ty: &InterfaceType,
|
1863
|
-
types: &InstanceType<'_>,
|
1864
|
-
expected: &[&str],
|
1865
|
-
) -> Result<()> {
|
1866
|
-
match ty {
|
1867
|
-
InterfaceType::Flags(index) => {
|
1868
|
-
let names = &types.types[*index].names;
|
1869
|
-
|
1870
|
-
if names.len() != expected.len() {
|
1871
|
-
bail!(
|
1872
|
-
"expected flags type with {} names, found {} names",
|
1873
|
-
expected.len(),
|
1874
|
-
names.len()
|
1875
|
-
);
|
1876
|
-
}
|
1877
|
-
|
1878
|
-
for (name, expected) in names.iter().zip(expected) {
|
1879
|
-
if name != expected {
|
1880
|
-
bail!("expected flag named {}, found {}", expected, name);
|
1881
|
-
}
|
1882
|
-
}
|
1883
|
-
|
1884
|
-
Ok(())
|
1885
|
-
}
|
1886
|
-
other => bail!("expected `flags` found `{}`", desc(other)),
|
1887
|
-
}
|
1888
|
-
}
|
1889
|
-
|
1890
|
-
/// Format the specified bitflags using the specified names for debugging
|
1891
|
-
pub fn format_flags(bits: &[u32], names: &[&str], f: &mut fmt::Formatter) -> fmt::Result {
|
1892
|
-
f.write_str("(")?;
|
1893
|
-
let mut wrote = false;
|
1894
|
-
for (index, name) in names.iter().enumerate() {
|
1895
|
-
if ((bits[index / 32] >> (index % 32)) & 1) != 0 {
|
1896
|
-
if wrote {
|
1897
|
-
f.write_str("|")?;
|
1898
|
-
} else {
|
1899
|
-
wrote = true;
|
1900
|
-
}
|
1901
|
-
|
1902
|
-
f.write_str(name)?;
|
1903
|
-
}
|
1904
|
-
}
|
1905
|
-
f.write_str(")")
|
1906
|
-
}
|
1907
|
-
|
1908
|
-
unsafe impl<T> ComponentType for Option<T>
|
1909
|
-
where
|
1910
|
-
T: ComponentType,
|
1911
|
-
{
|
1912
|
-
type Lower = TupleLower2<<u32 as ComponentType>::Lower, T::Lower>;
|
1913
|
-
|
1914
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::variant_static(&[None, Some(T::ABI)]);
|
1915
|
-
|
1916
|
-
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1917
|
-
match ty {
|
1918
|
-
InterfaceType::Option(t) => T::typecheck(&types.types[*t].ty, types),
|
1919
|
-
other => bail!("expected `option` found `{}`", desc(other)),
|
1920
|
-
}
|
1921
|
-
}
|
1922
|
-
}
|
1923
|
-
|
1924
|
-
unsafe impl<T> ComponentVariant for Option<T>
|
1925
|
-
where
|
1926
|
-
T: ComponentType,
|
1927
|
-
{
|
1928
|
-
const CASES: &'static [Option<CanonicalAbiInfo>] = &[None, Some(T::ABI)];
|
1929
|
-
}
|
1930
|
-
|
1931
|
-
unsafe impl<T> Lower for Option<T>
|
1932
|
-
where
|
1933
|
-
T: Lower,
|
1934
|
-
{
|
1935
|
-
fn lower<U>(
|
1936
|
-
&self,
|
1937
|
-
cx: &mut LowerContext<'_, U>,
|
1938
|
-
ty: InterfaceType,
|
1939
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
1940
|
-
) -> Result<()> {
|
1941
|
-
let payload = match ty {
|
1942
|
-
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1943
|
-
_ => bad_type_info(),
|
1944
|
-
};
|
1945
|
-
match self {
|
1946
|
-
None => {
|
1947
|
-
map_maybe_uninit!(dst.A1).write(ValRaw::i32(0));
|
1948
|
-
// Note that this is unsafe as we're writing an arbitrary
|
1949
|
-
// bit-pattern to an arbitrary type, but part of the unsafe
|
1950
|
-
// contract of the `ComponentType` trait is that we can assign
|
1951
|
-
// any bit-pattern. By writing all zeros here we're ensuring
|
1952
|
-
// that the core wasm arguments this translates to will all be
|
1953
|
-
// zeros (as the canonical ABI requires).
|
1954
|
-
unsafe {
|
1955
|
-
map_maybe_uninit!(dst.A2).as_mut_ptr().write_bytes(0u8, 1);
|
1956
|
-
}
|
1957
|
-
}
|
1958
|
-
Some(val) => {
|
1959
|
-
map_maybe_uninit!(dst.A1).write(ValRaw::i32(1));
|
1960
|
-
val.lower(cx, payload, map_maybe_uninit!(dst.A2))?;
|
1961
|
-
}
|
1962
|
-
}
|
1963
|
-
Ok(())
|
1964
|
-
}
|
1965
|
-
|
1966
|
-
fn store<U>(
|
1967
|
-
&self,
|
1968
|
-
cx: &mut LowerContext<'_, U>,
|
1969
|
-
ty: InterfaceType,
|
1970
|
-
offset: usize,
|
1971
|
-
) -> Result<()> {
|
1972
|
-
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1973
|
-
let payload = match ty {
|
1974
|
-
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1975
|
-
_ => bad_type_info(),
|
1976
|
-
};
|
1977
|
-
match self {
|
1978
|
-
None => {
|
1979
|
-
cx.get::<1>(offset)[0] = 0;
|
1980
|
-
}
|
1981
|
-
Some(val) => {
|
1982
|
-
cx.get::<1>(offset)[0] = 1;
|
1983
|
-
val.store(cx, payload, offset + (Self::INFO.payload_offset32 as usize))?;
|
1984
|
-
}
|
1985
|
-
}
|
1986
|
-
Ok(())
|
1987
|
-
}
|
1988
|
-
}
|
1989
|
-
|
1990
|
-
unsafe impl<T> Lift for Option<T>
|
1991
|
-
where
|
1992
|
-
T: Lift,
|
1993
|
-
{
|
1994
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1995
|
-
let payload = match ty {
|
1996
|
-
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1997
|
-
_ => bad_type_info(),
|
1998
|
-
};
|
1999
|
-
Ok(match src.A1.get_i32() {
|
2000
|
-
0 => None,
|
2001
|
-
1 => Some(T::lift(cx, payload, &src.A2)?),
|
2002
|
-
_ => bail!("invalid option discriminant"),
|
2003
|
-
})
|
2004
|
-
}
|
2005
|
-
|
2006
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2007
|
-
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2008
|
-
let payload_ty = match ty {
|
2009
|
-
InterfaceType::Option(ty) => cx.types[ty].ty,
|
2010
|
-
_ => bad_type_info(),
|
2011
|
-
};
|
2012
|
-
let discrim = bytes[0];
|
2013
|
-
let payload = &bytes[Self::INFO.payload_offset32 as usize..];
|
2014
|
-
match discrim {
|
2015
|
-
0 => Ok(None),
|
2016
|
-
1 => Ok(Some(T::load(cx, payload_ty, payload)?)),
|
2017
|
-
_ => bail!("invalid option discriminant"),
|
2018
|
-
}
|
2019
|
-
}
|
2020
|
-
}
|
2021
|
-
|
2022
|
-
#[derive(Clone, Copy)]
|
2023
|
-
#[repr(C)]
|
2024
|
-
pub struct ResultLower<T: Copy, E: Copy> {
|
2025
|
-
tag: ValRaw,
|
2026
|
-
payload: ResultLowerPayload<T, E>,
|
2027
|
-
}
|
2028
|
-
|
2029
|
-
#[derive(Clone, Copy)]
|
2030
|
-
#[repr(C)]
|
2031
|
-
union ResultLowerPayload<T: Copy, E: Copy> {
|
2032
|
-
ok: T,
|
2033
|
-
err: E,
|
2034
|
-
}
|
2035
|
-
|
2036
|
-
unsafe impl<T, E> ComponentType for Result<T, E>
|
2037
|
-
where
|
2038
|
-
T: ComponentType,
|
2039
|
-
E: ComponentType,
|
2040
|
-
{
|
2041
|
-
type Lower = ResultLower<T::Lower, E::Lower>;
|
2042
|
-
|
2043
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::variant_static(&[Some(T::ABI), Some(E::ABI)]);
|
2044
|
-
|
2045
|
-
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
2046
|
-
match ty {
|
2047
|
-
InterfaceType::Result(r) => {
|
2048
|
-
let result = &types.types[*r];
|
2049
|
-
match &result.ok {
|
2050
|
-
Some(ty) => T::typecheck(ty, types)?,
|
2051
|
-
None if T::IS_RUST_UNIT_TYPE => {}
|
2052
|
-
None => bail!("expected no `ok` type"),
|
2053
|
-
}
|
2054
|
-
match &result.err {
|
2055
|
-
Some(ty) => E::typecheck(ty, types)?,
|
2056
|
-
None if E::IS_RUST_UNIT_TYPE => {}
|
2057
|
-
None => bail!("expected no `err` type"),
|
2058
|
-
}
|
2059
|
-
Ok(())
|
2060
|
-
}
|
2061
|
-
other => bail!("expected `result` found `{}`", desc(other)),
|
2062
|
-
}
|
2063
|
-
}
|
2064
|
-
}
|
2065
|
-
|
2066
|
-
/// Lowers the payload of a variant into the storage for the entire payload,
|
2067
|
-
/// handling writing zeros at the end of the representation if this payload is
|
2068
|
-
/// smaller than the entire flat representation.
|
2069
|
-
///
|
2070
|
-
/// * `payload` - the flat storage space for the entire payload of the variant
|
2071
|
-
/// * `typed_payload` - projection from the payload storage space to the
|
2072
|
-
/// individaul storage space for this variant.
|
2073
|
-
/// * `lower` - lowering operation used to initialize the `typed_payload` return
|
2074
|
-
/// value.
|
2075
|
-
///
|
2076
|
-
/// For more information on this se the comments in the `Lower for Result`
|
2077
|
-
/// implementation below.
|
2078
|
-
pub unsafe fn lower_payload<P, T>(
|
2079
|
-
payload: &mut MaybeUninit<P>,
|
2080
|
-
typed_payload: impl FnOnce(&mut MaybeUninit<P>) -> &mut MaybeUninit<T>,
|
2081
|
-
lower: impl FnOnce(&mut MaybeUninit<T>) -> Result<()>,
|
2082
|
-
) -> Result<()> {
|
2083
|
-
let typed = typed_payload(payload);
|
2084
|
-
lower(typed)?;
|
2085
|
-
|
2086
|
-
let typed_len = storage_as_slice(typed).len();
|
2087
|
-
let payload = storage_as_slice_mut(payload);
|
2088
|
-
for slot in payload[typed_len..].iter_mut() {
|
2089
|
-
*slot = ValRaw::u64(0);
|
2090
|
-
}
|
2091
|
-
Ok(())
|
2092
|
-
}
|
2093
|
-
|
2094
|
-
unsafe impl<T, E> ComponentVariant for Result<T, E>
|
2095
|
-
where
|
2096
|
-
T: ComponentType,
|
2097
|
-
E: ComponentType,
|
2098
|
-
{
|
2099
|
-
const CASES: &'static [Option<CanonicalAbiInfo>] = &[Some(T::ABI), Some(E::ABI)];
|
2100
|
-
}
|
2101
|
-
|
2102
|
-
unsafe impl<T, E> Lower for Result<T, E>
|
2103
|
-
where
|
2104
|
-
T: Lower,
|
2105
|
-
E: Lower,
|
2106
|
-
{
|
2107
|
-
fn lower<U>(
|
2108
|
-
&self,
|
2109
|
-
cx: &mut LowerContext<'_, U>,
|
2110
|
-
ty: InterfaceType,
|
2111
|
-
dst: &mut MaybeUninit<Self::Lower>,
|
2112
|
-
) -> Result<()> {
|
2113
|
-
let (ok, err) = match ty {
|
2114
|
-
InterfaceType::Result(ty) => {
|
2115
|
-
let ty = &cx.types[ty];
|
2116
|
-
(ty.ok, ty.err)
|
2117
|
-
}
|
2118
|
-
_ => bad_type_info(),
|
2119
|
-
};
|
2120
|
-
|
2121
|
-
// This implementation of `Lower::lower`, if you're reading these from
|
2122
|
-
// the top of this file, is the first location that the "join" logic of
|
2123
|
-
// the component model's canonical ABI encountered. The rough problem is
|
2124
|
-
// that let's say we have a component model type of the form:
|
2125
|
-
//
|
2126
|
-
// (result u64 (error (tuple f32 u16)))
|
2127
|
-
//
|
2128
|
-
// The flat representation of this is actually pretty tricky. Currently
|
2129
|
-
// it is:
|
2130
|
-
//
|
2131
|
-
// i32 i64 i32
|
2132
|
-
//
|
2133
|
-
// The first `i32` is the discriminant for the `result`, and the payload
|
2134
|
-
// is represented by `i64 i32`. The "ok" variant will only use the `i64`
|
2135
|
-
// and the "err" variant will use both `i64` and `i32`.
|
2136
|
-
//
|
2137
|
-
// In the "ok" variant the first issue is encountered. The size of one
|
2138
|
-
// variant may not match the size of the other variants. All variants
|
2139
|
-
// start at the "front" but when lowering a type we need to be sure to
|
2140
|
-
// initialize the later variants (lest we leak random host memory into
|
2141
|
-
// the guest module). Due to how the `Lower` type is represented as a
|
2142
|
-
// `union` of all the variants what ends up happening here is that
|
2143
|
-
// internally within the `lower_payload` after the typed payload is
|
2144
|
-
// lowered the remaining bits of the payload that weren't initialized
|
2145
|
-
// are all set to zero. This will guarantee that we'll write to all the
|
2146
|
-
// slots for each variant.
|
2147
|
-
//
|
2148
|
-
// The "err" variant encounters the second issue, however, which is that
|
2149
|
-
// the flat representation for each type may differ between payloads. In
|
2150
|
-
// the "ok" arm an `i64` is written, but the `lower` implementation for
|
2151
|
-
// the "err" arm will write an `f32` and then an `i32`. For this
|
2152
|
-
// implementation of `lower` to be valid the `f32` needs to get inflated
|
2153
|
-
// to an `i64` with zero-padding in the upper bits. What may be
|
2154
|
-
// surprising, however, is that none of this is handled in this file.
|
2155
|
-
// This implementation looks like it's blindly deferring to `E::lower`
|
2156
|
-
// and hoping it does the right thing.
|
2157
|
-
//
|
2158
|
-
// In reality, however, the correctness of variant lowering relies on
|
2159
|
-
// two subtle details of the `ValRaw` implementation in Wasmtime:
|
2160
|
-
//
|
2161
|
-
// 1. First the `ValRaw` value always contains little-endian values.
|
2162
|
-
// This means that if a `u32` is written, a `u64` is read, and then
|
2163
|
-
// the `u64` has its upper bits truncated the original value will
|
2164
|
-
// always be retained. This is primarily here for big-endian
|
2165
|
-
// platforms where if it weren't little endian then the opposite
|
2166
|
-
// would occur and the wrong value would be read.
|
2167
|
-
//
|
2168
|
-
// 2. Second, and perhaps even more subtly, the `ValRaw` constructors
|
2169
|
-
// for 32-bit types actually always initialize 64-bits of the
|
2170
|
-
// `ValRaw`. In the component model flat ABI only 32 and 64-bit types
|
2171
|
-
// are used so 64-bits is big enough to contain everything. This
|
2172
|
-
// means that when a `ValRaw` is written into the destination it will
|
2173
|
-
// always, whether it's needed or not, be "ready" to get extended up
|
2174
|
-
// to 64-bits.
|
2175
|
-
//
|
2176
|
-
// Put together these two subtle guarantees means that all `Lower`
|
2177
|
-
// implementations can be written "naturally" as one might naively
|
2178
|
-
// expect. Variants will, on each arm, zero out remaining fields and all
|
2179
|
-
// writes to the flat representation will automatically be 64-bit writes
|
2180
|
-
// meaning that if the value is read as a 64-bit value, which isn't
|
2181
|
-
// known at the time of the write, it'll still be correct.
|
2182
|
-
match self {
|
2183
|
-
Ok(e) => {
|
2184
|
-
map_maybe_uninit!(dst.tag).write(ValRaw::i32(0));
|
2185
|
-
unsafe {
|
2186
|
-
lower_payload(
|
2187
|
-
map_maybe_uninit!(dst.payload),
|
2188
|
-
|payload| map_maybe_uninit!(payload.ok),
|
2189
|
-
|dst| match ok {
|
2190
|
-
Some(ok) => e.lower(cx, ok, dst),
|
2191
|
-
None => Ok(()),
|
2192
|
-
},
|
2193
|
-
)
|
2194
|
-
}
|
2195
|
-
}
|
2196
|
-
Err(e) => {
|
2197
|
-
map_maybe_uninit!(dst.tag).write(ValRaw::i32(1));
|
2198
|
-
unsafe {
|
2199
|
-
lower_payload(
|
2200
|
-
map_maybe_uninit!(dst.payload),
|
2201
|
-
|payload| map_maybe_uninit!(payload.err),
|
2202
|
-
|dst| match err {
|
2203
|
-
Some(err) => e.lower(cx, err, dst),
|
2204
|
-
None => Ok(()),
|
2205
|
-
},
|
2206
|
-
)
|
2207
|
-
}
|
2208
|
-
}
|
2209
|
-
}
|
2210
|
-
}
|
2211
|
-
|
2212
|
-
fn store<U>(
|
2213
|
-
&self,
|
2214
|
-
cx: &mut LowerContext<'_, U>,
|
2215
|
-
ty: InterfaceType,
|
2216
|
-
offset: usize,
|
2217
|
-
) -> Result<()> {
|
2218
|
-
let (ok, err) = match ty {
|
2219
|
-
InterfaceType::Result(ty) => {
|
2220
|
-
let ty = &cx.types[ty];
|
2221
|
-
(ty.ok, ty.err)
|
2222
|
-
}
|
2223
|
-
_ => bad_type_info(),
|
2224
|
-
};
|
2225
|
-
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
2226
|
-
let payload_offset = Self::INFO.payload_offset32 as usize;
|
2227
|
-
match self {
|
2228
|
-
Ok(e) => {
|
2229
|
-
cx.get::<1>(offset)[0] = 0;
|
2230
|
-
if let Some(ok) = ok {
|
2231
|
-
e.store(cx, ok, offset + payload_offset)?;
|
2232
|
-
}
|
2233
|
-
}
|
2234
|
-
Err(e) => {
|
2235
|
-
cx.get::<1>(offset)[0] = 1;
|
2236
|
-
if let Some(err) = err {
|
2237
|
-
e.store(cx, err, offset + payload_offset)?;
|
2238
|
-
}
|
2239
|
-
}
|
2240
|
-
}
|
2241
|
-
Ok(())
|
2242
|
-
}
|
2243
|
-
}
|
2244
|
-
|
2245
|
-
unsafe impl<T, E> Lift for Result<T, E>
|
2246
|
-
where
|
2247
|
-
T: Lift,
|
2248
|
-
E: Lift,
|
2249
|
-
{
|
2250
|
-
#[inline]
|
2251
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
2252
|
-
let (ok, err) = match ty {
|
2253
|
-
InterfaceType::Result(ty) => {
|
2254
|
-
let ty = &cx.types[ty];
|
2255
|
-
(ty.ok, ty.err)
|
2256
|
-
}
|
2257
|
-
_ => bad_type_info(),
|
2258
|
-
};
|
2259
|
-
// Note that this implementation specifically isn't trying to actually
|
2260
|
-
// reinterpret or alter the bits of `lower` depending on which variant
|
2261
|
-
// we're lifting. This ends up all working out because the value is
|
2262
|
-
// stored in little-endian format.
|
2263
|
-
//
|
2264
|
-
// When stored in little-endian format the `{T,E}::Lower`, when each
|
2265
|
-
// individual `ValRaw` is read, means that if an i64 value, extended
|
2266
|
-
// from an i32 value, was stored then when the i32 value is read it'll
|
2267
|
-
// automatically ignore the upper bits.
|
2268
|
-
//
|
2269
|
-
// This "trick" allows us to seamlessly pass through the `Self::Lower`
|
2270
|
-
// representation into the lifting/lowering without trying to handle
|
2271
|
-
// "join"ed types as per the canonical ABI. It just so happens that i64
|
2272
|
-
// bits will naturally be reinterpreted as f64. Additionally if the
|
2273
|
-
// joined type is i64 but only the lower bits are read that's ok and we
|
2274
|
-
// don't need to validate the upper bits.
|
2275
|
-
//
|
2276
|
-
// This is largely enabled by WebAssembly/component-model#35 where no
|
2277
|
-
// validation needs to be performed for ignored bits and bytes here.
|
2278
|
-
Ok(match src.tag.get_i32() {
|
2279
|
-
0 => Ok(unsafe { lift_option(cx, ok, &src.payload.ok)? }),
|
2280
|
-
1 => Err(unsafe { lift_option(cx, err, &src.payload.err)? }),
|
2281
|
-
_ => bail!("invalid expected discriminant"),
|
2282
|
-
})
|
2283
|
-
}
|
2284
|
-
|
2285
|
-
#[inline]
|
2286
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2287
|
-
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2288
|
-
let discrim = bytes[0];
|
2289
|
-
let payload = &bytes[Self::INFO.payload_offset32 as usize..];
|
2290
|
-
let (ok, err) = match ty {
|
2291
|
-
InterfaceType::Result(ty) => {
|
2292
|
-
let ty = &cx.types[ty];
|
2293
|
-
(ty.ok, ty.err)
|
2294
|
-
}
|
2295
|
-
_ => bad_type_info(),
|
2296
|
-
};
|
2297
|
-
match discrim {
|
2298
|
-
0 => Ok(Ok(load_option(cx, ok, &payload[..T::SIZE32])?)),
|
2299
|
-
1 => Ok(Err(load_option(cx, err, &payload[..E::SIZE32])?)),
|
2300
|
-
_ => bail!("invalid expected discriminant"),
|
2301
|
-
}
|
2302
|
-
}
|
2303
|
-
}
|
2304
|
-
|
2305
|
-
fn lift_option<T>(cx: &mut LiftContext<'_>, ty: Option<InterfaceType>, src: &T::Lower) -> Result<T>
|
2306
|
-
where
|
2307
|
-
T: Lift,
|
2308
|
-
{
|
2309
|
-
match ty {
|
2310
|
-
Some(ty) => T::lift(cx, ty, src),
|
2311
|
-
None => Ok(empty_lift()),
|
2312
|
-
}
|
2313
|
-
}
|
2314
|
-
|
2315
|
-
fn load_option<T>(cx: &mut LiftContext<'_>, ty: Option<InterfaceType>, bytes: &[u8]) -> Result<T>
|
2316
|
-
where
|
2317
|
-
T: Lift,
|
2318
|
-
{
|
2319
|
-
match ty {
|
2320
|
-
Some(ty) => T::load(cx, ty, bytes),
|
2321
|
-
None => Ok(empty_lift()),
|
2322
|
-
}
|
2323
|
-
}
|
2324
|
-
|
2325
|
-
fn empty_lift<T>() -> T
|
2326
|
-
where
|
2327
|
-
T: Lift,
|
2328
|
-
{
|
2329
|
-
assert!(T::IS_RUST_UNIT_TYPE);
|
2330
|
-
assert_eq!(mem::size_of::<T>(), 0);
|
2331
|
-
unsafe { MaybeUninit::uninit().assume_init() }
|
2332
|
-
}
|
2333
|
-
|
2334
|
-
macro_rules! impl_component_ty_for_tuples {
|
2335
|
-
($n:tt $($t:ident)*) => {paste::paste!{
|
2336
|
-
#[allow(non_snake_case)]
|
2337
|
-
#[doc(hidden)]
|
2338
|
-
#[derive(Clone, Copy)]
|
2339
|
-
#[repr(C)]
|
2340
|
-
pub struct [<TupleLower$n>]<$($t),*> {
|
2341
|
-
$($t: $t,)*
|
2342
|
-
_align_tuple_lower0_correctly: [ValRaw; 0],
|
2343
|
-
}
|
2344
|
-
|
2345
|
-
#[allow(non_snake_case)]
|
2346
|
-
unsafe impl<$($t,)*> ComponentType for ($($t,)*)
|
2347
|
-
where $($t: ComponentType),*
|
2348
|
-
{
|
2349
|
-
type Lower = [<TupleLower$n>]<$($t::Lower),*>;
|
2350
|
-
|
2351
|
-
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::record_static(&[
|
2352
|
-
$($t::ABI),*
|
2353
|
-
]);
|
2354
|
-
|
2355
|
-
const IS_RUST_UNIT_TYPE: bool = {
|
2356
|
-
let mut _is_unit = true;
|
2357
|
-
$(
|
2358
|
-
let _anything_to_bind_the_macro_variable = $t::IS_RUST_UNIT_TYPE;
|
2359
|
-
_is_unit = false;
|
2360
|
-
)*
|
2361
|
-
_is_unit
|
2362
|
-
};
|
2363
|
-
|
2364
|
-
fn typecheck(
|
2365
|
-
ty: &InterfaceType,
|
2366
|
-
types: &InstanceType<'_>,
|
2367
|
-
) -> Result<()> {
|
2368
|
-
typecheck_tuple(ty, types, &[$($t::typecheck),*])
|
2369
|
-
}
|
2370
|
-
}
|
2371
|
-
|
2372
|
-
#[allow(non_snake_case)]
|
2373
|
-
unsafe impl<$($t,)*> Lower for ($($t,)*)
|
2374
|
-
where $($t: Lower),*
|
2375
|
-
{
|
2376
|
-
fn lower<U>(
|
2377
|
-
&self,
|
2378
|
-
cx: &mut LowerContext<'_, U>,
|
2379
|
-
ty: InterfaceType,
|
2380
|
-
_dst: &mut MaybeUninit<Self::Lower>,
|
2381
|
-
) -> Result<()> {
|
2382
|
-
let types = match ty {
|
2383
|
-
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2384
|
-
_ => bad_type_info(),
|
2385
|
-
};
|
2386
|
-
let ($($t,)*) = self;
|
2387
|
-
let mut _types = types.iter();
|
2388
|
-
$(
|
2389
|
-
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2390
|
-
$t.lower(cx, ty, map_maybe_uninit!(_dst.$t))?;
|
2391
|
-
)*
|
2392
|
-
Ok(())
|
2393
|
-
}
|
2394
|
-
|
2395
|
-
fn store<U>(
|
2396
|
-
&self,
|
2397
|
-
cx: &mut LowerContext<'_, U>,
|
2398
|
-
ty: InterfaceType,
|
2399
|
-
mut _offset: usize,
|
2400
|
-
) -> Result<()> {
|
2401
|
-
debug_assert!(_offset % (Self::ALIGN32 as usize) == 0);
|
2402
|
-
let types = match ty {
|
2403
|
-
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2404
|
-
_ => bad_type_info(),
|
2405
|
-
};
|
2406
|
-
let ($($t,)*) = self;
|
2407
|
-
let mut _types = types.iter();
|
2408
|
-
$(
|
2409
|
-
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2410
|
-
$t.store(cx, ty, $t::ABI.next_field32_size(&mut _offset))?;
|
2411
|
-
)*
|
2412
|
-
Ok(())
|
2413
|
-
}
|
2414
|
-
}
|
2415
|
-
|
2416
|
-
#[allow(non_snake_case)]
|
2417
|
-
unsafe impl<$($t,)*> Lift for ($($t,)*)
|
2418
|
-
where $($t: Lift),*
|
2419
|
-
{
|
2420
|
-
#[inline]
|
2421
|
-
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, _src: &Self::Lower) -> Result<Self> {
|
2422
|
-
let types = match ty {
|
2423
|
-
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2424
|
-
_ => bad_type_info(),
|
2425
|
-
};
|
2426
|
-
let mut _types = types.iter();
|
2427
|
-
Ok(($(
|
2428
|
-
$t::lift(
|
2429
|
-
cx,
|
2430
|
-
*_types.next().unwrap_or_else(bad_type_info),
|
2431
|
-
&_src.$t,
|
2432
|
-
)?,
|
2433
|
-
)*))
|
2434
|
-
}
|
2435
|
-
|
2436
|
-
#[inline]
|
2437
|
-
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2438
|
-
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2439
|
-
let types = match ty {
|
2440
|
-
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2441
|
-
_ => bad_type_info(),
|
2442
|
-
};
|
2443
|
-
let mut _types = types.iter();
|
2444
|
-
let mut _offset = 0;
|
2445
|
-
$(
|
2446
|
-
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2447
|
-
let $t = $t::load(cx, ty, &bytes[$t::ABI.next_field32_size(&mut _offset)..][..$t::SIZE32])?;
|
2448
|
-
)*
|
2449
|
-
Ok(($($t,)*))
|
2450
|
-
}
|
2451
|
-
}
|
2452
|
-
|
2453
|
-
#[allow(non_snake_case)]
|
2454
|
-
unsafe impl<$($t,)*> ComponentNamedList for ($($t,)*)
|
2455
|
-
where $($t: ComponentType),*
|
2456
|
-
{}
|
2457
|
-
}};
|
2458
|
-
}
|
2459
|
-
|
2460
|
-
for_each_function_signature!(impl_component_ty_for_tuples);
|
2461
|
-
|
2462
|
-
pub fn desc(ty: &InterfaceType) -> &'static str {
|
2463
|
-
match ty {
|
2464
|
-
InterfaceType::U8 => "u8",
|
2465
|
-
InterfaceType::S8 => "s8",
|
2466
|
-
InterfaceType::U16 => "u16",
|
2467
|
-
InterfaceType::S16 => "s16",
|
2468
|
-
InterfaceType::U32 => "u32",
|
2469
|
-
InterfaceType::S32 => "s32",
|
2470
|
-
InterfaceType::U64 => "u64",
|
2471
|
-
InterfaceType::S64 => "s64",
|
2472
|
-
InterfaceType::Float32 => "f32",
|
2473
|
-
InterfaceType::Float64 => "f64",
|
2474
|
-
InterfaceType::Bool => "bool",
|
2475
|
-
InterfaceType::Char => "char",
|
2476
|
-
InterfaceType::String => "string",
|
2477
|
-
InterfaceType::List(_) => "list",
|
2478
|
-
InterfaceType::Tuple(_) => "tuple",
|
2479
|
-
InterfaceType::Option(_) => "option",
|
2480
|
-
InterfaceType::Result(_) => "result",
|
2481
|
-
|
2482
|
-
InterfaceType::Record(_) => "record",
|
2483
|
-
InterfaceType::Variant(_) => "variant",
|
2484
|
-
InterfaceType::Flags(_) => "flags",
|
2485
|
-
InterfaceType::Enum(_) => "enum",
|
2486
|
-
InterfaceType::Own(_) => "owned resource",
|
2487
|
-
InterfaceType::Borrow(_) => "borrowed resource",
|
2488
|
-
}
|
2489
|
-
}
|
2490
|
-
|
2491
|
-
#[cold]
|
2492
|
-
#[doc(hidden)]
|
2493
|
-
pub fn bad_type_info<T>() -> T {
|
2494
|
-
// NB: should consider something like `unreachable_unchecked` here if this
|
2495
|
-
// becomes a performance bottleneck at some point, but that also comes with
|
2496
|
-
// a tradeoff of propagating a lot of unsafety, so it may not be worth it.
|
2497
|
-
panic!("bad type information detected");
|
2498
|
-
}
|