wasmtime 12.0.1 → 13.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 +176 -221
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/cap-net-ext-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/COPYRIGHT +29 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/Cargo.toml +38 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/README.md +24 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/src/lib.rs +771 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/lib.rs +184 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/map.rs +922 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/pool.rs +219 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/set.rs +597 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/Cargo.toml +164 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/binemit/mod.rs +141 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/binemit/stack_map.rs +155 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/bitset.rs +166 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/context.rs +372 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/incremental_cache.rs +256 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/atomic_rmw_op.rs +104 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/condcodes.rs +404 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/constant.rs +463 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/dfg.rs +1686 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/dynamic_type.rs +55 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/entities.rs +567 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/extfunc.rs +411 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/extname.rs +333 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/function.rs +475 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/globalvalue.rs +155 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/immediates.rs +1615 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/instructions.rs +1000 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/jumptable.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/known_symbol.rs +47 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/libcall.rs +232 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/memflags.rs +279 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/mod.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/sourceloc.rs +117 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/stackslot.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/table.rs +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/trapcode.rs +144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/types.rs +630 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/abi.rs +1573 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/args.rs +747 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/emit.rs +3911 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/emit_tests.rs +7951 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/mod.rs +3049 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst.isle +4173 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower/isle.rs +871 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower.isle +2889 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower.rs +132 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower_dynamic_neon.isle +98 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/call_conv.rs +119 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/abi.rs +981 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/args.rs +1900 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/emit.rs +3203 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/encode.rs +326 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/imms.rs +236 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/mod.rs +2162 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/vector.rs +1059 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst.isle +3092 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst_vector.isle +1887 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/lower/isle.rs +620 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/lower.isle +2119 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/abi.rs +949 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/inst/mod.rs +3430 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/inst.isle +5043 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/lower.isle +3982 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind/systemv.rs +272 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind/winx64.rs +334 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind.rs +182 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/abi.rs +1200 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/encoding/evex.rs +749 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/encoding/rex.rs +589 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/args.rs +2188 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/emit.rs +4300 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/emit_tests.rs +5474 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/mod.rs +2763 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst.isle +5110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower/isle.rs +1096 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower.isle +4675 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower.rs +340 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isle_prelude.rs +899 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/legalizer/mod.rs +356 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/lib.rs +107 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/abi.rs +2644 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/buffer.rs +2362 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/isle.rs +846 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/mod.rs +553 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/reg.rs +556 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/vcode.rs +1646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/bitops.isle +147 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/cprop.isle +200 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/extends.isle +34 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/icmp.isle +177 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/selects.isle +59 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/vector.isle +88 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/prelude.isle +603 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/prelude_lower.isle +1029 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/value_label.rs +32 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/verifier/mod.rs +1986 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/Cargo.toml +26 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/constant_hash.rs +63 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/gen_inst.rs +1784 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/shared/instructions.rs +3810 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/src/lib.rs +12 -0
- data/ext/cargo-vendor/cranelift-control-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.100.0/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/lib.rs +316 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/list.rs +955 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/packed_option.rs +171 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/primary.rs +456 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/sparse.rs +368 -0
- data/ext/cargo-vendor/cranelift-frontend-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.100.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/cranelift-frontend-0.100.0/src/lib.rs +191 -0
- data/ext/cargo-vendor/cranelift-isle-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.100.0/Cargo.toml +37 -0
- data/ext/cargo-vendor/cranelift-native-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.100.0/Cargo.toml +38 -0
- data/ext/cargo-vendor/cranelift-native-0.100.0/src/lib.rs +190 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/Cargo.toml +92 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/code_translator.rs +3641 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/environ/dummy.rs +942 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/environ/spec.rs +949 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/func_translator.rs +432 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/heap.rs +108 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/lib.rs +64 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/sections_translator.rs +408 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/translation_utils.rs +97 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/CHANGELOG.md +39 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/Cargo.toml +29 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/README.md +16 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/src/lib.rs +2808 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/src/test.rs +477 -0
- data/ext/cargo-vendor/serde-1.0.188/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde-1.0.188/Cargo.toml +69 -0
- data/ext/cargo-vendor/serde-1.0.188/build.rs +90 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/ignored_any.rs +238 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/impls.rs +2966 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/mod.rs +2290 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/value.rs +1708 -0
- data/ext/cargo-vendor/serde-1.0.188/src/integer128.rs +9 -0
- data/ext/cargo-vendor/serde-1.0.188/src/lib.rs +327 -0
- data/ext/cargo-vendor/serde-1.0.188/src/macros.rs +231 -0
- data/ext/cargo-vendor/serde-1.0.188/src/ser/fmt.rs +170 -0
- data/ext/cargo-vendor/serde-1.0.188/src/ser/impls.rs +998 -0
- data/ext/cargo-vendor/serde-1.0.188/src/ser/mod.rs +1952 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/Cargo.toml +59 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/src/lib.rs +102 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/src/ser.rs +1359 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/Cargo.toml +96 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/src/lib.rs +161 -0
- data/ext/cargo-vendor/wasi-common-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-13.0.0/Cargo.toml +87 -0
- data/ext/cargo-vendor/wasm-encoder-0.32.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.32.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.32.0/src/component/types.rs +769 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/builder.rs +449 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/exports.rs +127 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/imports.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/types.rs +769 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/code.rs +2913 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/data.rs +185 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/elements.rs +220 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/globals.rs +90 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/imports.rs +142 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/memories.rs +99 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/names.rs +265 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/producers.rs +180 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/tables.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/types.rs +372 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/limits.rs +58 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/readers/component/types.rs +542 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/readers/core/types.rs +1303 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/component.rs +3120 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/core.rs +1352 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/types.rs +3239 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator.rs +1569 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/lib.rs +726 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/limits.rs +58 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/component/types.rs +542 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core/dylink0.rs +132 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core/types.rs +1303 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/component.rs +3120 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/core.rs +1352 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/operators.rs +3466 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/types.rs +3239 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator.rs +1595 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/Cargo.toml +39 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/src/lib.rs +2965 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/src/operator.rs +873 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/Cargo.toml +191 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/component.rs +474 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/func/typed.rs +2297 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/instance.rs +793 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/linker.rs +483 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/mod.rs +344 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/types.rs +523 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/values.rs +1272 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/config.rs +2313 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/engine/serialization.rs +657 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/engine.rs +790 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/instance.rs +884 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/limits.rs +398 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/module.rs +1349 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/store.rs +2246 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/trampoline/memory.rs +255 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/trampoline.rs +76 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-13.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/Cargo.toml +72 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/config.rs +584 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/worker/tests.rs +758 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/worker.rs +894 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/src/bindgen.rs +387 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/tests/codegen/resources-import.wit +87 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/tests/codegen/variants.wit +136 -0
- data/ext/cargo-vendor/wasmtime-component-util-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-13.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/Cargo.toml +97 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/builder.rs +123 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/compiler.rs +1301 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/debug/transform/attr.rs +340 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/debug.rs +18 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/func_environ.rs +2589 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-13.0.0/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/Cargo.lock +711 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/Cargo.toml +118 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/address_map.rs +192 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/builtin.rs +143 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/compilation.rs +403 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/compiler.rs +47 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/info.rs +583 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/types.rs +1866 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/fact/trampoline.rs +3229 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/fact/transcode.rs +168 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/lib.rs +59 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module.rs +1083 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module_environ.rs +876 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module_types.rs +78 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/stack_map.rs +36 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/tunables.rs +115 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/vmoffsets.rs +919 -0
- data/ext/cargo-vendor/wasmtime-fiber-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-13.0.0/Cargo.toml +51 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/Cargo.toml +106 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/instantiate.rs +760 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/lib.rs +21 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/miri.rs +15 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/systemv.rs +90 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/winx64.rs +44 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-13.0.0/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-13.0.0/Cargo.toml +37 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/Cargo.toml +122 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/on_demand.rs +154 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/index_allocator.rs +684 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/memory_pool.rs +460 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/stack_pool.rs +242 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/table_pool.rs +221 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling.rs +633 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator.rs +686 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance.rs +1382 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/lib.rs +276 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/libcalls.rs +775 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/memory.rs +958 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/parking_spot.rs +520 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/table.rs +598 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/trampolines/s390x.S +70 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/traphandlers/macos.rs +486 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/traphandlers.rs +815 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/vmcontext.rs +1197 -0
- data/ext/cargo-vendor/wasmtime-types-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-13.0.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-13.0.0/src/lib.rs +504 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-13.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/Cargo.toml +232 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/lib.rs +135 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/command.rs +121 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/ctx.rs +351 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/filesystem.rs +277 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/clocks.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/env.rs +15 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/exit.rs +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/filesystem/sync.rs +645 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/filesystem.rs +1167 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/instance_network.rs +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/io.rs +553 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/mod.rs +10 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/network.rs +186 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/tcp.rs +511 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/tcp_create_socket.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/mod.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/network.rs +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/pipe.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/preview1.rs +2078 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio/unix.rs +160 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio/worker_thread_stdin.rs +140 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio.rs +354 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stream.rs +347 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/table.rs +293 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/tcp.rs +280 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/command-extended.wit +39 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/command.wit +33 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/environment.wit +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/exit.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/run.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/terminal.wit +59 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/preopens.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/types.wit +824 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/world.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/http/proxy.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/http/types.wit +155 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/io/streams.wit +300 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/logging/logging.wit +37 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/ip-name-lookup.wit +69 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/network.wit +187 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/tcp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/tcp.wit +268 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/udp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/udp.wit +220 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/main.wit +33 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/test.wit +41 -0
- data/ext/cargo-vendor/wasmtime-winch-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-13.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/lib.rs +1953 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/rust.rs +490 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/types.rs +194 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/src/lib.rs +404 -0
- data/ext/cargo-vendor/wast-65.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-65.0.1/Cargo.toml +50 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/binary.rs +1021 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/expand.rs +875 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/resolve.rs +1005 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/types.rs +991 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/wast.rs +160 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/binary.rs +1241 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/expr.rs +2021 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/table.rs +288 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/types.rs +847 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/wast.rs +256 -0
- data/ext/cargo-vendor/wast-65.0.1/src/lib.rs +536 -0
- data/ext/cargo-vendor/wat-1.0.73/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.0.73/Cargo.toml +27 -0
- data/ext/cargo-vendor/wiggle-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-13.0.0/Cargo.toml +106 -0
- data/ext/cargo-vendor/wiggle-13.0.0/src/lib.rs +1198 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/Cargo.toml +58 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/src/config.rs +663 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/src/types/record.rs +132 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/src/wasmtime.rs +170 -0
- data/ext/cargo-vendor/wiggle-macro-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-13.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-13.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/Cargo.toml +62 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/abi/mod.rs +269 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/call.rs +219 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/context.rs +423 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/control.rs +456 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/mod.rs +337 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/abi.rs +260 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/address.rs +144 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/asm.rs +250 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/masm.rs +357 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/regs.rs +177 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/reg.rs +73 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/abi.rs +390 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/address.rs +34 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/asm.rs +847 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/masm.rs +659 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/mod.rs +148 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/regs.rs +233 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/masm.rs +465 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/regalloc.rs +73 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/regset.rs +118 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/stack.rs +338 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/trampoline.rs +489 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/visitor.rs +736 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/Cargo.toml +70 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/abi.rs +241 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/ast/lex.rs +714 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/ast/resolve.rs +1418 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/ast.rs +1361 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/lib.rs +711 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/live.rs +111 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/resolve.rs +1757 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/serde_.rs +108 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/sizealign.rs +144 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/all.rs +190 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/comments.wit.json +46 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/complex-include.wit.json +168 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/cross-package-resource.wit.json +67 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/diamond1.wit.json +55 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/disambiguate-diamond.wit.json +107 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/embedded.wit.md.json +40 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/empty.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/foreign-deps-union.wit.json +380 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/foreign-deps.wit.json +344 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/functions.wit.json +166 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/ignore-files-deps.wit.json +39 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/include-reps.wit.json +60 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/kebab-name-include-with.wit.json +70 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/many-names.wit.json +40 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/multi-file.wit.json +298 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/name-both-resource-and-type.wit.json +89 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax1.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax3.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax4.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs/a.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs/b.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/random.wit +27 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/random.wit.json +64 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-empty.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple-returns-borrow.wit.json +74 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple-returns-own.wit.json +83 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple.wit.json +281 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-return-borrow.wit.json +69 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-return-own.wit.json +78 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources.wit.json +340 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources1.wit.json +96 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/shared-types.wit.json +83 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/stress-export-elaborate.wit.json +1136 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/type-then-eof.wit.json +32 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/types.wit +58 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/types.wit.json +751 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/union-fuzz-1.wit.json +35 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/use-chain.wit.json +53 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/use.wit.json +172 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/versions.wit.json +91 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/wasi.wit.json +296 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-diamond.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-diamond.wit.json +118 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-iface-no-collide.wit.json +66 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import1.wit.json +75 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import2.wit.json +70 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import3.wit.json +71 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-same-fields4.wit.json +76 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-top-level-funcs.wit.json +86 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-top-level-resources.wit.json +240 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/worlds-union-dedup.wit.json +100 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/worlds-with-types.wit.json +202 -0
- data/ext/src/ruby_api/wasi_ctx_builder.rs +8 -8
- data/lib/wasmtime/version.rb +1 -1
- metadata +1627 -1813
- data/ext/cargo-vendor/addr2line-0.20.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/addr2line-0.20.0/CHANGELOG.md +0 -321
- data/ext/cargo-vendor/addr2line-0.20.0/Cargo.lock +0 -548
- data/ext/cargo-vendor/addr2line-0.20.0/Cargo.toml +0 -145
- data/ext/cargo-vendor/addr2line-0.20.0/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/addr2line-0.20.0/README.md +0 -48
- data/ext/cargo-vendor/addr2line-0.20.0/bench.plot.r +0 -23
- data/ext/cargo-vendor/addr2line-0.20.0/benchmark.sh +0 -112
- data/ext/cargo-vendor/addr2line-0.20.0/coverage.sh +0 -5
- data/ext/cargo-vendor/addr2line-0.20.0/examples/addr2line.rs +0 -306
- data/ext/cargo-vendor/addr2line-0.20.0/rustfmt.toml +0 -1
- data/ext/cargo-vendor/addr2line-0.20.0/src/builtin_split_dwarf_loader.rs +0 -164
- data/ext/cargo-vendor/addr2line-0.20.0/src/function.rs +0 -555
- data/ext/cargo-vendor/addr2line-0.20.0/src/lazy.rs +0 -31
- data/ext/cargo-vendor/addr2line-0.20.0/src/lib.rs +0 -1729
- data/ext/cargo-vendor/addr2line-0.20.0/tests/correctness.rs +0 -126
- data/ext/cargo-vendor/addr2line-0.20.0/tests/output_equivalence.rs +0 -135
- data/ext/cargo-vendor/addr2line-0.20.0/tests/parse.rs +0 -114
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/lib.rs +0 -198
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/map.rs +0 -923
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/pool.rs +0 -220
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/set.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/Cargo.toml +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/binemit/mod.rs +0 -141
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/binemit/stack_map.rs +0 -152
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/bitset.rs +0 -163
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/context.rs +0 -368
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/incremental_cache.rs +0 -256
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/atomic_rmw_op.rs +0 -104
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/condcodes.rs +0 -404
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/constant.rs +0 -463
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/dfg.rs +0 -1686
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/dynamic_type.rs +0 -55
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/entities.rs +0 -567
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/extfunc.rs +0 -411
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/extname.rs +0 -333
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/function.rs +0 -469
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/globalvalue.rs +0 -155
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/immediates.rs +0 -1615
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/instructions.rs +0 -1000
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/jumptable.rs +0 -168
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/known_symbol.rs +0 -47
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/libcall.rs +0 -232
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/memflags.rs +0 -279
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/mod.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/sourceloc.rs +0 -117
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/stackslot.rs +0 -216
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/table.rs +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/trapcode.rs +0 -144
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/types.rs +0 -630
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/abi.rs +0 -1543
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/args.rs +0 -741
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/emit.rs +0 -3919
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/emit_tests.rs +0 -7897
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/mod.rs +0 -3039
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst.isle +0 -4048
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower/isle.rs +0 -873
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower.isle +0 -2907
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower.rs +0 -702
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower_dynamic_neon.isle +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/call_conv.rs +0 -119
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/abi.rs +0 -985
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/args.rs +0 -1812
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/emit.rs +0 -3254
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/encode.rs +0 -281
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/imms.rs +0 -250
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/mod.rs +0 -2125
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/vector.rs +0 -939
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst.isle +0 -2972
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst_vector.isle +0 -1650
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower/isle.rs +0 -620
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower.isle +0 -2002
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/abi.rs +0 -948
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/inst/mod.rs +0 -3426
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/inst.isle +0 -5043
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/lower.isle +0 -3983
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind/systemv.rs +0 -272
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind/winx64.rs +0 -334
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind.rs +0 -182
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/abi.rs +0 -1204
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/encoding/evex.rs +0 -749
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/encoding/rex.rs +0 -588
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/args.rs +0 -2193
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/emit.rs +0 -4298
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/emit_tests.rs +0 -5678
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/mod.rs +0 -2759
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst.isle +0 -5079
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower/isle.rs +0 -1096
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower.isle +0 -4651
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower.rs +0 -340
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isle_prelude.rs +0 -894
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/legalizer/mod.rs +0 -346
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/lib.rs +0 -140
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/abi.rs +0 -2641
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/buffer.rs +0 -2365
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/isle.rs +0 -837
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/mod.rs +0 -551
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/reg.rs +0 -556
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/vcode.rs +0 -1591
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/bitops.isle +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/cprop.isle +0 -200
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/extends.isle +0 -41
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/icmp.isle +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/selects.isle +0 -63
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/vector.isle +0 -8
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/prelude.isle +0 -594
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/prelude_lower.isle +0 -1024
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/value_label.rs +0 -32
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/verifier/mod.rs +0 -1884
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/Cargo.toml +0 -26
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/constant_hash.rs +0 -64
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/gen_inst.rs +0 -1785
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/shared/instructions.rs +0 -3847
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/src/lib.rs +0 -26
- data/ext/cargo-vendor/cranelift-control-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.99.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.99.1/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/lib.rs +0 -330
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/list.rs +0 -955
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/packed_option.rs +0 -171
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/primary.rs +0 -456
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/sparse.rs +0 -368
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/src/lib.rs +0 -204
- data/ext/cargo-vendor/cranelift-isle-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.99.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-native-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.99.1/Cargo.toml +0 -38
- data/ext/cargo-vendor/cranelift-native-0.99.1/src/lib.rs +0 -204
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/Cargo.toml +0 -85
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/code_translator.rs +0 -3608
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/dummy.rs +0 -942
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/spec.rs +0 -913
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/func_translator.rs +0 -431
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/heap.rs +0 -99
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/lib.rs +0 -78
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/sections_translator.rs +0 -420
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/translation_utils.rs +0 -99
- data/ext/cargo-vendor/env_logger-0.10.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/env_logger-0.10.0/Cargo.lock +0 -254
- data/ext/cargo-vendor/env_logger-0.10.0/Cargo.toml +0 -129
- data/ext/cargo-vendor/env_logger-0.10.0/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/env_logger-0.10.0/README.md +0 -183
- data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_default_format.rs +0 -40
- data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_format.rs +0 -54
- data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_logger.rs +0 -62
- data/ext/cargo-vendor/env_logger-0.10.0/examples/default.rs +0 -38
- data/ext/cargo-vendor/env_logger-0.10.0/examples/direct_logger.rs +0 -39
- data/ext/cargo-vendor/env_logger-0.10.0/examples/filters_from_code.rs +0 -20
- data/ext/cargo-vendor/env_logger-0.10.0/examples/in_tests.rs +0 -54
- data/ext/cargo-vendor/env_logger-0.10.0/examples/syslog_friendly_format.rs +0 -24
- data/ext/cargo-vendor/env_logger-0.10.0/src/filter/mod.rs +0 -868
- data/ext/cargo-vendor/env_logger-0.10.0/src/filter/regex.rs +0 -29
- data/ext/cargo-vendor/env_logger-0.10.0/src/filter/string.rs +0 -24
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/extern_impl.rs +0 -118
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/mod.rs +0 -11
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/shim_impl.rs +0 -5
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/mod.rs +0 -652
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/atty.rs +0 -33
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/mod.rs +0 -253
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/extern_impl.rs +0 -532
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/mod.rs +0 -12
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/shim_impl.rs +0 -72
- data/ext/cargo-vendor/env_logger-0.10.0/src/lib.rs +0 -1311
- data/ext/cargo-vendor/env_logger-0.10.0/tests/init-twice-retains-filter.rs +0 -40
- data/ext/cargo-vendor/env_logger-0.10.0/tests/log-in-log.rs +0 -39
- data/ext/cargo-vendor/env_logger-0.10.0/tests/log_tls_dtors.rs +0 -66
- data/ext/cargo-vendor/env_logger-0.10.0/tests/regexp_filter.rs +0 -57
- data/ext/cargo-vendor/fallible-iterator-0.2.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/fallible-iterator-0.2.0/CHANGELOG.md +0 -26
- data/ext/cargo-vendor/fallible-iterator-0.2.0/Cargo.toml +0 -27
- data/ext/cargo-vendor/fallible-iterator-0.2.0/README.md +0 -15
- data/ext/cargo-vendor/fallible-iterator-0.2.0/src/lib.rs +0 -2606
- data/ext/cargo-vendor/fallible-iterator-0.2.0/src/test.rs +0 -455
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +0 -36
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/README.md +0 -25
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +0 -12
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +0 -200
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +0 -323
- data/ext/cargo-vendor/gimli-0.27.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/gimli-0.27.3/CHANGELOG.md +0 -943
- data/ext/cargo-vendor/gimli-0.27.3/Cargo.lock +0 -345
- data/ext/cargo-vendor/gimli-0.27.3/Cargo.toml +0 -151
- data/ext/cargo-vendor/gimli-0.27.3/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/gimli-0.27.3/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/gimli-0.27.3/README.md +0 -78
- data/ext/cargo-vendor/gimli-0.27.3/examples/dwarf-validate.rs +0 -267
- data/ext/cargo-vendor/gimli-0.27.3/examples/dwarfdump.rs +0 -2369
- data/ext/cargo-vendor/gimli-0.27.3/examples/simple.rs +0 -67
- data/ext/cargo-vendor/gimli-0.27.3/examples/simple_line.rs +0 -106
- data/ext/cargo-vendor/gimli-0.27.3/src/arch.rs +0 -751
- data/ext/cargo-vendor/gimli-0.27.3/src/common.rs +0 -381
- data/ext/cargo-vendor/gimli-0.27.3/src/constants.rs +0 -1426
- data/ext/cargo-vendor/gimli-0.27.3/src/endianity.rs +0 -256
- data/ext/cargo-vendor/gimli-0.27.3/src/leb128.rs +0 -612
- data/ext/cargo-vendor/gimli-0.27.3/src/lib.rs +0 -79
- data/ext/cargo-vendor/gimli-0.27.3/src/read/abbrev.rs +0 -1089
- data/ext/cargo-vendor/gimli-0.27.3/src/read/addr.rs +0 -128
- data/ext/cargo-vendor/gimli-0.27.3/src/read/aranges.rs +0 -660
- data/ext/cargo-vendor/gimli-0.27.3/src/read/cfi.rs +0 -7574
- data/ext/cargo-vendor/gimli-0.27.3/src/read/dwarf.rs +0 -1184
- data/ext/cargo-vendor/gimli-0.27.3/src/read/endian_reader.rs +0 -639
- data/ext/cargo-vendor/gimli-0.27.3/src/read/endian_slice.rs +0 -350
- data/ext/cargo-vendor/gimli-0.27.3/src/read/index.rs +0 -535
- data/ext/cargo-vendor/gimli-0.27.3/src/read/lazy.rs +0 -116
- data/ext/cargo-vendor/gimli-0.27.3/src/read/line.rs +0 -3130
- data/ext/cargo-vendor/gimli-0.27.3/src/read/lists.rs +0 -68
- data/ext/cargo-vendor/gimli-0.27.3/src/read/loclists.rs +0 -1627
- data/ext/cargo-vendor/gimli-0.27.3/src/read/lookup.rs +0 -202
- data/ext/cargo-vendor/gimli-0.27.3/src/read/mod.rs +0 -830
- data/ext/cargo-vendor/gimli-0.27.3/src/read/op.rs +0 -4119
- data/ext/cargo-vendor/gimli-0.27.3/src/read/pubnames.rs +0 -141
- data/ext/cargo-vendor/gimli-0.27.3/src/read/pubtypes.rs +0 -141
- data/ext/cargo-vendor/gimli-0.27.3/src/read/reader.rs +0 -502
- data/ext/cargo-vendor/gimli-0.27.3/src/read/rnglists.rs +0 -1458
- data/ext/cargo-vendor/gimli-0.27.3/src/read/str.rs +0 -321
- data/ext/cargo-vendor/gimli-0.27.3/src/read/unit.rs +0 -6139
- data/ext/cargo-vendor/gimli-0.27.3/src/read/util.rs +0 -251
- data/ext/cargo-vendor/gimli-0.27.3/src/read/value.rs +0 -1621
- data/ext/cargo-vendor/gimli-0.27.3/src/test_util.rs +0 -53
- data/ext/cargo-vendor/gimli-0.27.3/src/write/abbrev.rs +0 -188
- data/ext/cargo-vendor/gimli-0.27.3/src/write/cfi.rs +0 -1025
- data/ext/cargo-vendor/gimli-0.27.3/src/write/dwarf.rs +0 -138
- data/ext/cargo-vendor/gimli-0.27.3/src/write/endian_vec.rs +0 -117
- data/ext/cargo-vendor/gimli-0.27.3/src/write/line.rs +0 -1957
- data/ext/cargo-vendor/gimli-0.27.3/src/write/loc.rs +0 -550
- data/ext/cargo-vendor/gimli-0.27.3/src/write/mod.rs +0 -425
- data/ext/cargo-vendor/gimli-0.27.3/src/write/op.rs +0 -1618
- data/ext/cargo-vendor/gimli-0.27.3/src/write/range.rs +0 -416
- data/ext/cargo-vendor/gimli-0.27.3/src/write/section.rs +0 -172
- data/ext/cargo-vendor/gimli-0.27.3/src/write/str.rs +0 -172
- data/ext/cargo-vendor/gimli-0.27.3/src/write/unit.rs +0 -3152
- data/ext/cargo-vendor/gimli-0.27.3/src/write/writer.rs +0 -494
- data/ext/cargo-vendor/hashbrown-0.12.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/hashbrown-0.12.3/CHANGELOG.md +0 -402
- data/ext/cargo-vendor/hashbrown-0.12.3/Cargo.toml +0 -113
- data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/hashbrown-0.12.3/README.md +0 -126
- data/ext/cargo-vendor/hashbrown-0.12.3/benches/bench.rs +0 -331
- data/ext/cargo-vendor/hashbrown-0.12.3/benches/insert_unique_unchecked.rs +0 -32
- data/ext/cargo-vendor/hashbrown-0.12.3/clippy.toml +0 -1
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/helpers.rs +0 -27
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/map.rs +0 -734
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/raw.rs +0 -231
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/set.rs +0 -659
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/serde.rs +0 -201
- data/ext/cargo-vendor/hashbrown-0.12.3/src/lib.rs +0 -150
- data/ext/cargo-vendor/hashbrown-0.12.3/src/macros.rs +0 -70
- data/ext/cargo-vendor/hashbrown-0.12.3/src/map.rs +0 -8408
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/alloc.rs +0 -73
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/bitmask.rs +0 -122
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/generic.rs +0 -154
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/mod.rs +0 -2460
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/sse2.rs +0 -146
- data/ext/cargo-vendor/hashbrown-0.12.3/src/rustc_entry.rs +0 -630
- data/ext/cargo-vendor/hashbrown-0.12.3/src/scopeguard.rs +0 -74
- data/ext/cargo-vendor/hashbrown-0.12.3/src/set.rs +0 -2790
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/hasher.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/rayon.rs +0 -533
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/serde.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/set.rs +0 -34
- data/ext/cargo-vendor/humantime-2.1.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/humantime-2.1.0/Cargo.toml +0 -37
- data/ext/cargo-vendor/humantime-2.1.0/LICENSE-APACHE +0 -202
- data/ext/cargo-vendor/humantime-2.1.0/LICENSE-MIT +0 -26
- data/ext/cargo-vendor/humantime-2.1.0/README.md +0 -68
- data/ext/cargo-vendor/humantime-2.1.0/benches/datetime_format.rs +0 -56
- data/ext/cargo-vendor/humantime-2.1.0/benches/datetime_parse.rs +0 -47
- data/ext/cargo-vendor/humantime-2.1.0/bulk.yaml +0 -8
- data/ext/cargo-vendor/humantime-2.1.0/src/date.rs +0 -623
- data/ext/cargo-vendor/humantime-2.1.0/src/duration.rs +0 -456
- data/ext/cargo-vendor/humantime-2.1.0/src/lib.rs +0 -34
- data/ext/cargo-vendor/humantime-2.1.0/src/wrapper.rs +0 -107
- data/ext/cargo-vendor/humantime-2.1.0/vagga.yaml +0 -92
- data/ext/cargo-vendor/indexmap-1.9.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/indexmap-1.9.3/Cargo.toml +0 -108
- data/ext/cargo-vendor/indexmap-1.9.3/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/indexmap-1.9.3/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/indexmap-1.9.3/README.md +0 -55
- data/ext/cargo-vendor/indexmap-1.9.3/RELEASES.md +0 -388
- data/ext/cargo-vendor/indexmap-1.9.3/benches/bench.rs +0 -763
- data/ext/cargo-vendor/indexmap-1.9.3/benches/faststring.rs +0 -185
- data/ext/cargo-vendor/indexmap-1.9.3/build.rs +0 -8
- data/ext/cargo-vendor/indexmap-1.9.3/src/arbitrary.rs +0 -75
- data/ext/cargo-vendor/indexmap-1.9.3/src/equivalent.rs +0 -27
- data/ext/cargo-vendor/indexmap-1.9.3/src/lib.rs +0 -194
- data/ext/cargo-vendor/indexmap-1.9.3/src/macros.rs +0 -178
- data/ext/cargo-vendor/indexmap-1.9.3/src/map/core/raw.rs +0 -191
- data/ext/cargo-vendor/indexmap-1.9.3/src/map/core.rs +0 -700
- data/ext/cargo-vendor/indexmap-1.9.3/src/map.rs +0 -1947
- data/ext/cargo-vendor/indexmap-1.9.3/src/mutable_keys.rs +0 -75
- data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/map.rs +0 -583
- data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/mod.rs +0 -27
- data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/set.rs +0 -741
- data/ext/cargo-vendor/indexmap-1.9.3/src/rustc.rs +0 -158
- data/ext/cargo-vendor/indexmap-1.9.3/src/serde.rs +0 -155
- data/ext/cargo-vendor/indexmap-1.9.3/src/serde_seq.rs +0 -112
- data/ext/cargo-vendor/indexmap-1.9.3/src/set.rs +0 -1912
- data/ext/cargo-vendor/indexmap-1.9.3/src/util.rs +0 -31
- data/ext/cargo-vendor/indexmap-1.9.3/tests/equivalent_trait.rs +0 -53
- data/ext/cargo-vendor/indexmap-1.9.3/tests/macros_full_path.rs +0 -19
- data/ext/cargo-vendor/indexmap-1.9.3/tests/quick.rs +0 -573
- data/ext/cargo-vendor/indexmap-1.9.3/tests/tests.rs +0 -28
- data/ext/cargo-vendor/object-0.31.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/object-0.31.1/CHANGELOG.md +0 -621
- data/ext/cargo-vendor/object-0.31.1/Cargo.toml +0 -161
- data/ext/cargo-vendor/object-0.31.1/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/object-0.31.1/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/object-0.31.1/README.md +0 -58
- data/ext/cargo-vendor/object-0.31.1/clippy.toml +0 -1
- data/ext/cargo-vendor/object-0.31.1/src/archive.rs +0 -91
- data/ext/cargo-vendor/object-0.31.1/src/common.rs +0 -499
- data/ext/cargo-vendor/object-0.31.1/src/elf.rs +0 -6146
- data/ext/cargo-vendor/object-0.31.1/src/endian.rs +0 -831
- data/ext/cargo-vendor/object-0.31.1/src/lib.rs +0 -116
- data/ext/cargo-vendor/object-0.31.1/src/macho.rs +0 -3307
- data/ext/cargo-vendor/object-0.31.1/src/pe.rs +0 -3050
- data/ext/cargo-vendor/object-0.31.1/src/pod.rs +0 -239
- data/ext/cargo-vendor/object-0.31.1/src/read/any.rs +0 -1323
- data/ext/cargo-vendor/object-0.31.1/src/read/archive.rs +0 -739
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/comdat.rs +0 -207
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/file.rs +0 -364
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/mod.rs +0 -18
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/relocation.rs +0 -104
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/section.rs +0 -574
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/symbol.rs +0 -626
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/attributes.rs +0 -303
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/comdat.rs +0 -160
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/compression.rs +0 -56
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/dynamic.rs +0 -117
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/file.rs +0 -910
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/hash.rs +0 -220
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/mod.rs +0 -42
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/note.rs +0 -263
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/relocation.rs +0 -571
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/section.rs +0 -1146
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/segment.rs +0 -332
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/symbol.rs +0 -577
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/version.rs +0 -421
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/dyld_cache.rs +0 -343
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/fat.rs +0 -122
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/file.rs +0 -731
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/load_command.rs +0 -373
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/mod.rs +0 -30
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/relocation.rs +0 -127
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/section.rs +0 -387
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/segment.rs +0 -301
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/symbol.rs +0 -488
- data/ext/cargo-vendor/object-0.31.1/src/read/mod.rs +0 -760
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/data_directory.rs +0 -211
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/export.rs +0 -331
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/file.rs +0 -1029
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/import.rs +0 -332
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/mod.rs +0 -34
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/relocation.rs +0 -90
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/resource.rs +0 -207
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/rich.rs +0 -91
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/section.rs +0 -434
- data/ext/cargo-vendor/object-0.31.1/src/read/read_cache.rs +0 -182
- data/ext/cargo-vendor/object-0.31.1/src/read/read_ref.rs +0 -137
- data/ext/cargo-vendor/object-0.31.1/src/read/traits.rs +0 -469
- data/ext/cargo-vendor/object-0.31.1/src/read/util.rs +0 -425
- data/ext/cargo-vendor/object-0.31.1/src/read/wasm.rs +0 -951
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/comdat.rs +0 -129
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/file.rs +0 -629
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/mod.rs +0 -21
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/relocation.rs +0 -127
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/section.rs +0 -427
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/segment.rs +0 -113
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/symbol.rs +0 -695
- data/ext/cargo-vendor/object-0.31.1/src/write/coff.rs +0 -725
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/mod.rs +0 -9
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/object.rs +0 -891
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/writer.rs +0 -2143
- data/ext/cargo-vendor/object-0.31.1/src/write/macho.rs +0 -978
- data/ext/cargo-vendor/object-0.31.1/src/write/mod.rs +0 -943
- data/ext/cargo-vendor/object-0.31.1/src/write/pe.rs +0 -847
- data/ext/cargo-vendor/object-0.31.1/src/write/string.rs +0 -159
- data/ext/cargo-vendor/object-0.31.1/src/write/util.rs +0 -260
- data/ext/cargo-vendor/object-0.31.1/src/write/xcoff.rs +0 -556
- data/ext/cargo-vendor/object-0.31.1/src/xcoff.rs +0 -893
- data/ext/cargo-vendor/object-0.31.1/tests/integration.rs +0 -2
- data/ext/cargo-vendor/object-0.31.1/tests/parse_self.rs +0 -25
- data/ext/cargo-vendor/object-0.31.1/tests/read/coff.rs +0 -23
- data/ext/cargo-vendor/object-0.31.1/tests/read/mod.rs +0 -3
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/bss.rs +0 -255
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/coff.rs +0 -56
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/comdat.rs +0 -225
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/common.rs +0 -245
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/elf.rs +0 -289
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/macho.rs +0 -24
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/mod.rs +0 -636
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/section_flags.rs +0 -90
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/tls.rs +0 -316
- data/ext/cargo-vendor/serde-1.0.185/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde-1.0.185/Cargo.toml +0 -66
- data/ext/cargo-vendor/serde-1.0.185/build.rs +0 -97
- data/ext/cargo-vendor/serde-1.0.185/src/de/ignored_any.rs +0 -242
- data/ext/cargo-vendor/serde-1.0.185/src/de/impls.rs +0 -2968
- data/ext/cargo-vendor/serde-1.0.185/src/de/mod.rs +0 -2299
- data/ext/cargo-vendor/serde-1.0.185/src/de/utf8.rs +0 -46
- data/ext/cargo-vendor/serde-1.0.185/src/de/value.rs +0 -1711
- data/ext/cargo-vendor/serde-1.0.185/src/integer128.rs +0 -82
- data/ext/cargo-vendor/serde-1.0.185/src/lib.rs +0 -327
- data/ext/cargo-vendor/serde-1.0.185/src/macros.rs +0 -235
- data/ext/cargo-vendor/serde-1.0.185/src/ser/fmt.rs +0 -175
- data/ext/cargo-vendor/serde-1.0.185/src/ser/impls.rs +0 -1012
- data/ext/cargo-vendor/serde-1.0.185/src/ser/mod.rs +0 -1958
- data/ext/cargo-vendor/serde_derive-1.0.185/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde_derive-1.0.185/Cargo.toml +0 -59
- data/ext/cargo-vendor/serde_derive-1.0.185/src/lib.rs +0 -102
- data/ext/cargo-vendor/serde_derive-1.0.185/src/ser.rs +0 -1359
- data/ext/cargo-vendor/termcolor-1.2.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/termcolor-1.2.0/COPYING +0 -3
- data/ext/cargo-vendor/termcolor-1.2.0/Cargo.toml +0 -40
- data/ext/cargo-vendor/termcolor-1.2.0/LICENSE-MIT +0 -21
- data/ext/cargo-vendor/termcolor-1.2.0/README.md +0 -115
- data/ext/cargo-vendor/termcolor-1.2.0/UNLICENSE +0 -24
- data/ext/cargo-vendor/termcolor-1.2.0/rustfmt.toml +0 -2
- data/ext/cargo-vendor/termcolor-1.2.0/src/lib.rs +0 -2350
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/Cargo.toml +0 -96
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/src/lib.rs +0 -141
- data/ext/cargo-vendor/wasi-common-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-12.0.1/Cargo.toml +0 -87
- data/ext/cargo-vendor/wasm-encoder-0.31.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.31.1/Cargo.toml +0 -33
- data/ext/cargo-vendor/wasm-encoder-0.31.1/src/component/types.rs +0 -784
- data/ext/cargo-vendor/wasmparser-0.110.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.lock +0 -644
- data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.110.0/src/limits.rs +0 -59
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/component/types.rs +0 -548
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core/types.rs +0 -1141
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core.rs +0 -35
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/component.rs +0 -3144
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/core.rs +0 -1314
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/types.rs +0 -3197
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator.rs +0 -1568
- data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +0 -644
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +0 -1706
- data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +0 -726
- data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +0 -59
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +0 -548
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +0 -1141
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +0 -3148
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +0 -1314
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +0 -3466
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +0 -3283
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +0 -1568
- data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +0 -39
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +0 -2962
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +0 -873
- data/ext/cargo-vendor/wasmtime-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-12.0.1/Cargo.toml +0 -186
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/component.rs +0 -466
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/func/typed.rs +0 -2326
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/instance.rs +0 -781
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/linker.rs +0 -479
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/mod.rs +0 -316
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/types.rs +0 -562
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/values.rs +0 -1376
- data/ext/cargo-vendor/wasmtime-12.0.1/src/config.rs +0 -2096
- data/ext/cargo-vendor/wasmtime-12.0.1/src/engine/serialization.rs +0 -629
- data/ext/cargo-vendor/wasmtime-12.0.1/src/engine.rs +0 -756
- data/ext/cargo-vendor/wasmtime-12.0.1/src/instance.rs +0 -883
- data/ext/cargo-vendor/wasmtime-12.0.1/src/limits.rs +0 -357
- data/ext/cargo-vendor/wasmtime-12.0.1/src/module.rs +0 -1346
- data/ext/cargo-vendor/wasmtime-12.0.1/src/store.rs +0 -2212
- data/ext/cargo-vendor/wasmtime-12.0.1/src/trampoline/memory.rs +0 -202
- data/ext/cargo-vendor/wasmtime-12.0.1/src/trampoline.rs +0 -76
- data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/Cargo.toml +0 -73
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/config.rs +0 -584
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/worker/tests.rs +0 -758
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/worker.rs +0 -903
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/bindgen.rs +0 -343
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/component.rs +0 -1319
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/tests/codegen/unions.wit +0 -66
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/tests/codegen/variants.wit +0 -147
- data/ext/cargo-vendor/wasmtime-component-util-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-12.0.1/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/Cargo.toml +0 -93
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/builder.rs +0 -116
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/compiler.rs +0 -1297
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug/transform/attr.rs +0 -339
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug.rs +0 -20
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/func_environ.rs +0 -2377
- data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/Cargo.toml +0 -57
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.lock +0 -736
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/address_map.rs +0 -192
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/builtin.rs +0 -127
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/compilation.rs +0 -400
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/info.rs +0 -583
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/types.rs +0 -1920
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/trampoline.rs +0 -3269
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/lib.rs +0 -76
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module.rs +0 -1083
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module_environ.rs +0 -887
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module_types.rs +0 -78
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/stack_map.rs +0 -36
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/tunables.rs +0 -115
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/vmoffsets.rs +0 -940
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/Cargo.toml +0 -51
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/Cargo.toml +0 -104
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/instantiate.rs +0 -760
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/lib.rs +0 -38
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/miri.rs +0 -15
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/systemv.rs +0 -90
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/winx64.rs +0 -44
- data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/Cargo.toml +0 -119
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/on_demand.rs +0 -127
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/pooling/index_allocator.rs +0 -599
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/pooling.rs +0 -1368
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator.rs +0 -414
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance.rs +0 -1345
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/lib.rs +0 -289
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/libcalls.rs +0 -627
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/memory.rs +0 -958
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/parking_spot.rs +0 -522
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/table.rs +0 -595
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/trampolines/s390x.S +0 -62
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers/macos.rs +0 -476
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers.rs +0 -782
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/vmcontext.rs +0 -1221
- data/ext/cargo-vendor/wasmtime-types-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-12.0.1/Cargo.toml +0 -34
- data/ext/cargo-vendor/wasmtime-types-12.0.1/src/lib.rs +0 -504
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/Cargo.toml +0 -191
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/lib.rs +0 -131
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/command.rs +0 -91
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/ctx.rs +0 -237
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/filesystem.rs +0 -216
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/mod.rs +0 -185
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/pipe.rs +0 -846
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview1/mod.rs +0 -1870
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/clocks.rs +0 -107
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/env.rs +0 -37
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/exit.rs +0 -11
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem/sync.rs +0 -613
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem.rs +0 -1096
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/io.rs +0 -494
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/mod.rs +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/unix.rs +0 -133
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/worker_thread_stdin.rs +0 -133
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio.rs +0 -218
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stream.rs +0 -302
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/table.rs +0 -287
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/filesystem/filesystem.wit +0 -782
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/http/types.wit +0 -159
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/io/streams.wit +0 -254
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/logging/handler.wit +0 -34
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/command-extended.wit +0 -36
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/command.wit +0 -26
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/proxy.wit +0 -9
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/reactor.wit +0 -24
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/ip-name-lookup.wit +0 -69
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/network.wit +0 -187
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/tcp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/tcp.wit +0 -255
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/udp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/udp.wit +0 -211
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/environment.wit +0 -16
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/exit.wit +0 -4
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/preopens.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/main.wit +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/test.wit +0 -28
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/lib.rs +0 -1705
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/rust.rs +0 -498
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/types.rs +0 -185
- data/ext/cargo-vendor/wast-63.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-63.0.0/Cargo.toml +0 -50
- data/ext/cargo-vendor/wast-63.0.0/src/component/binary.rs +0 -1022
- data/ext/cargo-vendor/wast-63.0.0/src/component/expand.rs +0 -880
- data/ext/cargo-vendor/wast-63.0.0/src/component/resolve.rs +0 -1010
- data/ext/cargo-vendor/wast-63.0.0/src/component/types.rs +0 -1013
- data/ext/cargo-vendor/wast-63.0.0/src/component/wast.rs +0 -166
- data/ext/cargo-vendor/wast-63.0.0/src/core/binary.rs +0 -1246
- data/ext/cargo-vendor/wast-63.0.0/src/core/expr.rs +0 -1970
- data/ext/cargo-vendor/wast-63.0.0/src/core/table.rs +0 -305
- data/ext/cargo-vendor/wast-63.0.0/src/core/types.rs +0 -843
- data/ext/cargo-vendor/wast-63.0.0/src/core/wast.rs +0 -236
- data/ext/cargo-vendor/wast-63.0.0/src/lib.rs +0 -537
- data/ext/cargo-vendor/wat-1.0.70/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.0.70/Cargo.toml +0 -27
- data/ext/cargo-vendor/wiggle-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-12.0.1/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-12.0.1/src/lib.rs +0 -1198
- data/ext/cargo-vendor/wiggle-generate-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-12.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/config.rs +0 -697
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/types/record.rs +0 -117
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/wasmtime.rs +0 -170
- data/ext/cargo-vendor/wiggle-macro-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-12.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/winapi-util-0.1.5/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winapi-util-0.1.5/COPYING +0 -3
- data/ext/cargo-vendor/winapi-util-0.1.5/Cargo.toml +0 -30
- data/ext/cargo-vendor/winapi-util-0.1.5/LICENSE-MIT +0 -21
- data/ext/cargo-vendor/winapi-util-0.1.5/README.md +0 -58
- data/ext/cargo-vendor/winapi-util-0.1.5/UNLICENSE +0 -24
- data/ext/cargo-vendor/winapi-util-0.1.5/rustfmt.toml +0 -2
- data/ext/cargo-vendor/winapi-util-0.1.5/src/console.rs +0 -402
- data/ext/cargo-vendor/winapi-util-0.1.5/src/file.rs +0 -168
- data/ext/cargo-vendor/winapi-util-0.1.5/src/lib.rs +0 -32
- data/ext/cargo-vendor/winapi-util-0.1.5/src/win.rs +0 -246
- data/ext/cargo-vendor/winch-codegen-0.10.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.10.1/Cargo.toml +0 -62
- data/ext/cargo-vendor/winch-codegen-0.10.1/LICENSE +0 -219
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/abi/mod.rs +0 -251
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/call.rs +0 -199
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/context.rs +0 -368
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/control.rs +0 -437
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/mod.rs +0 -330
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/abi.rs +0 -250
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/address.rs +0 -144
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/asm.rs +0 -312
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/masm.rs +0 -293
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/regs.rs +0 -166
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/reg.rs +0 -51
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/abi.rs +0 -375
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/address.rs +0 -17
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/asm.rs +0 -855
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/masm.rs +0 -516
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/mod.rs +0 -149
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/regs.rs +0 -192
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/masm.rs +0 -352
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/regalloc.rs +0 -70
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/regset.rs +0 -90
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/stack.rs +0 -235
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/trampoline.rs +0 -494
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/visitor.rs +0 -656
- data/ext/cargo-vendor/wit-parser-0.9.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.9.2/Cargo.toml +0 -62
- data/ext/cargo-vendor/wit-parser-0.9.2/src/abi.rs +0 -2199
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/lex.rs +0 -717
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/resolve.rs +0 -1437
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast.rs +0 -1362
- data/ext/cargo-vendor/wit-parser-0.9.2/src/lib.rs +0 -666
- data/ext/cargo-vendor/wit-parser-0.9.2/src/live.rs +0 -116
- data/ext/cargo-vendor/wit-parser-0.9.2/src/resolve.rs +0 -1749
- data/ext/cargo-vendor/wit-parser-0.9.2/src/sizealign.rs +0 -145
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/all.rs +0 -168
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/empty-union.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/empty-union.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/types.wit +0 -61
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/world-diamond.wit +0 -22
- /data/ext/cargo-vendor/{addr2line-0.20.0 → cap-net-ext-2.0.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1/LICENSE → cap-net-ext-2.0.0/LICENSE-Apache-2.0_WITH_LLVM-exception} +0 -0
- /data/ext/cargo-vendor/{env_logger-0.10.0 → cap-net-ext-2.0.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-bforest-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/emit_state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-meta-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-codegen-shared-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-control-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-entity-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-frontend-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-native-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-native-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-native-0.100.0}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → cranelift-wasm-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{fallible-iterator-0.2.0 → fallible-iterator-0.3.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{fallible-iterator-0.2.0 → fallible-iterator-0.3.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/README.md +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/crates-io.md +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/format.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/seed.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/size_hint.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/de.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/doc.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/ser.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/ser/impossible.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/std_error.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/README.md +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/crates-io.md +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/bound.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/de.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/dummy.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/fragment.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/ast.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/attr.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/case.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/check.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/ctxt.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/receiver.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/respan.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/symbol.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/pretend.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/this.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-cap-std-sync-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasi-common-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasm-encoder-0.32.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasm-encoder-0.33.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmparser-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.112.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.112.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmparser-0.113.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmprinter-0.2.66}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmprinter-0.2.66}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmprinter-0.2.66}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/ref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-12.0.1 → wasmtime-asm-macros-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-cache-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-12.0.1 → wasmtime-component-util-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-cranelift-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-environ-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-fiber-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-12.0.1 → wasmtime-jit-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-runtime-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/instance/allocator/pooling/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/instance/allocator/pooling/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wasmtime-types-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-12.0.1 → wasmtime-types-13.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-12.0.1 → wasmtime-versioned-export-macros-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.0.70 → wasmtime-wasi-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1/src/preview2/preview2 → wasmtime-wasi-13.0.0/src/preview2/host}/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base → wasmtime-wasi-13.0.0/wit/deps/cli}/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/timezone.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/http/incoming-handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/http/outgoing-handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/poll/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.2.0 → wasmtime-winch-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-12.0.1 → wasmtime-wit-bindgen-13.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wast-65.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/memory.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/deinline_import_export.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/token.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/wat.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/annotations.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wat-1.0.73}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wat-1.0.70 → wat-1.0.73}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.0.70 → wat-1.0.73}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-12.0.1 → wiggle-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-12.0.1 → wiggle-macro-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → winch-codegen-0.11.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/codegen/env.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/embedded.wit.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-md.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-md.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/union-fuzz-2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/worlds-with-types.wit +0 -0
@@ -0,0 +1,3239 @@
|
|
1
|
+
//! Types relating to type information provided by validation.
|
2
|
+
|
3
|
+
use super::{
|
4
|
+
component::{ComponentState, ExternKind},
|
5
|
+
core::Module,
|
6
|
+
};
|
7
|
+
use crate::validator::names::KebabString;
|
8
|
+
use crate::{
|
9
|
+
ArrayType, BinaryReaderError, Export, ExternalKind, FuncType, GlobalType, Import, MemoryType,
|
10
|
+
PrimitiveValType, RefType, Result, StructType, StructuralType, SubType, TableType, TypeRef,
|
11
|
+
ValType,
|
12
|
+
};
|
13
|
+
use indexmap::{IndexMap, IndexSet};
|
14
|
+
use std::collections::HashMap;
|
15
|
+
use std::collections::HashSet;
|
16
|
+
use std::ops::Index;
|
17
|
+
use std::sync::atomic::{AtomicU64, Ordering};
|
18
|
+
use std::{
|
19
|
+
borrow::Borrow,
|
20
|
+
hash::{Hash, Hasher},
|
21
|
+
mem,
|
22
|
+
ops::{Deref, DerefMut},
|
23
|
+
sync::Arc,
|
24
|
+
};
|
25
|
+
|
26
|
+
/// The maximum number of parameters in the canonical ABI that can be passed by value.
|
27
|
+
///
|
28
|
+
/// Functions that exceed this limit will instead pass parameters indirectly from
|
29
|
+
/// linear memory via a single pointer parameter.
|
30
|
+
const MAX_FLAT_FUNC_PARAMS: usize = 16;
|
31
|
+
/// The maximum number of results in the canonical ABI that can be returned by a function.
|
32
|
+
///
|
33
|
+
/// Functions that exceed this limit have their results written to linear memory via an
|
34
|
+
/// additional pointer parameter (imports) or return a single pointer value (exports).
|
35
|
+
const MAX_FLAT_FUNC_RESULTS: usize = 1;
|
36
|
+
|
37
|
+
/// The maximum lowered types, including a possible type for a return pointer parameter.
|
38
|
+
const MAX_LOWERED_TYPES: usize = MAX_FLAT_FUNC_PARAMS + 1;
|
39
|
+
|
40
|
+
/// A simple alloc-free list of types used for calculating lowered function signatures.
|
41
|
+
pub(crate) struct LoweredTypes {
|
42
|
+
types: [ValType; MAX_LOWERED_TYPES],
|
43
|
+
len: usize,
|
44
|
+
max: usize,
|
45
|
+
}
|
46
|
+
|
47
|
+
impl LoweredTypes {
|
48
|
+
fn new(max: usize) -> Self {
|
49
|
+
assert!(max <= MAX_LOWERED_TYPES);
|
50
|
+
Self {
|
51
|
+
types: [ValType::I32; MAX_LOWERED_TYPES],
|
52
|
+
len: 0,
|
53
|
+
max,
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
fn len(&self) -> usize {
|
58
|
+
self.len
|
59
|
+
}
|
60
|
+
|
61
|
+
fn maxed(&self) -> bool {
|
62
|
+
self.len == self.max
|
63
|
+
}
|
64
|
+
|
65
|
+
fn get_mut(&mut self, index: usize) -> Option<&mut ValType> {
|
66
|
+
if index < self.len {
|
67
|
+
Some(&mut self.types[index])
|
68
|
+
} else {
|
69
|
+
None
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
fn push(&mut self, ty: ValType) -> bool {
|
74
|
+
if self.maxed() {
|
75
|
+
return false;
|
76
|
+
}
|
77
|
+
|
78
|
+
self.types[self.len] = ty;
|
79
|
+
self.len += 1;
|
80
|
+
true
|
81
|
+
}
|
82
|
+
|
83
|
+
fn clear(&mut self) {
|
84
|
+
self.len = 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
pub fn as_slice(&self) -> &[ValType] {
|
88
|
+
&self.types[..self.len]
|
89
|
+
}
|
90
|
+
|
91
|
+
pub fn iter(&self) -> impl Iterator<Item = ValType> + '_ {
|
92
|
+
self.as_slice().iter().copied()
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
/// Represents information about a component function type lowering.
|
97
|
+
pub(crate) struct LoweringInfo {
|
98
|
+
pub(crate) params: LoweredTypes,
|
99
|
+
pub(crate) results: LoweredTypes,
|
100
|
+
pub(crate) requires_memory: bool,
|
101
|
+
pub(crate) requires_realloc: bool,
|
102
|
+
}
|
103
|
+
|
104
|
+
impl LoweringInfo {
|
105
|
+
pub(crate) fn into_func_type(self) -> FuncType {
|
106
|
+
FuncType::new(
|
107
|
+
self.params.as_slice().iter().copied(),
|
108
|
+
self.results.as_slice().iter().copied(),
|
109
|
+
)
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
impl Default for LoweringInfo {
|
114
|
+
fn default() -> Self {
|
115
|
+
Self {
|
116
|
+
params: LoweredTypes::new(MAX_FLAT_FUNC_PARAMS),
|
117
|
+
results: LoweredTypes::new(MAX_FLAT_FUNC_RESULTS),
|
118
|
+
requires_memory: false,
|
119
|
+
requires_realloc: false,
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
fn push_primitive_wasm_types(ty: &PrimitiveValType, lowered_types: &mut LoweredTypes) -> bool {
|
125
|
+
match ty {
|
126
|
+
PrimitiveValType::Bool
|
127
|
+
| PrimitiveValType::S8
|
128
|
+
| PrimitiveValType::U8
|
129
|
+
| PrimitiveValType::S16
|
130
|
+
| PrimitiveValType::U16
|
131
|
+
| PrimitiveValType::S32
|
132
|
+
| PrimitiveValType::U32
|
133
|
+
| PrimitiveValType::Char => lowered_types.push(ValType::I32),
|
134
|
+
PrimitiveValType::S64 | PrimitiveValType::U64 => lowered_types.push(ValType::I64),
|
135
|
+
PrimitiveValType::Float32 => lowered_types.push(ValType::F32),
|
136
|
+
PrimitiveValType::Float64 => lowered_types.push(ValType::F64),
|
137
|
+
PrimitiveValType::String => {
|
138
|
+
lowered_types.push(ValType::I32) && lowered_types.push(ValType::I32)
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
/// Represents a unique identifier for a type known to a [`crate::Validator`].
|
144
|
+
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
145
|
+
#[repr(C)] // use fixed field layout to ensure minimal size
|
146
|
+
pub struct TypeId {
|
147
|
+
/// The index into the global list of types.
|
148
|
+
pub(crate) index: usize,
|
149
|
+
/// Metadata about this type and its recursive structure.
|
150
|
+
pub(crate) info: TypeInfo,
|
151
|
+
/// A unique integer assigned to this type.
|
152
|
+
///
|
153
|
+
/// The purpose of this field is to ensure that two different `TypeId`
|
154
|
+
/// representations can be handed out for two different aliased types within
|
155
|
+
/// a component that actually point to the same underlying type (as pointed
|
156
|
+
/// to by the `index` field).
|
157
|
+
unique_id: u32,
|
158
|
+
}
|
159
|
+
|
160
|
+
// The size of `TypeId` was seen to have a large-ish impact in #844, so this
|
161
|
+
// assert ensures that it stays relatively small.
|
162
|
+
const _: () = {
|
163
|
+
assert!(std::mem::size_of::<TypeId>() <= 16);
|
164
|
+
};
|
165
|
+
|
166
|
+
/// Metadata about a type and its transitive structure.
|
167
|
+
///
|
168
|
+
/// Currently contains two properties:
|
169
|
+
///
|
170
|
+
/// * The "size" of a type - a proxy to the recursive size of a type if
|
171
|
+
/// everything in the type were unique (e.g. no shared references). Not an
|
172
|
+
/// approximation of runtime size, but instead of type-complexity size if
|
173
|
+
/// someone were to visit each element of the type individually. For example
|
174
|
+
/// `u32` has size 1 and `(list u32)` has size 2 (roughly). Used to prevent
|
175
|
+
/// massive trees of types.
|
176
|
+
///
|
177
|
+
/// * Whether or not a type contains a "borrow" transitively inside of it. For
|
178
|
+
/// example `(borrow $t)` and `(list (borrow $t))` both contain borrows, but
|
179
|
+
/// `(list u32)` does not. Used to validate that component function results do
|
180
|
+
/// not contain borrows.
|
181
|
+
///
|
182
|
+
/// Currently this is represented as a compact 32-bit integer to ensure that
|
183
|
+
/// `TypeId`, which this is stored in, remains relatively small. The maximum
|
184
|
+
/// type size allowed in wasmparser is 1M at this time which is 20 bits of
|
185
|
+
/// information, and then one more bit is used for whether or not a borrow is
|
186
|
+
/// used. Currently this uses the low 24 bits for the type size and the MSB for
|
187
|
+
/// the borrow bit.
|
188
|
+
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
189
|
+
pub(crate) struct TypeInfo(u32);
|
190
|
+
|
191
|
+
impl TypeInfo {
|
192
|
+
/// Creates a new blank set of type information.
|
193
|
+
///
|
194
|
+
/// Defaults to size 1 to ensure that this consumes space in the final type
|
195
|
+
/// structure.
|
196
|
+
pub(crate) fn new() -> TypeInfo {
|
197
|
+
TypeInfo::_new(1, false)
|
198
|
+
}
|
199
|
+
|
200
|
+
/// Creates a new blank set of information about a leaf "borrow" type which
|
201
|
+
/// has size 1.
|
202
|
+
pub(crate) fn borrow() -> TypeInfo {
|
203
|
+
TypeInfo::_new(1, true)
|
204
|
+
}
|
205
|
+
|
206
|
+
/// Creates type information corresponding to a core type of the `size`
|
207
|
+
/// specified, meaning no borrows are contained within.
|
208
|
+
pub(crate) fn core(size: u32) -> TypeInfo {
|
209
|
+
TypeInfo::_new(size, false)
|
210
|
+
}
|
211
|
+
|
212
|
+
fn _new(size: u32, contains_borrow: bool) -> TypeInfo {
|
213
|
+
assert!(size < (1 << 24));
|
214
|
+
TypeInfo(size | ((contains_borrow as u32) << 31))
|
215
|
+
}
|
216
|
+
|
217
|
+
/// Combines another set of type information into this one, for example if
|
218
|
+
/// this is a record which has `other` as a field.
|
219
|
+
///
|
220
|
+
/// Updates the size of `self` and whether or not this type contains a
|
221
|
+
/// borrow based on whether `other` contains a borrow.
|
222
|
+
///
|
223
|
+
/// Returns an error if the type size would exceed this crate's static limit
|
224
|
+
/// of a type size.
|
225
|
+
pub(crate) fn combine(&mut self, other: TypeInfo, offset: usize) -> Result<()> {
|
226
|
+
*self = TypeInfo::_new(
|
227
|
+
super::combine_type_sizes(self.size(), other.size(), offset)?,
|
228
|
+
self.contains_borrow() || other.contains_borrow(),
|
229
|
+
);
|
230
|
+
Ok(())
|
231
|
+
}
|
232
|
+
|
233
|
+
pub(crate) fn size(&self) -> u32 {
|
234
|
+
self.0 & 0xffffff
|
235
|
+
}
|
236
|
+
|
237
|
+
pub(crate) fn contains_borrow(&self) -> bool {
|
238
|
+
(self.0 >> 31) != 0
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
/// A unified type definition for validating WebAssembly modules and components.
|
243
|
+
#[derive(Debug)]
|
244
|
+
pub enum Type {
|
245
|
+
/// The definition is for a sub type.
|
246
|
+
Sub(SubType),
|
247
|
+
/// The definition is for a core module type.
|
248
|
+
///
|
249
|
+
/// This variant is only supported when parsing a component.
|
250
|
+
Module(Box<ModuleType>),
|
251
|
+
/// The definition is for a core module instance type.
|
252
|
+
///
|
253
|
+
/// This variant is only supported when parsing a component.
|
254
|
+
Instance(Box<InstanceType>),
|
255
|
+
/// The definition is for a component type.
|
256
|
+
///
|
257
|
+
/// This variant is only supported when parsing a component.
|
258
|
+
Component(Box<ComponentType>),
|
259
|
+
/// The definition is for a component instance type.
|
260
|
+
///
|
261
|
+
/// This variant is only supported when parsing a component.
|
262
|
+
ComponentInstance(Box<ComponentInstanceType>),
|
263
|
+
/// The definition is for a component function type.
|
264
|
+
///
|
265
|
+
/// This variant is only supported when parsing a component.
|
266
|
+
ComponentFunc(ComponentFuncType),
|
267
|
+
/// The definition is for a component defined type.
|
268
|
+
///
|
269
|
+
/// This variant is only supported when parsing a component.
|
270
|
+
Defined(ComponentDefinedType),
|
271
|
+
/// This definition is for a resource type in the component model.
|
272
|
+
///
|
273
|
+
/// Each resource is identified by a unique identifier specified here.
|
274
|
+
Resource(ResourceId),
|
275
|
+
}
|
276
|
+
|
277
|
+
impl Type {
|
278
|
+
/// Converts the type to a core function type.
|
279
|
+
pub fn unwrap_func(&self) -> &FuncType {
|
280
|
+
match self {
|
281
|
+
Type::Sub(SubType {
|
282
|
+
structural_type: StructuralType::Func(ft),
|
283
|
+
..
|
284
|
+
}) => ft,
|
285
|
+
_ => panic!("not a function type"),
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
/// Converts the type to an array type.
|
290
|
+
pub fn unwrap_array(&self) -> &ArrayType {
|
291
|
+
match self {
|
292
|
+
Self::Sub(SubType {
|
293
|
+
structural_type: StructuralType::Array(ty),
|
294
|
+
..
|
295
|
+
}) => ty,
|
296
|
+
_ => panic!("not an array type"),
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
/// Converts the type to a struct type.
|
301
|
+
pub fn unwrap_struct(&self) -> &StructType {
|
302
|
+
match self {
|
303
|
+
Self::Sub(SubType {
|
304
|
+
structural_type: StructuralType::Struct(ty),
|
305
|
+
..
|
306
|
+
}) => ty,
|
307
|
+
_ => panic!("not a struct type"),
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
/// Converts the type to a core module type.
|
312
|
+
pub fn unwrap_module(&self) -> &ModuleType {
|
313
|
+
match self {
|
314
|
+
Self::Module(ty) => ty,
|
315
|
+
_ => panic!("not a module type"),
|
316
|
+
}
|
317
|
+
}
|
318
|
+
|
319
|
+
/// Converts the type to a core module instance type.
|
320
|
+
pub fn unwrap_instance(&self) -> &InstanceType {
|
321
|
+
match self {
|
322
|
+
Self::Instance(ty) => ty,
|
323
|
+
_ => panic!("not an instance type"),
|
324
|
+
}
|
325
|
+
}
|
326
|
+
|
327
|
+
/// Converts the type to a component type.
|
328
|
+
pub fn unwrap_component(&self) -> &ComponentType {
|
329
|
+
match self {
|
330
|
+
Self::Component(ty) => ty,
|
331
|
+
_ => panic!("not a component type"),
|
332
|
+
}
|
333
|
+
}
|
334
|
+
|
335
|
+
/// Converts the type to a component instance type.
|
336
|
+
pub fn unwrap_component_instance(&self) -> &ComponentInstanceType {
|
337
|
+
match self {
|
338
|
+
Self::ComponentInstance(ty) => ty,
|
339
|
+
_ => panic!("not a component instance type"),
|
340
|
+
}
|
341
|
+
}
|
342
|
+
|
343
|
+
/// Converts the type to a component function type.
|
344
|
+
pub fn unwrap_component_func(&self) -> &ComponentFuncType {
|
345
|
+
match self {
|
346
|
+
Self::ComponentFunc(ty) => ty,
|
347
|
+
_ => panic!("not a component function type"),
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
/// Converts the type to a component defined type.
|
352
|
+
pub fn unwrap_defined(&self) -> &ComponentDefinedType {
|
353
|
+
match self {
|
354
|
+
Self::Defined(ty) => ty,
|
355
|
+
_ => panic!("not a defined type"),
|
356
|
+
}
|
357
|
+
}
|
358
|
+
|
359
|
+
/// Converts this type to a resource type, returning the corresponding id.
|
360
|
+
pub fn unwrap_resource(&self) -> ResourceId {
|
361
|
+
match self {
|
362
|
+
Self::Resource(id) => *id,
|
363
|
+
_ => panic!("not a resource type"),
|
364
|
+
}
|
365
|
+
}
|
366
|
+
|
367
|
+
pub(crate) fn info(&self) -> TypeInfo {
|
368
|
+
// TODO(#1036): calculate actual size for func, array, struct
|
369
|
+
match self {
|
370
|
+
Self::Sub(ty) => {
|
371
|
+
let size = 1 + match ty.clone().structural_type {
|
372
|
+
StructuralType::Func(ty) => 1 + (ty.params().len() + ty.results().len()) as u32,
|
373
|
+
StructuralType::Array(_) => 2,
|
374
|
+
StructuralType::Struct(ty) => 1 + 2 * ty.fields.len() as u32,
|
375
|
+
};
|
376
|
+
TypeInfo::core(size)
|
377
|
+
}
|
378
|
+
Self::Module(ty) => ty.info,
|
379
|
+
Self::Instance(ty) => ty.info,
|
380
|
+
Self::Component(ty) => ty.info,
|
381
|
+
Self::ComponentInstance(ty) => ty.info,
|
382
|
+
Self::ComponentFunc(ty) => ty.info,
|
383
|
+
Self::Defined(ty) => ty.info(),
|
384
|
+
Self::Resource(_) => TypeInfo::new(),
|
385
|
+
}
|
386
|
+
}
|
387
|
+
}
|
388
|
+
|
389
|
+
/// A component value type.
|
390
|
+
#[derive(Debug, Clone, Copy)]
|
391
|
+
pub enum ComponentValType {
|
392
|
+
/// The value type is one of the primitive types.
|
393
|
+
Primitive(PrimitiveValType),
|
394
|
+
/// The type is represented with the given type identifier.
|
395
|
+
Type(TypeId),
|
396
|
+
}
|
397
|
+
|
398
|
+
impl ComponentValType {
|
399
|
+
pub(crate) fn contains_ptr(&self, types: &TypeList) -> bool {
|
400
|
+
match self {
|
401
|
+
ComponentValType::Primitive(ty) => ty.contains_ptr(),
|
402
|
+
ComponentValType::Type(ty) => types[*ty].unwrap_defined().contains_ptr(types),
|
403
|
+
}
|
404
|
+
}
|
405
|
+
|
406
|
+
fn push_wasm_types(&self, types: &TypeList, lowered_types: &mut LoweredTypes) -> bool {
|
407
|
+
match self {
|
408
|
+
Self::Primitive(ty) => push_primitive_wasm_types(ty, lowered_types),
|
409
|
+
Self::Type(id) => types[*id]
|
410
|
+
.unwrap_defined()
|
411
|
+
.push_wasm_types(types, lowered_types),
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
pub(crate) fn info(&self) -> TypeInfo {
|
416
|
+
match self {
|
417
|
+
Self::Primitive(_) => TypeInfo::new(),
|
418
|
+
Self::Type(id) => id.info,
|
419
|
+
}
|
420
|
+
}
|
421
|
+
}
|
422
|
+
|
423
|
+
/// The entity type for imports and exports of a module.
|
424
|
+
#[derive(Debug, Clone, Copy)]
|
425
|
+
pub enum EntityType {
|
426
|
+
/// The entity is a function.
|
427
|
+
Func(TypeId),
|
428
|
+
/// The entity is a table.
|
429
|
+
Table(TableType),
|
430
|
+
/// The entity is a memory.
|
431
|
+
Memory(MemoryType),
|
432
|
+
/// The entity is a global.
|
433
|
+
Global(GlobalType),
|
434
|
+
/// The entity is a tag.
|
435
|
+
Tag(TypeId),
|
436
|
+
}
|
437
|
+
|
438
|
+
impl EntityType {
|
439
|
+
pub(crate) fn desc(&self) -> &'static str {
|
440
|
+
match self {
|
441
|
+
Self::Func(_) => "func",
|
442
|
+
Self::Table(_) => "table",
|
443
|
+
Self::Memory(_) => "memory",
|
444
|
+
Self::Global(_) => "global",
|
445
|
+
Self::Tag(_) => "tag",
|
446
|
+
}
|
447
|
+
}
|
448
|
+
|
449
|
+
pub(crate) fn info(&self) -> TypeInfo {
|
450
|
+
match self {
|
451
|
+
Self::Func(id) | Self::Tag(id) => id.info,
|
452
|
+
Self::Table(_) | Self::Memory(_) | Self::Global(_) => TypeInfo::new(),
|
453
|
+
}
|
454
|
+
}
|
455
|
+
}
|
456
|
+
|
457
|
+
trait ModuleImportKey {
|
458
|
+
fn module(&self) -> &str;
|
459
|
+
fn name(&self) -> &str;
|
460
|
+
}
|
461
|
+
|
462
|
+
impl<'a> Borrow<dyn ModuleImportKey + 'a> for (String, String) {
|
463
|
+
fn borrow(&self) -> &(dyn ModuleImportKey + 'a) {
|
464
|
+
self
|
465
|
+
}
|
466
|
+
}
|
467
|
+
|
468
|
+
impl Hash for (dyn ModuleImportKey + '_) {
|
469
|
+
fn hash<H: Hasher>(&self, state: &mut H) {
|
470
|
+
self.module().hash(state);
|
471
|
+
self.name().hash(state);
|
472
|
+
}
|
473
|
+
}
|
474
|
+
|
475
|
+
impl PartialEq for (dyn ModuleImportKey + '_) {
|
476
|
+
fn eq(&self, other: &Self) -> bool {
|
477
|
+
self.module() == other.module() && self.name() == other.name()
|
478
|
+
}
|
479
|
+
}
|
480
|
+
|
481
|
+
impl Eq for (dyn ModuleImportKey + '_) {}
|
482
|
+
|
483
|
+
impl ModuleImportKey for (String, String) {
|
484
|
+
fn module(&self) -> &str {
|
485
|
+
&self.0
|
486
|
+
}
|
487
|
+
|
488
|
+
fn name(&self) -> &str {
|
489
|
+
&self.1
|
490
|
+
}
|
491
|
+
}
|
492
|
+
|
493
|
+
impl ModuleImportKey for (&str, &str) {
|
494
|
+
fn module(&self) -> &str {
|
495
|
+
self.0
|
496
|
+
}
|
497
|
+
|
498
|
+
fn name(&self) -> &str {
|
499
|
+
self.1
|
500
|
+
}
|
501
|
+
}
|
502
|
+
|
503
|
+
/// Represents a core module type.
|
504
|
+
#[derive(Debug, Clone)]
|
505
|
+
pub struct ModuleType {
|
506
|
+
/// Metadata about this module type
|
507
|
+
pub(crate) info: TypeInfo,
|
508
|
+
/// The imports of the module type.
|
509
|
+
pub imports: IndexMap<(String, String), EntityType>,
|
510
|
+
/// The exports of the module type.
|
511
|
+
pub exports: IndexMap<String, EntityType>,
|
512
|
+
}
|
513
|
+
|
514
|
+
impl ModuleType {
|
515
|
+
/// Looks up an import by its module and name.
|
516
|
+
///
|
517
|
+
/// Returns `None` if the import was not found.
|
518
|
+
pub fn lookup_import(&self, module: &str, name: &str) -> Option<&EntityType> {
|
519
|
+
self.imports.get(&(module, name) as &dyn ModuleImportKey)
|
520
|
+
}
|
521
|
+
}
|
522
|
+
|
523
|
+
/// Represents the kind of module instance type.
|
524
|
+
#[derive(Debug, Clone)]
|
525
|
+
pub enum InstanceTypeKind {
|
526
|
+
/// The instance type is the result of instantiating a module type.
|
527
|
+
Instantiated(TypeId),
|
528
|
+
/// The instance type is the result of instantiating from exported items.
|
529
|
+
Exports(IndexMap<String, EntityType>),
|
530
|
+
}
|
531
|
+
|
532
|
+
/// Represents a module instance type.
|
533
|
+
#[derive(Debug, Clone)]
|
534
|
+
pub struct InstanceType {
|
535
|
+
/// Metadata about this instance type
|
536
|
+
pub(crate) info: TypeInfo,
|
537
|
+
/// The kind of module instance type.
|
538
|
+
pub kind: InstanceTypeKind,
|
539
|
+
}
|
540
|
+
|
541
|
+
impl InstanceType {
|
542
|
+
/// Gets the exports of the instance type.
|
543
|
+
pub fn exports<'a>(&'a self, types: TypesRef<'a>) -> &'a IndexMap<String, EntityType> {
|
544
|
+
self.internal_exports(types.list)
|
545
|
+
}
|
546
|
+
|
547
|
+
pub(crate) fn internal_exports<'a>(
|
548
|
+
&'a self,
|
549
|
+
types: &'a TypeList,
|
550
|
+
) -> &'a IndexMap<String, EntityType> {
|
551
|
+
match &self.kind {
|
552
|
+
InstanceTypeKind::Instantiated(id) => &types[*id].unwrap_module().exports,
|
553
|
+
InstanceTypeKind::Exports(exports) => exports,
|
554
|
+
}
|
555
|
+
}
|
556
|
+
}
|
557
|
+
|
558
|
+
/// The entity type for imports and exports of a component.
|
559
|
+
#[derive(Debug, Clone, Copy)]
|
560
|
+
pub enum ComponentEntityType {
|
561
|
+
/// The entity is a core module.
|
562
|
+
Module(TypeId),
|
563
|
+
/// The entity is a function.
|
564
|
+
Func(TypeId),
|
565
|
+
/// The entity is a value.
|
566
|
+
Value(ComponentValType),
|
567
|
+
/// The entity is a type.
|
568
|
+
Type {
|
569
|
+
/// This is the identifier of the type that was referenced when this
|
570
|
+
/// entity was created.
|
571
|
+
referenced: TypeId,
|
572
|
+
/// This is the identifier of the type that was created when this type
|
573
|
+
/// was imported or exported from the component.
|
574
|
+
///
|
575
|
+
/// Note that the underlying type information for the `referenced`
|
576
|
+
/// field and for this `created` field is the same, but these two types
|
577
|
+
/// will hash to different values.
|
578
|
+
created: TypeId,
|
579
|
+
},
|
580
|
+
/// The entity is a component instance.
|
581
|
+
Instance(TypeId),
|
582
|
+
/// The entity is a component.
|
583
|
+
Component(TypeId),
|
584
|
+
}
|
585
|
+
|
586
|
+
impl ComponentEntityType {
|
587
|
+
/// Determines if component entity type `a` is a subtype of `b`.
|
588
|
+
pub fn is_subtype_of(a: &Self, at: TypesRef, b: &Self, bt: TypesRef) -> bool {
|
589
|
+
SubtypeCx::new(at.list, bt.list)
|
590
|
+
.component_entity_type(a, b, 0)
|
591
|
+
.is_ok()
|
592
|
+
}
|
593
|
+
|
594
|
+
pub(crate) fn desc(&self) -> &'static str {
|
595
|
+
match self {
|
596
|
+
Self::Module(_) => "module",
|
597
|
+
Self::Func(_) => "func",
|
598
|
+
Self::Value(_) => "value",
|
599
|
+
Self::Type { .. } => "type",
|
600
|
+
Self::Instance(_) => "instance",
|
601
|
+
Self::Component(_) => "component",
|
602
|
+
}
|
603
|
+
}
|
604
|
+
|
605
|
+
pub(crate) fn info(&self) -> TypeInfo {
|
606
|
+
match self {
|
607
|
+
Self::Module(ty)
|
608
|
+
| Self::Func(ty)
|
609
|
+
| Self::Type { referenced: ty, .. }
|
610
|
+
| Self::Instance(ty)
|
611
|
+
| Self::Component(ty) => ty.info,
|
612
|
+
Self::Value(ty) => ty.info(),
|
613
|
+
}
|
614
|
+
}
|
615
|
+
}
|
616
|
+
|
617
|
+
/// Represents a type of a component.
|
618
|
+
#[derive(Debug, Clone)]
|
619
|
+
pub struct ComponentType {
|
620
|
+
/// Metadata about this component type
|
621
|
+
pub(crate) info: TypeInfo,
|
622
|
+
|
623
|
+
/// The imports of the component type.
|
624
|
+
///
|
625
|
+
/// Each import has its own kebab-name and an optional URL listed. Note that
|
626
|
+
/// the set of import names is disjoint with the set of export names.
|
627
|
+
pub imports: IndexMap<String, ComponentEntityType>,
|
628
|
+
|
629
|
+
/// The exports of the component type.
|
630
|
+
///
|
631
|
+
/// Each export has its own kebab-name and an optional URL listed. Note that
|
632
|
+
/// the set of export names is disjoint with the set of import names.
|
633
|
+
pub exports: IndexMap<String, ComponentEntityType>,
|
634
|
+
|
635
|
+
/// Universally quantified resources required to be provided when
|
636
|
+
/// instantiating this component type.
|
637
|
+
///
|
638
|
+
/// Each resource in this map is explicitly imported somewhere in the
|
639
|
+
/// `imports` map. The "path" to where it's imported is specified by the
|
640
|
+
/// `Vec<usize>` payload here. For more information about the indexes see
|
641
|
+
/// the documentation on `ComponentState::imported_resources`.
|
642
|
+
///
|
643
|
+
/// This should technically be inferrable from the structure of `imports`,
|
644
|
+
/// but it's stored as an auxiliary set for subtype checking and
|
645
|
+
/// instantiation.
|
646
|
+
///
|
647
|
+
/// Note that this is not a set of all resources referred to by the
|
648
|
+
/// `imports`. Instead it's only those created, relative to the internals of
|
649
|
+
/// this component, by the imports.
|
650
|
+
pub imported_resources: Vec<(ResourceId, Vec<usize>)>,
|
651
|
+
|
652
|
+
/// The dual of the `imported_resources`, or the set of defined
|
653
|
+
/// resources -- those created through the instantiation process which are
|
654
|
+
/// unique to this component.
|
655
|
+
///
|
656
|
+
/// This set is similar to the `imported_resources` set but it's those
|
657
|
+
/// contained within the `exports`. Instantiating this component will
|
658
|
+
/// create fresh new versions of all of these resources. The path here is
|
659
|
+
/// within the `exports` array.
|
660
|
+
pub defined_resources: Vec<(ResourceId, Vec<usize>)>,
|
661
|
+
|
662
|
+
/// The set of all resources which are explicitly exported by this
|
663
|
+
/// component, and where they're exported.
|
664
|
+
///
|
665
|
+
/// This mapping is stored separately from `defined_resources` to ensure
|
666
|
+
/// that it contains all exported resources, not just those which are
|
667
|
+
/// defined. That means that this can cover reexports of imported
|
668
|
+
/// resources, exports of local resources, or exports of closed-over
|
669
|
+
/// resources for example.
|
670
|
+
pub explicit_resources: IndexMap<ResourceId, Vec<usize>>,
|
671
|
+
}
|
672
|
+
|
673
|
+
/// Represents a type of a component instance.
|
674
|
+
#[derive(Debug, Clone)]
|
675
|
+
pub struct ComponentInstanceType {
|
676
|
+
/// Metadata about this instance type
|
677
|
+
pub(crate) info: TypeInfo,
|
678
|
+
|
679
|
+
/// The list of exports, keyed by name, that this instance has.
|
680
|
+
///
|
681
|
+
/// An optional URL and type of each export is provided as well.
|
682
|
+
pub exports: IndexMap<String, ComponentEntityType>,
|
683
|
+
|
684
|
+
/// The list of "defined resources" or those which are closed over in
|
685
|
+
/// this instance type.
|
686
|
+
///
|
687
|
+
/// This list is populated, for example, when the type of an instance is
|
688
|
+
/// declared and it contains its own resource type exports defined
|
689
|
+
/// internally. For example:
|
690
|
+
///
|
691
|
+
/// ```wasm
|
692
|
+
/// (component
|
693
|
+
/// (type (instance
|
694
|
+
/// (export "x" (type sub resource)) ;; one `defined_resources` entry
|
695
|
+
/// ))
|
696
|
+
/// )
|
697
|
+
/// ```
|
698
|
+
///
|
699
|
+
/// This list is also a bit of an oddity, however, because the type of a
|
700
|
+
/// concrete instance will always have this as empty. For example:
|
701
|
+
///
|
702
|
+
/// ```wasm
|
703
|
+
/// (component
|
704
|
+
/// (type $t (instance (export "x" (type sub resource))))
|
705
|
+
///
|
706
|
+
/// ;; the type of this instance has no defined resources
|
707
|
+
/// (import "i" (instance (type $t)))
|
708
|
+
/// )
|
709
|
+
/// ```
|
710
|
+
///
|
711
|
+
/// This list ends up only being populated for instance types declared in a
|
712
|
+
/// module which aren't yet "attached" to anything. Once something is
|
713
|
+
/// instantiated, imported, exported, or otherwise refers to a concrete
|
714
|
+
/// instance then this list is always empty. For concrete instances
|
715
|
+
/// defined resources are tracked in the component state or component type.
|
716
|
+
pub defined_resources: Vec<ResourceId>,
|
717
|
+
|
718
|
+
/// The list of all resources that are explicitly exported from this
|
719
|
+
/// instance type along with the path they're exported at.
|
720
|
+
pub explicit_resources: IndexMap<ResourceId, Vec<usize>>,
|
721
|
+
}
|
722
|
+
|
723
|
+
/// Represents a type of a component function.
|
724
|
+
#[derive(Debug, Clone)]
|
725
|
+
pub struct ComponentFuncType {
|
726
|
+
/// Metadata about this function type.
|
727
|
+
pub(crate) info: TypeInfo,
|
728
|
+
/// The function parameters.
|
729
|
+
pub params: Box<[(KebabString, ComponentValType)]>,
|
730
|
+
/// The function's results.
|
731
|
+
pub results: Box<[(Option<KebabString>, ComponentValType)]>,
|
732
|
+
}
|
733
|
+
|
734
|
+
impl ComponentFuncType {
|
735
|
+
/// Lowers the component function type to core parameter and result types for the
|
736
|
+
/// canonical ABI.
|
737
|
+
pub(crate) fn lower(&self, types: &TypeList, is_lower: bool) -> LoweringInfo {
|
738
|
+
let mut info = LoweringInfo::default();
|
739
|
+
|
740
|
+
for (_, ty) in self.params.iter() {
|
741
|
+
// Check to see if `ty` has a pointer somewhere in it, needed for
|
742
|
+
// any type that transitively contains either a string or a list.
|
743
|
+
// In this situation lowered functions must specify `memory`, and
|
744
|
+
// lifted functions must specify `realloc` as well. Lifted functions
|
745
|
+
// gain their memory requirement through the final clause of this
|
746
|
+
// function.
|
747
|
+
if is_lower {
|
748
|
+
if !info.requires_memory {
|
749
|
+
info.requires_memory = ty.contains_ptr(types);
|
750
|
+
}
|
751
|
+
} else {
|
752
|
+
if !info.requires_realloc {
|
753
|
+
info.requires_realloc = ty.contains_ptr(types);
|
754
|
+
}
|
755
|
+
}
|
756
|
+
|
757
|
+
if !ty.push_wasm_types(types, &mut info.params) {
|
758
|
+
// Too many parameters to pass directly
|
759
|
+
// Function will have a single pointer parameter to pass the arguments
|
760
|
+
// via linear memory
|
761
|
+
info.params.clear();
|
762
|
+
assert!(info.params.push(ValType::I32));
|
763
|
+
info.requires_memory = true;
|
764
|
+
|
765
|
+
// We need realloc as well when lifting a function
|
766
|
+
if !is_lower {
|
767
|
+
info.requires_realloc = true;
|
768
|
+
}
|
769
|
+
break;
|
770
|
+
}
|
771
|
+
}
|
772
|
+
|
773
|
+
for (_, ty) in self.results.iter() {
|
774
|
+
// Results of lowered functions that contains pointers must be
|
775
|
+
// allocated by the callee meaning that realloc is required.
|
776
|
+
// Results of lifted function are allocated by the guest which
|
777
|
+
// means that no realloc option is necessary.
|
778
|
+
if is_lower && !info.requires_realloc {
|
779
|
+
info.requires_realloc = ty.contains_ptr(types);
|
780
|
+
}
|
781
|
+
|
782
|
+
if !ty.push_wasm_types(types, &mut info.results) {
|
783
|
+
// Too many results to return directly, either a retptr parameter will be used (import)
|
784
|
+
// or a single pointer will be returned (export)
|
785
|
+
info.results.clear();
|
786
|
+
if is_lower {
|
787
|
+
info.params.max = MAX_LOWERED_TYPES;
|
788
|
+
assert!(info.params.push(ValType::I32));
|
789
|
+
} else {
|
790
|
+
assert!(info.results.push(ValType::I32));
|
791
|
+
}
|
792
|
+
info.requires_memory = true;
|
793
|
+
break;
|
794
|
+
}
|
795
|
+
}
|
796
|
+
|
797
|
+
// Memory is always required when realloc is required
|
798
|
+
info.requires_memory |= info.requires_realloc;
|
799
|
+
|
800
|
+
info
|
801
|
+
}
|
802
|
+
}
|
803
|
+
|
804
|
+
/// Represents a variant case.
|
805
|
+
#[derive(Debug, Clone)]
|
806
|
+
pub struct VariantCase {
|
807
|
+
/// The variant case type.
|
808
|
+
pub ty: Option<ComponentValType>,
|
809
|
+
/// The name of the variant case refined by this one.
|
810
|
+
pub refines: Option<KebabString>,
|
811
|
+
}
|
812
|
+
|
813
|
+
/// Represents a record type.
|
814
|
+
#[derive(Debug, Clone)]
|
815
|
+
pub struct RecordType {
|
816
|
+
/// Metadata about this record type.
|
817
|
+
pub(crate) info: TypeInfo,
|
818
|
+
/// The map of record fields.
|
819
|
+
pub fields: IndexMap<KebabString, ComponentValType>,
|
820
|
+
}
|
821
|
+
|
822
|
+
/// Represents a variant type.
|
823
|
+
#[derive(Debug, Clone)]
|
824
|
+
pub struct VariantType {
|
825
|
+
/// Metadata about this variant type.
|
826
|
+
pub(crate) info: TypeInfo,
|
827
|
+
/// The map of variant cases.
|
828
|
+
pub cases: IndexMap<KebabString, VariantCase>,
|
829
|
+
}
|
830
|
+
|
831
|
+
/// Represents a tuple type.
|
832
|
+
#[derive(Debug, Clone)]
|
833
|
+
pub struct TupleType {
|
834
|
+
/// Metadata about this tuple type.
|
835
|
+
pub(crate) info: TypeInfo,
|
836
|
+
/// The types of the tuple.
|
837
|
+
pub types: Box<[ComponentValType]>,
|
838
|
+
}
|
839
|
+
|
840
|
+
/// Represents a component defined type.
|
841
|
+
#[derive(Debug, Clone)]
|
842
|
+
pub enum ComponentDefinedType {
|
843
|
+
/// The type is a primitive value type.
|
844
|
+
Primitive(PrimitiveValType),
|
845
|
+
/// The type is a record.
|
846
|
+
Record(RecordType),
|
847
|
+
/// The type is a variant.
|
848
|
+
Variant(VariantType),
|
849
|
+
/// The type is a list.
|
850
|
+
List(ComponentValType),
|
851
|
+
/// The type is a tuple.
|
852
|
+
Tuple(TupleType),
|
853
|
+
/// The type is a set of flags.
|
854
|
+
Flags(IndexSet<KebabString>),
|
855
|
+
/// The type is an enumeration.
|
856
|
+
Enum(IndexSet<KebabString>),
|
857
|
+
/// The type is an `option`.
|
858
|
+
Option(ComponentValType),
|
859
|
+
/// The type is a `result`.
|
860
|
+
Result {
|
861
|
+
/// The `ok` type.
|
862
|
+
ok: Option<ComponentValType>,
|
863
|
+
/// The `error` type.
|
864
|
+
err: Option<ComponentValType>,
|
865
|
+
},
|
866
|
+
/// The type is an owned handle to the specified resource.
|
867
|
+
Own(TypeId),
|
868
|
+
/// The type is a borrowed handle to the specified resource.
|
869
|
+
Borrow(TypeId),
|
870
|
+
}
|
871
|
+
|
872
|
+
impl ComponentDefinedType {
|
873
|
+
pub(crate) fn contains_ptr(&self, types: &TypeList) -> bool {
|
874
|
+
match self {
|
875
|
+
Self::Primitive(ty) => ty.contains_ptr(),
|
876
|
+
Self::Record(r) => r.fields.values().any(|ty| ty.contains_ptr(types)),
|
877
|
+
Self::Variant(v) => v
|
878
|
+
.cases
|
879
|
+
.values()
|
880
|
+
.any(|case| case.ty.map(|ty| ty.contains_ptr(types)).unwrap_or(false)),
|
881
|
+
Self::List(_) => true,
|
882
|
+
Self::Tuple(t) => t.types.iter().any(|ty| ty.contains_ptr(types)),
|
883
|
+
Self::Flags(_) | Self::Enum(_) | Self::Own(_) | Self::Borrow(_) => false,
|
884
|
+
Self::Option(ty) => ty.contains_ptr(types),
|
885
|
+
Self::Result { ok, err } => {
|
886
|
+
ok.map(|ty| ty.contains_ptr(types)).unwrap_or(false)
|
887
|
+
|| err.map(|ty| ty.contains_ptr(types)).unwrap_or(false)
|
888
|
+
}
|
889
|
+
}
|
890
|
+
}
|
891
|
+
|
892
|
+
pub(crate) fn info(&self) -> TypeInfo {
|
893
|
+
match self {
|
894
|
+
Self::Primitive(_) | Self::Flags(_) | Self::Enum(_) | Self::Own(_) => TypeInfo::new(),
|
895
|
+
Self::Borrow(_) => TypeInfo::borrow(),
|
896
|
+
Self::Record(r) => r.info,
|
897
|
+
Self::Variant(v) => v.info,
|
898
|
+
Self::Tuple(t) => t.info,
|
899
|
+
Self::List(ty) | Self::Option(ty) => ty.info(),
|
900
|
+
Self::Result { ok, err } => {
|
901
|
+
let default = TypeInfo::new();
|
902
|
+
let mut info = ok.map(|ty| ty.info()).unwrap_or(default);
|
903
|
+
info.combine(err.map(|ty| ty.info()).unwrap_or(default), 0)
|
904
|
+
.unwrap();
|
905
|
+
info
|
906
|
+
}
|
907
|
+
}
|
908
|
+
}
|
909
|
+
|
910
|
+
fn push_wasm_types(&self, types: &TypeList, lowered_types: &mut LoweredTypes) -> bool {
|
911
|
+
match self {
|
912
|
+
Self::Primitive(ty) => push_primitive_wasm_types(ty, lowered_types),
|
913
|
+
Self::Record(r) => r
|
914
|
+
.fields
|
915
|
+
.iter()
|
916
|
+
.all(|(_, ty)| ty.push_wasm_types(types, lowered_types)),
|
917
|
+
Self::Variant(v) => Self::push_variant_wasm_types(
|
918
|
+
v.cases.iter().filter_map(|(_, case)| case.ty.as_ref()),
|
919
|
+
types,
|
920
|
+
lowered_types,
|
921
|
+
),
|
922
|
+
Self::List(_) => lowered_types.push(ValType::I32) && lowered_types.push(ValType::I32),
|
923
|
+
Self::Tuple(t) => t
|
924
|
+
.types
|
925
|
+
.iter()
|
926
|
+
.all(|ty| ty.push_wasm_types(types, lowered_types)),
|
927
|
+
Self::Flags(names) => {
|
928
|
+
(0..(names.len() + 31) / 32).all(|_| lowered_types.push(ValType::I32))
|
929
|
+
}
|
930
|
+
Self::Enum(_) | Self::Own(_) | Self::Borrow(_) => lowered_types.push(ValType::I32),
|
931
|
+
Self::Option(ty) => {
|
932
|
+
Self::push_variant_wasm_types([ty].into_iter(), types, lowered_types)
|
933
|
+
}
|
934
|
+
Self::Result { ok, err } => {
|
935
|
+
Self::push_variant_wasm_types(ok.iter().chain(err.iter()), types, lowered_types)
|
936
|
+
}
|
937
|
+
}
|
938
|
+
}
|
939
|
+
|
940
|
+
fn push_variant_wasm_types<'a>(
|
941
|
+
cases: impl Iterator<Item = &'a ComponentValType>,
|
942
|
+
types: &TypeList,
|
943
|
+
lowered_types: &mut LoweredTypes,
|
944
|
+
) -> bool {
|
945
|
+
// Push the discriminant
|
946
|
+
if !lowered_types.push(ValType::I32) {
|
947
|
+
return false;
|
948
|
+
}
|
949
|
+
|
950
|
+
let start = lowered_types.len();
|
951
|
+
|
952
|
+
for ty in cases {
|
953
|
+
let mut temp = LoweredTypes::new(lowered_types.max);
|
954
|
+
|
955
|
+
if !ty.push_wasm_types(types, &mut temp) {
|
956
|
+
return false;
|
957
|
+
}
|
958
|
+
|
959
|
+
for (i, ty) in temp.iter().enumerate() {
|
960
|
+
match lowered_types.get_mut(start + i) {
|
961
|
+
Some(prev) => *prev = Self::join_types(*prev, ty),
|
962
|
+
None => {
|
963
|
+
if !lowered_types.push(ty) {
|
964
|
+
return false;
|
965
|
+
}
|
966
|
+
}
|
967
|
+
}
|
968
|
+
}
|
969
|
+
}
|
970
|
+
|
971
|
+
true
|
972
|
+
}
|
973
|
+
|
974
|
+
fn join_types(a: ValType, b: ValType) -> ValType {
|
975
|
+
use ValType::*;
|
976
|
+
|
977
|
+
match (a, b) {
|
978
|
+
(I32, I32) | (I64, I64) | (F32, F32) | (F64, F64) => a,
|
979
|
+
(I32, F32) | (F32, I32) => I32,
|
980
|
+
(_, I64 | F64) | (I64 | F64, _) => I64,
|
981
|
+
_ => panic!("unexpected wasm type for canonical ABI"),
|
982
|
+
}
|
983
|
+
}
|
984
|
+
|
985
|
+
fn desc(&self) -> &'static str {
|
986
|
+
match self {
|
987
|
+
ComponentDefinedType::Record(_) => "record",
|
988
|
+
ComponentDefinedType::Primitive(_) => "primitive",
|
989
|
+
ComponentDefinedType::Variant(_) => "variant",
|
990
|
+
ComponentDefinedType::Tuple(_) => "tuple",
|
991
|
+
ComponentDefinedType::Enum(_) => "enum",
|
992
|
+
ComponentDefinedType::Flags(_) => "flags",
|
993
|
+
ComponentDefinedType::Option(_) => "option",
|
994
|
+
ComponentDefinedType::List(_) => "list",
|
995
|
+
ComponentDefinedType::Result { .. } => "result",
|
996
|
+
ComponentDefinedType::Own(_) => "own",
|
997
|
+
ComponentDefinedType::Borrow(_) => "borrow",
|
998
|
+
}
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
/// An opaque identifier intended to be used to distinguish whether two
|
1003
|
+
/// resource types are equivalent or not.
|
1004
|
+
#[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd, Copy)]
|
1005
|
+
#[repr(packed(4))] // try to not waste 4 bytes in padding
|
1006
|
+
pub struct ResourceId {
|
1007
|
+
// This is a globally unique identifier which is assigned once per
|
1008
|
+
// `TypeAlloc`. This ensures that resource identifiers from different
|
1009
|
+
// instances of `Types`, for example, are considered unique.
|
1010
|
+
//
|
1011
|
+
// Technically 64-bits should be enough for all resource ids ever, but
|
1012
|
+
// they're allocated so often it's predicted that an atomic increment
|
1013
|
+
// per resource id is probably too expensive. To amortize that cost each
|
1014
|
+
// top-level wasm component gets a single globally unique identifier, and
|
1015
|
+
// then within a component contextually unique identifiers are handed out.
|
1016
|
+
globally_unique_id: u64,
|
1017
|
+
|
1018
|
+
// A contextually unique id within the globally unique id above. This is
|
1019
|
+
// allocated within a `TypeAlloc` with its own counter, and allocations of
|
1020
|
+
// this are cheap as nothing atomic is required.
|
1021
|
+
//
|
1022
|
+
// The 32-bit storage here should ideally be enough for any component
|
1023
|
+
// containing resources. If memory usage becomes an issue (this struct is
|
1024
|
+
// 12 bytes instead of 8 or 4) then this coudl get folded into the globally
|
1025
|
+
// unique id with everything using an atomic increment perhaps.
|
1026
|
+
contextually_unique_id: u32,
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
#[allow(clippy::large_enum_variant)]
|
1030
|
+
enum TypesKind {
|
1031
|
+
Module(Arc<Module>),
|
1032
|
+
Component(ComponentState),
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
/// Represents the types known to a [`crate::Validator`] once validation has completed.
|
1036
|
+
///
|
1037
|
+
/// The type information is returned via the [`crate::Validator::end`] method.
|
1038
|
+
pub struct Types {
|
1039
|
+
list: TypeList,
|
1040
|
+
kind: TypesKind,
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
#[derive(Clone, Copy)]
|
1044
|
+
enum TypesRefKind<'a> {
|
1045
|
+
Module(&'a Module),
|
1046
|
+
Component(&'a ComponentState),
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
/// Represents the types known to a [`crate::Validator`] during validation.
|
1050
|
+
///
|
1051
|
+
/// Retrieved via the [`crate::Validator::types`] method.
|
1052
|
+
#[derive(Clone, Copy)]
|
1053
|
+
pub struct TypesRef<'a> {
|
1054
|
+
list: &'a TypeList,
|
1055
|
+
kind: TypesRefKind<'a>,
|
1056
|
+
}
|
1057
|
+
|
1058
|
+
impl<'a> TypesRef<'a> {
|
1059
|
+
pub(crate) fn from_module(types: &'a TypeList, module: &'a Module) -> Self {
|
1060
|
+
Self {
|
1061
|
+
list: types,
|
1062
|
+
kind: TypesRefKind::Module(module),
|
1063
|
+
}
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
pub(crate) fn from_component(types: &'a TypeList, component: &'a ComponentState) -> Self {
|
1067
|
+
Self {
|
1068
|
+
list: types,
|
1069
|
+
kind: TypesRefKind::Component(component),
|
1070
|
+
}
|
1071
|
+
}
|
1072
|
+
|
1073
|
+
/// Gets a type based on its type id.
|
1074
|
+
///
|
1075
|
+
/// Returns `None` if the type id is unknown.
|
1076
|
+
pub fn get(&self, id: TypeId) -> Option<&'a Type> {
|
1077
|
+
self.list.get(id.index)
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
/// Gets a core WebAssembly type id from a type index.
|
1081
|
+
///
|
1082
|
+
/// Note that this is in contrast to [`TypesRef::component_type_at`] which
|
1083
|
+
/// gets a component type from its index.
|
1084
|
+
///
|
1085
|
+
/// # Panics
|
1086
|
+
///
|
1087
|
+
/// This will panic if the `index` provided is out of bounds.
|
1088
|
+
pub fn core_type_at(&self, index: u32) -> TypeId {
|
1089
|
+
match &self.kind {
|
1090
|
+
TypesRefKind::Module(module) => module.types[index as usize],
|
1091
|
+
TypesRefKind::Component(component) => component.core_types[index as usize],
|
1092
|
+
}
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
/// Gets a type id from a type index.
|
1096
|
+
///
|
1097
|
+
/// # Panics
|
1098
|
+
///
|
1099
|
+
/// Panics if `index` is not a valid function index or if this type
|
1100
|
+
/// information represents a core module.
|
1101
|
+
pub fn component_type_at(&self, index: u32) -> TypeId {
|
1102
|
+
match &self.kind {
|
1103
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1104
|
+
TypesRefKind::Component(component) => component.types[index as usize],
|
1105
|
+
}
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
/// Returns the number of core types defined so far.
|
1109
|
+
pub fn core_type_count(&self) -> u32 {
|
1110
|
+
match &self.kind {
|
1111
|
+
TypesRefKind::Module(module) => module.types.len() as u32,
|
1112
|
+
TypesRefKind::Component(component) => component.core_types.len() as u32,
|
1113
|
+
}
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
/// Returns the number of component types defined so far.
|
1117
|
+
pub fn component_type_count(&self) -> u32 {
|
1118
|
+
match &self.kind {
|
1119
|
+
TypesRefKind::Module(_module) => 0,
|
1120
|
+
TypesRefKind::Component(component) => component.types.len() as u32,
|
1121
|
+
}
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
/// Gets the type of a table at the given table index.
|
1125
|
+
///
|
1126
|
+
/// # Panics
|
1127
|
+
///
|
1128
|
+
/// This will panic if the `index` provided is out of bounds.
|
1129
|
+
pub fn table_at(&self, index: u32) -> TableType {
|
1130
|
+
let tables = match &self.kind {
|
1131
|
+
TypesRefKind::Module(module) => &module.tables,
|
1132
|
+
TypesRefKind::Component(component) => &component.core_tables,
|
1133
|
+
};
|
1134
|
+
tables[index as usize]
|
1135
|
+
}
|
1136
|
+
|
1137
|
+
/// Returns the number of tables defined so far.
|
1138
|
+
pub fn table_count(&self) -> u32 {
|
1139
|
+
match &self.kind {
|
1140
|
+
TypesRefKind::Module(module) => module.tables.len() as u32,
|
1141
|
+
TypesRefKind::Component(component) => component.core_tables.len() as u32,
|
1142
|
+
}
|
1143
|
+
}
|
1144
|
+
|
1145
|
+
/// Gets the type of a memory at the given memory index.
|
1146
|
+
///
|
1147
|
+
/// # Panics
|
1148
|
+
///
|
1149
|
+
/// This will panic if the `index` provided is out of bounds.
|
1150
|
+
pub fn memory_at(&self, index: u32) -> MemoryType {
|
1151
|
+
let memories = match &self.kind {
|
1152
|
+
TypesRefKind::Module(module) => &module.memories,
|
1153
|
+
TypesRefKind::Component(component) => &component.core_memories,
|
1154
|
+
};
|
1155
|
+
|
1156
|
+
memories[index as usize]
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
/// Returns the number of memories defined so far.
|
1160
|
+
pub fn memory_count(&self) -> u32 {
|
1161
|
+
match &self.kind {
|
1162
|
+
TypesRefKind::Module(module) => module.memories.len() as u32,
|
1163
|
+
TypesRefKind::Component(component) => component.core_memories.len() as u32,
|
1164
|
+
}
|
1165
|
+
}
|
1166
|
+
|
1167
|
+
/// Gets the type of a global at the given global index.
|
1168
|
+
///
|
1169
|
+
/// # Panics
|
1170
|
+
///
|
1171
|
+
/// This will panic if the `index` provided is out of bounds.
|
1172
|
+
pub fn global_at(&self, index: u32) -> GlobalType {
|
1173
|
+
let globals = match &self.kind {
|
1174
|
+
TypesRefKind::Module(module) => &module.globals,
|
1175
|
+
TypesRefKind::Component(component) => &component.core_globals,
|
1176
|
+
};
|
1177
|
+
|
1178
|
+
globals[index as usize]
|
1179
|
+
}
|
1180
|
+
|
1181
|
+
/// Returns the number of globals defined so far.
|
1182
|
+
pub fn global_count(&self) -> u32 {
|
1183
|
+
match &self.kind {
|
1184
|
+
TypesRefKind::Module(module) => module.globals.len() as u32,
|
1185
|
+
TypesRefKind::Component(component) => component.core_globals.len() as u32,
|
1186
|
+
}
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
/// Gets the type of a tag at the given tag index.
|
1190
|
+
///
|
1191
|
+
/// # Panics
|
1192
|
+
///
|
1193
|
+
/// This will panic if the `index` provided is out of bounds.
|
1194
|
+
pub fn tag_at(&self, index: u32) -> TypeId {
|
1195
|
+
let tags = match &self.kind {
|
1196
|
+
TypesRefKind::Module(module) => &module.tags,
|
1197
|
+
TypesRefKind::Component(component) => &component.core_tags,
|
1198
|
+
};
|
1199
|
+
tags[index as usize]
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
/// Returns the number of tags defined so far.
|
1203
|
+
pub fn tag_count(&self) -> u32 {
|
1204
|
+
match &self.kind {
|
1205
|
+
TypesRefKind::Module(module) => module.tags.len() as u32,
|
1206
|
+
TypesRefKind::Component(component) => component.core_tags.len() as u32,
|
1207
|
+
}
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
/// Gets the type of a core function at the given function index.
|
1211
|
+
///
|
1212
|
+
/// # Panics
|
1213
|
+
///
|
1214
|
+
/// This will panic if the `index` provided is out of bounds.
|
1215
|
+
pub fn function_at(&self, index: u32) -> TypeId {
|
1216
|
+
match &self.kind {
|
1217
|
+
TypesRefKind::Module(module) => module.types[module.functions[index as usize] as usize],
|
1218
|
+
TypesRefKind::Component(component) => component.core_funcs[index as usize],
|
1219
|
+
}
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
/// Gets the count of core functions defined so far.
|
1223
|
+
///
|
1224
|
+
/// Note that this includes imported functions, defined functions, and for
|
1225
|
+
/// components lowered/aliased functions.
|
1226
|
+
pub fn function_count(&self) -> u32 {
|
1227
|
+
match &self.kind {
|
1228
|
+
TypesRefKind::Module(module) => module.functions.len() as u32,
|
1229
|
+
TypesRefKind::Component(component) => component.core_funcs.len() as u32,
|
1230
|
+
}
|
1231
|
+
}
|
1232
|
+
|
1233
|
+
/// Gets the type of an element segment at the given element segment index.
|
1234
|
+
///
|
1235
|
+
/// # Panics
|
1236
|
+
///
|
1237
|
+
/// This will panic if the `index` provided is out of bounds.
|
1238
|
+
pub fn element_at(&self, index: u32) -> RefType {
|
1239
|
+
match &self.kind {
|
1240
|
+
TypesRefKind::Module(module) => module.element_types[index as usize],
|
1241
|
+
TypesRefKind::Component(_) => {
|
1242
|
+
panic!("no elements on a component")
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
/// Returns the number of elements defined so far.
|
1248
|
+
pub fn element_count(&self) -> u32 {
|
1249
|
+
match &self.kind {
|
1250
|
+
TypesRefKind::Module(module) => module.element_types.len() as u32,
|
1251
|
+
TypesRefKind::Component(_) => 0,
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
/// Gets the type of a component function at the given function index.
|
1256
|
+
///
|
1257
|
+
/// # Panics
|
1258
|
+
///
|
1259
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1260
|
+
/// information represents a core module.
|
1261
|
+
pub fn component_function_at(&self, index: u32) -> TypeId {
|
1262
|
+
match &self.kind {
|
1263
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1264
|
+
TypesRefKind::Component(component) => component.funcs[index as usize],
|
1265
|
+
}
|
1266
|
+
}
|
1267
|
+
|
1268
|
+
/// Returns the number of component functions defined so far.
|
1269
|
+
pub fn component_function_count(&self) -> u32 {
|
1270
|
+
match &self.kind {
|
1271
|
+
TypesRefKind::Module(_module) => 0,
|
1272
|
+
TypesRefKind::Component(component) => component.funcs.len() as u32,
|
1273
|
+
}
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
/// Gets the type of a module at the given module index.
|
1277
|
+
///
|
1278
|
+
/// # Panics
|
1279
|
+
///
|
1280
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1281
|
+
/// information represents a core module.
|
1282
|
+
pub fn module_at(&self, index: u32) -> TypeId {
|
1283
|
+
match &self.kind {
|
1284
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1285
|
+
TypesRefKind::Component(component) => component.core_modules[index as usize],
|
1286
|
+
}
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
/// Returns the number of core wasm modules defined so far.
|
1290
|
+
pub fn module_count(&self) -> u32 {
|
1291
|
+
match &self.kind {
|
1292
|
+
TypesRefKind::Module(_module) => 0,
|
1293
|
+
TypesRefKind::Component(component) => component.core_modules.len() as u32,
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
/// Gets the type of a module instance at the given module instance index.
|
1298
|
+
///
|
1299
|
+
/// # Panics
|
1300
|
+
///
|
1301
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1302
|
+
/// information represents a core module.
|
1303
|
+
pub fn instance_at(&self, index: u32) -> TypeId {
|
1304
|
+
match &self.kind {
|
1305
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1306
|
+
TypesRefKind::Component(component) => component.core_instances[index as usize],
|
1307
|
+
}
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
/// Returns the number of core wasm instances defined so far.
|
1311
|
+
pub fn instance_count(&self) -> u32 {
|
1312
|
+
match &self.kind {
|
1313
|
+
TypesRefKind::Module(_module) => 0,
|
1314
|
+
TypesRefKind::Component(component) => component.core_instances.len() as u32,
|
1315
|
+
}
|
1316
|
+
}
|
1317
|
+
|
1318
|
+
/// Gets the type of a component at the given component index.
|
1319
|
+
///
|
1320
|
+
/// # Panics
|
1321
|
+
///
|
1322
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1323
|
+
/// information represents a core module.
|
1324
|
+
pub fn component_at(&self, index: u32) -> TypeId {
|
1325
|
+
match &self.kind {
|
1326
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1327
|
+
TypesRefKind::Component(component) => component.components[index as usize],
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
/// Returns the number of components defined so far.
|
1332
|
+
pub fn component_count(&self) -> u32 {
|
1333
|
+
match &self.kind {
|
1334
|
+
TypesRefKind::Module(_module) => 0,
|
1335
|
+
TypesRefKind::Component(component) => component.components.len() as u32,
|
1336
|
+
}
|
1337
|
+
}
|
1338
|
+
|
1339
|
+
/// Gets the type of an component instance at the given component instance index.
|
1340
|
+
///
|
1341
|
+
/// # Panics
|
1342
|
+
///
|
1343
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1344
|
+
/// information represents a core module.
|
1345
|
+
pub fn component_instance_at(&self, index: u32) -> TypeId {
|
1346
|
+
match &self.kind {
|
1347
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1348
|
+
TypesRefKind::Component(component) => component.instances[index as usize],
|
1349
|
+
}
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
/// Returns the number of component instances defined so far.
|
1353
|
+
pub fn component_instance_count(&self) -> u32 {
|
1354
|
+
match &self.kind {
|
1355
|
+
TypesRefKind::Module(_module) => 0,
|
1356
|
+
TypesRefKind::Component(component) => component.instances.len() as u32,
|
1357
|
+
}
|
1358
|
+
}
|
1359
|
+
|
1360
|
+
/// Gets the type of a value at the given value index.
|
1361
|
+
///
|
1362
|
+
/// # Panics
|
1363
|
+
///
|
1364
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1365
|
+
/// information represents a core module.
|
1366
|
+
pub fn value_at(&self, index: u32) -> ComponentValType {
|
1367
|
+
match &self.kind {
|
1368
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1369
|
+
TypesRefKind::Component(component) => component.values[index as usize].0,
|
1370
|
+
}
|
1371
|
+
}
|
1372
|
+
|
1373
|
+
/// Gets the entity type for the given import.
|
1374
|
+
pub fn entity_type_from_import(&self, import: &Import) -> Option<EntityType> {
|
1375
|
+
match &self.kind {
|
1376
|
+
TypesRefKind::Module(module) => Some(match import.ty {
|
1377
|
+
TypeRef::Func(idx) => EntityType::Func(*module.types.get(idx as usize)?),
|
1378
|
+
TypeRef::Table(ty) => EntityType::Table(ty),
|
1379
|
+
TypeRef::Memory(ty) => EntityType::Memory(ty),
|
1380
|
+
TypeRef::Global(ty) => EntityType::Global(ty),
|
1381
|
+
TypeRef::Tag(ty) => EntityType::Tag(*module.types.get(ty.func_type_idx as usize)?),
|
1382
|
+
}),
|
1383
|
+
TypesRefKind::Component(_) => None,
|
1384
|
+
}
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
/// Gets the entity type from the given export.
|
1388
|
+
pub fn entity_type_from_export(&self, export: &Export) -> Option<EntityType> {
|
1389
|
+
match &self.kind {
|
1390
|
+
TypesRefKind::Module(module) => Some(match export.kind {
|
1391
|
+
ExternalKind::Func => EntityType::Func(
|
1392
|
+
module.types[*module.functions.get(export.index as usize)? as usize],
|
1393
|
+
),
|
1394
|
+
ExternalKind::Table => {
|
1395
|
+
EntityType::Table(*module.tables.get(export.index as usize)?)
|
1396
|
+
}
|
1397
|
+
ExternalKind::Memory => {
|
1398
|
+
EntityType::Memory(*module.memories.get(export.index as usize)?)
|
1399
|
+
}
|
1400
|
+
ExternalKind::Global => {
|
1401
|
+
EntityType::Global(*module.globals.get(export.index as usize)?)
|
1402
|
+
}
|
1403
|
+
ExternalKind::Tag => EntityType::Tag(
|
1404
|
+
module.types[*module.functions.get(export.index as usize)? as usize],
|
1405
|
+
),
|
1406
|
+
}),
|
1407
|
+
TypesRefKind::Component(_) => None,
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
|
1411
|
+
/// Gets the component entity type for the given component import.
|
1412
|
+
pub fn component_entity_type_of_import(&self, name: &str) -> Option<ComponentEntityType> {
|
1413
|
+
match &self.kind {
|
1414
|
+
TypesRefKind::Module(_) => None,
|
1415
|
+
TypesRefKind::Component(component) => Some(*component.imports.get(name)?),
|
1416
|
+
}
|
1417
|
+
}
|
1418
|
+
|
1419
|
+
/// Gets the component entity type for the given component export.
|
1420
|
+
pub fn component_entity_type_of_export(&self, name: &str) -> Option<ComponentEntityType> {
|
1421
|
+
match &self.kind {
|
1422
|
+
TypesRefKind::Module(_) => None,
|
1423
|
+
TypesRefKind::Component(component) => Some(*component.exports.get(name)?),
|
1424
|
+
}
|
1425
|
+
}
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
impl Index<TypeId> for TypesRef<'_> {
|
1429
|
+
type Output = Type;
|
1430
|
+
fn index(&self, id: TypeId) -> &Type {
|
1431
|
+
&self.list[id.index]
|
1432
|
+
}
|
1433
|
+
}
|
1434
|
+
|
1435
|
+
impl Types {
|
1436
|
+
pub(crate) fn from_module(types: TypeList, module: Arc<Module>) -> Self {
|
1437
|
+
Self {
|
1438
|
+
list: types,
|
1439
|
+
kind: TypesKind::Module(module),
|
1440
|
+
}
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
pub(crate) fn from_component(types: TypeList, component: ComponentState) -> Self {
|
1444
|
+
Self {
|
1445
|
+
list: types,
|
1446
|
+
kind: TypesKind::Component(component),
|
1447
|
+
}
|
1448
|
+
}
|
1449
|
+
|
1450
|
+
/// Gets a reference to this validation type information.
|
1451
|
+
pub fn as_ref(&self) -> TypesRef {
|
1452
|
+
TypesRef {
|
1453
|
+
list: &self.list,
|
1454
|
+
kind: match &self.kind {
|
1455
|
+
TypesKind::Module(module) => TypesRefKind::Module(module),
|
1456
|
+
TypesKind::Component(component) => TypesRefKind::Component(component),
|
1457
|
+
},
|
1458
|
+
}
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
/// Gets a type based on its type id.
|
1462
|
+
///
|
1463
|
+
/// Returns `None` if the type id is unknown.
|
1464
|
+
pub fn get(&self, id: TypeId) -> Option<&Type> {
|
1465
|
+
self.as_ref().get(id)
|
1466
|
+
}
|
1467
|
+
|
1468
|
+
/// Gets a core WebAssembly type at the given type index.
|
1469
|
+
///
|
1470
|
+
/// Note that this is in contrast to [`TypesRef::component_type_at`] which
|
1471
|
+
/// gets a component type from its index.
|
1472
|
+
///
|
1473
|
+
/// # Panics
|
1474
|
+
///
|
1475
|
+
/// Panics if `index` is not a valid function index.
|
1476
|
+
pub fn core_type_at(&self, index: u32) -> TypeId {
|
1477
|
+
self.as_ref().core_type_at(index)
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
/// Gets a component type from the given component type index.
|
1481
|
+
///
|
1482
|
+
/// # Panics
|
1483
|
+
///
|
1484
|
+
/// Panics if `index` is not a valid function index or if this type
|
1485
|
+
/// information represents a core module.
|
1486
|
+
pub fn component_type_at(&self, index: u32) -> TypeId {
|
1487
|
+
self.as_ref().component_type_at(index)
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
/// Gets the count of core types.
|
1491
|
+
pub fn type_count(&self) -> usize {
|
1492
|
+
match &self.kind {
|
1493
|
+
TypesKind::Module(module) => module.types.len(),
|
1494
|
+
TypesKind::Component(component) => component.core_types.len(),
|
1495
|
+
}
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
/// Gets the type of a table at the given table index.
|
1499
|
+
///
|
1500
|
+
/// # Panics
|
1501
|
+
///
|
1502
|
+
/// Panics if `index` is not a valid function index.
|
1503
|
+
pub fn table_at(&self, index: u32) -> TableType {
|
1504
|
+
self.as_ref().table_at(index)
|
1505
|
+
}
|
1506
|
+
|
1507
|
+
/// Gets the count of imported and defined tables.
|
1508
|
+
pub fn table_count(&self) -> usize {
|
1509
|
+
match &self.kind {
|
1510
|
+
TypesKind::Module(module) => module.tables.len(),
|
1511
|
+
TypesKind::Component(component) => component.core_tables.len(),
|
1512
|
+
}
|
1513
|
+
}
|
1514
|
+
|
1515
|
+
/// Gets the type of a memory at the given memory index.
|
1516
|
+
///
|
1517
|
+
/// # Panics
|
1518
|
+
///
|
1519
|
+
/// Panics if `index` is not a valid function index.
|
1520
|
+
pub fn memory_at(&self, index: u32) -> MemoryType {
|
1521
|
+
self.as_ref().memory_at(index)
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
/// Gets the count of imported and defined memories.
|
1525
|
+
pub fn memory_count(&self) -> u32 {
|
1526
|
+
self.as_ref().memory_count()
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
/// Gets the type of a global at the given global index.
|
1530
|
+
///
|
1531
|
+
/// # Panics
|
1532
|
+
///
|
1533
|
+
/// Panics if `index` is not a valid function index.
|
1534
|
+
pub fn global_at(&self, index: u32) -> GlobalType {
|
1535
|
+
self.as_ref().global_at(index)
|
1536
|
+
}
|
1537
|
+
|
1538
|
+
/// Gets the count of imported and defined globals.
|
1539
|
+
pub fn global_count(&self) -> u32 {
|
1540
|
+
self.as_ref().global_count()
|
1541
|
+
}
|
1542
|
+
|
1543
|
+
/// Gets the type of a tag at the given tag index.
|
1544
|
+
///
|
1545
|
+
/// # Panics
|
1546
|
+
///
|
1547
|
+
/// Panics if `index` is not a valid function index.
|
1548
|
+
pub fn tag_at(&self, index: u32) -> TypeId {
|
1549
|
+
self.as_ref().tag_at(index)
|
1550
|
+
}
|
1551
|
+
|
1552
|
+
/// Gets the count of imported and defined tags.
|
1553
|
+
pub fn tag_count(&self) -> u32 {
|
1554
|
+
self.as_ref().tag_count()
|
1555
|
+
}
|
1556
|
+
|
1557
|
+
/// Gets the type of a core function at the given function index.
|
1558
|
+
///
|
1559
|
+
/// # Panics
|
1560
|
+
///
|
1561
|
+
/// Panics if `index` is not a valid function index.
|
1562
|
+
pub fn function_at(&self, index: u32) -> TypeId {
|
1563
|
+
self.as_ref().function_at(index)
|
1564
|
+
}
|
1565
|
+
|
1566
|
+
/// Gets the count of core functions defined so far.
|
1567
|
+
///
|
1568
|
+
/// Note that this includes imported functions, defined functions, and for
|
1569
|
+
/// components lowered/aliased functions.
|
1570
|
+
pub fn function_count(&self) -> u32 {
|
1571
|
+
self.as_ref().function_count()
|
1572
|
+
}
|
1573
|
+
|
1574
|
+
/// Gets the type of an element segment at the given element segment index.
|
1575
|
+
///
|
1576
|
+
/// # Panics
|
1577
|
+
///
|
1578
|
+
/// This will panic if the `index` provided is out of bounds.
|
1579
|
+
pub fn element_at(&self, index: u32) -> RefType {
|
1580
|
+
self.as_ref().element_at(index)
|
1581
|
+
}
|
1582
|
+
|
1583
|
+
/// Gets the count of element segments.
|
1584
|
+
pub fn element_count(&self) -> u32 {
|
1585
|
+
self.as_ref().element_count()
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
/// Gets the type of a component function at the given function index.
|
1589
|
+
///
|
1590
|
+
/// # Panics
|
1591
|
+
///
|
1592
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1593
|
+
/// information represents a core module.
|
1594
|
+
pub fn component_function_at(&self, index: u32) -> TypeId {
|
1595
|
+
self.as_ref().component_function_at(index)
|
1596
|
+
}
|
1597
|
+
|
1598
|
+
/// Gets the count of imported, exported, or aliased component functions.
|
1599
|
+
pub fn component_function_count(&self) -> u32 {
|
1600
|
+
self.as_ref().component_function_count()
|
1601
|
+
}
|
1602
|
+
|
1603
|
+
/// Gets the type of a module at the given module index.
|
1604
|
+
///
|
1605
|
+
/// # Panics
|
1606
|
+
///
|
1607
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1608
|
+
/// information represents a core module.
|
1609
|
+
pub fn module_at(&self, index: u32) -> TypeId {
|
1610
|
+
self.as_ref().module_at(index)
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
/// Gets the count of imported, exported, or aliased modules.
|
1614
|
+
pub fn module_count(&self) -> usize {
|
1615
|
+
match &self.kind {
|
1616
|
+
TypesKind::Module(_) => 0,
|
1617
|
+
TypesKind::Component(component) => component.core_modules.len(),
|
1618
|
+
}
|
1619
|
+
}
|
1620
|
+
|
1621
|
+
/// Gets the type of a module instance at the given module instance index.
|
1622
|
+
///
|
1623
|
+
/// # Panics
|
1624
|
+
///
|
1625
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1626
|
+
/// information represents a core module.
|
1627
|
+
pub fn instance_at(&self, index: u32) -> TypeId {
|
1628
|
+
self.as_ref().instance_at(index)
|
1629
|
+
}
|
1630
|
+
|
1631
|
+
/// Gets the count of imported, exported, or aliased core module instances.
|
1632
|
+
pub fn instance_count(&self) -> usize {
|
1633
|
+
match &self.kind {
|
1634
|
+
TypesKind::Module(_) => 0,
|
1635
|
+
TypesKind::Component(component) => component.core_instances.len(),
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
|
1639
|
+
/// Gets the type of a component at the given component index.
|
1640
|
+
///
|
1641
|
+
/// # Panics
|
1642
|
+
///
|
1643
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1644
|
+
/// information represents a core module.
|
1645
|
+
pub fn component_at(&self, index: u32) -> TypeId {
|
1646
|
+
self.as_ref().component_at(index)
|
1647
|
+
}
|
1648
|
+
|
1649
|
+
/// Gets the count of imported, exported, or aliased components.
|
1650
|
+
pub fn component_count(&self) -> usize {
|
1651
|
+
match &self.kind {
|
1652
|
+
TypesKind::Module(_) => 0,
|
1653
|
+
TypesKind::Component(component) => component.components.len(),
|
1654
|
+
}
|
1655
|
+
}
|
1656
|
+
|
1657
|
+
/// Gets the type of an component instance at the given component instance index.
|
1658
|
+
///
|
1659
|
+
/// # Panics
|
1660
|
+
///
|
1661
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1662
|
+
/// information represents a core module.
|
1663
|
+
pub fn component_instance_at(&self, index: u32) -> TypeId {
|
1664
|
+
self.as_ref().component_instance_at(index)
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
/// Gets the count of imported, exported, or aliased component instances.
|
1668
|
+
pub fn component_instance_count(&self) -> usize {
|
1669
|
+
match &self.kind {
|
1670
|
+
TypesKind::Module(_) => 0,
|
1671
|
+
TypesKind::Component(component) => component.instances.len(),
|
1672
|
+
}
|
1673
|
+
}
|
1674
|
+
|
1675
|
+
/// Gets the type of a value at the given value index.
|
1676
|
+
///
|
1677
|
+
/// # Panics
|
1678
|
+
///
|
1679
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1680
|
+
/// information represents a core module.
|
1681
|
+
pub fn value_at(&self, index: u32) -> ComponentValType {
|
1682
|
+
self.as_ref().value_at(index)
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
/// Gets the count of imported, exported, or aliased values.
|
1686
|
+
pub fn value_count(&self) -> usize {
|
1687
|
+
match &self.kind {
|
1688
|
+
TypesKind::Module(_) => 0,
|
1689
|
+
TypesKind::Component(component) => component.values.len(),
|
1690
|
+
}
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
/// Gets the entity type from the given import.
|
1694
|
+
pub fn entity_type_from_import(&self, import: &Import) -> Option<EntityType> {
|
1695
|
+
self.as_ref().entity_type_from_import(import)
|
1696
|
+
}
|
1697
|
+
|
1698
|
+
/// Gets the entity type from the given export.
|
1699
|
+
pub fn entity_type_from_export(&self, export: &Export) -> Option<EntityType> {
|
1700
|
+
self.as_ref().entity_type_from_export(export)
|
1701
|
+
}
|
1702
|
+
|
1703
|
+
/// Gets the component entity type for the given component import name.
|
1704
|
+
pub fn component_entity_type_of_import(&self, name: &str) -> Option<ComponentEntityType> {
|
1705
|
+
self.as_ref().component_entity_type_of_import(name)
|
1706
|
+
}
|
1707
|
+
|
1708
|
+
/// Gets the component entity type for the given component export name.
|
1709
|
+
pub fn component_entity_type_of_export(&self, name: &str) -> Option<ComponentEntityType> {
|
1710
|
+
self.as_ref().component_entity_type_of_export(name)
|
1711
|
+
}
|
1712
|
+
|
1713
|
+
/// Attempts to lookup the type id that `ty` is an alias of.
|
1714
|
+
///
|
1715
|
+
/// Returns `None` if `ty` wasn't listed as aliasing a prior type.
|
1716
|
+
pub fn peel_alias(&self, ty: TypeId) -> Option<TypeId> {
|
1717
|
+
self.list.peel_alias(ty)
|
1718
|
+
}
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
impl Index<TypeId> for Types {
|
1722
|
+
type Output = Type;
|
1723
|
+
|
1724
|
+
fn index(&self, id: TypeId) -> &Type {
|
1725
|
+
&self.list[id.index]
|
1726
|
+
}
|
1727
|
+
}
|
1728
|
+
|
1729
|
+
/// This is a type which mirrors a subset of the `Vec<T>` API, but is intended
|
1730
|
+
/// to be able to be cheaply snapshotted and cloned.
|
1731
|
+
///
|
1732
|
+
/// When each module's code sections start we "commit" the current list of types
|
1733
|
+
/// in the global list of types. This means that the temporary `cur` vec here is
|
1734
|
+
/// pushed onto `snapshots` and wrapped up in an `Arc`. At that point we clone
|
1735
|
+
/// this entire list (which is then O(modules), not O(types in all modules)) and
|
1736
|
+
/// pass out as a context to each function validator.
|
1737
|
+
///
|
1738
|
+
/// Otherwise, though, this type behaves as if it were a large `Vec<T>`, but
|
1739
|
+
/// it's represented by lists of contiguous chunks.
|
1740
|
+
pub(crate) struct SnapshotList<T> {
|
1741
|
+
// All previous snapshots, the "head" of the list that this type represents.
|
1742
|
+
// The first entry in this pair is the starting index for all elements
|
1743
|
+
// contained in the list, and the second element is the list itself. Note
|
1744
|
+
// the `Arc` wrapper around sub-lists, which makes cloning time for this
|
1745
|
+
// `SnapshotList` O(snapshots) rather than O(snapshots_total), which for
|
1746
|
+
// us in this context means the number of modules, not types.
|
1747
|
+
//
|
1748
|
+
// Note that this list is sorted least-to-greatest in order of the index for
|
1749
|
+
// binary searching.
|
1750
|
+
snapshots: Vec<Arc<Snapshot<T>>>,
|
1751
|
+
|
1752
|
+
// This is the total length of all lists in the `snapshots` array.
|
1753
|
+
snapshots_total: usize,
|
1754
|
+
|
1755
|
+
// The current list of types for the current snapshot that are being built.
|
1756
|
+
cur: Vec<T>,
|
1757
|
+
|
1758
|
+
unique_mappings: HashMap<u32, u32>,
|
1759
|
+
unique_counter: u32,
|
1760
|
+
}
|
1761
|
+
|
1762
|
+
struct Snapshot<T> {
|
1763
|
+
prior_types: usize,
|
1764
|
+
unique_counter: u32,
|
1765
|
+
unique_mappings: HashMap<u32, u32>,
|
1766
|
+
items: Vec<T>,
|
1767
|
+
}
|
1768
|
+
|
1769
|
+
impl<T> SnapshotList<T> {
|
1770
|
+
/// Same as `<&[T]>::get`
|
1771
|
+
pub(crate) fn get(&self, index: usize) -> Option<&T> {
|
1772
|
+
// Check to see if this index falls on our local list
|
1773
|
+
if index >= self.snapshots_total {
|
1774
|
+
return self.cur.get(index - self.snapshots_total);
|
1775
|
+
}
|
1776
|
+
// ... and failing that we do a binary search to figure out which bucket
|
1777
|
+
// it's in. Note the `i-1` in the `Err` case because if we don't find an
|
1778
|
+
// exact match the type is located in the previous bucket.
|
1779
|
+
let i = match self
|
1780
|
+
.snapshots
|
1781
|
+
.binary_search_by_key(&index, |snapshot| snapshot.prior_types)
|
1782
|
+
{
|
1783
|
+
Ok(i) => i,
|
1784
|
+
Err(i) => i - 1,
|
1785
|
+
};
|
1786
|
+
let snapshot = &self.snapshots[i];
|
1787
|
+
Some(&snapshot.items[index - snapshot.prior_types])
|
1788
|
+
}
|
1789
|
+
|
1790
|
+
/// Same as `Vec::push`
|
1791
|
+
pub(crate) fn push(&mut self, val: T) {
|
1792
|
+
self.cur.push(val);
|
1793
|
+
}
|
1794
|
+
|
1795
|
+
/// Same as `<[T]>::len`
|
1796
|
+
pub(crate) fn len(&self) -> usize {
|
1797
|
+
self.cur.len() + self.snapshots_total
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
/// Reserve space for an additional count of items.
|
1801
|
+
pub(crate) fn reserve(&mut self, additional: usize) {
|
1802
|
+
self.cur.reserve(additional);
|
1803
|
+
}
|
1804
|
+
|
1805
|
+
/// Commits previously pushed types into this snapshot vector, and returns a
|
1806
|
+
/// clone of this list.
|
1807
|
+
///
|
1808
|
+
/// The returned `SnapshotList` can be used to access all the same types as
|
1809
|
+
/// this list itself. This list also is not changed (from an external
|
1810
|
+
/// perspective) and can continue to access all the same types.
|
1811
|
+
pub(crate) fn commit(&mut self) -> SnapshotList<T> {
|
1812
|
+
// If the current chunk has new elements, commit them in to an
|
1813
|
+
// `Arc`-wrapped vector in the snapshots list. Note the `shrink_to_fit`
|
1814
|
+
// ahead of time to hopefully keep memory usage lower than it would
|
1815
|
+
// otherwise be. Additionally note that the `unique_counter` is bumped
|
1816
|
+
// here to ensure that the previous value of the unique counter is
|
1817
|
+
// never used for an actual type so it's suitable for lookup via a
|
1818
|
+
// binary search.
|
1819
|
+
let len = self.cur.len();
|
1820
|
+
if len > 0 {
|
1821
|
+
self.unique_counter += 1;
|
1822
|
+
self.cur.shrink_to_fit();
|
1823
|
+
self.snapshots.push(Arc::new(Snapshot {
|
1824
|
+
prior_types: self.snapshots_total,
|
1825
|
+
unique_counter: self.unique_counter - 1,
|
1826
|
+
unique_mappings: mem::take(&mut self.unique_mappings),
|
1827
|
+
items: mem::take(&mut self.cur),
|
1828
|
+
}));
|
1829
|
+
self.snapshots_total += len;
|
1830
|
+
}
|
1831
|
+
SnapshotList {
|
1832
|
+
snapshots: self.snapshots.clone(),
|
1833
|
+
snapshots_total: self.snapshots_total,
|
1834
|
+
unique_mappings: HashMap::new(),
|
1835
|
+
unique_counter: self.unique_counter,
|
1836
|
+
cur: Vec::new(),
|
1837
|
+
}
|
1838
|
+
}
|
1839
|
+
|
1840
|
+
/// Modifies a `TypeId` to have the same contents but a fresh new unique id.
|
1841
|
+
///
|
1842
|
+
/// This is used during aliasing with components to assign types a unique
|
1843
|
+
/// identifier that isn't equivalent to anything else but still
|
1844
|
+
/// points to the same underlying type.
|
1845
|
+
pub fn with_unique(&mut self, mut ty: TypeId) -> TypeId {
|
1846
|
+
self.unique_mappings
|
1847
|
+
.insert(self.unique_counter, ty.unique_id);
|
1848
|
+
ty.unique_id = self.unique_counter;
|
1849
|
+
self.unique_counter += 1;
|
1850
|
+
ty
|
1851
|
+
}
|
1852
|
+
|
1853
|
+
/// Attempts to lookup the type id that `ty` is an alias of.
|
1854
|
+
///
|
1855
|
+
/// Returns `None` if `ty` wasn't listed as aliasing a prior type.
|
1856
|
+
pub fn peel_alias(&self, ty: TypeId) -> Option<TypeId> {
|
1857
|
+
// The unique counter in each snapshot is the unique counter at the
|
1858
|
+
// time of the snapshot so it's guaranteed to never be used, meaning
|
1859
|
+
// that `Ok` should never show up here. With an `Err` it's where the
|
1860
|
+
// index would be placed meaning that the index in question is the
|
1861
|
+
// smallest value over the unique id's value, meaning that slot has the
|
1862
|
+
// mapping we're interested in.
|
1863
|
+
let i = match self
|
1864
|
+
.snapshots
|
1865
|
+
.binary_search_by_key(&ty.unique_id, |snapshot| snapshot.unique_counter)
|
1866
|
+
{
|
1867
|
+
Ok(_) => unreachable!(),
|
1868
|
+
Err(i) => i,
|
1869
|
+
};
|
1870
|
+
|
1871
|
+
// If the `i` index is beyond the snapshot array then lookup in the
|
1872
|
+
// current mappings instead since it may refer to a type not snapshot
|
1873
|
+
// yet.
|
1874
|
+
let unique_id = match self.snapshots.get(i) {
|
1875
|
+
Some(snapshot) => *snapshot.unique_mappings.get(&ty.unique_id)?,
|
1876
|
+
None => *self.unique_mappings.get(&ty.unique_id)?,
|
1877
|
+
};
|
1878
|
+
Some(TypeId { unique_id, ..ty })
|
1879
|
+
}
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
impl<T> Index<usize> for SnapshotList<T> {
|
1883
|
+
type Output = T;
|
1884
|
+
|
1885
|
+
#[inline]
|
1886
|
+
fn index(&self, index: usize) -> &T {
|
1887
|
+
self.get(index).unwrap()
|
1888
|
+
}
|
1889
|
+
}
|
1890
|
+
|
1891
|
+
impl<T> Index<TypeId> for SnapshotList<T> {
|
1892
|
+
type Output = T;
|
1893
|
+
|
1894
|
+
#[inline]
|
1895
|
+
fn index(&self, id: TypeId) -> &T {
|
1896
|
+
self.get(id.index).unwrap()
|
1897
|
+
}
|
1898
|
+
}
|
1899
|
+
|
1900
|
+
impl<T> Default for SnapshotList<T> {
|
1901
|
+
fn default() -> SnapshotList<T> {
|
1902
|
+
SnapshotList {
|
1903
|
+
snapshots: Vec::new(),
|
1904
|
+
snapshots_total: 0,
|
1905
|
+
cur: Vec::new(),
|
1906
|
+
unique_counter: 1,
|
1907
|
+
unique_mappings: HashMap::new(),
|
1908
|
+
}
|
1909
|
+
}
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
/// A snapshot list of types.
|
1913
|
+
pub(crate) type TypeList = SnapshotList<Type>;
|
1914
|
+
|
1915
|
+
/// Thin wrapper around `TypeList` which provides an allocator of unique ids for
|
1916
|
+
/// types contained within this list.
|
1917
|
+
pub(crate) struct TypeAlloc {
|
1918
|
+
list: TypeList,
|
1919
|
+
|
1920
|
+
// This is assigned at creation of a `TypeAlloc` and then never changed.
|
1921
|
+
// It's used in one entry for all `ResourceId`s contained within.
|
1922
|
+
globally_unique_id: u64,
|
1923
|
+
|
1924
|
+
// This is a counter that's incremeneted each time `alloc_resource_id` is
|
1925
|
+
// called.
|
1926
|
+
next_resource_id: u32,
|
1927
|
+
}
|
1928
|
+
|
1929
|
+
impl Default for TypeAlloc {
|
1930
|
+
fn default() -> TypeAlloc {
|
1931
|
+
static NEXT_GLOBAL_ID: AtomicU64 = AtomicU64::new(0);
|
1932
|
+
TypeAlloc {
|
1933
|
+
list: TypeList::default(),
|
1934
|
+
globally_unique_id: NEXT_GLOBAL_ID.fetch_add(1, Ordering::Relaxed),
|
1935
|
+
next_resource_id: 0,
|
1936
|
+
}
|
1937
|
+
}
|
1938
|
+
}
|
1939
|
+
|
1940
|
+
impl Deref for TypeAlloc {
|
1941
|
+
type Target = TypeList;
|
1942
|
+
fn deref(&self) -> &TypeList {
|
1943
|
+
&self.list
|
1944
|
+
}
|
1945
|
+
}
|
1946
|
+
|
1947
|
+
impl DerefMut for TypeAlloc {
|
1948
|
+
fn deref_mut(&mut self) -> &mut TypeList {
|
1949
|
+
&mut self.list
|
1950
|
+
}
|
1951
|
+
}
|
1952
|
+
|
1953
|
+
impl TypeAlloc {
|
1954
|
+
/// Pushes a new type into this list, returning an identifier which can be
|
1955
|
+
/// used to later retrieve it.
|
1956
|
+
///
|
1957
|
+
/// The returned identifier is unique within this `TypeAlloc` and won't be
|
1958
|
+
/// hash-equivalent to anything else.
|
1959
|
+
pub fn push_ty(&mut self, ty: Type) -> TypeId {
|
1960
|
+
let index = self.list.len();
|
1961
|
+
let info = ty.info();
|
1962
|
+
self.list.push(ty);
|
1963
|
+
TypeId {
|
1964
|
+
index,
|
1965
|
+
info,
|
1966
|
+
unique_id: 0,
|
1967
|
+
}
|
1968
|
+
}
|
1969
|
+
|
1970
|
+
/// Allocates a new unique resource identifier.
|
1971
|
+
///
|
1972
|
+
/// Note that uniqueness is only a property within this `TypeAlloc`.
|
1973
|
+
pub fn alloc_resource_id(&mut self) -> ResourceId {
|
1974
|
+
let contextually_unique_id = self.next_resource_id;
|
1975
|
+
self.next_resource_id = self.next_resource_id.checked_add(1).unwrap();
|
1976
|
+
ResourceId {
|
1977
|
+
globally_unique_id: self.globally_unique_id,
|
1978
|
+
contextually_unique_id,
|
1979
|
+
}
|
1980
|
+
}
|
1981
|
+
|
1982
|
+
/// Adds the set of "free variables" of the `id` provided to the `set`
|
1983
|
+
/// provided.
|
1984
|
+
///
|
1985
|
+
/// Free variables are defined as resources. Any resource, perhaps
|
1986
|
+
/// transitively, referred to but not defined by `id` is added to the `set`
|
1987
|
+
/// and returned.
|
1988
|
+
pub fn free_variables_type_id(&self, id: TypeId, set: &mut IndexSet<ResourceId>) {
|
1989
|
+
match &self[id] {
|
1990
|
+
// Core wasm constructs cannot reference resources.
|
1991
|
+
Type::Sub(_) | Type::Module(_) | Type::Instance(_) => {}
|
1992
|
+
|
1993
|
+
// Recurse on the imports/exports of components, but remove the
|
1994
|
+
// imported and defined resources within the component itself.
|
1995
|
+
//
|
1996
|
+
// Technically this needs to add all the free variables of the
|
1997
|
+
// exports, remove the defined resources, then add the free
|
1998
|
+
// variables of imports, then remove the imported resources. Given
|
1999
|
+
// prior validation of component types, however, the defined
|
2000
|
+
// and imported resources are disjoint and imports can't refer to
|
2001
|
+
// defined resources, so doing this all in one go should be
|
2002
|
+
// equivalent.
|
2003
|
+
Type::Component(i) => {
|
2004
|
+
for ty in i.imports.values().chain(i.exports.values()) {
|
2005
|
+
self.free_variables_component_entity(ty, set);
|
2006
|
+
}
|
2007
|
+
for (id, _path) in i.imported_resources.iter().chain(&i.defined_resources) {
|
2008
|
+
set.remove(id);
|
2009
|
+
}
|
2010
|
+
}
|
2011
|
+
|
2012
|
+
// Like components, add in all the free variables of referenced
|
2013
|
+
// types but then remove those defined by this component instance
|
2014
|
+
// itself.
|
2015
|
+
Type::ComponentInstance(i) => {
|
2016
|
+
for ty in i.exports.values() {
|
2017
|
+
self.free_variables_component_entity(ty, set);
|
2018
|
+
}
|
2019
|
+
for id in i.defined_resources.iter() {
|
2020
|
+
set.remove(id);
|
2021
|
+
}
|
2022
|
+
}
|
2023
|
+
|
2024
|
+
Type::Resource(r) => {
|
2025
|
+
set.insert(*r);
|
2026
|
+
}
|
2027
|
+
|
2028
|
+
Type::ComponentFunc(i) => {
|
2029
|
+
for ty in i
|
2030
|
+
.params
|
2031
|
+
.iter()
|
2032
|
+
.map(|(_, ty)| ty)
|
2033
|
+
.chain(i.results.iter().map(|(_, ty)| ty))
|
2034
|
+
{
|
2035
|
+
self.free_variables_valtype(ty, set);
|
2036
|
+
}
|
2037
|
+
}
|
2038
|
+
|
2039
|
+
Type::Defined(i) => match i {
|
2040
|
+
ComponentDefinedType::Primitive(_)
|
2041
|
+
| ComponentDefinedType::Flags(_)
|
2042
|
+
| ComponentDefinedType::Enum(_) => {}
|
2043
|
+
ComponentDefinedType::Record(r) => {
|
2044
|
+
for ty in r.fields.values() {
|
2045
|
+
self.free_variables_valtype(ty, set);
|
2046
|
+
}
|
2047
|
+
}
|
2048
|
+
ComponentDefinedType::Tuple(r) => {
|
2049
|
+
for ty in r.types.iter() {
|
2050
|
+
self.free_variables_valtype(ty, set);
|
2051
|
+
}
|
2052
|
+
}
|
2053
|
+
ComponentDefinedType::Variant(r) => {
|
2054
|
+
for ty in r.cases.values() {
|
2055
|
+
if let Some(ty) = &ty.ty {
|
2056
|
+
self.free_variables_valtype(ty, set);
|
2057
|
+
}
|
2058
|
+
}
|
2059
|
+
}
|
2060
|
+
ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
|
2061
|
+
self.free_variables_valtype(ty, set);
|
2062
|
+
}
|
2063
|
+
ComponentDefinedType::Result { ok, err } => {
|
2064
|
+
if let Some(ok) = ok {
|
2065
|
+
self.free_variables_valtype(ok, set);
|
2066
|
+
}
|
2067
|
+
if let Some(err) = err {
|
2068
|
+
self.free_variables_valtype(err, set);
|
2069
|
+
}
|
2070
|
+
}
|
2071
|
+
ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
|
2072
|
+
self.free_variables_type_id(*id, set);
|
2073
|
+
}
|
2074
|
+
},
|
2075
|
+
}
|
2076
|
+
}
|
2077
|
+
|
2078
|
+
/// Same as `free_variables_type_id`, but for `ComponentEntityType`.
|
2079
|
+
pub fn free_variables_component_entity(
|
2080
|
+
&self,
|
2081
|
+
ty: &ComponentEntityType,
|
2082
|
+
set: &mut IndexSet<ResourceId>,
|
2083
|
+
) {
|
2084
|
+
match ty {
|
2085
|
+
ComponentEntityType::Module(id)
|
2086
|
+
| ComponentEntityType::Func(id)
|
2087
|
+
| ComponentEntityType::Instance(id)
|
2088
|
+
| ComponentEntityType::Component(id) => self.free_variables_type_id(*id, set),
|
2089
|
+
ComponentEntityType::Type { created, .. } => {
|
2090
|
+
self.free_variables_type_id(*created, set);
|
2091
|
+
}
|
2092
|
+
ComponentEntityType::Value(ty) => self.free_variables_valtype(ty, set),
|
2093
|
+
}
|
2094
|
+
}
|
2095
|
+
|
2096
|
+
/// Same as `free_variables_type_id`, but for `ComponentValType`.
|
2097
|
+
fn free_variables_valtype(&self, ty: &ComponentValType, set: &mut IndexSet<ResourceId>) {
|
2098
|
+
match ty {
|
2099
|
+
ComponentValType::Primitive(_) => {}
|
2100
|
+
ComponentValType::Type(id) => self.free_variables_type_id(*id, set),
|
2101
|
+
}
|
2102
|
+
}
|
2103
|
+
|
2104
|
+
/// Returns whether the type `id` is "named" where named types are presented
|
2105
|
+
/// via the provided `set`.
|
2106
|
+
///
|
2107
|
+
/// This requires that `id` is a `Defined` type.
|
2108
|
+
pub(crate) fn type_named_type_id(&self, id: TypeId, set: &HashSet<TypeId>) -> bool {
|
2109
|
+
let ty = self[id].unwrap_defined();
|
2110
|
+
match ty {
|
2111
|
+
// Primitives are always considered named
|
2112
|
+
ComponentDefinedType::Primitive(_) => true,
|
2113
|
+
|
2114
|
+
// These structures are never allowed to be anonymous, so they
|
2115
|
+
// themselves must be named.
|
2116
|
+
ComponentDefinedType::Flags(_)
|
2117
|
+
| ComponentDefinedType::Enum(_)
|
2118
|
+
| ComponentDefinedType::Record(_)
|
2119
|
+
| ComponentDefinedType::Variant(_) => set.contains(&id),
|
2120
|
+
|
2121
|
+
// All types below here are allowed to be anonymous, but their
|
2122
|
+
// own components must be appropriately named.
|
2123
|
+
ComponentDefinedType::Tuple(r) => {
|
2124
|
+
r.types.iter().all(|t| self.type_named_valtype(t, set))
|
2125
|
+
}
|
2126
|
+
ComponentDefinedType::Result { ok, err } => {
|
2127
|
+
ok.as_ref()
|
2128
|
+
.map(|t| self.type_named_valtype(t, set))
|
2129
|
+
.unwrap_or(true)
|
2130
|
+
&& err
|
2131
|
+
.as_ref()
|
2132
|
+
.map(|t| self.type_named_valtype(t, set))
|
2133
|
+
.unwrap_or(true)
|
2134
|
+
}
|
2135
|
+
ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
|
2136
|
+
self.type_named_valtype(ty, set)
|
2137
|
+
}
|
2138
|
+
|
2139
|
+
// own/borrow themselves don't have to be named, but the resource
|
2140
|
+
// they refer to must be named.
|
2141
|
+
ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => set.contains(id),
|
2142
|
+
}
|
2143
|
+
}
|
2144
|
+
|
2145
|
+
pub(crate) fn type_named_valtype(&self, ty: &ComponentValType, set: &HashSet<TypeId>) -> bool {
|
2146
|
+
match ty {
|
2147
|
+
ComponentValType::Primitive(_) => true,
|
2148
|
+
ComponentValType::Type(id) => self.type_named_type_id(*id, set),
|
2149
|
+
}
|
2150
|
+
}
|
2151
|
+
}
|
2152
|
+
|
2153
|
+
/// A helper trait to provide the functionality necessary to resources within a
|
2154
|
+
/// type.
|
2155
|
+
///
|
2156
|
+
/// This currently exists to abstract over `TypeAlloc` and `SubtypeArena` which
|
2157
|
+
/// both need to perform remapping operations.
|
2158
|
+
pub(crate) trait Remap: Index<TypeId, Output = Type> {
|
2159
|
+
/// Pushes a new anonymous type within this object, returning an identifier
|
2160
|
+
/// which can be used to refer to it.
|
2161
|
+
fn push_ty(&mut self, ty: Type) -> TypeId;
|
2162
|
+
|
2163
|
+
/// Applies a resource and type renaming map to the `id` specified,
|
2164
|
+
/// returning `true` if the `id` was modified or `false` if it didn't need
|
2165
|
+
/// changing.
|
2166
|
+
///
|
2167
|
+
/// This will recursively modify the structure of the `id` specified and
|
2168
|
+
/// update all references to resources found. The resource identifier keys
|
2169
|
+
/// in the `map` specified will become the corresponding value, in addition
|
2170
|
+
/// to any existing types in `map` becoming different tyeps.
|
2171
|
+
///
|
2172
|
+
/// The `id` argument will be rewritten to a new identifier if `true` is
|
2173
|
+
/// returned.
|
2174
|
+
fn remap_type_id(&mut self, id: &mut TypeId, map: &mut Remapping) -> bool {
|
2175
|
+
if let Some(new) = map.types.get(id) {
|
2176
|
+
let changed = *new != *id;
|
2177
|
+
*id = *new;
|
2178
|
+
return changed;
|
2179
|
+
}
|
2180
|
+
|
2181
|
+
// This function attempts what ends up probably being a relatively
|
2182
|
+
// minor optimization where a new `id` isn't manufactured unless
|
2183
|
+
// something about the type actually changed. That means that if the
|
2184
|
+
// type doesn't actually use any resources, for example, then no new
|
2185
|
+
// id is allocated.
|
2186
|
+
let mut any_changed = false;
|
2187
|
+
|
2188
|
+
let map_map = |tmp: &mut IndexMap<ResourceId, Vec<usize>>,
|
2189
|
+
any_changed: &mut bool,
|
2190
|
+
map: &mut Remapping| {
|
2191
|
+
for (id, path) in mem::take(tmp) {
|
2192
|
+
let id = match map.resources.get(&id) {
|
2193
|
+
Some(id) => {
|
2194
|
+
*any_changed = true;
|
2195
|
+
*id
|
2196
|
+
}
|
2197
|
+
None => id,
|
2198
|
+
};
|
2199
|
+
tmp.insert(id, path);
|
2200
|
+
}
|
2201
|
+
};
|
2202
|
+
|
2203
|
+
let ty = match &self[*id] {
|
2204
|
+
// Core wasm functions/modules/instances don't have resource types
|
2205
|
+
// in them.
|
2206
|
+
Type::Sub(_) | Type::Module(_) | Type::Instance(_) => return false,
|
2207
|
+
|
2208
|
+
Type::Component(i) => {
|
2209
|
+
let mut tmp = i.clone();
|
2210
|
+
for ty in tmp.imports.values_mut().chain(tmp.exports.values_mut()) {
|
2211
|
+
if self.remap_component_entity(ty, map) {
|
2212
|
+
any_changed = true;
|
2213
|
+
}
|
2214
|
+
}
|
2215
|
+
for (id, _) in tmp
|
2216
|
+
.imported_resources
|
2217
|
+
.iter_mut()
|
2218
|
+
.chain(&mut tmp.defined_resources)
|
2219
|
+
{
|
2220
|
+
if let Some(new) = map.resources.get(id) {
|
2221
|
+
*id = *new;
|
2222
|
+
any_changed = true;
|
2223
|
+
}
|
2224
|
+
}
|
2225
|
+
map_map(&mut tmp.explicit_resources, &mut any_changed, map);
|
2226
|
+
Type::Component(tmp)
|
2227
|
+
}
|
2228
|
+
|
2229
|
+
Type::ComponentInstance(i) => {
|
2230
|
+
let mut tmp = i.clone();
|
2231
|
+
for ty in tmp.exports.values_mut() {
|
2232
|
+
if self.remap_component_entity(ty, map) {
|
2233
|
+
any_changed = true;
|
2234
|
+
}
|
2235
|
+
}
|
2236
|
+
for id in tmp.defined_resources.iter_mut() {
|
2237
|
+
if let Some(new) = map.resources.get(id) {
|
2238
|
+
*id = *new;
|
2239
|
+
any_changed = true;
|
2240
|
+
}
|
2241
|
+
}
|
2242
|
+
map_map(&mut tmp.explicit_resources, &mut any_changed, map);
|
2243
|
+
Type::ComponentInstance(tmp)
|
2244
|
+
}
|
2245
|
+
|
2246
|
+
Type::Resource(id) => {
|
2247
|
+
let id = match map.resources.get(id).copied() {
|
2248
|
+
Some(id) => id,
|
2249
|
+
None => return false,
|
2250
|
+
};
|
2251
|
+
any_changed = true;
|
2252
|
+
Type::Resource(id)
|
2253
|
+
}
|
2254
|
+
|
2255
|
+
Type::ComponentFunc(i) => {
|
2256
|
+
let mut tmp = i.clone();
|
2257
|
+
for ty in tmp
|
2258
|
+
.params
|
2259
|
+
.iter_mut()
|
2260
|
+
.map(|(_, ty)| ty)
|
2261
|
+
.chain(tmp.results.iter_mut().map(|(_, ty)| ty))
|
2262
|
+
{
|
2263
|
+
if self.remap_valtype(ty, map) {
|
2264
|
+
any_changed = true;
|
2265
|
+
}
|
2266
|
+
}
|
2267
|
+
Type::ComponentFunc(tmp)
|
2268
|
+
}
|
2269
|
+
Type::Defined(i) => {
|
2270
|
+
let mut tmp = i.clone();
|
2271
|
+
match &mut tmp {
|
2272
|
+
ComponentDefinedType::Primitive(_)
|
2273
|
+
| ComponentDefinedType::Flags(_)
|
2274
|
+
| ComponentDefinedType::Enum(_) => {}
|
2275
|
+
ComponentDefinedType::Record(r) => {
|
2276
|
+
for ty in r.fields.values_mut() {
|
2277
|
+
if self.remap_valtype(ty, map) {
|
2278
|
+
any_changed = true;
|
2279
|
+
}
|
2280
|
+
}
|
2281
|
+
}
|
2282
|
+
ComponentDefinedType::Tuple(r) => {
|
2283
|
+
for ty in r.types.iter_mut() {
|
2284
|
+
if self.remap_valtype(ty, map) {
|
2285
|
+
any_changed = true;
|
2286
|
+
}
|
2287
|
+
}
|
2288
|
+
}
|
2289
|
+
ComponentDefinedType::Variant(r) => {
|
2290
|
+
for ty in r.cases.values_mut() {
|
2291
|
+
if let Some(ty) = &mut ty.ty {
|
2292
|
+
if self.remap_valtype(ty, map) {
|
2293
|
+
any_changed = true;
|
2294
|
+
}
|
2295
|
+
}
|
2296
|
+
}
|
2297
|
+
}
|
2298
|
+
ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
|
2299
|
+
if self.remap_valtype(ty, map) {
|
2300
|
+
any_changed = true;
|
2301
|
+
}
|
2302
|
+
}
|
2303
|
+
ComponentDefinedType::Result { ok, err } => {
|
2304
|
+
if let Some(ok) = ok {
|
2305
|
+
if self.remap_valtype(ok, map) {
|
2306
|
+
any_changed = true;
|
2307
|
+
}
|
2308
|
+
}
|
2309
|
+
if let Some(err) = err {
|
2310
|
+
if self.remap_valtype(err, map) {
|
2311
|
+
any_changed = true;
|
2312
|
+
}
|
2313
|
+
}
|
2314
|
+
}
|
2315
|
+
ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
|
2316
|
+
if self.remap_type_id(id, map) {
|
2317
|
+
any_changed = true;
|
2318
|
+
}
|
2319
|
+
}
|
2320
|
+
}
|
2321
|
+
Type::Defined(tmp)
|
2322
|
+
}
|
2323
|
+
};
|
2324
|
+
|
2325
|
+
let new = if any_changed { self.push_ty(ty) } else { *id };
|
2326
|
+
let prev = map.types.insert(*id, new);
|
2327
|
+
assert!(prev.is_none());
|
2328
|
+
let changed = *id != new;
|
2329
|
+
*id = new;
|
2330
|
+
changed
|
2331
|
+
}
|
2332
|
+
|
2333
|
+
/// Same as `remap_type_id`, but works with `ComponentEntityType`.
|
2334
|
+
fn remap_component_entity(
|
2335
|
+
&mut self,
|
2336
|
+
ty: &mut ComponentEntityType,
|
2337
|
+
map: &mut Remapping,
|
2338
|
+
) -> bool {
|
2339
|
+
match ty {
|
2340
|
+
ComponentEntityType::Module(id)
|
2341
|
+
| ComponentEntityType::Func(id)
|
2342
|
+
| ComponentEntityType::Instance(id)
|
2343
|
+
| ComponentEntityType::Component(id) => self.remap_type_id(id, map),
|
2344
|
+
ComponentEntityType::Type {
|
2345
|
+
referenced,
|
2346
|
+
created,
|
2347
|
+
} => {
|
2348
|
+
let changed = self.remap_type_id(referenced, map);
|
2349
|
+
if *referenced == *created {
|
2350
|
+
*created = *referenced;
|
2351
|
+
changed
|
2352
|
+
} else {
|
2353
|
+
self.remap_type_id(created, map) || changed
|
2354
|
+
}
|
2355
|
+
}
|
2356
|
+
ComponentEntityType::Value(ty) => self.remap_valtype(ty, map),
|
2357
|
+
}
|
2358
|
+
}
|
2359
|
+
|
2360
|
+
/// Same as `remap_type_id`, but works with `ComponentValType`.
|
2361
|
+
fn remap_valtype(&mut self, ty: &mut ComponentValType, map: &mut Remapping) -> bool {
|
2362
|
+
match ty {
|
2363
|
+
ComponentValType::Primitive(_) => false,
|
2364
|
+
ComponentValType::Type(id) => self.remap_type_id(id, map),
|
2365
|
+
}
|
2366
|
+
}
|
2367
|
+
}
|
2368
|
+
|
2369
|
+
#[derive(Default)]
|
2370
|
+
pub(crate) struct Remapping {
|
2371
|
+
/// A mapping from old resource ID to new resource ID.
|
2372
|
+
pub(crate) resources: HashMap<ResourceId, ResourceId>,
|
2373
|
+
|
2374
|
+
/// A mapping filled in during the remapping process which records how a
|
2375
|
+
/// type was remapped, if applicable. This avoids remapping multiple
|
2376
|
+
/// references to the same type and instead only processing it once.
|
2377
|
+
types: HashMap<TypeId, TypeId>,
|
2378
|
+
}
|
2379
|
+
|
2380
|
+
impl Remap for TypeAlloc {
|
2381
|
+
fn push_ty(&mut self, ty: Type) -> TypeId {
|
2382
|
+
<TypeAlloc>::push_ty(self, ty)
|
2383
|
+
}
|
2384
|
+
}
|
2385
|
+
|
2386
|
+
impl Index<TypeId> for TypeAlloc {
|
2387
|
+
type Output = Type;
|
2388
|
+
|
2389
|
+
#[inline]
|
2390
|
+
fn index(&self, id: TypeId) -> &Type {
|
2391
|
+
&self.list[id]
|
2392
|
+
}
|
2393
|
+
}
|
2394
|
+
|
2395
|
+
/// Helper structure used to perform subtyping computations.
|
2396
|
+
///
|
2397
|
+
/// This type is used whenever a subtype needs to be tested in one direction or
|
2398
|
+
/// the other. The methods of this type are the various entry points for
|
2399
|
+
/// subtyping.
|
2400
|
+
///
|
2401
|
+
/// Internally this contains arenas for two lists of types. The `a` arena is
|
2402
|
+
/// intended to be used for lookup of the first argument to all of the methods
|
2403
|
+
/// below, and the `b` arena is used for lookup of the second argument.
|
2404
|
+
///
|
2405
|
+
/// Arenas here are used specifically for component-based subtyping queries. In
|
2406
|
+
/// these situations new types must be created based on substitution mappings,
|
2407
|
+
/// but the types all have temporary lifetimes. Everything in these arenas is
|
2408
|
+
/// thrown away once the subtyping computation has finished.
|
2409
|
+
///
|
2410
|
+
/// Note that this subtyping context also explicitly supports being created
|
2411
|
+
/// from to different lists `a` and `b` originally, for testing subtyping
|
2412
|
+
/// between two different components for example.
|
2413
|
+
pub(crate) struct SubtypeCx<'a> {
|
2414
|
+
pub(crate) a: SubtypeArena<'a>,
|
2415
|
+
pub(crate) b: SubtypeArena<'a>,
|
2416
|
+
}
|
2417
|
+
|
2418
|
+
impl<'a> SubtypeCx<'a> {
|
2419
|
+
pub(crate) fn new(a: &'a TypeList, b: &'a TypeList) -> SubtypeCx<'a> {
|
2420
|
+
SubtypeCx {
|
2421
|
+
a: SubtypeArena::new(a),
|
2422
|
+
b: SubtypeArena::new(b),
|
2423
|
+
}
|
2424
|
+
}
|
2425
|
+
|
2426
|
+
fn swap(&mut self) {
|
2427
|
+
mem::swap(&mut self.a, &mut self.b);
|
2428
|
+
}
|
2429
|
+
|
2430
|
+
/// Executes the closure `f`, resetting the internal arenas to their
|
2431
|
+
/// original size after the closure finishes.
|
2432
|
+
///
|
2433
|
+
/// This enables `f` to modify the internal arenas while relying on all
|
2434
|
+
/// changes being discarded after the closure finishes.
|
2435
|
+
fn mark<T>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T {
|
2436
|
+
let a_len = self.a.list.len();
|
2437
|
+
let b_len = self.b.list.len();
|
2438
|
+
let result = f(self);
|
2439
|
+
self.a.list.truncate(a_len);
|
2440
|
+
self.b.list.truncate(b_len);
|
2441
|
+
result
|
2442
|
+
}
|
2443
|
+
|
2444
|
+
/// Tests whether `a` is a subtype of `b`.
|
2445
|
+
///
|
2446
|
+
/// Errors are reported at the `offset` specified.
|
2447
|
+
pub fn component_entity_type(
|
2448
|
+
&mut self,
|
2449
|
+
a: &ComponentEntityType,
|
2450
|
+
b: &ComponentEntityType,
|
2451
|
+
offset: usize,
|
2452
|
+
) -> Result<()> {
|
2453
|
+
use ComponentEntityType::*;
|
2454
|
+
|
2455
|
+
match (a, b) {
|
2456
|
+
(Module(a), Module(b)) => {
|
2457
|
+
// For module type subtyping, all exports in the other module
|
2458
|
+
// type must be present in this module type's exports (i.e. it
|
2459
|
+
// can export *more* than what this module type needs).
|
2460
|
+
// However, for imports, the check is reversed (i.e. it is okay
|
2461
|
+
// to import *less* than what this module type needs).
|
2462
|
+
self.swap();
|
2463
|
+
let a_imports = &self.b[*a].unwrap_module().imports;
|
2464
|
+
let b_imports = &self.a[*b].unwrap_module().imports;
|
2465
|
+
for (k, a) in a_imports {
|
2466
|
+
match b_imports.get(k) {
|
2467
|
+
Some(b) => self.entity_type(b, a, offset).with_context(|| {
|
2468
|
+
format!("type mismatch in import `{}::{}`", k.0, k.1)
|
2469
|
+
})?,
|
2470
|
+
None => bail!(offset, "missing expected import `{}::{}`", k.0, k.1),
|
2471
|
+
}
|
2472
|
+
}
|
2473
|
+
self.swap();
|
2474
|
+
let a = self.a[*a].unwrap_module();
|
2475
|
+
let b = self.b[*b].unwrap_module();
|
2476
|
+
for (k, b) in b.exports.iter() {
|
2477
|
+
match a.exports.get(k) {
|
2478
|
+
Some(a) => self
|
2479
|
+
.entity_type(a, b, offset)
|
2480
|
+
.with_context(|| format!("type mismatch in export `{k}`"))?,
|
2481
|
+
None => bail!(offset, "missing expected export `{k}`"),
|
2482
|
+
}
|
2483
|
+
}
|
2484
|
+
Ok(())
|
2485
|
+
}
|
2486
|
+
(Module(_), b) => bail!(offset, "expected {}, found module", b.desc()),
|
2487
|
+
|
2488
|
+
(Func(a), Func(b)) => {
|
2489
|
+
let a = self.a[*a].unwrap_component_func();
|
2490
|
+
let b = self.b[*b].unwrap_component_func();
|
2491
|
+
|
2492
|
+
// Note that this intentionally diverges from the upstream
|
2493
|
+
// specification in terms of subtyping. This is a full
|
2494
|
+
// type-equality check which ensures that the structure of `a`
|
2495
|
+
// exactly matches the structure of `b`. The rationale for this
|
2496
|
+
// is:
|
2497
|
+
//
|
2498
|
+
// * Primarily in Wasmtime subtyping based on function types is
|
2499
|
+
// not implemented. This includes both subtyping a host
|
2500
|
+
// import and additionally handling subtyping as functions
|
2501
|
+
// cross component boundaries. The host import subtyping (or
|
2502
|
+
// component export subtyping) is not clear how to handle at
|
2503
|
+
// all at this time. The subtyping of functions between
|
2504
|
+
// components can more easily be handled by extending the
|
2505
|
+
// `fact` compiler, but that hasn't been done yet.
|
2506
|
+
//
|
2507
|
+
// * The upstream specification is currently pretty
|
2508
|
+
// intentionally vague precisely what subtyping is allowed.
|
2509
|
+
// Implementing a strict check here is intended to be a
|
2510
|
+
// conservative starting point for the component model which
|
2511
|
+
// can be extended in the future if necessary.
|
2512
|
+
//
|
2513
|
+
// * The interaction with subtyping on bindings generation, for
|
2514
|
+
// example, is a tricky problem that doesn't have a clear
|
2515
|
+
// answer at this time. Effectively this is more rationale
|
2516
|
+
// for being conservative in the first pass of the component
|
2517
|
+
// model.
|
2518
|
+
//
|
2519
|
+
// So, in conclusion, the test here (and other places that
|
2520
|
+
// reference this comment) is for exact type equality with no
|
2521
|
+
// differences.
|
2522
|
+
if a.params.len() != b.params.len() {
|
2523
|
+
bail!(
|
2524
|
+
offset,
|
2525
|
+
"expected {} parameters, found {}",
|
2526
|
+
b.params.len(),
|
2527
|
+
a.params.len(),
|
2528
|
+
);
|
2529
|
+
}
|
2530
|
+
if a.results.len() != b.results.len() {
|
2531
|
+
bail!(
|
2532
|
+
offset,
|
2533
|
+
"expected {} results, found {}",
|
2534
|
+
b.results.len(),
|
2535
|
+
a.results.len(),
|
2536
|
+
);
|
2537
|
+
}
|
2538
|
+
for ((an, a), (bn, b)) in a.params.iter().zip(b.params.iter()) {
|
2539
|
+
if an != bn {
|
2540
|
+
bail!(offset, "expected parameter named `{bn}`, found `{an}`");
|
2541
|
+
}
|
2542
|
+
self.component_val_type(a, b, offset)
|
2543
|
+
.with_context(|| format!("type mismatch in function parameter `{an}`"))?;
|
2544
|
+
}
|
2545
|
+
for ((an, a), (bn, b)) in a.results.iter().zip(b.results.iter()) {
|
2546
|
+
if an != bn {
|
2547
|
+
bail!(offset, "mismatched result names");
|
2548
|
+
}
|
2549
|
+
self.component_val_type(a, b, offset)
|
2550
|
+
.with_context(|| "type mismatch with result type")?;
|
2551
|
+
}
|
2552
|
+
Ok(())
|
2553
|
+
}
|
2554
|
+
(Func(_), b) => bail!(offset, "expected {}, found func", b.desc()),
|
2555
|
+
|
2556
|
+
(Value(a), Value(b)) => self.component_val_type(a, b, offset),
|
2557
|
+
(Value(_), b) => bail!(offset, "expected {}, found value", b.desc()),
|
2558
|
+
|
2559
|
+
(Type { referenced: a, .. }, Type { referenced: b, .. }) => {
|
2560
|
+
use self::Type::*;
|
2561
|
+
match (&self.a[*a], &self.b[*b]) {
|
2562
|
+
(Defined(a), Defined(b)) => self.component_defined_type(a, b, offset),
|
2563
|
+
(Defined(_), Resource(_)) => bail!(offset, "expected resource, found type"),
|
2564
|
+
(Resource(a), Resource(b)) => {
|
2565
|
+
if a == b {
|
2566
|
+
Ok(())
|
2567
|
+
} else {
|
2568
|
+
bail!(offset, "resource types are not the same")
|
2569
|
+
}
|
2570
|
+
}
|
2571
|
+
(Resource(_), Defined(_)) => bail!(offset, "expected type, found resource"),
|
2572
|
+
_ => unreachable!(),
|
2573
|
+
}
|
2574
|
+
}
|
2575
|
+
(Type { .. }, b) => bail!(offset, "expected {}, found type", b.desc()),
|
2576
|
+
|
2577
|
+
(Instance(a_id), Instance(b_id)) => {
|
2578
|
+
// For instance type subtyping, all exports in the other
|
2579
|
+
// instance type must be present in this instance type's
|
2580
|
+
// exports (i.e. it can export *more* than what this instance
|
2581
|
+
// type needs).
|
2582
|
+
let a = self.a[*a_id].unwrap_component_instance();
|
2583
|
+
let b = self.b[*b_id].unwrap_component_instance();
|
2584
|
+
|
2585
|
+
let mut exports = Vec::with_capacity(b.exports.len());
|
2586
|
+
for (k, b) in b.exports.iter() {
|
2587
|
+
match a.exports.get(k) {
|
2588
|
+
Some(a) => exports.push((*a, *b)),
|
2589
|
+
None => bail!(offset, "missing expected export `{k}`"),
|
2590
|
+
}
|
2591
|
+
}
|
2592
|
+
for (i, (a, b)) in exports.iter().enumerate() {
|
2593
|
+
let err = match self.component_entity_type(a, b, offset) {
|
2594
|
+
Ok(()) => continue,
|
2595
|
+
Err(e) => e,
|
2596
|
+
};
|
2597
|
+
// On failure attach the name of this export as context to
|
2598
|
+
// the error message to leave a breadcrumb trail.
|
2599
|
+
let (name, _) = self.b[*b_id]
|
2600
|
+
.unwrap_component_instance()
|
2601
|
+
.exports
|
2602
|
+
.get_index(i)
|
2603
|
+
.unwrap();
|
2604
|
+
return Err(
|
2605
|
+
err.with_context(|| format!("type mismatch in instance export `{name}`"))
|
2606
|
+
);
|
2607
|
+
}
|
2608
|
+
Ok(())
|
2609
|
+
}
|
2610
|
+
(Instance(_), b) => bail!(offset, "expected {}, found instance", b.desc()),
|
2611
|
+
|
2612
|
+
(Component(a), Component(b)) => {
|
2613
|
+
// Components are ... tricky. They follow the same basic
|
2614
|
+
// structure as core wasm modules, but they also have extra
|
2615
|
+
// logic to handle resource types. Resources are effectively
|
2616
|
+
// abstract types so this is sort of where an ML module system
|
2617
|
+
// in the component model becomes a reality.
|
2618
|
+
//
|
2619
|
+
// This also leverages the `open_instance_type` method below
|
2620
|
+
// heavily which internally has its own quite large suite of
|
2621
|
+
// logic. More-or-less what's happening here is:
|
2622
|
+
//
|
2623
|
+
// 1. Pretend that the imports of B are given as values to the
|
2624
|
+
// imports of A. If A didn't import anything, for example,
|
2625
|
+
// that's great and the subtyping definitely passes there.
|
2626
|
+
// This operation produces a mapping of all the resources of
|
2627
|
+
// A's imports to resources in B's imports.
|
2628
|
+
//
|
2629
|
+
// 2. This mapping is applied to all of A's exports. This means
|
2630
|
+
// that all exports of A referring to A's imported resources
|
2631
|
+
// now instead refer to B's. Note, though that A's exports
|
2632
|
+
// still refer to its own defined resources.
|
2633
|
+
//
|
2634
|
+
// 3. The same `open_instance_type` method used during the
|
2635
|
+
// first step is used again, but this time on the exports
|
2636
|
+
// in the reverse direction. This performs a similar
|
2637
|
+
// operation, though, by creating a mapping from B's
|
2638
|
+
// defined resources to A's defined resources. The map
|
2639
|
+
// itself is discarded as it's not needed.
|
2640
|
+
//
|
2641
|
+
// The order that everything passed here is intentional, but
|
2642
|
+
// also subtle. I personally think of it as
|
2643
|
+
// `open_instance_type` takes a list of things to satisfy a
|
2644
|
+
// signature and produces a mapping of resources in the
|
2645
|
+
// signature to those provided in the list of things. The
|
2646
|
+
// order of operations then goes:
|
2647
|
+
//
|
2648
|
+
// * Someone thinks they have a component of type B, but they
|
2649
|
+
// actually have a component of type A (e.g. due to this
|
2650
|
+
// subtype check passing).
|
2651
|
+
// * This person provides the imports of B and that must be
|
2652
|
+
// sufficient to satisfy the imports of A. This is the first
|
2653
|
+
// `open_instance_type` check.
|
2654
|
+
// * Now though the resources provided by B are substituted
|
2655
|
+
// into A's exports since that's what was provided.
|
2656
|
+
// * A's exports are then handed back to the original person,
|
2657
|
+
// and these exports must satisfy the signature required by B
|
2658
|
+
// since that's what they're expecting.
|
2659
|
+
// * This is the second `open_instance_type` which, to get
|
2660
|
+
// resource types to line up, will map from A's defined
|
2661
|
+
// resources to B's defined resources.
|
2662
|
+
//
|
2663
|
+
// If all that passes then the resources should all line up
|
2664
|
+
// perfectly. Any misalignment is reported as a subtyping
|
2665
|
+
// error.
|
2666
|
+
let b_imports = self.b[*b]
|
2667
|
+
.unwrap_component()
|
2668
|
+
.imports
|
2669
|
+
.iter()
|
2670
|
+
.map(|(name, ty)| (name.clone(), ty.clone()))
|
2671
|
+
.collect();
|
2672
|
+
self.swap();
|
2673
|
+
let mut import_mapping =
|
2674
|
+
self.open_instance_type(&b_imports, *a, ExternKind::Import, offset)?;
|
2675
|
+
self.swap();
|
2676
|
+
self.mark(|this| {
|
2677
|
+
let mut a_exports = this.a[*a]
|
2678
|
+
.unwrap_component()
|
2679
|
+
.exports
|
2680
|
+
.iter()
|
2681
|
+
.map(|(name, ty)| (name.clone(), ty.clone()))
|
2682
|
+
.collect::<IndexMap<_, _>>();
|
2683
|
+
for ty in a_exports.values_mut() {
|
2684
|
+
this.a.remap_component_entity(ty, &mut import_mapping);
|
2685
|
+
}
|
2686
|
+
this.open_instance_type(&a_exports, *b, ExternKind::Export, offset)?;
|
2687
|
+
Ok(())
|
2688
|
+
})
|
2689
|
+
}
|
2690
|
+
(Component(_), b) => bail!(offset, "expected {}, found component", b.desc()),
|
2691
|
+
}
|
2692
|
+
}
|
2693
|
+
|
2694
|
+
/// The building block for subtyping checks when components are
|
2695
|
+
/// instantiated and when components are tested if they're subtypes of each
|
2696
|
+
/// other.
|
2697
|
+
///
|
2698
|
+
/// This method takes a number of arguments:
|
2699
|
+
///
|
2700
|
+
/// * `a` - this is a list of typed items which can be thought of as
|
2701
|
+
/// concrete values to test against `b`.
|
2702
|
+
/// * `b` - this `TypeId` must point to `Type::Component`.
|
2703
|
+
/// * `kind` - indicates whether the `imports` or `exports` of `b` are
|
2704
|
+
/// being tested against for the values in `a`.
|
2705
|
+
/// * `offset` - the binary offset at which to report errors if one happens.
|
2706
|
+
///
|
2707
|
+
/// This will attempt to determine if the items in `a` satisfy the
|
2708
|
+
/// signature required by the `kind` items of `b`. For example component
|
2709
|
+
/// instantiation will have `a` as the list of arguments provided to
|
2710
|
+
/// instantiation, `b` is the component being instantiated, and `kind` is
|
2711
|
+
/// `ExternKind::Import`.
|
2712
|
+
///
|
2713
|
+
/// This function, if successful, will return a mapping of the resources in
|
2714
|
+
/// `b` to the resources in `a` provided. This mapping is guaranteed to
|
2715
|
+
/// contain all the resources for `b` (all imported resources for
|
2716
|
+
/// `ExternKind::Import` or all defined resources for `ExternKind::Export`).
|
2717
|
+
pub fn open_instance_type(
|
2718
|
+
&mut self,
|
2719
|
+
a: &IndexMap<String, ComponentEntityType>,
|
2720
|
+
b: TypeId,
|
2721
|
+
kind: ExternKind,
|
2722
|
+
offset: usize,
|
2723
|
+
) -> Result<Remapping> {
|
2724
|
+
// First, determine the mapping from resources in `b` to those supplied
|
2725
|
+
// by arguments in `a`.
|
2726
|
+
//
|
2727
|
+
// This loop will iterate over all the appropriate resources in `b`
|
2728
|
+
// and find the corresponding resource in `args`. The exact lists
|
2729
|
+
// in use here depend on the `kind` provided. This necessarily requires
|
2730
|
+
// a sequence of string lookups to find the corresponding items in each
|
2731
|
+
// list.
|
2732
|
+
//
|
2733
|
+
// The path to each resource in `resources` is precomputed as a list of
|
2734
|
+
// indexes. The first index is into `b`'s list of `entities`, and gives
|
2735
|
+
// the name that `b` assigns to the resource. Each subsequent index,
|
2736
|
+
// if present, means that this resource was present through a layer of
|
2737
|
+
// an instance type, and the index is into the instance type's exports.
|
2738
|
+
// More information about this can be found on
|
2739
|
+
// `ComponentState::imported_resources`.
|
2740
|
+
//
|
2741
|
+
// This loop will follow the list of indices for each resource and, at
|
2742
|
+
// the same time, walk through the arguments supplied to instantiating
|
2743
|
+
// the `component_type`. This means that within `component_type`
|
2744
|
+
// index-based lookups are performed while in `args` name-based
|
2745
|
+
// lookups are performed.
|
2746
|
+
//
|
2747
|
+
// Note that here it's possible that `args` doesn't actually supply the
|
2748
|
+
// correct type of import for each item since argument checking has
|
2749
|
+
// not proceeded yet. These type errors, however, aren't handled by
|
2750
|
+
// this loop and are deferred below to the main subtyping check. That
|
2751
|
+
// means that `mapping` won't necessarily have a mapping for all
|
2752
|
+
// imported resources into `component_type`, but that should be ok.
|
2753
|
+
let component_type = self.b[b].unwrap_component();
|
2754
|
+
let entities = match kind {
|
2755
|
+
ExternKind::Import => &component_type.imports,
|
2756
|
+
ExternKind::Export => &component_type.exports,
|
2757
|
+
};
|
2758
|
+
let resources = match kind {
|
2759
|
+
ExternKind::Import => &component_type.imported_resources,
|
2760
|
+
ExternKind::Export => &component_type.defined_resources,
|
2761
|
+
};
|
2762
|
+
let mut mapping = Remapping::default();
|
2763
|
+
'outer: for (resource, path) in resources.iter() {
|
2764
|
+
// Lookup the first path item in `imports` and the corresponding
|
2765
|
+
// entry in `args` by name.
|
2766
|
+
let (name, ty) = entities.get_index(path[0]).unwrap();
|
2767
|
+
let mut ty = *ty;
|
2768
|
+
let mut arg = a.get(name);
|
2769
|
+
|
2770
|
+
// Lookup all the subsequent `path` entries, if any, by index in
|
2771
|
+
// `ty` and by name in `arg`. Type errors in `arg` are skipped over
|
2772
|
+
// entirely.
|
2773
|
+
for i in path.iter().skip(1).copied() {
|
2774
|
+
let id = match ty {
|
2775
|
+
ComponentEntityType::Instance(id) => id,
|
2776
|
+
_ => unreachable!(),
|
2777
|
+
};
|
2778
|
+
let (name, next_ty) = self.b[id]
|
2779
|
+
.unwrap_component_instance()
|
2780
|
+
.exports
|
2781
|
+
.get_index(i)
|
2782
|
+
.unwrap();
|
2783
|
+
ty = *next_ty;
|
2784
|
+
arg = match arg {
|
2785
|
+
Some(ComponentEntityType::Instance(id)) => {
|
2786
|
+
self.a[*id].unwrap_component_instance().exports.get(name)
|
2787
|
+
}
|
2788
|
+
_ => continue 'outer,
|
2789
|
+
};
|
2790
|
+
}
|
2791
|
+
|
2792
|
+
// Double-check that `ty`, the leaf type of `component_type`, is
|
2793
|
+
// indeed the expected resource.
|
2794
|
+
if cfg!(debug_assertions) {
|
2795
|
+
let id = match ty {
|
2796
|
+
ComponentEntityType::Type { created, .. } => match &self.a[created] {
|
2797
|
+
Type::Resource(r) => *r,
|
2798
|
+
_ => unreachable!(),
|
2799
|
+
},
|
2800
|
+
_ => unreachable!(),
|
2801
|
+
};
|
2802
|
+
assert_eq!(id, *resource);
|
2803
|
+
}
|
2804
|
+
|
2805
|
+
// The leaf of `arg` should be a type which is a resource. If not
|
2806
|
+
// it's skipped and this'll wind up generating an error later on in
|
2807
|
+
// subtype checking below.
|
2808
|
+
if let Some(ComponentEntityType::Type { created, .. }) = arg {
|
2809
|
+
if let Type::Resource(r) = &self.b[*created] {
|
2810
|
+
mapping.resources.insert(*resource, *r);
|
2811
|
+
}
|
2812
|
+
}
|
2813
|
+
}
|
2814
|
+
|
2815
|
+
// Now that a mapping from the resources in `b` to the resources in `a`
|
2816
|
+
// has been determined it's possible to perform the actual subtype
|
2817
|
+
// check.
|
2818
|
+
//
|
2819
|
+
// This subtype check notably needs to ensure that all resource types
|
2820
|
+
// line up. To achieve this the `mapping` previously calculated is used
|
2821
|
+
// to perform a substitution on each component entity type.
|
2822
|
+
//
|
2823
|
+
// The first loop here performs a name lookup to create a list of
|
2824
|
+
// values from `a` to expected items in `b`. Once the list is created
|
2825
|
+
// the substitution check is performed on each element.
|
2826
|
+
let mut to_typecheck = Vec::new();
|
2827
|
+
for (name, expected) in entities.iter() {
|
2828
|
+
match a.get(name) {
|
2829
|
+
Some(arg) => to_typecheck.push((arg.clone(), expected.clone())),
|
2830
|
+
None => bail!(offset, "missing {} named `{name}`", kind.desc()),
|
2831
|
+
}
|
2832
|
+
}
|
2833
|
+
let mut type_map = HashMap::new();
|
2834
|
+
for (i, (actual, expected)) in to_typecheck.into_iter().enumerate() {
|
2835
|
+
let result = self.mark(|this| {
|
2836
|
+
let mut expected = expected;
|
2837
|
+
this.b.remap_component_entity(&mut expected, &mut mapping);
|
2838
|
+
mapping.types.clear();
|
2839
|
+
this.component_entity_type(&actual, &expected, offset)
|
2840
|
+
});
|
2841
|
+
let err = match result {
|
2842
|
+
Ok(()) => {
|
2843
|
+
// On a successful type-check record a mapping of
|
2844
|
+
// type-to-type in `type_map` for any type imports that were
|
2845
|
+
// satisfied. This is then used afterwards when performing
|
2846
|
+
// type substitution to remap all component-local types to
|
2847
|
+
// those that were provided in the imports.
|
2848
|
+
self.register_type_renamings(actual, expected, &mut type_map);
|
2849
|
+
continue;
|
2850
|
+
}
|
2851
|
+
Err(e) => e,
|
2852
|
+
};
|
2853
|
+
|
2854
|
+
// If an error happens then attach the name of the entity to the
|
2855
|
+
// error message using the `i` iteration counter.
|
2856
|
+
let component_type = self.b[b].unwrap_component();
|
2857
|
+
let entities = match kind {
|
2858
|
+
ExternKind::Import => &component_type.imports,
|
2859
|
+
ExternKind::Export => &component_type.exports,
|
2860
|
+
};
|
2861
|
+
let (name, _) = entities.get_index(i).unwrap();
|
2862
|
+
return Err(err.with_context(|| format!("type mismatch for {} `{name}`", kind.desc())));
|
2863
|
+
}
|
2864
|
+
mapping.types = type_map;
|
2865
|
+
Ok(mapping)
|
2866
|
+
}
|
2867
|
+
|
2868
|
+
pub(crate) fn entity_type(&self, a: &EntityType, b: &EntityType, offset: usize) -> Result<()> {
|
2869
|
+
macro_rules! limits_match {
|
2870
|
+
($a:expr, $b:expr) => {{
|
2871
|
+
let a = $a;
|
2872
|
+
let b = $b;
|
2873
|
+
a.initial >= b.initial
|
2874
|
+
&& match b.maximum {
|
2875
|
+
Some(b_max) => match a.maximum {
|
2876
|
+
Some(a_max) => a_max <= b_max,
|
2877
|
+
None => false,
|
2878
|
+
},
|
2879
|
+
None => true,
|
2880
|
+
}
|
2881
|
+
}};
|
2882
|
+
}
|
2883
|
+
|
2884
|
+
match (a, b) {
|
2885
|
+
(EntityType::Func(a), EntityType::Func(b)) => {
|
2886
|
+
self.func_type(self.a[*a].unwrap_func(), self.b[*b].unwrap_func(), offset)
|
2887
|
+
}
|
2888
|
+
(EntityType::Func(_), b) => bail!(offset, "expected {}, found func", b.desc()),
|
2889
|
+
(EntityType::Table(a), EntityType::Table(b)) => {
|
2890
|
+
if a.element_type != b.element_type {
|
2891
|
+
bail!(
|
2892
|
+
offset,
|
2893
|
+
"expected table element type {}, found {}",
|
2894
|
+
b.element_type,
|
2895
|
+
a.element_type,
|
2896
|
+
)
|
2897
|
+
}
|
2898
|
+
if limits_match!(a, b) {
|
2899
|
+
Ok(())
|
2900
|
+
} else {
|
2901
|
+
bail!(offset, "mismatch in table limits")
|
2902
|
+
}
|
2903
|
+
}
|
2904
|
+
(EntityType::Table(_), b) => bail!(offset, "expected {}, found table", b.desc()),
|
2905
|
+
(EntityType::Memory(a), EntityType::Memory(b)) => {
|
2906
|
+
if a.shared != b.shared {
|
2907
|
+
bail!(offset, "mismatch in the shared flag for memories")
|
2908
|
+
}
|
2909
|
+
if a.memory64 != b.memory64 {
|
2910
|
+
bail!(offset, "mismatch in index type used for memories")
|
2911
|
+
}
|
2912
|
+
if limits_match!(a, b) {
|
2913
|
+
Ok(())
|
2914
|
+
} else {
|
2915
|
+
bail!(offset, "mismatch in memory limits")
|
2916
|
+
}
|
2917
|
+
}
|
2918
|
+
(EntityType::Memory(_), b) => bail!(offset, "expected {}, found memory", b.desc()),
|
2919
|
+
(EntityType::Global(a), EntityType::Global(b)) => {
|
2920
|
+
if a.mutable != b.mutable {
|
2921
|
+
bail!(offset, "global types differ in mutability")
|
2922
|
+
}
|
2923
|
+
if a.content_type == b.content_type {
|
2924
|
+
Ok(())
|
2925
|
+
} else {
|
2926
|
+
bail!(
|
2927
|
+
offset,
|
2928
|
+
"expected global type {}, found {}",
|
2929
|
+
b.content_type,
|
2930
|
+
a.content_type,
|
2931
|
+
)
|
2932
|
+
}
|
2933
|
+
}
|
2934
|
+
(EntityType::Global(_), b) => bail!(offset, "expected {}, found global", b.desc()),
|
2935
|
+
(EntityType::Tag(a), EntityType::Tag(b)) => {
|
2936
|
+
self.func_type(self.a[*a].unwrap_func(), self.b[*b].unwrap_func(), offset)
|
2937
|
+
}
|
2938
|
+
(EntityType::Tag(_), b) => bail!(offset, "expected {}, found tag", b.desc()),
|
2939
|
+
}
|
2940
|
+
}
|
2941
|
+
|
2942
|
+
fn func_type(&self, a: &FuncType, b: &FuncType, offset: usize) -> Result<()> {
|
2943
|
+
if a == b {
|
2944
|
+
Ok(())
|
2945
|
+
} else {
|
2946
|
+
bail!(
|
2947
|
+
offset,
|
2948
|
+
"expected: {}\n\
|
2949
|
+
found: {}",
|
2950
|
+
b.desc(),
|
2951
|
+
a.desc(),
|
2952
|
+
)
|
2953
|
+
}
|
2954
|
+
}
|
2955
|
+
|
2956
|
+
pub(crate) fn component_val_type(
|
2957
|
+
&self,
|
2958
|
+
a: &ComponentValType,
|
2959
|
+
b: &ComponentValType,
|
2960
|
+
offset: usize,
|
2961
|
+
) -> Result<()> {
|
2962
|
+
match (a, b) {
|
2963
|
+
(ComponentValType::Primitive(a), ComponentValType::Primitive(b)) => {
|
2964
|
+
self.primitive_val_type(*a, *b, offset)
|
2965
|
+
}
|
2966
|
+
(ComponentValType::Type(a), ComponentValType::Type(b)) => self.component_defined_type(
|
2967
|
+
self.a[*a].unwrap_defined(),
|
2968
|
+
self.b[*b].unwrap_defined(),
|
2969
|
+
offset,
|
2970
|
+
),
|
2971
|
+
(ComponentValType::Primitive(a), ComponentValType::Type(b)) => {
|
2972
|
+
match self.b[*b].unwrap_defined() {
|
2973
|
+
ComponentDefinedType::Primitive(b) => self.primitive_val_type(*a, *b, offset),
|
2974
|
+
b => bail!(offset, "expected {}, found {a}", b.desc()),
|
2975
|
+
}
|
2976
|
+
}
|
2977
|
+
(ComponentValType::Type(a), ComponentValType::Primitive(b)) => {
|
2978
|
+
match self.a[*a].unwrap_defined() {
|
2979
|
+
ComponentDefinedType::Primitive(a) => self.primitive_val_type(*a, *b, offset),
|
2980
|
+
a => bail!(offset, "expected {b}, found {}", a.desc()),
|
2981
|
+
}
|
2982
|
+
}
|
2983
|
+
}
|
2984
|
+
}
|
2985
|
+
|
2986
|
+
fn component_defined_type(
|
2987
|
+
&self,
|
2988
|
+
a: &ComponentDefinedType,
|
2989
|
+
b: &ComponentDefinedType,
|
2990
|
+
offset: usize,
|
2991
|
+
) -> Result<()> {
|
2992
|
+
use ComponentDefinedType::*;
|
2993
|
+
|
2994
|
+
// Note that the implementation of subtyping here diverges from the
|
2995
|
+
// upstream specification intentionally, see the documentation on
|
2996
|
+
// function subtyping for more information.
|
2997
|
+
match (a, b) {
|
2998
|
+
(Primitive(a), Primitive(b)) => self.primitive_val_type(*a, *b, offset),
|
2999
|
+
(Primitive(a), b) => bail!(offset, "expected {}, found {a}", b.desc()),
|
3000
|
+
(Record(a), Record(b)) => {
|
3001
|
+
if a.fields.len() != b.fields.len() {
|
3002
|
+
bail!(
|
3003
|
+
offset,
|
3004
|
+
"expected {} fields, found {}",
|
3005
|
+
b.fields.len(),
|
3006
|
+
a.fields.len(),
|
3007
|
+
);
|
3008
|
+
}
|
3009
|
+
|
3010
|
+
for ((aname, a), (bname, b)) in a.fields.iter().zip(b.fields.iter()) {
|
3011
|
+
if aname != bname {
|
3012
|
+
bail!(offset, "expected field name `{bname}`, found `{aname}`");
|
3013
|
+
}
|
3014
|
+
self.component_val_type(a, b, offset)
|
3015
|
+
.with_context(|| format!("type mismatch in record field `{aname}`"))?;
|
3016
|
+
}
|
3017
|
+
Ok(())
|
3018
|
+
}
|
3019
|
+
(Record(_), b) => bail!(offset, "expected {}, found record", b.desc()),
|
3020
|
+
(Variant(a), Variant(b)) => {
|
3021
|
+
if a.cases.len() != b.cases.len() {
|
3022
|
+
bail!(
|
3023
|
+
offset,
|
3024
|
+
"expected {} cases, found {}",
|
3025
|
+
b.cases.len(),
|
3026
|
+
a.cases.len(),
|
3027
|
+
);
|
3028
|
+
}
|
3029
|
+
for ((aname, a), (bname, b)) in a.cases.iter().zip(b.cases.iter()) {
|
3030
|
+
if aname != bname {
|
3031
|
+
bail!(offset, "expected case named `{bname}`, found `{aname}`");
|
3032
|
+
}
|
3033
|
+
match (&a.ty, &b.ty) {
|
3034
|
+
(Some(a), Some(b)) => self
|
3035
|
+
.component_val_type(a, b, offset)
|
3036
|
+
.with_context(|| format!("type mismatch in variant case `{aname}`"))?,
|
3037
|
+
(None, None) => {}
|
3038
|
+
(None, Some(_)) => {
|
3039
|
+
bail!(offset, "expected case `{aname}` to have a type, found none")
|
3040
|
+
}
|
3041
|
+
(Some(_), None) => bail!(offset, "expected case `{aname}` to have no type"),
|
3042
|
+
}
|
3043
|
+
}
|
3044
|
+
Ok(())
|
3045
|
+
}
|
3046
|
+
(Variant(_), b) => bail!(offset, "expected {}, found variant", b.desc()),
|
3047
|
+
(List(a), List(b)) | (Option(a), Option(b)) => self.component_val_type(a, b, offset),
|
3048
|
+
(List(_), b) => bail!(offset, "expected {}, found list", b.desc()),
|
3049
|
+
(Option(_), b) => bail!(offset, "expected {}, found option", b.desc()),
|
3050
|
+
(Tuple(a), Tuple(b)) => {
|
3051
|
+
if a.types.len() != b.types.len() {
|
3052
|
+
bail!(
|
3053
|
+
offset,
|
3054
|
+
"expected {} types, found {}",
|
3055
|
+
b.types.len(),
|
3056
|
+
a.types.len(),
|
3057
|
+
);
|
3058
|
+
}
|
3059
|
+
for (i, (a, b)) in a.types.iter().zip(b.types.iter()).enumerate() {
|
3060
|
+
self.component_val_type(a, b, offset)
|
3061
|
+
.with_context(|| format!("type mismatch in tuple field {i}"))?;
|
3062
|
+
}
|
3063
|
+
Ok(())
|
3064
|
+
}
|
3065
|
+
(Tuple(_), b) => bail!(offset, "expected {}, found tuple", b.desc()),
|
3066
|
+
(at @ Flags(a), Flags(b)) | (at @ Enum(a), Enum(b)) => {
|
3067
|
+
let desc = match at {
|
3068
|
+
Flags(_) => "flags",
|
3069
|
+
_ => "enum",
|
3070
|
+
};
|
3071
|
+
if a.len() == b.len() && a.iter().eq(b.iter()) {
|
3072
|
+
Ok(())
|
3073
|
+
} else {
|
3074
|
+
bail!(offset, "mismatch in {desc} elements")
|
3075
|
+
}
|
3076
|
+
}
|
3077
|
+
(Flags(_), b) => bail!(offset, "expected {}, found flags", b.desc()),
|
3078
|
+
(Enum(_), b) => bail!(offset, "expected {}, found enum", b.desc()),
|
3079
|
+
(Result { ok: ao, err: ae }, Result { ok: bo, err: be }) => {
|
3080
|
+
match (ao, bo) {
|
3081
|
+
(None, None) => {}
|
3082
|
+
(Some(a), Some(b)) => self
|
3083
|
+
.component_val_type(a, b, offset)
|
3084
|
+
.with_context(|| "type mismatch in ok variant")?,
|
3085
|
+
(None, Some(_)) => bail!(offset, "expected ok type, but found none"),
|
3086
|
+
(Some(_), None) => bail!(offset, "expected ok type to not be present"),
|
3087
|
+
}
|
3088
|
+
match (ae, be) {
|
3089
|
+
(None, None) => {}
|
3090
|
+
(Some(a), Some(b)) => self
|
3091
|
+
.component_val_type(a, b, offset)
|
3092
|
+
.with_context(|| "type mismatch in err variant")?,
|
3093
|
+
(None, Some(_)) => bail!(offset, "expected err type, but found none"),
|
3094
|
+
(Some(_), None) => bail!(offset, "expected err type to not be present"),
|
3095
|
+
}
|
3096
|
+
Ok(())
|
3097
|
+
}
|
3098
|
+
(Result { .. }, b) => bail!(offset, "expected {}, found result", b.desc()),
|
3099
|
+
(Own(a), Own(b)) | (Borrow(a), Borrow(b)) => {
|
3100
|
+
let a = self.a[*a].unwrap_resource();
|
3101
|
+
let b = self.b[*b].unwrap_resource();
|
3102
|
+
if a == b {
|
3103
|
+
Ok(())
|
3104
|
+
} else {
|
3105
|
+
bail!(offset, "resource types are not the same")
|
3106
|
+
}
|
3107
|
+
}
|
3108
|
+
(Own(_), b) => bail!(offset, "expected {}, found own", b.desc()),
|
3109
|
+
(Borrow(_), b) => bail!(offset, "expected {}, found borrow", b.desc()),
|
3110
|
+
}
|
3111
|
+
}
|
3112
|
+
|
3113
|
+
fn primitive_val_type(
|
3114
|
+
&self,
|
3115
|
+
a: PrimitiveValType,
|
3116
|
+
b: PrimitiveValType,
|
3117
|
+
offset: usize,
|
3118
|
+
) -> Result<()> {
|
3119
|
+
// Note that this intentionally diverges from the upstream specification
|
3120
|
+
// at this time and only considers exact equality for subtyping
|
3121
|
+
// relationships.
|
3122
|
+
//
|
3123
|
+
// More information can be found in the subtyping implementation for
|
3124
|
+
// component functions.
|
3125
|
+
if a == b {
|
3126
|
+
Ok(())
|
3127
|
+
} else {
|
3128
|
+
bail!(offset, "expected primitive `{b}` found primitive `{a}`")
|
3129
|
+
}
|
3130
|
+
}
|
3131
|
+
|
3132
|
+
fn register_type_renamings(
|
3133
|
+
&self,
|
3134
|
+
actual: ComponentEntityType,
|
3135
|
+
expected: ComponentEntityType,
|
3136
|
+
type_map: &mut HashMap<TypeId, TypeId>,
|
3137
|
+
) {
|
3138
|
+
match (expected, actual) {
|
3139
|
+
(
|
3140
|
+
ComponentEntityType::Type {
|
3141
|
+
created: expected, ..
|
3142
|
+
},
|
3143
|
+
ComponentEntityType::Type {
|
3144
|
+
created: actual, ..
|
3145
|
+
},
|
3146
|
+
) => {
|
3147
|
+
let prev = type_map.insert(expected, actual);
|
3148
|
+
assert!(prev.is_none());
|
3149
|
+
}
|
3150
|
+
(ComponentEntityType::Instance(expected), ComponentEntityType::Instance(actual)) => {
|
3151
|
+
let actual = self.a[actual].unwrap_component_instance();
|
3152
|
+
for (name, expected) in self.b[expected].unwrap_component_instance().exports.iter()
|
3153
|
+
{
|
3154
|
+
let actual = actual.exports[name];
|
3155
|
+
self.register_type_renamings(actual, *expected, type_map);
|
3156
|
+
}
|
3157
|
+
}
|
3158
|
+
_ => {}
|
3159
|
+
}
|
3160
|
+
}
|
3161
|
+
}
|
3162
|
+
|
3163
|
+
/// A helper typed used purely during subtyping as part of `SubtypeCx`.
|
3164
|
+
///
|
3165
|
+
/// This takes a `types` list as input which is the "base" of the ids that can
|
3166
|
+
/// be indexed through this arena. All future types pushed into this, if any,
|
3167
|
+
/// are stored in `self.list`.
|
3168
|
+
///
|
3169
|
+
/// This is intended to have arena-like behavior where everything pushed onto
|
3170
|
+
/// `self.list` is thrown away after a subtyping computation is performed. All
|
3171
|
+
/// new types pushed into this arena are purely temporary.
|
3172
|
+
pub(crate) struct SubtypeArena<'a> {
|
3173
|
+
types: &'a TypeList,
|
3174
|
+
list: Vec<Type>,
|
3175
|
+
}
|
3176
|
+
|
3177
|
+
impl<'a> SubtypeArena<'a> {
|
3178
|
+
fn new(types: &'a TypeList) -> SubtypeArena<'a> {
|
3179
|
+
SubtypeArena {
|
3180
|
+
types,
|
3181
|
+
list: Vec::new(),
|
3182
|
+
}
|
3183
|
+
}
|
3184
|
+
}
|
3185
|
+
|
3186
|
+
impl Index<TypeId> for SubtypeArena<'_> {
|
3187
|
+
type Output = Type;
|
3188
|
+
|
3189
|
+
fn index(&self, id: TypeId) -> &Type {
|
3190
|
+
if id.index < self.types.len() {
|
3191
|
+
&self.types[id]
|
3192
|
+
} else {
|
3193
|
+
&self.list[id.index - self.types.len()]
|
3194
|
+
}
|
3195
|
+
}
|
3196
|
+
}
|
3197
|
+
|
3198
|
+
impl Remap for SubtypeArena<'_> {
|
3199
|
+
fn push_ty(&mut self, ty: Type) -> TypeId {
|
3200
|
+
let index = self.list.len() + self.types.len();
|
3201
|
+
let info = ty.info();
|
3202
|
+
self.list.push(ty);
|
3203
|
+
TypeId {
|
3204
|
+
index,
|
3205
|
+
info,
|
3206
|
+
unique_id: 0,
|
3207
|
+
}
|
3208
|
+
}
|
3209
|
+
}
|
3210
|
+
|
3211
|
+
/// Helper trait for adding contextual information to an error, modeled after
|
3212
|
+
/// `anyhow::Context`.
|
3213
|
+
pub(crate) trait Context {
|
3214
|
+
fn with_context<S>(self, context: impl FnOnce() -> S) -> Self
|
3215
|
+
where
|
3216
|
+
S: Into<String>;
|
3217
|
+
}
|
3218
|
+
|
3219
|
+
impl<T> Context for Result<T> {
|
3220
|
+
fn with_context<S>(self, context: impl FnOnce() -> S) -> Self
|
3221
|
+
where
|
3222
|
+
S: Into<String>,
|
3223
|
+
{
|
3224
|
+
match self {
|
3225
|
+
Ok(val) => Ok(val),
|
3226
|
+
Err(e) => Err(e.with_context(context)),
|
3227
|
+
}
|
3228
|
+
}
|
3229
|
+
}
|
3230
|
+
|
3231
|
+
impl Context for BinaryReaderError {
|
3232
|
+
fn with_context<S>(mut self, context: impl FnOnce() -> S) -> Self
|
3233
|
+
where
|
3234
|
+
S: Into<String>,
|
3235
|
+
{
|
3236
|
+
self.add_context(context().into());
|
3237
|
+
self
|
3238
|
+
}
|
3239
|
+
}
|