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,4074 +0,0 @@
|
|
1
|
-
/* Copyright 2019 Mozilla Foundation
|
2
|
-
*
|
3
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
* you may not use this file except in compliance with the License.
|
5
|
-
* You may obtain a copy of the License at
|
6
|
-
*
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
*
|
9
|
-
* Unless required by applicable law or agreed to in writing, software
|
10
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
* See the License for the specific language governing permissions and
|
13
|
-
* limitations under the License.
|
14
|
-
*/
|
15
|
-
|
16
|
-
// The basic validation algorithm here is copied from the "Validation
|
17
|
-
// Algorithm" section of the WebAssembly specification -
|
18
|
-
// https://webassembly.github.io/spec/core/appendix/algorithm.html.
|
19
|
-
//
|
20
|
-
// That algorithm is followed pretty closely here, namely `push_operand`,
|
21
|
-
// `pop_operand`, `push_ctrl`, and `pop_ctrl`. If anything here is a bit
|
22
|
-
// confusing it's recommended to read over that section to see how it maps to
|
23
|
-
// the various methods here.
|
24
|
-
|
25
|
-
use crate::{
|
26
|
-
limits::MAX_WASM_FUNCTION_LOCALS, ArrayType, BinaryReaderError, BlockType, BrTable, Catch,
|
27
|
-
CompositeType, FieldType, FuncType, HeapType, Ieee32, Ieee64, MemArg, RefType, Result,
|
28
|
-
StorageType, StructType, SubType, TryTable, UnpackedIndex, ValType, VisitOperator,
|
29
|
-
WasmFeatures, WasmModuleResources, V128,
|
30
|
-
};
|
31
|
-
use std::ops::{Deref, DerefMut};
|
32
|
-
|
33
|
-
pub(crate) struct OperatorValidator {
|
34
|
-
pub(super) locals: Locals,
|
35
|
-
pub(super) local_inits: Vec<bool>,
|
36
|
-
|
37
|
-
// This is a list of flags for wasm features which are used to gate various
|
38
|
-
// instructions.
|
39
|
-
pub(crate) features: WasmFeatures,
|
40
|
-
|
41
|
-
// Temporary storage used during `pop_push_label_types` and various
|
42
|
-
// branching instructions.
|
43
|
-
popped_types_tmp: Vec<MaybeType>,
|
44
|
-
|
45
|
-
/// The `control` list is the list of blocks that we're currently in.
|
46
|
-
control: Vec<Frame>,
|
47
|
-
/// The `operands` is the current type stack.
|
48
|
-
operands: Vec<MaybeType>,
|
49
|
-
/// When local_inits is modified, the relevant index is recorded here to be
|
50
|
-
/// undone when control pops
|
51
|
-
inits: Vec<u32>,
|
52
|
-
|
53
|
-
/// Offset of the `end` instruction which emptied the `control` stack, which
|
54
|
-
/// must be the end of the function.
|
55
|
-
end_which_emptied_control: Option<usize>,
|
56
|
-
}
|
57
|
-
|
58
|
-
// No science was performed in the creation of this number, feel free to change
|
59
|
-
// it if you so like.
|
60
|
-
const MAX_LOCALS_TO_TRACK: usize = 50;
|
61
|
-
|
62
|
-
pub(super) struct Locals {
|
63
|
-
// Total number of locals in the function.
|
64
|
-
num_locals: u32,
|
65
|
-
|
66
|
-
// The first MAX_LOCALS_TO_TRACK locals in a function. This is used to
|
67
|
-
// optimize the theoretically common case where most functions don't have
|
68
|
-
// many locals and don't need a full binary search in the entire local space
|
69
|
-
// below.
|
70
|
-
first: Vec<ValType>,
|
71
|
-
|
72
|
-
// This is a "compressed" list of locals for this function. The list of
|
73
|
-
// locals are represented as a list of tuples. The second element is the
|
74
|
-
// type of the local, and the first element is monotonically increasing as
|
75
|
-
// you visit elements of this list. The first element is the maximum index
|
76
|
-
// of the local, after the previous index, of the type specified.
|
77
|
-
//
|
78
|
-
// This allows us to do a binary search on the list for a local's index for
|
79
|
-
// `local.{get,set,tee}`. We do a binary search for the index desired, and
|
80
|
-
// it either lies in a "hole" where the maximum index is specified later,
|
81
|
-
// or it's at the end of the list meaning it's out of bounds.
|
82
|
-
all: Vec<(u32, ValType)>,
|
83
|
-
}
|
84
|
-
|
85
|
-
/// A Wasm control flow block on the control flow stack during Wasm validation.
|
86
|
-
//
|
87
|
-
// # Dev. Note
|
88
|
-
//
|
89
|
-
// This structure corresponds to `ctrl_frame` as specified at in the validation
|
90
|
-
// appendix of the wasm spec
|
91
|
-
#[derive(Debug, Copy, Clone)]
|
92
|
-
pub struct Frame {
|
93
|
-
/// Indicator for what kind of instruction pushed this frame.
|
94
|
-
pub kind: FrameKind,
|
95
|
-
/// The type signature of this frame, represented as a singular return type
|
96
|
-
/// or a type index pointing into the module's types.
|
97
|
-
pub block_type: BlockType,
|
98
|
-
/// The index, below which, this frame cannot modify the operand stack.
|
99
|
-
pub height: usize,
|
100
|
-
/// Whether this frame is unreachable so far.
|
101
|
-
pub unreachable: bool,
|
102
|
-
/// The number of initializations in the stack at the time of its creation
|
103
|
-
pub init_height: usize,
|
104
|
-
}
|
105
|
-
|
106
|
-
/// The kind of a control flow [`Frame`].
|
107
|
-
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
108
|
-
pub enum FrameKind {
|
109
|
-
/// A Wasm `block` control block.
|
110
|
-
Block,
|
111
|
-
/// A Wasm `if` control block.
|
112
|
-
If,
|
113
|
-
/// A Wasm `else` control block.
|
114
|
-
Else,
|
115
|
-
/// A Wasm `loop` control block.
|
116
|
-
Loop,
|
117
|
-
/// A Wasm `try` control block.
|
118
|
-
///
|
119
|
-
/// # Note
|
120
|
-
///
|
121
|
-
/// This belongs to the Wasm exception handling proposal.
|
122
|
-
TryTable,
|
123
|
-
}
|
124
|
-
|
125
|
-
struct OperatorValidatorTemp<'validator, 'resources, T> {
|
126
|
-
offset: usize,
|
127
|
-
inner: &'validator mut OperatorValidator,
|
128
|
-
resources: &'resources T,
|
129
|
-
}
|
130
|
-
|
131
|
-
#[derive(Default)]
|
132
|
-
pub struct OperatorValidatorAllocations {
|
133
|
-
popped_types_tmp: Vec<MaybeType>,
|
134
|
-
control: Vec<Frame>,
|
135
|
-
operands: Vec<MaybeType>,
|
136
|
-
local_inits: Vec<bool>,
|
137
|
-
inits: Vec<u32>,
|
138
|
-
locals_first: Vec<ValType>,
|
139
|
-
locals_all: Vec<(u32, ValType)>,
|
140
|
-
}
|
141
|
-
|
142
|
-
/// Type storage within the validator.
|
143
|
-
///
|
144
|
-
/// This is used to manage the operand stack and notably isn't just `ValType` to
|
145
|
-
/// handle unreachable code and the "bottom" type.
|
146
|
-
#[derive(Debug, Copy, Clone)]
|
147
|
-
enum MaybeType {
|
148
|
-
Bot,
|
149
|
-
HeapBot,
|
150
|
-
Type(ValType),
|
151
|
-
}
|
152
|
-
|
153
|
-
// The validator is pretty performance-sensitive and `MaybeType` is the main
|
154
|
-
// unit of storage, so assert that it doesn't exceed 4 bytes which is the
|
155
|
-
// current expected size.
|
156
|
-
const _: () = {
|
157
|
-
assert!(std::mem::size_of::<MaybeType>() == 4);
|
158
|
-
};
|
159
|
-
|
160
|
-
impl std::fmt::Display for MaybeType {
|
161
|
-
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
162
|
-
match self {
|
163
|
-
MaybeType::Bot => write!(f, "bot"),
|
164
|
-
MaybeType::HeapBot => write!(f, "heap-bot"),
|
165
|
-
MaybeType::Type(ty) => std::fmt::Display::fmt(ty, f),
|
166
|
-
}
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
impl From<ValType> for MaybeType {
|
171
|
-
fn from(ty: ValType) -> MaybeType {
|
172
|
-
MaybeType::Type(ty)
|
173
|
-
}
|
174
|
-
}
|
175
|
-
|
176
|
-
impl From<RefType> for MaybeType {
|
177
|
-
fn from(ty: RefType) -> MaybeType {
|
178
|
-
let ty: ValType = ty.into();
|
179
|
-
ty.into()
|
180
|
-
}
|
181
|
-
}
|
182
|
-
|
183
|
-
impl MaybeType {
|
184
|
-
fn as_type(&self) -> Option<ValType> {
|
185
|
-
match *self {
|
186
|
-
Self::Type(ty) => Some(ty),
|
187
|
-
Self::Bot | Self::HeapBot => None,
|
188
|
-
}
|
189
|
-
}
|
190
|
-
}
|
191
|
-
|
192
|
-
impl OperatorValidator {
|
193
|
-
fn new(features: &WasmFeatures, allocs: OperatorValidatorAllocations) -> Self {
|
194
|
-
let OperatorValidatorAllocations {
|
195
|
-
popped_types_tmp,
|
196
|
-
control,
|
197
|
-
operands,
|
198
|
-
local_inits,
|
199
|
-
inits,
|
200
|
-
locals_first,
|
201
|
-
locals_all,
|
202
|
-
} = allocs;
|
203
|
-
debug_assert!(popped_types_tmp.is_empty());
|
204
|
-
debug_assert!(control.is_empty());
|
205
|
-
debug_assert!(operands.is_empty());
|
206
|
-
debug_assert!(local_inits.is_empty());
|
207
|
-
debug_assert!(inits.is_empty());
|
208
|
-
debug_assert!(locals_first.is_empty());
|
209
|
-
debug_assert!(locals_all.is_empty());
|
210
|
-
OperatorValidator {
|
211
|
-
locals: Locals {
|
212
|
-
num_locals: 0,
|
213
|
-
first: locals_first,
|
214
|
-
all: locals_all,
|
215
|
-
},
|
216
|
-
local_inits,
|
217
|
-
inits,
|
218
|
-
features: *features,
|
219
|
-
popped_types_tmp,
|
220
|
-
operands,
|
221
|
-
control,
|
222
|
-
end_which_emptied_control: None,
|
223
|
-
}
|
224
|
-
}
|
225
|
-
|
226
|
-
/// Creates a new operator validator which will be used to validate a
|
227
|
-
/// function whose type is the `ty` index specified.
|
228
|
-
///
|
229
|
-
/// The `resources` are used to learn about the function type underlying
|
230
|
-
/// `ty`.
|
231
|
-
pub fn new_func<T>(
|
232
|
-
ty: u32,
|
233
|
-
offset: usize,
|
234
|
-
features: &WasmFeatures,
|
235
|
-
resources: &T,
|
236
|
-
allocs: OperatorValidatorAllocations,
|
237
|
-
) -> Result<Self>
|
238
|
-
where
|
239
|
-
T: WasmModuleResources,
|
240
|
-
{
|
241
|
-
let mut ret = OperatorValidator::new(features, allocs);
|
242
|
-
ret.control.push(Frame {
|
243
|
-
kind: FrameKind::Block,
|
244
|
-
block_type: BlockType::FuncType(ty),
|
245
|
-
height: 0,
|
246
|
-
unreachable: false,
|
247
|
-
init_height: 0,
|
248
|
-
});
|
249
|
-
let params = OperatorValidatorTemp {
|
250
|
-
// This offset is used by the `func_type_at` and `inputs`.
|
251
|
-
offset,
|
252
|
-
inner: &mut ret,
|
253
|
-
resources,
|
254
|
-
}
|
255
|
-
.func_type_at(ty)?
|
256
|
-
.params();
|
257
|
-
for ty in params {
|
258
|
-
ret.locals.define(1, *ty);
|
259
|
-
ret.local_inits.push(true);
|
260
|
-
}
|
261
|
-
Ok(ret)
|
262
|
-
}
|
263
|
-
|
264
|
-
/// Creates a new operator validator which will be used to validate an
|
265
|
-
/// `init_expr` constant expression which should result in the `ty`
|
266
|
-
/// specified.
|
267
|
-
pub fn new_const_expr(
|
268
|
-
features: &WasmFeatures,
|
269
|
-
ty: ValType,
|
270
|
-
allocs: OperatorValidatorAllocations,
|
271
|
-
) -> Self {
|
272
|
-
let mut ret = OperatorValidator::new(features, allocs);
|
273
|
-
ret.control.push(Frame {
|
274
|
-
kind: FrameKind::Block,
|
275
|
-
block_type: BlockType::Type(ty),
|
276
|
-
height: 0,
|
277
|
-
unreachable: false,
|
278
|
-
init_height: 0,
|
279
|
-
});
|
280
|
-
ret
|
281
|
-
}
|
282
|
-
|
283
|
-
pub fn define_locals(
|
284
|
-
&mut self,
|
285
|
-
offset: usize,
|
286
|
-
count: u32,
|
287
|
-
mut ty: ValType,
|
288
|
-
resources: &impl WasmModuleResources,
|
289
|
-
) -> Result<()> {
|
290
|
-
resources.check_value_type(&mut ty, &self.features, offset)?;
|
291
|
-
if count == 0 {
|
292
|
-
return Ok(());
|
293
|
-
}
|
294
|
-
if !self.locals.define(count, ty) {
|
295
|
-
return Err(BinaryReaderError::new(
|
296
|
-
"too many locals: locals exceed maximum",
|
297
|
-
offset,
|
298
|
-
));
|
299
|
-
}
|
300
|
-
self.local_inits
|
301
|
-
.resize(self.local_inits.len() + count as usize, ty.is_defaultable());
|
302
|
-
Ok(())
|
303
|
-
}
|
304
|
-
|
305
|
-
/// Returns the current operands stack height.
|
306
|
-
pub fn operand_stack_height(&self) -> usize {
|
307
|
-
self.operands.len()
|
308
|
-
}
|
309
|
-
|
310
|
-
/// Returns the optional value type of the value operand at the given
|
311
|
-
/// `depth` from the top of the operand stack.
|
312
|
-
///
|
313
|
-
/// - Returns `None` if the `depth` is out of bounds.
|
314
|
-
/// - Returns `Some(None)` if there is a value with unknown type
|
315
|
-
/// at the given `depth`.
|
316
|
-
///
|
317
|
-
/// # Note
|
318
|
-
///
|
319
|
-
/// A `depth` of 0 will refer to the last operand on the stack.
|
320
|
-
pub fn peek_operand_at(&self, depth: usize) -> Option<Option<ValType>> {
|
321
|
-
Some(match self.operands.iter().rev().nth(depth)? {
|
322
|
-
MaybeType::Type(t) => Some(*t),
|
323
|
-
MaybeType::Bot | MaybeType::HeapBot => None,
|
324
|
-
})
|
325
|
-
}
|
326
|
-
|
327
|
-
/// Returns the number of frames on the control flow stack.
|
328
|
-
pub fn control_stack_height(&self) -> usize {
|
329
|
-
self.control.len()
|
330
|
-
}
|
331
|
-
|
332
|
-
pub fn get_frame(&self, depth: usize) -> Option<&Frame> {
|
333
|
-
self.control.iter().rev().nth(depth)
|
334
|
-
}
|
335
|
-
|
336
|
-
/// Create a temporary [`OperatorValidatorTemp`] for validation.
|
337
|
-
pub fn with_resources<'a, 'validator, 'resources, T>(
|
338
|
-
&'validator mut self,
|
339
|
-
resources: &'resources T,
|
340
|
-
offset: usize,
|
341
|
-
) -> impl VisitOperator<'a, Output = Result<()>> + 'validator
|
342
|
-
where
|
343
|
-
T: WasmModuleResources,
|
344
|
-
'resources: 'validator,
|
345
|
-
{
|
346
|
-
WasmProposalValidator(OperatorValidatorTemp {
|
347
|
-
offset,
|
348
|
-
inner: self,
|
349
|
-
resources,
|
350
|
-
})
|
351
|
-
}
|
352
|
-
|
353
|
-
pub fn finish(&mut self, offset: usize) -> Result<()> {
|
354
|
-
if self.control.last().is_some() {
|
355
|
-
bail!(
|
356
|
-
offset,
|
357
|
-
"control frames remain at end of function: END opcode expected"
|
358
|
-
);
|
359
|
-
}
|
360
|
-
|
361
|
-
// The `end` opcode is one byte which means that the `offset` here
|
362
|
-
// should point just beyond the `end` opcode which emptied the control
|
363
|
-
// stack. If not that means more instructions were present after the
|
364
|
-
// control stack was emptied.
|
365
|
-
if offset != self.end_which_emptied_control.unwrap() + 1 {
|
366
|
-
return Err(self.err_beyond_end(offset));
|
367
|
-
}
|
368
|
-
Ok(())
|
369
|
-
}
|
370
|
-
|
371
|
-
fn err_beyond_end(&self, offset: usize) -> BinaryReaderError {
|
372
|
-
format_err!(offset, "operators remaining after end of function")
|
373
|
-
}
|
374
|
-
|
375
|
-
pub fn into_allocations(self) -> OperatorValidatorAllocations {
|
376
|
-
fn clear<T>(mut tmp: Vec<T>) -> Vec<T> {
|
377
|
-
tmp.clear();
|
378
|
-
tmp
|
379
|
-
}
|
380
|
-
OperatorValidatorAllocations {
|
381
|
-
popped_types_tmp: clear(self.popped_types_tmp),
|
382
|
-
control: clear(self.control),
|
383
|
-
operands: clear(self.operands),
|
384
|
-
local_inits: clear(self.local_inits),
|
385
|
-
inits: clear(self.inits),
|
386
|
-
locals_first: clear(self.locals.first),
|
387
|
-
locals_all: clear(self.locals.all),
|
388
|
-
}
|
389
|
-
}
|
390
|
-
}
|
391
|
-
|
392
|
-
impl<R> Deref for OperatorValidatorTemp<'_, '_, R> {
|
393
|
-
type Target = OperatorValidator;
|
394
|
-
fn deref(&self) -> &OperatorValidator {
|
395
|
-
self.inner
|
396
|
-
}
|
397
|
-
}
|
398
|
-
|
399
|
-
impl<R> DerefMut for OperatorValidatorTemp<'_, '_, R> {
|
400
|
-
fn deref_mut(&mut self) -> &mut OperatorValidator {
|
401
|
-
self.inner
|
402
|
-
}
|
403
|
-
}
|
404
|
-
|
405
|
-
impl<'resources, R> OperatorValidatorTemp<'_, 'resources, R>
|
406
|
-
where
|
407
|
-
R: WasmModuleResources,
|
408
|
-
{
|
409
|
-
/// Pushes a type onto the operand stack.
|
410
|
-
///
|
411
|
-
/// This is used by instructions to represent a value that is pushed to the
|
412
|
-
/// operand stack. This can fail, but only if `Type` is feature gated.
|
413
|
-
/// Otherwise the push operation always succeeds.
|
414
|
-
fn push_operand<T>(&mut self, ty: T) -> Result<()>
|
415
|
-
where
|
416
|
-
T: Into<MaybeType>,
|
417
|
-
{
|
418
|
-
let maybe_ty = ty.into();
|
419
|
-
|
420
|
-
if cfg!(debug_assertions) {
|
421
|
-
match maybe_ty {
|
422
|
-
MaybeType::Type(ValType::Ref(r)) => match r.heap_type() {
|
423
|
-
HeapType::Concrete(index) => {
|
424
|
-
debug_assert!(
|
425
|
-
matches!(index, UnpackedIndex::Id(_)),
|
426
|
-
"only ref types referencing `CoreTypeId`s can \
|
427
|
-
be pushed to the operand stack"
|
428
|
-
);
|
429
|
-
}
|
430
|
-
_ => {}
|
431
|
-
},
|
432
|
-
_ => {}
|
433
|
-
}
|
434
|
-
}
|
435
|
-
|
436
|
-
self.operands.push(maybe_ty);
|
437
|
-
Ok(())
|
438
|
-
}
|
439
|
-
|
440
|
-
fn push_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<()> {
|
441
|
-
let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
|
442
|
-
|
443
|
-
// Canonicalize the module index into an id.
|
444
|
-
self.resources.check_heap_type(&mut heap_ty, self.offset)?;
|
445
|
-
debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
|
446
|
-
|
447
|
-
let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
|
448
|
-
format_err!(self.offset, "implementation limit: type index too large")
|
449
|
-
})?;
|
450
|
-
|
451
|
-
self.push_operand(ref_ty)
|
452
|
-
}
|
453
|
-
|
454
|
-
fn pop_concrete_ref(&mut self, nullable: bool, type_index: u32) -> Result<MaybeType> {
|
455
|
-
let mut heap_ty = HeapType::Concrete(UnpackedIndex::Module(type_index));
|
456
|
-
|
457
|
-
// Canonicalize the module index into an id.
|
458
|
-
self.resources.check_heap_type(&mut heap_ty, self.offset)?;
|
459
|
-
debug_assert!(matches!(heap_ty, HeapType::Concrete(UnpackedIndex::Id(_))));
|
460
|
-
|
461
|
-
let ref_ty = RefType::new(nullable, heap_ty).ok_or_else(|| {
|
462
|
-
format_err!(self.offset, "implementation limit: type index too large")
|
463
|
-
})?;
|
464
|
-
|
465
|
-
self.pop_operand(Some(ref_ty.into()))
|
466
|
-
}
|
467
|
-
|
468
|
-
/// Pop the given label types, checking that they are indeed present on the
|
469
|
-
/// stack, and then push them back on again.
|
470
|
-
fn pop_push_label_types(
|
471
|
-
&mut self,
|
472
|
-
label_types: impl PreciseIterator<Item = ValType>,
|
473
|
-
) -> Result<()> {
|
474
|
-
for ty in label_types.clone().rev() {
|
475
|
-
self.pop_operand(Some(ty))?;
|
476
|
-
}
|
477
|
-
for ty in label_types {
|
478
|
-
self.push_operand(ty)?;
|
479
|
-
}
|
480
|
-
Ok(())
|
481
|
-
}
|
482
|
-
|
483
|
-
/// Attempts to pop a type from the operand stack.
|
484
|
-
///
|
485
|
-
/// This function is used to remove types from the operand stack. The
|
486
|
-
/// `expected` argument can be used to indicate that a type is required, or
|
487
|
-
/// simply that something is needed to be popped.
|
488
|
-
///
|
489
|
-
/// If `expected` is `Some(T)` then this will be guaranteed to return
|
490
|
-
/// `T`, and it will only return success if the current block is
|
491
|
-
/// unreachable or if `T` was found at the top of the operand stack.
|
492
|
-
///
|
493
|
-
/// If `expected` is `None` then it indicates that something must be on the
|
494
|
-
/// operand stack, but it doesn't matter what's on the operand stack. This
|
495
|
-
/// is useful for polymorphic instructions like `select`.
|
496
|
-
///
|
497
|
-
/// If `Some(T)` is returned then `T` was popped from the operand stack and
|
498
|
-
/// matches `expected`. If `None` is returned then it means that `None` was
|
499
|
-
/// expected and a type was successfully popped, but its exact type is
|
500
|
-
/// indeterminate because the current block is unreachable.
|
501
|
-
fn pop_operand(&mut self, expected: Option<ValType>) -> Result<MaybeType> {
|
502
|
-
// This method is one of the hottest methods in the validator so to
|
503
|
-
// improve codegen this method contains a fast-path success case where
|
504
|
-
// if the top operand on the stack is as expected it's returned
|
505
|
-
// immediately. This is the most common case where the stack will indeed
|
506
|
-
// have the expected type and all we need to do is pop it off.
|
507
|
-
//
|
508
|
-
// Note that this still has to be careful to be correct, though. For
|
509
|
-
// efficiency an operand is unconditionally popped and on success it is
|
510
|
-
// matched against the state of the world to see if we could actually
|
511
|
-
// pop it. If we shouldn't have popped it then it's passed to the slow
|
512
|
-
// path to get pushed back onto the stack.
|
513
|
-
let popped = match self.operands.pop() {
|
514
|
-
Some(MaybeType::Type(actual_ty)) => {
|
515
|
-
if Some(actual_ty) == expected {
|
516
|
-
if let Some(control) = self.control.last() {
|
517
|
-
if self.operands.len() >= control.height {
|
518
|
-
return Ok(MaybeType::Type(actual_ty));
|
519
|
-
}
|
520
|
-
}
|
521
|
-
}
|
522
|
-
Some(MaybeType::Type(actual_ty))
|
523
|
-
}
|
524
|
-
other => other,
|
525
|
-
};
|
526
|
-
|
527
|
-
self._pop_operand(expected, popped)
|
528
|
-
}
|
529
|
-
|
530
|
-
// This is the "real" implementation of `pop_operand` which is 100%
|
531
|
-
// spec-compliant with little attention paid to efficiency since this is the
|
532
|
-
// slow-path from the actual `pop_operand` function above.
|
533
|
-
#[cold]
|
534
|
-
fn _pop_operand(
|
535
|
-
&mut self,
|
536
|
-
expected: Option<ValType>,
|
537
|
-
popped: Option<MaybeType>,
|
538
|
-
) -> Result<MaybeType> {
|
539
|
-
self.operands.extend(popped);
|
540
|
-
let control = match self.control.last() {
|
541
|
-
Some(c) => c,
|
542
|
-
None => return Err(self.err_beyond_end(self.offset)),
|
543
|
-
};
|
544
|
-
let actual = if self.operands.len() == control.height && control.unreachable {
|
545
|
-
MaybeType::Bot
|
546
|
-
} else {
|
547
|
-
if self.operands.len() == control.height {
|
548
|
-
let desc = match expected {
|
549
|
-
Some(ty) => ty_to_str(ty),
|
550
|
-
None => "a type".into(),
|
551
|
-
};
|
552
|
-
bail!(
|
553
|
-
self.offset,
|
554
|
-
"type mismatch: expected {desc} but nothing on stack"
|
555
|
-
)
|
556
|
-
} else {
|
557
|
-
self.operands.pop().unwrap()
|
558
|
-
}
|
559
|
-
};
|
560
|
-
if let Some(expected) = expected {
|
561
|
-
match (actual, expected) {
|
562
|
-
// The bottom type matches all expectations
|
563
|
-
(MaybeType::Bot, _)
|
564
|
-
// The "heap bottom" type only matches other references types,
|
565
|
-
// but not any integer types.
|
566
|
-
| (MaybeType::HeapBot, ValType::Ref(_)) => {}
|
567
|
-
|
568
|
-
// Use the `is_subtype` predicate to test if a found type matches
|
569
|
-
// the expectation.
|
570
|
-
(MaybeType::Type(actual), expected) => {
|
571
|
-
if !self.resources.is_subtype(actual, expected) {
|
572
|
-
bail!(
|
573
|
-
self.offset,
|
574
|
-
"type mismatch: expected {}, found {}",
|
575
|
-
ty_to_str(expected),
|
576
|
-
ty_to_str(actual)
|
577
|
-
);
|
578
|
-
}
|
579
|
-
}
|
580
|
-
|
581
|
-
// A "heap bottom" type cannot match any numeric types.
|
582
|
-
(
|
583
|
-
MaybeType::HeapBot,
|
584
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128,
|
585
|
-
) => {
|
586
|
-
bail!(
|
587
|
-
self.offset,
|
588
|
-
"type mismatch: expected {}, found heap type",
|
589
|
-
ty_to_str(expected)
|
590
|
-
)
|
591
|
-
}
|
592
|
-
}
|
593
|
-
}
|
594
|
-
Ok(actual)
|
595
|
-
}
|
596
|
-
|
597
|
-
fn pop_ref(&mut self) -> Result<Option<RefType>> {
|
598
|
-
match self.pop_operand(None)? {
|
599
|
-
MaybeType::Bot | MaybeType::HeapBot => Ok(None),
|
600
|
-
MaybeType::Type(ValType::Ref(rt)) => Ok(Some(rt)),
|
601
|
-
MaybeType::Type(ty) => bail!(
|
602
|
-
self.offset,
|
603
|
-
"type mismatch: expected ref but found {}",
|
604
|
-
ty_to_str(ty)
|
605
|
-
),
|
606
|
-
}
|
607
|
-
}
|
608
|
-
|
609
|
-
/// Fetches the type for the local at `idx`, returning an error if it's out
|
610
|
-
/// of bounds.
|
611
|
-
fn local(&self, idx: u32) -> Result<ValType> {
|
612
|
-
match self.locals.get(idx) {
|
613
|
-
Some(ty) => Ok(ty),
|
614
|
-
None => bail!(
|
615
|
-
self.offset,
|
616
|
-
"unknown local {}: local index out of bounds",
|
617
|
-
idx
|
618
|
-
),
|
619
|
-
}
|
620
|
-
}
|
621
|
-
|
622
|
-
/// Flags the current control frame as unreachable, additionally truncating
|
623
|
-
/// the currently active operand stack.
|
624
|
-
fn unreachable(&mut self) -> Result<()> {
|
625
|
-
let control = match self.control.last_mut() {
|
626
|
-
Some(frame) => frame,
|
627
|
-
None => return Err(self.err_beyond_end(self.offset)),
|
628
|
-
};
|
629
|
-
control.unreachable = true;
|
630
|
-
let new_height = control.height;
|
631
|
-
self.operands.truncate(new_height);
|
632
|
-
Ok(())
|
633
|
-
}
|
634
|
-
|
635
|
-
/// Pushes a new frame onto the control stack.
|
636
|
-
///
|
637
|
-
/// This operation is used when entering a new block such as an if, loop,
|
638
|
-
/// or block itself. The `kind` of block is specified which indicates how
|
639
|
-
/// breaks interact with this block's type. Additionally the type signature
|
640
|
-
/// of the block is specified by `ty`.
|
641
|
-
fn push_ctrl(&mut self, kind: FrameKind, ty: BlockType) -> Result<()> {
|
642
|
-
// Push a new frame which has a snapshot of the height of the current
|
643
|
-
// operand stack.
|
644
|
-
let height = self.operands.len();
|
645
|
-
let init_height = self.inits.len();
|
646
|
-
self.control.push(Frame {
|
647
|
-
kind,
|
648
|
-
block_type: ty,
|
649
|
-
height,
|
650
|
-
unreachable: false,
|
651
|
-
init_height,
|
652
|
-
});
|
653
|
-
// All of the parameters are now also available in this control frame,
|
654
|
-
// so we push them here in order.
|
655
|
-
for ty in self.params(ty)? {
|
656
|
-
self.push_operand(ty)?;
|
657
|
-
}
|
658
|
-
Ok(())
|
659
|
-
}
|
660
|
-
|
661
|
-
/// Pops a frame from the control stack.
|
662
|
-
///
|
663
|
-
/// This function is used when exiting a block and leaves a block scope.
|
664
|
-
/// Internally this will validate that blocks have the correct result type.
|
665
|
-
fn pop_ctrl(&mut self) -> Result<Frame> {
|
666
|
-
// Read the expected type and expected height of the operand stack the
|
667
|
-
// end of the frame.
|
668
|
-
let frame = match self.control.last() {
|
669
|
-
Some(f) => f,
|
670
|
-
None => return Err(self.err_beyond_end(self.offset)),
|
671
|
-
};
|
672
|
-
let ty = frame.block_type;
|
673
|
-
let height = frame.height;
|
674
|
-
let init_height = frame.init_height;
|
675
|
-
|
676
|
-
// reset_locals in the spec
|
677
|
-
for init in self.inits.split_off(init_height) {
|
678
|
-
self.local_inits[init as usize] = false;
|
679
|
-
}
|
680
|
-
|
681
|
-
// Pop all the result types, in reverse order, from the operand stack.
|
682
|
-
// These types will, possibly, be transferred to the next frame.
|
683
|
-
for ty in self.results(ty)?.rev() {
|
684
|
-
self.pop_operand(Some(ty))?;
|
685
|
-
}
|
686
|
-
|
687
|
-
// Make sure that the operand stack has returned to is original
|
688
|
-
// height...
|
689
|
-
if self.operands.len() != height {
|
690
|
-
bail!(
|
691
|
-
self.offset,
|
692
|
-
"type mismatch: values remaining on stack at end of block"
|
693
|
-
);
|
694
|
-
}
|
695
|
-
|
696
|
-
// And then we can remove it!
|
697
|
-
Ok(self.control.pop().unwrap())
|
698
|
-
}
|
699
|
-
|
700
|
-
/// Validates a relative jump to the `depth` specified.
|
701
|
-
///
|
702
|
-
/// Returns the type signature of the block that we're jumping to as well
|
703
|
-
/// as the kind of block if the jump is valid. Otherwise returns an error.
|
704
|
-
fn jump(&self, depth: u32) -> Result<(BlockType, FrameKind)> {
|
705
|
-
if self.control.is_empty() {
|
706
|
-
return Err(self.err_beyond_end(self.offset));
|
707
|
-
}
|
708
|
-
match (self.control.len() - 1).checked_sub(depth as usize) {
|
709
|
-
Some(i) => {
|
710
|
-
let frame = &self.control[i];
|
711
|
-
Ok((frame.block_type, frame.kind))
|
712
|
-
}
|
713
|
-
None => bail!(self.offset, "unknown label: branch depth too large"),
|
714
|
-
}
|
715
|
-
}
|
716
|
-
|
717
|
-
/// Validates that `memory_index` is valid in this module, and returns the
|
718
|
-
/// type of address used to index the memory specified.
|
719
|
-
fn check_memory_index(&self, memory_index: u32) -> Result<ValType> {
|
720
|
-
match self.resources.memory_at(memory_index) {
|
721
|
-
Some(mem) => Ok(mem.index_type()),
|
722
|
-
None => bail!(self.offset, "unknown memory {}", memory_index),
|
723
|
-
}
|
724
|
-
}
|
725
|
-
|
726
|
-
/// Validates a `memarg for alignment and such (also the memory it
|
727
|
-
/// references), and returns the type of index used to address the memory.
|
728
|
-
fn check_memarg(&self, memarg: MemArg) -> Result<ValType> {
|
729
|
-
let index_ty = self.check_memory_index(memarg.memory)?;
|
730
|
-
if memarg.align > memarg.max_align {
|
731
|
-
bail!(self.offset, "alignment must not be larger than natural");
|
732
|
-
}
|
733
|
-
if index_ty == ValType::I32 && memarg.offset > u64::from(u32::MAX) {
|
734
|
-
bail!(self.offset, "offset out of range: must be <= 2**32");
|
735
|
-
}
|
736
|
-
Ok(index_ty)
|
737
|
-
}
|
738
|
-
|
739
|
-
fn check_floats_enabled(&self) -> Result<()> {
|
740
|
-
if !self.features.floats {
|
741
|
-
bail!(self.offset, "floating-point instruction disallowed");
|
742
|
-
}
|
743
|
-
Ok(())
|
744
|
-
}
|
745
|
-
|
746
|
-
fn check_shared_memarg(&self, memarg: MemArg) -> Result<ValType> {
|
747
|
-
if memarg.align != memarg.max_align {
|
748
|
-
bail!(
|
749
|
-
self.offset,
|
750
|
-
"atomic instructions must always specify maximum alignment"
|
751
|
-
);
|
752
|
-
}
|
753
|
-
self.check_memory_index(memarg.memory)
|
754
|
-
}
|
755
|
-
|
756
|
-
fn check_simd_lane_index(&self, index: u8, max: u8) -> Result<()> {
|
757
|
-
if index >= max {
|
758
|
-
bail!(self.offset, "SIMD index out of bounds");
|
759
|
-
}
|
760
|
-
Ok(())
|
761
|
-
}
|
762
|
-
|
763
|
-
/// Validates a block type, primarily with various in-flight proposals.
|
764
|
-
fn check_block_type(&self, ty: &mut BlockType) -> Result<()> {
|
765
|
-
match ty {
|
766
|
-
BlockType::Empty => Ok(()),
|
767
|
-
BlockType::Type(t) => self
|
768
|
-
.resources
|
769
|
-
.check_value_type(t, &self.features, self.offset),
|
770
|
-
BlockType::FuncType(idx) => {
|
771
|
-
if !self.features.multi_value {
|
772
|
-
bail!(
|
773
|
-
self.offset,
|
774
|
-
"blocks, loops, and ifs may only produce a resulttype \
|
775
|
-
when multi-value is not enabled",
|
776
|
-
);
|
777
|
-
}
|
778
|
-
self.func_type_at(*idx)?;
|
779
|
-
Ok(())
|
780
|
-
}
|
781
|
-
}
|
782
|
-
}
|
783
|
-
|
784
|
-
/// Validates a `call` instruction, ensuring that the function index is
|
785
|
-
/// in-bounds and the right types are on the stack to call the function.
|
786
|
-
fn check_call(&mut self, function_index: u32) -> Result<()> {
|
787
|
-
let ty = match self.resources.type_of_function(function_index) {
|
788
|
-
Some(i) => i,
|
789
|
-
None => {
|
790
|
-
bail!(
|
791
|
-
self.offset,
|
792
|
-
"unknown function {function_index}: function index out of bounds",
|
793
|
-
);
|
794
|
-
}
|
795
|
-
};
|
796
|
-
self.check_call_ty(ty)
|
797
|
-
}
|
798
|
-
|
799
|
-
fn check_call_type_index(&mut self, type_index: u32) -> Result<()> {
|
800
|
-
let ty = self.func_type_at(type_index)?;
|
801
|
-
self.check_call_ty(ty)
|
802
|
-
}
|
803
|
-
|
804
|
-
fn check_call_ty(&mut self, ty: &FuncType) -> Result<()> {
|
805
|
-
for &ty in ty.params().iter().rev() {
|
806
|
-
debug_assert_type_indices_are_ids(ty);
|
807
|
-
self.pop_operand(Some(ty))?;
|
808
|
-
}
|
809
|
-
for &ty in ty.results() {
|
810
|
-
debug_assert_type_indices_are_ids(ty);
|
811
|
-
self.push_operand(ty)?;
|
812
|
-
}
|
813
|
-
Ok(())
|
814
|
-
}
|
815
|
-
|
816
|
-
/// Validates a call to an indirect function, very similar to `check_call`.
|
817
|
-
fn check_call_indirect(&mut self, index: u32, table_index: u32) -> Result<()> {
|
818
|
-
match self.resources.table_at(table_index) {
|
819
|
-
None => {
|
820
|
-
bail!(self.offset, "unknown table: table index out of bounds");
|
821
|
-
}
|
822
|
-
Some(tab) => {
|
823
|
-
if !self
|
824
|
-
.resources
|
825
|
-
.is_subtype(ValType::Ref(tab.element_type), ValType::FUNCREF)
|
826
|
-
{
|
827
|
-
bail!(
|
828
|
-
self.offset,
|
829
|
-
"indirect calls must go through a table with type <= funcref",
|
830
|
-
);
|
831
|
-
}
|
832
|
-
}
|
833
|
-
}
|
834
|
-
let ty = self.func_type_at(index)?;
|
835
|
-
self.pop_operand(Some(ValType::I32))?;
|
836
|
-
for ty in ty.clone().params().iter().rev() {
|
837
|
-
self.pop_operand(Some(*ty))?;
|
838
|
-
}
|
839
|
-
for ty in ty.results() {
|
840
|
-
self.push_operand(*ty)?;
|
841
|
-
}
|
842
|
-
Ok(())
|
843
|
-
}
|
844
|
-
|
845
|
-
/// Validates a `return` instruction, popping types from the operand
|
846
|
-
/// stack that the function needs.
|
847
|
-
fn check_return(&mut self) -> Result<()> {
|
848
|
-
if self.control.is_empty() {
|
849
|
-
return Err(self.err_beyond_end(self.offset));
|
850
|
-
}
|
851
|
-
for ty in self.results(self.control[0].block_type)?.rev() {
|
852
|
-
self.pop_operand(Some(ty))?;
|
853
|
-
}
|
854
|
-
self.unreachable()?;
|
855
|
-
Ok(())
|
856
|
-
}
|
857
|
-
|
858
|
-
/// Checks the validity of a common comparison operator.
|
859
|
-
fn check_cmp_op(&mut self, ty: ValType) -> Result<()> {
|
860
|
-
self.pop_operand(Some(ty))?;
|
861
|
-
self.pop_operand(Some(ty))?;
|
862
|
-
self.push_operand(ValType::I32)?;
|
863
|
-
Ok(())
|
864
|
-
}
|
865
|
-
|
866
|
-
/// Checks the validity of a common float comparison operator.
|
867
|
-
fn check_fcmp_op(&mut self, ty: ValType) -> Result<()> {
|
868
|
-
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
869
|
-
self.check_floats_enabled()?;
|
870
|
-
self.check_cmp_op(ty)
|
871
|
-
}
|
872
|
-
|
873
|
-
/// Checks the validity of a common unary operator.
|
874
|
-
fn check_unary_op(&mut self, ty: ValType) -> Result<()> {
|
875
|
-
self.pop_operand(Some(ty))?;
|
876
|
-
self.push_operand(ty)?;
|
877
|
-
Ok(())
|
878
|
-
}
|
879
|
-
|
880
|
-
/// Checks the validity of a common unary float operator.
|
881
|
-
fn check_funary_op(&mut self, ty: ValType) -> Result<()> {
|
882
|
-
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
883
|
-
self.check_floats_enabled()?;
|
884
|
-
self.check_unary_op(ty)
|
885
|
-
}
|
886
|
-
|
887
|
-
/// Checks the validity of a common conversion operator.
|
888
|
-
fn check_conversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
|
889
|
-
self.pop_operand(Some(from))?;
|
890
|
-
self.push_operand(into)?;
|
891
|
-
Ok(())
|
892
|
-
}
|
893
|
-
|
894
|
-
/// Checks the validity of a common conversion operator.
|
895
|
-
fn check_fconversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
|
896
|
-
debug_assert!(matches!(into, ValType::F32 | ValType::F64));
|
897
|
-
self.check_floats_enabled()?;
|
898
|
-
self.check_conversion_op(into, from)
|
899
|
-
}
|
900
|
-
|
901
|
-
/// Checks the validity of a common binary operator.
|
902
|
-
fn check_binary_op(&mut self, ty: ValType) -> Result<()> {
|
903
|
-
self.pop_operand(Some(ty))?;
|
904
|
-
self.pop_operand(Some(ty))?;
|
905
|
-
self.push_operand(ty)?;
|
906
|
-
Ok(())
|
907
|
-
}
|
908
|
-
|
909
|
-
/// Checks the validity of a common binary float operator.
|
910
|
-
fn check_fbinary_op(&mut self, ty: ValType) -> Result<()> {
|
911
|
-
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
912
|
-
self.check_floats_enabled()?;
|
913
|
-
self.check_binary_op(ty)
|
914
|
-
}
|
915
|
-
|
916
|
-
/// Checks the validity of an atomic load operator.
|
917
|
-
fn check_atomic_load(&mut self, memarg: MemArg, load_ty: ValType) -> Result<()> {
|
918
|
-
let ty = self.check_shared_memarg(memarg)?;
|
919
|
-
self.pop_operand(Some(ty))?;
|
920
|
-
self.push_operand(load_ty)?;
|
921
|
-
Ok(())
|
922
|
-
}
|
923
|
-
|
924
|
-
/// Checks the validity of an atomic store operator.
|
925
|
-
fn check_atomic_store(&mut self, memarg: MemArg, store_ty: ValType) -> Result<()> {
|
926
|
-
let ty = self.check_shared_memarg(memarg)?;
|
927
|
-
self.pop_operand(Some(store_ty))?;
|
928
|
-
self.pop_operand(Some(ty))?;
|
929
|
-
Ok(())
|
930
|
-
}
|
931
|
-
|
932
|
-
/// Checks the validity of a common atomic binary operator.
|
933
|
-
fn check_atomic_binary_op(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
|
934
|
-
let ty = self.check_shared_memarg(memarg)?;
|
935
|
-
self.pop_operand(Some(op_ty))?;
|
936
|
-
self.pop_operand(Some(ty))?;
|
937
|
-
self.push_operand(op_ty)?;
|
938
|
-
Ok(())
|
939
|
-
}
|
940
|
-
|
941
|
-
/// Checks the validity of an atomic compare exchange operator.
|
942
|
-
fn check_atomic_binary_cmpxchg(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
|
943
|
-
let ty = self.check_shared_memarg(memarg)?;
|
944
|
-
self.pop_operand(Some(op_ty))?;
|
945
|
-
self.pop_operand(Some(op_ty))?;
|
946
|
-
self.pop_operand(Some(ty))?;
|
947
|
-
self.push_operand(op_ty)?;
|
948
|
-
Ok(())
|
949
|
-
}
|
950
|
-
|
951
|
-
/// Checks a [`V128`] splat operator.
|
952
|
-
fn check_v128_splat(&mut self, src_ty: ValType) -> Result<()> {
|
953
|
-
self.pop_operand(Some(src_ty))?;
|
954
|
-
self.push_operand(ValType::V128)?;
|
955
|
-
Ok(())
|
956
|
-
}
|
957
|
-
|
958
|
-
/// Checks a [`V128`] binary operator.
|
959
|
-
fn check_v128_binary_op(&mut self) -> Result<()> {
|
960
|
-
self.pop_operand(Some(ValType::V128))?;
|
961
|
-
self.pop_operand(Some(ValType::V128))?;
|
962
|
-
self.push_operand(ValType::V128)?;
|
963
|
-
Ok(())
|
964
|
-
}
|
965
|
-
|
966
|
-
/// Checks a [`V128`] binary float operator.
|
967
|
-
fn check_v128_fbinary_op(&mut self) -> Result<()> {
|
968
|
-
self.check_floats_enabled()?;
|
969
|
-
self.check_v128_binary_op()
|
970
|
-
}
|
971
|
-
|
972
|
-
/// Checks a [`V128`] binary operator.
|
973
|
-
fn check_v128_unary_op(&mut self) -> Result<()> {
|
974
|
-
self.pop_operand(Some(ValType::V128))?;
|
975
|
-
self.push_operand(ValType::V128)?;
|
976
|
-
Ok(())
|
977
|
-
}
|
978
|
-
|
979
|
-
/// Checks a [`V128`] binary operator.
|
980
|
-
fn check_v128_funary_op(&mut self) -> Result<()> {
|
981
|
-
self.check_floats_enabled()?;
|
982
|
-
self.check_v128_unary_op()
|
983
|
-
}
|
984
|
-
|
985
|
-
/// Checks a [`V128`] relaxed ternary operator.
|
986
|
-
fn check_v128_ternary_op(&mut self) -> Result<()> {
|
987
|
-
self.pop_operand(Some(ValType::V128))?;
|
988
|
-
self.pop_operand(Some(ValType::V128))?;
|
989
|
-
self.pop_operand(Some(ValType::V128))?;
|
990
|
-
self.push_operand(ValType::V128)?;
|
991
|
-
Ok(())
|
992
|
-
}
|
993
|
-
|
994
|
-
/// Checks a [`V128`] relaxed ternary operator.
|
995
|
-
fn check_v128_bitmask_op(&mut self) -> Result<()> {
|
996
|
-
self.pop_operand(Some(ValType::V128))?;
|
997
|
-
self.push_operand(ValType::I32)?;
|
998
|
-
Ok(())
|
999
|
-
}
|
1000
|
-
|
1001
|
-
/// Checks a [`V128`] relaxed ternary operator.
|
1002
|
-
fn check_v128_shift_op(&mut self) -> Result<()> {
|
1003
|
-
self.pop_operand(Some(ValType::I32))?;
|
1004
|
-
self.pop_operand(Some(ValType::V128))?;
|
1005
|
-
self.push_operand(ValType::V128)?;
|
1006
|
-
Ok(())
|
1007
|
-
}
|
1008
|
-
|
1009
|
-
/// Checks a [`V128`] common load operator.
|
1010
|
-
fn check_v128_load_op(&mut self, memarg: MemArg) -> Result<()> {
|
1011
|
-
let idx = self.check_memarg(memarg)?;
|
1012
|
-
self.pop_operand(Some(idx))?;
|
1013
|
-
self.push_operand(ValType::V128)?;
|
1014
|
-
Ok(())
|
1015
|
-
}
|
1016
|
-
|
1017
|
-
/// Common helper for `ref.test` and `ref.cast` downcasting/checking
|
1018
|
-
/// instructions. Returns the given `heap_type` as a `ValType`.
|
1019
|
-
fn check_downcast(
|
1020
|
-
&mut self,
|
1021
|
-
nullable: bool,
|
1022
|
-
mut heap_type: HeapType,
|
1023
|
-
inst_name: &str,
|
1024
|
-
) -> Result<ValType> {
|
1025
|
-
self.resources
|
1026
|
-
.check_heap_type(&mut heap_type, self.offset)?;
|
1027
|
-
|
1028
|
-
let sub_ty = RefType::new(nullable, heap_type)
|
1029
|
-
.map(ValType::from)
|
1030
|
-
.ok_or_else(|| {
|
1031
|
-
BinaryReaderError::new("implementation limit: type index too large", self.offset)
|
1032
|
-
})?;
|
1033
|
-
|
1034
|
-
let sup_ty = self.pop_ref()?.unwrap_or_else(|| {
|
1035
|
-
sub_ty
|
1036
|
-
.as_reference_type()
|
1037
|
-
.expect("we created this as a reference just above")
|
1038
|
-
});
|
1039
|
-
let sup_ty = RefType::new(true, self.resources.top_type(&sup_ty.heap_type()))
|
1040
|
-
.expect("can't panic with non-concrete heap types");
|
1041
|
-
|
1042
|
-
if !self.resources.is_subtype(sub_ty, sup_ty.into()) {
|
1043
|
-
bail!(
|
1044
|
-
self.offset,
|
1045
|
-
"{inst_name}'s heap type must be a sub type of the type on the stack: \
|
1046
|
-
{sub_ty} is not a sub type of {sup_ty}"
|
1047
|
-
);
|
1048
|
-
}
|
1049
|
-
|
1050
|
-
Ok(sub_ty)
|
1051
|
-
}
|
1052
|
-
|
1053
|
-
/// Common helper for both nullable and non-nullable variants of `ref.test`
|
1054
|
-
/// instructions.
|
1055
|
-
fn check_ref_test(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
|
1056
|
-
self.check_downcast(nullable, heap_type, "ref.test")?;
|
1057
|
-
self.push_operand(ValType::I32)
|
1058
|
-
}
|
1059
|
-
|
1060
|
-
/// Common helper for both nullable and non-nullable variants of `ref.cast`
|
1061
|
-
/// instructions.
|
1062
|
-
fn check_ref_cast(&mut self, nullable: bool, heap_type: HeapType) -> Result<()> {
|
1063
|
-
let sub_ty = self.check_downcast(nullable, heap_type, "ref.cast")?;
|
1064
|
-
self.push_operand(sub_ty)
|
1065
|
-
}
|
1066
|
-
|
1067
|
-
fn element_type_at(&self, elem_index: u32) -> Result<RefType> {
|
1068
|
-
match self.resources.element_type_at(elem_index) {
|
1069
|
-
Some(ty) => Ok(ty),
|
1070
|
-
None => bail!(
|
1071
|
-
self.offset,
|
1072
|
-
"unknown elem segment {}: segment index out of bounds",
|
1073
|
-
elem_index
|
1074
|
-
),
|
1075
|
-
}
|
1076
|
-
}
|
1077
|
-
|
1078
|
-
fn sub_type_at(&self, at: u32) -> Result<&'resources SubType> {
|
1079
|
-
self.resources
|
1080
|
-
.sub_type_at(at)
|
1081
|
-
.ok_or_else(|| format_err!(self.offset, "unknown type: type index out of bounds"))
|
1082
|
-
}
|
1083
|
-
|
1084
|
-
fn struct_type_at(&self, at: u32) -> Result<&'resources StructType> {
|
1085
|
-
let sub_ty = self.sub_type_at(at)?;
|
1086
|
-
if let CompositeType::Struct(struct_ty) = &sub_ty.composite_type {
|
1087
|
-
Ok(struct_ty)
|
1088
|
-
} else {
|
1089
|
-
bail!(
|
1090
|
-
self.offset,
|
1091
|
-
"expected struct type at index {at}, found {sub_ty}"
|
1092
|
-
)
|
1093
|
-
}
|
1094
|
-
}
|
1095
|
-
|
1096
|
-
fn struct_field_at(&self, struct_type_index: u32, field_index: u32) -> Result<FieldType> {
|
1097
|
-
let field_index = usize::try_from(field_index).map_err(|_| {
|
1098
|
-
BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
|
1099
|
-
})?;
|
1100
|
-
self.struct_type_at(struct_type_index)?
|
1101
|
-
.fields
|
1102
|
-
.get(field_index)
|
1103
|
-
.copied()
|
1104
|
-
.ok_or_else(|| {
|
1105
|
-
BinaryReaderError::new("unknown field: field index out of bounds", self.offset)
|
1106
|
-
})
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
fn array_type_at(&self, at: u32) -> Result<&'resources ArrayType> {
|
1110
|
-
let sub_ty = self.sub_type_at(at)?;
|
1111
|
-
if let CompositeType::Array(array_ty) = &sub_ty.composite_type {
|
1112
|
-
Ok(array_ty)
|
1113
|
-
} else {
|
1114
|
-
bail!(
|
1115
|
-
self.offset,
|
1116
|
-
"expected array type at index {at}, found {sub_ty}"
|
1117
|
-
)
|
1118
|
-
}
|
1119
|
-
}
|
1120
|
-
|
1121
|
-
fn func_type_at(&self, at: u32) -> Result<&'resources FuncType> {
|
1122
|
-
let sub_ty = self.sub_type_at(at)?;
|
1123
|
-
if let CompositeType::Func(func_ty) = &sub_ty.composite_type {
|
1124
|
-
Ok(func_ty)
|
1125
|
-
} else {
|
1126
|
-
bail!(
|
1127
|
-
self.offset,
|
1128
|
-
"expected func type at index {at}, found {sub_ty}"
|
1129
|
-
)
|
1130
|
-
}
|
1131
|
-
}
|
1132
|
-
|
1133
|
-
fn tag_at(&self, at: u32) -> Result<&'resources FuncType> {
|
1134
|
-
self.resources
|
1135
|
-
.tag_at(at)
|
1136
|
-
.ok_or_else(|| format_err!(self.offset, "unknown tag {}: tag index out of bounds", at))
|
1137
|
-
}
|
1138
|
-
|
1139
|
-
fn params(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
1140
|
-
Ok(match ty {
|
1141
|
-
BlockType::Empty | BlockType::Type(_) => Either::B(None.into_iter()),
|
1142
|
-
BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.params().iter().copied()),
|
1143
|
-
})
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
fn results(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
1147
|
-
Ok(match ty {
|
1148
|
-
BlockType::Empty => Either::B(None.into_iter()),
|
1149
|
-
BlockType::Type(t) => Either::B(Some(t).into_iter()),
|
1150
|
-
BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.results().iter().copied()),
|
1151
|
-
})
|
1152
|
-
}
|
1153
|
-
|
1154
|
-
fn label_types(
|
1155
|
-
&self,
|
1156
|
-
ty: BlockType,
|
1157
|
-
kind: FrameKind,
|
1158
|
-
) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
1159
|
-
Ok(match kind {
|
1160
|
-
FrameKind::Loop => Either::A(self.params(ty)?),
|
1161
|
-
_ => Either::B(self.results(ty)?),
|
1162
|
-
})
|
1163
|
-
}
|
1164
|
-
}
|
1165
|
-
|
1166
|
-
pub fn ty_to_str(ty: ValType) -> &'static str {
|
1167
|
-
match ty {
|
1168
|
-
ValType::I32 => "i32",
|
1169
|
-
ValType::I64 => "i64",
|
1170
|
-
ValType::F32 => "f32",
|
1171
|
-
ValType::F64 => "f64",
|
1172
|
-
ValType::V128 => "v128",
|
1173
|
-
ValType::Ref(r) => r.wat(),
|
1174
|
-
}
|
1175
|
-
}
|
1176
|
-
|
1177
|
-
/// A wrapper "visitor" around the real operator validator internally which
|
1178
|
-
/// exists to check that the required wasm feature is enabled to proceed with
|
1179
|
-
/// validation.
|
1180
|
-
///
|
1181
|
-
/// This validator is macro-generated to ensure that the proposal listed in this
|
1182
|
-
/// crate's macro matches the one that's validated here. Each instruction's
|
1183
|
-
/// visit method validates the specified proposal is enabled and then delegates
|
1184
|
-
/// to `OperatorValidatorTemp` to perform the actual opcode validation.
|
1185
|
-
struct WasmProposalValidator<'validator, 'resources, T>(
|
1186
|
-
OperatorValidatorTemp<'validator, 'resources, T>,
|
1187
|
-
);
|
1188
|
-
|
1189
|
-
impl<T> WasmProposalValidator<'_, '_, T> {
|
1190
|
-
fn check_enabled(&self, flag: bool, desc: &str) -> Result<()> {
|
1191
|
-
if flag {
|
1192
|
-
return Ok(());
|
1193
|
-
}
|
1194
|
-
bail!(self.0.offset, "{desc} support is not enabled");
|
1195
|
-
}
|
1196
|
-
}
|
1197
|
-
|
1198
|
-
macro_rules! validate_proposal {
|
1199
|
-
($( @$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
|
1200
|
-
$(
|
1201
|
-
fn $visit(&mut self $($(,$arg: $argty)*)?) -> Result<()> {
|
1202
|
-
validate_proposal!(validate self $proposal);
|
1203
|
-
self.0.$visit($( $($arg),* )?)
|
1204
|
-
}
|
1205
|
-
)*
|
1206
|
-
};
|
1207
|
-
|
1208
|
-
(validate self mvp) => {};
|
1209
|
-
(validate $self:ident $proposal:ident) => {
|
1210
|
-
$self.check_enabled($self.0.features.$proposal, validate_proposal!(desc $proposal))?
|
1211
|
-
};
|
1212
|
-
|
1213
|
-
(desc simd) => ("SIMD");
|
1214
|
-
(desc relaxed_simd) => ("relaxed SIMD");
|
1215
|
-
(desc threads) => ("threads");
|
1216
|
-
(desc saturating_float_to_int) => ("saturating float to int conversions");
|
1217
|
-
(desc reference_types) => ("reference types");
|
1218
|
-
(desc bulk_memory) => ("bulk memory");
|
1219
|
-
(desc sign_extension) => ("sign extension operations");
|
1220
|
-
(desc exceptions) => ("exceptions");
|
1221
|
-
(desc tail_call) => ("tail calls");
|
1222
|
-
(desc function_references) => ("function references");
|
1223
|
-
(desc memory_control) => ("memory control");
|
1224
|
-
(desc gc) => ("gc");
|
1225
|
-
}
|
1226
|
-
|
1227
|
-
impl<'a, T> VisitOperator<'a> for WasmProposalValidator<'_, '_, T>
|
1228
|
-
where
|
1229
|
-
T: WasmModuleResources,
|
1230
|
-
{
|
1231
|
-
type Output = Result<()>;
|
1232
|
-
|
1233
|
-
for_each_operator!(validate_proposal);
|
1234
|
-
}
|
1235
|
-
|
1236
|
-
#[track_caller]
|
1237
|
-
#[inline]
|
1238
|
-
fn debug_assert_type_indices_are_ids(ty: ValType) {
|
1239
|
-
if cfg!(debug_assertions) {
|
1240
|
-
if let ValType::Ref(r) = ty {
|
1241
|
-
if let HeapType::Concrete(idx) = r.heap_type() {
|
1242
|
-
debug_assert!(
|
1243
|
-
matches!(idx, UnpackedIndex::Id(_)),
|
1244
|
-
"type reference should be a `CoreTypeId`, found {idx:?}"
|
1245
|
-
);
|
1246
|
-
}
|
1247
|
-
}
|
1248
|
-
}
|
1249
|
-
}
|
1250
|
-
|
1251
|
-
impl<'a, T> VisitOperator<'a> for OperatorValidatorTemp<'_, '_, T>
|
1252
|
-
where
|
1253
|
-
T: WasmModuleResources,
|
1254
|
-
{
|
1255
|
-
type Output = Result<()>;
|
1256
|
-
|
1257
|
-
fn visit_nop(&mut self) -> Self::Output {
|
1258
|
-
Ok(())
|
1259
|
-
}
|
1260
|
-
fn visit_unreachable(&mut self) -> Self::Output {
|
1261
|
-
self.unreachable()?;
|
1262
|
-
Ok(())
|
1263
|
-
}
|
1264
|
-
fn visit_block(&mut self, mut ty: BlockType) -> Self::Output {
|
1265
|
-
self.check_block_type(&mut ty)?;
|
1266
|
-
for ty in self.params(ty)?.rev() {
|
1267
|
-
self.pop_operand(Some(ty))?;
|
1268
|
-
}
|
1269
|
-
self.push_ctrl(FrameKind::Block, ty)?;
|
1270
|
-
Ok(())
|
1271
|
-
}
|
1272
|
-
fn visit_loop(&mut self, mut ty: BlockType) -> Self::Output {
|
1273
|
-
self.check_block_type(&mut ty)?;
|
1274
|
-
for ty in self.params(ty)?.rev() {
|
1275
|
-
self.pop_operand(Some(ty))?;
|
1276
|
-
}
|
1277
|
-
self.push_ctrl(FrameKind::Loop, ty)?;
|
1278
|
-
Ok(())
|
1279
|
-
}
|
1280
|
-
fn visit_if(&mut self, mut ty: BlockType) -> Self::Output {
|
1281
|
-
self.check_block_type(&mut ty)?;
|
1282
|
-
self.pop_operand(Some(ValType::I32))?;
|
1283
|
-
for ty in self.params(ty)?.rev() {
|
1284
|
-
self.pop_operand(Some(ty))?;
|
1285
|
-
}
|
1286
|
-
self.push_ctrl(FrameKind::If, ty)?;
|
1287
|
-
Ok(())
|
1288
|
-
}
|
1289
|
-
fn visit_else(&mut self) -> Self::Output {
|
1290
|
-
let frame = self.pop_ctrl()?;
|
1291
|
-
if frame.kind != FrameKind::If {
|
1292
|
-
bail!(self.offset, "else found outside of an `if` block");
|
1293
|
-
}
|
1294
|
-
self.push_ctrl(FrameKind::Else, frame.block_type)?;
|
1295
|
-
Ok(())
|
1296
|
-
}
|
1297
|
-
fn visit_try_table(&mut self, mut ty: TryTable) -> Self::Output {
|
1298
|
-
self.check_block_type(&mut ty.ty)?;
|
1299
|
-
for ty in self.params(ty.ty)?.rev() {
|
1300
|
-
self.pop_operand(Some(ty))?;
|
1301
|
-
}
|
1302
|
-
for catch in ty.catches {
|
1303
|
-
match catch {
|
1304
|
-
Catch::One { tag, label } => {
|
1305
|
-
let tag = self.tag_at(tag)?;
|
1306
|
-
let (ty, kind) = self.jump(label)?;
|
1307
|
-
let params = tag.params();
|
1308
|
-
let types = self.label_types(ty, kind)?;
|
1309
|
-
if params.len() != types.len() {
|
1310
|
-
bail!(
|
1311
|
-
self.offset,
|
1312
|
-
"type mismatch: catch label must have same number of types as tag"
|
1313
|
-
);
|
1314
|
-
}
|
1315
|
-
for (expected, actual) in types.zip(params) {
|
1316
|
-
self.push_operand(*actual)?;
|
1317
|
-
self.pop_operand(Some(expected))?;
|
1318
|
-
}
|
1319
|
-
}
|
1320
|
-
Catch::OneRef { tag, label } => {
|
1321
|
-
let tag = self.tag_at(tag)?;
|
1322
|
-
let (ty, kind) = self.jump(label)?;
|
1323
|
-
let params = tag.params().iter().copied();
|
1324
|
-
let types = self.label_types(ty, kind)?;
|
1325
|
-
if params.len() + 1 != types.len() {
|
1326
|
-
bail!(
|
1327
|
-
self.offset,
|
1328
|
-
"type mismatch: catch_ref label must have one \
|
1329
|
-
more type than tag types",
|
1330
|
-
);
|
1331
|
-
}
|
1332
|
-
for (expected, actual) in types.zip(params.chain([ValType::EXNREF])) {
|
1333
|
-
self.push_operand(actual)?;
|
1334
|
-
self.pop_operand(Some(expected))?;
|
1335
|
-
}
|
1336
|
-
}
|
1337
|
-
|
1338
|
-
Catch::All { label } => {
|
1339
|
-
let (ty, kind) = self.jump(label)?;
|
1340
|
-
if self.label_types(ty, kind)?.len() != 0 {
|
1341
|
-
bail!(
|
1342
|
-
self.offset,
|
1343
|
-
"type mismatch: catch_all label must have no result types"
|
1344
|
-
);
|
1345
|
-
}
|
1346
|
-
}
|
1347
|
-
|
1348
|
-
Catch::AllRef { label } => {
|
1349
|
-
let (ty, kind) = self.jump(label)?;
|
1350
|
-
let mut types = self.label_types(ty, kind)?;
|
1351
|
-
match (types.next(), types.next()) {
|
1352
|
-
(Some(ValType::EXNREF), None) => {}
|
1353
|
-
_ => {
|
1354
|
-
bail!(
|
1355
|
-
self.offset,
|
1356
|
-
"type mismatch: catch_all_ref label must have \
|
1357
|
-
one exnref result type"
|
1358
|
-
);
|
1359
|
-
}
|
1360
|
-
}
|
1361
|
-
}
|
1362
|
-
}
|
1363
|
-
}
|
1364
|
-
self.push_ctrl(FrameKind::TryTable, ty.ty)?;
|
1365
|
-
Ok(())
|
1366
|
-
}
|
1367
|
-
fn visit_throw(&mut self, index: u32) -> Self::Output {
|
1368
|
-
// Check values associated with the exception.
|
1369
|
-
let ty = self.tag_at(index)?;
|
1370
|
-
for ty in ty.clone().params().iter().rev() {
|
1371
|
-
self.pop_operand(Some(*ty))?;
|
1372
|
-
}
|
1373
|
-
if ty.results().len() > 0 {
|
1374
|
-
bail!(
|
1375
|
-
self.offset,
|
1376
|
-
"result type expected to be empty for exception"
|
1377
|
-
);
|
1378
|
-
}
|
1379
|
-
self.unreachable()?;
|
1380
|
-
Ok(())
|
1381
|
-
}
|
1382
|
-
fn visit_throw_ref(&mut self) -> Self::Output {
|
1383
|
-
self.pop_operand(Some(ValType::EXNREF))?;
|
1384
|
-
self.unreachable()?;
|
1385
|
-
Ok(())
|
1386
|
-
}
|
1387
|
-
fn visit_try(&mut self, _: BlockType) -> Self::Output {
|
1388
|
-
bail!(self.offset, "unimplemented validation of deprecated opcode")
|
1389
|
-
}
|
1390
|
-
fn visit_catch(&mut self, _: u32) -> Self::Output {
|
1391
|
-
bail!(self.offset, "unimplemented validation of deprecated opcode")
|
1392
|
-
}
|
1393
|
-
fn visit_rethrow(&mut self, _: u32) -> Self::Output {
|
1394
|
-
bail!(self.offset, "unimplemented validation of deprecated opcode")
|
1395
|
-
}
|
1396
|
-
fn visit_delegate(&mut self, _: u32) -> Self::Output {
|
1397
|
-
bail!(self.offset, "unimplemented validation of deprecated opcode")
|
1398
|
-
}
|
1399
|
-
fn visit_catch_all(&mut self) -> Self::Output {
|
1400
|
-
bail!(self.offset, "unimplemented validation of deprecated opcode")
|
1401
|
-
}
|
1402
|
-
fn visit_end(&mut self) -> Self::Output {
|
1403
|
-
let mut frame = self.pop_ctrl()?;
|
1404
|
-
|
1405
|
-
// Note that this `if` isn't included in the appendix right
|
1406
|
-
// now, but it's used to allow for `if` statements that are
|
1407
|
-
// missing an `else` block which have the same parameter/return
|
1408
|
-
// types on the block (since that's valid).
|
1409
|
-
if frame.kind == FrameKind::If {
|
1410
|
-
self.push_ctrl(FrameKind::Else, frame.block_type)?;
|
1411
|
-
frame = self.pop_ctrl()?;
|
1412
|
-
}
|
1413
|
-
for ty in self.results(frame.block_type)? {
|
1414
|
-
self.push_operand(ty)?;
|
1415
|
-
}
|
1416
|
-
|
1417
|
-
if self.control.is_empty() && self.end_which_emptied_control.is_none() {
|
1418
|
-
assert_ne!(self.offset, 0);
|
1419
|
-
self.end_which_emptied_control = Some(self.offset);
|
1420
|
-
}
|
1421
|
-
Ok(())
|
1422
|
-
}
|
1423
|
-
fn visit_br(&mut self, relative_depth: u32) -> Self::Output {
|
1424
|
-
let (ty, kind) = self.jump(relative_depth)?;
|
1425
|
-
for ty in self.label_types(ty, kind)?.rev() {
|
1426
|
-
self.pop_operand(Some(ty))?;
|
1427
|
-
}
|
1428
|
-
self.unreachable()?;
|
1429
|
-
Ok(())
|
1430
|
-
}
|
1431
|
-
fn visit_br_if(&mut self, relative_depth: u32) -> Self::Output {
|
1432
|
-
self.pop_operand(Some(ValType::I32))?;
|
1433
|
-
let (ty, kind) = self.jump(relative_depth)?;
|
1434
|
-
let label_types = self.label_types(ty, kind)?;
|
1435
|
-
self.pop_push_label_types(label_types)?;
|
1436
|
-
Ok(())
|
1437
|
-
}
|
1438
|
-
fn visit_br_table(&mut self, table: BrTable) -> Self::Output {
|
1439
|
-
self.pop_operand(Some(ValType::I32))?;
|
1440
|
-
let default = self.jump(table.default())?;
|
1441
|
-
let default_types = self.label_types(default.0, default.1)?;
|
1442
|
-
for element in table.targets() {
|
1443
|
-
let relative_depth = element?;
|
1444
|
-
let block = self.jump(relative_depth)?;
|
1445
|
-
let label_tys = self.label_types(block.0, block.1)?;
|
1446
|
-
if label_tys.len() != default_types.len() {
|
1447
|
-
bail!(
|
1448
|
-
self.offset,
|
1449
|
-
"type mismatch: br_table target labels have different number of types"
|
1450
|
-
);
|
1451
|
-
}
|
1452
|
-
|
1453
|
-
debug_assert!(self.popped_types_tmp.is_empty());
|
1454
|
-
self.popped_types_tmp.reserve(label_tys.len());
|
1455
|
-
for expected_ty in label_tys.rev() {
|
1456
|
-
let actual_ty = self.pop_operand(Some(expected_ty))?;
|
1457
|
-
self.popped_types_tmp.push(actual_ty);
|
1458
|
-
}
|
1459
|
-
for ty in self.inner.popped_types_tmp.drain(..).rev() {
|
1460
|
-
self.inner.operands.push(ty.into());
|
1461
|
-
}
|
1462
|
-
}
|
1463
|
-
for ty in default_types.rev() {
|
1464
|
-
self.pop_operand(Some(ty))?;
|
1465
|
-
}
|
1466
|
-
self.unreachable()?;
|
1467
|
-
Ok(())
|
1468
|
-
}
|
1469
|
-
fn visit_return(&mut self) -> Self::Output {
|
1470
|
-
self.check_return()?;
|
1471
|
-
Ok(())
|
1472
|
-
}
|
1473
|
-
fn visit_call(&mut self, function_index: u32) -> Self::Output {
|
1474
|
-
self.check_call(function_index)?;
|
1475
|
-
Ok(())
|
1476
|
-
}
|
1477
|
-
fn visit_return_call(&mut self, function_index: u32) -> Self::Output {
|
1478
|
-
self.check_call(function_index)?;
|
1479
|
-
self.check_return()?;
|
1480
|
-
Ok(())
|
1481
|
-
}
|
1482
|
-
fn visit_call_ref(&mut self, type_index: u32) -> Self::Output {
|
1483
|
-
let unpacked_index = UnpackedIndex::Module(type_index);
|
1484
|
-
let mut hty = HeapType::Concrete(unpacked_index);
|
1485
|
-
self.resources.check_heap_type(&mut hty, self.offset)?;
|
1486
|
-
// If `None` is popped then that means a "bottom" type was popped which
|
1487
|
-
// is always considered equivalent to the `hty` tag.
|
1488
|
-
if let Some(rt) = self.pop_ref()? {
|
1489
|
-
let expected = RefType::new(true, hty).expect("hty should be previously validated");
|
1490
|
-
let expected = ValType::Ref(expected);
|
1491
|
-
if !self.resources.is_subtype(ValType::Ref(rt), expected) {
|
1492
|
-
bail!(
|
1493
|
-
self.offset,
|
1494
|
-
"type mismatch: funcref on stack does not match specified type",
|
1495
|
-
);
|
1496
|
-
}
|
1497
|
-
}
|
1498
|
-
self.check_call_type_index(type_index)
|
1499
|
-
}
|
1500
|
-
fn visit_return_call_ref(&mut self, type_index: u32) -> Self::Output {
|
1501
|
-
self.visit_call_ref(type_index)?;
|
1502
|
-
self.check_return()
|
1503
|
-
}
|
1504
|
-
fn visit_call_indirect(
|
1505
|
-
&mut self,
|
1506
|
-
index: u32,
|
1507
|
-
table_index: u32,
|
1508
|
-
table_byte: u8,
|
1509
|
-
) -> Self::Output {
|
1510
|
-
if table_byte != 0 && !self.features.reference_types {
|
1511
|
-
bail!(
|
1512
|
-
self.offset,
|
1513
|
-
"reference-types not enabled: zero byte expected"
|
1514
|
-
);
|
1515
|
-
}
|
1516
|
-
self.check_call_indirect(index, table_index)?;
|
1517
|
-
Ok(())
|
1518
|
-
}
|
1519
|
-
fn visit_return_call_indirect(&mut self, index: u32, table_index: u32) -> Self::Output {
|
1520
|
-
self.check_call_indirect(index, table_index)?;
|
1521
|
-
self.check_return()?;
|
1522
|
-
Ok(())
|
1523
|
-
}
|
1524
|
-
fn visit_drop(&mut self) -> Self::Output {
|
1525
|
-
self.pop_operand(None)?;
|
1526
|
-
Ok(())
|
1527
|
-
}
|
1528
|
-
fn visit_select(&mut self) -> Self::Output {
|
1529
|
-
self.pop_operand(Some(ValType::I32))?;
|
1530
|
-
let ty1 = self.pop_operand(None)?;
|
1531
|
-
let ty2 = self.pop_operand(None)?;
|
1532
|
-
|
1533
|
-
let ty = match (ty1, ty2) {
|
1534
|
-
// All heap-related types aren't allowed with the `select`
|
1535
|
-
// instruction
|
1536
|
-
(MaybeType::HeapBot, _)
|
1537
|
-
| (_, MaybeType::HeapBot)
|
1538
|
-
| (MaybeType::Type(ValType::Ref(_)), _)
|
1539
|
-
| (_, MaybeType::Type(ValType::Ref(_))) => {
|
1540
|
-
bail!(
|
1541
|
-
self.offset,
|
1542
|
-
"type mismatch: select only takes integral types"
|
1543
|
-
)
|
1544
|
-
}
|
1545
|
-
|
1546
|
-
// If one operand is the "bottom" type then whatever the other
|
1547
|
-
// operand is is the result of the `select`
|
1548
|
-
(MaybeType::Bot, t) | (t, MaybeType::Bot) => t,
|
1549
|
-
|
1550
|
-
// Otherwise these are two integral types and they must match for
|
1551
|
-
// `select` to typecheck.
|
1552
|
-
(t @ MaybeType::Type(t1), MaybeType::Type(t2)) => {
|
1553
|
-
if t1 != t2 {
|
1554
|
-
bail!(
|
1555
|
-
self.offset,
|
1556
|
-
"type mismatch: select operands have different types"
|
1557
|
-
);
|
1558
|
-
}
|
1559
|
-
t
|
1560
|
-
}
|
1561
|
-
};
|
1562
|
-
self.push_operand(ty)?;
|
1563
|
-
Ok(())
|
1564
|
-
}
|
1565
|
-
fn visit_typed_select(&mut self, mut ty: ValType) -> Self::Output {
|
1566
|
-
self.resources
|
1567
|
-
.check_value_type(&mut ty, &self.features, self.offset)?;
|
1568
|
-
self.pop_operand(Some(ValType::I32))?;
|
1569
|
-
self.pop_operand(Some(ty))?;
|
1570
|
-
self.pop_operand(Some(ty))?;
|
1571
|
-
self.push_operand(ty)?;
|
1572
|
-
Ok(())
|
1573
|
-
}
|
1574
|
-
fn visit_local_get(&mut self, local_index: u32) -> Self::Output {
|
1575
|
-
let ty = self.local(local_index)?;
|
1576
|
-
debug_assert_type_indices_are_ids(ty);
|
1577
|
-
if !self.local_inits[local_index as usize] {
|
1578
|
-
bail!(self.offset, "uninitialized local: {}", local_index);
|
1579
|
-
}
|
1580
|
-
self.push_operand(ty)?;
|
1581
|
-
Ok(())
|
1582
|
-
}
|
1583
|
-
fn visit_local_set(&mut self, local_index: u32) -> Self::Output {
|
1584
|
-
let ty = self.local(local_index)?;
|
1585
|
-
self.pop_operand(Some(ty))?;
|
1586
|
-
if !self.local_inits[local_index as usize] {
|
1587
|
-
self.local_inits[local_index as usize] = true;
|
1588
|
-
self.inits.push(local_index);
|
1589
|
-
}
|
1590
|
-
Ok(())
|
1591
|
-
}
|
1592
|
-
fn visit_local_tee(&mut self, local_index: u32) -> Self::Output {
|
1593
|
-
let expected_ty = self.local(local_index)?;
|
1594
|
-
let actual_ty = self.pop_operand(Some(expected_ty))?;
|
1595
|
-
if !self.local_inits[local_index as usize] {
|
1596
|
-
self.local_inits[local_index as usize] = true;
|
1597
|
-
self.inits.push(local_index);
|
1598
|
-
}
|
1599
|
-
|
1600
|
-
self.push_operand(actual_ty)?;
|
1601
|
-
Ok(())
|
1602
|
-
}
|
1603
|
-
fn visit_global_get(&mut self, global_index: u32) -> Self::Output {
|
1604
|
-
if let Some(ty) = self.resources.global_at(global_index) {
|
1605
|
-
let ty = ty.content_type;
|
1606
|
-
debug_assert_type_indices_are_ids(ty);
|
1607
|
-
self.push_operand(ty)?;
|
1608
|
-
} else {
|
1609
|
-
bail!(self.offset, "unknown global: global index out of bounds");
|
1610
|
-
};
|
1611
|
-
Ok(())
|
1612
|
-
}
|
1613
|
-
fn visit_global_set(&mut self, global_index: u32) -> Self::Output {
|
1614
|
-
if let Some(ty) = self.resources.global_at(global_index) {
|
1615
|
-
if !ty.mutable {
|
1616
|
-
bail!(
|
1617
|
-
self.offset,
|
1618
|
-
"global is immutable: cannot modify it with `global.set`"
|
1619
|
-
);
|
1620
|
-
}
|
1621
|
-
self.pop_operand(Some(ty.content_type))?;
|
1622
|
-
} else {
|
1623
|
-
bail!(self.offset, "unknown global: global index out of bounds");
|
1624
|
-
};
|
1625
|
-
Ok(())
|
1626
|
-
}
|
1627
|
-
fn visit_i32_load(&mut self, memarg: MemArg) -> Self::Output {
|
1628
|
-
let ty = self.check_memarg(memarg)?;
|
1629
|
-
self.pop_operand(Some(ty))?;
|
1630
|
-
self.push_operand(ValType::I32)?;
|
1631
|
-
Ok(())
|
1632
|
-
}
|
1633
|
-
fn visit_i64_load(&mut self, memarg: MemArg) -> Self::Output {
|
1634
|
-
let ty = self.check_memarg(memarg)?;
|
1635
|
-
self.pop_operand(Some(ty))?;
|
1636
|
-
self.push_operand(ValType::I64)?;
|
1637
|
-
Ok(())
|
1638
|
-
}
|
1639
|
-
fn visit_f32_load(&mut self, memarg: MemArg) -> Self::Output {
|
1640
|
-
self.check_floats_enabled()?;
|
1641
|
-
let ty = self.check_memarg(memarg)?;
|
1642
|
-
self.pop_operand(Some(ty))?;
|
1643
|
-
self.push_operand(ValType::F32)?;
|
1644
|
-
Ok(())
|
1645
|
-
}
|
1646
|
-
fn visit_f64_load(&mut self, memarg: MemArg) -> Self::Output {
|
1647
|
-
self.check_floats_enabled()?;
|
1648
|
-
let ty = self.check_memarg(memarg)?;
|
1649
|
-
self.pop_operand(Some(ty))?;
|
1650
|
-
self.push_operand(ValType::F64)?;
|
1651
|
-
Ok(())
|
1652
|
-
}
|
1653
|
-
fn visit_i32_load8_s(&mut self, memarg: MemArg) -> Self::Output {
|
1654
|
-
let ty = self.check_memarg(memarg)?;
|
1655
|
-
self.pop_operand(Some(ty))?;
|
1656
|
-
self.push_operand(ValType::I32)?;
|
1657
|
-
Ok(())
|
1658
|
-
}
|
1659
|
-
fn visit_i32_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
1660
|
-
self.visit_i32_load8_s(memarg)
|
1661
|
-
}
|
1662
|
-
fn visit_i32_load16_s(&mut self, memarg: MemArg) -> Self::Output {
|
1663
|
-
let ty = self.check_memarg(memarg)?;
|
1664
|
-
self.pop_operand(Some(ty))?;
|
1665
|
-
self.push_operand(ValType::I32)?;
|
1666
|
-
Ok(())
|
1667
|
-
}
|
1668
|
-
fn visit_i32_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
1669
|
-
self.visit_i32_load16_s(memarg)
|
1670
|
-
}
|
1671
|
-
fn visit_i64_load8_s(&mut self, memarg: MemArg) -> Self::Output {
|
1672
|
-
let ty = self.check_memarg(memarg)?;
|
1673
|
-
self.pop_operand(Some(ty))?;
|
1674
|
-
self.push_operand(ValType::I64)?;
|
1675
|
-
Ok(())
|
1676
|
-
}
|
1677
|
-
fn visit_i64_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
1678
|
-
self.visit_i64_load8_s(memarg)
|
1679
|
-
}
|
1680
|
-
fn visit_i64_load16_s(&mut self, memarg: MemArg) -> Self::Output {
|
1681
|
-
let ty = self.check_memarg(memarg)?;
|
1682
|
-
self.pop_operand(Some(ty))?;
|
1683
|
-
self.push_operand(ValType::I64)?;
|
1684
|
-
Ok(())
|
1685
|
-
}
|
1686
|
-
fn visit_i64_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
1687
|
-
self.visit_i64_load16_s(memarg)
|
1688
|
-
}
|
1689
|
-
fn visit_i64_load32_s(&mut self, memarg: MemArg) -> Self::Output {
|
1690
|
-
let ty = self.check_memarg(memarg)?;
|
1691
|
-
self.pop_operand(Some(ty))?;
|
1692
|
-
self.push_operand(ValType::I64)?;
|
1693
|
-
Ok(())
|
1694
|
-
}
|
1695
|
-
fn visit_i64_load32_u(&mut self, memarg: MemArg) -> Self::Output {
|
1696
|
-
self.visit_i64_load32_s(memarg)
|
1697
|
-
}
|
1698
|
-
fn visit_i32_store(&mut self, memarg: MemArg) -> Self::Output {
|
1699
|
-
let ty = self.check_memarg(memarg)?;
|
1700
|
-
self.pop_operand(Some(ValType::I32))?;
|
1701
|
-
self.pop_operand(Some(ty))?;
|
1702
|
-
Ok(())
|
1703
|
-
}
|
1704
|
-
fn visit_i64_store(&mut self, memarg: MemArg) -> Self::Output {
|
1705
|
-
let ty = self.check_memarg(memarg)?;
|
1706
|
-
self.pop_operand(Some(ValType::I64))?;
|
1707
|
-
self.pop_operand(Some(ty))?;
|
1708
|
-
Ok(())
|
1709
|
-
}
|
1710
|
-
fn visit_f32_store(&mut self, memarg: MemArg) -> Self::Output {
|
1711
|
-
self.check_floats_enabled()?;
|
1712
|
-
let ty = self.check_memarg(memarg)?;
|
1713
|
-
self.pop_operand(Some(ValType::F32))?;
|
1714
|
-
self.pop_operand(Some(ty))?;
|
1715
|
-
Ok(())
|
1716
|
-
}
|
1717
|
-
fn visit_f64_store(&mut self, memarg: MemArg) -> Self::Output {
|
1718
|
-
self.check_floats_enabled()?;
|
1719
|
-
let ty = self.check_memarg(memarg)?;
|
1720
|
-
self.pop_operand(Some(ValType::F64))?;
|
1721
|
-
self.pop_operand(Some(ty))?;
|
1722
|
-
Ok(())
|
1723
|
-
}
|
1724
|
-
fn visit_i32_store8(&mut self, memarg: MemArg) -> Self::Output {
|
1725
|
-
let ty = self.check_memarg(memarg)?;
|
1726
|
-
self.pop_operand(Some(ValType::I32))?;
|
1727
|
-
self.pop_operand(Some(ty))?;
|
1728
|
-
Ok(())
|
1729
|
-
}
|
1730
|
-
fn visit_i32_store16(&mut self, memarg: MemArg) -> Self::Output {
|
1731
|
-
let ty = self.check_memarg(memarg)?;
|
1732
|
-
self.pop_operand(Some(ValType::I32))?;
|
1733
|
-
self.pop_operand(Some(ty))?;
|
1734
|
-
Ok(())
|
1735
|
-
}
|
1736
|
-
fn visit_i64_store8(&mut self, memarg: MemArg) -> Self::Output {
|
1737
|
-
let ty = self.check_memarg(memarg)?;
|
1738
|
-
self.pop_operand(Some(ValType::I64))?;
|
1739
|
-
self.pop_operand(Some(ty))?;
|
1740
|
-
Ok(())
|
1741
|
-
}
|
1742
|
-
fn visit_i64_store16(&mut self, memarg: MemArg) -> Self::Output {
|
1743
|
-
let ty = self.check_memarg(memarg)?;
|
1744
|
-
self.pop_operand(Some(ValType::I64))?;
|
1745
|
-
self.pop_operand(Some(ty))?;
|
1746
|
-
Ok(())
|
1747
|
-
}
|
1748
|
-
fn visit_i64_store32(&mut self, memarg: MemArg) -> Self::Output {
|
1749
|
-
let ty = self.check_memarg(memarg)?;
|
1750
|
-
self.pop_operand(Some(ValType::I64))?;
|
1751
|
-
self.pop_operand(Some(ty))?;
|
1752
|
-
Ok(())
|
1753
|
-
}
|
1754
|
-
fn visit_memory_size(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
|
1755
|
-
if mem_byte != 0 && !self.features.multi_memory {
|
1756
|
-
bail!(self.offset, "multi-memory not enabled: zero byte expected");
|
1757
|
-
}
|
1758
|
-
let index_ty = self.check_memory_index(mem)?;
|
1759
|
-
self.push_operand(index_ty)?;
|
1760
|
-
Ok(())
|
1761
|
-
}
|
1762
|
-
fn visit_memory_grow(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
|
1763
|
-
if mem_byte != 0 && !self.features.multi_memory {
|
1764
|
-
bail!(self.offset, "multi-memory not enabled: zero byte expected");
|
1765
|
-
}
|
1766
|
-
let index_ty = self.check_memory_index(mem)?;
|
1767
|
-
self.pop_operand(Some(index_ty))?;
|
1768
|
-
self.push_operand(index_ty)?;
|
1769
|
-
Ok(())
|
1770
|
-
}
|
1771
|
-
fn visit_i32_const(&mut self, _value: i32) -> Self::Output {
|
1772
|
-
self.push_operand(ValType::I32)?;
|
1773
|
-
Ok(())
|
1774
|
-
}
|
1775
|
-
fn visit_i64_const(&mut self, _value: i64) -> Self::Output {
|
1776
|
-
self.push_operand(ValType::I64)?;
|
1777
|
-
Ok(())
|
1778
|
-
}
|
1779
|
-
fn visit_f32_const(&mut self, _value: Ieee32) -> Self::Output {
|
1780
|
-
self.check_floats_enabled()?;
|
1781
|
-
self.push_operand(ValType::F32)?;
|
1782
|
-
Ok(())
|
1783
|
-
}
|
1784
|
-
fn visit_f64_const(&mut self, _value: Ieee64) -> Self::Output {
|
1785
|
-
self.check_floats_enabled()?;
|
1786
|
-
self.push_operand(ValType::F64)?;
|
1787
|
-
Ok(())
|
1788
|
-
}
|
1789
|
-
fn visit_i32_eqz(&mut self) -> Self::Output {
|
1790
|
-
self.pop_operand(Some(ValType::I32))?;
|
1791
|
-
self.push_operand(ValType::I32)?;
|
1792
|
-
Ok(())
|
1793
|
-
}
|
1794
|
-
fn visit_i32_eq(&mut self) -> Self::Output {
|
1795
|
-
self.check_cmp_op(ValType::I32)
|
1796
|
-
}
|
1797
|
-
fn visit_i32_ne(&mut self) -> Self::Output {
|
1798
|
-
self.check_cmp_op(ValType::I32)
|
1799
|
-
}
|
1800
|
-
fn visit_i32_lt_s(&mut self) -> Self::Output {
|
1801
|
-
self.check_cmp_op(ValType::I32)
|
1802
|
-
}
|
1803
|
-
fn visit_i32_lt_u(&mut self) -> Self::Output {
|
1804
|
-
self.check_cmp_op(ValType::I32)
|
1805
|
-
}
|
1806
|
-
fn visit_i32_gt_s(&mut self) -> Self::Output {
|
1807
|
-
self.check_cmp_op(ValType::I32)
|
1808
|
-
}
|
1809
|
-
fn visit_i32_gt_u(&mut self) -> Self::Output {
|
1810
|
-
self.check_cmp_op(ValType::I32)
|
1811
|
-
}
|
1812
|
-
fn visit_i32_le_s(&mut self) -> Self::Output {
|
1813
|
-
self.check_cmp_op(ValType::I32)
|
1814
|
-
}
|
1815
|
-
fn visit_i32_le_u(&mut self) -> Self::Output {
|
1816
|
-
self.check_cmp_op(ValType::I32)
|
1817
|
-
}
|
1818
|
-
fn visit_i32_ge_s(&mut self) -> Self::Output {
|
1819
|
-
self.check_cmp_op(ValType::I32)
|
1820
|
-
}
|
1821
|
-
fn visit_i32_ge_u(&mut self) -> Self::Output {
|
1822
|
-
self.check_cmp_op(ValType::I32)
|
1823
|
-
}
|
1824
|
-
fn visit_i64_eqz(&mut self) -> Self::Output {
|
1825
|
-
self.pop_operand(Some(ValType::I64))?;
|
1826
|
-
self.push_operand(ValType::I32)?;
|
1827
|
-
Ok(())
|
1828
|
-
}
|
1829
|
-
fn visit_i64_eq(&mut self) -> Self::Output {
|
1830
|
-
self.check_cmp_op(ValType::I64)
|
1831
|
-
}
|
1832
|
-
fn visit_i64_ne(&mut self) -> Self::Output {
|
1833
|
-
self.check_cmp_op(ValType::I64)
|
1834
|
-
}
|
1835
|
-
fn visit_i64_lt_s(&mut self) -> Self::Output {
|
1836
|
-
self.check_cmp_op(ValType::I64)
|
1837
|
-
}
|
1838
|
-
fn visit_i64_lt_u(&mut self) -> Self::Output {
|
1839
|
-
self.check_cmp_op(ValType::I64)
|
1840
|
-
}
|
1841
|
-
fn visit_i64_gt_s(&mut self) -> Self::Output {
|
1842
|
-
self.check_cmp_op(ValType::I64)
|
1843
|
-
}
|
1844
|
-
fn visit_i64_gt_u(&mut self) -> Self::Output {
|
1845
|
-
self.check_cmp_op(ValType::I64)
|
1846
|
-
}
|
1847
|
-
fn visit_i64_le_s(&mut self) -> Self::Output {
|
1848
|
-
self.check_cmp_op(ValType::I64)
|
1849
|
-
}
|
1850
|
-
fn visit_i64_le_u(&mut self) -> Self::Output {
|
1851
|
-
self.check_cmp_op(ValType::I64)
|
1852
|
-
}
|
1853
|
-
fn visit_i64_ge_s(&mut self) -> Self::Output {
|
1854
|
-
self.check_cmp_op(ValType::I64)
|
1855
|
-
}
|
1856
|
-
fn visit_i64_ge_u(&mut self) -> Self::Output {
|
1857
|
-
self.check_cmp_op(ValType::I64)
|
1858
|
-
}
|
1859
|
-
fn visit_f32_eq(&mut self) -> Self::Output {
|
1860
|
-
self.check_fcmp_op(ValType::F32)
|
1861
|
-
}
|
1862
|
-
fn visit_f32_ne(&mut self) -> Self::Output {
|
1863
|
-
self.check_fcmp_op(ValType::F32)
|
1864
|
-
}
|
1865
|
-
fn visit_f32_lt(&mut self) -> Self::Output {
|
1866
|
-
self.check_fcmp_op(ValType::F32)
|
1867
|
-
}
|
1868
|
-
fn visit_f32_gt(&mut self) -> Self::Output {
|
1869
|
-
self.check_fcmp_op(ValType::F32)
|
1870
|
-
}
|
1871
|
-
fn visit_f32_le(&mut self) -> Self::Output {
|
1872
|
-
self.check_fcmp_op(ValType::F32)
|
1873
|
-
}
|
1874
|
-
fn visit_f32_ge(&mut self) -> Self::Output {
|
1875
|
-
self.check_fcmp_op(ValType::F32)
|
1876
|
-
}
|
1877
|
-
fn visit_f64_eq(&mut self) -> Self::Output {
|
1878
|
-
self.check_fcmp_op(ValType::F64)
|
1879
|
-
}
|
1880
|
-
fn visit_f64_ne(&mut self) -> Self::Output {
|
1881
|
-
self.check_fcmp_op(ValType::F64)
|
1882
|
-
}
|
1883
|
-
fn visit_f64_lt(&mut self) -> Self::Output {
|
1884
|
-
self.check_fcmp_op(ValType::F64)
|
1885
|
-
}
|
1886
|
-
fn visit_f64_gt(&mut self) -> Self::Output {
|
1887
|
-
self.check_fcmp_op(ValType::F64)
|
1888
|
-
}
|
1889
|
-
fn visit_f64_le(&mut self) -> Self::Output {
|
1890
|
-
self.check_fcmp_op(ValType::F64)
|
1891
|
-
}
|
1892
|
-
fn visit_f64_ge(&mut self) -> Self::Output {
|
1893
|
-
self.check_fcmp_op(ValType::F64)
|
1894
|
-
}
|
1895
|
-
fn visit_i32_clz(&mut self) -> Self::Output {
|
1896
|
-
self.check_unary_op(ValType::I32)
|
1897
|
-
}
|
1898
|
-
fn visit_i32_ctz(&mut self) -> Self::Output {
|
1899
|
-
self.check_unary_op(ValType::I32)
|
1900
|
-
}
|
1901
|
-
fn visit_i32_popcnt(&mut self) -> Self::Output {
|
1902
|
-
self.check_unary_op(ValType::I32)
|
1903
|
-
}
|
1904
|
-
fn visit_i32_add(&mut self) -> Self::Output {
|
1905
|
-
self.check_binary_op(ValType::I32)
|
1906
|
-
}
|
1907
|
-
fn visit_i32_sub(&mut self) -> Self::Output {
|
1908
|
-
self.check_binary_op(ValType::I32)
|
1909
|
-
}
|
1910
|
-
fn visit_i32_mul(&mut self) -> Self::Output {
|
1911
|
-
self.check_binary_op(ValType::I32)
|
1912
|
-
}
|
1913
|
-
fn visit_i32_div_s(&mut self) -> Self::Output {
|
1914
|
-
self.check_binary_op(ValType::I32)
|
1915
|
-
}
|
1916
|
-
fn visit_i32_div_u(&mut self) -> Self::Output {
|
1917
|
-
self.check_binary_op(ValType::I32)
|
1918
|
-
}
|
1919
|
-
fn visit_i32_rem_s(&mut self) -> Self::Output {
|
1920
|
-
self.check_binary_op(ValType::I32)
|
1921
|
-
}
|
1922
|
-
fn visit_i32_rem_u(&mut self) -> Self::Output {
|
1923
|
-
self.check_binary_op(ValType::I32)
|
1924
|
-
}
|
1925
|
-
fn visit_i32_and(&mut self) -> Self::Output {
|
1926
|
-
self.check_binary_op(ValType::I32)
|
1927
|
-
}
|
1928
|
-
fn visit_i32_or(&mut self) -> Self::Output {
|
1929
|
-
self.check_binary_op(ValType::I32)
|
1930
|
-
}
|
1931
|
-
fn visit_i32_xor(&mut self) -> Self::Output {
|
1932
|
-
self.check_binary_op(ValType::I32)
|
1933
|
-
}
|
1934
|
-
fn visit_i32_shl(&mut self) -> Self::Output {
|
1935
|
-
self.check_binary_op(ValType::I32)
|
1936
|
-
}
|
1937
|
-
fn visit_i32_shr_s(&mut self) -> Self::Output {
|
1938
|
-
self.check_binary_op(ValType::I32)
|
1939
|
-
}
|
1940
|
-
fn visit_i32_shr_u(&mut self) -> Self::Output {
|
1941
|
-
self.check_binary_op(ValType::I32)
|
1942
|
-
}
|
1943
|
-
fn visit_i32_rotl(&mut self) -> Self::Output {
|
1944
|
-
self.check_binary_op(ValType::I32)
|
1945
|
-
}
|
1946
|
-
fn visit_i32_rotr(&mut self) -> Self::Output {
|
1947
|
-
self.check_binary_op(ValType::I32)
|
1948
|
-
}
|
1949
|
-
fn visit_i64_clz(&mut self) -> Self::Output {
|
1950
|
-
self.check_unary_op(ValType::I64)
|
1951
|
-
}
|
1952
|
-
fn visit_i64_ctz(&mut self) -> Self::Output {
|
1953
|
-
self.check_unary_op(ValType::I64)
|
1954
|
-
}
|
1955
|
-
fn visit_i64_popcnt(&mut self) -> Self::Output {
|
1956
|
-
self.check_unary_op(ValType::I64)
|
1957
|
-
}
|
1958
|
-
fn visit_i64_add(&mut self) -> Self::Output {
|
1959
|
-
self.check_binary_op(ValType::I64)
|
1960
|
-
}
|
1961
|
-
fn visit_i64_sub(&mut self) -> Self::Output {
|
1962
|
-
self.check_binary_op(ValType::I64)
|
1963
|
-
}
|
1964
|
-
fn visit_i64_mul(&mut self) -> Self::Output {
|
1965
|
-
self.check_binary_op(ValType::I64)
|
1966
|
-
}
|
1967
|
-
fn visit_i64_div_s(&mut self) -> Self::Output {
|
1968
|
-
self.check_binary_op(ValType::I64)
|
1969
|
-
}
|
1970
|
-
fn visit_i64_div_u(&mut self) -> Self::Output {
|
1971
|
-
self.check_binary_op(ValType::I64)
|
1972
|
-
}
|
1973
|
-
fn visit_i64_rem_s(&mut self) -> Self::Output {
|
1974
|
-
self.check_binary_op(ValType::I64)
|
1975
|
-
}
|
1976
|
-
fn visit_i64_rem_u(&mut self) -> Self::Output {
|
1977
|
-
self.check_binary_op(ValType::I64)
|
1978
|
-
}
|
1979
|
-
fn visit_i64_and(&mut self) -> Self::Output {
|
1980
|
-
self.check_binary_op(ValType::I64)
|
1981
|
-
}
|
1982
|
-
fn visit_i64_or(&mut self) -> Self::Output {
|
1983
|
-
self.check_binary_op(ValType::I64)
|
1984
|
-
}
|
1985
|
-
fn visit_i64_xor(&mut self) -> Self::Output {
|
1986
|
-
self.check_binary_op(ValType::I64)
|
1987
|
-
}
|
1988
|
-
fn visit_i64_shl(&mut self) -> Self::Output {
|
1989
|
-
self.check_binary_op(ValType::I64)
|
1990
|
-
}
|
1991
|
-
fn visit_i64_shr_s(&mut self) -> Self::Output {
|
1992
|
-
self.check_binary_op(ValType::I64)
|
1993
|
-
}
|
1994
|
-
fn visit_i64_shr_u(&mut self) -> Self::Output {
|
1995
|
-
self.check_binary_op(ValType::I64)
|
1996
|
-
}
|
1997
|
-
fn visit_i64_rotl(&mut self) -> Self::Output {
|
1998
|
-
self.check_binary_op(ValType::I64)
|
1999
|
-
}
|
2000
|
-
fn visit_i64_rotr(&mut self) -> Self::Output {
|
2001
|
-
self.check_binary_op(ValType::I64)
|
2002
|
-
}
|
2003
|
-
fn visit_f32_abs(&mut self) -> Self::Output {
|
2004
|
-
self.check_funary_op(ValType::F32)
|
2005
|
-
}
|
2006
|
-
fn visit_f32_neg(&mut self) -> Self::Output {
|
2007
|
-
self.check_funary_op(ValType::F32)
|
2008
|
-
}
|
2009
|
-
fn visit_f32_ceil(&mut self) -> Self::Output {
|
2010
|
-
self.check_funary_op(ValType::F32)
|
2011
|
-
}
|
2012
|
-
fn visit_f32_floor(&mut self) -> Self::Output {
|
2013
|
-
self.check_funary_op(ValType::F32)
|
2014
|
-
}
|
2015
|
-
fn visit_f32_trunc(&mut self) -> Self::Output {
|
2016
|
-
self.check_funary_op(ValType::F32)
|
2017
|
-
}
|
2018
|
-
fn visit_f32_nearest(&mut self) -> Self::Output {
|
2019
|
-
self.check_funary_op(ValType::F32)
|
2020
|
-
}
|
2021
|
-
fn visit_f32_sqrt(&mut self) -> Self::Output {
|
2022
|
-
self.check_funary_op(ValType::F32)
|
2023
|
-
}
|
2024
|
-
fn visit_f32_add(&mut self) -> Self::Output {
|
2025
|
-
self.check_fbinary_op(ValType::F32)
|
2026
|
-
}
|
2027
|
-
fn visit_f32_sub(&mut self) -> Self::Output {
|
2028
|
-
self.check_fbinary_op(ValType::F32)
|
2029
|
-
}
|
2030
|
-
fn visit_f32_mul(&mut self) -> Self::Output {
|
2031
|
-
self.check_fbinary_op(ValType::F32)
|
2032
|
-
}
|
2033
|
-
fn visit_f32_div(&mut self) -> Self::Output {
|
2034
|
-
self.check_fbinary_op(ValType::F32)
|
2035
|
-
}
|
2036
|
-
fn visit_f32_min(&mut self) -> Self::Output {
|
2037
|
-
self.check_fbinary_op(ValType::F32)
|
2038
|
-
}
|
2039
|
-
fn visit_f32_max(&mut self) -> Self::Output {
|
2040
|
-
self.check_fbinary_op(ValType::F32)
|
2041
|
-
}
|
2042
|
-
fn visit_f32_copysign(&mut self) -> Self::Output {
|
2043
|
-
self.check_fbinary_op(ValType::F32)
|
2044
|
-
}
|
2045
|
-
fn visit_f64_abs(&mut self) -> Self::Output {
|
2046
|
-
self.check_funary_op(ValType::F64)
|
2047
|
-
}
|
2048
|
-
fn visit_f64_neg(&mut self) -> Self::Output {
|
2049
|
-
self.check_funary_op(ValType::F64)
|
2050
|
-
}
|
2051
|
-
fn visit_f64_ceil(&mut self) -> Self::Output {
|
2052
|
-
self.check_funary_op(ValType::F64)
|
2053
|
-
}
|
2054
|
-
fn visit_f64_floor(&mut self) -> Self::Output {
|
2055
|
-
self.check_funary_op(ValType::F64)
|
2056
|
-
}
|
2057
|
-
fn visit_f64_trunc(&mut self) -> Self::Output {
|
2058
|
-
self.check_funary_op(ValType::F64)
|
2059
|
-
}
|
2060
|
-
fn visit_f64_nearest(&mut self) -> Self::Output {
|
2061
|
-
self.check_funary_op(ValType::F64)
|
2062
|
-
}
|
2063
|
-
fn visit_f64_sqrt(&mut self) -> Self::Output {
|
2064
|
-
self.check_funary_op(ValType::F64)
|
2065
|
-
}
|
2066
|
-
fn visit_f64_add(&mut self) -> Self::Output {
|
2067
|
-
self.check_fbinary_op(ValType::F64)
|
2068
|
-
}
|
2069
|
-
fn visit_f64_sub(&mut self) -> Self::Output {
|
2070
|
-
self.check_fbinary_op(ValType::F64)
|
2071
|
-
}
|
2072
|
-
fn visit_f64_mul(&mut self) -> Self::Output {
|
2073
|
-
self.check_fbinary_op(ValType::F64)
|
2074
|
-
}
|
2075
|
-
fn visit_f64_div(&mut self) -> Self::Output {
|
2076
|
-
self.check_fbinary_op(ValType::F64)
|
2077
|
-
}
|
2078
|
-
fn visit_f64_min(&mut self) -> Self::Output {
|
2079
|
-
self.check_fbinary_op(ValType::F64)
|
2080
|
-
}
|
2081
|
-
fn visit_f64_max(&mut self) -> Self::Output {
|
2082
|
-
self.check_fbinary_op(ValType::F64)
|
2083
|
-
}
|
2084
|
-
fn visit_f64_copysign(&mut self) -> Self::Output {
|
2085
|
-
self.check_fbinary_op(ValType::F64)
|
2086
|
-
}
|
2087
|
-
fn visit_i32_wrap_i64(&mut self) -> Self::Output {
|
2088
|
-
self.check_conversion_op(ValType::I32, ValType::I64)
|
2089
|
-
}
|
2090
|
-
fn visit_i32_trunc_f32_s(&mut self) -> Self::Output {
|
2091
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2092
|
-
}
|
2093
|
-
fn visit_i32_trunc_f32_u(&mut self) -> Self::Output {
|
2094
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2095
|
-
}
|
2096
|
-
fn visit_i32_trunc_f64_s(&mut self) -> Self::Output {
|
2097
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2098
|
-
}
|
2099
|
-
fn visit_i32_trunc_f64_u(&mut self) -> Self::Output {
|
2100
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2101
|
-
}
|
2102
|
-
fn visit_i64_extend_i32_s(&mut self) -> Self::Output {
|
2103
|
-
self.check_conversion_op(ValType::I64, ValType::I32)
|
2104
|
-
}
|
2105
|
-
fn visit_i64_extend_i32_u(&mut self) -> Self::Output {
|
2106
|
-
self.check_conversion_op(ValType::I64, ValType::I32)
|
2107
|
-
}
|
2108
|
-
fn visit_i64_trunc_f32_s(&mut self) -> Self::Output {
|
2109
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2110
|
-
}
|
2111
|
-
fn visit_i64_trunc_f32_u(&mut self) -> Self::Output {
|
2112
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2113
|
-
}
|
2114
|
-
fn visit_i64_trunc_f64_s(&mut self) -> Self::Output {
|
2115
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2116
|
-
}
|
2117
|
-
fn visit_i64_trunc_f64_u(&mut self) -> Self::Output {
|
2118
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2119
|
-
}
|
2120
|
-
fn visit_f32_convert_i32_s(&mut self) -> Self::Output {
|
2121
|
-
self.check_fconversion_op(ValType::F32, ValType::I32)
|
2122
|
-
}
|
2123
|
-
fn visit_f32_convert_i32_u(&mut self) -> Self::Output {
|
2124
|
-
self.check_fconversion_op(ValType::F32, ValType::I32)
|
2125
|
-
}
|
2126
|
-
fn visit_f32_convert_i64_s(&mut self) -> Self::Output {
|
2127
|
-
self.check_fconversion_op(ValType::F32, ValType::I64)
|
2128
|
-
}
|
2129
|
-
fn visit_f32_convert_i64_u(&mut self) -> Self::Output {
|
2130
|
-
self.check_fconversion_op(ValType::F32, ValType::I64)
|
2131
|
-
}
|
2132
|
-
fn visit_f32_demote_f64(&mut self) -> Self::Output {
|
2133
|
-
self.check_fconversion_op(ValType::F32, ValType::F64)
|
2134
|
-
}
|
2135
|
-
fn visit_f64_convert_i32_s(&mut self) -> Self::Output {
|
2136
|
-
self.check_fconversion_op(ValType::F64, ValType::I32)
|
2137
|
-
}
|
2138
|
-
fn visit_f64_convert_i32_u(&mut self) -> Self::Output {
|
2139
|
-
self.check_fconversion_op(ValType::F64, ValType::I32)
|
2140
|
-
}
|
2141
|
-
fn visit_f64_convert_i64_s(&mut self) -> Self::Output {
|
2142
|
-
self.check_fconversion_op(ValType::F64, ValType::I64)
|
2143
|
-
}
|
2144
|
-
fn visit_f64_convert_i64_u(&mut self) -> Self::Output {
|
2145
|
-
self.check_fconversion_op(ValType::F64, ValType::I64)
|
2146
|
-
}
|
2147
|
-
fn visit_f64_promote_f32(&mut self) -> Self::Output {
|
2148
|
-
self.check_fconversion_op(ValType::F64, ValType::F32)
|
2149
|
-
}
|
2150
|
-
fn visit_i32_reinterpret_f32(&mut self) -> Self::Output {
|
2151
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2152
|
-
}
|
2153
|
-
fn visit_i64_reinterpret_f64(&mut self) -> Self::Output {
|
2154
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2155
|
-
}
|
2156
|
-
fn visit_f32_reinterpret_i32(&mut self) -> Self::Output {
|
2157
|
-
self.check_fconversion_op(ValType::F32, ValType::I32)
|
2158
|
-
}
|
2159
|
-
fn visit_f64_reinterpret_i64(&mut self) -> Self::Output {
|
2160
|
-
self.check_fconversion_op(ValType::F64, ValType::I64)
|
2161
|
-
}
|
2162
|
-
fn visit_i32_trunc_sat_f32_s(&mut self) -> Self::Output {
|
2163
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2164
|
-
}
|
2165
|
-
fn visit_i32_trunc_sat_f32_u(&mut self) -> Self::Output {
|
2166
|
-
self.check_conversion_op(ValType::I32, ValType::F32)
|
2167
|
-
}
|
2168
|
-
fn visit_i32_trunc_sat_f64_s(&mut self) -> Self::Output {
|
2169
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2170
|
-
}
|
2171
|
-
fn visit_i32_trunc_sat_f64_u(&mut self) -> Self::Output {
|
2172
|
-
self.check_conversion_op(ValType::I32, ValType::F64)
|
2173
|
-
}
|
2174
|
-
fn visit_i64_trunc_sat_f32_s(&mut self) -> Self::Output {
|
2175
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2176
|
-
}
|
2177
|
-
fn visit_i64_trunc_sat_f32_u(&mut self) -> Self::Output {
|
2178
|
-
self.check_conversion_op(ValType::I64, ValType::F32)
|
2179
|
-
}
|
2180
|
-
fn visit_i64_trunc_sat_f64_s(&mut self) -> Self::Output {
|
2181
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2182
|
-
}
|
2183
|
-
fn visit_i64_trunc_sat_f64_u(&mut self) -> Self::Output {
|
2184
|
-
self.check_conversion_op(ValType::I64, ValType::F64)
|
2185
|
-
}
|
2186
|
-
fn visit_i32_extend8_s(&mut self) -> Self::Output {
|
2187
|
-
self.check_unary_op(ValType::I32)
|
2188
|
-
}
|
2189
|
-
fn visit_i32_extend16_s(&mut self) -> Self::Output {
|
2190
|
-
self.check_unary_op(ValType::I32)
|
2191
|
-
}
|
2192
|
-
fn visit_i64_extend8_s(&mut self) -> Self::Output {
|
2193
|
-
self.check_unary_op(ValType::I64)
|
2194
|
-
}
|
2195
|
-
fn visit_i64_extend16_s(&mut self) -> Self::Output {
|
2196
|
-
self.check_unary_op(ValType::I64)
|
2197
|
-
}
|
2198
|
-
fn visit_i64_extend32_s(&mut self) -> Self::Output {
|
2199
|
-
self.check_unary_op(ValType::I64)
|
2200
|
-
}
|
2201
|
-
fn visit_i32_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
|
2202
|
-
self.check_atomic_load(memarg, ValType::I32)
|
2203
|
-
}
|
2204
|
-
fn visit_i32_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
2205
|
-
self.check_atomic_load(memarg, ValType::I32)
|
2206
|
-
}
|
2207
|
-
fn visit_i32_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
2208
|
-
self.check_atomic_load(memarg, ValType::I32)
|
2209
|
-
}
|
2210
|
-
fn visit_i64_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
|
2211
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2212
|
-
}
|
2213
|
-
fn visit_i64_atomic_load32_u(&mut self, memarg: MemArg) -> Self::Output {
|
2214
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2215
|
-
}
|
2216
|
-
fn visit_i64_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
2217
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2218
|
-
}
|
2219
|
-
fn visit_i64_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
2220
|
-
self.check_atomic_load(memarg, ValType::I64)
|
2221
|
-
}
|
2222
|
-
fn visit_i32_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
|
2223
|
-
self.check_atomic_store(memarg, ValType::I32)
|
2224
|
-
}
|
2225
|
-
fn visit_i32_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
|
2226
|
-
self.check_atomic_store(memarg, ValType::I32)
|
2227
|
-
}
|
2228
|
-
fn visit_i32_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
|
2229
|
-
self.check_atomic_store(memarg, ValType::I32)
|
2230
|
-
}
|
2231
|
-
fn visit_i64_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
|
2232
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2233
|
-
}
|
2234
|
-
fn visit_i64_atomic_store32(&mut self, memarg: MemArg) -> Self::Output {
|
2235
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2236
|
-
}
|
2237
|
-
fn visit_i64_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
|
2238
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2239
|
-
}
|
2240
|
-
fn visit_i64_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
|
2241
|
-
self.check_atomic_store(memarg, ValType::I64)
|
2242
|
-
}
|
2243
|
-
fn visit_i32_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
|
2244
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2245
|
-
}
|
2246
|
-
fn visit_i32_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
|
2247
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2248
|
-
}
|
2249
|
-
fn visit_i32_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
|
2250
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2251
|
-
}
|
2252
|
-
fn visit_i32_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
|
2253
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2254
|
-
}
|
2255
|
-
fn visit_i32_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
|
2256
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2257
|
-
}
|
2258
|
-
fn visit_i32_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2259
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2260
|
-
}
|
2261
|
-
fn visit_i32_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2262
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2263
|
-
}
|
2264
|
-
fn visit_i32_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2265
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2266
|
-
}
|
2267
|
-
fn visit_i32_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2268
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2269
|
-
}
|
2270
|
-
fn visit_i32_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2271
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2272
|
-
}
|
2273
|
-
fn visit_i32_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2274
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2275
|
-
}
|
2276
|
-
fn visit_i32_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2277
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2278
|
-
}
|
2279
|
-
fn visit_i32_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2280
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2281
|
-
}
|
2282
|
-
fn visit_i32_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2283
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2284
|
-
}
|
2285
|
-
fn visit_i32_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2286
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2287
|
-
}
|
2288
|
-
fn visit_i64_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
|
2289
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2290
|
-
}
|
2291
|
-
fn visit_i64_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
|
2292
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2293
|
-
}
|
2294
|
-
fn visit_i64_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
|
2295
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2296
|
-
}
|
2297
|
-
fn visit_i64_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
|
2298
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2299
|
-
}
|
2300
|
-
fn visit_i64_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
|
2301
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2302
|
-
}
|
2303
|
-
fn visit_i64_atomic_rmw32_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2304
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2305
|
-
}
|
2306
|
-
fn visit_i64_atomic_rmw32_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2307
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2308
|
-
}
|
2309
|
-
fn visit_i64_atomic_rmw32_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2310
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2311
|
-
}
|
2312
|
-
fn visit_i64_atomic_rmw32_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2313
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2314
|
-
}
|
2315
|
-
fn visit_i64_atomic_rmw32_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2316
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2317
|
-
}
|
2318
|
-
fn visit_i64_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2319
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2320
|
-
}
|
2321
|
-
fn visit_i64_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2322
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2323
|
-
}
|
2324
|
-
fn visit_i64_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2325
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2326
|
-
}
|
2327
|
-
fn visit_i64_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2328
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2329
|
-
}
|
2330
|
-
fn visit_i64_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2331
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2332
|
-
}
|
2333
|
-
fn visit_i64_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2334
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2335
|
-
}
|
2336
|
-
fn visit_i64_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2337
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2338
|
-
}
|
2339
|
-
fn visit_i64_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2340
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2341
|
-
}
|
2342
|
-
fn visit_i64_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2343
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2344
|
-
}
|
2345
|
-
fn visit_i64_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2346
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2347
|
-
}
|
2348
|
-
fn visit_i32_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
|
2349
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2350
|
-
}
|
2351
|
-
fn visit_i32_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2352
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2353
|
-
}
|
2354
|
-
fn visit_i32_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2355
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2356
|
-
}
|
2357
|
-
fn visit_i32_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
|
2358
|
-
self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
|
2359
|
-
}
|
2360
|
-
fn visit_i32_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2361
|
-
self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
|
2362
|
-
}
|
2363
|
-
fn visit_i32_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2364
|
-
self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
|
2365
|
-
}
|
2366
|
-
fn visit_i64_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
|
2367
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2368
|
-
}
|
2369
|
-
fn visit_i64_atomic_rmw32_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2370
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2371
|
-
}
|
2372
|
-
fn visit_i64_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2373
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2374
|
-
}
|
2375
|
-
fn visit_i64_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2376
|
-
self.check_atomic_binary_op(memarg, ValType::I64)
|
2377
|
-
}
|
2378
|
-
fn visit_i64_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
|
2379
|
-
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2380
|
-
}
|
2381
|
-
fn visit_i64_atomic_rmw32_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2382
|
-
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2383
|
-
}
|
2384
|
-
fn visit_i64_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2385
|
-
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2386
|
-
}
|
2387
|
-
fn visit_i64_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2388
|
-
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2389
|
-
}
|
2390
|
-
fn visit_memory_atomic_notify(&mut self, memarg: MemArg) -> Self::Output {
|
2391
|
-
self.check_atomic_binary_op(memarg, ValType::I32)
|
2392
|
-
}
|
2393
|
-
fn visit_memory_atomic_wait32(&mut self, memarg: MemArg) -> Self::Output {
|
2394
|
-
let ty = self.check_shared_memarg(memarg)?;
|
2395
|
-
self.pop_operand(Some(ValType::I64))?;
|
2396
|
-
self.pop_operand(Some(ValType::I32))?;
|
2397
|
-
self.pop_operand(Some(ty))?;
|
2398
|
-
self.push_operand(ValType::I32)?;
|
2399
|
-
Ok(())
|
2400
|
-
}
|
2401
|
-
fn visit_memory_atomic_wait64(&mut self, memarg: MemArg) -> Self::Output {
|
2402
|
-
let ty = self.check_shared_memarg(memarg)?;
|
2403
|
-
self.pop_operand(Some(ValType::I64))?;
|
2404
|
-
self.pop_operand(Some(ValType::I64))?;
|
2405
|
-
self.pop_operand(Some(ty))?;
|
2406
|
-
self.push_operand(ValType::I32)?;
|
2407
|
-
Ok(())
|
2408
|
-
}
|
2409
|
-
fn visit_atomic_fence(&mut self) -> Self::Output {
|
2410
|
-
Ok(())
|
2411
|
-
}
|
2412
|
-
fn visit_ref_null(&mut self, mut heap_type: HeapType) -> Self::Output {
|
2413
|
-
if let Some(ty) = RefType::new(true, heap_type) {
|
2414
|
-
self.features
|
2415
|
-
.check_ref_type(ty)
|
2416
|
-
.map_err(|e| BinaryReaderError::new(e, self.offset))?;
|
2417
|
-
}
|
2418
|
-
self.resources
|
2419
|
-
.check_heap_type(&mut heap_type, self.offset)?;
|
2420
|
-
let ty = ValType::Ref(
|
2421
|
-
RefType::new(true, heap_type).expect("existing heap types should be within our limits"),
|
2422
|
-
);
|
2423
|
-
self.push_operand(ty)?;
|
2424
|
-
Ok(())
|
2425
|
-
}
|
2426
|
-
|
2427
|
-
fn visit_ref_as_non_null(&mut self) -> Self::Output {
|
2428
|
-
let ty = match self.pop_ref()? {
|
2429
|
-
Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
|
2430
|
-
None => MaybeType::HeapBot,
|
2431
|
-
};
|
2432
|
-
self.push_operand(ty)?;
|
2433
|
-
Ok(())
|
2434
|
-
}
|
2435
|
-
fn visit_br_on_null(&mut self, relative_depth: u32) -> Self::Output {
|
2436
|
-
let ref_ty = match self.pop_ref()? {
|
2437
|
-
None => MaybeType::HeapBot,
|
2438
|
-
Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
|
2439
|
-
};
|
2440
|
-
let (ft, kind) = self.jump(relative_depth)?;
|
2441
|
-
let label_types = self.label_types(ft, kind)?;
|
2442
|
-
self.pop_push_label_types(label_types)?;
|
2443
|
-
self.push_operand(ref_ty)?;
|
2444
|
-
Ok(())
|
2445
|
-
}
|
2446
|
-
fn visit_br_on_non_null(&mut self, relative_depth: u32) -> Self::Output {
|
2447
|
-
let ty = self.pop_ref()?;
|
2448
|
-
let (ft, kind) = self.jump(relative_depth)?;
|
2449
|
-
|
2450
|
-
let mut label_types = self.label_types(ft, kind)?;
|
2451
|
-
match (label_types.next_back(), ty) {
|
2452
|
-
(None, _) => bail!(
|
2453
|
-
self.offset,
|
2454
|
-
"type mismatch: br_on_non_null target has no label types",
|
2455
|
-
),
|
2456
|
-
(Some(ValType::Ref(_)), None) => {}
|
2457
|
-
(Some(rt1 @ ValType::Ref(_)), Some(rt0)) => {
|
2458
|
-
// Switch rt0, our popped type, to a non-nullable type and
|
2459
|
-
// perform the match because if the branch is taken it's a
|
2460
|
-
// non-null value.
|
2461
|
-
let ty = rt0.as_non_null();
|
2462
|
-
if !self.resources.is_subtype(ty.into(), rt1) {
|
2463
|
-
bail!(
|
2464
|
-
self.offset,
|
2465
|
-
"type mismatch: expected {} but found {}",
|
2466
|
-
ty_to_str(rt0.into()),
|
2467
|
-
ty_to_str(rt1)
|
2468
|
-
)
|
2469
|
-
}
|
2470
|
-
}
|
2471
|
-
(Some(_), _) => bail!(
|
2472
|
-
self.offset,
|
2473
|
-
"type mismatch: br_on_non_null target does not end with heap type",
|
2474
|
-
),
|
2475
|
-
}
|
2476
|
-
|
2477
|
-
self.pop_push_label_types(label_types)?;
|
2478
|
-
Ok(())
|
2479
|
-
}
|
2480
|
-
fn visit_ref_is_null(&mut self) -> Self::Output {
|
2481
|
-
self.pop_ref()?;
|
2482
|
-
self.push_operand(ValType::I32)?;
|
2483
|
-
Ok(())
|
2484
|
-
}
|
2485
|
-
fn visit_ref_func(&mut self, function_index: u32) -> Self::Output {
|
2486
|
-
let type_id = match self.resources.type_id_of_function(function_index) {
|
2487
|
-
Some(id) => id,
|
2488
|
-
None => bail!(
|
2489
|
-
self.offset,
|
2490
|
-
"unknown function {}: function index out of bounds",
|
2491
|
-
function_index,
|
2492
|
-
),
|
2493
|
-
};
|
2494
|
-
if !self.resources.is_function_referenced(function_index) {
|
2495
|
-
bail!(self.offset, "undeclared function reference");
|
2496
|
-
}
|
2497
|
-
|
2498
|
-
let index = UnpackedIndex::Id(type_id);
|
2499
|
-
let ty = ValType::Ref(
|
2500
|
-
RefType::new(false, HeapType::Concrete(index)).ok_or_else(|| {
|
2501
|
-
BinaryReaderError::new("implementation limit: type index too large", self.offset)
|
2502
|
-
})?,
|
2503
|
-
);
|
2504
|
-
self.push_operand(ty)?;
|
2505
|
-
Ok(())
|
2506
|
-
}
|
2507
|
-
fn visit_ref_eq(&mut self) -> Self::Output {
|
2508
|
-
self.pop_operand(Some(RefType::EQ.nullable().into()))?;
|
2509
|
-
self.pop_operand(Some(RefType::EQ.nullable().into()))?;
|
2510
|
-
self.push_operand(ValType::I32)
|
2511
|
-
}
|
2512
|
-
fn visit_v128_load(&mut self, memarg: MemArg) -> Self::Output {
|
2513
|
-
let ty = self.check_memarg(memarg)?;
|
2514
|
-
self.pop_operand(Some(ty))?;
|
2515
|
-
self.push_operand(ValType::V128)?;
|
2516
|
-
Ok(())
|
2517
|
-
}
|
2518
|
-
fn visit_v128_store(&mut self, memarg: MemArg) -> Self::Output {
|
2519
|
-
let ty = self.check_memarg(memarg)?;
|
2520
|
-
self.pop_operand(Some(ValType::V128))?;
|
2521
|
-
self.pop_operand(Some(ty))?;
|
2522
|
-
Ok(())
|
2523
|
-
}
|
2524
|
-
fn visit_v128_const(&mut self, _value: V128) -> Self::Output {
|
2525
|
-
self.push_operand(ValType::V128)?;
|
2526
|
-
Ok(())
|
2527
|
-
}
|
2528
|
-
fn visit_i8x16_splat(&mut self) -> Self::Output {
|
2529
|
-
self.check_v128_splat(ValType::I32)
|
2530
|
-
}
|
2531
|
-
fn visit_i16x8_splat(&mut self) -> Self::Output {
|
2532
|
-
self.check_v128_splat(ValType::I32)
|
2533
|
-
}
|
2534
|
-
fn visit_i32x4_splat(&mut self) -> Self::Output {
|
2535
|
-
self.check_v128_splat(ValType::I32)
|
2536
|
-
}
|
2537
|
-
fn visit_i64x2_splat(&mut self) -> Self::Output {
|
2538
|
-
self.check_v128_splat(ValType::I64)
|
2539
|
-
}
|
2540
|
-
fn visit_f32x4_splat(&mut self) -> Self::Output {
|
2541
|
-
self.check_floats_enabled()?;
|
2542
|
-
self.check_v128_splat(ValType::F32)
|
2543
|
-
}
|
2544
|
-
fn visit_f64x2_splat(&mut self) -> Self::Output {
|
2545
|
-
self.check_floats_enabled()?;
|
2546
|
-
self.check_v128_splat(ValType::F64)
|
2547
|
-
}
|
2548
|
-
fn visit_i8x16_extract_lane_s(&mut self, lane: u8) -> Self::Output {
|
2549
|
-
self.check_simd_lane_index(lane, 16)?;
|
2550
|
-
self.pop_operand(Some(ValType::V128))?;
|
2551
|
-
self.push_operand(ValType::I32)?;
|
2552
|
-
Ok(())
|
2553
|
-
}
|
2554
|
-
fn visit_i8x16_extract_lane_u(&mut self, lane: u8) -> Self::Output {
|
2555
|
-
self.visit_i8x16_extract_lane_s(lane)
|
2556
|
-
}
|
2557
|
-
fn visit_i16x8_extract_lane_s(&mut self, lane: u8) -> Self::Output {
|
2558
|
-
self.check_simd_lane_index(lane, 8)?;
|
2559
|
-
self.pop_operand(Some(ValType::V128))?;
|
2560
|
-
self.push_operand(ValType::I32)?;
|
2561
|
-
Ok(())
|
2562
|
-
}
|
2563
|
-
fn visit_i16x8_extract_lane_u(&mut self, lane: u8) -> Self::Output {
|
2564
|
-
self.visit_i16x8_extract_lane_s(lane)
|
2565
|
-
}
|
2566
|
-
fn visit_i32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2567
|
-
self.check_simd_lane_index(lane, 4)?;
|
2568
|
-
self.pop_operand(Some(ValType::V128))?;
|
2569
|
-
self.push_operand(ValType::I32)?;
|
2570
|
-
Ok(())
|
2571
|
-
}
|
2572
|
-
fn visit_i8x16_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2573
|
-
self.check_simd_lane_index(lane, 16)?;
|
2574
|
-
self.pop_operand(Some(ValType::I32))?;
|
2575
|
-
self.pop_operand(Some(ValType::V128))?;
|
2576
|
-
self.push_operand(ValType::V128)?;
|
2577
|
-
Ok(())
|
2578
|
-
}
|
2579
|
-
fn visit_i16x8_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2580
|
-
self.check_simd_lane_index(lane, 8)?;
|
2581
|
-
self.pop_operand(Some(ValType::I32))?;
|
2582
|
-
self.pop_operand(Some(ValType::V128))?;
|
2583
|
-
self.push_operand(ValType::V128)?;
|
2584
|
-
Ok(())
|
2585
|
-
}
|
2586
|
-
fn visit_i32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2587
|
-
self.check_simd_lane_index(lane, 4)?;
|
2588
|
-
self.pop_operand(Some(ValType::I32))?;
|
2589
|
-
self.pop_operand(Some(ValType::V128))?;
|
2590
|
-
self.push_operand(ValType::V128)?;
|
2591
|
-
Ok(())
|
2592
|
-
}
|
2593
|
-
fn visit_i64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2594
|
-
self.check_simd_lane_index(lane, 2)?;
|
2595
|
-
self.pop_operand(Some(ValType::V128))?;
|
2596
|
-
self.push_operand(ValType::I64)?;
|
2597
|
-
Ok(())
|
2598
|
-
}
|
2599
|
-
fn visit_i64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2600
|
-
self.check_simd_lane_index(lane, 2)?;
|
2601
|
-
self.pop_operand(Some(ValType::I64))?;
|
2602
|
-
self.pop_operand(Some(ValType::V128))?;
|
2603
|
-
self.push_operand(ValType::V128)?;
|
2604
|
-
Ok(())
|
2605
|
-
}
|
2606
|
-
fn visit_f32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2607
|
-
self.check_floats_enabled()?;
|
2608
|
-
self.check_simd_lane_index(lane, 4)?;
|
2609
|
-
self.pop_operand(Some(ValType::V128))?;
|
2610
|
-
self.push_operand(ValType::F32)?;
|
2611
|
-
Ok(())
|
2612
|
-
}
|
2613
|
-
fn visit_f32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2614
|
-
self.check_floats_enabled()?;
|
2615
|
-
self.check_simd_lane_index(lane, 4)?;
|
2616
|
-
self.pop_operand(Some(ValType::F32))?;
|
2617
|
-
self.pop_operand(Some(ValType::V128))?;
|
2618
|
-
self.push_operand(ValType::V128)?;
|
2619
|
-
Ok(())
|
2620
|
-
}
|
2621
|
-
fn visit_f64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2622
|
-
self.check_floats_enabled()?;
|
2623
|
-
self.check_simd_lane_index(lane, 2)?;
|
2624
|
-
self.pop_operand(Some(ValType::V128))?;
|
2625
|
-
self.push_operand(ValType::F64)?;
|
2626
|
-
Ok(())
|
2627
|
-
}
|
2628
|
-
fn visit_f64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2629
|
-
self.check_floats_enabled()?;
|
2630
|
-
self.check_simd_lane_index(lane, 2)?;
|
2631
|
-
self.pop_operand(Some(ValType::F64))?;
|
2632
|
-
self.pop_operand(Some(ValType::V128))?;
|
2633
|
-
self.push_operand(ValType::V128)?;
|
2634
|
-
Ok(())
|
2635
|
-
}
|
2636
|
-
fn visit_f32x4_eq(&mut self) -> Self::Output {
|
2637
|
-
self.check_v128_fbinary_op()
|
2638
|
-
}
|
2639
|
-
fn visit_f32x4_ne(&mut self) -> Self::Output {
|
2640
|
-
self.check_v128_fbinary_op()
|
2641
|
-
}
|
2642
|
-
fn visit_f32x4_lt(&mut self) -> Self::Output {
|
2643
|
-
self.check_v128_fbinary_op()
|
2644
|
-
}
|
2645
|
-
fn visit_f32x4_gt(&mut self) -> Self::Output {
|
2646
|
-
self.check_v128_fbinary_op()
|
2647
|
-
}
|
2648
|
-
fn visit_f32x4_le(&mut self) -> Self::Output {
|
2649
|
-
self.check_v128_fbinary_op()
|
2650
|
-
}
|
2651
|
-
fn visit_f32x4_ge(&mut self) -> Self::Output {
|
2652
|
-
self.check_v128_fbinary_op()
|
2653
|
-
}
|
2654
|
-
fn visit_f64x2_eq(&mut self) -> Self::Output {
|
2655
|
-
self.check_v128_fbinary_op()
|
2656
|
-
}
|
2657
|
-
fn visit_f64x2_ne(&mut self) -> Self::Output {
|
2658
|
-
self.check_v128_fbinary_op()
|
2659
|
-
}
|
2660
|
-
fn visit_f64x2_lt(&mut self) -> Self::Output {
|
2661
|
-
self.check_v128_fbinary_op()
|
2662
|
-
}
|
2663
|
-
fn visit_f64x2_gt(&mut self) -> Self::Output {
|
2664
|
-
self.check_v128_fbinary_op()
|
2665
|
-
}
|
2666
|
-
fn visit_f64x2_le(&mut self) -> Self::Output {
|
2667
|
-
self.check_v128_fbinary_op()
|
2668
|
-
}
|
2669
|
-
fn visit_f64x2_ge(&mut self) -> Self::Output {
|
2670
|
-
self.check_v128_fbinary_op()
|
2671
|
-
}
|
2672
|
-
fn visit_f32x4_add(&mut self) -> Self::Output {
|
2673
|
-
self.check_v128_fbinary_op()
|
2674
|
-
}
|
2675
|
-
fn visit_f32x4_sub(&mut self) -> Self::Output {
|
2676
|
-
self.check_v128_fbinary_op()
|
2677
|
-
}
|
2678
|
-
fn visit_f32x4_mul(&mut self) -> Self::Output {
|
2679
|
-
self.check_v128_fbinary_op()
|
2680
|
-
}
|
2681
|
-
fn visit_f32x4_div(&mut self) -> Self::Output {
|
2682
|
-
self.check_v128_fbinary_op()
|
2683
|
-
}
|
2684
|
-
fn visit_f32x4_min(&mut self) -> Self::Output {
|
2685
|
-
self.check_v128_fbinary_op()
|
2686
|
-
}
|
2687
|
-
fn visit_f32x4_max(&mut self) -> Self::Output {
|
2688
|
-
self.check_v128_fbinary_op()
|
2689
|
-
}
|
2690
|
-
fn visit_f32x4_pmin(&mut self) -> Self::Output {
|
2691
|
-
self.check_v128_fbinary_op()
|
2692
|
-
}
|
2693
|
-
fn visit_f32x4_pmax(&mut self) -> Self::Output {
|
2694
|
-
self.check_v128_fbinary_op()
|
2695
|
-
}
|
2696
|
-
fn visit_f64x2_add(&mut self) -> Self::Output {
|
2697
|
-
self.check_v128_fbinary_op()
|
2698
|
-
}
|
2699
|
-
fn visit_f64x2_sub(&mut self) -> Self::Output {
|
2700
|
-
self.check_v128_fbinary_op()
|
2701
|
-
}
|
2702
|
-
fn visit_f64x2_mul(&mut self) -> Self::Output {
|
2703
|
-
self.check_v128_fbinary_op()
|
2704
|
-
}
|
2705
|
-
fn visit_f64x2_div(&mut self) -> Self::Output {
|
2706
|
-
self.check_v128_fbinary_op()
|
2707
|
-
}
|
2708
|
-
fn visit_f64x2_min(&mut self) -> Self::Output {
|
2709
|
-
self.check_v128_fbinary_op()
|
2710
|
-
}
|
2711
|
-
fn visit_f64x2_max(&mut self) -> Self::Output {
|
2712
|
-
self.check_v128_fbinary_op()
|
2713
|
-
}
|
2714
|
-
fn visit_f64x2_pmin(&mut self) -> Self::Output {
|
2715
|
-
self.check_v128_fbinary_op()
|
2716
|
-
}
|
2717
|
-
fn visit_f64x2_pmax(&mut self) -> Self::Output {
|
2718
|
-
self.check_v128_fbinary_op()
|
2719
|
-
}
|
2720
|
-
fn visit_i8x16_eq(&mut self) -> Self::Output {
|
2721
|
-
self.check_v128_binary_op()
|
2722
|
-
}
|
2723
|
-
fn visit_i8x16_ne(&mut self) -> Self::Output {
|
2724
|
-
self.check_v128_binary_op()
|
2725
|
-
}
|
2726
|
-
fn visit_i8x16_lt_s(&mut self) -> Self::Output {
|
2727
|
-
self.check_v128_binary_op()
|
2728
|
-
}
|
2729
|
-
fn visit_i8x16_lt_u(&mut self) -> Self::Output {
|
2730
|
-
self.check_v128_binary_op()
|
2731
|
-
}
|
2732
|
-
fn visit_i8x16_gt_s(&mut self) -> Self::Output {
|
2733
|
-
self.check_v128_binary_op()
|
2734
|
-
}
|
2735
|
-
fn visit_i8x16_gt_u(&mut self) -> Self::Output {
|
2736
|
-
self.check_v128_binary_op()
|
2737
|
-
}
|
2738
|
-
fn visit_i8x16_le_s(&mut self) -> Self::Output {
|
2739
|
-
self.check_v128_binary_op()
|
2740
|
-
}
|
2741
|
-
fn visit_i8x16_le_u(&mut self) -> Self::Output {
|
2742
|
-
self.check_v128_binary_op()
|
2743
|
-
}
|
2744
|
-
fn visit_i8x16_ge_s(&mut self) -> Self::Output {
|
2745
|
-
self.check_v128_binary_op()
|
2746
|
-
}
|
2747
|
-
fn visit_i8x16_ge_u(&mut self) -> Self::Output {
|
2748
|
-
self.check_v128_binary_op()
|
2749
|
-
}
|
2750
|
-
fn visit_i16x8_eq(&mut self) -> Self::Output {
|
2751
|
-
self.check_v128_binary_op()
|
2752
|
-
}
|
2753
|
-
fn visit_i16x8_ne(&mut self) -> Self::Output {
|
2754
|
-
self.check_v128_binary_op()
|
2755
|
-
}
|
2756
|
-
fn visit_i16x8_lt_s(&mut self) -> Self::Output {
|
2757
|
-
self.check_v128_binary_op()
|
2758
|
-
}
|
2759
|
-
fn visit_i16x8_lt_u(&mut self) -> Self::Output {
|
2760
|
-
self.check_v128_binary_op()
|
2761
|
-
}
|
2762
|
-
fn visit_i16x8_gt_s(&mut self) -> Self::Output {
|
2763
|
-
self.check_v128_binary_op()
|
2764
|
-
}
|
2765
|
-
fn visit_i16x8_gt_u(&mut self) -> Self::Output {
|
2766
|
-
self.check_v128_binary_op()
|
2767
|
-
}
|
2768
|
-
fn visit_i16x8_le_s(&mut self) -> Self::Output {
|
2769
|
-
self.check_v128_binary_op()
|
2770
|
-
}
|
2771
|
-
fn visit_i16x8_le_u(&mut self) -> Self::Output {
|
2772
|
-
self.check_v128_binary_op()
|
2773
|
-
}
|
2774
|
-
fn visit_i16x8_ge_s(&mut self) -> Self::Output {
|
2775
|
-
self.check_v128_binary_op()
|
2776
|
-
}
|
2777
|
-
fn visit_i16x8_ge_u(&mut self) -> Self::Output {
|
2778
|
-
self.check_v128_binary_op()
|
2779
|
-
}
|
2780
|
-
fn visit_i32x4_eq(&mut self) -> Self::Output {
|
2781
|
-
self.check_v128_binary_op()
|
2782
|
-
}
|
2783
|
-
fn visit_i32x4_ne(&mut self) -> Self::Output {
|
2784
|
-
self.check_v128_binary_op()
|
2785
|
-
}
|
2786
|
-
fn visit_i32x4_lt_s(&mut self) -> Self::Output {
|
2787
|
-
self.check_v128_binary_op()
|
2788
|
-
}
|
2789
|
-
fn visit_i32x4_lt_u(&mut self) -> Self::Output {
|
2790
|
-
self.check_v128_binary_op()
|
2791
|
-
}
|
2792
|
-
fn visit_i32x4_gt_s(&mut self) -> Self::Output {
|
2793
|
-
self.check_v128_binary_op()
|
2794
|
-
}
|
2795
|
-
fn visit_i32x4_gt_u(&mut self) -> Self::Output {
|
2796
|
-
self.check_v128_binary_op()
|
2797
|
-
}
|
2798
|
-
fn visit_i32x4_le_s(&mut self) -> Self::Output {
|
2799
|
-
self.check_v128_binary_op()
|
2800
|
-
}
|
2801
|
-
fn visit_i32x4_le_u(&mut self) -> Self::Output {
|
2802
|
-
self.check_v128_binary_op()
|
2803
|
-
}
|
2804
|
-
fn visit_i32x4_ge_s(&mut self) -> Self::Output {
|
2805
|
-
self.check_v128_binary_op()
|
2806
|
-
}
|
2807
|
-
fn visit_i32x4_ge_u(&mut self) -> Self::Output {
|
2808
|
-
self.check_v128_binary_op()
|
2809
|
-
}
|
2810
|
-
fn visit_i64x2_eq(&mut self) -> Self::Output {
|
2811
|
-
self.check_v128_binary_op()
|
2812
|
-
}
|
2813
|
-
fn visit_i64x2_ne(&mut self) -> Self::Output {
|
2814
|
-
self.check_v128_binary_op()
|
2815
|
-
}
|
2816
|
-
fn visit_i64x2_lt_s(&mut self) -> Self::Output {
|
2817
|
-
self.check_v128_binary_op()
|
2818
|
-
}
|
2819
|
-
fn visit_i64x2_gt_s(&mut self) -> Self::Output {
|
2820
|
-
self.check_v128_binary_op()
|
2821
|
-
}
|
2822
|
-
fn visit_i64x2_le_s(&mut self) -> Self::Output {
|
2823
|
-
self.check_v128_binary_op()
|
2824
|
-
}
|
2825
|
-
fn visit_i64x2_ge_s(&mut self) -> Self::Output {
|
2826
|
-
self.check_v128_binary_op()
|
2827
|
-
}
|
2828
|
-
fn visit_v128_and(&mut self) -> Self::Output {
|
2829
|
-
self.check_v128_binary_op()
|
2830
|
-
}
|
2831
|
-
fn visit_v128_andnot(&mut self) -> Self::Output {
|
2832
|
-
self.check_v128_binary_op()
|
2833
|
-
}
|
2834
|
-
fn visit_v128_or(&mut self) -> Self::Output {
|
2835
|
-
self.check_v128_binary_op()
|
2836
|
-
}
|
2837
|
-
fn visit_v128_xor(&mut self) -> Self::Output {
|
2838
|
-
self.check_v128_binary_op()
|
2839
|
-
}
|
2840
|
-
fn visit_i8x16_add(&mut self) -> Self::Output {
|
2841
|
-
self.check_v128_binary_op()
|
2842
|
-
}
|
2843
|
-
fn visit_i8x16_add_sat_s(&mut self) -> Self::Output {
|
2844
|
-
self.check_v128_binary_op()
|
2845
|
-
}
|
2846
|
-
fn visit_i8x16_add_sat_u(&mut self) -> Self::Output {
|
2847
|
-
self.check_v128_binary_op()
|
2848
|
-
}
|
2849
|
-
fn visit_i8x16_sub(&mut self) -> Self::Output {
|
2850
|
-
self.check_v128_binary_op()
|
2851
|
-
}
|
2852
|
-
fn visit_i8x16_sub_sat_s(&mut self) -> Self::Output {
|
2853
|
-
self.check_v128_binary_op()
|
2854
|
-
}
|
2855
|
-
fn visit_i8x16_sub_sat_u(&mut self) -> Self::Output {
|
2856
|
-
self.check_v128_binary_op()
|
2857
|
-
}
|
2858
|
-
fn visit_i8x16_min_s(&mut self) -> Self::Output {
|
2859
|
-
self.check_v128_binary_op()
|
2860
|
-
}
|
2861
|
-
fn visit_i8x16_min_u(&mut self) -> Self::Output {
|
2862
|
-
self.check_v128_binary_op()
|
2863
|
-
}
|
2864
|
-
fn visit_i8x16_max_s(&mut self) -> Self::Output {
|
2865
|
-
self.check_v128_binary_op()
|
2866
|
-
}
|
2867
|
-
fn visit_i8x16_max_u(&mut self) -> Self::Output {
|
2868
|
-
self.check_v128_binary_op()
|
2869
|
-
}
|
2870
|
-
fn visit_i16x8_add(&mut self) -> Self::Output {
|
2871
|
-
self.check_v128_binary_op()
|
2872
|
-
}
|
2873
|
-
fn visit_i16x8_add_sat_s(&mut self) -> Self::Output {
|
2874
|
-
self.check_v128_binary_op()
|
2875
|
-
}
|
2876
|
-
fn visit_i16x8_add_sat_u(&mut self) -> Self::Output {
|
2877
|
-
self.check_v128_binary_op()
|
2878
|
-
}
|
2879
|
-
fn visit_i16x8_sub(&mut self) -> Self::Output {
|
2880
|
-
self.check_v128_binary_op()
|
2881
|
-
}
|
2882
|
-
fn visit_i16x8_sub_sat_s(&mut self) -> Self::Output {
|
2883
|
-
self.check_v128_binary_op()
|
2884
|
-
}
|
2885
|
-
fn visit_i16x8_sub_sat_u(&mut self) -> Self::Output {
|
2886
|
-
self.check_v128_binary_op()
|
2887
|
-
}
|
2888
|
-
fn visit_i16x8_mul(&mut self) -> Self::Output {
|
2889
|
-
self.check_v128_binary_op()
|
2890
|
-
}
|
2891
|
-
fn visit_i16x8_min_s(&mut self) -> Self::Output {
|
2892
|
-
self.check_v128_binary_op()
|
2893
|
-
}
|
2894
|
-
fn visit_i16x8_min_u(&mut self) -> Self::Output {
|
2895
|
-
self.check_v128_binary_op()
|
2896
|
-
}
|
2897
|
-
fn visit_i16x8_max_s(&mut self) -> Self::Output {
|
2898
|
-
self.check_v128_binary_op()
|
2899
|
-
}
|
2900
|
-
fn visit_i16x8_max_u(&mut self) -> Self::Output {
|
2901
|
-
self.check_v128_binary_op()
|
2902
|
-
}
|
2903
|
-
fn visit_i32x4_add(&mut self) -> Self::Output {
|
2904
|
-
self.check_v128_binary_op()
|
2905
|
-
}
|
2906
|
-
fn visit_i32x4_sub(&mut self) -> Self::Output {
|
2907
|
-
self.check_v128_binary_op()
|
2908
|
-
}
|
2909
|
-
fn visit_i32x4_mul(&mut self) -> Self::Output {
|
2910
|
-
self.check_v128_binary_op()
|
2911
|
-
}
|
2912
|
-
fn visit_i32x4_min_s(&mut self) -> Self::Output {
|
2913
|
-
self.check_v128_binary_op()
|
2914
|
-
}
|
2915
|
-
fn visit_i32x4_min_u(&mut self) -> Self::Output {
|
2916
|
-
self.check_v128_binary_op()
|
2917
|
-
}
|
2918
|
-
fn visit_i32x4_max_s(&mut self) -> Self::Output {
|
2919
|
-
self.check_v128_binary_op()
|
2920
|
-
}
|
2921
|
-
fn visit_i32x4_max_u(&mut self) -> Self::Output {
|
2922
|
-
self.check_v128_binary_op()
|
2923
|
-
}
|
2924
|
-
fn visit_i32x4_dot_i16x8_s(&mut self) -> Self::Output {
|
2925
|
-
self.check_v128_binary_op()
|
2926
|
-
}
|
2927
|
-
fn visit_i64x2_add(&mut self) -> Self::Output {
|
2928
|
-
self.check_v128_binary_op()
|
2929
|
-
}
|
2930
|
-
fn visit_i64x2_sub(&mut self) -> Self::Output {
|
2931
|
-
self.check_v128_binary_op()
|
2932
|
-
}
|
2933
|
-
fn visit_i64x2_mul(&mut self) -> Self::Output {
|
2934
|
-
self.check_v128_binary_op()
|
2935
|
-
}
|
2936
|
-
fn visit_i8x16_avgr_u(&mut self) -> Self::Output {
|
2937
|
-
self.check_v128_binary_op()
|
2938
|
-
}
|
2939
|
-
fn visit_i16x8_avgr_u(&mut self) -> Self::Output {
|
2940
|
-
self.check_v128_binary_op()
|
2941
|
-
}
|
2942
|
-
fn visit_i8x16_narrow_i16x8_s(&mut self) -> Self::Output {
|
2943
|
-
self.check_v128_binary_op()
|
2944
|
-
}
|
2945
|
-
fn visit_i8x16_narrow_i16x8_u(&mut self) -> Self::Output {
|
2946
|
-
self.check_v128_binary_op()
|
2947
|
-
}
|
2948
|
-
fn visit_i16x8_narrow_i32x4_s(&mut self) -> Self::Output {
|
2949
|
-
self.check_v128_binary_op()
|
2950
|
-
}
|
2951
|
-
fn visit_i16x8_narrow_i32x4_u(&mut self) -> Self::Output {
|
2952
|
-
self.check_v128_binary_op()
|
2953
|
-
}
|
2954
|
-
fn visit_i16x8_extmul_low_i8x16_s(&mut self) -> Self::Output {
|
2955
|
-
self.check_v128_binary_op()
|
2956
|
-
}
|
2957
|
-
fn visit_i16x8_extmul_high_i8x16_s(&mut self) -> Self::Output {
|
2958
|
-
self.check_v128_binary_op()
|
2959
|
-
}
|
2960
|
-
fn visit_i16x8_extmul_low_i8x16_u(&mut self) -> Self::Output {
|
2961
|
-
self.check_v128_binary_op()
|
2962
|
-
}
|
2963
|
-
fn visit_i16x8_extmul_high_i8x16_u(&mut self) -> Self::Output {
|
2964
|
-
self.check_v128_binary_op()
|
2965
|
-
}
|
2966
|
-
fn visit_i32x4_extmul_low_i16x8_s(&mut self) -> Self::Output {
|
2967
|
-
self.check_v128_binary_op()
|
2968
|
-
}
|
2969
|
-
fn visit_i32x4_extmul_high_i16x8_s(&mut self) -> Self::Output {
|
2970
|
-
self.check_v128_binary_op()
|
2971
|
-
}
|
2972
|
-
fn visit_i32x4_extmul_low_i16x8_u(&mut self) -> Self::Output {
|
2973
|
-
self.check_v128_binary_op()
|
2974
|
-
}
|
2975
|
-
fn visit_i32x4_extmul_high_i16x8_u(&mut self) -> Self::Output {
|
2976
|
-
self.check_v128_binary_op()
|
2977
|
-
}
|
2978
|
-
fn visit_i64x2_extmul_low_i32x4_s(&mut self) -> Self::Output {
|
2979
|
-
self.check_v128_binary_op()
|
2980
|
-
}
|
2981
|
-
fn visit_i64x2_extmul_high_i32x4_s(&mut self) -> Self::Output {
|
2982
|
-
self.check_v128_binary_op()
|
2983
|
-
}
|
2984
|
-
fn visit_i64x2_extmul_low_i32x4_u(&mut self) -> Self::Output {
|
2985
|
-
self.check_v128_binary_op()
|
2986
|
-
}
|
2987
|
-
fn visit_i64x2_extmul_high_i32x4_u(&mut self) -> Self::Output {
|
2988
|
-
self.check_v128_binary_op()
|
2989
|
-
}
|
2990
|
-
fn visit_i16x8_q15mulr_sat_s(&mut self) -> Self::Output {
|
2991
|
-
self.check_v128_binary_op()
|
2992
|
-
}
|
2993
|
-
fn visit_f32x4_ceil(&mut self) -> Self::Output {
|
2994
|
-
self.check_v128_funary_op()
|
2995
|
-
}
|
2996
|
-
fn visit_f32x4_floor(&mut self) -> Self::Output {
|
2997
|
-
self.check_v128_funary_op()
|
2998
|
-
}
|
2999
|
-
fn visit_f32x4_trunc(&mut self) -> Self::Output {
|
3000
|
-
self.check_v128_funary_op()
|
3001
|
-
}
|
3002
|
-
fn visit_f32x4_nearest(&mut self) -> Self::Output {
|
3003
|
-
self.check_v128_funary_op()
|
3004
|
-
}
|
3005
|
-
fn visit_f64x2_ceil(&mut self) -> Self::Output {
|
3006
|
-
self.check_v128_funary_op()
|
3007
|
-
}
|
3008
|
-
fn visit_f64x2_floor(&mut self) -> Self::Output {
|
3009
|
-
self.check_v128_funary_op()
|
3010
|
-
}
|
3011
|
-
fn visit_f64x2_trunc(&mut self) -> Self::Output {
|
3012
|
-
self.check_v128_funary_op()
|
3013
|
-
}
|
3014
|
-
fn visit_f64x2_nearest(&mut self) -> Self::Output {
|
3015
|
-
self.check_v128_funary_op()
|
3016
|
-
}
|
3017
|
-
fn visit_f32x4_abs(&mut self) -> Self::Output {
|
3018
|
-
self.check_v128_funary_op()
|
3019
|
-
}
|
3020
|
-
fn visit_f32x4_neg(&mut self) -> Self::Output {
|
3021
|
-
self.check_v128_funary_op()
|
3022
|
-
}
|
3023
|
-
fn visit_f32x4_sqrt(&mut self) -> Self::Output {
|
3024
|
-
self.check_v128_funary_op()
|
3025
|
-
}
|
3026
|
-
fn visit_f64x2_abs(&mut self) -> Self::Output {
|
3027
|
-
self.check_v128_funary_op()
|
3028
|
-
}
|
3029
|
-
fn visit_f64x2_neg(&mut self) -> Self::Output {
|
3030
|
-
self.check_v128_funary_op()
|
3031
|
-
}
|
3032
|
-
fn visit_f64x2_sqrt(&mut self) -> Self::Output {
|
3033
|
-
self.check_v128_funary_op()
|
3034
|
-
}
|
3035
|
-
fn visit_f32x4_demote_f64x2_zero(&mut self) -> Self::Output {
|
3036
|
-
self.check_v128_funary_op()
|
3037
|
-
}
|
3038
|
-
fn visit_f64x2_promote_low_f32x4(&mut self) -> Self::Output {
|
3039
|
-
self.check_v128_funary_op()
|
3040
|
-
}
|
3041
|
-
fn visit_f64x2_convert_low_i32x4_s(&mut self) -> Self::Output {
|
3042
|
-
self.check_v128_funary_op()
|
3043
|
-
}
|
3044
|
-
fn visit_f64x2_convert_low_i32x4_u(&mut self) -> Self::Output {
|
3045
|
-
self.check_v128_funary_op()
|
3046
|
-
}
|
3047
|
-
fn visit_i32x4_trunc_sat_f32x4_s(&mut self) -> Self::Output {
|
3048
|
-
self.check_v128_funary_op()
|
3049
|
-
}
|
3050
|
-
fn visit_i32x4_trunc_sat_f32x4_u(&mut self) -> Self::Output {
|
3051
|
-
self.check_v128_funary_op()
|
3052
|
-
}
|
3053
|
-
fn visit_i32x4_trunc_sat_f64x2_s_zero(&mut self) -> Self::Output {
|
3054
|
-
self.check_v128_funary_op()
|
3055
|
-
}
|
3056
|
-
fn visit_i32x4_trunc_sat_f64x2_u_zero(&mut self) -> Self::Output {
|
3057
|
-
self.check_v128_funary_op()
|
3058
|
-
}
|
3059
|
-
fn visit_f32x4_convert_i32x4_s(&mut self) -> Self::Output {
|
3060
|
-
self.check_v128_funary_op()
|
3061
|
-
}
|
3062
|
-
fn visit_f32x4_convert_i32x4_u(&mut self) -> Self::Output {
|
3063
|
-
self.check_v128_funary_op()
|
3064
|
-
}
|
3065
|
-
fn visit_v128_not(&mut self) -> Self::Output {
|
3066
|
-
self.check_v128_unary_op()
|
3067
|
-
}
|
3068
|
-
fn visit_i8x16_abs(&mut self) -> Self::Output {
|
3069
|
-
self.check_v128_unary_op()
|
3070
|
-
}
|
3071
|
-
fn visit_i8x16_neg(&mut self) -> Self::Output {
|
3072
|
-
self.check_v128_unary_op()
|
3073
|
-
}
|
3074
|
-
fn visit_i8x16_popcnt(&mut self) -> Self::Output {
|
3075
|
-
self.check_v128_unary_op()
|
3076
|
-
}
|
3077
|
-
fn visit_i16x8_abs(&mut self) -> Self::Output {
|
3078
|
-
self.check_v128_unary_op()
|
3079
|
-
}
|
3080
|
-
fn visit_i16x8_neg(&mut self) -> Self::Output {
|
3081
|
-
self.check_v128_unary_op()
|
3082
|
-
}
|
3083
|
-
fn visit_i32x4_abs(&mut self) -> Self::Output {
|
3084
|
-
self.check_v128_unary_op()
|
3085
|
-
}
|
3086
|
-
fn visit_i32x4_neg(&mut self) -> Self::Output {
|
3087
|
-
self.check_v128_unary_op()
|
3088
|
-
}
|
3089
|
-
fn visit_i64x2_abs(&mut self) -> Self::Output {
|
3090
|
-
self.check_v128_unary_op()
|
3091
|
-
}
|
3092
|
-
fn visit_i64x2_neg(&mut self) -> Self::Output {
|
3093
|
-
self.check_v128_unary_op()
|
3094
|
-
}
|
3095
|
-
fn visit_i16x8_extend_low_i8x16_s(&mut self) -> Self::Output {
|
3096
|
-
self.check_v128_unary_op()
|
3097
|
-
}
|
3098
|
-
fn visit_i16x8_extend_high_i8x16_s(&mut self) -> Self::Output {
|
3099
|
-
self.check_v128_unary_op()
|
3100
|
-
}
|
3101
|
-
fn visit_i16x8_extend_low_i8x16_u(&mut self) -> Self::Output {
|
3102
|
-
self.check_v128_unary_op()
|
3103
|
-
}
|
3104
|
-
fn visit_i16x8_extend_high_i8x16_u(&mut self) -> Self::Output {
|
3105
|
-
self.check_v128_unary_op()
|
3106
|
-
}
|
3107
|
-
fn visit_i32x4_extend_low_i16x8_s(&mut self) -> Self::Output {
|
3108
|
-
self.check_v128_unary_op()
|
3109
|
-
}
|
3110
|
-
fn visit_i32x4_extend_high_i16x8_s(&mut self) -> Self::Output {
|
3111
|
-
self.check_v128_unary_op()
|
3112
|
-
}
|
3113
|
-
fn visit_i32x4_extend_low_i16x8_u(&mut self) -> Self::Output {
|
3114
|
-
self.check_v128_unary_op()
|
3115
|
-
}
|
3116
|
-
fn visit_i32x4_extend_high_i16x8_u(&mut self) -> Self::Output {
|
3117
|
-
self.check_v128_unary_op()
|
3118
|
-
}
|
3119
|
-
fn visit_i64x2_extend_low_i32x4_s(&mut self) -> Self::Output {
|
3120
|
-
self.check_v128_unary_op()
|
3121
|
-
}
|
3122
|
-
fn visit_i64x2_extend_high_i32x4_s(&mut self) -> Self::Output {
|
3123
|
-
self.check_v128_unary_op()
|
3124
|
-
}
|
3125
|
-
fn visit_i64x2_extend_low_i32x4_u(&mut self) -> Self::Output {
|
3126
|
-
self.check_v128_unary_op()
|
3127
|
-
}
|
3128
|
-
fn visit_i64x2_extend_high_i32x4_u(&mut self) -> Self::Output {
|
3129
|
-
self.check_v128_unary_op()
|
3130
|
-
}
|
3131
|
-
fn visit_i16x8_extadd_pairwise_i8x16_s(&mut self) -> Self::Output {
|
3132
|
-
self.check_v128_unary_op()
|
3133
|
-
}
|
3134
|
-
fn visit_i16x8_extadd_pairwise_i8x16_u(&mut self) -> Self::Output {
|
3135
|
-
self.check_v128_unary_op()
|
3136
|
-
}
|
3137
|
-
fn visit_i32x4_extadd_pairwise_i16x8_s(&mut self) -> Self::Output {
|
3138
|
-
self.check_v128_unary_op()
|
3139
|
-
}
|
3140
|
-
fn visit_i32x4_extadd_pairwise_i16x8_u(&mut self) -> Self::Output {
|
3141
|
-
self.check_v128_unary_op()
|
3142
|
-
}
|
3143
|
-
fn visit_v128_bitselect(&mut self) -> Self::Output {
|
3144
|
-
self.pop_operand(Some(ValType::V128))?;
|
3145
|
-
self.pop_operand(Some(ValType::V128))?;
|
3146
|
-
self.pop_operand(Some(ValType::V128))?;
|
3147
|
-
self.push_operand(ValType::V128)?;
|
3148
|
-
Ok(())
|
3149
|
-
}
|
3150
|
-
fn visit_i8x16_relaxed_swizzle(&mut self) -> Self::Output {
|
3151
|
-
self.pop_operand(Some(ValType::V128))?;
|
3152
|
-
self.pop_operand(Some(ValType::V128))?;
|
3153
|
-
self.push_operand(ValType::V128)?;
|
3154
|
-
Ok(())
|
3155
|
-
}
|
3156
|
-
fn visit_i32x4_relaxed_trunc_f32x4_s(&mut self) -> Self::Output {
|
3157
|
-
self.check_v128_unary_op()
|
3158
|
-
}
|
3159
|
-
fn visit_i32x4_relaxed_trunc_f32x4_u(&mut self) -> Self::Output {
|
3160
|
-
self.check_v128_unary_op()
|
3161
|
-
}
|
3162
|
-
fn visit_i32x4_relaxed_trunc_f64x2_s_zero(&mut self) -> Self::Output {
|
3163
|
-
self.check_v128_unary_op()
|
3164
|
-
}
|
3165
|
-
fn visit_i32x4_relaxed_trunc_f64x2_u_zero(&mut self) -> Self::Output {
|
3166
|
-
self.check_v128_unary_op()
|
3167
|
-
}
|
3168
|
-
fn visit_f32x4_relaxed_madd(&mut self) -> Self::Output {
|
3169
|
-
self.check_v128_ternary_op()
|
3170
|
-
}
|
3171
|
-
fn visit_f32x4_relaxed_nmadd(&mut self) -> Self::Output {
|
3172
|
-
self.check_v128_ternary_op()
|
3173
|
-
}
|
3174
|
-
fn visit_f64x2_relaxed_madd(&mut self) -> Self::Output {
|
3175
|
-
self.check_v128_ternary_op()
|
3176
|
-
}
|
3177
|
-
fn visit_f64x2_relaxed_nmadd(&mut self) -> Self::Output {
|
3178
|
-
self.check_v128_ternary_op()
|
3179
|
-
}
|
3180
|
-
fn visit_i8x16_relaxed_laneselect(&mut self) -> Self::Output {
|
3181
|
-
self.check_v128_ternary_op()
|
3182
|
-
}
|
3183
|
-
fn visit_i16x8_relaxed_laneselect(&mut self) -> Self::Output {
|
3184
|
-
self.check_v128_ternary_op()
|
3185
|
-
}
|
3186
|
-
fn visit_i32x4_relaxed_laneselect(&mut self) -> Self::Output {
|
3187
|
-
self.check_v128_ternary_op()
|
3188
|
-
}
|
3189
|
-
fn visit_i64x2_relaxed_laneselect(&mut self) -> Self::Output {
|
3190
|
-
self.check_v128_ternary_op()
|
3191
|
-
}
|
3192
|
-
fn visit_f32x4_relaxed_min(&mut self) -> Self::Output {
|
3193
|
-
self.check_v128_binary_op()
|
3194
|
-
}
|
3195
|
-
fn visit_f32x4_relaxed_max(&mut self) -> Self::Output {
|
3196
|
-
self.check_v128_binary_op()
|
3197
|
-
}
|
3198
|
-
fn visit_f64x2_relaxed_min(&mut self) -> Self::Output {
|
3199
|
-
self.check_v128_binary_op()
|
3200
|
-
}
|
3201
|
-
fn visit_f64x2_relaxed_max(&mut self) -> Self::Output {
|
3202
|
-
self.check_v128_binary_op()
|
3203
|
-
}
|
3204
|
-
fn visit_i16x8_relaxed_q15mulr_s(&mut self) -> Self::Output {
|
3205
|
-
self.check_v128_binary_op()
|
3206
|
-
}
|
3207
|
-
fn visit_i16x8_relaxed_dot_i8x16_i7x16_s(&mut self) -> Self::Output {
|
3208
|
-
self.check_v128_binary_op()
|
3209
|
-
}
|
3210
|
-
fn visit_i32x4_relaxed_dot_i8x16_i7x16_add_s(&mut self) -> Self::Output {
|
3211
|
-
self.check_v128_ternary_op()
|
3212
|
-
}
|
3213
|
-
fn visit_v128_any_true(&mut self) -> Self::Output {
|
3214
|
-
self.check_v128_bitmask_op()
|
3215
|
-
}
|
3216
|
-
fn visit_i8x16_all_true(&mut self) -> Self::Output {
|
3217
|
-
self.check_v128_bitmask_op()
|
3218
|
-
}
|
3219
|
-
fn visit_i8x16_bitmask(&mut self) -> Self::Output {
|
3220
|
-
self.check_v128_bitmask_op()
|
3221
|
-
}
|
3222
|
-
fn visit_i16x8_all_true(&mut self) -> Self::Output {
|
3223
|
-
self.check_v128_bitmask_op()
|
3224
|
-
}
|
3225
|
-
fn visit_i16x8_bitmask(&mut self) -> Self::Output {
|
3226
|
-
self.check_v128_bitmask_op()
|
3227
|
-
}
|
3228
|
-
fn visit_i32x4_all_true(&mut self) -> Self::Output {
|
3229
|
-
self.check_v128_bitmask_op()
|
3230
|
-
}
|
3231
|
-
fn visit_i32x4_bitmask(&mut self) -> Self::Output {
|
3232
|
-
self.check_v128_bitmask_op()
|
3233
|
-
}
|
3234
|
-
fn visit_i64x2_all_true(&mut self) -> Self::Output {
|
3235
|
-
self.check_v128_bitmask_op()
|
3236
|
-
}
|
3237
|
-
fn visit_i64x2_bitmask(&mut self) -> Self::Output {
|
3238
|
-
self.check_v128_bitmask_op()
|
3239
|
-
}
|
3240
|
-
fn visit_i8x16_shl(&mut self) -> Self::Output {
|
3241
|
-
self.check_v128_shift_op()
|
3242
|
-
}
|
3243
|
-
fn visit_i8x16_shr_s(&mut self) -> Self::Output {
|
3244
|
-
self.check_v128_shift_op()
|
3245
|
-
}
|
3246
|
-
fn visit_i8x16_shr_u(&mut self) -> Self::Output {
|
3247
|
-
self.check_v128_shift_op()
|
3248
|
-
}
|
3249
|
-
fn visit_i16x8_shl(&mut self) -> Self::Output {
|
3250
|
-
self.check_v128_shift_op()
|
3251
|
-
}
|
3252
|
-
fn visit_i16x8_shr_s(&mut self) -> Self::Output {
|
3253
|
-
self.check_v128_shift_op()
|
3254
|
-
}
|
3255
|
-
fn visit_i16x8_shr_u(&mut self) -> Self::Output {
|
3256
|
-
self.check_v128_shift_op()
|
3257
|
-
}
|
3258
|
-
fn visit_i32x4_shl(&mut self) -> Self::Output {
|
3259
|
-
self.check_v128_shift_op()
|
3260
|
-
}
|
3261
|
-
fn visit_i32x4_shr_s(&mut self) -> Self::Output {
|
3262
|
-
self.check_v128_shift_op()
|
3263
|
-
}
|
3264
|
-
fn visit_i32x4_shr_u(&mut self) -> Self::Output {
|
3265
|
-
self.check_v128_shift_op()
|
3266
|
-
}
|
3267
|
-
fn visit_i64x2_shl(&mut self) -> Self::Output {
|
3268
|
-
self.check_v128_shift_op()
|
3269
|
-
}
|
3270
|
-
fn visit_i64x2_shr_s(&mut self) -> Self::Output {
|
3271
|
-
self.check_v128_shift_op()
|
3272
|
-
}
|
3273
|
-
fn visit_i64x2_shr_u(&mut self) -> Self::Output {
|
3274
|
-
self.check_v128_shift_op()
|
3275
|
-
}
|
3276
|
-
fn visit_i8x16_swizzle(&mut self) -> Self::Output {
|
3277
|
-
self.pop_operand(Some(ValType::V128))?;
|
3278
|
-
self.pop_operand(Some(ValType::V128))?;
|
3279
|
-
self.push_operand(ValType::V128)?;
|
3280
|
-
Ok(())
|
3281
|
-
}
|
3282
|
-
fn visit_i8x16_shuffle(&mut self, lanes: [u8; 16]) -> Self::Output {
|
3283
|
-
self.pop_operand(Some(ValType::V128))?;
|
3284
|
-
self.pop_operand(Some(ValType::V128))?;
|
3285
|
-
for i in lanes {
|
3286
|
-
self.check_simd_lane_index(i, 32)?;
|
3287
|
-
}
|
3288
|
-
self.push_operand(ValType::V128)?;
|
3289
|
-
Ok(())
|
3290
|
-
}
|
3291
|
-
fn visit_v128_load8_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3292
|
-
let ty = self.check_memarg(memarg)?;
|
3293
|
-
self.pop_operand(Some(ty))?;
|
3294
|
-
self.push_operand(ValType::V128)?;
|
3295
|
-
Ok(())
|
3296
|
-
}
|
3297
|
-
fn visit_v128_load16_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3298
|
-
let ty = self.check_memarg(memarg)?;
|
3299
|
-
self.pop_operand(Some(ty))?;
|
3300
|
-
self.push_operand(ValType::V128)?;
|
3301
|
-
Ok(())
|
3302
|
-
}
|
3303
|
-
fn visit_v128_load32_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3304
|
-
let ty = self.check_memarg(memarg)?;
|
3305
|
-
self.pop_operand(Some(ty))?;
|
3306
|
-
self.push_operand(ValType::V128)?;
|
3307
|
-
Ok(())
|
3308
|
-
}
|
3309
|
-
fn visit_v128_load32_zero(&mut self, memarg: MemArg) -> Self::Output {
|
3310
|
-
self.visit_v128_load32_splat(memarg)
|
3311
|
-
}
|
3312
|
-
fn visit_v128_load64_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3313
|
-
self.check_v128_load_op(memarg)
|
3314
|
-
}
|
3315
|
-
fn visit_v128_load64_zero(&mut self, memarg: MemArg) -> Self::Output {
|
3316
|
-
self.check_v128_load_op(memarg)
|
3317
|
-
}
|
3318
|
-
fn visit_v128_load8x8_s(&mut self, memarg: MemArg) -> Self::Output {
|
3319
|
-
self.check_v128_load_op(memarg)
|
3320
|
-
}
|
3321
|
-
fn visit_v128_load8x8_u(&mut self, memarg: MemArg) -> Self::Output {
|
3322
|
-
self.check_v128_load_op(memarg)
|
3323
|
-
}
|
3324
|
-
fn visit_v128_load16x4_s(&mut self, memarg: MemArg) -> Self::Output {
|
3325
|
-
self.check_v128_load_op(memarg)
|
3326
|
-
}
|
3327
|
-
fn visit_v128_load16x4_u(&mut self, memarg: MemArg) -> Self::Output {
|
3328
|
-
self.check_v128_load_op(memarg)
|
3329
|
-
}
|
3330
|
-
fn visit_v128_load32x2_s(&mut self, memarg: MemArg) -> Self::Output {
|
3331
|
-
self.check_v128_load_op(memarg)
|
3332
|
-
}
|
3333
|
-
fn visit_v128_load32x2_u(&mut self, memarg: MemArg) -> Self::Output {
|
3334
|
-
self.check_v128_load_op(memarg)
|
3335
|
-
}
|
3336
|
-
fn visit_v128_load8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3337
|
-
let idx = self.check_memarg(memarg)?;
|
3338
|
-
self.check_simd_lane_index(lane, 16)?;
|
3339
|
-
self.pop_operand(Some(ValType::V128))?;
|
3340
|
-
self.pop_operand(Some(idx))?;
|
3341
|
-
self.push_operand(ValType::V128)?;
|
3342
|
-
Ok(())
|
3343
|
-
}
|
3344
|
-
fn visit_v128_load16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3345
|
-
let idx = self.check_memarg(memarg)?;
|
3346
|
-
self.check_simd_lane_index(lane, 8)?;
|
3347
|
-
self.pop_operand(Some(ValType::V128))?;
|
3348
|
-
self.pop_operand(Some(idx))?;
|
3349
|
-
self.push_operand(ValType::V128)?;
|
3350
|
-
Ok(())
|
3351
|
-
}
|
3352
|
-
fn visit_v128_load32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3353
|
-
let idx = self.check_memarg(memarg)?;
|
3354
|
-
self.check_simd_lane_index(lane, 4)?;
|
3355
|
-
self.pop_operand(Some(ValType::V128))?;
|
3356
|
-
self.pop_operand(Some(idx))?;
|
3357
|
-
self.push_operand(ValType::V128)?;
|
3358
|
-
Ok(())
|
3359
|
-
}
|
3360
|
-
fn visit_v128_load64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3361
|
-
let idx = self.check_memarg(memarg)?;
|
3362
|
-
self.check_simd_lane_index(lane, 2)?;
|
3363
|
-
self.pop_operand(Some(ValType::V128))?;
|
3364
|
-
self.pop_operand(Some(idx))?;
|
3365
|
-
self.push_operand(ValType::V128)?;
|
3366
|
-
Ok(())
|
3367
|
-
}
|
3368
|
-
fn visit_v128_store8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3369
|
-
let idx = self.check_memarg(memarg)?;
|
3370
|
-
self.check_simd_lane_index(lane, 16)?;
|
3371
|
-
self.pop_operand(Some(ValType::V128))?;
|
3372
|
-
self.pop_operand(Some(idx))?;
|
3373
|
-
Ok(())
|
3374
|
-
}
|
3375
|
-
fn visit_v128_store16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3376
|
-
let idx = self.check_memarg(memarg)?;
|
3377
|
-
self.check_simd_lane_index(lane, 8)?;
|
3378
|
-
self.pop_operand(Some(ValType::V128))?;
|
3379
|
-
self.pop_operand(Some(idx))?;
|
3380
|
-
Ok(())
|
3381
|
-
}
|
3382
|
-
fn visit_v128_store32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3383
|
-
let idx = self.check_memarg(memarg)?;
|
3384
|
-
self.check_simd_lane_index(lane, 4)?;
|
3385
|
-
self.pop_operand(Some(ValType::V128))?;
|
3386
|
-
self.pop_operand(Some(idx))?;
|
3387
|
-
Ok(())
|
3388
|
-
}
|
3389
|
-
fn visit_v128_store64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3390
|
-
let idx = self.check_memarg(memarg)?;
|
3391
|
-
self.check_simd_lane_index(lane, 2)?;
|
3392
|
-
self.pop_operand(Some(ValType::V128))?;
|
3393
|
-
self.pop_operand(Some(idx))?;
|
3394
|
-
Ok(())
|
3395
|
-
}
|
3396
|
-
fn visit_memory_init(&mut self, segment: u32, mem: u32) -> Self::Output {
|
3397
|
-
let ty = self.check_memory_index(mem)?;
|
3398
|
-
match self.resources.data_count() {
|
3399
|
-
None => bail!(self.offset, "data count section required"),
|
3400
|
-
Some(count) if segment < count => {}
|
3401
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", segment),
|
3402
|
-
}
|
3403
|
-
self.pop_operand(Some(ValType::I32))?;
|
3404
|
-
self.pop_operand(Some(ValType::I32))?;
|
3405
|
-
self.pop_operand(Some(ty))?;
|
3406
|
-
Ok(())
|
3407
|
-
}
|
3408
|
-
fn visit_data_drop(&mut self, segment: u32) -> Self::Output {
|
3409
|
-
match self.resources.data_count() {
|
3410
|
-
None => bail!(self.offset, "data count section required"),
|
3411
|
-
Some(count) if segment < count => {}
|
3412
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", segment),
|
3413
|
-
}
|
3414
|
-
Ok(())
|
3415
|
-
}
|
3416
|
-
fn visit_memory_copy(&mut self, dst: u32, src: u32) -> Self::Output {
|
3417
|
-
let dst_ty = self.check_memory_index(dst)?;
|
3418
|
-
let src_ty = self.check_memory_index(src)?;
|
3419
|
-
|
3420
|
-
// The length operand here is the smaller of src/dst, which is
|
3421
|
-
// i32 if one is i32
|
3422
|
-
self.pop_operand(Some(match src_ty {
|
3423
|
-
ValType::I32 => ValType::I32,
|
3424
|
-
_ => dst_ty,
|
3425
|
-
}))?;
|
3426
|
-
|
3427
|
-
// ... and the offset into each memory is required to be
|
3428
|
-
// whatever the indexing type is for that memory
|
3429
|
-
self.pop_operand(Some(src_ty))?;
|
3430
|
-
self.pop_operand(Some(dst_ty))?;
|
3431
|
-
Ok(())
|
3432
|
-
}
|
3433
|
-
fn visit_memory_fill(&mut self, mem: u32) -> Self::Output {
|
3434
|
-
let ty = self.check_memory_index(mem)?;
|
3435
|
-
self.pop_operand(Some(ty))?;
|
3436
|
-
self.pop_operand(Some(ValType::I32))?;
|
3437
|
-
self.pop_operand(Some(ty))?;
|
3438
|
-
Ok(())
|
3439
|
-
}
|
3440
|
-
fn visit_memory_discard(&mut self, mem: u32) -> Self::Output {
|
3441
|
-
let ty = self.check_memory_index(mem)?;
|
3442
|
-
self.pop_operand(Some(ty))?;
|
3443
|
-
self.pop_operand(Some(ty))?;
|
3444
|
-
Ok(())
|
3445
|
-
}
|
3446
|
-
fn visit_table_init(&mut self, segment: u32, table: u32) -> Self::Output {
|
3447
|
-
if table > 0 {}
|
3448
|
-
let table = match self.resources.table_at(table) {
|
3449
|
-
Some(table) => table,
|
3450
|
-
None => bail!(
|
3451
|
-
self.offset,
|
3452
|
-
"unknown table {}: table index out of bounds",
|
3453
|
-
table
|
3454
|
-
),
|
3455
|
-
};
|
3456
|
-
let segment_ty = self.element_type_at(segment)?;
|
3457
|
-
if !self
|
3458
|
-
.resources
|
3459
|
-
.is_subtype(ValType::Ref(segment_ty), ValType::Ref(table.element_type))
|
3460
|
-
{
|
3461
|
-
bail!(self.offset, "type mismatch");
|
3462
|
-
}
|
3463
|
-
self.pop_operand(Some(ValType::I32))?;
|
3464
|
-
self.pop_operand(Some(ValType::I32))?;
|
3465
|
-
self.pop_operand(Some(ValType::I32))?;
|
3466
|
-
Ok(())
|
3467
|
-
}
|
3468
|
-
fn visit_elem_drop(&mut self, segment: u32) -> Self::Output {
|
3469
|
-
if segment >= self.resources.element_count() {
|
3470
|
-
bail!(
|
3471
|
-
self.offset,
|
3472
|
-
"unknown elem segment {}: segment index out of bounds",
|
3473
|
-
segment
|
3474
|
-
);
|
3475
|
-
}
|
3476
|
-
Ok(())
|
3477
|
-
}
|
3478
|
-
fn visit_table_copy(&mut self, dst_table: u32, src_table: u32) -> Self::Output {
|
3479
|
-
if src_table > 0 || dst_table > 0 {}
|
3480
|
-
let (src, dst) = match (
|
3481
|
-
self.resources.table_at(src_table),
|
3482
|
-
self.resources.table_at(dst_table),
|
3483
|
-
) {
|
3484
|
-
(Some(a), Some(b)) => (a, b),
|
3485
|
-
_ => bail!(self.offset, "table index out of bounds"),
|
3486
|
-
};
|
3487
|
-
if !self.resources.is_subtype(
|
3488
|
-
ValType::Ref(src.element_type),
|
3489
|
-
ValType::Ref(dst.element_type),
|
3490
|
-
) {
|
3491
|
-
bail!(self.offset, "type mismatch");
|
3492
|
-
}
|
3493
|
-
self.pop_operand(Some(ValType::I32))?;
|
3494
|
-
self.pop_operand(Some(ValType::I32))?;
|
3495
|
-
self.pop_operand(Some(ValType::I32))?;
|
3496
|
-
Ok(())
|
3497
|
-
}
|
3498
|
-
fn visit_table_get(&mut self, table: u32) -> Self::Output {
|
3499
|
-
let ty = match self.resources.table_at(table) {
|
3500
|
-
Some(ty) => ty.element_type,
|
3501
|
-
None => bail!(self.offset, "table index out of bounds"),
|
3502
|
-
};
|
3503
|
-
let ty = ValType::Ref(ty);
|
3504
|
-
debug_assert_type_indices_are_ids(ty);
|
3505
|
-
self.pop_operand(Some(ValType::I32))?;
|
3506
|
-
self.push_operand(ty)?;
|
3507
|
-
Ok(())
|
3508
|
-
}
|
3509
|
-
fn visit_table_set(&mut self, table: u32) -> Self::Output {
|
3510
|
-
let ty = match self.resources.table_at(table) {
|
3511
|
-
Some(ty) => ValType::Ref(ty.element_type),
|
3512
|
-
None => bail!(self.offset, "table index out of bounds"),
|
3513
|
-
};
|
3514
|
-
debug_assert_type_indices_are_ids(ty);
|
3515
|
-
self.pop_operand(Some(ty))?;
|
3516
|
-
self.pop_operand(Some(ValType::I32))?;
|
3517
|
-
Ok(())
|
3518
|
-
}
|
3519
|
-
fn visit_table_grow(&mut self, table: u32) -> Self::Output {
|
3520
|
-
let ty = match self.resources.table_at(table) {
|
3521
|
-
Some(ty) => ValType::Ref(ty.element_type),
|
3522
|
-
None => bail!(self.offset, "table index out of bounds"),
|
3523
|
-
};
|
3524
|
-
debug_assert_type_indices_are_ids(ty);
|
3525
|
-
self.pop_operand(Some(ValType::I32))?;
|
3526
|
-
self.pop_operand(Some(ty))?;
|
3527
|
-
self.push_operand(ValType::I32)?;
|
3528
|
-
Ok(())
|
3529
|
-
}
|
3530
|
-
fn visit_table_size(&mut self, table: u32) -> Self::Output {
|
3531
|
-
if self.resources.table_at(table).is_none() {
|
3532
|
-
bail!(self.offset, "table index out of bounds");
|
3533
|
-
}
|
3534
|
-
self.push_operand(ValType::I32)?;
|
3535
|
-
Ok(())
|
3536
|
-
}
|
3537
|
-
fn visit_table_fill(&mut self, table: u32) -> Self::Output {
|
3538
|
-
let ty = match self.resources.table_at(table) {
|
3539
|
-
Some(ty) => ValType::Ref(ty.element_type),
|
3540
|
-
None => bail!(self.offset, "table index out of bounds"),
|
3541
|
-
};
|
3542
|
-
debug_assert_type_indices_are_ids(ty);
|
3543
|
-
self.pop_operand(Some(ValType::I32))?;
|
3544
|
-
self.pop_operand(Some(ty))?;
|
3545
|
-
self.pop_operand(Some(ValType::I32))?;
|
3546
|
-
Ok(())
|
3547
|
-
}
|
3548
|
-
fn visit_struct_new(&mut self, struct_type_index: u32) -> Self::Output {
|
3549
|
-
let struct_ty = self.struct_type_at(struct_type_index)?;
|
3550
|
-
for ty in struct_ty.fields.iter().rev() {
|
3551
|
-
self.pop_operand(Some(ty.element_type.unpack()))?;
|
3552
|
-
}
|
3553
|
-
self.push_concrete_ref(false, struct_type_index)?;
|
3554
|
-
Ok(())
|
3555
|
-
}
|
3556
|
-
fn visit_struct_new_default(&mut self, type_index: u32) -> Self::Output {
|
3557
|
-
let ty = self.struct_type_at(type_index)?;
|
3558
|
-
for field in ty.fields.iter() {
|
3559
|
-
let val_ty = field.element_type.unpack();
|
3560
|
-
if !val_ty.is_defaultable() {
|
3561
|
-
bail!(
|
3562
|
-
self.offset,
|
3563
|
-
"invalid `struct.new_default`: {val_ty} field is not defaultable"
|
3564
|
-
);
|
3565
|
-
}
|
3566
|
-
}
|
3567
|
-
self.push_concrete_ref(false, type_index)?;
|
3568
|
-
Ok(())
|
3569
|
-
}
|
3570
|
-
fn visit_struct_get(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3571
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3572
|
-
if field_ty.element_type.is_packed() {
|
3573
|
-
bail!(
|
3574
|
-
self.offset,
|
3575
|
-
"can only use struct.get with non-packed storage types"
|
3576
|
-
)
|
3577
|
-
}
|
3578
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3579
|
-
self.push_operand(field_ty.element_type.unpack())
|
3580
|
-
}
|
3581
|
-
fn visit_struct_get_s(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3582
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3583
|
-
if !field_ty.element_type.is_packed() {
|
3584
|
-
bail!(
|
3585
|
-
self.offset,
|
3586
|
-
"cannot use struct.get_s with non-packed storage types"
|
3587
|
-
)
|
3588
|
-
}
|
3589
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3590
|
-
self.push_operand(field_ty.element_type.unpack())
|
3591
|
-
}
|
3592
|
-
fn visit_struct_get_u(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3593
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3594
|
-
if !field_ty.element_type.is_packed() {
|
3595
|
-
bail!(
|
3596
|
-
self.offset,
|
3597
|
-
"cannot use struct.get_u with non-packed storage types"
|
3598
|
-
)
|
3599
|
-
}
|
3600
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3601
|
-
self.push_operand(field_ty.element_type.unpack())
|
3602
|
-
}
|
3603
|
-
fn visit_struct_set(&mut self, struct_type_index: u32, field_index: u32) -> Self::Output {
|
3604
|
-
let field_ty = self.struct_field_at(struct_type_index, field_index)?;
|
3605
|
-
if !field_ty.mutable {
|
3606
|
-
bail!(self.offset, "invalid struct.set: struct field is immutable")
|
3607
|
-
}
|
3608
|
-
self.pop_operand(Some(field_ty.element_type.unpack()))?;
|
3609
|
-
self.pop_concrete_ref(true, struct_type_index)?;
|
3610
|
-
Ok(())
|
3611
|
-
}
|
3612
|
-
fn visit_array_new(&mut self, type_index: u32) -> Self::Output {
|
3613
|
-
let array_ty = self.array_type_at(type_index)?;
|
3614
|
-
self.pop_operand(Some(ValType::I32))?;
|
3615
|
-
self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
|
3616
|
-
self.push_concrete_ref(false, type_index)
|
3617
|
-
}
|
3618
|
-
fn visit_array_new_default(&mut self, type_index: u32) -> Self::Output {
|
3619
|
-
let ty = self.array_type_at(type_index)?;
|
3620
|
-
let val_ty = ty.0.element_type.unpack();
|
3621
|
-
if !val_ty.is_defaultable() {
|
3622
|
-
bail!(
|
3623
|
-
self.offset,
|
3624
|
-
"invalid `array.new_default`: {val_ty} field is not defaultable"
|
3625
|
-
);
|
3626
|
-
}
|
3627
|
-
self.pop_operand(Some(ValType::I32))?;
|
3628
|
-
self.push_concrete_ref(false, type_index)
|
3629
|
-
}
|
3630
|
-
fn visit_array_new_fixed(&mut self, type_index: u32, n: u32) -> Self::Output {
|
3631
|
-
let array_ty = self.array_type_at(type_index)?;
|
3632
|
-
let elem_ty = array_ty.0.element_type.unpack();
|
3633
|
-
for _ in 0..n {
|
3634
|
-
self.pop_operand(Some(elem_ty))?;
|
3635
|
-
}
|
3636
|
-
self.push_concrete_ref(false, type_index)
|
3637
|
-
}
|
3638
|
-
fn visit_array_new_data(&mut self, type_index: u32, data_index: u32) -> Self::Output {
|
3639
|
-
let array_ty = self.array_type_at(type_index)?;
|
3640
|
-
let elem_ty = array_ty.0.element_type.unpack();
|
3641
|
-
match elem_ty {
|
3642
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
|
3643
|
-
ValType::Ref(_) => bail!(
|
3644
|
-
self.offset,
|
3645
|
-
"type mismatch: array.new_data can only create arrays with numeric and vector elements"
|
3646
|
-
),
|
3647
|
-
}
|
3648
|
-
match self.resources.data_count() {
|
3649
|
-
None => bail!(self.offset, "data count section required"),
|
3650
|
-
Some(count) if data_index < count => {}
|
3651
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", data_index),
|
3652
|
-
}
|
3653
|
-
self.pop_operand(Some(ValType::I32))?;
|
3654
|
-
self.pop_operand(Some(ValType::I32))?;
|
3655
|
-
self.push_concrete_ref(false, type_index)
|
3656
|
-
}
|
3657
|
-
fn visit_array_new_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
|
3658
|
-
let array_ty = self.array_type_at(type_index)?;
|
3659
|
-
let array_ref_ty = match array_ty.0.element_type.unpack() {
|
3660
|
-
ValType::Ref(rt) => rt,
|
3661
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
|
3662
|
-
self.offset,
|
3663
|
-
"type mismatch: array.new_elem can only create arrays with reference elements"
|
3664
|
-
),
|
3665
|
-
};
|
3666
|
-
let elem_ref_ty = self.element_type_at(elem_index)?;
|
3667
|
-
if !self
|
3668
|
-
.resources
|
3669
|
-
.is_subtype(elem_ref_ty.into(), array_ref_ty.into())
|
3670
|
-
{
|
3671
|
-
bail!(
|
3672
|
-
self.offset,
|
3673
|
-
"invalid array.new_elem instruction: element segment {elem_index} type mismatch: \
|
3674
|
-
expected {array_ref_ty}, found {elem_ref_ty}"
|
3675
|
-
)
|
3676
|
-
}
|
3677
|
-
self.pop_operand(Some(ValType::I32))?;
|
3678
|
-
self.pop_operand(Some(ValType::I32))?;
|
3679
|
-
self.push_concrete_ref(false, type_index)
|
3680
|
-
}
|
3681
|
-
fn visit_array_get(&mut self, type_index: u32) -> Self::Output {
|
3682
|
-
let array_ty = self.array_type_at(type_index)?;
|
3683
|
-
let elem_ty = array_ty.0.element_type;
|
3684
|
-
if elem_ty.is_packed() {
|
3685
|
-
bail!(
|
3686
|
-
self.offset,
|
3687
|
-
"cannot use array.get with packed storage types"
|
3688
|
-
)
|
3689
|
-
}
|
3690
|
-
self.pop_operand(Some(ValType::I32))?;
|
3691
|
-
self.pop_concrete_ref(true, type_index)?;
|
3692
|
-
self.push_operand(elem_ty.unpack())
|
3693
|
-
}
|
3694
|
-
fn visit_array_get_s(&mut self, type_index: u32) -> Self::Output {
|
3695
|
-
let array_ty = self.array_type_at(type_index)?;
|
3696
|
-
let elem_ty = array_ty.0.element_type;
|
3697
|
-
if !elem_ty.is_packed() {
|
3698
|
-
bail!(
|
3699
|
-
self.offset,
|
3700
|
-
"cannot use array.get_s with non-packed storage types"
|
3701
|
-
)
|
3702
|
-
}
|
3703
|
-
self.pop_operand(Some(ValType::I32))?;
|
3704
|
-
self.pop_concrete_ref(true, type_index)?;
|
3705
|
-
self.push_operand(elem_ty.unpack())
|
3706
|
-
}
|
3707
|
-
fn visit_array_get_u(&mut self, type_index: u32) -> Self::Output {
|
3708
|
-
let array_ty = self.array_type_at(type_index)?;
|
3709
|
-
let elem_ty = array_ty.0.element_type;
|
3710
|
-
if !elem_ty.is_packed() {
|
3711
|
-
bail!(
|
3712
|
-
self.offset,
|
3713
|
-
"cannot use array.get_u with non-packed storage types"
|
3714
|
-
)
|
3715
|
-
}
|
3716
|
-
self.pop_operand(Some(ValType::I32))?;
|
3717
|
-
self.pop_concrete_ref(true, type_index)?;
|
3718
|
-
self.push_operand(elem_ty.unpack())
|
3719
|
-
}
|
3720
|
-
fn visit_array_set(&mut self, type_index: u32) -> Self::Output {
|
3721
|
-
let array_ty = self.array_type_at(type_index)?;
|
3722
|
-
if !array_ty.0.mutable {
|
3723
|
-
bail!(self.offset, "invalid array.set: array is immutable")
|
3724
|
-
}
|
3725
|
-
self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
|
3726
|
-
self.pop_operand(Some(ValType::I32))?;
|
3727
|
-
self.pop_concrete_ref(true, type_index)?;
|
3728
|
-
Ok(())
|
3729
|
-
}
|
3730
|
-
fn visit_array_len(&mut self) -> Self::Output {
|
3731
|
-
self.pop_operand(Some(RefType::ARRAY.nullable().into()))?;
|
3732
|
-
self.push_operand(ValType::I32)
|
3733
|
-
}
|
3734
|
-
fn visit_array_fill(&mut self, array_type_index: u32) -> Self::Output {
|
3735
|
-
let array_ty = self.array_type_at(array_type_index)?;
|
3736
|
-
if !array_ty.0.mutable {
|
3737
|
-
bail!(self.offset, "invalid array.fill: array is immutable");
|
3738
|
-
}
|
3739
|
-
self.pop_operand(Some(ValType::I32))?;
|
3740
|
-
self.pop_operand(Some(array_ty.0.element_type.unpack()))?;
|
3741
|
-
self.pop_operand(Some(ValType::I32))?;
|
3742
|
-
self.pop_concrete_ref(true, array_type_index)?;
|
3743
|
-
Ok(())
|
3744
|
-
}
|
3745
|
-
fn visit_array_copy(&mut self, type_index_dst: u32, type_index_src: u32) -> Self::Output {
|
3746
|
-
let array_ty_dst = self.array_type_at(type_index_dst)?;
|
3747
|
-
if !array_ty_dst.0.mutable {
|
3748
|
-
bail!(
|
3749
|
-
self.offset,
|
3750
|
-
"invalid array.copy: destination array is immutable"
|
3751
|
-
);
|
3752
|
-
}
|
3753
|
-
let array_ty_src = self.array_type_at(type_index_src)?;
|
3754
|
-
match (array_ty_dst.0.element_type, array_ty_src.0.element_type) {
|
3755
|
-
(StorageType::I8, StorageType::I8) => {}
|
3756
|
-
(StorageType::I8, ty) => bail!(
|
3757
|
-
self.offset,
|
3758
|
-
"array types do not match: expected i8, found {ty}"
|
3759
|
-
),
|
3760
|
-
(StorageType::I16, StorageType::I16) => {}
|
3761
|
-
(StorageType::I16, ty) => bail!(
|
3762
|
-
self.offset,
|
3763
|
-
"array types do not match: expected i16, found {ty}"
|
3764
|
-
),
|
3765
|
-
(StorageType::Val(dst), StorageType::Val(src)) => {
|
3766
|
-
if !self.resources.is_subtype(src, dst) {
|
3767
|
-
bail!(
|
3768
|
-
self.offset,
|
3769
|
-
"array types do not match: expected {dst}, found {src}"
|
3770
|
-
)
|
3771
|
-
}
|
3772
|
-
}
|
3773
|
-
(StorageType::Val(dst), src) => {
|
3774
|
-
bail!(
|
3775
|
-
self.offset,
|
3776
|
-
"array types do not match: expected {dst}, found {src}"
|
3777
|
-
)
|
3778
|
-
}
|
3779
|
-
}
|
3780
|
-
self.pop_operand(Some(ValType::I32))?;
|
3781
|
-
self.pop_operand(Some(ValType::I32))?;
|
3782
|
-
self.pop_concrete_ref(true, type_index_src)?;
|
3783
|
-
self.pop_operand(Some(ValType::I32))?;
|
3784
|
-
self.pop_concrete_ref(true, type_index_dst)?;
|
3785
|
-
Ok(())
|
3786
|
-
}
|
3787
|
-
fn visit_array_init_data(
|
3788
|
-
&mut self,
|
3789
|
-
array_type_index: u32,
|
3790
|
-
array_data_index: u32,
|
3791
|
-
) -> Self::Output {
|
3792
|
-
let array_ty = self.array_type_at(array_type_index)?;
|
3793
|
-
if !array_ty.0.mutable {
|
3794
|
-
bail!(self.offset, "invalid array.init_data: array is immutable");
|
3795
|
-
}
|
3796
|
-
let val_ty = array_ty.0.element_type.unpack();
|
3797
|
-
match val_ty {
|
3798
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => {}
|
3799
|
-
ValType::Ref(_) => bail!(
|
3800
|
-
self.offset,
|
3801
|
-
"invalid array.init_data: array type is not numeric or vector"
|
3802
|
-
),
|
3803
|
-
}
|
3804
|
-
match self.resources.data_count() {
|
3805
|
-
None => bail!(self.offset, "data count section required"),
|
3806
|
-
Some(count) if array_data_index < count => {}
|
3807
|
-
Some(_) => bail!(self.offset, "unknown data segment {}", array_data_index),
|
3808
|
-
}
|
3809
|
-
self.pop_operand(Some(ValType::I32))?;
|
3810
|
-
self.pop_operand(Some(ValType::I32))?;
|
3811
|
-
self.pop_operand(Some(ValType::I32))?;
|
3812
|
-
self.pop_concrete_ref(true, array_type_index)?;
|
3813
|
-
Ok(())
|
3814
|
-
}
|
3815
|
-
fn visit_array_init_elem(&mut self, type_index: u32, elem_index: u32) -> Self::Output {
|
3816
|
-
let array_ty = self.array_type_at(type_index)?;
|
3817
|
-
if !array_ty.0.mutable {
|
3818
|
-
bail!(self.offset, "invalid array.init_data: array is immutable");
|
3819
|
-
}
|
3820
|
-
let array_ref_ty = match array_ty.0.element_type.unpack() {
|
3821
|
-
ValType::Ref(rt) => rt,
|
3822
|
-
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128 => bail!(
|
3823
|
-
self.offset,
|
3824
|
-
"type mismatch: array.init_elem can only create arrays with reference elements"
|
3825
|
-
),
|
3826
|
-
};
|
3827
|
-
let elem_ref_ty = self.element_type_at(elem_index)?;
|
3828
|
-
if !self
|
3829
|
-
.resources
|
3830
|
-
.is_subtype(elem_ref_ty.into(), array_ref_ty.into())
|
3831
|
-
{
|
3832
|
-
bail!(
|
3833
|
-
self.offset,
|
3834
|
-
"invalid array.init_elem instruction: element segment {elem_index} type mismatch: \
|
3835
|
-
expected {array_ref_ty}, found {elem_ref_ty}"
|
3836
|
-
)
|
3837
|
-
}
|
3838
|
-
self.pop_operand(Some(ValType::I32))?;
|
3839
|
-
self.pop_operand(Some(ValType::I32))?;
|
3840
|
-
self.pop_operand(Some(ValType::I32))?;
|
3841
|
-
self.pop_concrete_ref(true, type_index)?;
|
3842
|
-
Ok(())
|
3843
|
-
}
|
3844
|
-
fn visit_any_convert_extern(&mut self) -> Self::Output {
|
3845
|
-
let extern_ref = self.pop_operand(Some(RefType::EXTERNREF.into()))?;
|
3846
|
-
let is_nullable = extern_ref
|
3847
|
-
.as_type()
|
3848
|
-
.map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
|
3849
|
-
let any_ref = RefType::new(is_nullable, HeapType::Any).unwrap();
|
3850
|
-
self.push_operand(any_ref)
|
3851
|
-
}
|
3852
|
-
fn visit_extern_convert_any(&mut self) -> Self::Output {
|
3853
|
-
let any_ref = self.pop_operand(Some(RefType::ANY.nullable().into()))?;
|
3854
|
-
let is_nullable = any_ref
|
3855
|
-
.as_type()
|
3856
|
-
.map_or(false, |ty| ty.as_reference_type().unwrap().is_nullable());
|
3857
|
-
let extern_ref = RefType::new(is_nullable, HeapType::Extern).unwrap();
|
3858
|
-
self.push_operand(extern_ref)
|
3859
|
-
}
|
3860
|
-
fn visit_ref_test_non_null(&mut self, heap_type: HeapType) -> Self::Output {
|
3861
|
-
self.check_ref_test(false, heap_type)
|
3862
|
-
}
|
3863
|
-
fn visit_ref_test_nullable(&mut self, heap_type: HeapType) -> Self::Output {
|
3864
|
-
self.check_ref_test(true, heap_type)
|
3865
|
-
}
|
3866
|
-
fn visit_ref_cast_non_null(&mut self, heap_type: HeapType) -> Self::Output {
|
3867
|
-
self.check_ref_cast(false, heap_type)
|
3868
|
-
}
|
3869
|
-
fn visit_ref_cast_nullable(&mut self, heap_type: HeapType) -> Self::Output {
|
3870
|
-
self.check_ref_cast(true, heap_type)
|
3871
|
-
}
|
3872
|
-
fn visit_br_on_cast(
|
3873
|
-
&mut self,
|
3874
|
-
relative_depth: u32,
|
3875
|
-
mut from_ref_type: RefType,
|
3876
|
-
mut to_ref_type: RefType,
|
3877
|
-
) -> Self::Output {
|
3878
|
-
self.resources
|
3879
|
-
.check_ref_type(&mut from_ref_type, self.offset)?;
|
3880
|
-
self.resources
|
3881
|
-
.check_ref_type(&mut to_ref_type, self.offset)?;
|
3882
|
-
|
3883
|
-
if !self
|
3884
|
-
.resources
|
3885
|
-
.is_subtype(to_ref_type.into(), from_ref_type.into())
|
3886
|
-
{
|
3887
|
-
bail!(
|
3888
|
-
self.offset,
|
3889
|
-
"type mismatch: expected {from_ref_type}, found {to_ref_type}"
|
3890
|
-
);
|
3891
|
-
}
|
3892
|
-
|
3893
|
-
let (block_ty, frame_kind) = self.jump(relative_depth)?;
|
3894
|
-
let mut label_types = self.label_types(block_ty, frame_kind)?;
|
3895
|
-
|
3896
|
-
match label_types.next_back() {
|
3897
|
-
Some(label_ty) if self.resources.is_subtype(to_ref_type.into(), label_ty) => {
|
3898
|
-
self.pop_operand(Some(from_ref_type.into()))?;
|
3899
|
-
}
|
3900
|
-
Some(label_ty) => bail!(
|
3901
|
-
self.offset,
|
3902
|
-
"type mismatch: casting to type {to_ref_type}, but it does not match \
|
3903
|
-
label result type {label_ty}"
|
3904
|
-
),
|
3905
|
-
None => bail!(
|
3906
|
-
self.offset,
|
3907
|
-
"type mismtach: br_on_cast to label with empty types, must have a reference type"
|
3908
|
-
),
|
3909
|
-
};
|
3910
|
-
|
3911
|
-
self.pop_push_label_types(label_types)?;
|
3912
|
-
let diff_ty = RefType::difference(from_ref_type, to_ref_type);
|
3913
|
-
self.push_operand(diff_ty)?;
|
3914
|
-
Ok(())
|
3915
|
-
}
|
3916
|
-
fn visit_br_on_cast_fail(
|
3917
|
-
&mut self,
|
3918
|
-
relative_depth: u32,
|
3919
|
-
mut from_ref_type: RefType,
|
3920
|
-
mut to_ref_type: RefType,
|
3921
|
-
) -> Self::Output {
|
3922
|
-
self.resources
|
3923
|
-
.check_ref_type(&mut from_ref_type, self.offset)?;
|
3924
|
-
self.resources
|
3925
|
-
.check_ref_type(&mut to_ref_type, self.offset)?;
|
3926
|
-
|
3927
|
-
if !self
|
3928
|
-
.resources
|
3929
|
-
.is_subtype(to_ref_type.into(), from_ref_type.into())
|
3930
|
-
{
|
3931
|
-
bail!(
|
3932
|
-
self.offset,
|
3933
|
-
"type mismatch: expected {from_ref_type}, found {to_ref_type}"
|
3934
|
-
);
|
3935
|
-
}
|
3936
|
-
|
3937
|
-
let (block_ty, frame_kind) = self.jump(relative_depth)?;
|
3938
|
-
let mut label_tys = self.label_types(block_ty, frame_kind)?;
|
3939
|
-
|
3940
|
-
let diff_ty = RefType::difference(from_ref_type, to_ref_type);
|
3941
|
-
match label_tys.next_back() {
|
3942
|
-
Some(label_ty) if self.resources.is_subtype(diff_ty.into(), label_ty) => {
|
3943
|
-
self.pop_operand(Some(from_ref_type.into()))?;
|
3944
|
-
}
|
3945
|
-
Some(label_ty) => bail!(
|
3946
|
-
self.offset,
|
3947
|
-
"type mismatch: expected label result type {label_ty}, found {diff_ty}"
|
3948
|
-
),
|
3949
|
-
None => bail!(
|
3950
|
-
self.offset,
|
3951
|
-
"type mismatch: expected a reference type, found nothing"
|
3952
|
-
),
|
3953
|
-
}
|
3954
|
-
|
3955
|
-
self.pop_push_label_types(label_tys)?;
|
3956
|
-
self.push_operand(to_ref_type)?;
|
3957
|
-
Ok(())
|
3958
|
-
}
|
3959
|
-
fn visit_ref_i31(&mut self) -> Self::Output {
|
3960
|
-
self.pop_operand(Some(ValType::I32))?;
|
3961
|
-
self.push_operand(ValType::Ref(RefType::I31))
|
3962
|
-
}
|
3963
|
-
fn visit_i31_get_s(&mut self) -> Self::Output {
|
3964
|
-
self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
|
3965
|
-
self.push_operand(ValType::I32)
|
3966
|
-
}
|
3967
|
-
fn visit_i31_get_u(&mut self) -> Self::Output {
|
3968
|
-
self.pop_operand(Some(ValType::Ref(RefType::I31REF)))?;
|
3969
|
-
self.push_operand(ValType::I32)
|
3970
|
-
}
|
3971
|
-
}
|
3972
|
-
|
3973
|
-
#[derive(Clone, Debug)]
|
3974
|
-
enum Either<A, B> {
|
3975
|
-
A(A),
|
3976
|
-
B(B),
|
3977
|
-
}
|
3978
|
-
|
3979
|
-
impl<A, B> Iterator for Either<A, B>
|
3980
|
-
where
|
3981
|
-
A: Iterator,
|
3982
|
-
B: Iterator<Item = A::Item>,
|
3983
|
-
{
|
3984
|
-
type Item = A::Item;
|
3985
|
-
fn next(&mut self) -> Option<A::Item> {
|
3986
|
-
match self {
|
3987
|
-
Either::A(a) => a.next(),
|
3988
|
-
Either::B(b) => b.next(),
|
3989
|
-
}
|
3990
|
-
}
|
3991
|
-
}
|
3992
|
-
|
3993
|
-
impl<A, B> DoubleEndedIterator for Either<A, B>
|
3994
|
-
where
|
3995
|
-
A: DoubleEndedIterator,
|
3996
|
-
B: DoubleEndedIterator<Item = A::Item>,
|
3997
|
-
{
|
3998
|
-
fn next_back(&mut self) -> Option<A::Item> {
|
3999
|
-
match self {
|
4000
|
-
Either::A(a) => a.next_back(),
|
4001
|
-
Either::B(b) => b.next_back(),
|
4002
|
-
}
|
4003
|
-
}
|
4004
|
-
}
|
4005
|
-
|
4006
|
-
impl<A, B> ExactSizeIterator for Either<A, B>
|
4007
|
-
where
|
4008
|
-
A: ExactSizeIterator,
|
4009
|
-
B: ExactSizeIterator<Item = A::Item>,
|
4010
|
-
{
|
4011
|
-
fn len(&self) -> usize {
|
4012
|
-
match self {
|
4013
|
-
Either::A(a) => a.len(),
|
4014
|
-
Either::B(b) => b.len(),
|
4015
|
-
}
|
4016
|
-
}
|
4017
|
-
}
|
4018
|
-
|
4019
|
-
trait PreciseIterator: ExactSizeIterator + DoubleEndedIterator + Clone + std::fmt::Debug {}
|
4020
|
-
impl<T: ExactSizeIterator + DoubleEndedIterator + Clone + std::fmt::Debug> PreciseIterator for T {}
|
4021
|
-
|
4022
|
-
impl Locals {
|
4023
|
-
/// Defines another group of `count` local variables of type `ty`.
|
4024
|
-
///
|
4025
|
-
/// Returns `true` if the definition was successful. Local variable
|
4026
|
-
/// definition is unsuccessful in case the amount of total variables
|
4027
|
-
/// after definition exceeds the allowed maximum number.
|
4028
|
-
fn define(&mut self, count: u32, ty: ValType) -> bool {
|
4029
|
-
match self.num_locals.checked_add(count) {
|
4030
|
-
Some(n) => self.num_locals = n,
|
4031
|
-
None => return false,
|
4032
|
-
}
|
4033
|
-
if self.num_locals > (MAX_WASM_FUNCTION_LOCALS as u32) {
|
4034
|
-
return false;
|
4035
|
-
}
|
4036
|
-
for _ in 0..count {
|
4037
|
-
if self.first.len() >= MAX_LOCALS_TO_TRACK {
|
4038
|
-
break;
|
4039
|
-
}
|
4040
|
-
self.first.push(ty);
|
4041
|
-
}
|
4042
|
-
self.all.push((self.num_locals - 1, ty));
|
4043
|
-
true
|
4044
|
-
}
|
4045
|
-
|
4046
|
-
/// Returns the number of defined local variables.
|
4047
|
-
pub(super) fn len_locals(&self) -> u32 {
|
4048
|
-
self.num_locals
|
4049
|
-
}
|
4050
|
-
|
4051
|
-
/// Returns the type of the local variable at the given index if any.
|
4052
|
-
#[inline]
|
4053
|
-
pub(super) fn get(&self, idx: u32) -> Option<ValType> {
|
4054
|
-
match self.first.get(idx as usize) {
|
4055
|
-
Some(ty) => Some(*ty),
|
4056
|
-
None => self.get_bsearch(idx),
|
4057
|
-
}
|
4058
|
-
}
|
4059
|
-
|
4060
|
-
fn get_bsearch(&self, idx: u32) -> Option<ValType> {
|
4061
|
-
match self.all.binary_search_by_key(&idx, |(idx, _)| *idx) {
|
4062
|
-
// If this index would be inserted at the end of the list, then the
|
4063
|
-
// index is out of bounds and we return an error.
|
4064
|
-
Err(i) if i == self.all.len() => None,
|
4065
|
-
|
4066
|
-
// If `Ok` is returned we found the index exactly, or if `Err` is
|
4067
|
-
// returned the position is the one which is the least index
|
4068
|
-
// greater that `idx`, which is still the type of `idx` according
|
4069
|
-
// to our "compressed" representation. In both cases we access the
|
4070
|
-
// list at index `i`.
|
4071
|
-
Ok(i) | Err(i) => Some(self.all[i].1),
|
4072
|
-
}
|
4073
|
-
}
|
4074
|
-
}
|