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,2541 +0,0 @@
|
|
1
|
-
use crate::rust::{to_rust_ident, to_rust_upper_camel_case, RustGenerator, TypeMode};
|
2
|
-
use crate::types::{TypeInfo, Types};
|
3
|
-
use anyhow::{bail, Context};
|
4
|
-
use heck::*;
|
5
|
-
use indexmap::{IndexMap, IndexSet};
|
6
|
-
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
|
7
|
-
use std::fmt::Write as _;
|
8
|
-
use std::io::{Read, Write};
|
9
|
-
use std::mem;
|
10
|
-
use std::process::{Command, Stdio};
|
11
|
-
use wit_parser::*;
|
12
|
-
|
13
|
-
macro_rules! uwrite {
|
14
|
-
($dst:expr, $($arg:tt)*) => {
|
15
|
-
write!($dst, $($arg)*).unwrap()
|
16
|
-
};
|
17
|
-
}
|
18
|
-
|
19
|
-
macro_rules! uwriteln {
|
20
|
-
($dst:expr, $($arg:tt)*) => {
|
21
|
-
writeln!($dst, $($arg)*).unwrap()
|
22
|
-
};
|
23
|
-
}
|
24
|
-
|
25
|
-
mod rust;
|
26
|
-
mod source;
|
27
|
-
mod types;
|
28
|
-
use source::Source;
|
29
|
-
|
30
|
-
#[derive(Clone)]
|
31
|
-
enum InterfaceName {
|
32
|
-
/// This interface was remapped using `with` to some other Rust code.
|
33
|
-
Remapped {
|
34
|
-
name_at_root: String,
|
35
|
-
local_path: Vec<String>,
|
36
|
-
},
|
37
|
-
/// This interface is generated in the module hierarchy specified.
|
38
|
-
Path(Vec<String>),
|
39
|
-
}
|
40
|
-
|
41
|
-
#[derive(Default)]
|
42
|
-
struct Wasmtime {
|
43
|
-
src: Source,
|
44
|
-
opts: Opts,
|
45
|
-
import_interfaces: Vec<(String, InterfaceName)>,
|
46
|
-
import_functions: Vec<ImportFunction>,
|
47
|
-
exports: Exports,
|
48
|
-
types: Types,
|
49
|
-
sizes: SizeAlign,
|
50
|
-
interface_names: HashMap<InterfaceId, InterfaceName>,
|
51
|
-
interface_last_seen_as_import: HashMap<InterfaceId, bool>,
|
52
|
-
trappable_errors: IndexMap<TypeId, String>,
|
53
|
-
// Track the with options that were used. Remapped interfaces provided via `with`
|
54
|
-
// are required to be used.
|
55
|
-
used_with_opts: HashSet<String>,
|
56
|
-
}
|
57
|
-
|
58
|
-
struct ImportFunction {
|
59
|
-
func: Function,
|
60
|
-
add_to_linker: String,
|
61
|
-
sig: Option<String>,
|
62
|
-
}
|
63
|
-
|
64
|
-
#[derive(Default)]
|
65
|
-
struct Exports {
|
66
|
-
fields: BTreeMap<String, (String, String)>,
|
67
|
-
modules: Vec<(String, InterfaceName)>,
|
68
|
-
funcs: Vec<String>,
|
69
|
-
}
|
70
|
-
|
71
|
-
#[derive(Default, Debug, Clone, Copy)]
|
72
|
-
pub enum Ownership {
|
73
|
-
/// Generated types will be composed entirely of owning fields, regardless
|
74
|
-
/// of whether they are used as parameters to guest exports or not.
|
75
|
-
#[default]
|
76
|
-
Owning,
|
77
|
-
|
78
|
-
/// Generated types used as parameters to guest exports will be "deeply
|
79
|
-
/// borrowing", i.e. contain references rather than owned values when
|
80
|
-
/// applicable.
|
81
|
-
Borrowing {
|
82
|
-
/// Whether or not to generate "duplicate" type definitions for a single
|
83
|
-
/// WIT type if necessary, for example if it's used as both an import
|
84
|
-
/// and an export, or if it's used both as a parameter to an export and
|
85
|
-
/// a return value from an export.
|
86
|
-
duplicate_if_necessary: bool,
|
87
|
-
},
|
88
|
-
}
|
89
|
-
|
90
|
-
#[derive(Default, Debug, Clone)]
|
91
|
-
pub struct Opts {
|
92
|
-
/// Whether or not `rustfmt` is executed to format generated code.
|
93
|
-
pub rustfmt: bool,
|
94
|
-
|
95
|
-
/// Whether or not to emit `tracing` macro calls on function entry/exit.
|
96
|
-
pub tracing: bool,
|
97
|
-
|
98
|
-
/// Whether or not to use async rust functions and traits.
|
99
|
-
pub async_: AsyncConfig,
|
100
|
-
|
101
|
-
/// A list of "trappable errors" which are used to replace the `E` in
|
102
|
-
/// `result<T, E>` found in WIT.
|
103
|
-
pub trappable_error_type: Vec<TrappableError>,
|
104
|
-
|
105
|
-
/// Whether to generate owning or borrowing type definitions.
|
106
|
-
pub ownership: Ownership,
|
107
|
-
|
108
|
-
/// Whether or not to generate code for only the interfaces of this wit file or not.
|
109
|
-
pub only_interfaces: bool,
|
110
|
-
|
111
|
-
/// Configuration of which imports are allowed to generate a trap.
|
112
|
-
pub trappable_imports: TrappableImports,
|
113
|
-
|
114
|
-
/// Remapping of interface names to rust module names.
|
115
|
-
/// TODO: is there a better type to use for the value of this map?
|
116
|
-
pub with: HashMap<String, String>,
|
117
|
-
|
118
|
-
/// Additional derive attributes to add to generated types. If using in a CLI, this flag can be
|
119
|
-
/// specified multiple times to add multiple attributes.
|
120
|
-
///
|
121
|
-
/// These derive attributes will be added to any generated structs or enums
|
122
|
-
pub additional_derive_attributes: Vec<String>,
|
123
|
-
|
124
|
-
/// Temporary option to skip `impl<T: Trait> Trait for &mut T` for the
|
125
|
-
/// `wasmtime-wasi` crate while that's given a chance to update its b
|
126
|
-
/// indings.
|
127
|
-
pub skip_mut_forwarding_impls: bool,
|
128
|
-
}
|
129
|
-
|
130
|
-
#[derive(Debug, Clone)]
|
131
|
-
pub struct TrappableError {
|
132
|
-
/// Full path to the error, such as `wasi:io/streams/error`.
|
133
|
-
pub wit_path: String,
|
134
|
-
|
135
|
-
/// The name, in Rust, of the error type to generate.
|
136
|
-
pub rust_type_name: String,
|
137
|
-
}
|
138
|
-
|
139
|
-
#[derive(Default, Debug, Clone)]
|
140
|
-
pub enum AsyncConfig {
|
141
|
-
/// No functions are `async`.
|
142
|
-
#[default]
|
143
|
-
None,
|
144
|
-
/// All generated functions should be `async`.
|
145
|
-
All,
|
146
|
-
/// These imported functions should not be async, but everything else is.
|
147
|
-
AllExceptImports(HashSet<String>),
|
148
|
-
/// These functions are the only imports that are async, all other imports
|
149
|
-
/// are sync.
|
150
|
-
///
|
151
|
-
/// Note that all exports are still async in this situation.
|
152
|
-
OnlyImports(HashSet<String>),
|
153
|
-
}
|
154
|
-
|
155
|
-
impl AsyncConfig {
|
156
|
-
pub fn is_import_async(&self, f: &str) -> bool {
|
157
|
-
match self {
|
158
|
-
AsyncConfig::None => false,
|
159
|
-
AsyncConfig::All => true,
|
160
|
-
AsyncConfig::AllExceptImports(set) => !set.contains(f),
|
161
|
-
AsyncConfig::OnlyImports(set) => set.contains(f),
|
162
|
-
}
|
163
|
-
}
|
164
|
-
|
165
|
-
pub fn maybe_async(&self) -> bool {
|
166
|
-
match self {
|
167
|
-
AsyncConfig::None => false,
|
168
|
-
AsyncConfig::All | AsyncConfig::AllExceptImports(_) | AsyncConfig::OnlyImports(_) => {
|
169
|
-
true
|
170
|
-
}
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
#[derive(Default, Debug, Clone)]
|
176
|
-
pub enum TrappableImports {
|
177
|
-
/// No imports are allowed to trap.
|
178
|
-
#[default]
|
179
|
-
None,
|
180
|
-
/// All imports may trap.
|
181
|
-
All,
|
182
|
-
/// Only the specified set of functions may trap.
|
183
|
-
Only(HashSet<String>),
|
184
|
-
}
|
185
|
-
|
186
|
-
impl TrappableImports {
|
187
|
-
fn can_trap(&self, f: &Function) -> bool {
|
188
|
-
match self {
|
189
|
-
TrappableImports::None => false,
|
190
|
-
TrappableImports::All => true,
|
191
|
-
TrappableImports::Only(set) => set.contains(&f.name),
|
192
|
-
}
|
193
|
-
}
|
194
|
-
}
|
195
|
-
|
196
|
-
impl Opts {
|
197
|
-
pub fn generate(&self, resolve: &Resolve, world: WorldId) -> anyhow::Result<String> {
|
198
|
-
let mut r = Wasmtime::default();
|
199
|
-
r.sizes.fill(resolve);
|
200
|
-
r.opts = self.clone();
|
201
|
-
r.generate(resolve, world)
|
202
|
-
}
|
203
|
-
}
|
204
|
-
|
205
|
-
impl Wasmtime {
|
206
|
-
fn name_interface(
|
207
|
-
&mut self,
|
208
|
-
resolve: &Resolve,
|
209
|
-
id: InterfaceId,
|
210
|
-
name: &WorldKey,
|
211
|
-
is_export: bool,
|
212
|
-
) -> bool {
|
213
|
-
let mut path = Vec::new();
|
214
|
-
if is_export {
|
215
|
-
path.push("exports".to_string());
|
216
|
-
}
|
217
|
-
match name {
|
218
|
-
WorldKey::Name(name) => {
|
219
|
-
path.push(name.to_snake_case());
|
220
|
-
}
|
221
|
-
WorldKey::Interface(_) => {
|
222
|
-
let iface = &resolve.interfaces[id];
|
223
|
-
let pkgname = &resolve.packages[iface.package.unwrap()].name;
|
224
|
-
path.push(pkgname.namespace.to_snake_case());
|
225
|
-
path.push(self.name_package_module(resolve, iface.package.unwrap()));
|
226
|
-
path.push(to_rust_ident(iface.name.as_ref().unwrap()));
|
227
|
-
}
|
228
|
-
}
|
229
|
-
let entry = if let Some(name_at_root) = self.lookup_replacement(resolve, name, None) {
|
230
|
-
InterfaceName::Remapped {
|
231
|
-
name_at_root,
|
232
|
-
local_path: path,
|
233
|
-
}
|
234
|
-
} else {
|
235
|
-
InterfaceName::Path(path)
|
236
|
-
};
|
237
|
-
|
238
|
-
let remapped = matches!(entry, InterfaceName::Remapped { .. });
|
239
|
-
self.interface_names.insert(id, entry);
|
240
|
-
remapped
|
241
|
-
}
|
242
|
-
|
243
|
-
/// If the package `id` is the only package with its namespace/name combo
|
244
|
-
/// then pass through the name unmodified. If, however, there are multiple
|
245
|
-
/// versions of this package then the package module is going to get version
|
246
|
-
/// information.
|
247
|
-
fn name_package_module(&self, resolve: &Resolve, id: PackageId) -> String {
|
248
|
-
let pkg = &resolve.packages[id];
|
249
|
-
let versions_with_same_name = resolve
|
250
|
-
.packages
|
251
|
-
.iter()
|
252
|
-
.filter_map(|(_, p)| {
|
253
|
-
if p.name.namespace == pkg.name.namespace && p.name.name == pkg.name.name {
|
254
|
-
Some(&p.name.version)
|
255
|
-
} else {
|
256
|
-
None
|
257
|
-
}
|
258
|
-
})
|
259
|
-
.collect::<Vec<_>>();
|
260
|
-
let base = pkg.name.name.to_snake_case();
|
261
|
-
if versions_with_same_name.len() == 1 {
|
262
|
-
return base;
|
263
|
-
}
|
264
|
-
|
265
|
-
let version = match &pkg.name.version {
|
266
|
-
Some(version) => version,
|
267
|
-
// If this package didn't have a version then don't mangle its name
|
268
|
-
// and other packages with the same name but with versions present
|
269
|
-
// will have their names mangled.
|
270
|
-
None => return base,
|
271
|
-
};
|
272
|
-
|
273
|
-
// Here there's multiple packages with the same name that differ only in
|
274
|
-
// version, so the version needs to be mangled into the Rust module name
|
275
|
-
// that we're generating. This in theory could look at all of
|
276
|
-
// `versions_with_same_name` and produce a minimal diff, e.g. for 0.1.0
|
277
|
-
// and 0.2.0 this could generate "foo1" and "foo2", but for now
|
278
|
-
// a simpler path is chosen to generate "foo0_1_0" and "foo0_2_0".
|
279
|
-
let version = version
|
280
|
-
.to_string()
|
281
|
-
.replace('.', "_")
|
282
|
-
.replace('-', "_")
|
283
|
-
.replace('+', "_")
|
284
|
-
.to_snake_case();
|
285
|
-
format!("{base}{version}")
|
286
|
-
}
|
287
|
-
|
288
|
-
fn generate(&mut self, resolve: &Resolve, id: WorldId) -> anyhow::Result<String> {
|
289
|
-
self.types.analyze(resolve, id);
|
290
|
-
for (i, te) in self.opts.trappable_error_type.iter().enumerate() {
|
291
|
-
let id = resolve_type_in_package(resolve, &te.wit_path)
|
292
|
-
.context(format!("resolving {:?}", te))
|
293
|
-
.unwrap();
|
294
|
-
let name = format!("_TrappableError{i}");
|
295
|
-
uwriteln!(self.src, "type {name} = {};", te.rust_type_name);
|
296
|
-
let prev = self.trappable_errors.insert(id, name);
|
297
|
-
assert!(prev.is_none());
|
298
|
-
}
|
299
|
-
|
300
|
-
// Convert all entries in `with` as relative to the root of where the
|
301
|
-
// macro itself is invoked. This emits a `pub use` to bring the name
|
302
|
-
// into scope under an "anonymous name" which then replaces the `with`
|
303
|
-
// map entry.
|
304
|
-
let mut with = self.opts.with.iter_mut().collect::<Vec<_>>();
|
305
|
-
with.sort();
|
306
|
-
for (i, (_k, v)) in with.into_iter().enumerate() {
|
307
|
-
let name = format!("__with_name{i}");
|
308
|
-
uwriteln!(self.src, "#[doc(hidden)]\npub use {v} as {name};");
|
309
|
-
*v = name;
|
310
|
-
}
|
311
|
-
|
312
|
-
let world = &resolve.worlds[id];
|
313
|
-
for (name, import) in world.imports.iter() {
|
314
|
-
if !self.opts.only_interfaces || matches!(import, WorldItem::Interface(_)) {
|
315
|
-
self.import(resolve, id, name, import);
|
316
|
-
}
|
317
|
-
}
|
318
|
-
|
319
|
-
for (name, export) in world.exports.iter() {
|
320
|
-
if !self.opts.only_interfaces || matches!(export, WorldItem::Interface(_)) {
|
321
|
-
self.export(resolve, name, export);
|
322
|
-
}
|
323
|
-
}
|
324
|
-
self.finish(resolve, id)
|
325
|
-
}
|
326
|
-
|
327
|
-
fn import(&mut self, resolve: &Resolve, world: WorldId, name: &WorldKey, item: &WorldItem) {
|
328
|
-
let mut gen = InterfaceGenerator::new(self, resolve);
|
329
|
-
match item {
|
330
|
-
WorldItem::Function(func) => {
|
331
|
-
// Only generate a trait signature for free functions since
|
332
|
-
// resource-related functions get their trait signatures
|
333
|
-
// during `type_resource`.
|
334
|
-
let sig = if let FunctionKind::Freestanding = func.kind {
|
335
|
-
gen.generate_function_trait_sig(func);
|
336
|
-
Some(mem::take(&mut gen.src).into())
|
337
|
-
} else {
|
338
|
-
None
|
339
|
-
};
|
340
|
-
gen.generate_add_function_to_linker(TypeOwner::World(world), func, "linker");
|
341
|
-
let add_to_linker = gen.src.into();
|
342
|
-
self.import_functions.push(ImportFunction {
|
343
|
-
func: func.clone(),
|
344
|
-
sig,
|
345
|
-
add_to_linker,
|
346
|
-
});
|
347
|
-
}
|
348
|
-
WorldItem::Interface(id) => {
|
349
|
-
gen.gen.interface_last_seen_as_import.insert(*id, true);
|
350
|
-
if gen.gen.name_interface(resolve, *id, name, false) {
|
351
|
-
return;
|
352
|
-
}
|
353
|
-
gen.current_interface = Some((*id, name, false));
|
354
|
-
gen.types(*id);
|
355
|
-
let key_name = resolve.name_world_key(name);
|
356
|
-
|
357
|
-
gen.generate_add_to_linker(*id, &key_name);
|
358
|
-
|
359
|
-
let module = &gen.src[..];
|
360
|
-
|
361
|
-
let snake = match name {
|
362
|
-
WorldKey::Name(s) => s.to_snake_case(),
|
363
|
-
WorldKey::Interface(id) => resolve.interfaces[*id]
|
364
|
-
.name
|
365
|
-
.as_ref()
|
366
|
-
.unwrap()
|
367
|
-
.to_snake_case(),
|
368
|
-
};
|
369
|
-
let module = format!(
|
370
|
-
"
|
371
|
-
#[allow(clippy::all)]
|
372
|
-
pub mod {snake} {{
|
373
|
-
#[allow(unused_imports)]
|
374
|
-
use wasmtime::component::__internal::anyhow;
|
375
|
-
|
376
|
-
{module}
|
377
|
-
}}
|
378
|
-
"
|
379
|
-
);
|
380
|
-
self.import_interfaces
|
381
|
-
.push((module, self.interface_names[id].clone()));
|
382
|
-
}
|
383
|
-
WorldItem::Type(ty) => {
|
384
|
-
let name = match name {
|
385
|
-
WorldKey::Name(name) => name,
|
386
|
-
WorldKey::Interface(_) => unreachable!(),
|
387
|
-
};
|
388
|
-
gen.define_type(name, *ty);
|
389
|
-
let body = mem::take(&mut gen.src);
|
390
|
-
self.src.push_str(&body);
|
391
|
-
}
|
392
|
-
};
|
393
|
-
}
|
394
|
-
|
395
|
-
fn export(&mut self, resolve: &Resolve, name: &WorldKey, item: &WorldItem) {
|
396
|
-
let mut gen = InterfaceGenerator::new(self, resolve);
|
397
|
-
let (field, ty, getter) = match item {
|
398
|
-
WorldItem::Function(func) => {
|
399
|
-
gen.define_rust_guest_export(resolve, None, func);
|
400
|
-
let body = mem::take(&mut gen.src).into();
|
401
|
-
let (_name, getter) = gen.extract_typed_function(func);
|
402
|
-
assert!(gen.src.is_empty());
|
403
|
-
self.exports.funcs.push(body);
|
404
|
-
(
|
405
|
-
func_field_name(resolve, func),
|
406
|
-
"wasmtime::component::Func".to_string(),
|
407
|
-
getter,
|
408
|
-
)
|
409
|
-
}
|
410
|
-
WorldItem::Type(_) => unreachable!(),
|
411
|
-
WorldItem::Interface(id) => {
|
412
|
-
gen.gen.interface_last_seen_as_import.insert(*id, false);
|
413
|
-
gen.gen.name_interface(resolve, *id, name, true);
|
414
|
-
gen.current_interface = Some((*id, name, true));
|
415
|
-
gen.types(*id);
|
416
|
-
let struct_name = "Guest";
|
417
|
-
let iface = &resolve.interfaces[*id];
|
418
|
-
let iface_name = match name {
|
419
|
-
WorldKey::Name(name) => name,
|
420
|
-
WorldKey::Interface(_) => iface.name.as_ref().unwrap(),
|
421
|
-
};
|
422
|
-
uwriteln!(gen.src, "pub struct {struct_name} {{");
|
423
|
-
for (_, func) in iface.functions.iter() {
|
424
|
-
uwriteln!(
|
425
|
-
gen.src,
|
426
|
-
"{}: wasmtime::component::Func,",
|
427
|
-
func_field_name(resolve, func)
|
428
|
-
);
|
429
|
-
}
|
430
|
-
uwriteln!(gen.src, "}}");
|
431
|
-
|
432
|
-
uwriteln!(gen.src, "impl {struct_name} {{");
|
433
|
-
uwrite!(
|
434
|
-
gen.src,
|
435
|
-
"
|
436
|
-
pub fn new(
|
437
|
-
__exports: &mut wasmtime::component::ExportInstance<'_, '_>,
|
438
|
-
) -> wasmtime::Result<{struct_name}> {{
|
439
|
-
"
|
440
|
-
);
|
441
|
-
let mut fields = Vec::new();
|
442
|
-
for (_, func) in iface.functions.iter() {
|
443
|
-
let (name, getter) = gen.extract_typed_function(func);
|
444
|
-
uwriteln!(gen.src, "let {name} = {getter};");
|
445
|
-
fields.push(name);
|
446
|
-
}
|
447
|
-
uwriteln!(gen.src, "Ok({struct_name} {{");
|
448
|
-
for name in fields {
|
449
|
-
uwriteln!(gen.src, "{name},");
|
450
|
-
}
|
451
|
-
uwriteln!(gen.src, "}})");
|
452
|
-
uwriteln!(gen.src, "}}");
|
453
|
-
|
454
|
-
let mut resource_methods = IndexMap::new();
|
455
|
-
|
456
|
-
for (_, func) in iface.functions.iter() {
|
457
|
-
match func.kind {
|
458
|
-
FunctionKind::Freestanding => {
|
459
|
-
gen.define_rust_guest_export(resolve, Some(name), func);
|
460
|
-
}
|
461
|
-
FunctionKind::Method(id)
|
462
|
-
| FunctionKind::Constructor(id)
|
463
|
-
| FunctionKind::Static(id) => {
|
464
|
-
resource_methods.entry(id).or_insert(Vec::new()).push(func);
|
465
|
-
}
|
466
|
-
}
|
467
|
-
}
|
468
|
-
|
469
|
-
for (id, _) in resource_methods.iter() {
|
470
|
-
let name = resolve.types[*id].name.as_ref().unwrap();
|
471
|
-
let snake = name.to_snake_case();
|
472
|
-
let camel = name.to_upper_camel_case();
|
473
|
-
uwriteln!(
|
474
|
-
gen.src,
|
475
|
-
"pub fn {snake}(&self) -> Guest{camel}<'_> {{
|
476
|
-
Guest{camel} {{ funcs: self }}
|
477
|
-
}}"
|
478
|
-
);
|
479
|
-
}
|
480
|
-
|
481
|
-
uwriteln!(gen.src, "}}");
|
482
|
-
|
483
|
-
for (id, methods) in resource_methods {
|
484
|
-
let resource_name = resolve.types[id].name.as_ref().unwrap();
|
485
|
-
let camel = resource_name.to_upper_camel_case();
|
486
|
-
uwriteln!(gen.src, "impl Guest{camel}<'_> {{");
|
487
|
-
for method in methods {
|
488
|
-
gen.define_rust_guest_export(resolve, Some(name), method);
|
489
|
-
}
|
490
|
-
uwriteln!(gen.src, "}}");
|
491
|
-
}
|
492
|
-
|
493
|
-
let module = &gen.src[..];
|
494
|
-
let snake = to_rust_ident(iface_name);
|
495
|
-
|
496
|
-
let module = format!(
|
497
|
-
"
|
498
|
-
#[allow(clippy::all)]
|
499
|
-
pub mod {snake} {{
|
500
|
-
#[allow(unused_imports)]
|
501
|
-
use wasmtime::component::__internal::anyhow;
|
502
|
-
|
503
|
-
{module}
|
504
|
-
}}
|
505
|
-
"
|
506
|
-
);
|
507
|
-
let pkgname = match name {
|
508
|
-
WorldKey::Name(_) => None,
|
509
|
-
WorldKey::Interface(_) => {
|
510
|
-
Some(resolve.packages[iface.package.unwrap()].name.clone())
|
511
|
-
}
|
512
|
-
};
|
513
|
-
self.exports
|
514
|
-
.modules
|
515
|
-
.push((module, self.interface_names[id].clone()));
|
516
|
-
|
517
|
-
let name = resolve.name_world_key(name);
|
518
|
-
let (path, method_name) = match pkgname {
|
519
|
-
Some(pkgname) => (
|
520
|
-
format!(
|
521
|
-
"exports::{}::{}::{snake}::{struct_name}",
|
522
|
-
pkgname.namespace.to_snake_case(),
|
523
|
-
self.name_package_module(resolve, iface.package.unwrap()),
|
524
|
-
),
|
525
|
-
format!(
|
526
|
-
"{}_{}_{snake}",
|
527
|
-
pkgname.namespace.to_snake_case(),
|
528
|
-
self.name_package_module(resolve, iface.package.unwrap())
|
529
|
-
),
|
530
|
-
),
|
531
|
-
None => (format!("exports::{snake}::{struct_name}"), snake.clone()),
|
532
|
-
};
|
533
|
-
let getter = format!(
|
534
|
-
"\
|
535
|
-
{path}::new(
|
536
|
-
&mut __exports.instance(\"{name}\")
|
537
|
-
.ok_or_else(|| anyhow::anyhow!(\"exported instance `{name}` not present\"))?
|
538
|
-
)?\
|
539
|
-
"
|
540
|
-
);
|
541
|
-
let field = format!("interface{}", self.exports.fields.len());
|
542
|
-
self.exports.funcs.push(format!(
|
543
|
-
"
|
544
|
-
pub fn {method_name}(&self) -> &{path} {{
|
545
|
-
&self.{field}
|
546
|
-
}}
|
547
|
-
",
|
548
|
-
));
|
549
|
-
(field, path, getter)
|
550
|
-
}
|
551
|
-
};
|
552
|
-
let prev = self.exports.fields.insert(field, (ty, getter));
|
553
|
-
assert!(prev.is_none());
|
554
|
-
}
|
555
|
-
|
556
|
-
fn build_world_struct(&mut self, resolve: &Resolve, world: WorldId) {
|
557
|
-
let camel = to_rust_upper_camel_case(&resolve.worlds[world].name);
|
558
|
-
uwriteln!(self.src, "pub struct {camel} {{");
|
559
|
-
for (name, (ty, _)) in self.exports.fields.iter() {
|
560
|
-
uwriteln!(self.src, "{name}: {ty},");
|
561
|
-
}
|
562
|
-
self.src.push_str("}\n");
|
563
|
-
|
564
|
-
self.world_imports_trait(resolve, world);
|
565
|
-
|
566
|
-
uwriteln!(self.src, "const _: () = {{");
|
567
|
-
uwriteln!(
|
568
|
-
self.src,
|
569
|
-
"
|
570
|
-
#[allow(unused_imports)]
|
571
|
-
use wasmtime::component::__internal::anyhow;
|
572
|
-
"
|
573
|
-
);
|
574
|
-
|
575
|
-
uwriteln!(self.src, "impl {camel} {{");
|
576
|
-
self.world_add_to_linker(resolve, world);
|
577
|
-
|
578
|
-
let (async_, async__, send, await_) = if self.opts.async_.maybe_async() {
|
579
|
-
("async", "_async", ":Send", ".await")
|
580
|
-
} else {
|
581
|
-
("", "", "", "")
|
582
|
-
};
|
583
|
-
uwriteln!(
|
584
|
-
self.src,
|
585
|
-
"
|
586
|
-
/// Instantiates the provided `module` using the specified
|
587
|
-
/// parameters, wrapping up the result in a structure that
|
588
|
-
/// translates between wasm and the host.
|
589
|
-
pub {async_} fn instantiate{async__}<T {send}>(
|
590
|
-
mut store: impl wasmtime::AsContextMut<Data = T>,
|
591
|
-
component: &wasmtime::component::Component,
|
592
|
-
linker: &wasmtime::component::Linker<T>,
|
593
|
-
) -> wasmtime::Result<(Self, wasmtime::component::Instance)> {{
|
594
|
-
let instance = linker.instantiate{async__}(&mut store, component){await_}?;
|
595
|
-
Ok((Self::new(store, &instance)?, instance))
|
596
|
-
}}
|
597
|
-
|
598
|
-
/// Instantiates a pre-instantiated module using the specified
|
599
|
-
/// parameters, wrapping up the result in a structure that
|
600
|
-
/// translates between wasm and the host.
|
601
|
-
pub {async_} fn instantiate_pre<T {send}>(
|
602
|
-
mut store: impl wasmtime::AsContextMut<Data = T>,
|
603
|
-
instance_pre: &wasmtime::component::InstancePre<T>,
|
604
|
-
) -> wasmtime::Result<(Self, wasmtime::component::Instance)> {{
|
605
|
-
let instance = instance_pre.instantiate{async__}(&mut store){await_}?;
|
606
|
-
Ok((Self::new(store, &instance)?, instance))
|
607
|
-
}}
|
608
|
-
|
609
|
-
/// Low-level creation wrapper for wrapping up the exports
|
610
|
-
/// of the `instance` provided in this structure of wasm
|
611
|
-
/// exports.
|
612
|
-
///
|
613
|
-
/// This function will extract exports from the `instance`
|
614
|
-
/// defined within `store` and wrap them all up in the
|
615
|
-
/// returned structure which can be used to interact with
|
616
|
-
/// the wasm module.
|
617
|
-
pub fn new(
|
618
|
-
mut store: impl wasmtime::AsContextMut,
|
619
|
-
instance: &wasmtime::component::Instance,
|
620
|
-
) -> wasmtime::Result<Self> {{
|
621
|
-
let mut store = store.as_context_mut();
|
622
|
-
let mut exports = instance.exports(&mut store);
|
623
|
-
let mut __exports = exports.root();
|
624
|
-
",
|
625
|
-
);
|
626
|
-
for (name, (_, get)) in self.exports.fields.iter() {
|
627
|
-
uwriteln!(self.src, "let {name} = {get};");
|
628
|
-
}
|
629
|
-
uwriteln!(self.src, "Ok({camel} {{");
|
630
|
-
for (name, _) in self.exports.fields.iter() {
|
631
|
-
uwriteln!(self.src, "{name},");
|
632
|
-
}
|
633
|
-
uwriteln!(self.src, "}})");
|
634
|
-
uwriteln!(self.src, "}}"); // close `fn new`
|
635
|
-
|
636
|
-
for func in self.exports.funcs.iter() {
|
637
|
-
self.src.push_str(func);
|
638
|
-
}
|
639
|
-
|
640
|
-
uwriteln!(self.src, "}}"); // close `impl {camel}`
|
641
|
-
|
642
|
-
uwriteln!(self.src, "}};"); // close `const _: () = ...
|
643
|
-
}
|
644
|
-
|
645
|
-
fn finish(&mut self, resolve: &Resolve, world: WorldId) -> anyhow::Result<String> {
|
646
|
-
let remapping_keys = self.opts.with.keys().cloned().collect::<HashSet<String>>();
|
647
|
-
|
648
|
-
let mut unused_keys = remapping_keys
|
649
|
-
.difference(&self.used_with_opts)
|
650
|
-
.map(|s| s.as_str())
|
651
|
-
.collect::<Vec<&str>>();
|
652
|
-
|
653
|
-
unused_keys.sort();
|
654
|
-
|
655
|
-
if !unused_keys.is_empty() {
|
656
|
-
anyhow::bail!("interfaces were specified in the `with` config option but are not referenced in the target world: {unused_keys:?}");
|
657
|
-
}
|
658
|
-
|
659
|
-
if !self.opts.only_interfaces {
|
660
|
-
self.build_world_struct(resolve, world)
|
661
|
-
}
|
662
|
-
|
663
|
-
let imports = mem::take(&mut self.import_interfaces);
|
664
|
-
self.emit_modules(imports);
|
665
|
-
|
666
|
-
let exports = mem::take(&mut self.exports.modules);
|
667
|
-
self.emit_modules(exports);
|
668
|
-
|
669
|
-
let mut src = mem::take(&mut self.src);
|
670
|
-
if self.opts.rustfmt {
|
671
|
-
let mut child = Command::new("rustfmt")
|
672
|
-
.arg("--edition=2018")
|
673
|
-
.stdin(Stdio::piped())
|
674
|
-
.stdout(Stdio::piped())
|
675
|
-
.spawn()
|
676
|
-
.expect("failed to spawn `rustfmt`");
|
677
|
-
child
|
678
|
-
.stdin
|
679
|
-
.take()
|
680
|
-
.unwrap()
|
681
|
-
.write_all(src.as_bytes())
|
682
|
-
.unwrap();
|
683
|
-
src.as_mut_string().truncate(0);
|
684
|
-
child
|
685
|
-
.stdout
|
686
|
-
.take()
|
687
|
-
.unwrap()
|
688
|
-
.read_to_string(src.as_mut_string())
|
689
|
-
.unwrap();
|
690
|
-
let status = child.wait().unwrap();
|
691
|
-
assert!(status.success());
|
692
|
-
}
|
693
|
-
|
694
|
-
Ok(src.into())
|
695
|
-
}
|
696
|
-
|
697
|
-
fn emit_modules(&mut self, modules: Vec<(String, InterfaceName)>) {
|
698
|
-
#[derive(Default)]
|
699
|
-
struct Module {
|
700
|
-
submodules: BTreeMap<String, Module>,
|
701
|
-
contents: Vec<String>,
|
702
|
-
}
|
703
|
-
let mut map = Module::default();
|
704
|
-
for (module, name) in modules {
|
705
|
-
let path = match name {
|
706
|
-
InterfaceName::Remapped { local_path, .. } => local_path,
|
707
|
-
InterfaceName::Path(path) => path,
|
708
|
-
};
|
709
|
-
let mut cur = &mut map;
|
710
|
-
for name in path[..path.len() - 1].iter() {
|
711
|
-
cur = cur
|
712
|
-
.submodules
|
713
|
-
.entry(name.clone())
|
714
|
-
.or_insert(Module::default());
|
715
|
-
}
|
716
|
-
cur.contents.push(module);
|
717
|
-
}
|
718
|
-
|
719
|
-
emit(&mut self.src, map);
|
720
|
-
|
721
|
-
fn emit(me: &mut Source, module: Module) {
|
722
|
-
for (name, submodule) in module.submodules {
|
723
|
-
uwriteln!(me, "pub mod {name} {{");
|
724
|
-
emit(me, submodule);
|
725
|
-
uwriteln!(me, "}}");
|
726
|
-
}
|
727
|
-
for submodule in module.contents {
|
728
|
-
uwriteln!(me, "{submodule}");
|
729
|
-
}
|
730
|
-
}
|
731
|
-
}
|
732
|
-
|
733
|
-
/// Attempts to find the `key`, possibly with the resource projection
|
734
|
-
/// `item`, within the `with` map provided to bindings configuration.
|
735
|
-
fn lookup_replacement(
|
736
|
-
&mut self,
|
737
|
-
resolve: &Resolve,
|
738
|
-
key: &WorldKey,
|
739
|
-
item: Option<&str>,
|
740
|
-
) -> Option<String> {
|
741
|
-
struct Name<'a> {
|
742
|
-
prefix: Prefix,
|
743
|
-
item: Option<&'a str>,
|
744
|
-
}
|
745
|
-
|
746
|
-
#[derive(Copy, Clone)]
|
747
|
-
enum Prefix {
|
748
|
-
Namespace(PackageId),
|
749
|
-
UnversionedPackage(PackageId),
|
750
|
-
VersionedPackage(PackageId),
|
751
|
-
UnversionedInterface(InterfaceId),
|
752
|
-
VersionedInterface(InterfaceId),
|
753
|
-
}
|
754
|
-
|
755
|
-
let prefix = match key {
|
756
|
-
WorldKey::Interface(id) => Prefix::VersionedInterface(*id),
|
757
|
-
|
758
|
-
// Non-interface-keyed names don't get the lookup logic below,
|
759
|
-
// they're relatively uncommon so only lookup the precise key here.
|
760
|
-
WorldKey::Name(key) => {
|
761
|
-
let to_lookup = match item {
|
762
|
-
Some(item) => format!("{key}/{item}"),
|
763
|
-
None => key.to_string(),
|
764
|
-
};
|
765
|
-
let result = self.opts.with.get(&to_lookup).cloned();
|
766
|
-
if result.is_some() {
|
767
|
-
self.used_with_opts.insert(to_lookup.clone());
|
768
|
-
}
|
769
|
-
return result;
|
770
|
-
}
|
771
|
-
};
|
772
|
-
|
773
|
-
// Here names are iteratively attempted as `key` + `item` is "walked to
|
774
|
-
// its root" and each attempt is consulted in `self.opts.with`. This
|
775
|
-
// loop will start at the leaf, the most specific path, and then walk to
|
776
|
-
// the root, popping items, trying to find a result.
|
777
|
-
//
|
778
|
-
// Each time a name is "popped" the projection from the next path is
|
779
|
-
// pushed onto `projection`. This means that if we actually find a match
|
780
|
-
// then `projection` is a collection of namespaces that results in the
|
781
|
-
// final replacement name.
|
782
|
-
let mut name = Name { prefix, item };
|
783
|
-
let mut projection = Vec::new();
|
784
|
-
loop {
|
785
|
-
let lookup = name.lookup_key(resolve);
|
786
|
-
if let Some(renamed) = self.opts.with.get(&lookup) {
|
787
|
-
projection.push(renamed.clone());
|
788
|
-
projection.reverse();
|
789
|
-
self.used_with_opts.insert(lookup);
|
790
|
-
return Some(projection.join("::"));
|
791
|
-
}
|
792
|
-
if !name.pop(resolve, &mut projection) {
|
793
|
-
return None;
|
794
|
-
}
|
795
|
-
}
|
796
|
-
|
797
|
-
impl<'a> Name<'a> {
|
798
|
-
fn lookup_key(&self, resolve: &Resolve) -> String {
|
799
|
-
let mut s = self.prefix.lookup_key(resolve);
|
800
|
-
if let Some(item) = self.item {
|
801
|
-
s.push_str("/");
|
802
|
-
s.push_str(item);
|
803
|
-
}
|
804
|
-
s
|
805
|
-
}
|
806
|
-
|
807
|
-
fn pop(&mut self, resolve: &'a Resolve, projection: &mut Vec<String>) -> bool {
|
808
|
-
match (self.item, self.prefix) {
|
809
|
-
// If this is a versioned resource name, try the unversioned
|
810
|
-
// resource name next.
|
811
|
-
(Some(_), Prefix::VersionedInterface(id)) => {
|
812
|
-
self.prefix = Prefix::UnversionedInterface(id);
|
813
|
-
true
|
814
|
-
}
|
815
|
-
// If this is an unversioned resource name then time to
|
816
|
-
// ignore the resource itself and move on to the next most
|
817
|
-
// specific item, versioned interface names.
|
818
|
-
(Some(item), Prefix::UnversionedInterface(id)) => {
|
819
|
-
self.prefix = Prefix::VersionedInterface(id);
|
820
|
-
self.item = None;
|
821
|
-
projection.push(item.to_upper_camel_case());
|
822
|
-
true
|
823
|
-
}
|
824
|
-
(Some(_), _) => unreachable!(),
|
825
|
-
(None, _) => self.prefix.pop(resolve, projection),
|
826
|
-
}
|
827
|
-
}
|
828
|
-
}
|
829
|
-
|
830
|
-
impl Prefix {
|
831
|
-
fn lookup_key(&self, resolve: &Resolve) -> String {
|
832
|
-
match *self {
|
833
|
-
Prefix::Namespace(id) => resolve.packages[id].name.namespace.clone(),
|
834
|
-
Prefix::UnversionedPackage(id) => {
|
835
|
-
let mut name = resolve.packages[id].name.clone();
|
836
|
-
name.version = None;
|
837
|
-
name.to_string()
|
838
|
-
}
|
839
|
-
Prefix::VersionedPackage(id) => resolve.packages[id].name.to_string(),
|
840
|
-
Prefix::UnversionedInterface(id) => {
|
841
|
-
let id = resolve.id_of(id).unwrap();
|
842
|
-
match id.find('@') {
|
843
|
-
Some(i) => id[..i].to_string(),
|
844
|
-
None => id,
|
845
|
-
}
|
846
|
-
}
|
847
|
-
Prefix::VersionedInterface(id) => resolve.id_of(id).unwrap(),
|
848
|
-
}
|
849
|
-
}
|
850
|
-
|
851
|
-
fn pop(&mut self, resolve: &Resolve, projection: &mut Vec<String>) -> bool {
|
852
|
-
*self = match *self {
|
853
|
-
// try the unversioned interface next
|
854
|
-
Prefix::VersionedInterface(id) => Prefix::UnversionedInterface(id),
|
855
|
-
// try this interface's versioned package next
|
856
|
-
Prefix::UnversionedInterface(id) => {
|
857
|
-
let iface = &resolve.interfaces[id];
|
858
|
-
let name = iface.name.as_ref().unwrap();
|
859
|
-
projection.push(to_rust_ident(name));
|
860
|
-
Prefix::VersionedPackage(iface.package.unwrap())
|
861
|
-
}
|
862
|
-
// try the unversioned package next
|
863
|
-
Prefix::VersionedPackage(id) => Prefix::UnversionedPackage(id),
|
864
|
-
// try this package's namespace next
|
865
|
-
Prefix::UnversionedPackage(id) => {
|
866
|
-
let name = &resolve.packages[id].name;
|
867
|
-
projection.push(to_rust_ident(&name.name));
|
868
|
-
Prefix::Namespace(id)
|
869
|
-
}
|
870
|
-
// nothing left to try any more
|
871
|
-
Prefix::Namespace(_) => return false,
|
872
|
-
};
|
873
|
-
true
|
874
|
-
}
|
875
|
-
}
|
876
|
-
}
|
877
|
-
}
|
878
|
-
|
879
|
-
impl Wasmtime {
|
880
|
-
fn has_world_imports_trait(&self, resolve: &Resolve, world: WorldId) -> bool {
|
881
|
-
!self.import_functions.is_empty() || get_world_resources(resolve, world).count() > 0
|
882
|
-
}
|
883
|
-
|
884
|
-
fn world_imports_trait(&mut self, resolve: &Resolve, world: WorldId) {
|
885
|
-
if !self.has_world_imports_trait(resolve, world) {
|
886
|
-
return;
|
887
|
-
}
|
888
|
-
|
889
|
-
let world_camel = to_rust_upper_camel_case(&resolve.worlds[world].name);
|
890
|
-
if self.opts.async_.maybe_async() {
|
891
|
-
uwriteln!(self.src, "#[wasmtime::component::__internal::async_trait]")
|
892
|
-
}
|
893
|
-
uwrite!(self.src, "pub trait {world_camel}Imports");
|
894
|
-
let mut supertraits = vec![];
|
895
|
-
if self.opts.async_.maybe_async() {
|
896
|
-
supertraits.push("Send".to_string());
|
897
|
-
}
|
898
|
-
for resource in get_world_resources(resolve, world) {
|
899
|
-
supertraits.push(format!("Host{}", resource.to_upper_camel_case()));
|
900
|
-
}
|
901
|
-
if !supertraits.is_empty() {
|
902
|
-
uwrite!(self.src, ": {}", supertraits.join(" + "));
|
903
|
-
}
|
904
|
-
uwriteln!(self.src, " {{");
|
905
|
-
for f in self.import_functions.iter() {
|
906
|
-
if let Some(sig) = &f.sig {
|
907
|
-
self.src.push_str(sig);
|
908
|
-
self.src.push_str(";\n");
|
909
|
-
}
|
910
|
-
}
|
911
|
-
uwriteln!(self.src, "}}");
|
912
|
-
|
913
|
-
uwriteln!(
|
914
|
-
self.src,
|
915
|
-
"
|
916
|
-
pub trait {world_camel}ImportsGetHost<T>:
|
917
|
-
Fn(T) -> <Self as {world_camel}ImportsGetHost<T>>::Host
|
918
|
-
+ Send
|
919
|
-
+ Sync
|
920
|
-
+ Copy
|
921
|
-
+ 'static
|
922
|
-
{{
|
923
|
-
type Host: {world_camel}Imports;
|
924
|
-
}}
|
925
|
-
|
926
|
-
impl<F, T, O> {world_camel}ImportsGetHost<T> for F
|
927
|
-
where
|
928
|
-
F: Fn(T) -> O + Send + Sync + Copy + 'static,
|
929
|
-
O: {world_camel}Imports
|
930
|
-
{{
|
931
|
-
type Host = O;
|
932
|
-
}}
|
933
|
-
"
|
934
|
-
);
|
935
|
-
|
936
|
-
// Generate impl WorldImports for &mut WorldImports
|
937
|
-
let (async_trait, maybe_send) = if self.opts.async_.maybe_async() {
|
938
|
-
(
|
939
|
-
"#[wasmtime::component::__internal::async_trait]\n",
|
940
|
-
"+ Send",
|
941
|
-
)
|
942
|
-
} else {
|
943
|
-
("", "")
|
944
|
-
};
|
945
|
-
if !self.opts.skip_mut_forwarding_impls {
|
946
|
-
uwriteln!(
|
947
|
-
self.src,
|
948
|
-
"{async_trait}impl<_T: {world_camel}Imports + ?Sized {maybe_send}> {world_camel}Imports for &mut _T {{"
|
949
|
-
);
|
950
|
-
// Forward each method call to &mut T
|
951
|
-
for f in self.import_functions.iter() {
|
952
|
-
if let Some(sig) = &f.sig {
|
953
|
-
self.src.push_str(sig);
|
954
|
-
uwrite!(
|
955
|
-
self.src,
|
956
|
-
"{{ {world_camel}Imports::{}(*self,",
|
957
|
-
rust_function_name(&f.func)
|
958
|
-
);
|
959
|
-
for (name, _) in f.func.params.iter() {
|
960
|
-
uwrite!(self.src, "{},", to_rust_ident(name));
|
961
|
-
}
|
962
|
-
uwrite!(self.src, ")");
|
963
|
-
if self.opts.async_.is_import_async(&f.func.name) {
|
964
|
-
uwrite!(self.src, ".await");
|
965
|
-
}
|
966
|
-
uwriteln!(self.src, "}}");
|
967
|
-
}
|
968
|
-
}
|
969
|
-
uwriteln!(self.src, "}}");
|
970
|
-
}
|
971
|
-
}
|
972
|
-
|
973
|
-
fn import_interface_paths(&self) -> Vec<String> {
|
974
|
-
self.import_interfaces
|
975
|
-
.iter()
|
976
|
-
.map(|(_, name)| match name {
|
977
|
-
InterfaceName::Path(path) => path.join("::"),
|
978
|
-
InterfaceName::Remapped { .. } => unreachable!("imported a remapped module"),
|
979
|
-
})
|
980
|
-
.collect()
|
981
|
-
}
|
982
|
-
|
983
|
-
fn world_host_traits(&self, resolve: &Resolve, world: WorldId) -> Vec<String> {
|
984
|
-
let mut traits = self
|
985
|
-
.import_interface_paths()
|
986
|
-
.iter()
|
987
|
-
.map(|path| format!("{path}::Host"))
|
988
|
-
.collect::<Vec<_>>();
|
989
|
-
if self.has_world_imports_trait(resolve, world) {
|
990
|
-
let world_camel = to_rust_upper_camel_case(&resolve.worlds[world].name);
|
991
|
-
traits.push(format!("{world_camel}Imports"));
|
992
|
-
}
|
993
|
-
if self.opts.async_.maybe_async() {
|
994
|
-
traits.push("Send".to_string());
|
995
|
-
}
|
996
|
-
traits
|
997
|
-
}
|
998
|
-
|
999
|
-
fn world_add_to_linker(&mut self, resolve: &Resolve, world: WorldId) {
|
1000
|
-
let has_world_imports_trait = self.has_world_imports_trait(resolve, world);
|
1001
|
-
if self.import_interfaces.is_empty() && !has_world_imports_trait {
|
1002
|
-
return;
|
1003
|
-
}
|
1004
|
-
|
1005
|
-
let camel = to_rust_upper_camel_case(&resolve.worlds[world].name);
|
1006
|
-
let data_bounds = if self.opts.async_.maybe_async() {
|
1007
|
-
"T: Send,"
|
1008
|
-
} else {
|
1009
|
-
""
|
1010
|
-
};
|
1011
|
-
if has_world_imports_trait {
|
1012
|
-
uwrite!(
|
1013
|
-
self.src,
|
1014
|
-
"
|
1015
|
-
pub fn add_to_linker_imports_get_host<T>(
|
1016
|
-
linker: &mut wasmtime::component::Linker<T>,
|
1017
|
-
host_getter: impl for<'a> {camel}ImportsGetHost<&'a mut T>,
|
1018
|
-
) -> wasmtime::Result<()>
|
1019
|
-
where {data_bounds}
|
1020
|
-
{{
|
1021
|
-
let mut linker = linker.root();
|
1022
|
-
"
|
1023
|
-
);
|
1024
|
-
for name in get_world_resources(resolve, world) {
|
1025
|
-
let camel = name.to_upper_camel_case();
|
1026
|
-
uwriteln!(
|
1027
|
-
self.src,
|
1028
|
-
"
|
1029
|
-
linker.resource(
|
1030
|
-
\"{name}\",
|
1031
|
-
wasmtime::component::ResourceType::host::<{camel}>(),
|
1032
|
-
move |mut store, rep| -> wasmtime::Result<()> {{
|
1033
|
-
Host{camel}::drop(&mut host_getter(store.data_mut()), wasmtime::component::Resource::new_own(rep))
|
1034
|
-
}},
|
1035
|
-
)?;"
|
1036
|
-
);
|
1037
|
-
}
|
1038
|
-
for f in self.import_functions.iter() {
|
1039
|
-
self.src.push_str(&f.add_to_linker);
|
1040
|
-
self.src.push_str("\n");
|
1041
|
-
}
|
1042
|
-
uwriteln!(self.src, "Ok(())\n}}");
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
let host_bounds = format!("U: {}", self.world_host_traits(resolve, world).join(" + "));
|
1046
|
-
|
1047
|
-
if !self.opts.skip_mut_forwarding_impls {
|
1048
|
-
uwriteln!(
|
1049
|
-
self.src,
|
1050
|
-
"
|
1051
|
-
pub fn add_to_linker<T, U>(
|
1052
|
-
linker: &mut wasmtime::component::Linker<T>,
|
1053
|
-
get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
|
1054
|
-
) -> wasmtime::Result<()>
|
1055
|
-
where
|
1056
|
-
{data_bounds}
|
1057
|
-
{host_bounds}
|
1058
|
-
{{
|
1059
|
-
"
|
1060
|
-
);
|
1061
|
-
if has_world_imports_trait {
|
1062
|
-
uwriteln!(
|
1063
|
-
self.src,
|
1064
|
-
"Self::add_to_linker_imports_get_host(linker, get)?;"
|
1065
|
-
);
|
1066
|
-
}
|
1067
|
-
for path in self.import_interface_paths() {
|
1068
|
-
uwriteln!(self.src, "{path}::add_to_linker(linker, get)?;");
|
1069
|
-
}
|
1070
|
-
uwriteln!(self.src, "Ok(())\n}}");
|
1071
|
-
}
|
1072
|
-
}
|
1073
|
-
}
|
1074
|
-
|
1075
|
-
fn resolve_type_in_package(resolve: &Resolve, wit_path: &str) -> anyhow::Result<TypeId> {
|
1076
|
-
// Build a map, `packages_to_omit_version`, where that package can be
|
1077
|
-
// uniquely identified by its name/namespace combo and as such version
|
1078
|
-
// information is not required.
|
1079
|
-
let mut packages_with_same_name = HashMap::new();
|
1080
|
-
for (id, pkg) in resolve.packages.iter() {
|
1081
|
-
packages_with_same_name
|
1082
|
-
.entry(PackageName {
|
1083
|
-
version: None,
|
1084
|
-
..pkg.name.clone()
|
1085
|
-
})
|
1086
|
-
.or_insert(Vec::new())
|
1087
|
-
.push(id)
|
1088
|
-
}
|
1089
|
-
let packages_to_omit_version = packages_with_same_name
|
1090
|
-
.iter()
|
1091
|
-
.filter_map(
|
1092
|
-
|(_name, list)| {
|
1093
|
-
if list.len() == 1 {
|
1094
|
-
Some(list)
|
1095
|
-
} else {
|
1096
|
-
None
|
1097
|
-
}
|
1098
|
-
},
|
1099
|
-
)
|
1100
|
-
.flat_map(|l| l)
|
1101
|
-
.collect::<HashSet<_>>();
|
1102
|
-
|
1103
|
-
let mut found_interface = false;
|
1104
|
-
|
1105
|
-
// Look for an interface whose assigned prefix starts `wit_path`. Not
|
1106
|
-
// exactly the most efficient thing ever but is sufficient for now.
|
1107
|
-
for (id, interface) in resolve.interfaces.iter() {
|
1108
|
-
found_interface = true;
|
1109
|
-
|
1110
|
-
let iface_name = match &interface.name {
|
1111
|
-
Some(name) => name,
|
1112
|
-
None => continue,
|
1113
|
-
};
|
1114
|
-
let pkgid = interface.package.unwrap();
|
1115
|
-
let pkgname = &resolve.packages[pkgid].name;
|
1116
|
-
let prefix = if packages_to_omit_version.contains(&pkgid) {
|
1117
|
-
let mut name = pkgname.clone();
|
1118
|
-
name.version = None;
|
1119
|
-
format!("{name}/{iface_name}")
|
1120
|
-
} else {
|
1121
|
-
resolve.id_of(id).unwrap()
|
1122
|
-
};
|
1123
|
-
let wit_path = match wit_path.strip_prefix(&prefix) {
|
1124
|
-
Some(rest) => rest,
|
1125
|
-
None => continue,
|
1126
|
-
};
|
1127
|
-
|
1128
|
-
let wit_path = match wit_path.strip_prefix('/') {
|
1129
|
-
Some(rest) => rest,
|
1130
|
-
None => continue,
|
1131
|
-
};
|
1132
|
-
|
1133
|
-
match interface.types.get(wit_path).copied() {
|
1134
|
-
Some(type_id) => return Ok(type_id),
|
1135
|
-
None => continue,
|
1136
|
-
}
|
1137
|
-
}
|
1138
|
-
|
1139
|
-
if found_interface {
|
1140
|
-
bail!("no types found to match `{wit_path}` in interface");
|
1141
|
-
}
|
1142
|
-
|
1143
|
-
bail!("no package/interface found to match `{wit_path}`")
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
struct InterfaceGenerator<'a> {
|
1147
|
-
src: Source,
|
1148
|
-
gen: &'a mut Wasmtime,
|
1149
|
-
resolve: &'a Resolve,
|
1150
|
-
current_interface: Option<(InterfaceId, &'a WorldKey, bool)>,
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
impl<'a> InterfaceGenerator<'a> {
|
1154
|
-
fn new(gen: &'a mut Wasmtime, resolve: &'a Resolve) -> InterfaceGenerator<'a> {
|
1155
|
-
InterfaceGenerator {
|
1156
|
-
src: Source::default(),
|
1157
|
-
gen,
|
1158
|
-
resolve,
|
1159
|
-
current_interface: None,
|
1160
|
-
}
|
1161
|
-
}
|
1162
|
-
|
1163
|
-
fn types_imported(&self) -> bool {
|
1164
|
-
match self.current_interface {
|
1165
|
-
Some((_, _, is_export)) => !is_export,
|
1166
|
-
None => true,
|
1167
|
-
}
|
1168
|
-
}
|
1169
|
-
|
1170
|
-
fn types(&mut self, id: InterfaceId) {
|
1171
|
-
for (name, id) in self.resolve.interfaces[id].types.iter() {
|
1172
|
-
self.define_type(name, *id);
|
1173
|
-
}
|
1174
|
-
}
|
1175
|
-
|
1176
|
-
fn define_type(&mut self, name: &str, id: TypeId) {
|
1177
|
-
let ty = &self.resolve.types[id];
|
1178
|
-
match &ty.kind {
|
1179
|
-
TypeDefKind::Record(record) => self.type_record(id, name, record, &ty.docs),
|
1180
|
-
TypeDefKind::Flags(flags) => self.type_flags(id, name, flags, &ty.docs),
|
1181
|
-
TypeDefKind::Tuple(tuple) => self.type_tuple(id, name, tuple, &ty.docs),
|
1182
|
-
TypeDefKind::Enum(enum_) => self.type_enum(id, name, enum_, &ty.docs),
|
1183
|
-
TypeDefKind::Variant(variant) => self.type_variant(id, name, variant, &ty.docs),
|
1184
|
-
TypeDefKind::Option(t) => self.type_option(id, name, t, &ty.docs),
|
1185
|
-
TypeDefKind::Result(r) => self.type_result(id, name, r, &ty.docs),
|
1186
|
-
TypeDefKind::List(t) => self.type_list(id, name, t, &ty.docs),
|
1187
|
-
TypeDefKind::Type(t) => self.type_alias(id, name, t, &ty.docs),
|
1188
|
-
TypeDefKind::Future(_) => todo!("generate for future"),
|
1189
|
-
TypeDefKind::Stream(_) => todo!("generate for stream"),
|
1190
|
-
TypeDefKind::Handle(handle) => self.type_handle(id, name, handle, &ty.docs),
|
1191
|
-
TypeDefKind::Resource => self.type_resource(id, name, ty, &ty.docs),
|
1192
|
-
TypeDefKind::Unknown => unreachable!(),
|
1193
|
-
}
|
1194
|
-
}
|
1195
|
-
|
1196
|
-
fn type_handle(&mut self, id: TypeId, name: &str, handle: &Handle, docs: &Docs) {
|
1197
|
-
self.rustdoc(docs);
|
1198
|
-
let name = name.to_upper_camel_case();
|
1199
|
-
uwriteln!(self.src, "pub type {name} = ");
|
1200
|
-
self.print_handle(handle);
|
1201
|
-
self.push_str(";\n");
|
1202
|
-
self.assert_type(id, &name);
|
1203
|
-
}
|
1204
|
-
|
1205
|
-
fn type_resource(&mut self, id: TypeId, name: &str, resource: &TypeDef, docs: &Docs) {
|
1206
|
-
let camel = name.to_upper_camel_case();
|
1207
|
-
|
1208
|
-
if self.types_imported() {
|
1209
|
-
self.rustdoc(docs);
|
1210
|
-
|
1211
|
-
let replacement = match self.current_interface {
|
1212
|
-
Some((_, key, _)) => self.gen.lookup_replacement(self.resolve, key, Some(name)),
|
1213
|
-
None => {
|
1214
|
-
self.gen.used_with_opts.insert(name.into());
|
1215
|
-
self.gen.opts.with.get(name).cloned()
|
1216
|
-
}
|
1217
|
-
};
|
1218
|
-
match replacement {
|
1219
|
-
Some(path) => {
|
1220
|
-
uwriteln!(
|
1221
|
-
self.src,
|
1222
|
-
"pub use {}{path} as {camel};",
|
1223
|
-
self.path_to_root()
|
1224
|
-
);
|
1225
|
-
}
|
1226
|
-
None => {
|
1227
|
-
uwriteln!(self.src, "pub enum {camel} {{}}");
|
1228
|
-
}
|
1229
|
-
}
|
1230
|
-
|
1231
|
-
// Generate resource trait
|
1232
|
-
if self.gen.opts.async_.maybe_async() {
|
1233
|
-
uwriteln!(self.src, "#[wasmtime::component::__internal::async_trait]")
|
1234
|
-
}
|
1235
|
-
uwriteln!(self.src, "pub trait Host{camel} {{");
|
1236
|
-
|
1237
|
-
let mut functions = match resource.owner {
|
1238
|
-
TypeOwner::World(id) => self.resolve.worlds[id]
|
1239
|
-
.imports
|
1240
|
-
.values()
|
1241
|
-
.filter_map(|item| match item {
|
1242
|
-
WorldItem::Function(f) => Some(f),
|
1243
|
-
_ => None,
|
1244
|
-
})
|
1245
|
-
.collect(),
|
1246
|
-
TypeOwner::Interface(id) => self.resolve.interfaces[id]
|
1247
|
-
.functions
|
1248
|
-
.values()
|
1249
|
-
.collect::<Vec<_>>(),
|
1250
|
-
TypeOwner::None => {
|
1251
|
-
panic!("A resource must be owned by a world or interface");
|
1252
|
-
}
|
1253
|
-
};
|
1254
|
-
|
1255
|
-
functions.retain(|func| match func.kind {
|
1256
|
-
FunctionKind::Freestanding => false,
|
1257
|
-
FunctionKind::Method(resource)
|
1258
|
-
| FunctionKind::Static(resource)
|
1259
|
-
| FunctionKind::Constructor(resource) => id == resource,
|
1260
|
-
});
|
1261
|
-
|
1262
|
-
for func in &functions {
|
1263
|
-
self.generate_function_trait_sig(func);
|
1264
|
-
self.push_str(";\n");
|
1265
|
-
}
|
1266
|
-
|
1267
|
-
uwrite!(
|
1268
|
-
self.src,
|
1269
|
-
"fn drop(&mut self, rep: wasmtime::component::Resource<{camel}>) -> wasmtime::Result<()>;");
|
1270
|
-
|
1271
|
-
uwriteln!(self.src, "}}");
|
1272
|
-
|
1273
|
-
// Generate impl HostResource for &mut HostResource
|
1274
|
-
if !self.gen.opts.skip_mut_forwarding_impls {
|
1275
|
-
let (async_trait, maybe_send) = if self.gen.opts.async_.maybe_async() {
|
1276
|
-
(
|
1277
|
-
"#[wasmtime::component::__internal::async_trait]\n",
|
1278
|
-
"+ Send",
|
1279
|
-
)
|
1280
|
-
} else {
|
1281
|
-
("", "")
|
1282
|
-
};
|
1283
|
-
uwriteln!(
|
1284
|
-
self.src,
|
1285
|
-
"{async_trait}impl <_T: Host{camel} + ?Sized {maybe_send}> Host{camel} for &mut _T {{"
|
1286
|
-
);
|
1287
|
-
for func in &functions {
|
1288
|
-
self.generate_function_trait_sig(func);
|
1289
|
-
uwrite!(
|
1290
|
-
self.src,
|
1291
|
-
"{{ Host{camel}::{}(*self,",
|
1292
|
-
rust_function_name(func)
|
1293
|
-
);
|
1294
|
-
for (name, _) in func.params.iter() {
|
1295
|
-
uwrite!(self.src, "{},", to_rust_ident(name));
|
1296
|
-
}
|
1297
|
-
uwrite!(self.src, ")");
|
1298
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
1299
|
-
uwrite!(self.src, ".await");
|
1300
|
-
}
|
1301
|
-
uwriteln!(self.src, "}}");
|
1302
|
-
}
|
1303
|
-
uwriteln!(self.src, "
|
1304
|
-
fn drop(&mut self, rep: wasmtime::component::Resource<{camel}>) -> wasmtime::Result<()> {{
|
1305
|
-
Host{camel}::drop(*self, rep)
|
1306
|
-
}}",
|
1307
|
-
);
|
1308
|
-
uwriteln!(self.src, "}}");
|
1309
|
-
}
|
1310
|
-
} else {
|
1311
|
-
self.rustdoc(docs);
|
1312
|
-
uwriteln!(
|
1313
|
-
self.src,
|
1314
|
-
"
|
1315
|
-
pub type {camel} = wasmtime::component::ResourceAny;
|
1316
|
-
|
1317
|
-
pub struct Guest{camel}<'a> {{
|
1318
|
-
funcs: &'a Guest,
|
1319
|
-
}}
|
1320
|
-
"
|
1321
|
-
);
|
1322
|
-
}
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
fn type_record(&mut self, id: TypeId, _name: &str, record: &Record, docs: &Docs) {
|
1326
|
-
let info = self.info(id);
|
1327
|
-
|
1328
|
-
// We use a BTree set to make sure we don't have any duplicates and we have a stable order
|
1329
|
-
let additional_derives: BTreeSet<String> = self
|
1330
|
-
.gen
|
1331
|
-
.opts
|
1332
|
-
.additional_derive_attributes
|
1333
|
-
.iter()
|
1334
|
-
.cloned()
|
1335
|
-
.collect();
|
1336
|
-
|
1337
|
-
for (name, mode) in self.modes_of(id) {
|
1338
|
-
let lt = self.lifetime_for(&info, mode);
|
1339
|
-
self.rustdoc(docs);
|
1340
|
-
|
1341
|
-
let mut derives = additional_derives.clone();
|
1342
|
-
|
1343
|
-
self.push_str("#[derive(wasmtime::component::ComponentType)]\n");
|
1344
|
-
if lt.is_none() {
|
1345
|
-
self.push_str("#[derive(wasmtime::component::Lift)]\n");
|
1346
|
-
}
|
1347
|
-
self.push_str("#[derive(wasmtime::component::Lower)]\n");
|
1348
|
-
self.push_str("#[component(record)]\n");
|
1349
|
-
|
1350
|
-
if info.is_copy() {
|
1351
|
-
derives.extend(["Copy", "Clone"].into_iter().map(|s| s.to_string()));
|
1352
|
-
} else if info.is_clone() {
|
1353
|
-
derives.insert("Clone".to_string());
|
1354
|
-
}
|
1355
|
-
|
1356
|
-
if !derives.is_empty() {
|
1357
|
-
self.push_str("#[derive(");
|
1358
|
-
self.push_str(&derives.into_iter().collect::<Vec<_>>().join(", "));
|
1359
|
-
self.push_str(")]\n")
|
1360
|
-
}
|
1361
|
-
|
1362
|
-
self.push_str(&format!("pub struct {}", name));
|
1363
|
-
self.print_generics(lt);
|
1364
|
-
self.push_str(" {\n");
|
1365
|
-
for field in record.fields.iter() {
|
1366
|
-
self.rustdoc(&field.docs);
|
1367
|
-
self.push_str(&format!("#[component(name = \"{}\")]\n", field.name));
|
1368
|
-
self.push_str("pub ");
|
1369
|
-
self.push_str(&to_rust_ident(&field.name));
|
1370
|
-
self.push_str(": ");
|
1371
|
-
self.print_ty(&field.ty, mode);
|
1372
|
-
self.push_str(",\n");
|
1373
|
-
}
|
1374
|
-
self.push_str("}\n");
|
1375
|
-
|
1376
|
-
self.push_str("impl");
|
1377
|
-
self.print_generics(lt);
|
1378
|
-
self.push_str(" core::fmt::Debug for ");
|
1379
|
-
self.push_str(&name);
|
1380
|
-
self.print_generics(lt);
|
1381
|
-
self.push_str(" {\n");
|
1382
|
-
self.push_str(
|
1383
|
-
"fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1384
|
-
);
|
1385
|
-
self.push_str(&format!("f.debug_struct(\"{}\")", name));
|
1386
|
-
for field in record.fields.iter() {
|
1387
|
-
self.push_str(&format!(
|
1388
|
-
".field(\"{}\", &self.{})",
|
1389
|
-
field.name,
|
1390
|
-
to_rust_ident(&field.name)
|
1391
|
-
));
|
1392
|
-
}
|
1393
|
-
self.push_str(".finish()\n");
|
1394
|
-
self.push_str("}\n");
|
1395
|
-
self.push_str("}\n");
|
1396
|
-
|
1397
|
-
if info.error {
|
1398
|
-
self.push_str("impl");
|
1399
|
-
self.print_generics(lt);
|
1400
|
-
self.push_str(" core::fmt::Display for ");
|
1401
|
-
self.push_str(&name);
|
1402
|
-
self.print_generics(lt);
|
1403
|
-
self.push_str(" {\n");
|
1404
|
-
self.push_str(
|
1405
|
-
"fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1406
|
-
);
|
1407
|
-
self.push_str("write!(f, \"{:?}\", self)\n");
|
1408
|
-
self.push_str("}\n");
|
1409
|
-
self.push_str("}\n");
|
1410
|
-
|
1411
|
-
if cfg!(feature = "std") {
|
1412
|
-
self.push_str("impl std::error::Error for ");
|
1413
|
-
self.push_str(&name);
|
1414
|
-
self.push_str("{}\n");
|
1415
|
-
}
|
1416
|
-
}
|
1417
|
-
self.assert_type(id, &name);
|
1418
|
-
}
|
1419
|
-
}
|
1420
|
-
|
1421
|
-
fn type_tuple(&mut self, id: TypeId, _name: &str, tuple: &Tuple, docs: &Docs) {
|
1422
|
-
let info = self.info(id);
|
1423
|
-
for (name, mode) in self.modes_of(id) {
|
1424
|
-
let lt = self.lifetime_for(&info, mode);
|
1425
|
-
self.rustdoc(docs);
|
1426
|
-
self.push_str(&format!("pub type {}", name));
|
1427
|
-
self.print_generics(lt);
|
1428
|
-
self.push_str(" = (");
|
1429
|
-
for ty in tuple.types.iter() {
|
1430
|
-
self.print_ty(ty, mode);
|
1431
|
-
self.push_str(",");
|
1432
|
-
}
|
1433
|
-
self.push_str(");\n");
|
1434
|
-
self.assert_type(id, &name);
|
1435
|
-
}
|
1436
|
-
}
|
1437
|
-
|
1438
|
-
fn type_flags(&mut self, id: TypeId, name: &str, flags: &Flags, docs: &Docs) {
|
1439
|
-
self.rustdoc(docs);
|
1440
|
-
let rust_name = to_rust_upper_camel_case(name);
|
1441
|
-
self.src.push_str("wasmtime::component::flags!(\n");
|
1442
|
-
self.src.push_str(&format!("{rust_name} {{\n"));
|
1443
|
-
for flag in flags.flags.iter() {
|
1444
|
-
// TODO wasmtime-component-macro doesnt support docs for flags rn
|
1445
|
-
uwrite!(
|
1446
|
-
self.src,
|
1447
|
-
"#[component(name=\"{}\")] const {};\n",
|
1448
|
-
flag.name,
|
1449
|
-
flag.name.to_shouty_snake_case()
|
1450
|
-
);
|
1451
|
-
}
|
1452
|
-
self.src.push_str("}\n");
|
1453
|
-
self.src.push_str(");\n\n");
|
1454
|
-
self.assert_type(id, &rust_name);
|
1455
|
-
}
|
1456
|
-
|
1457
|
-
fn type_variant(&mut self, id: TypeId, _name: &str, variant: &Variant, docs: &Docs) {
|
1458
|
-
self.print_rust_enum(
|
1459
|
-
id,
|
1460
|
-
variant.cases.iter().map(|c| {
|
1461
|
-
(
|
1462
|
-
c.name.to_upper_camel_case(),
|
1463
|
-
Some(c.name.clone()),
|
1464
|
-
&c.docs,
|
1465
|
-
c.ty.as_ref(),
|
1466
|
-
)
|
1467
|
-
}),
|
1468
|
-
docs,
|
1469
|
-
"variant",
|
1470
|
-
);
|
1471
|
-
}
|
1472
|
-
|
1473
|
-
fn type_option(&mut self, id: TypeId, _name: &str, payload: &Type, docs: &Docs) {
|
1474
|
-
let info = self.info(id);
|
1475
|
-
|
1476
|
-
for (name, mode) in self.modes_of(id) {
|
1477
|
-
self.rustdoc(docs);
|
1478
|
-
let lt = self.lifetime_for(&info, mode);
|
1479
|
-
self.push_str(&format!("pub type {}", name));
|
1480
|
-
self.print_generics(lt);
|
1481
|
-
self.push_str("= Option<");
|
1482
|
-
self.print_ty(payload, mode);
|
1483
|
-
self.push_str(">;\n");
|
1484
|
-
self.assert_type(id, &name);
|
1485
|
-
}
|
1486
|
-
}
|
1487
|
-
|
1488
|
-
// Emit a double-check that the wit-parser-understood size of a type agrees
|
1489
|
-
// with the Wasmtime-understood size of a type.
|
1490
|
-
fn assert_type(&mut self, id: TypeId, name: &str) {
|
1491
|
-
self.push_str("const _: () = {\n");
|
1492
|
-
uwriteln!(
|
1493
|
-
self.src,
|
1494
|
-
"assert!({} == <{name} as wasmtime::component::ComponentType>::SIZE32);",
|
1495
|
-
self.gen.sizes.size(&Type::Id(id)),
|
1496
|
-
);
|
1497
|
-
uwriteln!(
|
1498
|
-
self.src,
|
1499
|
-
"assert!({} == <{name} as wasmtime::component::ComponentType>::ALIGN32);",
|
1500
|
-
self.gen.sizes.align(&Type::Id(id)),
|
1501
|
-
);
|
1502
|
-
self.push_str("};\n");
|
1503
|
-
}
|
1504
|
-
|
1505
|
-
fn print_rust_enum<'b>(
|
1506
|
-
&mut self,
|
1507
|
-
id: TypeId,
|
1508
|
-
cases: impl IntoIterator<Item = (String, Option<String>, &'b Docs, Option<&'b Type>)> + Clone,
|
1509
|
-
docs: &Docs,
|
1510
|
-
derive_component: &str,
|
1511
|
-
) where
|
1512
|
-
Self: Sized,
|
1513
|
-
{
|
1514
|
-
let info = self.info(id);
|
1515
|
-
|
1516
|
-
// We use a BTree set to make sure we don't have any duplicates and we have a stable order
|
1517
|
-
let additional_derives: BTreeSet<String> = self
|
1518
|
-
.gen
|
1519
|
-
.opts
|
1520
|
-
.additional_derive_attributes
|
1521
|
-
.iter()
|
1522
|
-
.cloned()
|
1523
|
-
.collect();
|
1524
|
-
|
1525
|
-
for (name, mode) in self.modes_of(id) {
|
1526
|
-
let name = to_rust_upper_camel_case(&name);
|
1527
|
-
|
1528
|
-
let mut derives = additional_derives.clone();
|
1529
|
-
|
1530
|
-
self.rustdoc(docs);
|
1531
|
-
let lt = self.lifetime_for(&info, mode);
|
1532
|
-
self.push_str("#[derive(wasmtime::component::ComponentType)]\n");
|
1533
|
-
if lt.is_none() {
|
1534
|
-
self.push_str("#[derive(wasmtime::component::Lift)]\n");
|
1535
|
-
}
|
1536
|
-
self.push_str("#[derive(wasmtime::component::Lower)]\n");
|
1537
|
-
self.push_str(&format!("#[component({})]\n", derive_component));
|
1538
|
-
if info.is_copy() {
|
1539
|
-
derives.extend(["Copy", "Clone"].into_iter().map(|s| s.to_string()));
|
1540
|
-
} else if info.is_clone() {
|
1541
|
-
derives.insert("Clone".to_string());
|
1542
|
-
}
|
1543
|
-
|
1544
|
-
if !derives.is_empty() {
|
1545
|
-
self.push_str("#[derive(");
|
1546
|
-
self.push_str(&derives.into_iter().collect::<Vec<_>>().join(", "));
|
1547
|
-
self.push_str(")]\n")
|
1548
|
-
}
|
1549
|
-
|
1550
|
-
self.push_str(&format!("pub enum {name}"));
|
1551
|
-
self.print_generics(lt);
|
1552
|
-
self.push_str("{\n");
|
1553
|
-
for (case_name, component_name, docs, payload) in cases.clone() {
|
1554
|
-
self.rustdoc(docs);
|
1555
|
-
if let Some(n) = component_name {
|
1556
|
-
self.push_str(&format!("#[component(name = \"{}\")] ", n));
|
1557
|
-
}
|
1558
|
-
self.push_str(&case_name);
|
1559
|
-
if let Some(ty) = payload {
|
1560
|
-
self.push_str("(");
|
1561
|
-
self.print_ty(ty, mode);
|
1562
|
-
self.push_str(")")
|
1563
|
-
}
|
1564
|
-
self.push_str(",\n");
|
1565
|
-
}
|
1566
|
-
self.push_str("}\n");
|
1567
|
-
|
1568
|
-
self.print_rust_enum_debug(
|
1569
|
-
id,
|
1570
|
-
mode,
|
1571
|
-
&name,
|
1572
|
-
cases
|
1573
|
-
.clone()
|
1574
|
-
.into_iter()
|
1575
|
-
.map(|(name, _attr, _docs, ty)| (name, ty)),
|
1576
|
-
);
|
1577
|
-
|
1578
|
-
if info.error {
|
1579
|
-
self.push_str("impl");
|
1580
|
-
self.print_generics(lt);
|
1581
|
-
self.push_str(" core::fmt::Display for ");
|
1582
|
-
self.push_str(&name);
|
1583
|
-
self.print_generics(lt);
|
1584
|
-
self.push_str(" {\n");
|
1585
|
-
self.push_str(
|
1586
|
-
"fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1587
|
-
);
|
1588
|
-
self.push_str("write!(f, \"{:?}\", self)");
|
1589
|
-
self.push_str("}\n");
|
1590
|
-
self.push_str("}\n");
|
1591
|
-
self.push_str("\n");
|
1592
|
-
|
1593
|
-
if cfg!(feature = "std") {
|
1594
|
-
self.push_str("impl");
|
1595
|
-
self.print_generics(lt);
|
1596
|
-
self.push_str(" std::error::Error for ");
|
1597
|
-
self.push_str(&name);
|
1598
|
-
self.print_generics(lt);
|
1599
|
-
self.push_str(" {}\n");
|
1600
|
-
}
|
1601
|
-
}
|
1602
|
-
|
1603
|
-
self.assert_type(id, &name);
|
1604
|
-
}
|
1605
|
-
}
|
1606
|
-
|
1607
|
-
fn print_rust_enum_debug<'b>(
|
1608
|
-
&mut self,
|
1609
|
-
id: TypeId,
|
1610
|
-
mode: TypeMode,
|
1611
|
-
name: &str,
|
1612
|
-
cases: impl IntoIterator<Item = (String, Option<&'b Type>)>,
|
1613
|
-
) where
|
1614
|
-
Self: Sized,
|
1615
|
-
{
|
1616
|
-
let info = self.info(id);
|
1617
|
-
let lt = self.lifetime_for(&info, mode);
|
1618
|
-
self.push_str("impl");
|
1619
|
-
self.print_generics(lt);
|
1620
|
-
self.push_str(" core::fmt::Debug for ");
|
1621
|
-
self.push_str(name);
|
1622
|
-
self.print_generics(lt);
|
1623
|
-
self.push_str(" {\n");
|
1624
|
-
self.push_str("fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n");
|
1625
|
-
self.push_str("match self {\n");
|
1626
|
-
for (case_name, payload) in cases {
|
1627
|
-
self.push_str(name);
|
1628
|
-
self.push_str("::");
|
1629
|
-
self.push_str(&case_name);
|
1630
|
-
if payload.is_some() {
|
1631
|
-
self.push_str("(e)");
|
1632
|
-
}
|
1633
|
-
self.push_str(" => {\n");
|
1634
|
-
self.push_str(&format!("f.debug_tuple(\"{}::{}\")", name, case_name));
|
1635
|
-
if payload.is_some() {
|
1636
|
-
self.push_str(".field(e)");
|
1637
|
-
}
|
1638
|
-
self.push_str(".finish()\n");
|
1639
|
-
self.push_str("}\n");
|
1640
|
-
}
|
1641
|
-
self.push_str("}\n");
|
1642
|
-
self.push_str("}\n");
|
1643
|
-
self.push_str("}\n");
|
1644
|
-
}
|
1645
|
-
|
1646
|
-
fn type_result(&mut self, id: TypeId, _name: &str, result: &Result_, docs: &Docs) {
|
1647
|
-
let info = self.info(id);
|
1648
|
-
|
1649
|
-
for (name, mode) in self.modes_of(id) {
|
1650
|
-
self.rustdoc(docs);
|
1651
|
-
let lt = self.lifetime_for(&info, mode);
|
1652
|
-
self.push_str(&format!("pub type {}", name));
|
1653
|
-
self.print_generics(lt);
|
1654
|
-
self.push_str("= Result<");
|
1655
|
-
self.print_optional_ty(result.ok.as_ref(), mode);
|
1656
|
-
self.push_str(",");
|
1657
|
-
self.print_optional_ty(result.err.as_ref(), mode);
|
1658
|
-
self.push_str(">;\n");
|
1659
|
-
self.assert_type(id, &name);
|
1660
|
-
}
|
1661
|
-
}
|
1662
|
-
|
1663
|
-
fn type_enum(&mut self, id: TypeId, name: &str, enum_: &Enum, docs: &Docs) {
|
1664
|
-
let info = self.info(id);
|
1665
|
-
|
1666
|
-
// We use a BTree set to make sure we don't have any duplicates and have a stable order
|
1667
|
-
let mut derives: BTreeSet<String> = self
|
1668
|
-
.gen
|
1669
|
-
.opts
|
1670
|
-
.additional_derive_attributes
|
1671
|
-
.iter()
|
1672
|
-
.cloned()
|
1673
|
-
.collect();
|
1674
|
-
|
1675
|
-
derives.extend(
|
1676
|
-
["Clone", "Copy", "PartialEq", "Eq"]
|
1677
|
-
.into_iter()
|
1678
|
-
.map(|s| s.to_string()),
|
1679
|
-
);
|
1680
|
-
|
1681
|
-
let name = to_rust_upper_camel_case(name);
|
1682
|
-
self.rustdoc(docs);
|
1683
|
-
self.push_str("#[derive(wasmtime::component::ComponentType)]\n");
|
1684
|
-
self.push_str("#[derive(wasmtime::component::Lift)]\n");
|
1685
|
-
self.push_str("#[derive(wasmtime::component::Lower)]\n");
|
1686
|
-
self.push_str("#[component(enum)]\n");
|
1687
|
-
|
1688
|
-
self.push_str("#[derive(");
|
1689
|
-
self.push_str(&derives.into_iter().collect::<Vec<_>>().join(", "));
|
1690
|
-
self.push_str(")]\n");
|
1691
|
-
|
1692
|
-
self.push_str(&format!("pub enum {} {{\n", name));
|
1693
|
-
for case in enum_.cases.iter() {
|
1694
|
-
self.rustdoc(&case.docs);
|
1695
|
-
self.push_str(&format!("#[component(name = \"{}\")]", case.name));
|
1696
|
-
self.push_str(&case.name.to_upper_camel_case());
|
1697
|
-
self.push_str(",\n");
|
1698
|
-
}
|
1699
|
-
self.push_str("}\n");
|
1700
|
-
|
1701
|
-
// Auto-synthesize an implementation of the standard `Error` trait for
|
1702
|
-
// error-looking types based on their name.
|
1703
|
-
if info.error {
|
1704
|
-
self.push_str("impl ");
|
1705
|
-
self.push_str(&name);
|
1706
|
-
self.push_str("{\n");
|
1707
|
-
|
1708
|
-
self.push_str("pub fn name(&self) -> &'static str {\n");
|
1709
|
-
self.push_str("match self {\n");
|
1710
|
-
for case in enum_.cases.iter() {
|
1711
|
-
self.push_str(&name);
|
1712
|
-
self.push_str("::");
|
1713
|
-
self.push_str(&case.name.to_upper_camel_case());
|
1714
|
-
self.push_str(" => \"");
|
1715
|
-
self.push_str(case.name.as_str());
|
1716
|
-
self.push_str("\",\n");
|
1717
|
-
}
|
1718
|
-
self.push_str("}\n");
|
1719
|
-
self.push_str("}\n");
|
1720
|
-
|
1721
|
-
self.push_str("pub fn message(&self) -> &'static str {\n");
|
1722
|
-
self.push_str("match self {\n");
|
1723
|
-
for case in enum_.cases.iter() {
|
1724
|
-
self.push_str(&name);
|
1725
|
-
self.push_str("::");
|
1726
|
-
self.push_str(&case.name.to_upper_camel_case());
|
1727
|
-
self.push_str(" => \"");
|
1728
|
-
if let Some(contents) = &case.docs.contents {
|
1729
|
-
self.push_str(contents.trim());
|
1730
|
-
}
|
1731
|
-
self.push_str("\",\n");
|
1732
|
-
}
|
1733
|
-
self.push_str("}\n");
|
1734
|
-
self.push_str("}\n");
|
1735
|
-
|
1736
|
-
self.push_str("}\n");
|
1737
|
-
|
1738
|
-
self.push_str("impl core::fmt::Debug for ");
|
1739
|
-
self.push_str(&name);
|
1740
|
-
self.push_str(
|
1741
|
-
"{\nfn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1742
|
-
);
|
1743
|
-
self.push_str("f.debug_struct(\"");
|
1744
|
-
self.push_str(&name);
|
1745
|
-
self.push_str("\")\n");
|
1746
|
-
self.push_str(".field(\"code\", &(*self as i32))\n");
|
1747
|
-
self.push_str(".field(\"name\", &self.name())\n");
|
1748
|
-
self.push_str(".field(\"message\", &self.message())\n");
|
1749
|
-
self.push_str(".finish()\n");
|
1750
|
-
self.push_str("}\n");
|
1751
|
-
self.push_str("}\n");
|
1752
|
-
|
1753
|
-
self.push_str("impl core::fmt::Display for ");
|
1754
|
-
self.push_str(&name);
|
1755
|
-
self.push_str(
|
1756
|
-
"{\nfn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1757
|
-
);
|
1758
|
-
self.push_str("write!(f, \"{} (error {})\", self.name(), *self as i32)");
|
1759
|
-
self.push_str("}\n");
|
1760
|
-
self.push_str("}\n");
|
1761
|
-
self.push_str("\n");
|
1762
|
-
if cfg!(feature = "std") {
|
1763
|
-
self.push_str("impl std::error::Error for ");
|
1764
|
-
self.push_str(&name);
|
1765
|
-
self.push_str("{}\n");
|
1766
|
-
}
|
1767
|
-
} else {
|
1768
|
-
self.print_rust_enum_debug(
|
1769
|
-
id,
|
1770
|
-
TypeMode::Owned,
|
1771
|
-
&name,
|
1772
|
-
enum_
|
1773
|
-
.cases
|
1774
|
-
.iter()
|
1775
|
-
.map(|c| (c.name.to_upper_camel_case(), None)),
|
1776
|
-
)
|
1777
|
-
}
|
1778
|
-
self.assert_type(id, &name);
|
1779
|
-
}
|
1780
|
-
|
1781
|
-
fn type_alias(&mut self, id: TypeId, _name: &str, ty: &Type, docs: &Docs) {
|
1782
|
-
let info = self.info(id);
|
1783
|
-
for (name, mode) in self.modes_of(id) {
|
1784
|
-
self.rustdoc(docs);
|
1785
|
-
self.push_str(&format!("pub type {}", name));
|
1786
|
-
let lt = self.lifetime_for(&info, mode);
|
1787
|
-
self.print_generics(lt);
|
1788
|
-
self.push_str(" = ");
|
1789
|
-
self.print_ty(ty, mode);
|
1790
|
-
self.push_str(";\n");
|
1791
|
-
let def_id = resolve_type_definition_id(self.resolve, id);
|
1792
|
-
if !matches!(self.resolve().types[def_id].kind, TypeDefKind::Resource) {
|
1793
|
-
self.assert_type(id, &name);
|
1794
|
-
}
|
1795
|
-
}
|
1796
|
-
}
|
1797
|
-
|
1798
|
-
fn type_list(&mut self, id: TypeId, _name: &str, ty: &Type, docs: &Docs) {
|
1799
|
-
let info = self.info(id);
|
1800
|
-
for (name, mode) in self.modes_of(id) {
|
1801
|
-
let lt = self.lifetime_for(&info, mode);
|
1802
|
-
self.rustdoc(docs);
|
1803
|
-
self.push_str(&format!("pub type {}", name));
|
1804
|
-
self.print_generics(lt);
|
1805
|
-
self.push_str(" = ");
|
1806
|
-
self.print_list(ty, mode);
|
1807
|
-
self.push_str(";\n");
|
1808
|
-
self.assert_type(id, &name);
|
1809
|
-
}
|
1810
|
-
}
|
1811
|
-
|
1812
|
-
fn print_result_ty(&mut self, results: &Results, mode: TypeMode) {
|
1813
|
-
match results {
|
1814
|
-
Results::Named(rs) => match rs.len() {
|
1815
|
-
0 => self.push_str("()"),
|
1816
|
-
1 => self.print_ty(&rs[0].1, mode),
|
1817
|
-
_ => {
|
1818
|
-
self.push_str("(");
|
1819
|
-
for (i, (_, ty)) in rs.iter().enumerate() {
|
1820
|
-
if i > 0 {
|
1821
|
-
self.push_str(", ")
|
1822
|
-
}
|
1823
|
-
self.print_ty(ty, mode)
|
1824
|
-
}
|
1825
|
-
self.push_str(")");
|
1826
|
-
}
|
1827
|
-
},
|
1828
|
-
Results::Anon(ty) => self.print_ty(ty, mode),
|
1829
|
-
}
|
1830
|
-
}
|
1831
|
-
|
1832
|
-
fn special_case_trappable_error(
|
1833
|
-
&self,
|
1834
|
-
results: &Results,
|
1835
|
-
) -> Option<(&'a Result_, TypeId, String)> {
|
1836
|
-
// We fillin a special trappable error type in the case when a function has just one
|
1837
|
-
// result, which is itself a `result<a, e>`, and the `e` is *not* a primitive
|
1838
|
-
// (i.e. defined in std) type, and matches the typename given by the user.
|
1839
|
-
let mut i = results.iter_types();
|
1840
|
-
let id = match i.next()? {
|
1841
|
-
Type::Id(id) => id,
|
1842
|
-
_ => return None,
|
1843
|
-
};
|
1844
|
-
if i.next().is_some() {
|
1845
|
-
return None;
|
1846
|
-
}
|
1847
|
-
let result = match &self.resolve.types[*id].kind {
|
1848
|
-
TypeDefKind::Result(r) => r,
|
1849
|
-
_ => return None,
|
1850
|
-
};
|
1851
|
-
let error_typeid = match result.err? {
|
1852
|
-
Type::Id(id) => resolve_type_definition_id(&self.resolve, id),
|
1853
|
-
_ => return None,
|
1854
|
-
};
|
1855
|
-
|
1856
|
-
let name = self.gen.trappable_errors.get(&error_typeid)?;
|
1857
|
-
|
1858
|
-
let mut path = self.path_to_root();
|
1859
|
-
uwrite!(path, "{name}");
|
1860
|
-
Some((result, error_typeid, path))
|
1861
|
-
}
|
1862
|
-
|
1863
|
-
fn generate_add_to_linker(&mut self, id: InterfaceId, name: &str) {
|
1864
|
-
let iface = &self.resolve.interfaces[id];
|
1865
|
-
let owner = TypeOwner::Interface(id);
|
1866
|
-
|
1867
|
-
let is_maybe_async = self.gen.opts.async_.maybe_async();
|
1868
|
-
if is_maybe_async {
|
1869
|
-
uwriteln!(self.src, "#[wasmtime::component::__internal::async_trait]")
|
1870
|
-
}
|
1871
|
-
// Generate the `pub trait` which represents the host functionality for
|
1872
|
-
// this import which additionally inherits from all resource traits
|
1873
|
-
// for this interface defined by `type_resource`.
|
1874
|
-
uwrite!(self.src, "pub trait Host");
|
1875
|
-
let mut host_supertraits = vec![];
|
1876
|
-
if is_maybe_async {
|
1877
|
-
host_supertraits.push("Send".to_string());
|
1878
|
-
}
|
1879
|
-
for resource in get_resources(self.resolve, id) {
|
1880
|
-
host_supertraits.push(format!("Host{}", resource.to_upper_camel_case()));
|
1881
|
-
}
|
1882
|
-
if !host_supertraits.is_empty() {
|
1883
|
-
uwrite!(self.src, ": {}", host_supertraits.join(" + "));
|
1884
|
-
}
|
1885
|
-
uwriteln!(self.src, " {{");
|
1886
|
-
for (_, func) in iface.functions.iter() {
|
1887
|
-
match func.kind {
|
1888
|
-
FunctionKind::Freestanding => {}
|
1889
|
-
_ => continue,
|
1890
|
-
}
|
1891
|
-
self.generate_function_trait_sig(func);
|
1892
|
-
self.push_str(";\n");
|
1893
|
-
}
|
1894
|
-
|
1895
|
-
// Generate `convert_*` functions to convert custom trappable errors
|
1896
|
-
// into the representation required by Wasmtime's component API.
|
1897
|
-
let mut required_conversion_traits = IndexSet::new();
|
1898
|
-
let mut errors_converted = IndexMap::new();
|
1899
|
-
let my_error_types = iface
|
1900
|
-
.types
|
1901
|
-
.iter()
|
1902
|
-
.filter(|(_, id)| self.gen.trappable_errors.contains_key(*id))
|
1903
|
-
.map(|(_, id)| *id);
|
1904
|
-
let used_error_types = iface
|
1905
|
-
.functions
|
1906
|
-
.iter()
|
1907
|
-
.filter_map(|(_, func)| self.special_case_trappable_error(&func.results))
|
1908
|
-
.map(|(_, id, _)| id);
|
1909
|
-
let root = self.path_to_root();
|
1910
|
-
for err_id in my_error_types.chain(used_error_types).collect::<Vec<_>>() {
|
1911
|
-
let custom_name = &self.gen.trappable_errors[&err_id];
|
1912
|
-
let err = &self.resolve.types[resolve_type_definition_id(self.resolve, err_id)];
|
1913
|
-
let err_name = err.name.as_ref().unwrap();
|
1914
|
-
let err_snake = err_name.to_snake_case();
|
1915
|
-
let err_camel = err_name.to_upper_camel_case();
|
1916
|
-
let owner = match err.owner {
|
1917
|
-
TypeOwner::Interface(i) => i,
|
1918
|
-
_ => unimplemented!(),
|
1919
|
-
};
|
1920
|
-
match self.path_to_interface(owner) {
|
1921
|
-
Some(path) => {
|
1922
|
-
required_conversion_traits.insert(format!("{path}::Host"));
|
1923
|
-
}
|
1924
|
-
None => {
|
1925
|
-
if errors_converted.insert(err_name, err_id).is_none() {
|
1926
|
-
uwriteln!(
|
1927
|
-
self.src,
|
1928
|
-
"fn convert_{err_snake}(&mut self, err: {root}{custom_name}) -> wasmtime::Result<{err_camel}>;"
|
1929
|
-
);
|
1930
|
-
}
|
1931
|
-
}
|
1932
|
-
}
|
1933
|
-
}
|
1934
|
-
uwriteln!(self.src, "}}");
|
1935
|
-
|
1936
|
-
let (data_bounds, mut host_bounds) = if self.gen.opts.async_.maybe_async() {
|
1937
|
-
("T: Send,", "Host + Send".to_string())
|
1938
|
-
} else {
|
1939
|
-
("", "Host".to_string())
|
1940
|
-
};
|
1941
|
-
for ty in required_conversion_traits {
|
1942
|
-
uwrite!(host_bounds, " + {ty}");
|
1943
|
-
}
|
1944
|
-
|
1945
|
-
uwriteln!(
|
1946
|
-
self.src,
|
1947
|
-
"
|
1948
|
-
pub trait GetHost<T>:
|
1949
|
-
Fn(T) -> <Self as GetHost<T>>::Host
|
1950
|
-
+ Send
|
1951
|
-
+ Sync
|
1952
|
-
+ Copy
|
1953
|
-
+ 'static
|
1954
|
-
{{
|
1955
|
-
type Host: {host_bounds};
|
1956
|
-
}}
|
1957
|
-
|
1958
|
-
impl<F, T, O> GetHost<T> for F
|
1959
|
-
where
|
1960
|
-
F: Fn(T) -> O + Send + Sync + Copy + 'static,
|
1961
|
-
O: {host_bounds},
|
1962
|
-
{{
|
1963
|
-
type Host = O;
|
1964
|
-
}}
|
1965
|
-
|
1966
|
-
pub fn add_to_linker_get_host<T>(
|
1967
|
-
linker: &mut wasmtime::component::Linker<T>,
|
1968
|
-
host_getter: impl for<'a> GetHost<&'a mut T>,
|
1969
|
-
) -> wasmtime::Result<()>
|
1970
|
-
where {data_bounds}
|
1971
|
-
{{
|
1972
|
-
"
|
1973
|
-
);
|
1974
|
-
uwriteln!(self.src, "let mut inst = linker.instance(\"{name}\")?;");
|
1975
|
-
|
1976
|
-
for name in get_resources(self.resolve, id) {
|
1977
|
-
let camel = name.to_upper_camel_case();
|
1978
|
-
uwriteln!(
|
1979
|
-
self.src,
|
1980
|
-
"inst.resource(
|
1981
|
-
\"{name}\",
|
1982
|
-
wasmtime::component::ResourceType::host::<{camel}>(),
|
1983
|
-
move |mut store, rep| -> wasmtime::Result<()> {{
|
1984
|
-
Host{camel}::drop(&mut host_getter(store.data_mut()), wasmtime::component::Resource::new_own(rep))
|
1985
|
-
}},
|
1986
|
-
)?;"
|
1987
|
-
)
|
1988
|
-
}
|
1989
|
-
|
1990
|
-
for (_, func) in iface.functions.iter() {
|
1991
|
-
self.generate_add_function_to_linker(owner, func, "inst");
|
1992
|
-
}
|
1993
|
-
uwriteln!(self.src, "Ok(())");
|
1994
|
-
uwriteln!(self.src, "}}");
|
1995
|
-
|
1996
|
-
if !self.gen.opts.skip_mut_forwarding_impls {
|
1997
|
-
// Generate add_to_linker (with closure)
|
1998
|
-
uwriteln!(
|
1999
|
-
self.src,
|
2000
|
-
"
|
2001
|
-
pub fn add_to_linker<T, U>(
|
2002
|
-
linker: &mut wasmtime::component::Linker<T>,
|
2003
|
-
get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
|
2004
|
-
) -> wasmtime::Result<()>
|
2005
|
-
where
|
2006
|
-
U: {host_bounds}, {data_bounds}
|
2007
|
-
{{
|
2008
|
-
add_to_linker_get_host(linker, get)
|
2009
|
-
}}
|
2010
|
-
"
|
2011
|
-
);
|
2012
|
-
|
2013
|
-
// Generate impl Host for &mut Host
|
2014
|
-
let (async_trait, maybe_send) = if is_maybe_async {
|
2015
|
-
(
|
2016
|
-
"#[wasmtime::component::__internal::async_trait]\n",
|
2017
|
-
"+ Send",
|
2018
|
-
)
|
2019
|
-
} else {
|
2020
|
-
("", "")
|
2021
|
-
};
|
2022
|
-
|
2023
|
-
uwriteln!(
|
2024
|
-
self.src,
|
2025
|
-
"{async_trait}impl<_T: Host + ?Sized {maybe_send}> Host for &mut _T {{"
|
2026
|
-
);
|
2027
|
-
// Forward each method call to &mut T
|
2028
|
-
for (_, func) in iface.functions.iter() {
|
2029
|
-
match func.kind {
|
2030
|
-
FunctionKind::Freestanding => {}
|
2031
|
-
_ => continue,
|
2032
|
-
}
|
2033
|
-
self.generate_function_trait_sig(func);
|
2034
|
-
uwrite!(self.src, "{{ Host::{}(*self,", rust_function_name(func));
|
2035
|
-
for (name, _) in func.params.iter() {
|
2036
|
-
uwrite!(self.src, "{},", to_rust_ident(name));
|
2037
|
-
}
|
2038
|
-
uwrite!(self.src, ")");
|
2039
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
2040
|
-
uwrite!(self.src, ".await");
|
2041
|
-
}
|
2042
|
-
uwriteln!(self.src, "}}");
|
2043
|
-
}
|
2044
|
-
for (err_name, err_id) in errors_converted {
|
2045
|
-
uwriteln!(
|
2046
|
-
self.src,
|
2047
|
-
"fn convert_{err_snake}(&mut self, err: {root}{custom_name}) -> wasmtime::Result<{err_camel}> {{
|
2048
|
-
Host::convert_{err_snake}(*self, err)
|
2049
|
-
}}",
|
2050
|
-
custom_name = self.gen.trappable_errors[&err_id],
|
2051
|
-
err_snake = err_name.to_snake_case(),
|
2052
|
-
err_camel = err_name.to_upper_camel_case(),
|
2053
|
-
);
|
2054
|
-
}
|
2055
|
-
uwriteln!(self.src, "}}");
|
2056
|
-
}
|
2057
|
-
}
|
2058
|
-
|
2059
|
-
fn generate_add_function_to_linker(&mut self, owner: TypeOwner, func: &Function, linker: &str) {
|
2060
|
-
uwrite!(
|
2061
|
-
self.src,
|
2062
|
-
"{linker}.{}(\"{}\", ",
|
2063
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
2064
|
-
"func_wrap_async"
|
2065
|
-
} else {
|
2066
|
-
"func_wrap"
|
2067
|
-
},
|
2068
|
-
func.name
|
2069
|
-
);
|
2070
|
-
self.generate_guest_import_closure(owner, func);
|
2071
|
-
uwriteln!(self.src, ")?;")
|
2072
|
-
}
|
2073
|
-
|
2074
|
-
fn generate_guest_import_closure(&mut self, owner: TypeOwner, func: &Function) {
|
2075
|
-
// Generate the closure that's passed to a `Linker`, the final piece of
|
2076
|
-
// codegen here.
|
2077
|
-
|
2078
|
-
self.src
|
2079
|
-
.push_str("move |mut caller: wasmtime::StoreContextMut<'_, T>, (");
|
2080
|
-
for (i, _param) in func.params.iter().enumerate() {
|
2081
|
-
uwrite!(self.src, "arg{},", i);
|
2082
|
-
}
|
2083
|
-
self.src.push_str(") : (");
|
2084
|
-
|
2085
|
-
for (_, ty) in func.params.iter() {
|
2086
|
-
// Lift is required to be impled for this type, so we can't use
|
2087
|
-
// a borrowed type:
|
2088
|
-
self.print_ty(ty, TypeMode::Owned);
|
2089
|
-
self.src.push_str(", ");
|
2090
|
-
}
|
2091
|
-
self.src.push_str(") |");
|
2092
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
2093
|
-
self.src
|
2094
|
-
.push_str(" wasmtime::component::__internal::Box::new(async move { \n");
|
2095
|
-
} else {
|
2096
|
-
self.src.push_str(" { \n");
|
2097
|
-
}
|
2098
|
-
|
2099
|
-
if self.gen.opts.tracing {
|
2100
|
-
uwrite!(
|
2101
|
-
self.src,
|
2102
|
-
"
|
2103
|
-
let span = tracing::span!(
|
2104
|
-
tracing::Level::TRACE,
|
2105
|
-
\"wit-bindgen import\",
|
2106
|
-
module = \"{}\",
|
2107
|
-
function = \"{}\",
|
2108
|
-
);
|
2109
|
-
let _enter = span.enter();
|
2110
|
-
",
|
2111
|
-
match owner {
|
2112
|
-
TypeOwner::Interface(id) => self.resolve.interfaces[id]
|
2113
|
-
.name
|
2114
|
-
.as_deref()
|
2115
|
-
.unwrap_or("<no module>"),
|
2116
|
-
TypeOwner::World(id) => &self.resolve.worlds[id].name,
|
2117
|
-
TypeOwner::None => "<no owner>",
|
2118
|
-
},
|
2119
|
-
func.name,
|
2120
|
-
);
|
2121
|
-
let mut event_fields = func
|
2122
|
-
.params
|
2123
|
-
.iter()
|
2124
|
-
.enumerate()
|
2125
|
-
.map(|(i, (name, _ty))| {
|
2126
|
-
let name = to_rust_ident(&name);
|
2127
|
-
format!("{name} = tracing::field::debug(&arg{i})")
|
2128
|
-
})
|
2129
|
-
.collect::<Vec<String>>();
|
2130
|
-
event_fields.push(format!("\"call\""));
|
2131
|
-
uwrite!(
|
2132
|
-
self.src,
|
2133
|
-
"tracing::event!(tracing::Level::TRACE, {});\n",
|
2134
|
-
event_fields.join(", ")
|
2135
|
-
);
|
2136
|
-
}
|
2137
|
-
|
2138
|
-
self.src
|
2139
|
-
.push_str("let host = &mut host_getter(caller.data_mut());\n");
|
2140
|
-
let func_name = rust_function_name(func);
|
2141
|
-
let host_trait = match func.kind {
|
2142
|
-
FunctionKind::Freestanding => match owner {
|
2143
|
-
TypeOwner::World(id) => format!(
|
2144
|
-
"{}Imports",
|
2145
|
-
self.resolve.worlds[id].name.to_upper_camel_case()
|
2146
|
-
),
|
2147
|
-
_ => "Host".to_string(),
|
2148
|
-
},
|
2149
|
-
FunctionKind::Method(id) | FunctionKind::Static(id) | FunctionKind::Constructor(id) => {
|
2150
|
-
let resource = self.resolve.types[id]
|
2151
|
-
.name
|
2152
|
-
.as_ref()
|
2153
|
-
.unwrap()
|
2154
|
-
.to_upper_camel_case();
|
2155
|
-
format!("Host{resource}")
|
2156
|
-
}
|
2157
|
-
};
|
2158
|
-
uwrite!(self.src, "let r = {host_trait}::{func_name}(host, ");
|
2159
|
-
|
2160
|
-
for (i, _) in func.params.iter().enumerate() {
|
2161
|
-
uwrite!(self.src, "arg{},", i);
|
2162
|
-
}
|
2163
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
2164
|
-
uwrite!(self.src, ").await;\n");
|
2165
|
-
} else {
|
2166
|
-
uwrite!(self.src, ");\n");
|
2167
|
-
}
|
2168
|
-
|
2169
|
-
if self.gen.opts.tracing {
|
2170
|
-
uwrite!(
|
2171
|
-
self.src,
|
2172
|
-
"tracing::event!(tracing::Level::TRACE, result = tracing::field::debug(&r), \"return\");"
|
2173
|
-
);
|
2174
|
-
}
|
2175
|
-
|
2176
|
-
if !self.gen.opts.trappable_imports.can_trap(&func) {
|
2177
|
-
if func.results.iter_types().len() == 1 {
|
2178
|
-
uwrite!(self.src, "Ok((r,))\n");
|
2179
|
-
} else {
|
2180
|
-
uwrite!(self.src, "Ok(r)\n");
|
2181
|
-
}
|
2182
|
-
} else if let Some((_, err, _)) = self.special_case_trappable_error(&func.results) {
|
2183
|
-
let err = &self.resolve.types[resolve_type_definition_id(self.resolve, err)];
|
2184
|
-
let err_name = err.name.as_ref().unwrap();
|
2185
|
-
let owner = match err.owner {
|
2186
|
-
TypeOwner::Interface(i) => i,
|
2187
|
-
_ => unimplemented!(),
|
2188
|
-
};
|
2189
|
-
let convert_trait = match self.path_to_interface(owner) {
|
2190
|
-
Some(path) => format!("{path}::Host"),
|
2191
|
-
None => format!("Host"),
|
2192
|
-
};
|
2193
|
-
let convert = format!("{}::convert_{}", convert_trait, err_name.to_snake_case());
|
2194
|
-
uwrite!(
|
2195
|
-
self.src,
|
2196
|
-
"Ok((match r {{
|
2197
|
-
Ok(a) => Ok(a),
|
2198
|
-
Err(e) => Err({convert}(host, e)?),
|
2199
|
-
}},))"
|
2200
|
-
);
|
2201
|
-
} else if func.results.iter_types().len() == 1 {
|
2202
|
-
uwrite!(self.src, "Ok((r?,))\n");
|
2203
|
-
} else {
|
2204
|
-
uwrite!(self.src, "r\n");
|
2205
|
-
}
|
2206
|
-
|
2207
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
2208
|
-
// Need to close Box::new and async block
|
2209
|
-
self.src.push_str("})");
|
2210
|
-
} else {
|
2211
|
-
self.src.push_str("}");
|
2212
|
-
}
|
2213
|
-
}
|
2214
|
-
|
2215
|
-
fn generate_function_trait_sig(&mut self, func: &Function) {
|
2216
|
-
self.rustdoc(&func.docs);
|
2217
|
-
|
2218
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
2219
|
-
self.push_str("async ");
|
2220
|
-
}
|
2221
|
-
self.push_str("fn ");
|
2222
|
-
self.push_str(&rust_function_name(func));
|
2223
|
-
self.push_str("(&mut self, ");
|
2224
|
-
for (name, param) in func.params.iter() {
|
2225
|
-
let name = to_rust_ident(name);
|
2226
|
-
self.push_str(&name);
|
2227
|
-
self.push_str(": ");
|
2228
|
-
self.print_ty(param, TypeMode::Owned);
|
2229
|
-
self.push_str(",");
|
2230
|
-
}
|
2231
|
-
self.push_str(")");
|
2232
|
-
self.push_str(" -> ");
|
2233
|
-
|
2234
|
-
if !self.gen.opts.trappable_imports.can_trap(func) {
|
2235
|
-
self.print_result_ty(&func.results, TypeMode::Owned);
|
2236
|
-
} else if let Some((r, _id, error_typename)) =
|
2237
|
-
self.special_case_trappable_error(&func.results)
|
2238
|
-
{
|
2239
|
-
// Functions which have a single result `result<ok,err>` get special
|
2240
|
-
// cased to use the host_wasmtime_rust::Error<err>, making it possible
|
2241
|
-
// for them to trap or use `?` to propogate their errors
|
2242
|
-
self.push_str("Result<");
|
2243
|
-
if let Some(ok) = r.ok {
|
2244
|
-
self.print_ty(&ok, TypeMode::Owned);
|
2245
|
-
} else {
|
2246
|
-
self.push_str("()");
|
2247
|
-
}
|
2248
|
-
self.push_str(",");
|
2249
|
-
self.push_str(&error_typename);
|
2250
|
-
self.push_str(">");
|
2251
|
-
} else {
|
2252
|
-
// All other functions get their return values wrapped in an wasmtime::Result.
|
2253
|
-
// Returning the anyhow::Error case can be used to trap.
|
2254
|
-
self.push_str("wasmtime::Result<");
|
2255
|
-
self.print_result_ty(&func.results, TypeMode::Owned);
|
2256
|
-
self.push_str(">");
|
2257
|
-
}
|
2258
|
-
}
|
2259
|
-
|
2260
|
-
fn extract_typed_function(&mut self, func: &Function) -> (String, String) {
|
2261
|
-
let prev = mem::take(&mut self.src);
|
2262
|
-
let snake = func_field_name(self.resolve, func);
|
2263
|
-
uwrite!(self.src, "*__exports.typed_func::<(");
|
2264
|
-
for (_, ty) in func.params.iter() {
|
2265
|
-
self.print_ty(ty, TypeMode::AllBorrowed("'_"));
|
2266
|
-
self.push_str(", ");
|
2267
|
-
}
|
2268
|
-
self.src.push_str("), (");
|
2269
|
-
for ty in func.results.iter_types() {
|
2270
|
-
self.print_ty(ty, TypeMode::Owned);
|
2271
|
-
self.push_str(", ");
|
2272
|
-
}
|
2273
|
-
self.src.push_str(")>(\"");
|
2274
|
-
self.src.push_str(&func.name);
|
2275
|
-
self.src.push_str("\")?.func()");
|
2276
|
-
|
2277
|
-
let ret = (snake, mem::take(&mut self.src).to_string());
|
2278
|
-
self.src = prev;
|
2279
|
-
ret
|
2280
|
-
}
|
2281
|
-
|
2282
|
-
fn define_rust_guest_export(
|
2283
|
-
&mut self,
|
2284
|
-
resolve: &Resolve,
|
2285
|
-
ns: Option<&WorldKey>,
|
2286
|
-
func: &Function,
|
2287
|
-
) {
|
2288
|
-
// Exports must be async if anything could be async, it's just imports
|
2289
|
-
// that get to be optionally async/sync.
|
2290
|
-
let is_async = self.gen.opts.async_.maybe_async();
|
2291
|
-
|
2292
|
-
let (async_, async__, await_) = if is_async {
|
2293
|
-
("async", "_async", ".await")
|
2294
|
-
} else {
|
2295
|
-
("", "", "")
|
2296
|
-
};
|
2297
|
-
|
2298
|
-
self.rustdoc(&func.docs);
|
2299
|
-
|
2300
|
-
uwrite!(
|
2301
|
-
self.src,
|
2302
|
-
"pub {async_} fn call_{}<S: wasmtime::AsContextMut>(&self, mut store: S, ",
|
2303
|
-
func.item_name().to_snake_case(),
|
2304
|
-
);
|
2305
|
-
|
2306
|
-
for (i, param) in func.params.iter().enumerate() {
|
2307
|
-
uwrite!(self.src, "arg{}: ", i);
|
2308
|
-
self.print_ty(¶m.1, TypeMode::AllBorrowed("'_"));
|
2309
|
-
self.push_str(",");
|
2310
|
-
}
|
2311
|
-
|
2312
|
-
self.src.push_str(") -> wasmtime::Result<");
|
2313
|
-
self.print_result_ty(&func.results, TypeMode::Owned);
|
2314
|
-
|
2315
|
-
if is_async {
|
2316
|
-
self.src
|
2317
|
-
.push_str("> where <S as wasmtime::AsContext>::Data: Send {\n");
|
2318
|
-
} else {
|
2319
|
-
self.src.push_str("> {\n");
|
2320
|
-
}
|
2321
|
-
|
2322
|
-
if self.gen.opts.tracing {
|
2323
|
-
let ns = match ns {
|
2324
|
-
Some(key) => resolve.name_world_key(key),
|
2325
|
-
None => "default".to_string(),
|
2326
|
-
};
|
2327
|
-
self.src.push_str(&format!(
|
2328
|
-
"
|
2329
|
-
let span = tracing::span!(
|
2330
|
-
tracing::Level::TRACE,
|
2331
|
-
\"wit-bindgen export\",
|
2332
|
-
module = \"{ns}\",
|
2333
|
-
function = \"{}\",
|
2334
|
-
);
|
2335
|
-
let _enter = span.enter();
|
2336
|
-
",
|
2337
|
-
func.name,
|
2338
|
-
));
|
2339
|
-
}
|
2340
|
-
|
2341
|
-
self.src.push_str("let callee = unsafe {\n");
|
2342
|
-
self.src.push_str("wasmtime::component::TypedFunc::<(");
|
2343
|
-
for (_, ty) in func.params.iter() {
|
2344
|
-
self.print_ty(ty, TypeMode::AllBorrowed("'_"));
|
2345
|
-
self.push_str(", ");
|
2346
|
-
}
|
2347
|
-
self.src.push_str("), (");
|
2348
|
-
for ty in func.results.iter_types() {
|
2349
|
-
self.print_ty(ty, TypeMode::Owned);
|
2350
|
-
self.push_str(", ");
|
2351
|
-
}
|
2352
|
-
let projection_to_func = match &func.kind {
|
2353
|
-
FunctionKind::Freestanding => "",
|
2354
|
-
_ => ".funcs",
|
2355
|
-
};
|
2356
|
-
uwriteln!(
|
2357
|
-
self.src,
|
2358
|
-
")>::new_unchecked(self{projection_to_func}.{})",
|
2359
|
-
func_field_name(self.resolve, func),
|
2360
|
-
);
|
2361
|
-
self.src.push_str("};\n");
|
2362
|
-
self.src.push_str("let (");
|
2363
|
-
for (i, _) in func.results.iter_types().enumerate() {
|
2364
|
-
uwrite!(self.src, "ret{},", i);
|
2365
|
-
}
|
2366
|
-
uwrite!(
|
2367
|
-
self.src,
|
2368
|
-
") = callee.call{async__}(store.as_context_mut(), ("
|
2369
|
-
);
|
2370
|
-
for (i, _) in func.params.iter().enumerate() {
|
2371
|
-
uwrite!(self.src, "arg{}, ", i);
|
2372
|
-
}
|
2373
|
-
uwriteln!(self.src, ")){await_}?;");
|
2374
|
-
|
2375
|
-
uwriteln!(
|
2376
|
-
self.src,
|
2377
|
-
"callee.post_return{async__}(store.as_context_mut()){await_}?;"
|
2378
|
-
);
|
2379
|
-
|
2380
|
-
self.src.push_str("Ok(");
|
2381
|
-
if func.results.iter_types().len() == 1 {
|
2382
|
-
self.src.push_str("ret0");
|
2383
|
-
} else {
|
2384
|
-
self.src.push_str("(");
|
2385
|
-
for (i, _) in func.results.iter_types().enumerate() {
|
2386
|
-
uwrite!(self.src, "ret{},", i);
|
2387
|
-
}
|
2388
|
-
self.src.push_str(")");
|
2389
|
-
}
|
2390
|
-
self.src.push_str(")\n");
|
2391
|
-
|
2392
|
-
// End function body
|
2393
|
-
self.src.push_str("}\n");
|
2394
|
-
}
|
2395
|
-
|
2396
|
-
fn rustdoc(&mut self, docs: &Docs) {
|
2397
|
-
let docs = match &docs.contents {
|
2398
|
-
Some(docs) => docs,
|
2399
|
-
None => return,
|
2400
|
-
};
|
2401
|
-
for line in docs.trim().lines() {
|
2402
|
-
self.push_str("/// ");
|
2403
|
-
self.push_str(line);
|
2404
|
-
self.push_str("\n");
|
2405
|
-
}
|
2406
|
-
}
|
2407
|
-
|
2408
|
-
fn path_to_root(&self) -> String {
|
2409
|
-
let mut path_to_root = String::new();
|
2410
|
-
if let Some((_, key, is_export)) = self.current_interface {
|
2411
|
-
match key {
|
2412
|
-
WorldKey::Name(_) => {
|
2413
|
-
path_to_root.push_str("super::");
|
2414
|
-
}
|
2415
|
-
WorldKey::Interface(_) => {
|
2416
|
-
path_to_root.push_str("super::super::super::");
|
2417
|
-
}
|
2418
|
-
}
|
2419
|
-
if is_export {
|
2420
|
-
path_to_root.push_str("super::");
|
2421
|
-
}
|
2422
|
-
}
|
2423
|
-
path_to_root
|
2424
|
-
}
|
2425
|
-
}
|
2426
|
-
|
2427
|
-
impl<'a> RustGenerator<'a> for InterfaceGenerator<'a> {
|
2428
|
-
fn resolve(&self) -> &'a Resolve {
|
2429
|
-
self.resolve
|
2430
|
-
}
|
2431
|
-
|
2432
|
-
fn ownership(&self) -> Ownership {
|
2433
|
-
self.gen.opts.ownership
|
2434
|
-
}
|
2435
|
-
|
2436
|
-
fn path_to_interface(&self, interface: InterfaceId) -> Option<String> {
|
2437
|
-
if let Some((cur, _, _)) = self.current_interface {
|
2438
|
-
if cur == interface {
|
2439
|
-
return None;
|
2440
|
-
}
|
2441
|
-
}
|
2442
|
-
let mut path_to_root = self.path_to_root();
|
2443
|
-
match &self.gen.interface_names[&interface] {
|
2444
|
-
InterfaceName::Remapped { name_at_root, .. } => path_to_root.push_str(name_at_root),
|
2445
|
-
InterfaceName::Path(path) => {
|
2446
|
-
for (i, name) in path.iter().enumerate() {
|
2447
|
-
if i > 0 {
|
2448
|
-
path_to_root.push_str("::");
|
2449
|
-
}
|
2450
|
-
path_to_root.push_str(name);
|
2451
|
-
}
|
2452
|
-
}
|
2453
|
-
}
|
2454
|
-
Some(path_to_root)
|
2455
|
-
}
|
2456
|
-
|
2457
|
-
fn push_str(&mut self, s: &str) {
|
2458
|
-
self.src.push_str(s);
|
2459
|
-
}
|
2460
|
-
|
2461
|
-
fn info(&self, ty: TypeId) -> TypeInfo {
|
2462
|
-
self.gen.types.get(ty)
|
2463
|
-
}
|
2464
|
-
|
2465
|
-
fn is_imported_interface(&self, interface: InterfaceId) -> bool {
|
2466
|
-
self.gen.interface_last_seen_as_import[&interface]
|
2467
|
-
}
|
2468
|
-
}
|
2469
|
-
|
2470
|
-
/// When an interface `use`s a type from another interface, it creates a new TypeId
|
2471
|
-
/// referring to the definition TypeId. Chase this chain of references down to
|
2472
|
-
/// a TypeId for type's definition.
|
2473
|
-
fn resolve_type_definition_id(resolve: &Resolve, mut id: TypeId) -> TypeId {
|
2474
|
-
loop {
|
2475
|
-
match resolve.types[id].kind {
|
2476
|
-
TypeDefKind::Type(Type::Id(def_id)) => id = def_id,
|
2477
|
-
_ => return id,
|
2478
|
-
}
|
2479
|
-
}
|
2480
|
-
}
|
2481
|
-
|
2482
|
-
fn rust_function_name(func: &Function) -> String {
|
2483
|
-
match func.kind {
|
2484
|
-
FunctionKind::Method(_) | FunctionKind::Static(_) => to_rust_ident(func.item_name()),
|
2485
|
-
FunctionKind::Constructor(_) => "new".to_string(),
|
2486
|
-
FunctionKind::Freestanding => to_rust_ident(&func.name),
|
2487
|
-
}
|
2488
|
-
}
|
2489
|
-
|
2490
|
-
fn func_field_name(resolve: &Resolve, func: &Function) -> String {
|
2491
|
-
let mut name = String::new();
|
2492
|
-
match func.kind {
|
2493
|
-
FunctionKind::Method(id) => {
|
2494
|
-
name.push_str("method-");
|
2495
|
-
name.push_str(resolve.types[id].name.as_ref().unwrap());
|
2496
|
-
name.push_str("-");
|
2497
|
-
}
|
2498
|
-
FunctionKind::Static(id) => {
|
2499
|
-
name.push_str("static-");
|
2500
|
-
name.push_str(resolve.types[id].name.as_ref().unwrap());
|
2501
|
-
name.push_str("-");
|
2502
|
-
}
|
2503
|
-
FunctionKind::Constructor(id) => {
|
2504
|
-
name.push_str("constructor-");
|
2505
|
-
name.push_str(resolve.types[id].name.as_ref().unwrap());
|
2506
|
-
name.push_str("-");
|
2507
|
-
}
|
2508
|
-
FunctionKind::Freestanding => {}
|
2509
|
-
}
|
2510
|
-
name.push_str(func.item_name());
|
2511
|
-
name.to_snake_case()
|
2512
|
-
}
|
2513
|
-
|
2514
|
-
fn get_resources<'a>(resolve: &'a Resolve, id: InterfaceId) -> impl Iterator<Item = &'a str> + 'a {
|
2515
|
-
resolve.interfaces[id]
|
2516
|
-
.types
|
2517
|
-
.iter()
|
2518
|
-
.filter_map(move |(name, ty)| match resolve.types[*ty].kind {
|
2519
|
-
TypeDefKind::Resource => Some(name.as_str()),
|
2520
|
-
_ => None,
|
2521
|
-
})
|
2522
|
-
}
|
2523
|
-
|
2524
|
-
fn get_world_resources<'a>(
|
2525
|
-
resolve: &'a Resolve,
|
2526
|
-
id: WorldId,
|
2527
|
-
) -> impl Iterator<Item = &'a str> + 'a {
|
2528
|
-
resolve.worlds[id]
|
2529
|
-
.imports
|
2530
|
-
.iter()
|
2531
|
-
.filter_map(move |(name, item)| match item {
|
2532
|
-
WorldItem::Type(id) => match resolve.types[*id].kind {
|
2533
|
-
TypeDefKind::Resource => Some(match name {
|
2534
|
-
WorldKey::Name(s) => s.as_str(),
|
2535
|
-
WorldKey::Interface(_) => unreachable!(),
|
2536
|
-
}),
|
2537
|
-
_ => None,
|
2538
|
-
},
|
2539
|
-
_ => None,
|
2540
|
-
})
|
2541
|
-
}
|