wasmtime 19.0.2 → 20.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +116 -120
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/anyhow-1.0.83/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/anyhow-1.0.83/Cargo.toml +130 -0
- data/ext/cargo-vendor/anyhow-1.0.83/README.md +181 -0
- data/ext/cargo-vendor/anyhow-1.0.83/build.rs +179 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/backtrace.rs +406 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/chain.rs +102 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/fmt.rs +158 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/kind.rs +121 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/lib.rs +702 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/macros.rs +241 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/wrapper.rs +84 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_ensure.rs +724 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_macros.rs +81 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_repr.rs +30 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/ui/no-impl.stderr +32 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +178 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +396 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +403 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/bitset.rs +187 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +386 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +838 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/inst_predicates.rs +236 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/constant.rs +462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/dfg.rs +1777 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/entities.rs +562 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/function.rs +490 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +1019 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/memflags.rs +452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/mod.rs +108 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/trapcode.rs +149 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/types.rs +629 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +1707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +3932 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +3083 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +4218 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +884 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower.isle +2933 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/mod.rs +242 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +565 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/call_conv.rs +127 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +1109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +1968 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +3466 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/encode.rs +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +2944 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +625 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +2872 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +1047 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +347 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +3646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst.isle +5033 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/lower.isle +3995 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +1369 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/evex.rs +748 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/rex.rs +596 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/vex.rs +491 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +2289 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +4383 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_state.rs +74 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +2798 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +5304 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +1066 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +4809 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +339 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/mod.rs +234 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +1003 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/legalizer/mod.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +2594 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/buffer.rs +2512 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/inst_common.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +914 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +1452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +555 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/pcc.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +1807 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/cprop.isle +281 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/spectre.isle +14 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts.rs +295 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/prelude.isle +646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/result.rs +111 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/verifier/mod.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/write.rs +631 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/entities.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/formats.rs +205 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/instructions.rs +3791 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +69 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +45 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +107 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +3683 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +912 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/mod.rs +8 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +945 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/func_translator.rs +296 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/lib.rs +58 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/state.rs +522 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/table.rs +104 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +48 -0
- data/ext/cargo-vendor/mach2-0.4.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/mach2-0.4.2/Cargo.toml +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-BSD +23 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/mach2-0.4.2/README.md +116 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/exc.rs +73 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/kern_return.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/lib.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/mach_port.rs +50 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/message.rs +345 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/ndr.rs +19 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/port.rs +67 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/semaphore.rs +22 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/structs.rs +66 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/sync_policy.rs +9 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task.rs +46 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task_info.rs +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_act.rs +36 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_policy.rs +121 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_status.rs +53 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/traps.rs +37 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm.rs +248 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_attributes.rs +18 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_page_size.rs +40 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_prot.rs +13 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_purgable.rs +42 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_region.rs +238 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_statistics.rs +58 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_sync.rs +11 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_types.rs +19 -0
- data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +797 -0
- data/ext/cargo-vendor/object-0.33.0/Cargo.toml +179 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/object-0.33.0/README.md +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/archive.rs +91 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +141 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +3033 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/error.rs +41 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/mod.rs +18 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/table.rs +128 -0
- data/ext/cargo-vendor/object-0.33.0/src/common.rs +568 -0
- data/ext/cargo-vendor/object-0.33.0/src/elf.rs +6291 -0
- data/ext/cargo-vendor/object-0.33.0/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.33.0/src/lib.rs +107 -0
- data/ext/cargo-vendor/object-0.33.0/src/macho.rs +3309 -0
- data/ext/cargo-vendor/object-0.33.0/src/pe.rs +3056 -0
- data/ext/cargo-vendor/object-0.33.0/src/pod.rs +239 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +1328 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +759 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +211 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +383 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/import.rs +223 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/mod.rs +66 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +108 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +585 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +635 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +306 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +162 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/compression.rs +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/dynamic.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +918 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +224 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/mod.rs +78 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +271 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +629 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +1150 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +356 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +595 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +424 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +345 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/fat.rs +140 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +783 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +386 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/mod.rs +72 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/relocation.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +389 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +303 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +492 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +880 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/data_directory.rs +214 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/export.rs +334 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +1053 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +339 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/mod.rs +68 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/resource.rs +210 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/rich.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +440 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +213 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_ref.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +551 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/util.rs +425 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +966 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/comdat.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +697 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/mod.rs +63 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +433 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/segment.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +784 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/mod.rs +10 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +678 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +518 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/mod.rs +9 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +885 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +2309 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +1107 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +990 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +847 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/string.rs +186 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/util.rs +261 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +589 -0
- data/ext/cargo-vendor/object-0.33.0/src/xcoff.rs +905 -0
- data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +2 -0
- data/ext/cargo-vendor/object-0.33.0/tests/parse_self.rs +25 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/coff.rs +23 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/elf.rs +47 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +4 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +255 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/coff.rs +58 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +225 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +245 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +289 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/macho.rs +64 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +704 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +90 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +316 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/Cargo.toml +220 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/lib.rs +193 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/snapshots/preview_1.rs +1497 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/async_.rs +293 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/sync.rs +279 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/builder.rs +455 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/exports.rs +124 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/imports.rs +175 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/code.rs +3595 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/elements.rs +221 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/exports.rs +98 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/globals.rs +112 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/imports.rs +157 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/memories.rs +128 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/names.rs +298 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/producers.rs +181 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tables.rs +134 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tags.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +744 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +66 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +549 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +4076 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +4449 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +45 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +3202 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +1131 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +279 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/Cargo.toml +268 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/code_builder.rs +201 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile.rs +897 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/config.rs +2695 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine/serialization.rs +849 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine.rs +741 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/lib.rs +303 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/code_memory.rs +335 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/component.rs +661 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/host.rs +439 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/options.rs +554 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/typed.rs +2484 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func.rs +747 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/instance.rs +804 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/linker.rs +786 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/mod.rs +756 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/resources.rs +1133 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/types.rs +892 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/values.rs +978 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/coredump.rs +336 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/global.rs +300 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func/typed.rs +898 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func.rs +2633 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/anyref.rs +46 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/externref.rs +50 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/i31.rs +14 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/rooting.rs +222 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled.rs +17 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/anyref.rs +472 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/externref.rs +644 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/i31.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/rooting.rs +1543 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled.rs +12 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc.rs +87 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instantiate.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/linker.rs +1521 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/memory.rs +999 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module/registry.rs +354 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/profiling.rs +224 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store/data.rs +289 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store.rs +2796 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/func.rs +138 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/global.rs +68 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/memory.rs +286 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/table.rs +34 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trap.rs +641 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/type_registry.rs +632 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types/matching.rs +367 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types.rs +1378 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/v128.rs +131 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/values.rs +945 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime.rs +112 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/dead-code.wit +27 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen.rs +342 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/Cargo.toml +114 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/builder.rs +127 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiled_function.rs +225 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler/component.rs +962 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler.rs +1369 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/address_transform.rs +783 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/func_environ.rs +2672 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/disabled.rs +116 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/enabled.rs +649 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc.rs +198 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/lib.rs +505 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/obj.rs +545 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.lock +782 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.toml +144 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/address_map.rs +125 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/builtin.rs +184 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/address_map.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/mod.rs +389 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/module_artifacts.rs +300 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/trap_encoding.rs +69 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/artifacts.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/compiler.rs +19 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/adapt.rs +459 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/inline.rs +1332 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/types.rs +1972 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component.rs +103 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/trampoline.rs +3233 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/transcode.rs +89 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact.rs +711 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/gc.rs +60 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/lib.rs +70 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module.rs +780 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_artifacts.rs +145 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_environ.rs +1288 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/obj.rs +173 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/trap_encoding.rs +188 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/tunables.rs +158 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/vmoffsets.rs +952 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/Cargo.toml +147 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/build.rs +24 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/aarch64.rs +76 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/riscv64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.S +70 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.rs +34 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/x86_64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/async_yield.rs +35 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component.rs +860 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/drc.rs +963 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/externref.rs +115 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/free_list.rs +767 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled.rs +18 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_ref.rs +486 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_runtime.rs +503 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/host_data.rs +81 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/i31.rs +86 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc.rs +244 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/on_demand.rs +217 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/gc_heap_pool.rs +92 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/table_pool.rs +231 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling.rs +699 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator.rs +780 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance.rs +1566 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/lib.rs +289 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/libcalls.rs +777 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/memory.rs +751 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/send_sync_ptr.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/mmap.rs +111 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/traphandlers.rs +55 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/miri/mmap.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/machports.rs +416 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/mmap.rs +151 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/signals.rs +401 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/windows/traphandlers.rs +104 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/table.rs +851 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/mod.rs +12 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory.rs +230 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory_disabled.rs +100 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_disabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_enabled.rs +40 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers.rs +785 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/vmcontext.rs +1293 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/src/lib.rs +493 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +832 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/Cargo.toml +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/bindings.rs +283 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ctx.rs +659 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/filesystem.rs +433 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem/sync.rs +518 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem.rs +1079 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/io.rs +367 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/network.rs +539 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/tcp.rs +306 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ip_name_lookup.rs +126 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/lib.rs +404 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/network.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/pipe.rs +826 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/poll.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview0.rs +879 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview1.rs +2601 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio/worker_thread_stdin.rs +177 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio.rs +507 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/tcp.rs +847 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/udp.rs +125 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/write_stream.rs +203 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/api.rs +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/preview1.rs +251 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/sync.rs +333 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/wit/deps/io/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/builder.rs +85 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/compiler.rs +257 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/lib.rs +2213 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/rust.rs +421 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/types.rs +202 -0
- data/ext/cargo-vendor/wast-208.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-208.0.1/Cargo.toml +60 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/binary.rs +1000 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/resolve.rs +1007 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/types.rs +999 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/wast.rs +160 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/binary.rs +1396 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/expr.rs +2016 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/func.rs +136 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/memory.rs +284 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/deinline_import_export.rs +235 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/names.rs +751 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/types.rs +267 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/table.rs +302 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/types.rs +901 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/wast.rs +256 -0
- data/ext/cargo-vendor/wast-208.0.1/src/lib.rs +551 -0
- data/ext/cargo-vendor/wast-208.0.1/src/names.rs +67 -0
- data/ext/cargo-vendor/wast-208.0.1/src/parser.rs +1377 -0
- data/ext/cargo-vendor/wast-208.0.1/src/token.rs +737 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wast.rs +459 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wat.rs +71 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/annotations.rs +200 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/parse-fail.rs +80 -0
- data/ext/cargo-vendor/wat-1.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.208.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wiggle-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-20.0.0/Cargo.toml +122 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/borrow.rs +113 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/guest_type.rs +237 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/lib.rs +1184 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/wasmtime.rs +97 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/abi/mod.rs +671 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/bounds.rs +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/builtin.rs +263 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/call.rs +413 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/env.rs +435 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/mod.rs +756 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/abi.rs +291 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/asm.rs +252 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/masm.rs +573 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/mod.rs +154 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/regs.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/mod.rs +223 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/abi.rs +517 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/masm.rs +1256 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/mod.rs +169 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/lib.rs +19 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/masm.rs +947 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/visitor.rs +2149 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/abi.rs +309 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/lex.rs +747 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +1443 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast.rs +1348 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +1764 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +765 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +2240 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/serde_.rs +108 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/sizealign.rs +179 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/all.rs +153 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit.json +166 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit +20 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit.json +281 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit +60 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit.json +774 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/wasi.wit +178 -0
- data/ext/src/ruby_api/convert.rs +15 -7
- data/ext/src/ruby_api/func.rs +2 -2
- data/ext/src/ruby_api/global.rs +2 -2
- data/ext/src/ruby_api/params.rs +5 -5
- data/ext/src/ruby_api/table.rs +3 -3
- data/lib/wasmtime/version.rb +1 -1
- metadata +1737 -1630
- data/ext/cargo-vendor/anyhow-1.0.79/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/anyhow-1.0.79/Cargo.toml +0 -67
- data/ext/cargo-vendor/anyhow-1.0.79/README.md +0 -179
- data/ext/cargo-vendor/anyhow-1.0.79/build.rs +0 -167
- data/ext/cargo-vendor/anyhow-1.0.79/src/backtrace.rs +0 -405
- data/ext/cargo-vendor/anyhow-1.0.79/src/chain.rs +0 -102
- data/ext/cargo-vendor/anyhow-1.0.79/src/fmt.rs +0 -156
- data/ext/cargo-vendor/anyhow-1.0.79/src/kind.rs +0 -119
- data/ext/cargo-vendor/anyhow-1.0.79/src/lib.rs +0 -698
- data/ext/cargo-vendor/anyhow-1.0.79/src/macros.rs +0 -231
- data/ext/cargo-vendor/anyhow-1.0.79/src/wrapper.rs +0 -81
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_ensure.rs +0 -722
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_macros.rs +0 -80
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_repr.rs +0 -31
- data/ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/Cargo.toml +0 -175
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/build.rs +0 -395
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/alias_analysis.rs +0 -409
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/bitset.rs +0 -165
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/context.rs +0 -384
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph/elaborate.rs +0 -836
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph.rs +0 -702
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/inst_predicates.rs +0 -217
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/constant.rs +0 -462
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/dfg.rs +0 -1734
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/entities.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/function.rs +0 -500
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/instructions.rs +0 -1000
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/memflags.rs +0 -310
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/mod.rs +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/table.rs +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/trapcode.rs +0 -144
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/types.rs +0 -629
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/abi.rs +0 -1707
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/emit.rs +0 -3958
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/mod.rs +0 -3082
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst.isle +0 -4197
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower/isle.rs +0 -879
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower.isle +0 -2917
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/mod.rs +0 -241
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/pcc.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/call_conv.rs +0 -119
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/abi.rs +0 -1097
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/args.rs +0 -1974
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/emit.rs +0 -3485
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/encode.rs +0 -654
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst.isle +0 -2928
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower/isle.rs +0 -620
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower.isle +0 -2864
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/abi.rs +0 -1041
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/args.rs +0 -355
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/emit.rs +0 -3663
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst.isle +0 -5031
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/lower.isle +0 -3979
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/abi.rs +0 -1303
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/evex.rs +0 -749
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/rex.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/vex.rs +0 -492
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/args.rs +0 -2269
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit.rs +0 -4390
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit_state.rs +0 -72
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/mod.rs +0 -2852
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst.isle +0 -5232
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower/isle.rs +0 -1065
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.isle +0 -4770
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.rs +0 -353
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/mod.rs +0 -233
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/pcc.rs +0 -939
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/mod.rs +0 -356
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/table.rs +0 -114
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/abi.rs +0 -2657
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/buffer.rs +0 -2509
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/inst_common.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/isle.rs +0 -914
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/lower.rs +0 -1443
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/mod.rs +0 -558
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/pcc.rs +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/vcode.rs +0 -1809
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/nan_canonicalization.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts/cprop.isle +0 -266
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts.rs +0 -284
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/prelude.isle +0 -641
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/result.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/settings.rs +0 -602
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/verifier/mod.rs +0 -2033
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/write.rs +0 -647
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/entities.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/formats.rs +0 -213
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/instructions.rs +0 -3810
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.106.2/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.106.2/Cargo.toml +0 -50
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/Cargo.toml +0 -68
- data/ext/cargo-vendor/cranelift-isle-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.106.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-native-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.106.2/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/Cargo.toml +0 -106
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/code_translator.rs +0 -3680
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/dummy.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/mod.rs +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/spec.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/func_translator.rs +0 -432
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/lib.rs +0 -62
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/state.rs +0 -542
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/tests/wasm_testsuite.rs +0 -153
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/arith.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/br_table.wat +0 -30
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call-simd.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fannkuch.wat +0 -12180
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fasta.wat +0 -12056
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_ifs.wat +0 -11505
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_primes.wat +0 -11185
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fac-multi-value.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fibonacci.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/globals.wat +0 -8
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall-simd.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-1.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-2.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-3.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-4.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-5.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-6.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params-2.wat +0 -18
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params.wat +0 -41
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/memory.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-0.wat +0 -3
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-1.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-10.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-11.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-12.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-13.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-14.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-15.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-16.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-17.wat +0 -26
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-2.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-3.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-4.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-5.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-6.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-7.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-8.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-9.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/nullref.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/passive-data.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2303.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2559.wat +0 -51
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/ref-func-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/rust_fannkuch.wat +0 -1723
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/select.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd-store.wat +0 -83
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd.wat +0 -29
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/table-copy.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/unreachable_code.wat +0 -77
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/Cargo.toml +0 -49
- data/ext/cargo-vendor/mach-0.3.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/mach-0.3.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/mach-0.3.2/LICENSE.md +0 -23
- data/ext/cargo-vendor/mach-0.3.2/README.md +0 -55
- data/ext/cargo-vendor/mach-0.3.2/ci/build_fail.sh +0 -7
- data/ext/cargo-vendor/mach-0.3.2/ci/deploy_and_run_on_ios_simulator.rs +0 -175
- data/ext/cargo-vendor/mach-0.3.2/ci/run.sh +0 -57
- data/ext/cargo-vendor/mach-0.3.2/examples/dump_process_registers.rs +0 -136
- data/ext/cargo-vendor/mach-0.3.2/src/exc.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/kern_return.rs +0 -58
- data/ext/cargo-vendor/mach-0.3.2/src/lib.rs +0 -60
- data/ext/cargo-vendor/mach-0.3.2/src/mach_port.rs +0 -29
- data/ext/cargo-vendor/mach-0.3.2/src/message.rs +0 -248
- data/ext/cargo-vendor/mach-0.3.2/src/port.rs +0 -26
- data/ext/cargo-vendor/mach-0.3.2/src/structs.rs +0 -62
- data/ext/cargo-vendor/mach-0.3.2/src/task.rs +0 -41
- data/ext/cargo-vendor/mach-0.3.2/src/task_info.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/thread_act.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/thread_status.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/traps.rs +0 -35
- data/ext/cargo-vendor/mach-0.3.2/src/vm.rs +0 -247
- data/ext/cargo-vendor/mach-0.3.2/src/vm_attributes.rs +0 -18
- data/ext/cargo-vendor/mach-0.3.2/src/vm_page_size.rs +0 -33
- data/ext/cargo-vendor/mach-0.3.2/src/vm_prot.rs +0 -14
- data/ext/cargo-vendor/mach-0.3.2/src/vm_purgable.rs +0 -42
- data/ext/cargo-vendor/mach-0.3.2/src/vm_region.rs +0 -238
- data/ext/cargo-vendor/mach-0.3.2/src/vm_statistics.rs +0 -78
- data/ext/cargo-vendor/mach-0.3.2/src/vm_sync.rs +0 -11
- data/ext/cargo-vendor/mach-0.3.2/src/vm_types.rs +0 -19
- data/ext/cargo-vendor/wasi-common-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-19.0.2/Cargo.toml +0 -221
- data/ext/cargo-vendor/wasi-common-19.0.2/src/ctx.rs +0 -128
- data/ext/cargo-vendor/wasi-common-19.0.2/src/lib.rs +0 -189
- data/ext/cargo-vendor/wasi-common-19.0.2/src/snapshots/preview_1.rs +0 -1491
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/async_.rs +0 -289
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/sync.rs +0 -275
- data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasmparser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.lock +0 -744
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmparser-0.201.0/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/operators.rs +0 -4074
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/types.rs +0 -4449
- data/ext/cargo-vendor/wasmprinter-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.201.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/lib.rs +0 -3143
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/operator.rs +0 -1110
- data/ext/cargo-vendor/wasmprinter-0.201.0/tests/all.rs +0 -279
- data/ext/cargo-vendor/wasmtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-19.0.2/Cargo.toml +0 -261
- data/ext/cargo-vendor/wasmtime-19.0.2/src/compile.rs +0 -835
- data/ext/cargo-vendor/wasmtime-19.0.2/src/config.rs +0 -2649
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine/serialization.rs +0 -809
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine.rs +0 -735
- data/ext/cargo-vendor/wasmtime-19.0.2/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/code_memory.rs +0 -335
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/component.rs +0 -586
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/host.rs +0 -456
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/options.rs +0 -541
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/typed.rs +0 -2484
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func.rs +0 -752
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/instance.rs +0 -818
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/linker.rs +0 -788
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/matching.rs +0 -212
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/mod.rs +0 -678
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/resources.rs +0 -1169
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/types.rs +0 -961
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/values.rs +0 -1388
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/coredump.rs +0 -321
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/global.rs +0 -249
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/table.rs +0 -416
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func/typed.rs +0 -985
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func.rs +0 -2585
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instance.rs +0 -981
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instantiate.rs +0 -423
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/linker.rs +0 -1518
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/memory.rs +0 -997
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module/registry.rs +0 -360
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module.rs +0 -1367
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/profiling.rs +0 -222
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/gc_ref.rs +0 -110
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/no_gc_ref.rs +0 -60
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref.rs +0 -9
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store/data.rs +0 -289
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store.rs +0 -2445
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/func.rs +0 -144
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/global.rs +0 -70
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/memory.rs +0 -268
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/table.rs +0 -20
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trap.rs +0 -641
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/type_registry.rs +0 -640
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types/matching.rs +0 -334
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types.rs +0 -1236
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/values.rs +0 -771
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime.rs +0 -112
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/tests/codegen.rs +0 -191
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/builder.rs +0 -127
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler/component.rs +0 -960
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler.rs +0 -1316
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/address_transform.rs +0 -784
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/expression.rs +0 -1252
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/func_environ.rs +0 -2846
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/lib.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/Cargo.toml +0 -71
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/compiled_function.rs +0 -231
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/lib.rs +0 -130
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/obj.rs +0 -564
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.lock +0 -782
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.toml +0 -141
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/address_map.rs +0 -191
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/builtin.rs +0 -155
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/artifacts.rs +0 -45
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/info.rs +0 -594
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/adapt.rs +0 -457
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/inline.rs +0 -1332
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/types.rs +0 -1933
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component.rs +0 -97
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/trampoline.rs +0 -3229
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact.rs +0 -713
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/lib.rs +0 -66
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module.rs +0 -1117
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_artifacts.rs +0 -377
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_environ.rs +0 -903
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/obj.rs +0 -172
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/trap_encoding.rs +0 -245
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/tunables.rs +0 -154
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/vmoffsets.rs +0 -918
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/Cargo.toml +0 -140
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/build.rs +0 -28
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/aarch64.rs +0 -120
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/riscv64.rs +0 -88
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.S +0 -70
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.rs +0 -61
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/x86_64.rs +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component/libcalls.rs +0 -572
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component.rs +0 -864
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/export.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/gc.rs +0 -1058
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/no_gc.rs +0 -125
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref.rs +0 -24
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/on_demand.rs +0 -196
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling/table_pool.rs +0 -227
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling.rs +0 -658
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator.rs +0 -730
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance.rs +0 -1527
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/lib.rs +0 -264
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/libcalls.rs +0 -776
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/memory.rs +0 -972
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/send_sync_ptr.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/mmap.rs +0 -111
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/traphandlers.rs +0 -51
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/miri/mmap.rs +0 -94
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/machports.rs +0 -488
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/mmap.rs +0 -151
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/signals.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/windows/traphandlers.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/table.rs +0 -643
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers/coredump.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers.rs +0 -736
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/vmcontext.rs +0 -1215
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/src/lib.rs +0 -450
- data/ext/cargo-vendor/wasmtime-types-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-19.0.2/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-19.0.2/src/lib.rs +0 -640
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/Cargo.toml +0 -194
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/command.rs +0 -122
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ctx.rs +0 -353
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/filesystem.rs +0 -373
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem/sync.rs +0 -517
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem.rs +0 -1081
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/io.rs +0 -366
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/network.rs +0 -519
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/tcp.rs +0 -677
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ip_name_lookup.rs +0 -123
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/lib.rs +0 -323
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/network.rs +0 -108
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/p1ctx.rs +0 -37
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/poll.rs +0 -179
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview0.rs +0 -872
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview1.rs +0 -2361
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio/worker_thread_stdin.rs +0 -173
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio.rs +0 -443
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/tcp.rs +0 -350
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/udp.rs +0 -125
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/write_stream.rs +0 -203
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/api.rs +0 -210
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/async_.rs +0 -380
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/main.rs +0 -106
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/preview1.rs +0 -243
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/sync.rs +0 -315
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/wit/deps/io/poll.wit +0 -42
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/builder.rs +0 -65
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/compiler.rs +0 -283
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/Cargo.toml +0 -41
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/lib.rs +0 -2104
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/rust.rs +0 -421
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/types.rs +0 -194
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/src/lib.rs +0 -404
- data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +0 -59
- data/ext/cargo-vendor/wast-201.0.0/src/component/binary.rs +0 -1004
- data/ext/cargo-vendor/wast-201.0.0/src/component/resolve.rs +0 -1006
- data/ext/cargo-vendor/wast-201.0.0/src/component/types.rs +0 -991
- data/ext/cargo-vendor/wast-201.0.0/src/component/wast.rs +0 -160
- data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +0 -1365
- data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +0 -1993
- data/ext/cargo-vendor/wast-201.0.0/src/core/func.rs +0 -136
- data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +0 -281
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +0 -233
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +0 -763
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/types.rs +0 -271
- data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +0 -289
- data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +0 -861
- data/ext/cargo-vendor/wast-201.0.0/src/core/wast.rs +0 -256
- data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +0 -542
- data/ext/cargo-vendor/wast-201.0.0/src/names.rs +0 -89
- data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +0 -1374
- data/ext/cargo-vendor/wast-201.0.0/src/token.rs +0 -718
- data/ext/cargo-vendor/wast-201.0.0/src/wast.rs +0 -420
- data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +0 -63
- data/ext/cargo-vendor/wast-201.0.0/tests/annotations.rs +0 -200
- data/ext/cargo-vendor/wast-201.0.0/tests/parse-fail.rs +0 -98
- data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +0 -33
- data/ext/cargo-vendor/wiggle-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-19.0.2/Cargo.toml +0 -122
- data/ext/cargo-vendor/wiggle-19.0.2/src/borrow.rs +0 -259
- data/ext/cargo-vendor/wiggle-19.0.2/src/guest_type.rs +0 -237
- data/ext/cargo-vendor/wiggle-19.0.2/src/lib.rs +0 -1199
- data/ext/cargo-vendor/wiggle-19.0.2/src/wasmtime.rs +0 -101
- data/ext/cargo-vendor/wiggle-generate-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-19.0.2/Cargo.toml +0 -65
- data/ext/cargo-vendor/wiggle-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-19.0.2/Cargo.toml +0 -55
- data/ext/cargo-vendor/winch-codegen-0.17.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.17.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/abi/mod.rs +0 -737
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/bounds.rs +0 -220
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/builtin.rs +0 -272
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/call.rs +0 -413
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/env.rs +0 -399
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/mod.rs +0 -672
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/abi.rs +0 -309
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/asm.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/masm.rs +0 -557
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/mod.rs +0 -152
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/regs.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/mod.rs +0 -232
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/abi.rs +0 -543
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/asm.rs +0 -1418
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/masm.rs +0 -1300
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/mod.rs +0 -192
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/lib.rs +0 -21
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/masm.rs +0 -955
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/trampoline.rs +0 -626
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/visitor.rs +0 -2101
- data/ext/cargo-vendor/wit-parser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.201.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wit-parser-0.201.0/src/abi.rs +0 -295
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/lex.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/resolve.rs +0 -1427
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast.rs +0 -1348
- data/ext/cargo-vendor/wit-parser-0.201.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.201.0/src/lib.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/resolve.rs +0 -2239
- data/ext/cargo-vendor/wit-parser-0.201.0/src/serde_.rs +0 -108
- data/ext/cargo-vendor/wit-parser-0.201.0/src/sizealign.rs +0 -144
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/all.rs +0 -185
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit +0 -14
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit.json +0 -166
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit.json +0 -281
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit +0 -60
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit.json +0 -774
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit.json +0 -72
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/wasi.wit +0 -178
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/build/probe.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/rust-toolchain.toml +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ptr.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/compiletest.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/drop/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_autotrait.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_backtrace.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_boxed.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_chain.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_convert.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_downcast.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_ffi.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_fmt.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_source.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/no-impl.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.stderr +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isle_prelude.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/boolean.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/bootstrap.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_priv.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_reply.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/dyld_kernel.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/exception_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_init.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_time.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/memory_object_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_behavior.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_inherit.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasm-encoder-0.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmparser-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core/canonical.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmprinter-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmprinter-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-19.0.2 → wasmtime-asm-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cache-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-19.0.2 → wasmtime-component-util-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-cranelift-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-19.0.2 → wasmtime-cranelift-20.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-environ-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-fiber-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-runtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/memory_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2/src → wasmtime-runtime-20.0.0/src/threads}/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-types-20.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-types-20.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-19.0.2 → wasmtime-versioned-export-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wasmtime-wasi-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-19.0.2 → wasmtime-wit-bindgen-20.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wast-208.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/expand.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wat-1.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-generate-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/context.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/docs.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,2585 +0,0 @@
|
|
1
|
-
use crate::runtime::Uninhabited;
|
2
|
-
use crate::store::{StoreData, StoreOpaque, Stored};
|
3
|
-
use crate::type_registry::RegisteredType;
|
4
|
-
use crate::{
|
5
|
-
AsContext, AsContextMut, CallHook, Engine, Extern, FuncType, Instance, Module, Ref,
|
6
|
-
StoreContext, StoreContextMut, Val, ValRaw, ValType,
|
7
|
-
};
|
8
|
-
use anyhow::{bail, Context as _, Error, Result};
|
9
|
-
use std::ffi::c_void;
|
10
|
-
use std::future::Future;
|
11
|
-
use std::mem;
|
12
|
-
use std::panic::{self, AssertUnwindSafe};
|
13
|
-
use std::pin::Pin;
|
14
|
-
use std::ptr::{self, NonNull};
|
15
|
-
use std::sync::Arc;
|
16
|
-
use wasmtime_runtime::{
|
17
|
-
ExportFunction, SendSyncPtr, StoreBox, VMArrayCallHostFuncContext, VMContext, VMFuncRef,
|
18
|
-
VMFunctionImport, VMNativeCallHostFuncContext, VMOpaqueContext, VMSharedTypeIndex,
|
19
|
-
};
|
20
|
-
|
21
|
-
/// A reference to the abstract `nofunc` heap value.
|
22
|
-
///
|
23
|
-
/// The are no instances of `(ref nofunc)`: it is an uninhabited type.
|
24
|
-
///
|
25
|
-
/// There is precisely one instance of `(ref null nofunc)`, aka `nullfuncref`:
|
26
|
-
/// the null reference.
|
27
|
-
///
|
28
|
-
/// This `NoFunc` Rust type's sole purpose is for use with [`Func::wrap`]- and
|
29
|
-
/// [`Func::typed`]-style APIs for statically typing a function as taking or
|
30
|
-
/// returning a `(ref null nofunc)` (aka `Option<NoFunc>`) which is always
|
31
|
-
/// `None`.
|
32
|
-
///
|
33
|
-
/// # Example
|
34
|
-
///
|
35
|
-
/// ```
|
36
|
-
/// # use wasmtime::*;
|
37
|
-
/// # fn _foo() -> Result<()> {
|
38
|
-
/// let mut config = Config::new();
|
39
|
-
/// config.wasm_function_references(true);
|
40
|
-
/// let engine = Engine::new(&config)?;
|
41
|
-
///
|
42
|
-
/// let module = Module::new(
|
43
|
-
/// &engine,
|
44
|
-
/// r#"
|
45
|
-
/// (module
|
46
|
-
/// (func (export "f") (param (ref null nofunc))
|
47
|
-
/// ;; If the reference is null, return.
|
48
|
-
/// local.get 0
|
49
|
-
/// ref.is_null nofunc
|
50
|
-
/// br_if 0
|
51
|
-
///
|
52
|
-
/// ;; If the reference was not null (which is impossible)
|
53
|
-
/// ;; then raise a trap.
|
54
|
-
/// unreachable
|
55
|
-
/// )
|
56
|
-
/// )
|
57
|
-
/// "#,
|
58
|
-
/// )?;
|
59
|
-
///
|
60
|
-
/// let mut store = Store::new(&engine, ());
|
61
|
-
/// let instance = Instance::new(&mut store, &module, &[])?;
|
62
|
-
/// let f = instance.get_func(&mut store, "f").unwrap();
|
63
|
-
///
|
64
|
-
/// // We can cast a `(ref null nofunc)`-taking function into a typed function that
|
65
|
-
/// // takes an `Option<NoFunc>` via the `Func::typed` method.
|
66
|
-
/// let f = f.typed::<Option<NoFunc>, ()>(&store)?;
|
67
|
-
///
|
68
|
-
/// // We can call the typed function, passing the null `nofunc` reference.
|
69
|
-
/// let result = f.call(&mut store, NoFunc::null());
|
70
|
-
///
|
71
|
-
/// // The function should not have trapped, because the reference we gave it was
|
72
|
-
/// // null (as it had to be, since `NoFunc` is uninhabited).
|
73
|
-
/// assert!(result.is_ok());
|
74
|
-
/// # Ok(())
|
75
|
-
/// # }
|
76
|
-
/// ```
|
77
|
-
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
78
|
-
pub struct NoFunc {
|
79
|
-
_inner: Uninhabited,
|
80
|
-
}
|
81
|
-
|
82
|
-
impl NoFunc {
|
83
|
-
/// Get the null `(ref null nofunc)` (aka `nullfuncref`) reference.
|
84
|
-
#[inline]
|
85
|
-
pub fn null() -> Option<NoFunc> {
|
86
|
-
None
|
87
|
-
}
|
88
|
-
|
89
|
-
/// Get the null `(ref null nofunc)` (aka `nullfuncref`) reference as a
|
90
|
-
/// [`Ref`].
|
91
|
-
pub fn null_ref() -> Ref {
|
92
|
-
Ref::Func(None)
|
93
|
-
}
|
94
|
-
|
95
|
-
/// Get the null `(ref null nofunc)` (aka `nullfuncref`) reference as a
|
96
|
-
/// [`Val`].
|
97
|
-
pub fn null_val() -> Val {
|
98
|
-
Val::FuncRef(None)
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
/// A WebAssembly function which can be called.
|
103
|
-
///
|
104
|
-
/// This type typically represents an exported function from a WebAssembly
|
105
|
-
/// module instance. In this case a [`Func`] belongs to an [`Instance`] and is
|
106
|
-
/// loaded from there. A [`Func`] may also represent a host function as well in
|
107
|
-
/// some cases, too.
|
108
|
-
///
|
109
|
-
/// Functions can be called in a few different ways, either synchronous or async
|
110
|
-
/// and either typed or untyped (more on this below). Note that host functions
|
111
|
-
/// are normally inserted directly into a [`Linker`](crate::Linker) rather than
|
112
|
-
/// using this directly, but both options are available.
|
113
|
-
///
|
114
|
-
/// # `Func` and `async`
|
115
|
-
///
|
116
|
-
/// Functions from the perspective of WebAssembly are always synchronous. You
|
117
|
-
/// might have an `async` function in Rust, however, which you'd like to make
|
118
|
-
/// available from WebAssembly. Wasmtime supports asynchronously calling
|
119
|
-
/// WebAssembly through native stack switching. You can get some more
|
120
|
-
/// information about [asynchronous configs](crate::Config::async_support), but
|
121
|
-
/// from the perspective of `Func` it's important to know that whether or not
|
122
|
-
/// your [`Store`](crate::Store) is asynchronous will dictate whether you call
|
123
|
-
/// functions through [`Func::call`] or [`Func::call_async`] (or the typed
|
124
|
-
/// wrappers such as [`TypedFunc::call`] vs [`TypedFunc::call_async`]).
|
125
|
-
///
|
126
|
-
/// # To `Func::call` or to `Func::typed().call()`
|
127
|
-
///
|
128
|
-
/// There's a 2x2 matrix of methods to call [`Func`]. Invocations can either be
|
129
|
-
/// asynchronous or synchronous. They can also be statically typed or not.
|
130
|
-
/// Whether or not an invocation is asynchronous is indicated via the method
|
131
|
-
/// being `async` and [`call_async`](Func::call_async) being the entry point.
|
132
|
-
/// Otherwise for statically typed or not your options are:
|
133
|
-
///
|
134
|
-
/// * Dynamically typed - if you don't statically know the signature of the
|
135
|
-
/// function that you're calling you'll be using [`Func::call`] or
|
136
|
-
/// [`Func::call_async`]. These functions take a variable-length slice of
|
137
|
-
/// "boxed" arguments in their [`Val`] representation. Additionally the
|
138
|
-
/// results are returned as an owned slice of [`Val`]. These methods are not
|
139
|
-
/// optimized due to the dynamic type checks that must occur, in addition to
|
140
|
-
/// some dynamic allocations for where to put all the arguments. While this
|
141
|
-
/// allows you to call all possible wasm function signatures, if you're
|
142
|
-
/// looking for a speedier alternative you can also use...
|
143
|
-
///
|
144
|
-
/// * Statically typed - if you statically know the type signature of the wasm
|
145
|
-
/// function you're calling, then you'll want to use the [`Func::typed`]
|
146
|
-
/// method to acquire an instance of [`TypedFunc`]. This structure is static proof
|
147
|
-
/// that the underlying wasm function has the ascripted type, and type
|
148
|
-
/// validation is only done once up-front. The [`TypedFunc::call`] and
|
149
|
-
/// [`TypedFunc::call_async`] methods are much more efficient than [`Func::call`]
|
150
|
-
/// and [`Func::call_async`] because the type signature is statically known.
|
151
|
-
/// This eschews runtime checks as much as possible to get into wasm as fast
|
152
|
-
/// as possible.
|
153
|
-
///
|
154
|
-
/// # Examples
|
155
|
-
///
|
156
|
-
/// One way to get a `Func` is from an [`Instance`] after you've instantiated
|
157
|
-
/// it:
|
158
|
-
///
|
159
|
-
/// ```
|
160
|
-
/// # use wasmtime::*;
|
161
|
-
/// # fn main() -> anyhow::Result<()> {
|
162
|
-
/// let engine = Engine::default();
|
163
|
-
/// let module = Module::new(&engine, r#"(module (func (export "foo")))"#)?;
|
164
|
-
/// let mut store = Store::new(&engine, ());
|
165
|
-
/// let instance = Instance::new(&mut store, &module, &[])?;
|
166
|
-
/// let foo = instance.get_func(&mut store, "foo").expect("export wasn't a function");
|
167
|
-
///
|
168
|
-
/// // Work with `foo` as a `Func` at this point, such as calling it
|
169
|
-
/// // dynamically...
|
170
|
-
/// match foo.call(&mut store, &[], &mut []) {
|
171
|
-
/// Ok(()) => { /* ... */ }
|
172
|
-
/// Err(trap) => {
|
173
|
-
/// panic!("execution of `foo` resulted in a wasm trap: {}", trap);
|
174
|
-
/// }
|
175
|
-
/// }
|
176
|
-
/// foo.call(&mut store, &[], &mut [])?;
|
177
|
-
///
|
178
|
-
/// // ... or we can make a static assertion about its signature and call it.
|
179
|
-
/// // Our first call here can fail if the signatures don't match, and then the
|
180
|
-
/// // second call can fail if the function traps (like the `match` above).
|
181
|
-
/// let foo = foo.typed::<(), ()>(&store)?;
|
182
|
-
/// foo.call(&mut store, ())?;
|
183
|
-
/// # Ok(())
|
184
|
-
/// # }
|
185
|
-
/// ```
|
186
|
-
///
|
187
|
-
/// You can also use the [`wrap` function](Func::wrap) to create a
|
188
|
-
/// `Func`
|
189
|
-
///
|
190
|
-
/// ```
|
191
|
-
/// # use wasmtime::*;
|
192
|
-
/// # fn main() -> anyhow::Result<()> {
|
193
|
-
/// let mut store = Store::<()>::default();
|
194
|
-
///
|
195
|
-
/// // Create a custom `Func` which can execute arbitrary code inside of the
|
196
|
-
/// // closure.
|
197
|
-
/// let add = Func::wrap(&mut store, |a: i32, b: i32| -> i32 { a + b });
|
198
|
-
///
|
199
|
-
/// // Next we can hook that up to a wasm module which uses it.
|
200
|
-
/// let module = Module::new(
|
201
|
-
/// store.engine(),
|
202
|
-
/// r#"
|
203
|
-
/// (module
|
204
|
-
/// (import "" "" (func $add (param i32 i32) (result i32)))
|
205
|
-
/// (func (export "call_add_twice") (result i32)
|
206
|
-
/// i32.const 1
|
207
|
-
/// i32.const 2
|
208
|
-
/// call $add
|
209
|
-
/// i32.const 3
|
210
|
-
/// i32.const 4
|
211
|
-
/// call $add
|
212
|
-
/// i32.add))
|
213
|
-
/// "#,
|
214
|
-
/// )?;
|
215
|
-
/// let instance = Instance::new(&mut store, &module, &[add.into()])?;
|
216
|
-
/// let call_add_twice = instance.get_typed_func::<(), i32>(&mut store, "call_add_twice")?;
|
217
|
-
///
|
218
|
-
/// assert_eq!(call_add_twice.call(&mut store, ())?, 10);
|
219
|
-
/// # Ok(())
|
220
|
-
/// # }
|
221
|
-
/// ```
|
222
|
-
///
|
223
|
-
/// Or you could also create an entirely dynamic `Func`!
|
224
|
-
///
|
225
|
-
/// ```
|
226
|
-
/// # use wasmtime::*;
|
227
|
-
/// # fn main() -> anyhow::Result<()> {
|
228
|
-
/// let mut store = Store::<()>::default();
|
229
|
-
///
|
230
|
-
/// // Here we need to define the type signature of our `Double` function and
|
231
|
-
/// // then wrap it up in a `Func`
|
232
|
-
/// let double_type = wasmtime::FuncType::new(
|
233
|
-
/// store.engine(),
|
234
|
-
/// [wasmtime::ValType::I32].iter().cloned(),
|
235
|
-
/// [wasmtime::ValType::I32].iter().cloned(),
|
236
|
-
/// );
|
237
|
-
/// let double = Func::new(&mut store, double_type, |_, params, results| {
|
238
|
-
/// let mut value = params[0].unwrap_i32();
|
239
|
-
/// value *= 2;
|
240
|
-
/// results[0] = value.into();
|
241
|
-
/// Ok(())
|
242
|
-
/// });
|
243
|
-
///
|
244
|
-
/// let module = Module::new(
|
245
|
-
/// store.engine(),
|
246
|
-
/// r#"
|
247
|
-
/// (module
|
248
|
-
/// (import "" "" (func $double (param i32) (result i32)))
|
249
|
-
/// (func $start
|
250
|
-
/// i32.const 1
|
251
|
-
/// call $double
|
252
|
-
/// drop)
|
253
|
-
/// (start $start))
|
254
|
-
/// "#,
|
255
|
-
/// )?;
|
256
|
-
/// let instance = Instance::new(&mut store, &module, &[double.into()])?;
|
257
|
-
/// // .. work with `instance` if necessary
|
258
|
-
/// # Ok(())
|
259
|
-
/// # }
|
260
|
-
/// ```
|
261
|
-
#[derive(Copy, Clone, Debug)]
|
262
|
-
#[repr(transparent)] // here for the C API
|
263
|
-
pub struct Func(Stored<FuncData>);
|
264
|
-
|
265
|
-
pub(crate) struct FuncData {
|
266
|
-
kind: FuncKind,
|
267
|
-
|
268
|
-
// A pointer to the in-store `VMFuncRef` for this function, if
|
269
|
-
// any.
|
270
|
-
//
|
271
|
-
// When a function is passed to Wasm but doesn't have a Wasm-to-native
|
272
|
-
// trampoline, we have to patch it in. But that requires mutating the
|
273
|
-
// `VMFuncRef`, and this function could be shared across
|
274
|
-
// threads. So we instead copy and pin the `VMFuncRef` into
|
275
|
-
// `StoreOpaque::func_refs`, where we can safely patch the field without
|
276
|
-
// worrying about synchronization and we hold a pointer to it here so we can
|
277
|
-
// reuse it rather than re-copy if it is passed to Wasm again.
|
278
|
-
in_store_func_ref: Option<SendSyncPtr<VMFuncRef>>,
|
279
|
-
|
280
|
-
// This is somewhat expensive to load from the `Engine` and in most
|
281
|
-
// optimized use cases (e.g. `TypedFunc`) it's not actually needed or it's
|
282
|
-
// only needed rarely. To handle that this is an optionally-contained field
|
283
|
-
// which is lazily loaded into as part of `Func::call`.
|
284
|
-
//
|
285
|
-
// Also note that this is intentionally placed behind a pointer to keep it
|
286
|
-
// small as `FuncData` instances are often inserted into a `Store`.
|
287
|
-
ty: Option<Box<FuncType>>,
|
288
|
-
}
|
289
|
-
|
290
|
-
/// The three ways that a function can be created and referenced from within a
|
291
|
-
/// store.
|
292
|
-
enum FuncKind {
|
293
|
-
/// A function already owned by the store via some other means. This is
|
294
|
-
/// used, for example, when creating a `Func` from an instance's exported
|
295
|
-
/// function. The instance's `InstanceHandle` is already owned by the store
|
296
|
-
/// and we just have some pointers into that which represent how to call the
|
297
|
-
/// function.
|
298
|
-
StoreOwned { export: ExportFunction },
|
299
|
-
|
300
|
-
/// A function is shared across possibly other stores, hence the `Arc`. This
|
301
|
-
/// variant happens when a `Linker`-defined function is instantiated within
|
302
|
-
/// a `Store` (e.g. via `Linker::get` or similar APIs). The `Arc` here
|
303
|
-
/// indicates that there's some number of other stores holding this function
|
304
|
-
/// too, so dropping this may not deallocate the underlying
|
305
|
-
/// `InstanceHandle`.
|
306
|
-
SharedHost(Arc<HostFunc>),
|
307
|
-
|
308
|
-
/// A uniquely-owned host function within a `Store`. This comes about with
|
309
|
-
/// `Func::new` or similar APIs. The `HostFunc` internally owns the
|
310
|
-
/// `InstanceHandle` and that will get dropped when this `HostFunc` itself
|
311
|
-
/// is dropped.
|
312
|
-
///
|
313
|
-
/// Note that this is intentionally placed behind a `Box` to minimize the
|
314
|
-
/// size of this enum since the most common variant for high-peformance
|
315
|
-
/// situations is `SharedHost` and `StoreOwned`, so this ideally isn't
|
316
|
-
/// larger than those two.
|
317
|
-
Host(Box<HostFunc>),
|
318
|
-
|
319
|
-
/// A reference to a `HostFunc`, but one that's "rooted" in the `Store`
|
320
|
-
/// itself.
|
321
|
-
///
|
322
|
-
/// This variant is created when an `InstancePre<T>` is instantiated in to a
|
323
|
-
/// `Store<T>`. In that situation the `InstancePre<T>` already has a list of
|
324
|
-
/// host functions that are packaged up in an `Arc`, so the `Arc<[T]>` is
|
325
|
-
/// cloned once into the `Store` to avoid each individual function requiring
|
326
|
-
/// an `Arc::clone`.
|
327
|
-
///
|
328
|
-
/// The lifetime management of this type is `unsafe` because
|
329
|
-
/// `RootedHostFunc` is a small wrapper around `NonNull<HostFunc>`. To be
|
330
|
-
/// safe this is required that the memory of the host function is pinned
|
331
|
-
/// elsewhere (e.g. the `Arc` in the `Store`).
|
332
|
-
RootedHost(RootedHostFunc),
|
333
|
-
}
|
334
|
-
|
335
|
-
macro_rules! for_each_function_signature {
|
336
|
-
($mac:ident) => {
|
337
|
-
$mac!(0);
|
338
|
-
$mac!(1 A1);
|
339
|
-
$mac!(2 A1 A2);
|
340
|
-
$mac!(3 A1 A2 A3);
|
341
|
-
$mac!(4 A1 A2 A3 A4);
|
342
|
-
$mac!(5 A1 A2 A3 A4 A5);
|
343
|
-
$mac!(6 A1 A2 A3 A4 A5 A6);
|
344
|
-
$mac!(7 A1 A2 A3 A4 A5 A6 A7);
|
345
|
-
$mac!(8 A1 A2 A3 A4 A5 A6 A7 A8);
|
346
|
-
$mac!(9 A1 A2 A3 A4 A5 A6 A7 A8 A9);
|
347
|
-
$mac!(10 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10);
|
348
|
-
$mac!(11 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11);
|
349
|
-
$mac!(12 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12);
|
350
|
-
$mac!(13 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13);
|
351
|
-
$mac!(14 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14);
|
352
|
-
$mac!(15 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15);
|
353
|
-
$mac!(16 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16);
|
354
|
-
};
|
355
|
-
}
|
356
|
-
|
357
|
-
mod typed;
|
358
|
-
pub use typed::*;
|
359
|
-
|
360
|
-
macro_rules! generate_wrap_async_func {
|
361
|
-
($num:tt $($args:ident)*) => (paste::paste!{
|
362
|
-
/// Same as [`Func::wrap`], except the closure asynchronously produces
|
363
|
-
/// its result. For more information see the [`Func`] documentation.
|
364
|
-
///
|
365
|
-
/// # Panics
|
366
|
-
///
|
367
|
-
/// This function will panic if called with a non-asynchronous store.
|
368
|
-
#[allow(non_snake_case)]
|
369
|
-
#[cfg(feature = "async")]
|
370
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
|
371
|
-
pub fn [<wrap $num _async>]<T, $($args,)* R>(
|
372
|
-
store: impl AsContextMut<Data = T>,
|
373
|
-
func: impl for<'a> Fn(Caller<'a, T>, $($args),*) -> Box<dyn Future<Output = R> + Send + 'a> + Send + Sync + 'static,
|
374
|
-
) -> Func
|
375
|
-
where
|
376
|
-
$($args: WasmTy,)*
|
377
|
-
R: WasmRet,
|
378
|
-
{
|
379
|
-
assert!(store.as_context().async_support(), concat!("cannot use `wrap", $num, "_async` without enabling async support on the config"));
|
380
|
-
Func::wrap(store, move |mut caller: Caller<'_, T>, $($args: $args),*| {
|
381
|
-
let async_cx = caller.store.as_context_mut().0.async_cx().expect("Attempt to start async function on dying fiber");
|
382
|
-
let mut future = Pin::from(func(caller, $($args),*));
|
383
|
-
|
384
|
-
match unsafe { async_cx.block_on(future.as_mut()) } {
|
385
|
-
Ok(ret) => ret.into_fallible(),
|
386
|
-
Err(e) => R::fallible_from_error(e),
|
387
|
-
}
|
388
|
-
})
|
389
|
-
}
|
390
|
-
})
|
391
|
-
}
|
392
|
-
|
393
|
-
impl Func {
|
394
|
-
/// Creates a new `Func` with the given arguments, typically to create a
|
395
|
-
/// host-defined function to pass as an import to a module.
|
396
|
-
///
|
397
|
-
/// * `store` - the store in which to create this [`Func`], which will own
|
398
|
-
/// the return value.
|
399
|
-
///
|
400
|
-
/// * `ty` - the signature of this function, used to indicate what the
|
401
|
-
/// inputs and outputs are.
|
402
|
-
///
|
403
|
-
/// * `func` - the native code invoked whenever this `Func` will be called.
|
404
|
-
/// This closure is provided a [`Caller`] as its first argument to learn
|
405
|
-
/// information about the caller, and then it's passed a list of
|
406
|
-
/// parameters as a slice along with a mutable slice of where to write
|
407
|
-
/// results.
|
408
|
-
///
|
409
|
-
/// Note that the implementation of `func` must adhere to the `ty` signature
|
410
|
-
/// given, error or traps may occur if it does not respect the `ty`
|
411
|
-
/// signature. For example if the function type declares that it returns one
|
412
|
-
/// i32 but the `func` closures does not write anything into the results
|
413
|
-
/// slice then a trap may be generated.
|
414
|
-
///
|
415
|
-
/// Additionally note that this is quite a dynamic function since signatures
|
416
|
-
/// are not statically known. For a more performant and ergonomic `Func`
|
417
|
-
/// it's recommended to use [`Func::wrap`] if you can because with
|
418
|
-
/// statically known signatures Wasmtime can optimize the implementation
|
419
|
-
/// much more.
|
420
|
-
///
|
421
|
-
/// For more information about `Send + Sync + 'static` requirements on the
|
422
|
-
/// `func`, see [`Func::wrap`](#why-send--sync--static).
|
423
|
-
///
|
424
|
-
/// # Errors
|
425
|
-
///
|
426
|
-
/// The host-provided function here returns a
|
427
|
-
/// [`Result<()>`](anyhow::Result). If the function returns `Ok(())` then
|
428
|
-
/// that indicates that the host function completed successfully and wrote
|
429
|
-
/// the result into the `&mut [Val]` argument.
|
430
|
-
///
|
431
|
-
/// If the function returns `Err(e)`, however, then this is equivalent to
|
432
|
-
/// the host function triggering a trap for wasm. WebAssembly execution is
|
433
|
-
/// immediately halted and the original caller of [`Func::call`], for
|
434
|
-
/// example, will receive the error returned here (possibly with
|
435
|
-
/// [`WasmBacktrace`](crate::WasmBacktrace) context information attached).
|
436
|
-
///
|
437
|
-
/// For more information about errors in Wasmtime see the [`Trap`]
|
438
|
-
/// documentation.
|
439
|
-
///
|
440
|
-
/// [`Trap`]: crate::Trap
|
441
|
-
///
|
442
|
-
/// # Panics
|
443
|
-
///
|
444
|
-
/// Panics if the given function type is not associated with this store's
|
445
|
-
/// engine.
|
446
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
447
|
-
#[cfg_attr(docsrs, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
448
|
-
pub fn new<T>(
|
449
|
-
store: impl AsContextMut<Data = T>,
|
450
|
-
ty: FuncType,
|
451
|
-
func: impl Fn(Caller<'_, T>, &[Val], &mut [Val]) -> Result<()> + Send + Sync + 'static,
|
452
|
-
) -> Self {
|
453
|
-
assert!(ty.comes_from_same_engine(store.as_context().engine()));
|
454
|
-
let ty_clone = ty.clone();
|
455
|
-
unsafe {
|
456
|
-
Func::new_unchecked(store, ty, move |caller, values| {
|
457
|
-
Func::invoke(caller, &ty_clone, values, &func)
|
458
|
-
})
|
459
|
-
}
|
460
|
-
}
|
461
|
-
|
462
|
-
/// Creates a new [`Func`] with the given arguments, although has fewer
|
463
|
-
/// runtime checks than [`Func::new`].
|
464
|
-
///
|
465
|
-
/// This function takes a callback of a different signature than
|
466
|
-
/// [`Func::new`], instead receiving a raw pointer with a list of [`ValRaw`]
|
467
|
-
/// structures. These values have no type information associated with them
|
468
|
-
/// so it's up to the caller to provide a function that will correctly
|
469
|
-
/// interpret the list of values as those coming from the `ty` specified.
|
470
|
-
///
|
471
|
-
/// If you're calling this from Rust it's recommended to either instead use
|
472
|
-
/// [`Func::new`] or [`Func::wrap`]. The [`Func::wrap`] API, in particular,
|
473
|
-
/// is both safer and faster than this API.
|
474
|
-
///
|
475
|
-
/// # Errors
|
476
|
-
///
|
477
|
-
/// See [`Func::new`] for the behavior of returning an error from the host
|
478
|
-
/// function provided here.
|
479
|
-
///
|
480
|
-
/// # Unsafety
|
481
|
-
///
|
482
|
-
/// This function is not safe because it's not known at compile time that
|
483
|
-
/// the `func` provided correctly interprets the argument types provided to
|
484
|
-
/// it, or that the results it produces will be of the correct type.
|
485
|
-
///
|
486
|
-
/// # Panics
|
487
|
-
///
|
488
|
-
/// Panics if the given function type is not associated with this store's
|
489
|
-
/// engine.
|
490
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
491
|
-
#[cfg_attr(docsrs, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
492
|
-
pub unsafe fn new_unchecked<T>(
|
493
|
-
mut store: impl AsContextMut<Data = T>,
|
494
|
-
ty: FuncType,
|
495
|
-
func: impl Fn(Caller<'_, T>, &mut [ValRaw]) -> Result<()> + Send + Sync + 'static,
|
496
|
-
) -> Self {
|
497
|
-
assert!(ty.comes_from_same_engine(store.as_context().engine()));
|
498
|
-
let store = store.as_context_mut().0;
|
499
|
-
let host = HostFunc::new_unchecked(store.engine(), ty, func);
|
500
|
-
host.into_func(store)
|
501
|
-
}
|
502
|
-
|
503
|
-
/// Creates a new host-defined WebAssembly function which, when called,
|
504
|
-
/// will run the asynchronous computation defined by `func` to completion
|
505
|
-
/// and then return the result to WebAssembly.
|
506
|
-
///
|
507
|
-
/// This function is the asynchronous analogue of [`Func::new`] and much of
|
508
|
-
/// that documentation applies to this as well. The key difference is that
|
509
|
-
/// `func` returns a future instead of simply a `Result`. Note that the
|
510
|
-
/// returned future can close over any of the arguments, but it cannot close
|
511
|
-
/// over the state of the closure itself. It's recommended to store any
|
512
|
-
/// necessary async state in the `T` of the [`Store<T>`](crate::Store) which
|
513
|
-
/// can be accessed through [`Caller::data`] or [`Caller::data_mut`].
|
514
|
-
///
|
515
|
-
/// For more information on `Send + Sync + 'static`, see
|
516
|
-
/// [`Func::wrap`](#why-send--sync--static).
|
517
|
-
///
|
518
|
-
/// # Panics
|
519
|
-
///
|
520
|
-
/// This function will panic if `store` is not associated with an [async
|
521
|
-
/// config](crate::Config::async_support).
|
522
|
-
///
|
523
|
-
/// Panics if the given function type is not associated with this store's
|
524
|
-
/// engine.
|
525
|
-
///
|
526
|
-
/// # Errors
|
527
|
-
///
|
528
|
-
/// See [`Func::new`] for the behavior of returning an error from the host
|
529
|
-
/// function provided here.
|
530
|
-
///
|
531
|
-
/// # Examples
|
532
|
-
///
|
533
|
-
/// ```
|
534
|
-
/// # use wasmtime::*;
|
535
|
-
/// # fn main() -> anyhow::Result<()> {
|
536
|
-
/// // Simulate some application-specific state as well as asynchronous
|
537
|
-
/// // functions to query that state.
|
538
|
-
/// struct MyDatabase {
|
539
|
-
/// // ...
|
540
|
-
/// }
|
541
|
-
///
|
542
|
-
/// impl MyDatabase {
|
543
|
-
/// async fn get_row_count(&self) -> u32 {
|
544
|
-
/// // ...
|
545
|
-
/// # 100
|
546
|
-
/// }
|
547
|
-
/// }
|
548
|
-
///
|
549
|
-
/// let my_database = MyDatabase {
|
550
|
-
/// // ...
|
551
|
-
/// };
|
552
|
-
///
|
553
|
-
/// // Using `new_async` we can hook up into calling our async
|
554
|
-
/// // `get_row_count` function.
|
555
|
-
/// let engine = Engine::new(Config::new().async_support(true))?;
|
556
|
-
/// let mut store = Store::new(&engine, MyDatabase {
|
557
|
-
/// // ...
|
558
|
-
/// });
|
559
|
-
/// let get_row_count_type = wasmtime::FuncType::new(
|
560
|
-
/// &engine,
|
561
|
-
/// None,
|
562
|
-
/// Some(wasmtime::ValType::I32),
|
563
|
-
/// );
|
564
|
-
/// let get = Func::new_async(&mut store, get_row_count_type, |caller, _params, results| {
|
565
|
-
/// Box::new(async move {
|
566
|
-
/// let count = caller.data().get_row_count().await;
|
567
|
-
/// results[0] = Val::I32(count as i32);
|
568
|
-
/// Ok(())
|
569
|
-
/// })
|
570
|
-
/// });
|
571
|
-
/// // ...
|
572
|
-
/// # Ok(())
|
573
|
-
/// # }
|
574
|
-
/// ```
|
575
|
-
#[cfg(all(feature = "async", feature = "cranelift"))]
|
576
|
-
#[cfg_attr(docsrs, doc(cfg(all(feature = "async", feature = "cranelift"))))]
|
577
|
-
pub fn new_async<T, F>(store: impl AsContextMut<Data = T>, ty: FuncType, func: F) -> Func
|
578
|
-
where
|
579
|
-
F: for<'a> Fn(
|
580
|
-
Caller<'a, T>,
|
581
|
-
&'a [Val],
|
582
|
-
&'a mut [Val],
|
583
|
-
) -> Box<dyn Future<Output = Result<()>> + Send + 'a>
|
584
|
-
+ Send
|
585
|
-
+ Sync
|
586
|
-
+ 'static,
|
587
|
-
{
|
588
|
-
assert!(
|
589
|
-
store.as_context().async_support(),
|
590
|
-
"cannot use `new_async` without enabling async support in the config"
|
591
|
-
);
|
592
|
-
assert!(ty.comes_from_same_engine(store.as_context().engine()));
|
593
|
-
Func::new(store, ty, move |mut caller, params, results| {
|
594
|
-
let async_cx = caller
|
595
|
-
.store
|
596
|
-
.as_context_mut()
|
597
|
-
.0
|
598
|
-
.async_cx()
|
599
|
-
.expect("Attempt to spawn new action on dying fiber");
|
600
|
-
let mut future = Pin::from(func(caller, params, results));
|
601
|
-
match unsafe { async_cx.block_on(future.as_mut()) } {
|
602
|
-
Ok(Ok(())) => Ok(()),
|
603
|
-
Ok(Err(trap)) | Err(trap) => Err(trap),
|
604
|
-
}
|
605
|
-
})
|
606
|
-
}
|
607
|
-
|
608
|
-
pub(crate) unsafe fn from_vm_func_ref(
|
609
|
-
store: &mut StoreOpaque,
|
610
|
-
raw: *mut VMFuncRef,
|
611
|
-
) -> Option<Func> {
|
612
|
-
let func_ref = NonNull::new(raw)?;
|
613
|
-
debug_assert!(func_ref.as_ref().type_index != VMSharedTypeIndex::default());
|
614
|
-
let export = ExportFunction { func_ref };
|
615
|
-
Some(Func::from_wasmtime_function(export, store))
|
616
|
-
}
|
617
|
-
|
618
|
-
/// Creates a new `Func` from the given Rust closure.
|
619
|
-
///
|
620
|
-
/// This function will create a new `Func` which, when called, will
|
621
|
-
/// execute the given Rust closure. Unlike [`Func::new`] the target
|
622
|
-
/// function being called is known statically so the type signature can
|
623
|
-
/// be inferred. Rust types will map to WebAssembly types as follows:
|
624
|
-
///
|
625
|
-
/// | Rust Argument Type | WebAssembly Type |
|
626
|
-
/// |-----------------------------------|---------------------------------------|
|
627
|
-
/// | `i32` | `i32` |
|
628
|
-
/// | `u32` | `i32` |
|
629
|
-
/// | `i64` | `i64` |
|
630
|
-
/// | `u64` | `i64` |
|
631
|
-
/// | `f32` | `f32` |
|
632
|
-
/// | `f64` | `f64` |
|
633
|
-
/// | `V128` on x86-64 and aarch64 only | `v128` |
|
634
|
-
/// | `Option<Func>` | `funcref` aka `(ref null func)` |
|
635
|
-
/// | `Func` | `(ref func)` |
|
636
|
-
/// | `Option<Nofunc>` | `nullfuncref` aka `(ref null nofunc)` |
|
637
|
-
/// | `NoFunc` | `(ref nofunc)` |
|
638
|
-
/// | `Option<ExternRef>` | `externref` aka `(ref null extern)` |
|
639
|
-
/// | `ExternRef` | `(ref extern)` |
|
640
|
-
///
|
641
|
-
/// Any of the Rust types can be returned from the closure as well, in
|
642
|
-
/// addition to some extra types
|
643
|
-
///
|
644
|
-
/// | Rust Return Type | WebAssembly Return Type | Meaning |
|
645
|
-
/// |-------------------|-------------------------|-----------------------|
|
646
|
-
/// | `()` | nothing | no return value |
|
647
|
-
/// | `T` | `T` | a single return value |
|
648
|
-
/// | `(T1, T2, ...)` | `T1 T2 ...` | multiple returns |
|
649
|
-
///
|
650
|
-
/// Note that all return types can also be wrapped in `Result<_>` to
|
651
|
-
/// indicate that the host function can generate a trap as well as possibly
|
652
|
-
/// returning a value.
|
653
|
-
///
|
654
|
-
/// Finally you can also optionally take [`Caller`] as the first argument of
|
655
|
-
/// your closure. If inserted then you're able to inspect the caller's
|
656
|
-
/// state, for example the [`Memory`](crate::Memory) it has exported so you
|
657
|
-
/// can read what pointers point to.
|
658
|
-
///
|
659
|
-
/// Note that when using this API, the intention is to create as thin of a
|
660
|
-
/// layer as possible for when WebAssembly calls the function provided. With
|
661
|
-
/// sufficient inlining and optimization the WebAssembly will call straight
|
662
|
-
/// into `func` provided, with no extra fluff entailed.
|
663
|
-
///
|
664
|
-
/// # Why `Send + Sync + 'static`?
|
665
|
-
///
|
666
|
-
/// All host functions defined in a [`Store`](crate::Store) (including
|
667
|
-
/// those from [`Func::new`] and other constructors) require that the
|
668
|
-
/// `func` provided is `Send + Sync + 'static`. Additionally host functions
|
669
|
-
/// always are `Fn` as opposed to `FnMut` or `FnOnce`. This can at-a-glance
|
670
|
-
/// feel restrictive since the closure cannot close over as many types as
|
671
|
-
/// before. The reason for this, though, is to ensure that
|
672
|
-
/// [`Store<T>`](crate::Store) can implement both the `Send` and `Sync`
|
673
|
-
/// traits.
|
674
|
-
///
|
675
|
-
/// Fear not, however, because this isn't as restrictive as it seems! Host
|
676
|
-
/// functions are provided a [`Caller<'_, T>`](crate::Caller) argument which
|
677
|
-
/// allows access to the host-defined data within the
|
678
|
-
/// [`Store`](crate::Store). The `T` type is not required to be any of
|
679
|
-
/// `Send`, `Sync`, or `'static`! This means that you can store whatever
|
680
|
-
/// you'd like in `T` and have it accessible by all host functions.
|
681
|
-
/// Additionally mutable access to `T` is allowed through
|
682
|
-
/// [`Caller::data_mut`].
|
683
|
-
///
|
684
|
-
/// Most host-defined [`Func`] values provide closures that end up not
|
685
|
-
/// actually closing over any values. These zero-sized types will use the
|
686
|
-
/// context from [`Caller`] for host-defined information.
|
687
|
-
///
|
688
|
-
/// # Errors
|
689
|
-
///
|
690
|
-
/// The closure provided here to `wrap` can optionally return a
|
691
|
-
/// [`Result<T>`](anyhow::Result). Returning `Ok(t)` represents the host
|
692
|
-
/// function successfully completing with the `t` result. Returning
|
693
|
-
/// `Err(e)`, however, is equivalent to raising a custom wasm trap.
|
694
|
-
/// Execution of WebAssembly does not resume and the stack is unwound to the
|
695
|
-
/// original caller of the function where the error is returned.
|
696
|
-
///
|
697
|
-
/// For more information about errors in Wasmtime see the [`Trap`]
|
698
|
-
/// documentation.
|
699
|
-
///
|
700
|
-
/// [`Trap`]: crate::Trap
|
701
|
-
///
|
702
|
-
/// # Examples
|
703
|
-
///
|
704
|
-
/// First up we can see how simple wasm imports can be implemented, such
|
705
|
-
/// as a function that adds its two arguments and returns the result.
|
706
|
-
///
|
707
|
-
/// ```
|
708
|
-
/// # use wasmtime::*;
|
709
|
-
/// # fn main() -> anyhow::Result<()> {
|
710
|
-
/// # let mut store = Store::<()>::default();
|
711
|
-
/// let add = Func::wrap(&mut store, |a: i32, b: i32| a + b);
|
712
|
-
/// let module = Module::new(
|
713
|
-
/// store.engine(),
|
714
|
-
/// r#"
|
715
|
-
/// (module
|
716
|
-
/// (import "" "" (func $add (param i32 i32) (result i32)))
|
717
|
-
/// (func (export "foo") (param i32 i32) (result i32)
|
718
|
-
/// local.get 0
|
719
|
-
/// local.get 1
|
720
|
-
/// call $add))
|
721
|
-
/// "#,
|
722
|
-
/// )?;
|
723
|
-
/// let instance = Instance::new(&mut store, &module, &[add.into()])?;
|
724
|
-
/// let foo = instance.get_typed_func::<(i32, i32), i32>(&mut store, "foo")?;
|
725
|
-
/// assert_eq!(foo.call(&mut store, (1, 2))?, 3);
|
726
|
-
/// # Ok(())
|
727
|
-
/// # }
|
728
|
-
/// ```
|
729
|
-
///
|
730
|
-
/// We can also do the same thing, but generate a trap if the addition
|
731
|
-
/// overflows:
|
732
|
-
///
|
733
|
-
/// ```
|
734
|
-
/// # use wasmtime::*;
|
735
|
-
/// # fn main() -> anyhow::Result<()> {
|
736
|
-
/// # let mut store = Store::<()>::default();
|
737
|
-
/// let add = Func::wrap(&mut store, |a: i32, b: i32| {
|
738
|
-
/// match a.checked_add(b) {
|
739
|
-
/// Some(i) => Ok(i),
|
740
|
-
/// None => anyhow::bail!("overflow"),
|
741
|
-
/// }
|
742
|
-
/// });
|
743
|
-
/// let module = Module::new(
|
744
|
-
/// store.engine(),
|
745
|
-
/// r#"
|
746
|
-
/// (module
|
747
|
-
/// (import "" "" (func $add (param i32 i32) (result i32)))
|
748
|
-
/// (func (export "foo") (param i32 i32) (result i32)
|
749
|
-
/// local.get 0
|
750
|
-
/// local.get 1
|
751
|
-
/// call $add))
|
752
|
-
/// "#,
|
753
|
-
/// )?;
|
754
|
-
/// let instance = Instance::new(&mut store, &module, &[add.into()])?;
|
755
|
-
/// let foo = instance.get_typed_func::<(i32, i32), i32>(&mut store, "foo")?;
|
756
|
-
/// assert_eq!(foo.call(&mut store, (1, 2))?, 3);
|
757
|
-
/// assert!(foo.call(&mut store, (i32::max_value(), 1)).is_err());
|
758
|
-
/// # Ok(())
|
759
|
-
/// # }
|
760
|
-
/// ```
|
761
|
-
///
|
762
|
-
/// And don't forget all the wasm types are supported!
|
763
|
-
///
|
764
|
-
/// ```
|
765
|
-
/// # use wasmtime::*;
|
766
|
-
/// # fn main() -> anyhow::Result<()> {
|
767
|
-
/// # let mut store = Store::<()>::default();
|
768
|
-
/// let debug = Func::wrap(&mut store, |a: i32, b: u32, c: f32, d: i64, e: u64, f: f64| {
|
769
|
-
///
|
770
|
-
/// println!("a={}", a);
|
771
|
-
/// println!("b={}", b);
|
772
|
-
/// println!("c={}", c);
|
773
|
-
/// println!("d={}", d);
|
774
|
-
/// println!("e={}", e);
|
775
|
-
/// println!("f={}", f);
|
776
|
-
/// });
|
777
|
-
/// let module = Module::new(
|
778
|
-
/// store.engine(),
|
779
|
-
/// r#"
|
780
|
-
/// (module
|
781
|
-
/// (import "" "" (func $debug (param i32 i32 f32 i64 i64 f64)))
|
782
|
-
/// (func (export "foo")
|
783
|
-
/// i32.const -1
|
784
|
-
/// i32.const 1
|
785
|
-
/// f32.const 2
|
786
|
-
/// i64.const -3
|
787
|
-
/// i64.const 3
|
788
|
-
/// f64.const 4
|
789
|
-
/// call $debug))
|
790
|
-
/// "#,
|
791
|
-
/// )?;
|
792
|
-
/// let instance = Instance::new(&mut store, &module, &[debug.into()])?;
|
793
|
-
/// let foo = instance.get_typed_func::<(), ()>(&mut store, "foo")?;
|
794
|
-
/// foo.call(&mut store, ())?;
|
795
|
-
/// # Ok(())
|
796
|
-
/// # }
|
797
|
-
/// ```
|
798
|
-
///
|
799
|
-
/// Finally if you want to get really fancy you can also implement
|
800
|
-
/// imports that read/write wasm module's memory
|
801
|
-
///
|
802
|
-
/// ```
|
803
|
-
/// use std::str;
|
804
|
-
///
|
805
|
-
/// # use wasmtime::*;
|
806
|
-
/// # fn main() -> anyhow::Result<()> {
|
807
|
-
/// # let mut store = Store::default();
|
808
|
-
/// let log_str = Func::wrap(&mut store, |mut caller: Caller<'_, ()>, ptr: i32, len: i32| {
|
809
|
-
/// let mem = match caller.get_export("memory") {
|
810
|
-
/// Some(Extern::Memory(mem)) => mem,
|
811
|
-
/// _ => anyhow::bail!("failed to find host memory"),
|
812
|
-
/// };
|
813
|
-
/// let data = mem.data(&caller)
|
814
|
-
/// .get(ptr as u32 as usize..)
|
815
|
-
/// .and_then(|arr| arr.get(..len as u32 as usize));
|
816
|
-
/// let string = match data {
|
817
|
-
/// Some(data) => match str::from_utf8(data) {
|
818
|
-
/// Ok(s) => s,
|
819
|
-
/// Err(_) => anyhow::bail!("invalid utf-8"),
|
820
|
-
/// },
|
821
|
-
/// None => anyhow::bail!("pointer/length out of bounds"),
|
822
|
-
/// };
|
823
|
-
/// assert_eq!(string, "Hello, world!");
|
824
|
-
/// println!("{}", string);
|
825
|
-
/// Ok(())
|
826
|
-
/// });
|
827
|
-
/// let module = Module::new(
|
828
|
-
/// store.engine(),
|
829
|
-
/// r#"
|
830
|
-
/// (module
|
831
|
-
/// (import "" "" (func $log_str (param i32 i32)))
|
832
|
-
/// (func (export "foo")
|
833
|
-
/// i32.const 4 ;; ptr
|
834
|
-
/// i32.const 13 ;; len
|
835
|
-
/// call $log_str)
|
836
|
-
/// (memory (export "memory") 1)
|
837
|
-
/// (data (i32.const 4) "Hello, world!"))
|
838
|
-
/// "#,
|
839
|
-
/// )?;
|
840
|
-
/// let instance = Instance::new(&mut store, &module, &[log_str.into()])?;
|
841
|
-
/// let foo = instance.get_typed_func::<(), ()>(&mut store, "foo")?;
|
842
|
-
/// foo.call(&mut store, ())?;
|
843
|
-
/// # Ok(())
|
844
|
-
/// # }
|
845
|
-
/// ```
|
846
|
-
pub fn wrap<T, Params, Results>(
|
847
|
-
mut store: impl AsContextMut<Data = T>,
|
848
|
-
func: impl IntoFunc<T, Params, Results>,
|
849
|
-
) -> Func {
|
850
|
-
let store = store.as_context_mut().0;
|
851
|
-
// part of this unsafety is about matching the `T` to a `Store<T>`,
|
852
|
-
// which is done through the `AsContextMut` bound above.
|
853
|
-
unsafe {
|
854
|
-
let host = HostFunc::wrap(store.engine(), func);
|
855
|
-
host.into_func(store)
|
856
|
-
}
|
857
|
-
}
|
858
|
-
|
859
|
-
for_each_function_signature!(generate_wrap_async_func);
|
860
|
-
|
861
|
-
/// Returns the underlying wasm type that this `Func` has.
|
862
|
-
///
|
863
|
-
/// # Panics
|
864
|
-
///
|
865
|
-
/// Panics if `store` does not own this function.
|
866
|
-
pub fn ty(&self, store: impl AsContext) -> FuncType {
|
867
|
-
self.load_ty(&store.as_context().0)
|
868
|
-
}
|
869
|
-
|
870
|
-
/// Forcibly loads the type of this function from the `Engine`.
|
871
|
-
///
|
872
|
-
/// Note that this is a somewhat expensive method since it requires taking a
|
873
|
-
/// lock as well as cloning a type.
|
874
|
-
pub(crate) fn load_ty(&self, store: &StoreOpaque) -> FuncType {
|
875
|
-
assert!(self.comes_from_same_store(store));
|
876
|
-
FuncType::from_shared_type_index(store.engine(), self.type_index(store.store_data()))
|
877
|
-
}
|
878
|
-
|
879
|
-
/// Does this function match the given type?
|
880
|
-
///
|
881
|
-
/// That is, is this function's type a subtype of the given type?
|
882
|
-
pub fn matches_ty(&self, store: impl AsContext, func_ty: &FuncType) -> bool {
|
883
|
-
self._matches_ty(store.as_context().0, func_ty)
|
884
|
-
}
|
885
|
-
|
886
|
-
pub(crate) fn _matches_ty(&self, store: &StoreOpaque, func_ty: &FuncType) -> bool {
|
887
|
-
let actual_ty = self.load_ty(store);
|
888
|
-
actual_ty.matches(func_ty)
|
889
|
-
}
|
890
|
-
|
891
|
-
pub(crate) fn ensure_matches_ty(&self, store: &StoreOpaque, func_ty: &FuncType) -> Result<()> {
|
892
|
-
if !self.comes_from_same_store(store) {
|
893
|
-
bail!("function used with wrong store");
|
894
|
-
}
|
895
|
-
if self._matches_ty(store, func_ty) {
|
896
|
-
Ok(())
|
897
|
-
} else {
|
898
|
-
let actual_ty = self.load_ty(store);
|
899
|
-
bail!("type mismatch: expected {func_ty}, found {actual_ty}")
|
900
|
-
}
|
901
|
-
}
|
902
|
-
|
903
|
-
/// Gets a reference to the `FuncType` for this function.
|
904
|
-
///
|
905
|
-
/// Note that this returns both a reference to the type of this function as
|
906
|
-
/// well as a reference back to the store itself. This enables using the
|
907
|
-
/// `StoreOpaque` while the `FuncType` is also being used (from the
|
908
|
-
/// perspective of the borrow-checker) because otherwise the signature would
|
909
|
-
/// consider `StoreOpaque` borrowed mutable while `FuncType` is in use.
|
910
|
-
fn ty_ref<'a>(&self, store: &'a mut StoreOpaque) -> (&'a FuncType, &'a StoreOpaque) {
|
911
|
-
// If we haven't loaded our type into the store yet then do so lazily at
|
912
|
-
// this time.
|
913
|
-
if store.store_data()[self.0].ty.is_none() {
|
914
|
-
let ty = self.load_ty(store);
|
915
|
-
store.store_data_mut()[self.0].ty = Some(Box::new(ty));
|
916
|
-
}
|
917
|
-
|
918
|
-
(store.store_data()[self.0].ty.as_ref().unwrap(), store)
|
919
|
-
}
|
920
|
-
|
921
|
-
pub(crate) fn type_index(&self, data: &StoreData) -> VMSharedTypeIndex {
|
922
|
-
data[self.0].sig_index()
|
923
|
-
}
|
924
|
-
|
925
|
-
/// Invokes this function with the `params` given and writes returned values
|
926
|
-
/// to `results`.
|
927
|
-
///
|
928
|
-
/// The `params` here must match the type signature of this `Func`, or an
|
929
|
-
/// error will occur. Additionally `results` must have the same
|
930
|
-
/// length as the number of results for this function. Calling this function
|
931
|
-
/// will synchronously execute the WebAssembly function referenced to get
|
932
|
-
/// the results.
|
933
|
-
///
|
934
|
-
/// This function will return `Ok(())` if execution completed without a trap
|
935
|
-
/// or error of any kind. In this situation the results will be written to
|
936
|
-
/// the provided `results` array.
|
937
|
-
///
|
938
|
-
/// # Errors
|
939
|
-
///
|
940
|
-
/// Any error which occurs throughout the execution of the function will be
|
941
|
-
/// returned as `Err(e)`. The [`Error`](anyhow::Error) type can be inspected
|
942
|
-
/// for the precise error cause such as:
|
943
|
-
///
|
944
|
-
/// * [`Trap`] - indicates that a wasm trap happened and execution was
|
945
|
-
/// halted.
|
946
|
-
/// * [`WasmBacktrace`] - optionally included on errors for backtrace
|
947
|
-
/// information of the trap/error.
|
948
|
-
/// * Other string-based errors to indicate issues such as type errors with
|
949
|
-
/// `params`.
|
950
|
-
/// * Any host-originating error originally returned from a function defined
|
951
|
-
/// via [`Func::new`], for example.
|
952
|
-
///
|
953
|
-
/// Errors typically indicate that execution of WebAssembly was halted
|
954
|
-
/// mid-way and did not complete after the error condition happened.
|
955
|
-
///
|
956
|
-
/// [`Trap`]: crate::Trap
|
957
|
-
///
|
958
|
-
/// # Panics
|
959
|
-
///
|
960
|
-
/// This function will panic if called on a function belonging to an async
|
961
|
-
/// store. Asynchronous stores must always use `call_async`.
|
962
|
-
/// initiates a panic. Also panics if `store` does not own this function.
|
963
|
-
///
|
964
|
-
/// [`WasmBacktrace`]: crate::WasmBacktrace
|
965
|
-
pub fn call(
|
966
|
-
&self,
|
967
|
-
mut store: impl AsContextMut,
|
968
|
-
params: &[Val],
|
969
|
-
results: &mut [Val],
|
970
|
-
) -> Result<()> {
|
971
|
-
assert!(
|
972
|
-
!store.as_context().async_support(),
|
973
|
-
"must use `call_async` when async support is enabled on the config",
|
974
|
-
);
|
975
|
-
self.call_impl(&mut store.as_context_mut(), params, results)
|
976
|
-
}
|
977
|
-
|
978
|
-
/// Invokes this function in an "unchecked" fashion, reading parameters and
|
979
|
-
/// writing results to `params_and_returns`.
|
980
|
-
///
|
981
|
-
/// This function is the same as [`Func::call`] except that the arguments
|
982
|
-
/// and results both use a different representation. If possible it's
|
983
|
-
/// recommended to use [`Func::call`] if safety isn't necessary or to use
|
984
|
-
/// [`Func::typed`] in conjunction with [`TypedFunc::call`] since that's
|
985
|
-
/// both safer and faster than this method of invoking a function.
|
986
|
-
///
|
987
|
-
/// Note that if this function takes `externref` arguments then it will
|
988
|
-
/// **not** automatically GC unlike the [`Func::call`] and
|
989
|
-
/// [`TypedFunc::call`] functions. This means that if this function is
|
990
|
-
/// invoked many times with new `ExternRef` values and no other GC happens
|
991
|
-
/// via any other means then no values will get collected.
|
992
|
-
///
|
993
|
-
/// # Errors
|
994
|
-
///
|
995
|
-
/// For more information about errors see the [`Func::call`] documentation.
|
996
|
-
///
|
997
|
-
/// # Unsafety
|
998
|
-
///
|
999
|
-
/// This function is unsafe because the `params_and_returns` argument is not
|
1000
|
-
/// validated at all. It must uphold invariants such as:
|
1001
|
-
///
|
1002
|
-
/// * It's a valid pointer to an array
|
1003
|
-
/// * It has enough space to store all parameters
|
1004
|
-
/// * It has enough space to store all results (not at the same time as
|
1005
|
-
/// parameters)
|
1006
|
-
/// * Parameters are initially written to the array and have the correct
|
1007
|
-
/// types and such.
|
1008
|
-
/// * Reference types like `externref` and `funcref` are valid at the
|
1009
|
-
/// time of this call and for the `store` specified.
|
1010
|
-
///
|
1011
|
-
/// These invariants are all upheld for you with [`Func::call`] and
|
1012
|
-
/// [`TypedFunc::call`].
|
1013
|
-
pub unsafe fn call_unchecked(
|
1014
|
-
&self,
|
1015
|
-
mut store: impl AsContextMut,
|
1016
|
-
params_and_returns: *mut ValRaw,
|
1017
|
-
params_and_returns_capacity: usize,
|
1018
|
-
) -> Result<()> {
|
1019
|
-
let mut store = store.as_context_mut();
|
1020
|
-
let data = &store.0.store_data()[self.0];
|
1021
|
-
let func_ref = data.export().func_ref;
|
1022
|
-
Self::call_unchecked_raw(
|
1023
|
-
&mut store,
|
1024
|
-
func_ref,
|
1025
|
-
params_and_returns,
|
1026
|
-
params_and_returns_capacity,
|
1027
|
-
)
|
1028
|
-
}
|
1029
|
-
|
1030
|
-
pub(crate) unsafe fn call_unchecked_raw<T>(
|
1031
|
-
store: &mut StoreContextMut<'_, T>,
|
1032
|
-
func_ref: NonNull<VMFuncRef>,
|
1033
|
-
params_and_returns: *mut ValRaw,
|
1034
|
-
params_and_returns_capacity: usize,
|
1035
|
-
) -> Result<()> {
|
1036
|
-
invoke_wasm_and_catch_traps(store, |caller| {
|
1037
|
-
let func_ref = func_ref.as_ref();
|
1038
|
-
(func_ref.array_call)(
|
1039
|
-
func_ref.vmctx,
|
1040
|
-
caller.cast::<VMOpaqueContext>(),
|
1041
|
-
params_and_returns,
|
1042
|
-
params_and_returns_capacity,
|
1043
|
-
)
|
1044
|
-
})
|
1045
|
-
}
|
1046
|
-
|
1047
|
-
/// Converts the raw representation of a `funcref` into an `Option<Func>`
|
1048
|
-
///
|
1049
|
-
/// This is intended to be used in conjunction with [`Func::new_unchecked`],
|
1050
|
-
/// [`Func::call_unchecked`], and [`ValRaw`] with its `funcref` field.
|
1051
|
-
///
|
1052
|
-
/// # Unsafety
|
1053
|
-
///
|
1054
|
-
/// This function is not safe because `raw` is not validated at all. The
|
1055
|
-
/// caller must guarantee that `raw` is owned by the `store` provided and is
|
1056
|
-
/// valid within the `store`.
|
1057
|
-
pub unsafe fn from_raw(mut store: impl AsContextMut, raw: *mut c_void) -> Option<Func> {
|
1058
|
-
Func::from_vm_func_ref(store.as_context_mut().0, raw.cast())
|
1059
|
-
}
|
1060
|
-
|
1061
|
-
/// Extracts the raw value of this `Func`, which is owned by `store`.
|
1062
|
-
///
|
1063
|
-
/// This function returns a value that's suitable for writing into the
|
1064
|
-
/// `funcref` field of the [`ValRaw`] structure.
|
1065
|
-
///
|
1066
|
-
/// # Unsafety
|
1067
|
-
///
|
1068
|
-
/// The returned value is only valid for as long as the store is alive and
|
1069
|
-
/// this function is properly rooted within it. Additionally this function
|
1070
|
-
/// should not be liberally used since it's a very low-level knob.
|
1071
|
-
pub unsafe fn to_raw(&self, mut store: impl AsContextMut) -> *mut c_void {
|
1072
|
-
self.vm_func_ref(store.as_context_mut().0).as_ptr().cast()
|
1073
|
-
}
|
1074
|
-
|
1075
|
-
/// Invokes this function with the `params` given, returning the results
|
1076
|
-
/// asynchronously.
|
1077
|
-
///
|
1078
|
-
/// This function is the same as [`Func::call`] except that it is
|
1079
|
-
/// asynchronous. This is only compatible with stores associated with an
|
1080
|
-
/// [asynchronous config](crate::Config::async_support).
|
1081
|
-
///
|
1082
|
-
/// It's important to note that the execution of WebAssembly will happen
|
1083
|
-
/// synchronously in the `poll` method of the future returned from this
|
1084
|
-
/// function. Wasmtime does not manage its own thread pool or similar to
|
1085
|
-
/// execute WebAssembly in. Future `poll` methods are generally expected to
|
1086
|
-
/// resolve quickly, so it's recommended that you run or poll this future
|
1087
|
-
/// in a "blocking context".
|
1088
|
-
///
|
1089
|
-
/// For more information see the documentation on [asynchronous
|
1090
|
-
/// configs](crate::Config::async_support).
|
1091
|
-
///
|
1092
|
-
/// # Errors
|
1093
|
-
///
|
1094
|
-
/// For more information on errors see the [`Func::call`] documentation.
|
1095
|
-
///
|
1096
|
-
/// # Panics
|
1097
|
-
///
|
1098
|
-
/// Panics if this is called on a function in a synchronous store. This
|
1099
|
-
/// only works with functions defined within an asynchronous store. Also
|
1100
|
-
/// panics if `store` does not own this function.
|
1101
|
-
#[cfg(feature = "async")]
|
1102
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
|
1103
|
-
pub async fn call_async<T>(
|
1104
|
-
&self,
|
1105
|
-
mut store: impl AsContextMut<Data = T>,
|
1106
|
-
params: &[Val],
|
1107
|
-
results: &mut [Val],
|
1108
|
-
) -> Result<()>
|
1109
|
-
where
|
1110
|
-
T: Send,
|
1111
|
-
{
|
1112
|
-
let mut store = store.as_context_mut();
|
1113
|
-
assert!(
|
1114
|
-
store.0.async_support(),
|
1115
|
-
"cannot use `call_async` without enabling async support in the config",
|
1116
|
-
);
|
1117
|
-
let result = store
|
1118
|
-
.on_fiber(|store| self.call_impl(store, params, results))
|
1119
|
-
.await??;
|
1120
|
-
Ok(result)
|
1121
|
-
}
|
1122
|
-
|
1123
|
-
fn call_impl<T>(
|
1124
|
-
&self,
|
1125
|
-
store: &mut StoreContextMut<'_, T>,
|
1126
|
-
params: &[Val],
|
1127
|
-
results: &mut [Val],
|
1128
|
-
) -> Result<()> {
|
1129
|
-
// We need to perform a dynamic check that the arguments given to us
|
1130
|
-
// match the signature of this function and are appropriate to pass to
|
1131
|
-
// this function. This involves checking to make sure we have the right
|
1132
|
-
// number and types of arguments as well as making sure everything is
|
1133
|
-
// from the same `Store`.
|
1134
|
-
let (ty, opaque) = self.ty_ref(store.0);
|
1135
|
-
if ty.params().len() != params.len() {
|
1136
|
-
bail!(
|
1137
|
-
"expected {} arguments, got {}",
|
1138
|
-
ty.params().len(),
|
1139
|
-
params.len()
|
1140
|
-
);
|
1141
|
-
}
|
1142
|
-
if ty.results().len() != results.len() {
|
1143
|
-
bail!(
|
1144
|
-
"expected {} results, got {}",
|
1145
|
-
ty.results().len(),
|
1146
|
-
results.len()
|
1147
|
-
);
|
1148
|
-
}
|
1149
|
-
for (ty, arg) in ty.params().zip(params) {
|
1150
|
-
arg.ensure_matches_ty(opaque, &ty)
|
1151
|
-
.context("argument type mismatch")?;
|
1152
|
-
if !arg.comes_from_same_store(opaque) {
|
1153
|
-
bail!("cross-`Store` values are not currently supported");
|
1154
|
-
}
|
1155
|
-
}
|
1156
|
-
|
1157
|
-
let values_vec_size = params.len().max(ty.results().len());
|
1158
|
-
|
1159
|
-
#[cfg(feature = "gc")]
|
1160
|
-
{
|
1161
|
-
// Whenever we pass `externref`s from host code to Wasm code, they
|
1162
|
-
// go into the `VMExternRefActivationsTable`. But the table might be
|
1163
|
-
// at capacity already, so check for that. If it is at capacity
|
1164
|
-
// (unlikely) then do a GC to free up space. This is necessary
|
1165
|
-
// because otherwise we would either keep filling up the bump chunk
|
1166
|
-
// and making it larger and larger or we would always take the slow
|
1167
|
-
// path when inserting references into the table.
|
1168
|
-
if ty.as_wasm_func_type().externref_params_count()
|
1169
|
-
> store
|
1170
|
-
.0
|
1171
|
-
.externref_activations_table()
|
1172
|
-
.bump_capacity_remaining()
|
1173
|
-
{
|
1174
|
-
store.gc();
|
1175
|
-
}
|
1176
|
-
}
|
1177
|
-
|
1178
|
-
// Store the argument values into `values_vec`.
|
1179
|
-
let mut values_vec = store.0.take_wasm_val_raw_storage();
|
1180
|
-
debug_assert!(values_vec.is_empty());
|
1181
|
-
values_vec.resize_with(values_vec_size, || ValRaw::i32(0));
|
1182
|
-
for (arg, slot) in params.iter().cloned().zip(&mut values_vec) {
|
1183
|
-
unsafe {
|
1184
|
-
*slot = arg.to_raw(&mut *store);
|
1185
|
-
}
|
1186
|
-
}
|
1187
|
-
|
1188
|
-
unsafe {
|
1189
|
-
self.call_unchecked(&mut *store, values_vec.as_mut_ptr(), values_vec_size)?;
|
1190
|
-
}
|
1191
|
-
|
1192
|
-
for ((i, slot), val) in results.iter_mut().enumerate().zip(&values_vec) {
|
1193
|
-
let ty = self.ty_ref(store.0).0.results().nth(i).unwrap();
|
1194
|
-
*slot = unsafe { Val::from_raw(&mut *store, *val, ty) };
|
1195
|
-
}
|
1196
|
-
values_vec.truncate(0);
|
1197
|
-
store.0.save_wasm_val_raw_storage(values_vec);
|
1198
|
-
Ok(())
|
1199
|
-
}
|
1200
|
-
|
1201
|
-
#[inline]
|
1202
|
-
pub(crate) fn vm_func_ref(&self, store: &mut StoreOpaque) -> NonNull<VMFuncRef> {
|
1203
|
-
let func_data = &mut store.store_data_mut()[self.0];
|
1204
|
-
let func_ref = func_data.export().func_ref;
|
1205
|
-
if unsafe { func_ref.as_ref().wasm_call.is_some() } {
|
1206
|
-
return func_ref;
|
1207
|
-
}
|
1208
|
-
|
1209
|
-
if let Some(in_store) = func_data.in_store_func_ref {
|
1210
|
-
in_store.as_non_null()
|
1211
|
-
} else {
|
1212
|
-
unsafe {
|
1213
|
-
// Move this uncommon/slow path out of line.
|
1214
|
-
self.copy_func_ref_into_store_and_fill(store, func_ref)
|
1215
|
-
}
|
1216
|
-
}
|
1217
|
-
}
|
1218
|
-
|
1219
|
-
unsafe fn copy_func_ref_into_store_and_fill(
|
1220
|
-
&self,
|
1221
|
-
store: &mut StoreOpaque,
|
1222
|
-
func_ref: NonNull<VMFuncRef>,
|
1223
|
-
) -> NonNull<VMFuncRef> {
|
1224
|
-
let func_ref = store.func_refs().push(func_ref.as_ref().clone());
|
1225
|
-
store.store_data_mut()[self.0].in_store_func_ref = Some(SendSyncPtr::new(func_ref));
|
1226
|
-
store.fill_func_refs();
|
1227
|
-
func_ref
|
1228
|
-
}
|
1229
|
-
|
1230
|
-
pub(crate) unsafe fn from_wasmtime_function(
|
1231
|
-
export: ExportFunction,
|
1232
|
-
store: &mut StoreOpaque,
|
1233
|
-
) -> Self {
|
1234
|
-
Func::from_func_kind(FuncKind::StoreOwned { export }, store)
|
1235
|
-
}
|
1236
|
-
|
1237
|
-
fn from_func_kind(kind: FuncKind, store: &mut StoreOpaque) -> Self {
|
1238
|
-
Func(store.store_data_mut().insert(FuncData {
|
1239
|
-
kind,
|
1240
|
-
in_store_func_ref: None,
|
1241
|
-
ty: None,
|
1242
|
-
}))
|
1243
|
-
}
|
1244
|
-
|
1245
|
-
pub(crate) fn vmimport(&self, store: &mut StoreOpaque, module: &Module) -> VMFunctionImport {
|
1246
|
-
unsafe {
|
1247
|
-
let f = {
|
1248
|
-
let func_data = &mut store.store_data_mut()[self.0];
|
1249
|
-
// If we already patched this `funcref.wasm_call` and saved a
|
1250
|
-
// copy in the store, use the patched version. Otherwise, use
|
1251
|
-
// the potentially un-patched version.
|
1252
|
-
if let Some(func_ref) = func_data.in_store_func_ref {
|
1253
|
-
func_ref.as_non_null()
|
1254
|
-
} else {
|
1255
|
-
func_data.export().func_ref
|
1256
|
-
}
|
1257
|
-
};
|
1258
|
-
VMFunctionImport {
|
1259
|
-
wasm_call: if let Some(wasm_call) = f.as_ref().wasm_call {
|
1260
|
-
wasm_call
|
1261
|
-
} else {
|
1262
|
-
// Assert that this is a native-call function, since those
|
1263
|
-
// are the only ones that could be missing a `wasm_call`
|
1264
|
-
// trampoline.
|
1265
|
-
let _ = VMNativeCallHostFuncContext::from_opaque(f.as_ref().vmctx);
|
1266
|
-
|
1267
|
-
let sig = self.type_index(store.store_data());
|
1268
|
-
module.runtime_info().wasm_to_native_trampoline(sig).expect(
|
1269
|
-
"must have a wasm-to-native trampoline for this signature if the Wasm \
|
1270
|
-
module is importing a function of this signature",
|
1271
|
-
)
|
1272
|
-
},
|
1273
|
-
native_call: f.as_ref().native_call,
|
1274
|
-
array_call: f.as_ref().array_call,
|
1275
|
-
vmctx: f.as_ref().vmctx,
|
1276
|
-
}
|
1277
|
-
}
|
1278
|
-
}
|
1279
|
-
|
1280
|
-
pub(crate) fn comes_from_same_store(&self, store: &StoreOpaque) -> bool {
|
1281
|
-
store.store_data().contains(self.0)
|
1282
|
-
}
|
1283
|
-
|
1284
|
-
fn invoke<T>(
|
1285
|
-
mut caller: Caller<'_, T>,
|
1286
|
-
ty: &FuncType,
|
1287
|
-
values_vec: &mut [ValRaw],
|
1288
|
-
func: &dyn Fn(Caller<'_, T>, &[Val], &mut [Val]) -> Result<()>,
|
1289
|
-
) -> Result<()> {
|
1290
|
-
// Translate the raw JIT arguments in `values_vec` into a `Val` which
|
1291
|
-
// we'll be passing as a slice. The storage for our slice-of-`Val` we'll
|
1292
|
-
// be taking from the `Store`. We preserve our slice back into the
|
1293
|
-
// `Store` after the hostcall, ideally amortizing the cost of allocating
|
1294
|
-
// the storage across wasm->host calls.
|
1295
|
-
//
|
1296
|
-
// Note that we have a dynamic guarantee that `values_vec` is the
|
1297
|
-
// appropriate length to both read all arguments from as well as store
|
1298
|
-
// all results into.
|
1299
|
-
let mut val_vec = caller.store.0.take_hostcall_val_storage();
|
1300
|
-
debug_assert!(val_vec.is_empty());
|
1301
|
-
let nparams = ty.params().len();
|
1302
|
-
val_vec.reserve(nparams + ty.results().len());
|
1303
|
-
for (i, ty) in ty.params().enumerate() {
|
1304
|
-
val_vec.push(unsafe { Val::from_raw(&mut caller.store, values_vec[i], ty) })
|
1305
|
-
}
|
1306
|
-
|
1307
|
-
val_vec.extend((0..ty.results().len()).map(|_| Val::null_func_ref()));
|
1308
|
-
let (params, results) = val_vec.split_at_mut(nparams);
|
1309
|
-
func(caller.sub_caller(), params, results)?;
|
1310
|
-
|
1311
|
-
#[cfg(feature = "gc")]
|
1312
|
-
{
|
1313
|
-
// See the comment in `Func::call_impl`'s `write_params` function.
|
1314
|
-
if ty.as_wasm_func_type().externref_returns_count()
|
1315
|
-
> caller
|
1316
|
-
.store
|
1317
|
-
.0
|
1318
|
-
.externref_activations_table()
|
1319
|
-
.bump_capacity_remaining()
|
1320
|
-
{
|
1321
|
-
caller.store.gc();
|
1322
|
-
}
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
// Unlike our arguments we need to dynamically check that the return
|
1326
|
-
// values produced are correct. There could be a bug in `func` that
|
1327
|
-
// produces the wrong number, wrong types, or wrong stores of
|
1328
|
-
// values, and we need to catch that here.
|
1329
|
-
for (i, (ret, ty)) in results.iter().zip(ty.results()).enumerate() {
|
1330
|
-
ret.ensure_matches_ty(caller.store.0, &ty)
|
1331
|
-
.context("function attempted to return an incompatible value")?;
|
1332
|
-
unsafe {
|
1333
|
-
values_vec[i] = ret.to_raw(&mut caller.store);
|
1334
|
-
}
|
1335
|
-
}
|
1336
|
-
|
1337
|
-
// Restore our `val_vec` back into the store so it's usable for the next
|
1338
|
-
// hostcall to reuse our own storage.
|
1339
|
-
val_vec.truncate(0);
|
1340
|
-
caller.store.0.save_hostcall_val_storage(val_vec);
|
1341
|
-
Ok(())
|
1342
|
-
}
|
1343
|
-
|
1344
|
-
/// Attempts to extract a typed object from this `Func` through which the
|
1345
|
-
/// function can be called.
|
1346
|
-
///
|
1347
|
-
/// This function serves as an alternative to [`Func::call`] and
|
1348
|
-
/// [`Func::call_async`]. This method performs a static type check (using
|
1349
|
-
/// the `Params` and `Results` type parameters on the underlying wasm
|
1350
|
-
/// function. If the type check passes then a `TypedFunc` object is returned,
|
1351
|
-
/// otherwise an error is returned describing the typecheck failure.
|
1352
|
-
///
|
1353
|
-
/// The purpose of this relative to [`Func::call`] is that it's much more
|
1354
|
-
/// efficient when used to invoke WebAssembly functions. With the types
|
1355
|
-
/// statically known far less setup/teardown is required when invoking
|
1356
|
-
/// WebAssembly. If speed is desired then this function is recommended to be
|
1357
|
-
/// used instead of [`Func::call`] (which is more general, hence its
|
1358
|
-
/// slowdown).
|
1359
|
-
///
|
1360
|
-
/// The `Params` type parameter is used to describe the parameters of the
|
1361
|
-
/// WebAssembly function. This can either be a single type (like `i32`), or
|
1362
|
-
/// a tuple of types representing the list of parameters (like `(i32, f32,
|
1363
|
-
/// f64)`). Additionally you can use `()` to represent that the function has
|
1364
|
-
/// no parameters.
|
1365
|
-
///
|
1366
|
-
/// The `Results` type parameter is used to describe the results of the
|
1367
|
-
/// function. This behaves the same way as `Params`, but just for the
|
1368
|
-
/// results of the function.
|
1369
|
-
///
|
1370
|
-
/// # Translating Between WebAssembly and Rust Types
|
1371
|
-
///
|
1372
|
-
/// Translation between Rust types and WebAssembly types looks like:
|
1373
|
-
///
|
1374
|
-
/// | WebAssembly | Rust |
|
1375
|
-
/// |---------------------------------------|---------------------------------------|
|
1376
|
-
/// | `i32` | `i32` or `u32` |
|
1377
|
-
/// | `i64` | `i64` or `u64` |
|
1378
|
-
/// | `f32` | `f32` |
|
1379
|
-
/// | `f64` | `f64` |
|
1380
|
-
/// | `externref` aka `(ref null extern)` | `Option<ExternRef>` |
|
1381
|
-
/// | `(ref extern)` | `ExternRef` |
|
1382
|
-
/// | `funcref` aka `(ref null func)` | `Option<Func>` |
|
1383
|
-
/// | `(ref func)` | `Func` |
|
1384
|
-
/// | `(ref null <func type index>)` | `Option<Func>` |
|
1385
|
-
/// | `(ref <func type index>)` | `Func` |
|
1386
|
-
/// | `nullfuncref` aka `(ref null nofunc)` | `Option<NoFunc>` |
|
1387
|
-
/// | `(ref nofunc)` | `NoFunc` |
|
1388
|
-
/// | `v128` | `V128` on `x86-64` and `aarch64` only |
|
1389
|
-
///
|
1390
|
-
/// (Note that this mapping is the same as that of [`Func::wrap`]).
|
1391
|
-
///
|
1392
|
-
/// Note that once the [`TypedFunc`] return value is acquired you'll use either
|
1393
|
-
/// [`TypedFunc::call`] or [`TypedFunc::call_async`] as necessary to actually invoke
|
1394
|
-
/// the function. This method does not invoke any WebAssembly code, it
|
1395
|
-
/// simply performs a typecheck before returning the [`TypedFunc`] value.
|
1396
|
-
///
|
1397
|
-
/// This method also has a convenience wrapper as
|
1398
|
-
/// [`Instance::get_typed_func`](crate::Instance::get_typed_func) to
|
1399
|
-
/// directly get a typed function value from an
|
1400
|
-
/// [`Instance`](crate::Instance).
|
1401
|
-
///
|
1402
|
-
/// ## Subtyping
|
1403
|
-
///
|
1404
|
-
/// For result types, you can always use a supertype of the WebAssembly
|
1405
|
-
/// function's actual declared result type. For example, if the WebAssembly
|
1406
|
-
/// function was declared with type `(func (result nullfuncref))` you could
|
1407
|
-
/// successfully call `f.typed::<(), Option<Func>>()` because `Option<Func>`
|
1408
|
-
/// corresponds to `funcref`, which is a supertype of `nullfuncref`.
|
1409
|
-
///
|
1410
|
-
/// For parameter types, you can always use a subtype of the WebAssembly
|
1411
|
-
/// function's actual declared parameter type. For example, if the
|
1412
|
-
/// WebAssembly function was declared with type `(func (param (ref null
|
1413
|
-
/// func)))` you could successfully call `f.typed::<Func, ()>()` because
|
1414
|
-
/// `Func` corresponds to `(ref func)`, which is a subtype of `(ref null
|
1415
|
-
/// func)`.
|
1416
|
-
///
|
1417
|
-
/// Additionally, for functions which take a reference to a concrete type as
|
1418
|
-
/// a parameter, you can also use the concrete type's supertype. Consider a
|
1419
|
-
/// WebAssembly function that takes a reference to a function with a
|
1420
|
-
/// concrete type: `(ref null <func type index>)`. In this scenario, there
|
1421
|
-
/// is no static `wasmtime::Foo` Rust type that corresponds to that
|
1422
|
-
/// particular Wasm-defined concrete reference type because Wasm modules are
|
1423
|
-
/// loaded dynamically at runtime. You *could* do `f.typed::<Option<NoFunc>,
|
1424
|
-
/// ()>()`, and while that is correctly typed and valid, it is often overly
|
1425
|
-
/// restrictive. The only value you could call the resulting typed function
|
1426
|
-
/// with is the null function reference, but we'd like to call it with
|
1427
|
-
/// non-null function references that happen to be of the correct
|
1428
|
-
/// type. Therefore, `f.typed<Option<Func>, ()>()` is also allowed in this
|
1429
|
-
/// case, even though `Option<Func>` represents `(ref null func)` which is
|
1430
|
-
/// the supertype, not subtype, of `(ref null <func type index>)`. This does
|
1431
|
-
/// imply some minimal dynamic type checks in this case, but it is supported
|
1432
|
-
/// for better ergonomics, to enable passing non-null references into the
|
1433
|
-
/// function.
|
1434
|
-
///
|
1435
|
-
/// # Errors
|
1436
|
-
///
|
1437
|
-
/// This function will return an error if `Params` or `Results` does not
|
1438
|
-
/// match the native type of this WebAssembly function.
|
1439
|
-
///
|
1440
|
-
/// # Panics
|
1441
|
-
///
|
1442
|
-
/// This method will panic if `store` does not own this function.
|
1443
|
-
///
|
1444
|
-
/// # Examples
|
1445
|
-
///
|
1446
|
-
/// An end-to-end example of calling a function which takes no parameters
|
1447
|
-
/// and has no results:
|
1448
|
-
///
|
1449
|
-
/// ```
|
1450
|
-
/// # use wasmtime::*;
|
1451
|
-
/// # fn main() -> anyhow::Result<()> {
|
1452
|
-
/// let engine = Engine::default();
|
1453
|
-
/// let mut store = Store::new(&engine, ());
|
1454
|
-
/// let module = Module::new(&engine, r#"(module (func (export "foo")))"#)?;
|
1455
|
-
/// let instance = Instance::new(&mut store, &module, &[])?;
|
1456
|
-
/// let foo = instance.get_func(&mut store, "foo").expect("export wasn't a function");
|
1457
|
-
///
|
1458
|
-
/// // Note that this call can fail due to the typecheck not passing, but
|
1459
|
-
/// // in our case we statically know the module so we know this should
|
1460
|
-
/// // pass.
|
1461
|
-
/// let typed = foo.typed::<(), ()>(&store)?;
|
1462
|
-
///
|
1463
|
-
/// // Note that this can fail if the wasm traps at runtime.
|
1464
|
-
/// typed.call(&mut store, ())?;
|
1465
|
-
/// # Ok(())
|
1466
|
-
/// # }
|
1467
|
-
/// ```
|
1468
|
-
///
|
1469
|
-
/// You can also pass in multiple parameters and get a result back
|
1470
|
-
///
|
1471
|
-
/// ```
|
1472
|
-
/// # use wasmtime::*;
|
1473
|
-
/// # fn foo(add: &Func, mut store: Store<()>) -> anyhow::Result<()> {
|
1474
|
-
/// let typed = add.typed::<(i32, i64), f32>(&store)?;
|
1475
|
-
/// assert_eq!(typed.call(&mut store, (1, 2))?, 3.0);
|
1476
|
-
/// # Ok(())
|
1477
|
-
/// # }
|
1478
|
-
/// ```
|
1479
|
-
///
|
1480
|
-
/// and similarly if a function has multiple results you can bind that too
|
1481
|
-
///
|
1482
|
-
/// ```
|
1483
|
-
/// # use wasmtime::*;
|
1484
|
-
/// # fn foo(add_with_overflow: &Func, mut store: Store<()>) -> anyhow::Result<()> {
|
1485
|
-
/// let typed = add_with_overflow.typed::<(u32, u32), (u32, i32)>(&store)?;
|
1486
|
-
/// let (result, overflow) = typed.call(&mut store, (u32::max_value(), 2))?;
|
1487
|
-
/// assert_eq!(result, 1);
|
1488
|
-
/// assert_eq!(overflow, 1);
|
1489
|
-
/// # Ok(())
|
1490
|
-
/// # }
|
1491
|
-
/// ```
|
1492
|
-
pub fn typed<Params, Results>(
|
1493
|
-
&self,
|
1494
|
-
store: impl AsContext,
|
1495
|
-
) -> Result<TypedFunc<Params, Results>>
|
1496
|
-
where
|
1497
|
-
Params: WasmParams,
|
1498
|
-
Results: WasmResults,
|
1499
|
-
{
|
1500
|
-
// Type-check that the params/results are all valid
|
1501
|
-
let store = store.as_context().0;
|
1502
|
-
let ty = self.load_ty(store);
|
1503
|
-
Params::typecheck(store.engine(), ty.params(), TypeCheckPosition::Param)
|
1504
|
-
.context("type mismatch with parameters")?;
|
1505
|
-
Results::typecheck(store.engine(), ty.results(), TypeCheckPosition::Result)
|
1506
|
-
.context("type mismatch with results")?;
|
1507
|
-
|
1508
|
-
// and then we can construct the typed version of this function
|
1509
|
-
// (unsafely), which should be safe since we just did the type check above.
|
1510
|
-
unsafe { Ok(TypedFunc::_new_unchecked(store, *self)) }
|
1511
|
-
}
|
1512
|
-
|
1513
|
-
/// Get a stable hash key for this function.
|
1514
|
-
///
|
1515
|
-
/// Even if the same underlying function is added to the `StoreData`
|
1516
|
-
/// multiple times and becomes multiple `wasmtime::Func`s, this hash key
|
1517
|
-
/// will be consistent across all of these functions.
|
1518
|
-
#[allow(dead_code)] // Not used yet, but added for consistency.
|
1519
|
-
pub(crate) fn hash_key(&self, store: &mut StoreOpaque) -> impl std::hash::Hash + Eq {
|
1520
|
-
self.vm_func_ref(store).as_ptr() as usize
|
1521
|
-
}
|
1522
|
-
}
|
1523
|
-
|
1524
|
-
/// Prepares for entrance into WebAssembly.
|
1525
|
-
///
|
1526
|
-
/// This function will set up context such that `closure` is allowed to call a
|
1527
|
-
/// raw trampoline or a raw WebAssembly function. This *must* be called to do
|
1528
|
-
/// things like catch traps and set up GC properly.
|
1529
|
-
///
|
1530
|
-
/// The `closure` provided receives a default "caller" `VMContext` parameter it
|
1531
|
-
/// can pass to the called wasm function, if desired.
|
1532
|
-
pub(crate) fn invoke_wasm_and_catch_traps<T>(
|
1533
|
-
store: &mut StoreContextMut<'_, T>,
|
1534
|
-
closure: impl FnMut(*mut VMContext),
|
1535
|
-
) -> Result<()> {
|
1536
|
-
unsafe {
|
1537
|
-
let exit = enter_wasm(store);
|
1538
|
-
|
1539
|
-
if let Err(trap) = store.0.call_hook(CallHook::CallingWasm) {
|
1540
|
-
exit_wasm(store, exit);
|
1541
|
-
return Err(trap);
|
1542
|
-
}
|
1543
|
-
let result = wasmtime_runtime::catch_traps(
|
1544
|
-
store.0.signal_handler(),
|
1545
|
-
store.0.engine().config().wasm_backtrace,
|
1546
|
-
store.0.engine().config().coredump_on_trap,
|
1547
|
-
store.0.default_caller(),
|
1548
|
-
closure,
|
1549
|
-
);
|
1550
|
-
exit_wasm(store, exit);
|
1551
|
-
store.0.call_hook(CallHook::ReturningFromWasm)?;
|
1552
|
-
result.map_err(|t| crate::trap::from_runtime_box(store.0, t))
|
1553
|
-
}
|
1554
|
-
}
|
1555
|
-
|
1556
|
-
/// This function is called to register state within `Store` whenever
|
1557
|
-
/// WebAssembly is entered within the `Store`.
|
1558
|
-
///
|
1559
|
-
/// This function sets up various limits such as:
|
1560
|
-
///
|
1561
|
-
/// * The stack limit. This is what ensures that we limit the stack space
|
1562
|
-
/// allocated by WebAssembly code and it's relative to the initial stack
|
1563
|
-
/// pointer that called into wasm.
|
1564
|
-
///
|
1565
|
-
/// This function may fail if the the stack limit can't be set because an
|
1566
|
-
/// interrupt already happened.
|
1567
|
-
fn enter_wasm<T>(store: &mut StoreContextMut<'_, T>) -> Option<usize> {
|
1568
|
-
// If this is a recursive call, e.g. our stack limit is already set, then
|
1569
|
-
// we may be able to skip this function.
|
1570
|
-
//
|
1571
|
-
// For synchronous stores there's nothing else to do because all wasm calls
|
1572
|
-
// happen synchronously and on the same stack. This means that the previous
|
1573
|
-
// stack limit will suffice for the next recursive call.
|
1574
|
-
//
|
1575
|
-
// For asynchronous stores then each call happens on a separate native
|
1576
|
-
// stack. This means that the previous stack limit is no longer relevant
|
1577
|
-
// because we're on a separate stack.
|
1578
|
-
if unsafe { *store.0.runtime_limits().stack_limit.get() } != usize::MAX
|
1579
|
-
&& !store.0.async_support()
|
1580
|
-
{
|
1581
|
-
return None;
|
1582
|
-
}
|
1583
|
-
|
1584
|
-
// Ignore this stack pointer business on miri since we can't execute wasm
|
1585
|
-
// anyway and the concept of a stack pointer on miri is a bit nebulous
|
1586
|
-
// regardless.
|
1587
|
-
if cfg!(miri) {
|
1588
|
-
return None;
|
1589
|
-
}
|
1590
|
-
|
1591
|
-
let stack_pointer = wasmtime_runtime::get_stack_pointer();
|
1592
|
-
|
1593
|
-
// Determine the stack pointer where, after which, any wasm code will
|
1594
|
-
// immediately trap. This is checked on the entry to all wasm functions.
|
1595
|
-
//
|
1596
|
-
// Note that this isn't 100% precise. We are requested to give wasm
|
1597
|
-
// `max_wasm_stack` bytes, but what we're actually doing is giving wasm
|
1598
|
-
// probably a little less than `max_wasm_stack` because we're
|
1599
|
-
// calculating the limit relative to this function's approximate stack
|
1600
|
-
// pointer. Wasm will be executed on a frame beneath this one (or next
|
1601
|
-
// to it). In any case it's expected to be at most a few hundred bytes
|
1602
|
-
// of slop one way or another. When wasm is typically given a MB or so
|
1603
|
-
// (a million bytes) the slop shouldn't matter too much.
|
1604
|
-
//
|
1605
|
-
// After we've got the stack limit then we store it into the `stack_limit`
|
1606
|
-
// variable.
|
1607
|
-
let wasm_stack_limit = stack_pointer - store.engine().config().max_wasm_stack;
|
1608
|
-
let prev_stack = unsafe {
|
1609
|
-
mem::replace(
|
1610
|
-
&mut *store.0.runtime_limits().stack_limit.get(),
|
1611
|
-
wasm_stack_limit,
|
1612
|
-
)
|
1613
|
-
};
|
1614
|
-
|
1615
|
-
Some(prev_stack)
|
1616
|
-
}
|
1617
|
-
|
1618
|
-
fn exit_wasm<T>(store: &mut StoreContextMut<'_, T>, prev_stack: Option<usize>) {
|
1619
|
-
// If we don't have a previous stack pointer to restore, then there's no
|
1620
|
-
// cleanup we need to perform here.
|
1621
|
-
let prev_stack = match prev_stack {
|
1622
|
-
Some(stack) => stack,
|
1623
|
-
None => return,
|
1624
|
-
};
|
1625
|
-
|
1626
|
-
unsafe {
|
1627
|
-
*store.0.runtime_limits().stack_limit.get() = prev_stack;
|
1628
|
-
}
|
1629
|
-
}
|
1630
|
-
|
1631
|
-
/// A trait implemented for types which can be returned from closures passed to
|
1632
|
-
/// [`Func::wrap`] and friends.
|
1633
|
-
///
|
1634
|
-
/// This trait should not be implemented by user types. This trait may change at
|
1635
|
-
/// any time internally. The types which implement this trait, however, are
|
1636
|
-
/// stable over time.
|
1637
|
-
///
|
1638
|
-
/// For more information see [`Func::wrap`]
|
1639
|
-
pub unsafe trait WasmRet {
|
1640
|
-
// Same as `WasmTy::Abi`.
|
1641
|
-
#[doc(hidden)]
|
1642
|
-
type Abi: Copy;
|
1643
|
-
#[doc(hidden)]
|
1644
|
-
type Retptr: Copy;
|
1645
|
-
|
1646
|
-
// Same as `WasmTy::compatible_with_store`.
|
1647
|
-
#[doc(hidden)]
|
1648
|
-
fn compatible_with_store(&self, store: &StoreOpaque) -> bool;
|
1649
|
-
|
1650
|
-
// Similar to `WasmTy::into_abi_for_arg` but used when host code is
|
1651
|
-
// returning a value into Wasm, rather than host code passing an argument to
|
1652
|
-
// a Wasm call. Unlike `into_abi_for_arg`, implementors of this method can
|
1653
|
-
// raise traps, which means that callers must ensure that
|
1654
|
-
// `invoke_wasm_and_catch_traps` is on the stack, and therefore this method
|
1655
|
-
// is unsafe.
|
1656
|
-
#[doc(hidden)]
|
1657
|
-
unsafe fn into_abi_for_ret(
|
1658
|
-
self,
|
1659
|
-
store: &mut StoreOpaque,
|
1660
|
-
ptr: Self::Retptr,
|
1661
|
-
) -> Result<Self::Abi>;
|
1662
|
-
|
1663
|
-
#[doc(hidden)]
|
1664
|
-
fn func_type(engine: &Engine, params: impl Iterator<Item = ValType>) -> FuncType;
|
1665
|
-
|
1666
|
-
#[doc(hidden)]
|
1667
|
-
unsafe fn wrap_trampoline(ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi);
|
1668
|
-
|
1669
|
-
// Utilities used to convert an instance of this type to a `Result`
|
1670
|
-
// explicitly, used when wrapping async functions which always bottom-out
|
1671
|
-
// in a function that returns a trap because futures can be cancelled.
|
1672
|
-
#[doc(hidden)]
|
1673
|
-
type Fallible: WasmRet<Abi = Self::Abi, Retptr = Self::Retptr>;
|
1674
|
-
#[doc(hidden)]
|
1675
|
-
fn into_fallible(self) -> Self::Fallible;
|
1676
|
-
#[doc(hidden)]
|
1677
|
-
fn fallible_from_error(error: Error) -> Self::Fallible;
|
1678
|
-
}
|
1679
|
-
|
1680
|
-
unsafe impl<T> WasmRet for T
|
1681
|
-
where
|
1682
|
-
T: WasmTy,
|
1683
|
-
{
|
1684
|
-
type Abi = <T as WasmTy>::Abi;
|
1685
|
-
type Retptr = ();
|
1686
|
-
type Fallible = Result<T>;
|
1687
|
-
|
1688
|
-
fn compatible_with_store(&self, store: &StoreOpaque) -> bool {
|
1689
|
-
<Self as WasmTy>::compatible_with_store(self, store)
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
unsafe fn into_abi_for_ret(self, store: &mut StoreOpaque, _retptr: ()) -> Result<Self::Abi> {
|
1693
|
-
Ok(<Self as WasmTy>::into_abi(self, store))
|
1694
|
-
}
|
1695
|
-
|
1696
|
-
fn func_type(engine: &Engine, params: impl Iterator<Item = ValType>) -> FuncType {
|
1697
|
-
FuncType::new(engine, params, Some(<Self as WasmTy>::valtype()))
|
1698
|
-
}
|
1699
|
-
|
1700
|
-
unsafe fn wrap_trampoline(ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi) {
|
1701
|
-
T::abi_into_raw(f(()), ptr);
|
1702
|
-
}
|
1703
|
-
|
1704
|
-
fn into_fallible(self) -> Result<T> {
|
1705
|
-
Ok(self)
|
1706
|
-
}
|
1707
|
-
|
1708
|
-
fn fallible_from_error(error: Error) -> Result<T> {
|
1709
|
-
Err(error)
|
1710
|
-
}
|
1711
|
-
}
|
1712
|
-
|
1713
|
-
unsafe impl<T> WasmRet for Result<T>
|
1714
|
-
where
|
1715
|
-
T: WasmRet,
|
1716
|
-
{
|
1717
|
-
type Abi = <T as WasmRet>::Abi;
|
1718
|
-
type Retptr = <T as WasmRet>::Retptr;
|
1719
|
-
type Fallible = Self;
|
1720
|
-
|
1721
|
-
fn compatible_with_store(&self, store: &StoreOpaque) -> bool {
|
1722
|
-
match self {
|
1723
|
-
Ok(x) => <T as WasmRet>::compatible_with_store(x, store),
|
1724
|
-
Err(_) => true,
|
1725
|
-
}
|
1726
|
-
}
|
1727
|
-
|
1728
|
-
unsafe fn into_abi_for_ret(
|
1729
|
-
self,
|
1730
|
-
store: &mut StoreOpaque,
|
1731
|
-
retptr: Self::Retptr,
|
1732
|
-
) -> Result<Self::Abi> {
|
1733
|
-
self.and_then(|val| val.into_abi_for_ret(store, retptr))
|
1734
|
-
}
|
1735
|
-
|
1736
|
-
fn func_type(engine: &Engine, params: impl Iterator<Item = ValType>) -> FuncType {
|
1737
|
-
T::func_type(engine, params)
|
1738
|
-
}
|
1739
|
-
|
1740
|
-
unsafe fn wrap_trampoline(ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi) {
|
1741
|
-
T::wrap_trampoline(ptr, f)
|
1742
|
-
}
|
1743
|
-
|
1744
|
-
fn into_fallible(self) -> Result<T> {
|
1745
|
-
self
|
1746
|
-
}
|
1747
|
-
|
1748
|
-
fn fallible_from_error(error: Error) -> Result<T> {
|
1749
|
-
Err(error)
|
1750
|
-
}
|
1751
|
-
}
|
1752
|
-
|
1753
|
-
macro_rules! impl_wasm_host_results {
|
1754
|
-
($n:tt $($t:ident)*) => (
|
1755
|
-
#[allow(non_snake_case)]
|
1756
|
-
unsafe impl<$($t),*> WasmRet for ($($t,)*)
|
1757
|
-
where
|
1758
|
-
$($t: WasmTy,)*
|
1759
|
-
($($t::Abi,)*): HostAbi,
|
1760
|
-
{
|
1761
|
-
type Abi = <($($t::Abi,)*) as HostAbi>::Abi;
|
1762
|
-
type Retptr = <($($t::Abi,)*) as HostAbi>::Retptr;
|
1763
|
-
type Fallible = Result<Self>;
|
1764
|
-
|
1765
|
-
#[inline]
|
1766
|
-
fn compatible_with_store(&self, _store: &StoreOpaque) -> bool {
|
1767
|
-
let ($($t,)*) = self;
|
1768
|
-
$( $t.compatible_with_store(_store) && )* true
|
1769
|
-
}
|
1770
|
-
|
1771
|
-
#[inline]
|
1772
|
-
unsafe fn into_abi_for_ret(self, _store: &mut StoreOpaque, ptr: Self::Retptr) -> Result<Self::Abi> {
|
1773
|
-
let ($($t,)*) = self;
|
1774
|
-
let abi = ($($t.into_abi(_store),)*);
|
1775
|
-
Ok(<($($t::Abi,)*) as HostAbi>::into_abi(abi, ptr))
|
1776
|
-
}
|
1777
|
-
|
1778
|
-
fn func_type(engine: &Engine, params: impl Iterator<Item = ValType>) -> FuncType {
|
1779
|
-
FuncType::new(
|
1780
|
-
engine,
|
1781
|
-
params,
|
1782
|
-
IntoIterator::into_iter([$($t::valtype(),)*]),
|
1783
|
-
)
|
1784
|
-
}
|
1785
|
-
|
1786
|
-
#[allow(unused_assignments)]
|
1787
|
-
unsafe fn wrap_trampoline(mut _ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi) {
|
1788
|
-
let ($($t,)*) = <($($t::Abi,)*) as HostAbi>::call(f);
|
1789
|
-
$(
|
1790
|
-
$t::abi_into_raw($t, _ptr);
|
1791
|
-
_ptr = _ptr.add(1);
|
1792
|
-
)*
|
1793
|
-
}
|
1794
|
-
|
1795
|
-
#[inline]
|
1796
|
-
fn into_fallible(self) -> Result<Self> {
|
1797
|
-
Ok(self)
|
1798
|
-
}
|
1799
|
-
|
1800
|
-
#[inline]
|
1801
|
-
fn fallible_from_error(error: Error) -> Result<Self> {
|
1802
|
-
Err(error)
|
1803
|
-
}
|
1804
|
-
}
|
1805
|
-
)
|
1806
|
-
}
|
1807
|
-
|
1808
|
-
for_each_function_signature!(impl_wasm_host_results);
|
1809
|
-
|
1810
|
-
// Internal trait representing how to communicate tuples of return values across
|
1811
|
-
// an ABI boundary. This internally corresponds to the "wasmtime" ABI inside of
|
1812
|
-
// cranelift itself. Notably the first element of each tuple is returned via the
|
1813
|
-
// typical system ABI (e.g. systemv or fastcall depending on platform) and all
|
1814
|
-
// other values are returned packed via the stack.
|
1815
|
-
//
|
1816
|
-
// This trait helps to encapsulate all the details of that.
|
1817
|
-
#[doc(hidden)]
|
1818
|
-
pub trait HostAbi {
|
1819
|
-
// A value returned from native functions which return `Self`
|
1820
|
-
type Abi: Copy;
|
1821
|
-
// A return pointer, added to the end of the argument list, for native
|
1822
|
-
// functions that return `Self`. Note that a 0-sized type here should get
|
1823
|
-
// elided at the ABI level.
|
1824
|
-
type Retptr: Copy;
|
1825
|
-
|
1826
|
-
// Converts a value of `self` into its components. Stores necessary values
|
1827
|
-
// into `ptr` and then returns whatever needs to be returned from the
|
1828
|
-
// function.
|
1829
|
-
unsafe fn into_abi(self, ptr: Self::Retptr) -> Self::Abi;
|
1830
|
-
|
1831
|
-
// Calls `f` with a suitably sized return area and requires `f` to return
|
1832
|
-
// the raw abi value of the first element of our tuple. This will then
|
1833
|
-
// unpack the `Retptr` and assemble it with `Self::Abi` to return an
|
1834
|
-
// instance of the whole tuple.
|
1835
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self;
|
1836
|
-
}
|
1837
|
-
|
1838
|
-
macro_rules! impl_host_abi {
|
1839
|
-
// Base case, everything is `()`
|
1840
|
-
(0) => {
|
1841
|
-
impl HostAbi for () {
|
1842
|
-
type Abi = ();
|
1843
|
-
type Retptr = ();
|
1844
|
-
|
1845
|
-
#[inline]
|
1846
|
-
unsafe fn into_abi(self, _ptr: Self::Retptr) -> Self::Abi {}
|
1847
|
-
|
1848
|
-
#[inline]
|
1849
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self {
|
1850
|
-
f(())
|
1851
|
-
}
|
1852
|
-
}
|
1853
|
-
};
|
1854
|
-
|
1855
|
-
// In the 1-case the retptr is not present, so it's a 0-sized value.
|
1856
|
-
(1 $a:ident) => {
|
1857
|
-
impl<$a: Copy> HostAbi for ($a,) {
|
1858
|
-
type Abi = $a;
|
1859
|
-
type Retptr = ();
|
1860
|
-
|
1861
|
-
unsafe fn into_abi(self, _ptr: Self::Retptr) -> Self::Abi {
|
1862
|
-
self.0
|
1863
|
-
}
|
1864
|
-
|
1865
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self {
|
1866
|
-
(f(()),)
|
1867
|
-
}
|
1868
|
-
}
|
1869
|
-
};
|
1870
|
-
|
1871
|
-
// This is where the more interesting case happens. The first element of the
|
1872
|
-
// tuple is returned via `Abi` and all other elements are returned via
|
1873
|
-
// `Retptr`. We create a `TupleRetNN` structure to represent all of the
|
1874
|
-
// return values here.
|
1875
|
-
//
|
1876
|
-
// Also note that this isn't implemented for the old backend right now due
|
1877
|
-
// to the original author not really being sure how to implement this in the
|
1878
|
-
// old backend.
|
1879
|
-
($n:tt $t:ident $($u:ident)*) => {paste::paste!{
|
1880
|
-
#[doc(hidden)]
|
1881
|
-
#[allow(non_snake_case)]
|
1882
|
-
#[repr(C)]
|
1883
|
-
pub struct [<TupleRet $n>]<$($u,)*> {
|
1884
|
-
$($u: $u,)*
|
1885
|
-
}
|
1886
|
-
|
1887
|
-
#[allow(non_snake_case, unused_assignments)]
|
1888
|
-
impl<$t: Copy, $($u: Copy,)*> HostAbi for ($t, $($u,)*) {
|
1889
|
-
type Abi = $t;
|
1890
|
-
type Retptr = *mut [<TupleRet $n>]<$($u,)*>;
|
1891
|
-
|
1892
|
-
unsafe fn into_abi(self, ptr: Self::Retptr) -> Self::Abi {
|
1893
|
-
let ($t, $($u,)*) = self;
|
1894
|
-
// Store the tail of our tuple into the return pointer...
|
1895
|
-
$((*ptr).$u = $u;)*
|
1896
|
-
// ... and return the head raw.
|
1897
|
-
$t
|
1898
|
-
}
|
1899
|
-
|
1900
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self {
|
1901
|
-
// Create space to store all the return values and then invoke
|
1902
|
-
// the function.
|
1903
|
-
let mut space = std::mem::MaybeUninit::uninit();
|
1904
|
-
let t = f(space.as_mut_ptr());
|
1905
|
-
let space = space.assume_init();
|
1906
|
-
|
1907
|
-
// Use the return value as the head of the tuple and unpack our
|
1908
|
-
// return area to get the rest of the tuple.
|
1909
|
-
(t, $(space.$u,)*)
|
1910
|
-
}
|
1911
|
-
}
|
1912
|
-
}};
|
1913
|
-
}
|
1914
|
-
|
1915
|
-
for_each_function_signature!(impl_host_abi);
|
1916
|
-
|
1917
|
-
/// Internal trait implemented for all arguments that can be passed to
|
1918
|
-
/// [`Func::wrap`] and [`Linker::func_wrap`](crate::Linker::func_wrap).
|
1919
|
-
///
|
1920
|
-
/// This trait should not be implemented by external users, it's only intended
|
1921
|
-
/// as an implementation detail of this crate.
|
1922
|
-
pub trait IntoFunc<T, Params, Results>: Send + Sync + 'static {
|
1923
|
-
/// Convert this function into a `VM{Array,Native}CallHostFuncContext` and
|
1924
|
-
/// internal `VMFuncRef`.
|
1925
|
-
#[doc(hidden)]
|
1926
|
-
fn into_func(self, engine: &Engine) -> HostContext;
|
1927
|
-
}
|
1928
|
-
|
1929
|
-
/// A structure representing the caller's context when creating a function
|
1930
|
-
/// via [`Func::wrap`].
|
1931
|
-
///
|
1932
|
-
/// This structure can be taken as the first parameter of a closure passed to
|
1933
|
-
/// [`Func::wrap`] or other constructors, and serves two purposes:
|
1934
|
-
///
|
1935
|
-
/// * First consumers can use [`Caller<'_, T>`](crate::Caller) to get access to
|
1936
|
-
/// [`StoreContextMut<'_, T>`](crate::StoreContextMut) and/or get access to
|
1937
|
-
/// `T` itself. This means that the [`Caller`] type can serve as a proxy to
|
1938
|
-
/// the original [`Store`](crate::Store) itself and is used to satisfy
|
1939
|
-
/// [`AsContext`] and [`AsContextMut`] bounds.
|
1940
|
-
///
|
1941
|
-
/// * Second a [`Caller`] can be used as the name implies, learning about the
|
1942
|
-
/// caller's context, namely it's exported memory and exported functions. This
|
1943
|
-
/// allows functions which take pointers as arguments to easily read the
|
1944
|
-
/// memory the pointers point into, or if a function is expected to call
|
1945
|
-
/// malloc in the wasm module to reserve space for the output you can do that.
|
1946
|
-
///
|
1947
|
-
/// Host functions which want access to [`Store`](crate::Store)-level state are
|
1948
|
-
/// recommended to use this type.
|
1949
|
-
pub struct Caller<'a, T> {
|
1950
|
-
pub(crate) store: StoreContextMut<'a, T>,
|
1951
|
-
caller: &'a wasmtime_runtime::Instance,
|
1952
|
-
}
|
1953
|
-
|
1954
|
-
impl<T> Caller<'_, T> {
|
1955
|
-
unsafe fn with<R>(caller: *mut VMContext, f: impl FnOnce(Caller<'_, T>) -> R) -> R {
|
1956
|
-
assert!(!caller.is_null());
|
1957
|
-
wasmtime_runtime::Instance::from_vmctx(caller, |instance| {
|
1958
|
-
let store = StoreContextMut::from_raw(instance.store());
|
1959
|
-
f(Caller {
|
1960
|
-
store,
|
1961
|
-
caller: &instance,
|
1962
|
-
})
|
1963
|
-
})
|
1964
|
-
}
|
1965
|
-
|
1966
|
-
fn sub_caller(&mut self) -> Caller<'_, T> {
|
1967
|
-
Caller {
|
1968
|
-
store: self.store.as_context_mut(),
|
1969
|
-
caller: self.caller,
|
1970
|
-
}
|
1971
|
-
}
|
1972
|
-
|
1973
|
-
/// Looks up an export from the caller's module by the `name` given.
|
1974
|
-
///
|
1975
|
-
/// This is a low-level function that's typically used to implement passing
|
1976
|
-
/// of pointers or indices between core Wasm instances, where the callee
|
1977
|
-
/// needs to consult the caller's exports to perform memory management and
|
1978
|
-
/// resolve the references.
|
1979
|
-
///
|
1980
|
-
/// For comparison, in components, the component model handles translating
|
1981
|
-
/// arguments from one component instance to another and managing memory, so
|
1982
|
-
/// that callees don't need to be aware of their callers, which promotes
|
1983
|
-
/// virtualizability of APIs.
|
1984
|
-
///
|
1985
|
-
/// # Return
|
1986
|
-
///
|
1987
|
-
/// If an export with the `name` provided was found, then it is returned as an
|
1988
|
-
/// `Extern`. There are a number of situations, however, where the export may not
|
1989
|
-
/// be available:
|
1990
|
-
///
|
1991
|
-
/// * The caller instance may not have an export named `name`
|
1992
|
-
/// * There may not be a caller available, for example if `Func` was called
|
1993
|
-
/// directly from host code.
|
1994
|
-
///
|
1995
|
-
/// It's recommended to take care when calling this API and gracefully
|
1996
|
-
/// handling a `None` return value.
|
1997
|
-
pub fn get_export(&mut self, name: &str) -> Option<Extern> {
|
1998
|
-
// All instances created have a `host_state` with a pointer pointing
|
1999
|
-
// back to themselves. If this caller doesn't have that `host_state`
|
2000
|
-
// then it probably means it was a host-created object like `Func::new`
|
2001
|
-
// which doesn't have any exports we want to return anyway.
|
2002
|
-
self.caller
|
2003
|
-
.host_state()
|
2004
|
-
.downcast_ref::<Instance>()?
|
2005
|
-
.get_export(&mut self.store, name)
|
2006
|
-
}
|
2007
|
-
|
2008
|
-
/// Access the underlying data owned by this `Store`.
|
2009
|
-
///
|
2010
|
-
/// Same as [`Store::data`](crate::Store::data)
|
2011
|
-
pub fn data(&self) -> &T {
|
2012
|
-
self.store.data()
|
2013
|
-
}
|
2014
|
-
|
2015
|
-
/// Access the underlying data owned by this `Store`.
|
2016
|
-
///
|
2017
|
-
/// Same as [`Store::data_mut`](crate::Store::data_mut)
|
2018
|
-
pub fn data_mut(&mut self) -> &mut T {
|
2019
|
-
self.store.data_mut()
|
2020
|
-
}
|
2021
|
-
|
2022
|
-
/// Returns the underlying [`Engine`] this store is connected to.
|
2023
|
-
pub fn engine(&self) -> &Engine {
|
2024
|
-
self.store.engine()
|
2025
|
-
}
|
2026
|
-
|
2027
|
-
/// Perform garbage collection of `ExternRef`s.
|
2028
|
-
///
|
2029
|
-
/// Same as [`Store::gc`](crate::Store::gc).
|
2030
|
-
#[cfg(feature = "gc")]
|
2031
|
-
#[cfg_attr(docsrs, doc(cfg(feature = "gc")))]
|
2032
|
-
pub fn gc(&mut self) {
|
2033
|
-
self.store.gc()
|
2034
|
-
}
|
2035
|
-
|
2036
|
-
/// Returns the remaining fuel in the store.
|
2037
|
-
///
|
2038
|
-
/// For more information see [`Store::get_fuel`](crate::Store::get_fuel)
|
2039
|
-
pub fn get_fuel(&self) -> Result<u64> {
|
2040
|
-
self.store.get_fuel()
|
2041
|
-
}
|
2042
|
-
|
2043
|
-
/// Set the amount of fuel in this store to be consumed when executing wasm code.
|
2044
|
-
///
|
2045
|
-
/// For more information see [`Store::set_fuel`](crate::Store::set_fuel)
|
2046
|
-
pub fn set_fuel(&mut self, fuel: u64) -> Result<()> {
|
2047
|
-
self.store.set_fuel(fuel)
|
2048
|
-
}
|
2049
|
-
|
2050
|
-
/// Configures this `Store` to yield while executing futures every N units of fuel.
|
2051
|
-
///
|
2052
|
-
/// For more information see
|
2053
|
-
/// [`Store::fuel_async_yield_interval`](crate::Store::fuel_async_yield_interval)
|
2054
|
-
pub fn fuel_async_yield_interval(&mut self, interval: Option<u64>) -> Result<()> {
|
2055
|
-
self.store.fuel_async_yield_interval(interval)
|
2056
|
-
}
|
2057
|
-
}
|
2058
|
-
|
2059
|
-
impl<T> AsContext for Caller<'_, T> {
|
2060
|
-
type Data = T;
|
2061
|
-
fn as_context(&self) -> StoreContext<'_, T> {
|
2062
|
-
self.store.as_context()
|
2063
|
-
}
|
2064
|
-
}
|
2065
|
-
|
2066
|
-
impl<T> AsContextMut for Caller<'_, T> {
|
2067
|
-
fn as_context_mut(&mut self) -> StoreContextMut<'_, T> {
|
2068
|
-
self.store.as_context_mut()
|
2069
|
-
}
|
2070
|
-
}
|
2071
|
-
|
2072
|
-
// State stored inside a `VMNativeCallHostFuncContext`.
|
2073
|
-
struct HostFuncState<F> {
|
2074
|
-
// The actual host function.
|
2075
|
-
func: F,
|
2076
|
-
|
2077
|
-
// NB: We have to keep our `VMSharedTypeIndex` registered in the engine for
|
2078
|
-
// as long as this function exists.
|
2079
|
-
#[allow(dead_code)]
|
2080
|
-
ty: RegisteredType,
|
2081
|
-
}
|
2082
|
-
|
2083
|
-
macro_rules! impl_into_func {
|
2084
|
-
($num:tt $($args:ident)*) => {
|
2085
|
-
// Implement for functions without a leading `&Caller` parameter,
|
2086
|
-
// delegating to the implementation below which does have the leading
|
2087
|
-
// `Caller` parameter.
|
2088
|
-
#[allow(non_snake_case)]
|
2089
|
-
impl<T, F, $($args,)* R> IntoFunc<T, ($($args,)*), R> for F
|
2090
|
-
where
|
2091
|
-
F: Fn($($args),*) -> R + Send + Sync + 'static,
|
2092
|
-
$($args: WasmTy,)*
|
2093
|
-
R: WasmRet,
|
2094
|
-
{
|
2095
|
-
fn into_func(self, engine: &Engine) -> HostContext {
|
2096
|
-
let f = move |_: Caller<'_, T>, $($args:$args),*| {
|
2097
|
-
self($($args),*)
|
2098
|
-
};
|
2099
|
-
|
2100
|
-
f.into_func(engine)
|
2101
|
-
}
|
2102
|
-
}
|
2103
|
-
|
2104
|
-
#[allow(non_snake_case)]
|
2105
|
-
impl<T, F, $($args,)* R> IntoFunc<T, (Caller<'_, T>, $($args,)*), R> for F
|
2106
|
-
where
|
2107
|
-
F: Fn(Caller<'_, T>, $($args),*) -> R + Send + Sync + 'static,
|
2108
|
-
$($args: WasmTy,)*
|
2109
|
-
R: WasmRet,
|
2110
|
-
{
|
2111
|
-
fn into_func(self, engine: &Engine) -> HostContext {
|
2112
|
-
/// This shim is a regular, non-closure function we can stuff
|
2113
|
-
/// inside `VMFuncRef::native_call`.
|
2114
|
-
///
|
2115
|
-
/// It reads the actual callee closure out of
|
2116
|
-
/// `VMNativeCallHostFuncContext::host_state`, forwards
|
2117
|
-
/// arguments to that function, and finally forwards the results
|
2118
|
-
/// back out to the caller. It also handles traps and panics
|
2119
|
-
/// along the way.
|
2120
|
-
unsafe extern "C" fn native_call_shim<T, F, $($args,)* R>(
|
2121
|
-
vmctx: *mut VMOpaqueContext,
|
2122
|
-
caller_vmctx: *mut VMOpaqueContext,
|
2123
|
-
$( $args: $args::Abi, )*
|
2124
|
-
retptr: R::Retptr,
|
2125
|
-
) -> R::Abi
|
2126
|
-
where
|
2127
|
-
F: Fn(Caller<'_, T>, $( $args ),*) -> R + 'static,
|
2128
|
-
$( $args: WasmTy, )*
|
2129
|
-
R: WasmRet,
|
2130
|
-
{
|
2131
|
-
enum CallResult<U> {
|
2132
|
-
Ok(U),
|
2133
|
-
Trap(anyhow::Error),
|
2134
|
-
Panic(Box<dyn std::any::Any + Send>),
|
2135
|
-
}
|
2136
|
-
|
2137
|
-
// Note that this `result` is intentionally scoped into a
|
2138
|
-
// separate block. Handling traps and panics will involve
|
2139
|
-
// longjmp-ing from this function which means we won't run
|
2140
|
-
// destructors. As a result anything requiring a destructor
|
2141
|
-
// should be part of this block, and the long-jmp-ing
|
2142
|
-
// happens after the block in handling `CallResult`.
|
2143
|
-
let caller_vmctx = VMContext::from_opaque(caller_vmctx);
|
2144
|
-
let result = Caller::with(caller_vmctx, |mut caller| {
|
2145
|
-
let vmctx = VMNativeCallHostFuncContext::from_opaque(vmctx);
|
2146
|
-
let state = (*vmctx).host_state();
|
2147
|
-
|
2148
|
-
// Double-check ourselves in debug mode, but we control
|
2149
|
-
// the `Any` here so an unsafe downcast should also
|
2150
|
-
// work.
|
2151
|
-
debug_assert!(state.is::<HostFuncState<F>>());
|
2152
|
-
let state = &*(state as *const _ as *const HostFuncState<F>);
|
2153
|
-
let func = &state.func;
|
2154
|
-
|
2155
|
-
let ret = {
|
2156
|
-
panic::catch_unwind(AssertUnwindSafe(|| {
|
2157
|
-
if let Err(trap) = caller.store.0.call_hook(CallHook::CallingHost) {
|
2158
|
-
return R::fallible_from_error(trap);
|
2159
|
-
}
|
2160
|
-
$(let $args = $args::from_abi($args, caller.store.0);)*
|
2161
|
-
let r = func(
|
2162
|
-
caller.sub_caller(),
|
2163
|
-
$( $args, )*
|
2164
|
-
);
|
2165
|
-
if let Err(trap) = caller.store.0.call_hook(CallHook::ReturningFromHost) {
|
2166
|
-
return R::fallible_from_error(trap);
|
2167
|
-
}
|
2168
|
-
r.into_fallible()
|
2169
|
-
}))
|
2170
|
-
};
|
2171
|
-
|
2172
|
-
// Note that we need to be careful when dealing with traps
|
2173
|
-
// here. Traps are implemented with longjmp/setjmp meaning
|
2174
|
-
// that it's not unwinding and consequently no Rust
|
2175
|
-
// destructors are run. We need to be careful to ensure that
|
2176
|
-
// nothing on the stack needs a destructor when we exit
|
2177
|
-
// abnormally from this `match`, e.g. on `Err`, on
|
2178
|
-
// cross-store-issues, or if `Ok(Err)` is raised.
|
2179
|
-
match ret {
|
2180
|
-
Err(panic) => CallResult::Panic(panic),
|
2181
|
-
Ok(ret) => {
|
2182
|
-
// Because the wrapped function is not `unsafe`, we
|
2183
|
-
// can't assume it returned a value that is
|
2184
|
-
// compatible with this store.
|
2185
|
-
if !ret.compatible_with_store(caller.store.0) {
|
2186
|
-
CallResult::Trap(anyhow::anyhow!("host function attempted to return cross-`Store` value to Wasm"))
|
2187
|
-
} else {
|
2188
|
-
match ret.into_abi_for_ret(caller.store.0, retptr) {
|
2189
|
-
Ok(val) => CallResult::Ok(val),
|
2190
|
-
Err(trap) => CallResult::Trap(trap.into()),
|
2191
|
-
}
|
2192
|
-
}
|
2193
|
-
|
2194
|
-
}
|
2195
|
-
}
|
2196
|
-
});
|
2197
|
-
|
2198
|
-
match result {
|
2199
|
-
CallResult::Ok(val) => val,
|
2200
|
-
CallResult::Trap(err) => crate::trap::raise(err),
|
2201
|
-
CallResult::Panic(panic) => wasmtime_runtime::resume_panic(panic),
|
2202
|
-
}
|
2203
|
-
}
|
2204
|
-
|
2205
|
-
/// This trampoline allows host code to indirectly call the
|
2206
|
-
/// wrapped function (e.g. via `Func::call` on a `funcref` that
|
2207
|
-
/// happens to reference our wrapped function).
|
2208
|
-
///
|
2209
|
-
/// It reads the arguments out of the incoming `args` array,
|
2210
|
-
/// calls the given function pointer, and then stores the result
|
2211
|
-
/// back into the `args` array.
|
2212
|
-
unsafe extern "C" fn array_call_trampoline<T, F, $($args,)* R>(
|
2213
|
-
callee_vmctx: *mut VMOpaqueContext,
|
2214
|
-
caller_vmctx: *mut VMOpaqueContext,
|
2215
|
-
args: *mut ValRaw,
|
2216
|
-
_args_len: usize
|
2217
|
-
)
|
2218
|
-
where
|
2219
|
-
F: Fn(Caller<'_, T>, $( $args ),*) -> R + 'static,
|
2220
|
-
$($args: WasmTy,)*
|
2221
|
-
R: WasmRet,
|
2222
|
-
{
|
2223
|
-
let mut _n = 0;
|
2224
|
-
$(
|
2225
|
-
debug_assert!(_n < _args_len);
|
2226
|
-
let $args = $args::abi_from_raw(args.add(_n));
|
2227
|
-
_n += 1;
|
2228
|
-
)*
|
2229
|
-
|
2230
|
-
R::wrap_trampoline(args, |retptr| {
|
2231
|
-
native_call_shim::<T, F, $( $args, )* R>(callee_vmctx, caller_vmctx, $( $args, )* retptr)
|
2232
|
-
});
|
2233
|
-
}
|
2234
|
-
|
2235
|
-
let ty = R::func_type(
|
2236
|
-
engine,
|
2237
|
-
None::<ValType>.into_iter()
|
2238
|
-
$(.chain(Some($args::valtype())))*
|
2239
|
-
);
|
2240
|
-
let type_index = ty.type_index();
|
2241
|
-
|
2242
|
-
let array_call = array_call_trampoline::<T, F, $($args,)* R>;
|
2243
|
-
let native_call = NonNull::new(native_call_shim::<T, F, $($args,)* R> as *mut _).unwrap();
|
2244
|
-
|
2245
|
-
let ctx = unsafe {
|
2246
|
-
VMNativeCallHostFuncContext::new(
|
2247
|
-
VMFuncRef {
|
2248
|
-
native_call,
|
2249
|
-
array_call,
|
2250
|
-
wasm_call: None,
|
2251
|
-
type_index,
|
2252
|
-
vmctx: ptr::null_mut(),
|
2253
|
-
},
|
2254
|
-
Box::new(HostFuncState {
|
2255
|
-
func: self,
|
2256
|
-
ty: ty.into_registered_type(),
|
2257
|
-
}),
|
2258
|
-
)
|
2259
|
-
};
|
2260
|
-
|
2261
|
-
ctx.into()
|
2262
|
-
}
|
2263
|
-
}
|
2264
|
-
}
|
2265
|
-
}
|
2266
|
-
|
2267
|
-
for_each_function_signature!(impl_into_func);
|
2268
|
-
|
2269
|
-
#[doc(hidden)]
|
2270
|
-
pub enum HostContext {
|
2271
|
-
Native(StoreBox<VMNativeCallHostFuncContext>),
|
2272
|
-
Array(StoreBox<VMArrayCallHostFuncContext>),
|
2273
|
-
}
|
2274
|
-
|
2275
|
-
impl From<StoreBox<VMNativeCallHostFuncContext>> for HostContext {
|
2276
|
-
fn from(ctx: StoreBox<VMNativeCallHostFuncContext>) -> Self {
|
2277
|
-
HostContext::Native(ctx)
|
2278
|
-
}
|
2279
|
-
}
|
2280
|
-
|
2281
|
-
impl From<StoreBox<VMArrayCallHostFuncContext>> for HostContext {
|
2282
|
-
fn from(ctx: StoreBox<VMArrayCallHostFuncContext>) -> Self {
|
2283
|
-
HostContext::Array(ctx)
|
2284
|
-
}
|
2285
|
-
}
|
2286
|
-
|
2287
|
-
/// Representation of a host-defined function.
|
2288
|
-
///
|
2289
|
-
/// This is used for `Func::new` but also for `Linker`-defined functions. For
|
2290
|
-
/// `Func::new` this is stored within a `Store`, and for `Linker`-defined
|
2291
|
-
/// functions they wrap this up in `Arc` to enable shared ownership of this
|
2292
|
-
/// across many stores.
|
2293
|
-
///
|
2294
|
-
/// Technically this structure needs a `<T>` type parameter to connect to the
|
2295
|
-
/// `Store<T>` itself, but that's an unsafe contract of using this for now
|
2296
|
-
/// rather than part of the struct type (to avoid `Func<T>` in the API).
|
2297
|
-
pub(crate) struct HostFunc {
|
2298
|
-
ctx: HostContext,
|
2299
|
-
|
2300
|
-
// Stored to unregister this function's signature with the engine when this
|
2301
|
-
// is dropped.
|
2302
|
-
engine: Engine,
|
2303
|
-
}
|
2304
|
-
|
2305
|
-
impl HostFunc {
|
2306
|
-
/// Analog of [`Func::new`]
|
2307
|
-
///
|
2308
|
-
/// # Panics
|
2309
|
-
///
|
2310
|
-
/// Panics if the given function type is not associated with the given
|
2311
|
-
/// engine.
|
2312
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
2313
|
-
pub fn new<T>(
|
2314
|
-
engine: &Engine,
|
2315
|
-
ty: FuncType,
|
2316
|
-
func: impl Fn(Caller<'_, T>, &[Val], &mut [Val]) -> Result<()> + Send + Sync + 'static,
|
2317
|
-
) -> Self {
|
2318
|
-
assert!(ty.comes_from_same_engine(engine));
|
2319
|
-
let ty_clone = ty.clone();
|
2320
|
-
unsafe {
|
2321
|
-
HostFunc::new_unchecked(engine, ty, move |caller, values| {
|
2322
|
-
Func::invoke(caller, &ty_clone, values, &func)
|
2323
|
-
})
|
2324
|
-
}
|
2325
|
-
}
|
2326
|
-
|
2327
|
-
/// Analog of [`Func::new_unchecked`]
|
2328
|
-
///
|
2329
|
-
/// # Panics
|
2330
|
-
///
|
2331
|
-
/// Panics if the given function type is not associated with the given
|
2332
|
-
/// engine.
|
2333
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
2334
|
-
pub unsafe fn new_unchecked<T>(
|
2335
|
-
engine: &Engine,
|
2336
|
-
ty: FuncType,
|
2337
|
-
func: impl Fn(Caller<'_, T>, &mut [ValRaw]) -> Result<()> + Send + Sync + 'static,
|
2338
|
-
) -> Self {
|
2339
|
-
assert!(ty.comes_from_same_engine(engine));
|
2340
|
-
let func = move |caller_vmctx, values: &mut [ValRaw]| {
|
2341
|
-
Caller::<T>::with(caller_vmctx, |mut caller| {
|
2342
|
-
caller.store.0.call_hook(CallHook::CallingHost)?;
|
2343
|
-
let result = func(caller.sub_caller(), values)?;
|
2344
|
-
caller.store.0.call_hook(CallHook::ReturningFromHost)?;
|
2345
|
-
Ok(result)
|
2346
|
-
})
|
2347
|
-
};
|
2348
|
-
let ctx = crate::trampoline::create_array_call_function(&ty, func, engine)
|
2349
|
-
.expect("failed to create function");
|
2350
|
-
HostFunc::_new(engine, ctx.into())
|
2351
|
-
}
|
2352
|
-
|
2353
|
-
/// Analog of [`Func::wrap`]
|
2354
|
-
pub fn wrap<T, Params, Results>(
|
2355
|
-
engine: &Engine,
|
2356
|
-
func: impl IntoFunc<T, Params, Results>,
|
2357
|
-
) -> Self {
|
2358
|
-
let ctx = func.into_func(engine);
|
2359
|
-
HostFunc::_new(engine, ctx)
|
2360
|
-
}
|
2361
|
-
|
2362
|
-
/// Requires that this function's signature is already registered within
|
2363
|
-
/// `Engine`. This happens automatically during the above two constructors.
|
2364
|
-
fn _new(engine: &Engine, ctx: HostContext) -> Self {
|
2365
|
-
HostFunc {
|
2366
|
-
ctx,
|
2367
|
-
engine: engine.clone(),
|
2368
|
-
}
|
2369
|
-
}
|
2370
|
-
|
2371
|
-
/// Inserts this `HostFunc` into a `Store`, returning the `Func` pointing to
|
2372
|
-
/// it.
|
2373
|
-
///
|
2374
|
-
/// # Unsafety
|
2375
|
-
///
|
2376
|
-
/// Can only be inserted into stores with a matching `T` relative to when
|
2377
|
-
/// this `HostFunc` was first created.
|
2378
|
-
pub unsafe fn to_func(self: &Arc<Self>, store: &mut StoreOpaque) -> Func {
|
2379
|
-
self.validate_store(store);
|
2380
|
-
let me = self.clone();
|
2381
|
-
Func::from_func_kind(FuncKind::SharedHost(me), store)
|
2382
|
-
}
|
2383
|
-
|
2384
|
-
/// Inserts this `HostFunc` into a `Store`, returning the `Func` pointing to
|
2385
|
-
/// it.
|
2386
|
-
///
|
2387
|
-
/// This function is similar to, but not equivalent, to `HostFunc::to_func`.
|
2388
|
-
/// Notably this function requires that the `Arc<Self>` pointer is otherwise
|
2389
|
-
/// rooted within the `StoreOpaque` via another means. When in doubt use
|
2390
|
-
/// `to_func` above as it's safer.
|
2391
|
-
///
|
2392
|
-
/// # Unsafety
|
2393
|
-
///
|
2394
|
-
/// Can only be inserted into stores with a matching `T` relative to when
|
2395
|
-
/// this `HostFunc` was first created.
|
2396
|
-
///
|
2397
|
-
/// Additionally the `&Arc<Self>` is not cloned in this function. Instead a
|
2398
|
-
/// raw pointer to `Self` is stored within the `Store` for this function.
|
2399
|
-
/// The caller must arrange for the `Arc<Self>` to be "rooted" in the store
|
2400
|
-
/// provided via another means, probably by pushing to
|
2401
|
-
/// `StoreOpaque::rooted_host_funcs`.
|
2402
|
-
///
|
2403
|
-
/// Similarly, the caller must arrange for `rooted_func_ref` to be rooted in
|
2404
|
-
/// the same store.
|
2405
|
-
pub unsafe fn to_func_store_rooted(
|
2406
|
-
self: &Arc<Self>,
|
2407
|
-
store: &mut StoreOpaque,
|
2408
|
-
rooted_func_ref: Option<NonNull<VMFuncRef>>,
|
2409
|
-
) -> Func {
|
2410
|
-
self.validate_store(store);
|
2411
|
-
|
2412
|
-
if rooted_func_ref.is_some() {
|
2413
|
-
debug_assert!(self.func_ref().wasm_call.is_none());
|
2414
|
-
debug_assert!(matches!(self.ctx, HostContext::Native(_)));
|
2415
|
-
}
|
2416
|
-
|
2417
|
-
Func::from_func_kind(
|
2418
|
-
FuncKind::RootedHost(RootedHostFunc::new(self, rooted_func_ref)),
|
2419
|
-
store,
|
2420
|
-
)
|
2421
|
-
}
|
2422
|
-
|
2423
|
-
/// Same as [`HostFunc::to_func`], different ownership.
|
2424
|
-
unsafe fn into_func(self, store: &mut StoreOpaque) -> Func {
|
2425
|
-
self.validate_store(store);
|
2426
|
-
Func::from_func_kind(FuncKind::Host(Box::new(self)), store)
|
2427
|
-
}
|
2428
|
-
|
2429
|
-
fn validate_store(&self, store: &mut StoreOpaque) {
|
2430
|
-
// This assert is required to ensure that we can indeed safely insert
|
2431
|
-
// `self` into the `store` provided, otherwise the type information we
|
2432
|
-
// have listed won't be correct. This is possible to hit with the public
|
2433
|
-
// API of Wasmtime, and should be documented in relevant functions.
|
2434
|
-
assert!(
|
2435
|
-
Engine::same(&self.engine, store.engine()),
|
2436
|
-
"cannot use a store with a different engine than a linker was created with",
|
2437
|
-
);
|
2438
|
-
}
|
2439
|
-
|
2440
|
-
pub(crate) fn sig_index(&self) -> VMSharedTypeIndex {
|
2441
|
-
self.func_ref().type_index
|
2442
|
-
}
|
2443
|
-
|
2444
|
-
pub(crate) fn func_ref(&self) -> &VMFuncRef {
|
2445
|
-
match &self.ctx {
|
2446
|
-
HostContext::Native(ctx) => unsafe { (*ctx.get()).func_ref() },
|
2447
|
-
HostContext::Array(ctx) => unsafe { (*ctx.get()).func_ref() },
|
2448
|
-
}
|
2449
|
-
}
|
2450
|
-
|
2451
|
-
pub(crate) fn host_ctx(&self) -> &HostContext {
|
2452
|
-
&self.ctx
|
2453
|
-
}
|
2454
|
-
|
2455
|
-
fn export_func(&self) -> ExportFunction {
|
2456
|
-
ExportFunction {
|
2457
|
-
func_ref: NonNull::from(self.func_ref()),
|
2458
|
-
}
|
2459
|
-
}
|
2460
|
-
}
|
2461
|
-
|
2462
|
-
impl FuncData {
|
2463
|
-
#[inline]
|
2464
|
-
fn export(&self) -> ExportFunction {
|
2465
|
-
self.kind.export()
|
2466
|
-
}
|
2467
|
-
|
2468
|
-
pub(crate) fn sig_index(&self) -> VMSharedTypeIndex {
|
2469
|
-
unsafe { self.export().func_ref.as_ref().type_index }
|
2470
|
-
}
|
2471
|
-
}
|
2472
|
-
|
2473
|
-
impl FuncKind {
|
2474
|
-
#[inline]
|
2475
|
-
fn export(&self) -> ExportFunction {
|
2476
|
-
match self {
|
2477
|
-
FuncKind::StoreOwned { export, .. } => *export,
|
2478
|
-
FuncKind::SharedHost(host) => host.export_func(),
|
2479
|
-
FuncKind::RootedHost(rooted) => ExportFunction {
|
2480
|
-
func_ref: NonNull::from(rooted.func_ref()),
|
2481
|
-
},
|
2482
|
-
FuncKind::Host(host) => host.export_func(),
|
2483
|
-
}
|
2484
|
-
}
|
2485
|
-
}
|
2486
|
-
|
2487
|
-
use self::rooted::*;
|
2488
|
-
|
2489
|
-
/// An inner module is used here to force unsafe construction of
|
2490
|
-
/// `RootedHostFunc` instead of accidentally safely allowing access to its
|
2491
|
-
/// constructor.
|
2492
|
-
mod rooted {
|
2493
|
-
use wasmtime_runtime::{SendSyncPtr, VMFuncRef};
|
2494
|
-
|
2495
|
-
use super::HostFunc;
|
2496
|
-
use std::ptr::NonNull;
|
2497
|
-
use std::sync::Arc;
|
2498
|
-
|
2499
|
-
/// A variant of a pointer-to-a-host-function used in `FuncKind::RootedHost`
|
2500
|
-
/// above.
|
2501
|
-
///
|
2502
|
-
/// For more documentation see `FuncKind::RootedHost`, `InstancePre`, and
|
2503
|
-
/// `HostFunc::to_func_store_rooted`.
|
2504
|
-
pub(crate) struct RootedHostFunc {
|
2505
|
-
func: SendSyncPtr<HostFunc>,
|
2506
|
-
func_ref: Option<SendSyncPtr<VMFuncRef>>,
|
2507
|
-
}
|
2508
|
-
|
2509
|
-
impl RootedHostFunc {
|
2510
|
-
/// Note that this is `unsafe` because this wrapper type allows safe
|
2511
|
-
/// access to the pointer given at any time, including outside the
|
2512
|
-
/// window of validity of `func`, so callers must not use the return
|
2513
|
-
/// value past the lifetime of the provided `func`.
|
2514
|
-
///
|
2515
|
-
/// Similarly, callers must ensure that the given `func_ref` is valid
|
2516
|
-
/// for the liftime of the return value.
|
2517
|
-
pub(crate) unsafe fn new(
|
2518
|
-
func: &Arc<HostFunc>,
|
2519
|
-
func_ref: Option<NonNull<VMFuncRef>>,
|
2520
|
-
) -> RootedHostFunc {
|
2521
|
-
RootedHostFunc {
|
2522
|
-
func: NonNull::from(&**func).into(),
|
2523
|
-
func_ref: func_ref.map(|p| p.into()),
|
2524
|
-
}
|
2525
|
-
}
|
2526
|
-
|
2527
|
-
pub(crate) fn func(&self) -> &HostFunc {
|
2528
|
-
// Safety invariants are upheld by the `RootedHostFunc::new` caller.
|
2529
|
-
unsafe { self.func.as_ref() }
|
2530
|
-
}
|
2531
|
-
|
2532
|
-
pub(crate) fn func_ref(&self) -> &VMFuncRef {
|
2533
|
-
if let Some(f) = self.func_ref {
|
2534
|
-
// Safety invariants are upheld by the `RootedHostFunc::new` caller.
|
2535
|
-
unsafe { f.as_ref() }
|
2536
|
-
} else {
|
2537
|
-
self.func().func_ref()
|
2538
|
-
}
|
2539
|
-
}
|
2540
|
-
}
|
2541
|
-
}
|
2542
|
-
|
2543
|
-
#[cfg(test)]
|
2544
|
-
mod tests {
|
2545
|
-
use super::*;
|
2546
|
-
use crate::Store;
|
2547
|
-
|
2548
|
-
#[test]
|
2549
|
-
fn hash_key_is_stable_across_duplicate_store_data_entries() -> Result<()> {
|
2550
|
-
let mut store = Store::<()>::default();
|
2551
|
-
let module = Module::new(
|
2552
|
-
store.engine(),
|
2553
|
-
r#"
|
2554
|
-
(module
|
2555
|
-
(func (export "f")
|
2556
|
-
nop
|
2557
|
-
)
|
2558
|
-
)
|
2559
|
-
"#,
|
2560
|
-
)?;
|
2561
|
-
let instance = Instance::new(&mut store, &module, &[])?;
|
2562
|
-
|
2563
|
-
// Each time we `get_func`, we call `Func::from_wasmtime` which adds a
|
2564
|
-
// new entry to `StoreData`, so `f1` and `f2` will have different
|
2565
|
-
// indices into `StoreData`.
|
2566
|
-
let f1 = instance.get_func(&mut store, "f").unwrap();
|
2567
|
-
let f2 = instance.get_func(&mut store, "f").unwrap();
|
2568
|
-
|
2569
|
-
// But their hash keys are the same.
|
2570
|
-
assert!(
|
2571
|
-
f1.hash_key(&mut store.as_context_mut().0)
|
2572
|
-
== f2.hash_key(&mut store.as_context_mut().0)
|
2573
|
-
);
|
2574
|
-
|
2575
|
-
// But the hash keys are different from different funcs.
|
2576
|
-
let instance2 = Instance::new(&mut store, &module, &[])?;
|
2577
|
-
let f3 = instance2.get_func(&mut store, "f").unwrap();
|
2578
|
-
assert!(
|
2579
|
-
f1.hash_key(&mut store.as_context_mut().0)
|
2580
|
-
!= f3.hash_key(&mut store.as_context_mut().0)
|
2581
|
-
);
|
2582
|
-
|
2583
|
-
Ok(())
|
2584
|
-
}
|
2585
|
-
}
|