wasmtime 19.0.2 → 20.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 +116 -120
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/anyhow-1.0.83/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/anyhow-1.0.83/Cargo.toml +130 -0
- data/ext/cargo-vendor/anyhow-1.0.83/README.md +181 -0
- data/ext/cargo-vendor/anyhow-1.0.83/build.rs +179 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/backtrace.rs +406 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/chain.rs +102 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/fmt.rs +158 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/kind.rs +121 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/lib.rs +702 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/macros.rs +241 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/wrapper.rs +84 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_ensure.rs +724 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_macros.rs +81 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_repr.rs +30 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/ui/no-impl.stderr +32 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +178 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +396 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +403 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/bitset.rs +187 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +386 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +838 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/inst_predicates.rs +236 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/constant.rs +462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/dfg.rs +1777 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/entities.rs +562 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/function.rs +490 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +1019 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/memflags.rs +452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/mod.rs +108 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/trapcode.rs +149 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/types.rs +629 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +1707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +3932 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +3083 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +4218 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +884 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower.isle +2933 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/mod.rs +242 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +565 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/call_conv.rs +127 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +1109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +1968 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +3466 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/encode.rs +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +2944 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +625 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +2872 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +1047 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +347 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +3646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst.isle +5033 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/lower.isle +3995 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +1369 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/evex.rs +748 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/rex.rs +596 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/vex.rs +491 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +2289 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +4383 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_state.rs +74 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +2798 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +5304 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +1066 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +4809 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +339 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/mod.rs +234 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +1003 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/legalizer/mod.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +2594 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/buffer.rs +2512 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/inst_common.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +914 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +1452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +555 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/pcc.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +1807 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/cprop.isle +281 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/spectre.isle +14 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts.rs +295 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/prelude.isle +646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/result.rs +111 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/verifier/mod.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/write.rs +631 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/entities.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/formats.rs +205 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/instructions.rs +3791 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +69 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +45 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +107 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +3683 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +912 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/mod.rs +8 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +945 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/func_translator.rs +296 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/lib.rs +58 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/state.rs +522 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/table.rs +104 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +48 -0
- data/ext/cargo-vendor/mach2-0.4.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/mach2-0.4.2/Cargo.toml +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-BSD +23 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/mach2-0.4.2/README.md +116 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/exc.rs +73 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/kern_return.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/lib.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/mach_port.rs +50 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/message.rs +345 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/ndr.rs +19 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/port.rs +67 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/semaphore.rs +22 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/structs.rs +66 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/sync_policy.rs +9 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task.rs +46 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task_info.rs +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_act.rs +36 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_policy.rs +121 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_status.rs +53 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/traps.rs +37 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm.rs +248 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_attributes.rs +18 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_page_size.rs +40 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_prot.rs +13 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_purgable.rs +42 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_region.rs +238 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_statistics.rs +58 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_sync.rs +11 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_types.rs +19 -0
- data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +797 -0
- data/ext/cargo-vendor/object-0.33.0/Cargo.toml +179 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/object-0.33.0/README.md +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/archive.rs +91 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +141 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +3033 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/error.rs +41 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/mod.rs +18 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/table.rs +128 -0
- data/ext/cargo-vendor/object-0.33.0/src/common.rs +568 -0
- data/ext/cargo-vendor/object-0.33.0/src/elf.rs +6291 -0
- data/ext/cargo-vendor/object-0.33.0/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.33.0/src/lib.rs +107 -0
- data/ext/cargo-vendor/object-0.33.0/src/macho.rs +3309 -0
- data/ext/cargo-vendor/object-0.33.0/src/pe.rs +3056 -0
- data/ext/cargo-vendor/object-0.33.0/src/pod.rs +239 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +1328 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +759 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +211 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +383 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/import.rs +223 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/mod.rs +66 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +108 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +585 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +635 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +306 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +162 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/compression.rs +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/dynamic.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +918 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +224 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/mod.rs +78 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +271 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +629 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +1150 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +356 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +595 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +424 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +345 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/fat.rs +140 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +783 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +386 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/mod.rs +72 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/relocation.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +389 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +303 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +492 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +880 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/data_directory.rs +214 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/export.rs +334 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +1053 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +339 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/mod.rs +68 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/resource.rs +210 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/rich.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +440 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +213 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_ref.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +551 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/util.rs +425 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +966 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/comdat.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +697 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/mod.rs +63 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +433 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/segment.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +784 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/mod.rs +10 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +678 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +518 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/mod.rs +9 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +885 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +2309 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +1107 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +990 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +847 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/string.rs +186 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/util.rs +261 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +589 -0
- data/ext/cargo-vendor/object-0.33.0/src/xcoff.rs +905 -0
- data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +2 -0
- data/ext/cargo-vendor/object-0.33.0/tests/parse_self.rs +25 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/coff.rs +23 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/elf.rs +47 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +4 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +255 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/coff.rs +58 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +225 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +245 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +289 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/macho.rs +64 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +704 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +90 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +316 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/Cargo.toml +220 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/lib.rs +193 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/snapshots/preview_1.rs +1497 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/async_.rs +293 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/sync.rs +279 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/builder.rs +455 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/exports.rs +124 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/imports.rs +175 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/code.rs +3595 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/elements.rs +221 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/exports.rs +98 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/globals.rs +112 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/imports.rs +157 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/memories.rs +128 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/names.rs +298 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/producers.rs +181 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tables.rs +134 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tags.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +744 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +66 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +549 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +4076 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +4449 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +45 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +3202 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +1131 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +279 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/Cargo.toml +268 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/code_builder.rs +201 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile.rs +897 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/config.rs +2695 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine/serialization.rs +849 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine.rs +741 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/lib.rs +303 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/code_memory.rs +335 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/component.rs +661 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/host.rs +439 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/options.rs +554 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/typed.rs +2484 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func.rs +747 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/instance.rs +804 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/linker.rs +786 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/mod.rs +756 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/resources.rs +1133 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/types.rs +892 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/values.rs +978 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/coredump.rs +336 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/global.rs +300 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func/typed.rs +898 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func.rs +2633 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/anyref.rs +46 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/externref.rs +50 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/i31.rs +14 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/rooting.rs +222 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled.rs +17 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/anyref.rs +472 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/externref.rs +644 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/i31.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/rooting.rs +1543 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled.rs +12 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc.rs +87 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instantiate.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/linker.rs +1521 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/memory.rs +999 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module/registry.rs +354 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/profiling.rs +224 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store/data.rs +289 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store.rs +2796 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/func.rs +138 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/global.rs +68 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/memory.rs +286 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/table.rs +34 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trap.rs +641 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/type_registry.rs +632 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types/matching.rs +367 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types.rs +1378 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/v128.rs +131 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/values.rs +945 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime.rs +112 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/dead-code.wit +27 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen.rs +342 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/Cargo.toml +114 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/builder.rs +127 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiled_function.rs +225 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler/component.rs +962 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler.rs +1369 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/address_transform.rs +783 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/func_environ.rs +2672 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/disabled.rs +116 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/enabled.rs +649 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc.rs +198 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/lib.rs +505 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/obj.rs +545 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.lock +782 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.toml +144 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/address_map.rs +125 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/builtin.rs +184 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/address_map.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/mod.rs +389 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/module_artifacts.rs +300 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/trap_encoding.rs +69 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/artifacts.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/compiler.rs +19 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/adapt.rs +459 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/inline.rs +1332 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/types.rs +1972 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component.rs +103 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/trampoline.rs +3233 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/transcode.rs +89 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact.rs +711 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/gc.rs +60 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/lib.rs +70 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module.rs +780 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_artifacts.rs +145 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_environ.rs +1288 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/obj.rs +173 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/trap_encoding.rs +188 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/tunables.rs +158 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/vmoffsets.rs +952 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/Cargo.toml +147 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/build.rs +24 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/aarch64.rs +76 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/riscv64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.S +70 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.rs +34 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/x86_64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/async_yield.rs +35 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component.rs +860 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/drc.rs +963 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/externref.rs +115 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/free_list.rs +767 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled.rs +18 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_ref.rs +486 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_runtime.rs +503 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/host_data.rs +81 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/i31.rs +86 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc.rs +244 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/on_demand.rs +217 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/gc_heap_pool.rs +92 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/table_pool.rs +231 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling.rs +699 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator.rs +780 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance.rs +1566 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/lib.rs +289 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/libcalls.rs +777 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/memory.rs +751 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/send_sync_ptr.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/mmap.rs +111 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/traphandlers.rs +55 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/miri/mmap.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/machports.rs +416 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/mmap.rs +151 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/signals.rs +401 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/windows/traphandlers.rs +104 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/table.rs +851 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/mod.rs +12 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory.rs +230 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory_disabled.rs +100 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_disabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_enabled.rs +40 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers.rs +785 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/vmcontext.rs +1293 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/src/lib.rs +493 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +832 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/Cargo.toml +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/bindings.rs +283 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ctx.rs +659 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/filesystem.rs +433 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem/sync.rs +518 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem.rs +1079 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/io.rs +367 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/network.rs +539 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/tcp.rs +306 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ip_name_lookup.rs +126 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/lib.rs +404 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/network.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/pipe.rs +826 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/poll.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview0.rs +879 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview1.rs +2601 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio/worker_thread_stdin.rs +177 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio.rs +507 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/tcp.rs +847 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/udp.rs +125 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/write_stream.rs +203 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/api.rs +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/preview1.rs +251 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/sync.rs +333 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/wit/deps/io/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/builder.rs +85 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/compiler.rs +257 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/lib.rs +2213 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/rust.rs +421 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/types.rs +202 -0
- data/ext/cargo-vendor/wast-208.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-208.0.1/Cargo.toml +60 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/binary.rs +1000 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/resolve.rs +1007 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/types.rs +999 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/wast.rs +160 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/binary.rs +1396 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/expr.rs +2016 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/func.rs +136 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/memory.rs +284 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/deinline_import_export.rs +235 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/names.rs +751 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/types.rs +267 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/table.rs +302 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/types.rs +901 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/wast.rs +256 -0
- data/ext/cargo-vendor/wast-208.0.1/src/lib.rs +551 -0
- data/ext/cargo-vendor/wast-208.0.1/src/names.rs +67 -0
- data/ext/cargo-vendor/wast-208.0.1/src/parser.rs +1377 -0
- data/ext/cargo-vendor/wast-208.0.1/src/token.rs +737 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wast.rs +459 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wat.rs +71 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/annotations.rs +200 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/parse-fail.rs +80 -0
- data/ext/cargo-vendor/wat-1.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.208.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wiggle-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-20.0.0/Cargo.toml +122 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/borrow.rs +113 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/guest_type.rs +237 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/lib.rs +1184 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/wasmtime.rs +97 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/abi/mod.rs +671 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/bounds.rs +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/builtin.rs +263 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/call.rs +413 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/env.rs +435 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/mod.rs +756 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/abi.rs +291 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/asm.rs +252 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/masm.rs +573 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/mod.rs +154 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/regs.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/mod.rs +223 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/abi.rs +517 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/masm.rs +1256 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/mod.rs +169 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/lib.rs +19 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/masm.rs +947 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/visitor.rs +2149 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/abi.rs +309 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/lex.rs +747 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +1443 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast.rs +1348 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +1764 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +765 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +2240 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/serde_.rs +108 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/sizealign.rs +179 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/all.rs +153 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit.json +166 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit +20 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit.json +281 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit +60 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit.json +774 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/wasi.wit +178 -0
- data/ext/src/ruby_api/convert.rs +15 -7
- data/ext/src/ruby_api/func.rs +2 -2
- data/ext/src/ruby_api/global.rs +2 -2
- data/ext/src/ruby_api/params.rs +5 -5
- data/ext/src/ruby_api/table.rs +3 -3
- data/lib/wasmtime/version.rb +1 -1
- metadata +1737 -1630
- data/ext/cargo-vendor/anyhow-1.0.79/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/anyhow-1.0.79/Cargo.toml +0 -67
- data/ext/cargo-vendor/anyhow-1.0.79/README.md +0 -179
- data/ext/cargo-vendor/anyhow-1.0.79/build.rs +0 -167
- data/ext/cargo-vendor/anyhow-1.0.79/src/backtrace.rs +0 -405
- data/ext/cargo-vendor/anyhow-1.0.79/src/chain.rs +0 -102
- data/ext/cargo-vendor/anyhow-1.0.79/src/fmt.rs +0 -156
- data/ext/cargo-vendor/anyhow-1.0.79/src/kind.rs +0 -119
- data/ext/cargo-vendor/anyhow-1.0.79/src/lib.rs +0 -698
- data/ext/cargo-vendor/anyhow-1.0.79/src/macros.rs +0 -231
- data/ext/cargo-vendor/anyhow-1.0.79/src/wrapper.rs +0 -81
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_ensure.rs +0 -722
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_macros.rs +0 -80
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_repr.rs +0 -31
- data/ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/Cargo.toml +0 -175
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/build.rs +0 -395
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/alias_analysis.rs +0 -409
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/bitset.rs +0 -165
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/context.rs +0 -384
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph/elaborate.rs +0 -836
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph.rs +0 -702
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/inst_predicates.rs +0 -217
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/constant.rs +0 -462
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/dfg.rs +0 -1734
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/entities.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/function.rs +0 -500
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/instructions.rs +0 -1000
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/memflags.rs +0 -310
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/mod.rs +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/table.rs +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/trapcode.rs +0 -144
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/types.rs +0 -629
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/abi.rs +0 -1707
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/emit.rs +0 -3958
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/mod.rs +0 -3082
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst.isle +0 -4197
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower/isle.rs +0 -879
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower.isle +0 -2917
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/mod.rs +0 -241
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/pcc.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/call_conv.rs +0 -119
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/abi.rs +0 -1097
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/args.rs +0 -1974
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/emit.rs +0 -3485
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/encode.rs +0 -654
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst.isle +0 -2928
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower/isle.rs +0 -620
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower.isle +0 -2864
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/abi.rs +0 -1041
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/args.rs +0 -355
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/emit.rs +0 -3663
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst.isle +0 -5031
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/lower.isle +0 -3979
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/abi.rs +0 -1303
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/evex.rs +0 -749
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/rex.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/vex.rs +0 -492
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/args.rs +0 -2269
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit.rs +0 -4390
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit_state.rs +0 -72
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/mod.rs +0 -2852
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst.isle +0 -5232
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower/isle.rs +0 -1065
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.isle +0 -4770
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.rs +0 -353
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/mod.rs +0 -233
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/pcc.rs +0 -939
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/mod.rs +0 -356
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/table.rs +0 -114
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/abi.rs +0 -2657
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/buffer.rs +0 -2509
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/inst_common.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/isle.rs +0 -914
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/lower.rs +0 -1443
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/mod.rs +0 -558
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/pcc.rs +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/vcode.rs +0 -1809
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/nan_canonicalization.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts/cprop.isle +0 -266
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts.rs +0 -284
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/prelude.isle +0 -641
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/result.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/settings.rs +0 -602
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/verifier/mod.rs +0 -2033
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/write.rs +0 -647
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/entities.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/formats.rs +0 -213
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/instructions.rs +0 -3810
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.106.2/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.106.2/Cargo.toml +0 -50
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/Cargo.toml +0 -68
- data/ext/cargo-vendor/cranelift-isle-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.106.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-native-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.106.2/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/Cargo.toml +0 -106
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/code_translator.rs +0 -3680
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/dummy.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/mod.rs +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/spec.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/func_translator.rs +0 -432
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/lib.rs +0 -62
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/state.rs +0 -542
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/tests/wasm_testsuite.rs +0 -153
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/arith.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/br_table.wat +0 -30
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call-simd.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fannkuch.wat +0 -12180
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fasta.wat +0 -12056
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_ifs.wat +0 -11505
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_primes.wat +0 -11185
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fac-multi-value.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fibonacci.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/globals.wat +0 -8
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall-simd.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-1.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-2.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-3.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-4.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-5.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-6.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params-2.wat +0 -18
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params.wat +0 -41
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/memory.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-0.wat +0 -3
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-1.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-10.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-11.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-12.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-13.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-14.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-15.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-16.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-17.wat +0 -26
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-2.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-3.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-4.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-5.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-6.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-7.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-8.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-9.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/nullref.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/passive-data.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2303.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2559.wat +0 -51
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/ref-func-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/rust_fannkuch.wat +0 -1723
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/select.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd-store.wat +0 -83
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd.wat +0 -29
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/table-copy.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/unreachable_code.wat +0 -77
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/Cargo.toml +0 -49
- data/ext/cargo-vendor/mach-0.3.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/mach-0.3.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/mach-0.3.2/LICENSE.md +0 -23
- data/ext/cargo-vendor/mach-0.3.2/README.md +0 -55
- data/ext/cargo-vendor/mach-0.3.2/ci/build_fail.sh +0 -7
- data/ext/cargo-vendor/mach-0.3.2/ci/deploy_and_run_on_ios_simulator.rs +0 -175
- data/ext/cargo-vendor/mach-0.3.2/ci/run.sh +0 -57
- data/ext/cargo-vendor/mach-0.3.2/examples/dump_process_registers.rs +0 -136
- data/ext/cargo-vendor/mach-0.3.2/src/exc.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/kern_return.rs +0 -58
- data/ext/cargo-vendor/mach-0.3.2/src/lib.rs +0 -60
- data/ext/cargo-vendor/mach-0.3.2/src/mach_port.rs +0 -29
- data/ext/cargo-vendor/mach-0.3.2/src/message.rs +0 -248
- data/ext/cargo-vendor/mach-0.3.2/src/port.rs +0 -26
- data/ext/cargo-vendor/mach-0.3.2/src/structs.rs +0 -62
- data/ext/cargo-vendor/mach-0.3.2/src/task.rs +0 -41
- data/ext/cargo-vendor/mach-0.3.2/src/task_info.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/thread_act.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/thread_status.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/traps.rs +0 -35
- data/ext/cargo-vendor/mach-0.3.2/src/vm.rs +0 -247
- data/ext/cargo-vendor/mach-0.3.2/src/vm_attributes.rs +0 -18
- data/ext/cargo-vendor/mach-0.3.2/src/vm_page_size.rs +0 -33
- data/ext/cargo-vendor/mach-0.3.2/src/vm_prot.rs +0 -14
- data/ext/cargo-vendor/mach-0.3.2/src/vm_purgable.rs +0 -42
- data/ext/cargo-vendor/mach-0.3.2/src/vm_region.rs +0 -238
- data/ext/cargo-vendor/mach-0.3.2/src/vm_statistics.rs +0 -78
- data/ext/cargo-vendor/mach-0.3.2/src/vm_sync.rs +0 -11
- data/ext/cargo-vendor/mach-0.3.2/src/vm_types.rs +0 -19
- data/ext/cargo-vendor/wasi-common-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-19.0.2/Cargo.toml +0 -221
- data/ext/cargo-vendor/wasi-common-19.0.2/src/ctx.rs +0 -128
- data/ext/cargo-vendor/wasi-common-19.0.2/src/lib.rs +0 -189
- data/ext/cargo-vendor/wasi-common-19.0.2/src/snapshots/preview_1.rs +0 -1491
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/async_.rs +0 -289
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/sync.rs +0 -275
- data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasmparser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.lock +0 -744
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmparser-0.201.0/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/operators.rs +0 -4074
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/types.rs +0 -4449
- data/ext/cargo-vendor/wasmprinter-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.201.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/lib.rs +0 -3143
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/operator.rs +0 -1110
- data/ext/cargo-vendor/wasmprinter-0.201.0/tests/all.rs +0 -279
- data/ext/cargo-vendor/wasmtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-19.0.2/Cargo.toml +0 -261
- data/ext/cargo-vendor/wasmtime-19.0.2/src/compile.rs +0 -835
- data/ext/cargo-vendor/wasmtime-19.0.2/src/config.rs +0 -2649
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine/serialization.rs +0 -809
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine.rs +0 -735
- data/ext/cargo-vendor/wasmtime-19.0.2/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/code_memory.rs +0 -335
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/component.rs +0 -586
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/host.rs +0 -456
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/options.rs +0 -541
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/typed.rs +0 -2484
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func.rs +0 -752
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/instance.rs +0 -818
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/linker.rs +0 -788
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/matching.rs +0 -212
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/mod.rs +0 -678
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/resources.rs +0 -1169
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/types.rs +0 -961
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/values.rs +0 -1388
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/coredump.rs +0 -321
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/global.rs +0 -249
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/table.rs +0 -416
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func/typed.rs +0 -985
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func.rs +0 -2585
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instance.rs +0 -981
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instantiate.rs +0 -423
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/linker.rs +0 -1518
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/memory.rs +0 -997
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module/registry.rs +0 -360
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module.rs +0 -1367
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/profiling.rs +0 -222
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/gc_ref.rs +0 -110
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/no_gc_ref.rs +0 -60
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref.rs +0 -9
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store/data.rs +0 -289
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store.rs +0 -2445
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/func.rs +0 -144
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/global.rs +0 -70
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/memory.rs +0 -268
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/table.rs +0 -20
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trap.rs +0 -641
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/type_registry.rs +0 -640
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types/matching.rs +0 -334
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types.rs +0 -1236
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/values.rs +0 -771
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime.rs +0 -112
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/tests/codegen.rs +0 -191
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/builder.rs +0 -127
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler/component.rs +0 -960
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler.rs +0 -1316
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/address_transform.rs +0 -784
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/expression.rs +0 -1252
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/func_environ.rs +0 -2846
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/lib.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/Cargo.toml +0 -71
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/compiled_function.rs +0 -231
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/lib.rs +0 -130
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/obj.rs +0 -564
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.lock +0 -782
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.toml +0 -141
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/address_map.rs +0 -191
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/builtin.rs +0 -155
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/artifacts.rs +0 -45
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/info.rs +0 -594
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/adapt.rs +0 -457
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/inline.rs +0 -1332
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/types.rs +0 -1933
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component.rs +0 -97
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/trampoline.rs +0 -3229
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact.rs +0 -713
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/lib.rs +0 -66
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module.rs +0 -1117
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_artifacts.rs +0 -377
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_environ.rs +0 -903
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/obj.rs +0 -172
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/trap_encoding.rs +0 -245
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/tunables.rs +0 -154
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/vmoffsets.rs +0 -918
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/Cargo.toml +0 -140
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/build.rs +0 -28
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/aarch64.rs +0 -120
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/riscv64.rs +0 -88
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.S +0 -70
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.rs +0 -61
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/x86_64.rs +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component/libcalls.rs +0 -572
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component.rs +0 -864
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/export.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/gc.rs +0 -1058
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/no_gc.rs +0 -125
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref.rs +0 -24
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/on_demand.rs +0 -196
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling/table_pool.rs +0 -227
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling.rs +0 -658
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator.rs +0 -730
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance.rs +0 -1527
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/lib.rs +0 -264
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/libcalls.rs +0 -776
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/memory.rs +0 -972
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/send_sync_ptr.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/mmap.rs +0 -111
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/traphandlers.rs +0 -51
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/miri/mmap.rs +0 -94
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/machports.rs +0 -488
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/mmap.rs +0 -151
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/signals.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/windows/traphandlers.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/table.rs +0 -643
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers/coredump.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers.rs +0 -736
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/vmcontext.rs +0 -1215
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/src/lib.rs +0 -450
- data/ext/cargo-vendor/wasmtime-types-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-19.0.2/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-19.0.2/src/lib.rs +0 -640
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/Cargo.toml +0 -194
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/command.rs +0 -122
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ctx.rs +0 -353
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/filesystem.rs +0 -373
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem/sync.rs +0 -517
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem.rs +0 -1081
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/io.rs +0 -366
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/network.rs +0 -519
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/tcp.rs +0 -677
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ip_name_lookup.rs +0 -123
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/lib.rs +0 -323
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/network.rs +0 -108
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/p1ctx.rs +0 -37
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/poll.rs +0 -179
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview0.rs +0 -872
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview1.rs +0 -2361
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio/worker_thread_stdin.rs +0 -173
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio.rs +0 -443
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/tcp.rs +0 -350
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/udp.rs +0 -125
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/write_stream.rs +0 -203
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/api.rs +0 -210
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/async_.rs +0 -380
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/main.rs +0 -106
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/preview1.rs +0 -243
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/sync.rs +0 -315
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/wit/deps/io/poll.wit +0 -42
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/builder.rs +0 -65
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/compiler.rs +0 -283
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/Cargo.toml +0 -41
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/lib.rs +0 -2104
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/rust.rs +0 -421
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/types.rs +0 -194
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/src/lib.rs +0 -404
- data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +0 -59
- data/ext/cargo-vendor/wast-201.0.0/src/component/binary.rs +0 -1004
- data/ext/cargo-vendor/wast-201.0.0/src/component/resolve.rs +0 -1006
- data/ext/cargo-vendor/wast-201.0.0/src/component/types.rs +0 -991
- data/ext/cargo-vendor/wast-201.0.0/src/component/wast.rs +0 -160
- data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +0 -1365
- data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +0 -1993
- data/ext/cargo-vendor/wast-201.0.0/src/core/func.rs +0 -136
- data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +0 -281
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +0 -233
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +0 -763
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/types.rs +0 -271
- data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +0 -289
- data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +0 -861
- data/ext/cargo-vendor/wast-201.0.0/src/core/wast.rs +0 -256
- data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +0 -542
- data/ext/cargo-vendor/wast-201.0.0/src/names.rs +0 -89
- data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +0 -1374
- data/ext/cargo-vendor/wast-201.0.0/src/token.rs +0 -718
- data/ext/cargo-vendor/wast-201.0.0/src/wast.rs +0 -420
- data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +0 -63
- data/ext/cargo-vendor/wast-201.0.0/tests/annotations.rs +0 -200
- data/ext/cargo-vendor/wast-201.0.0/tests/parse-fail.rs +0 -98
- data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +0 -33
- data/ext/cargo-vendor/wiggle-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-19.0.2/Cargo.toml +0 -122
- data/ext/cargo-vendor/wiggle-19.0.2/src/borrow.rs +0 -259
- data/ext/cargo-vendor/wiggle-19.0.2/src/guest_type.rs +0 -237
- data/ext/cargo-vendor/wiggle-19.0.2/src/lib.rs +0 -1199
- data/ext/cargo-vendor/wiggle-19.0.2/src/wasmtime.rs +0 -101
- data/ext/cargo-vendor/wiggle-generate-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-19.0.2/Cargo.toml +0 -65
- data/ext/cargo-vendor/wiggle-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-19.0.2/Cargo.toml +0 -55
- data/ext/cargo-vendor/winch-codegen-0.17.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.17.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/abi/mod.rs +0 -737
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/bounds.rs +0 -220
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/builtin.rs +0 -272
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/call.rs +0 -413
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/env.rs +0 -399
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/mod.rs +0 -672
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/abi.rs +0 -309
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/asm.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/masm.rs +0 -557
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/mod.rs +0 -152
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/regs.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/mod.rs +0 -232
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/abi.rs +0 -543
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/asm.rs +0 -1418
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/masm.rs +0 -1300
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/mod.rs +0 -192
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/lib.rs +0 -21
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/masm.rs +0 -955
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/trampoline.rs +0 -626
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/visitor.rs +0 -2101
- data/ext/cargo-vendor/wit-parser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.201.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wit-parser-0.201.0/src/abi.rs +0 -295
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/lex.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/resolve.rs +0 -1427
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast.rs +0 -1348
- data/ext/cargo-vendor/wit-parser-0.201.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.201.0/src/lib.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/resolve.rs +0 -2239
- data/ext/cargo-vendor/wit-parser-0.201.0/src/serde_.rs +0 -108
- data/ext/cargo-vendor/wit-parser-0.201.0/src/sizealign.rs +0 -144
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/all.rs +0 -185
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit +0 -14
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit.json +0 -166
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit.json +0 -281
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit +0 -60
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit.json +0 -774
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit.json +0 -72
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/wasi.wit +0 -178
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/build/probe.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/rust-toolchain.toml +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ptr.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/compiletest.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/drop/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_autotrait.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_backtrace.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_boxed.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_chain.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_convert.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_downcast.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_ffi.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_fmt.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_source.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/no-impl.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.stderr +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isle_prelude.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/boolean.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/bootstrap.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_priv.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_reply.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/dyld_kernel.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/exception_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_init.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_time.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/memory_object_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_behavior.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_inherit.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasm-encoder-0.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmparser-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core/canonical.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmprinter-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmprinter-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-19.0.2 → wasmtime-asm-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cache-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-19.0.2 → wasmtime-component-util-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-cranelift-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-19.0.2 → wasmtime-cranelift-20.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-environ-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-fiber-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-runtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/memory_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2/src → wasmtime-runtime-20.0.0/src/threads}/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-types-20.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-types-20.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-19.0.2 → wasmtime-versioned-export-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wasmtime-wasi-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-19.0.2 → wasmtime-wit-bindgen-20.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wast-208.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/expand.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wat-1.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-generate-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/context.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/docs.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,2240 @@
|
|
1
|
+
use crate::ast::lex::Span;
|
2
|
+
use crate::ast::{parse_use_path, AstUsePath};
|
3
|
+
#[cfg(feature = "serde")]
|
4
|
+
use crate::serde_::{serialize_arena, serialize_id_map};
|
5
|
+
use crate::{
|
6
|
+
AstItem, Docs, Error, Function, FunctionKind, Handle, IncludeName, Interface, InterfaceId,
|
7
|
+
PackageName, Results, Type, TypeDef, TypeDefKind, TypeId, TypeOwner, UnresolvedPackage, World,
|
8
|
+
WorldId, WorldItem, WorldKey,
|
9
|
+
};
|
10
|
+
use anyhow::{anyhow, bail, Context, Result};
|
11
|
+
use id_arena::{Arena, Id};
|
12
|
+
use indexmap::{IndexMap, IndexSet};
|
13
|
+
#[cfg(feature = "serde")]
|
14
|
+
use serde_derive::Serialize;
|
15
|
+
use std::collections::{BTreeMap, HashMap, HashSet};
|
16
|
+
use std::mem;
|
17
|
+
use std::path::{Path, PathBuf};
|
18
|
+
|
19
|
+
/// Representation of a fully resolved set of WIT packages.
|
20
|
+
///
|
21
|
+
/// This structure contains a graph of WIT packages and all of their contents
|
22
|
+
/// merged together into the contained arenas. All items are sorted
|
23
|
+
/// topologically and everything here is fully resolved, so with a `Resolve` no
|
24
|
+
/// name lookups are necessary and instead everything is index-based.
|
25
|
+
///
|
26
|
+
/// Working with a WIT package requires inserting it into a `Resolve` to ensure
|
27
|
+
/// that all of its dependencies are satisfied. This will give the full picture
|
28
|
+
/// of that package's types and such.
|
29
|
+
///
|
30
|
+
/// Each item in a `Resolve` has a parent link to trace it back to the original
|
31
|
+
/// package as necessary.
|
32
|
+
#[derive(Default, Clone, Debug)]
|
33
|
+
#[cfg_attr(feature = "serde", derive(Serialize))]
|
34
|
+
pub struct Resolve {
|
35
|
+
/// All knowns worlds within this `Resolve`.
|
36
|
+
///
|
37
|
+
/// Each world points at a `PackageId` which is stored below. No ordering is
|
38
|
+
/// guaranteed between this list of worlds.
|
39
|
+
#[cfg_attr(feature = "serde", serde(serialize_with = "serialize_arena"))]
|
40
|
+
pub worlds: Arena<World>,
|
41
|
+
|
42
|
+
/// All knowns interfaces within this `Resolve`.
|
43
|
+
///
|
44
|
+
/// Each interface points at a `PackageId` which is stored below. No
|
45
|
+
/// ordering is guaranteed between this list of interfaces.
|
46
|
+
#[cfg_attr(feature = "serde", serde(serialize_with = "serialize_arena"))]
|
47
|
+
pub interfaces: Arena<Interface>,
|
48
|
+
|
49
|
+
/// All knowns types within this `Resolve`.
|
50
|
+
///
|
51
|
+
/// Types are topologically sorted such that any type referenced from one
|
52
|
+
/// type is guaranteed to be defined previously. Otherwise though these are
|
53
|
+
/// not sorted by interface for example.
|
54
|
+
#[cfg_attr(feature = "serde", serde(serialize_with = "serialize_arena"))]
|
55
|
+
pub types: Arena<TypeDef>,
|
56
|
+
|
57
|
+
/// All knowns packages within this `Resolve`.
|
58
|
+
///
|
59
|
+
/// This list of packages is not sorted. Sorted packages can be queried
|
60
|
+
/// through [`Resolve::topological_packages`].
|
61
|
+
#[cfg_attr(feature = "serde", serde(serialize_with = "serialize_arena"))]
|
62
|
+
pub packages: Arena<Package>,
|
63
|
+
|
64
|
+
/// A map of package names to the ID of the package with that name.
|
65
|
+
#[cfg_attr(feature = "serde", serde(skip))]
|
66
|
+
pub package_names: IndexMap<PackageName, PackageId>,
|
67
|
+
}
|
68
|
+
|
69
|
+
/// A WIT package within a `Resolve`.
|
70
|
+
///
|
71
|
+
/// A package is a collection of interfaces and worlds. Packages additionally
|
72
|
+
/// have a unique identifier that affects generated components and uniquely
|
73
|
+
/// identifiers this particular package.
|
74
|
+
#[derive(Clone, Debug)]
|
75
|
+
#[cfg_attr(feature = "serde", derive(Serialize))]
|
76
|
+
pub struct Package {
|
77
|
+
/// A unique name corresponding to this package.
|
78
|
+
pub name: PackageName,
|
79
|
+
|
80
|
+
/// Documentation associated with this package.
|
81
|
+
#[cfg_attr(feature = "serde", serde(skip_serializing_if = "Docs::is_empty"))]
|
82
|
+
pub docs: Docs,
|
83
|
+
|
84
|
+
/// All interfaces contained in this packaged, keyed by the interface's
|
85
|
+
/// name.
|
86
|
+
#[cfg_attr(feature = "serde", serde(serialize_with = "serialize_id_map"))]
|
87
|
+
pub interfaces: IndexMap<String, InterfaceId>,
|
88
|
+
|
89
|
+
/// All worlds contained in this package, keyed by the world's name.
|
90
|
+
#[cfg_attr(feature = "serde", serde(serialize_with = "serialize_id_map"))]
|
91
|
+
pub worlds: IndexMap<String, WorldId>,
|
92
|
+
}
|
93
|
+
|
94
|
+
pub type PackageId = Id<Package>;
|
95
|
+
|
96
|
+
enum ParsedFile {
|
97
|
+
#[cfg(feature = "decoding")]
|
98
|
+
Package(PackageId),
|
99
|
+
Unresolved(UnresolvedPackage),
|
100
|
+
}
|
101
|
+
|
102
|
+
impl Resolve {
|
103
|
+
/// Creates a new [`Resolve`] with no packages/items inside of it.
|
104
|
+
pub fn new() -> Resolve {
|
105
|
+
Resolve::default()
|
106
|
+
}
|
107
|
+
|
108
|
+
/// Parse a WIT package from the input `path`.
|
109
|
+
///
|
110
|
+
/// The input `path` can be one of:
|
111
|
+
///
|
112
|
+
/// * A directory containing a WIT package with an optional `deps` directory
|
113
|
+
/// for any dependent WIT packages it references.
|
114
|
+
/// * A single standalone WIT file depending on what's already in `Resolve`.
|
115
|
+
/// * A wasm-encoded WIT package as a single file in the wasm binary format.
|
116
|
+
/// * A wasm-encoded WIT package as a single file in the wasm text format.
|
117
|
+
///
|
118
|
+
/// The `PackageId` of the parsed package is returned. For more information
|
119
|
+
/// see [`Resolve::push_dir`] and [`Resolve::push_file`]. This method will
|
120
|
+
/// automatically call the appropriate method based on what kind of
|
121
|
+
/// filesystem entry `path` is.
|
122
|
+
///
|
123
|
+
/// Returns the top-level [`PackageId`] as well as a list of all files read
|
124
|
+
/// during this parse.
|
125
|
+
pub fn push_path(&mut self, path: impl AsRef<Path>) -> Result<(PackageId, Vec<PathBuf>)> {
|
126
|
+
self._push_path(path.as_ref())
|
127
|
+
}
|
128
|
+
|
129
|
+
fn _push_path(&mut self, path: &Path) -> Result<(PackageId, Vec<PathBuf>)> {
|
130
|
+
if path.is_dir() {
|
131
|
+
self.push_dir(path).with_context(|| {
|
132
|
+
format!(
|
133
|
+
"failed to resolve directory while parsing WIT for path [{}]",
|
134
|
+
path.display()
|
135
|
+
)
|
136
|
+
})
|
137
|
+
} else {
|
138
|
+
let id = self.push_file(path)?;
|
139
|
+
Ok((id, vec![path.to_path_buf()]))
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
/// Parses the filesystem directory at `path` as a WIT package and returns
|
144
|
+
/// the fully resolved [`PackageId`] as a result.
|
145
|
+
///
|
146
|
+
/// The directory itself is parsed with [`UnresolvedPackage::parse_dir`]
|
147
|
+
/// which has more information on the layout of the directory. This method,
|
148
|
+
/// however, additionally supports an optional `deps` dir where dependencies
|
149
|
+
/// can be located.
|
150
|
+
///
|
151
|
+
/// All entries in the `deps` directory are inspected and parsed as follows:
|
152
|
+
///
|
153
|
+
/// * Any directories inside of `deps` are assumed to be another WIT package
|
154
|
+
/// and are parsed with [`UnresolvedPackage::parse_dir`].
|
155
|
+
/// * WIT files (`*.wit`) are parsed with [`UnresolvedPackage::parse_file`].
|
156
|
+
/// * WebAssembly files (`*.wasm` or `*.wat`) are assumed to be WIT packages
|
157
|
+
/// encoded to wasm and are parsed and inserted into `self`.
|
158
|
+
///
|
159
|
+
/// This function returns the [`PackageId`] of the root parsed package at
|
160
|
+
/// `path`, along with a list of all paths that were consumed during parsing
|
161
|
+
/// for the root package and all dependency packages.
|
162
|
+
pub fn push_dir(&mut self, path: &Path) -> Result<(PackageId, Vec<PathBuf>)> {
|
163
|
+
let pkg = UnresolvedPackage::parse_dir(path)
|
164
|
+
.with_context(|| format!("failed to parse package: {}", path.display()))?;
|
165
|
+
|
166
|
+
let deps = path.join("deps");
|
167
|
+
let mut deps = self
|
168
|
+
.parse_deps_dir(&deps)
|
169
|
+
.with_context(|| format!("failed to parse dependency directory: {}", deps.display()))?;
|
170
|
+
|
171
|
+
// Perform a simple topological sort which will bail out on cycles
|
172
|
+
// and otherwise determine the order that packages must be added to
|
173
|
+
// this `Resolve`.
|
174
|
+
let mut order = IndexSet::new();
|
175
|
+
let mut visiting = HashSet::new();
|
176
|
+
for pkg in deps.values().chain([&pkg]) {
|
177
|
+
visit(&pkg, &deps, &mut order, &mut visiting)?;
|
178
|
+
}
|
179
|
+
|
180
|
+
// Using the topological ordering insert each package incrementally.
|
181
|
+
// Additionally note that the last item visited here is the root
|
182
|
+
// package, which is the one returned here.
|
183
|
+
let mut last = None;
|
184
|
+
let mut files = Vec::new();
|
185
|
+
let mut pkg = Some(pkg);
|
186
|
+
for name in order {
|
187
|
+
let pkg = deps.remove(&name).unwrap_or_else(|| pkg.take().unwrap());
|
188
|
+
files.extend(pkg.source_files().map(|p| p.to_path_buf()));
|
189
|
+
let pkgid = self.push(pkg)?;
|
190
|
+
last = Some(pkgid);
|
191
|
+
}
|
192
|
+
|
193
|
+
return Ok((last.unwrap(), files));
|
194
|
+
|
195
|
+
fn visit<'a>(
|
196
|
+
pkg: &'a UnresolvedPackage,
|
197
|
+
deps: &'a BTreeMap<PackageName, UnresolvedPackage>,
|
198
|
+
order: &mut IndexSet<PackageName>,
|
199
|
+
visiting: &mut HashSet<&'a PackageName>,
|
200
|
+
) -> Result<()> {
|
201
|
+
if order.contains(&pkg.name) {
|
202
|
+
return Ok(());
|
203
|
+
}
|
204
|
+
pkg.source_map.rewrite_error(|| {
|
205
|
+
for (i, (dep, _)) in pkg.foreign_deps.iter().enumerate() {
|
206
|
+
let span = pkg.foreign_dep_spans[i];
|
207
|
+
if !visiting.insert(dep) {
|
208
|
+
bail!(Error {
|
209
|
+
span,
|
210
|
+
msg: format!("package depends on itself"),
|
211
|
+
});
|
212
|
+
}
|
213
|
+
if let Some(dep) = deps.get(dep) {
|
214
|
+
visit(dep, deps, order, visiting)?;
|
215
|
+
}
|
216
|
+
assert!(visiting.remove(dep));
|
217
|
+
}
|
218
|
+
assert!(order.insert(pkg.name.clone()));
|
219
|
+
Ok(())
|
220
|
+
})
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
fn parse_deps_dir(&mut self, path: &Path) -> Result<BTreeMap<PackageName, UnresolvedPackage>> {
|
225
|
+
let mut ret = BTreeMap::new();
|
226
|
+
// If there's no `deps` dir, then there's no deps, so return the
|
227
|
+
// empty set.
|
228
|
+
if !path.exists() {
|
229
|
+
return Ok(ret);
|
230
|
+
}
|
231
|
+
let mut entries = path
|
232
|
+
.read_dir()
|
233
|
+
.and_then(|i| i.collect::<std::io::Result<Vec<_>>>())
|
234
|
+
.context("failed to read directory")?;
|
235
|
+
entries.sort_by_key(|e| e.file_name());
|
236
|
+
for dep in entries {
|
237
|
+
let path = dep.path();
|
238
|
+
|
239
|
+
let pkg = if dep.file_type()?.is_dir() || path.metadata()?.is_dir() {
|
240
|
+
// If this entry is a directory or a symlink point to a
|
241
|
+
// directory then always parse it as an `UnresolvedPackage`
|
242
|
+
// since it's intentional to not support recursive `deps`
|
243
|
+
// directories.
|
244
|
+
UnresolvedPackage::parse_dir(&path)
|
245
|
+
.with_context(|| format!("failed to parse package: {}", path.display()))?
|
246
|
+
} else {
|
247
|
+
// If this entry is a file then we may want to ignore it but
|
248
|
+
// this may also be a standalone WIT file or a `*.wasm` or
|
249
|
+
// `*.wat` encoded package.
|
250
|
+
let filename = dep.file_name();
|
251
|
+
match Path::new(&filename).extension().and_then(|s| s.to_str()) {
|
252
|
+
Some("wit") | Some("wat") | Some("wasm") => match self._push_file(&path)? {
|
253
|
+
#[cfg(feature = "decoding")]
|
254
|
+
ParsedFile::Package(_) => continue,
|
255
|
+
ParsedFile::Unresolved(pkg) => pkg,
|
256
|
+
},
|
257
|
+
|
258
|
+
// Other files in deps dir are ignored for now to avoid
|
259
|
+
// accidentally including things like `.DS_Store` files in
|
260
|
+
// the call below to `parse_dir`.
|
261
|
+
_ => continue,
|
262
|
+
}
|
263
|
+
};
|
264
|
+
let prev = ret.insert(pkg.name.clone(), pkg);
|
265
|
+
if let Some(prev) = prev {
|
266
|
+
bail!("duplicate definitions of package `{}` found", prev.name);
|
267
|
+
}
|
268
|
+
}
|
269
|
+
Ok(ret)
|
270
|
+
}
|
271
|
+
|
272
|
+
/// Parses the contents of `path` from the filesystem and pushes the result
|
273
|
+
/// into this `Resolve`.
|
274
|
+
///
|
275
|
+
/// The `path` referenced here can be one of:
|
276
|
+
///
|
277
|
+
/// * A WIT file. Note that in this case this single WIT file will be the
|
278
|
+
/// entire package and any dependencies it has must already be in `self`.
|
279
|
+
/// * A WIT package encoded as WebAssembly, either in text or binary form.
|
280
|
+
/// In this the package and all of its dependencies are automatically
|
281
|
+
/// inserted into `self`.
|
282
|
+
///
|
283
|
+
/// In both situations the `PackageId` of the resulting resolved package is
|
284
|
+
/// returned from this method.
|
285
|
+
pub fn push_file(&mut self, path: impl AsRef<Path>) -> Result<PackageId> {
|
286
|
+
match self._push_file(path.as_ref())? {
|
287
|
+
#[cfg(feature = "decoding")]
|
288
|
+
ParsedFile::Package(id) => Ok(id),
|
289
|
+
ParsedFile::Unresolved(pkg) => self.push(pkg),
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
fn _push_file(&mut self, path: &Path) -> Result<ParsedFile> {
|
294
|
+
let contents = std::fs::read(path)
|
295
|
+
.with_context(|| format!("failed to read path for WIT [{}]", path.display()))?;
|
296
|
+
|
297
|
+
// If decoding is enabled at compile time then try to see if this is a
|
298
|
+
// wasm file.
|
299
|
+
#[cfg(feature = "decoding")]
|
300
|
+
{
|
301
|
+
use crate::decoding::{decode, DecodedWasm};
|
302
|
+
|
303
|
+
#[cfg(feature = "wat")]
|
304
|
+
let is_wasm = wat::Detect::from_bytes(&contents).is_wasm();
|
305
|
+
#[cfg(not(feature = "wat"))]
|
306
|
+
let is_wasm = wasmparser::Parser::is_component(&contents);
|
307
|
+
|
308
|
+
if is_wasm {
|
309
|
+
#[cfg(feature = "wat")]
|
310
|
+
let contents = wat::parse_bytes(&contents).map_err(|mut e| {
|
311
|
+
e.set_path(path);
|
312
|
+
e
|
313
|
+
})?;
|
314
|
+
|
315
|
+
match decode(&contents)? {
|
316
|
+
DecodedWasm::Component(..) => {
|
317
|
+
bail!("found an actual component instead of an encoded WIT package in wasm")
|
318
|
+
}
|
319
|
+
DecodedWasm::WitPackage(resolve, pkg) => {
|
320
|
+
let remap = self.merge(resolve)?;
|
321
|
+
return Ok(ParsedFile::Package(remap.packages[pkg.index()]));
|
322
|
+
}
|
323
|
+
}
|
324
|
+
}
|
325
|
+
}
|
326
|
+
|
327
|
+
// If this wasn't a wasm file then assume it's a WIT file.
|
328
|
+
let text = match std::str::from_utf8(&contents) {
|
329
|
+
Ok(s) => s,
|
330
|
+
Err(_) => bail!("input file is not valid utf-8 [{}]", path.display()),
|
331
|
+
};
|
332
|
+
let pkg = UnresolvedPackage::parse(path, text)?;
|
333
|
+
Ok(ParsedFile::Unresolved(pkg))
|
334
|
+
}
|
335
|
+
|
336
|
+
/// Appends a new [`UnresolvedPackage`] to this [`Resolve`], creating a
|
337
|
+
/// fully resolved package with no dangling references.
|
338
|
+
///
|
339
|
+
/// The `deps` argument indicates that the named dependencies in
|
340
|
+
/// `unresolved` to packages are resolved by the mapping specified.
|
341
|
+
///
|
342
|
+
/// Any dependency resolution error or otherwise world-elaboration error
|
343
|
+
/// will be returned here. If successful a package identifier is returned.
|
344
|
+
pub fn push(&mut self, mut unresolved: UnresolvedPackage) -> Result<PackageId> {
|
345
|
+
let source_map = mem::take(&mut unresolved.source_map);
|
346
|
+
source_map.rewrite_error(|| Remap::default().append(self, unresolved))
|
347
|
+
}
|
348
|
+
|
349
|
+
pub fn all_bits_valid(&self, ty: &Type) -> bool {
|
350
|
+
match ty {
|
351
|
+
Type::U8
|
352
|
+
| Type::S8
|
353
|
+
| Type::U16
|
354
|
+
| Type::S16
|
355
|
+
| Type::U32
|
356
|
+
| Type::S32
|
357
|
+
| Type::U64
|
358
|
+
| Type::S64
|
359
|
+
| Type::F32
|
360
|
+
| Type::F64 => true,
|
361
|
+
|
362
|
+
Type::Bool | Type::Char | Type::String => false,
|
363
|
+
|
364
|
+
Type::Id(id) => match &self.types[*id].kind {
|
365
|
+
TypeDefKind::List(_)
|
366
|
+
| TypeDefKind::Variant(_)
|
367
|
+
| TypeDefKind::Enum(_)
|
368
|
+
| TypeDefKind::Option(_)
|
369
|
+
| TypeDefKind::Result(_)
|
370
|
+
| TypeDefKind::Future(_)
|
371
|
+
| TypeDefKind::Stream(_) => false,
|
372
|
+
TypeDefKind::Type(t) => self.all_bits_valid(t),
|
373
|
+
|
374
|
+
TypeDefKind::Handle(h) => match h {
|
375
|
+
crate::Handle::Own(_) => true,
|
376
|
+
crate::Handle::Borrow(_) => true,
|
377
|
+
},
|
378
|
+
|
379
|
+
TypeDefKind::Resource => false,
|
380
|
+
TypeDefKind::Record(r) => r.fields.iter().all(|f| self.all_bits_valid(&f.ty)),
|
381
|
+
TypeDefKind::Tuple(t) => t.types.iter().all(|t| self.all_bits_valid(t)),
|
382
|
+
|
383
|
+
// FIXME: this could perhaps be `true` for multiples-of-32 but
|
384
|
+
// seems better to probably leave this as unconditionally
|
385
|
+
// `false` for now, may want to reconsider later?
|
386
|
+
TypeDefKind::Flags(_) => false,
|
387
|
+
|
388
|
+
TypeDefKind::Unknown => unreachable!(),
|
389
|
+
},
|
390
|
+
}
|
391
|
+
}
|
392
|
+
|
393
|
+
/// Merges all the contents of a different `Resolve` into this one. The
|
394
|
+
/// `Remap` structure returned provides a mapping from all old indices to
|
395
|
+
/// new indices
|
396
|
+
///
|
397
|
+
/// This operation can fail if `resolve` disagrees with `self` about the
|
398
|
+
/// packages being inserted. Otherwise though this will additionally attempt
|
399
|
+
/// to "union" packages found in `resolve` with those found in `self`.
|
400
|
+
/// Unioning packages is keyed on the name/url of packages for those with
|
401
|
+
/// URLs present. If found then it's assumed that both `Resolve` instances
|
402
|
+
/// were originally created from the same contents and are two views
|
403
|
+
/// of the same package.
|
404
|
+
pub fn merge(&mut self, resolve: Resolve) -> Result<Remap> {
|
405
|
+
log::trace!(
|
406
|
+
"merging {} packages into {} packages",
|
407
|
+
resolve.packages.len(),
|
408
|
+
self.packages.len()
|
409
|
+
);
|
410
|
+
|
411
|
+
let mut map = MergeMap::new(&resolve, &self)?;
|
412
|
+
map.build()?;
|
413
|
+
let MergeMap {
|
414
|
+
package_map,
|
415
|
+
interface_map,
|
416
|
+
type_map,
|
417
|
+
world_map,
|
418
|
+
interfaces_to_add,
|
419
|
+
worlds_to_add,
|
420
|
+
..
|
421
|
+
} = map;
|
422
|
+
|
423
|
+
// With a set of maps from ids in `resolve` to ids in `self` the next
|
424
|
+
// operation is to start moving over items and building a `Remap` to
|
425
|
+
// update ids.
|
426
|
+
//
|
427
|
+
// Each component field of `resolve` is moved into `self` so long as
|
428
|
+
// its ID is not within one of the maps above. If it's present in a map
|
429
|
+
// above then that means the item is already present in `self` so a new
|
430
|
+
// one need not be added. If it's not present in a map that means it's
|
431
|
+
// not present in `self` so it must be added to an arena.
|
432
|
+
//
|
433
|
+
// When adding an item to an arena one of the `remap.update_*` methods
|
434
|
+
// is additionally called to update all identifiers from pointers within
|
435
|
+
// `resolve` to becoming pointers within `self`.
|
436
|
+
//
|
437
|
+
// Altogether this should weave all the missing items in `self` from
|
438
|
+
// `resolve` into one structure while updating all identifiers to
|
439
|
+
// be local within `self`.
|
440
|
+
|
441
|
+
let mut remap = Remap::default();
|
442
|
+
let Resolve {
|
443
|
+
types,
|
444
|
+
worlds,
|
445
|
+
interfaces,
|
446
|
+
packages,
|
447
|
+
package_names,
|
448
|
+
} = resolve;
|
449
|
+
|
450
|
+
let mut moved_types = Vec::new();
|
451
|
+
for (id, mut ty) in types {
|
452
|
+
let new_id = type_map.get(&id).copied().unwrap_or_else(|| {
|
453
|
+
log::debug!("moving type {:?}", ty.name);
|
454
|
+
moved_types.push(id);
|
455
|
+
remap.update_typedef(self, &mut ty);
|
456
|
+
self.types.alloc(ty)
|
457
|
+
});
|
458
|
+
assert_eq!(remap.types.len(), id.index());
|
459
|
+
remap.types.push(new_id);
|
460
|
+
}
|
461
|
+
|
462
|
+
let mut moved_interfaces = Vec::new();
|
463
|
+
for (id, mut iface) in interfaces {
|
464
|
+
let new_id = interface_map.get(&id).copied().unwrap_or_else(|| {
|
465
|
+
log::debug!("moving interface {:?}", iface.name);
|
466
|
+
moved_interfaces.push(id);
|
467
|
+
remap.update_interface(self, &mut iface);
|
468
|
+
self.interfaces.alloc(iface)
|
469
|
+
});
|
470
|
+
assert_eq!(remap.interfaces.len(), id.index());
|
471
|
+
remap.interfaces.push(new_id);
|
472
|
+
}
|
473
|
+
|
474
|
+
let mut moved_worlds = Vec::new();
|
475
|
+
for (id, mut world) in worlds {
|
476
|
+
let new_id = world_map.get(&id).copied().unwrap_or_else(|| {
|
477
|
+
log::debug!("moving world {}", world.name);
|
478
|
+
moved_worlds.push(id);
|
479
|
+
let mut update = |map: &mut IndexMap<WorldKey, WorldItem>| {
|
480
|
+
for (mut name, mut item) in mem::take(map) {
|
481
|
+
remap.update_world_key(&mut name);
|
482
|
+
match &mut item {
|
483
|
+
WorldItem::Function(f) => remap.update_function(self, f),
|
484
|
+
WorldItem::Interface(i) => *i = remap.interfaces[i.index()],
|
485
|
+
WorldItem::Type(i) => *i = remap.types[i.index()],
|
486
|
+
}
|
487
|
+
map.insert(name, item);
|
488
|
+
}
|
489
|
+
};
|
490
|
+
update(&mut world.imports);
|
491
|
+
update(&mut world.exports);
|
492
|
+
self.worlds.alloc(world)
|
493
|
+
});
|
494
|
+
assert_eq!(remap.worlds.len(), id.index());
|
495
|
+
remap.worlds.push(new_id);
|
496
|
+
}
|
497
|
+
|
498
|
+
for (id, mut pkg) in packages {
|
499
|
+
let new_id = package_map.get(&id).copied().unwrap_or_else(|| {
|
500
|
+
for (_, id) in pkg.interfaces.iter_mut() {
|
501
|
+
*id = remap.interfaces[id.index()];
|
502
|
+
}
|
503
|
+
for (_, id) in pkg.worlds.iter_mut() {
|
504
|
+
*id = remap.worlds[id.index()];
|
505
|
+
}
|
506
|
+
self.packages.alloc(pkg)
|
507
|
+
});
|
508
|
+
assert_eq!(remap.packages.len(), id.index());
|
509
|
+
remap.packages.push(new_id);
|
510
|
+
}
|
511
|
+
|
512
|
+
for (name, id) in package_names {
|
513
|
+
let id = remap.packages[id.index()];
|
514
|
+
if let Some(prev) = self.package_names.insert(name, id) {
|
515
|
+
assert_eq!(prev, id);
|
516
|
+
}
|
517
|
+
}
|
518
|
+
|
519
|
+
// Fixup all "parent" links now.
|
520
|
+
//
|
521
|
+
// Note that this is only done for items that are actually moved from
|
522
|
+
// `resolve` into `self`, which is tracked by the various `moved_*`
|
523
|
+
// lists built incrementally above. The ids in the `moved_*` lists
|
524
|
+
// are ids within `resolve`, so they're translated through `remap` to
|
525
|
+
// ids within `self`.
|
526
|
+
for id in moved_worlds {
|
527
|
+
let id = remap.worlds[id.index()];
|
528
|
+
let pkg = self.worlds[id].package.as_mut().unwrap();
|
529
|
+
*pkg = remap.packages[pkg.index()];
|
530
|
+
}
|
531
|
+
for id in moved_interfaces {
|
532
|
+
let id = remap.interfaces[id.index()];
|
533
|
+
let pkg = self.interfaces[id].package.as_mut().unwrap();
|
534
|
+
*pkg = remap.packages[pkg.index()];
|
535
|
+
}
|
536
|
+
for id in moved_types {
|
537
|
+
let id = remap.types[id.index()];
|
538
|
+
match &mut self.types[id].owner {
|
539
|
+
TypeOwner::Interface(id) => *id = remap.interfaces[id.index()],
|
540
|
+
TypeOwner::World(id) => *id = remap.worlds[id.index()],
|
541
|
+
TypeOwner::None => {}
|
542
|
+
}
|
543
|
+
}
|
544
|
+
|
545
|
+
// And finally process items that were present in `resolve` but were
|
546
|
+
// not present in `self`. This is only done for merged packages as
|
547
|
+
// documents may be added to `self.documents` but wouldn't otherwise be
|
548
|
+
// present in the `documents` field of the corresponding package.
|
549
|
+
for (name, pkg, iface) in interfaces_to_add {
|
550
|
+
let prev = self.packages[pkg]
|
551
|
+
.interfaces
|
552
|
+
.insert(name, remap.interfaces[iface.index()]);
|
553
|
+
assert!(prev.is_none());
|
554
|
+
}
|
555
|
+
for (name, pkg, world) in worlds_to_add {
|
556
|
+
let prev = self.packages[pkg]
|
557
|
+
.worlds
|
558
|
+
.insert(name, remap.worlds[world.index()]);
|
559
|
+
assert!(prev.is_none());
|
560
|
+
}
|
561
|
+
|
562
|
+
log::trace!("now have {} packages", self.packages.len());
|
563
|
+
Ok(remap)
|
564
|
+
}
|
565
|
+
|
566
|
+
/// Merges the world `from` into the world `into`.
|
567
|
+
///
|
568
|
+
/// This will attempt to merge one world into another, unioning all of its
|
569
|
+
/// imports and exports together. This is an operation performed by
|
570
|
+
/// `wit-component`, for example where two different worlds from two
|
571
|
+
/// different libraries were linked into the same core wasm file and are
|
572
|
+
/// producing a singular world that will be the final component's
|
573
|
+
/// interface.
|
574
|
+
///
|
575
|
+
/// This operation can fail if the imports/exports overlap.
|
576
|
+
pub fn merge_worlds(&mut self, from: WorldId, into: WorldId) -> Result<()> {
|
577
|
+
let mut new_imports = Vec::new();
|
578
|
+
let mut new_exports = Vec::new();
|
579
|
+
|
580
|
+
let from_world = &self.worlds[from];
|
581
|
+
let into_world = &self.worlds[into];
|
582
|
+
|
583
|
+
// Build a map of the imports/exports in `into` going the reverse
|
584
|
+
// direction from what's listed. This is then consulted below to ensure
|
585
|
+
// that the same item isn't exported or imported under two different
|
586
|
+
// names which isn't allowed in the component model.
|
587
|
+
let mut into_imports_by_id = HashMap::new();
|
588
|
+
let mut into_exports_by_id = HashMap::new();
|
589
|
+
for (name, import) in into_world.imports.iter() {
|
590
|
+
if let WorldItem::Interface(id) = *import {
|
591
|
+
let prev = into_imports_by_id.insert(id, name);
|
592
|
+
assert!(prev.is_none());
|
593
|
+
}
|
594
|
+
}
|
595
|
+
for (name, export) in into_world.exports.iter() {
|
596
|
+
if let WorldItem::Interface(id) = *export {
|
597
|
+
let prev = into_exports_by_id.insert(id, name);
|
598
|
+
assert!(prev.is_none());
|
599
|
+
}
|
600
|
+
}
|
601
|
+
for (name, import) in from_world.imports.iter() {
|
602
|
+
// If the "from" world imports an interface which is already
|
603
|
+
// imported by the "into" world then this is allowed if the names
|
604
|
+
// are the same. Importing the same interface under different names
|
605
|
+
// isn't allowed, but otherwise merging imports of
|
606
|
+
// same-named-interfaces is allowed to merge them together.
|
607
|
+
if let WorldItem::Interface(id) = import {
|
608
|
+
if let Some(prev) = into_imports_by_id.get(id) {
|
609
|
+
if *prev != name {
|
610
|
+
let name = self.name_world_key(name);
|
611
|
+
let prev = self.name_world_key(prev);
|
612
|
+
bail!("import `{name}` conflicts with previous name of `{prev}`");
|
613
|
+
}
|
614
|
+
}
|
615
|
+
}
|
616
|
+
}
|
617
|
+
for (name, export) in from_world.exports.iter() {
|
618
|
+
// Note that unlike imports same-named exports are not handled here
|
619
|
+
// since if something is exported twice there's no way to "unify" it
|
620
|
+
// so it's left as an error.
|
621
|
+
if let WorldItem::Interface(id) = export {
|
622
|
+
if let Some(prev) = into_exports_by_id.get(id) {
|
623
|
+
let name = self.name_world_key(name);
|
624
|
+
let prev = self.name_world_key(prev);
|
625
|
+
bail!("export `{name}` conflicts with previous name of `{prev}`");
|
626
|
+
}
|
627
|
+
}
|
628
|
+
}
|
629
|
+
|
630
|
+
// Next walk over the interfaces imported into `from_world` and queue up
|
631
|
+
// imports to get inserted into `into_world`.
|
632
|
+
for (name, from_import) in from_world.imports.iter() {
|
633
|
+
match into_world.imports.get(name) {
|
634
|
+
Some(into_import) => match (from_import, into_import) {
|
635
|
+
// If these imports, which have the same name, are of the
|
636
|
+
// same interface then union them together at this point.
|
637
|
+
(WorldItem::Interface(from), WorldItem::Interface(into)) if from == into => {
|
638
|
+
continue
|
639
|
+
}
|
640
|
+
_ => {
|
641
|
+
let name = self.name_world_key(name);
|
642
|
+
bail!("duplicate import found for interface `{name}`");
|
643
|
+
}
|
644
|
+
},
|
645
|
+
None => new_imports.push((name.clone(), from_import.clone())),
|
646
|
+
}
|
647
|
+
}
|
648
|
+
|
649
|
+
// All exports at this time must be unique. For example the same
|
650
|
+
// interface exported from two locations can't really be resolved to one
|
651
|
+
// canonical definition, so make sure that merging worlds only succeeds
|
652
|
+
// if the worlds have disjoint sets of exports.
|
653
|
+
for (name, export) in from_world.exports.iter() {
|
654
|
+
match into_world.exports.get(name) {
|
655
|
+
Some(_) => {
|
656
|
+
let name = self.name_world_key(name);
|
657
|
+
bail!("duplicate export found for interface `{name}`");
|
658
|
+
}
|
659
|
+
None => new_exports.push((name.clone(), export.clone())),
|
660
|
+
}
|
661
|
+
}
|
662
|
+
|
663
|
+
// Insert any new imports and new exports found first.
|
664
|
+
let into = &mut self.worlds[into];
|
665
|
+
for (name, import) in new_imports {
|
666
|
+
let prev = into.imports.insert(name, import);
|
667
|
+
assert!(prev.is_none());
|
668
|
+
}
|
669
|
+
for (name, export) in new_exports {
|
670
|
+
let prev = into.exports.insert(name, export);
|
671
|
+
assert!(prev.is_none());
|
672
|
+
}
|
673
|
+
|
674
|
+
Ok(())
|
675
|
+
}
|
676
|
+
|
677
|
+
/// Returns the ID of the specified `interface`.
|
678
|
+
///
|
679
|
+
/// Returns `None` for unnamed interfaces.
|
680
|
+
pub fn id_of(&self, interface: InterfaceId) -> Option<String> {
|
681
|
+
let interface = &self.interfaces[interface];
|
682
|
+
Some(self.id_of_name(interface.package.unwrap(), interface.name.as_ref()?))
|
683
|
+
}
|
684
|
+
|
685
|
+
/// Returns the ID of the specified `name` within the `pkg`.
|
686
|
+
pub fn id_of_name(&self, pkg: PackageId, name: &str) -> String {
|
687
|
+
let package = &self.packages[pkg];
|
688
|
+
let mut base = String::new();
|
689
|
+
base.push_str(&package.name.namespace);
|
690
|
+
base.push_str(":");
|
691
|
+
base.push_str(&package.name.name);
|
692
|
+
base.push_str("/");
|
693
|
+
base.push_str(name);
|
694
|
+
if let Some(version) = &package.name.version {
|
695
|
+
base.push_str(&format!("@{version}"));
|
696
|
+
}
|
697
|
+
base
|
698
|
+
}
|
699
|
+
|
700
|
+
/// Attempts to locate a world given the "default" package `pkg` and the
|
701
|
+
/// optional string specifier `world`.
|
702
|
+
///
|
703
|
+
/// This method is intended to be used by bindings generation tools to
|
704
|
+
/// select a world from either `pkg` or a package in this `Resolve`.
|
705
|
+
///
|
706
|
+
/// If `world` is `None` then `pkg` must have precisely one world which will
|
707
|
+
/// be returned.
|
708
|
+
///
|
709
|
+
/// If `world` is `Some` then it can either be:
|
710
|
+
///
|
711
|
+
/// * A kebab-name of a world contained within `pkg` which is being
|
712
|
+
/// selected, such as `"the-world"`.
|
713
|
+
///
|
714
|
+
/// * An ID-based form of a world which is selected within this `Resolve`,
|
715
|
+
/// ignoring `pkg`. For example `"wasi:http/proxy"`.
|
716
|
+
///
|
717
|
+
/// If successful the corresponding `WorldId` is returned, otherwise an
|
718
|
+
/// error is returned.
|
719
|
+
pub fn select_world(&self, pkg: PackageId, world: Option<&str>) -> Result<WorldId> {
|
720
|
+
let world = match world {
|
721
|
+
Some(world) => world,
|
722
|
+
None => {
|
723
|
+
let pkg = &self.packages[pkg];
|
724
|
+
match pkg.worlds.len() {
|
725
|
+
0 => bail!("no worlds found in package `{}`", pkg.name),
|
726
|
+
1 => return Ok(*pkg.worlds.values().next().unwrap()),
|
727
|
+
_ => bail!(
|
728
|
+
"multiple worlds found in package `{}`: one must be explicitly chosen",
|
729
|
+
pkg.name
|
730
|
+
),
|
731
|
+
}
|
732
|
+
}
|
733
|
+
};
|
734
|
+
|
735
|
+
let path = parse_use_path(world)
|
736
|
+
.with_context(|| format!("failed to parse world specifier `{world}`"))?;
|
737
|
+
let (pkg, world) = match path {
|
738
|
+
AstUsePath::Name(name) => (pkg, name),
|
739
|
+
AstUsePath::Package(pkg, interface) => {
|
740
|
+
let pkg = match self.package_names.get(&pkg) {
|
741
|
+
Some(pkg) => *pkg,
|
742
|
+
None => {
|
743
|
+
let mut candidates = self.package_names.iter().filter(|(name, _)| {
|
744
|
+
pkg.version.is_none()
|
745
|
+
&& pkg.name == name.name
|
746
|
+
&& pkg.namespace == name.namespace
|
747
|
+
&& name.version.is_some()
|
748
|
+
});
|
749
|
+
let candidate = candidates.next();
|
750
|
+
if let Some((c2, _)) = candidates.next() {
|
751
|
+
let (c1, _) = candidate.unwrap();
|
752
|
+
bail!(
|
753
|
+
"package name `{pkg}` is available at both \
|
754
|
+
versions {} and {} but which is not specified",
|
755
|
+
c1.version.as_ref().unwrap(),
|
756
|
+
c2.version.as_ref().unwrap(),
|
757
|
+
);
|
758
|
+
}
|
759
|
+
match candidate {
|
760
|
+
Some((_, id)) => *id,
|
761
|
+
None => bail!("unknown package `{pkg}`"),
|
762
|
+
}
|
763
|
+
}
|
764
|
+
};
|
765
|
+
(pkg, interface)
|
766
|
+
}
|
767
|
+
};
|
768
|
+
let pkg = &self.packages[pkg];
|
769
|
+
pkg.worlds
|
770
|
+
.get(&world)
|
771
|
+
.copied()
|
772
|
+
.ok_or_else(|| anyhow!("no world named `{world}` in package"))
|
773
|
+
}
|
774
|
+
|
775
|
+
/// Assigns a human readable name to the `WorldKey` specified.
|
776
|
+
pub fn name_world_key(&self, key: &WorldKey) -> String {
|
777
|
+
match key {
|
778
|
+
WorldKey::Name(s) => s.to_string(),
|
779
|
+
WorldKey::Interface(i) => self.id_of(*i).expect("unexpected anonymous interface"),
|
780
|
+
}
|
781
|
+
}
|
782
|
+
|
783
|
+
/// Returns the interface that `id` uses a type from, if it uses a type from
|
784
|
+
/// a different interface than `id` is defined within.
|
785
|
+
///
|
786
|
+
/// If `id` is not a use-of-a-type or it's using a type in the same
|
787
|
+
/// interface then `None` is returned.
|
788
|
+
pub fn type_interface_dep(&self, id: TypeId) -> Option<InterfaceId> {
|
789
|
+
let ty = &self.types[id];
|
790
|
+
let dep = match ty.kind {
|
791
|
+
TypeDefKind::Type(Type::Id(id)) => id,
|
792
|
+
_ => return None,
|
793
|
+
};
|
794
|
+
let other = &self.types[dep];
|
795
|
+
if ty.owner == other.owner {
|
796
|
+
None
|
797
|
+
} else {
|
798
|
+
match other.owner {
|
799
|
+
TypeOwner::Interface(id) => Some(id),
|
800
|
+
_ => unreachable!(),
|
801
|
+
}
|
802
|
+
}
|
803
|
+
}
|
804
|
+
|
805
|
+
/// Returns an iterator of all interfaces that the interface `id` depends
|
806
|
+
/// on.
|
807
|
+
///
|
808
|
+
/// Interfaces may depend on others for type information to resolve type
|
809
|
+
/// imports.
|
810
|
+
///
|
811
|
+
/// Note that the returned iterator may yield the same interface as a
|
812
|
+
/// dependency multiple times. Additionally only direct dependencies of `id`
|
813
|
+
/// are yielded, not transitive dependencies.
|
814
|
+
pub fn interface_direct_deps(&self, id: InterfaceId) -> impl Iterator<Item = InterfaceId> + '_ {
|
815
|
+
self.interfaces[id]
|
816
|
+
.types
|
817
|
+
.iter()
|
818
|
+
.filter_map(move |(_name, ty)| self.type_interface_dep(*ty))
|
819
|
+
}
|
820
|
+
|
821
|
+
/// Returns an iterator of all packages that the package `id` depends
|
822
|
+
/// on.
|
823
|
+
///
|
824
|
+
/// Packages may depend on others for type information to resolve type
|
825
|
+
/// imports or interfaces to resolve worlds.
|
826
|
+
///
|
827
|
+
/// Note that the returned iterator may yield the same package as a
|
828
|
+
/// dependency multiple times. Additionally only direct dependencies of `id`
|
829
|
+
/// are yielded, not transitive dependencies.
|
830
|
+
pub fn package_direct_deps(&self, id: PackageId) -> impl Iterator<Item = PackageId> + '_ {
|
831
|
+
let pkg = &self.packages[id];
|
832
|
+
|
833
|
+
pkg.interfaces
|
834
|
+
.iter()
|
835
|
+
.flat_map(move |(_name, id)| self.interface_direct_deps(*id))
|
836
|
+
.chain(pkg.worlds.iter().flat_map(move |(_name, id)| {
|
837
|
+
let world = &self.worlds[*id];
|
838
|
+
world
|
839
|
+
.imports
|
840
|
+
.iter()
|
841
|
+
.chain(world.exports.iter())
|
842
|
+
.filter_map(move |(_name, item)| match item {
|
843
|
+
WorldItem::Interface(id) => Some(*id),
|
844
|
+
WorldItem::Function(_) => None,
|
845
|
+
WorldItem::Type(t) => self.type_interface_dep(*t),
|
846
|
+
})
|
847
|
+
}))
|
848
|
+
.filter_map(move |iface_id| {
|
849
|
+
let pkg = self.interfaces[iface_id].package?;
|
850
|
+
if pkg == id {
|
851
|
+
None
|
852
|
+
} else {
|
853
|
+
Some(pkg)
|
854
|
+
}
|
855
|
+
})
|
856
|
+
}
|
857
|
+
|
858
|
+
/// Returns a topological ordering of packages contained in this `Resolve`.
|
859
|
+
///
|
860
|
+
/// This returns a list of `PackageId` such that when visited in order it's
|
861
|
+
/// guaranteed that all dependencies will have been defined by prior items
|
862
|
+
/// in the list.
|
863
|
+
pub fn topological_packages(&self) -> Vec<PackageId> {
|
864
|
+
let mut pushed = vec![false; self.packages.len()];
|
865
|
+
let mut order = Vec::new();
|
866
|
+
for (id, _) in self.packages.iter() {
|
867
|
+
self.build_topological_package_ordering(id, &mut pushed, &mut order);
|
868
|
+
}
|
869
|
+
order
|
870
|
+
}
|
871
|
+
|
872
|
+
fn build_topological_package_ordering(
|
873
|
+
&self,
|
874
|
+
id: PackageId,
|
875
|
+
pushed: &mut Vec<bool>,
|
876
|
+
order: &mut Vec<PackageId>,
|
877
|
+
) {
|
878
|
+
if pushed[id.index()] {
|
879
|
+
return;
|
880
|
+
}
|
881
|
+
for dep in self.package_direct_deps(id) {
|
882
|
+
self.build_topological_package_ordering(dep, pushed, order);
|
883
|
+
}
|
884
|
+
order.push(id);
|
885
|
+
pushed[id.index()] = true;
|
886
|
+
}
|
887
|
+
|
888
|
+
#[doc(hidden)]
|
889
|
+
pub fn assert_valid(&self) {
|
890
|
+
let mut package_interfaces = Vec::new();
|
891
|
+
let mut package_worlds = Vec::new();
|
892
|
+
for (id, pkg) in self.packages.iter() {
|
893
|
+
let mut interfaces = HashSet::new();
|
894
|
+
for (name, iface) in pkg.interfaces.iter() {
|
895
|
+
assert!(interfaces.insert(*iface));
|
896
|
+
let iface = &self.interfaces[*iface];
|
897
|
+
assert_eq!(name, iface.name.as_ref().unwrap());
|
898
|
+
assert_eq!(iface.package.unwrap(), id);
|
899
|
+
}
|
900
|
+
package_interfaces.push(pkg.interfaces.values().copied().collect::<HashSet<_>>());
|
901
|
+
let mut worlds = HashSet::new();
|
902
|
+
for (name, world) in pkg.worlds.iter() {
|
903
|
+
assert!(worlds.insert(*world));
|
904
|
+
let world = &self.worlds[*world];
|
905
|
+
assert_eq!(*name, world.name);
|
906
|
+
assert_eq!(world.package.unwrap(), id);
|
907
|
+
}
|
908
|
+
package_worlds.push(pkg.worlds.values().copied().collect::<HashSet<_>>());
|
909
|
+
}
|
910
|
+
|
911
|
+
let mut interface_types = Vec::new();
|
912
|
+
for (id, iface) in self.interfaces.iter() {
|
913
|
+
assert!(self.packages.get(iface.package.unwrap()).is_some());
|
914
|
+
if iface.name.is_some() {
|
915
|
+
assert!(package_interfaces[iface.package.unwrap().index()].contains(&id));
|
916
|
+
}
|
917
|
+
|
918
|
+
for (name, ty) in iface.types.iter() {
|
919
|
+
let ty = &self.types[*ty];
|
920
|
+
assert_eq!(ty.name.as_ref(), Some(name));
|
921
|
+
assert_eq!(ty.owner, TypeOwner::Interface(id));
|
922
|
+
}
|
923
|
+
interface_types.push(iface.types.values().copied().collect::<HashSet<_>>());
|
924
|
+
for (name, f) in iface.functions.iter() {
|
925
|
+
assert_eq!(*name, f.name);
|
926
|
+
}
|
927
|
+
}
|
928
|
+
|
929
|
+
let mut world_types = Vec::new();
|
930
|
+
for (id, world) in self.worlds.iter() {
|
931
|
+
log::debug!("validating world {}", &world.name);
|
932
|
+
assert!(self.packages.get(world.package.unwrap()).is_some());
|
933
|
+
assert!(package_worlds[world.package.unwrap().index()].contains(&id));
|
934
|
+
|
935
|
+
let mut types = HashSet::new();
|
936
|
+
for (name, item) in world.imports.iter().chain(world.exports.iter()) {
|
937
|
+
log::debug!("validating world item: {}", self.name_world_key(name));
|
938
|
+
match item {
|
939
|
+
WorldItem::Interface(_) => {}
|
940
|
+
WorldItem::Function(f) => {
|
941
|
+
assert_eq!(f.name, name.clone().unwrap_name());
|
942
|
+
}
|
943
|
+
WorldItem::Type(ty) => {
|
944
|
+
assert!(types.insert(*ty));
|
945
|
+
let ty = &self.types[*ty];
|
946
|
+
assert_eq!(ty.name, Some(name.clone().unwrap_name()));
|
947
|
+
|
948
|
+
// TODO: `Resolve::merge_worlds` doesn't uphold this
|
949
|
+
// invariant, and that should be fixed.
|
950
|
+
if false {
|
951
|
+
assert_eq!(ty.owner, TypeOwner::World(id));
|
952
|
+
}
|
953
|
+
}
|
954
|
+
}
|
955
|
+
}
|
956
|
+
world_types.push(types);
|
957
|
+
}
|
958
|
+
|
959
|
+
for (ty_id, ty) in self.types.iter() {
|
960
|
+
match ty.owner {
|
961
|
+
TypeOwner::Interface(id) => {
|
962
|
+
assert!(self.interfaces.get(id).is_some());
|
963
|
+
assert!(interface_types[id.index()].contains(&ty_id));
|
964
|
+
}
|
965
|
+
TypeOwner::World(id) => {
|
966
|
+
assert!(self.worlds.get(id).is_some());
|
967
|
+
assert!(world_types[id.index()].contains(&ty_id));
|
968
|
+
}
|
969
|
+
TypeOwner::None => {}
|
970
|
+
}
|
971
|
+
}
|
972
|
+
|
973
|
+
self.assert_topologically_sorted();
|
974
|
+
}
|
975
|
+
|
976
|
+
fn assert_topologically_sorted(&self) {
|
977
|
+
let mut positions = IndexMap::new();
|
978
|
+
for id in self.topological_packages() {
|
979
|
+
let pkg = &self.packages[id];
|
980
|
+
log::debug!("pkg {}", pkg.name);
|
981
|
+
let prev = positions.insert(Some(id), IndexSet::new());
|
982
|
+
assert!(prev.is_none());
|
983
|
+
}
|
984
|
+
positions.insert(None, IndexSet::new());
|
985
|
+
|
986
|
+
for (id, iface) in self.interfaces.iter() {
|
987
|
+
log::debug!("iface {:?}", iface.name);
|
988
|
+
let ok = positions.get_mut(&iface.package).unwrap().insert(id);
|
989
|
+
assert!(ok);
|
990
|
+
}
|
991
|
+
|
992
|
+
for (_, world) in self.worlds.iter() {
|
993
|
+
log::debug!("world {:?}", world.name);
|
994
|
+
|
995
|
+
let my_package = world.package;
|
996
|
+
let my_package_pos = positions.get_index_of(&my_package).unwrap();
|
997
|
+
|
998
|
+
for (_, item) in world.imports.iter().chain(&world.exports) {
|
999
|
+
let id = match item {
|
1000
|
+
WorldItem::Interface(id) => *id,
|
1001
|
+
_ => continue,
|
1002
|
+
};
|
1003
|
+
let other_package = self.interfaces[id].package;
|
1004
|
+
let other_package_pos = positions.get_index_of(&other_package).unwrap();
|
1005
|
+
|
1006
|
+
assert!(other_package_pos <= my_package_pos);
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
for (_id, ty) in self.types.iter() {
|
1011
|
+
log::debug!("type {:?} {:?}", ty.name, ty.owner);
|
1012
|
+
let other_id = match ty.kind {
|
1013
|
+
TypeDefKind::Type(Type::Id(ty)) => ty,
|
1014
|
+
_ => continue,
|
1015
|
+
};
|
1016
|
+
let other = &self.types[other_id];
|
1017
|
+
if ty.kind == other.kind {
|
1018
|
+
continue;
|
1019
|
+
}
|
1020
|
+
let my_interface = match ty.owner {
|
1021
|
+
TypeOwner::Interface(id) => id,
|
1022
|
+
_ => continue,
|
1023
|
+
};
|
1024
|
+
let other_interface = match other.owner {
|
1025
|
+
TypeOwner::Interface(id) => id,
|
1026
|
+
_ => continue,
|
1027
|
+
};
|
1028
|
+
|
1029
|
+
let my_package = self.interfaces[my_interface].package;
|
1030
|
+
let other_package = self.interfaces[other_interface].package;
|
1031
|
+
let my_package_pos = positions.get_index_of(&my_package).unwrap();
|
1032
|
+
let other_package_pos = positions.get_index_of(&other_package).unwrap();
|
1033
|
+
|
1034
|
+
if my_package_pos == other_package_pos {
|
1035
|
+
let interfaces = &positions[&my_package];
|
1036
|
+
let my_interface_pos = interfaces.get_index_of(&my_interface).unwrap();
|
1037
|
+
let other_interface_pos = interfaces.get_index_of(&other_interface).unwrap();
|
1038
|
+
assert!(other_interface_pos <= my_interface_pos);
|
1039
|
+
} else {
|
1040
|
+
assert!(other_package_pos < my_package_pos);
|
1041
|
+
}
|
1042
|
+
}
|
1043
|
+
}
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
/// Structure returned by [`Resolve::merge`] which contains mappings from
|
1047
|
+
/// old-ids to new-ids after the merge.
|
1048
|
+
#[derive(Default)]
|
1049
|
+
pub struct Remap {
|
1050
|
+
pub types: Vec<TypeId>,
|
1051
|
+
pub interfaces: Vec<InterfaceId>,
|
1052
|
+
pub worlds: Vec<WorldId>,
|
1053
|
+
pub packages: Vec<PackageId>,
|
1054
|
+
|
1055
|
+
/// A cache of anonymous `own<T>` handles for resource types.
|
1056
|
+
///
|
1057
|
+
/// The appending operation of `Remap` is the one responsible for
|
1058
|
+
/// translating references to `T` where `T` is a resource into `own<T>`
|
1059
|
+
/// instead. This map is used to deduplicate the `own<T>` types generated
|
1060
|
+
/// to generate as few as possible.
|
1061
|
+
///
|
1062
|
+
/// The key of this map is the resource id `T` in the new resolve, and
|
1063
|
+
/// the value is the `own<T>` type pointing to `T`.
|
1064
|
+
own_handles: HashMap<TypeId, TypeId>,
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
impl Remap {
|
1068
|
+
fn append(
|
1069
|
+
&mut self,
|
1070
|
+
resolve: &mut Resolve,
|
1071
|
+
unresolved: UnresolvedPackage,
|
1072
|
+
) -> Result<PackageId> {
|
1073
|
+
self.process_foreign_deps(resolve, &unresolved)?;
|
1074
|
+
|
1075
|
+
let foreign_types = self.types.len();
|
1076
|
+
let foreign_interfaces = self.interfaces.len();
|
1077
|
+
let foreign_worlds = self.worlds.len();
|
1078
|
+
|
1079
|
+
// Copy over all types first, updating any intra-type references. Note
|
1080
|
+
// that types are sorted topologically which means this iteration
|
1081
|
+
// order should be sufficient. Also note though that the interface
|
1082
|
+
// owner of a type isn't updated here due to interfaces not being known
|
1083
|
+
// yet.
|
1084
|
+
for (id, mut ty) in unresolved.types.into_iter().skip(foreign_types) {
|
1085
|
+
self.update_typedef(resolve, &mut ty);
|
1086
|
+
let new_id = resolve.types.alloc(ty);
|
1087
|
+
assert_eq!(self.types.len(), id.index());
|
1088
|
+
|
1089
|
+
let new_id = match resolve.types[new_id] {
|
1090
|
+
// If this is an `own<T>` handle then either replace it with a
|
1091
|
+
// preexisting `own<T>` handle which may have been generated in
|
1092
|
+
// `update_ty`. If that doesn't exist though then insert it into
|
1093
|
+
// the `own_handles` cache.
|
1094
|
+
TypeDef {
|
1095
|
+
name: None,
|
1096
|
+
owner: TypeOwner::None,
|
1097
|
+
kind: TypeDefKind::Handle(Handle::Own(id)),
|
1098
|
+
docs: _,
|
1099
|
+
} => *self.own_handles.entry(id).or_insert(new_id),
|
1100
|
+
|
1101
|
+
// Everything not-related to `own<T>` doesn't get its ID
|
1102
|
+
// modified.
|
1103
|
+
_ => new_id,
|
1104
|
+
};
|
1105
|
+
self.types.push(new_id);
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
// Next transfer all interfaces into `Resolve`, updating type ids
|
1109
|
+
// referenced along the way.
|
1110
|
+
for (id, mut iface) in unresolved.interfaces.into_iter().skip(foreign_interfaces) {
|
1111
|
+
self.update_interface(resolve, &mut iface);
|
1112
|
+
let new_id = resolve.interfaces.alloc(iface);
|
1113
|
+
assert_eq!(self.interfaces.len(), id.index());
|
1114
|
+
self.interfaces.push(new_id);
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
// Now that interfaces are identified go back through the types and
|
1118
|
+
// update their interface owners.
|
1119
|
+
for id in self.types.iter().skip(foreign_types) {
|
1120
|
+
match &mut resolve.types[*id].owner {
|
1121
|
+
TypeOwner::Interface(id) => *id = self.interfaces[id.index()],
|
1122
|
+
TypeOwner::World(_) | TypeOwner::None => {}
|
1123
|
+
}
|
1124
|
+
}
|
1125
|
+
|
1126
|
+
// Perform a weighty step of full resolution of worlds. This will fully
|
1127
|
+
// expand imports/exports for a world and create the topological
|
1128
|
+
// ordering necessary for this.
|
1129
|
+
//
|
1130
|
+
// This is done after types/interfaces are fully settled so the
|
1131
|
+
// transitive relation between interfaces, through types, is understood
|
1132
|
+
// here.
|
1133
|
+
assert_eq!(unresolved.worlds.len(), unresolved.world_item_spans.len());
|
1134
|
+
let include_world_spans = unresolved.include_world_spans;
|
1135
|
+
for ((id, mut world), (import_spans, export_spans)) in unresolved
|
1136
|
+
.worlds
|
1137
|
+
.into_iter()
|
1138
|
+
.zip(unresolved.world_item_spans)
|
1139
|
+
.skip(foreign_worlds)
|
1140
|
+
{
|
1141
|
+
self.update_world(
|
1142
|
+
&mut world,
|
1143
|
+
resolve,
|
1144
|
+
&import_spans,
|
1145
|
+
&export_spans,
|
1146
|
+
&include_world_spans,
|
1147
|
+
)?;
|
1148
|
+
|
1149
|
+
let new_id = resolve.worlds.alloc(world);
|
1150
|
+
assert_eq!(self.worlds.len(), id.index());
|
1151
|
+
self.worlds.push(new_id);
|
1152
|
+
}
|
1153
|
+
|
1154
|
+
// As with interfaces, now update the ids of world-owned types.
|
1155
|
+
for id in self.types.iter().skip(foreign_types) {
|
1156
|
+
match &mut resolve.types[*id].owner {
|
1157
|
+
TypeOwner::World(id) => *id = self.worlds[id.index()],
|
1158
|
+
TypeOwner::Interface(_) | TypeOwner::None => {}
|
1159
|
+
}
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
// Fixup "parent" ids now that everything has been identified
|
1163
|
+
let pkgid = resolve.packages.alloc(Package {
|
1164
|
+
name: unresolved.name.clone(),
|
1165
|
+
docs: unresolved.docs.clone(),
|
1166
|
+
interfaces: Default::default(),
|
1167
|
+
worlds: Default::default(),
|
1168
|
+
});
|
1169
|
+
let prev = resolve.package_names.insert(unresolved.name.clone(), pkgid);
|
1170
|
+
assert!(prev.is_none());
|
1171
|
+
for id in self.interfaces.iter().skip(foreign_interfaces) {
|
1172
|
+
let iface = &mut resolve.interfaces[*id];
|
1173
|
+
iface.package = Some(pkgid);
|
1174
|
+
if let Some(name) = &iface.name {
|
1175
|
+
let prev = resolve.packages[pkgid].interfaces.insert(name.clone(), *id);
|
1176
|
+
assert!(prev.is_none());
|
1177
|
+
}
|
1178
|
+
}
|
1179
|
+
for id in self.worlds.iter().skip(foreign_worlds) {
|
1180
|
+
let world = &mut resolve.worlds[*id];
|
1181
|
+
world.package = Some(pkgid);
|
1182
|
+
let prev = resolve.packages[pkgid]
|
1183
|
+
.worlds
|
1184
|
+
.insert(world.name.clone(), *id);
|
1185
|
+
assert!(prev.is_none());
|
1186
|
+
}
|
1187
|
+
Ok(pkgid)
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
fn process_foreign_deps(
|
1191
|
+
&mut self,
|
1192
|
+
resolve: &mut Resolve,
|
1193
|
+
unresolved: &UnresolvedPackage,
|
1194
|
+
) -> Result<()> {
|
1195
|
+
// Invert the `foreign_deps` map to be keyed by world id to get
|
1196
|
+
// used in the loops below.
|
1197
|
+
let mut world_to_package = HashMap::new();
|
1198
|
+
let mut interface_to_package = HashMap::new();
|
1199
|
+
for (i, (pkg_name, worlds_or_ifaces)) in unresolved.foreign_deps.iter().enumerate() {
|
1200
|
+
for (name, item) in worlds_or_ifaces {
|
1201
|
+
match item {
|
1202
|
+
AstItem::Interface(unresolved_interface_id) => {
|
1203
|
+
let prev = interface_to_package.insert(
|
1204
|
+
*unresolved_interface_id,
|
1205
|
+
(pkg_name, name, unresolved.foreign_dep_spans[i]),
|
1206
|
+
);
|
1207
|
+
assert!(prev.is_none());
|
1208
|
+
}
|
1209
|
+
AstItem::World(unresolved_world_id) => {
|
1210
|
+
let prev = world_to_package.insert(
|
1211
|
+
*unresolved_world_id,
|
1212
|
+
(pkg_name, name, unresolved.foreign_dep_spans[i]),
|
1213
|
+
);
|
1214
|
+
assert!(prev.is_none());
|
1215
|
+
}
|
1216
|
+
}
|
1217
|
+
}
|
1218
|
+
}
|
1219
|
+
|
1220
|
+
// Connect all interfaces referred to in `interface_to_package`, which
|
1221
|
+
// are at the front of `unresolved.interfaces`, to interfaces already
|
1222
|
+
// contained within `resolve`.
|
1223
|
+
self.process_foreign_interfaces(unresolved, &interface_to_package, resolve)?;
|
1224
|
+
|
1225
|
+
// Connect all worlds referred to in `world_to_package`, which
|
1226
|
+
// are at the front of `unresolved.worlds`, to worlds already
|
1227
|
+
// contained within `resolve`.
|
1228
|
+
self.process_foreign_worlds(unresolved, &world_to_package, resolve)?;
|
1229
|
+
|
1230
|
+
// Finally, iterate over all foreign-defined types and determine
|
1231
|
+
// what they map to.
|
1232
|
+
self.process_foreign_types(unresolved, resolve)?;
|
1233
|
+
|
1234
|
+
for (id, span) in unresolved.required_resource_types.iter() {
|
1235
|
+
let mut id = self.types[id.index()];
|
1236
|
+
loop {
|
1237
|
+
match resolve.types[id].kind {
|
1238
|
+
TypeDefKind::Type(Type::Id(i)) => id = i,
|
1239
|
+
TypeDefKind::Resource => break,
|
1240
|
+
_ => bail!(Error {
|
1241
|
+
span: *span,
|
1242
|
+
msg: format!("type used in a handle must be a resource"),
|
1243
|
+
}),
|
1244
|
+
}
|
1245
|
+
}
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
Ok(())
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
fn process_foreign_interfaces(
|
1252
|
+
&mut self,
|
1253
|
+
unresolved: &UnresolvedPackage,
|
1254
|
+
interface_to_package: &HashMap<InterfaceId, (&PackageName, &String, Span)>,
|
1255
|
+
resolve: &mut Resolve,
|
1256
|
+
) -> Result<(), anyhow::Error> {
|
1257
|
+
for (unresolved_iface_id, unresolved_iface) in unresolved.interfaces.iter() {
|
1258
|
+
let (pkg_name, interface, span) = match interface_to_package.get(&unresolved_iface_id) {
|
1259
|
+
Some(items) => *items,
|
1260
|
+
// All foreign interfaces are defined first, so the first one
|
1261
|
+
// which is defined in a non-foreign document means that all
|
1262
|
+
// further interfaces will be non-foreign as well.
|
1263
|
+
None => break,
|
1264
|
+
};
|
1265
|
+
let pkgid = resolve
|
1266
|
+
.package_names
|
1267
|
+
.get(pkg_name)
|
1268
|
+
.copied()
|
1269
|
+
.ok_or_else(|| Error {
|
1270
|
+
span,
|
1271
|
+
msg: format!("package not found"),
|
1272
|
+
})?;
|
1273
|
+
|
1274
|
+
// Functions can't be imported so this should be empty.
|
1275
|
+
assert!(unresolved_iface.functions.is_empty());
|
1276
|
+
|
1277
|
+
let pkg = &resolve.packages[pkgid];
|
1278
|
+
let span = unresolved.interface_spans[unresolved_iface_id.index()];
|
1279
|
+
let iface_id = pkg
|
1280
|
+
.interfaces
|
1281
|
+
.get(interface)
|
1282
|
+
.copied()
|
1283
|
+
.ok_or_else(|| Error {
|
1284
|
+
span,
|
1285
|
+
msg: format!("interface not found in package"),
|
1286
|
+
})?;
|
1287
|
+
assert_eq!(self.interfaces.len(), unresolved_iface_id.index());
|
1288
|
+
self.interfaces.push(iface_id);
|
1289
|
+
}
|
1290
|
+
for (id, _) in unresolved.interfaces.iter().skip(self.interfaces.len()) {
|
1291
|
+
assert!(
|
1292
|
+
interface_to_package.get(&id).is_none(),
|
1293
|
+
"found foreign interface after local interface"
|
1294
|
+
);
|
1295
|
+
}
|
1296
|
+
Ok(())
|
1297
|
+
}
|
1298
|
+
|
1299
|
+
fn process_foreign_worlds(
|
1300
|
+
&mut self,
|
1301
|
+
unresolved: &UnresolvedPackage,
|
1302
|
+
world_to_package: &HashMap<WorldId, (&PackageName, &String, Span)>,
|
1303
|
+
resolve: &mut Resolve,
|
1304
|
+
) -> Result<(), anyhow::Error> {
|
1305
|
+
for (unresolved_world_id, _) in unresolved.worlds.iter() {
|
1306
|
+
let (pkg_name, world, span) = match world_to_package.get(&unresolved_world_id) {
|
1307
|
+
Some(items) => *items,
|
1308
|
+
// Same as above, all worlds are foreign until we find a
|
1309
|
+
// non-foreign one.
|
1310
|
+
None => break,
|
1311
|
+
};
|
1312
|
+
|
1313
|
+
let pkgid = resolve
|
1314
|
+
.package_names
|
1315
|
+
.get(pkg_name)
|
1316
|
+
.copied()
|
1317
|
+
.ok_or_else(|| Error {
|
1318
|
+
span,
|
1319
|
+
msg: format!("package not found"),
|
1320
|
+
})?;
|
1321
|
+
let pkg = &resolve.packages[pkgid];
|
1322
|
+
let span = unresolved.world_spans[unresolved_world_id.index()];
|
1323
|
+
let world_id = pkg.worlds.get(world).copied().ok_or_else(|| Error {
|
1324
|
+
span,
|
1325
|
+
msg: format!("world not found in package"),
|
1326
|
+
})?;
|
1327
|
+
assert_eq!(self.worlds.len(), unresolved_world_id.index());
|
1328
|
+
self.worlds.push(world_id);
|
1329
|
+
}
|
1330
|
+
for (id, _) in unresolved.worlds.iter().skip(self.worlds.len()) {
|
1331
|
+
assert!(
|
1332
|
+
world_to_package.get(&id).is_none(),
|
1333
|
+
"found foreign world after local world"
|
1334
|
+
);
|
1335
|
+
}
|
1336
|
+
Ok(())
|
1337
|
+
}
|
1338
|
+
|
1339
|
+
fn process_foreign_types(
|
1340
|
+
&mut self,
|
1341
|
+
unresolved: &UnresolvedPackage,
|
1342
|
+
resolve: &mut Resolve,
|
1343
|
+
) -> Result<(), anyhow::Error> {
|
1344
|
+
for (unresolved_type_id, unresolved_ty) in unresolved.types.iter() {
|
1345
|
+
// All "Unknown" types should appear first so once we're no longer
|
1346
|
+
// in unknown territory it's package-defined types so break out of
|
1347
|
+
// this loop.
|
1348
|
+
match unresolved_ty.kind {
|
1349
|
+
TypeDefKind::Unknown => {}
|
1350
|
+
_ => break,
|
1351
|
+
}
|
1352
|
+
let unresolved_iface_id = match unresolved_ty.owner {
|
1353
|
+
TypeOwner::Interface(id) => id,
|
1354
|
+
_ => unreachable!(),
|
1355
|
+
};
|
1356
|
+
let iface_id = self.interfaces[unresolved_iface_id.index()];
|
1357
|
+
let name = unresolved_ty.name.as_ref().unwrap();
|
1358
|
+
let span = unresolved.unknown_type_spans[unresolved_type_id.index()];
|
1359
|
+
let type_id = *resolve.interfaces[iface_id]
|
1360
|
+
.types
|
1361
|
+
.get(name)
|
1362
|
+
.ok_or_else(|| Error {
|
1363
|
+
span,
|
1364
|
+
msg: format!("type `{name}` not defined in interface"),
|
1365
|
+
})?;
|
1366
|
+
assert_eq!(self.types.len(), unresolved_type_id.index());
|
1367
|
+
self.types.push(type_id);
|
1368
|
+
}
|
1369
|
+
for (_, ty) in unresolved.types.iter().skip(self.types.len()) {
|
1370
|
+
if let TypeDefKind::Unknown = ty.kind {
|
1371
|
+
panic!("unknown type after defined type");
|
1372
|
+
}
|
1373
|
+
}
|
1374
|
+
Ok(())
|
1375
|
+
}
|
1376
|
+
|
1377
|
+
fn update_typedef(&mut self, resolve: &mut Resolve, ty: &mut TypeDef) {
|
1378
|
+
// NB: note that `ty.owner` is not updated here since interfaces
|
1379
|
+
// haven't been mapped yet and that's done in a separate step.
|
1380
|
+
use crate::TypeDefKind::*;
|
1381
|
+
match &mut ty.kind {
|
1382
|
+
Handle(handle) => match handle {
|
1383
|
+
crate::Handle::Own(ty) | crate::Handle::Borrow(ty) => self.update_type_id(ty),
|
1384
|
+
},
|
1385
|
+
Resource => {}
|
1386
|
+
Record(r) => {
|
1387
|
+
for field in r.fields.iter_mut() {
|
1388
|
+
self.update_ty(resolve, &mut field.ty);
|
1389
|
+
}
|
1390
|
+
}
|
1391
|
+
Tuple(t) => {
|
1392
|
+
for ty in t.types.iter_mut() {
|
1393
|
+
self.update_ty(resolve, ty);
|
1394
|
+
}
|
1395
|
+
}
|
1396
|
+
Variant(v) => {
|
1397
|
+
for case in v.cases.iter_mut() {
|
1398
|
+
if let Some(t) = &mut case.ty {
|
1399
|
+
self.update_ty(resolve, t);
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
}
|
1403
|
+
Option(t) => self.update_ty(resolve, t),
|
1404
|
+
Result(r) => {
|
1405
|
+
if let Some(ty) = &mut r.ok {
|
1406
|
+
self.update_ty(resolve, ty);
|
1407
|
+
}
|
1408
|
+
if let Some(ty) = &mut r.err {
|
1409
|
+
self.update_ty(resolve, ty);
|
1410
|
+
}
|
1411
|
+
}
|
1412
|
+
List(t) => self.update_ty(resolve, t),
|
1413
|
+
Future(Some(t)) => self.update_ty(resolve, t),
|
1414
|
+
Stream(t) => {
|
1415
|
+
if let Some(ty) = &mut t.element {
|
1416
|
+
self.update_ty(resolve, ty);
|
1417
|
+
}
|
1418
|
+
if let Some(ty) = &mut t.end {
|
1419
|
+
self.update_ty(resolve, ty);
|
1420
|
+
}
|
1421
|
+
}
|
1422
|
+
|
1423
|
+
// Note that `update_ty` is specifically not used here as typedefs
|
1424
|
+
// because for the `type a = b` form that doesn't force `a` to be a
|
1425
|
+
// handle type if `b` is a resource type, instead `a` is
|
1426
|
+
// simultaneously usable as a resource and a handle type
|
1427
|
+
Type(crate::Type::Id(id)) => self.update_type_id(id),
|
1428
|
+
Type(_) => {}
|
1429
|
+
|
1430
|
+
// nothing to do for these as they're just names or empty
|
1431
|
+
Flags(_) | Enum(_) | Future(None) => {}
|
1432
|
+
|
1433
|
+
Unknown => unreachable!(),
|
1434
|
+
}
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
fn update_ty(&mut self, resolve: &mut Resolve, ty: &mut Type) {
|
1438
|
+
let id = match ty {
|
1439
|
+
Type::Id(id) => id,
|
1440
|
+
_ => return,
|
1441
|
+
};
|
1442
|
+
self.update_type_id(id);
|
1443
|
+
|
1444
|
+
// If `id` points to a `Resource` type then this means that what was
|
1445
|
+
// just discovered was a reference to what will implicitly become an
|
1446
|
+
// `own<T>` handle. This `own` handle is implicitly allocated here
|
1447
|
+
// and handled during the merging process.
|
1448
|
+
let mut cur = *id;
|
1449
|
+
let points_to_resource = loop {
|
1450
|
+
match resolve.types[cur].kind {
|
1451
|
+
TypeDefKind::Type(Type::Id(id)) => cur = id,
|
1452
|
+
TypeDefKind::Resource => break true,
|
1453
|
+
_ => break false,
|
1454
|
+
}
|
1455
|
+
};
|
1456
|
+
|
1457
|
+
if points_to_resource {
|
1458
|
+
*id = *self.own_handles.entry(*id).or_insert_with(|| {
|
1459
|
+
resolve.types.alloc(TypeDef {
|
1460
|
+
name: None,
|
1461
|
+
owner: TypeOwner::None,
|
1462
|
+
kind: TypeDefKind::Handle(Handle::Own(*id)),
|
1463
|
+
docs: Default::default(),
|
1464
|
+
})
|
1465
|
+
});
|
1466
|
+
}
|
1467
|
+
}
|
1468
|
+
|
1469
|
+
fn update_type_id(&self, id: &mut TypeId) {
|
1470
|
+
*id = self.types[id.index()];
|
1471
|
+
}
|
1472
|
+
|
1473
|
+
fn update_interface(&mut self, resolve: &mut Resolve, iface: &mut Interface) {
|
1474
|
+
// NB: note that `iface.doc` is not updated here since interfaces
|
1475
|
+
// haven't been mapped yet and that's done in a separate step.
|
1476
|
+
for (_name, ty) in iface.types.iter_mut() {
|
1477
|
+
self.update_type_id(ty);
|
1478
|
+
}
|
1479
|
+
for (_, func) in iface.functions.iter_mut() {
|
1480
|
+
self.update_function(resolve, func);
|
1481
|
+
}
|
1482
|
+
}
|
1483
|
+
|
1484
|
+
fn update_function(&mut self, resolve: &mut Resolve, func: &mut Function) {
|
1485
|
+
match &mut func.kind {
|
1486
|
+
FunctionKind::Freestanding => {}
|
1487
|
+
FunctionKind::Method(id) | FunctionKind::Constructor(id) | FunctionKind::Static(id) => {
|
1488
|
+
self.update_type_id(id);
|
1489
|
+
}
|
1490
|
+
}
|
1491
|
+
for (_, ty) in func.params.iter_mut() {
|
1492
|
+
self.update_ty(resolve, ty);
|
1493
|
+
}
|
1494
|
+
match &mut func.results {
|
1495
|
+
Results::Named(named) => {
|
1496
|
+
for (_, ty) in named.iter_mut() {
|
1497
|
+
self.update_ty(resolve, ty);
|
1498
|
+
}
|
1499
|
+
}
|
1500
|
+
Results::Anon(ty) => self.update_ty(resolve, ty),
|
1501
|
+
}
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
fn update_world(
|
1505
|
+
&mut self,
|
1506
|
+
world: &mut World,
|
1507
|
+
resolve: &mut Resolve,
|
1508
|
+
import_spans: &[Span],
|
1509
|
+
export_spans: &[Span],
|
1510
|
+
include_world_spans: &[Span],
|
1511
|
+
) -> Result<()> {
|
1512
|
+
// NB: this function is more more complicated than the prior versions
|
1513
|
+
// of merging an item because this is the location that elaboration of
|
1514
|
+
// imports/exports of a world are fully resolved. With full transitive
|
1515
|
+
// knowledge of all interfaces a worlds imports, for example, are
|
1516
|
+
// expanded fully to ensure that all transitive items are necessarily
|
1517
|
+
// imported.
|
1518
|
+
assert_eq!(world.imports.len(), import_spans.len());
|
1519
|
+
assert_eq!(world.exports.len(), export_spans.len());
|
1520
|
+
|
1521
|
+
// First up, process all the `imports` of the world. Note that this
|
1522
|
+
// starts by gutting the list of imports stored in `world` to get
|
1523
|
+
// rebuilt iteratively below.
|
1524
|
+
//
|
1525
|
+
// Here each import of an interface is recorded and then additionally
|
1526
|
+
// explicitly named imports of interfaces are recorded as well for
|
1527
|
+
// determining names later on.
|
1528
|
+
let mut import_funcs = Vec::new();
|
1529
|
+
let mut import_types = Vec::new();
|
1530
|
+
for ((mut name, item), span) in mem::take(&mut world.imports).into_iter().zip(import_spans)
|
1531
|
+
{
|
1532
|
+
self.update_world_key(&mut name);
|
1533
|
+
match item {
|
1534
|
+
WorldItem::Interface(id) => {
|
1535
|
+
let id = self.interfaces[id.index()];
|
1536
|
+
self.add_world_import(resolve, world, name, id);
|
1537
|
+
}
|
1538
|
+
WorldItem::Function(mut f) => {
|
1539
|
+
self.update_function(resolve, &mut f);
|
1540
|
+
import_funcs.push((name.unwrap_name(), f, *span));
|
1541
|
+
}
|
1542
|
+
WorldItem::Type(id) => {
|
1543
|
+
let id = self.types[id.index()];
|
1544
|
+
import_types.push((name.unwrap_name(), id, *span));
|
1545
|
+
}
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
for (_name, id, _span) in import_types.iter() {
|
1550
|
+
if let TypeDefKind::Type(Type::Id(other)) = resolve.types[*id].kind {
|
1551
|
+
if let TypeOwner::Interface(owner) = resolve.types[other].owner {
|
1552
|
+
let name = WorldKey::Interface(owner);
|
1553
|
+
self.add_world_import(resolve, world, name, owner);
|
1554
|
+
}
|
1555
|
+
}
|
1556
|
+
}
|
1557
|
+
|
1558
|
+
let mut export_funcs = Vec::new();
|
1559
|
+
let mut export_interfaces = IndexMap::new();
|
1560
|
+
for ((mut name, item), span) in mem::take(&mut world.exports).into_iter().zip(export_spans)
|
1561
|
+
{
|
1562
|
+
self.update_world_key(&mut name);
|
1563
|
+
match item {
|
1564
|
+
WorldItem::Interface(id) => {
|
1565
|
+
let id = self.interfaces[id.index()];
|
1566
|
+
let prev = export_interfaces.insert(id, (name, *span));
|
1567
|
+
assert!(prev.is_none());
|
1568
|
+
}
|
1569
|
+
WorldItem::Function(mut f) => {
|
1570
|
+
self.update_function(resolve, &mut f);
|
1571
|
+
let name = match name {
|
1572
|
+
WorldKey::Name(name) => name,
|
1573
|
+
WorldKey::Interface(_) => unreachable!(),
|
1574
|
+
};
|
1575
|
+
export_funcs.push((name, f, *span));
|
1576
|
+
}
|
1577
|
+
WorldItem::Type(_) => unreachable!(),
|
1578
|
+
}
|
1579
|
+
}
|
1580
|
+
|
1581
|
+
self.add_world_exports(resolve, world, &export_interfaces)?;
|
1582
|
+
|
1583
|
+
// Resolve all includes of the world
|
1584
|
+
let includes = mem::take(&mut world.includes);
|
1585
|
+
let include_names = mem::take(&mut world.include_names);
|
1586
|
+
for (index, include_world) in includes.into_iter().enumerate() {
|
1587
|
+
let span = include_world_spans[index];
|
1588
|
+
let names = &include_names[index];
|
1589
|
+
self.resolve_include(world, include_world, names, span, resolve)?;
|
1590
|
+
}
|
1591
|
+
|
1592
|
+
for (name, id, span) in import_types {
|
1593
|
+
let prev = world
|
1594
|
+
.imports
|
1595
|
+
.insert(WorldKey::Name(name.clone()), WorldItem::Type(id));
|
1596
|
+
if prev.is_some() {
|
1597
|
+
bail!(Error {
|
1598
|
+
msg: format!("export of type `{name}` shadows previously imported interface"),
|
1599
|
+
span,
|
1600
|
+
})
|
1601
|
+
}
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
for (name, func, span) in import_funcs {
|
1605
|
+
let prev = world
|
1606
|
+
.imports
|
1607
|
+
.insert(WorldKey::Name(name.clone()), WorldItem::Function(func));
|
1608
|
+
if prev.is_some() {
|
1609
|
+
bail!(Error {
|
1610
|
+
msg: format!(
|
1611
|
+
"import of function `{name}` shadows previously imported interface"
|
1612
|
+
),
|
1613
|
+
span,
|
1614
|
+
})
|
1615
|
+
}
|
1616
|
+
}
|
1617
|
+
|
1618
|
+
for (name, func, span) in export_funcs {
|
1619
|
+
let prev = world
|
1620
|
+
.exports
|
1621
|
+
.insert(WorldKey::Name(name.clone()), WorldItem::Function(func));
|
1622
|
+
if prev.is_some() {
|
1623
|
+
bail!(Error {
|
1624
|
+
msg: format!(
|
1625
|
+
"export of function `{name}` shadows previously exported interface"
|
1626
|
+
),
|
1627
|
+
span,
|
1628
|
+
})
|
1629
|
+
}
|
1630
|
+
}
|
1631
|
+
|
1632
|
+
// After all that sort functions in exports to come before interfaces in
|
1633
|
+
// exports. This is not strictly required for correctness but make
|
1634
|
+
// iterating over a world much easier for consumers. Exported functions
|
1635
|
+
// are guaranteed to use types from either imported interfaces or
|
1636
|
+
// imported types into the world itself. Currently there is no means by
|
1637
|
+
// which an export function, at the root, can use types from any other
|
1638
|
+
// exported interfaces (can't be modeled syntactically in WIT). This
|
1639
|
+
// means that by placing all functions first it guarantees that visitors
|
1640
|
+
// which visit imports first then exports will walk over types and
|
1641
|
+
// references in the order of what they're actually using.
|
1642
|
+
//
|
1643
|
+
// For example if an interface is both imported and exported and an
|
1644
|
+
// exported function uses a type from that interface, then a visitor
|
1645
|
+
// should visit the imported interface, then the exported function, then
|
1646
|
+
// the exported interface. That way tables about "where was this type
|
1647
|
+
// defined" will be correct as the last-inserted item will be used and
|
1648
|
+
// correctly account for this.
|
1649
|
+
world.exports.sort_by(|_, a, _, b| {
|
1650
|
+
let rank = |item: &WorldItem| match item {
|
1651
|
+
WorldItem::Type(_) => unreachable!(),
|
1652
|
+
WorldItem::Function(_) => 0,
|
1653
|
+
WorldItem::Interface(_) => 1,
|
1654
|
+
};
|
1655
|
+
rank(a).cmp(&rank(b))
|
1656
|
+
});
|
1657
|
+
|
1658
|
+
log::trace!("imports = {:?}", world.imports);
|
1659
|
+
log::trace!("exports = {:?}", world.exports);
|
1660
|
+
|
1661
|
+
Ok(())
|
1662
|
+
}
|
1663
|
+
|
1664
|
+
fn update_world_key(&self, key: &mut WorldKey) {
|
1665
|
+
match key {
|
1666
|
+
WorldKey::Name(_) => {}
|
1667
|
+
WorldKey::Interface(id) => {
|
1668
|
+
*id = self.interfaces[id.index()];
|
1669
|
+
}
|
1670
|
+
}
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
fn add_world_import(
|
1674
|
+
&self,
|
1675
|
+
resolve: &Resolve,
|
1676
|
+
world: &mut World,
|
1677
|
+
key: WorldKey,
|
1678
|
+
id: InterfaceId,
|
1679
|
+
) {
|
1680
|
+
if world.imports.contains_key(&key) {
|
1681
|
+
return;
|
1682
|
+
}
|
1683
|
+
for dep in resolve.interface_direct_deps(id) {
|
1684
|
+
self.add_world_import(resolve, world, WorldKey::Interface(dep), dep);
|
1685
|
+
}
|
1686
|
+
let prev = world.imports.insert(key, WorldItem::Interface(id));
|
1687
|
+
assert!(prev.is_none());
|
1688
|
+
}
|
1689
|
+
|
1690
|
+
/// This function adds all of the interfaces in `export_interfaces` to the
|
1691
|
+
/// list of exports of the `world` specified.
|
1692
|
+
///
|
1693
|
+
/// This method is more involved than adding imports because it is fallible.
|
1694
|
+
/// Chiefly what can happen is that the dependencies of all exports must be
|
1695
|
+
/// satisfied by other exports or imports, but not both. For example given a
|
1696
|
+
/// situation such as:
|
1697
|
+
///
|
1698
|
+
/// ```wit
|
1699
|
+
/// interface a {
|
1700
|
+
/// type t = u32
|
1701
|
+
/// }
|
1702
|
+
/// interface b {
|
1703
|
+
/// use a.{t}
|
1704
|
+
/// }
|
1705
|
+
/// interface c {
|
1706
|
+
/// use a.{t}
|
1707
|
+
/// use b.{t as t2}
|
1708
|
+
/// }
|
1709
|
+
/// ```
|
1710
|
+
///
|
1711
|
+
/// where `c` depends on `b` and `a` where `b` depends on `a`, then the
|
1712
|
+
/// purpose of this method is to reject this world:
|
1713
|
+
///
|
1714
|
+
/// ```wit
|
1715
|
+
/// world foo {
|
1716
|
+
/// export a
|
1717
|
+
/// export c
|
1718
|
+
/// }
|
1719
|
+
/// ```
|
1720
|
+
///
|
1721
|
+
/// The reasoning here is unfortunately subtle and is additionally the
|
1722
|
+
/// subject of WebAssembly/component-model#208. Effectively the `c`
|
1723
|
+
/// interface depends on `b`, but it's not listed explicitly as an import,
|
1724
|
+
/// so it's then implicitly added as an import. This then transitively
|
1725
|
+
/// depends on `a` so it's also added as an import. At this point though `c`
|
1726
|
+
/// also depends on `a`, and it's also exported, so naively it should depend
|
1727
|
+
/// on the export and not implicitly add an import. This means though that
|
1728
|
+
/// `c` has access to two copies of `a`, one imported and one exported. This
|
1729
|
+
/// is not valid, especially in the face of resource types.
|
1730
|
+
///
|
1731
|
+
/// Overall this method is tasked with rejecting the above world by walking
|
1732
|
+
/// over all the exports and adding their dependencies. Each dependency is
|
1733
|
+
/// recorded with whether it's required to be imported, and then if an
|
1734
|
+
/// export is added for something that's required to be an error then the
|
1735
|
+
/// operation fails.
|
1736
|
+
fn add_world_exports(
|
1737
|
+
&self,
|
1738
|
+
resolve: &Resolve,
|
1739
|
+
world: &mut World,
|
1740
|
+
export_interfaces: &IndexMap<InterfaceId, (WorldKey, Span)>,
|
1741
|
+
) -> Result<()> {
|
1742
|
+
let mut required_imports = HashSet::new();
|
1743
|
+
for (id, (key, span)) in export_interfaces.iter() {
|
1744
|
+
let ok = add_world_export(
|
1745
|
+
resolve,
|
1746
|
+
world,
|
1747
|
+
export_interfaces,
|
1748
|
+
&mut required_imports,
|
1749
|
+
*id,
|
1750
|
+
key,
|
1751
|
+
true,
|
1752
|
+
);
|
1753
|
+
if !ok {
|
1754
|
+
bail!(Error {
|
1755
|
+
// FIXME: this is not a great error message and basically no
|
1756
|
+
// one will know what to do when it gets printed. Improving
|
1757
|
+
// this error message, however, is a chunk of work that may
|
1758
|
+
// not be best spent doing this at this time, so I'm writing
|
1759
|
+
// this comment instead.
|
1760
|
+
//
|
1761
|
+
// More-or-less what should happen here is that a "path"
|
1762
|
+
// from this interface to the conflicting interface should
|
1763
|
+
// be printed. It should be explained why an import is being
|
1764
|
+
// injected, why that's conflicting with an export, and
|
1765
|
+
// ideally with a suggestion of "add this interface to the
|
1766
|
+
// export list to fix this error".
|
1767
|
+
//
|
1768
|
+
// That's a lot of info that's not easy to get at without
|
1769
|
+
// more refactoring, so it's left to a future date in the
|
1770
|
+
// hopes that most folks won't actually run into this for
|
1771
|
+
// the time being.
|
1772
|
+
msg: format!(
|
1773
|
+
"interface transitively depends on an interface in \
|
1774
|
+
incompatible ways",
|
1775
|
+
),
|
1776
|
+
span: *span,
|
1777
|
+
});
|
1778
|
+
}
|
1779
|
+
}
|
1780
|
+
return Ok(());
|
1781
|
+
|
1782
|
+
fn add_world_export(
|
1783
|
+
resolve: &Resolve,
|
1784
|
+
world: &mut World,
|
1785
|
+
export_interfaces: &IndexMap<InterfaceId, (WorldKey, Span)>,
|
1786
|
+
required_imports: &mut HashSet<InterfaceId>,
|
1787
|
+
id: InterfaceId,
|
1788
|
+
key: &WorldKey,
|
1789
|
+
add_export: bool,
|
1790
|
+
) -> bool {
|
1791
|
+
if world.exports.contains_key(key) {
|
1792
|
+
if add_export {
|
1793
|
+
return true;
|
1794
|
+
} else {
|
1795
|
+
return false;
|
1796
|
+
}
|
1797
|
+
}
|
1798
|
+
// If this is an import and it's already in the `required_imports`
|
1799
|
+
// set then we can skip it as we've already visited this interface.
|
1800
|
+
if !add_export && required_imports.contains(&id) {
|
1801
|
+
return true;
|
1802
|
+
}
|
1803
|
+
let ok = resolve.interface_direct_deps(id).all(|dep| {
|
1804
|
+
let key = WorldKey::Interface(dep);
|
1805
|
+
let add_export = add_export && export_interfaces.contains_key(&dep);
|
1806
|
+
add_world_export(
|
1807
|
+
resolve,
|
1808
|
+
world,
|
1809
|
+
export_interfaces,
|
1810
|
+
required_imports,
|
1811
|
+
dep,
|
1812
|
+
&key,
|
1813
|
+
add_export,
|
1814
|
+
)
|
1815
|
+
});
|
1816
|
+
if !ok {
|
1817
|
+
return false;
|
1818
|
+
}
|
1819
|
+
if add_export {
|
1820
|
+
if required_imports.contains(&id) {
|
1821
|
+
return false;
|
1822
|
+
}
|
1823
|
+
world.exports.insert(key.clone(), WorldItem::Interface(id));
|
1824
|
+
} else {
|
1825
|
+
required_imports.insert(id);
|
1826
|
+
world.imports.insert(key.clone(), WorldItem::Interface(id));
|
1827
|
+
}
|
1828
|
+
true
|
1829
|
+
}
|
1830
|
+
}
|
1831
|
+
|
1832
|
+
fn resolve_include(
|
1833
|
+
&self,
|
1834
|
+
world: &mut World,
|
1835
|
+
include_world: WorldId,
|
1836
|
+
names: &[IncludeName],
|
1837
|
+
span: Span,
|
1838
|
+
resolve: &Resolve,
|
1839
|
+
) -> Result<()> {
|
1840
|
+
let include_world_id = self.worlds[include_world.index()];
|
1841
|
+
let include_world = &resolve.worlds[include_world_id];
|
1842
|
+
let mut names_ = names.to_owned();
|
1843
|
+
|
1844
|
+
// remove all imports and exports that match the names we're including
|
1845
|
+
for import in include_world.imports.iter() {
|
1846
|
+
self.remove_matching_name(import, &mut names_);
|
1847
|
+
}
|
1848
|
+
for export in include_world.exports.iter() {
|
1849
|
+
self.remove_matching_name(export, &mut names_);
|
1850
|
+
}
|
1851
|
+
if !names_.is_empty() {
|
1852
|
+
bail!(Error {
|
1853
|
+
msg: format!("no import or export kebab-name `{}`. Note that an ID does not support renaming", names_[0].name),
|
1854
|
+
span: span,
|
1855
|
+
});
|
1856
|
+
}
|
1857
|
+
|
1858
|
+
// copy the imports and exports from the included world into the current world
|
1859
|
+
for import in include_world.imports.iter() {
|
1860
|
+
self.resolve_include_item(names, &mut world.imports, import, span, "import")?;
|
1861
|
+
}
|
1862
|
+
|
1863
|
+
for export in include_world.exports.iter() {
|
1864
|
+
self.resolve_include_item(names, &mut world.exports, export, span, "export")?;
|
1865
|
+
}
|
1866
|
+
Ok(())
|
1867
|
+
}
|
1868
|
+
|
1869
|
+
fn resolve_include_item(
|
1870
|
+
&self,
|
1871
|
+
names: &[IncludeName],
|
1872
|
+
items: &mut IndexMap<WorldKey, WorldItem>,
|
1873
|
+
item: (&WorldKey, &WorldItem),
|
1874
|
+
span: Span,
|
1875
|
+
item_type: &str,
|
1876
|
+
) -> Result<()> {
|
1877
|
+
match item.0 {
|
1878
|
+
WorldKey::Name(n) => {
|
1879
|
+
let n = if let Some(found) = names
|
1880
|
+
.into_iter()
|
1881
|
+
.find(|include_name| include_name.name == n.clone())
|
1882
|
+
{
|
1883
|
+
found.as_.clone()
|
1884
|
+
} else {
|
1885
|
+
n.clone()
|
1886
|
+
};
|
1887
|
+
|
1888
|
+
let prev = items.insert(WorldKey::Name(n.clone()), item.1.clone());
|
1889
|
+
if prev.is_some() {
|
1890
|
+
bail!(Error {
|
1891
|
+
msg: format!("{item_type} of `{n}` shadows previously {item_type}ed items"),
|
1892
|
+
span,
|
1893
|
+
})
|
1894
|
+
}
|
1895
|
+
}
|
1896
|
+
key => {
|
1897
|
+
let prev = items.insert(key.clone(), item.1.clone());
|
1898
|
+
if let Some(prev) = prev {
|
1899
|
+
assert_eq!(prev, item.1.clone());
|
1900
|
+
}
|
1901
|
+
}
|
1902
|
+
};
|
1903
|
+
Ok(())
|
1904
|
+
}
|
1905
|
+
|
1906
|
+
fn remove_matching_name(&self, item: (&WorldKey, &WorldItem), names: &mut Vec<IncludeName>) {
|
1907
|
+
match item.0 {
|
1908
|
+
WorldKey::Name(n) => {
|
1909
|
+
names.retain(|name| name.name != n.clone());
|
1910
|
+
}
|
1911
|
+
_ => {}
|
1912
|
+
}
|
1913
|
+
}
|
1914
|
+
}
|
1915
|
+
|
1916
|
+
struct MergeMap<'a> {
|
1917
|
+
/// A map of package ids in `from` to those in `into` for those that are
|
1918
|
+
/// found to be equivalent.
|
1919
|
+
package_map: HashMap<PackageId, PackageId>,
|
1920
|
+
|
1921
|
+
/// A map of interface ids in `from` to those in `into` for those that are
|
1922
|
+
/// found to be equivalent.
|
1923
|
+
interface_map: HashMap<InterfaceId, InterfaceId>,
|
1924
|
+
|
1925
|
+
/// A map of type ids in `from` to those in `into` for those that are
|
1926
|
+
/// found to be equivalent.
|
1927
|
+
type_map: HashMap<TypeId, TypeId>,
|
1928
|
+
|
1929
|
+
/// A map of world ids in `from` to those in `into` for those that are
|
1930
|
+
/// found to be equivalent.
|
1931
|
+
world_map: HashMap<WorldId, WorldId>,
|
1932
|
+
|
1933
|
+
/// A list of documents that need to be added to packages in `into`.
|
1934
|
+
///
|
1935
|
+
/// The elements here are:
|
1936
|
+
///
|
1937
|
+
/// * The name of the interface/world
|
1938
|
+
/// * The ID within `into` of the package being added to
|
1939
|
+
/// * The ID within `from` of the item being added.
|
1940
|
+
interfaces_to_add: Vec<(String, PackageId, InterfaceId)>,
|
1941
|
+
worlds_to_add: Vec<(String, PackageId, WorldId)>,
|
1942
|
+
|
1943
|
+
/// Which `Resolve` is being merged from.
|
1944
|
+
from: &'a Resolve,
|
1945
|
+
|
1946
|
+
/// Which `Resolve` is being merged into.
|
1947
|
+
into: &'a Resolve,
|
1948
|
+
}
|
1949
|
+
|
1950
|
+
impl<'a> MergeMap<'a> {
|
1951
|
+
fn new(from: &'a Resolve, into: &'a Resolve) -> Result<MergeMap<'a>> {
|
1952
|
+
Ok(MergeMap {
|
1953
|
+
package_map: Default::default(),
|
1954
|
+
interface_map: Default::default(),
|
1955
|
+
type_map: Default::default(),
|
1956
|
+
world_map: Default::default(),
|
1957
|
+
interfaces_to_add: Default::default(),
|
1958
|
+
worlds_to_add: Default::default(),
|
1959
|
+
from,
|
1960
|
+
into,
|
1961
|
+
})
|
1962
|
+
}
|
1963
|
+
|
1964
|
+
fn build(&mut self) -> Result<()> {
|
1965
|
+
for from_id in self.from.topological_packages() {
|
1966
|
+
let from = &self.from.packages[from_id];
|
1967
|
+
let into_id = match self.into.package_names.get(&from.name) {
|
1968
|
+
Some(id) => *id,
|
1969
|
+
|
1970
|
+
// This package, according to its name and url, is not present
|
1971
|
+
// in `self` so it needs to get added below.
|
1972
|
+
None => {
|
1973
|
+
log::trace!("adding unique package {}", from.name);
|
1974
|
+
continue;
|
1975
|
+
}
|
1976
|
+
};
|
1977
|
+
log::trace!("merging duplicate package {}", from.name);
|
1978
|
+
|
1979
|
+
self.build_package(from_id, into_id).with_context(|| {
|
1980
|
+
format!("failed to merge package `{}` into existing copy", from.name)
|
1981
|
+
})?;
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
Ok(())
|
1985
|
+
}
|
1986
|
+
|
1987
|
+
fn build_package(&mut self, from_id: PackageId, into_id: PackageId) -> Result<()> {
|
1988
|
+
let prev = self.package_map.insert(from_id, into_id);
|
1989
|
+
assert!(prev.is_none());
|
1990
|
+
|
1991
|
+
let from = &self.from.packages[from_id];
|
1992
|
+
let into = &self.into.packages[into_id];
|
1993
|
+
|
1994
|
+
// If an interface is present in `from_id` but not present in `into_id`
|
1995
|
+
// then it can be copied over wholesale. That copy is scheduled to
|
1996
|
+
// happen within the `self.interfaces_to_add` list.
|
1997
|
+
for (name, from_interface_id) in from.interfaces.iter() {
|
1998
|
+
let into_interface_id = match into.interfaces.get(name) {
|
1999
|
+
Some(id) => *id,
|
2000
|
+
None => {
|
2001
|
+
log::trace!("adding unique interface {}", name);
|
2002
|
+
self.interfaces_to_add
|
2003
|
+
.push((name.clone(), into_id, *from_interface_id));
|
2004
|
+
continue;
|
2005
|
+
}
|
2006
|
+
};
|
2007
|
+
|
2008
|
+
log::trace!("merging duplicate interfaces {}", name);
|
2009
|
+
self.build_interface(*from_interface_id, into_interface_id)
|
2010
|
+
.with_context(|| format!("failed to merge interface `{name}`"))?;
|
2011
|
+
}
|
2012
|
+
|
2013
|
+
for (name, from_world_id) in from.worlds.iter() {
|
2014
|
+
let into_world_id = match into.worlds.get(name) {
|
2015
|
+
Some(id) => *id,
|
2016
|
+
None => {
|
2017
|
+
log::trace!("adding unique world {}", name);
|
2018
|
+
self.worlds_to_add
|
2019
|
+
.push((name.clone(), into_id, *from_world_id));
|
2020
|
+
continue;
|
2021
|
+
}
|
2022
|
+
};
|
2023
|
+
|
2024
|
+
log::trace!("merging duplicate worlds {}", name);
|
2025
|
+
self.build_world(*from_world_id, into_world_id)
|
2026
|
+
.with_context(|| format!("failed to merge world `{name}`"))?;
|
2027
|
+
}
|
2028
|
+
|
2029
|
+
Ok(())
|
2030
|
+
}
|
2031
|
+
|
2032
|
+
fn build_interface(&mut self, from_id: InterfaceId, into_id: InterfaceId) -> Result<()> {
|
2033
|
+
let prev = self.interface_map.insert(from_id, into_id);
|
2034
|
+
assert!(prev.is_none());
|
2035
|
+
|
2036
|
+
let from_interface = &self.from.interfaces[from_id];
|
2037
|
+
let into_interface = &self.into.interfaces[into_id];
|
2038
|
+
|
2039
|
+
// Unlike documents/interfaces above if an interface in `from`
|
2040
|
+
// differs from the interface in `into` then that's considered an
|
2041
|
+
// error. Changing interfaces can reflect changes in imports/exports
|
2042
|
+
// which may not be expected so it's currently required that all
|
2043
|
+
// interfaces, when merged, exactly match.
|
2044
|
+
//
|
2045
|
+
// One case to consider here, for example, is that if a world in
|
2046
|
+
// `into` exports the interface `into_id` then if `from_id` were to
|
2047
|
+
// add more items into `into` then it would unexpectedly require more
|
2048
|
+
// items to be exported which may not work. In an import context this
|
2049
|
+
// might work since it's "just more items available for import", but
|
2050
|
+
// for now a conservative route of "interfaces must match" is taken.
|
2051
|
+
|
2052
|
+
for (name, from_type_id) in from_interface.types.iter() {
|
2053
|
+
let into_type_id = *into_interface
|
2054
|
+
.types
|
2055
|
+
.get(name)
|
2056
|
+
.ok_or_else(|| anyhow!("expected type `{name}` to be present"))?;
|
2057
|
+
let prev = self.type_map.insert(*from_type_id, into_type_id);
|
2058
|
+
assert!(prev.is_none());
|
2059
|
+
|
2060
|
+
// FIXME: ideally the types should be "structurally
|
2061
|
+
// equal" but that's not trivial to do in the face of
|
2062
|
+
// resources.
|
2063
|
+
}
|
2064
|
+
|
2065
|
+
for (name, _) in from_interface.functions.iter() {
|
2066
|
+
if !into_interface.functions.contains_key(name) {
|
2067
|
+
bail!("expected function `{name}` to be present");
|
2068
|
+
}
|
2069
|
+
|
2070
|
+
// FIXME: ideally the functions should be "structurally
|
2071
|
+
// equal" but that's not trivial to do in the face of
|
2072
|
+
// resources.
|
2073
|
+
}
|
2074
|
+
|
2075
|
+
Ok(())
|
2076
|
+
}
|
2077
|
+
|
2078
|
+
fn build_world(&mut self, from_id: WorldId, into_id: WorldId) -> Result<()> {
|
2079
|
+
let prev = self.world_map.insert(from_id, into_id);
|
2080
|
+
assert!(prev.is_none());
|
2081
|
+
|
2082
|
+
let from_world = &self.from.worlds[from_id];
|
2083
|
+
let into_world = &self.into.worlds[into_id];
|
2084
|
+
|
2085
|
+
// Same as interfaces worlds are expected to exactly match to avoid
|
2086
|
+
// unexpectedly changing a particular component's view of imports and
|
2087
|
+
// exports.
|
2088
|
+
//
|
2089
|
+
// FIXME: this should probably share functionality with
|
2090
|
+
// `Resolve::merge_worlds` to support adding imports but not changing
|
2091
|
+
// exports.
|
2092
|
+
|
2093
|
+
if from_world.imports.len() != into_world.imports.len() {
|
2094
|
+
bail!("world contains different number of imports than expected");
|
2095
|
+
}
|
2096
|
+
if from_world.exports.len() != into_world.exports.len() {
|
2097
|
+
bail!("world contains different number of exports than expected");
|
2098
|
+
}
|
2099
|
+
|
2100
|
+
for (from_name, from) in from_world.imports.iter() {
|
2101
|
+
let into_name = self.map_name(from_name);
|
2102
|
+
let name_str = self.from.name_world_key(from_name);
|
2103
|
+
let into = into_world
|
2104
|
+
.imports
|
2105
|
+
.get(&into_name)
|
2106
|
+
.ok_or_else(|| anyhow!("import `{name_str}` not found in target world"))?;
|
2107
|
+
self.match_world_item(from, into)
|
2108
|
+
.with_context(|| format!("import `{name_str}` didn't match target world"))?;
|
2109
|
+
}
|
2110
|
+
|
2111
|
+
for (from_name, from) in from_world.exports.iter() {
|
2112
|
+
let into_name = self.map_name(from_name);
|
2113
|
+
let name_str = self.from.name_world_key(from_name);
|
2114
|
+
let into = into_world
|
2115
|
+
.exports
|
2116
|
+
.get(&into_name)
|
2117
|
+
.ok_or_else(|| anyhow!("export `{name_str}` not found in target world"))?;
|
2118
|
+
self.match_world_item(from, into)
|
2119
|
+
.with_context(|| format!("export `{name_str}` didn't match target world"))?;
|
2120
|
+
}
|
2121
|
+
|
2122
|
+
Ok(())
|
2123
|
+
}
|
2124
|
+
|
2125
|
+
fn map_name(&self, from_name: &WorldKey) -> WorldKey {
|
2126
|
+
match from_name {
|
2127
|
+
WorldKey::Name(s) => WorldKey::Name(s.clone()),
|
2128
|
+
WorldKey::Interface(id) => {
|
2129
|
+
WorldKey::Interface(self.interface_map.get(id).copied().unwrap_or(*id))
|
2130
|
+
}
|
2131
|
+
}
|
2132
|
+
}
|
2133
|
+
|
2134
|
+
fn match_world_item(&mut self, from: &WorldItem, into: &WorldItem) -> Result<()> {
|
2135
|
+
match (from, into) {
|
2136
|
+
(WorldItem::Interface(from), WorldItem::Interface(into)) => {
|
2137
|
+
match (
|
2138
|
+
&self.from.interfaces[*from].name,
|
2139
|
+
&self.into.interfaces[*into].name,
|
2140
|
+
) {
|
2141
|
+
// If one interface is unnamed then they must both be
|
2142
|
+
// unnamed and they must both have the same structure for
|
2143
|
+
// now.
|
2144
|
+
(None, None) => self.build_interface(*from, *into)?,
|
2145
|
+
|
2146
|
+
// Otherwise both interfaces must be named and they must
|
2147
|
+
// have been previously found to be equivalent. Note that
|
2148
|
+
// if either is unnamed it won't be present in
|
2149
|
+
// `interface_map` so this'll return an error.
|
2150
|
+
_ => {
|
2151
|
+
if self.interface_map.get(&from) != Some(&into) {
|
2152
|
+
bail!("interfaces are not the same");
|
2153
|
+
}
|
2154
|
+
}
|
2155
|
+
}
|
2156
|
+
}
|
2157
|
+
(WorldItem::Function(from), WorldItem::Function(into)) => {
|
2158
|
+
let _ = (from, into);
|
2159
|
+
// FIXME: should assert an check that `from` structurally
|
2160
|
+
// matches `into`
|
2161
|
+
}
|
2162
|
+
(WorldItem::Type(from), WorldItem::Type(into)) => {
|
2163
|
+
// FIXME: should assert an check that `from` structurally
|
2164
|
+
// matches `into`
|
2165
|
+
let prev = self.type_map.insert(*from, *into);
|
2166
|
+
assert!(prev.is_none());
|
2167
|
+
}
|
2168
|
+
|
2169
|
+
(WorldItem::Interface(_), _)
|
2170
|
+
| (WorldItem::Function(_), _)
|
2171
|
+
| (WorldItem::Type(_), _) => {
|
2172
|
+
bail!("world items do not have the same type")
|
2173
|
+
}
|
2174
|
+
}
|
2175
|
+
Ok(())
|
2176
|
+
}
|
2177
|
+
}
|
2178
|
+
|
2179
|
+
#[cfg(test)]
|
2180
|
+
mod tests {
|
2181
|
+
use crate::{PackageId, Resolve};
|
2182
|
+
|
2183
|
+
#[test]
|
2184
|
+
fn select_world() {
|
2185
|
+
let mut resolve = Resolve::default();
|
2186
|
+
parse_into(
|
2187
|
+
&mut resolve,
|
2188
|
+
r#"
|
2189
|
+
package foo:bar@0.1.0;
|
2190
|
+
|
2191
|
+
world foo {}
|
2192
|
+
"#,
|
2193
|
+
);
|
2194
|
+
parse_into(
|
2195
|
+
&mut resolve,
|
2196
|
+
r#"
|
2197
|
+
package foo:baz@0.1.0;
|
2198
|
+
|
2199
|
+
world foo {}
|
2200
|
+
"#,
|
2201
|
+
);
|
2202
|
+
parse_into(
|
2203
|
+
&mut resolve,
|
2204
|
+
r#"
|
2205
|
+
package foo:baz@0.2.0;
|
2206
|
+
|
2207
|
+
world foo {}
|
2208
|
+
"#,
|
2209
|
+
);
|
2210
|
+
|
2211
|
+
let dummy = parse_into(
|
2212
|
+
&mut resolve,
|
2213
|
+
r#"
|
2214
|
+
package foo:dummy;
|
2215
|
+
|
2216
|
+
world foo {}
|
2217
|
+
"#,
|
2218
|
+
);
|
2219
|
+
|
2220
|
+
assert!(resolve.select_world(dummy, None).is_ok());
|
2221
|
+
assert!(resolve.select_world(dummy, Some("xx")).is_err());
|
2222
|
+
assert!(resolve.select_world(dummy, Some("")).is_err());
|
2223
|
+
assert!(resolve.select_world(dummy, Some("foo:bar/foo")).is_ok());
|
2224
|
+
assert!(resolve
|
2225
|
+
.select_world(dummy, Some("foo:bar/foo@0.1.0"))
|
2226
|
+
.is_ok());
|
2227
|
+
assert!(resolve.select_world(dummy, Some("foo:baz/foo")).is_err());
|
2228
|
+
assert!(resolve
|
2229
|
+
.select_world(dummy, Some("foo:baz/foo@0.1.0"))
|
2230
|
+
.is_ok());
|
2231
|
+
assert!(resolve
|
2232
|
+
.select_world(dummy, Some("foo:baz/foo@0.2.0"))
|
2233
|
+
.is_ok());
|
2234
|
+
}
|
2235
|
+
|
2236
|
+
fn parse_into(resolve: &mut Resolve, wit: &str) -> PackageId {
|
2237
|
+
let pkg = crate::UnresolvedPackage::parse("input.wit".as_ref(), wit).unwrap();
|
2238
|
+
resolve.push(pkg).unwrap()
|
2239
|
+
}
|
2240
|
+
}
|