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
@@ -0,0 +1,2672 @@
|
|
1
|
+
use crate::{gc, BuiltinFunctionSignatures};
|
2
|
+
use cranelift_codegen::cursor::FuncCursor;
|
3
|
+
use cranelift_codegen::ir;
|
4
|
+
use cranelift_codegen::ir::condcodes::*;
|
5
|
+
use cranelift_codegen::ir::immediates::{Imm64, Offset32};
|
6
|
+
use cranelift_codegen::ir::pcc::Fact;
|
7
|
+
use cranelift_codegen::ir::types::*;
|
8
|
+
use cranelift_codegen::ir::{ArgumentPurpose, Function, InstBuilder, MemFlags};
|
9
|
+
use cranelift_codegen::isa::{TargetFrontendConfig, TargetIsa};
|
10
|
+
use cranelift_entity::{EntityRef, PrimaryMap, SecondaryMap};
|
11
|
+
use cranelift_frontend::FunctionBuilder;
|
12
|
+
use cranelift_frontend::Variable;
|
13
|
+
use cranelift_wasm::{
|
14
|
+
EngineOrModuleTypeIndex, FuncIndex, FuncTranslationState, GlobalIndex, GlobalVariable, Heap,
|
15
|
+
HeapData, HeapStyle, MemoryIndex, TableData, TableIndex, TableSize, TargetEnvironment,
|
16
|
+
TypeIndex, WasmHeapType, WasmResult,
|
17
|
+
};
|
18
|
+
use std::mem;
|
19
|
+
use wasmparser::Operator;
|
20
|
+
use wasmtime_environ::{
|
21
|
+
BuiltinFunctionIndex, MemoryPlan, MemoryStyle, Module, ModuleTranslation, ModuleType,
|
22
|
+
ModuleTypesBuilder, PtrSize, TableStyle, Tunables, TypeConvert, VMOffsets, WASM_PAGE_SIZE,
|
23
|
+
};
|
24
|
+
use wasmtime_environ::{FUNCREF_INIT_BIT, FUNCREF_MASK};
|
25
|
+
|
26
|
+
/// A struct with an `Option<ir::FuncRef>` member for every builtin
|
27
|
+
/// function, to de-duplicate constructing/getting its function.
|
28
|
+
pub(crate) struct BuiltinFunctions {
|
29
|
+
types: BuiltinFunctionSignatures,
|
30
|
+
|
31
|
+
builtins:
|
32
|
+
[Option<ir::FuncRef>; BuiltinFunctionIndex::builtin_functions_total_number() as usize],
|
33
|
+
}
|
34
|
+
|
35
|
+
impl BuiltinFunctions {
|
36
|
+
fn new(isa: &dyn TargetIsa) -> Self {
|
37
|
+
Self {
|
38
|
+
types: BuiltinFunctionSignatures::new(isa),
|
39
|
+
builtins: [None; BuiltinFunctionIndex::builtin_functions_total_number() as usize],
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
fn load_builtin(&mut self, func: &mut Function, index: BuiltinFunctionIndex) -> ir::FuncRef {
|
44
|
+
let cache = &mut self.builtins[index.index() as usize];
|
45
|
+
if let Some(f) = cache {
|
46
|
+
return *f;
|
47
|
+
}
|
48
|
+
let signature = func.import_signature(self.types.signature(index));
|
49
|
+
let name =
|
50
|
+
ir::ExternalName::User(func.declare_imported_user_function(ir::UserExternalName {
|
51
|
+
namespace: crate::NS_WASMTIME_BUILTIN,
|
52
|
+
index: index.index(),
|
53
|
+
}));
|
54
|
+
let f = func.import_function(ir::ExtFuncData {
|
55
|
+
name,
|
56
|
+
signature,
|
57
|
+
colocated: true,
|
58
|
+
});
|
59
|
+
*cache = Some(f);
|
60
|
+
f
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
// Generate helper methods on `BuiltinFunctions` above for each named builtin
|
65
|
+
// as well.
|
66
|
+
macro_rules! declare_function_signatures {
|
67
|
+
($(
|
68
|
+
$( #[$attr:meta] )*
|
69
|
+
$name:ident( $( $pname:ident: $param:ident ),* ) $( -> $result:ident )?;
|
70
|
+
)*) => {
|
71
|
+
$(impl BuiltinFunctions {
|
72
|
+
$( #[$attr] )*
|
73
|
+
pub(crate) fn $name(&mut self, func: &mut Function) -> ir::FuncRef {
|
74
|
+
self.load_builtin(func, BuiltinFunctionIndex::$name())
|
75
|
+
}
|
76
|
+
})*
|
77
|
+
};
|
78
|
+
}
|
79
|
+
wasmtime_environ::foreach_builtin_function!(declare_function_signatures);
|
80
|
+
|
81
|
+
/// The `FuncEnvironment` implementation for use by the `ModuleEnvironment`.
|
82
|
+
pub struct FuncEnvironment<'module_environment> {
|
83
|
+
isa: &'module_environment (dyn TargetIsa + 'module_environment),
|
84
|
+
module: &'module_environment Module,
|
85
|
+
types: &'module_environment ModuleTypesBuilder,
|
86
|
+
|
87
|
+
#[cfg(feature = "wmemcheck")]
|
88
|
+
translation: &'module_environment ModuleTranslation<'module_environment>,
|
89
|
+
|
90
|
+
/// Heaps implementing WebAssembly linear memories.
|
91
|
+
heaps: PrimaryMap<Heap, HeapData>,
|
92
|
+
|
93
|
+
/// Cranelift tables we have created to implement Wasm tables.
|
94
|
+
tables: SecondaryMap<TableIndex, Option<TableData>>,
|
95
|
+
|
96
|
+
/// The Cranelift global holding the vmctx address.
|
97
|
+
vmctx: Option<ir::GlobalValue>,
|
98
|
+
|
99
|
+
/// The PCC memory type describing the vmctx layout, if we're
|
100
|
+
/// using PCC.
|
101
|
+
pcc_vmctx_memtype: Option<ir::MemoryType>,
|
102
|
+
|
103
|
+
/// Caches of signatures for builtin functions.
|
104
|
+
pub(crate) builtin_functions: BuiltinFunctions,
|
105
|
+
|
106
|
+
/// Offsets to struct fields accessed by JIT code.
|
107
|
+
pub(crate) offsets: VMOffsets<u8>,
|
108
|
+
|
109
|
+
tunables: &'module_environment Tunables,
|
110
|
+
|
111
|
+
/// A function-local variable which stores the cached value of the amount of
|
112
|
+
/// fuel remaining to execute. If used this is modified frequently so it's
|
113
|
+
/// stored locally as a variable instead of always referenced from the field
|
114
|
+
/// in `*const VMRuntimeLimits`
|
115
|
+
fuel_var: cranelift_frontend::Variable,
|
116
|
+
|
117
|
+
/// A function-local variable which caches the value of `*const
|
118
|
+
/// VMRuntimeLimits` for this function's vmctx argument. This pointer is stored
|
119
|
+
/// in the vmctx itself, but never changes for the lifetime of the function,
|
120
|
+
/// so if we load it up front we can continue to use it throughout.
|
121
|
+
vmruntime_limits_ptr: cranelift_frontend::Variable,
|
122
|
+
|
123
|
+
/// A cached epoch deadline value, when performing epoch-based
|
124
|
+
/// interruption. Loaded from `VMRuntimeLimits` and reloaded after
|
125
|
+
/// any yield.
|
126
|
+
epoch_deadline_var: cranelift_frontend::Variable,
|
127
|
+
|
128
|
+
/// A cached pointer to the per-Engine epoch counter, when
|
129
|
+
/// performing epoch-based interruption. Initialized in the
|
130
|
+
/// function prologue. We prefer to use a variable here rather
|
131
|
+
/// than reload on each check because it's better to let the
|
132
|
+
/// regalloc keep it in a register if able; if not, it can always
|
133
|
+
/// spill, and this isn't any worse than reloading each time.
|
134
|
+
epoch_ptr_var: cranelift_frontend::Variable,
|
135
|
+
|
136
|
+
fuel_consumed: i64,
|
137
|
+
|
138
|
+
#[cfg(feature = "wmemcheck")]
|
139
|
+
wmemcheck: bool,
|
140
|
+
}
|
141
|
+
|
142
|
+
impl<'module_environment> FuncEnvironment<'module_environment> {
|
143
|
+
pub fn new(
|
144
|
+
isa: &'module_environment (dyn TargetIsa + 'module_environment),
|
145
|
+
translation: &'module_environment ModuleTranslation<'module_environment>,
|
146
|
+
types: &'module_environment ModuleTypesBuilder,
|
147
|
+
tunables: &'module_environment Tunables,
|
148
|
+
wmemcheck: bool,
|
149
|
+
) -> Self {
|
150
|
+
let builtin_functions = BuiltinFunctions::new(isa);
|
151
|
+
|
152
|
+
// Avoid unused warning in default build.
|
153
|
+
#[cfg(not(feature = "wmemcheck"))]
|
154
|
+
let _ = wmemcheck;
|
155
|
+
|
156
|
+
Self {
|
157
|
+
isa,
|
158
|
+
module: &translation.module,
|
159
|
+
types,
|
160
|
+
heaps: PrimaryMap::default(),
|
161
|
+
tables: SecondaryMap::default(),
|
162
|
+
vmctx: None,
|
163
|
+
pcc_vmctx_memtype: None,
|
164
|
+
builtin_functions,
|
165
|
+
offsets: VMOffsets::new(isa.pointer_bytes(), &translation.module),
|
166
|
+
tunables,
|
167
|
+
fuel_var: Variable::new(0),
|
168
|
+
epoch_deadline_var: Variable::new(0),
|
169
|
+
epoch_ptr_var: Variable::new(0),
|
170
|
+
vmruntime_limits_ptr: Variable::new(0),
|
171
|
+
|
172
|
+
// Start with at least one fuel being consumed because even empty
|
173
|
+
// functions should consume at least some fuel.
|
174
|
+
fuel_consumed: 1,
|
175
|
+
#[cfg(feature = "wmemcheck")]
|
176
|
+
wmemcheck,
|
177
|
+
#[cfg(feature = "wmemcheck")]
|
178
|
+
translation,
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
pub(crate) fn pointer_type(&self) -> ir::Type {
|
183
|
+
self.isa.pointer_type()
|
184
|
+
}
|
185
|
+
|
186
|
+
pub(crate) fn vmctx(&mut self, func: &mut Function) -> ir::GlobalValue {
|
187
|
+
self.vmctx.unwrap_or_else(|| {
|
188
|
+
let vmctx = func.create_global_value(ir::GlobalValueData::VMContext);
|
189
|
+
if self.isa.flags().enable_pcc() {
|
190
|
+
// Create a placeholder memtype for the vmctx; we'll
|
191
|
+
// add fields to it as we lazily create HeapData
|
192
|
+
// structs and global values.
|
193
|
+
let vmctx_memtype = func.create_memory_type(ir::MemoryTypeData::Struct {
|
194
|
+
size: 0,
|
195
|
+
fields: vec![],
|
196
|
+
});
|
197
|
+
|
198
|
+
self.pcc_vmctx_memtype = Some(vmctx_memtype);
|
199
|
+
func.global_value_facts[vmctx] = Some(Fact::Mem {
|
200
|
+
ty: vmctx_memtype,
|
201
|
+
min_offset: 0,
|
202
|
+
max_offset: 0,
|
203
|
+
nullable: false,
|
204
|
+
});
|
205
|
+
}
|
206
|
+
|
207
|
+
self.vmctx = Some(vmctx);
|
208
|
+
vmctx
|
209
|
+
})
|
210
|
+
}
|
211
|
+
|
212
|
+
pub(crate) fn vmctx_val(&mut self, pos: &mut FuncCursor<'_>) -> ir::Value {
|
213
|
+
let pointer_type = self.pointer_type();
|
214
|
+
let vmctx = self.vmctx(&mut pos.func);
|
215
|
+
pos.ins().global_value(pointer_type, vmctx)
|
216
|
+
}
|
217
|
+
|
218
|
+
fn get_table_copy_func(
|
219
|
+
&mut self,
|
220
|
+
func: &mut Function,
|
221
|
+
dst_table_index: TableIndex,
|
222
|
+
src_table_index: TableIndex,
|
223
|
+
) -> (ir::FuncRef, usize, usize) {
|
224
|
+
let sig = self.builtin_functions.table_copy(func);
|
225
|
+
(
|
226
|
+
sig,
|
227
|
+
dst_table_index.as_u32() as usize,
|
228
|
+
src_table_index.as_u32() as usize,
|
229
|
+
)
|
230
|
+
}
|
231
|
+
|
232
|
+
#[cfg(feature = "threads")]
|
233
|
+
fn get_memory_atomic_wait(
|
234
|
+
&mut self,
|
235
|
+
func: &mut Function,
|
236
|
+
memory_index: MemoryIndex,
|
237
|
+
ty: ir::Type,
|
238
|
+
) -> (ir::FuncRef, usize) {
|
239
|
+
match ty {
|
240
|
+
I32 => (
|
241
|
+
self.builtin_functions.memory_atomic_wait32(func),
|
242
|
+
memory_index.index(),
|
243
|
+
),
|
244
|
+
I64 => (
|
245
|
+
self.builtin_functions.memory_atomic_wait64(func),
|
246
|
+
memory_index.index(),
|
247
|
+
),
|
248
|
+
x => panic!("get_memory_atomic_wait unsupported type: {:?}", x),
|
249
|
+
}
|
250
|
+
}
|
251
|
+
|
252
|
+
fn get_global_location(
|
253
|
+
&mut self,
|
254
|
+
func: &mut ir::Function,
|
255
|
+
index: GlobalIndex,
|
256
|
+
) -> (ir::GlobalValue, i32) {
|
257
|
+
let pointer_type = self.pointer_type();
|
258
|
+
let vmctx = self.vmctx(func);
|
259
|
+
if let Some(def_index) = self.module.defined_global_index(index) {
|
260
|
+
let offset = i32::try_from(self.offsets.vmctx_vmglobal_definition(def_index)).unwrap();
|
261
|
+
(vmctx, offset)
|
262
|
+
} else {
|
263
|
+
let from_offset = self.offsets.vmctx_vmglobal_import_from(index);
|
264
|
+
let global = func.create_global_value(ir::GlobalValueData::Load {
|
265
|
+
base: vmctx,
|
266
|
+
offset: Offset32::new(i32::try_from(from_offset).unwrap()),
|
267
|
+
global_type: pointer_type,
|
268
|
+
flags: MemFlags::trusted().with_readonly(),
|
269
|
+
});
|
270
|
+
(global, 0)
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
fn declare_vmruntime_limits_ptr(&mut self, builder: &mut FunctionBuilder<'_>) {
|
275
|
+
// We load the `*const VMRuntimeLimits` value stored within vmctx at the
|
276
|
+
// head of the function and reuse the same value across the entire
|
277
|
+
// function. This is possible since we know that the pointer never
|
278
|
+
// changes for the lifetime of the function.
|
279
|
+
let pointer_type = self.pointer_type();
|
280
|
+
builder.declare_var(self.vmruntime_limits_ptr, pointer_type);
|
281
|
+
let vmctx = self.vmctx(builder.func);
|
282
|
+
let base = builder.ins().global_value(pointer_type, vmctx);
|
283
|
+
let offset = i32::try_from(self.offsets.vmctx_runtime_limits()).unwrap();
|
284
|
+
let interrupt_ptr = builder
|
285
|
+
.ins()
|
286
|
+
.load(pointer_type, ir::MemFlags::trusted(), base, offset);
|
287
|
+
builder.def_var(self.vmruntime_limits_ptr, interrupt_ptr);
|
288
|
+
}
|
289
|
+
|
290
|
+
fn fuel_function_entry(&mut self, builder: &mut FunctionBuilder<'_>) {
|
291
|
+
// On function entry we load the amount of fuel into a function-local
|
292
|
+
// `self.fuel_var` to make fuel modifications fast locally. This cache
|
293
|
+
// is then periodically flushed to the Store-defined location in
|
294
|
+
// `VMRuntimeLimits` later.
|
295
|
+
builder.declare_var(self.fuel_var, ir::types::I64);
|
296
|
+
self.fuel_load_into_var(builder);
|
297
|
+
self.fuel_check(builder);
|
298
|
+
}
|
299
|
+
|
300
|
+
fn fuel_function_exit(&mut self, builder: &mut FunctionBuilder<'_>) {
|
301
|
+
// On exiting the function we need to be sure to save the fuel we have
|
302
|
+
// cached locally in `self.fuel_var` back into the Store-defined
|
303
|
+
// location.
|
304
|
+
self.fuel_save_from_var(builder);
|
305
|
+
}
|
306
|
+
|
307
|
+
fn fuel_before_op(
|
308
|
+
&mut self,
|
309
|
+
op: &Operator<'_>,
|
310
|
+
builder: &mut FunctionBuilder<'_>,
|
311
|
+
reachable: bool,
|
312
|
+
) {
|
313
|
+
if !reachable {
|
314
|
+
// In unreachable code we shouldn't have any leftover fuel we
|
315
|
+
// haven't accounted for since the reason for us to become
|
316
|
+
// unreachable should have already added it to `self.fuel_var`.
|
317
|
+
debug_assert_eq!(self.fuel_consumed, 0);
|
318
|
+
return;
|
319
|
+
}
|
320
|
+
|
321
|
+
self.fuel_consumed += match op {
|
322
|
+
// Nop and drop generate no code, so don't consume fuel for them.
|
323
|
+
Operator::Nop | Operator::Drop => 0,
|
324
|
+
|
325
|
+
// Control flow may create branches, but is generally cheap and
|
326
|
+
// free, so don't consume fuel. Note the lack of `if` since some
|
327
|
+
// cost is incurred with the conditional check.
|
328
|
+
Operator::Block { .. }
|
329
|
+
| Operator::Loop { .. }
|
330
|
+
| Operator::Unreachable
|
331
|
+
| Operator::Return
|
332
|
+
| Operator::Else
|
333
|
+
| Operator::End => 0,
|
334
|
+
|
335
|
+
// everything else, just call it one operation.
|
336
|
+
_ => 1,
|
337
|
+
};
|
338
|
+
|
339
|
+
match op {
|
340
|
+
// Exiting a function (via a return or unreachable) or otherwise
|
341
|
+
// entering a different function (via a call) means that we need to
|
342
|
+
// update the fuel consumption in `VMRuntimeLimits` because we're
|
343
|
+
// about to move control out of this function itself and the fuel
|
344
|
+
// may need to be read.
|
345
|
+
//
|
346
|
+
// Before this we need to update the fuel counter from our own cost
|
347
|
+
// leading up to this function call, and then we can store
|
348
|
+
// `self.fuel_var` into `VMRuntimeLimits`.
|
349
|
+
Operator::Unreachable
|
350
|
+
| Operator::Return
|
351
|
+
| Operator::CallIndirect { .. }
|
352
|
+
| Operator::Call { .. }
|
353
|
+
| Operator::ReturnCall { .. }
|
354
|
+
| Operator::ReturnCallIndirect { .. } => {
|
355
|
+
self.fuel_increment_var(builder);
|
356
|
+
self.fuel_save_from_var(builder);
|
357
|
+
}
|
358
|
+
|
359
|
+
// To ensure all code preceding a loop is only counted once we
|
360
|
+
// update the fuel variable on entry.
|
361
|
+
Operator::Loop { .. }
|
362
|
+
|
363
|
+
// Entering into an `if` block means that the edge we take isn't
|
364
|
+
// known until runtime, so we need to update our fuel consumption
|
365
|
+
// before we take the branch.
|
366
|
+
| Operator::If { .. }
|
367
|
+
|
368
|
+
// Control-flow instructions mean that we're moving to the end/exit
|
369
|
+
// of a block somewhere else. That means we need to update the fuel
|
370
|
+
// counter since we're effectively terminating our basic block.
|
371
|
+
| Operator::Br { .. }
|
372
|
+
| Operator::BrIf { .. }
|
373
|
+
| Operator::BrTable { .. }
|
374
|
+
|
375
|
+
// Exiting a scope means that we need to update the fuel
|
376
|
+
// consumption because there are multiple ways to exit a scope and
|
377
|
+
// this is the only time we have to account for instructions
|
378
|
+
// executed so far.
|
379
|
+
| Operator::End
|
380
|
+
|
381
|
+
// This is similar to `end`, except that it's only the terminator
|
382
|
+
// for an `if` block. The same reasoning applies though in that we
|
383
|
+
// are terminating a basic block and need to update the fuel
|
384
|
+
// variable.
|
385
|
+
| Operator::Else => self.fuel_increment_var(builder),
|
386
|
+
|
387
|
+
// This is a normal instruction where the fuel is buffered to later
|
388
|
+
// get added to `self.fuel_var`.
|
389
|
+
//
|
390
|
+
// Note that we generally ignore instructions which may trap and
|
391
|
+
// therefore result in exiting a block early. Current usage of fuel
|
392
|
+
// means that it's not too important to account for a precise amount
|
393
|
+
// of fuel consumed but rather "close to the actual amount" is good
|
394
|
+
// enough. For 100% precise counting, however, we'd probably need to
|
395
|
+
// not only increment but also save the fuel amount more often
|
396
|
+
// around trapping instructions. (see the `unreachable` instruction
|
397
|
+
// case above)
|
398
|
+
//
|
399
|
+
// Note that `Block` is specifically omitted from incrementing the
|
400
|
+
// fuel variable. Control flow entering a `block` is unconditional
|
401
|
+
// which means it's effectively executing straight-line code. We'll
|
402
|
+
// update the counter when exiting a block, but we shouldn't need to
|
403
|
+
// do so upon entering a block.
|
404
|
+
_ => {}
|
405
|
+
}
|
406
|
+
}
|
407
|
+
|
408
|
+
fn fuel_after_op(&mut self, op: &Operator<'_>, builder: &mut FunctionBuilder<'_>) {
|
409
|
+
// After a function call we need to reload our fuel value since the
|
410
|
+
// function may have changed it.
|
411
|
+
match op {
|
412
|
+
Operator::Call { .. } | Operator::CallIndirect { .. } => {
|
413
|
+
self.fuel_load_into_var(builder);
|
414
|
+
}
|
415
|
+
_ => {}
|
416
|
+
}
|
417
|
+
}
|
418
|
+
|
419
|
+
/// Adds `self.fuel_consumed` to the `fuel_var`, zero-ing out the amount of
|
420
|
+
/// fuel consumed at that point.
|
421
|
+
fn fuel_increment_var(&mut self, builder: &mut FunctionBuilder<'_>) {
|
422
|
+
let consumption = mem::replace(&mut self.fuel_consumed, 0);
|
423
|
+
if consumption == 0 {
|
424
|
+
return;
|
425
|
+
}
|
426
|
+
|
427
|
+
let fuel = builder.use_var(self.fuel_var);
|
428
|
+
let fuel = builder.ins().iadd_imm(fuel, consumption);
|
429
|
+
builder.def_var(self.fuel_var, fuel);
|
430
|
+
}
|
431
|
+
|
432
|
+
/// Loads the fuel consumption value from `VMRuntimeLimits` into `self.fuel_var`
|
433
|
+
fn fuel_load_into_var(&mut self, builder: &mut FunctionBuilder<'_>) {
|
434
|
+
let (addr, offset) = self.fuel_addr_offset(builder);
|
435
|
+
let fuel = builder
|
436
|
+
.ins()
|
437
|
+
.load(ir::types::I64, ir::MemFlags::trusted(), addr, offset);
|
438
|
+
builder.def_var(self.fuel_var, fuel);
|
439
|
+
}
|
440
|
+
|
441
|
+
/// Stores the fuel consumption value from `self.fuel_var` into
|
442
|
+
/// `VMRuntimeLimits`.
|
443
|
+
fn fuel_save_from_var(&mut self, builder: &mut FunctionBuilder<'_>) {
|
444
|
+
let (addr, offset) = self.fuel_addr_offset(builder);
|
445
|
+
let fuel_consumed = builder.use_var(self.fuel_var);
|
446
|
+
builder
|
447
|
+
.ins()
|
448
|
+
.store(ir::MemFlags::trusted(), fuel_consumed, addr, offset);
|
449
|
+
}
|
450
|
+
|
451
|
+
/// Returns the `(address, offset)` of the fuel consumption within
|
452
|
+
/// `VMRuntimeLimits`, used to perform loads/stores later.
|
453
|
+
fn fuel_addr_offset(
|
454
|
+
&mut self,
|
455
|
+
builder: &mut FunctionBuilder<'_>,
|
456
|
+
) -> (ir::Value, ir::immediates::Offset32) {
|
457
|
+
(
|
458
|
+
builder.use_var(self.vmruntime_limits_ptr),
|
459
|
+
i32::from(self.offsets.ptr.vmruntime_limits_fuel_consumed()).into(),
|
460
|
+
)
|
461
|
+
}
|
462
|
+
|
463
|
+
/// Checks the amount of remaining, and if we've run out of fuel we call
|
464
|
+
/// the out-of-fuel function.
|
465
|
+
fn fuel_check(&mut self, builder: &mut FunctionBuilder) {
|
466
|
+
self.fuel_increment_var(builder);
|
467
|
+
let out_of_gas_block = builder.create_block();
|
468
|
+
let continuation_block = builder.create_block();
|
469
|
+
|
470
|
+
// Note that our fuel is encoded as adding positive values to a
|
471
|
+
// negative number. Whenever the negative number goes positive that
|
472
|
+
// means we ran out of fuel.
|
473
|
+
//
|
474
|
+
// Compare to see if our fuel is positive, and if so we ran out of gas.
|
475
|
+
// Otherwise we can continue on like usual.
|
476
|
+
let zero = builder.ins().iconst(ir::types::I64, 0);
|
477
|
+
let fuel = builder.use_var(self.fuel_var);
|
478
|
+
let cmp = builder
|
479
|
+
.ins()
|
480
|
+
.icmp(IntCC::SignedGreaterThanOrEqual, fuel, zero);
|
481
|
+
builder
|
482
|
+
.ins()
|
483
|
+
.brif(cmp, out_of_gas_block, &[], continuation_block, &[]);
|
484
|
+
builder.seal_block(out_of_gas_block);
|
485
|
+
|
486
|
+
// If we ran out of gas then we call our out-of-gas intrinsic and it
|
487
|
+
// figures out what to do. Note that this may raise a trap, or do
|
488
|
+
// something like yield to an async runtime. In either case we don't
|
489
|
+
// assume what happens and handle the case the intrinsic returns.
|
490
|
+
//
|
491
|
+
// Note that we save/reload fuel around this since the out-of-gas
|
492
|
+
// intrinsic may alter how much fuel is in the system.
|
493
|
+
builder.switch_to_block(out_of_gas_block);
|
494
|
+
self.fuel_save_from_var(builder);
|
495
|
+
let out_of_gas = self.builtin_functions.out_of_gas(builder.func);
|
496
|
+
let vmctx = self.vmctx_val(&mut builder.cursor());
|
497
|
+
builder.ins().call(out_of_gas, &[vmctx]);
|
498
|
+
self.fuel_load_into_var(builder);
|
499
|
+
builder.ins().jump(continuation_block, &[]);
|
500
|
+
builder.seal_block(continuation_block);
|
501
|
+
|
502
|
+
builder.switch_to_block(continuation_block);
|
503
|
+
}
|
504
|
+
|
505
|
+
fn epoch_function_entry(&mut self, builder: &mut FunctionBuilder<'_>) {
|
506
|
+
builder.declare_var(self.epoch_deadline_var, ir::types::I64);
|
507
|
+
self.epoch_load_deadline_into_var(builder);
|
508
|
+
builder.declare_var(self.epoch_ptr_var, self.pointer_type());
|
509
|
+
let epoch_ptr = self.epoch_ptr(builder);
|
510
|
+
builder.def_var(self.epoch_ptr_var, epoch_ptr);
|
511
|
+
|
512
|
+
// We must check for an epoch change when entering a
|
513
|
+
// function. Why? Why aren't checks at loops sufficient to
|
514
|
+
// bound runtime to O(|static program size|)?
|
515
|
+
//
|
516
|
+
// The reason is that one can construct a "zip-bomb-like"
|
517
|
+
// program with exponential-in-program-size runtime, with no
|
518
|
+
// backedges (loops), by building a tree of function calls: f0
|
519
|
+
// calls f1 ten times, f1 calls f2 ten times, etc. E.g., nine
|
520
|
+
// levels of this yields a billion function calls with no
|
521
|
+
// backedges. So we can't do checks only at backedges.
|
522
|
+
//
|
523
|
+
// In this "call-tree" scenario, and in fact in any program
|
524
|
+
// that uses calls as a sort of control flow to try to evade
|
525
|
+
// backedge checks, a check at every function entry is
|
526
|
+
// sufficient. Then, combined with checks at every backedge
|
527
|
+
// (loop) the longest runtime between checks is bounded by the
|
528
|
+
// straightline length of any function body.
|
529
|
+
self.epoch_check(builder);
|
530
|
+
}
|
531
|
+
|
532
|
+
#[cfg(feature = "wmemcheck")]
|
533
|
+
fn hook_malloc_exit(&mut self, builder: &mut FunctionBuilder, retvals: &[Value]) {
|
534
|
+
let check_malloc_sig = self.builtin_functions.check_malloc(builder.func);
|
535
|
+
let (vmctx, check_malloc) = self.translate_load_builtin_function_address(
|
536
|
+
&mut builder.cursor(),
|
537
|
+
BuiltinFunctionIndex::check_malloc(),
|
538
|
+
);
|
539
|
+
let func_args = builder
|
540
|
+
.func
|
541
|
+
.dfg
|
542
|
+
.block_params(builder.func.layout.entry_block().unwrap());
|
543
|
+
let len = if func_args.len() < 3 {
|
544
|
+
return;
|
545
|
+
} else {
|
546
|
+
// If a function named `malloc` has at least one argument, we assume the
|
547
|
+
// first argument is the requested allocation size.
|
548
|
+
func_args[2]
|
549
|
+
};
|
550
|
+
let retval = if retvals.len() < 1 {
|
551
|
+
return;
|
552
|
+
} else {
|
553
|
+
retvals[0]
|
554
|
+
};
|
555
|
+
builder
|
556
|
+
.ins()
|
557
|
+
.call_indirect(check_malloc_sig, check_malloc, &[vmctx, retval, len]);
|
558
|
+
}
|
559
|
+
|
560
|
+
#[cfg(feature = "wmemcheck")]
|
561
|
+
fn hook_free_exit(&mut self, builder: &mut FunctionBuilder) {
|
562
|
+
let check_free_sig = self.builtin_functions.check_free(builder.func);
|
563
|
+
let (vmctx, check_free) = self.translate_load_builtin_function_address(
|
564
|
+
&mut builder.cursor(),
|
565
|
+
BuiltinFunctionIndex::check_free(),
|
566
|
+
);
|
567
|
+
let func_args = builder
|
568
|
+
.func
|
569
|
+
.dfg
|
570
|
+
.block_params(builder.func.layout.entry_block().unwrap());
|
571
|
+
let ptr = if func_args.len() < 3 {
|
572
|
+
return;
|
573
|
+
} else {
|
574
|
+
// If a function named `free` has at least one argument, we assume the
|
575
|
+
// first argument is a pointer to memory.
|
576
|
+
func_args[2]
|
577
|
+
};
|
578
|
+
builder
|
579
|
+
.ins()
|
580
|
+
.call_indirect(check_free_sig, check_free, &[vmctx, ptr]);
|
581
|
+
}
|
582
|
+
|
583
|
+
fn epoch_ptr(&mut self, builder: &mut FunctionBuilder<'_>) -> ir::Value {
|
584
|
+
let vmctx = self.vmctx(builder.func);
|
585
|
+
let pointer_type = self.pointer_type();
|
586
|
+
let base = builder.ins().global_value(pointer_type, vmctx);
|
587
|
+
let offset = i32::try_from(self.offsets.vmctx_epoch_ptr()).unwrap();
|
588
|
+
let epoch_ptr = builder
|
589
|
+
.ins()
|
590
|
+
.load(pointer_type, ir::MemFlags::trusted(), base, offset);
|
591
|
+
epoch_ptr
|
592
|
+
}
|
593
|
+
|
594
|
+
fn epoch_load_current(&mut self, builder: &mut FunctionBuilder<'_>) -> ir::Value {
|
595
|
+
let addr = builder.use_var(self.epoch_ptr_var);
|
596
|
+
builder.ins().load(
|
597
|
+
ir::types::I64,
|
598
|
+
ir::MemFlags::trusted(),
|
599
|
+
addr,
|
600
|
+
ir::immediates::Offset32::new(0),
|
601
|
+
)
|
602
|
+
}
|
603
|
+
|
604
|
+
fn epoch_load_deadline_into_var(&mut self, builder: &mut FunctionBuilder<'_>) {
|
605
|
+
let interrupts = builder.use_var(self.vmruntime_limits_ptr);
|
606
|
+
let deadline =
|
607
|
+
builder.ins().load(
|
608
|
+
ir::types::I64,
|
609
|
+
ir::MemFlags::trusted(),
|
610
|
+
interrupts,
|
611
|
+
ir::immediates::Offset32::new(
|
612
|
+
self.offsets.ptr.vmruntime_limits_epoch_deadline() as i32
|
613
|
+
),
|
614
|
+
);
|
615
|
+
builder.def_var(self.epoch_deadline_var, deadline);
|
616
|
+
}
|
617
|
+
|
618
|
+
fn epoch_check(&mut self, builder: &mut FunctionBuilder<'_>) {
|
619
|
+
let new_epoch_block = builder.create_block();
|
620
|
+
let new_epoch_doublecheck_block = builder.create_block();
|
621
|
+
let continuation_block = builder.create_block();
|
622
|
+
builder.set_cold_block(new_epoch_block);
|
623
|
+
builder.set_cold_block(new_epoch_doublecheck_block);
|
624
|
+
|
625
|
+
let epoch_deadline = builder.use_var(self.epoch_deadline_var);
|
626
|
+
// Load new epoch and check against cached deadline. The
|
627
|
+
// deadline may be out of date if it was updated (within
|
628
|
+
// another yield) during some function that we called; this is
|
629
|
+
// fine, as we'll reload it and check again before yielding in
|
630
|
+
// the cold path.
|
631
|
+
let cur_epoch_value = self.epoch_load_current(builder);
|
632
|
+
let cmp = builder.ins().icmp(
|
633
|
+
IntCC::UnsignedGreaterThanOrEqual,
|
634
|
+
cur_epoch_value,
|
635
|
+
epoch_deadline,
|
636
|
+
);
|
637
|
+
builder
|
638
|
+
.ins()
|
639
|
+
.brif(cmp, new_epoch_block, &[], continuation_block, &[]);
|
640
|
+
builder.seal_block(new_epoch_block);
|
641
|
+
|
642
|
+
// In the "new epoch block", we've noticed that the epoch has
|
643
|
+
// exceeded our cached deadline. However the real deadline may
|
644
|
+
// have been moved in the meantime. We keep the cached value
|
645
|
+
// in a register to speed the checks in the common case
|
646
|
+
// (between epoch ticks) but we want to do a precise check
|
647
|
+
// here, on the cold path, by reloading the latest value
|
648
|
+
// first.
|
649
|
+
builder.switch_to_block(new_epoch_block);
|
650
|
+
self.epoch_load_deadline_into_var(builder);
|
651
|
+
let fresh_epoch_deadline = builder.use_var(self.epoch_deadline_var);
|
652
|
+
let fresh_cmp = builder.ins().icmp(
|
653
|
+
IntCC::UnsignedGreaterThanOrEqual,
|
654
|
+
cur_epoch_value,
|
655
|
+
fresh_epoch_deadline,
|
656
|
+
);
|
657
|
+
builder.ins().brif(
|
658
|
+
fresh_cmp,
|
659
|
+
new_epoch_doublecheck_block,
|
660
|
+
&[],
|
661
|
+
continuation_block,
|
662
|
+
&[],
|
663
|
+
);
|
664
|
+
builder.seal_block(new_epoch_doublecheck_block);
|
665
|
+
|
666
|
+
builder.switch_to_block(new_epoch_doublecheck_block);
|
667
|
+
let new_epoch = self.builtin_functions.new_epoch(builder.func);
|
668
|
+
let vmctx = self.vmctx_val(&mut builder.cursor());
|
669
|
+
// new_epoch() returns the new deadline, so we don't have to
|
670
|
+
// reload it.
|
671
|
+
let call = builder.ins().call(new_epoch, &[vmctx]);
|
672
|
+
let new_deadline = *builder.func.dfg.inst_results(call).first().unwrap();
|
673
|
+
builder.def_var(self.epoch_deadline_var, new_deadline);
|
674
|
+
builder.ins().jump(continuation_block, &[]);
|
675
|
+
builder.seal_block(continuation_block);
|
676
|
+
|
677
|
+
builder.switch_to_block(continuation_block);
|
678
|
+
}
|
679
|
+
|
680
|
+
fn memory_index_type(&self, index: MemoryIndex) -> ir::Type {
|
681
|
+
if self.module.memory_plans[index].memory.memory64 {
|
682
|
+
I64
|
683
|
+
} else {
|
684
|
+
I32
|
685
|
+
}
|
686
|
+
}
|
687
|
+
|
688
|
+
fn cast_pointer_to_memory_index(
|
689
|
+
&self,
|
690
|
+
mut pos: FuncCursor<'_>,
|
691
|
+
val: ir::Value,
|
692
|
+
index: MemoryIndex,
|
693
|
+
) -> ir::Value {
|
694
|
+
let desired_type = self.memory_index_type(index);
|
695
|
+
let pointer_type = self.pointer_type();
|
696
|
+
assert_eq!(pos.func.dfg.value_type(val), pointer_type);
|
697
|
+
|
698
|
+
// The current length is of type `pointer_type` but we need to fit it
|
699
|
+
// into `desired_type`. We are guaranteed that the result will always
|
700
|
+
// fit, so we just need to do the right ireduce/sextend here.
|
701
|
+
if pointer_type == desired_type {
|
702
|
+
val
|
703
|
+
} else if pointer_type.bits() > desired_type.bits() {
|
704
|
+
pos.ins().ireduce(desired_type, val)
|
705
|
+
} else {
|
706
|
+
// Note that we `sextend` instead of the probably expected
|
707
|
+
// `uextend`. This function is only used within the contexts of
|
708
|
+
// `memory.size` and `memory.grow` where we're working with units of
|
709
|
+
// pages instead of actual bytes, so we know that the upper bit is
|
710
|
+
// always cleared for "valid values". The one case we care about
|
711
|
+
// sextend would be when the return value of `memory.grow` is `-1`,
|
712
|
+
// in which case we want to copy the sign bit.
|
713
|
+
//
|
714
|
+
// This should only come up on 32-bit hosts running wasm64 modules,
|
715
|
+
// which at some point also makes you question various assumptions
|
716
|
+
// made along the way...
|
717
|
+
pos.ins().sextend(desired_type, val)
|
718
|
+
}
|
719
|
+
}
|
720
|
+
|
721
|
+
fn cast_memory_index_to_i64(
|
722
|
+
&self,
|
723
|
+
pos: &mut FuncCursor<'_>,
|
724
|
+
val: ir::Value,
|
725
|
+
index: MemoryIndex,
|
726
|
+
) -> ir::Value {
|
727
|
+
if self.memory_index_type(index) == I64 {
|
728
|
+
val
|
729
|
+
} else {
|
730
|
+
pos.ins().uextend(I64, val)
|
731
|
+
}
|
732
|
+
}
|
733
|
+
|
734
|
+
/// Set up the necessary preamble definitions in `func` to access the table identified
|
735
|
+
/// by `index`.
|
736
|
+
///
|
737
|
+
/// The index space covers both imported and locally declared tables.
|
738
|
+
fn ensure_table_exists(&mut self, func: &mut ir::Function, index: TableIndex) {
|
739
|
+
if self.tables[index].is_some() {
|
740
|
+
return;
|
741
|
+
}
|
742
|
+
|
743
|
+
let pointer_type = self.pointer_type();
|
744
|
+
|
745
|
+
let (ptr, base_offset, current_elements_offset) = {
|
746
|
+
let vmctx = self.vmctx(func);
|
747
|
+
if let Some(def_index) = self.module.defined_table_index(index) {
|
748
|
+
let base_offset =
|
749
|
+
i32::try_from(self.offsets.vmctx_vmtable_definition_base(def_index)).unwrap();
|
750
|
+
let current_elements_offset = i32::try_from(
|
751
|
+
self.offsets
|
752
|
+
.vmctx_vmtable_definition_current_elements(def_index),
|
753
|
+
)
|
754
|
+
.unwrap();
|
755
|
+
(vmctx, base_offset, current_elements_offset)
|
756
|
+
} else {
|
757
|
+
let from_offset = self.offsets.vmctx_vmtable_import_from(index);
|
758
|
+
let table = func.create_global_value(ir::GlobalValueData::Load {
|
759
|
+
base: vmctx,
|
760
|
+
offset: Offset32::new(i32::try_from(from_offset).unwrap()),
|
761
|
+
global_type: pointer_type,
|
762
|
+
flags: MemFlags::trusted().with_readonly(),
|
763
|
+
});
|
764
|
+
let base_offset = i32::from(self.offsets.vmtable_definition_base());
|
765
|
+
let current_elements_offset =
|
766
|
+
i32::from(self.offsets.vmtable_definition_current_elements());
|
767
|
+
(table, base_offset, current_elements_offset)
|
768
|
+
}
|
769
|
+
};
|
770
|
+
|
771
|
+
let table = &self.module.table_plans[index].table;
|
772
|
+
let element_size = if table.wasm_ty.is_gc_heap_type() {
|
773
|
+
// For GC-managed references, tables store `Option<VMGcRef>`s.
|
774
|
+
ir::types::I32.bytes()
|
775
|
+
} else {
|
776
|
+
self.reference_type(table.wasm_ty.heap_type).bytes()
|
777
|
+
};
|
778
|
+
|
779
|
+
let base_gv = func.create_global_value(ir::GlobalValueData::Load {
|
780
|
+
base: ptr,
|
781
|
+
offset: Offset32::new(base_offset),
|
782
|
+
global_type: pointer_type,
|
783
|
+
flags: if Some(table.minimum) == table.maximum {
|
784
|
+
// A fixed-size table can't be resized so its base address won't
|
785
|
+
// change.
|
786
|
+
MemFlags::trusted().with_readonly()
|
787
|
+
} else {
|
788
|
+
MemFlags::trusted()
|
789
|
+
},
|
790
|
+
});
|
791
|
+
|
792
|
+
let bound = if Some(table.minimum) == table.maximum {
|
793
|
+
TableSize::Static {
|
794
|
+
bound: table.minimum,
|
795
|
+
}
|
796
|
+
} else {
|
797
|
+
TableSize::Dynamic {
|
798
|
+
bound_gv: func.create_global_value(ir::GlobalValueData::Load {
|
799
|
+
base: ptr,
|
800
|
+
offset: Offset32::new(current_elements_offset),
|
801
|
+
global_type: ir::Type::int(
|
802
|
+
u16::from(self.offsets.size_of_vmtable_definition_current_elements()) * 8,
|
803
|
+
)
|
804
|
+
.unwrap(),
|
805
|
+
flags: MemFlags::trusted(),
|
806
|
+
}),
|
807
|
+
}
|
808
|
+
};
|
809
|
+
|
810
|
+
self.tables[index] = Some(TableData {
|
811
|
+
base_gv,
|
812
|
+
bound,
|
813
|
+
element_size,
|
814
|
+
});
|
815
|
+
}
|
816
|
+
|
817
|
+
fn get_or_init_func_ref_table_elem(
|
818
|
+
&mut self,
|
819
|
+
builder: &mut FunctionBuilder,
|
820
|
+
table_index: TableIndex,
|
821
|
+
index: ir::Value,
|
822
|
+
) -> ir::Value {
|
823
|
+
let pointer_type = self.pointer_type();
|
824
|
+
self.ensure_table_exists(builder.func, table_index);
|
825
|
+
let table_data = self.tables[table_index].as_ref().unwrap();
|
826
|
+
|
827
|
+
// To support lazy initialization of table
|
828
|
+
// contents, we check for a null entry here, and
|
829
|
+
// if null, we take a slow-path that invokes a
|
830
|
+
// libcall.
|
831
|
+
let (table_entry_addr, flags) = table_data.prepare_table_addr(
|
832
|
+
builder,
|
833
|
+
index,
|
834
|
+
pointer_type,
|
835
|
+
self.isa.flags().enable_table_access_spectre_mitigation(),
|
836
|
+
);
|
837
|
+
let value = builder.ins().load(pointer_type, flags, table_entry_addr, 0);
|
838
|
+
// Mask off the "initialized bit". See documentation on
|
839
|
+
// FUNCREF_INIT_BIT in crates/environ/src/ref_bits.rs for more
|
840
|
+
// details. Note that `FUNCREF_MASK` has type `usize` which may not be
|
841
|
+
// appropriate for the target architecture. Right now its value is
|
842
|
+
// always -2 so assert that part doesn't change and then thread through
|
843
|
+
// -2 as the immediate.
|
844
|
+
assert_eq!(FUNCREF_MASK as isize, -2);
|
845
|
+
let value_masked = builder.ins().band_imm(value, Imm64::from(-2));
|
846
|
+
|
847
|
+
let null_block = builder.create_block();
|
848
|
+
let continuation_block = builder.create_block();
|
849
|
+
let result_param = builder.append_block_param(continuation_block, pointer_type);
|
850
|
+
builder.set_cold_block(null_block);
|
851
|
+
|
852
|
+
builder
|
853
|
+
.ins()
|
854
|
+
.brif(value, continuation_block, &[value_masked], null_block, &[]);
|
855
|
+
builder.seal_block(null_block);
|
856
|
+
|
857
|
+
builder.switch_to_block(null_block);
|
858
|
+
let table_index = builder.ins().iconst(I32, table_index.index() as i64);
|
859
|
+
let lazy_init = self
|
860
|
+
.builtin_functions
|
861
|
+
.table_get_lazy_init_func_ref(builder.func);
|
862
|
+
let vmctx = self.vmctx_val(&mut builder.cursor());
|
863
|
+
let call_inst = builder.ins().call(lazy_init, &[vmctx, table_index, index]);
|
864
|
+
let returned_entry = builder.func.dfg.inst_results(call_inst)[0];
|
865
|
+
builder.ins().jump(continuation_block, &[returned_entry]);
|
866
|
+
builder.seal_block(continuation_block);
|
867
|
+
|
868
|
+
builder.switch_to_block(continuation_block);
|
869
|
+
result_param
|
870
|
+
}
|
871
|
+
|
872
|
+
#[cfg(feature = "wmemcheck")]
|
873
|
+
fn check_malloc_start(&mut self, builder: &mut FunctionBuilder) {
|
874
|
+
let malloc_start_sig = self.builtin_function_signatures.malloc_start(builder.func);
|
875
|
+
let (vmctx, malloc_start) = self.translate_load_builtin_function_address(
|
876
|
+
&mut builder.cursor(),
|
877
|
+
BuiltinFunctionIndex::malloc_start(),
|
878
|
+
);
|
879
|
+
builder
|
880
|
+
.ins()
|
881
|
+
.call_indirect(malloc_start_sig, malloc_start, &[vmctx]);
|
882
|
+
}
|
883
|
+
|
884
|
+
#[cfg(feature = "wmemcheck")]
|
885
|
+
fn check_free_start(&mut self, builder: &mut FunctionBuilder) {
|
886
|
+
let free_start_sig = self.builtin_function_signatures.free_start(builder.func);
|
887
|
+
let (vmctx, free_start) = self.translate_load_builtin_function_address(
|
888
|
+
&mut builder.cursor(),
|
889
|
+
BuiltinFunctionIndex::free_start(),
|
890
|
+
);
|
891
|
+
builder
|
892
|
+
.ins()
|
893
|
+
.call_indirect(free_start_sig, free_start, &[vmctx]);
|
894
|
+
}
|
895
|
+
|
896
|
+
#[cfg(feature = "wmemcheck")]
|
897
|
+
fn current_func_name(&self, builder: &mut FunctionBuilder) -> Option<&str> {
|
898
|
+
let func_index = match &builder.func.name {
|
899
|
+
UserFuncName::User(user) => FuncIndex::from_u32(user.index),
|
900
|
+
_ => {
|
901
|
+
panic!("function name not a UserFuncName::User as expected")
|
902
|
+
}
|
903
|
+
};
|
904
|
+
self.translation
|
905
|
+
.debuginfo
|
906
|
+
.name_section
|
907
|
+
.func_names
|
908
|
+
.get(&func_index)
|
909
|
+
.map(|s| *s)
|
910
|
+
}
|
911
|
+
|
912
|
+
/// Proof-carrying code: create a memtype describing an empty
|
913
|
+
/// runtime struct (to be updated later).
|
914
|
+
fn create_empty_struct_memtype(&self, func: &mut ir::Function) -> ir::MemoryType {
|
915
|
+
func.create_memory_type(ir::MemoryTypeData::Struct {
|
916
|
+
size: 0,
|
917
|
+
fields: vec![],
|
918
|
+
})
|
919
|
+
}
|
920
|
+
|
921
|
+
/// Proof-carrying code: add a new field to a memtype used to
|
922
|
+
/// describe a runtime struct. A memory region of type `memtype`
|
923
|
+
/// will have a pointer at `offset` pointing to another memory
|
924
|
+
/// region of type `pointee`. `readonly` indicates whether the
|
925
|
+
/// PCC-checked code is expected to update this field or not.
|
926
|
+
fn add_field_to_memtype(
|
927
|
+
&self,
|
928
|
+
func: &mut ir::Function,
|
929
|
+
memtype: ir::MemoryType,
|
930
|
+
offset: u32,
|
931
|
+
pointee: ir::MemoryType,
|
932
|
+
readonly: bool,
|
933
|
+
) {
|
934
|
+
let ptr_size = self.pointer_type().bytes();
|
935
|
+
match &mut func.memory_types[memtype] {
|
936
|
+
ir::MemoryTypeData::Struct { size, fields } => {
|
937
|
+
*size = std::cmp::max(*size, offset.checked_add(ptr_size).unwrap().into());
|
938
|
+
fields.push(ir::MemoryTypeField {
|
939
|
+
ty: self.pointer_type(),
|
940
|
+
offset: offset.into(),
|
941
|
+
readonly,
|
942
|
+
fact: Some(ir::Fact::Mem {
|
943
|
+
ty: pointee,
|
944
|
+
min_offset: 0,
|
945
|
+
max_offset: 0,
|
946
|
+
nullable: false,
|
947
|
+
}),
|
948
|
+
});
|
949
|
+
|
950
|
+
// Sort fields by offset -- we need to do this now
|
951
|
+
// because we may create an arbitrary number of
|
952
|
+
// memtypes for imported memories and we don't
|
953
|
+
// otherwise track them.
|
954
|
+
fields.sort_by_key(|f| f.offset);
|
955
|
+
}
|
956
|
+
_ => panic!("Cannot add field to non-struct memtype"),
|
957
|
+
}
|
958
|
+
}
|
959
|
+
|
960
|
+
/// Add one level of indirection to a pointer-and-memtype pair:
|
961
|
+
/// generate a load in the code at the specified offset, and if
|
962
|
+
/// memtypes are in use, add a field to the original struct and
|
963
|
+
/// generate a new memtype for the pointee.
|
964
|
+
fn load_pointer_with_memtypes(
|
965
|
+
&self,
|
966
|
+
func: &mut ir::Function,
|
967
|
+
value: ir::GlobalValue,
|
968
|
+
offset: u32,
|
969
|
+
readonly: bool,
|
970
|
+
memtype: Option<ir::MemoryType>,
|
971
|
+
) -> (ir::GlobalValue, Option<ir::MemoryType>) {
|
972
|
+
let pointee = func.create_global_value(ir::GlobalValueData::Load {
|
973
|
+
base: value,
|
974
|
+
offset: Offset32::new(i32::try_from(offset).unwrap()),
|
975
|
+
global_type: self.pointer_type(),
|
976
|
+
flags: MemFlags::trusted().with_readonly(),
|
977
|
+
});
|
978
|
+
|
979
|
+
let mt = memtype.map(|mt| {
|
980
|
+
let pointee_mt = self.create_empty_struct_memtype(func);
|
981
|
+
self.add_field_to_memtype(func, mt, offset, pointee_mt, readonly);
|
982
|
+
func.global_value_facts[pointee] = Some(Fact::Mem {
|
983
|
+
ty: pointee_mt,
|
984
|
+
min_offset: 0,
|
985
|
+
max_offset: 0,
|
986
|
+
nullable: false,
|
987
|
+
});
|
988
|
+
pointee_mt
|
989
|
+
});
|
990
|
+
(pointee, mt)
|
991
|
+
}
|
992
|
+
|
993
|
+
fn i31_ref_to_unshifted_value(&self, pos: &mut FuncCursor, i31ref: ir::Value) -> ir::Value {
|
994
|
+
let ref_ty = self.reference_type(WasmHeapType::I31);
|
995
|
+
debug_assert_eq!(pos.func.dfg.value_type(i31ref), ref_ty);
|
996
|
+
|
997
|
+
let is_null = pos.ins().is_null(i31ref);
|
998
|
+
pos.ins().trapnz(is_null, ir::TrapCode::NullI31Ref);
|
999
|
+
|
1000
|
+
let val = pos.ins().bitcast(ref_ty.as_int(), MemFlags::new(), i31ref);
|
1001
|
+
|
1002
|
+
if cfg!(debug_assertions) {
|
1003
|
+
let is_i31_ref = pos
|
1004
|
+
.ins()
|
1005
|
+
.band_imm(val, i64::from(crate::I31_REF_DISCRIMINANT));
|
1006
|
+
pos.ins().trapz(
|
1007
|
+
is_i31_ref,
|
1008
|
+
ir::TrapCode::User(crate::DEBUG_ASSERT_TRAP_CODE),
|
1009
|
+
);
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
match ref_ty.bytes() {
|
1013
|
+
8 => pos.ins().ireduce(ir::types::I32, val),
|
1014
|
+
4 => val,
|
1015
|
+
_ => unreachable!(),
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
struct Call<'a, 'func, 'module_env> {
|
1021
|
+
builder: &'a mut FunctionBuilder<'func>,
|
1022
|
+
env: &'a mut FuncEnvironment<'module_env>,
|
1023
|
+
tail: bool,
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
enum CheckIndirectCallTypeSignature {
|
1027
|
+
Runtime,
|
1028
|
+
StaticMatch {
|
1029
|
+
/// Whether or not the funcref may be null or if it's statically known
|
1030
|
+
/// to not be null.
|
1031
|
+
may_be_null: bool,
|
1032
|
+
},
|
1033
|
+
StaticTrap,
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
impl<'a, 'func, 'module_env> Call<'a, 'func, 'module_env> {
|
1037
|
+
/// Create a new `Call` site that will do regular, non-tail calls.
|
1038
|
+
pub fn new(
|
1039
|
+
builder: &'a mut FunctionBuilder<'func>,
|
1040
|
+
env: &'a mut FuncEnvironment<'module_env>,
|
1041
|
+
) -> Self {
|
1042
|
+
Call {
|
1043
|
+
builder,
|
1044
|
+
env,
|
1045
|
+
tail: false,
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
/// Create a new `Call` site that will perform tail calls.
|
1050
|
+
pub fn new_tail(
|
1051
|
+
builder: &'a mut FunctionBuilder<'func>,
|
1052
|
+
env: &'a mut FuncEnvironment<'module_env>,
|
1053
|
+
) -> Self {
|
1054
|
+
Call {
|
1055
|
+
builder,
|
1056
|
+
env,
|
1057
|
+
tail: true,
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
/// Do a direct call to the given callee function.
|
1062
|
+
pub fn direct_call(
|
1063
|
+
mut self,
|
1064
|
+
callee_index: FuncIndex,
|
1065
|
+
callee: ir::FuncRef,
|
1066
|
+
call_args: &[ir::Value],
|
1067
|
+
) -> WasmResult<ir::Inst> {
|
1068
|
+
let mut real_call_args = Vec::with_capacity(call_args.len() + 2);
|
1069
|
+
let caller_vmctx = self
|
1070
|
+
.builder
|
1071
|
+
.func
|
1072
|
+
.special_param(ArgumentPurpose::VMContext)
|
1073
|
+
.unwrap();
|
1074
|
+
|
1075
|
+
// Handle direct calls to locally-defined functions.
|
1076
|
+
if !self.env.module.is_imported_function(callee_index) {
|
1077
|
+
// First append the callee vmctx address, which is the same as the caller vmctx in
|
1078
|
+
// this case.
|
1079
|
+
real_call_args.push(caller_vmctx);
|
1080
|
+
|
1081
|
+
// Then append the caller vmctx address.
|
1082
|
+
real_call_args.push(caller_vmctx);
|
1083
|
+
|
1084
|
+
// Then append the regular call arguments.
|
1085
|
+
real_call_args.extend_from_slice(call_args);
|
1086
|
+
|
1087
|
+
// Finally, make the direct call!
|
1088
|
+
return Ok(self.direct_call_inst(callee, &real_call_args));
|
1089
|
+
}
|
1090
|
+
|
1091
|
+
// Handle direct calls to imported functions. We use an indirect call
|
1092
|
+
// so that we don't have to patch the code at runtime.
|
1093
|
+
let pointer_type = self.env.pointer_type();
|
1094
|
+
let sig_ref = self.builder.func.dfg.ext_funcs[callee].signature;
|
1095
|
+
let vmctx = self.env.vmctx(self.builder.func);
|
1096
|
+
let base = self.builder.ins().global_value(pointer_type, vmctx);
|
1097
|
+
|
1098
|
+
let mem_flags = ir::MemFlags::trusted().with_readonly();
|
1099
|
+
|
1100
|
+
// Load the callee address.
|
1101
|
+
let body_offset = i32::try_from(
|
1102
|
+
self.env
|
1103
|
+
.offsets
|
1104
|
+
.vmctx_vmfunction_import_wasm_call(callee_index),
|
1105
|
+
)
|
1106
|
+
.unwrap();
|
1107
|
+
let func_addr = self
|
1108
|
+
.builder
|
1109
|
+
.ins()
|
1110
|
+
.load(pointer_type, mem_flags, base, body_offset);
|
1111
|
+
|
1112
|
+
// First append the callee vmctx address.
|
1113
|
+
let vmctx_offset =
|
1114
|
+
i32::try_from(self.env.offsets.vmctx_vmfunction_import_vmctx(callee_index)).unwrap();
|
1115
|
+
let vmctx = self
|
1116
|
+
.builder
|
1117
|
+
.ins()
|
1118
|
+
.load(pointer_type, mem_flags, base, vmctx_offset);
|
1119
|
+
real_call_args.push(vmctx);
|
1120
|
+
real_call_args.push(caller_vmctx);
|
1121
|
+
|
1122
|
+
// Then append the regular call arguments.
|
1123
|
+
real_call_args.extend_from_slice(call_args);
|
1124
|
+
|
1125
|
+
// Finally, make the indirect call!
|
1126
|
+
Ok(self.indirect_call_inst(sig_ref, func_addr, &real_call_args))
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
/// Do an indirect call through the given funcref table.
|
1130
|
+
pub fn indirect_call(
|
1131
|
+
mut self,
|
1132
|
+
table_index: TableIndex,
|
1133
|
+
ty_index: TypeIndex,
|
1134
|
+
sig_ref: ir::SigRef,
|
1135
|
+
callee: ir::Value,
|
1136
|
+
call_args: &[ir::Value],
|
1137
|
+
) -> WasmResult<Option<ir::Inst>> {
|
1138
|
+
// Get the funcref pointer from the table.
|
1139
|
+
let funcref_ptr =
|
1140
|
+
self.env
|
1141
|
+
.get_or_init_func_ref_table_elem(self.builder, table_index, callee);
|
1142
|
+
|
1143
|
+
// If necessary, check the signature.
|
1144
|
+
let check = self.check_indirect_call_type_signature(table_index, ty_index, funcref_ptr);
|
1145
|
+
|
1146
|
+
let trap_code = match check {
|
1147
|
+
// `funcref_ptr` is checked at runtime that its type matches,
|
1148
|
+
// meaning that if code gets this far it's guaranteed to not be
|
1149
|
+
// null. That means nothing in `unchecked_call` can fail.
|
1150
|
+
CheckIndirectCallTypeSignature::Runtime => None,
|
1151
|
+
|
1152
|
+
// No type check was performed on `funcref_ptr` because it's
|
1153
|
+
// statically known to have the right type. Note that whether or
|
1154
|
+
// not the function is null is not necessarily tested so far since
|
1155
|
+
// no type information was inspected.
|
1156
|
+
//
|
1157
|
+
// If the table may hold null functions, then further loads in
|
1158
|
+
// `unchecked_call` may fail. If the table only holds non-null
|
1159
|
+
// functions, though, then there's no possibility of a trap.
|
1160
|
+
CheckIndirectCallTypeSignature::StaticMatch { may_be_null } => {
|
1161
|
+
if may_be_null {
|
1162
|
+
Some(ir::TrapCode::IndirectCallToNull)
|
1163
|
+
} else {
|
1164
|
+
None
|
1165
|
+
}
|
1166
|
+
}
|
1167
|
+
|
1168
|
+
// Code has already trapped, so return nothing indicating that this
|
1169
|
+
// is now unreachable code.
|
1170
|
+
CheckIndirectCallTypeSignature::StaticTrap => return Ok(None),
|
1171
|
+
};
|
1172
|
+
self.unchecked_call(sig_ref, funcref_ptr, trap_code, call_args)
|
1173
|
+
.map(Some)
|
1174
|
+
}
|
1175
|
+
|
1176
|
+
fn check_indirect_call_type_signature(
|
1177
|
+
&mut self,
|
1178
|
+
table_index: TableIndex,
|
1179
|
+
ty_index: TypeIndex,
|
1180
|
+
funcref_ptr: ir::Value,
|
1181
|
+
) -> CheckIndirectCallTypeSignature {
|
1182
|
+
let pointer_type = self.env.pointer_type();
|
1183
|
+
let table = &self.env.module.table_plans[table_index];
|
1184
|
+
let sig_id_size = self.env.offsets.size_of_vmshared_type_index();
|
1185
|
+
let sig_id_type = Type::int(u16::from(sig_id_size) * 8).unwrap();
|
1186
|
+
|
1187
|
+
// Generate a rustc compile error here if more styles are added in
|
1188
|
+
// the future as the following code is tailored to just this style.
|
1189
|
+
let TableStyle::CallerChecksSignature = table.style;
|
1190
|
+
|
1191
|
+
// Test if a type check is necessary for this table. If this table is a
|
1192
|
+
// table of typed functions and that type matches `ty_index`, then
|
1193
|
+
// there's no need to perform a typecheck.
|
1194
|
+
match table.table.wasm_ty.heap_type {
|
1195
|
+
// Functions do not have a statically known type in the table, a
|
1196
|
+
// typecheck is required. Fall through to below to perform the
|
1197
|
+
// actual typecheck.
|
1198
|
+
WasmHeapType::Func => {}
|
1199
|
+
|
1200
|
+
// Functions that have a statically known type are either going to
|
1201
|
+
// always succeed or always fail. Figure out by inspecting the types
|
1202
|
+
// further.
|
1203
|
+
WasmHeapType::Concrete(EngineOrModuleTypeIndex::Module(table_ty)) => {
|
1204
|
+
// If `ty_index` matches `table_ty`, then this call is
|
1205
|
+
// statically known to have the right type, so no checks are
|
1206
|
+
// necessary.
|
1207
|
+
let ModuleType::Function(specified_ty) = self.env.module.types[ty_index];
|
1208
|
+
if specified_ty == table_ty {
|
1209
|
+
return CheckIndirectCallTypeSignature::StaticMatch {
|
1210
|
+
may_be_null: table.table.wasm_ty.nullable,
|
1211
|
+
};
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
// Otherwise if the types don't match then either (a) this is a
|
1215
|
+
// null pointer or (b) it's a pointer with the wrong type.
|
1216
|
+
// Figure out which and trap here.
|
1217
|
+
//
|
1218
|
+
// If it's possible to have a null here then try to load the
|
1219
|
+
// type information. If that fails due to the function being a
|
1220
|
+
// null pointer, then this was a call to null. Otherwise if it
|
1221
|
+
// succeeds then we know it won't match, so trap anyway.
|
1222
|
+
if table.table.wasm_ty.nullable {
|
1223
|
+
let mem_flags = ir::MemFlags::trusted().with_readonly();
|
1224
|
+
self.builder.ins().load(
|
1225
|
+
sig_id_type,
|
1226
|
+
mem_flags.with_trap_code(Some(ir::TrapCode::IndirectCallToNull)),
|
1227
|
+
funcref_ptr,
|
1228
|
+
i32::from(self.env.offsets.ptr.vm_func_ref_type_index()),
|
1229
|
+
);
|
1230
|
+
}
|
1231
|
+
self.builder.ins().trap(ir::TrapCode::BadSignature);
|
1232
|
+
return CheckIndirectCallTypeSignature::StaticTrap;
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
// Tables of `nofunc` can only be inhabited by null, so go ahead and
|
1236
|
+
// trap with that.
|
1237
|
+
WasmHeapType::NoFunc => {
|
1238
|
+
assert!(table.table.wasm_ty.nullable);
|
1239
|
+
self.builder.ins().trap(ir::TrapCode::IndirectCallToNull);
|
1240
|
+
return CheckIndirectCallTypeSignature::StaticTrap;
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
// Engine-indexed types don't show up until runtime and it's a wasm
|
1244
|
+
// validation error to perform a call through a non-function table,
|
1245
|
+
// so these cases are dynamically not reachable.
|
1246
|
+
WasmHeapType::Concrete(EngineOrModuleTypeIndex::Engine(_))
|
1247
|
+
| WasmHeapType::Extern
|
1248
|
+
| WasmHeapType::Any
|
1249
|
+
| WasmHeapType::I31
|
1250
|
+
| WasmHeapType::None => {
|
1251
|
+
unreachable!()
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
let vmctx = self.env.vmctx(self.builder.func);
|
1256
|
+
let base = self.builder.ins().global_value(pointer_type, vmctx);
|
1257
|
+
|
1258
|
+
// Load the caller ID. This requires loading the `*mut VMFuncRef` base
|
1259
|
+
// pointer from `VMContext` and then loading, based on `SignatureIndex`,
|
1260
|
+
// the corresponding entry.
|
1261
|
+
let mem_flags = ir::MemFlags::trusted().with_readonly();
|
1262
|
+
let signatures = self.builder.ins().load(
|
1263
|
+
pointer_type,
|
1264
|
+
mem_flags,
|
1265
|
+
base,
|
1266
|
+
i32::try_from(self.env.offsets.vmctx_type_ids_array()).unwrap(),
|
1267
|
+
);
|
1268
|
+
let sig_index = self.env.module.types[ty_index].unwrap_function();
|
1269
|
+
let offset =
|
1270
|
+
i32::try_from(sig_index.as_u32().checked_mul(sig_id_type.bytes()).unwrap()).unwrap();
|
1271
|
+
let caller_sig_id = self
|
1272
|
+
.builder
|
1273
|
+
.ins()
|
1274
|
+
.load(sig_id_type, mem_flags, signatures, offset);
|
1275
|
+
|
1276
|
+
// Load the callee ID.
|
1277
|
+
//
|
1278
|
+
// Note that the callee may be null in which case this load may
|
1279
|
+
// trap. If so use the `IndirectCallToNull` trap code.
|
1280
|
+
let mem_flags = ir::MemFlags::trusted().with_readonly();
|
1281
|
+
let callee_sig_id = self.builder.ins().load(
|
1282
|
+
sig_id_type,
|
1283
|
+
mem_flags.with_trap_code(Some(ir::TrapCode::IndirectCallToNull)),
|
1284
|
+
funcref_ptr,
|
1285
|
+
i32::from(self.env.offsets.ptr.vm_func_ref_type_index()),
|
1286
|
+
);
|
1287
|
+
|
1288
|
+
// Check that they match.
|
1289
|
+
let cmp = self
|
1290
|
+
.builder
|
1291
|
+
.ins()
|
1292
|
+
.icmp(IntCC::Equal, callee_sig_id, caller_sig_id);
|
1293
|
+
self.builder.ins().trapz(cmp, ir::TrapCode::BadSignature);
|
1294
|
+
CheckIndirectCallTypeSignature::Runtime
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
/// Call a typed function reference.
|
1298
|
+
pub fn call_ref(
|
1299
|
+
mut self,
|
1300
|
+
sig_ref: ir::SigRef,
|
1301
|
+
callee: ir::Value,
|
1302
|
+
args: &[ir::Value],
|
1303
|
+
) -> WasmResult<ir::Inst> {
|
1304
|
+
// FIXME: the wasm type system tracks enough information to know whether
|
1305
|
+
// `callee` is a null reference or not. In some situations it can be
|
1306
|
+
// statically known here that `callee` cannot be null in which case this
|
1307
|
+
// can be `None` instead. This requires feeding type information from
|
1308
|
+
// wasmparser's validator into this function, however, which is not
|
1309
|
+
// easily done at this time.
|
1310
|
+
let callee_load_trap_code = Some(ir::TrapCode::NullReference);
|
1311
|
+
|
1312
|
+
self.unchecked_call(sig_ref, callee, callee_load_trap_code, args)
|
1313
|
+
}
|
1314
|
+
|
1315
|
+
/// This calls a function by reference without checking the signature.
|
1316
|
+
///
|
1317
|
+
/// It gets the function address, sets relevant flags, and passes the
|
1318
|
+
/// special callee/caller vmctxs. It is used by both call_indirect (which
|
1319
|
+
/// checks the signature) and call_ref (which doesn't).
|
1320
|
+
fn unchecked_call(
|
1321
|
+
&mut self,
|
1322
|
+
sig_ref: ir::SigRef,
|
1323
|
+
callee: ir::Value,
|
1324
|
+
callee_load_trap_code: Option<ir::TrapCode>,
|
1325
|
+
call_args: &[ir::Value],
|
1326
|
+
) -> WasmResult<ir::Inst> {
|
1327
|
+
let pointer_type = self.env.pointer_type();
|
1328
|
+
|
1329
|
+
// Dereference callee pointer to get the function address.
|
1330
|
+
//
|
1331
|
+
// Note that this may trap if `callee` hasn't previously been verified
|
1332
|
+
// to be non-null. This means that this load is annotated with an
|
1333
|
+
// optional trap code provided by the caller of `unchecked_call` which
|
1334
|
+
// will handle the case where this is either already known to be
|
1335
|
+
// non-null or may trap.
|
1336
|
+
let mem_flags = ir::MemFlags::trusted().with_readonly();
|
1337
|
+
let func_addr = self.builder.ins().load(
|
1338
|
+
pointer_type,
|
1339
|
+
mem_flags.with_trap_code(callee_load_trap_code),
|
1340
|
+
callee,
|
1341
|
+
i32::from(self.env.offsets.ptr.vm_func_ref_wasm_call()),
|
1342
|
+
);
|
1343
|
+
|
1344
|
+
let mut real_call_args = Vec::with_capacity(call_args.len() + 2);
|
1345
|
+
let caller_vmctx = self
|
1346
|
+
.builder
|
1347
|
+
.func
|
1348
|
+
.special_param(ArgumentPurpose::VMContext)
|
1349
|
+
.unwrap();
|
1350
|
+
|
1351
|
+
// First append the callee vmctx address.
|
1352
|
+
let vmctx = self.builder.ins().load(
|
1353
|
+
pointer_type,
|
1354
|
+
mem_flags,
|
1355
|
+
callee,
|
1356
|
+
i32::from(self.env.offsets.ptr.vm_func_ref_vmctx()),
|
1357
|
+
);
|
1358
|
+
real_call_args.push(vmctx);
|
1359
|
+
real_call_args.push(caller_vmctx);
|
1360
|
+
|
1361
|
+
// Then append the regular call arguments.
|
1362
|
+
real_call_args.extend_from_slice(call_args);
|
1363
|
+
|
1364
|
+
Ok(self.indirect_call_inst(sig_ref, func_addr, &real_call_args))
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
fn direct_call_inst(&mut self, callee: ir::FuncRef, args: &[ir::Value]) -> ir::Inst {
|
1368
|
+
if self.tail {
|
1369
|
+
self.builder.ins().return_call(callee, args)
|
1370
|
+
} else {
|
1371
|
+
self.builder.ins().call(callee, args)
|
1372
|
+
}
|
1373
|
+
}
|
1374
|
+
|
1375
|
+
fn indirect_call_inst(
|
1376
|
+
&mut self,
|
1377
|
+
sig_ref: ir::SigRef,
|
1378
|
+
func_addr: ir::Value,
|
1379
|
+
args: &[ir::Value],
|
1380
|
+
) -> ir::Inst {
|
1381
|
+
if self.tail {
|
1382
|
+
self.builder
|
1383
|
+
.ins()
|
1384
|
+
.return_call_indirect(sig_ref, func_addr, args)
|
1385
|
+
} else {
|
1386
|
+
self.builder.ins().call_indirect(sig_ref, func_addr, args)
|
1387
|
+
}
|
1388
|
+
}
|
1389
|
+
}
|
1390
|
+
|
1391
|
+
impl TypeConvert for FuncEnvironment<'_> {
|
1392
|
+
fn lookup_heap_type(&self, ty: wasmparser::UnpackedIndex) -> WasmHeapType {
|
1393
|
+
wasmtime_environ::WasmparserTypeConverter {
|
1394
|
+
module: self.module,
|
1395
|
+
types: self.types,
|
1396
|
+
}
|
1397
|
+
.lookup_heap_type(ty)
|
1398
|
+
}
|
1399
|
+
}
|
1400
|
+
|
1401
|
+
impl<'module_environment> TargetEnvironment for FuncEnvironment<'module_environment> {
|
1402
|
+
fn target_config(&self) -> TargetFrontendConfig {
|
1403
|
+
self.isa.frontend_config()
|
1404
|
+
}
|
1405
|
+
|
1406
|
+
fn reference_type(&self, ty: WasmHeapType) -> ir::Type {
|
1407
|
+
crate::reference_type(ty, self.pointer_type())
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
fn heap_access_spectre_mitigation(&self) -> bool {
|
1411
|
+
self.isa.flags().enable_heap_access_spectre_mitigation()
|
1412
|
+
}
|
1413
|
+
|
1414
|
+
fn proof_carrying_code(&self) -> bool {
|
1415
|
+
self.isa.flags().enable_pcc()
|
1416
|
+
}
|
1417
|
+
}
|
1418
|
+
|
1419
|
+
impl<'module_environment> cranelift_wasm::FuncEnvironment for FuncEnvironment<'module_environment> {
|
1420
|
+
fn heaps(&self) -> &PrimaryMap<Heap, HeapData> {
|
1421
|
+
&self.heaps
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
fn is_wasm_parameter(&self, _signature: &ir::Signature, index: usize) -> bool {
|
1425
|
+
// The first two parameters are the vmctx and caller vmctx. The rest are
|
1426
|
+
// the wasm parameters.
|
1427
|
+
index >= 2
|
1428
|
+
}
|
1429
|
+
|
1430
|
+
fn after_locals(&mut self, num_locals: usize) {
|
1431
|
+
self.vmruntime_limits_ptr = Variable::new(num_locals);
|
1432
|
+
self.fuel_var = Variable::new(num_locals + 1);
|
1433
|
+
self.epoch_deadline_var = Variable::new(num_locals + 2);
|
1434
|
+
self.epoch_ptr_var = Variable::new(num_locals + 3);
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
fn translate_table_grow(
|
1438
|
+
&mut self,
|
1439
|
+
mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
|
1440
|
+
table_index: TableIndex,
|
1441
|
+
delta: ir::Value,
|
1442
|
+
init_value: ir::Value,
|
1443
|
+
) -> WasmResult<ir::Value> {
|
1444
|
+
let grow = match self.module.table_plans[table_index].table.wasm_ty.heap_type {
|
1445
|
+
WasmHeapType::Func | WasmHeapType::Concrete(_) | WasmHeapType::NoFunc => {
|
1446
|
+
self.builtin_functions.table_grow_func_ref(&mut pos.func)
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
ty @ WasmHeapType::Any
|
1450
|
+
| ty @ WasmHeapType::I31
|
1451
|
+
| ty @ WasmHeapType::None
|
1452
|
+
| ty @ WasmHeapType::Extern => gc::gc_ref_table_grow_builtin(ty, self, &mut pos.func)?,
|
1453
|
+
};
|
1454
|
+
|
1455
|
+
let vmctx = self.vmctx_val(&mut pos);
|
1456
|
+
|
1457
|
+
let table_index_arg = pos.ins().iconst(I32, table_index.as_u32() as i64);
|
1458
|
+
let call_inst = pos
|
1459
|
+
.ins()
|
1460
|
+
.call(grow, &[vmctx, table_index_arg, delta, init_value]);
|
1461
|
+
|
1462
|
+
Ok(pos.func.dfg.first_result(call_inst))
|
1463
|
+
}
|
1464
|
+
|
1465
|
+
fn translate_table_get(
|
1466
|
+
&mut self,
|
1467
|
+
builder: &mut FunctionBuilder,
|
1468
|
+
table_index: TableIndex,
|
1469
|
+
index: ir::Value,
|
1470
|
+
) -> WasmResult<ir::Value> {
|
1471
|
+
let plan = &self.module.table_plans[table_index];
|
1472
|
+
self.ensure_table_exists(builder.func, table_index);
|
1473
|
+
let table_data = self.tables[table_index].as_ref().unwrap();
|
1474
|
+
match plan.table.wasm_ty.heap_type {
|
1475
|
+
// GC-managed types.
|
1476
|
+
WasmHeapType::Any | WasmHeapType::Extern | WasmHeapType::None => {
|
1477
|
+
let (src, flags) = table_data.prepare_table_addr(
|
1478
|
+
builder,
|
1479
|
+
index,
|
1480
|
+
self.pointer_type(),
|
1481
|
+
self.isa.flags().enable_table_access_spectre_mitigation(),
|
1482
|
+
);
|
1483
|
+
gc::gc_compiler(self).translate_read_gc_reference(
|
1484
|
+
self,
|
1485
|
+
builder,
|
1486
|
+
plan.table.wasm_ty,
|
1487
|
+
src,
|
1488
|
+
flags,
|
1489
|
+
)
|
1490
|
+
}
|
1491
|
+
|
1492
|
+
// `i31ref`s never need barriers, and therefore don't need to go
|
1493
|
+
// through the GC compiler.
|
1494
|
+
WasmHeapType::I31 => {
|
1495
|
+
let (src, flags) = table_data.prepare_table_addr(
|
1496
|
+
builder,
|
1497
|
+
index,
|
1498
|
+
self.pointer_type(),
|
1499
|
+
self.isa.flags().enable_table_access_spectre_mitigation(),
|
1500
|
+
);
|
1501
|
+
gc::unbarriered_load_gc_ref(self, builder, WasmHeapType::I31, src, flags)
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
// Function types.
|
1505
|
+
WasmHeapType::Func | WasmHeapType::Concrete(_) | WasmHeapType::NoFunc => {
|
1506
|
+
match plan.style {
|
1507
|
+
TableStyle::CallerChecksSignature => {
|
1508
|
+
Ok(self.get_or_init_func_ref_table_elem(builder, table_index, index))
|
1509
|
+
}
|
1510
|
+
}
|
1511
|
+
}
|
1512
|
+
}
|
1513
|
+
}
|
1514
|
+
|
1515
|
+
fn translate_table_set(
|
1516
|
+
&mut self,
|
1517
|
+
builder: &mut FunctionBuilder,
|
1518
|
+
table_index: TableIndex,
|
1519
|
+
value: ir::Value,
|
1520
|
+
index: ir::Value,
|
1521
|
+
) -> WasmResult<()> {
|
1522
|
+
let pointer_type = self.pointer_type();
|
1523
|
+
let plan = &self.module.table_plans[table_index];
|
1524
|
+
self.ensure_table_exists(builder.func, table_index);
|
1525
|
+
let table_data = self.tables[table_index].as_ref().unwrap();
|
1526
|
+
match plan.table.wasm_ty.heap_type {
|
1527
|
+
// GC-managed types.
|
1528
|
+
WasmHeapType::Any | WasmHeapType::Extern | WasmHeapType::None => {
|
1529
|
+
let (dst, flags) = table_data.prepare_table_addr(
|
1530
|
+
builder,
|
1531
|
+
index,
|
1532
|
+
self.pointer_type(),
|
1533
|
+
self.isa.flags().enable_table_access_spectre_mitigation(),
|
1534
|
+
);
|
1535
|
+
gc::gc_compiler(self).translate_write_gc_reference(
|
1536
|
+
self,
|
1537
|
+
builder,
|
1538
|
+
plan.table.wasm_ty,
|
1539
|
+
dst,
|
1540
|
+
value,
|
1541
|
+
flags,
|
1542
|
+
)
|
1543
|
+
}
|
1544
|
+
|
1545
|
+
// `i31ref`s never need GC barriers, and therefore don't need to go
|
1546
|
+
// through the GC compiler.
|
1547
|
+
WasmHeapType::I31 => {
|
1548
|
+
let (addr, flags) = table_data.prepare_table_addr(
|
1549
|
+
builder,
|
1550
|
+
index,
|
1551
|
+
self.pointer_type(),
|
1552
|
+
self.isa.flags().enable_table_access_spectre_mitigation(),
|
1553
|
+
);
|
1554
|
+
gc::unbarriered_store_gc_ref(self, builder, WasmHeapType::I31, addr, value, flags)
|
1555
|
+
}
|
1556
|
+
|
1557
|
+
// Function types.
|
1558
|
+
WasmHeapType::Func | WasmHeapType::Concrete(_) | WasmHeapType::NoFunc => {
|
1559
|
+
match plan.style {
|
1560
|
+
TableStyle::CallerChecksSignature => {
|
1561
|
+
let (elem_addr, flags) = table_data.prepare_table_addr(
|
1562
|
+
builder,
|
1563
|
+
index,
|
1564
|
+
pointer_type,
|
1565
|
+
self.isa.flags().enable_table_access_spectre_mitigation(),
|
1566
|
+
);
|
1567
|
+
// Set the "initialized bit". See doc-comment on
|
1568
|
+
// `FUNCREF_INIT_BIT` in
|
1569
|
+
// crates/environ/src/ref_bits.rs for details.
|
1570
|
+
let value_with_init_bit = builder
|
1571
|
+
.ins()
|
1572
|
+
.bor_imm(value, Imm64::from(FUNCREF_INIT_BIT as i64));
|
1573
|
+
builder
|
1574
|
+
.ins()
|
1575
|
+
.store(flags, value_with_init_bit, elem_addr, 0);
|
1576
|
+
Ok(())
|
1577
|
+
}
|
1578
|
+
}
|
1579
|
+
}
|
1580
|
+
}
|
1581
|
+
}
|
1582
|
+
|
1583
|
+
fn translate_table_fill(
|
1584
|
+
&mut self,
|
1585
|
+
mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
|
1586
|
+
table_index: TableIndex,
|
1587
|
+
dst: ir::Value,
|
1588
|
+
val: ir::Value,
|
1589
|
+
len: ir::Value,
|
1590
|
+
) -> WasmResult<()> {
|
1591
|
+
let libcall = match self.module.table_plans[table_index].table.wasm_ty.heap_type {
|
1592
|
+
WasmHeapType::Func | WasmHeapType::Concrete(_) | WasmHeapType::NoFunc => {
|
1593
|
+
self.builtin_functions.table_fill_func_ref(&mut pos.func)
|
1594
|
+
}
|
1595
|
+
ty @ WasmHeapType::Extern
|
1596
|
+
| ty @ WasmHeapType::Any
|
1597
|
+
| ty @ WasmHeapType::I31
|
1598
|
+
| ty @ WasmHeapType::None => gc::gc_ref_table_fill_builtin(ty, self, &mut pos.func)?,
|
1599
|
+
};
|
1600
|
+
|
1601
|
+
let vmctx = self.vmctx_val(&mut pos);
|
1602
|
+
|
1603
|
+
let table_index_arg = pos.ins().iconst(I32, table_index.as_u32() as i64);
|
1604
|
+
pos.ins()
|
1605
|
+
.call(libcall, &[vmctx, table_index_arg, dst, val, len]);
|
1606
|
+
|
1607
|
+
Ok(())
|
1608
|
+
}
|
1609
|
+
|
1610
|
+
fn translate_ref_i31(&mut self, mut pos: FuncCursor, val: ir::Value) -> WasmResult<ir::Value> {
|
1611
|
+
let shifted = pos.ins().ishl_imm(val, 1);
|
1612
|
+
let tagged = pos
|
1613
|
+
.ins()
|
1614
|
+
.bor_imm(shifted, i64::from(crate::I31_REF_DISCRIMINANT));
|
1615
|
+
let ref_ty = self.reference_type(WasmHeapType::I31);
|
1616
|
+
let extended = if ref_ty.bytes() > 4 {
|
1617
|
+
pos.ins().uextend(ref_ty.as_int(), tagged)
|
1618
|
+
} else {
|
1619
|
+
tagged
|
1620
|
+
};
|
1621
|
+
let i31ref = pos.ins().bitcast(ref_ty, MemFlags::new(), extended);
|
1622
|
+
Ok(i31ref)
|
1623
|
+
}
|
1624
|
+
|
1625
|
+
fn translate_i31_get_s(
|
1626
|
+
&mut self,
|
1627
|
+
mut pos: FuncCursor,
|
1628
|
+
i31ref: ir::Value,
|
1629
|
+
) -> WasmResult<ir::Value> {
|
1630
|
+
let val = self.i31_ref_to_unshifted_value(&mut pos, i31ref);
|
1631
|
+
let shifted = pos.ins().sshr_imm(val, 1);
|
1632
|
+
Ok(shifted)
|
1633
|
+
}
|
1634
|
+
|
1635
|
+
fn translate_i31_get_u(
|
1636
|
+
&mut self,
|
1637
|
+
mut pos: FuncCursor,
|
1638
|
+
i31ref: ir::Value,
|
1639
|
+
) -> WasmResult<ir::Value> {
|
1640
|
+
let val = self.i31_ref_to_unshifted_value(&mut pos, i31ref);
|
1641
|
+
let shifted = pos.ins().ushr_imm(val, 1);
|
1642
|
+
Ok(shifted)
|
1643
|
+
}
|
1644
|
+
|
1645
|
+
fn translate_ref_null(
|
1646
|
+
&mut self,
|
1647
|
+
mut pos: cranelift_codegen::cursor::FuncCursor,
|
1648
|
+
ht: WasmHeapType,
|
1649
|
+
) -> WasmResult<ir::Value> {
|
1650
|
+
Ok(match ht {
|
1651
|
+
WasmHeapType::Func | WasmHeapType::Concrete(_) | WasmHeapType::NoFunc => {
|
1652
|
+
pos.ins().iconst(self.pointer_type(), 0)
|
1653
|
+
}
|
1654
|
+
WasmHeapType::Extern | WasmHeapType::Any | WasmHeapType::I31 | WasmHeapType::None => {
|
1655
|
+
pos.ins().null(self.reference_type(ht))
|
1656
|
+
}
|
1657
|
+
})
|
1658
|
+
}
|
1659
|
+
|
1660
|
+
fn translate_ref_is_null(
|
1661
|
+
&mut self,
|
1662
|
+
mut pos: cranelift_codegen::cursor::FuncCursor,
|
1663
|
+
value: ir::Value,
|
1664
|
+
) -> WasmResult<ir::Value> {
|
1665
|
+
let bool_is_null = match pos.func.dfg.value_type(value) {
|
1666
|
+
// `externref`
|
1667
|
+
ty if ty.is_ref() => pos.ins().is_null(value),
|
1668
|
+
// `funcref`
|
1669
|
+
ty if ty == self.pointer_type() => {
|
1670
|
+
pos.ins()
|
1671
|
+
.icmp_imm(cranelift_codegen::ir::condcodes::IntCC::Equal, value, 0)
|
1672
|
+
}
|
1673
|
+
_ => unreachable!(),
|
1674
|
+
};
|
1675
|
+
|
1676
|
+
Ok(pos.ins().uextend(ir::types::I32, bool_is_null))
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
fn translate_ref_func(
|
1680
|
+
&mut self,
|
1681
|
+
mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
|
1682
|
+
func_index: FuncIndex,
|
1683
|
+
) -> WasmResult<ir::Value> {
|
1684
|
+
let func_index = pos.ins().iconst(I32, func_index.as_u32() as i64);
|
1685
|
+
let ref_func = self.builtin_functions.ref_func(&mut pos.func);
|
1686
|
+
let vmctx = self.vmctx_val(&mut pos);
|
1687
|
+
|
1688
|
+
let call_inst = pos.ins().call(ref_func, &[vmctx, func_index]);
|
1689
|
+
Ok(pos.func.dfg.first_result(call_inst))
|
1690
|
+
}
|
1691
|
+
|
1692
|
+
fn translate_custom_global_get(
|
1693
|
+
&mut self,
|
1694
|
+
mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
|
1695
|
+
index: cranelift_wasm::GlobalIndex,
|
1696
|
+
) -> WasmResult<ir::Value> {
|
1697
|
+
let ty = self.module.globals[index].wasm_ty;
|
1698
|
+
debug_assert!(
|
1699
|
+
ty.is_vmgcref_type(),
|
1700
|
+
"We only use GlobalVariable::Custom for VMGcRef types"
|
1701
|
+
);
|
1702
|
+
|
1703
|
+
// TODO: use `GcCompiler::translate_read_gc_reference` for GC-reference
|
1704
|
+
// globals instead of a libcall.
|
1705
|
+
let libcall = gc::gc_ref_global_get_builtin(ty, self, &mut pos.func)?;
|
1706
|
+
|
1707
|
+
let vmctx = self.vmctx_val(&mut pos);
|
1708
|
+
|
1709
|
+
let global_index_arg = pos.ins().iconst(I32, index.as_u32() as i64);
|
1710
|
+
let call_inst = pos.ins().call(libcall, &[vmctx, global_index_arg]);
|
1711
|
+
|
1712
|
+
Ok(pos.func.dfg.first_result(call_inst))
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
fn translate_custom_global_set(
|
1716
|
+
&mut self,
|
1717
|
+
mut pos: cranelift_codegen::cursor::FuncCursor<'_>,
|
1718
|
+
index: cranelift_wasm::GlobalIndex,
|
1719
|
+
value: ir::Value,
|
1720
|
+
) -> WasmResult<()> {
|
1721
|
+
let ty = self.module.globals[index].wasm_ty;
|
1722
|
+
debug_assert!(
|
1723
|
+
ty.is_vmgcref_type(),
|
1724
|
+
"We only use GlobalVariable::Custom for VMGcRef types"
|
1725
|
+
);
|
1726
|
+
|
1727
|
+
// TODO: use `GcCompiler::translate_write_gc_reference` for GC-reference
|
1728
|
+
// globals instead of a libcall.
|
1729
|
+
let libcall = gc::gc_ref_global_set_builtin(ty, self, &mut pos.func)?;
|
1730
|
+
|
1731
|
+
let vmctx = self.vmctx_val(&mut pos);
|
1732
|
+
|
1733
|
+
let global_index_arg = pos.ins().iconst(I32, index.as_u32() as i64);
|
1734
|
+
pos.ins().call(libcall, &[vmctx, global_index_arg, value]);
|
1735
|
+
|
1736
|
+
Ok(())
|
1737
|
+
}
|
1738
|
+
|
1739
|
+
fn make_heap(&mut self, func: &mut ir::Function, index: MemoryIndex) -> WasmResult<Heap> {
|
1740
|
+
let pointer_type = self.pointer_type();
|
1741
|
+
let is_shared = self.module.memory_plans[index].memory.shared;
|
1742
|
+
|
1743
|
+
let min_size = self.module.memory_plans[index]
|
1744
|
+
.memory
|
1745
|
+
.minimum
|
1746
|
+
.checked_mul(u64::from(WASM_PAGE_SIZE))
|
1747
|
+
.unwrap_or_else(|| {
|
1748
|
+
// The only valid Wasm memory size that won't fit in a 64-bit
|
1749
|
+
// integer is the maximum memory64 size (2^64) which is one
|
1750
|
+
// larger than `u64::MAX` (2^64 - 1). In this case, just say the
|
1751
|
+
// minimum heap size is `u64::MAX`.
|
1752
|
+
debug_assert_eq!(self.module.memory_plans[index].memory.minimum, 1 << 48);
|
1753
|
+
u64::MAX
|
1754
|
+
});
|
1755
|
+
|
1756
|
+
let max_size = self.module.memory_plans[index]
|
1757
|
+
.memory
|
1758
|
+
.maximum
|
1759
|
+
.and_then(|max| max.checked_mul(u64::from(WASM_PAGE_SIZE)));
|
1760
|
+
|
1761
|
+
let (ptr, base_offset, current_length_offset, ptr_memtype) = {
|
1762
|
+
let vmctx = self.vmctx(func);
|
1763
|
+
if let Some(def_index) = self.module.defined_memory_index(index) {
|
1764
|
+
if is_shared {
|
1765
|
+
// As with imported memory, the `VMMemoryDefinition` for a
|
1766
|
+
// shared memory is stored elsewhere. We store a `*mut
|
1767
|
+
// VMMemoryDefinition` to it and dereference that when
|
1768
|
+
// atomically growing it.
|
1769
|
+
let from_offset = self.offsets.vmctx_vmmemory_pointer(def_index);
|
1770
|
+
let (memory, def_mt) = self.load_pointer_with_memtypes(
|
1771
|
+
func,
|
1772
|
+
vmctx,
|
1773
|
+
from_offset,
|
1774
|
+
true,
|
1775
|
+
self.pcc_vmctx_memtype,
|
1776
|
+
);
|
1777
|
+
let base_offset = i32::from(self.offsets.ptr.vmmemory_definition_base());
|
1778
|
+
let current_length_offset =
|
1779
|
+
i32::from(self.offsets.ptr.vmmemory_definition_current_length());
|
1780
|
+
(memory, base_offset, current_length_offset, def_mt)
|
1781
|
+
} else {
|
1782
|
+
let owned_index = self.module.owned_memory_index(def_index);
|
1783
|
+
let owned_base_offset =
|
1784
|
+
self.offsets.vmctx_vmmemory_definition_base(owned_index);
|
1785
|
+
let owned_length_offset = self
|
1786
|
+
.offsets
|
1787
|
+
.vmctx_vmmemory_definition_current_length(owned_index);
|
1788
|
+
let current_base_offset = i32::try_from(owned_base_offset).unwrap();
|
1789
|
+
let current_length_offset = i32::try_from(owned_length_offset).unwrap();
|
1790
|
+
(
|
1791
|
+
vmctx,
|
1792
|
+
current_base_offset,
|
1793
|
+
current_length_offset,
|
1794
|
+
self.pcc_vmctx_memtype,
|
1795
|
+
)
|
1796
|
+
}
|
1797
|
+
} else {
|
1798
|
+
let from_offset = self.offsets.vmctx_vmmemory_import_from(index);
|
1799
|
+
let (memory, def_mt) = self.load_pointer_with_memtypes(
|
1800
|
+
func,
|
1801
|
+
vmctx,
|
1802
|
+
from_offset,
|
1803
|
+
true,
|
1804
|
+
self.pcc_vmctx_memtype,
|
1805
|
+
);
|
1806
|
+
let base_offset = i32::from(self.offsets.ptr.vmmemory_definition_base());
|
1807
|
+
let current_length_offset =
|
1808
|
+
i32::from(self.offsets.ptr.vmmemory_definition_current_length());
|
1809
|
+
(memory, base_offset, current_length_offset, def_mt)
|
1810
|
+
}
|
1811
|
+
};
|
1812
|
+
|
1813
|
+
// If we have a declared maximum, we can make this a "static" heap, which is
|
1814
|
+
// allocated up front and never moved.
|
1815
|
+
let (offset_guard_size, heap_style, readonly_base, base_fact, memory_type) =
|
1816
|
+
match self.module.memory_plans[index] {
|
1817
|
+
MemoryPlan {
|
1818
|
+
style: MemoryStyle::Dynamic { .. },
|
1819
|
+
offset_guard_size,
|
1820
|
+
pre_guard_size: _,
|
1821
|
+
memory: _,
|
1822
|
+
} => {
|
1823
|
+
let heap_bound = func.create_global_value(ir::GlobalValueData::Load {
|
1824
|
+
base: ptr,
|
1825
|
+
offset: Offset32::new(current_length_offset),
|
1826
|
+
global_type: pointer_type,
|
1827
|
+
flags: MemFlags::trusted(),
|
1828
|
+
});
|
1829
|
+
|
1830
|
+
let (base_fact, data_mt) = if let Some(ptr_memtype) = ptr_memtype {
|
1831
|
+
// Create a memtype representing the untyped memory region.
|
1832
|
+
let data_mt = func.create_memory_type(ir::MemoryTypeData::DynamicMemory {
|
1833
|
+
gv: heap_bound,
|
1834
|
+
size: offset_guard_size,
|
1835
|
+
});
|
1836
|
+
// This fact applies to any pointer to the start of the memory.
|
1837
|
+
let base_fact = ir::Fact::dynamic_base_ptr(data_mt);
|
1838
|
+
// This fact applies to the length.
|
1839
|
+
let length_fact = ir::Fact::global_value(
|
1840
|
+
u16::try_from(self.isa.pointer_type().bits()).unwrap(),
|
1841
|
+
heap_bound,
|
1842
|
+
);
|
1843
|
+
// Create a field in the vmctx for the base pointer.
|
1844
|
+
match &mut func.memory_types[ptr_memtype] {
|
1845
|
+
ir::MemoryTypeData::Struct { size, fields } => {
|
1846
|
+
let base_offset = u64::try_from(base_offset).unwrap();
|
1847
|
+
fields.push(ir::MemoryTypeField {
|
1848
|
+
offset: base_offset,
|
1849
|
+
ty: self.isa.pointer_type(),
|
1850
|
+
// Read-only field from the PoV of PCC checks:
|
1851
|
+
// don't allow stores to this field. (Even if
|
1852
|
+
// it is a dynamic memory whose base can
|
1853
|
+
// change, that update happens inside the
|
1854
|
+
// runtime, not in generated code.)
|
1855
|
+
readonly: true,
|
1856
|
+
fact: Some(base_fact.clone()),
|
1857
|
+
});
|
1858
|
+
let current_length_offset =
|
1859
|
+
u64::try_from(current_length_offset).unwrap();
|
1860
|
+
fields.push(ir::MemoryTypeField {
|
1861
|
+
offset: current_length_offset,
|
1862
|
+
ty: self.isa.pointer_type(),
|
1863
|
+
// As above, read-only; only the runtime modifies it.
|
1864
|
+
readonly: true,
|
1865
|
+
fact: Some(length_fact),
|
1866
|
+
});
|
1867
|
+
|
1868
|
+
let pointer_size = u64::from(self.isa.pointer_type().bytes());
|
1869
|
+
let fields_end = std::cmp::max(
|
1870
|
+
base_offset + pointer_size,
|
1871
|
+
current_length_offset + pointer_size,
|
1872
|
+
);
|
1873
|
+
*size = std::cmp::max(*size, fields_end);
|
1874
|
+
}
|
1875
|
+
_ => {
|
1876
|
+
panic!("Bad memtype");
|
1877
|
+
}
|
1878
|
+
}
|
1879
|
+
// Apply a fact to the base pointer.
|
1880
|
+
(Some(base_fact), Some(data_mt))
|
1881
|
+
} else {
|
1882
|
+
(None, None)
|
1883
|
+
};
|
1884
|
+
|
1885
|
+
(
|
1886
|
+
offset_guard_size,
|
1887
|
+
HeapStyle::Dynamic {
|
1888
|
+
bound_gv: heap_bound,
|
1889
|
+
},
|
1890
|
+
false,
|
1891
|
+
base_fact,
|
1892
|
+
data_mt,
|
1893
|
+
)
|
1894
|
+
}
|
1895
|
+
MemoryPlan {
|
1896
|
+
style: MemoryStyle::Static { bound: bound_pages },
|
1897
|
+
offset_guard_size,
|
1898
|
+
pre_guard_size: _,
|
1899
|
+
memory: _,
|
1900
|
+
} => {
|
1901
|
+
let bound_bytes = u64::from(bound_pages) * u64::from(WASM_PAGE_SIZE);
|
1902
|
+
let (base_fact, data_mt) = if let Some(ptr_memtype) = ptr_memtype {
|
1903
|
+
// Create a memtype representing the untyped memory region.
|
1904
|
+
let data_mt = func.create_memory_type(ir::MemoryTypeData::Memory {
|
1905
|
+
size: bound_bytes
|
1906
|
+
.checked_add(offset_guard_size)
|
1907
|
+
.expect("Memory plan has overflowing size plus guard"),
|
1908
|
+
});
|
1909
|
+
// This fact applies to any pointer to the start of the memory.
|
1910
|
+
let base_fact = Fact::Mem {
|
1911
|
+
ty: data_mt,
|
1912
|
+
min_offset: 0,
|
1913
|
+
max_offset: 0,
|
1914
|
+
nullable: false,
|
1915
|
+
};
|
1916
|
+
// Create a field in the vmctx for the base pointer.
|
1917
|
+
match &mut func.memory_types[ptr_memtype] {
|
1918
|
+
ir::MemoryTypeData::Struct { size, fields } => {
|
1919
|
+
let offset = u64::try_from(base_offset).unwrap();
|
1920
|
+
fields.push(ir::MemoryTypeField {
|
1921
|
+
offset,
|
1922
|
+
ty: self.isa.pointer_type(),
|
1923
|
+
// Read-only field from the PoV of PCC checks:
|
1924
|
+
// don't allow stores to this field. (Even if
|
1925
|
+
// it is a dynamic memory whose base can
|
1926
|
+
// change, that update happens inside the
|
1927
|
+
// runtime, not in generated code.)
|
1928
|
+
readonly: true,
|
1929
|
+
fact: Some(base_fact.clone()),
|
1930
|
+
});
|
1931
|
+
*size = std::cmp::max(
|
1932
|
+
*size,
|
1933
|
+
offset + u64::from(self.isa.pointer_type().bytes()),
|
1934
|
+
);
|
1935
|
+
}
|
1936
|
+
_ => {
|
1937
|
+
panic!("Bad memtype");
|
1938
|
+
}
|
1939
|
+
}
|
1940
|
+
// Apply a fact to the base pointer.
|
1941
|
+
(Some(base_fact), Some(data_mt))
|
1942
|
+
} else {
|
1943
|
+
(None, None)
|
1944
|
+
};
|
1945
|
+
(
|
1946
|
+
offset_guard_size,
|
1947
|
+
HeapStyle::Static { bound: bound_bytes },
|
1948
|
+
true,
|
1949
|
+
base_fact,
|
1950
|
+
data_mt,
|
1951
|
+
)
|
1952
|
+
}
|
1953
|
+
};
|
1954
|
+
|
1955
|
+
let mut flags = MemFlags::trusted().with_checked();
|
1956
|
+
if readonly_base {
|
1957
|
+
flags.set_readonly();
|
1958
|
+
}
|
1959
|
+
let heap_base = func.create_global_value(ir::GlobalValueData::Load {
|
1960
|
+
base: ptr,
|
1961
|
+
offset: Offset32::new(base_offset),
|
1962
|
+
global_type: pointer_type,
|
1963
|
+
flags,
|
1964
|
+
});
|
1965
|
+
func.global_value_facts[heap_base] = base_fact;
|
1966
|
+
|
1967
|
+
Ok(self.heaps.push(HeapData {
|
1968
|
+
base: heap_base,
|
1969
|
+
min_size,
|
1970
|
+
max_size,
|
1971
|
+
offset_guard_size,
|
1972
|
+
style: heap_style,
|
1973
|
+
index_type: self.memory_index_type(index),
|
1974
|
+
memory_type,
|
1975
|
+
}))
|
1976
|
+
}
|
1977
|
+
|
1978
|
+
fn make_global(
|
1979
|
+
&mut self,
|
1980
|
+
func: &mut ir::Function,
|
1981
|
+
index: GlobalIndex,
|
1982
|
+
) -> WasmResult<GlobalVariable> {
|
1983
|
+
let ty = self.module.globals[index].wasm_ty;
|
1984
|
+
|
1985
|
+
if ty.is_vmgcref_type() {
|
1986
|
+
// Although reference-typed globals live at the same memory location as
|
1987
|
+
// any other type of global at the same index would, getting or
|
1988
|
+
// setting them requires ref counting barriers. Therefore, we need
|
1989
|
+
// to use `GlobalVariable::Custom`, as that is the only kind of
|
1990
|
+
// `GlobalVariable` for which `cranelift-wasm` supports custom
|
1991
|
+
// access translation.
|
1992
|
+
return Ok(GlobalVariable::Custom);
|
1993
|
+
}
|
1994
|
+
|
1995
|
+
let (gv, offset) = self.get_global_location(func, index);
|
1996
|
+
Ok(GlobalVariable::Memory {
|
1997
|
+
gv,
|
1998
|
+
offset: offset.into(),
|
1999
|
+
ty: super::value_type(self.isa, ty),
|
2000
|
+
})
|
2001
|
+
}
|
2002
|
+
|
2003
|
+
fn make_indirect_sig(
|
2004
|
+
&mut self,
|
2005
|
+
func: &mut ir::Function,
|
2006
|
+
index: TypeIndex,
|
2007
|
+
) -> WasmResult<ir::SigRef> {
|
2008
|
+
let index = self.module.types[index].unwrap_function();
|
2009
|
+
let sig = crate::wasm_call_signature(self.isa, &self.types[index], &self.tunables);
|
2010
|
+
Ok(func.import_signature(sig))
|
2011
|
+
}
|
2012
|
+
|
2013
|
+
fn make_direct_func(
|
2014
|
+
&mut self,
|
2015
|
+
func: &mut ir::Function,
|
2016
|
+
index: FuncIndex,
|
2017
|
+
) -> WasmResult<ir::FuncRef> {
|
2018
|
+
let sig = self.module.functions[index].signature;
|
2019
|
+
let sig = crate::wasm_call_signature(self.isa, &self.types[sig], &self.tunables);
|
2020
|
+
let signature = func.import_signature(sig);
|
2021
|
+
let name =
|
2022
|
+
ir::ExternalName::User(func.declare_imported_user_function(ir::UserExternalName {
|
2023
|
+
namespace: crate::NS_WASM_FUNC,
|
2024
|
+
index: index.as_u32(),
|
2025
|
+
}));
|
2026
|
+
Ok(func.import_function(ir::ExtFuncData {
|
2027
|
+
name,
|
2028
|
+
signature,
|
2029
|
+
|
2030
|
+
// The value of this flag determines the codegen for calls to this
|
2031
|
+
// function. If this flag is `false` then absolute relocations will
|
2032
|
+
// be generated for references to the function, which requires
|
2033
|
+
// load-time relocation resolution. If this flag is set to `true`
|
2034
|
+
// then relative relocations are emitted which can be resolved at
|
2035
|
+
// object-link-time, just after all functions are compiled.
|
2036
|
+
//
|
2037
|
+
// This flag is set to `true` for functions defined in the object
|
2038
|
+
// we'll be defining in this compilation unit, or everything local
|
2039
|
+
// to the wasm module. This means that between functions in a wasm
|
2040
|
+
// module there's relative calls encoded. All calls external to a
|
2041
|
+
// wasm module (e.g. imports or libcalls) are either encoded through
|
2042
|
+
// the `VMContext` as relative jumps (hence no relocations) or
|
2043
|
+
// they're libcalls with absolute relocations.
|
2044
|
+
colocated: self.module.defined_func_index(index).is_some(),
|
2045
|
+
}))
|
2046
|
+
}
|
2047
|
+
|
2048
|
+
fn translate_call_indirect(
|
2049
|
+
&mut self,
|
2050
|
+
builder: &mut FunctionBuilder,
|
2051
|
+
table_index: TableIndex,
|
2052
|
+
ty_index: TypeIndex,
|
2053
|
+
sig_ref: ir::SigRef,
|
2054
|
+
callee: ir::Value,
|
2055
|
+
call_args: &[ir::Value],
|
2056
|
+
) -> WasmResult<Option<ir::Inst>> {
|
2057
|
+
Call::new(builder, self).indirect_call(table_index, ty_index, sig_ref, callee, call_args)
|
2058
|
+
}
|
2059
|
+
|
2060
|
+
fn translate_call(
|
2061
|
+
&mut self,
|
2062
|
+
builder: &mut FunctionBuilder,
|
2063
|
+
callee_index: FuncIndex,
|
2064
|
+
callee: ir::FuncRef,
|
2065
|
+
call_args: &[ir::Value],
|
2066
|
+
) -> WasmResult<ir::Inst> {
|
2067
|
+
Call::new(builder, self).direct_call(callee_index, callee, call_args)
|
2068
|
+
}
|
2069
|
+
|
2070
|
+
fn translate_call_ref(
|
2071
|
+
&mut self,
|
2072
|
+
builder: &mut FunctionBuilder,
|
2073
|
+
sig_ref: ir::SigRef,
|
2074
|
+
callee: ir::Value,
|
2075
|
+
call_args: &[ir::Value],
|
2076
|
+
) -> WasmResult<ir::Inst> {
|
2077
|
+
Call::new(builder, self).call_ref(sig_ref, callee, call_args)
|
2078
|
+
}
|
2079
|
+
|
2080
|
+
fn translate_return_call(
|
2081
|
+
&mut self,
|
2082
|
+
builder: &mut FunctionBuilder,
|
2083
|
+
callee_index: FuncIndex,
|
2084
|
+
callee: ir::FuncRef,
|
2085
|
+
call_args: &[ir::Value],
|
2086
|
+
) -> WasmResult<()> {
|
2087
|
+
Call::new_tail(builder, self).direct_call(callee_index, callee, call_args)?;
|
2088
|
+
Ok(())
|
2089
|
+
}
|
2090
|
+
|
2091
|
+
fn translate_return_call_indirect(
|
2092
|
+
&mut self,
|
2093
|
+
builder: &mut FunctionBuilder,
|
2094
|
+
table_index: TableIndex,
|
2095
|
+
ty_index: TypeIndex,
|
2096
|
+
sig_ref: ir::SigRef,
|
2097
|
+
callee: ir::Value,
|
2098
|
+
call_args: &[ir::Value],
|
2099
|
+
) -> WasmResult<()> {
|
2100
|
+
Call::new_tail(builder, self).indirect_call(
|
2101
|
+
table_index,
|
2102
|
+
ty_index,
|
2103
|
+
sig_ref,
|
2104
|
+
callee,
|
2105
|
+
call_args,
|
2106
|
+
)?;
|
2107
|
+
Ok(())
|
2108
|
+
}
|
2109
|
+
|
2110
|
+
fn translate_return_call_ref(
|
2111
|
+
&mut self,
|
2112
|
+
builder: &mut FunctionBuilder,
|
2113
|
+
sig_ref: ir::SigRef,
|
2114
|
+
callee: ir::Value,
|
2115
|
+
call_args: &[ir::Value],
|
2116
|
+
) -> WasmResult<()> {
|
2117
|
+
Call::new_tail(builder, self).call_ref(sig_ref, callee, call_args)?;
|
2118
|
+
Ok(())
|
2119
|
+
}
|
2120
|
+
|
2121
|
+
fn translate_memory_grow(
|
2122
|
+
&mut self,
|
2123
|
+
mut pos: FuncCursor<'_>,
|
2124
|
+
index: MemoryIndex,
|
2125
|
+
_heap: Heap,
|
2126
|
+
val: ir::Value,
|
2127
|
+
) -> WasmResult<ir::Value> {
|
2128
|
+
let memory_grow = self.builtin_functions.memory32_grow(&mut pos.func);
|
2129
|
+
let index_arg = index.index();
|
2130
|
+
|
2131
|
+
let memory_index = pos.ins().iconst(I32, index_arg as i64);
|
2132
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2133
|
+
|
2134
|
+
let val = self.cast_memory_index_to_i64(&mut pos, val, index);
|
2135
|
+
let call_inst = pos.ins().call(memory_grow, &[vmctx, val, memory_index]);
|
2136
|
+
let result = *pos.func.dfg.inst_results(call_inst).first().unwrap();
|
2137
|
+
Ok(self.cast_pointer_to_memory_index(pos, result, index))
|
2138
|
+
}
|
2139
|
+
|
2140
|
+
fn translate_memory_size(
|
2141
|
+
&mut self,
|
2142
|
+
mut pos: FuncCursor<'_>,
|
2143
|
+
index: MemoryIndex,
|
2144
|
+
_heap: Heap,
|
2145
|
+
) -> WasmResult<ir::Value> {
|
2146
|
+
let pointer_type = self.pointer_type();
|
2147
|
+
let vmctx = self.vmctx(&mut pos.func);
|
2148
|
+
let is_shared = self.module.memory_plans[index].memory.shared;
|
2149
|
+
let base = pos.ins().global_value(pointer_type, vmctx);
|
2150
|
+
let current_length_in_bytes = match self.module.defined_memory_index(index) {
|
2151
|
+
Some(def_index) => {
|
2152
|
+
if is_shared {
|
2153
|
+
let offset =
|
2154
|
+
i32::try_from(self.offsets.vmctx_vmmemory_pointer(def_index)).unwrap();
|
2155
|
+
let vmmemory_ptr =
|
2156
|
+
pos.ins()
|
2157
|
+
.load(pointer_type, ir::MemFlags::trusted(), base, offset);
|
2158
|
+
let vmmemory_definition_offset =
|
2159
|
+
i64::from(self.offsets.ptr.vmmemory_definition_current_length());
|
2160
|
+
let vmmemory_definition_ptr =
|
2161
|
+
pos.ins().iadd_imm(vmmemory_ptr, vmmemory_definition_offset);
|
2162
|
+
// This atomic access of the
|
2163
|
+
// `VMMemoryDefinition::current_length` is direct; no bounds
|
2164
|
+
// check is needed. This is possible because shared memory
|
2165
|
+
// has a static size (the maximum is always known). Shared
|
2166
|
+
// memory is thus built with a static memory plan and no
|
2167
|
+
// bounds-checked version of this is implemented.
|
2168
|
+
pos.ins().atomic_load(
|
2169
|
+
pointer_type,
|
2170
|
+
ir::MemFlags::trusted(),
|
2171
|
+
vmmemory_definition_ptr,
|
2172
|
+
)
|
2173
|
+
} else {
|
2174
|
+
let owned_index = self.module.owned_memory_index(def_index);
|
2175
|
+
let offset = i32::try_from(
|
2176
|
+
self.offsets
|
2177
|
+
.vmctx_vmmemory_definition_current_length(owned_index),
|
2178
|
+
)
|
2179
|
+
.unwrap();
|
2180
|
+
pos.ins()
|
2181
|
+
.load(pointer_type, ir::MemFlags::trusted(), base, offset)
|
2182
|
+
}
|
2183
|
+
}
|
2184
|
+
None => {
|
2185
|
+
let offset = i32::try_from(self.offsets.vmctx_vmmemory_import_from(index)).unwrap();
|
2186
|
+
let vmmemory_ptr =
|
2187
|
+
pos.ins()
|
2188
|
+
.load(pointer_type, ir::MemFlags::trusted(), base, offset);
|
2189
|
+
if is_shared {
|
2190
|
+
let vmmemory_definition_offset =
|
2191
|
+
i64::from(self.offsets.ptr.vmmemory_definition_current_length());
|
2192
|
+
let vmmemory_definition_ptr =
|
2193
|
+
pos.ins().iadd_imm(vmmemory_ptr, vmmemory_definition_offset);
|
2194
|
+
pos.ins().atomic_load(
|
2195
|
+
pointer_type,
|
2196
|
+
ir::MemFlags::trusted(),
|
2197
|
+
vmmemory_definition_ptr,
|
2198
|
+
)
|
2199
|
+
} else {
|
2200
|
+
pos.ins().load(
|
2201
|
+
pointer_type,
|
2202
|
+
ir::MemFlags::trusted(),
|
2203
|
+
vmmemory_ptr,
|
2204
|
+
i32::from(self.offsets.ptr.vmmemory_definition_current_length()),
|
2205
|
+
)
|
2206
|
+
}
|
2207
|
+
}
|
2208
|
+
};
|
2209
|
+
let current_length_in_pages = pos
|
2210
|
+
.ins()
|
2211
|
+
.udiv_imm(current_length_in_bytes, i64::from(WASM_PAGE_SIZE));
|
2212
|
+
|
2213
|
+
Ok(self.cast_pointer_to_memory_index(pos, current_length_in_pages, index))
|
2214
|
+
}
|
2215
|
+
|
2216
|
+
fn translate_memory_copy(
|
2217
|
+
&mut self,
|
2218
|
+
mut pos: FuncCursor,
|
2219
|
+
src_index: MemoryIndex,
|
2220
|
+
_src_heap: Heap,
|
2221
|
+
dst_index: MemoryIndex,
|
2222
|
+
_dst_heap: Heap,
|
2223
|
+
dst: ir::Value,
|
2224
|
+
src: ir::Value,
|
2225
|
+
len: ir::Value,
|
2226
|
+
) -> WasmResult<()> {
|
2227
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2228
|
+
|
2229
|
+
let memory_copy = self.builtin_functions.memory_copy(&mut pos.func);
|
2230
|
+
let dst = self.cast_memory_index_to_i64(&mut pos, dst, dst_index);
|
2231
|
+
let src = self.cast_memory_index_to_i64(&mut pos, src, src_index);
|
2232
|
+
// The length is 32-bit if either memory is 32-bit, but if they're both
|
2233
|
+
// 64-bit then it's 64-bit. Our intrinsic takes a 64-bit length for
|
2234
|
+
// compatibility across all memories, so make sure that it's cast
|
2235
|
+
// correctly here (this is a bit special so no generic helper unlike for
|
2236
|
+
// `dst`/`src` above)
|
2237
|
+
let len = if self.memory_index_type(dst_index) == I64
|
2238
|
+
&& self.memory_index_type(src_index) == I64
|
2239
|
+
{
|
2240
|
+
len
|
2241
|
+
} else {
|
2242
|
+
pos.ins().uextend(I64, len)
|
2243
|
+
};
|
2244
|
+
let src_index = pos.ins().iconst(I32, i64::from(src_index.as_u32()));
|
2245
|
+
let dst_index = pos.ins().iconst(I32, i64::from(dst_index.as_u32()));
|
2246
|
+
pos.ins()
|
2247
|
+
.call(memory_copy, &[vmctx, dst_index, dst, src_index, src, len]);
|
2248
|
+
|
2249
|
+
Ok(())
|
2250
|
+
}
|
2251
|
+
|
2252
|
+
fn translate_memory_fill(
|
2253
|
+
&mut self,
|
2254
|
+
mut pos: FuncCursor,
|
2255
|
+
memory_index: MemoryIndex,
|
2256
|
+
_heap: Heap,
|
2257
|
+
dst: ir::Value,
|
2258
|
+
val: ir::Value,
|
2259
|
+
len: ir::Value,
|
2260
|
+
) -> WasmResult<()> {
|
2261
|
+
let memory_fill = self.builtin_functions.memory_fill(&mut pos.func);
|
2262
|
+
let dst = self.cast_memory_index_to_i64(&mut pos, dst, memory_index);
|
2263
|
+
let len = self.cast_memory_index_to_i64(&mut pos, len, memory_index);
|
2264
|
+
let memory_index_arg = pos.ins().iconst(I32, i64::from(memory_index.as_u32()));
|
2265
|
+
|
2266
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2267
|
+
|
2268
|
+
pos.ins()
|
2269
|
+
.call(memory_fill, &[vmctx, memory_index_arg, dst, val, len]);
|
2270
|
+
|
2271
|
+
Ok(())
|
2272
|
+
}
|
2273
|
+
|
2274
|
+
fn translate_memory_init(
|
2275
|
+
&mut self,
|
2276
|
+
mut pos: FuncCursor,
|
2277
|
+
memory_index: MemoryIndex,
|
2278
|
+
_heap: Heap,
|
2279
|
+
seg_index: u32,
|
2280
|
+
dst: ir::Value,
|
2281
|
+
src: ir::Value,
|
2282
|
+
len: ir::Value,
|
2283
|
+
) -> WasmResult<()> {
|
2284
|
+
let memory_init = self.builtin_functions.memory_init(&mut pos.func);
|
2285
|
+
|
2286
|
+
let memory_index_arg = pos.ins().iconst(I32, memory_index.index() as i64);
|
2287
|
+
let seg_index_arg = pos.ins().iconst(I32, seg_index as i64);
|
2288
|
+
|
2289
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2290
|
+
|
2291
|
+
let dst = self.cast_memory_index_to_i64(&mut pos, dst, memory_index);
|
2292
|
+
|
2293
|
+
pos.ins().call(
|
2294
|
+
memory_init,
|
2295
|
+
&[vmctx, memory_index_arg, seg_index_arg, dst, src, len],
|
2296
|
+
);
|
2297
|
+
|
2298
|
+
Ok(())
|
2299
|
+
}
|
2300
|
+
|
2301
|
+
fn translate_data_drop(&mut self, mut pos: FuncCursor, seg_index: u32) -> WasmResult<()> {
|
2302
|
+
let data_drop = self.builtin_functions.data_drop(&mut pos.func);
|
2303
|
+
let seg_index_arg = pos.ins().iconst(I32, seg_index as i64);
|
2304
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2305
|
+
pos.ins().call(data_drop, &[vmctx, seg_index_arg]);
|
2306
|
+
Ok(())
|
2307
|
+
}
|
2308
|
+
|
2309
|
+
fn translate_table_size(
|
2310
|
+
&mut self,
|
2311
|
+
pos: FuncCursor,
|
2312
|
+
table_index: TableIndex,
|
2313
|
+
) -> WasmResult<ir::Value> {
|
2314
|
+
self.ensure_table_exists(pos.func, table_index);
|
2315
|
+
let table_data = self.tables[table_index].as_ref().unwrap();
|
2316
|
+
Ok(table_data.bound.bound(pos, ir::types::I32))
|
2317
|
+
}
|
2318
|
+
|
2319
|
+
fn translate_table_copy(
|
2320
|
+
&mut self,
|
2321
|
+
mut pos: FuncCursor,
|
2322
|
+
dst_table_index: TableIndex,
|
2323
|
+
src_table_index: TableIndex,
|
2324
|
+
dst: ir::Value,
|
2325
|
+
src: ir::Value,
|
2326
|
+
len: ir::Value,
|
2327
|
+
) -> WasmResult<()> {
|
2328
|
+
let (table_copy, dst_table_index_arg, src_table_index_arg) =
|
2329
|
+
self.get_table_copy_func(&mut pos.func, dst_table_index, src_table_index);
|
2330
|
+
|
2331
|
+
let dst_table_index_arg = pos.ins().iconst(I32, dst_table_index_arg as i64);
|
2332
|
+
let src_table_index_arg = pos.ins().iconst(I32, src_table_index_arg as i64);
|
2333
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2334
|
+
pos.ins().call(
|
2335
|
+
table_copy,
|
2336
|
+
&[
|
2337
|
+
vmctx,
|
2338
|
+
dst_table_index_arg,
|
2339
|
+
src_table_index_arg,
|
2340
|
+
dst,
|
2341
|
+
src,
|
2342
|
+
len,
|
2343
|
+
],
|
2344
|
+
);
|
2345
|
+
|
2346
|
+
Ok(())
|
2347
|
+
}
|
2348
|
+
|
2349
|
+
fn translate_table_init(
|
2350
|
+
&mut self,
|
2351
|
+
mut pos: FuncCursor,
|
2352
|
+
seg_index: u32,
|
2353
|
+
table_index: TableIndex,
|
2354
|
+
dst: ir::Value,
|
2355
|
+
src: ir::Value,
|
2356
|
+
len: ir::Value,
|
2357
|
+
) -> WasmResult<()> {
|
2358
|
+
let table_init = self.builtin_functions.table_init(&mut pos.func);
|
2359
|
+
let table_index_arg = pos.ins().iconst(I32, i64::from(table_index.as_u32()));
|
2360
|
+
let seg_index_arg = pos.ins().iconst(I32, i64::from(seg_index));
|
2361
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2362
|
+
pos.ins().call(
|
2363
|
+
table_init,
|
2364
|
+
&[vmctx, table_index_arg, seg_index_arg, dst, src, len],
|
2365
|
+
);
|
2366
|
+
|
2367
|
+
Ok(())
|
2368
|
+
}
|
2369
|
+
|
2370
|
+
fn translate_elem_drop(&mut self, mut pos: FuncCursor, elem_index: u32) -> WasmResult<()> {
|
2371
|
+
let elem_drop = self.builtin_functions.elem_drop(&mut pos.func);
|
2372
|
+
let elem_index_arg = pos.ins().iconst(I32, elem_index as i64);
|
2373
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2374
|
+
pos.ins().call(elem_drop, &[vmctx, elem_index_arg]);
|
2375
|
+
Ok(())
|
2376
|
+
}
|
2377
|
+
|
2378
|
+
fn translate_atomic_wait(
|
2379
|
+
&mut self,
|
2380
|
+
mut pos: FuncCursor,
|
2381
|
+
memory_index: MemoryIndex,
|
2382
|
+
_heap: Heap,
|
2383
|
+
addr: ir::Value,
|
2384
|
+
expected: ir::Value,
|
2385
|
+
timeout: ir::Value,
|
2386
|
+
) -> WasmResult<ir::Value> {
|
2387
|
+
#[cfg(feature = "threads")]
|
2388
|
+
{
|
2389
|
+
let addr = self.cast_memory_index_to_i64(&mut pos, addr, memory_index);
|
2390
|
+
let implied_ty = pos.func.dfg.value_type(expected);
|
2391
|
+
let (wait_func, memory_index) =
|
2392
|
+
self.get_memory_atomic_wait(&mut pos.func, memory_index, implied_ty);
|
2393
|
+
|
2394
|
+
let memory_index_arg = pos.ins().iconst(I32, memory_index as i64);
|
2395
|
+
|
2396
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2397
|
+
|
2398
|
+
let call_inst = pos.ins().call(
|
2399
|
+
wait_func,
|
2400
|
+
&[vmctx, memory_index_arg, addr, expected, timeout],
|
2401
|
+
);
|
2402
|
+
|
2403
|
+
Ok(*pos.func.dfg.inst_results(call_inst).first().unwrap())
|
2404
|
+
}
|
2405
|
+
#[cfg(not(feature = "threads"))]
|
2406
|
+
{
|
2407
|
+
let _ = (&mut pos, memory_index, addr, expected, timeout);
|
2408
|
+
Err(wasmtime_environ::WasmError::Unsupported(
|
2409
|
+
"threads support disabled at compile time".to_string(),
|
2410
|
+
))
|
2411
|
+
}
|
2412
|
+
}
|
2413
|
+
|
2414
|
+
fn translate_atomic_notify(
|
2415
|
+
&mut self,
|
2416
|
+
mut pos: FuncCursor,
|
2417
|
+
memory_index: MemoryIndex,
|
2418
|
+
_heap: Heap,
|
2419
|
+
addr: ir::Value,
|
2420
|
+
count: ir::Value,
|
2421
|
+
) -> WasmResult<ir::Value> {
|
2422
|
+
#[cfg(feature = "threads")]
|
2423
|
+
{
|
2424
|
+
let addr = self.cast_memory_index_to_i64(&mut pos, addr, memory_index);
|
2425
|
+
let atomic_notify = self.builtin_functions.memory_atomic_notify(&mut pos.func);
|
2426
|
+
|
2427
|
+
let memory_index_arg = pos.ins().iconst(I32, memory_index.index() as i64);
|
2428
|
+
let vmctx = self.vmctx_val(&mut pos);
|
2429
|
+
let call_inst = pos
|
2430
|
+
.ins()
|
2431
|
+
.call(atomic_notify, &[vmctx, memory_index_arg, addr, count]);
|
2432
|
+
|
2433
|
+
Ok(*pos.func.dfg.inst_results(call_inst).first().unwrap())
|
2434
|
+
}
|
2435
|
+
#[cfg(not(feature = "threads"))]
|
2436
|
+
{
|
2437
|
+
let _ = (&mut pos, memory_index, addr, count);
|
2438
|
+
Err(wasmtime_environ::WasmError::Unsupported(
|
2439
|
+
"threads support disabled at compile time".to_string(),
|
2440
|
+
))
|
2441
|
+
}
|
2442
|
+
}
|
2443
|
+
|
2444
|
+
fn translate_loop_header(&mut self, builder: &mut FunctionBuilder) -> WasmResult<()> {
|
2445
|
+
// Additionally if enabled check how much fuel we have remaining to see
|
2446
|
+
// if we've run out by this point.
|
2447
|
+
if self.tunables.consume_fuel {
|
2448
|
+
self.fuel_check(builder);
|
2449
|
+
}
|
2450
|
+
|
2451
|
+
// If we are performing epoch-based interruption, check to see
|
2452
|
+
// if the epoch counter has changed.
|
2453
|
+
if self.tunables.epoch_interruption {
|
2454
|
+
self.epoch_check(builder);
|
2455
|
+
}
|
2456
|
+
|
2457
|
+
Ok(())
|
2458
|
+
}
|
2459
|
+
|
2460
|
+
fn before_translate_operator(
|
2461
|
+
&mut self,
|
2462
|
+
op: &Operator,
|
2463
|
+
builder: &mut FunctionBuilder,
|
2464
|
+
state: &FuncTranslationState,
|
2465
|
+
) -> WasmResult<()> {
|
2466
|
+
if self.tunables.consume_fuel {
|
2467
|
+
self.fuel_before_op(op, builder, state.reachable());
|
2468
|
+
}
|
2469
|
+
Ok(())
|
2470
|
+
}
|
2471
|
+
|
2472
|
+
fn after_translate_operator(
|
2473
|
+
&mut self,
|
2474
|
+
op: &Operator,
|
2475
|
+
builder: &mut FunctionBuilder,
|
2476
|
+
state: &FuncTranslationState,
|
2477
|
+
) -> WasmResult<()> {
|
2478
|
+
if self.tunables.consume_fuel && state.reachable() {
|
2479
|
+
self.fuel_after_op(op, builder);
|
2480
|
+
}
|
2481
|
+
Ok(())
|
2482
|
+
}
|
2483
|
+
|
2484
|
+
fn before_unconditionally_trapping_memory_access(
|
2485
|
+
&mut self,
|
2486
|
+
builder: &mut FunctionBuilder,
|
2487
|
+
) -> WasmResult<()> {
|
2488
|
+
if self.tunables.consume_fuel {
|
2489
|
+
self.fuel_increment_var(builder);
|
2490
|
+
self.fuel_save_from_var(builder);
|
2491
|
+
}
|
2492
|
+
Ok(())
|
2493
|
+
}
|
2494
|
+
|
2495
|
+
fn before_translate_function(
|
2496
|
+
&mut self,
|
2497
|
+
builder: &mut FunctionBuilder,
|
2498
|
+
_state: &FuncTranslationState,
|
2499
|
+
) -> WasmResult<()> {
|
2500
|
+
// If the `vmruntime_limits_ptr` variable will get used then we initialize
|
2501
|
+
// it here.
|
2502
|
+
if self.tunables.consume_fuel || self.tunables.epoch_interruption {
|
2503
|
+
self.declare_vmruntime_limits_ptr(builder);
|
2504
|
+
}
|
2505
|
+
// Additionally we initialize `fuel_var` if it will get used.
|
2506
|
+
if self.tunables.consume_fuel {
|
2507
|
+
self.fuel_function_entry(builder);
|
2508
|
+
}
|
2509
|
+
// Initialize `epoch_var` with the current epoch.
|
2510
|
+
if self.tunables.epoch_interruption {
|
2511
|
+
self.epoch_function_entry(builder);
|
2512
|
+
}
|
2513
|
+
|
2514
|
+
#[cfg(feature = "wmemcheck")]
|
2515
|
+
{
|
2516
|
+
let func_name = self.current_func_name(builder);
|
2517
|
+
if func_name == Some("malloc") {
|
2518
|
+
self.check_malloc_start(builder);
|
2519
|
+
} else if func_name == Some("free") {
|
2520
|
+
self.check_free_start(builder);
|
2521
|
+
}
|
2522
|
+
}
|
2523
|
+
|
2524
|
+
Ok(())
|
2525
|
+
}
|
2526
|
+
|
2527
|
+
fn after_translate_function(
|
2528
|
+
&mut self,
|
2529
|
+
builder: &mut FunctionBuilder,
|
2530
|
+
state: &FuncTranslationState,
|
2531
|
+
) -> WasmResult<()> {
|
2532
|
+
if self.tunables.consume_fuel && state.reachable() {
|
2533
|
+
self.fuel_function_exit(builder);
|
2534
|
+
}
|
2535
|
+
Ok(())
|
2536
|
+
}
|
2537
|
+
|
2538
|
+
fn relaxed_simd_deterministic(&self) -> bool {
|
2539
|
+
self.tunables.relaxed_simd_deterministic
|
2540
|
+
}
|
2541
|
+
|
2542
|
+
fn has_native_fma(&self) -> bool {
|
2543
|
+
self.isa.has_native_fma()
|
2544
|
+
}
|
2545
|
+
|
2546
|
+
fn is_x86(&self) -> bool {
|
2547
|
+
self.isa.triple().architecture == target_lexicon::Architecture::X86_64
|
2548
|
+
}
|
2549
|
+
|
2550
|
+
fn use_x86_blendv_for_relaxed_laneselect(&self, ty: Type) -> bool {
|
2551
|
+
self.isa.has_x86_blendv_lowering(ty)
|
2552
|
+
}
|
2553
|
+
|
2554
|
+
fn use_x86_pshufb_for_relaxed_swizzle(&self) -> bool {
|
2555
|
+
self.isa.has_x86_pshufb_lowering()
|
2556
|
+
}
|
2557
|
+
|
2558
|
+
fn use_x86_pmulhrsw_for_relaxed_q15mul(&self) -> bool {
|
2559
|
+
self.isa.has_x86_pmulhrsw_lowering()
|
2560
|
+
}
|
2561
|
+
|
2562
|
+
fn use_x86_pmaddubsw_for_dot(&self) -> bool {
|
2563
|
+
self.isa.has_x86_pmaddubsw_lowering()
|
2564
|
+
}
|
2565
|
+
|
2566
|
+
#[cfg(feature = "wmemcheck")]
|
2567
|
+
fn handle_before_return(&mut self, retvals: &[Value], builder: &mut FunctionBuilder) {
|
2568
|
+
if self.wmemcheck {
|
2569
|
+
let func_name = self.current_func_name(builder);
|
2570
|
+
if func_name == Some("malloc") {
|
2571
|
+
self.hook_malloc_exit(builder, retvals);
|
2572
|
+
} else if func_name == Some("free") {
|
2573
|
+
self.hook_free_exit(builder);
|
2574
|
+
}
|
2575
|
+
}
|
2576
|
+
}
|
2577
|
+
|
2578
|
+
#[cfg(feature = "wmemcheck")]
|
2579
|
+
fn before_load(
|
2580
|
+
&mut self,
|
2581
|
+
builder: &mut FunctionBuilder,
|
2582
|
+
val_size: u8,
|
2583
|
+
addr: ir::Value,
|
2584
|
+
offset: u64,
|
2585
|
+
) {
|
2586
|
+
if self.wmemcheck {
|
2587
|
+
let check_load_sig = self.builtin_function_signatures.check_load(builder.func);
|
2588
|
+
let (vmctx, check_load) = self.translate_load_builtin_function_address(
|
2589
|
+
&mut builder.cursor(),
|
2590
|
+
BuiltinFunctionIndex::check_load(),
|
2591
|
+
);
|
2592
|
+
let num_bytes = builder.ins().iconst(I32, val_size as i64);
|
2593
|
+
let offset_val = builder.ins().iconst(I64, offset as i64);
|
2594
|
+
builder.ins().call_indirect(
|
2595
|
+
check_load_sig,
|
2596
|
+
check_load,
|
2597
|
+
&[vmctx, num_bytes, addr, offset_val],
|
2598
|
+
);
|
2599
|
+
}
|
2600
|
+
}
|
2601
|
+
|
2602
|
+
#[cfg(feature = "wmemcheck")]
|
2603
|
+
fn before_store(
|
2604
|
+
&mut self,
|
2605
|
+
builder: &mut FunctionBuilder,
|
2606
|
+
val_size: u8,
|
2607
|
+
addr: ir::Value,
|
2608
|
+
offset: u64,
|
2609
|
+
) {
|
2610
|
+
if self.wmemcheck {
|
2611
|
+
let check_store_sig = self.builtin_function_signatures.check_store(builder.func);
|
2612
|
+
let (vmctx, check_store) = self.translate_load_builtin_function_address(
|
2613
|
+
&mut builder.cursor(),
|
2614
|
+
BuiltinFunctionIndex::check_store(),
|
2615
|
+
);
|
2616
|
+
let num_bytes = builder.ins().iconst(I32, val_size as i64);
|
2617
|
+
let offset_val = builder.ins().iconst(I64, offset as i64);
|
2618
|
+
builder.ins().call_indirect(
|
2619
|
+
check_store_sig,
|
2620
|
+
check_store,
|
2621
|
+
&[vmctx, num_bytes, addr, offset_val],
|
2622
|
+
);
|
2623
|
+
}
|
2624
|
+
}
|
2625
|
+
|
2626
|
+
#[cfg(feature = "wmemcheck")]
|
2627
|
+
fn update_global(
|
2628
|
+
&mut self,
|
2629
|
+
builder: &mut FunctionBuilder,
|
2630
|
+
global_index: u32,
|
2631
|
+
value: ir::Value,
|
2632
|
+
) {
|
2633
|
+
if self.wmemcheck {
|
2634
|
+
if global_index == 0 {
|
2635
|
+
// We are making the assumption that global 0 is the auxiliary stack pointer.
|
2636
|
+
let update_stack_pointer_sig = self
|
2637
|
+
.builtin_function_signatures
|
2638
|
+
.update_stack_pointer(builder.func);
|
2639
|
+
let (vmctx, update_stack_pointer) = self.translate_load_builtin_function_address(
|
2640
|
+
&mut builder.cursor(),
|
2641
|
+
BuiltinFunctionIndex::update_stack_pointer(),
|
2642
|
+
);
|
2643
|
+
builder.ins().call_indirect(
|
2644
|
+
update_stack_pointer_sig,
|
2645
|
+
update_stack_pointer,
|
2646
|
+
&[vmctx, value],
|
2647
|
+
);
|
2648
|
+
}
|
2649
|
+
}
|
2650
|
+
}
|
2651
|
+
|
2652
|
+
#[cfg(feature = "wmemcheck")]
|
2653
|
+
fn before_memory_grow(
|
2654
|
+
&mut self,
|
2655
|
+
builder: &mut FunctionBuilder,
|
2656
|
+
num_pages: ir::Value,
|
2657
|
+
mem_index: MemoryIndex,
|
2658
|
+
) {
|
2659
|
+
if self.wmemcheck && mem_index.as_u32() == 0 {
|
2660
|
+
let update_mem_size_sig = self
|
2661
|
+
.builtin_function_signatures
|
2662
|
+
.update_mem_size(builder.func);
|
2663
|
+
let (vmctx, update_mem_size) = self.translate_load_builtin_function_address(
|
2664
|
+
&mut builder.cursor(),
|
2665
|
+
BuiltinFunctionIndex::update_mem_size(),
|
2666
|
+
);
|
2667
|
+
builder
|
2668
|
+
.ins()
|
2669
|
+
.call_indirect(update_mem_size_sig, update_mem_size, &[vmctx, num_pages]);
|
2670
|
+
}
|
2671
|
+
}
|
2672
|
+
}
|