wasmtime 21.0.1 → 22.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +80 -87
- data/ext/Cargo.toml +4 -4
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.109.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/Cargo.toml +193 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/context.rs +384 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/dominator_tree.rs +727 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/egraph.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/inst_predicates.rs +230 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/dfg.rs +1777 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/extfunc.rs +402 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/immediates.rs +1612 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/stackslot.rs +208 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/types.rs +627 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/abi.rs +1556 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/args.rs +711 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit.rs +3584 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit_tests.rs +7901 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/imms.rs +1213 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/mod.rs +3060 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/regs.rs +269 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst.isle +4218 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/pcc.rs +568 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/abi.rs +1029 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/args.rs +2054 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit.rs +2682 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit_tests.rs +2215 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/encode.rs +675 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/imms.rs +374 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/mod.rs +1938 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/unwind/systemv.rs +170 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/vector.rs +1150 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst.isle +3127 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst_vector.isle +1907 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower/isle.rs +649 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower.isle +2923 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/mod.rs +260 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/abi.rs +1016 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/args.rs +298 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit.rs +3401 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit_tests.rs +13388 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/imms.rs +202 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/mod.rs +3401 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/regs.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/unwind/systemv.rs +212 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst.isle +5028 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/lower.isle +3995 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/abi.rs +1390 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/args.rs +2240 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit.rs +4287 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_state.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_tests.rs +5171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/mod.rs +2821 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/regs.rs +275 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/unwind/systemv.rs +198 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst.isle +5289 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/lower.isle +4810 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/pcc.rs +1014 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isle_prelude.rs +986 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/abi.rs +2419 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/blockorder.rs +465 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/buffer.rs +2508 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/isle.rs +909 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/lower.rs +1432 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/mod.rs +551 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/reg.rs +479 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/valueregs.rs +138 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/vcode.rs +1741 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/cprop.isle +297 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/shifts.isle +307 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude.isle +664 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude_lower.isle +1073 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/timing.rs +296 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/traversals.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/verifier/mod.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/write.rs +638 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/types.rs +496 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/isa/riscv64.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/src/constants.rs +28 -0
- data/ext/cargo-vendor/cranelift-control-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.109.0/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.109.0/Cargo.toml +53 -0
- data/ext/cargo-vendor/cranelift-entity-0.109.0/src/set.rs +290 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/Cargo.toml +68 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/frontend.rs +1857 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/lib.rs +187 -0
- data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/ssa.rs +1328 -0
- data/ext/cargo-vendor/cranelift-isle-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.109.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/cranelift-isle-0.109.0/src/sema.rs +2492 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/src/lib.rs +188 -0
- data/ext/cargo-vendor/cranelift-native-0.109.0/src/riscv.rs +128 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/Cargo.toml +110 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator.rs +3695 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/func_translator.rs +296 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/module_translator.rs +120 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/sections_translator.rs +343 -0
- data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/state.rs +522 -0
- data/ext/cargo-vendor/object-0.36.3/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.36.3/CHANGELOG.md +1028 -0
- data/ext/cargo-vendor/object-0.36.3/Cargo.toml +180 -0
- data/ext/cargo-vendor/object-0.36.3/README.md +60 -0
- data/ext/cargo-vendor/object-0.36.3/src/build/bytes.rs +146 -0
- data/ext/cargo-vendor/object-0.36.3/src/build/elf.rs +3113 -0
- data/ext/cargo-vendor/object-0.36.3/src/common.rs +590 -0
- data/ext/cargo-vendor/object-0.36.3/src/elf.rs +6303 -0
- data/ext/cargo-vendor/object-0.36.3/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.36.3/src/macho.rs +3303 -0
- data/ext/cargo-vendor/object-0.36.3/src/pod.rs +281 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/any.rs +1334 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/archive.rs +1133 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/comdat.rs +220 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/file.rs +381 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/relocation.rs +113 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/section.rs +619 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/coff/symbol.rs +669 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/attributes.rs +340 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/comdat.rs +186 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/file.rs +959 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/hash.rs +236 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/note.rs +302 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/relocation.rs +661 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/section.rs +1241 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/segment.rs +365 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/symbol.rs +654 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/elf/version.rs +513 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/gnu_compression.rs +36 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/dyld_cache.rs +384 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/file.rs +779 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/load_command.rs +404 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/section.rs +420 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/segment.rs +317 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/macho/symbol.rs +532 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/mod.rs +1018 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/file.rs +1033 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/import.rs +381 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/relocation.rs +109 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/pe/section.rs +476 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/read_cache.rs +261 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/traits.rs +589 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/wasm.rs +983 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/file.rs +716 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/relocation.rs +138 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/section.rs +452 -0
- data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/symbol.rs +836 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/coff/object.rs +681 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/coff/writer.rs +520 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/elf/object.rs +897 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/elf/writer.rs +2361 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/macho.rs +1124 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/mod.rs +1023 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/pe.rs +849 -0
- data/ext/cargo-vendor/object-0.36.3/src/write/xcoff.rs +588 -0
- data/ext/cargo-vendor/object-0.36.3/tests/build/elf.rs +254 -0
- data/ext/cargo-vendor/object-0.36.3/tests/build/mod.rs +3 -0
- data/ext/cargo-vendor/object-0.36.3/tests/integration.rs +3 -0
- data/ext/cargo-vendor/object-0.36.3/tests/read/macho.rs +49 -0
- data/ext/cargo-vendor/object-0.36.3/tests/read/mod.rs +5 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/bss.rs +244 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/comdat.rs +217 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/common.rs +241 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/elf.rs +302 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/mod.rs +682 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/section_flags.rs +89 -0
- data/ext/cargo-vendor/object-0.36.3/tests/round_trip/tls.rs +308 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/Cargo.toml +224 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_0.rs +1080 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_1.rs +1562 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/string_array.rs +75 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/sync/sched/windows.rs +221 -0
- data/ext/cargo-vendor/wasi-common-22.0.0/src/tokio/file.rs +247 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.lock +662 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.toml +109 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/binary_reader.rs +1929 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/hash.rs +120 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/detail.rs +1094 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/tests.rs +183 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map.rs +656 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_set.rs +316 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/map.rs +840 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/mod.rs +24 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/set.rs +660 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/features.rs +164 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/lib.rs +814 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/limits.rs +79 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/parser.rs +1682 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/imports.rs +130 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/instances.rs +166 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/names.rs +99 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/types.rs +553 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/branch_hinting.rs +59 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/code.rs +142 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/coredumps.rs +278 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/custom.rs +128 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/data.rs +96 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/elements.rs +146 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/globals.rs +61 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/init.rs +57 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/linking.rs +457 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/names.rs +159 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/operators.rs +423 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/producers.rs +84 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/reloc.rs +300 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/types.rs +1788 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/readers.rs +315 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/component.rs +3236 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core/canonical.rs +233 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core.rs +1464 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/func.rs +331 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/names.rs +1016 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/operators.rs +4231 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/types.rs +4550 -0
- data/ext/cargo-vendor/wasmparser-0.209.1/src/validator.rs +1633 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/Cargo.toml +51 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/lib.rs +3225 -0
- data/ext/cargo-vendor/wasmprinter-0.209.1/src/operator.rs +1171 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/Cargo.toml +387 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/build.rs +42 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/runtime.rs +167 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/compile.rs +917 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/config.rs +2943 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/engine/serialization.rs +890 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/lib.rs +389 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/jitdump.rs +67 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/perfmap.rs +48 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code.rs +102 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code_memory.rs +338 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_0_hello_world.rs +9 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_1_world_imports.rs +17 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs +18 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_3_interface_imports.rs +20 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_4_imported_resources.rs +45 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +29 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_6_exported_resources.rs +26 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/mod.rs +489 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/component.rs +656 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/typed.rs +2498 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func.rs +689 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/instance.rs +810 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/linker.rs +854 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/mod.rs +657 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/resource_table.rs +355 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/types.rs +897 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/debug.rs +166 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/global.rs +310 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/table.rs +481 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func/typed.rs +780 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func.rs +2564 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/anyref.rs +410 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/externref.rs +592 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/i31.rs +299 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/noextern.rs +154 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc.rs +92 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instantiate.rs +337 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/linker.rs +1499 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module/registry.rs +353 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module.rs +1322 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store/func_refs.rs +90 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store.rs +2824 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/func.rs +94 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/memory.rs +287 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/type_registry.rs +1015 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types.rs +2580 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/v128.rs +116 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/values.rs +966 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/resources.rs +352 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component.rs +857 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/cow.rs +972 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_ref.rs +491 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/on_demand.rs +220 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +194 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +94 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +78 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +707 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +975 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/table_pool.rs +245 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +278 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling.rs +794 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator.rs +801 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance.rs +1514 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/memory.rs +736 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/capi.rs +200 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/vm.rs +105 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/vm.rs +59 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/mod.rs +36 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/signals.rs +407 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/vm.rs +190 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/vm.rs +75 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/table.rs +899 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/traphandlers.rs +768 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext/vm_host_func_context.rs +79 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext.rs +1302 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm.rs +277 -0
- data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime.rs +113 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/Cargo.toml +89 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/config.rs +584 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/tests.rs +91 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker/tests.rs +758 -0
- data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker.rs +890 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/Cargo.toml +86 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/bindgen.rs +493 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/component.rs +1330 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen.rs +651 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char.rs +198 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char_async.rs +215 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions.rs +586 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions_async.rs +631 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code_async.rs +178 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import.rs +91 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import_async.rs +97 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty.rs +45 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty_async.rs +45 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags.rs +637 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags_async.rs +679 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats.rs +255 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats_async.rs +282 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new.rs +59 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new_async.rs +62 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers.rs +722 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers_async.rs +819 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists.rs +1743 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists_async.rs +1927 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments.rs +543 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments_async.rs +561 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return.rs +270 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return_async.rs +298 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion.rs +251 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion_async.rs +270 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records.rs +815 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records_async.rs +877 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename.rs +154 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename_async.rs +167 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export.rs +467 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export_async.rs +516 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import.rs +1014 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import_async.rs +1086 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types.rs +249 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types_async.rs +265 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions.rs +313 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions_async.rs +347 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists.rs +350 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists_async.rs +381 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi.rs +216 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi_async.rs +229 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous.rs +275 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous_async.rs +287 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default.rs +59 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default_async.rs +62 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export.rs +86 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export_async.rs +89 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke.rs +104 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke_async.rs +111 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings.rs +247 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings_async.rs +269 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo.rs +136 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo_async.rs +143 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths.rs +288 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths_async.rs +314 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants.rs +1750 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants_async.rs +1867 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat.rs +84 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat_async.rs +84 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types.rs +138 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types_async.rs +148 -0
- data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded.rs +65 -0
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-22.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/Cargo.toml +115 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler/component.rs +957 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/address_transform.rs +783 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/mod.rs +256 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/simulate.rs +411 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/unit.rs +529 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/utils.rs +186 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/write_debuginfo.rs +196 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/func_environ.rs +2910 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/gc/enabled.rs +648 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/lib.rs +462 -0
- data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/obj.rs +545 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.lock +774 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.toml +161 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/address_map.rs +73 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/mod.rs +374 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_artifacts.rs +315 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_environ.rs +1348 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_types.rs +455 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/artifacts.rs +68 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate/adapt.rs +455 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate.rs +985 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types.rs +1038 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder/resources.rs +233 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder.rs +1004 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/trampoline.rs +3234 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/transcode.rs +90 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact.rs +714 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/lib.rs +151 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module.rs +704 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_artifacts.rs +144 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_types.rs +139 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/ref_bits.rs +36 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/tunables.rs +175 -0
- data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/vmoffsets.rs +989 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/build.rs +39 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/lib.rs +340 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/unix.rs +494 -0
- data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/windows.rs +170 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/Cargo.toml +68 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/gdb_jit_int.rs +130 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/perf_jitdump.rs +293 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/Cargo.toml +52 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/src/libc.rs +164 -0
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-22.0.0/src/lib.rs +498 -0
- data/ext/cargo-vendor/wasmtime-types-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-22.0.0/Cargo.toml +56 -0
- data/ext/cargo-vendor/wasmtime-types-22.0.0/src/lib.rs +1737 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/Cargo.toml +201 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/bindings.rs +289 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ctx.rs +704 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/filesystem.rs +446 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/clocks.rs +109 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/env.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/exit.rs +14 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem/sync.rs +525 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem.rs +1091 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/instance_network.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/io.rs +388 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/network.rs +545 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/random.rs +45 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp.rs +547 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp_create_socket.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp.rs +762 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp_create_socket.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ip_name_lookup.rs +132 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/lib.rs +417 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/network.rs +113 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/pipe.rs +826 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/poll.rs +245 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview0.rs +983 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview1.rs +2801 -0
- data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/stdio.rs +533 -0
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/Cargo.toml +82 -0
- data/ext/cargo-vendor/wasmtime-winch-22.0.0/src/compiler.rs +239 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/lib.rs +2639 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/rust.rs +427 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/types.rs +202 -0
- data/ext/cargo-vendor/wiggle-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-22.0.0/Cargo.toml +124 -0
- data/ext/cargo-vendor/wiggle-22.0.0/src/guest_type.rs +200 -0
- data/ext/cargo-vendor/wiggle-22.0.0/src/lib.rs +605 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/funcs.rs +434 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/module_trait.rs +89 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/names.rs +299 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/flags.rs +92 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/handle.rs +84 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/mod.rs +129 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/record.rs +129 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/variant.rs +186 -0
- data/ext/cargo-vendor/wiggle-generate-22.0.0/src/wasmtime.rs +172 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/Cargo.toml +51 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/build.rs +5 -0
- data/ext/cargo-vendor/wiggle-macro-22.0.0/src/lib.rs +233 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/Cargo.toml +77 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/abi/mod.rs +671 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/context.rs +536 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/control.rs +972 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/env.rs +448 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/mod.rs +882 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/frame/mod.rs +258 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/asm.rs +430 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/masm.rs +572 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/regs.rs +161 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/masm.rs +1120 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/masm.rs +941 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/regalloc.rs +65 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/stack.rs +439 -0
- data/ext/cargo-vendor/winch-codegen-0.20.0/src/visitor.rs +2149 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/Cargo.toml +112 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/resolve.rs +1524 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/ast.rs +1668 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/decoding.rs +1795 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/lib.rs +873 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/live.rs +126 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/metadata.rs +772 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/resolve.rs +2498 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/src/serde_.rs +124 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/all.rs +154 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/complex-include.wit.json +200 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/diamond1.wit.json +59 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/disambiguate-diamond.wit.json +115 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit +118 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit.json +288 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps-union.wit.json +410 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps.wit.json +362 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/ignore-files-deps.wit.json +41 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/import-export-overlap2.wit.json +43 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/include-reps.wit.json +68 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/kinds-of-deps.wit.json +95 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/many-names.wit.json +42 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/multi-file.wit.json +304 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/conflicting-package.wit.result +10 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/multiple-package-docs.wit.result +10 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-return-borrow.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow1.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow2.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow6.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow7.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow8.wit.result +9 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/shared-types.wit.json +87 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit +89 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit.json +549 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/stress-export-elaborate.wit.json +1156 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-diamond.wit.json +124 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-iface-no-collide.wit.json +68 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import1.wit.json +81 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import2.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import3.wit.json +73 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-same-fields4.wit.json +82 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-top-level-resources.wit.json +237 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-union-dedup.wit.json +112 -0
- data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-with-types.wit.json +204 -0
- data/ext/src/ruby_api/pooling_allocation_config.rs +6 -6
- data/lib/wasmtime/version.rb +1 -1
- metadata +1525 -1459
- data/ext/cargo-vendor/cranelift-bforest-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.108.1/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/Cargo.toml +0 -189
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/context.rs +0 -395
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dce.rs +0 -37
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dominator_tree.rs +0 -803
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph.rs +0 -839
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/inst_predicates.rs +0 -236
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/dfg.rs +0 -1777
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/extfunc.rs +0 -411
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/immediates.rs +0 -1612
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/stackslot.rs +0 -216
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/types.rs +0 -629
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/abi.rs +0 -1580
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/args.rs +0 -721
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit.rs +0 -3846
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit_tests.rs +0 -7902
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/imms.rs +0 -1213
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/mod.rs +0 -3094
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/regs.rs +0 -288
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/unwind/systemv.rs +0 -174
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst.isle +0 -4225
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/pcc.rs +0 -568
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/abi.rs +0 -1051
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/args.rs +0 -1938
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit.rs +0 -2681
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit_tests.rs +0 -2197
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/encode.rs +0 -654
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/imms.rs +0 -374
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/mod.rs +0 -1975
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/unwind/systemv.rs +0 -170
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/vector.rs +0 -1144
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst.isle +0 -2969
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst_vector.isle +0 -1899
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower/isle.rs +0 -625
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower.isle +0 -2883
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/mod.rs +0 -260
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/abi.rs +0 -1037
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/args.rs +0 -314
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit.rs +0 -3646
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit_tests.rs +0 -13389
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/imms.rs +0 -202
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/mod.rs +0 -3421
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/regs.rs +0 -180
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/unwind/systemv.rs +0 -212
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst.isle +0 -5033
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/lower.isle +0 -3995
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/abi.rs +0 -1410
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/args.rs +0 -2256
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit.rs +0 -4311
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_state.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_tests.rs +0 -5171
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/mod.rs +0 -2838
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/regs.rs +0 -276
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/unwind/systemv.rs +0 -198
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst.isle +0 -5294
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.isle +0 -4808
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/pcc.rs +0 -1014
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isle_prelude.rs +0 -957
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/lib.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/abi.rs +0 -2506
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/blockorder.rs +0 -465
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/buffer.rs +0 -2512
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/isle.rs +0 -903
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/lower.rs +0 -1432
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/mod.rs +0 -555
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/reg.rs +0 -522
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/valueregs.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/vcode.rs +0 -1741
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/cprop.isle +0 -281
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/shifts.isle +0 -307
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude.isle +0 -646
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude_lower.isle +0 -1073
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/timing.rs +0 -297
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/verifier/mod.rs +0 -1957
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/write.rs +0 -631
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/cdsl/types.rs +0 -496
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/riscv64.rs +0 -168
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/src/constants.rs +0 -28
- data/ext/cargo-vendor/cranelift-control-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.108.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.108.1/Cargo.toml +0 -52
- data/ext/cargo-vendor/cranelift-entity-0.108.1/src/set.rs +0 -290
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/Cargo.toml +0 -67
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/frontend.rs +0 -1854
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/lib.rs +0 -189
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/ssa.rs +0 -1328
- data/ext/cargo-vendor/cranelift-isle-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.108.1/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/sema.rs +0 -2492
- data/ext/cargo-vendor/cranelift-native-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.108.1/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-native-0.108.1/src/lib.rs +0 -188
- data/ext/cargo-vendor/cranelift-native-0.108.1/src/riscv.rs +0 -128
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/Cargo.toml +0 -109
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/code_translator.rs +0 -3687
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/func_translator.rs +0 -296
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/module_translator.rs +0 -128
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/sections_translator.rs +0 -389
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/state.rs +0 -522
- data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +0 -797
- data/ext/cargo-vendor/object-0.33.0/Cargo.toml +0 -179
- data/ext/cargo-vendor/object-0.33.0/README.md +0 -56
- data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +0 -141
- data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +0 -3033
- data/ext/cargo-vendor/object-0.33.0/src/common.rs +0 -568
- data/ext/cargo-vendor/object-0.33.0/src/elf.rs +0 -6291
- data/ext/cargo-vendor/object-0.33.0/src/endian.rs +0 -831
- data/ext/cargo-vendor/object-0.33.0/src/macho.rs +0 -3309
- data/ext/cargo-vendor/object-0.33.0/src/pod.rs +0 -239
- data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +0 -1328
- data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +0 -759
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +0 -211
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +0 -383
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +0 -108
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +0 -585
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +0 -635
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +0 -306
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +0 -162
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +0 -918
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +0 -224
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +0 -271
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +0 -629
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +0 -1150
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +0 -356
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +0 -595
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +0 -424
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +0 -345
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +0 -783
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +0 -386
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +0 -389
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +0 -303
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +0 -492
- data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +0 -880
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +0 -1053
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +0 -339
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +0 -92
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +0 -440
- data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +0 -213
- data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +0 -551
- data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +0 -966
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +0 -697
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +0 -134
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +0 -433
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +0 -784
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +0 -678
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +0 -518
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +0 -885
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +0 -2309
- data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +0 -1107
- data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +0 -990
- data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +0 -847
- data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +0 -589
- data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +0 -2
- data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +0 -4
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +0 -255
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +0 -225
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +0 -245
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +0 -289
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +0 -704
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +0 -90
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +0 -316
- data/ext/cargo-vendor/wasi-common-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-21.0.1/Cargo.toml +0 -223
- data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_0.rs +0 -1145
- data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_1.rs +0 -1497
- data/ext/cargo-vendor/wasi-common-21.0.1/src/string_array.rs +0 -74
- data/ext/cargo-vendor/wasi-common-21.0.1/src/sync/sched/windows.rs +0 -221
- data/ext/cargo-vendor/wasi-common-21.0.1/src/tokio/file.rs +0 -247
- data/ext/cargo-vendor/wasm-encoder-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.207.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasm-encoder-0.207.0/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/code.rs +0 -3502
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/custom.rs +0 -73
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/data.rs +0 -186
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/elements.rs +0 -221
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/exports.rs +0 -98
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/globals.rs +0 -112
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/imports.rs +0 -157
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/memories.rs +0 -128
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/names.rs +0 -298
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/producers.rs +0 -180
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tables.rs +0 -134
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tags.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/types.rs +0 -678
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.lock +0 -659
- data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.toml +0 -95
- data/ext/cargo-vendor/wasmparser-0.207.0/src/binary_reader.rs +0 -1867
- data/ext/cargo-vendor/wasmparser-0.207.0/src/lib.rs +0 -805
- data/ext/cargo-vendor/wasmparser-0.207.0/src/limits.rs +0 -78
- data/ext/cargo-vendor/wasmparser-0.207.0/src/map.rs +0 -137
- data/ext/cargo-vendor/wasmparser-0.207.0/src/parser.rs +0 -1636
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/imports.rs +0 -129
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/instances.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/names.rs +0 -102
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/types.rs +0 -551
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/branch_hinting.rs +0 -59
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/code.rs +0 -146
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/coredumps.rs +0 -244
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/custom.rs +0 -64
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/elements.rs +0 -152
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/globals.rs +0 -51
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/init.rs +0 -51
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/linking.rs +0 -450
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/names.rs +0 -159
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/operators.rs +0 -430
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/producers.rs +0 -83
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/reloc.rs +0 -301
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types.rs +0 -1773
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers.rs +0 -316
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/component.rs +0 -3242
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core/canonical.rs +0 -233
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core.rs +0 -1450
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/func.rs +0 -331
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/names.rs +0 -947
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/operators.rs +0 -4117
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/types.rs +0 -4492
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator.rs +0 -1786
- data/ext/cargo-vendor/wasmprinter-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.207.0/Cargo.toml +0 -50
- data/ext/cargo-vendor/wasmprinter-0.207.0/src/lib.rs +0 -3226
- data/ext/cargo-vendor/wasmprinter-0.207.0/src/operator.rs +0 -1164
- data/ext/cargo-vendor/wasmtime-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-21.0.1/Cargo.toml +0 -386
- data/ext/cargo-vendor/wasmtime-21.0.1/build.rs +0 -37
- data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/runtime.rs +0 -176
- data/ext/cargo-vendor/wasmtime-21.0.1/src/compile.rs +0 -910
- data/ext/cargo-vendor/wasmtime-21.0.1/src/config.rs +0 -2904
- data/ext/cargo-vendor/wasmtime-21.0.1/src/engine/serialization.rs +0 -887
- data/ext/cargo-vendor/wasmtime-21.0.1/src/lib.rs +0 -328
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/jitdump.rs +0 -67
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/perfmap.rs +0 -48
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code.rs +0 -102
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code_memory.rs +0 -337
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/component.rs +0 -661
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/typed.rs +0 -2498
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func.rs +0 -746
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/instance.rs +0 -814
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/linker.rs +0 -783
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/matching.rs +0 -217
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/mod.rs +0 -783
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resource_table.rs +0 -355
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/types.rs +0 -892
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/debug.rs +0 -166
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/global.rs +0 -310
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/table.rs +0 -477
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func/typed.rs +0 -899
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func.rs +0 -2627
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/anyref.rs +0 -473
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/externref.rs +0 -650
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/i31.rs +0 -346
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc.rs +0 -89
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instance.rs +0 -992
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instantiate.rs +0 -346
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/linker.rs +0 -1506
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module/registry.rs +0 -353
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/func_refs.rs +0 -90
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store.rs +0 -2820
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/func.rs +0 -139
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/memory.rs +0 -287
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/type_registry.rs +0 -807
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types.rs +0 -2239
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/values.rs +0 -966
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/resources.rs +0 -352
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component.rs +0 -860
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/cow.rs +0 -893
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/export.rs +0 -108
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_ref.rs +0 -491
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/on_demand.rs +0 -218
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -93
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -66
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -705
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -1000
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -233
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -245
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling.rs +0 -656
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator.rs +0 -798
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance.rs +0 -1519
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/memory.rs +0 -744
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/capi.rs +0 -200
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/vm.rs +0 -109
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/vm.rs +0 -63
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/mod.rs +0 -25
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/signals.rs +0 -401
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/vm.rs +0 -215
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/vm.rs +0 -79
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/table.rs +0 -847
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers.rs +0 -768
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -138
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext.rs +0 -1337
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm.rs +0 -287
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime.rs +0 -110
- data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/Cargo.toml +0 -88
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/config.rs +0 -584
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/lib.rs +0 -235
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/tests.rs +0 -91
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker/tests.rs +0 -758
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker.rs +0 -890
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/Cargo.toml +0 -79
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/bindgen.rs +0 -436
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen.rs +0 -576
- data/ext/cargo-vendor/wasmtime-component-util-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-21.0.1/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler/component.rs +0 -968
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler.rs +0 -1383
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/address_transform.rs +0 -783
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/mod.rs +0 -256
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/unit.rs +0 -529
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/utils.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/write_debuginfo.rs +0 -196
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/func_environ.rs +0 -2888
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc/enabled.rs +0 -648
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/lib.rs +0 -511
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/obj.rs +0 -545
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.lock +0 -772
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.toml +0 -154
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/address_map.rs +0 -73
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/mod.rs +0 -419
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_artifacts.rs +0 -315
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_environ.rs +0 -1337
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_types.rs +0 -362
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/artifacts.rs +0 -72
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/info.rs +0 -672
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate/adapt.rs +0 -455
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate.rs +0 -978
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types.rs +0 -1029
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder/resources.rs +0 -233
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder.rs +0 -997
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/trampoline.rs +0 -3234
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/transcode.rs +0 -90
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact.rs +0 -714
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/lib.rs +0 -161
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module.rs +0 -697
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_artifacts.rs +0 -146
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_types.rs +0 -91
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/ref_bits.rs +0 -36
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/tunables.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/vmoffsets.rs +0 -1015
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/Cargo.toml +0 -64
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/build.rs +0 -38
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/lib.rs +0 -328
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/unix.rs +0 -490
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/windows.rs +0 -166
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/gdb_jit_int.rs +0 -130
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/perf_jitdump.rs +0 -293
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/Cargo.toml +0 -51
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/libc.rs +0 -163
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/src/lib.rs +0 -498
- data/ext/cargo-vendor/wasmtime-types-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-21.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/wasmtime-types-21.0.1/src/lib.rs +0 -1572
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/Cargo.toml +0 -200
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/bindings.rs +0 -280
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ctx.rs +0 -667
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/filesystem.rs +0 -446
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/clocks.rs +0 -103
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/env.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/exit.rs +0 -11
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem/sync.rs +0 -518
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem.rs +0 -1079
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/instance_network.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/io.rs +0 -367
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/network.rs +0 -539
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/random.rs +0 -36
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp.rs +0 -306
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp_create_socket.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp.rs +0 -532
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp_create_socket.rs +0 -15
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ip_name_lookup.rs +0 -126
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/lib.rs +0 -426
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/network.rs +0 -107
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/poll.rs +0 -233
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview0.rs +0 -877
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview1.rs +0 -2660
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/stdio.rs +0 -507
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/src/compiler.rs +0 -261
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/lib.rs +0 -2541
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/rust.rs +0 -421
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/types.rs +0 -202
- data/ext/cargo-vendor/wiggle-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-21.0.1/Cargo.toml +0 -123
- data/ext/cargo-vendor/wiggle-21.0.1/src/borrow.rs +0 -113
- data/ext/cargo-vendor/wiggle-21.0.1/src/guest_type.rs +0 -237
- data/ext/cargo-vendor/wiggle-21.0.1/src/lib.rs +0 -1184
- data/ext/cargo-vendor/wiggle-21.0.1/src/wasmtime.rs +0 -97
- data/ext/cargo-vendor/wiggle-generate-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-21.0.1/Cargo.toml +0 -66
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/funcs.rs +0 -435
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/module_trait.rs +0 -102
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/names.rs +0 -303
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/flags.rs +0 -92
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/handle.rs +0 -84
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/mod.rs +0 -129
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/record.rs +0 -132
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/variant.rs +0 -191
- data/ext/cargo-vendor/wiggle-generate-21.0.1/src/wasmtime.rs +0 -170
- data/ext/cargo-vendor/wiggle-macro-21.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-21.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-21.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-macro-21.0.1/src/lib.rs +0 -210
- data/ext/cargo-vendor/winch-codegen-0.19.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.19.1/Cargo.toml +0 -76
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/abi/mod.rs +0 -671
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/context.rs +0 -534
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/control.rs +0 -972
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/env.rs +0 -440
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/mod.rs +0 -882
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/frame/mod.rs +0 -258
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/asm.rs +0 -380
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/masm.rs +0 -566
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/regs.rs +0 -161
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/asm.rs +0 -1423
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/masm.rs +0 -1120
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/masm.rs +0 -941
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/regalloc.rs +0 -65
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/stack.rs +0 -439
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/visitor.rs +0 -2144
- data/ext/cargo-vendor/wit-parser-0.207.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.207.0/Cargo.toml +0 -109
- data/ext/cargo-vendor/wit-parser-0.207.0/src/ast/resolve.rs +0 -1442
- data/ext/cargo-vendor/wit-parser-0.207.0/src/ast.rs +0 -1348
- data/ext/cargo-vendor/wit-parser-0.207.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.207.0/src/docs.rs +0 -389
- data/ext/cargo-vendor/wit-parser-0.207.0/src/lib.rs +0 -777
- data/ext/cargo-vendor/wit-parser-0.207.0/src/live.rs +0 -126
- data/ext/cargo-vendor/wit-parser-0.207.0/src/resolve.rs +0 -2337
- data/ext/cargo-vendor/wit-parser-0.207.0/src/serde_.rs +0 -108
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/all.rs +0 -153
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/complex-include.wit.json +0 -168
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/diamond1.wit.json +0 -55
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/disambiguate-diamond.wit.json +0 -107
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps-union.wit.json +0 -380
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps.wit.json +0 -344
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/ignore-files-deps.wit.json +0 -39
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/import-export-overlap2.wit.json +0 -41
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/include-reps.wit.json +0 -60
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/kinds-of-deps.wit.json +0 -87
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/many-names.wit.json +0 -40
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/multi-file.wit.json +0 -298
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/conflicting-package.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/shared-types.wit.json +0 -83
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/stress-export-elaborate.wit.json +0 -1136
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-diamond.wit.json +0 -118
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-iface-no-collide.wit.json +0 -66
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import1.wit.json +0 -75
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import2.wit.json +0 -70
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import3.wit.json +0 -71
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-same-fields4.wit.json +0 -76
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit.json +0 -231
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-union-dedup.wit.json +0 -100
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-with-types.wit.json +0 -202
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/trapcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spectre.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ranges.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/disjointsets.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/stablemapset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/dummy.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/spec.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/archive.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/error.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/table.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/pe.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/import.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/compression.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/dynamic.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/fat.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/relocation.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/data_directory.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/export.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/resource.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/rich.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/read_ref.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/util.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/comdat.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/segment.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/coff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/elf/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/string.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/util.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/xcoff.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/parse_self.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/coff.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/elf.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/coff.rs +0 -0
- /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/macho.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/async_.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.207.0 → wasmprinter-0.209.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmtime-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/compile/code_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/engine.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/anyref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/rooting.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled/rooting.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/async_yield.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/const_expr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/drc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/free_list.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/gc_runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/host_data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/machports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_nostd.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-21.0.1 → wasmtime-asm-macros-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-cache-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/dead-code.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen_no_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-21.0.1 → wasmtime-component-util-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cranelift-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-environ-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/compile/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-fiber-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-types-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-types-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-21.0.1 → wasmtime-versioned-export-macros-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-wasi-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/api.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/async_.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/preview1.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-21.0.1 → wasmtime-wit-bindgen-22.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wiggle-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-generate-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-macro-22.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/bounds.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/lex.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-with-types.wit +0 -0
@@ -1,2660 +0,0 @@
|
|
1
|
-
//! Bindings for WASIp1 aka Preview 1 aka `wasi_snapshot_preview1`.
|
2
|
-
//!
|
3
|
-
//! This module contains runtime support for configuring and executing
|
4
|
-
//! WASIp1-using core WebAssembly modules. Support for WASIp1 is built on top of
|
5
|
-
//! support for WASIp2 available at [the crate root](crate), but that's just an
|
6
|
-
//! internal implementation detail.
|
7
|
-
//!
|
8
|
-
//! Unlike the crate root support for WASIp1 centers around two APIs:
|
9
|
-
//!
|
10
|
-
//! * [`WasiP1Ctx`]
|
11
|
-
//! * [`add_to_linker_sync`] (or [`add_to_linker_async`])
|
12
|
-
//!
|
13
|
-
//! First a [`WasiCtxBuilder`] will be used and finalized with the [`build_p1`]
|
14
|
-
//! method to create a [`WasiCtx`]. Next a [`wasmtime::Linker`] is configured
|
15
|
-
//! with WASI imports by using the `add_to_linker_*` desired (sync or async
|
16
|
-
//! depending on [`Config::async_support`]).
|
17
|
-
//!
|
18
|
-
//! Note that WASIp1 is not as extensible or configurable as WASIp2 so the
|
19
|
-
//! support in this module is enough to run wasm modules but any customization
|
20
|
-
//! beyond that [`WasiCtxBuilder`] already supports is not possible yet.
|
21
|
-
//!
|
22
|
-
//! [`WasiCtxBuilder`]: crate::WasiCtxBuilder
|
23
|
-
//! [`build_p1`]: crate::WasiCtxBuilder::build_p1
|
24
|
-
//! [`Config::async_support`]: wasmtime::Config::async_support
|
25
|
-
//!
|
26
|
-
//! # Components vs Modules
|
27
|
-
//!
|
28
|
-
//! Note that WASIp1 does not work for components at this time, only core wasm
|
29
|
-
//! modules. That means this module is only for users of [`wasmtime::Module`]
|
30
|
-
//! and [`wasmtime::Linker`], for example. If you're using
|
31
|
-
//! [`wasmtime::component::Component`] or [`wasmtime::component::Linker`] you'll
|
32
|
-
//! want the WASIp2 [support this crate has](crate) instead.
|
33
|
-
//!
|
34
|
-
//! # Examples
|
35
|
-
//!
|
36
|
-
//! ```no_run
|
37
|
-
//! use wasmtime::{Result, Engine, Linker, Module, Store};
|
38
|
-
//! use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
39
|
-
//! use wasmtime_wasi::WasiCtxBuilder;
|
40
|
-
//!
|
41
|
-
//! // An example of executing a WASIp1 "command"
|
42
|
-
//! fn main() -> Result<()> {
|
43
|
-
//! let args = std::env::args().skip(1).collect::<Vec<_>>();
|
44
|
-
//! let engine = Engine::default();
|
45
|
-
//! let module = Module::from_file(&engine, &args[0])?;
|
46
|
-
//!
|
47
|
-
//! let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
48
|
-
//! preview1::add_to_linker_async(&mut linker, |t| t)?;
|
49
|
-
//! let pre = linker.instantiate_pre(&module)?;
|
50
|
-
//!
|
51
|
-
//! let wasi_ctx = WasiCtxBuilder::new()
|
52
|
-
//! .inherit_stdio()
|
53
|
-
//! .inherit_env()
|
54
|
-
//! .args(&args)
|
55
|
-
//! .build_p1();
|
56
|
-
//!
|
57
|
-
//! let mut store = Store::new(&engine, wasi_ctx);
|
58
|
-
//! let instance = pre.instantiate(&mut store)?;
|
59
|
-
//! let func = instance.get_typed_func::<(), ()>(&mut store, "_start")?;
|
60
|
-
//! func.call(&mut store, ())?;
|
61
|
-
//!
|
62
|
-
//! Ok(())
|
63
|
-
//! }
|
64
|
-
//! ```
|
65
|
-
|
66
|
-
use crate::bindings::{
|
67
|
-
cli::{
|
68
|
-
stderr, stdin, stdout, terminal_input, terminal_output, terminal_stderr, terminal_stdin,
|
69
|
-
terminal_stdout,
|
70
|
-
},
|
71
|
-
clocks::{monotonic_clock, wall_clock},
|
72
|
-
filesystem::{preopens, types as filesystem},
|
73
|
-
io::{poll, streams},
|
74
|
-
};
|
75
|
-
use crate::{FsError, IsATTY, ResourceTable, StreamError, StreamResult, WasiCtx, WasiView};
|
76
|
-
use anyhow::{bail, Context};
|
77
|
-
use std::borrow::Borrow;
|
78
|
-
use std::collections::{BTreeMap, HashSet};
|
79
|
-
use std::mem::{self, size_of, size_of_val};
|
80
|
-
use std::ops::{Deref, DerefMut};
|
81
|
-
use std::slice;
|
82
|
-
use std::sync::atomic::{AtomicU64, Ordering};
|
83
|
-
use std::sync::Arc;
|
84
|
-
use system_interface::fs::FileIoExt;
|
85
|
-
use wasmtime::component::Resource;
|
86
|
-
use wiggle::tracing::instrument;
|
87
|
-
use wiggle::{GuestError, GuestPtr, GuestStrCow, GuestType};
|
88
|
-
|
89
|
-
// Bring all WASI traits in scope that this implementation builds on.
|
90
|
-
use crate::bindings::cli::environment::Host as _;
|
91
|
-
use crate::bindings::filesystem::types::HostDescriptor as _;
|
92
|
-
use crate::bindings::io::poll::Host as _;
|
93
|
-
use crate::bindings::random::random::Host as _;
|
94
|
-
|
95
|
-
/// Structure containing state for WASIp1.
|
96
|
-
///
|
97
|
-
/// This structure is created through [`WasiCtxBuilder::build_p1`] and is
|
98
|
-
/// configured through the various methods of [`WasiCtxBuilder`]. This structure
|
99
|
-
/// itself implements generated traits for WASIp1 as well as [`WasiView`] to
|
100
|
-
/// have access to WASIp2.
|
101
|
-
///
|
102
|
-
/// Instances of [`WasiP1Ctx`] are typically stored within the `T` of
|
103
|
-
/// [`Store<T>`](wasmtime::Store).
|
104
|
-
///
|
105
|
-
/// [`WasiCtxBuilder::build_p1`]: crate::WasiCtxBuilder::build_p1
|
106
|
-
/// [`WasiCtxBuilder`]: crate::WasiCtxBuilder
|
107
|
-
///
|
108
|
-
/// # Examples
|
109
|
-
///
|
110
|
-
/// ```no_run
|
111
|
-
/// use wasmtime::{Result, Linker};
|
112
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
113
|
-
/// use wasmtime_wasi::WasiCtxBuilder;
|
114
|
-
///
|
115
|
-
/// struct MyState {
|
116
|
-
/// // ... custom state as necessary ...
|
117
|
-
///
|
118
|
-
/// wasi: WasiP1Ctx,
|
119
|
-
/// }
|
120
|
-
///
|
121
|
-
/// impl MyState {
|
122
|
-
/// fn new() -> MyState {
|
123
|
-
/// MyState {
|
124
|
-
/// // .. initialize custom state if needed ..
|
125
|
-
///
|
126
|
-
/// wasi: WasiCtxBuilder::new()
|
127
|
-
/// .arg("./foo.wasm")
|
128
|
-
/// // .. more customization if necesssary ..
|
129
|
-
/// .build_p1(),
|
130
|
-
/// }
|
131
|
-
/// }
|
132
|
-
/// }
|
133
|
-
///
|
134
|
-
/// fn add_to_linker(linker: &mut Linker<MyState>) -> Result<()> {
|
135
|
-
/// preview1::add_to_linker_sync(linker, |my_state| &mut my_state.wasi)?;
|
136
|
-
/// Ok(())
|
137
|
-
/// }
|
138
|
-
/// ```
|
139
|
-
pub struct WasiP1Ctx {
|
140
|
-
table: ResourceTable,
|
141
|
-
wasi: WasiCtx,
|
142
|
-
adapter: WasiPreview1Adapter,
|
143
|
-
}
|
144
|
-
|
145
|
-
impl WasiP1Ctx {
|
146
|
-
pub(crate) fn new(wasi: WasiCtx) -> Self {
|
147
|
-
Self {
|
148
|
-
table: ResourceTable::new(),
|
149
|
-
wasi,
|
150
|
-
adapter: WasiPreview1Adapter::new(),
|
151
|
-
}
|
152
|
-
}
|
153
|
-
}
|
154
|
-
|
155
|
-
impl WasiView for WasiP1Ctx {
|
156
|
-
fn table(&mut self) -> &mut ResourceTable {
|
157
|
-
&mut self.table
|
158
|
-
}
|
159
|
-
fn ctx(&mut self) -> &mut WasiCtx {
|
160
|
-
&mut self.wasi
|
161
|
-
}
|
162
|
-
}
|
163
|
-
|
164
|
-
#[derive(Debug)]
|
165
|
-
struct File {
|
166
|
-
/// The handle to the preview2 descriptor of type [`crate::filesystem::Descriptor::File`].
|
167
|
-
fd: Resource<filesystem::Descriptor>,
|
168
|
-
|
169
|
-
/// The current-position pointer.
|
170
|
-
position: Arc<AtomicU64>,
|
171
|
-
|
172
|
-
/// In append mode, all writes append to the file.
|
173
|
-
append: bool,
|
174
|
-
|
175
|
-
/// When blocking, read and write calls dispatch to blocking_read and
|
176
|
-
/// blocking_check_write on the underlying streams. When false, read and write
|
177
|
-
/// dispatch to stream's plain read and check_write.
|
178
|
-
blocking_mode: BlockingMode,
|
179
|
-
}
|
180
|
-
|
181
|
-
#[derive(Clone, Copy, Debug)]
|
182
|
-
enum BlockingMode {
|
183
|
-
Blocking,
|
184
|
-
NonBlocking,
|
185
|
-
}
|
186
|
-
impl BlockingMode {
|
187
|
-
fn from_fdflags(flags: &types::Fdflags) -> Self {
|
188
|
-
if flags.contains(types::Fdflags::NONBLOCK) {
|
189
|
-
BlockingMode::NonBlocking
|
190
|
-
} else {
|
191
|
-
BlockingMode::Blocking
|
192
|
-
}
|
193
|
-
}
|
194
|
-
async fn read(
|
195
|
-
&self,
|
196
|
-
host: &mut impl streams::Host,
|
197
|
-
input_stream: Resource<streams::InputStream>,
|
198
|
-
max_size: usize,
|
199
|
-
) -> Result<Vec<u8>, types::Error> {
|
200
|
-
let max_size = max_size.try_into().unwrap_or(u64::MAX);
|
201
|
-
match self {
|
202
|
-
BlockingMode::Blocking => {
|
203
|
-
match streams::HostInputStream::blocking_read(host, input_stream, max_size).await {
|
204
|
-
Ok(r) if r.is_empty() => Err(types::Errno::Intr.into()),
|
205
|
-
Ok(r) => Ok(r),
|
206
|
-
Err(StreamError::Closed) => Ok(Vec::new()),
|
207
|
-
Err(e) => Err(e.into()),
|
208
|
-
}
|
209
|
-
}
|
210
|
-
|
211
|
-
BlockingMode::NonBlocking => {
|
212
|
-
match streams::HostInputStream::read(host, input_stream, max_size).await {
|
213
|
-
Ok(r) => Ok(r),
|
214
|
-
Err(StreamError::Closed) => Ok(Vec::new()),
|
215
|
-
Err(e) => Err(e.into()),
|
216
|
-
}
|
217
|
-
}
|
218
|
-
}
|
219
|
-
}
|
220
|
-
async fn write(
|
221
|
-
&self,
|
222
|
-
host: &mut (impl streams::Host + poll::Host),
|
223
|
-
output_stream: Resource<streams::OutputStream>,
|
224
|
-
bytes: GuestPtr<'_, [u8]>,
|
225
|
-
) -> StreamResult<usize> {
|
226
|
-
use streams::HostOutputStream as Streams;
|
227
|
-
|
228
|
-
let bytes = bytes.as_cow().map_err(|e| StreamError::Trap(e.into()))?;
|
229
|
-
let mut bytes = &bytes[..];
|
230
|
-
|
231
|
-
match self {
|
232
|
-
BlockingMode::Blocking => {
|
233
|
-
let total = bytes.len();
|
234
|
-
while !bytes.is_empty() {
|
235
|
-
// NOTE: blocking_write_and_flush takes at most one 4k buffer.
|
236
|
-
let len = bytes.len().min(4096);
|
237
|
-
let (chunk, rest) = bytes.split_at(len);
|
238
|
-
bytes = rest;
|
239
|
-
|
240
|
-
Streams::blocking_write_and_flush(
|
241
|
-
host,
|
242
|
-
output_stream.borrowed(),
|
243
|
-
Vec::from(chunk),
|
244
|
-
)
|
245
|
-
.await?
|
246
|
-
}
|
247
|
-
|
248
|
-
Ok(total)
|
249
|
-
}
|
250
|
-
BlockingMode::NonBlocking => {
|
251
|
-
let n = match Streams::check_write(host, output_stream.borrowed()) {
|
252
|
-
Ok(n) => n,
|
253
|
-
Err(StreamError::Closed) => 0,
|
254
|
-
Err(e) => Err(e)?,
|
255
|
-
};
|
256
|
-
|
257
|
-
let len = bytes.len().min(n as usize);
|
258
|
-
if len == 0 {
|
259
|
-
return Ok(0);
|
260
|
-
}
|
261
|
-
|
262
|
-
match Streams::write(host, output_stream.borrowed(), bytes[..len].to_vec()) {
|
263
|
-
Ok(()) => {}
|
264
|
-
Err(StreamError::Closed) => return Ok(0),
|
265
|
-
Err(e) => Err(e)?,
|
266
|
-
}
|
267
|
-
|
268
|
-
match Streams::blocking_flush(host, output_stream.borrowed()).await {
|
269
|
-
Ok(()) => {}
|
270
|
-
Err(StreamError::Closed) => return Ok(0),
|
271
|
-
Err(e) => Err(e)?,
|
272
|
-
};
|
273
|
-
|
274
|
-
Ok(len)
|
275
|
-
}
|
276
|
-
}
|
277
|
-
}
|
278
|
-
}
|
279
|
-
|
280
|
-
#[derive(Debug)]
|
281
|
-
enum Descriptor {
|
282
|
-
Stdin {
|
283
|
-
stream: Resource<streams::InputStream>,
|
284
|
-
isatty: IsATTY,
|
285
|
-
},
|
286
|
-
Stdout {
|
287
|
-
stream: Resource<streams::OutputStream>,
|
288
|
-
isatty: IsATTY,
|
289
|
-
},
|
290
|
-
Stderr {
|
291
|
-
stream: Resource<streams::OutputStream>,
|
292
|
-
isatty: IsATTY,
|
293
|
-
},
|
294
|
-
/// A fd of type [`crate::filesystem::Descriptor::Dir`]
|
295
|
-
Directory {
|
296
|
-
fd: Resource<filesystem::Descriptor>,
|
297
|
-
/// The path this directory was preopened as.
|
298
|
-
/// `None` means this directory was opened using `open-at`.
|
299
|
-
preopen_path: Option<String>,
|
300
|
-
},
|
301
|
-
/// A fd of type [`crate::filesystem::Descriptor::File`]
|
302
|
-
File(File),
|
303
|
-
}
|
304
|
-
|
305
|
-
#[derive(Debug, Default)]
|
306
|
-
struct WasiPreview1Adapter {
|
307
|
-
descriptors: Option<Descriptors>,
|
308
|
-
}
|
309
|
-
|
310
|
-
#[derive(Debug, Default)]
|
311
|
-
struct Descriptors {
|
312
|
-
used: BTreeMap<u32, Descriptor>,
|
313
|
-
free: Vec<u32>,
|
314
|
-
}
|
315
|
-
|
316
|
-
impl Deref for Descriptors {
|
317
|
-
type Target = BTreeMap<u32, Descriptor>;
|
318
|
-
|
319
|
-
fn deref(&self) -> &Self::Target {
|
320
|
-
&self.used
|
321
|
-
}
|
322
|
-
}
|
323
|
-
|
324
|
-
impl DerefMut for Descriptors {
|
325
|
-
fn deref_mut(&mut self) -> &mut Self::Target {
|
326
|
-
&mut self.used
|
327
|
-
}
|
328
|
-
}
|
329
|
-
|
330
|
-
impl Descriptors {
|
331
|
-
/// Initializes [Self] using `preopens`
|
332
|
-
fn new(
|
333
|
-
host: &mut (impl preopens::Host
|
334
|
-
+ stdin::Host
|
335
|
-
+ stdout::Host
|
336
|
-
+ stderr::Host
|
337
|
-
+ terminal_stdin::Host
|
338
|
-
+ terminal_stdout::Host
|
339
|
-
+ terminal_stderr::Host
|
340
|
-
+ terminal_input::Host
|
341
|
-
+ terminal_output::Host
|
342
|
-
+ ?Sized),
|
343
|
-
) -> Result<Self, types::Error> {
|
344
|
-
let mut descriptors = Self::default();
|
345
|
-
descriptors.push(Descriptor::Stdin {
|
346
|
-
stream: host
|
347
|
-
.get_stdin()
|
348
|
-
.context("failed to call `get-stdin`")
|
349
|
-
.map_err(types::Error::trap)?,
|
350
|
-
isatty: if let Some(term_in) = host
|
351
|
-
.get_terminal_stdin()
|
352
|
-
.context("failed to call `get-terminal-stdin`")
|
353
|
-
.map_err(types::Error::trap)?
|
354
|
-
{
|
355
|
-
terminal_input::HostTerminalInput::drop(host, term_in)
|
356
|
-
.context("failed to call `drop-terminal-input`")
|
357
|
-
.map_err(types::Error::trap)?;
|
358
|
-
IsATTY::Yes
|
359
|
-
} else {
|
360
|
-
IsATTY::No
|
361
|
-
},
|
362
|
-
})?;
|
363
|
-
descriptors.push(Descriptor::Stdout {
|
364
|
-
stream: host
|
365
|
-
.get_stdout()
|
366
|
-
.context("failed to call `get-stdout`")
|
367
|
-
.map_err(types::Error::trap)?,
|
368
|
-
isatty: if let Some(term_out) = host
|
369
|
-
.get_terminal_stdout()
|
370
|
-
.context("failed to call `get-terminal-stdout`")
|
371
|
-
.map_err(types::Error::trap)?
|
372
|
-
{
|
373
|
-
terminal_output::HostTerminalOutput::drop(host, term_out)
|
374
|
-
.context("failed to call `drop-terminal-output`")
|
375
|
-
.map_err(types::Error::trap)?;
|
376
|
-
IsATTY::Yes
|
377
|
-
} else {
|
378
|
-
IsATTY::No
|
379
|
-
},
|
380
|
-
})?;
|
381
|
-
descriptors.push(Descriptor::Stderr {
|
382
|
-
stream: host
|
383
|
-
.get_stderr()
|
384
|
-
.context("failed to call `get-stderr`")
|
385
|
-
.map_err(types::Error::trap)?,
|
386
|
-
isatty: if let Some(term_out) = host
|
387
|
-
.get_terminal_stderr()
|
388
|
-
.context("failed to call `get-terminal-stderr`")
|
389
|
-
.map_err(types::Error::trap)?
|
390
|
-
{
|
391
|
-
terminal_output::HostTerminalOutput::drop(host, term_out)
|
392
|
-
.context("failed to call `drop-terminal-output`")
|
393
|
-
.map_err(types::Error::trap)?;
|
394
|
-
IsATTY::Yes
|
395
|
-
} else {
|
396
|
-
IsATTY::No
|
397
|
-
},
|
398
|
-
})?;
|
399
|
-
|
400
|
-
for dir in host
|
401
|
-
.get_directories()
|
402
|
-
.context("failed to call `get-directories`")
|
403
|
-
.map_err(types::Error::trap)?
|
404
|
-
{
|
405
|
-
descriptors.push(Descriptor::Directory {
|
406
|
-
fd: dir.0,
|
407
|
-
preopen_path: Some(dir.1),
|
408
|
-
})?;
|
409
|
-
}
|
410
|
-
Ok(descriptors)
|
411
|
-
}
|
412
|
-
|
413
|
-
/// Returns next descriptor number, which was never assigned
|
414
|
-
fn unused(&self) -> Result<u32> {
|
415
|
-
match self.last_key_value() {
|
416
|
-
Some((fd, _)) => {
|
417
|
-
if let Some(fd) = fd.checked_add(1) {
|
418
|
-
return Ok(fd);
|
419
|
-
}
|
420
|
-
if self.len() == u32::MAX as usize {
|
421
|
-
return Err(types::Errno::Loop.into());
|
422
|
-
}
|
423
|
-
// TODO: Optimize
|
424
|
-
Ok((0..u32::MAX)
|
425
|
-
.rev()
|
426
|
-
.find(|fd| !self.contains_key(fd))
|
427
|
-
.expect("failed to find an unused file descriptor"))
|
428
|
-
}
|
429
|
-
None => Ok(0),
|
430
|
-
}
|
431
|
-
}
|
432
|
-
|
433
|
-
/// Removes the [Descriptor] corresponding to `fd`
|
434
|
-
fn remove(&mut self, fd: types::Fd) -> Option<Descriptor> {
|
435
|
-
let fd = fd.into();
|
436
|
-
let desc = self.used.remove(&fd)?;
|
437
|
-
self.free.push(fd);
|
438
|
-
Some(desc)
|
439
|
-
}
|
440
|
-
|
441
|
-
/// Pushes the [Descriptor] returning corresponding number.
|
442
|
-
/// This operation will try to reuse numbers previously removed via [`Self::remove`]
|
443
|
-
/// and rely on [`Self::unused`] if no free numbers are recorded
|
444
|
-
fn push(&mut self, desc: Descriptor) -> Result<u32> {
|
445
|
-
let fd = if let Some(fd) = self.free.pop() {
|
446
|
-
fd
|
447
|
-
} else {
|
448
|
-
self.unused()?
|
449
|
-
};
|
450
|
-
assert!(self.insert(fd, desc).is_none());
|
451
|
-
Ok(fd)
|
452
|
-
}
|
453
|
-
}
|
454
|
-
|
455
|
-
impl WasiPreview1Adapter {
|
456
|
-
fn new() -> Self {
|
457
|
-
Self::default()
|
458
|
-
}
|
459
|
-
}
|
460
|
-
|
461
|
-
/// A mutably-borrowed [`WasiPreview1View`] implementation, which provides access to the stored
|
462
|
-
/// state. It can be thought of as an in-flight [`WasiPreview1Adapter`] transaction, all
|
463
|
-
/// changes will be recorded in the underlying [`WasiPreview1Adapter`] returned by
|
464
|
-
/// [`WasiPreview1View::adapter_mut`] on [`Drop`] of this struct.
|
465
|
-
// NOTE: This exists for the most part just due to the fact that `bindgen` generates methods with
|
466
|
-
// `&mut self` receivers and so this struct lets us extend the lifetime of the `&mut self` borrow
|
467
|
-
// of the [`WasiPreview1View`] to provide means to return mutably and immutably borrowed [`Descriptors`]
|
468
|
-
// without having to rely on something like `Arc<Mutex<Descriptors>>`, while also being able to
|
469
|
-
// call methods like [`Descriptor::is_file`] and hiding complexity from preview1 method implementations.
|
470
|
-
struct Transaction<'a> {
|
471
|
-
view: &'a mut WasiP1Ctx,
|
472
|
-
descriptors: Descriptors,
|
473
|
-
}
|
474
|
-
|
475
|
-
impl Drop for Transaction<'_> {
|
476
|
-
/// Record changes in the [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
477
|
-
fn drop(&mut self) {
|
478
|
-
let descriptors = mem::take(&mut self.descriptors);
|
479
|
-
self.view.adapter.descriptors = Some(descriptors);
|
480
|
-
}
|
481
|
-
}
|
482
|
-
|
483
|
-
impl Transaction<'_> {
|
484
|
-
/// Borrows [`Descriptor`] corresponding to `fd`.
|
485
|
-
///
|
486
|
-
/// # Errors
|
487
|
-
///
|
488
|
-
/// Returns [`types::Errno::Badf`] if no [`Descriptor`] is found
|
489
|
-
fn get_descriptor(&self, fd: types::Fd) -> Result<&Descriptor> {
|
490
|
-
let fd = fd.into();
|
491
|
-
let desc = self.descriptors.get(&fd).ok_or(types::Errno::Badf)?;
|
492
|
-
Ok(desc)
|
493
|
-
}
|
494
|
-
|
495
|
-
/// Borrows [`File`] corresponding to `fd`
|
496
|
-
/// if it describes a [`Descriptor::File`]
|
497
|
-
fn get_file(&self, fd: types::Fd) -> Result<&File> {
|
498
|
-
let fd = fd.into();
|
499
|
-
match self.descriptors.get(&fd) {
|
500
|
-
Some(Descriptor::File(file)) => Ok(file),
|
501
|
-
_ => Err(types::Errno::Badf.into()),
|
502
|
-
}
|
503
|
-
}
|
504
|
-
|
505
|
-
/// Mutably borrows [`File`] corresponding to `fd`
|
506
|
-
/// if it describes a [`Descriptor::File`]
|
507
|
-
fn get_file_mut(&mut self, fd: types::Fd) -> Result<&mut File> {
|
508
|
-
let fd = fd.into();
|
509
|
-
match self.descriptors.get_mut(&fd) {
|
510
|
-
Some(Descriptor::File(file)) => Ok(file),
|
511
|
-
_ => Err(types::Errno::Badf.into()),
|
512
|
-
}
|
513
|
-
}
|
514
|
-
|
515
|
-
/// Borrows [`File`] corresponding to `fd`
|
516
|
-
/// if it describes a [`Descriptor::File`]
|
517
|
-
///
|
518
|
-
/// # Errors
|
519
|
-
///
|
520
|
-
/// Returns [`types::Errno::Spipe`] if the descriptor corresponds to stdio
|
521
|
-
fn get_seekable(&self, fd: types::Fd) -> Result<&File> {
|
522
|
-
let fd = fd.into();
|
523
|
-
match self.descriptors.get(&fd) {
|
524
|
-
Some(Descriptor::File(file)) => Ok(file),
|
525
|
-
Some(
|
526
|
-
Descriptor::Stdin { .. } | Descriptor::Stdout { .. } | Descriptor::Stderr { .. },
|
527
|
-
) => {
|
528
|
-
// NOTE: legacy implementation returns SPIPE here
|
529
|
-
Err(types::Errno::Spipe.into())
|
530
|
-
}
|
531
|
-
_ => Err(types::Errno::Badf.into()),
|
532
|
-
}
|
533
|
-
}
|
534
|
-
|
535
|
-
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
536
|
-
fn get_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
537
|
-
match self.get_descriptor(fd)? {
|
538
|
-
Descriptor::File(File { fd, .. }) => Ok(fd.borrowed()),
|
539
|
-
Descriptor::Directory { fd, .. } => Ok(fd.borrowed()),
|
540
|
-
Descriptor::Stdin { .. } | Descriptor::Stdout { .. } | Descriptor::Stderr { .. } => {
|
541
|
-
Err(types::Errno::Badf.into())
|
542
|
-
}
|
543
|
-
}
|
544
|
-
}
|
545
|
-
|
546
|
-
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
547
|
-
/// if it describes a [`Descriptor::File`]
|
548
|
-
fn get_file_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
549
|
-
self.get_file(fd).map(|File { fd, .. }| fd.borrowed())
|
550
|
-
}
|
551
|
-
|
552
|
-
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
553
|
-
/// if it describes a [`Descriptor::Directory`]
|
554
|
-
fn get_dir_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
555
|
-
let fd = fd.into();
|
556
|
-
match self.descriptors.get(&fd) {
|
557
|
-
Some(Descriptor::Directory { fd, .. }) => Ok(fd.borrowed()),
|
558
|
-
_ => Err(types::Errno::Badf.into()),
|
559
|
-
}
|
560
|
-
}
|
561
|
-
}
|
562
|
-
|
563
|
-
impl WasiP1Ctx {
|
564
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
565
|
-
/// and returns [`Transaction`] on success
|
566
|
-
fn transact(&mut self) -> Result<Transaction<'_>, types::Error> {
|
567
|
-
let descriptors = if let Some(descriptors) = self.adapter.descriptors.take() {
|
568
|
-
descriptors
|
569
|
-
} else {
|
570
|
-
Descriptors::new(self)?
|
571
|
-
}
|
572
|
-
.into();
|
573
|
-
Ok(Transaction {
|
574
|
-
view: self,
|
575
|
-
descriptors,
|
576
|
-
})
|
577
|
-
}
|
578
|
-
|
579
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
580
|
-
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
581
|
-
fn get_fd(&mut self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
582
|
-
let st = self.transact()?;
|
583
|
-
let fd = st.get_fd(fd)?;
|
584
|
-
Ok(fd)
|
585
|
-
}
|
586
|
-
|
587
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
588
|
-
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
589
|
-
/// if it describes a [`Descriptor::File`] of [`crate::filesystem::File`] type
|
590
|
-
fn get_file_fd(
|
591
|
-
&mut self,
|
592
|
-
fd: types::Fd,
|
593
|
-
) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
594
|
-
let st = self.transact()?;
|
595
|
-
let fd = st.get_file_fd(fd)?;
|
596
|
-
Ok(fd)
|
597
|
-
}
|
598
|
-
|
599
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
600
|
-
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
601
|
-
/// if it describes a [`Descriptor::File`] or [`Descriptor::PreopenDirectory`]
|
602
|
-
/// of [`crate::filesystem::Dir`] type
|
603
|
-
fn get_dir_fd(
|
604
|
-
&mut self,
|
605
|
-
fd: types::Fd,
|
606
|
-
) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
607
|
-
let st = self.transact()?;
|
608
|
-
let fd = st.get_dir_fd(fd)?;
|
609
|
-
Ok(fd)
|
610
|
-
}
|
611
|
-
}
|
612
|
-
|
613
|
-
/// Adds asynchronous versions of all WASIp1 functions to the
|
614
|
-
/// [`wasmtime::Linker`] provided.
|
615
|
-
///
|
616
|
-
/// This method will add WASIp1 functions to `linker`. The `f` closure provided
|
617
|
-
/// is used to project from the `T` state that `Linker` is associated with to a
|
618
|
-
/// [`WasiP1Ctx`]. If `T` is `WasiP1Ctx` itself then this is the identity
|
619
|
-
/// closure, but otherwise it must project out the field where `WasiP1Ctx` is
|
620
|
-
/// stored within `T`.
|
621
|
-
///
|
622
|
-
/// The state provided by `f` is used to implement all WASIp1 functions and
|
623
|
-
/// provides configuration to know what to return.
|
624
|
-
///
|
625
|
-
/// Note that this function is intended for use with
|
626
|
-
/// [`Config::async_support(true)`]. If you're looking for a synchronous version
|
627
|
-
/// see [`add_to_linker_sync`].
|
628
|
-
///
|
629
|
-
/// [`Config::async_support(true)`]: wasmtime::Config::async_support
|
630
|
-
///
|
631
|
-
/// # Examples
|
632
|
-
///
|
633
|
-
/// If the `T` in `Linker<T>` is just `WasiP1Ctx`:
|
634
|
-
///
|
635
|
-
/// ```no_run
|
636
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
637
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
638
|
-
///
|
639
|
-
/// fn main() -> Result<()> {
|
640
|
-
/// let mut config = Config::new();
|
641
|
-
/// config.async_support(true);
|
642
|
-
/// let engine = Engine::new(&config)?;
|
643
|
-
///
|
644
|
-
/// let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
645
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| cx)?;
|
646
|
-
///
|
647
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
648
|
-
///
|
649
|
-
/// Ok(())
|
650
|
-
/// }
|
651
|
-
/// ```
|
652
|
-
///
|
653
|
-
/// If the `T` in `Linker<T>` is custom state:
|
654
|
-
///
|
655
|
-
/// ```no_run
|
656
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
657
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
658
|
-
///
|
659
|
-
/// struct MyState {
|
660
|
-
/// // .. other custom state here ..
|
661
|
-
///
|
662
|
-
/// wasi: WasiP1Ctx,
|
663
|
-
/// }
|
664
|
-
///
|
665
|
-
/// fn main() -> Result<()> {
|
666
|
-
/// let mut config = Config::new();
|
667
|
-
/// config.async_support(true);
|
668
|
-
/// let engine = Engine::new(&config)?;
|
669
|
-
///
|
670
|
-
/// let mut linker: Linker<MyState> = Linker::new(&engine);
|
671
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| &mut cx.wasi)?;
|
672
|
-
///
|
673
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
674
|
-
///
|
675
|
-
/// Ok(())
|
676
|
-
/// }
|
677
|
-
/// ```
|
678
|
-
pub fn add_to_linker_async<T: Send>(
|
679
|
-
linker: &mut wasmtime::Linker<T>,
|
680
|
-
f: impl Fn(&mut T) -> &mut WasiP1Ctx + Copy + Send + Sync + 'static,
|
681
|
-
) -> anyhow::Result<()> {
|
682
|
-
crate::preview1::wasi_snapshot_preview1::add_to_linker(linker, f)
|
683
|
-
}
|
684
|
-
|
685
|
-
/// Adds synchronous versions of all WASIp1 functions to the
|
686
|
-
/// [`wasmtime::Linker`] provided.
|
687
|
-
///
|
688
|
-
/// This method will add WASIp1 functions to `linker`. The `f` closure provided
|
689
|
-
/// is used to project from the `T` state that `Linker` is associated with to a
|
690
|
-
/// [`WasiP1Ctx`]. If `T` is `WasiP1Ctx` itself then this is the identity
|
691
|
-
/// closure, but otherwise it must project out the field where `WasiP1Ctx` is
|
692
|
-
/// stored within `T`.
|
693
|
-
///
|
694
|
-
/// The state provided by `f` is used to implement all WASIp1 functions and
|
695
|
-
/// provides configuration to know what to return.
|
696
|
-
///
|
697
|
-
/// Note that this function is intended for use with
|
698
|
-
/// [`Config::async_support(false)`]. If you're looking for a synchronous version
|
699
|
-
/// see [`add_to_linker_async`].
|
700
|
-
///
|
701
|
-
/// [`Config::async_support(false)`]: wasmtime::Config::async_support
|
702
|
-
///
|
703
|
-
/// # Examples
|
704
|
-
///
|
705
|
-
/// If the `T` in `Linker<T>` is just `WasiP1Ctx`:
|
706
|
-
///
|
707
|
-
/// ```no_run
|
708
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
709
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
710
|
-
///
|
711
|
-
/// fn main() -> Result<()> {
|
712
|
-
/// let mut config = Config::new();
|
713
|
-
/// config.async_support(true);
|
714
|
-
/// let engine = Engine::new(&config)?;
|
715
|
-
///
|
716
|
-
/// let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
717
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| cx)?;
|
718
|
-
///
|
719
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
720
|
-
///
|
721
|
-
/// Ok(())
|
722
|
-
/// }
|
723
|
-
/// ```
|
724
|
-
///
|
725
|
-
/// If the `T` in `Linker<T>` is custom state:
|
726
|
-
///
|
727
|
-
/// ```no_run
|
728
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
729
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
730
|
-
///
|
731
|
-
/// struct MyState {
|
732
|
-
/// // .. other custom state here ..
|
733
|
-
///
|
734
|
-
/// wasi: WasiP1Ctx,
|
735
|
-
/// }
|
736
|
-
///
|
737
|
-
/// fn main() -> Result<()> {
|
738
|
-
/// let mut config = Config::new();
|
739
|
-
/// config.async_support(true);
|
740
|
-
/// let engine = Engine::new(&config)?;
|
741
|
-
///
|
742
|
-
/// let mut linker: Linker<MyState> = Linker::new(&engine);
|
743
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| &mut cx.wasi)?;
|
744
|
-
///
|
745
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
746
|
-
///
|
747
|
-
/// Ok(())
|
748
|
-
/// }
|
749
|
-
/// ```
|
750
|
-
pub fn add_to_linker_sync<T: Send>(
|
751
|
-
linker: &mut wasmtime::Linker<T>,
|
752
|
-
f: impl Fn(&mut T) -> &mut WasiP1Ctx + Copy + Send + Sync + 'static,
|
753
|
-
) -> anyhow::Result<()> {
|
754
|
-
crate::preview1::sync::add_wasi_snapshot_preview1_to_linker(linker, f)
|
755
|
-
}
|
756
|
-
|
757
|
-
// Generate the wasi_snapshot_preview1::WasiSnapshotPreview1 trait,
|
758
|
-
// and the module types.
|
759
|
-
// None of the generated modules, traits, or types should be used externally
|
760
|
-
// to this module.
|
761
|
-
wiggle::from_witx!({
|
762
|
-
witx: ["$CARGO_MANIFEST_DIR/witx/preview1/wasi_snapshot_preview1.witx"],
|
763
|
-
async: {
|
764
|
-
wasi_snapshot_preview1::{
|
765
|
-
fd_advise, fd_close, fd_datasync, fd_fdstat_get, fd_filestat_get, fd_filestat_set_size,
|
766
|
-
fd_filestat_set_times, fd_read, fd_pread, fd_seek, fd_sync, fd_readdir, fd_write,
|
767
|
-
fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
|
768
|
-
path_filestat_set_times, path_link, path_open, path_readlink, path_remove_directory,
|
769
|
-
path_rename, path_symlink, path_unlink_file
|
770
|
-
}
|
771
|
-
},
|
772
|
-
errors: { errno => trappable Error },
|
773
|
-
});
|
774
|
-
|
775
|
-
pub(crate) mod sync {
|
776
|
-
use anyhow::Result;
|
777
|
-
use std::future::Future;
|
778
|
-
|
779
|
-
wiggle::wasmtime_integration!({
|
780
|
-
witx: ["$CARGO_MANIFEST_DIR/witx/preview1/wasi_snapshot_preview1.witx"],
|
781
|
-
target: super,
|
782
|
-
block_on[in_tokio]: {
|
783
|
-
wasi_snapshot_preview1::{
|
784
|
-
fd_advise, fd_close, fd_datasync, fd_fdstat_get, fd_filestat_get, fd_filestat_set_size,
|
785
|
-
fd_filestat_set_times, fd_read, fd_pread, fd_seek, fd_sync, fd_readdir, fd_write,
|
786
|
-
fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
|
787
|
-
path_filestat_set_times, path_link, path_open, path_readlink, path_remove_directory,
|
788
|
-
path_rename, path_symlink, path_unlink_file
|
789
|
-
}
|
790
|
-
},
|
791
|
-
errors: { errno => trappable Error },
|
792
|
-
});
|
793
|
-
|
794
|
-
// Small wrapper around `in_tokio` to add a `Result` layer which is always
|
795
|
-
// `Ok`
|
796
|
-
fn in_tokio<F: Future>(future: F) -> Result<F::Output> {
|
797
|
-
Ok(crate::runtime::in_tokio(future))
|
798
|
-
}
|
799
|
-
}
|
800
|
-
|
801
|
-
impl wiggle::GuestErrorType for types::Errno {
|
802
|
-
fn success() -> Self {
|
803
|
-
Self::Success
|
804
|
-
}
|
805
|
-
}
|
806
|
-
|
807
|
-
impl From<StreamError> for types::Error {
|
808
|
-
fn from(err: StreamError) -> Self {
|
809
|
-
match err {
|
810
|
-
StreamError::Closed => types::Errno::Io.into(),
|
811
|
-
StreamError::LastOperationFailed(e) => match e.downcast::<std::io::Error>() {
|
812
|
-
Ok(err) => filesystem::ErrorCode::from(err).into(),
|
813
|
-
Err(e) => {
|
814
|
-
tracing::debug!("dropping error {e:?}");
|
815
|
-
types::Errno::Io.into()
|
816
|
-
}
|
817
|
-
},
|
818
|
-
StreamError::Trap(e) => types::Error::trap(e),
|
819
|
-
}
|
820
|
-
}
|
821
|
-
}
|
822
|
-
|
823
|
-
impl From<FsError> for types::Error {
|
824
|
-
fn from(err: FsError) -> Self {
|
825
|
-
match err.downcast() {
|
826
|
-
Ok(code) => code.into(),
|
827
|
-
Err(e) => types::Error::trap(e),
|
828
|
-
}
|
829
|
-
}
|
830
|
-
}
|
831
|
-
|
832
|
-
fn systimespec(set: bool, ts: types::Timestamp, now: bool) -> Result<filesystem::NewTimestamp> {
|
833
|
-
if set && now {
|
834
|
-
Err(types::Errno::Inval.into())
|
835
|
-
} else if set {
|
836
|
-
Ok(filesystem::NewTimestamp::Timestamp(filesystem::Datetime {
|
837
|
-
seconds: ts / 1_000_000_000,
|
838
|
-
nanoseconds: (ts % 1_000_000_000) as _,
|
839
|
-
}))
|
840
|
-
} else if now {
|
841
|
-
Ok(filesystem::NewTimestamp::Now)
|
842
|
-
} else {
|
843
|
-
Ok(filesystem::NewTimestamp::NoChange)
|
844
|
-
}
|
845
|
-
}
|
846
|
-
|
847
|
-
impl TryFrom<wall_clock::Datetime> for types::Timestamp {
|
848
|
-
type Error = types::Errno;
|
849
|
-
|
850
|
-
fn try_from(
|
851
|
-
wall_clock::Datetime {
|
852
|
-
seconds,
|
853
|
-
nanoseconds,
|
854
|
-
}: wall_clock::Datetime,
|
855
|
-
) -> Result<Self, Self::Error> {
|
856
|
-
types::Timestamp::from(seconds)
|
857
|
-
.checked_mul(1_000_000_000)
|
858
|
-
.and_then(|ns| ns.checked_add(nanoseconds.into()))
|
859
|
-
.ok_or(types::Errno::Overflow)
|
860
|
-
}
|
861
|
-
}
|
862
|
-
|
863
|
-
impl From<types::Lookupflags> for filesystem::PathFlags {
|
864
|
-
fn from(flags: types::Lookupflags) -> Self {
|
865
|
-
if flags.contains(types::Lookupflags::SYMLINK_FOLLOW) {
|
866
|
-
filesystem::PathFlags::SYMLINK_FOLLOW
|
867
|
-
} else {
|
868
|
-
filesystem::PathFlags::empty()
|
869
|
-
}
|
870
|
-
}
|
871
|
-
}
|
872
|
-
|
873
|
-
impl From<types::Oflags> for filesystem::OpenFlags {
|
874
|
-
fn from(flags: types::Oflags) -> Self {
|
875
|
-
let mut out = filesystem::OpenFlags::empty();
|
876
|
-
if flags.contains(types::Oflags::CREAT) {
|
877
|
-
out |= filesystem::OpenFlags::CREATE;
|
878
|
-
}
|
879
|
-
if flags.contains(types::Oflags::DIRECTORY) {
|
880
|
-
out |= filesystem::OpenFlags::DIRECTORY;
|
881
|
-
}
|
882
|
-
if flags.contains(types::Oflags::EXCL) {
|
883
|
-
out |= filesystem::OpenFlags::EXCLUSIVE;
|
884
|
-
}
|
885
|
-
if flags.contains(types::Oflags::TRUNC) {
|
886
|
-
out |= filesystem::OpenFlags::TRUNCATE;
|
887
|
-
}
|
888
|
-
out
|
889
|
-
}
|
890
|
-
}
|
891
|
-
|
892
|
-
impl From<types::Advice> for filesystem::Advice {
|
893
|
-
fn from(advice: types::Advice) -> Self {
|
894
|
-
match advice {
|
895
|
-
types::Advice::Normal => filesystem::Advice::Normal,
|
896
|
-
types::Advice::Sequential => filesystem::Advice::Sequential,
|
897
|
-
types::Advice::Random => filesystem::Advice::Random,
|
898
|
-
types::Advice::Willneed => filesystem::Advice::WillNeed,
|
899
|
-
types::Advice::Dontneed => filesystem::Advice::DontNeed,
|
900
|
-
types::Advice::Noreuse => filesystem::Advice::NoReuse,
|
901
|
-
}
|
902
|
-
}
|
903
|
-
}
|
904
|
-
|
905
|
-
impl TryFrom<filesystem::DescriptorType> for types::Filetype {
|
906
|
-
type Error = anyhow::Error;
|
907
|
-
|
908
|
-
fn try_from(ty: filesystem::DescriptorType) -> Result<Self, Self::Error> {
|
909
|
-
match ty {
|
910
|
-
filesystem::DescriptorType::RegularFile => Ok(types::Filetype::RegularFile),
|
911
|
-
filesystem::DescriptorType::Directory => Ok(types::Filetype::Directory),
|
912
|
-
filesystem::DescriptorType::BlockDevice => Ok(types::Filetype::BlockDevice),
|
913
|
-
filesystem::DescriptorType::CharacterDevice => Ok(types::Filetype::CharacterDevice),
|
914
|
-
// preview1 never had a FIFO code.
|
915
|
-
filesystem::DescriptorType::Fifo => Ok(types::Filetype::Unknown),
|
916
|
-
// TODO: Add a way to disginguish between FILETYPE_SOCKET_STREAM and
|
917
|
-
// FILETYPE_SOCKET_DGRAM.
|
918
|
-
filesystem::DescriptorType::Socket => {
|
919
|
-
bail!("sockets are not currently supported")
|
920
|
-
}
|
921
|
-
filesystem::DescriptorType::SymbolicLink => Ok(types::Filetype::SymbolicLink),
|
922
|
-
filesystem::DescriptorType::Unknown => Ok(types::Filetype::Unknown),
|
923
|
-
}
|
924
|
-
}
|
925
|
-
}
|
926
|
-
|
927
|
-
impl From<IsATTY> for types::Filetype {
|
928
|
-
fn from(isatty: IsATTY) -> Self {
|
929
|
-
match isatty {
|
930
|
-
IsATTY::Yes => types::Filetype::CharacterDevice,
|
931
|
-
IsATTY::No => types::Filetype::Unknown,
|
932
|
-
}
|
933
|
-
}
|
934
|
-
}
|
935
|
-
|
936
|
-
impl From<filesystem::ErrorCode> for types::Errno {
|
937
|
-
fn from(code: filesystem::ErrorCode) -> Self {
|
938
|
-
match code {
|
939
|
-
filesystem::ErrorCode::Access => types::Errno::Acces,
|
940
|
-
filesystem::ErrorCode::WouldBlock => types::Errno::Again,
|
941
|
-
filesystem::ErrorCode::Already => types::Errno::Already,
|
942
|
-
filesystem::ErrorCode::BadDescriptor => types::Errno::Badf,
|
943
|
-
filesystem::ErrorCode::Busy => types::Errno::Busy,
|
944
|
-
filesystem::ErrorCode::Deadlock => types::Errno::Deadlk,
|
945
|
-
filesystem::ErrorCode::Quota => types::Errno::Dquot,
|
946
|
-
filesystem::ErrorCode::Exist => types::Errno::Exist,
|
947
|
-
filesystem::ErrorCode::FileTooLarge => types::Errno::Fbig,
|
948
|
-
filesystem::ErrorCode::IllegalByteSequence => types::Errno::Ilseq,
|
949
|
-
filesystem::ErrorCode::InProgress => types::Errno::Inprogress,
|
950
|
-
filesystem::ErrorCode::Interrupted => types::Errno::Intr,
|
951
|
-
filesystem::ErrorCode::Invalid => types::Errno::Inval,
|
952
|
-
filesystem::ErrorCode::Io => types::Errno::Io,
|
953
|
-
filesystem::ErrorCode::IsDirectory => types::Errno::Isdir,
|
954
|
-
filesystem::ErrorCode::Loop => types::Errno::Loop,
|
955
|
-
filesystem::ErrorCode::TooManyLinks => types::Errno::Mlink,
|
956
|
-
filesystem::ErrorCode::MessageSize => types::Errno::Msgsize,
|
957
|
-
filesystem::ErrorCode::NameTooLong => types::Errno::Nametoolong,
|
958
|
-
filesystem::ErrorCode::NoDevice => types::Errno::Nodev,
|
959
|
-
filesystem::ErrorCode::NoEntry => types::Errno::Noent,
|
960
|
-
filesystem::ErrorCode::NoLock => types::Errno::Nolck,
|
961
|
-
filesystem::ErrorCode::InsufficientMemory => types::Errno::Nomem,
|
962
|
-
filesystem::ErrorCode::InsufficientSpace => types::Errno::Nospc,
|
963
|
-
filesystem::ErrorCode::Unsupported => types::Errno::Notsup,
|
964
|
-
filesystem::ErrorCode::NotDirectory => types::Errno::Notdir,
|
965
|
-
filesystem::ErrorCode::NotEmpty => types::Errno::Notempty,
|
966
|
-
filesystem::ErrorCode::NotRecoverable => types::Errno::Notrecoverable,
|
967
|
-
filesystem::ErrorCode::NoTty => types::Errno::Notty,
|
968
|
-
filesystem::ErrorCode::NoSuchDevice => types::Errno::Nxio,
|
969
|
-
filesystem::ErrorCode::Overflow => types::Errno::Overflow,
|
970
|
-
filesystem::ErrorCode::NotPermitted => types::Errno::Perm,
|
971
|
-
filesystem::ErrorCode::Pipe => types::Errno::Pipe,
|
972
|
-
filesystem::ErrorCode::ReadOnly => types::Errno::Rofs,
|
973
|
-
filesystem::ErrorCode::InvalidSeek => types::Errno::Spipe,
|
974
|
-
filesystem::ErrorCode::TextFileBusy => types::Errno::Txtbsy,
|
975
|
-
filesystem::ErrorCode::CrossDevice => types::Errno::Xdev,
|
976
|
-
}
|
977
|
-
}
|
978
|
-
}
|
979
|
-
|
980
|
-
impl From<std::num::TryFromIntError> for types::Error {
|
981
|
-
fn from(_: std::num::TryFromIntError) -> Self {
|
982
|
-
types::Errno::Overflow.into()
|
983
|
-
}
|
984
|
-
}
|
985
|
-
|
986
|
-
impl From<GuestError> for types::Error {
|
987
|
-
fn from(err: GuestError) -> Self {
|
988
|
-
use wiggle::GuestError::*;
|
989
|
-
match err {
|
990
|
-
InvalidFlagValue { .. } => types::Errno::Inval.into(),
|
991
|
-
InvalidEnumValue { .. } => types::Errno::Inval.into(),
|
992
|
-
// As per
|
993
|
-
// https://github.com/WebAssembly/wasi/blob/main/legacy/tools/witx-docs.md#pointers
|
994
|
-
//
|
995
|
-
// > If a misaligned pointer is passed to a function, the function
|
996
|
-
// > shall trap.
|
997
|
-
// >
|
998
|
-
// > If an out-of-bounds pointer is passed to a function and the
|
999
|
-
// > function needs to dereference it, the function shall trap.
|
1000
|
-
//
|
1001
|
-
// so this turns OOB and misalignment errors into traps.
|
1002
|
-
PtrOverflow { .. } | PtrOutOfBounds { .. } | PtrNotAligned { .. } => {
|
1003
|
-
types::Error::trap(err.into())
|
1004
|
-
}
|
1005
|
-
PtrBorrowed { .. } => types::Errno::Fault.into(),
|
1006
|
-
InvalidUtf8 { .. } => types::Errno::Ilseq.into(),
|
1007
|
-
TryFromIntError { .. } => types::Errno::Overflow.into(),
|
1008
|
-
SliceLengthsDiffer { .. } => types::Errno::Fault.into(),
|
1009
|
-
BorrowCheckerOutOfHandles { .. } => types::Errno::Fault.into(),
|
1010
|
-
InFunc { err, .. } => types::Error::from(*err),
|
1011
|
-
}
|
1012
|
-
}
|
1013
|
-
}
|
1014
|
-
|
1015
|
-
impl From<filesystem::ErrorCode> for types::Error {
|
1016
|
-
fn from(code: filesystem::ErrorCode) -> Self {
|
1017
|
-
types::Errno::from(code).into()
|
1018
|
-
}
|
1019
|
-
}
|
1020
|
-
|
1021
|
-
impl From<wasmtime::component::ResourceTableError> for types::Error {
|
1022
|
-
fn from(err: wasmtime::component::ResourceTableError) -> Self {
|
1023
|
-
types::Error::trap(err.into())
|
1024
|
-
}
|
1025
|
-
}
|
1026
|
-
|
1027
|
-
type Result<T, E = types::Error> = std::result::Result<T, E>;
|
1028
|
-
|
1029
|
-
fn write_bytes<'a>(
|
1030
|
-
ptr: impl Borrow<GuestPtr<'a, u8>>,
|
1031
|
-
buf: &[u8],
|
1032
|
-
) -> Result<GuestPtr<'a, u8>, types::Error> {
|
1033
|
-
// NOTE: legacy implementation always returns Inval errno
|
1034
|
-
|
1035
|
-
let len = u32::try_from(buf.len())?;
|
1036
|
-
|
1037
|
-
let ptr = ptr.borrow();
|
1038
|
-
ptr.as_array(len).copy_from_slice(buf)?;
|
1039
|
-
let next = ptr.add(len)?;
|
1040
|
-
Ok(next)
|
1041
|
-
}
|
1042
|
-
|
1043
|
-
fn write_byte<'a>(ptr: impl Borrow<GuestPtr<'a, u8>>, byte: u8) -> Result<GuestPtr<'a, u8>> {
|
1044
|
-
let ptr = ptr.borrow();
|
1045
|
-
ptr.write(byte)?;
|
1046
|
-
let next = ptr.add(1)?;
|
1047
|
-
Ok(next)
|
1048
|
-
}
|
1049
|
-
|
1050
|
-
fn read_str<'a>(ptr: impl Borrow<GuestPtr<'a, str>>) -> Result<GuestStrCow<'a>> {
|
1051
|
-
let s = ptr.borrow().as_cow()?;
|
1052
|
-
Ok(s)
|
1053
|
-
}
|
1054
|
-
|
1055
|
-
fn read_string<'a>(ptr: impl Borrow<GuestPtr<'a, str>>) -> Result<String> {
|
1056
|
-
read_str(ptr).map(|s| s.to_string())
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
// Find first non-empty buffer.
|
1060
|
-
fn first_non_empty_ciovec<'a, 'b>(
|
1061
|
-
ciovs: &'a types::CiovecArray<'b>,
|
1062
|
-
) -> Result<Option<GuestPtr<'a, [u8]>>> {
|
1063
|
-
for iov in ciovs.iter() {
|
1064
|
-
let iov = iov?.read()?;
|
1065
|
-
if iov.buf_len == 0 {
|
1066
|
-
continue;
|
1067
|
-
}
|
1068
|
-
return Ok(Some(iov.buf.as_array(iov.buf_len)));
|
1069
|
-
}
|
1070
|
-
Ok(None)
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
// Find first non-empty buffer.
|
1074
|
-
fn first_non_empty_iovec<'a>(iovs: &types::IovecArray<'a>) -> Result<Option<GuestPtr<'a, [u8]>>> {
|
1075
|
-
for iov in iovs.iter() {
|
1076
|
-
let iov = iov?.read()?;
|
1077
|
-
if iov.buf_len == 0 {
|
1078
|
-
continue;
|
1079
|
-
}
|
1080
|
-
return Ok(Some(iov.buf.as_array(iov.buf_len)));
|
1081
|
-
}
|
1082
|
-
Ok(None)
|
1083
|
-
}
|
1084
|
-
|
1085
|
-
#[async_trait::async_trait]
|
1086
|
-
// Implement the WasiSnapshotPreview1 trait using only the traits that are
|
1087
|
-
// required for T, i.e., in terms of the preview 2 wit interface, and state
|
1088
|
-
// stored in the WasiPreview1Adapter struct.
|
1089
|
-
impl wasi_snapshot_preview1::WasiSnapshotPreview1 for WasiP1Ctx {
|
1090
|
-
#[instrument(skip(self))]
|
1091
|
-
fn args_get<'b>(
|
1092
|
-
&mut self,
|
1093
|
-
argv: &GuestPtr<'b, GuestPtr<'b, u8>>,
|
1094
|
-
argv_buf: &GuestPtr<'b, u8>,
|
1095
|
-
) -> Result<(), types::Error> {
|
1096
|
-
self.get_arguments()
|
1097
|
-
.context("failed to call `get-arguments`")
|
1098
|
-
.map_err(types::Error::trap)?
|
1099
|
-
.into_iter()
|
1100
|
-
.try_fold((*argv, *argv_buf), |(argv, argv_buf), arg| -> Result<_> {
|
1101
|
-
argv.write(argv_buf)?;
|
1102
|
-
let argv = argv.add(1)?;
|
1103
|
-
|
1104
|
-
let argv_buf = write_bytes(argv_buf, arg.as_bytes())?;
|
1105
|
-
let argv_buf = write_byte(argv_buf, 0)?;
|
1106
|
-
|
1107
|
-
Ok((argv, argv_buf))
|
1108
|
-
})?;
|
1109
|
-
Ok(())
|
1110
|
-
}
|
1111
|
-
|
1112
|
-
#[instrument(skip(self))]
|
1113
|
-
fn args_sizes_get(&mut self) -> Result<(types::Size, types::Size), types::Error> {
|
1114
|
-
let args = self
|
1115
|
-
.get_arguments()
|
1116
|
-
.context("failed to call `get-arguments`")
|
1117
|
-
.map_err(types::Error::trap)?;
|
1118
|
-
let num = args.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
1119
|
-
let len = args
|
1120
|
-
.iter()
|
1121
|
-
.map(|buf| buf.len() + 1) // Each argument is expected to be `\0` terminated.
|
1122
|
-
.sum::<usize>()
|
1123
|
-
.try_into()
|
1124
|
-
.map_err(|_| types::Errno::Overflow)?;
|
1125
|
-
Ok((num, len))
|
1126
|
-
}
|
1127
|
-
|
1128
|
-
#[instrument(skip(self))]
|
1129
|
-
fn environ_get<'b>(
|
1130
|
-
&mut self,
|
1131
|
-
environ: &GuestPtr<'b, GuestPtr<'b, u8>>,
|
1132
|
-
environ_buf: &GuestPtr<'b, u8>,
|
1133
|
-
) -> Result<(), types::Error> {
|
1134
|
-
self.get_environment()
|
1135
|
-
.context("failed to call `get-environment`")
|
1136
|
-
.map_err(types::Error::trap)?
|
1137
|
-
.into_iter()
|
1138
|
-
.try_fold(
|
1139
|
-
(*environ, *environ_buf),
|
1140
|
-
|(environ, environ_buf), (k, v)| -> Result<_, types::Error> {
|
1141
|
-
environ.write(environ_buf)?;
|
1142
|
-
let environ = environ.add(1)?;
|
1143
|
-
|
1144
|
-
let environ_buf = write_bytes(environ_buf, k.as_bytes())?;
|
1145
|
-
let environ_buf = write_byte(environ_buf, b'=')?;
|
1146
|
-
let environ_buf = write_bytes(environ_buf, v.as_bytes())?;
|
1147
|
-
let environ_buf = write_byte(environ_buf, 0)?;
|
1148
|
-
|
1149
|
-
Ok((environ, environ_buf))
|
1150
|
-
},
|
1151
|
-
)?;
|
1152
|
-
Ok(())
|
1153
|
-
}
|
1154
|
-
|
1155
|
-
#[instrument(skip(self))]
|
1156
|
-
fn environ_sizes_get(&mut self) -> Result<(types::Size, types::Size), types::Error> {
|
1157
|
-
let environ = self
|
1158
|
-
.get_environment()
|
1159
|
-
.context("failed to call `get-environment`")
|
1160
|
-
.map_err(types::Error::trap)?;
|
1161
|
-
let num = environ.len().try_into()?;
|
1162
|
-
let len = environ
|
1163
|
-
.iter()
|
1164
|
-
.map(|(k, v)| k.len() + 1 + v.len() + 1) // Key/value pairs are expected to be joined with `=`s, and terminated with `\0`s.
|
1165
|
-
.sum::<usize>()
|
1166
|
-
.try_into()?;
|
1167
|
-
Ok((num, len))
|
1168
|
-
}
|
1169
|
-
|
1170
|
-
#[instrument(skip(self))]
|
1171
|
-
fn clock_res_get(&mut self, id: types::Clockid) -> Result<types::Timestamp, types::Error> {
|
1172
|
-
let res = match id {
|
1173
|
-
types::Clockid::Realtime => wall_clock::Host::resolution(self)
|
1174
|
-
.context("failed to call `wall_clock::resolution`")
|
1175
|
-
.map_err(types::Error::trap)?
|
1176
|
-
.try_into()?,
|
1177
|
-
types::Clockid::Monotonic => monotonic_clock::Host::resolution(self)
|
1178
|
-
.context("failed to call `monotonic_clock::resolution`")
|
1179
|
-
.map_err(types::Error::trap)?,
|
1180
|
-
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
1181
|
-
return Err(types::Errno::Badf.into())
|
1182
|
-
}
|
1183
|
-
};
|
1184
|
-
Ok(res)
|
1185
|
-
}
|
1186
|
-
|
1187
|
-
#[instrument(skip(self))]
|
1188
|
-
fn clock_time_get(
|
1189
|
-
&mut self,
|
1190
|
-
id: types::Clockid,
|
1191
|
-
_precision: types::Timestamp,
|
1192
|
-
) -> Result<types::Timestamp, types::Error> {
|
1193
|
-
let now = match id {
|
1194
|
-
types::Clockid::Realtime => wall_clock::Host::now(self)
|
1195
|
-
.context("failed to call `wall_clock::now`")
|
1196
|
-
.map_err(types::Error::trap)?
|
1197
|
-
.try_into()?,
|
1198
|
-
types::Clockid::Monotonic => monotonic_clock::Host::now(self)
|
1199
|
-
.context("failed to call `monotonic_clock::now`")
|
1200
|
-
.map_err(types::Error::trap)?,
|
1201
|
-
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
1202
|
-
return Err(types::Errno::Badf.into())
|
1203
|
-
}
|
1204
|
-
};
|
1205
|
-
Ok(now)
|
1206
|
-
}
|
1207
|
-
|
1208
|
-
#[instrument(skip(self))]
|
1209
|
-
async fn fd_advise(
|
1210
|
-
&mut self,
|
1211
|
-
fd: types::Fd,
|
1212
|
-
offset: types::Filesize,
|
1213
|
-
len: types::Filesize,
|
1214
|
-
advice: types::Advice,
|
1215
|
-
) -> Result<(), types::Error> {
|
1216
|
-
let fd = self.get_file_fd(fd)?;
|
1217
|
-
self.advise(fd, offset, len, advice.into())
|
1218
|
-
.await
|
1219
|
-
.map_err(|e| {
|
1220
|
-
e.try_into()
|
1221
|
-
.context("failed to call `advise`")
|
1222
|
-
.unwrap_or_else(types::Error::trap)
|
1223
|
-
})
|
1224
|
-
}
|
1225
|
-
|
1226
|
-
/// Force the allocation of space in a file.
|
1227
|
-
/// NOTE: This is similar to `posix_fallocate` in POSIX.
|
1228
|
-
#[instrument(skip(self))]
|
1229
|
-
fn fd_allocate(
|
1230
|
-
&mut self,
|
1231
|
-
fd: types::Fd,
|
1232
|
-
_offset: types::Filesize,
|
1233
|
-
_len: types::Filesize,
|
1234
|
-
) -> Result<(), types::Error> {
|
1235
|
-
self.get_file_fd(fd)?;
|
1236
|
-
Err(types::Errno::Notsup.into())
|
1237
|
-
}
|
1238
|
-
|
1239
|
-
/// Close a file descriptor.
|
1240
|
-
/// NOTE: This is similar to `close` in POSIX.
|
1241
|
-
#[instrument(skip(self))]
|
1242
|
-
async fn fd_close(&mut self, fd: types::Fd) -> Result<(), types::Error> {
|
1243
|
-
let desc = self
|
1244
|
-
.transact()?
|
1245
|
-
.descriptors
|
1246
|
-
.remove(fd)
|
1247
|
-
.ok_or(types::Errno::Badf)?;
|
1248
|
-
match desc {
|
1249
|
-
Descriptor::Stdin { stream, .. } => streams::HostInputStream::drop(self, stream)
|
1250
|
-
.context("failed to call `drop` on `input-stream`"),
|
1251
|
-
Descriptor::Stdout { stream, .. } | Descriptor::Stderr { stream, .. } => {
|
1252
|
-
streams::HostOutputStream::drop(self, stream)
|
1253
|
-
.context("failed to call `drop` on `output-stream`")
|
1254
|
-
}
|
1255
|
-
Descriptor::File(File { fd, .. }) | Descriptor::Directory { fd, .. } => {
|
1256
|
-
filesystem::HostDescriptor::drop(self, fd).context("failed to call `drop`")
|
1257
|
-
}
|
1258
|
-
}
|
1259
|
-
.map_err(types::Error::trap)
|
1260
|
-
}
|
1261
|
-
|
1262
|
-
/// Synchronize the data of a file to disk.
|
1263
|
-
/// NOTE: This is similar to `fdatasync` in POSIX.
|
1264
|
-
#[instrument(skip(self))]
|
1265
|
-
async fn fd_datasync(&mut self, fd: types::Fd) -> Result<(), types::Error> {
|
1266
|
-
let fd = self.get_file_fd(fd)?;
|
1267
|
-
self.sync_data(fd).await.map_err(|e| {
|
1268
|
-
e.try_into()
|
1269
|
-
.context("failed to call `sync-data`")
|
1270
|
-
.unwrap_or_else(types::Error::trap)
|
1271
|
-
})
|
1272
|
-
}
|
1273
|
-
|
1274
|
-
/// Get the attributes of a file descriptor.
|
1275
|
-
/// NOTE: This returns similar flags to `fsync(fd, F_GETFL)` in POSIX, as well as additional fields.
|
1276
|
-
#[instrument(skip(self))]
|
1277
|
-
async fn fd_fdstat_get(&mut self, fd: types::Fd) -> Result<types::Fdstat, types::Error> {
|
1278
|
-
let (fd, blocking, append) = match self.transact()?.get_descriptor(fd)? {
|
1279
|
-
Descriptor::Stdin { isatty, .. } => {
|
1280
|
-
let fs_rights_base = types::Rights::FD_READ;
|
1281
|
-
return Ok(types::Fdstat {
|
1282
|
-
fs_filetype: (*isatty).into(),
|
1283
|
-
fs_flags: types::Fdflags::empty(),
|
1284
|
-
fs_rights_base,
|
1285
|
-
fs_rights_inheriting: fs_rights_base,
|
1286
|
-
});
|
1287
|
-
}
|
1288
|
-
Descriptor::Stdout { isatty, .. } | Descriptor::Stderr { isatty, .. } => {
|
1289
|
-
let fs_rights_base = types::Rights::FD_WRITE;
|
1290
|
-
return Ok(types::Fdstat {
|
1291
|
-
fs_filetype: (*isatty).into(),
|
1292
|
-
fs_flags: types::Fdflags::empty(),
|
1293
|
-
fs_rights_base,
|
1294
|
-
fs_rights_inheriting: fs_rights_base,
|
1295
|
-
});
|
1296
|
-
}
|
1297
|
-
Descriptor::Directory {
|
1298
|
-
preopen_path: Some(_),
|
1299
|
-
..
|
1300
|
-
} => {
|
1301
|
-
// Hard-coded set or rights expected by many userlands:
|
1302
|
-
let fs_rights_base = types::Rights::PATH_CREATE_DIRECTORY
|
1303
|
-
| types::Rights::PATH_CREATE_FILE
|
1304
|
-
| types::Rights::PATH_LINK_SOURCE
|
1305
|
-
| types::Rights::PATH_LINK_TARGET
|
1306
|
-
| types::Rights::PATH_OPEN
|
1307
|
-
| types::Rights::FD_READDIR
|
1308
|
-
| types::Rights::PATH_READLINK
|
1309
|
-
| types::Rights::PATH_RENAME_SOURCE
|
1310
|
-
| types::Rights::PATH_RENAME_TARGET
|
1311
|
-
| types::Rights::PATH_SYMLINK
|
1312
|
-
| types::Rights::PATH_REMOVE_DIRECTORY
|
1313
|
-
| types::Rights::PATH_UNLINK_FILE
|
1314
|
-
| types::Rights::PATH_FILESTAT_GET
|
1315
|
-
| types::Rights::PATH_FILESTAT_SET_TIMES
|
1316
|
-
| types::Rights::FD_FILESTAT_GET
|
1317
|
-
| types::Rights::FD_FILESTAT_SET_TIMES;
|
1318
|
-
|
1319
|
-
let fs_rights_inheriting = fs_rights_base
|
1320
|
-
| types::Rights::FD_DATASYNC
|
1321
|
-
| types::Rights::FD_READ
|
1322
|
-
| types::Rights::FD_SEEK
|
1323
|
-
| types::Rights::FD_FDSTAT_SET_FLAGS
|
1324
|
-
| types::Rights::FD_SYNC
|
1325
|
-
| types::Rights::FD_TELL
|
1326
|
-
| types::Rights::FD_WRITE
|
1327
|
-
| types::Rights::FD_ADVISE
|
1328
|
-
| types::Rights::FD_ALLOCATE
|
1329
|
-
| types::Rights::FD_FILESTAT_GET
|
1330
|
-
| types::Rights::FD_FILESTAT_SET_SIZE
|
1331
|
-
| types::Rights::FD_FILESTAT_SET_TIMES
|
1332
|
-
| types::Rights::POLL_FD_READWRITE;
|
1333
|
-
|
1334
|
-
return Ok(types::Fdstat {
|
1335
|
-
fs_filetype: types::Filetype::Directory,
|
1336
|
-
fs_flags: types::Fdflags::empty(),
|
1337
|
-
fs_rights_base,
|
1338
|
-
fs_rights_inheriting,
|
1339
|
-
});
|
1340
|
-
}
|
1341
|
-
Descriptor::Directory { fd, .. } => (fd.borrowed(), BlockingMode::Blocking, false),
|
1342
|
-
Descriptor::File(File {
|
1343
|
-
fd,
|
1344
|
-
blocking_mode,
|
1345
|
-
append,
|
1346
|
-
..
|
1347
|
-
}) => (fd.borrowed(), *blocking_mode, *append),
|
1348
|
-
};
|
1349
|
-
let flags = self.get_flags(fd.borrowed()).await.map_err(|e| {
|
1350
|
-
e.try_into()
|
1351
|
-
.context("failed to call `get-flags`")
|
1352
|
-
.unwrap_or_else(types::Error::trap)
|
1353
|
-
})?;
|
1354
|
-
let fs_filetype = self
|
1355
|
-
.get_type(fd.borrowed())
|
1356
|
-
.await
|
1357
|
-
.map_err(|e| {
|
1358
|
-
e.try_into()
|
1359
|
-
.context("failed to call `get-type`")
|
1360
|
-
.unwrap_or_else(types::Error::trap)
|
1361
|
-
})?
|
1362
|
-
.try_into()
|
1363
|
-
.map_err(types::Error::trap)?;
|
1364
|
-
let mut fs_flags = types::Fdflags::empty();
|
1365
|
-
let mut fs_rights_base = types::Rights::all();
|
1366
|
-
if let types::Filetype::Directory = fs_filetype {
|
1367
|
-
fs_rights_base &= !types::Rights::FD_SEEK;
|
1368
|
-
}
|
1369
|
-
if !flags.contains(filesystem::DescriptorFlags::READ) {
|
1370
|
-
fs_rights_base &= !types::Rights::FD_READ;
|
1371
|
-
}
|
1372
|
-
if !flags.contains(filesystem::DescriptorFlags::WRITE) {
|
1373
|
-
fs_rights_base &= !types::Rights::FD_WRITE;
|
1374
|
-
}
|
1375
|
-
if flags.contains(filesystem::DescriptorFlags::DATA_INTEGRITY_SYNC) {
|
1376
|
-
fs_flags |= types::Fdflags::DSYNC;
|
1377
|
-
}
|
1378
|
-
if flags.contains(filesystem::DescriptorFlags::REQUESTED_WRITE_SYNC) {
|
1379
|
-
fs_flags |= types::Fdflags::RSYNC;
|
1380
|
-
}
|
1381
|
-
if flags.contains(filesystem::DescriptorFlags::FILE_INTEGRITY_SYNC) {
|
1382
|
-
fs_flags |= types::Fdflags::SYNC;
|
1383
|
-
}
|
1384
|
-
if append {
|
1385
|
-
fs_flags |= types::Fdflags::APPEND;
|
1386
|
-
}
|
1387
|
-
if matches!(blocking, BlockingMode::NonBlocking) {
|
1388
|
-
fs_flags |= types::Fdflags::NONBLOCK;
|
1389
|
-
}
|
1390
|
-
Ok(types::Fdstat {
|
1391
|
-
fs_filetype,
|
1392
|
-
fs_flags,
|
1393
|
-
fs_rights_base,
|
1394
|
-
fs_rights_inheriting: fs_rights_base,
|
1395
|
-
})
|
1396
|
-
}
|
1397
|
-
|
1398
|
-
/// Adjust the flags associated with a file descriptor.
|
1399
|
-
/// NOTE: This is similar to `fcntl(fd, F_SETFL, flags)` in POSIX.
|
1400
|
-
#[instrument(skip(self))]
|
1401
|
-
fn fd_fdstat_set_flags(
|
1402
|
-
&mut self,
|
1403
|
-
fd: types::Fd,
|
1404
|
-
flags: types::Fdflags,
|
1405
|
-
) -> Result<(), types::Error> {
|
1406
|
-
let mut st = self.transact()?;
|
1407
|
-
let File {
|
1408
|
-
append,
|
1409
|
-
blocking_mode,
|
1410
|
-
..
|
1411
|
-
} = st.get_file_mut(fd)?;
|
1412
|
-
|
1413
|
-
// Only support changing the NONBLOCK or APPEND flags.
|
1414
|
-
if flags.contains(types::Fdflags::DSYNC)
|
1415
|
-
|| flags.contains(types::Fdflags::SYNC)
|
1416
|
-
|| flags.contains(types::Fdflags::RSYNC)
|
1417
|
-
{
|
1418
|
-
return Err(types::Errno::Inval.into());
|
1419
|
-
}
|
1420
|
-
*append = flags.contains(types::Fdflags::APPEND);
|
1421
|
-
*blocking_mode = BlockingMode::from_fdflags(&flags);
|
1422
|
-
Ok(())
|
1423
|
-
}
|
1424
|
-
|
1425
|
-
/// Does not do anything if `fd` corresponds to a valid descriptor and returns `[types::Errno::Badf]` error otherwise.
|
1426
|
-
#[instrument(skip(self))]
|
1427
|
-
fn fd_fdstat_set_rights(
|
1428
|
-
&mut self,
|
1429
|
-
fd: types::Fd,
|
1430
|
-
_fs_rights_base: types::Rights,
|
1431
|
-
_fs_rights_inheriting: types::Rights,
|
1432
|
-
) -> Result<(), types::Error> {
|
1433
|
-
self.get_fd(fd)?;
|
1434
|
-
Ok(())
|
1435
|
-
}
|
1436
|
-
|
1437
|
-
/// Return the attributes of an open file.
|
1438
|
-
#[instrument(skip(self))]
|
1439
|
-
async fn fd_filestat_get(&mut self, fd: types::Fd) -> Result<types::Filestat, types::Error> {
|
1440
|
-
let t = self.transact()?;
|
1441
|
-
let desc = t.get_descriptor(fd)?;
|
1442
|
-
match desc {
|
1443
|
-
Descriptor::Stdin { isatty, .. }
|
1444
|
-
| Descriptor::Stdout { isatty, .. }
|
1445
|
-
| Descriptor::Stderr { isatty, .. } => Ok(types::Filestat {
|
1446
|
-
dev: 0,
|
1447
|
-
ino: 0,
|
1448
|
-
filetype: (*isatty).into(),
|
1449
|
-
nlink: 0,
|
1450
|
-
size: 0,
|
1451
|
-
atim: 0,
|
1452
|
-
mtim: 0,
|
1453
|
-
ctim: 0,
|
1454
|
-
}),
|
1455
|
-
Descriptor::Directory { fd, .. } | Descriptor::File(File { fd, .. }) => {
|
1456
|
-
let fd = fd.borrowed();
|
1457
|
-
drop(t);
|
1458
|
-
let filesystem::DescriptorStat {
|
1459
|
-
type_,
|
1460
|
-
link_count: nlink,
|
1461
|
-
size,
|
1462
|
-
data_access_timestamp,
|
1463
|
-
data_modification_timestamp,
|
1464
|
-
status_change_timestamp,
|
1465
|
-
} = self.stat(fd.borrowed()).await.map_err(|e| {
|
1466
|
-
e.try_into()
|
1467
|
-
.context("failed to call `stat`")
|
1468
|
-
.unwrap_or_else(types::Error::trap)
|
1469
|
-
})?;
|
1470
|
-
let metadata_hash = self.metadata_hash(fd).await.map_err(|e| {
|
1471
|
-
e.try_into()
|
1472
|
-
.context("failed to call `metadata_hash`")
|
1473
|
-
.unwrap_or_else(types::Error::trap)
|
1474
|
-
})?;
|
1475
|
-
let filetype = type_.try_into().map_err(types::Error::trap)?;
|
1476
|
-
let zero = wall_clock::Datetime {
|
1477
|
-
seconds: 0,
|
1478
|
-
nanoseconds: 0,
|
1479
|
-
};
|
1480
|
-
let atim = data_access_timestamp.unwrap_or(zero).try_into()?;
|
1481
|
-
let mtim = data_modification_timestamp.unwrap_or(zero).try_into()?;
|
1482
|
-
let ctim = status_change_timestamp.unwrap_or(zero).try_into()?;
|
1483
|
-
Ok(types::Filestat {
|
1484
|
-
dev: 1,
|
1485
|
-
ino: metadata_hash.lower,
|
1486
|
-
filetype,
|
1487
|
-
nlink,
|
1488
|
-
size,
|
1489
|
-
atim,
|
1490
|
-
mtim,
|
1491
|
-
ctim,
|
1492
|
-
})
|
1493
|
-
}
|
1494
|
-
}
|
1495
|
-
}
|
1496
|
-
|
1497
|
-
/// Adjust the size of an open file. If this increases the file's size, the extra bytes are filled with zeros.
|
1498
|
-
/// NOTE: This is similar to `ftruncate` in POSIX.
|
1499
|
-
#[instrument(skip(self))]
|
1500
|
-
async fn fd_filestat_set_size(
|
1501
|
-
&mut self,
|
1502
|
-
fd: types::Fd,
|
1503
|
-
size: types::Filesize,
|
1504
|
-
) -> Result<(), types::Error> {
|
1505
|
-
let fd = self.get_file_fd(fd)?;
|
1506
|
-
self.set_size(fd, size).await.map_err(|e| {
|
1507
|
-
e.try_into()
|
1508
|
-
.context("failed to call `set-size`")
|
1509
|
-
.unwrap_or_else(types::Error::trap)
|
1510
|
-
})
|
1511
|
-
}
|
1512
|
-
|
1513
|
-
/// Adjust the timestamps of an open file or directory.
|
1514
|
-
/// NOTE: This is similar to `futimens` in POSIX.
|
1515
|
-
#[instrument(skip(self))]
|
1516
|
-
async fn fd_filestat_set_times(
|
1517
|
-
&mut self,
|
1518
|
-
fd: types::Fd,
|
1519
|
-
atim: types::Timestamp,
|
1520
|
-
mtim: types::Timestamp,
|
1521
|
-
fst_flags: types::Fstflags,
|
1522
|
-
) -> Result<(), types::Error> {
|
1523
|
-
let atim = systimespec(
|
1524
|
-
fst_flags.contains(types::Fstflags::ATIM),
|
1525
|
-
atim,
|
1526
|
-
fst_flags.contains(types::Fstflags::ATIM_NOW),
|
1527
|
-
)?;
|
1528
|
-
let mtim = systimespec(
|
1529
|
-
fst_flags.contains(types::Fstflags::MTIM),
|
1530
|
-
mtim,
|
1531
|
-
fst_flags.contains(types::Fstflags::MTIM_NOW),
|
1532
|
-
)?;
|
1533
|
-
|
1534
|
-
let fd = self.get_fd(fd)?;
|
1535
|
-
self.set_times(fd, atim, mtim).await.map_err(|e| {
|
1536
|
-
e.try_into()
|
1537
|
-
.context("failed to call `set-times`")
|
1538
|
-
.unwrap_or_else(types::Error::trap)
|
1539
|
-
})
|
1540
|
-
}
|
1541
|
-
|
1542
|
-
/// Read from a file descriptor.
|
1543
|
-
/// NOTE: This is similar to `readv` in POSIX.
|
1544
|
-
#[instrument(skip(self))]
|
1545
|
-
async fn fd_read<'a>(
|
1546
|
-
&mut self,
|
1547
|
-
fd: types::Fd,
|
1548
|
-
iovs: &types::IovecArray<'a>,
|
1549
|
-
) -> Result<types::Size, types::Error> {
|
1550
|
-
let t = self.transact()?;
|
1551
|
-
let desc = t.get_descriptor(fd)?;
|
1552
|
-
match desc {
|
1553
|
-
Descriptor::File(File {
|
1554
|
-
fd,
|
1555
|
-
position,
|
1556
|
-
// NB: the nonblocking flag is intentionally ignored here and
|
1557
|
-
// blocking reads/writes are always performed.
|
1558
|
-
blocking_mode: _,
|
1559
|
-
..
|
1560
|
-
}) => {
|
1561
|
-
let fd = fd.borrowed();
|
1562
|
-
let position = position.clone();
|
1563
|
-
drop(t);
|
1564
|
-
let pos = position.load(Ordering::Relaxed);
|
1565
|
-
let file = self.table().get(&fd)?.file()?;
|
1566
|
-
let Some(iov) = first_non_empty_iovec(iovs)? else {
|
1567
|
-
return Ok(0);
|
1568
|
-
};
|
1569
|
-
let bytes_read = match (file.as_blocking_file(), iov.as_slice_mut()?) {
|
1570
|
-
// Try to read directly into wasm memory where possible
|
1571
|
-
// when the current thread can block and additionally wasm
|
1572
|
-
// memory isn't shared.
|
1573
|
-
(Some(file), Some(mut buf)) => file
|
1574
|
-
.read_at(&mut buf, pos)
|
1575
|
-
.map_err(|e| StreamError::LastOperationFailed(e.into()))?,
|
1576
|
-
// ... otherwise fall back to performing the read on a
|
1577
|
-
// blocking thread and which copies the data back into wasm
|
1578
|
-
// memory.
|
1579
|
-
(_, buf) => {
|
1580
|
-
drop(buf);
|
1581
|
-
let mut buf = vec![0; iov.len() as usize];
|
1582
|
-
let buf = file
|
1583
|
-
.spawn_blocking(move |file| -> Result<_, types::Error> {
|
1584
|
-
let bytes_read = file
|
1585
|
-
.read_at(&mut buf, pos)
|
1586
|
-
.map_err(|e| StreamError::LastOperationFailed(e.into()))?;
|
1587
|
-
buf.truncate(bytes_read);
|
1588
|
-
Ok(buf)
|
1589
|
-
})
|
1590
|
-
.await?;
|
1591
|
-
iov.get_range(0..u32::try_from(buf.len())?)
|
1592
|
-
.unwrap()
|
1593
|
-
.copy_from_slice(&buf)?;
|
1594
|
-
buf.len()
|
1595
|
-
}
|
1596
|
-
};
|
1597
|
-
|
1598
|
-
let pos = pos
|
1599
|
-
.checked_add(bytes_read.try_into()?)
|
1600
|
-
.ok_or(types::Errno::Overflow)?;
|
1601
|
-
position.store(pos, Ordering::Relaxed);
|
1602
|
-
|
1603
|
-
Ok(bytes_read.try_into()?)
|
1604
|
-
}
|
1605
|
-
Descriptor::Stdin { stream, .. } => {
|
1606
|
-
let stream = stream.borrowed();
|
1607
|
-
drop(t);
|
1608
|
-
let Some(buf) = first_non_empty_iovec(iovs)? else {
|
1609
|
-
return Ok(0);
|
1610
|
-
};
|
1611
|
-
let read = BlockingMode::Blocking
|
1612
|
-
.read(self, stream, buf.len().try_into()?)
|
1613
|
-
.await?;
|
1614
|
-
if read.len() > buf.len().try_into()? {
|
1615
|
-
return Err(types::Errno::Range.into());
|
1616
|
-
}
|
1617
|
-
let buf = buf.get_range(0..u32::try_from(read.len())?).unwrap();
|
1618
|
-
buf.copy_from_slice(&read)?;
|
1619
|
-
let n = read.len().try_into()?;
|
1620
|
-
Ok(n)
|
1621
|
-
}
|
1622
|
-
_ => return Err(types::Errno::Badf.into()),
|
1623
|
-
}
|
1624
|
-
}
|
1625
|
-
|
1626
|
-
/// Read from a file descriptor, without using and updating the file descriptor's offset.
|
1627
|
-
/// NOTE: This is similar to `preadv` in POSIX.
|
1628
|
-
#[instrument(skip(self))]
|
1629
|
-
async fn fd_pread<'a>(
|
1630
|
-
&mut self,
|
1631
|
-
fd: types::Fd,
|
1632
|
-
iovs: &types::IovecArray<'a>,
|
1633
|
-
offset: types::Filesize,
|
1634
|
-
) -> Result<types::Size, types::Error> {
|
1635
|
-
let t = self.transact()?;
|
1636
|
-
let desc = t.get_descriptor(fd)?;
|
1637
|
-
let (buf, read) = match desc {
|
1638
|
-
Descriptor::File(File {
|
1639
|
-
fd, blocking_mode, ..
|
1640
|
-
}) => {
|
1641
|
-
let fd = fd.borrowed();
|
1642
|
-
let blocking_mode = *blocking_mode;
|
1643
|
-
drop(t);
|
1644
|
-
let Some(buf) = first_non_empty_iovec(iovs)? else {
|
1645
|
-
return Ok(0);
|
1646
|
-
};
|
1647
|
-
|
1648
|
-
let stream = self.read_via_stream(fd, offset).map_err(|e| {
|
1649
|
-
e.try_into()
|
1650
|
-
.context("failed to call `read-via-stream`")
|
1651
|
-
.unwrap_or_else(types::Error::trap)
|
1652
|
-
})?;
|
1653
|
-
let read = blocking_mode
|
1654
|
-
.read(self, stream.borrowed(), buf.len().try_into()?)
|
1655
|
-
.await;
|
1656
|
-
streams::HostInputStream::drop(self, stream).map_err(|e| types::Error::trap(e))?;
|
1657
|
-
(buf, read?)
|
1658
|
-
}
|
1659
|
-
Descriptor::Stdin { .. } => {
|
1660
|
-
// NOTE: legacy implementation returns SPIPE here
|
1661
|
-
return Err(types::Errno::Spipe.into());
|
1662
|
-
}
|
1663
|
-
_ => return Err(types::Errno::Badf.into()),
|
1664
|
-
};
|
1665
|
-
if read.len() > buf.len().try_into()? {
|
1666
|
-
return Err(types::Errno::Range.into());
|
1667
|
-
}
|
1668
|
-
let buf = buf.get_range(0..u32::try_from(read.len())?).unwrap();
|
1669
|
-
buf.copy_from_slice(&read)?;
|
1670
|
-
let n = read.len().try_into()?;
|
1671
|
-
Ok(n)
|
1672
|
-
}
|
1673
|
-
|
1674
|
-
/// Write to a file descriptor.
|
1675
|
-
/// NOTE: This is similar to `writev` in POSIX.
|
1676
|
-
#[instrument(skip(self))]
|
1677
|
-
async fn fd_write<'a>(
|
1678
|
-
&mut self,
|
1679
|
-
fd: types::Fd,
|
1680
|
-
ciovs: &types::CiovecArray<'a>,
|
1681
|
-
) -> Result<types::Size, types::Error> {
|
1682
|
-
let t = self.transact()?;
|
1683
|
-
let desc = t.get_descriptor(fd)?;
|
1684
|
-
match desc {
|
1685
|
-
Descriptor::File(File {
|
1686
|
-
fd,
|
1687
|
-
append,
|
1688
|
-
position,
|
1689
|
-
// NB: files always use blocking writes regardless of what
|
1690
|
-
// they're configured to use since OSes don't have nonblocking
|
1691
|
-
// reads/writes anyway. This behavior originated in the first
|
1692
|
-
// implementation of WASIp1 where flags were propagated to the
|
1693
|
-
// OS and the OS ignored the nonblocking flag for files
|
1694
|
-
// generally.
|
1695
|
-
blocking_mode: _,
|
1696
|
-
}) => {
|
1697
|
-
let fd = fd.borrowed();
|
1698
|
-
let position = position.clone();
|
1699
|
-
let pos = position.load(Ordering::Relaxed);
|
1700
|
-
let append = *append;
|
1701
|
-
drop(t);
|
1702
|
-
let f = self.table().get(&fd)?.file()?;
|
1703
|
-
let Some(buf) = first_non_empty_ciovec(ciovs)? else {
|
1704
|
-
return Ok(0);
|
1705
|
-
};
|
1706
|
-
|
1707
|
-
let write = move |f: &cap_std::fs::File, buf: &[u8]| {
|
1708
|
-
if append {
|
1709
|
-
f.append(&buf)
|
1710
|
-
} else {
|
1711
|
-
f.write_at(&buf, pos)
|
1712
|
-
}
|
1713
|
-
};
|
1714
|
-
|
1715
|
-
let nwritten = match f.as_blocking_file() {
|
1716
|
-
// If we can block then skip the copy out of wasm memory and
|
1717
|
-
// write directly to `f`.
|
1718
|
-
Some(f) => write(f, &buf.as_cow()?),
|
1719
|
-
// ... otherwise copy out of wasm memory and use
|
1720
|
-
// `spawn_blocking` to do this write in a thread that can
|
1721
|
-
// block.
|
1722
|
-
None => {
|
1723
|
-
let buf = buf.to_vec()?;
|
1724
|
-
f.spawn_blocking(move |f| write(f, &buf)).await
|
1725
|
-
}
|
1726
|
-
};
|
1727
|
-
|
1728
|
-
let nwritten = nwritten.map_err(|e| StreamError::LastOperationFailed(e.into()))?;
|
1729
|
-
if append {
|
1730
|
-
let len = self.stat(fd).await?;
|
1731
|
-
position.store(len.size, Ordering::Relaxed);
|
1732
|
-
} else {
|
1733
|
-
let pos = pos
|
1734
|
-
.checked_add(nwritten as u64)
|
1735
|
-
.ok_or(types::Errno::Overflow)?;
|
1736
|
-
position.store(pos, Ordering::Relaxed);
|
1737
|
-
}
|
1738
|
-
Ok(nwritten.try_into()?)
|
1739
|
-
}
|
1740
|
-
Descriptor::Stdout { stream, .. } | Descriptor::Stderr { stream, .. } => {
|
1741
|
-
let stream = stream.borrowed();
|
1742
|
-
drop(t);
|
1743
|
-
let Some(buf) = first_non_empty_ciovec(ciovs)? else {
|
1744
|
-
return Ok(0);
|
1745
|
-
};
|
1746
|
-
let n = BlockingMode::Blocking
|
1747
|
-
.write(self, stream, buf)
|
1748
|
-
.await?
|
1749
|
-
.try_into()?;
|
1750
|
-
Ok(n)
|
1751
|
-
}
|
1752
|
-
_ => Err(types::Errno::Badf.into()),
|
1753
|
-
}
|
1754
|
-
}
|
1755
|
-
|
1756
|
-
/// Write to a file descriptor, without using and updating the file descriptor's offset.
|
1757
|
-
/// NOTE: This is similar to `pwritev` in POSIX.
|
1758
|
-
#[instrument(skip(self))]
|
1759
|
-
async fn fd_pwrite<'a>(
|
1760
|
-
&mut self,
|
1761
|
-
fd: types::Fd,
|
1762
|
-
ciovs: &types::CiovecArray<'a>,
|
1763
|
-
offset: types::Filesize,
|
1764
|
-
) -> Result<types::Size, types::Error> {
|
1765
|
-
let t = self.transact()?;
|
1766
|
-
let desc = t.get_descriptor(fd)?;
|
1767
|
-
let n = match desc {
|
1768
|
-
Descriptor::File(File {
|
1769
|
-
fd, blocking_mode, ..
|
1770
|
-
}) => {
|
1771
|
-
let fd = fd.borrowed();
|
1772
|
-
let blocking_mode = *blocking_mode;
|
1773
|
-
drop(t);
|
1774
|
-
let Some(buf) = first_non_empty_ciovec(ciovs)? else {
|
1775
|
-
return Ok(0);
|
1776
|
-
};
|
1777
|
-
let stream = self.write_via_stream(fd, offset).map_err(|e| {
|
1778
|
-
e.try_into()
|
1779
|
-
.context("failed to call `write-via-stream`")
|
1780
|
-
.unwrap_or_else(types::Error::trap)
|
1781
|
-
})?;
|
1782
|
-
let result = blocking_mode.write(self, stream.borrowed(), buf).await;
|
1783
|
-
streams::HostOutputStream::drop(self, stream).map_err(|e| types::Error::trap(e))?;
|
1784
|
-
result?
|
1785
|
-
}
|
1786
|
-
Descriptor::Stdout { .. } | Descriptor::Stderr { .. } => {
|
1787
|
-
// NOTE: legacy implementation returns SPIPE here
|
1788
|
-
return Err(types::Errno::Spipe.into());
|
1789
|
-
}
|
1790
|
-
_ => return Err(types::Errno::Badf.into()),
|
1791
|
-
};
|
1792
|
-
Ok(n.try_into()?)
|
1793
|
-
}
|
1794
|
-
|
1795
|
-
/// Return a description of the given preopened file descriptor.
|
1796
|
-
#[instrument(skip(self))]
|
1797
|
-
fn fd_prestat_get(&mut self, fd: types::Fd) -> Result<types::Prestat, types::Error> {
|
1798
|
-
if let Descriptor::Directory {
|
1799
|
-
preopen_path: Some(p),
|
1800
|
-
..
|
1801
|
-
} = self.transact()?.get_descriptor(fd)?
|
1802
|
-
{
|
1803
|
-
let pr_name_len = p.len().try_into()?;
|
1804
|
-
return Ok(types::Prestat::Dir(types::PrestatDir { pr_name_len }));
|
1805
|
-
}
|
1806
|
-
Err(types::Errno::Badf.into()) // NOTE: legacy implementation returns BADF here
|
1807
|
-
}
|
1808
|
-
|
1809
|
-
/// Return a description of the given preopened file descriptor.
|
1810
|
-
#[instrument(skip(self))]
|
1811
|
-
fn fd_prestat_dir_name<'a>(
|
1812
|
-
&mut self,
|
1813
|
-
fd: types::Fd,
|
1814
|
-
path: &GuestPtr<'a, u8>,
|
1815
|
-
path_max_len: types::Size,
|
1816
|
-
) -> Result<(), types::Error> {
|
1817
|
-
let path_max_len = path_max_len.try_into()?;
|
1818
|
-
if let Descriptor::Directory {
|
1819
|
-
preopen_path: Some(p),
|
1820
|
-
..
|
1821
|
-
} = self.transact()?.get_descriptor(fd)?
|
1822
|
-
{
|
1823
|
-
if p.len() > path_max_len {
|
1824
|
-
return Err(types::Errno::Nametoolong.into());
|
1825
|
-
}
|
1826
|
-
write_bytes(path, p.as_bytes())?;
|
1827
|
-
return Ok(());
|
1828
|
-
}
|
1829
|
-
Err(types::Errno::Notdir.into()) // NOTE: legacy implementation returns NOTDIR here
|
1830
|
-
}
|
1831
|
-
|
1832
|
-
/// Atomically replace a file descriptor by renumbering another file descriptor.
|
1833
|
-
#[instrument(skip(self))]
|
1834
|
-
fn fd_renumber(&mut self, from: types::Fd, to: types::Fd) -> Result<(), types::Error> {
|
1835
|
-
let mut st = self.transact()?;
|
1836
|
-
let desc = st.descriptors.remove(from).ok_or(types::Errno::Badf)?;
|
1837
|
-
st.descriptors.insert(to.into(), desc);
|
1838
|
-
Ok(())
|
1839
|
-
}
|
1840
|
-
|
1841
|
-
/// Move the offset of a file descriptor.
|
1842
|
-
/// NOTE: This is similar to `lseek` in POSIX.
|
1843
|
-
#[instrument(skip(self))]
|
1844
|
-
async fn fd_seek(
|
1845
|
-
&mut self,
|
1846
|
-
fd: types::Fd,
|
1847
|
-
offset: types::Filedelta,
|
1848
|
-
whence: types::Whence,
|
1849
|
-
) -> Result<types::Filesize, types::Error> {
|
1850
|
-
let t = self.transact()?;
|
1851
|
-
let File { fd, position, .. } = t.get_seekable(fd)?;
|
1852
|
-
let fd = fd.borrowed();
|
1853
|
-
let position = position.clone();
|
1854
|
-
drop(t);
|
1855
|
-
let pos = match whence {
|
1856
|
-
types::Whence::Set if offset >= 0 => {
|
1857
|
-
offset.try_into().map_err(|_| types::Errno::Inval)?
|
1858
|
-
}
|
1859
|
-
types::Whence::Cur => position
|
1860
|
-
.load(Ordering::Relaxed)
|
1861
|
-
.checked_add_signed(offset)
|
1862
|
-
.ok_or(types::Errno::Inval)?,
|
1863
|
-
types::Whence::End => {
|
1864
|
-
let filesystem::DescriptorStat { size, .. } = self.stat(fd).await.map_err(|e| {
|
1865
|
-
e.try_into()
|
1866
|
-
.context("failed to call `stat`")
|
1867
|
-
.unwrap_or_else(types::Error::trap)
|
1868
|
-
})?;
|
1869
|
-
size.checked_add_signed(offset).ok_or(types::Errno::Inval)?
|
1870
|
-
}
|
1871
|
-
_ => return Err(types::Errno::Inval.into()),
|
1872
|
-
};
|
1873
|
-
position.store(pos, Ordering::Relaxed);
|
1874
|
-
Ok(pos)
|
1875
|
-
}
|
1876
|
-
|
1877
|
-
/// Synchronize the data and metadata of a file to disk.
|
1878
|
-
/// NOTE: This is similar to `fsync` in POSIX.
|
1879
|
-
#[instrument(skip(self))]
|
1880
|
-
async fn fd_sync(&mut self, fd: types::Fd) -> Result<(), types::Error> {
|
1881
|
-
let fd = self.get_file_fd(fd)?;
|
1882
|
-
self.sync(fd).await.map_err(|e| {
|
1883
|
-
e.try_into()
|
1884
|
-
.context("failed to call `sync`")
|
1885
|
-
.unwrap_or_else(types::Error::trap)
|
1886
|
-
})
|
1887
|
-
}
|
1888
|
-
|
1889
|
-
/// Return the current offset of a file descriptor.
|
1890
|
-
/// NOTE: This is similar to `lseek(fd, 0, SEEK_CUR)` in POSIX.
|
1891
|
-
#[instrument(skip(self))]
|
1892
|
-
fn fd_tell(&mut self, fd: types::Fd) -> Result<types::Filesize, types::Error> {
|
1893
|
-
let pos = self
|
1894
|
-
.transact()?
|
1895
|
-
.get_seekable(fd)
|
1896
|
-
.map(|File { position, .. }| position.load(Ordering::Relaxed))?;
|
1897
|
-
Ok(pos)
|
1898
|
-
}
|
1899
|
-
|
1900
|
-
#[instrument(skip(self))]
|
1901
|
-
async fn fd_readdir<'a>(
|
1902
|
-
&mut self,
|
1903
|
-
fd: types::Fd,
|
1904
|
-
buf: &GuestPtr<'a, u8>,
|
1905
|
-
buf_len: types::Size,
|
1906
|
-
cookie: types::Dircookie,
|
1907
|
-
) -> Result<types::Size, types::Error> {
|
1908
|
-
let fd = self.get_dir_fd(fd)?;
|
1909
|
-
let stream = self.read_directory(fd.borrowed()).await.map_err(|e| {
|
1910
|
-
e.try_into()
|
1911
|
-
.context("failed to call `read-directory`")
|
1912
|
-
.unwrap_or_else(types::Error::trap)
|
1913
|
-
})?;
|
1914
|
-
let dir_metadata_hash = self.metadata_hash(fd.borrowed()).await.map_err(|e| {
|
1915
|
-
e.try_into()
|
1916
|
-
.context("failed to call `metadata-hash`")
|
1917
|
-
.unwrap_or_else(types::Error::trap)
|
1918
|
-
})?;
|
1919
|
-
let cookie = cookie.try_into().map_err(|_| types::Errno::Overflow)?;
|
1920
|
-
|
1921
|
-
let head = [
|
1922
|
-
(
|
1923
|
-
types::Dirent {
|
1924
|
-
d_next: 1u64.to_le(),
|
1925
|
-
d_ino: dir_metadata_hash.lower.to_le(),
|
1926
|
-
d_type: types::Filetype::Directory,
|
1927
|
-
d_namlen: 1u32.to_le(),
|
1928
|
-
},
|
1929
|
-
".".into(),
|
1930
|
-
),
|
1931
|
-
(
|
1932
|
-
types::Dirent {
|
1933
|
-
d_next: 2u64.to_le(),
|
1934
|
-
d_ino: dir_metadata_hash.lower.to_le(), // NOTE: incorrect, but legacy implementation returns `fd` inode here
|
1935
|
-
d_type: types::Filetype::Directory,
|
1936
|
-
d_namlen: 2u32.to_le(),
|
1937
|
-
},
|
1938
|
-
"..".into(),
|
1939
|
-
),
|
1940
|
-
];
|
1941
|
-
|
1942
|
-
let mut dir = Vec::new();
|
1943
|
-
for (entry, d_next) in self
|
1944
|
-
.table()
|
1945
|
-
// remove iterator from table and use it directly:
|
1946
|
-
.delete(stream)?
|
1947
|
-
.into_iter()
|
1948
|
-
.zip(3u64..)
|
1949
|
-
{
|
1950
|
-
let filesystem::DirectoryEntry { type_, name } = entry.map_err(|e| {
|
1951
|
-
e.try_into()
|
1952
|
-
.context("failed to inspect `read-directory` entry")
|
1953
|
-
.unwrap_or_else(types::Error::trap)
|
1954
|
-
})?;
|
1955
|
-
let metadata_hash = self
|
1956
|
-
.metadata_hash_at(fd.borrowed(), filesystem::PathFlags::empty(), name.clone())
|
1957
|
-
.await
|
1958
|
-
.map_err(|e| {
|
1959
|
-
e.try_into()
|
1960
|
-
.context("failed to call `metadata-hash-at`")
|
1961
|
-
.unwrap_or_else(types::Error::trap)
|
1962
|
-
})?;
|
1963
|
-
let d_type = type_.try_into().map_err(types::Error::trap)?;
|
1964
|
-
let d_namlen: u32 = name.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
1965
|
-
dir.push((
|
1966
|
-
types::Dirent {
|
1967
|
-
d_next: d_next.to_le(),
|
1968
|
-
d_ino: metadata_hash.lower.to_le(),
|
1969
|
-
d_type, // endian-invariant
|
1970
|
-
d_namlen: d_namlen.to_le(),
|
1971
|
-
},
|
1972
|
-
name,
|
1973
|
-
))
|
1974
|
-
}
|
1975
|
-
|
1976
|
-
// assume that `types::Dirent` size always fits in `u32`
|
1977
|
-
const DIRENT_SIZE: u32 = size_of::<types::Dirent>() as _;
|
1978
|
-
assert_eq!(
|
1979
|
-
types::Dirent::guest_size(),
|
1980
|
-
DIRENT_SIZE,
|
1981
|
-
"Dirent guest repr and host repr should match"
|
1982
|
-
);
|
1983
|
-
let mut buf = *buf;
|
1984
|
-
let mut cap = buf_len;
|
1985
|
-
for (ref entry, path) in head.into_iter().chain(dir.into_iter()).skip(cookie) {
|
1986
|
-
let mut path = path.into_bytes();
|
1987
|
-
assert_eq!(
|
1988
|
-
1,
|
1989
|
-
size_of_val(&entry.d_type),
|
1990
|
-
"Dirent member d_type should be endian-invariant"
|
1991
|
-
);
|
1992
|
-
let entry_len = cap.min(DIRENT_SIZE);
|
1993
|
-
let entry = entry as *const _ as _;
|
1994
|
-
let entry = unsafe { slice::from_raw_parts(entry, entry_len as _) };
|
1995
|
-
cap = cap.checked_sub(entry_len).unwrap();
|
1996
|
-
buf = write_bytes(buf, entry)?;
|
1997
|
-
if cap == 0 {
|
1998
|
-
return Ok(buf_len);
|
1999
|
-
}
|
2000
|
-
|
2001
|
-
if let Ok(cap) = cap.try_into() {
|
2002
|
-
// `path` cannot be longer than `usize`, only truncate if `cap` fits in `usize`
|
2003
|
-
path.truncate(cap);
|
2004
|
-
}
|
2005
|
-
cap = cap.checked_sub(path.len() as _).unwrap();
|
2006
|
-
buf = write_bytes(buf, &path)?;
|
2007
|
-
if cap == 0 {
|
2008
|
-
return Ok(buf_len);
|
2009
|
-
}
|
2010
|
-
}
|
2011
|
-
Ok(buf_len.checked_sub(cap).unwrap())
|
2012
|
-
}
|
2013
|
-
|
2014
|
-
#[instrument(skip(self))]
|
2015
|
-
async fn path_create_directory<'a>(
|
2016
|
-
&mut self,
|
2017
|
-
dirfd: types::Fd,
|
2018
|
-
path: &GuestPtr<'a, str>,
|
2019
|
-
) -> Result<(), types::Error> {
|
2020
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2021
|
-
let path = read_string(path)?;
|
2022
|
-
self.create_directory_at(dirfd.borrowed(), path)
|
2023
|
-
.await
|
2024
|
-
.map_err(|e| {
|
2025
|
-
e.try_into()
|
2026
|
-
.context("failed to call `create-directory-at`")
|
2027
|
-
.unwrap_or_else(types::Error::trap)
|
2028
|
-
})
|
2029
|
-
}
|
2030
|
-
|
2031
|
-
/// Return the attributes of a file or directory.
|
2032
|
-
/// NOTE: This is similar to `stat` in POSIX.
|
2033
|
-
#[instrument(skip(self))]
|
2034
|
-
async fn path_filestat_get<'a>(
|
2035
|
-
&mut self,
|
2036
|
-
dirfd: types::Fd,
|
2037
|
-
flags: types::Lookupflags,
|
2038
|
-
path: &GuestPtr<'a, str>,
|
2039
|
-
) -> Result<types::Filestat, types::Error> {
|
2040
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2041
|
-
let path = read_string(path)?;
|
2042
|
-
let filesystem::DescriptorStat {
|
2043
|
-
type_,
|
2044
|
-
link_count: nlink,
|
2045
|
-
size,
|
2046
|
-
data_access_timestamp,
|
2047
|
-
data_modification_timestamp,
|
2048
|
-
status_change_timestamp,
|
2049
|
-
} = self
|
2050
|
-
.stat_at(dirfd.borrowed(), flags.into(), path.clone())
|
2051
|
-
.await
|
2052
|
-
.map_err(|e| {
|
2053
|
-
e.try_into()
|
2054
|
-
.context("failed to call `stat-at`")
|
2055
|
-
.unwrap_or_else(types::Error::trap)
|
2056
|
-
})?;
|
2057
|
-
let metadata_hash = self
|
2058
|
-
.metadata_hash_at(dirfd, flags.into(), path)
|
2059
|
-
.await
|
2060
|
-
.map_err(|e| {
|
2061
|
-
e.try_into()
|
2062
|
-
.context("failed to call `metadata-hash-at`")
|
2063
|
-
.unwrap_or_else(types::Error::trap)
|
2064
|
-
})?;
|
2065
|
-
let filetype = type_.try_into().map_err(types::Error::trap)?;
|
2066
|
-
let zero = wall_clock::Datetime {
|
2067
|
-
seconds: 0,
|
2068
|
-
nanoseconds: 0,
|
2069
|
-
};
|
2070
|
-
let atim = data_access_timestamp.unwrap_or(zero).try_into()?;
|
2071
|
-
let mtim = data_modification_timestamp.unwrap_or(zero).try_into()?;
|
2072
|
-
let ctim = status_change_timestamp.unwrap_or(zero).try_into()?;
|
2073
|
-
Ok(types::Filestat {
|
2074
|
-
dev: 1,
|
2075
|
-
ino: metadata_hash.lower,
|
2076
|
-
filetype,
|
2077
|
-
nlink,
|
2078
|
-
size,
|
2079
|
-
atim,
|
2080
|
-
mtim,
|
2081
|
-
ctim,
|
2082
|
-
})
|
2083
|
-
}
|
2084
|
-
|
2085
|
-
/// Adjust the timestamps of a file or directory.
|
2086
|
-
/// NOTE: This is similar to `utimensat` in POSIX.
|
2087
|
-
#[instrument(skip(self))]
|
2088
|
-
async fn path_filestat_set_times<'a>(
|
2089
|
-
&mut self,
|
2090
|
-
dirfd: types::Fd,
|
2091
|
-
flags: types::Lookupflags,
|
2092
|
-
path: &GuestPtr<'a, str>,
|
2093
|
-
atim: types::Timestamp,
|
2094
|
-
mtim: types::Timestamp,
|
2095
|
-
fst_flags: types::Fstflags,
|
2096
|
-
) -> Result<(), types::Error> {
|
2097
|
-
let atim = systimespec(
|
2098
|
-
fst_flags.contains(types::Fstflags::ATIM),
|
2099
|
-
atim,
|
2100
|
-
fst_flags.contains(types::Fstflags::ATIM_NOW),
|
2101
|
-
)?;
|
2102
|
-
let mtim = systimespec(
|
2103
|
-
fst_flags.contains(types::Fstflags::MTIM),
|
2104
|
-
mtim,
|
2105
|
-
fst_flags.contains(types::Fstflags::MTIM_NOW),
|
2106
|
-
)?;
|
2107
|
-
|
2108
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2109
|
-
let path = read_string(path)?;
|
2110
|
-
self.set_times_at(dirfd, flags.into(), path, atim, mtim)
|
2111
|
-
.await
|
2112
|
-
.map_err(|e| {
|
2113
|
-
e.try_into()
|
2114
|
-
.context("failed to call `set-times-at`")
|
2115
|
-
.unwrap_or_else(types::Error::trap)
|
2116
|
-
})
|
2117
|
-
}
|
2118
|
-
|
2119
|
-
/// Create a hard link.
|
2120
|
-
/// NOTE: This is similar to `linkat` in POSIX.
|
2121
|
-
#[instrument(skip(self))]
|
2122
|
-
async fn path_link<'a>(
|
2123
|
-
&mut self,
|
2124
|
-
src_fd: types::Fd,
|
2125
|
-
src_flags: types::Lookupflags,
|
2126
|
-
src_path: &GuestPtr<'a, str>,
|
2127
|
-
target_fd: types::Fd,
|
2128
|
-
target_path: &GuestPtr<'a, str>,
|
2129
|
-
) -> Result<(), types::Error> {
|
2130
|
-
let src_fd = self.get_dir_fd(src_fd)?;
|
2131
|
-
let target_fd = self.get_dir_fd(target_fd)?;
|
2132
|
-
let src_path = read_string(src_path)?;
|
2133
|
-
let target_path = read_string(target_path)?;
|
2134
|
-
self.link_at(src_fd, src_flags.into(), src_path, target_fd, target_path)
|
2135
|
-
.await
|
2136
|
-
.map_err(|e| {
|
2137
|
-
e.try_into()
|
2138
|
-
.context("failed to call `link-at`")
|
2139
|
-
.unwrap_or_else(types::Error::trap)
|
2140
|
-
})
|
2141
|
-
}
|
2142
|
-
|
2143
|
-
/// Open a file or directory.
|
2144
|
-
/// NOTE: This is similar to `openat` in POSIX.
|
2145
|
-
#[instrument(skip(self))]
|
2146
|
-
async fn path_open<'a>(
|
2147
|
-
&mut self,
|
2148
|
-
dirfd: types::Fd,
|
2149
|
-
dirflags: types::Lookupflags,
|
2150
|
-
path: &GuestPtr<'a, str>,
|
2151
|
-
oflags: types::Oflags,
|
2152
|
-
fs_rights_base: types::Rights,
|
2153
|
-
_fs_rights_inheriting: types::Rights,
|
2154
|
-
fdflags: types::Fdflags,
|
2155
|
-
) -> Result<types::Fd, types::Error> {
|
2156
|
-
let path = read_string(path)?;
|
2157
|
-
|
2158
|
-
let mut flags = filesystem::DescriptorFlags::empty();
|
2159
|
-
if fs_rights_base.contains(types::Rights::FD_READ) {
|
2160
|
-
flags |= filesystem::DescriptorFlags::READ;
|
2161
|
-
}
|
2162
|
-
if fs_rights_base.contains(types::Rights::FD_WRITE) {
|
2163
|
-
flags |= filesystem::DescriptorFlags::WRITE;
|
2164
|
-
}
|
2165
|
-
if fdflags.contains(types::Fdflags::SYNC) {
|
2166
|
-
flags |= filesystem::DescriptorFlags::FILE_INTEGRITY_SYNC;
|
2167
|
-
}
|
2168
|
-
if fdflags.contains(types::Fdflags::DSYNC) {
|
2169
|
-
flags |= filesystem::DescriptorFlags::DATA_INTEGRITY_SYNC;
|
2170
|
-
}
|
2171
|
-
if fdflags.contains(types::Fdflags::RSYNC) {
|
2172
|
-
flags |= filesystem::DescriptorFlags::REQUESTED_WRITE_SYNC;
|
2173
|
-
}
|
2174
|
-
|
2175
|
-
let t = self.transact()?;
|
2176
|
-
let dirfd = match t.get_descriptor(dirfd)? {
|
2177
|
-
Descriptor::Directory { fd, .. } => fd.borrowed(),
|
2178
|
-
Descriptor::File(_) => return Err(types::Errno::Notdir.into()),
|
2179
|
-
_ => return Err(types::Errno::Badf.into()),
|
2180
|
-
};
|
2181
|
-
drop(t);
|
2182
|
-
let fd = self
|
2183
|
-
.open_at(dirfd, dirflags.into(), path, oflags.into(), flags)
|
2184
|
-
.await
|
2185
|
-
.map_err(|e| {
|
2186
|
-
e.try_into()
|
2187
|
-
.context("failed to call `open-at`")
|
2188
|
-
.unwrap_or_else(types::Error::trap)
|
2189
|
-
})?;
|
2190
|
-
let mut t = self.transact()?;
|
2191
|
-
let desc = match t.view.table().get(&fd)? {
|
2192
|
-
crate::filesystem::Descriptor::Dir(_) => Descriptor::Directory {
|
2193
|
-
fd,
|
2194
|
-
preopen_path: None,
|
2195
|
-
},
|
2196
|
-
crate::filesystem::Descriptor::File(_) => Descriptor::File(File {
|
2197
|
-
fd,
|
2198
|
-
position: Default::default(),
|
2199
|
-
append: fdflags.contains(types::Fdflags::APPEND),
|
2200
|
-
blocking_mode: BlockingMode::from_fdflags(&fdflags),
|
2201
|
-
}),
|
2202
|
-
};
|
2203
|
-
let fd = t.descriptors.push(desc)?;
|
2204
|
-
Ok(fd.into())
|
2205
|
-
}
|
2206
|
-
|
2207
|
-
/// Read the contents of a symbolic link.
|
2208
|
-
/// NOTE: This is similar to `readlinkat` in POSIX.
|
2209
|
-
#[instrument(skip(self))]
|
2210
|
-
async fn path_readlink<'a>(
|
2211
|
-
&mut self,
|
2212
|
-
dirfd: types::Fd,
|
2213
|
-
path: &GuestPtr<'a, str>,
|
2214
|
-
buf: &GuestPtr<'a, u8>,
|
2215
|
-
buf_len: types::Size,
|
2216
|
-
) -> Result<types::Size, types::Error> {
|
2217
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2218
|
-
let path = read_string(path)?;
|
2219
|
-
let mut path = self
|
2220
|
-
.readlink_at(dirfd, path)
|
2221
|
-
.await
|
2222
|
-
.map_err(|e| {
|
2223
|
-
e.try_into()
|
2224
|
-
.context("failed to call `readlink-at`")
|
2225
|
-
.unwrap_or_else(types::Error::trap)
|
2226
|
-
})?
|
2227
|
-
.into_bytes();
|
2228
|
-
if let Ok(buf_len) = buf_len.try_into() {
|
2229
|
-
// `path` cannot be longer than `usize`, only truncate if `buf_len` fits in `usize`
|
2230
|
-
path.truncate(buf_len);
|
2231
|
-
}
|
2232
|
-
let n = path.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
2233
|
-
write_bytes(buf, &path)?;
|
2234
|
-
Ok(n)
|
2235
|
-
}
|
2236
|
-
|
2237
|
-
#[instrument(skip(self))]
|
2238
|
-
async fn path_remove_directory<'a>(
|
2239
|
-
&mut self,
|
2240
|
-
dirfd: types::Fd,
|
2241
|
-
path: &GuestPtr<'a, str>,
|
2242
|
-
) -> Result<(), types::Error> {
|
2243
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2244
|
-
let path = read_string(path)?;
|
2245
|
-
self.remove_directory_at(dirfd, path).await.map_err(|e| {
|
2246
|
-
e.try_into()
|
2247
|
-
.context("failed to call `remove-directory-at`")
|
2248
|
-
.unwrap_or_else(types::Error::trap)
|
2249
|
-
})
|
2250
|
-
}
|
2251
|
-
|
2252
|
-
/// Rename a file or directory.
|
2253
|
-
/// NOTE: This is similar to `renameat` in POSIX.
|
2254
|
-
#[instrument(skip(self))]
|
2255
|
-
async fn path_rename<'a>(
|
2256
|
-
&mut self,
|
2257
|
-
src_fd: types::Fd,
|
2258
|
-
src_path: &GuestPtr<'a, str>,
|
2259
|
-
dest_fd: types::Fd,
|
2260
|
-
dest_path: &GuestPtr<'a, str>,
|
2261
|
-
) -> Result<(), types::Error> {
|
2262
|
-
let src_fd = self.get_dir_fd(src_fd)?;
|
2263
|
-
let dest_fd = self.get_dir_fd(dest_fd)?;
|
2264
|
-
let src_path = read_string(src_path)?;
|
2265
|
-
let dest_path = read_string(dest_path)?;
|
2266
|
-
self.rename_at(src_fd, src_path, dest_fd, dest_path)
|
2267
|
-
.await
|
2268
|
-
.map_err(|e| {
|
2269
|
-
e.try_into()
|
2270
|
-
.context("failed to call `rename-at`")
|
2271
|
-
.unwrap_or_else(types::Error::trap)
|
2272
|
-
})
|
2273
|
-
}
|
2274
|
-
|
2275
|
-
#[instrument(skip(self))]
|
2276
|
-
async fn path_symlink<'a>(
|
2277
|
-
&mut self,
|
2278
|
-
src_path: &GuestPtr<'a, str>,
|
2279
|
-
dirfd: types::Fd,
|
2280
|
-
dest_path: &GuestPtr<'a, str>,
|
2281
|
-
) -> Result<(), types::Error> {
|
2282
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2283
|
-
let src_path = read_string(src_path)?;
|
2284
|
-
let dest_path = read_string(dest_path)?;
|
2285
|
-
self.symlink_at(dirfd.borrowed(), src_path, dest_path)
|
2286
|
-
.await
|
2287
|
-
.map_err(|e| {
|
2288
|
-
e.try_into()
|
2289
|
-
.context("failed to call `symlink-at`")
|
2290
|
-
.unwrap_or_else(types::Error::trap)
|
2291
|
-
})
|
2292
|
-
}
|
2293
|
-
|
2294
|
-
#[instrument(skip(self))]
|
2295
|
-
async fn path_unlink_file<'a>(
|
2296
|
-
&mut self,
|
2297
|
-
dirfd: types::Fd,
|
2298
|
-
path: &GuestPtr<'a, str>,
|
2299
|
-
) -> Result<(), types::Error> {
|
2300
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2301
|
-
let path = path.as_cow()?.to_string();
|
2302
|
-
self.unlink_file_at(dirfd.borrowed(), path)
|
2303
|
-
.await
|
2304
|
-
.map_err(|e| {
|
2305
|
-
e.try_into()
|
2306
|
-
.context("failed to call `unlink-file-at`")
|
2307
|
-
.unwrap_or_else(types::Error::trap)
|
2308
|
-
})
|
2309
|
-
}
|
2310
|
-
|
2311
|
-
#[instrument(skip(self))]
|
2312
|
-
async fn poll_oneoff<'a>(
|
2313
|
-
&mut self,
|
2314
|
-
subs: &GuestPtr<'a, types::Subscription>,
|
2315
|
-
events: &GuestPtr<'a, types::Event>,
|
2316
|
-
nsubscriptions: types::Size,
|
2317
|
-
) -> Result<types::Size, types::Error> {
|
2318
|
-
if nsubscriptions == 0 {
|
2319
|
-
// Indefinite sleeping is not supported in preview1.
|
2320
|
-
return Err(types::Errno::Inval.into());
|
2321
|
-
}
|
2322
|
-
|
2323
|
-
// This is a special case where `poll_oneoff` is just sleeping
|
2324
|
-
// on a single relative timer event. This special case was added
|
2325
|
-
// after experimental observations showed that std::thread::sleep
|
2326
|
-
// results in more consistent sleep times. This design ensures that
|
2327
|
-
// wasmtime can handle real-time requirements more accurately.
|
2328
|
-
if nsubscriptions == 1 {
|
2329
|
-
let sub = subs.read()?;
|
2330
|
-
if let types::SubscriptionU::Clock(clocksub) = sub.u {
|
2331
|
-
if !clocksub
|
2332
|
-
.flags
|
2333
|
-
.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME)
|
2334
|
-
&& self.ctx().allow_blocking_current_thread
|
2335
|
-
{
|
2336
|
-
std::thread::sleep(std::time::Duration::from_nanos(clocksub.timeout));
|
2337
|
-
events.write(types::Event {
|
2338
|
-
userdata: sub.userdata,
|
2339
|
-
error: types::Errno::Success,
|
2340
|
-
type_: types::Eventtype::Clock,
|
2341
|
-
fd_readwrite: types::EventFdReadwrite {
|
2342
|
-
flags: types::Eventrwflags::empty(),
|
2343
|
-
nbytes: 1,
|
2344
|
-
},
|
2345
|
-
})?;
|
2346
|
-
return Ok(1);
|
2347
|
-
}
|
2348
|
-
}
|
2349
|
-
}
|
2350
|
-
|
2351
|
-
let subs = subs.as_array(nsubscriptions);
|
2352
|
-
let events = events.as_array(nsubscriptions);
|
2353
|
-
|
2354
|
-
let n = usize::try_from(nsubscriptions).unwrap_or(usize::MAX);
|
2355
|
-
let mut pollables = Vec::with_capacity(n);
|
2356
|
-
for sub in subs.iter() {
|
2357
|
-
let sub = sub?.read()?;
|
2358
|
-
let p = match sub.u {
|
2359
|
-
types::SubscriptionU::Clock(types::SubscriptionClock {
|
2360
|
-
id,
|
2361
|
-
timeout,
|
2362
|
-
flags,
|
2363
|
-
..
|
2364
|
-
}) => {
|
2365
|
-
let absolute = flags.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME);
|
2366
|
-
let (timeout, absolute) = match id {
|
2367
|
-
types::Clockid::Monotonic => (timeout, absolute),
|
2368
|
-
types::Clockid::Realtime if !absolute => (timeout, false),
|
2369
|
-
types::Clockid::Realtime => {
|
2370
|
-
let now = wall_clock::Host::now(self)
|
2371
|
-
.context("failed to call `wall_clock::now`")
|
2372
|
-
.map_err(types::Error::trap)?;
|
2373
|
-
|
2374
|
-
// Convert `timeout` to `Datetime` format.
|
2375
|
-
let seconds = timeout / 1_000_000_000;
|
2376
|
-
let nanoseconds = timeout % 1_000_000_000;
|
2377
|
-
|
2378
|
-
let timeout = if now.seconds < seconds
|
2379
|
-
|| now.seconds == seconds
|
2380
|
-
&& u64::from(now.nanoseconds) < nanoseconds
|
2381
|
-
{
|
2382
|
-
// `now` is less than `timeout`, which is expressable as u64,
|
2383
|
-
// substract the nanosecond counts directly
|
2384
|
-
now.seconds * 1_000_000_000 + u64::from(now.nanoseconds) - timeout
|
2385
|
-
} else {
|
2386
|
-
0
|
2387
|
-
};
|
2388
|
-
(timeout, false)
|
2389
|
-
}
|
2390
|
-
_ => return Err(types::Errno::Inval.into()),
|
2391
|
-
};
|
2392
|
-
if absolute {
|
2393
|
-
monotonic_clock::Host::subscribe_instant(self, timeout)
|
2394
|
-
.context("failed to call `monotonic_clock::subscribe_instant`")
|
2395
|
-
.map_err(types::Error::trap)?
|
2396
|
-
} else {
|
2397
|
-
monotonic_clock::Host::subscribe_duration(self, timeout)
|
2398
|
-
.context("failed to call `monotonic_clock::subscribe_duration`")
|
2399
|
-
.map_err(types::Error::trap)?
|
2400
|
-
}
|
2401
|
-
}
|
2402
|
-
types::SubscriptionU::FdRead(types::SubscriptionFdReadwrite {
|
2403
|
-
file_descriptor,
|
2404
|
-
}) => {
|
2405
|
-
let stream = {
|
2406
|
-
let t = self.transact()?;
|
2407
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2408
|
-
match desc {
|
2409
|
-
Descriptor::Stdin { stream, .. } => stream.borrowed(),
|
2410
|
-
Descriptor::File(File { fd, position, .. }) => {
|
2411
|
-
let pos = position.load(Ordering::Relaxed);
|
2412
|
-
let fd = fd.borrowed();
|
2413
|
-
drop(t);
|
2414
|
-
self.read_via_stream(fd, pos).map_err(|e| {
|
2415
|
-
e.try_into()
|
2416
|
-
.context("failed to call `read-via-stream`")
|
2417
|
-
.unwrap_or_else(types::Error::trap)
|
2418
|
-
})?
|
2419
|
-
}
|
2420
|
-
// TODO: Support sockets
|
2421
|
-
_ => return Err(types::Errno::Badf.into()),
|
2422
|
-
}
|
2423
|
-
};
|
2424
|
-
streams::HostInputStream::subscribe(self, stream)
|
2425
|
-
.context("failed to call `subscribe` on `input-stream`")
|
2426
|
-
.map_err(types::Error::trap)?
|
2427
|
-
}
|
2428
|
-
types::SubscriptionU::FdWrite(types::SubscriptionFdReadwrite {
|
2429
|
-
file_descriptor,
|
2430
|
-
}) => {
|
2431
|
-
let stream = {
|
2432
|
-
let t = self.transact()?;
|
2433
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2434
|
-
match desc {
|
2435
|
-
Descriptor::Stdout { stream, .. }
|
2436
|
-
| Descriptor::Stderr { stream, .. } => stream.borrowed(),
|
2437
|
-
Descriptor::File(File {
|
2438
|
-
fd,
|
2439
|
-
position,
|
2440
|
-
append,
|
2441
|
-
..
|
2442
|
-
}) => {
|
2443
|
-
let fd = fd.borrowed();
|
2444
|
-
let position = position.clone();
|
2445
|
-
let append = *append;
|
2446
|
-
drop(t);
|
2447
|
-
if append {
|
2448
|
-
self.append_via_stream(fd).map_err(|e| {
|
2449
|
-
e.try_into()
|
2450
|
-
.context("failed to call `append-via-stream`")
|
2451
|
-
.unwrap_or_else(types::Error::trap)
|
2452
|
-
})?
|
2453
|
-
} else {
|
2454
|
-
let pos = position.load(Ordering::Relaxed);
|
2455
|
-
self.write_via_stream(fd, pos).map_err(|e| {
|
2456
|
-
e.try_into()
|
2457
|
-
.context("failed to call `write-via-stream`")
|
2458
|
-
.unwrap_or_else(types::Error::trap)
|
2459
|
-
})?
|
2460
|
-
}
|
2461
|
-
}
|
2462
|
-
// TODO: Support sockets
|
2463
|
-
_ => return Err(types::Errno::Badf.into()),
|
2464
|
-
}
|
2465
|
-
};
|
2466
|
-
streams::HostOutputStream::subscribe(self, stream)
|
2467
|
-
.context("failed to call `subscribe` on `output-stream`")
|
2468
|
-
.map_err(types::Error::trap)?
|
2469
|
-
}
|
2470
|
-
};
|
2471
|
-
pollables.push(p);
|
2472
|
-
}
|
2473
|
-
let ready: HashSet<_> = self
|
2474
|
-
.poll(pollables)
|
2475
|
-
.await
|
2476
|
-
.context("failed to call `poll-oneoff`")
|
2477
|
-
.map_err(types::Error::trap)?
|
2478
|
-
.into_iter()
|
2479
|
-
.collect();
|
2480
|
-
|
2481
|
-
let mut count: types::Size = 0;
|
2482
|
-
for (sub, event) in (0..)
|
2483
|
-
.zip(subs.iter())
|
2484
|
-
.filter_map(|(idx, sub)| ready.contains(&idx).then_some(sub))
|
2485
|
-
.zip(events.iter())
|
2486
|
-
{
|
2487
|
-
let sub = sub?.read()?;
|
2488
|
-
let event = event?;
|
2489
|
-
let e = match sub.u {
|
2490
|
-
types::SubscriptionU::Clock(..) => types::Event {
|
2491
|
-
userdata: sub.userdata,
|
2492
|
-
error: types::Errno::Success,
|
2493
|
-
type_: types::Eventtype::Clock,
|
2494
|
-
fd_readwrite: types::EventFdReadwrite {
|
2495
|
-
flags: types::Eventrwflags::empty(),
|
2496
|
-
nbytes: 0,
|
2497
|
-
},
|
2498
|
-
},
|
2499
|
-
types::SubscriptionU::FdRead(types::SubscriptionFdReadwrite {
|
2500
|
-
file_descriptor,
|
2501
|
-
}) => {
|
2502
|
-
let t = self.transact()?;
|
2503
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2504
|
-
match desc {
|
2505
|
-
Descriptor::Stdin { .. } => types::Event {
|
2506
|
-
userdata: sub.userdata,
|
2507
|
-
error: types::Errno::Success,
|
2508
|
-
type_: types::Eventtype::FdRead,
|
2509
|
-
fd_readwrite: types::EventFdReadwrite {
|
2510
|
-
flags: types::Eventrwflags::empty(),
|
2511
|
-
nbytes: 1,
|
2512
|
-
},
|
2513
|
-
},
|
2514
|
-
Descriptor::File(File { fd, position, .. }) => {
|
2515
|
-
let fd = fd.borrowed();
|
2516
|
-
let position = position.clone();
|
2517
|
-
drop(t);
|
2518
|
-
match self.stat(fd).await? {
|
2519
|
-
filesystem::DescriptorStat { size, .. } => {
|
2520
|
-
let pos = position.load(Ordering::Relaxed);
|
2521
|
-
let nbytes = size.saturating_sub(pos);
|
2522
|
-
types::Event {
|
2523
|
-
userdata: sub.userdata,
|
2524
|
-
error: types::Errno::Success,
|
2525
|
-
type_: types::Eventtype::FdRead,
|
2526
|
-
fd_readwrite: types::EventFdReadwrite {
|
2527
|
-
flags: if nbytes == 0 {
|
2528
|
-
types::Eventrwflags::FD_READWRITE_HANGUP
|
2529
|
-
} else {
|
2530
|
-
types::Eventrwflags::empty()
|
2531
|
-
},
|
2532
|
-
nbytes: 1,
|
2533
|
-
},
|
2534
|
-
}
|
2535
|
-
}
|
2536
|
-
}
|
2537
|
-
}
|
2538
|
-
// TODO: Support sockets
|
2539
|
-
_ => return Err(types::Errno::Badf.into()),
|
2540
|
-
}
|
2541
|
-
}
|
2542
|
-
types::SubscriptionU::FdWrite(types::SubscriptionFdReadwrite {
|
2543
|
-
file_descriptor,
|
2544
|
-
}) => {
|
2545
|
-
let t = self.transact()?;
|
2546
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2547
|
-
match desc {
|
2548
|
-
Descriptor::Stdout { .. } | Descriptor::Stderr { .. } => types::Event {
|
2549
|
-
userdata: sub.userdata,
|
2550
|
-
error: types::Errno::Success,
|
2551
|
-
type_: types::Eventtype::FdWrite,
|
2552
|
-
fd_readwrite: types::EventFdReadwrite {
|
2553
|
-
flags: types::Eventrwflags::empty(),
|
2554
|
-
nbytes: 1,
|
2555
|
-
},
|
2556
|
-
},
|
2557
|
-
Descriptor::File(_) => types::Event {
|
2558
|
-
userdata: sub.userdata,
|
2559
|
-
error: types::Errno::Success,
|
2560
|
-
type_: types::Eventtype::FdWrite,
|
2561
|
-
fd_readwrite: types::EventFdReadwrite {
|
2562
|
-
flags: types::Eventrwflags::empty(),
|
2563
|
-
nbytes: 1,
|
2564
|
-
},
|
2565
|
-
},
|
2566
|
-
// TODO: Support sockets
|
2567
|
-
_ => return Err(types::Errno::Badf.into()),
|
2568
|
-
}
|
2569
|
-
}
|
2570
|
-
};
|
2571
|
-
event.write(e)?;
|
2572
|
-
count = count
|
2573
|
-
.checked_add(1)
|
2574
|
-
.ok_or_else(|| types::Error::from(types::Errno::Overflow))?
|
2575
|
-
}
|
2576
|
-
Ok(count)
|
2577
|
-
}
|
2578
|
-
|
2579
|
-
#[instrument(skip(self))]
|
2580
|
-
fn proc_exit(&mut self, status: types::Exitcode) -> anyhow::Error {
|
2581
|
-
// Check that the status is within WASI's range.
|
2582
|
-
if status >= 126 {
|
2583
|
-
return anyhow::Error::msg("exit with invalid exit status outside of [0..126)");
|
2584
|
-
}
|
2585
|
-
crate::I32Exit(status as i32).into()
|
2586
|
-
}
|
2587
|
-
|
2588
|
-
#[instrument(skip(self))]
|
2589
|
-
fn proc_raise(&mut self, _sig: types::Signal) -> Result<(), types::Error> {
|
2590
|
-
Err(types::Errno::Notsup.into())
|
2591
|
-
}
|
2592
|
-
|
2593
|
-
#[instrument(skip(self))]
|
2594
|
-
fn sched_yield(&mut self) -> Result<(), types::Error> {
|
2595
|
-
// No such thing in preview 2. Intentionally left empty.
|
2596
|
-
Ok(())
|
2597
|
-
}
|
2598
|
-
|
2599
|
-
#[instrument(skip(self))]
|
2600
|
-
fn random_get<'a>(
|
2601
|
-
&mut self,
|
2602
|
-
buf: &GuestPtr<'a, u8>,
|
2603
|
-
buf_len: types::Size,
|
2604
|
-
) -> Result<(), types::Error> {
|
2605
|
-
let rand = self
|
2606
|
-
.get_random_bytes(buf_len.into())
|
2607
|
-
.context("failed to call `get-random-bytes`")
|
2608
|
-
.map_err(types::Error::trap)?;
|
2609
|
-
write_bytes(buf, &rand)?;
|
2610
|
-
Ok(())
|
2611
|
-
}
|
2612
|
-
|
2613
|
-
#[allow(unused_variables)]
|
2614
|
-
#[instrument(skip(self))]
|
2615
|
-
fn sock_accept(
|
2616
|
-
&mut self,
|
2617
|
-
fd: types::Fd,
|
2618
|
-
flags: types::Fdflags,
|
2619
|
-
) -> Result<types::Fd, types::Error> {
|
2620
|
-
todo!("preview1 sock_accept is not implemented")
|
2621
|
-
}
|
2622
|
-
|
2623
|
-
#[allow(unused_variables)]
|
2624
|
-
#[instrument(skip(self))]
|
2625
|
-
fn sock_recv<'a>(
|
2626
|
-
&mut self,
|
2627
|
-
fd: types::Fd,
|
2628
|
-
ri_data: &types::IovecArray<'a>,
|
2629
|
-
ri_flags: types::Riflags,
|
2630
|
-
) -> Result<(types::Size, types::Roflags), types::Error> {
|
2631
|
-
todo!("preview1 sock_recv is not implemented")
|
2632
|
-
}
|
2633
|
-
|
2634
|
-
#[allow(unused_variables)]
|
2635
|
-
#[instrument(skip(self))]
|
2636
|
-
fn sock_send<'a>(
|
2637
|
-
&mut self,
|
2638
|
-
fd: types::Fd,
|
2639
|
-
si_data: &types::CiovecArray<'a>,
|
2640
|
-
_si_flags: types::Siflags,
|
2641
|
-
) -> Result<types::Size, types::Error> {
|
2642
|
-
todo!("preview1 sock_send is not implemented")
|
2643
|
-
}
|
2644
|
-
|
2645
|
-
#[allow(unused_variables)]
|
2646
|
-
#[instrument(skip(self))]
|
2647
|
-
fn sock_shutdown(&mut self, fd: types::Fd, how: types::Sdflags) -> Result<(), types::Error> {
|
2648
|
-
todo!("preview1 sock_shutdown is not implemented")
|
2649
|
-
}
|
2650
|
-
}
|
2651
|
-
|
2652
|
-
trait ResourceExt<T> {
|
2653
|
-
fn borrowed(&self) -> Resource<T>;
|
2654
|
-
}
|
2655
|
-
|
2656
|
-
impl<T: 'static> ResourceExt<T> for Resource<T> {
|
2657
|
-
fn borrowed(&self) -> Resource<T> {
|
2658
|
-
Resource::new_borrow(self.rep())
|
2659
|
-
}
|
2660
|
-
}
|