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,3229 @@
|
|
1
|
+
//! Low-level compilation of an fused adapter function.
|
2
|
+
//!
|
3
|
+
//! This module is tasked with the top-level `compile` function which creates a
|
4
|
+
//! single WebAssembly function which will perform the steps of the fused
|
5
|
+
//! adapter for an `AdapterData` provided. This is the "meat" of compilation
|
6
|
+
//! where the validation of the canonical ABI or similar all happens to
|
7
|
+
//! translate arguments from one module to another.
|
8
|
+
//!
|
9
|
+
//! ## Traps and their ordering
|
10
|
+
//!
|
11
|
+
//! Currently this compiler is pretty "loose" about the ordering of precisely
|
12
|
+
//! what trap happens where. The main reason for this is that to core wasm all
|
13
|
+
//! traps are the same and for fused adapters if a trap happens no intermediate
|
14
|
+
//! side effects are visible (as designed by the canonical ABI itself). For this
|
15
|
+
//! it's important to note that some of the precise choices of control flow here
|
16
|
+
//! can be somewhat arbitrary, an intentional decision.
|
17
|
+
|
18
|
+
use crate::component::{
|
19
|
+
CanonicalAbiInfo, ComponentTypesBuilder, FlatType, InterfaceType, StringEncoding,
|
20
|
+
TypeEnumIndex, TypeFlagsIndex, TypeListIndex, TypeOptionIndex, TypeRecordIndex,
|
21
|
+
TypeResourceTableIndex, TypeResultIndex, TypeTupleIndex, TypeVariantIndex, VariantInfo,
|
22
|
+
FLAG_MAY_ENTER, FLAG_MAY_LEAVE, MAX_FLAT_PARAMS, MAX_FLAT_RESULTS,
|
23
|
+
};
|
24
|
+
use crate::fact::signature::Signature;
|
25
|
+
use crate::fact::transcode::{FixedEncoding as FE, Transcode, Transcoder};
|
26
|
+
use crate::fact::traps::Trap;
|
27
|
+
use crate::fact::{
|
28
|
+
AdapterData, Body, Context, Function, FunctionId, Helper, HelperLocation, HelperType, Module,
|
29
|
+
Options,
|
30
|
+
};
|
31
|
+
use crate::{FuncIndex, GlobalIndex};
|
32
|
+
use std::collections::HashMap;
|
33
|
+
use std::mem;
|
34
|
+
use std::ops::Range;
|
35
|
+
use wasm_encoder::{BlockType, Encode, Instruction, Instruction::*, MemArg, ValType};
|
36
|
+
use wasmtime_component_util::{DiscriminantSize, FlagsSize};
|
37
|
+
|
38
|
+
const MAX_STRING_BYTE_LENGTH: u32 = 1 << 31;
|
39
|
+
const UTF16_TAG: u32 = 1 << 31;
|
40
|
+
|
41
|
+
/// This value is arbitrarily chosen and should be fine to change at any time,
|
42
|
+
/// it just seemed like a halfway reasonable starting point.
|
43
|
+
const INITIAL_FUEL: usize = 1_000;
|
44
|
+
|
45
|
+
struct Compiler<'a, 'b> {
|
46
|
+
types: &'a ComponentTypesBuilder,
|
47
|
+
module: &'b mut Module<'a>,
|
48
|
+
result: FunctionId,
|
49
|
+
|
50
|
+
/// The encoded WebAssembly function body so far, not including locals.
|
51
|
+
code: Vec<u8>,
|
52
|
+
|
53
|
+
/// Total number of locals generated so far.
|
54
|
+
nlocals: u32,
|
55
|
+
|
56
|
+
/// Locals partitioned by type which are not currently in use.
|
57
|
+
free_locals: HashMap<ValType, Vec<u32>>,
|
58
|
+
|
59
|
+
/// Metadata about all `unreachable` trap instructions in this function and
|
60
|
+
/// what the trap represents. The offset within `self.code` is recorded as
|
61
|
+
/// well.
|
62
|
+
traps: Vec<(usize, Trap)>,
|
63
|
+
|
64
|
+
/// A heuristic which is intended to limit the size of a generated function
|
65
|
+
/// to a certain maximum to avoid generating arbitrarily large functions.
|
66
|
+
///
|
67
|
+
/// This fuel counter is decremented each time `translate` is called and
|
68
|
+
/// when fuel is entirely consumed further translations, if necessary, will
|
69
|
+
/// be done through calls to other functions in the module. This is intended
|
70
|
+
/// to be a heuristic to split up the main function into theoretically
|
71
|
+
/// reusable portions.
|
72
|
+
fuel: usize,
|
73
|
+
|
74
|
+
/// Indicates whether an "enter call" should be emitted in the generated
|
75
|
+
/// function with a call to `Resource{Enter,Exit}Call` at the beginning and
|
76
|
+
/// end of the function for tracking of information related to borrowed
|
77
|
+
/// resources.
|
78
|
+
emit_resource_call: bool,
|
79
|
+
}
|
80
|
+
|
81
|
+
pub(super) fn compile(module: &mut Module<'_>, adapter: &AdapterData) {
|
82
|
+
let lower_sig = module.types.signature(&adapter.lower, Context::Lower);
|
83
|
+
let lift_sig = module.types.signature(&adapter.lift, Context::Lift);
|
84
|
+
let ty = module
|
85
|
+
.core_types
|
86
|
+
.function(&lower_sig.params, &lower_sig.results);
|
87
|
+
let result = module
|
88
|
+
.funcs
|
89
|
+
.push(Function::new(Some(adapter.name.clone()), ty));
|
90
|
+
|
91
|
+
// If this type signature contains any borrowed resources then invocations
|
92
|
+
// of enter/exit call for resource-related metadata tracking must be used.
|
93
|
+
// It shouldn't matter whether the lower/lift signature is used here as both
|
94
|
+
// should return the same answer.
|
95
|
+
let emit_resource_call = module.types.contains_borrow_resource(&adapter.lower);
|
96
|
+
assert_eq!(
|
97
|
+
emit_resource_call,
|
98
|
+
module.types.contains_borrow_resource(&adapter.lift)
|
99
|
+
);
|
100
|
+
|
101
|
+
Compiler {
|
102
|
+
types: module.types,
|
103
|
+
module,
|
104
|
+
code: Vec::new(),
|
105
|
+
nlocals: lower_sig.params.len() as u32,
|
106
|
+
free_locals: HashMap::new(),
|
107
|
+
traps: Vec::new(),
|
108
|
+
result,
|
109
|
+
fuel: INITIAL_FUEL,
|
110
|
+
emit_resource_call,
|
111
|
+
}
|
112
|
+
.compile_adapter(adapter, &lower_sig, &lift_sig)
|
113
|
+
}
|
114
|
+
|
115
|
+
/// Compiles a helper function as specified by the `Helper` configuration.
|
116
|
+
///
|
117
|
+
/// This function is invoked when the translation process runs out of fuel for
|
118
|
+
/// some prior function which enqueues a helper to get translated later. This
|
119
|
+
/// translation function will perform one type translation as specified by
|
120
|
+
/// `Helper` which can either be in the stack or memory for each side.
|
121
|
+
pub(super) fn compile_helper(module: &mut Module<'_>, result: FunctionId, helper: Helper) {
|
122
|
+
let mut nlocals = 0;
|
123
|
+
let src_flat;
|
124
|
+
let src = match helper.src.loc {
|
125
|
+
// If the source is on the stack then it's specified in the parameters
|
126
|
+
// to the function, so this creates the flattened representation and
|
127
|
+
// then lists those as the locals with appropriate types for the source
|
128
|
+
// values.
|
129
|
+
HelperLocation::Stack => {
|
130
|
+
src_flat = module
|
131
|
+
.types
|
132
|
+
.flatten_types(&helper.src.opts, usize::MAX, [helper.src.ty])
|
133
|
+
.unwrap()
|
134
|
+
.iter()
|
135
|
+
.enumerate()
|
136
|
+
.map(|(i, ty)| (i as u32, *ty))
|
137
|
+
.collect::<Vec<_>>();
|
138
|
+
nlocals += src_flat.len() as u32;
|
139
|
+
Source::Stack(Stack {
|
140
|
+
locals: &src_flat,
|
141
|
+
opts: &helper.src.opts,
|
142
|
+
})
|
143
|
+
}
|
144
|
+
// If the source is in memory then that's just propagated here as the
|
145
|
+
// first local is the pointer to the source.
|
146
|
+
HelperLocation::Memory => {
|
147
|
+
nlocals += 1;
|
148
|
+
Source::Memory(Memory {
|
149
|
+
opts: &helper.src.opts,
|
150
|
+
addr: TempLocal::new(0, helper.src.opts.ptr()),
|
151
|
+
offset: 0,
|
152
|
+
})
|
153
|
+
}
|
154
|
+
};
|
155
|
+
let dst_flat;
|
156
|
+
let dst = match helper.dst.loc {
|
157
|
+
// This is the same as the stack-based source although `Destination` is
|
158
|
+
// configured slightly differently.
|
159
|
+
HelperLocation::Stack => {
|
160
|
+
dst_flat = module
|
161
|
+
.types
|
162
|
+
.flatten_types(&helper.dst.opts, usize::MAX, [helper.dst.ty])
|
163
|
+
.unwrap();
|
164
|
+
Destination::Stack(&dst_flat, &helper.dst.opts)
|
165
|
+
}
|
166
|
+
// This is the same as a memroy-based source but note that the address
|
167
|
+
// of the destination is passed as the final parameter to the function.
|
168
|
+
HelperLocation::Memory => {
|
169
|
+
nlocals += 1;
|
170
|
+
Destination::Memory(Memory {
|
171
|
+
opts: &helper.dst.opts,
|
172
|
+
addr: TempLocal::new(nlocals - 1, helper.dst.opts.ptr()),
|
173
|
+
offset: 0,
|
174
|
+
})
|
175
|
+
}
|
176
|
+
};
|
177
|
+
let mut compiler = Compiler {
|
178
|
+
types: module.types,
|
179
|
+
module,
|
180
|
+
code: Vec::new(),
|
181
|
+
nlocals,
|
182
|
+
free_locals: HashMap::new(),
|
183
|
+
traps: Vec::new(),
|
184
|
+
result,
|
185
|
+
fuel: INITIAL_FUEL,
|
186
|
+
// This is a helper function and only the top-level function is
|
187
|
+
// responsible for emitting these intrinsic calls.
|
188
|
+
emit_resource_call: false,
|
189
|
+
};
|
190
|
+
compiler.translate(&helper.src.ty, &src, &helper.dst.ty, &dst);
|
191
|
+
compiler.finish();
|
192
|
+
}
|
193
|
+
|
194
|
+
/// Possible ways that a interface value is represented in the core wasm
|
195
|
+
/// canonical ABI.
|
196
|
+
enum Source<'a> {
|
197
|
+
/// This value is stored on the "stack" in wasm locals.
|
198
|
+
///
|
199
|
+
/// This could mean that it's inline from the parameters to the function or
|
200
|
+
/// that after a function call the results were stored in locals and the
|
201
|
+
/// locals are the inline results.
|
202
|
+
Stack(Stack<'a>),
|
203
|
+
|
204
|
+
/// This value is stored in linear memory described by the `Memory`
|
205
|
+
/// structure.
|
206
|
+
Memory(Memory<'a>),
|
207
|
+
}
|
208
|
+
|
209
|
+
/// Same as `Source` but for where values are translated into.
|
210
|
+
enum Destination<'a> {
|
211
|
+
/// This value is destined for the WebAssembly stack which means that
|
212
|
+
/// results are simply pushed as we go along.
|
213
|
+
///
|
214
|
+
/// The types listed are the types that are expected to be on the stack at
|
215
|
+
/// the end of translation.
|
216
|
+
Stack(&'a [ValType], &'a Options),
|
217
|
+
|
218
|
+
/// This value is to be placed in linear memory described by `Memory`.
|
219
|
+
Memory(Memory<'a>),
|
220
|
+
}
|
221
|
+
|
222
|
+
struct Stack<'a> {
|
223
|
+
/// The locals that comprise a particular value.
|
224
|
+
///
|
225
|
+
/// The length of this list represents the flattened list of types that make
|
226
|
+
/// up the component value. Each list has the index of the local being
|
227
|
+
/// accessed as well as the type of the local itself.
|
228
|
+
locals: &'a [(u32, ValType)],
|
229
|
+
/// The lifting/lowering options for where this stack of values comes from
|
230
|
+
opts: &'a Options,
|
231
|
+
}
|
232
|
+
|
233
|
+
/// Representation of where a value is going to be stored in linear memory.
|
234
|
+
struct Memory<'a> {
|
235
|
+
/// The lifting/lowering options with memory configuration
|
236
|
+
opts: &'a Options,
|
237
|
+
/// The index of the local that contains the base address of where the
|
238
|
+
/// storage is happening.
|
239
|
+
addr: TempLocal,
|
240
|
+
/// A "static" offset that will be baked into wasm instructions for where
|
241
|
+
/// memory loads/stores happen.
|
242
|
+
offset: u32,
|
243
|
+
}
|
244
|
+
|
245
|
+
impl Compiler<'_, '_> {
|
246
|
+
fn compile_adapter(
|
247
|
+
mut self,
|
248
|
+
adapter: &AdapterData,
|
249
|
+
lower_sig: &Signature,
|
250
|
+
lift_sig: &Signature,
|
251
|
+
) {
|
252
|
+
// Check the instance flags required for this trampoline.
|
253
|
+
//
|
254
|
+
// This inserts the initial check required by `canon_lower` that the
|
255
|
+
// caller instance can be left and additionally checks the
|
256
|
+
// flags on the callee if necessary whether it can be entered.
|
257
|
+
self.trap_if_not_flag(adapter.lower.flags, FLAG_MAY_LEAVE, Trap::CannotLeave);
|
258
|
+
if adapter.called_as_export {
|
259
|
+
self.trap_if_not_flag(adapter.lift.flags, FLAG_MAY_ENTER, Trap::CannotEnter);
|
260
|
+
self.set_flag(adapter.lift.flags, FLAG_MAY_ENTER, false);
|
261
|
+
} else if self.module.debug {
|
262
|
+
self.assert_not_flag(
|
263
|
+
adapter.lift.flags,
|
264
|
+
FLAG_MAY_ENTER,
|
265
|
+
"may_enter should be unset",
|
266
|
+
);
|
267
|
+
}
|
268
|
+
|
269
|
+
if self.emit_resource_call {
|
270
|
+
let enter = self.module.import_resource_enter_call();
|
271
|
+
self.instruction(Call(enter.as_u32()));
|
272
|
+
}
|
273
|
+
|
274
|
+
// Perform the translation of arguments. Note that `FLAG_MAY_LEAVE` is
|
275
|
+
// cleared around this invocation for the callee as per the
|
276
|
+
// `canon_lift` definition in the spec. Additionally note that the
|
277
|
+
// precise ordering of traps here is not required since internal state
|
278
|
+
// is not visible to either instance and a trap will "lock down" both
|
279
|
+
// instances to no longer be visible. This means that we're free to
|
280
|
+
// reorder lifts/lowers and flags and such as is necessary and
|
281
|
+
// convenient here.
|
282
|
+
//
|
283
|
+
// TODO: if translation doesn't actually call any functions in either
|
284
|
+
// instance then there's no need to set/clear the flag here and that can
|
285
|
+
// be optimized away.
|
286
|
+
self.set_flag(adapter.lift.flags, FLAG_MAY_LEAVE, false);
|
287
|
+
let param_locals = lower_sig
|
288
|
+
.params
|
289
|
+
.iter()
|
290
|
+
.enumerate()
|
291
|
+
.map(|(i, ty)| (i as u32, *ty))
|
292
|
+
.collect::<Vec<_>>();
|
293
|
+
self.translate_params(adapter, ¶m_locals);
|
294
|
+
self.set_flag(adapter.lift.flags, FLAG_MAY_LEAVE, true);
|
295
|
+
|
296
|
+
// With all the arguments on the stack the actual target function is
|
297
|
+
// now invoked. The core wasm results of the function are then placed
|
298
|
+
// into locals for result translation afterwards.
|
299
|
+
self.instruction(Call(adapter.callee.as_u32()));
|
300
|
+
let mut result_locals = Vec::with_capacity(lift_sig.results.len());
|
301
|
+
let mut temps = Vec::new();
|
302
|
+
for ty in lift_sig.results.iter().rev() {
|
303
|
+
let local = self.local_set_new_tmp(*ty);
|
304
|
+
result_locals.push((local.idx, *ty));
|
305
|
+
temps.push(local);
|
306
|
+
}
|
307
|
+
result_locals.reverse();
|
308
|
+
|
309
|
+
// Like above during the translation of results the caller cannot be
|
310
|
+
// left (as we might invoke things like `realloc`). Again the precise
|
311
|
+
// order of everything doesn't matter since intermediate states cannot
|
312
|
+
// be witnessed, hence the setting of flags here to encapsulate both
|
313
|
+
// liftings and lowerings.
|
314
|
+
//
|
315
|
+
// TODO: like above the management of the `MAY_LEAVE` flag can probably
|
316
|
+
// be elided here for "simple" results.
|
317
|
+
self.set_flag(adapter.lower.flags, FLAG_MAY_LEAVE, false);
|
318
|
+
self.translate_results(adapter, ¶m_locals, &result_locals);
|
319
|
+
self.set_flag(adapter.lower.flags, FLAG_MAY_LEAVE, true);
|
320
|
+
|
321
|
+
// And finally post-return state is handled here once all results/etc
|
322
|
+
// are all translated.
|
323
|
+
if let Some(func) = adapter.lift.post_return {
|
324
|
+
for (result, _) in result_locals.iter() {
|
325
|
+
self.instruction(LocalGet(*result));
|
326
|
+
}
|
327
|
+
self.instruction(Call(func.as_u32()));
|
328
|
+
}
|
329
|
+
if adapter.called_as_export {
|
330
|
+
self.set_flag(adapter.lift.flags, FLAG_MAY_ENTER, true);
|
331
|
+
}
|
332
|
+
|
333
|
+
for tmp in temps {
|
334
|
+
self.free_temp_local(tmp);
|
335
|
+
}
|
336
|
+
|
337
|
+
if self.emit_resource_call {
|
338
|
+
let exit = self.module.import_resource_exit_call();
|
339
|
+
self.instruction(Call(exit.as_u32()));
|
340
|
+
}
|
341
|
+
|
342
|
+
self.finish()
|
343
|
+
}
|
344
|
+
|
345
|
+
fn translate_params(&mut self, adapter: &AdapterData, param_locals: &[(u32, ValType)]) {
|
346
|
+
let src_tys = self.types[adapter.lower.ty].params;
|
347
|
+
let src_tys = self.types[src_tys]
|
348
|
+
.types
|
349
|
+
.iter()
|
350
|
+
.copied()
|
351
|
+
.collect::<Vec<_>>();
|
352
|
+
let dst_tys = self.types[adapter.lift.ty].params;
|
353
|
+
let dst_tys = self.types[dst_tys]
|
354
|
+
.types
|
355
|
+
.iter()
|
356
|
+
.copied()
|
357
|
+
.collect::<Vec<_>>();
|
358
|
+
let lift_opts = &adapter.lift.options;
|
359
|
+
let lower_opts = &adapter.lower.options;
|
360
|
+
|
361
|
+
// TODO: handle subtyping
|
362
|
+
assert_eq!(src_tys.len(), dst_tys.len());
|
363
|
+
|
364
|
+
let src_flat =
|
365
|
+
self.types
|
366
|
+
.flatten_types(lower_opts, MAX_FLAT_PARAMS, src_tys.iter().copied());
|
367
|
+
let dst_flat =
|
368
|
+
self.types
|
369
|
+
.flatten_types(lift_opts, MAX_FLAT_PARAMS, dst_tys.iter().copied());
|
370
|
+
|
371
|
+
let src = if let Some(flat) = &src_flat {
|
372
|
+
Source::Stack(Stack {
|
373
|
+
locals: ¶m_locals[..flat.len()],
|
374
|
+
opts: lower_opts,
|
375
|
+
})
|
376
|
+
} else {
|
377
|
+
// If there are too many parameters then that means the parameters
|
378
|
+
// are actually a tuple stored in linear memory addressed by the
|
379
|
+
// first parameter local.
|
380
|
+
let (addr, ty) = param_locals[0];
|
381
|
+
assert_eq!(ty, lower_opts.ptr());
|
382
|
+
let align = src_tys
|
383
|
+
.iter()
|
384
|
+
.map(|t| self.types.align(lower_opts, t))
|
385
|
+
.max()
|
386
|
+
.unwrap_or(1);
|
387
|
+
Source::Memory(self.memory_operand(lower_opts, TempLocal::new(addr, ty), align))
|
388
|
+
};
|
389
|
+
|
390
|
+
let dst = if let Some(flat) = &dst_flat {
|
391
|
+
Destination::Stack(flat, lift_opts)
|
392
|
+
} else {
|
393
|
+
// If there are too many parameters then space is allocated in the
|
394
|
+
// destination module for the parameters via its `realloc` function.
|
395
|
+
let abi = CanonicalAbiInfo::record(dst_tys.iter().map(|t| self.types.canonical_abi(t)));
|
396
|
+
let (size, align) = if lift_opts.memory64 {
|
397
|
+
(abi.size64, abi.align64)
|
398
|
+
} else {
|
399
|
+
(abi.size32, abi.align32)
|
400
|
+
};
|
401
|
+
let size = MallocSize::Const(size);
|
402
|
+
Destination::Memory(self.malloc(lift_opts, size, align))
|
403
|
+
};
|
404
|
+
|
405
|
+
let srcs = src
|
406
|
+
.record_field_srcs(self.types, src_tys.iter().copied())
|
407
|
+
.zip(src_tys.iter());
|
408
|
+
let dsts = dst
|
409
|
+
.record_field_dsts(self.types, dst_tys.iter().copied())
|
410
|
+
.zip(dst_tys.iter());
|
411
|
+
for ((src, src_ty), (dst, dst_ty)) in srcs.zip(dsts) {
|
412
|
+
self.translate(&src_ty, &src, &dst_ty, &dst);
|
413
|
+
}
|
414
|
+
|
415
|
+
// If the destination was linear memory instead of the stack then the
|
416
|
+
// actual parameter that we're passing is the address of the values
|
417
|
+
// stored, so ensure that's happening in the wasm body here.
|
418
|
+
if let Destination::Memory(mem) = dst {
|
419
|
+
self.instruction(LocalGet(mem.addr.idx));
|
420
|
+
self.free_temp_local(mem.addr);
|
421
|
+
}
|
422
|
+
}
|
423
|
+
|
424
|
+
fn translate_results(
|
425
|
+
&mut self,
|
426
|
+
adapter: &AdapterData,
|
427
|
+
param_locals: &[(u32, ValType)],
|
428
|
+
result_locals: &[(u32, ValType)],
|
429
|
+
) {
|
430
|
+
let src_tys = self.types[adapter.lift.ty].results;
|
431
|
+
let src_tys = self.types[src_tys]
|
432
|
+
.types
|
433
|
+
.iter()
|
434
|
+
.map(|ty| *ty)
|
435
|
+
.collect::<Vec<_>>();
|
436
|
+
let dst_tys = self.types[adapter.lower.ty].results;
|
437
|
+
let dst_tys = self.types[dst_tys]
|
438
|
+
.types
|
439
|
+
.iter()
|
440
|
+
.map(|ty| *ty)
|
441
|
+
.collect::<Vec<_>>();
|
442
|
+
let lift_opts = &adapter.lift.options;
|
443
|
+
let lower_opts = &adapter.lower.options;
|
444
|
+
|
445
|
+
let src_flat =
|
446
|
+
self.types
|
447
|
+
.flatten_types(lift_opts, MAX_FLAT_RESULTS, src_tys.iter().copied());
|
448
|
+
let dst_flat =
|
449
|
+
self.types
|
450
|
+
.flatten_types(lower_opts, MAX_FLAT_RESULTS, dst_tys.iter().copied());
|
451
|
+
|
452
|
+
let src = if src_flat.is_some() {
|
453
|
+
Source::Stack(Stack {
|
454
|
+
locals: result_locals,
|
455
|
+
opts: lift_opts,
|
456
|
+
})
|
457
|
+
} else {
|
458
|
+
// The original results to read from in this case come from the
|
459
|
+
// return value of the function itself. The imported function will
|
460
|
+
// return a linear memory address at which the values can be read
|
461
|
+
// from.
|
462
|
+
let align = src_tys
|
463
|
+
.iter()
|
464
|
+
.map(|t| self.types.align(lift_opts, t))
|
465
|
+
.max()
|
466
|
+
.unwrap_or(1);
|
467
|
+
assert_eq!(result_locals.len(), 1);
|
468
|
+
let (addr, ty) = result_locals[0];
|
469
|
+
assert_eq!(ty, lift_opts.ptr());
|
470
|
+
Source::Memory(self.memory_operand(lift_opts, TempLocal::new(addr, ty), align))
|
471
|
+
};
|
472
|
+
|
473
|
+
let dst = if let Some(flat) = &dst_flat {
|
474
|
+
Destination::Stack(flat, lower_opts)
|
475
|
+
} else {
|
476
|
+
// This is slightly different than `translate_params` where the
|
477
|
+
// return pointer was provided by the caller of this function
|
478
|
+
// meaning the last parameter local is a pointer into linear memory.
|
479
|
+
let align = dst_tys
|
480
|
+
.iter()
|
481
|
+
.map(|t| self.types.align(lower_opts, t))
|
482
|
+
.max()
|
483
|
+
.unwrap_or(1);
|
484
|
+
let (addr, ty) = *param_locals.last().expect("no retptr");
|
485
|
+
assert_eq!(ty, lower_opts.ptr());
|
486
|
+
Destination::Memory(self.memory_operand(lower_opts, TempLocal::new(addr, ty), align))
|
487
|
+
};
|
488
|
+
|
489
|
+
let srcs = src
|
490
|
+
.record_field_srcs(self.types, src_tys.iter().copied())
|
491
|
+
.zip(src_tys.iter());
|
492
|
+
let dsts = dst
|
493
|
+
.record_field_dsts(self.types, dst_tys.iter().copied())
|
494
|
+
.zip(dst_tys.iter());
|
495
|
+
for ((src, src_ty), (dst, dst_ty)) in srcs.zip(dsts) {
|
496
|
+
self.translate(&src_ty, &src, &dst_ty, &dst);
|
497
|
+
}
|
498
|
+
}
|
499
|
+
|
500
|
+
fn translate(
|
501
|
+
&mut self,
|
502
|
+
src_ty: &InterfaceType,
|
503
|
+
src: &Source<'_>,
|
504
|
+
dst_ty: &InterfaceType,
|
505
|
+
dst: &Destination,
|
506
|
+
) {
|
507
|
+
if let Source::Memory(mem) = src {
|
508
|
+
self.assert_aligned(src_ty, mem);
|
509
|
+
}
|
510
|
+
if let Destination::Memory(mem) = dst {
|
511
|
+
self.assert_aligned(dst_ty, mem);
|
512
|
+
}
|
513
|
+
|
514
|
+
// Calculate a cost heuristic for what the translation of this specific
|
515
|
+
// layer of the type is going to incur. The purpose of this cost is that
|
516
|
+
// we'll deduct it from `self.fuel` and if no fuel is remaining then
|
517
|
+
// translation is outlined into a separate function rather than being
|
518
|
+
// translated into this function.
|
519
|
+
//
|
520
|
+
// The general goal is to avoid creating an exponentially sized function
|
521
|
+
// for a linearly sized input (the type section). By outlining helper
|
522
|
+
// functions there will ideally be a constant set of helper functions
|
523
|
+
// per type (to accomodate in-memory or on-stack transfers as well as
|
524
|
+
// src/dst options) which means that each function is at most a certain
|
525
|
+
// size and we have a linear number of functions which should guarantee
|
526
|
+
// an overall linear size of the output.
|
527
|
+
//
|
528
|
+
// To implement this the current heuristic is that each layer of
|
529
|
+
// translating a type has a cost associated with it and this cost is
|
530
|
+
// accounted for in `self.fuel`. Some conversions are considered free as
|
531
|
+
// they generate basically as much code as the `call` to the translation
|
532
|
+
// function while other are considered proportionally expensive to the
|
533
|
+
// size of the type. The hope is that some upper layers are of a type's
|
534
|
+
// translation are all inlined into one function but bottom layers end
|
535
|
+
// up getting outlined to separate functions. Theoretically, again this
|
536
|
+
// is built on hopes and dreams, the outlining can be shared amongst
|
537
|
+
// tightly-intertwined type hierarchies which will reduce the size of
|
538
|
+
// the output module due to the helpers being used.
|
539
|
+
//
|
540
|
+
// This heuristic of how to split functions has changed a few times in
|
541
|
+
// the past and this isn't necessarily guaranteed to be the final
|
542
|
+
// iteration.
|
543
|
+
let cost = match src_ty {
|
544
|
+
// These types are all quite simple to load/store and equate to
|
545
|
+
// basically the same cost of the `call` instruction to call an
|
546
|
+
// out-of-line translation function, so give them 0 cost.
|
547
|
+
InterfaceType::Bool
|
548
|
+
| InterfaceType::U8
|
549
|
+
| InterfaceType::S8
|
550
|
+
| InterfaceType::U16
|
551
|
+
| InterfaceType::S16
|
552
|
+
| InterfaceType::U32
|
553
|
+
| InterfaceType::S32
|
554
|
+
| InterfaceType::U64
|
555
|
+
| InterfaceType::S64
|
556
|
+
| InterfaceType::Float32
|
557
|
+
| InterfaceType::Float64 => 0,
|
558
|
+
|
559
|
+
// This has a small amount of validation associated with it, so
|
560
|
+
// give it a cost of 1.
|
561
|
+
InterfaceType::Char => 1,
|
562
|
+
|
563
|
+
// This has a fair bit of code behind it depending on the
|
564
|
+
// strings/encodings in play, so arbitrarily assign it this cost.
|
565
|
+
InterfaceType::String => 40,
|
566
|
+
|
567
|
+
// Iteration of a loop is along the lines of the cost of a string
|
568
|
+
// so give it the same cost
|
569
|
+
InterfaceType::List(_) => 40,
|
570
|
+
|
571
|
+
InterfaceType::Flags(i) => {
|
572
|
+
let count = self.module.types[*i].names.len();
|
573
|
+
match FlagsSize::from_count(count) {
|
574
|
+
FlagsSize::Size0 => 0,
|
575
|
+
FlagsSize::Size1 | FlagsSize::Size2 => 1,
|
576
|
+
FlagsSize::Size4Plus(n) => n.into(),
|
577
|
+
}
|
578
|
+
}
|
579
|
+
|
580
|
+
InterfaceType::Record(i) => self.types[*i].fields.len(),
|
581
|
+
InterfaceType::Tuple(i) => self.types[*i].types.len(),
|
582
|
+
InterfaceType::Variant(i) => self.types[*i].cases.len(),
|
583
|
+
InterfaceType::Enum(i) => self.types[*i].names.len(),
|
584
|
+
|
585
|
+
// 2 cases to consider for each of these variants.
|
586
|
+
InterfaceType::Option(_) | InterfaceType::Result(_) => 2,
|
587
|
+
|
588
|
+
// TODO(#6696) - something nonzero, is 1 right?
|
589
|
+
InterfaceType::Own(_) | InterfaceType::Borrow(_) => 1,
|
590
|
+
};
|
591
|
+
|
592
|
+
match self.fuel.checked_sub(cost) {
|
593
|
+
// This function has enough fuel to perform the layer of translation
|
594
|
+
// necessary for this type, so the fuel is updated in-place and
|
595
|
+
// translation continues. Note that the recursion here is bounded by
|
596
|
+
// the static recursion limit for all interface types as imposed
|
597
|
+
// during the translation phase.
|
598
|
+
Some(n) => {
|
599
|
+
self.fuel = n;
|
600
|
+
match src_ty {
|
601
|
+
InterfaceType::Bool => self.translate_bool(src, dst_ty, dst),
|
602
|
+
InterfaceType::U8 => self.translate_u8(src, dst_ty, dst),
|
603
|
+
InterfaceType::S8 => self.translate_s8(src, dst_ty, dst),
|
604
|
+
InterfaceType::U16 => self.translate_u16(src, dst_ty, dst),
|
605
|
+
InterfaceType::S16 => self.translate_s16(src, dst_ty, dst),
|
606
|
+
InterfaceType::U32 => self.translate_u32(src, dst_ty, dst),
|
607
|
+
InterfaceType::S32 => self.translate_s32(src, dst_ty, dst),
|
608
|
+
InterfaceType::U64 => self.translate_u64(src, dst_ty, dst),
|
609
|
+
InterfaceType::S64 => self.translate_s64(src, dst_ty, dst),
|
610
|
+
InterfaceType::Float32 => self.translate_f32(src, dst_ty, dst),
|
611
|
+
InterfaceType::Float64 => self.translate_f64(src, dst_ty, dst),
|
612
|
+
InterfaceType::Char => self.translate_char(src, dst_ty, dst),
|
613
|
+
InterfaceType::String => self.translate_string(src, dst_ty, dst),
|
614
|
+
InterfaceType::List(t) => self.translate_list(*t, src, dst_ty, dst),
|
615
|
+
InterfaceType::Record(t) => self.translate_record(*t, src, dst_ty, dst),
|
616
|
+
InterfaceType::Flags(f) => self.translate_flags(*f, src, dst_ty, dst),
|
617
|
+
InterfaceType::Tuple(t) => self.translate_tuple(*t, src, dst_ty, dst),
|
618
|
+
InterfaceType::Variant(v) => self.translate_variant(*v, src, dst_ty, dst),
|
619
|
+
InterfaceType::Enum(t) => self.translate_enum(*t, src, dst_ty, dst),
|
620
|
+
InterfaceType::Option(t) => self.translate_option(*t, src, dst_ty, dst),
|
621
|
+
InterfaceType::Result(t) => self.translate_result(*t, src, dst_ty, dst),
|
622
|
+
InterfaceType::Own(t) => self.translate_own(*t, src, dst_ty, dst),
|
623
|
+
InterfaceType::Borrow(t) => self.translate_borrow(*t, src, dst_ty, dst),
|
624
|
+
}
|
625
|
+
}
|
626
|
+
|
627
|
+
// This function does not have enough fuel left to perform this
|
628
|
+
// layer of translation so the translation is deferred to a helper
|
629
|
+
// function. The actual translation here is then done by marshalling
|
630
|
+
// the src/dst into the function we're calling and then processing
|
631
|
+
// the results.
|
632
|
+
None => {
|
633
|
+
let src_loc = match src {
|
634
|
+
// If the source is on the stack then `stack_get` is used to
|
635
|
+
// convert everything to the appropriate flat representation
|
636
|
+
// for the source type.
|
637
|
+
Source::Stack(stack) => {
|
638
|
+
for (i, ty) in stack
|
639
|
+
.opts
|
640
|
+
.flat_types(src_ty, self.types)
|
641
|
+
.unwrap()
|
642
|
+
.iter()
|
643
|
+
.enumerate()
|
644
|
+
{
|
645
|
+
let stack = stack.slice(i..i + 1);
|
646
|
+
self.stack_get(&stack, (*ty).into());
|
647
|
+
}
|
648
|
+
HelperLocation::Stack
|
649
|
+
}
|
650
|
+
// If the source is in memory then the pointer is passed
|
651
|
+
// through, but note that the offset must be factored in
|
652
|
+
// here since the translation function will start from
|
653
|
+
// offset 0.
|
654
|
+
Source::Memory(mem) => {
|
655
|
+
self.push_mem_addr(mem);
|
656
|
+
HelperLocation::Memory
|
657
|
+
}
|
658
|
+
};
|
659
|
+
let dst_loc = match dst {
|
660
|
+
Destination::Stack(..) => HelperLocation::Stack,
|
661
|
+
Destination::Memory(mem) => {
|
662
|
+
self.push_mem_addr(mem);
|
663
|
+
HelperLocation::Memory
|
664
|
+
}
|
665
|
+
};
|
666
|
+
// Generate a `FunctionId` corresponding to the `Helper`
|
667
|
+
// configuration that is necessary here. This will ideally be a
|
668
|
+
// "cache hit" and use a preexisting helper which represents
|
669
|
+
// outlining what would otherwise be duplicate code within a
|
670
|
+
// function to one function.
|
671
|
+
let helper = self.module.translate_helper(Helper {
|
672
|
+
src: HelperType {
|
673
|
+
ty: *src_ty,
|
674
|
+
opts: *src.opts(),
|
675
|
+
loc: src_loc,
|
676
|
+
},
|
677
|
+
dst: HelperType {
|
678
|
+
ty: *dst_ty,
|
679
|
+
opts: *dst.opts(),
|
680
|
+
loc: dst_loc,
|
681
|
+
},
|
682
|
+
});
|
683
|
+
// Emit a `call` instruction which will get "relocated" to a
|
684
|
+
// function index once translation has completely finished.
|
685
|
+
self.flush_code();
|
686
|
+
self.module.funcs[self.result].body.push(Body::Call(helper));
|
687
|
+
|
688
|
+
// If the destination of the translation was on the stack then
|
689
|
+
// the types on the stack need to be optionally converted to
|
690
|
+
// different types (e.g. if the result here is part of a variant
|
691
|
+
// somewhere else).
|
692
|
+
//
|
693
|
+
// This translation happens inline here by popping the results
|
694
|
+
// into new locals and then using those locals to do a
|
695
|
+
// `stack_set`.
|
696
|
+
if let Destination::Stack(tys, opts) = dst {
|
697
|
+
let flat = self
|
698
|
+
.types
|
699
|
+
.flatten_types(opts, usize::MAX, [*dst_ty])
|
700
|
+
.unwrap();
|
701
|
+
assert_eq!(flat.len(), tys.len());
|
702
|
+
let locals = flat
|
703
|
+
.iter()
|
704
|
+
.rev()
|
705
|
+
.map(|ty| self.local_set_new_tmp(*ty))
|
706
|
+
.collect::<Vec<_>>();
|
707
|
+
for (ty, local) in tys.iter().zip(locals.into_iter().rev()) {
|
708
|
+
self.instruction(LocalGet(local.idx));
|
709
|
+
self.stack_set(std::slice::from_ref(ty), local.ty);
|
710
|
+
self.free_temp_local(local);
|
711
|
+
}
|
712
|
+
}
|
713
|
+
}
|
714
|
+
}
|
715
|
+
}
|
716
|
+
|
717
|
+
fn push_mem_addr(&mut self, mem: &Memory<'_>) {
|
718
|
+
self.instruction(LocalGet(mem.addr.idx));
|
719
|
+
if mem.offset != 0 {
|
720
|
+
self.ptr_uconst(mem.opts, mem.offset);
|
721
|
+
self.ptr_add(mem.opts);
|
722
|
+
}
|
723
|
+
}
|
724
|
+
|
725
|
+
fn translate_bool(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
726
|
+
// TODO: subtyping
|
727
|
+
assert!(matches!(dst_ty, InterfaceType::Bool));
|
728
|
+
self.push_dst_addr(dst);
|
729
|
+
|
730
|
+
// Booleans are canonicalized to 0 or 1 as they pass through the
|
731
|
+
// component boundary, so use a `select` instruction to do so.
|
732
|
+
self.instruction(I32Const(1));
|
733
|
+
self.instruction(I32Const(0));
|
734
|
+
match src {
|
735
|
+
Source::Memory(mem) => self.i32_load8u(mem),
|
736
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::I32),
|
737
|
+
}
|
738
|
+
self.instruction(Select);
|
739
|
+
|
740
|
+
match dst {
|
741
|
+
Destination::Memory(mem) => self.i32_store8(mem),
|
742
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
743
|
+
}
|
744
|
+
}
|
745
|
+
|
746
|
+
fn translate_u8(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
747
|
+
// TODO: subtyping
|
748
|
+
assert!(matches!(dst_ty, InterfaceType::U8));
|
749
|
+
self.convert_u8_mask(src, dst, 0xff);
|
750
|
+
}
|
751
|
+
|
752
|
+
fn convert_u8_mask(&mut self, src: &Source<'_>, dst: &Destination<'_>, mask: u8) {
|
753
|
+
self.push_dst_addr(dst);
|
754
|
+
let mut needs_mask = true;
|
755
|
+
match src {
|
756
|
+
Source::Memory(mem) => {
|
757
|
+
self.i32_load8u(mem);
|
758
|
+
needs_mask = mask != 0xff;
|
759
|
+
}
|
760
|
+
Source::Stack(stack) => {
|
761
|
+
self.stack_get(stack, ValType::I32);
|
762
|
+
}
|
763
|
+
}
|
764
|
+
if needs_mask {
|
765
|
+
self.instruction(I32Const(i32::from(mask)));
|
766
|
+
self.instruction(I32And);
|
767
|
+
}
|
768
|
+
match dst {
|
769
|
+
Destination::Memory(mem) => self.i32_store8(mem),
|
770
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
771
|
+
}
|
772
|
+
}
|
773
|
+
|
774
|
+
fn translate_s8(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
775
|
+
// TODO: subtyping
|
776
|
+
assert!(matches!(dst_ty, InterfaceType::S8));
|
777
|
+
self.push_dst_addr(dst);
|
778
|
+
match src {
|
779
|
+
Source::Memory(mem) => self.i32_load8s(mem),
|
780
|
+
Source::Stack(stack) => {
|
781
|
+
self.stack_get(stack, ValType::I32);
|
782
|
+
self.instruction(I32Extend8S);
|
783
|
+
}
|
784
|
+
}
|
785
|
+
match dst {
|
786
|
+
Destination::Memory(mem) => self.i32_store8(mem),
|
787
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
788
|
+
}
|
789
|
+
}
|
790
|
+
|
791
|
+
fn translate_u16(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
792
|
+
// TODO: subtyping
|
793
|
+
assert!(matches!(dst_ty, InterfaceType::U16));
|
794
|
+
self.convert_u16_mask(src, dst, 0xffff);
|
795
|
+
}
|
796
|
+
|
797
|
+
fn convert_u16_mask(&mut self, src: &Source<'_>, dst: &Destination<'_>, mask: u16) {
|
798
|
+
self.push_dst_addr(dst);
|
799
|
+
let mut needs_mask = true;
|
800
|
+
match src {
|
801
|
+
Source::Memory(mem) => {
|
802
|
+
self.i32_load16u(mem);
|
803
|
+
needs_mask = mask != 0xffff;
|
804
|
+
}
|
805
|
+
Source::Stack(stack) => {
|
806
|
+
self.stack_get(stack, ValType::I32);
|
807
|
+
}
|
808
|
+
}
|
809
|
+
if needs_mask {
|
810
|
+
self.instruction(I32Const(i32::from(mask)));
|
811
|
+
self.instruction(I32And);
|
812
|
+
}
|
813
|
+
match dst {
|
814
|
+
Destination::Memory(mem) => self.i32_store16(mem),
|
815
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
816
|
+
}
|
817
|
+
}
|
818
|
+
|
819
|
+
fn translate_s16(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
820
|
+
// TODO: subtyping
|
821
|
+
assert!(matches!(dst_ty, InterfaceType::S16));
|
822
|
+
self.push_dst_addr(dst);
|
823
|
+
match src {
|
824
|
+
Source::Memory(mem) => self.i32_load16s(mem),
|
825
|
+
Source::Stack(stack) => {
|
826
|
+
self.stack_get(stack, ValType::I32);
|
827
|
+
self.instruction(I32Extend16S);
|
828
|
+
}
|
829
|
+
}
|
830
|
+
match dst {
|
831
|
+
Destination::Memory(mem) => self.i32_store16(mem),
|
832
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
833
|
+
}
|
834
|
+
}
|
835
|
+
|
836
|
+
fn translate_u32(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
837
|
+
// TODO: subtyping
|
838
|
+
assert!(matches!(dst_ty, InterfaceType::U32));
|
839
|
+
self.convert_u32_mask(src, dst, 0xffffffff)
|
840
|
+
}
|
841
|
+
|
842
|
+
fn convert_u32_mask(&mut self, src: &Source<'_>, dst: &Destination<'_>, mask: u32) {
|
843
|
+
self.push_dst_addr(dst);
|
844
|
+
match src {
|
845
|
+
Source::Memory(mem) => self.i32_load(mem),
|
846
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::I32),
|
847
|
+
}
|
848
|
+
if mask != 0xffffffff {
|
849
|
+
self.instruction(I32Const(mask as i32));
|
850
|
+
self.instruction(I32And);
|
851
|
+
}
|
852
|
+
match dst {
|
853
|
+
Destination::Memory(mem) => self.i32_store(mem),
|
854
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
855
|
+
}
|
856
|
+
}
|
857
|
+
|
858
|
+
fn translate_s32(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
859
|
+
// TODO: subtyping
|
860
|
+
assert!(matches!(dst_ty, InterfaceType::S32));
|
861
|
+
self.push_dst_addr(dst);
|
862
|
+
match src {
|
863
|
+
Source::Memory(mem) => self.i32_load(mem),
|
864
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::I32),
|
865
|
+
}
|
866
|
+
match dst {
|
867
|
+
Destination::Memory(mem) => self.i32_store(mem),
|
868
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
869
|
+
}
|
870
|
+
}
|
871
|
+
|
872
|
+
fn translate_u64(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
873
|
+
// TODO: subtyping
|
874
|
+
assert!(matches!(dst_ty, InterfaceType::U64));
|
875
|
+
self.push_dst_addr(dst);
|
876
|
+
match src {
|
877
|
+
Source::Memory(mem) => self.i64_load(mem),
|
878
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::I64),
|
879
|
+
}
|
880
|
+
match dst {
|
881
|
+
Destination::Memory(mem) => self.i64_store(mem),
|
882
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I64),
|
883
|
+
}
|
884
|
+
}
|
885
|
+
|
886
|
+
fn translate_s64(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
887
|
+
// TODO: subtyping
|
888
|
+
assert!(matches!(dst_ty, InterfaceType::S64));
|
889
|
+
self.push_dst_addr(dst);
|
890
|
+
match src {
|
891
|
+
Source::Memory(mem) => self.i64_load(mem),
|
892
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::I64),
|
893
|
+
}
|
894
|
+
match dst {
|
895
|
+
Destination::Memory(mem) => self.i64_store(mem),
|
896
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I64),
|
897
|
+
}
|
898
|
+
}
|
899
|
+
|
900
|
+
fn translate_f32(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
901
|
+
// TODO: subtyping
|
902
|
+
assert!(matches!(dst_ty, InterfaceType::Float32));
|
903
|
+
self.push_dst_addr(dst);
|
904
|
+
match src {
|
905
|
+
Source::Memory(mem) => self.f32_load(mem),
|
906
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::F32),
|
907
|
+
}
|
908
|
+
match dst {
|
909
|
+
Destination::Memory(mem) => self.f32_store(mem),
|
910
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::F32),
|
911
|
+
}
|
912
|
+
}
|
913
|
+
|
914
|
+
fn translate_f64(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
915
|
+
// TODO: subtyping
|
916
|
+
assert!(matches!(dst_ty, InterfaceType::Float64));
|
917
|
+
self.push_dst_addr(dst);
|
918
|
+
match src {
|
919
|
+
Source::Memory(mem) => self.f64_load(mem),
|
920
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::F64),
|
921
|
+
}
|
922
|
+
match dst {
|
923
|
+
Destination::Memory(mem) => self.f64_store(mem),
|
924
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::F64),
|
925
|
+
}
|
926
|
+
}
|
927
|
+
|
928
|
+
fn translate_char(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
929
|
+
assert!(matches!(dst_ty, InterfaceType::Char));
|
930
|
+
match src {
|
931
|
+
Source::Memory(mem) => self.i32_load(mem),
|
932
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::I32),
|
933
|
+
}
|
934
|
+
let local = self.local_set_new_tmp(ValType::I32);
|
935
|
+
|
936
|
+
// This sequence is copied from the output of LLVM for:
|
937
|
+
//
|
938
|
+
// pub extern "C" fn foo(x: u32) -> char {
|
939
|
+
// char::try_from(x)
|
940
|
+
// .unwrap_or_else(|_| std::arch::wasm32::unreachable())
|
941
|
+
// }
|
942
|
+
//
|
943
|
+
// Apparently this does what's required by the canonical ABI:
|
944
|
+
//
|
945
|
+
// def i32_to_char(opts, i):
|
946
|
+
// trap_if(i >= 0x110000)
|
947
|
+
// trap_if(0xD800 <= i <= 0xDFFF)
|
948
|
+
// return chr(i)
|
949
|
+
//
|
950
|
+
// ... but I don't know how it works other than "well I trust LLVM"
|
951
|
+
self.instruction(Block(BlockType::Empty));
|
952
|
+
self.instruction(Block(BlockType::Empty));
|
953
|
+
self.instruction(LocalGet(local.idx));
|
954
|
+
self.instruction(I32Const(0xd800));
|
955
|
+
self.instruction(I32Xor);
|
956
|
+
self.instruction(I32Const(-0x110000));
|
957
|
+
self.instruction(I32Add);
|
958
|
+
self.instruction(I32Const(-0x10f800));
|
959
|
+
self.instruction(I32LtU);
|
960
|
+
self.instruction(BrIf(0));
|
961
|
+
self.instruction(LocalGet(local.idx));
|
962
|
+
self.instruction(I32Const(0x110000));
|
963
|
+
self.instruction(I32Ne);
|
964
|
+
self.instruction(BrIf(1));
|
965
|
+
self.instruction(End);
|
966
|
+
self.trap(Trap::InvalidChar);
|
967
|
+
self.instruction(End);
|
968
|
+
|
969
|
+
self.push_dst_addr(dst);
|
970
|
+
self.instruction(LocalGet(local.idx));
|
971
|
+
match dst {
|
972
|
+
Destination::Memory(mem) => {
|
973
|
+
self.i32_store(mem);
|
974
|
+
}
|
975
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
976
|
+
}
|
977
|
+
|
978
|
+
self.free_temp_local(local);
|
979
|
+
}
|
980
|
+
|
981
|
+
fn translate_string(&mut self, src: &Source<'_>, dst_ty: &InterfaceType, dst: &Destination) {
|
982
|
+
assert!(matches!(dst_ty, InterfaceType::String));
|
983
|
+
let src_opts = src.opts();
|
984
|
+
let dst_opts = dst.opts();
|
985
|
+
|
986
|
+
// Load the pointer/length of this string into temporary locals. These
|
987
|
+
// will be referenced a good deal so this just makes it easier to deal
|
988
|
+
// with them consistently below rather than trying to reload from memory
|
989
|
+
// for example.
|
990
|
+
match src {
|
991
|
+
Source::Stack(s) => {
|
992
|
+
assert_eq!(s.locals.len(), 2);
|
993
|
+
self.stack_get(&s.slice(0..1), src_opts.ptr());
|
994
|
+
self.stack_get(&s.slice(1..2), src_opts.ptr());
|
995
|
+
}
|
996
|
+
Source::Memory(mem) => {
|
997
|
+
self.ptr_load(mem);
|
998
|
+
self.ptr_load(&mem.bump(src_opts.ptr_size().into()));
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
let src_len = self.local_set_new_tmp(src_opts.ptr());
|
1002
|
+
let src_ptr = self.local_set_new_tmp(src_opts.ptr());
|
1003
|
+
let src_str = WasmString {
|
1004
|
+
ptr: src_ptr,
|
1005
|
+
len: src_len,
|
1006
|
+
opts: src_opts,
|
1007
|
+
};
|
1008
|
+
|
1009
|
+
let dst_str = match src_opts.string_encoding {
|
1010
|
+
StringEncoding::Utf8 => match dst_opts.string_encoding {
|
1011
|
+
StringEncoding::Utf8 => self.string_copy(&src_str, FE::Utf8, dst_opts, FE::Utf8),
|
1012
|
+
StringEncoding::Utf16 => self.string_utf8_to_utf16(&src_str, dst_opts),
|
1013
|
+
StringEncoding::CompactUtf16 => {
|
1014
|
+
self.string_to_compact(&src_str, FE::Utf8, dst_opts)
|
1015
|
+
}
|
1016
|
+
},
|
1017
|
+
|
1018
|
+
StringEncoding::Utf16 => {
|
1019
|
+
self.verify_aligned(src_opts, src_str.ptr.idx, 2);
|
1020
|
+
match dst_opts.string_encoding {
|
1021
|
+
StringEncoding::Utf8 => {
|
1022
|
+
self.string_deflate_to_utf8(&src_str, FE::Utf16, dst_opts)
|
1023
|
+
}
|
1024
|
+
StringEncoding::Utf16 => {
|
1025
|
+
self.string_copy(&src_str, FE::Utf16, dst_opts, FE::Utf16)
|
1026
|
+
}
|
1027
|
+
StringEncoding::CompactUtf16 => {
|
1028
|
+
self.string_to_compact(&src_str, FE::Utf16, dst_opts)
|
1029
|
+
}
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
StringEncoding::CompactUtf16 => {
|
1034
|
+
self.verify_aligned(src_opts, src_str.ptr.idx, 2);
|
1035
|
+
|
1036
|
+
// Test the tag big to see if this is a utf16 or a latin1 string
|
1037
|
+
// at runtime...
|
1038
|
+
self.instruction(LocalGet(src_str.len.idx));
|
1039
|
+
self.ptr_uconst(src_opts, UTF16_TAG);
|
1040
|
+
self.ptr_and(src_opts);
|
1041
|
+
self.ptr_if(src_opts, BlockType::Empty);
|
1042
|
+
|
1043
|
+
// In the utf16 block unset the upper bit from the length local
|
1044
|
+
// so further calculations have the right value. Afterwards the
|
1045
|
+
// string transcode proceeds assuming utf16.
|
1046
|
+
self.instruction(LocalGet(src_str.len.idx));
|
1047
|
+
self.ptr_uconst(src_opts, UTF16_TAG);
|
1048
|
+
self.ptr_xor(src_opts);
|
1049
|
+
self.instruction(LocalSet(src_str.len.idx));
|
1050
|
+
let s1 = match dst_opts.string_encoding {
|
1051
|
+
StringEncoding::Utf8 => {
|
1052
|
+
self.string_deflate_to_utf8(&src_str, FE::Utf16, dst_opts)
|
1053
|
+
}
|
1054
|
+
StringEncoding::Utf16 => {
|
1055
|
+
self.string_copy(&src_str, FE::Utf16, dst_opts, FE::Utf16)
|
1056
|
+
}
|
1057
|
+
StringEncoding::CompactUtf16 => {
|
1058
|
+
self.string_compact_utf16_to_compact(&src_str, dst_opts)
|
1059
|
+
}
|
1060
|
+
};
|
1061
|
+
|
1062
|
+
self.instruction(Else);
|
1063
|
+
|
1064
|
+
// In the latin1 block the `src_len` local is already the number
|
1065
|
+
// of code units, so the string transcoding is all that needs to
|
1066
|
+
// happen.
|
1067
|
+
let s2 = match dst_opts.string_encoding {
|
1068
|
+
StringEncoding::Utf16 => {
|
1069
|
+
self.string_copy(&src_str, FE::Latin1, dst_opts, FE::Utf16)
|
1070
|
+
}
|
1071
|
+
StringEncoding::Utf8 => {
|
1072
|
+
self.string_deflate_to_utf8(&src_str, FE::Latin1, dst_opts)
|
1073
|
+
}
|
1074
|
+
StringEncoding::CompactUtf16 => {
|
1075
|
+
self.string_copy(&src_str, FE::Latin1, dst_opts, FE::Latin1)
|
1076
|
+
}
|
1077
|
+
};
|
1078
|
+
// Set our `s2` generated locals to the `s2` generated locals
|
1079
|
+
// as the resulting pointer of this transcode.
|
1080
|
+
self.instruction(LocalGet(s2.ptr.idx));
|
1081
|
+
self.instruction(LocalSet(s1.ptr.idx));
|
1082
|
+
self.instruction(LocalGet(s2.len.idx));
|
1083
|
+
self.instruction(LocalSet(s1.len.idx));
|
1084
|
+
self.instruction(End);
|
1085
|
+
self.free_temp_local(s2.ptr);
|
1086
|
+
self.free_temp_local(s2.len);
|
1087
|
+
s1
|
1088
|
+
}
|
1089
|
+
};
|
1090
|
+
|
1091
|
+
// Store the ptr/length in the desired destination
|
1092
|
+
match dst {
|
1093
|
+
Destination::Stack(s, _) => {
|
1094
|
+
self.instruction(LocalGet(dst_str.ptr.idx));
|
1095
|
+
self.stack_set(&s[..1], dst_opts.ptr());
|
1096
|
+
self.instruction(LocalGet(dst_str.len.idx));
|
1097
|
+
self.stack_set(&s[1..], dst_opts.ptr());
|
1098
|
+
}
|
1099
|
+
Destination::Memory(mem) => {
|
1100
|
+
self.instruction(LocalGet(mem.addr.idx));
|
1101
|
+
self.instruction(LocalGet(dst_str.ptr.idx));
|
1102
|
+
self.ptr_store(mem);
|
1103
|
+
self.instruction(LocalGet(mem.addr.idx));
|
1104
|
+
self.instruction(LocalGet(dst_str.len.idx));
|
1105
|
+
self.ptr_store(&mem.bump(dst_opts.ptr_size().into()));
|
1106
|
+
}
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
self.free_temp_local(src_str.ptr);
|
1110
|
+
self.free_temp_local(src_str.len);
|
1111
|
+
self.free_temp_local(dst_str.ptr);
|
1112
|
+
self.free_temp_local(dst_str.len);
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
// Corresponding function for `store_string_copy` in the spec.
|
1116
|
+
//
|
1117
|
+
// This performs a transcoding of the string with a one-pass copy from
|
1118
|
+
// the `src` encoding to the `dst` encoding. This is only possible for
|
1119
|
+
// fixed encodings where the first allocation is guaranteed to be an
|
1120
|
+
// appropriate fit so it's not suitable for all encodings.
|
1121
|
+
//
|
1122
|
+
// Imported host transcoding functions here take the src/dst pointers as
|
1123
|
+
// well as the number of code units in the source (which always matches
|
1124
|
+
// the number of code units in the destination). There is no return
|
1125
|
+
// value from the transcode function since the encoding should always
|
1126
|
+
// work on the first pass.
|
1127
|
+
fn string_copy<'a>(
|
1128
|
+
&mut self,
|
1129
|
+
src: &WasmString<'_>,
|
1130
|
+
src_enc: FE,
|
1131
|
+
dst_opts: &'a Options,
|
1132
|
+
dst_enc: FE,
|
1133
|
+
) -> WasmString<'a> {
|
1134
|
+
assert!(dst_enc.width() >= src_enc.width());
|
1135
|
+
self.validate_string_length(src, dst_enc);
|
1136
|
+
|
1137
|
+
// Calculate the source byte length given the size of each code
|
1138
|
+
// unit. Note that this shouldn't overflow given
|
1139
|
+
// `validate_string_length` above.
|
1140
|
+
let mut src_byte_len_tmp = None;
|
1141
|
+
let src_byte_len = if src_enc.width() == 1 {
|
1142
|
+
src.len.idx
|
1143
|
+
} else {
|
1144
|
+
assert_eq!(src_enc.width(), 2);
|
1145
|
+
self.instruction(LocalGet(src.len.idx));
|
1146
|
+
self.ptr_uconst(src.opts, 1);
|
1147
|
+
self.ptr_shl(src.opts);
|
1148
|
+
let tmp = self.local_set_new_tmp(src.opts.ptr());
|
1149
|
+
let ret = tmp.idx;
|
1150
|
+
src_byte_len_tmp = Some(tmp);
|
1151
|
+
ret
|
1152
|
+
};
|
1153
|
+
|
1154
|
+
// Convert the source code units length to the destination byte
|
1155
|
+
// length type.
|
1156
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst_opts.ptr());
|
1157
|
+
let dst_len = self.local_tee_new_tmp(dst_opts.ptr());
|
1158
|
+
if dst_enc.width() > 1 {
|
1159
|
+
assert_eq!(dst_enc.width(), 2);
|
1160
|
+
self.ptr_uconst(dst_opts, 1);
|
1161
|
+
self.ptr_shl(dst_opts);
|
1162
|
+
}
|
1163
|
+
let dst_byte_len = self.local_set_new_tmp(dst_opts.ptr());
|
1164
|
+
|
1165
|
+
// Allocate space in the destination using the calculated byte
|
1166
|
+
// length.
|
1167
|
+
let dst = {
|
1168
|
+
let dst_mem = self.malloc(
|
1169
|
+
dst_opts,
|
1170
|
+
MallocSize::Local(dst_byte_len.idx),
|
1171
|
+
dst_enc.width().into(),
|
1172
|
+
);
|
1173
|
+
WasmString {
|
1174
|
+
ptr: dst_mem.addr,
|
1175
|
+
len: dst_len,
|
1176
|
+
opts: dst_opts,
|
1177
|
+
}
|
1178
|
+
};
|
1179
|
+
|
1180
|
+
// Validate that `src_len + src_ptr` and
|
1181
|
+
// `dst_mem.addr_local + dst_byte_len` are both in-bounds. This
|
1182
|
+
// is done by loading the last byte of the string and if that
|
1183
|
+
// doesn't trap then it's known valid.
|
1184
|
+
self.validate_string_inbounds(src, src_byte_len);
|
1185
|
+
self.validate_string_inbounds(&dst, dst_byte_len.idx);
|
1186
|
+
|
1187
|
+
// If the validations pass then the host `transcode` intrinsic
|
1188
|
+
// is invoked. This will either raise a trap or otherwise succeed
|
1189
|
+
// in which case we're done.
|
1190
|
+
let op = if src_enc == dst_enc {
|
1191
|
+
Transcode::Copy(src_enc)
|
1192
|
+
} else {
|
1193
|
+
assert_eq!(src_enc, FE::Latin1);
|
1194
|
+
assert_eq!(dst_enc, FE::Utf16);
|
1195
|
+
Transcode::Latin1ToUtf16
|
1196
|
+
};
|
1197
|
+
let transcode = self.transcoder(src, &dst, op);
|
1198
|
+
self.instruction(LocalGet(src.ptr.idx));
|
1199
|
+
self.instruction(LocalGet(src.len.idx));
|
1200
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1201
|
+
self.instruction(Call(transcode.as_u32()));
|
1202
|
+
|
1203
|
+
self.free_temp_local(dst_byte_len);
|
1204
|
+
if let Some(tmp) = src_byte_len_tmp {
|
1205
|
+
self.free_temp_local(tmp);
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
dst
|
1209
|
+
}
|
1210
|
+
// Corresponding function for `store_string_to_utf8` in the spec.
|
1211
|
+
//
|
1212
|
+
// This translation works by possibly performing a number of
|
1213
|
+
// reallocations. First a buffer of size input-code-units is used to try
|
1214
|
+
// to get the transcoding correct on the first try. If that fails the
|
1215
|
+
// maximum worst-case size is used and then that is resized down if it's
|
1216
|
+
// too large.
|
1217
|
+
//
|
1218
|
+
// The host transcoding function imported here will receive src ptr/len
|
1219
|
+
// and dst ptr/len and return how many code units were consumed on both
|
1220
|
+
// sides. The amount of code units consumed in the source dictates which
|
1221
|
+
// branches are taken in this conversion.
|
1222
|
+
fn string_deflate_to_utf8<'a>(
|
1223
|
+
&mut self,
|
1224
|
+
src: &WasmString<'_>,
|
1225
|
+
src_enc: FE,
|
1226
|
+
dst_opts: &'a Options,
|
1227
|
+
) -> WasmString<'a> {
|
1228
|
+
self.validate_string_length(src, src_enc);
|
1229
|
+
|
1230
|
+
// Optimistically assume that the code unit length of the source is
|
1231
|
+
// all that's needed in the destination. Perform that allocaiton
|
1232
|
+
// here and proceed to transcoding below.
|
1233
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst_opts.ptr());
|
1234
|
+
let dst_len = self.local_tee_new_tmp(dst_opts.ptr());
|
1235
|
+
let dst_byte_len = self.local_set_new_tmp(dst_opts.ptr());
|
1236
|
+
|
1237
|
+
let dst = {
|
1238
|
+
let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 1);
|
1239
|
+
WasmString {
|
1240
|
+
ptr: dst_mem.addr,
|
1241
|
+
len: dst_len,
|
1242
|
+
opts: dst_opts,
|
1243
|
+
}
|
1244
|
+
};
|
1245
|
+
|
1246
|
+
// Ensure buffers are all in-bounds
|
1247
|
+
let mut src_byte_len_tmp = None;
|
1248
|
+
let src_byte_len = match src_enc {
|
1249
|
+
FE::Latin1 => src.len.idx,
|
1250
|
+
FE::Utf16 => {
|
1251
|
+
self.instruction(LocalGet(src.len.idx));
|
1252
|
+
self.ptr_uconst(src.opts, 1);
|
1253
|
+
self.ptr_shl(src.opts);
|
1254
|
+
let tmp = self.local_set_new_tmp(src.opts.ptr());
|
1255
|
+
let ret = tmp.idx;
|
1256
|
+
src_byte_len_tmp = Some(tmp);
|
1257
|
+
ret
|
1258
|
+
}
|
1259
|
+
FE::Utf8 => unreachable!(),
|
1260
|
+
};
|
1261
|
+
self.validate_string_inbounds(src, src_byte_len);
|
1262
|
+
self.validate_string_inbounds(&dst, dst_byte_len.idx);
|
1263
|
+
|
1264
|
+
// Perform the initial transcode
|
1265
|
+
let op = match src_enc {
|
1266
|
+
FE::Latin1 => Transcode::Latin1ToUtf8,
|
1267
|
+
FE::Utf16 => Transcode::Utf16ToUtf8,
|
1268
|
+
FE::Utf8 => unreachable!(),
|
1269
|
+
};
|
1270
|
+
let transcode = self.transcoder(src, &dst, op);
|
1271
|
+
self.instruction(LocalGet(src.ptr.idx));
|
1272
|
+
self.instruction(LocalGet(src.len.idx));
|
1273
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1274
|
+
self.instruction(LocalGet(dst_byte_len.idx));
|
1275
|
+
self.instruction(Call(transcode.as_u32()));
|
1276
|
+
self.instruction(LocalSet(dst.len.idx));
|
1277
|
+
let src_len_tmp = self.local_set_new_tmp(src.opts.ptr());
|
1278
|
+
|
1279
|
+
// Test if the source was entirely transcoded by comparing
|
1280
|
+
// `src_len_tmp`, the number of code units transcoded from the
|
1281
|
+
// source, with `src_len`, the original number of code units.
|
1282
|
+
self.instruction(LocalGet(src_len_tmp.idx));
|
1283
|
+
self.instruction(LocalGet(src.len.idx));
|
1284
|
+
self.ptr_ne(src.opts);
|
1285
|
+
self.instruction(If(BlockType::Empty));
|
1286
|
+
|
1287
|
+
// Here a worst-case reallocation is performed to grow `dst_mem`.
|
1288
|
+
// In-line a check is also performed that the worst-case byte size
|
1289
|
+
// fits within the maximum size of strings.
|
1290
|
+
self.instruction(LocalGet(dst.ptr.idx)); // old_ptr
|
1291
|
+
self.instruction(LocalGet(dst_byte_len.idx)); // old_size
|
1292
|
+
self.ptr_uconst(dst.opts, 1); // align
|
1293
|
+
let factor = match src_enc {
|
1294
|
+
FE::Latin1 => 2,
|
1295
|
+
FE::Utf16 => 3,
|
1296
|
+
_ => unreachable!(),
|
1297
|
+
};
|
1298
|
+
self.validate_string_length_u8(src, factor);
|
1299
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst_opts.ptr());
|
1300
|
+
self.ptr_uconst(dst_opts, factor.into());
|
1301
|
+
self.ptr_mul(dst_opts);
|
1302
|
+
self.instruction(LocalTee(dst_byte_len.idx));
|
1303
|
+
self.instruction(Call(dst_opts.realloc.unwrap().as_u32()));
|
1304
|
+
self.instruction(LocalSet(dst.ptr.idx));
|
1305
|
+
|
1306
|
+
// Verify that the destination is still in-bounds
|
1307
|
+
self.validate_string_inbounds(&dst, dst_byte_len.idx);
|
1308
|
+
|
1309
|
+
// Perform another round of transcoding that should be guaranteed
|
1310
|
+
// to succeed. Note that all the parameters here are offset by the
|
1311
|
+
// results of the first transcoding to only perform the remaining
|
1312
|
+
// transcode on the final units.
|
1313
|
+
self.instruction(LocalGet(src.ptr.idx));
|
1314
|
+
self.instruction(LocalGet(src_len_tmp.idx));
|
1315
|
+
if let FE::Utf16 = src_enc {
|
1316
|
+
self.ptr_uconst(src.opts, 1);
|
1317
|
+
self.ptr_shl(src.opts);
|
1318
|
+
}
|
1319
|
+
self.ptr_add(src.opts);
|
1320
|
+
self.instruction(LocalGet(src.len.idx));
|
1321
|
+
self.instruction(LocalGet(src_len_tmp.idx));
|
1322
|
+
self.ptr_sub(src.opts);
|
1323
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1324
|
+
self.instruction(LocalGet(dst.len.idx));
|
1325
|
+
self.ptr_add(dst.opts);
|
1326
|
+
self.instruction(LocalGet(dst_byte_len.idx));
|
1327
|
+
self.instruction(LocalGet(dst.len.idx));
|
1328
|
+
self.ptr_sub(dst.opts);
|
1329
|
+
self.instruction(Call(transcode.as_u32()));
|
1330
|
+
|
1331
|
+
// Add the second result, the amount of destination units encoded,
|
1332
|
+
// to `dst_len` so it's an accurate reflection of the final size of
|
1333
|
+
// the destination buffer.
|
1334
|
+
self.instruction(LocalGet(dst.len.idx));
|
1335
|
+
self.ptr_add(dst.opts);
|
1336
|
+
self.instruction(LocalSet(dst.len.idx));
|
1337
|
+
|
1338
|
+
// In debug mode verify the first result consumed the entire string,
|
1339
|
+
// otherwise simply discard it.
|
1340
|
+
if self.module.debug {
|
1341
|
+
self.instruction(LocalGet(src.len.idx));
|
1342
|
+
self.instruction(LocalGet(src_len_tmp.idx));
|
1343
|
+
self.ptr_sub(src.opts);
|
1344
|
+
self.ptr_ne(src.opts);
|
1345
|
+
self.instruction(If(BlockType::Empty));
|
1346
|
+
self.trap(Trap::AssertFailed("should have finished encoding"));
|
1347
|
+
self.instruction(End);
|
1348
|
+
} else {
|
1349
|
+
self.instruction(Drop);
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
// Perform a downsizing if the worst-case size was too large
|
1353
|
+
self.instruction(LocalGet(dst.len.idx));
|
1354
|
+
self.instruction(LocalGet(dst_byte_len.idx));
|
1355
|
+
self.ptr_ne(dst.opts);
|
1356
|
+
self.instruction(If(BlockType::Empty));
|
1357
|
+
self.instruction(LocalGet(dst.ptr.idx)); // old_ptr
|
1358
|
+
self.instruction(LocalGet(dst_byte_len.idx)); // old_size
|
1359
|
+
self.ptr_uconst(dst.opts, 1); // align
|
1360
|
+
self.instruction(LocalGet(dst.len.idx)); // new_size
|
1361
|
+
self.instruction(Call(dst.opts.realloc.unwrap().as_u32()));
|
1362
|
+
self.instruction(LocalSet(dst.ptr.idx));
|
1363
|
+
self.instruction(End);
|
1364
|
+
|
1365
|
+
// If the first transcode was enough then assert that the returned
|
1366
|
+
// amount of destination items written equals the byte size.
|
1367
|
+
if self.module.debug {
|
1368
|
+
self.instruction(Else);
|
1369
|
+
|
1370
|
+
self.instruction(LocalGet(dst.len.idx));
|
1371
|
+
self.instruction(LocalGet(dst_byte_len.idx));
|
1372
|
+
self.ptr_ne(dst_opts);
|
1373
|
+
self.instruction(If(BlockType::Empty));
|
1374
|
+
self.trap(Trap::AssertFailed("should have finished encoding"));
|
1375
|
+
self.instruction(End);
|
1376
|
+
}
|
1377
|
+
|
1378
|
+
self.instruction(End); // end of "first transcode not enough"
|
1379
|
+
|
1380
|
+
self.free_temp_local(src_len_tmp);
|
1381
|
+
self.free_temp_local(dst_byte_len);
|
1382
|
+
if let Some(tmp) = src_byte_len_tmp {
|
1383
|
+
self.free_temp_local(tmp);
|
1384
|
+
}
|
1385
|
+
|
1386
|
+
dst
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
// Corresponds to the `store_utf8_to_utf16` function in the spec.
|
1390
|
+
//
|
1391
|
+
// When converting utf-8 to utf-16 a pessimistic allocation is
|
1392
|
+
// done which is twice the byte length of the utf-8 string.
|
1393
|
+
// The host then transcodes and returns how many code units were
|
1394
|
+
// actually used during the transcoding and if it's beneath the
|
1395
|
+
// pessimistic maximum then the buffer is reallocated down to
|
1396
|
+
// a smaller amount.
|
1397
|
+
//
|
1398
|
+
// The host-imported transcoding function takes the src/dst pointer as
|
1399
|
+
// well as the code unit size of both the source and destination. The
|
1400
|
+
// destination should always be big enough to hold the result of the
|
1401
|
+
// transcode and so the result of the host function is how many code
|
1402
|
+
// units were written to the destination.
|
1403
|
+
fn string_utf8_to_utf16<'a>(
|
1404
|
+
&mut self,
|
1405
|
+
src: &WasmString<'_>,
|
1406
|
+
dst_opts: &'a Options,
|
1407
|
+
) -> WasmString<'a> {
|
1408
|
+
self.validate_string_length(src, FE::Utf16);
|
1409
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst_opts.ptr());
|
1410
|
+
let dst_len = self.local_tee_new_tmp(dst_opts.ptr());
|
1411
|
+
self.ptr_uconst(dst_opts, 1);
|
1412
|
+
self.ptr_shl(dst_opts);
|
1413
|
+
let dst_byte_len = self.local_set_new_tmp(dst_opts.ptr());
|
1414
|
+
let dst = {
|
1415
|
+
let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2);
|
1416
|
+
WasmString {
|
1417
|
+
ptr: dst_mem.addr,
|
1418
|
+
len: dst_len,
|
1419
|
+
opts: dst_opts,
|
1420
|
+
}
|
1421
|
+
};
|
1422
|
+
|
1423
|
+
self.validate_string_inbounds(src, src.len.idx);
|
1424
|
+
self.validate_string_inbounds(&dst, dst_byte_len.idx);
|
1425
|
+
|
1426
|
+
let transcode = self.transcoder(src, &dst, Transcode::Utf8ToUtf16);
|
1427
|
+
self.instruction(LocalGet(src.ptr.idx));
|
1428
|
+
self.instruction(LocalGet(src.len.idx));
|
1429
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1430
|
+
self.instruction(Call(transcode.as_u32()));
|
1431
|
+
self.instruction(LocalSet(dst.len.idx));
|
1432
|
+
|
1433
|
+
// If the number of code units returned by transcode is not
|
1434
|
+
// equal to the original number of code units then
|
1435
|
+
// the buffer must be shrunk.
|
1436
|
+
//
|
1437
|
+
// Note that the byte length of the final allocation we
|
1438
|
+
// want is twice the code unit length returned by the
|
1439
|
+
// transcoding function.
|
1440
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst.opts.ptr());
|
1441
|
+
self.instruction(LocalGet(dst.len.idx));
|
1442
|
+
self.ptr_ne(dst_opts);
|
1443
|
+
self.instruction(If(BlockType::Empty));
|
1444
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1445
|
+
self.instruction(LocalGet(dst_byte_len.idx));
|
1446
|
+
self.ptr_uconst(dst.opts, 2);
|
1447
|
+
self.instruction(LocalGet(dst.len.idx));
|
1448
|
+
self.ptr_uconst(dst.opts, 1);
|
1449
|
+
self.ptr_shl(dst.opts);
|
1450
|
+
self.instruction(Call(dst.opts.realloc.unwrap().as_u32()));
|
1451
|
+
self.instruction(LocalSet(dst.ptr.idx));
|
1452
|
+
self.instruction(End); // end of shrink-to-fit
|
1453
|
+
|
1454
|
+
self.free_temp_local(dst_byte_len);
|
1455
|
+
|
1456
|
+
dst
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
// Corresponds to `store_probably_utf16_to_latin1_or_utf16` in the spec.
|
1460
|
+
//
|
1461
|
+
// This will try to transcode the input utf16 string to utf16 in the
|
1462
|
+
// destination. If utf16 isn't needed though and latin1 could be used
|
1463
|
+
// then that's used instead and a reallocation to downsize occurs
|
1464
|
+
// afterwards.
|
1465
|
+
//
|
1466
|
+
// The host transcode function here will take the src/dst pointers as
|
1467
|
+
// well as src length. The destination byte length is twice the src code
|
1468
|
+
// unit length. The return value is the tagged length of the returned
|
1469
|
+
// string. If the upper bit is set then utf16 was used and the
|
1470
|
+
// conversion is done. If the upper bit is not set then latin1 was used
|
1471
|
+
// and a downsizing needs to happen.
|
1472
|
+
fn string_compact_utf16_to_compact<'a>(
|
1473
|
+
&mut self,
|
1474
|
+
src: &WasmString<'_>,
|
1475
|
+
dst_opts: &'a Options,
|
1476
|
+
) -> WasmString<'a> {
|
1477
|
+
self.validate_string_length(src, FE::Utf16);
|
1478
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst_opts.ptr());
|
1479
|
+
let dst_len = self.local_tee_new_tmp(dst_opts.ptr());
|
1480
|
+
self.ptr_uconst(dst_opts, 1);
|
1481
|
+
self.ptr_shl(dst_opts);
|
1482
|
+
let dst_byte_len = self.local_set_new_tmp(dst_opts.ptr());
|
1483
|
+
let dst = {
|
1484
|
+
let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2);
|
1485
|
+
WasmString {
|
1486
|
+
ptr: dst_mem.addr,
|
1487
|
+
len: dst_len,
|
1488
|
+
opts: dst_opts,
|
1489
|
+
}
|
1490
|
+
};
|
1491
|
+
|
1492
|
+
self.convert_src_len_to_dst(dst_byte_len.idx, dst.opts.ptr(), src.opts.ptr());
|
1493
|
+
let src_byte_len = self.local_set_new_tmp(src.opts.ptr());
|
1494
|
+
|
1495
|
+
self.validate_string_inbounds(src, src_byte_len.idx);
|
1496
|
+
self.validate_string_inbounds(&dst, dst_byte_len.idx);
|
1497
|
+
|
1498
|
+
let transcode = self.transcoder(src, &dst, Transcode::Utf16ToCompactProbablyUtf16);
|
1499
|
+
self.instruction(LocalGet(src.ptr.idx));
|
1500
|
+
self.instruction(LocalGet(src.len.idx));
|
1501
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1502
|
+
self.instruction(Call(transcode.as_u32()));
|
1503
|
+
self.instruction(LocalSet(dst.len.idx));
|
1504
|
+
|
1505
|
+
// Assert that the untagged code unit length is the same as the
|
1506
|
+
// source code unit length.
|
1507
|
+
if self.module.debug {
|
1508
|
+
self.instruction(LocalGet(dst.len.idx));
|
1509
|
+
self.ptr_uconst(dst.opts, !UTF16_TAG);
|
1510
|
+
self.ptr_and(dst.opts);
|
1511
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst.opts.ptr());
|
1512
|
+
self.ptr_ne(dst.opts);
|
1513
|
+
self.instruction(If(BlockType::Empty));
|
1514
|
+
self.trap(Trap::AssertFailed("expected equal code units"));
|
1515
|
+
self.instruction(End);
|
1516
|
+
}
|
1517
|
+
|
1518
|
+
// If the UTF16_TAG is set then utf16 was used and the destination
|
1519
|
+
// should be appropriately sized. Bail out of the "is this string
|
1520
|
+
// empty" block and fall through otherwise to resizing.
|
1521
|
+
self.instruction(LocalGet(dst.len.idx));
|
1522
|
+
self.ptr_uconst(dst.opts, UTF16_TAG);
|
1523
|
+
self.ptr_and(dst.opts);
|
1524
|
+
self.ptr_br_if(dst.opts, 0);
|
1525
|
+
|
1526
|
+
// Here `realloc` is used to downsize the string
|
1527
|
+
self.instruction(LocalGet(dst.ptr.idx)); // old_ptr
|
1528
|
+
self.instruction(LocalGet(dst_byte_len.idx)); // old_size
|
1529
|
+
self.ptr_uconst(dst.opts, 2); // align
|
1530
|
+
self.instruction(LocalGet(dst.len.idx)); // new_size
|
1531
|
+
self.instruction(Call(dst.opts.realloc.unwrap().as_u32()));
|
1532
|
+
self.instruction(LocalSet(dst.ptr.idx));
|
1533
|
+
|
1534
|
+
self.free_temp_local(dst_byte_len);
|
1535
|
+
self.free_temp_local(src_byte_len);
|
1536
|
+
|
1537
|
+
dst
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
// Corresponds to `store_string_to_latin1_or_utf16` in the spec.
|
1541
|
+
//
|
1542
|
+
// This will attempt a first pass of transcoding to latin1 and on
|
1543
|
+
// failure a larger buffer is allocated for utf16 and then utf16 is
|
1544
|
+
// encoded in-place into the buffer. After either latin1 or utf16 the
|
1545
|
+
// buffer is then resized to fit the final string allocation.
|
1546
|
+
fn string_to_compact<'a>(
|
1547
|
+
&mut self,
|
1548
|
+
src: &WasmString<'_>,
|
1549
|
+
src_enc: FE,
|
1550
|
+
dst_opts: &'a Options,
|
1551
|
+
) -> WasmString<'a> {
|
1552
|
+
self.validate_string_length(src, src_enc);
|
1553
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst_opts.ptr());
|
1554
|
+
let dst_len = self.local_tee_new_tmp(dst_opts.ptr());
|
1555
|
+
let dst_byte_len = self.local_set_new_tmp(dst_opts.ptr());
|
1556
|
+
let dst = {
|
1557
|
+
let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2);
|
1558
|
+
WasmString {
|
1559
|
+
ptr: dst_mem.addr,
|
1560
|
+
len: dst_len,
|
1561
|
+
opts: dst_opts,
|
1562
|
+
}
|
1563
|
+
};
|
1564
|
+
|
1565
|
+
self.validate_string_inbounds(src, src.len.idx);
|
1566
|
+
self.validate_string_inbounds(&dst, dst_byte_len.idx);
|
1567
|
+
|
1568
|
+
// Perform the initial latin1 transcode. This returns the number of
|
1569
|
+
// source code units consumed and the number of destination code
|
1570
|
+
// units (bytes) written.
|
1571
|
+
let (latin1, utf16) = match src_enc {
|
1572
|
+
FE::Utf8 => (Transcode::Utf8ToLatin1, Transcode::Utf8ToCompactUtf16),
|
1573
|
+
FE::Utf16 => (Transcode::Utf16ToLatin1, Transcode::Utf16ToCompactUtf16),
|
1574
|
+
FE::Latin1 => unreachable!(),
|
1575
|
+
};
|
1576
|
+
let transcode_latin1 = self.transcoder(src, &dst, latin1);
|
1577
|
+
let transcode_utf16 = self.transcoder(src, &dst, utf16);
|
1578
|
+
self.instruction(LocalGet(src.ptr.idx));
|
1579
|
+
self.instruction(LocalGet(src.len.idx));
|
1580
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1581
|
+
self.instruction(Call(transcode_latin1.as_u32()));
|
1582
|
+
self.instruction(LocalSet(dst.len.idx));
|
1583
|
+
let src_len_tmp = self.local_set_new_tmp(src.opts.ptr());
|
1584
|
+
|
1585
|
+
// If the source was entirely consumed then the transcode completed
|
1586
|
+
// and all that's necessary is to optionally shrink the buffer.
|
1587
|
+
self.instruction(LocalGet(src_len_tmp.idx));
|
1588
|
+
self.instruction(LocalGet(src.len.idx));
|
1589
|
+
self.ptr_eq(src.opts);
|
1590
|
+
self.instruction(If(BlockType::Empty)); // if latin1-or-utf16 block
|
1591
|
+
|
1592
|
+
// Test if the original byte length of the allocation is the same as
|
1593
|
+
// the number of written bytes, and if not then shrink the buffer
|
1594
|
+
// with a call to `realloc`.
|
1595
|
+
self.instruction(LocalGet(dst_byte_len.idx));
|
1596
|
+
self.instruction(LocalGet(dst.len.idx));
|
1597
|
+
self.ptr_ne(dst.opts);
|
1598
|
+
self.instruction(If(BlockType::Empty));
|
1599
|
+
self.instruction(LocalGet(dst.ptr.idx)); // old_ptr
|
1600
|
+
self.instruction(LocalGet(dst_byte_len.idx)); // old_size
|
1601
|
+
self.ptr_uconst(dst.opts, 2); // align
|
1602
|
+
self.instruction(LocalGet(dst.len.idx)); // new_size
|
1603
|
+
self.instruction(Call(dst.opts.realloc.unwrap().as_u32()));
|
1604
|
+
self.instruction(LocalSet(dst.ptr.idx));
|
1605
|
+
self.instruction(End);
|
1606
|
+
|
1607
|
+
// In this block the latin1 encoding failed. The host transcode
|
1608
|
+
// returned how many units were consumed from the source and how
|
1609
|
+
// many bytes were written to the destination. Here the buffer is
|
1610
|
+
// inflated and sized and the second utf16 intrinsic is invoked to
|
1611
|
+
// perform the final inflation.
|
1612
|
+
self.instruction(Else); // else latin1-or-utf16 block
|
1613
|
+
|
1614
|
+
// For utf8 validate that the inflated size is still within bounds.
|
1615
|
+
if src_enc.width() == 1 {
|
1616
|
+
self.validate_string_length_u8(src, 2);
|
1617
|
+
}
|
1618
|
+
|
1619
|
+
// Reallocate the buffer with twice the source code units in byte
|
1620
|
+
// size.
|
1621
|
+
self.instruction(LocalGet(dst.ptr.idx)); // old_ptr
|
1622
|
+
self.instruction(LocalGet(dst_byte_len.idx)); // old_size
|
1623
|
+
self.ptr_uconst(dst.opts, 2); // align
|
1624
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst.opts.ptr());
|
1625
|
+
self.ptr_uconst(dst.opts, 1);
|
1626
|
+
self.ptr_shl(dst.opts);
|
1627
|
+
self.instruction(LocalTee(dst_byte_len.idx));
|
1628
|
+
self.instruction(Call(dst.opts.realloc.unwrap().as_u32()));
|
1629
|
+
self.instruction(LocalSet(dst.ptr.idx));
|
1630
|
+
|
1631
|
+
// Call the host utf16 transcoding function. This will inflate the
|
1632
|
+
// prior latin1 bytes and then encode the rest of the source string
|
1633
|
+
// as utf16 into the remaining space in the destination buffer.
|
1634
|
+
self.instruction(LocalGet(src.ptr.idx));
|
1635
|
+
self.instruction(LocalGet(src_len_tmp.idx));
|
1636
|
+
if let FE::Utf16 = src_enc {
|
1637
|
+
self.ptr_uconst(src.opts, 1);
|
1638
|
+
self.ptr_shl(src.opts);
|
1639
|
+
}
|
1640
|
+
self.ptr_add(src.opts);
|
1641
|
+
self.instruction(LocalGet(src.len.idx));
|
1642
|
+
self.instruction(LocalGet(src_len_tmp.idx));
|
1643
|
+
self.ptr_sub(src.opts);
|
1644
|
+
self.instruction(LocalGet(dst.ptr.idx));
|
1645
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst.opts.ptr());
|
1646
|
+
self.instruction(LocalGet(dst.len.idx));
|
1647
|
+
self.instruction(Call(transcode_utf16.as_u32()));
|
1648
|
+
self.instruction(LocalSet(dst.len.idx));
|
1649
|
+
|
1650
|
+
// If the returned number of code units written to the destination
|
1651
|
+
// is not equal to the size of the allocation then the allocation is
|
1652
|
+
// resized down to the appropriate size.
|
1653
|
+
//
|
1654
|
+
// Note that the byte size desired is `2*dst_len` and the current
|
1655
|
+
// byte buffer size is `2*src_len` so the `2` factor isn't checked
|
1656
|
+
// here, just the lengths.
|
1657
|
+
self.instruction(LocalGet(dst.len.idx));
|
1658
|
+
self.convert_src_len_to_dst(src.len.idx, src.opts.ptr(), dst.opts.ptr());
|
1659
|
+
self.ptr_ne(dst.opts);
|
1660
|
+
self.instruction(If(BlockType::Empty));
|
1661
|
+
self.instruction(LocalGet(dst.ptr.idx)); // old_ptr
|
1662
|
+
self.instruction(LocalGet(dst_byte_len.idx)); // old_size
|
1663
|
+
self.ptr_uconst(dst.opts, 2); // align
|
1664
|
+
self.instruction(LocalGet(dst.len.idx));
|
1665
|
+
self.ptr_uconst(dst.opts, 1);
|
1666
|
+
self.ptr_shl(dst.opts);
|
1667
|
+
self.instruction(Call(dst.opts.realloc.unwrap().as_u32()));
|
1668
|
+
self.instruction(LocalSet(dst.ptr.idx));
|
1669
|
+
self.instruction(End);
|
1670
|
+
|
1671
|
+
// Tag the returned pointer as utf16
|
1672
|
+
self.instruction(LocalGet(dst.len.idx));
|
1673
|
+
self.ptr_uconst(dst.opts, UTF16_TAG);
|
1674
|
+
self.ptr_or(dst.opts);
|
1675
|
+
self.instruction(LocalSet(dst.len.idx));
|
1676
|
+
|
1677
|
+
self.instruction(End); // end latin1-or-utf16 block
|
1678
|
+
|
1679
|
+
self.free_temp_local(src_len_tmp);
|
1680
|
+
self.free_temp_local(dst_byte_len);
|
1681
|
+
|
1682
|
+
dst
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
fn validate_string_length(&mut self, src: &WasmString<'_>, dst: FE) {
|
1686
|
+
self.validate_string_length_u8(src, dst.width())
|
1687
|
+
}
|
1688
|
+
|
1689
|
+
fn validate_string_length_u8(&mut self, s: &WasmString<'_>, dst: u8) {
|
1690
|
+
// Check to see if the source byte length is out of bounds in
|
1691
|
+
// which case a trap is generated.
|
1692
|
+
self.instruction(LocalGet(s.len.idx));
|
1693
|
+
let max = MAX_STRING_BYTE_LENGTH / u32::from(dst);
|
1694
|
+
self.ptr_uconst(s.opts, max);
|
1695
|
+
self.ptr_ge_u(s.opts);
|
1696
|
+
self.instruction(If(BlockType::Empty));
|
1697
|
+
self.trap(Trap::StringLengthTooBig);
|
1698
|
+
self.instruction(End);
|
1699
|
+
}
|
1700
|
+
|
1701
|
+
fn transcoder(
|
1702
|
+
&mut self,
|
1703
|
+
src: &WasmString<'_>,
|
1704
|
+
dst: &WasmString<'_>,
|
1705
|
+
op: Transcode,
|
1706
|
+
) -> FuncIndex {
|
1707
|
+
self.module.import_transcoder(Transcoder {
|
1708
|
+
from_memory: src.opts.memory.unwrap(),
|
1709
|
+
from_memory64: src.opts.memory64,
|
1710
|
+
to_memory: dst.opts.memory.unwrap(),
|
1711
|
+
to_memory64: dst.opts.memory64,
|
1712
|
+
op,
|
1713
|
+
})
|
1714
|
+
}
|
1715
|
+
|
1716
|
+
fn validate_string_inbounds(&mut self, s: &WasmString<'_>, byte_len: u32) {
|
1717
|
+
self.validate_memory_inbounds(s.opts, s.ptr.idx, byte_len, Trap::StringLengthOverflow)
|
1718
|
+
}
|
1719
|
+
|
1720
|
+
fn validate_memory_inbounds(
|
1721
|
+
&mut self,
|
1722
|
+
opts: &Options,
|
1723
|
+
ptr_local: u32,
|
1724
|
+
byte_len_local: u32,
|
1725
|
+
trap: Trap,
|
1726
|
+
) {
|
1727
|
+
let extend_to_64 = |me: &mut Self| {
|
1728
|
+
if !opts.memory64 {
|
1729
|
+
me.instruction(I64ExtendI32U);
|
1730
|
+
}
|
1731
|
+
};
|
1732
|
+
|
1733
|
+
self.instruction(Block(BlockType::Empty));
|
1734
|
+
self.instruction(Block(BlockType::Empty));
|
1735
|
+
|
1736
|
+
// Calculate the full byte size of memory with `memory.size`. Note that
|
1737
|
+
// arithmetic here is done always in 64-bits to accomodate 4G memories.
|
1738
|
+
// Additionally it's assumed that 64-bit memories never fill up
|
1739
|
+
// entirely.
|
1740
|
+
self.instruction(MemorySize(opts.memory.unwrap().as_u32()));
|
1741
|
+
extend_to_64(self);
|
1742
|
+
self.instruction(I64Const(16));
|
1743
|
+
self.instruction(I64Shl);
|
1744
|
+
|
1745
|
+
// Calculate the end address of the string. This is done by adding the
|
1746
|
+
// base pointer to the byte length. For 32-bit memories there's no need
|
1747
|
+
// to check for overflow since everything is extended to 64-bit, but for
|
1748
|
+
// 64-bit memories overflow is checked.
|
1749
|
+
self.instruction(LocalGet(ptr_local));
|
1750
|
+
extend_to_64(self);
|
1751
|
+
self.instruction(LocalGet(byte_len_local));
|
1752
|
+
extend_to_64(self);
|
1753
|
+
self.instruction(I64Add);
|
1754
|
+
if opts.memory64 {
|
1755
|
+
let tmp = self.local_tee_new_tmp(ValType::I64);
|
1756
|
+
self.instruction(LocalGet(ptr_local));
|
1757
|
+
self.ptr_lt_u(opts);
|
1758
|
+
self.instruction(BrIf(0));
|
1759
|
+
self.instruction(LocalGet(tmp.idx));
|
1760
|
+
self.free_temp_local(tmp);
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
// If the byte size of memory is greater than the final address of the
|
1764
|
+
// string then the string is invalid. Note that if it's precisely equal
|
1765
|
+
// then that's ok.
|
1766
|
+
self.instruction(I64GeU);
|
1767
|
+
self.instruction(BrIf(1));
|
1768
|
+
|
1769
|
+
self.instruction(End);
|
1770
|
+
self.trap(trap);
|
1771
|
+
self.instruction(End);
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
fn translate_list(
|
1775
|
+
&mut self,
|
1776
|
+
src_ty: TypeListIndex,
|
1777
|
+
src: &Source<'_>,
|
1778
|
+
dst_ty: &InterfaceType,
|
1779
|
+
dst: &Destination,
|
1780
|
+
) {
|
1781
|
+
let src_element_ty = &self.types[src_ty].element;
|
1782
|
+
let dst_element_ty = match dst_ty {
|
1783
|
+
InterfaceType::List(r) => &self.types[*r].element,
|
1784
|
+
_ => panic!("expected a list"),
|
1785
|
+
};
|
1786
|
+
let src_opts = src.opts();
|
1787
|
+
let dst_opts = dst.opts();
|
1788
|
+
let (src_size, src_align) = self.types.size_align(src_opts, src_element_ty);
|
1789
|
+
let (dst_size, dst_align) = self.types.size_align(dst_opts, dst_element_ty);
|
1790
|
+
|
1791
|
+
// Load the pointer/length of this list into temporary locals. These
|
1792
|
+
// will be referenced a good deal so this just makes it easier to deal
|
1793
|
+
// with them consistently below rather than trying to reload from memory
|
1794
|
+
// for example.
|
1795
|
+
match src {
|
1796
|
+
Source::Stack(s) => {
|
1797
|
+
assert_eq!(s.locals.len(), 2);
|
1798
|
+
self.stack_get(&s.slice(0..1), src_opts.ptr());
|
1799
|
+
self.stack_get(&s.slice(1..2), src_opts.ptr());
|
1800
|
+
}
|
1801
|
+
Source::Memory(mem) => {
|
1802
|
+
self.ptr_load(mem);
|
1803
|
+
self.ptr_load(&mem.bump(src_opts.ptr_size().into()));
|
1804
|
+
}
|
1805
|
+
}
|
1806
|
+
let src_len = self.local_set_new_tmp(src_opts.ptr());
|
1807
|
+
let src_ptr = self.local_set_new_tmp(src_opts.ptr());
|
1808
|
+
|
1809
|
+
// Create a `Memory` operand which will internally assert that the
|
1810
|
+
// `src_ptr` value is properly aligned.
|
1811
|
+
let src_mem = self.memory_operand(src_opts, src_ptr, src_align);
|
1812
|
+
|
1813
|
+
// Calculate the source/destination byte lengths into unique locals.
|
1814
|
+
let src_byte_len = self.calculate_list_byte_len(src_opts, src_len.idx, src_size);
|
1815
|
+
let dst_byte_len = if src_size == dst_size {
|
1816
|
+
self.convert_src_len_to_dst(src_byte_len.idx, src_opts.ptr(), dst_opts.ptr());
|
1817
|
+
self.local_set_new_tmp(dst_opts.ptr())
|
1818
|
+
} else if src_opts.ptr() == dst_opts.ptr() {
|
1819
|
+
self.calculate_list_byte_len(dst_opts, src_len.idx, dst_size)
|
1820
|
+
} else {
|
1821
|
+
self.convert_src_len_to_dst(src_byte_len.idx, src_opts.ptr(), dst_opts.ptr());
|
1822
|
+
let tmp = self.local_set_new_tmp(dst_opts.ptr());
|
1823
|
+
let ret = self.calculate_list_byte_len(dst_opts, tmp.idx, dst_size);
|
1824
|
+
self.free_temp_local(tmp);
|
1825
|
+
ret
|
1826
|
+
};
|
1827
|
+
|
1828
|
+
// Here `realloc` is invoked (in a `malloc`-like fashion) to allocate
|
1829
|
+
// space for the list in the destination memory. This will also
|
1830
|
+
// internally insert checks that the returned pointer is aligned
|
1831
|
+
// correctly for the destination.
|
1832
|
+
let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), dst_align);
|
1833
|
+
|
1834
|
+
// With all the pointers and byte lengths verity that both the source
|
1835
|
+
// and the destination buffers are in-bounds.
|
1836
|
+
self.validate_memory_inbounds(
|
1837
|
+
src_opts,
|
1838
|
+
src_mem.addr.idx,
|
1839
|
+
src_byte_len.idx,
|
1840
|
+
Trap::ListByteLengthOverflow,
|
1841
|
+
);
|
1842
|
+
self.validate_memory_inbounds(
|
1843
|
+
dst_opts,
|
1844
|
+
dst_mem.addr.idx,
|
1845
|
+
dst_byte_len.idx,
|
1846
|
+
Trap::ListByteLengthOverflow,
|
1847
|
+
);
|
1848
|
+
|
1849
|
+
self.free_temp_local(src_byte_len);
|
1850
|
+
self.free_temp_local(dst_byte_len);
|
1851
|
+
|
1852
|
+
// This is the main body of the loop to actually translate list types.
|
1853
|
+
// Note that if both element sizes are 0 then this won't actually do
|
1854
|
+
// anything so the loop is removed entirely.
|
1855
|
+
if src_size > 0 || dst_size > 0 {
|
1856
|
+
// This block encompasses the entire loop and is use to exit before even
|
1857
|
+
// entering the loop if the list size is zero.
|
1858
|
+
self.instruction(Block(BlockType::Empty));
|
1859
|
+
|
1860
|
+
// Set the `remaining` local and only continue if it's > 0
|
1861
|
+
self.instruction(LocalGet(src_len.idx));
|
1862
|
+
let remaining = self.local_tee_new_tmp(src_opts.ptr());
|
1863
|
+
self.ptr_eqz(src_opts);
|
1864
|
+
self.instruction(BrIf(0));
|
1865
|
+
|
1866
|
+
// Initialize the two destination pointers to their initial values
|
1867
|
+
self.instruction(LocalGet(src_mem.addr.idx));
|
1868
|
+
let cur_src_ptr = self.local_set_new_tmp(src_opts.ptr());
|
1869
|
+
self.instruction(LocalGet(dst_mem.addr.idx));
|
1870
|
+
let cur_dst_ptr = self.local_set_new_tmp(dst_opts.ptr());
|
1871
|
+
|
1872
|
+
self.instruction(Loop(BlockType::Empty));
|
1873
|
+
|
1874
|
+
// Translate the next element in the list
|
1875
|
+
let element_src = Source::Memory(Memory {
|
1876
|
+
opts: src_opts,
|
1877
|
+
offset: 0,
|
1878
|
+
addr: TempLocal::new(cur_src_ptr.idx, cur_src_ptr.ty),
|
1879
|
+
});
|
1880
|
+
let element_dst = Destination::Memory(Memory {
|
1881
|
+
opts: dst_opts,
|
1882
|
+
offset: 0,
|
1883
|
+
addr: TempLocal::new(cur_dst_ptr.idx, cur_dst_ptr.ty),
|
1884
|
+
});
|
1885
|
+
self.translate(src_element_ty, &element_src, dst_element_ty, &element_dst);
|
1886
|
+
|
1887
|
+
// Update the two loop pointers
|
1888
|
+
if src_size > 0 {
|
1889
|
+
self.instruction(LocalGet(cur_src_ptr.idx));
|
1890
|
+
self.ptr_uconst(src_opts, src_size);
|
1891
|
+
self.ptr_add(src_opts);
|
1892
|
+
self.instruction(LocalSet(cur_src_ptr.idx));
|
1893
|
+
}
|
1894
|
+
if dst_size > 0 {
|
1895
|
+
self.instruction(LocalGet(cur_dst_ptr.idx));
|
1896
|
+
self.ptr_uconst(dst_opts, dst_size);
|
1897
|
+
self.ptr_add(dst_opts);
|
1898
|
+
self.instruction(LocalSet(cur_dst_ptr.idx));
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
// Update the remaining count, falling through to break out if it's zero
|
1902
|
+
// now.
|
1903
|
+
self.instruction(LocalGet(remaining.idx));
|
1904
|
+
self.ptr_iconst(src_opts, -1);
|
1905
|
+
self.ptr_add(src_opts);
|
1906
|
+
self.instruction(LocalTee(remaining.idx));
|
1907
|
+
self.ptr_br_if(src_opts, 0);
|
1908
|
+
self.instruction(End); // end of loop
|
1909
|
+
self.instruction(End); // end of block
|
1910
|
+
|
1911
|
+
self.free_temp_local(cur_dst_ptr);
|
1912
|
+
self.free_temp_local(cur_src_ptr);
|
1913
|
+
self.free_temp_local(remaining);
|
1914
|
+
}
|
1915
|
+
|
1916
|
+
// Store the ptr/length in the desired destination
|
1917
|
+
match dst {
|
1918
|
+
Destination::Stack(s, _) => {
|
1919
|
+
self.instruction(LocalGet(dst_mem.addr.idx));
|
1920
|
+
self.stack_set(&s[..1], dst_opts.ptr());
|
1921
|
+
self.convert_src_len_to_dst(src_len.idx, src_opts.ptr(), dst_opts.ptr());
|
1922
|
+
self.stack_set(&s[1..], dst_opts.ptr());
|
1923
|
+
}
|
1924
|
+
Destination::Memory(mem) => {
|
1925
|
+
self.instruction(LocalGet(mem.addr.idx));
|
1926
|
+
self.instruction(LocalGet(dst_mem.addr.idx));
|
1927
|
+
self.ptr_store(mem);
|
1928
|
+
self.instruction(LocalGet(mem.addr.idx));
|
1929
|
+
self.convert_src_len_to_dst(src_len.idx, src_opts.ptr(), dst_opts.ptr());
|
1930
|
+
self.ptr_store(&mem.bump(dst_opts.ptr_size().into()));
|
1931
|
+
}
|
1932
|
+
}
|
1933
|
+
|
1934
|
+
self.free_temp_local(src_len);
|
1935
|
+
self.free_temp_local(src_mem.addr);
|
1936
|
+
self.free_temp_local(dst_mem.addr);
|
1937
|
+
}
|
1938
|
+
|
1939
|
+
fn calculate_list_byte_len(
|
1940
|
+
&mut self,
|
1941
|
+
opts: &Options,
|
1942
|
+
len_local: u32,
|
1943
|
+
elt_size: u32,
|
1944
|
+
) -> TempLocal {
|
1945
|
+
// Zero-size types are easy to handle here because the byte size of the
|
1946
|
+
// destination is always zero.
|
1947
|
+
if elt_size == 0 {
|
1948
|
+
self.ptr_uconst(opts, 0);
|
1949
|
+
return self.local_set_new_tmp(opts.ptr());
|
1950
|
+
}
|
1951
|
+
|
1952
|
+
// For one-byte elements in the destination the check here can be a bit
|
1953
|
+
// more optimal than the general case below. In these situations if the
|
1954
|
+
// source pointer type is 32-bit then we're guaranteed to not overflow,
|
1955
|
+
// so the source length is simply casted to the destination's type.
|
1956
|
+
//
|
1957
|
+
// If the source is 64-bit then all that needs to be checked is to
|
1958
|
+
// ensure that it does not have the upper 32-bits set.
|
1959
|
+
if elt_size == 1 {
|
1960
|
+
if let ValType::I64 = opts.ptr() {
|
1961
|
+
self.instruction(LocalGet(len_local));
|
1962
|
+
self.instruction(I64Const(32));
|
1963
|
+
self.instruction(I64ShrU);
|
1964
|
+
self.instruction(I32WrapI64);
|
1965
|
+
self.instruction(If(BlockType::Empty));
|
1966
|
+
self.trap(Trap::ListByteLengthOverflow);
|
1967
|
+
self.instruction(End);
|
1968
|
+
}
|
1969
|
+
self.instruction(LocalGet(len_local));
|
1970
|
+
return self.local_set_new_tmp(opts.ptr());
|
1971
|
+
}
|
1972
|
+
|
1973
|
+
// The main check implemented by this function is to verify that
|
1974
|
+
// `src_len_local` does not exceed the 32-bit range. Byte sizes for
|
1975
|
+
// lists must always fit in 32-bits to get transferred to 32-bit
|
1976
|
+
// memories.
|
1977
|
+
self.instruction(Block(BlockType::Empty));
|
1978
|
+
self.instruction(Block(BlockType::Empty));
|
1979
|
+
self.instruction(LocalGet(len_local));
|
1980
|
+
match opts.ptr() {
|
1981
|
+
// The source's list length is guaranteed to be less than 32-bits
|
1982
|
+
// so simply extend it up to a 64-bit type for the multiplication
|
1983
|
+
// below.
|
1984
|
+
ValType::I32 => self.instruction(I64ExtendI32U),
|
1985
|
+
|
1986
|
+
// If the source is a 64-bit memory then if the item length doesn't
|
1987
|
+
// fit in 32-bits the byte length definitely won't, so generate a
|
1988
|
+
// branch to our overflow trap here if any of the upper 32-bits are set.
|
1989
|
+
ValType::I64 => {
|
1990
|
+
self.instruction(I64Const(32));
|
1991
|
+
self.instruction(I64ShrU);
|
1992
|
+
self.instruction(I32WrapI64);
|
1993
|
+
self.instruction(BrIf(0));
|
1994
|
+
self.instruction(LocalGet(len_local));
|
1995
|
+
}
|
1996
|
+
|
1997
|
+
_ => unreachable!(),
|
1998
|
+
}
|
1999
|
+
|
2000
|
+
// Next perform a 64-bit multiplication with the element byte size that
|
2001
|
+
// is itself guaranteed to fit in 32-bits. The result is then checked
|
2002
|
+
// to see if we overflowed the 32-bit space. The two input operands to
|
2003
|
+
// the multiplication are guaranteed to be 32-bits at most which means
|
2004
|
+
// that this multiplication shouldn't overflow.
|
2005
|
+
//
|
2006
|
+
// The result of the multiplication is saved into a local as well to
|
2007
|
+
// get the result afterwards.
|
2008
|
+
self.instruction(I64Const(elt_size.into()));
|
2009
|
+
self.instruction(I64Mul);
|
2010
|
+
let tmp = self.local_tee_new_tmp(ValType::I64);
|
2011
|
+
// Branch to success if the upper 32-bits are zero, otherwise
|
2012
|
+
// fall-through to the trap.
|
2013
|
+
self.instruction(I64Const(32));
|
2014
|
+
self.instruction(I64ShrU);
|
2015
|
+
self.instruction(I64Eqz);
|
2016
|
+
self.instruction(BrIf(1));
|
2017
|
+
self.instruction(End);
|
2018
|
+
self.trap(Trap::ListByteLengthOverflow);
|
2019
|
+
self.instruction(End);
|
2020
|
+
|
2021
|
+
// If a fresh local was used to store the result of the multiplication
|
2022
|
+
// then convert it down to 32-bits which should be guaranteed to not
|
2023
|
+
// lose information at this point.
|
2024
|
+
if opts.ptr() == ValType::I64 {
|
2025
|
+
tmp
|
2026
|
+
} else {
|
2027
|
+
self.instruction(LocalGet(tmp.idx));
|
2028
|
+
self.instruction(I32WrapI64);
|
2029
|
+
self.free_temp_local(tmp);
|
2030
|
+
self.local_set_new_tmp(ValType::I32)
|
2031
|
+
}
|
2032
|
+
}
|
2033
|
+
|
2034
|
+
fn convert_src_len_to_dst(
|
2035
|
+
&mut self,
|
2036
|
+
src_len_local: u32,
|
2037
|
+
src_ptr_ty: ValType,
|
2038
|
+
dst_ptr_ty: ValType,
|
2039
|
+
) {
|
2040
|
+
self.instruction(LocalGet(src_len_local));
|
2041
|
+
match (src_ptr_ty, dst_ptr_ty) {
|
2042
|
+
(ValType::I32, ValType::I64) => self.instruction(I64ExtendI32U),
|
2043
|
+
(ValType::I64, ValType::I32) => self.instruction(I32WrapI64),
|
2044
|
+
(src, dst) => assert_eq!(src, dst),
|
2045
|
+
}
|
2046
|
+
}
|
2047
|
+
|
2048
|
+
fn translate_record(
|
2049
|
+
&mut self,
|
2050
|
+
src_ty: TypeRecordIndex,
|
2051
|
+
src: &Source<'_>,
|
2052
|
+
dst_ty: &InterfaceType,
|
2053
|
+
dst: &Destination,
|
2054
|
+
) {
|
2055
|
+
let src_ty = &self.types[src_ty];
|
2056
|
+
let dst_ty = match dst_ty {
|
2057
|
+
InterfaceType::Record(r) => &self.types[*r],
|
2058
|
+
_ => panic!("expected a record"),
|
2059
|
+
};
|
2060
|
+
|
2061
|
+
// TODO: subtyping
|
2062
|
+
assert_eq!(src_ty.fields.len(), dst_ty.fields.len());
|
2063
|
+
|
2064
|
+
// First a map is made of the source fields to where they're coming
|
2065
|
+
// from (e.g. which offset or which locals). This map is keyed by the
|
2066
|
+
// fields' names
|
2067
|
+
let mut src_fields = HashMap::new();
|
2068
|
+
for (i, src) in src
|
2069
|
+
.record_field_srcs(self.types, src_ty.fields.iter().map(|f| f.ty))
|
2070
|
+
.enumerate()
|
2071
|
+
{
|
2072
|
+
let field = &src_ty.fields[i];
|
2073
|
+
src_fields.insert(&field.name, (src, &field.ty));
|
2074
|
+
}
|
2075
|
+
|
2076
|
+
// .. and next translation is performed in the order of the destination
|
2077
|
+
// fields in case the destination is the stack to ensure that the stack
|
2078
|
+
// has the fields all in the right order.
|
2079
|
+
//
|
2080
|
+
// Note that the lookup in `src_fields` is an infallible lookup which
|
2081
|
+
// will panic if the field isn't found.
|
2082
|
+
//
|
2083
|
+
// TODO: should that lookup be fallible with subtyping?
|
2084
|
+
for (i, dst) in dst
|
2085
|
+
.record_field_dsts(self.types, dst_ty.fields.iter().map(|f| f.ty))
|
2086
|
+
.enumerate()
|
2087
|
+
{
|
2088
|
+
let field = &dst_ty.fields[i];
|
2089
|
+
let (src, src_ty) = &src_fields[&field.name];
|
2090
|
+
self.translate(src_ty, src, &field.ty, &dst);
|
2091
|
+
}
|
2092
|
+
}
|
2093
|
+
|
2094
|
+
fn translate_flags(
|
2095
|
+
&mut self,
|
2096
|
+
src_ty: TypeFlagsIndex,
|
2097
|
+
src: &Source<'_>,
|
2098
|
+
dst_ty: &InterfaceType,
|
2099
|
+
dst: &Destination,
|
2100
|
+
) {
|
2101
|
+
let src_ty = &self.types[src_ty];
|
2102
|
+
let dst_ty = match dst_ty {
|
2103
|
+
InterfaceType::Flags(r) => &self.types[*r],
|
2104
|
+
_ => panic!("expected a record"),
|
2105
|
+
};
|
2106
|
+
|
2107
|
+
// TODO: subtyping
|
2108
|
+
//
|
2109
|
+
// Notably this implementation does not support reordering flags from
|
2110
|
+
// the source to the destination nor having more flags in the
|
2111
|
+
// destination. Currently this is a copy from source to destination
|
2112
|
+
// in-bulk. Otherwise reordering indices would have to have some sort of
|
2113
|
+
// fancy bit twiddling tricks or something like that.
|
2114
|
+
assert_eq!(src_ty.names, dst_ty.names);
|
2115
|
+
let cnt = src_ty.names.len();
|
2116
|
+
match FlagsSize::from_count(cnt) {
|
2117
|
+
FlagsSize::Size0 => {}
|
2118
|
+
FlagsSize::Size1 => {
|
2119
|
+
let mask = if cnt == 8 { 0xff } else { (1 << cnt) - 1 };
|
2120
|
+
self.convert_u8_mask(src, dst, mask);
|
2121
|
+
}
|
2122
|
+
FlagsSize::Size2 => {
|
2123
|
+
let mask = if cnt == 16 { 0xffff } else { (1 << cnt) - 1 };
|
2124
|
+
self.convert_u16_mask(src, dst, mask);
|
2125
|
+
}
|
2126
|
+
FlagsSize::Size4Plus(n) => {
|
2127
|
+
let srcs = src.record_field_srcs(self.types, (0..n).map(|_| InterfaceType::U32));
|
2128
|
+
let dsts = dst.record_field_dsts(self.types, (0..n).map(|_| InterfaceType::U32));
|
2129
|
+
let n = usize::from(n);
|
2130
|
+
for (i, (src, dst)) in srcs.zip(dsts).enumerate() {
|
2131
|
+
let mask = if i == n - 1 && (cnt % 32 != 0) {
|
2132
|
+
(1 << (cnt % 32)) - 1
|
2133
|
+
} else {
|
2134
|
+
0xffffffff
|
2135
|
+
};
|
2136
|
+
self.convert_u32_mask(&src, &dst, mask);
|
2137
|
+
}
|
2138
|
+
}
|
2139
|
+
}
|
2140
|
+
}
|
2141
|
+
|
2142
|
+
fn translate_tuple(
|
2143
|
+
&mut self,
|
2144
|
+
src_ty: TypeTupleIndex,
|
2145
|
+
src: &Source<'_>,
|
2146
|
+
dst_ty: &InterfaceType,
|
2147
|
+
dst: &Destination,
|
2148
|
+
) {
|
2149
|
+
let src_ty = &self.types[src_ty];
|
2150
|
+
let dst_ty = match dst_ty {
|
2151
|
+
InterfaceType::Tuple(t) => &self.types[*t],
|
2152
|
+
_ => panic!("expected a tuple"),
|
2153
|
+
};
|
2154
|
+
|
2155
|
+
// TODO: subtyping
|
2156
|
+
assert_eq!(src_ty.types.len(), dst_ty.types.len());
|
2157
|
+
|
2158
|
+
let srcs = src
|
2159
|
+
.record_field_srcs(self.types, src_ty.types.iter().copied())
|
2160
|
+
.zip(src_ty.types.iter());
|
2161
|
+
let dsts = dst
|
2162
|
+
.record_field_dsts(self.types, dst_ty.types.iter().copied())
|
2163
|
+
.zip(dst_ty.types.iter());
|
2164
|
+
for ((src, src_ty), (dst, dst_ty)) in srcs.zip(dsts) {
|
2165
|
+
self.translate(src_ty, &src, dst_ty, &dst);
|
2166
|
+
}
|
2167
|
+
}
|
2168
|
+
|
2169
|
+
fn translate_variant(
|
2170
|
+
&mut self,
|
2171
|
+
src_ty: TypeVariantIndex,
|
2172
|
+
src: &Source<'_>,
|
2173
|
+
dst_ty: &InterfaceType,
|
2174
|
+
dst: &Destination,
|
2175
|
+
) {
|
2176
|
+
let src_ty = &self.types[src_ty];
|
2177
|
+
let dst_ty = match dst_ty {
|
2178
|
+
InterfaceType::Variant(t) => &self.types[*t],
|
2179
|
+
_ => panic!("expected a variant"),
|
2180
|
+
};
|
2181
|
+
|
2182
|
+
let src_info = variant_info(self.types, src_ty.cases.iter().map(|c| c.ty.as_ref()));
|
2183
|
+
let dst_info = variant_info(self.types, dst_ty.cases.iter().map(|c| c.ty.as_ref()));
|
2184
|
+
|
2185
|
+
let iter = src_ty.cases.iter().enumerate().map(|(src_i, src_case)| {
|
2186
|
+
let dst_i = dst_ty
|
2187
|
+
.cases
|
2188
|
+
.iter()
|
2189
|
+
.position(|c| c.name == src_case.name)
|
2190
|
+
.unwrap();
|
2191
|
+
let dst_case = &dst_ty.cases[dst_i];
|
2192
|
+
let src_i = u32::try_from(src_i).unwrap();
|
2193
|
+
let dst_i = u32::try_from(dst_i).unwrap();
|
2194
|
+
VariantCase {
|
2195
|
+
src_i,
|
2196
|
+
src_ty: src_case.ty.as_ref(),
|
2197
|
+
dst_i,
|
2198
|
+
dst_ty: dst_case.ty.as_ref(),
|
2199
|
+
}
|
2200
|
+
});
|
2201
|
+
self.convert_variant(src, &src_info, dst, &dst_info, iter);
|
2202
|
+
}
|
2203
|
+
|
2204
|
+
fn translate_enum(
|
2205
|
+
&mut self,
|
2206
|
+
src_ty: TypeEnumIndex,
|
2207
|
+
src: &Source<'_>,
|
2208
|
+
dst_ty: &InterfaceType,
|
2209
|
+
dst: &Destination,
|
2210
|
+
) {
|
2211
|
+
let src_ty = &self.types[src_ty];
|
2212
|
+
let dst_ty = match dst_ty {
|
2213
|
+
InterfaceType::Enum(t) => &self.types[*t],
|
2214
|
+
_ => panic!("expected an option"),
|
2215
|
+
};
|
2216
|
+
let src_info = variant_info(self.types, src_ty.names.iter().map(|_| None));
|
2217
|
+
let dst_info = variant_info(self.types, dst_ty.names.iter().map(|_| None));
|
2218
|
+
|
2219
|
+
self.convert_variant(
|
2220
|
+
src,
|
2221
|
+
&src_info,
|
2222
|
+
dst,
|
2223
|
+
&dst_info,
|
2224
|
+
src_ty.names.iter().enumerate().map(|(src_i, src_name)| {
|
2225
|
+
let dst_i = dst_ty.names.iter().position(|n| n == src_name).unwrap();
|
2226
|
+
let src_i = u32::try_from(src_i).unwrap();
|
2227
|
+
let dst_i = u32::try_from(dst_i).unwrap();
|
2228
|
+
VariantCase {
|
2229
|
+
src_i,
|
2230
|
+
dst_i,
|
2231
|
+
src_ty: None,
|
2232
|
+
dst_ty: None,
|
2233
|
+
}
|
2234
|
+
}),
|
2235
|
+
);
|
2236
|
+
}
|
2237
|
+
|
2238
|
+
fn translate_option(
|
2239
|
+
&mut self,
|
2240
|
+
src_ty: TypeOptionIndex,
|
2241
|
+
src: &Source<'_>,
|
2242
|
+
dst_ty: &InterfaceType,
|
2243
|
+
dst: &Destination,
|
2244
|
+
) {
|
2245
|
+
let src_ty = &self.types[src_ty].ty;
|
2246
|
+
let dst_ty = match dst_ty {
|
2247
|
+
InterfaceType::Option(t) => &self.types[*t].ty,
|
2248
|
+
_ => panic!("expected an option"),
|
2249
|
+
};
|
2250
|
+
let src_ty = Some(src_ty);
|
2251
|
+
let dst_ty = Some(dst_ty);
|
2252
|
+
|
2253
|
+
let src_info = variant_info(self.types, [None, src_ty]);
|
2254
|
+
let dst_info = variant_info(self.types, [None, dst_ty]);
|
2255
|
+
|
2256
|
+
self.convert_variant(
|
2257
|
+
src,
|
2258
|
+
&src_info,
|
2259
|
+
dst,
|
2260
|
+
&dst_info,
|
2261
|
+
[
|
2262
|
+
VariantCase {
|
2263
|
+
src_i: 0,
|
2264
|
+
dst_i: 0,
|
2265
|
+
src_ty: None,
|
2266
|
+
dst_ty: None,
|
2267
|
+
},
|
2268
|
+
VariantCase {
|
2269
|
+
src_i: 1,
|
2270
|
+
dst_i: 1,
|
2271
|
+
src_ty,
|
2272
|
+
dst_ty,
|
2273
|
+
},
|
2274
|
+
]
|
2275
|
+
.into_iter(),
|
2276
|
+
);
|
2277
|
+
}
|
2278
|
+
|
2279
|
+
fn translate_result(
|
2280
|
+
&mut self,
|
2281
|
+
src_ty: TypeResultIndex,
|
2282
|
+
src: &Source<'_>,
|
2283
|
+
dst_ty: &InterfaceType,
|
2284
|
+
dst: &Destination,
|
2285
|
+
) {
|
2286
|
+
let src_ty = &self.types[src_ty];
|
2287
|
+
let dst_ty = match dst_ty {
|
2288
|
+
InterfaceType::Result(t) => &self.types[*t],
|
2289
|
+
_ => panic!("expected a result"),
|
2290
|
+
};
|
2291
|
+
|
2292
|
+
let src_info = variant_info(self.types, [src_ty.ok.as_ref(), src_ty.err.as_ref()]);
|
2293
|
+
let dst_info = variant_info(self.types, [dst_ty.ok.as_ref(), dst_ty.err.as_ref()]);
|
2294
|
+
|
2295
|
+
self.convert_variant(
|
2296
|
+
src,
|
2297
|
+
&src_info,
|
2298
|
+
dst,
|
2299
|
+
&dst_info,
|
2300
|
+
[
|
2301
|
+
VariantCase {
|
2302
|
+
src_i: 0,
|
2303
|
+
dst_i: 0,
|
2304
|
+
src_ty: src_ty.ok.as_ref(),
|
2305
|
+
dst_ty: dst_ty.ok.as_ref(),
|
2306
|
+
},
|
2307
|
+
VariantCase {
|
2308
|
+
src_i: 1,
|
2309
|
+
dst_i: 1,
|
2310
|
+
src_ty: src_ty.err.as_ref(),
|
2311
|
+
dst_ty: dst_ty.err.as_ref(),
|
2312
|
+
},
|
2313
|
+
]
|
2314
|
+
.into_iter(),
|
2315
|
+
);
|
2316
|
+
}
|
2317
|
+
|
2318
|
+
fn convert_variant<'a>(
|
2319
|
+
&mut self,
|
2320
|
+
src: &Source<'_>,
|
2321
|
+
src_info: &VariantInfo,
|
2322
|
+
dst: &Destination,
|
2323
|
+
dst_info: &VariantInfo,
|
2324
|
+
src_cases: impl ExactSizeIterator<Item = VariantCase<'a>>,
|
2325
|
+
) {
|
2326
|
+
// The outermost block is special since it has the result type of the
|
2327
|
+
// translation here. That will depend on the `dst`.
|
2328
|
+
let outer_block_ty = match dst {
|
2329
|
+
Destination::Stack(dst_flat, _) => match dst_flat.len() {
|
2330
|
+
0 => BlockType::Empty,
|
2331
|
+
1 => BlockType::Result(dst_flat[0]),
|
2332
|
+
_ => {
|
2333
|
+
let ty = self.module.core_types.function(&[], &dst_flat);
|
2334
|
+
BlockType::FunctionType(ty)
|
2335
|
+
}
|
2336
|
+
},
|
2337
|
+
Destination::Memory(_) => BlockType::Empty,
|
2338
|
+
};
|
2339
|
+
self.instruction(Block(outer_block_ty));
|
2340
|
+
|
2341
|
+
// After the outermost block generate a new block for each of the
|
2342
|
+
// remaining cases.
|
2343
|
+
let src_cases_len = src_cases.len();
|
2344
|
+
for _ in 0..src_cases_len - 1 {
|
2345
|
+
self.instruction(Block(BlockType::Empty));
|
2346
|
+
}
|
2347
|
+
|
2348
|
+
// Generate a block for an invalid variant discriminant
|
2349
|
+
self.instruction(Block(BlockType::Empty));
|
2350
|
+
|
2351
|
+
// And generate one final block that we'll be jumping out of with the
|
2352
|
+
// `br_table`
|
2353
|
+
self.instruction(Block(BlockType::Empty));
|
2354
|
+
|
2355
|
+
// Load the discriminant
|
2356
|
+
match src {
|
2357
|
+
Source::Stack(s) => self.stack_get(&s.slice(0..1), ValType::I32),
|
2358
|
+
Source::Memory(mem) => match src_info.size {
|
2359
|
+
DiscriminantSize::Size1 => self.i32_load8u(mem),
|
2360
|
+
DiscriminantSize::Size2 => self.i32_load16u(mem),
|
2361
|
+
DiscriminantSize::Size4 => self.i32_load(mem),
|
2362
|
+
},
|
2363
|
+
}
|
2364
|
+
|
2365
|
+
// Generate the `br_table` for the discriminant. Each case has an
|
2366
|
+
// offset of 1 to skip the trapping block.
|
2367
|
+
let mut targets = Vec::new();
|
2368
|
+
for i in 0..src_cases_len {
|
2369
|
+
targets.push((i + 1) as u32);
|
2370
|
+
}
|
2371
|
+
self.instruction(BrTable(targets[..].into(), 0));
|
2372
|
+
self.instruction(End); // end the `br_table` block
|
2373
|
+
|
2374
|
+
self.trap(Trap::InvalidDiscriminant);
|
2375
|
+
self.instruction(End); // end the "invalid discriminant" block
|
2376
|
+
|
2377
|
+
// Translate each case individually within its own block. Note that the
|
2378
|
+
// iteration order here places the first case in the innermost block
|
2379
|
+
// and the last case in the outermost block. This matches the order
|
2380
|
+
// of the jump targets in the `br_table` instruction.
|
2381
|
+
let src_cases_len = u32::try_from(src_cases_len).unwrap();
|
2382
|
+
for case in src_cases {
|
2383
|
+
let VariantCase {
|
2384
|
+
src_i,
|
2385
|
+
src_ty,
|
2386
|
+
dst_i,
|
2387
|
+
dst_ty,
|
2388
|
+
} = case;
|
2389
|
+
|
2390
|
+
// Translate the discriminant here, noting that `dst_i` may be
|
2391
|
+
// different than `src_i`.
|
2392
|
+
self.push_dst_addr(dst);
|
2393
|
+
self.instruction(I32Const(dst_i as i32));
|
2394
|
+
match dst {
|
2395
|
+
Destination::Stack(stack, _) => self.stack_set(&stack[..1], ValType::I32),
|
2396
|
+
Destination::Memory(mem) => match dst_info.size {
|
2397
|
+
DiscriminantSize::Size1 => self.i32_store8(mem),
|
2398
|
+
DiscriminantSize::Size2 => self.i32_store16(mem),
|
2399
|
+
DiscriminantSize::Size4 => self.i32_store(mem),
|
2400
|
+
},
|
2401
|
+
}
|
2402
|
+
|
2403
|
+
let src_payload = src.payload_src(self.types, src_info, src_ty);
|
2404
|
+
let dst_payload = dst.payload_dst(self.types, dst_info, dst_ty);
|
2405
|
+
|
2406
|
+
// Translate the payload of this case using the various types from
|
2407
|
+
// the dst/src.
|
2408
|
+
match (src_ty, dst_ty) {
|
2409
|
+
(Some(src_ty), Some(dst_ty)) => {
|
2410
|
+
self.translate(src_ty, &src_payload, dst_ty, &dst_payload);
|
2411
|
+
}
|
2412
|
+
(None, None) => {}
|
2413
|
+
_ => unimplemented!(),
|
2414
|
+
}
|
2415
|
+
|
2416
|
+
// If the results of this translation were placed on the stack then
|
2417
|
+
// the stack values may need to be padded with more zeros due to
|
2418
|
+
// this particular case being possibly smaller than the entire
|
2419
|
+
// variant. That's handled here by pushing remaining zeros after
|
2420
|
+
// accounting for the discriminant pushed as well as the results of
|
2421
|
+
// this individual payload.
|
2422
|
+
if let Destination::Stack(payload_results, _) = dst_payload {
|
2423
|
+
if let Destination::Stack(dst_results, _) = dst {
|
2424
|
+
let remaining = &dst_results[1..][payload_results.len()..];
|
2425
|
+
for ty in remaining {
|
2426
|
+
match ty {
|
2427
|
+
ValType::I32 => self.instruction(I32Const(0)),
|
2428
|
+
ValType::I64 => self.instruction(I64Const(0)),
|
2429
|
+
ValType::F32 => self.instruction(F32Const(0.0)),
|
2430
|
+
ValType::F64 => self.instruction(F64Const(0.0)),
|
2431
|
+
_ => unreachable!(),
|
2432
|
+
}
|
2433
|
+
}
|
2434
|
+
}
|
2435
|
+
}
|
2436
|
+
|
2437
|
+
// Branch to the outermost block. Note that this isn't needed for
|
2438
|
+
// the outermost case since it simply falls through.
|
2439
|
+
if src_i != src_cases_len - 1 {
|
2440
|
+
self.instruction(Br(src_cases_len - src_i - 1));
|
2441
|
+
}
|
2442
|
+
self.instruction(End); // end this case's block
|
2443
|
+
}
|
2444
|
+
}
|
2445
|
+
|
2446
|
+
fn translate_own(
|
2447
|
+
&mut self,
|
2448
|
+
src_ty: TypeResourceTableIndex,
|
2449
|
+
src: &Source<'_>,
|
2450
|
+
dst_ty: &InterfaceType,
|
2451
|
+
dst: &Destination,
|
2452
|
+
) {
|
2453
|
+
let dst_ty = match dst_ty {
|
2454
|
+
InterfaceType::Own(t) => *t,
|
2455
|
+
_ => panic!("expected an `Own`"),
|
2456
|
+
};
|
2457
|
+
let transfer = self.module.import_resource_transfer_own();
|
2458
|
+
self.translate_resource(src_ty, src, dst_ty, dst, transfer);
|
2459
|
+
}
|
2460
|
+
|
2461
|
+
fn translate_borrow(
|
2462
|
+
&mut self,
|
2463
|
+
src_ty: TypeResourceTableIndex,
|
2464
|
+
src: &Source<'_>,
|
2465
|
+
dst_ty: &InterfaceType,
|
2466
|
+
dst: &Destination,
|
2467
|
+
) {
|
2468
|
+
let dst_ty = match dst_ty {
|
2469
|
+
InterfaceType::Borrow(t) => *t,
|
2470
|
+
_ => panic!("expected an `Borrow`"),
|
2471
|
+
};
|
2472
|
+
|
2473
|
+
let transfer = self.module.import_resource_transfer_borrow();
|
2474
|
+
self.translate_resource(src_ty, src, dst_ty, dst, transfer);
|
2475
|
+
}
|
2476
|
+
|
2477
|
+
/// Translates the index `src`, which resides in the table `src_ty`, into
|
2478
|
+
/// and index within `dst_ty` and is stored at `dst`.
|
2479
|
+
///
|
2480
|
+
/// Actual translation of the index happens in a wasmtime libcall, which a
|
2481
|
+
/// cranelift-generated trampoline to satisfy this import will call. The
|
2482
|
+
/// `transfer` function is an imported function which takes the src, src_ty,
|
2483
|
+
/// and dst_ty, and returns the dst index.
|
2484
|
+
fn translate_resource(
|
2485
|
+
&mut self,
|
2486
|
+
src_ty: TypeResourceTableIndex,
|
2487
|
+
src: &Source<'_>,
|
2488
|
+
dst_ty: TypeResourceTableIndex,
|
2489
|
+
dst: &Destination,
|
2490
|
+
transfer: FuncIndex,
|
2491
|
+
) {
|
2492
|
+
self.push_dst_addr(dst);
|
2493
|
+
match src {
|
2494
|
+
Source::Memory(mem) => self.i32_load(mem),
|
2495
|
+
Source::Stack(stack) => self.stack_get(stack, ValType::I32),
|
2496
|
+
}
|
2497
|
+
self.instruction(I32Const(src_ty.as_u32() as i32));
|
2498
|
+
self.instruction(I32Const(dst_ty.as_u32() as i32));
|
2499
|
+
self.instruction(Call(transfer.as_u32()));
|
2500
|
+
match dst {
|
2501
|
+
Destination::Memory(mem) => self.i32_store(mem),
|
2502
|
+
Destination::Stack(stack, _) => self.stack_set(stack, ValType::I32),
|
2503
|
+
}
|
2504
|
+
}
|
2505
|
+
|
2506
|
+
fn trap_if_not_flag(&mut self, flags_global: GlobalIndex, flag_to_test: i32, trap: Trap) {
|
2507
|
+
self.instruction(GlobalGet(flags_global.as_u32()));
|
2508
|
+
self.instruction(I32Const(flag_to_test));
|
2509
|
+
self.instruction(I32And);
|
2510
|
+
self.instruction(I32Eqz);
|
2511
|
+
self.instruction(If(BlockType::Empty));
|
2512
|
+
self.trap(trap);
|
2513
|
+
self.instruction(End);
|
2514
|
+
}
|
2515
|
+
|
2516
|
+
fn assert_not_flag(&mut self, flags_global: GlobalIndex, flag_to_test: i32, msg: &'static str) {
|
2517
|
+
self.instruction(GlobalGet(flags_global.as_u32()));
|
2518
|
+
self.instruction(I32Const(flag_to_test));
|
2519
|
+
self.instruction(I32And);
|
2520
|
+
self.instruction(If(BlockType::Empty));
|
2521
|
+
self.trap(Trap::AssertFailed(msg));
|
2522
|
+
self.instruction(End);
|
2523
|
+
}
|
2524
|
+
|
2525
|
+
fn set_flag(&mut self, flags_global: GlobalIndex, flag_to_set: i32, value: bool) {
|
2526
|
+
self.instruction(GlobalGet(flags_global.as_u32()));
|
2527
|
+
if value {
|
2528
|
+
self.instruction(I32Const(flag_to_set));
|
2529
|
+
self.instruction(I32Or);
|
2530
|
+
} else {
|
2531
|
+
self.instruction(I32Const(!flag_to_set));
|
2532
|
+
self.instruction(I32And);
|
2533
|
+
}
|
2534
|
+
self.instruction(GlobalSet(flags_global.as_u32()));
|
2535
|
+
}
|
2536
|
+
|
2537
|
+
fn verify_aligned(&mut self, opts: &Options, addr_local: u32, align: u32) {
|
2538
|
+
// If the alignment is 1 then everything is trivially aligned and the
|
2539
|
+
// check can be omitted.
|
2540
|
+
if align == 1 {
|
2541
|
+
return;
|
2542
|
+
}
|
2543
|
+
self.instruction(LocalGet(addr_local));
|
2544
|
+
assert!(align.is_power_of_two());
|
2545
|
+
self.ptr_uconst(opts, align - 1);
|
2546
|
+
self.ptr_and(opts);
|
2547
|
+
self.ptr_if(opts, BlockType::Empty);
|
2548
|
+
self.trap(Trap::UnalignedPointer);
|
2549
|
+
self.instruction(End);
|
2550
|
+
}
|
2551
|
+
|
2552
|
+
fn assert_aligned(&mut self, ty: &InterfaceType, mem: &Memory) {
|
2553
|
+
if !self.module.debug {
|
2554
|
+
return;
|
2555
|
+
}
|
2556
|
+
let align = self.types.align(mem.opts, ty);
|
2557
|
+
if align == 1 {
|
2558
|
+
return;
|
2559
|
+
}
|
2560
|
+
assert!(align.is_power_of_two());
|
2561
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2562
|
+
self.ptr_uconst(mem.opts, mem.offset);
|
2563
|
+
self.ptr_add(mem.opts);
|
2564
|
+
self.ptr_uconst(mem.opts, align - 1);
|
2565
|
+
self.ptr_and(mem.opts);
|
2566
|
+
self.ptr_if(mem.opts, BlockType::Empty);
|
2567
|
+
self.trap(Trap::AssertFailed("pointer not aligned"));
|
2568
|
+
self.instruction(End);
|
2569
|
+
}
|
2570
|
+
|
2571
|
+
fn malloc<'a>(&mut self, opts: &'a Options, size: MallocSize, align: u32) -> Memory<'a> {
|
2572
|
+
let realloc = opts.realloc.unwrap();
|
2573
|
+
self.ptr_uconst(opts, 0);
|
2574
|
+
self.ptr_uconst(opts, 0);
|
2575
|
+
self.ptr_uconst(opts, align);
|
2576
|
+
match size {
|
2577
|
+
MallocSize::Const(size) => self.ptr_uconst(opts, size),
|
2578
|
+
MallocSize::Local(idx) => self.instruction(LocalGet(idx)),
|
2579
|
+
}
|
2580
|
+
self.instruction(Call(realloc.as_u32()));
|
2581
|
+
let addr = self.local_set_new_tmp(opts.ptr());
|
2582
|
+
self.memory_operand(opts, addr, align)
|
2583
|
+
}
|
2584
|
+
|
2585
|
+
fn memory_operand<'a>(&mut self, opts: &'a Options, addr: TempLocal, align: u32) -> Memory<'a> {
|
2586
|
+
let ret = Memory {
|
2587
|
+
addr,
|
2588
|
+
offset: 0,
|
2589
|
+
opts,
|
2590
|
+
};
|
2591
|
+
self.verify_aligned(opts, ret.addr.idx, align);
|
2592
|
+
ret
|
2593
|
+
}
|
2594
|
+
|
2595
|
+
/// Generates a new local in this function of the `ty` specified,
|
2596
|
+
/// initializing it with the top value on the current wasm stack.
|
2597
|
+
///
|
2598
|
+
/// The returned `TempLocal` must be freed after it is finished with
|
2599
|
+
/// `free_temp_local`.
|
2600
|
+
fn local_tee_new_tmp(&mut self, ty: ValType) -> TempLocal {
|
2601
|
+
self.gen_temp_local(ty, LocalTee)
|
2602
|
+
}
|
2603
|
+
|
2604
|
+
/// Same as `local_tee_new_tmp` but initializes the local with `LocalSet`
|
2605
|
+
/// instead of `LocalTee`.
|
2606
|
+
fn local_set_new_tmp(&mut self, ty: ValType) -> TempLocal {
|
2607
|
+
self.gen_temp_local(ty, LocalSet)
|
2608
|
+
}
|
2609
|
+
|
2610
|
+
fn gen_temp_local(&mut self, ty: ValType, insn: fn(u32) -> Instruction<'static>) -> TempLocal {
|
2611
|
+
// First check to see if any locals are available in this function which
|
2612
|
+
// were previously generated but are no longer in use.
|
2613
|
+
if let Some(idx) = self.free_locals.get_mut(&ty).and_then(|v| v.pop()) {
|
2614
|
+
self.instruction(insn(idx));
|
2615
|
+
return TempLocal {
|
2616
|
+
ty,
|
2617
|
+
idx,
|
2618
|
+
needs_free: true,
|
2619
|
+
};
|
2620
|
+
}
|
2621
|
+
|
2622
|
+
// Failing that generate a fresh new local.
|
2623
|
+
let locals = &mut self.module.funcs[self.result].locals;
|
2624
|
+
match locals.last_mut() {
|
2625
|
+
Some((cnt, prev_ty)) if ty == *prev_ty => *cnt += 1,
|
2626
|
+
_ => locals.push((1, ty)),
|
2627
|
+
}
|
2628
|
+
self.nlocals += 1;
|
2629
|
+
let idx = self.nlocals - 1;
|
2630
|
+
self.instruction(insn(idx));
|
2631
|
+
TempLocal {
|
2632
|
+
ty,
|
2633
|
+
idx,
|
2634
|
+
needs_free: true,
|
2635
|
+
}
|
2636
|
+
}
|
2637
|
+
|
2638
|
+
/// Used to release a `TempLocal` from a particular lexical scope to allow
|
2639
|
+
/// its possible reuse in later scopes.
|
2640
|
+
fn free_temp_local(&mut self, mut local: TempLocal) {
|
2641
|
+
assert!(local.needs_free);
|
2642
|
+
self.free_locals
|
2643
|
+
.entry(local.ty)
|
2644
|
+
.or_insert(Vec::new())
|
2645
|
+
.push(local.idx);
|
2646
|
+
local.needs_free = false;
|
2647
|
+
}
|
2648
|
+
|
2649
|
+
fn instruction(&mut self, instr: Instruction) {
|
2650
|
+
instr.encode(&mut self.code);
|
2651
|
+
}
|
2652
|
+
|
2653
|
+
fn trap(&mut self, trap: Trap) {
|
2654
|
+
self.traps.push((self.code.len(), trap));
|
2655
|
+
self.instruction(Unreachable);
|
2656
|
+
}
|
2657
|
+
|
2658
|
+
/// Flushes out the current `code` instructions (and `traps` if there are
|
2659
|
+
/// any) into the destination function.
|
2660
|
+
///
|
2661
|
+
/// This is a noop if no instructions have been encoded yet.
|
2662
|
+
fn flush_code(&mut self) {
|
2663
|
+
if self.code.is_empty() {
|
2664
|
+
return;
|
2665
|
+
}
|
2666
|
+
self.module.funcs[self.result].body.push(Body::Raw(
|
2667
|
+
mem::take(&mut self.code),
|
2668
|
+
mem::take(&mut self.traps),
|
2669
|
+
));
|
2670
|
+
}
|
2671
|
+
|
2672
|
+
fn finish(mut self) {
|
2673
|
+
// Append the final `end` instruction which all functions require, and
|
2674
|
+
// then empty out the temporary buffer in `Compiler`.
|
2675
|
+
self.instruction(End);
|
2676
|
+
self.flush_code();
|
2677
|
+
|
2678
|
+
// Flag the function as "done" which helps with an assert later on in
|
2679
|
+
// emission that everything was eventually finished.
|
2680
|
+
self.module.funcs[self.result].filled_in = true;
|
2681
|
+
}
|
2682
|
+
|
2683
|
+
/// Fetches the value contained with the local specified by `stack` and
|
2684
|
+
/// converts it to `dst_ty`.
|
2685
|
+
///
|
2686
|
+
/// This is only intended for use in primitive operations where `stack` is
|
2687
|
+
/// guaranteed to have only one local. The type of the local on the stack is
|
2688
|
+
/// then converted to `dst_ty` appropriately. Note that the types may be
|
2689
|
+
/// different due to the "flattening" of variant types.
|
2690
|
+
fn stack_get(&mut self, stack: &Stack<'_>, dst_ty: ValType) {
|
2691
|
+
assert_eq!(stack.locals.len(), 1);
|
2692
|
+
let (idx, src_ty) = stack.locals[0];
|
2693
|
+
self.instruction(LocalGet(idx));
|
2694
|
+
match (src_ty, dst_ty) {
|
2695
|
+
(ValType::I32, ValType::I32)
|
2696
|
+
| (ValType::I64, ValType::I64)
|
2697
|
+
| (ValType::F32, ValType::F32)
|
2698
|
+
| (ValType::F64, ValType::F64) => {}
|
2699
|
+
|
2700
|
+
(ValType::I32, ValType::F32) => self.instruction(F32ReinterpretI32),
|
2701
|
+
(ValType::I64, ValType::I32) => {
|
2702
|
+
self.assert_i64_upper_bits_not_set(idx);
|
2703
|
+
self.instruction(I32WrapI64);
|
2704
|
+
}
|
2705
|
+
(ValType::I64, ValType::F64) => self.instruction(F64ReinterpretI64),
|
2706
|
+
(ValType::I64, ValType::F32) => {
|
2707
|
+
self.assert_i64_upper_bits_not_set(idx);
|
2708
|
+
self.instruction(I32WrapI64);
|
2709
|
+
self.instruction(F32ReinterpretI32);
|
2710
|
+
}
|
2711
|
+
|
2712
|
+
// should not be possible given the `join` function for variants
|
2713
|
+
(ValType::I32, ValType::I64)
|
2714
|
+
| (ValType::I32, ValType::F64)
|
2715
|
+
| (ValType::F32, ValType::I32)
|
2716
|
+
| (ValType::F32, ValType::I64)
|
2717
|
+
| (ValType::F32, ValType::F64)
|
2718
|
+
| (ValType::F64, ValType::I32)
|
2719
|
+
| (ValType::F64, ValType::I64)
|
2720
|
+
| (ValType::F64, ValType::F32)
|
2721
|
+
|
2722
|
+
// not used in the component model
|
2723
|
+
| (ValType::Ref(_), _)
|
2724
|
+
| (_, ValType::Ref(_))
|
2725
|
+
| (ValType::V128, _)
|
2726
|
+
| (_, ValType::V128) => {
|
2727
|
+
panic!("cannot get {dst_ty:?} from {src_ty:?} local");
|
2728
|
+
}
|
2729
|
+
}
|
2730
|
+
}
|
2731
|
+
|
2732
|
+
fn assert_i64_upper_bits_not_set(&mut self, local: u32) {
|
2733
|
+
if !self.module.debug {
|
2734
|
+
return;
|
2735
|
+
}
|
2736
|
+
self.instruction(LocalGet(local));
|
2737
|
+
self.instruction(I64Const(32));
|
2738
|
+
self.instruction(I64ShrU);
|
2739
|
+
self.instruction(I32WrapI64);
|
2740
|
+
self.instruction(If(BlockType::Empty));
|
2741
|
+
self.trap(Trap::AssertFailed("upper bits are unexpectedly set"));
|
2742
|
+
self.instruction(End);
|
2743
|
+
}
|
2744
|
+
|
2745
|
+
/// Converts the top value on the WebAssembly stack which has type
|
2746
|
+
/// `src_ty` to `dst_tys[0]`.
|
2747
|
+
///
|
2748
|
+
/// This is only intended for conversion of primitives where the `dst_tys`
|
2749
|
+
/// list is known to be of length 1.
|
2750
|
+
fn stack_set(&mut self, dst_tys: &[ValType], src_ty: ValType) {
|
2751
|
+
assert_eq!(dst_tys.len(), 1);
|
2752
|
+
let dst_ty = dst_tys[0];
|
2753
|
+
match (src_ty, dst_ty) {
|
2754
|
+
(ValType::I32, ValType::I32)
|
2755
|
+
| (ValType::I64, ValType::I64)
|
2756
|
+
| (ValType::F32, ValType::F32)
|
2757
|
+
| (ValType::F64, ValType::F64) => {}
|
2758
|
+
|
2759
|
+
(ValType::F32, ValType::I32) => self.instruction(I32ReinterpretF32),
|
2760
|
+
(ValType::I32, ValType::I64) => self.instruction(I64ExtendI32U),
|
2761
|
+
(ValType::F64, ValType::I64) => self.instruction(I64ReinterpretF64),
|
2762
|
+
(ValType::F32, ValType::I64) => {
|
2763
|
+
self.instruction(I32ReinterpretF32);
|
2764
|
+
self.instruction(I64ExtendI32U);
|
2765
|
+
}
|
2766
|
+
|
2767
|
+
// should not be possible given the `join` function for variants
|
2768
|
+
(ValType::I64, ValType::I32)
|
2769
|
+
| (ValType::F64, ValType::I32)
|
2770
|
+
| (ValType::I32, ValType::F32)
|
2771
|
+
| (ValType::I64, ValType::F32)
|
2772
|
+
| (ValType::F64, ValType::F32)
|
2773
|
+
| (ValType::I32, ValType::F64)
|
2774
|
+
| (ValType::I64, ValType::F64)
|
2775
|
+
| (ValType::F32, ValType::F64)
|
2776
|
+
|
2777
|
+
// not used in the component model
|
2778
|
+
| (ValType::Ref(_), _)
|
2779
|
+
| (_, ValType::Ref(_))
|
2780
|
+
| (ValType::V128, _)
|
2781
|
+
| (_, ValType::V128) => {
|
2782
|
+
panic!("cannot get {dst_ty:?} from {src_ty:?} local");
|
2783
|
+
}
|
2784
|
+
}
|
2785
|
+
}
|
2786
|
+
|
2787
|
+
fn i32_load8u(&mut self, mem: &Memory) {
|
2788
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2789
|
+
self.instruction(I32Load8U(mem.memarg(0)));
|
2790
|
+
}
|
2791
|
+
|
2792
|
+
fn i32_load8s(&mut self, mem: &Memory) {
|
2793
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2794
|
+
self.instruction(I32Load8S(mem.memarg(0)));
|
2795
|
+
}
|
2796
|
+
|
2797
|
+
fn i32_load16u(&mut self, mem: &Memory) {
|
2798
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2799
|
+
self.instruction(I32Load16U(mem.memarg(1)));
|
2800
|
+
}
|
2801
|
+
|
2802
|
+
fn i32_load16s(&mut self, mem: &Memory) {
|
2803
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2804
|
+
self.instruction(I32Load16S(mem.memarg(1)));
|
2805
|
+
}
|
2806
|
+
|
2807
|
+
fn i32_load(&mut self, mem: &Memory) {
|
2808
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2809
|
+
self.instruction(I32Load(mem.memarg(2)));
|
2810
|
+
}
|
2811
|
+
|
2812
|
+
fn i64_load(&mut self, mem: &Memory) {
|
2813
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2814
|
+
self.instruction(I64Load(mem.memarg(3)));
|
2815
|
+
}
|
2816
|
+
|
2817
|
+
fn ptr_load(&mut self, mem: &Memory) {
|
2818
|
+
if mem.opts.memory64 {
|
2819
|
+
self.i64_load(mem);
|
2820
|
+
} else {
|
2821
|
+
self.i32_load(mem);
|
2822
|
+
}
|
2823
|
+
}
|
2824
|
+
|
2825
|
+
fn ptr_add(&mut self, opts: &Options) {
|
2826
|
+
if opts.memory64 {
|
2827
|
+
self.instruction(I64Add);
|
2828
|
+
} else {
|
2829
|
+
self.instruction(I32Add);
|
2830
|
+
}
|
2831
|
+
}
|
2832
|
+
|
2833
|
+
fn ptr_sub(&mut self, opts: &Options) {
|
2834
|
+
if opts.memory64 {
|
2835
|
+
self.instruction(I64Sub);
|
2836
|
+
} else {
|
2837
|
+
self.instruction(I32Sub);
|
2838
|
+
}
|
2839
|
+
}
|
2840
|
+
|
2841
|
+
fn ptr_mul(&mut self, opts: &Options) {
|
2842
|
+
if opts.memory64 {
|
2843
|
+
self.instruction(I64Mul);
|
2844
|
+
} else {
|
2845
|
+
self.instruction(I32Mul);
|
2846
|
+
}
|
2847
|
+
}
|
2848
|
+
|
2849
|
+
fn ptr_ge_u(&mut self, opts: &Options) {
|
2850
|
+
if opts.memory64 {
|
2851
|
+
self.instruction(I64GeU);
|
2852
|
+
} else {
|
2853
|
+
self.instruction(I32GeU);
|
2854
|
+
}
|
2855
|
+
}
|
2856
|
+
|
2857
|
+
fn ptr_lt_u(&mut self, opts: &Options) {
|
2858
|
+
if opts.memory64 {
|
2859
|
+
self.instruction(I64LtU);
|
2860
|
+
} else {
|
2861
|
+
self.instruction(I32LtU);
|
2862
|
+
}
|
2863
|
+
}
|
2864
|
+
|
2865
|
+
fn ptr_shl(&mut self, opts: &Options) {
|
2866
|
+
if opts.memory64 {
|
2867
|
+
self.instruction(I64Shl);
|
2868
|
+
} else {
|
2869
|
+
self.instruction(I32Shl);
|
2870
|
+
}
|
2871
|
+
}
|
2872
|
+
|
2873
|
+
fn ptr_eqz(&mut self, opts: &Options) {
|
2874
|
+
if opts.memory64 {
|
2875
|
+
self.instruction(I64Eqz);
|
2876
|
+
} else {
|
2877
|
+
self.instruction(I32Eqz);
|
2878
|
+
}
|
2879
|
+
}
|
2880
|
+
|
2881
|
+
fn ptr_uconst(&mut self, opts: &Options, val: u32) {
|
2882
|
+
if opts.memory64 {
|
2883
|
+
self.instruction(I64Const(val.into()));
|
2884
|
+
} else {
|
2885
|
+
self.instruction(I32Const(val as i32));
|
2886
|
+
}
|
2887
|
+
}
|
2888
|
+
|
2889
|
+
fn ptr_iconst(&mut self, opts: &Options, val: i32) {
|
2890
|
+
if opts.memory64 {
|
2891
|
+
self.instruction(I64Const(val.into()));
|
2892
|
+
} else {
|
2893
|
+
self.instruction(I32Const(val));
|
2894
|
+
}
|
2895
|
+
}
|
2896
|
+
|
2897
|
+
fn ptr_eq(&mut self, opts: &Options) {
|
2898
|
+
if opts.memory64 {
|
2899
|
+
self.instruction(I64Eq);
|
2900
|
+
} else {
|
2901
|
+
self.instruction(I32Eq);
|
2902
|
+
}
|
2903
|
+
}
|
2904
|
+
|
2905
|
+
fn ptr_ne(&mut self, opts: &Options) {
|
2906
|
+
if opts.memory64 {
|
2907
|
+
self.instruction(I64Ne);
|
2908
|
+
} else {
|
2909
|
+
self.instruction(I32Ne);
|
2910
|
+
}
|
2911
|
+
}
|
2912
|
+
|
2913
|
+
fn ptr_and(&mut self, opts: &Options) {
|
2914
|
+
if opts.memory64 {
|
2915
|
+
self.instruction(I64And);
|
2916
|
+
} else {
|
2917
|
+
self.instruction(I32And);
|
2918
|
+
}
|
2919
|
+
}
|
2920
|
+
|
2921
|
+
fn ptr_or(&mut self, opts: &Options) {
|
2922
|
+
if opts.memory64 {
|
2923
|
+
self.instruction(I64Or);
|
2924
|
+
} else {
|
2925
|
+
self.instruction(I32Or);
|
2926
|
+
}
|
2927
|
+
}
|
2928
|
+
|
2929
|
+
fn ptr_xor(&mut self, opts: &Options) {
|
2930
|
+
if opts.memory64 {
|
2931
|
+
self.instruction(I64Xor);
|
2932
|
+
} else {
|
2933
|
+
self.instruction(I32Xor);
|
2934
|
+
}
|
2935
|
+
}
|
2936
|
+
|
2937
|
+
fn ptr_if(&mut self, opts: &Options, ty: BlockType) {
|
2938
|
+
if opts.memory64 {
|
2939
|
+
self.instruction(I64Const(0));
|
2940
|
+
self.instruction(I64Ne);
|
2941
|
+
}
|
2942
|
+
self.instruction(If(ty));
|
2943
|
+
}
|
2944
|
+
|
2945
|
+
fn ptr_br_if(&mut self, opts: &Options, depth: u32) {
|
2946
|
+
if opts.memory64 {
|
2947
|
+
self.instruction(I64Const(0));
|
2948
|
+
self.instruction(I64Ne);
|
2949
|
+
}
|
2950
|
+
self.instruction(BrIf(depth));
|
2951
|
+
}
|
2952
|
+
|
2953
|
+
fn f32_load(&mut self, mem: &Memory) {
|
2954
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2955
|
+
self.instruction(F32Load(mem.memarg(2)));
|
2956
|
+
}
|
2957
|
+
|
2958
|
+
fn f64_load(&mut self, mem: &Memory) {
|
2959
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2960
|
+
self.instruction(F64Load(mem.memarg(3)));
|
2961
|
+
}
|
2962
|
+
|
2963
|
+
fn push_dst_addr(&mut self, dst: &Destination) {
|
2964
|
+
if let Destination::Memory(mem) = dst {
|
2965
|
+
self.instruction(LocalGet(mem.addr.idx));
|
2966
|
+
}
|
2967
|
+
}
|
2968
|
+
|
2969
|
+
fn i32_store8(&mut self, mem: &Memory) {
|
2970
|
+
self.instruction(I32Store8(mem.memarg(0)));
|
2971
|
+
}
|
2972
|
+
|
2973
|
+
fn i32_store16(&mut self, mem: &Memory) {
|
2974
|
+
self.instruction(I32Store16(mem.memarg(1)));
|
2975
|
+
}
|
2976
|
+
|
2977
|
+
fn i32_store(&mut self, mem: &Memory) {
|
2978
|
+
self.instruction(I32Store(mem.memarg(2)));
|
2979
|
+
}
|
2980
|
+
|
2981
|
+
fn i64_store(&mut self, mem: &Memory) {
|
2982
|
+
self.instruction(I64Store(mem.memarg(3)));
|
2983
|
+
}
|
2984
|
+
|
2985
|
+
fn ptr_store(&mut self, mem: &Memory) {
|
2986
|
+
if mem.opts.memory64 {
|
2987
|
+
self.i64_store(mem);
|
2988
|
+
} else {
|
2989
|
+
self.i32_store(mem);
|
2990
|
+
}
|
2991
|
+
}
|
2992
|
+
|
2993
|
+
fn f32_store(&mut self, mem: &Memory) {
|
2994
|
+
self.instruction(F32Store(mem.memarg(2)));
|
2995
|
+
}
|
2996
|
+
|
2997
|
+
fn f64_store(&mut self, mem: &Memory) {
|
2998
|
+
self.instruction(F64Store(mem.memarg(3)));
|
2999
|
+
}
|
3000
|
+
}
|
3001
|
+
|
3002
|
+
impl<'a> Source<'a> {
|
3003
|
+
/// Given this `Source` returns an iterator over the `Source` for each of
|
3004
|
+
/// the component `fields` specified.
|
3005
|
+
///
|
3006
|
+
/// This will automatically slice stack-based locals to the appropriate
|
3007
|
+
/// width for each component type and additionally calculate the appropriate
|
3008
|
+
/// offset for each memory-based type.
|
3009
|
+
fn record_field_srcs<'b>(
|
3010
|
+
&'b self,
|
3011
|
+
types: &'b ComponentTypesBuilder,
|
3012
|
+
fields: impl IntoIterator<Item = InterfaceType> + 'b,
|
3013
|
+
) -> impl Iterator<Item = Source<'a>> + 'b
|
3014
|
+
where
|
3015
|
+
'a: 'b,
|
3016
|
+
{
|
3017
|
+
let mut offset = 0;
|
3018
|
+
fields.into_iter().map(move |ty| match self {
|
3019
|
+
Source::Memory(mem) => {
|
3020
|
+
let mem = next_field_offset(&mut offset, types, &ty, mem);
|
3021
|
+
Source::Memory(mem)
|
3022
|
+
}
|
3023
|
+
Source::Stack(stack) => {
|
3024
|
+
let cnt = types.flat_types(&ty).unwrap().len() as u32;
|
3025
|
+
offset += cnt;
|
3026
|
+
Source::Stack(stack.slice((offset - cnt) as usize..offset as usize))
|
3027
|
+
}
|
3028
|
+
})
|
3029
|
+
}
|
3030
|
+
|
3031
|
+
/// Returns the corresponding discriminant source and payload source f
|
3032
|
+
fn payload_src(
|
3033
|
+
&self,
|
3034
|
+
types: &ComponentTypesBuilder,
|
3035
|
+
info: &VariantInfo,
|
3036
|
+
case: Option<&InterfaceType>,
|
3037
|
+
) -> Source<'a> {
|
3038
|
+
match self {
|
3039
|
+
Source::Stack(s) => {
|
3040
|
+
let flat_len = match case {
|
3041
|
+
Some(case) => types.flat_types(case).unwrap().len(),
|
3042
|
+
None => 0,
|
3043
|
+
};
|
3044
|
+
Source::Stack(s.slice(1..s.locals.len()).slice(0..flat_len))
|
3045
|
+
}
|
3046
|
+
Source::Memory(mem) => {
|
3047
|
+
let mem = if mem.opts.memory64 {
|
3048
|
+
mem.bump(info.payload_offset64)
|
3049
|
+
} else {
|
3050
|
+
mem.bump(info.payload_offset32)
|
3051
|
+
};
|
3052
|
+
Source::Memory(mem)
|
3053
|
+
}
|
3054
|
+
}
|
3055
|
+
}
|
3056
|
+
|
3057
|
+
fn opts(&self) -> &'a Options {
|
3058
|
+
match self {
|
3059
|
+
Source::Stack(s) => s.opts,
|
3060
|
+
Source::Memory(mem) => mem.opts,
|
3061
|
+
}
|
3062
|
+
}
|
3063
|
+
}
|
3064
|
+
|
3065
|
+
impl<'a> Destination<'a> {
|
3066
|
+
/// Same as `Source::record_field_srcs` but for destinations.
|
3067
|
+
fn record_field_dsts<'b>(
|
3068
|
+
&'b self,
|
3069
|
+
types: &'b ComponentTypesBuilder,
|
3070
|
+
fields: impl IntoIterator<Item = InterfaceType> + 'b,
|
3071
|
+
) -> impl Iterator<Item = Destination> + 'b
|
3072
|
+
where
|
3073
|
+
'a: 'b,
|
3074
|
+
{
|
3075
|
+
let mut offset = 0;
|
3076
|
+
fields.into_iter().map(move |ty| match self {
|
3077
|
+
Destination::Memory(mem) => {
|
3078
|
+
let mem = next_field_offset(&mut offset, types, &ty, mem);
|
3079
|
+
Destination::Memory(mem)
|
3080
|
+
}
|
3081
|
+
Destination::Stack(s, opts) => {
|
3082
|
+
let cnt = types.flat_types(&ty).unwrap().len() as u32;
|
3083
|
+
offset += cnt;
|
3084
|
+
Destination::Stack(&s[(offset - cnt) as usize..offset as usize], opts)
|
3085
|
+
}
|
3086
|
+
})
|
3087
|
+
}
|
3088
|
+
|
3089
|
+
/// Returns the corresponding discriminant source and payload source f
|
3090
|
+
fn payload_dst(
|
3091
|
+
&self,
|
3092
|
+
types: &ComponentTypesBuilder,
|
3093
|
+
info: &VariantInfo,
|
3094
|
+
case: Option<&InterfaceType>,
|
3095
|
+
) -> Destination {
|
3096
|
+
match self {
|
3097
|
+
Destination::Stack(s, opts) => {
|
3098
|
+
let flat_len = match case {
|
3099
|
+
Some(case) => types.flat_types(case).unwrap().len(),
|
3100
|
+
None => 0,
|
3101
|
+
};
|
3102
|
+
Destination::Stack(&s[1..][..flat_len], opts)
|
3103
|
+
}
|
3104
|
+
Destination::Memory(mem) => {
|
3105
|
+
let mem = if mem.opts.memory64 {
|
3106
|
+
mem.bump(info.payload_offset64)
|
3107
|
+
} else {
|
3108
|
+
mem.bump(info.payload_offset32)
|
3109
|
+
};
|
3110
|
+
Destination::Memory(mem)
|
3111
|
+
}
|
3112
|
+
}
|
3113
|
+
}
|
3114
|
+
|
3115
|
+
fn opts(&self) -> &'a Options {
|
3116
|
+
match self {
|
3117
|
+
Destination::Stack(_, opts) => opts,
|
3118
|
+
Destination::Memory(mem) => mem.opts,
|
3119
|
+
}
|
3120
|
+
}
|
3121
|
+
}
|
3122
|
+
|
3123
|
+
fn next_field_offset<'a>(
|
3124
|
+
offset: &mut u32,
|
3125
|
+
types: &ComponentTypesBuilder,
|
3126
|
+
field: &InterfaceType,
|
3127
|
+
mem: &Memory<'a>,
|
3128
|
+
) -> Memory<'a> {
|
3129
|
+
let abi = types.canonical_abi(field);
|
3130
|
+
let offset = if mem.opts.memory64 {
|
3131
|
+
abi.next_field64(offset)
|
3132
|
+
} else {
|
3133
|
+
abi.next_field32(offset)
|
3134
|
+
};
|
3135
|
+
mem.bump(offset)
|
3136
|
+
}
|
3137
|
+
|
3138
|
+
impl<'a> Memory<'a> {
|
3139
|
+
fn memarg(&self, align: u32) -> MemArg {
|
3140
|
+
MemArg {
|
3141
|
+
offset: u64::from(self.offset),
|
3142
|
+
align,
|
3143
|
+
memory_index: self.opts.memory.unwrap().as_u32(),
|
3144
|
+
}
|
3145
|
+
}
|
3146
|
+
|
3147
|
+
fn bump(&self, offset: u32) -> Memory<'a> {
|
3148
|
+
Memory {
|
3149
|
+
opts: self.opts,
|
3150
|
+
addr: TempLocal::new(self.addr.idx, self.addr.ty),
|
3151
|
+
offset: self.offset + offset,
|
3152
|
+
}
|
3153
|
+
}
|
3154
|
+
}
|
3155
|
+
|
3156
|
+
impl<'a> Stack<'a> {
|
3157
|
+
fn slice(&self, range: Range<usize>) -> Stack<'a> {
|
3158
|
+
Stack {
|
3159
|
+
locals: &self.locals[range],
|
3160
|
+
opts: self.opts,
|
3161
|
+
}
|
3162
|
+
}
|
3163
|
+
}
|
3164
|
+
|
3165
|
+
struct VariantCase<'a> {
|
3166
|
+
src_i: u32,
|
3167
|
+
src_ty: Option<&'a InterfaceType>,
|
3168
|
+
dst_i: u32,
|
3169
|
+
dst_ty: Option<&'a InterfaceType>,
|
3170
|
+
}
|
3171
|
+
|
3172
|
+
fn variant_info<'a, I>(types: &ComponentTypesBuilder, cases: I) -> VariantInfo
|
3173
|
+
where
|
3174
|
+
I: IntoIterator<Item = Option<&'a InterfaceType>>,
|
3175
|
+
I::IntoIter: ExactSizeIterator,
|
3176
|
+
{
|
3177
|
+
VariantInfo::new(
|
3178
|
+
cases
|
3179
|
+
.into_iter()
|
3180
|
+
.map(|ty| ty.map(|ty| types.canonical_abi(ty))),
|
3181
|
+
)
|
3182
|
+
.0
|
3183
|
+
}
|
3184
|
+
|
3185
|
+
enum MallocSize {
|
3186
|
+
Const(u32),
|
3187
|
+
Local(u32),
|
3188
|
+
}
|
3189
|
+
|
3190
|
+
struct WasmString<'a> {
|
3191
|
+
ptr: TempLocal,
|
3192
|
+
len: TempLocal,
|
3193
|
+
opts: &'a Options,
|
3194
|
+
}
|
3195
|
+
|
3196
|
+
struct TempLocal {
|
3197
|
+
idx: u32,
|
3198
|
+
ty: ValType,
|
3199
|
+
needs_free: bool,
|
3200
|
+
}
|
3201
|
+
|
3202
|
+
impl TempLocal {
|
3203
|
+
fn new(idx: u32, ty: ValType) -> TempLocal {
|
3204
|
+
TempLocal {
|
3205
|
+
idx,
|
3206
|
+
ty,
|
3207
|
+
needs_free: false,
|
3208
|
+
}
|
3209
|
+
}
|
3210
|
+
}
|
3211
|
+
|
3212
|
+
impl std::ops::Drop for TempLocal {
|
3213
|
+
fn drop(&mut self) {
|
3214
|
+
if self.needs_free {
|
3215
|
+
panic!("temporary local not free'd");
|
3216
|
+
}
|
3217
|
+
}
|
3218
|
+
}
|
3219
|
+
|
3220
|
+
impl From<FlatType> for ValType {
|
3221
|
+
fn from(ty: FlatType) -> ValType {
|
3222
|
+
match ty {
|
3223
|
+
FlatType::I32 => ValType::I32,
|
3224
|
+
FlatType::I64 => ValType::I64,
|
3225
|
+
FlatType::F32 => ValType::F32,
|
3226
|
+
FlatType::F64 => ValType::F64,
|
3227
|
+
}
|
3228
|
+
}
|
3229
|
+
}
|