wasmtime 15.0.1 → 16.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 +83 -103
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/src/lib.rs +183 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/Cargo.toml +175 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/cost.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/elaborate.rs +750 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph.rs +703 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/dfg.rs +1735 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/pcc.rs +1682 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/aarch64/lower/isle.rs +874 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst/mod.rs +2041 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst.isle +2928 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/lower.isle +2864 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/s390x/lower/isle.rs +1029 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/lower/isle.rs +1064 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/pcc.rs +916 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isle_prelude.rs +977 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/machinst/isle.rs +896 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/arithmetic.isle +152 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/cprop.isle +237 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/icmp.isle +199 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/selects.isle +76 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts.rs +172 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/prelude.isle +649 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/timing.rs +297 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/unionfind.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/src/lib.rs +10 -0
- data/ext/cargo-vendor/cranelift-control-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.103.0/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/lib.rs +317 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/primary.rs +516 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/unsigned.rs +71 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/Cargo.toml +68 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/src/lib.rs +189 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_constructor_main.rs +88 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_extractor_main.rs +63 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/src/codegen.rs +886 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/src/lib.rs +184 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/Cargo.toml +106 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/environ/dummy.rs +953 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/lib.rs +62 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/translation_utils.rs +89 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/Cargo.toml +102 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/Cargo.toml +131 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/src/lib.rs +76 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/src/snapshots/preview_1.rs +1492 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/Cargo.toml +211 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/compiler.rs +682 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/component/component.rs +505 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/component/func/typed.rs +2400 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/config.rs +2422 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/func.rs +2391 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/lib.rs +520 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/memory.rs +998 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/module.rs +1370 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/stack.rs +73 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/v128.rs +122 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/worker.rs +890 -0
- data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-util-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-16.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler/component.rs +959 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler.rs +1317 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/simulate.rs +410 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug.rs +18 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/func_environ.rs +2750 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/Cargo.toml +71 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.lock +660 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/compilation.rs +402 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/compiler.rs +47 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/translate.rs +951 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/types.rs +1876 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/lib.rs +59 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module.rs +1075 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_environ.rs +892 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_types.rs +120 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/scopevec.rs +78 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/lib.rs +328 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/windows.c +9 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/code_memory.rs +319 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/instantiate.rs +772 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/lib.rs +21 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/Cargo.toml +139 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/build.rs +28 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/proptest-regressions/instance/allocator/pooling/memory_pool.txt +9 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/aarch64.rs +120 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/mod.rs +32 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/riscv64.rs +88 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/s390x.rs +61 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/x86_64.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/cow.rs +888 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/helpers.c +113 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/memory_pool.rs +1005 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/stack_pool.rs +242 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/table_pool.rs +227 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling.rs +698 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/lib.rs +264 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/libcalls.rs +776 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mmap.rs +214 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/enabled.rs +204 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/pkru.rs +102 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/mod.rs +10 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/traphandlers.rs +42 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/unwind.rs +17 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/vm.rs +63 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/mod.rs +30 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/machports.rs +487 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/macos_traphandlers.rs +28 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/mod.rs +21 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/signals.rs +402 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/unwind.rs +91 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/vm.rs +208 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/mod.rs +6 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/traphandlers.rs +105 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/unwind.rs +46 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/vm.rs +79 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers/backtrace.rs +265 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers.rs +733 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/vmcontext.rs +1197 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/src/lib.rs +504 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/Cargo.toml +261 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/lib.rs +137 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/io.rs +368 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/network.rs +570 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/tcp.rs +632 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/udp.rs +550 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/mod.rs +328 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview0.rs +870 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview1.rs +2348 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stdio.rs +259 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stream.rs +182 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/table.rs +337 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/api.rs +218 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/async_.rs +360 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/main.rs +113 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/preview1.rs +239 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/sync.rs +299 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/process_stdin.rs +165 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/command-extended.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/command.wit +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/imports.wit +20 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/proxy.wit +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/types.wit +570 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/test.wit +22 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/typenames.witx +746 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/wasi_unstable.witx +513 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/Cargo.toml +77 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/src/compiler.rs +243 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/Cargo.toml +29 -0
- data/ext/cargo-vendor/wiggle-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-16.0.0/Cargo.toml +115 -0
- data/ext/cargo-vendor/wiggle-16.0.0/src/lib.rs +1198 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/handle.rs +84 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/record.rs +132 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/variant.rs +191 -0
- data/ext/cargo-vendor/wiggle-macro-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-16.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/Cargo.toml +76 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/local.rs +81 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/mod.rs +614 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/call.rs +345 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/context.rs +545 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/control.rs +497 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/env.rs +251 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/mod.rs +428 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/frame/mod.rs +221 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/abi.rs +313 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/masm.rs +444 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/mod.rs +137 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/mod.rs +225 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/abi.rs +524 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/asm.rs +1117 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/masm.rs +994 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/mod.rs +172 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/regs.rs +247 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/masm.rs +679 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/stack.rs +436 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/trampoline.rs +734 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/visitor.rs +1383 -0
- data/lib/wasmtime/version.rb +1 -1
- metadata +903 -977
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/src/lib.rs +0 -184
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/Cargo.toml +0 -164
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/cost.rs +0 -91
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/elaborate.rs +0 -731
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph.rs +0 -678
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/dfg.rs +0 -1730
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/pcc.rs +0 -1682
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/aarch64/lower/isle.rs +0 -875
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst/mod.rs +0 -2041
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst.isle +0 -2909
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/lower.isle +0 -2860
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/s390x/lower/isle.rs +0 -1029
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/lower/isle.rs +0 -1070
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/pcc.rs +0 -884
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isle_prelude.rs +0 -972
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/lib.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/machinst/isle.rs +0 -897
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/arithmetic.isle +0 -128
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/cprop.isle +0 -210
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/icmp.isle +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/selects.isle +0 -59
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/prelude.isle +0 -646
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/timing.rs +0 -271
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/unionfind.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/Cargo.toml +0 -26
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/src/lib.rs +0 -12
- data/ext/cargo-vendor/cranelift-control-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.102.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.102.1/Cargo.toml +0 -41
- data/ext/cargo-vendor/cranelift-entity-0.102.1/src/lib.rs +0 -316
- data/ext/cargo-vendor/cranelift-entity-0.102.1/src/primary.rs +0 -456
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/Cargo.toml +0 -59
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/src/lib.rs +0 -191
- data/ext/cargo-vendor/cranelift-isle-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.102.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_constructor_main.rs +0 -71
- data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_extractor_main.rs +0 -50
- data/ext/cargo-vendor/cranelift-isle-0.102.1/src/codegen.rs +0 -763
- data/ext/cargo-vendor/cranelift-native-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.102.1/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-native-0.102.1/src/lib.rs +0 -190
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/Cargo.toml +0 -97
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/environ/dummy.rs +0 -953
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/lib.rs +0 -64
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/translation_utils.rs +0 -97
- data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/Cargo.toml +0 -93
- data/ext/cargo-vendor/wasi-common-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-15.0.1/Cargo.toml +0 -122
- data/ext/cargo-vendor/wasi-common-15.0.1/src/lib.rs +0 -73
- data/ext/cargo-vendor/wasi-common-15.0.1/src/snapshots/preview_1.rs +0 -1490
- data/ext/cargo-vendor/wasm-encoder-0.36.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.36.2/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasm-encoder-0.36.2/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/types.rs +0 -771
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/code.rs +0 -2989
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/custom.rs +0 -73
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/data.rs +0 -185
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/elements.rs +0 -220
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/exports.rs +0 -98
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/globals.rs +0 -100
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/imports.rs +0 -155
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/memories.rs +0 -111
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/names.rs +0 -265
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/producers.rs +0 -180
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tables.rs +0 -115
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tags.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/types.rs +0 -584
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.116.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.lock +0 -674
- data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.toml +0 -60
- data/ext/cargo-vendor/wasmparser-0.116.1/README.md +0 -36
- data/ext/cargo-vendor/wasmparser-0.116.1/benches/benchmark.rs +0 -370
- data/ext/cargo-vendor/wasmparser-0.116.1/examples/simple.rs +0 -37
- data/ext/cargo-vendor/wasmparser-0.116.1/src/binary_reader.rs +0 -1706
- data/ext/cargo-vendor/wasmparser-0.116.1/src/define_types.rs +0 -782
- data/ext/cargo-vendor/wasmparser-0.116.1/src/lib.rs +0 -729
- data/ext/cargo-vendor/wasmparser-0.116.1/src/limits.rs +0 -58
- data/ext/cargo-vendor/wasmparser-0.116.1/src/parser.rs +0 -1612
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/aliases.rs +0 -119
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/canonicals.rs +0 -120
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/exports.rs +0 -135
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/imports.rs +0 -129
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/instances.rs +0 -163
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/names.rs +0 -102
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/start.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component.rs +0 -17
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/code.rs +0 -146
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/coredumps.rs +0 -243
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/custom.rs +0 -63
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/dylink0.rs +0 -132
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/elements.rs +0 -152
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/exports.rs +0 -65
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/functions.rs +0 -17
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/globals.rs +0 -49
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/imports.rs +0 -76
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/init.rs +0 -51
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/memories.rs +0 -56
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/names.rs +0 -153
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/operators.rs +0 -354
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/producers.rs +0 -83
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tables.rs +0 -87
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tags.rs +0 -32
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/types.rs +0 -544
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core.rs +0 -37
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers.rs +0 -316
- data/ext/cargo-vendor/wasmparser-0.116.1/src/resources.rs +0 -398
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/component.rs +0 -3203
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/core.rs +0 -1341
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/func.rs +0 -348
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/names.rs +0 -859
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/operators.rs +0 -3466
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/types.rs +0 -4011
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator.rs +0 -1603
- data/ext/cargo-vendor/wasmparser-0.116.1/tests/big-module.rs +0 -33
- data/ext/cargo-vendor/wasmtime-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-15.0.1/Cargo.toml +0 -202
- data/ext/cargo-vendor/wasmtime-15.0.1/src/compiler.rs +0 -682
- data/ext/cargo-vendor/wasmtime-15.0.1/src/component/component.rs +0 -505
- data/ext/cargo-vendor/wasmtime-15.0.1/src/component/func/typed.rs +0 -2398
- data/ext/cargo-vendor/wasmtime-15.0.1/src/config.rs +0 -2422
- data/ext/cargo-vendor/wasmtime-15.0.1/src/func.rs +0 -2428
- data/ext/cargo-vendor/wasmtime-15.0.1/src/lib.rs +0 -518
- data/ext/cargo-vendor/wasmtime-15.0.1/src/memory.rs +0 -996
- data/ext/cargo-vendor/wasmtime-15.0.1/src/module.rs +0 -1370
- data/ext/cargo-vendor/wasmtime-15.0.1/src/stack.rs +0 -73
- data/ext/cargo-vendor/wasmtime-15.0.1/src/v128.rs +0 -151
- data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/Cargo.toml +0 -72
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/lib.rs +0 -238
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/worker.rs +0 -894
- data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-util-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-15.0.1/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/Cargo.toml +0 -103
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler/component.rs +0 -959
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler.rs +0 -1317
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/expression.rs +0 -1250
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/simulate.rs +0 -410
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug.rs +0 -18
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/func_environ.rs +0 -2746
- data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/Cargo.toml +0 -62
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.lock +0 -677
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/translate.rs +0 -951
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/types.rs +0 -1870
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/lib.rs +0 -59
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module.rs +0 -1083
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_environ.rs +0 -876
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_types.rs +0 -78
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/scopevec.rs +0 -57
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/lib.rs +0 -327
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/windows.c +0 -9
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/Cargo.toml +0 -115
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/code_memory.rs +0 -321
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/instantiate.rs +0 -766
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/lib.rs +0 -22
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/miri.rs +0 -15
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/systemv.rs +0 -90
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/winx64.rs +0 -44
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind.rs +0 -14
- data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/Cargo.toml +0 -126
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/build.rs +0 -19
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -8
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/cow.rs +0 -1060
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/helpers.c +0 -108
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/memory_pool.rs +0 -999
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/stack_pool.rs +0 -242
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/table_pool.rs +0 -225
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/unix.rs +0 -56
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/windows.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling.rs +0 -708
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/lib.rs +0 -279
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/libcalls.rs +0 -775
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mmap.rs +0 -226
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/enabled.rs +0 -201
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/pkru.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/aarch64.rs +0 -42
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/riscv64.rs +0 -45
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/s390x.rs +0 -25
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/x86_64.rs +0 -64
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines.rs +0 -19
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/aarch64.rs +0 -55
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/riscv64.rs +0 -18
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/s390x.rs +0 -22
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/x86_64.rs +0 -20
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace.rs +0 -291
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/macos.rs +0 -492
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/unix.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/windows.rs +0 -89
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers.rs +0 -815
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/vmcontext.rs +0 -1197
- data/ext/cargo-vendor/wasmtime-types-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-15.0.1/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-15.0.1/src/lib.rs +0 -504
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/Cargo.toml +0 -248
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/lib.rs +0 -135
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/io.rs +0 -368
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/network.rs +0 -515
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/tcp.rs +0 -630
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/udp.rs +0 -543
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/mod.rs +0 -326
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/preview1.rs +0 -2342
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stdio.rs +0 -450
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stream.rs +0 -182
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/table.rs +0 -258
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/command-extended.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/command.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/reactor.wit +0 -31
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/proxy.wit +0 -33
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/types.wit +0 -559
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/test.wit +0 -22
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/Cargo.toml +0 -68
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/src/compiler.rs +0 -242
- data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wiggle-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-15.0.1/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-15.0.1/src/lib.rs +0 -1198
- data/ext/cargo-vendor/wiggle-generate-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-generate-15.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/handle.rs +0 -84
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/record.rs +0 -132
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/variant.rs +0 -191
- data/ext/cargo-vendor/wiggle-macro-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-15.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-15.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/winch-codegen-0.13.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.13.1/Cargo.toml +0 -67
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/local.rs +0 -70
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/mod.rs +0 -304
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/call.rs +0 -353
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/context.rs +0 -465
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/control.rs +0 -456
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/env.rs +0 -181
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/mod.rs +0 -436
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/frame/mod.rs +0 -189
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/abi.rs +0 -267
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/masm.rs +0 -436
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/mod.rs +0 -136
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/mod.rs +0 -218
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/abi.rs +0 -410
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/asm.rs +0 -1106
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/masm.rs +0 -953
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/mod.rs +0 -172
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/regs.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/masm.rs +0 -592
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/stack.rs +0 -366
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/trampoline.rs +0 -489
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/visitor.rs +0 -1339
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/trapcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/encode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/buffer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/vcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/verifier/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/spec.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/func_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.36.2 → wasmtime-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine/serialization.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/ref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-15.0.1 → wasmtime-asm-macros-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.116.1 → wasmtime-cache-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-15.0.1 → wasmtime-component-util-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-cranelift-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-environ-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-fiber-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-jit-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-runtime-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/trampolines → wasmtime-runtime-16.0.0/src/arch}/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/on_demand.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/miri.rs → wasmtime-runtime-16.0.0/src/sys/miri/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/unix.rs → wasmtime-runtime-16.0.0/src/sys/unix/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/windows.rs → wasmtime-runtime-16.0.0/src/sys/windows/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/traphandlers/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-types-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wasmtime-types-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-15.0.1 → wasmtime-versioned-export-macros-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-wasi-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/command.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/filesystem.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wmemcheck-15.0.1 → wasmtime-wmemcheck-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wiggle-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wiggle-generate-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-macro-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-15.0.1 → wiggle-macro-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regset.rs +0 -0
@@ -1,1706 +0,0 @@
|
|
1
|
-
/* Copyright 2018 Mozilla Foundation
|
2
|
-
*
|
3
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
* you may not use this file except in compliance with the License.
|
5
|
-
* You may obtain a copy of the License at
|
6
|
-
*
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
*
|
9
|
-
* Unless required by applicable law or agreed to in writing, software
|
10
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
* See the License for the specific language governing permissions and
|
13
|
-
* limitations under the License.
|
14
|
-
*/
|
15
|
-
|
16
|
-
use crate::{limits::*, *};
|
17
|
-
use std::convert::TryInto;
|
18
|
-
use std::error::Error;
|
19
|
-
use std::fmt;
|
20
|
-
use std::marker;
|
21
|
-
use std::ops::Range;
|
22
|
-
use std::str;
|
23
|
-
|
24
|
-
pub(crate) const WASM_MAGIC_NUMBER: &[u8; 4] = b"\0asm";
|
25
|
-
|
26
|
-
/// A binary reader for WebAssembly modules.
|
27
|
-
#[derive(Debug, Clone)]
|
28
|
-
pub struct BinaryReaderError {
|
29
|
-
// Wrap the actual error data in a `Box` so that the error is just one
|
30
|
-
// word. This means that we can continue returning small `Result`s in
|
31
|
-
// registers.
|
32
|
-
pub(crate) inner: Box<BinaryReaderErrorInner>,
|
33
|
-
}
|
34
|
-
|
35
|
-
#[derive(Debug, Clone)]
|
36
|
-
pub(crate) struct BinaryReaderErrorInner {
|
37
|
-
pub(crate) message: String,
|
38
|
-
pub(crate) offset: usize,
|
39
|
-
pub(crate) needed_hint: Option<usize>,
|
40
|
-
}
|
41
|
-
|
42
|
-
/// The result for `BinaryReader` operations.
|
43
|
-
pub type Result<T, E = BinaryReaderError> = std::result::Result<T, E>;
|
44
|
-
|
45
|
-
impl Error for BinaryReaderError {}
|
46
|
-
|
47
|
-
impl fmt::Display for BinaryReaderError {
|
48
|
-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
49
|
-
write!(
|
50
|
-
f,
|
51
|
-
"{} (at offset 0x{:x})",
|
52
|
-
self.inner.message, self.inner.offset
|
53
|
-
)
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
impl BinaryReaderError {
|
58
|
-
#[cold]
|
59
|
-
pub(crate) fn new(message: impl Into<String>, offset: usize) -> Self {
|
60
|
-
let message = message.into();
|
61
|
-
BinaryReaderError {
|
62
|
-
inner: Box::new(BinaryReaderErrorInner {
|
63
|
-
message,
|
64
|
-
offset,
|
65
|
-
needed_hint: None,
|
66
|
-
}),
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
#[cold]
|
71
|
-
pub(crate) fn fmt(args: fmt::Arguments<'_>, offset: usize) -> Self {
|
72
|
-
BinaryReaderError::new(args.to_string(), offset)
|
73
|
-
}
|
74
|
-
|
75
|
-
#[cold]
|
76
|
-
pub(crate) fn eof(offset: usize, needed_hint: usize) -> Self {
|
77
|
-
BinaryReaderError {
|
78
|
-
inner: Box::new(BinaryReaderErrorInner {
|
79
|
-
message: "unexpected end-of-file".to_string(),
|
80
|
-
offset,
|
81
|
-
needed_hint: Some(needed_hint),
|
82
|
-
}),
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
/// Get this error's message.
|
87
|
-
pub fn message(&self) -> &str {
|
88
|
-
&self.inner.message
|
89
|
-
}
|
90
|
-
|
91
|
-
/// Get the offset within the Wasm binary where the error occurred.
|
92
|
-
pub fn offset(&self) -> usize {
|
93
|
-
self.inner.offset
|
94
|
-
}
|
95
|
-
|
96
|
-
pub(crate) fn add_context(&mut self, mut context: String) {
|
97
|
-
context.push_str("\n");
|
98
|
-
self.inner.message.insert_str(0, &context);
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
/// A binary reader of the WebAssembly structures and types.
|
103
|
-
#[derive(Clone, Debug, Hash)]
|
104
|
-
pub struct BinaryReader<'a> {
|
105
|
-
pub(crate) buffer: &'a [u8],
|
106
|
-
pub(crate) position: usize,
|
107
|
-
original_offset: usize,
|
108
|
-
allow_memarg64: bool,
|
109
|
-
}
|
110
|
-
|
111
|
-
impl<'a> BinaryReader<'a> {
|
112
|
-
/// Constructs `BinaryReader` type.
|
113
|
-
///
|
114
|
-
/// # Examples
|
115
|
-
/// ```
|
116
|
-
/// let fn_body = &vec![0x41, 0x00, 0x10, 0x00, 0x0B];
|
117
|
-
/// let mut reader = wasmparser::BinaryReader::new(fn_body);
|
118
|
-
/// while !reader.eof() {
|
119
|
-
/// let op = reader.read_operator();
|
120
|
-
/// println!("{:?}", op)
|
121
|
-
/// }
|
122
|
-
/// ```
|
123
|
-
pub fn new(data: &[u8]) -> BinaryReader {
|
124
|
-
BinaryReader {
|
125
|
-
buffer: data,
|
126
|
-
position: 0,
|
127
|
-
original_offset: 0,
|
128
|
-
allow_memarg64: false,
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
/// Constructs a `BinaryReader` with an explicit starting offset.
|
133
|
-
pub fn new_with_offset(data: &[u8], original_offset: usize) -> BinaryReader {
|
134
|
-
BinaryReader {
|
135
|
-
buffer: data,
|
136
|
-
position: 0,
|
137
|
-
original_offset,
|
138
|
-
allow_memarg64: false,
|
139
|
-
}
|
140
|
-
}
|
141
|
-
|
142
|
-
/// Gets the original position of the binary reader.
|
143
|
-
#[inline]
|
144
|
-
pub fn original_position(&self) -> usize {
|
145
|
-
self.original_offset + self.position
|
146
|
-
}
|
147
|
-
|
148
|
-
/// Whether or not to allow 64-bit memory arguments in functions.
|
149
|
-
///
|
150
|
-
/// This is intended to be `true` when support for the memory64
|
151
|
-
/// WebAssembly proposal is also enabled.
|
152
|
-
pub fn allow_memarg64(&mut self, allow: bool) {
|
153
|
-
self.allow_memarg64 = allow;
|
154
|
-
}
|
155
|
-
|
156
|
-
/// Returns a range from the starting offset to the end of the buffer.
|
157
|
-
pub fn range(&self) -> Range<usize> {
|
158
|
-
self.original_offset..self.original_offset + self.buffer.len()
|
159
|
-
}
|
160
|
-
|
161
|
-
pub(crate) fn remaining_buffer(&self) -> &'a [u8] {
|
162
|
-
&self.buffer[self.position..]
|
163
|
-
}
|
164
|
-
|
165
|
-
fn ensure_has_byte(&self) -> Result<()> {
|
166
|
-
if self.position < self.buffer.len() {
|
167
|
-
Ok(())
|
168
|
-
} else {
|
169
|
-
Err(BinaryReaderError::eof(self.original_position(), 1))
|
170
|
-
}
|
171
|
-
}
|
172
|
-
|
173
|
-
pub(crate) fn ensure_has_bytes(&self, len: usize) -> Result<()> {
|
174
|
-
if self.position + len <= self.buffer.len() {
|
175
|
-
Ok(())
|
176
|
-
} else {
|
177
|
-
let hint = self.position + len - self.buffer.len();
|
178
|
-
Err(BinaryReaderError::eof(self.original_position(), hint))
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
/// Reads a value of type `T` from this binary reader, advancing the
|
183
|
-
/// internal position in this reader forward as data is read.
|
184
|
-
#[inline]
|
185
|
-
pub fn read<T>(&mut self) -> Result<T>
|
186
|
-
where
|
187
|
-
T: FromReader<'a>,
|
188
|
-
{
|
189
|
-
T::from_reader(self)
|
190
|
-
}
|
191
|
-
|
192
|
-
pub(crate) fn read_u7(&mut self) -> Result<u8> {
|
193
|
-
let b = self.read_u8()?;
|
194
|
-
if (b & 0x80) != 0 {
|
195
|
-
return Err(BinaryReaderError::new(
|
196
|
-
"invalid u7",
|
197
|
-
self.original_position() - 1,
|
198
|
-
));
|
199
|
-
}
|
200
|
-
Ok(b)
|
201
|
-
}
|
202
|
-
|
203
|
-
pub(crate) fn external_kind_from_byte(byte: u8, offset: usize) -> Result<ExternalKind> {
|
204
|
-
match byte {
|
205
|
-
0x00 => Ok(ExternalKind::Func),
|
206
|
-
0x01 => Ok(ExternalKind::Table),
|
207
|
-
0x02 => Ok(ExternalKind::Memory),
|
208
|
-
0x03 => Ok(ExternalKind::Global),
|
209
|
-
0x04 => Ok(ExternalKind::Tag),
|
210
|
-
x => Err(Self::invalid_leading_byte_error(x, "external kind", offset)),
|
211
|
-
}
|
212
|
-
}
|
213
|
-
|
214
|
-
/// Reads a variable-length 32-bit size from the byte stream while checking
|
215
|
-
/// against a limit.
|
216
|
-
pub fn read_size(&mut self, limit: usize, desc: &str) -> Result<usize> {
|
217
|
-
let pos = self.original_position();
|
218
|
-
let size = self.read_var_u32()? as usize;
|
219
|
-
if size > limit {
|
220
|
-
bail!(pos, "{desc} size is out of bounds");
|
221
|
-
}
|
222
|
-
Ok(size)
|
223
|
-
}
|
224
|
-
|
225
|
-
/// Reads a variable-length 32-bit size from the byte stream while checking
|
226
|
-
/// against a limit.
|
227
|
-
///
|
228
|
-
/// Then reads that many values of type `T` and returns them as an iterator.
|
229
|
-
///
|
230
|
-
/// Note that regardless of how many items are read from the returned
|
231
|
-
/// iterator the items will still be parsed from this reader.
|
232
|
-
pub fn read_iter<'me, T>(
|
233
|
-
&'me mut self,
|
234
|
-
limit: usize,
|
235
|
-
desc: &str,
|
236
|
-
) -> Result<BinaryReaderIter<'a, 'me, T>>
|
237
|
-
where
|
238
|
-
T: FromReader<'a>,
|
239
|
-
{
|
240
|
-
let size = self.read_size(limit, desc)?;
|
241
|
-
Ok(BinaryReaderIter {
|
242
|
-
remaining: size,
|
243
|
-
reader: self,
|
244
|
-
_marker: marker::PhantomData,
|
245
|
-
})
|
246
|
-
}
|
247
|
-
|
248
|
-
fn read_first_byte_and_var_u32(&mut self) -> Result<(u8, u32)> {
|
249
|
-
let pos = self.position;
|
250
|
-
let val = self.read_var_u32()?;
|
251
|
-
Ok((self.buffer[pos], val))
|
252
|
-
}
|
253
|
-
|
254
|
-
fn read_memarg(&mut self, max_align: u8) -> Result<MemArg> {
|
255
|
-
let flags_pos = self.original_position();
|
256
|
-
let mut flags = self.read_var_u32()?;
|
257
|
-
let memory = if flags & (1 << 6) != 0 {
|
258
|
-
flags ^= 1 << 6;
|
259
|
-
self.read_var_u32()?
|
260
|
-
} else {
|
261
|
-
0
|
262
|
-
};
|
263
|
-
let align = if flags >= (1 << 6) {
|
264
|
-
return Err(BinaryReaderError::new("alignment too large", flags_pos));
|
265
|
-
} else {
|
266
|
-
flags as u8
|
267
|
-
};
|
268
|
-
let offset = if self.allow_memarg64 {
|
269
|
-
self.read_var_u64()?
|
270
|
-
} else {
|
271
|
-
u64::from(self.read_var_u32()?)
|
272
|
-
};
|
273
|
-
Ok(MemArg {
|
274
|
-
align,
|
275
|
-
max_align,
|
276
|
-
offset,
|
277
|
-
memory,
|
278
|
-
})
|
279
|
-
}
|
280
|
-
|
281
|
-
fn read_br_table(&mut self) -> Result<BrTable<'a>> {
|
282
|
-
let cnt = self.read_size(MAX_WASM_BR_TABLE_SIZE, "br_table")?;
|
283
|
-
let start = self.position;
|
284
|
-
for _ in 0..cnt {
|
285
|
-
self.read_var_u32()?;
|
286
|
-
}
|
287
|
-
let end = self.position;
|
288
|
-
let default = self.read_var_u32()?;
|
289
|
-
Ok(BrTable {
|
290
|
-
reader: BinaryReader::new_with_offset(&self.buffer[start..end], start),
|
291
|
-
cnt: cnt as u32,
|
292
|
-
default,
|
293
|
-
})
|
294
|
-
}
|
295
|
-
|
296
|
-
/// Returns whether the `BinaryReader` has reached the end of the file.
|
297
|
-
#[inline]
|
298
|
-
pub fn eof(&self) -> bool {
|
299
|
-
self.position >= self.buffer.len()
|
300
|
-
}
|
301
|
-
|
302
|
-
/// Returns the `BinaryReader`'s current position.
|
303
|
-
#[inline]
|
304
|
-
pub fn current_position(&self) -> usize {
|
305
|
-
self.position
|
306
|
-
}
|
307
|
-
|
308
|
-
/// Returns the number of bytes remaining in the `BinaryReader`.
|
309
|
-
#[inline]
|
310
|
-
pub fn bytes_remaining(&self) -> usize {
|
311
|
-
self.buffer.len() - self.position
|
312
|
-
}
|
313
|
-
|
314
|
-
/// Advances the `BinaryReader` `size` bytes, and returns a slice from the
|
315
|
-
/// current position of `size` length.
|
316
|
-
///
|
317
|
-
/// # Errors
|
318
|
-
/// If `size` exceeds the remaining length in `BinaryReader`.
|
319
|
-
pub fn read_bytes(&mut self, size: usize) -> Result<&'a [u8]> {
|
320
|
-
self.ensure_has_bytes(size)?;
|
321
|
-
let start = self.position;
|
322
|
-
self.position += size;
|
323
|
-
Ok(&self.buffer[start..self.position])
|
324
|
-
}
|
325
|
-
|
326
|
-
/// Reads a length-prefixed list of bytes from this reader and returns a
|
327
|
-
/// new `BinaryReader` to read that list of bytes.
|
328
|
-
///
|
329
|
-
/// Advances the position of this reader by the number of bytes read.
|
330
|
-
pub fn read_reader(&mut self, err: &str) -> Result<BinaryReader<'a>> {
|
331
|
-
let size = self.read_var_u32()? as usize;
|
332
|
-
let body_start = self.position;
|
333
|
-
let buffer = match self.buffer.get(self.position..).and_then(|s| s.get(..size)) {
|
334
|
-
Some(buf) => buf,
|
335
|
-
None => {
|
336
|
-
return Err(BinaryReaderError::new(
|
337
|
-
err,
|
338
|
-
self.original_offset + self.buffer.len(),
|
339
|
-
))
|
340
|
-
}
|
341
|
-
};
|
342
|
-
self.position += size;
|
343
|
-
Ok(BinaryReader::new_with_offset(
|
344
|
-
buffer,
|
345
|
-
self.original_offset + body_start,
|
346
|
-
))
|
347
|
-
}
|
348
|
-
|
349
|
-
/// Advances the `BinaryReader` four bytes and returns a `u32`.
|
350
|
-
/// # Errors
|
351
|
-
/// If `BinaryReader` has less than four bytes remaining.
|
352
|
-
pub fn read_u32(&mut self) -> Result<u32> {
|
353
|
-
self.ensure_has_bytes(4)?;
|
354
|
-
let word = u32::from_le_bytes(
|
355
|
-
self.buffer[self.position..self.position + 4]
|
356
|
-
.try_into()
|
357
|
-
.unwrap(),
|
358
|
-
);
|
359
|
-
self.position += 4;
|
360
|
-
Ok(word)
|
361
|
-
}
|
362
|
-
|
363
|
-
/// Advances the `BinaryReader` eight bytes and returns a `u64`.
|
364
|
-
/// # Errors
|
365
|
-
/// If `BinaryReader` has less than eight bytes remaining.
|
366
|
-
pub fn read_u64(&mut self) -> Result<u64> {
|
367
|
-
self.ensure_has_bytes(8)?;
|
368
|
-
let word = u64::from_le_bytes(
|
369
|
-
self.buffer[self.position..self.position + 8]
|
370
|
-
.try_into()
|
371
|
-
.unwrap(),
|
372
|
-
);
|
373
|
-
self.position += 8;
|
374
|
-
Ok(word)
|
375
|
-
}
|
376
|
-
|
377
|
-
/// Advances the `BinaryReader` a single byte.
|
378
|
-
///
|
379
|
-
/// # Errors
|
380
|
-
///
|
381
|
-
/// If `BinaryReader` has no bytes remaining.
|
382
|
-
#[inline]
|
383
|
-
pub fn read_u8(&mut self) -> Result<u8> {
|
384
|
-
let b = match self.buffer.get(self.position) {
|
385
|
-
Some(b) => *b,
|
386
|
-
None => return Err(self.eof_err()),
|
387
|
-
};
|
388
|
-
self.position += 1;
|
389
|
-
Ok(b)
|
390
|
-
}
|
391
|
-
|
392
|
-
#[cold]
|
393
|
-
fn eof_err(&self) -> BinaryReaderError {
|
394
|
-
BinaryReaderError::eof(self.original_position(), 1)
|
395
|
-
}
|
396
|
-
|
397
|
-
/// Advances the `BinaryReader` up to four bytes to parse a variable
|
398
|
-
/// length integer as a `u32`.
|
399
|
-
///
|
400
|
-
/// # Errors
|
401
|
-
///
|
402
|
-
/// If `BinaryReader` has less than one or up to four bytes remaining, or
|
403
|
-
/// the integer is larger than 32 bits.
|
404
|
-
#[inline]
|
405
|
-
pub fn read_var_u32(&mut self) -> Result<u32> {
|
406
|
-
// Optimization for single byte i32.
|
407
|
-
let byte = self.read_u8()?;
|
408
|
-
if (byte & 0x80) == 0 {
|
409
|
-
Ok(u32::from(byte))
|
410
|
-
} else {
|
411
|
-
self.read_var_u32_big(byte)
|
412
|
-
}
|
413
|
-
}
|
414
|
-
|
415
|
-
fn read_var_u32_big(&mut self, byte: u8) -> Result<u32> {
|
416
|
-
let mut result = (byte & 0x7F) as u32;
|
417
|
-
let mut shift = 7;
|
418
|
-
loop {
|
419
|
-
let byte = self.read_u8()?;
|
420
|
-
result |= ((byte & 0x7F) as u32) << shift;
|
421
|
-
if shift >= 25 && (byte >> (32 - shift)) != 0 {
|
422
|
-
let msg = if byte & 0x80 != 0 {
|
423
|
-
"invalid var_u32: integer representation too long"
|
424
|
-
} else {
|
425
|
-
"invalid var_u32: integer too large"
|
426
|
-
};
|
427
|
-
// The continuation bit or unused bits are set.
|
428
|
-
return Err(BinaryReaderError::new(msg, self.original_position() - 1));
|
429
|
-
}
|
430
|
-
shift += 7;
|
431
|
-
if (byte & 0x80) == 0 {
|
432
|
-
break;
|
433
|
-
}
|
434
|
-
}
|
435
|
-
Ok(result)
|
436
|
-
}
|
437
|
-
|
438
|
-
/// Advances the `BinaryReader` up to four bytes to parse a variable
|
439
|
-
/// length integer as a `u64`.
|
440
|
-
///
|
441
|
-
/// # Errors
|
442
|
-
///
|
443
|
-
/// If `BinaryReader` has less than one or up to eight bytes remaining, or
|
444
|
-
/// the integer is larger than 64 bits.
|
445
|
-
#[inline]
|
446
|
-
pub fn read_var_u64(&mut self) -> Result<u64> {
|
447
|
-
// Optimization for single byte u64.
|
448
|
-
let byte = u64::from(self.read_u8()?);
|
449
|
-
if (byte & 0x80) == 0 {
|
450
|
-
Ok(byte)
|
451
|
-
} else {
|
452
|
-
self.read_var_u64_big(byte)
|
453
|
-
}
|
454
|
-
}
|
455
|
-
|
456
|
-
fn read_var_u64_big(&mut self, byte: u64) -> Result<u64> {
|
457
|
-
let mut result = byte & 0x7F;
|
458
|
-
let mut shift = 7;
|
459
|
-
loop {
|
460
|
-
let byte = u64::from(self.read_u8()?);
|
461
|
-
result |= (byte & 0x7F) << shift;
|
462
|
-
if shift >= 57 && (byte >> (64 - shift)) != 0 {
|
463
|
-
let msg = if byte & 0x80 != 0 {
|
464
|
-
"invalid var_u64: integer representation too long"
|
465
|
-
} else {
|
466
|
-
"invalid var_u64: integer too large"
|
467
|
-
};
|
468
|
-
// The continuation bit or unused bits are set.
|
469
|
-
return Err(BinaryReaderError::new(msg, self.original_position() - 1));
|
470
|
-
}
|
471
|
-
shift += 7;
|
472
|
-
if (byte & 0x80) == 0 {
|
473
|
-
break;
|
474
|
-
}
|
475
|
-
}
|
476
|
-
Ok(result)
|
477
|
-
}
|
478
|
-
|
479
|
-
/// Executes `f` to skip some data in this binary reader and then returns a
|
480
|
-
/// reader which will read the skipped data.
|
481
|
-
pub fn skip(&mut self, f: impl FnOnce(&mut Self) -> Result<()>) -> Result<Self> {
|
482
|
-
let start = self.position;
|
483
|
-
f(self)?;
|
484
|
-
Ok(BinaryReader::new_with_offset(
|
485
|
-
&self.buffer[start..self.position],
|
486
|
-
self.original_offset + start,
|
487
|
-
))
|
488
|
-
}
|
489
|
-
|
490
|
-
/// Advances the `BinaryReader` past a WebAssembly string. This method does
|
491
|
-
/// not perform any utf-8 validation.
|
492
|
-
/// # Errors
|
493
|
-
/// If `BinaryReader` has less than four bytes, the string's length exceeds
|
494
|
-
/// the remaining bytes, or the string length
|
495
|
-
/// exceeds `limits::MAX_WASM_STRING_SIZE`.
|
496
|
-
pub fn skip_string(&mut self) -> Result<()> {
|
497
|
-
let len = self.read_var_u32()? as usize;
|
498
|
-
if len > MAX_WASM_STRING_SIZE {
|
499
|
-
return Err(BinaryReaderError::new(
|
500
|
-
"string size out of bounds",
|
501
|
-
self.original_position() - 1,
|
502
|
-
));
|
503
|
-
}
|
504
|
-
self.ensure_has_bytes(len)?;
|
505
|
-
self.position += len;
|
506
|
-
Ok(())
|
507
|
-
}
|
508
|
-
|
509
|
-
/// Advances the `BinaryReader` up to four bytes to parse a variable
|
510
|
-
/// length integer as a `i32`.
|
511
|
-
/// # Errors
|
512
|
-
/// If `BinaryReader` has less than one or up to four bytes remaining, or
|
513
|
-
/// the integer is larger than 32 bits.
|
514
|
-
#[inline]
|
515
|
-
pub fn read_var_i32(&mut self) -> Result<i32> {
|
516
|
-
// Optimization for single byte i32.
|
517
|
-
let byte = self.read_u8()?;
|
518
|
-
if (byte & 0x80) == 0 {
|
519
|
-
Ok(((byte as i32) << 25) >> 25)
|
520
|
-
} else {
|
521
|
-
self.read_var_i32_big(byte)
|
522
|
-
}
|
523
|
-
}
|
524
|
-
|
525
|
-
fn read_var_i32_big(&mut self, byte: u8) -> Result<i32> {
|
526
|
-
let mut result = (byte & 0x7F) as i32;
|
527
|
-
let mut shift = 7;
|
528
|
-
loop {
|
529
|
-
let byte = self.read_u8()?;
|
530
|
-
result |= ((byte & 0x7F) as i32) << shift;
|
531
|
-
if shift >= 25 {
|
532
|
-
let continuation_bit = (byte & 0x80) != 0;
|
533
|
-
let sign_and_unused_bit = (byte << 1) as i8 >> (32 - shift);
|
534
|
-
if continuation_bit || (sign_and_unused_bit != 0 && sign_and_unused_bit != -1) {
|
535
|
-
let msg = if continuation_bit {
|
536
|
-
"invalid var_i32: integer representation too long"
|
537
|
-
} else {
|
538
|
-
"invalid var_i32: integer too large"
|
539
|
-
};
|
540
|
-
return Err(BinaryReaderError::new(msg, self.original_position() - 1));
|
541
|
-
}
|
542
|
-
return Ok(result);
|
543
|
-
}
|
544
|
-
shift += 7;
|
545
|
-
if (byte & 0x80) == 0 {
|
546
|
-
break;
|
547
|
-
}
|
548
|
-
}
|
549
|
-
let ashift = 32 - shift;
|
550
|
-
Ok((result << ashift) >> ashift)
|
551
|
-
}
|
552
|
-
|
553
|
-
/// Advances the `BinaryReader` up to four bytes to parse a variable
|
554
|
-
/// length integer as a signed 33 bit integer, returned as a `i64`.
|
555
|
-
/// # Errors
|
556
|
-
/// If `BinaryReader` has less than one or up to five bytes remaining, or
|
557
|
-
/// the integer is larger than 33 bits.
|
558
|
-
pub fn read_var_s33(&mut self) -> Result<i64> {
|
559
|
-
// Optimization for single byte.
|
560
|
-
let byte = self.read_u8()?;
|
561
|
-
if (byte & 0x80) == 0 {
|
562
|
-
return Ok(((byte as i8) << 1) as i64 >> 1);
|
563
|
-
}
|
564
|
-
|
565
|
-
let mut result = (byte & 0x7F) as i64;
|
566
|
-
let mut shift = 7;
|
567
|
-
loop {
|
568
|
-
let byte = self.read_u8()?;
|
569
|
-
result |= ((byte & 0x7F) as i64) << shift;
|
570
|
-
if shift >= 25 {
|
571
|
-
let continuation_bit = (byte & 0x80) != 0;
|
572
|
-
let sign_and_unused_bit = (byte << 1) as i8 >> (33 - shift);
|
573
|
-
if continuation_bit || (sign_and_unused_bit != 0 && sign_and_unused_bit != -1) {
|
574
|
-
return Err(BinaryReaderError::new(
|
575
|
-
"invalid var_s33: integer representation too long",
|
576
|
-
self.original_position() - 1,
|
577
|
-
));
|
578
|
-
}
|
579
|
-
return Ok(result);
|
580
|
-
}
|
581
|
-
shift += 7;
|
582
|
-
if (byte & 0x80) == 0 {
|
583
|
-
break;
|
584
|
-
}
|
585
|
-
}
|
586
|
-
let ashift = 64 - shift;
|
587
|
-
Ok((result << ashift) >> ashift)
|
588
|
-
}
|
589
|
-
|
590
|
-
/// Advances the `BinaryReader` up to eight bytes to parse a variable
|
591
|
-
/// length integer as a 64 bit integer, returned as a `i64`.
|
592
|
-
/// # Errors
|
593
|
-
/// If `BinaryReader` has less than one or up to eight bytes remaining, or
|
594
|
-
/// the integer is larger than 64 bits.
|
595
|
-
pub fn read_var_i64(&mut self) -> Result<i64> {
|
596
|
-
let mut result: i64 = 0;
|
597
|
-
let mut shift = 0;
|
598
|
-
loop {
|
599
|
-
let byte = self.read_u8()?;
|
600
|
-
result |= i64::from(byte & 0x7F) << shift;
|
601
|
-
if shift >= 57 {
|
602
|
-
let continuation_bit = (byte & 0x80) != 0;
|
603
|
-
let sign_and_unused_bit = ((byte << 1) as i8) >> (64 - shift);
|
604
|
-
if continuation_bit || (sign_and_unused_bit != 0 && sign_and_unused_bit != -1) {
|
605
|
-
let msg = if continuation_bit {
|
606
|
-
"invalid var_i64: integer representation too long"
|
607
|
-
} else {
|
608
|
-
"invalid var_i64: integer too large"
|
609
|
-
};
|
610
|
-
return Err(BinaryReaderError::new(msg, self.original_position() - 1));
|
611
|
-
}
|
612
|
-
return Ok(result);
|
613
|
-
}
|
614
|
-
shift += 7;
|
615
|
-
if (byte & 0x80) == 0 {
|
616
|
-
break;
|
617
|
-
}
|
618
|
-
}
|
619
|
-
let ashift = 64 - shift;
|
620
|
-
Ok((result << ashift) >> ashift)
|
621
|
-
}
|
622
|
-
|
623
|
-
/// Advances the `BinaryReader` up to four bytes to parse a variable
|
624
|
-
/// length integer as a 32 bit floating point integer, returned as `Ieee32`.
|
625
|
-
/// # Errors
|
626
|
-
/// If `BinaryReader` has less than one or up to four bytes remaining, or
|
627
|
-
/// the integer is larger than 32 bits.
|
628
|
-
pub fn read_f32(&mut self) -> Result<Ieee32> {
|
629
|
-
let value = self.read_u32()?;
|
630
|
-
Ok(Ieee32(value))
|
631
|
-
}
|
632
|
-
|
633
|
-
/// Advances the `BinaryReader` up to four bytes to parse a variable
|
634
|
-
/// length integer as a 32 bit floating point integer, returned as `Ieee32`.
|
635
|
-
/// # Errors
|
636
|
-
/// If `BinaryReader` has less than one or up to four bytes remaining, or
|
637
|
-
/// the integer is larger than 32 bits.
|
638
|
-
pub fn read_f64(&mut self) -> Result<Ieee64> {
|
639
|
-
let value = self.read_u64()?;
|
640
|
-
Ok(Ieee64(value))
|
641
|
-
}
|
642
|
-
|
643
|
-
/// Reads a WebAssembly string from the module.
|
644
|
-
/// # Errors
|
645
|
-
/// If `BinaryReader` has less than up to four bytes remaining, the string's
|
646
|
-
/// length exceeds the remaining bytes, the string's length exceeds
|
647
|
-
/// `limits::MAX_WASM_STRING_SIZE`, or the string contains invalid utf-8.
|
648
|
-
pub fn read_string(&mut self) -> Result<&'a str> {
|
649
|
-
let len = self.read_var_u32()? as usize;
|
650
|
-
if len > MAX_WASM_STRING_SIZE {
|
651
|
-
return Err(BinaryReaderError::new(
|
652
|
-
"string size out of bounds",
|
653
|
-
self.original_position() - 1,
|
654
|
-
));
|
655
|
-
}
|
656
|
-
let bytes = self.read_bytes(len)?;
|
657
|
-
str::from_utf8(bytes).map_err(|_| {
|
658
|
-
BinaryReaderError::new("invalid UTF-8 encoding", self.original_position() - 1)
|
659
|
-
})
|
660
|
-
}
|
661
|
-
|
662
|
-
#[cold]
|
663
|
-
pub(crate) fn invalid_leading_byte<T>(&self, byte: u8, desc: &str) -> Result<T> {
|
664
|
-
Err(Self::invalid_leading_byte_error(
|
665
|
-
byte,
|
666
|
-
desc,
|
667
|
-
self.original_position() - 1,
|
668
|
-
))
|
669
|
-
}
|
670
|
-
|
671
|
-
pub(crate) fn invalid_leading_byte_error(
|
672
|
-
byte: u8,
|
673
|
-
desc: &str,
|
674
|
-
offset: usize,
|
675
|
-
) -> BinaryReaderError {
|
676
|
-
format_err!(offset, "invalid leading byte (0x{byte:x}) for {desc}")
|
677
|
-
}
|
678
|
-
|
679
|
-
pub(crate) fn peek(&self) -> Result<u8> {
|
680
|
-
self.ensure_has_byte()?;
|
681
|
-
Ok(self.buffer[self.position])
|
682
|
-
}
|
683
|
-
|
684
|
-
fn read_block_type(&mut self) -> Result<BlockType> {
|
685
|
-
let b = self.peek()?;
|
686
|
-
|
687
|
-
// Check for empty block
|
688
|
-
if b == 0x40 {
|
689
|
-
self.position += 1;
|
690
|
-
return Ok(BlockType::Empty);
|
691
|
-
}
|
692
|
-
|
693
|
-
// Check for a block type of form [] -> [t].
|
694
|
-
if ValType::is_valtype_byte(b) {
|
695
|
-
return Ok(BlockType::Type(self.read()?));
|
696
|
-
}
|
697
|
-
|
698
|
-
// Not empty or a singular type, so read the function type index
|
699
|
-
let idx = self.read_var_s33()?;
|
700
|
-
match u32::try_from(idx) {
|
701
|
-
Ok(idx) => Ok(BlockType::FuncType(idx)),
|
702
|
-
Err(_) => {
|
703
|
-
return Err(BinaryReaderError::new(
|
704
|
-
"invalid function type",
|
705
|
-
self.original_position(),
|
706
|
-
));
|
707
|
-
}
|
708
|
-
}
|
709
|
-
}
|
710
|
-
|
711
|
-
/// Visit the next available operator with the specified [`VisitOperator`] instance.
|
712
|
-
///
|
713
|
-
/// Note that this does not implicitly propagate any additional information such as instruction
|
714
|
-
/// offsets. In order to do so, consider storing such data within the visitor before visiting.
|
715
|
-
///
|
716
|
-
/// # Errors
|
717
|
-
///
|
718
|
-
/// If `BinaryReader` has less bytes remaining than required to parse the `Operator`.
|
719
|
-
///
|
720
|
-
/// # Examples
|
721
|
-
///
|
722
|
-
/// Store an offset for use in diagnostics or any other purposes:
|
723
|
-
///
|
724
|
-
/// ```
|
725
|
-
/// # use wasmparser::{BinaryReader, VisitOperator, Result, for_each_operator};
|
726
|
-
///
|
727
|
-
/// pub fn dump(mut reader: BinaryReader) -> Result<()> {
|
728
|
-
/// let mut visitor = Dumper { offset: 0 };
|
729
|
-
/// while !reader.eof() {
|
730
|
-
/// visitor.offset = reader.original_position();
|
731
|
-
/// reader.visit_operator(&mut visitor)?;
|
732
|
-
/// }
|
733
|
-
/// Ok(())
|
734
|
-
/// }
|
735
|
-
///
|
736
|
-
/// struct Dumper {
|
737
|
-
/// offset: usize
|
738
|
-
/// }
|
739
|
-
///
|
740
|
-
/// macro_rules! define_visit_operator {
|
741
|
-
/// ($(@$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
|
742
|
-
/// $(
|
743
|
-
/// fn $visit(&mut self $($(,$arg: $argty)*)?) -> Self::Output {
|
744
|
-
/// println!("{}: {}", self.offset, stringify!($visit));
|
745
|
-
/// }
|
746
|
-
/// )*
|
747
|
-
/// }
|
748
|
-
/// }
|
749
|
-
///
|
750
|
-
/// impl<'a> VisitOperator<'a> for Dumper {
|
751
|
-
/// type Output = ();
|
752
|
-
/// for_each_operator!(define_visit_operator);
|
753
|
-
/// }
|
754
|
-
///
|
755
|
-
/// ```
|
756
|
-
pub fn visit_operator<T>(&mut self, visitor: &mut T) -> Result<<T as VisitOperator<'a>>::Output>
|
757
|
-
where
|
758
|
-
T: VisitOperator<'a>,
|
759
|
-
{
|
760
|
-
let pos = self.original_position();
|
761
|
-
let code = self.read_u8()? as u8;
|
762
|
-
Ok(match code {
|
763
|
-
0x00 => visitor.visit_unreachable(),
|
764
|
-
0x01 => visitor.visit_nop(),
|
765
|
-
0x02 => visitor.visit_block(self.read_block_type()?),
|
766
|
-
0x03 => visitor.visit_loop(self.read_block_type()?),
|
767
|
-
0x04 => visitor.visit_if(self.read_block_type()?),
|
768
|
-
0x05 => visitor.visit_else(),
|
769
|
-
0x06 => visitor.visit_try(self.read_block_type()?),
|
770
|
-
0x07 => visitor.visit_catch(self.read_var_u32()?),
|
771
|
-
0x08 => visitor.visit_throw(self.read_var_u32()?),
|
772
|
-
0x09 => visitor.visit_rethrow(self.read_var_u32()?),
|
773
|
-
0x0b => visitor.visit_end(),
|
774
|
-
0x0c => visitor.visit_br(self.read_var_u32()?),
|
775
|
-
0x0d => visitor.visit_br_if(self.read_var_u32()?),
|
776
|
-
0x0e => visitor.visit_br_table(self.read_br_table()?),
|
777
|
-
0x0f => visitor.visit_return(),
|
778
|
-
0x10 => visitor.visit_call(self.read_var_u32()?),
|
779
|
-
0x11 => {
|
780
|
-
let index = self.read_var_u32()?;
|
781
|
-
let (table_byte, table_index) = self.read_first_byte_and_var_u32()?;
|
782
|
-
visitor.visit_call_indirect(index, table_index, table_byte)
|
783
|
-
}
|
784
|
-
0x12 => visitor.visit_return_call(self.read_var_u32()?),
|
785
|
-
0x13 => visitor.visit_return_call_indirect(self.read_var_u32()?, self.read_var_u32()?),
|
786
|
-
0x14 => visitor.visit_call_ref(self.read()?),
|
787
|
-
0x15 => visitor.visit_return_call_ref(self.read()?),
|
788
|
-
0x18 => visitor.visit_delegate(self.read_var_u32()?),
|
789
|
-
0x19 => visitor.visit_catch_all(),
|
790
|
-
0x1a => visitor.visit_drop(),
|
791
|
-
0x1b => visitor.visit_select(),
|
792
|
-
0x1c => {
|
793
|
-
let results = self.read_var_u32()?;
|
794
|
-
if results != 1 {
|
795
|
-
return Err(BinaryReaderError::new(
|
796
|
-
"invalid result arity",
|
797
|
-
self.position,
|
798
|
-
));
|
799
|
-
}
|
800
|
-
visitor.visit_typed_select(self.read()?)
|
801
|
-
}
|
802
|
-
|
803
|
-
0x20 => visitor.visit_local_get(self.read_var_u32()?),
|
804
|
-
0x21 => visitor.visit_local_set(self.read_var_u32()?),
|
805
|
-
0x22 => visitor.visit_local_tee(self.read_var_u32()?),
|
806
|
-
0x23 => visitor.visit_global_get(self.read_var_u32()?),
|
807
|
-
0x24 => visitor.visit_global_set(self.read_var_u32()?),
|
808
|
-
0x25 => visitor.visit_table_get(self.read_var_u32()?),
|
809
|
-
0x26 => visitor.visit_table_set(self.read_var_u32()?),
|
810
|
-
|
811
|
-
0x28 => visitor.visit_i32_load(self.read_memarg(2)?),
|
812
|
-
0x29 => visitor.visit_i64_load(self.read_memarg(3)?),
|
813
|
-
0x2a => visitor.visit_f32_load(self.read_memarg(2)?),
|
814
|
-
0x2b => visitor.visit_f64_load(self.read_memarg(3)?),
|
815
|
-
0x2c => visitor.visit_i32_load8_s(self.read_memarg(0)?),
|
816
|
-
0x2d => visitor.visit_i32_load8_u(self.read_memarg(0)?),
|
817
|
-
0x2e => visitor.visit_i32_load16_s(self.read_memarg(1)?),
|
818
|
-
0x2f => visitor.visit_i32_load16_u(self.read_memarg(1)?),
|
819
|
-
0x30 => visitor.visit_i64_load8_s(self.read_memarg(0)?),
|
820
|
-
0x31 => visitor.visit_i64_load8_u(self.read_memarg(0)?),
|
821
|
-
0x32 => visitor.visit_i64_load16_s(self.read_memarg(1)?),
|
822
|
-
0x33 => visitor.visit_i64_load16_u(self.read_memarg(1)?),
|
823
|
-
0x34 => visitor.visit_i64_load32_s(self.read_memarg(2)?),
|
824
|
-
0x35 => visitor.visit_i64_load32_u(self.read_memarg(2)?),
|
825
|
-
0x36 => visitor.visit_i32_store(self.read_memarg(2)?),
|
826
|
-
0x37 => visitor.visit_i64_store(self.read_memarg(3)?),
|
827
|
-
0x38 => visitor.visit_f32_store(self.read_memarg(2)?),
|
828
|
-
0x39 => visitor.visit_f64_store(self.read_memarg(3)?),
|
829
|
-
0x3a => visitor.visit_i32_store8(self.read_memarg(0)?),
|
830
|
-
0x3b => visitor.visit_i32_store16(self.read_memarg(1)?),
|
831
|
-
0x3c => visitor.visit_i64_store8(self.read_memarg(0)?),
|
832
|
-
0x3d => visitor.visit_i64_store16(self.read_memarg(1)?),
|
833
|
-
0x3e => visitor.visit_i64_store32(self.read_memarg(2)?),
|
834
|
-
0x3f => {
|
835
|
-
let (mem_byte, mem) = self.read_first_byte_and_var_u32()?;
|
836
|
-
visitor.visit_memory_size(mem, mem_byte)
|
837
|
-
}
|
838
|
-
0x40 => {
|
839
|
-
let (mem_byte, mem) = self.read_first_byte_and_var_u32()?;
|
840
|
-
visitor.visit_memory_grow(mem, mem_byte)
|
841
|
-
}
|
842
|
-
|
843
|
-
0x41 => visitor.visit_i32_const(self.read_var_i32()?),
|
844
|
-
0x42 => visitor.visit_i64_const(self.read_var_i64()?),
|
845
|
-
0x43 => visitor.visit_f32_const(self.read_f32()?),
|
846
|
-
0x44 => visitor.visit_f64_const(self.read_f64()?),
|
847
|
-
|
848
|
-
0x45 => visitor.visit_i32_eqz(),
|
849
|
-
0x46 => visitor.visit_i32_eq(),
|
850
|
-
0x47 => visitor.visit_i32_ne(),
|
851
|
-
0x48 => visitor.visit_i32_lt_s(),
|
852
|
-
0x49 => visitor.visit_i32_lt_u(),
|
853
|
-
0x4a => visitor.visit_i32_gt_s(),
|
854
|
-
0x4b => visitor.visit_i32_gt_u(),
|
855
|
-
0x4c => visitor.visit_i32_le_s(),
|
856
|
-
0x4d => visitor.visit_i32_le_u(),
|
857
|
-
0x4e => visitor.visit_i32_ge_s(),
|
858
|
-
0x4f => visitor.visit_i32_ge_u(),
|
859
|
-
0x50 => visitor.visit_i64_eqz(),
|
860
|
-
0x51 => visitor.visit_i64_eq(),
|
861
|
-
0x52 => visitor.visit_i64_ne(),
|
862
|
-
0x53 => visitor.visit_i64_lt_s(),
|
863
|
-
0x54 => visitor.visit_i64_lt_u(),
|
864
|
-
0x55 => visitor.visit_i64_gt_s(),
|
865
|
-
0x56 => visitor.visit_i64_gt_u(),
|
866
|
-
0x57 => visitor.visit_i64_le_s(),
|
867
|
-
0x58 => visitor.visit_i64_le_u(),
|
868
|
-
0x59 => visitor.visit_i64_ge_s(),
|
869
|
-
0x5a => visitor.visit_i64_ge_u(),
|
870
|
-
0x5b => visitor.visit_f32_eq(),
|
871
|
-
0x5c => visitor.visit_f32_ne(),
|
872
|
-
0x5d => visitor.visit_f32_lt(),
|
873
|
-
0x5e => visitor.visit_f32_gt(),
|
874
|
-
0x5f => visitor.visit_f32_le(),
|
875
|
-
0x60 => visitor.visit_f32_ge(),
|
876
|
-
0x61 => visitor.visit_f64_eq(),
|
877
|
-
0x62 => visitor.visit_f64_ne(),
|
878
|
-
0x63 => visitor.visit_f64_lt(),
|
879
|
-
0x64 => visitor.visit_f64_gt(),
|
880
|
-
0x65 => visitor.visit_f64_le(),
|
881
|
-
0x66 => visitor.visit_f64_ge(),
|
882
|
-
0x67 => visitor.visit_i32_clz(),
|
883
|
-
0x68 => visitor.visit_i32_ctz(),
|
884
|
-
0x69 => visitor.visit_i32_popcnt(),
|
885
|
-
0x6a => visitor.visit_i32_add(),
|
886
|
-
0x6b => visitor.visit_i32_sub(),
|
887
|
-
0x6c => visitor.visit_i32_mul(),
|
888
|
-
0x6d => visitor.visit_i32_div_s(),
|
889
|
-
0x6e => visitor.visit_i32_div_u(),
|
890
|
-
0x6f => visitor.visit_i32_rem_s(),
|
891
|
-
0x70 => visitor.visit_i32_rem_u(),
|
892
|
-
0x71 => visitor.visit_i32_and(),
|
893
|
-
0x72 => visitor.visit_i32_or(),
|
894
|
-
0x73 => visitor.visit_i32_xor(),
|
895
|
-
0x74 => visitor.visit_i32_shl(),
|
896
|
-
0x75 => visitor.visit_i32_shr_s(),
|
897
|
-
0x76 => visitor.visit_i32_shr_u(),
|
898
|
-
0x77 => visitor.visit_i32_rotl(),
|
899
|
-
0x78 => visitor.visit_i32_rotr(),
|
900
|
-
0x79 => visitor.visit_i64_clz(),
|
901
|
-
0x7a => visitor.visit_i64_ctz(),
|
902
|
-
0x7b => visitor.visit_i64_popcnt(),
|
903
|
-
0x7c => visitor.visit_i64_add(),
|
904
|
-
0x7d => visitor.visit_i64_sub(),
|
905
|
-
0x7e => visitor.visit_i64_mul(),
|
906
|
-
0x7f => visitor.visit_i64_div_s(),
|
907
|
-
0x80 => visitor.visit_i64_div_u(),
|
908
|
-
0x81 => visitor.visit_i64_rem_s(),
|
909
|
-
0x82 => visitor.visit_i64_rem_u(),
|
910
|
-
0x83 => visitor.visit_i64_and(),
|
911
|
-
0x84 => visitor.visit_i64_or(),
|
912
|
-
0x85 => visitor.visit_i64_xor(),
|
913
|
-
0x86 => visitor.visit_i64_shl(),
|
914
|
-
0x87 => visitor.visit_i64_shr_s(),
|
915
|
-
0x88 => visitor.visit_i64_shr_u(),
|
916
|
-
0x89 => visitor.visit_i64_rotl(),
|
917
|
-
0x8a => visitor.visit_i64_rotr(),
|
918
|
-
0x8b => visitor.visit_f32_abs(),
|
919
|
-
0x8c => visitor.visit_f32_neg(),
|
920
|
-
0x8d => visitor.visit_f32_ceil(),
|
921
|
-
0x8e => visitor.visit_f32_floor(),
|
922
|
-
0x8f => visitor.visit_f32_trunc(),
|
923
|
-
0x90 => visitor.visit_f32_nearest(),
|
924
|
-
0x91 => visitor.visit_f32_sqrt(),
|
925
|
-
0x92 => visitor.visit_f32_add(),
|
926
|
-
0x93 => visitor.visit_f32_sub(),
|
927
|
-
0x94 => visitor.visit_f32_mul(),
|
928
|
-
0x95 => visitor.visit_f32_div(),
|
929
|
-
0x96 => visitor.visit_f32_min(),
|
930
|
-
0x97 => visitor.visit_f32_max(),
|
931
|
-
0x98 => visitor.visit_f32_copysign(),
|
932
|
-
0x99 => visitor.visit_f64_abs(),
|
933
|
-
0x9a => visitor.visit_f64_neg(),
|
934
|
-
0x9b => visitor.visit_f64_ceil(),
|
935
|
-
0x9c => visitor.visit_f64_floor(),
|
936
|
-
0x9d => visitor.visit_f64_trunc(),
|
937
|
-
0x9e => visitor.visit_f64_nearest(),
|
938
|
-
0x9f => visitor.visit_f64_sqrt(),
|
939
|
-
0xa0 => visitor.visit_f64_add(),
|
940
|
-
0xa1 => visitor.visit_f64_sub(),
|
941
|
-
0xa2 => visitor.visit_f64_mul(),
|
942
|
-
0xa3 => visitor.visit_f64_div(),
|
943
|
-
0xa4 => visitor.visit_f64_min(),
|
944
|
-
0xa5 => visitor.visit_f64_max(),
|
945
|
-
0xa6 => visitor.visit_f64_copysign(),
|
946
|
-
0xa7 => visitor.visit_i32_wrap_i64(),
|
947
|
-
0xa8 => visitor.visit_i32_trunc_f32_s(),
|
948
|
-
0xa9 => visitor.visit_i32_trunc_f32_u(),
|
949
|
-
0xaa => visitor.visit_i32_trunc_f64_s(),
|
950
|
-
0xab => visitor.visit_i32_trunc_f64_u(),
|
951
|
-
0xac => visitor.visit_i64_extend_i32_s(),
|
952
|
-
0xad => visitor.visit_i64_extend_i32_u(),
|
953
|
-
0xae => visitor.visit_i64_trunc_f32_s(),
|
954
|
-
0xaf => visitor.visit_i64_trunc_f32_u(),
|
955
|
-
0xb0 => visitor.visit_i64_trunc_f64_s(),
|
956
|
-
0xb1 => visitor.visit_i64_trunc_f64_u(),
|
957
|
-
0xb2 => visitor.visit_f32_convert_i32_s(),
|
958
|
-
0xb3 => visitor.visit_f32_convert_i32_u(),
|
959
|
-
0xb4 => visitor.visit_f32_convert_i64_s(),
|
960
|
-
0xb5 => visitor.visit_f32_convert_i64_u(),
|
961
|
-
0xb6 => visitor.visit_f32_demote_f64(),
|
962
|
-
0xb7 => visitor.visit_f64_convert_i32_s(),
|
963
|
-
0xb8 => visitor.visit_f64_convert_i32_u(),
|
964
|
-
0xb9 => visitor.visit_f64_convert_i64_s(),
|
965
|
-
0xba => visitor.visit_f64_convert_i64_u(),
|
966
|
-
0xbb => visitor.visit_f64_promote_f32(),
|
967
|
-
0xbc => visitor.visit_i32_reinterpret_f32(),
|
968
|
-
0xbd => visitor.visit_i64_reinterpret_f64(),
|
969
|
-
0xbe => visitor.visit_f32_reinterpret_i32(),
|
970
|
-
0xbf => visitor.visit_f64_reinterpret_i64(),
|
971
|
-
|
972
|
-
0xc0 => visitor.visit_i32_extend8_s(),
|
973
|
-
0xc1 => visitor.visit_i32_extend16_s(),
|
974
|
-
0xc2 => visitor.visit_i64_extend8_s(),
|
975
|
-
0xc3 => visitor.visit_i64_extend16_s(),
|
976
|
-
0xc4 => visitor.visit_i64_extend32_s(),
|
977
|
-
|
978
|
-
0xd0 => visitor.visit_ref_null(self.read()?),
|
979
|
-
0xd1 => visitor.visit_ref_is_null(),
|
980
|
-
0xd2 => visitor.visit_ref_func(self.read_var_u32()?),
|
981
|
-
0xd4 => visitor.visit_ref_as_non_null(),
|
982
|
-
0xd5 => visitor.visit_br_on_null(self.read_var_u32()?),
|
983
|
-
0xd6 => visitor.visit_br_on_non_null(self.read_var_u32()?),
|
984
|
-
|
985
|
-
0xfb => self.visit_0xfb_operator(pos, visitor)?,
|
986
|
-
0xfc => self.visit_0xfc_operator(pos, visitor)?,
|
987
|
-
0xfd => self.visit_0xfd_operator(pos, visitor)?,
|
988
|
-
0xfe => self.visit_0xfe_operator(pos, visitor)?,
|
989
|
-
|
990
|
-
_ => bail!(pos, "illegal opcode: 0x{code:x}"),
|
991
|
-
})
|
992
|
-
}
|
993
|
-
|
994
|
-
fn visit_0xfb_operator<T>(
|
995
|
-
&mut self,
|
996
|
-
pos: usize,
|
997
|
-
visitor: &mut T,
|
998
|
-
) -> Result<<T as VisitOperator<'a>>::Output>
|
999
|
-
where
|
1000
|
-
T: VisitOperator<'a>,
|
1001
|
-
{
|
1002
|
-
let code = self.read_var_u32()?;
|
1003
|
-
Ok(match code {
|
1004
|
-
0x1c => visitor.visit_ref_i31(),
|
1005
|
-
0x1d => visitor.visit_i31_get_s(),
|
1006
|
-
0x1e => visitor.visit_i31_get_u(),
|
1007
|
-
|
1008
|
-
_ => bail!(pos, "unknown 0xfb subopcode: 0x{code:x}"),
|
1009
|
-
})
|
1010
|
-
}
|
1011
|
-
|
1012
|
-
fn visit_0xfc_operator<T>(
|
1013
|
-
&mut self,
|
1014
|
-
pos: usize,
|
1015
|
-
visitor: &mut T,
|
1016
|
-
) -> Result<<T as VisitOperator<'a>>::Output>
|
1017
|
-
where
|
1018
|
-
T: VisitOperator<'a>,
|
1019
|
-
{
|
1020
|
-
let code = self.read_var_u32()?;
|
1021
|
-
Ok(match code {
|
1022
|
-
0x00 => visitor.visit_i32_trunc_sat_f32_s(),
|
1023
|
-
0x01 => visitor.visit_i32_trunc_sat_f32_u(),
|
1024
|
-
0x02 => visitor.visit_i32_trunc_sat_f64_s(),
|
1025
|
-
0x03 => visitor.visit_i32_trunc_sat_f64_u(),
|
1026
|
-
0x04 => visitor.visit_i64_trunc_sat_f32_s(),
|
1027
|
-
0x05 => visitor.visit_i64_trunc_sat_f32_u(),
|
1028
|
-
0x06 => visitor.visit_i64_trunc_sat_f64_s(),
|
1029
|
-
0x07 => visitor.visit_i64_trunc_sat_f64_u(),
|
1030
|
-
|
1031
|
-
0x08 => {
|
1032
|
-
let segment = self.read_var_u32()?;
|
1033
|
-
let mem = self.read_var_u32()?;
|
1034
|
-
visitor.visit_memory_init(segment, mem)
|
1035
|
-
}
|
1036
|
-
0x09 => {
|
1037
|
-
let segment = self.read_var_u32()?;
|
1038
|
-
visitor.visit_data_drop(segment)
|
1039
|
-
}
|
1040
|
-
0x0a => {
|
1041
|
-
let dst = self.read_var_u32()?;
|
1042
|
-
let src = self.read_var_u32()?;
|
1043
|
-
visitor.visit_memory_copy(dst, src)
|
1044
|
-
}
|
1045
|
-
0x0b => {
|
1046
|
-
let mem = self.read_var_u32()?;
|
1047
|
-
visitor.visit_memory_fill(mem)
|
1048
|
-
}
|
1049
|
-
0x0c => {
|
1050
|
-
let segment = self.read_var_u32()?;
|
1051
|
-
let table = self.read_var_u32()?;
|
1052
|
-
visitor.visit_table_init(segment, table)
|
1053
|
-
}
|
1054
|
-
0x0d => {
|
1055
|
-
let segment = self.read_var_u32()?;
|
1056
|
-
visitor.visit_elem_drop(segment)
|
1057
|
-
}
|
1058
|
-
0x0e => {
|
1059
|
-
let dst_table = self.read_var_u32()?;
|
1060
|
-
let src_table = self.read_var_u32()?;
|
1061
|
-
visitor.visit_table_copy(dst_table, src_table)
|
1062
|
-
}
|
1063
|
-
|
1064
|
-
0x0f => {
|
1065
|
-
let table = self.read_var_u32()?;
|
1066
|
-
visitor.visit_table_grow(table)
|
1067
|
-
}
|
1068
|
-
0x10 => {
|
1069
|
-
let table = self.read_var_u32()?;
|
1070
|
-
visitor.visit_table_size(table)
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
0x11 => {
|
1074
|
-
let table = self.read_var_u32()?;
|
1075
|
-
visitor.visit_table_fill(table)
|
1076
|
-
}
|
1077
|
-
|
1078
|
-
0x12 => {
|
1079
|
-
let mem = self.read_var_u32()?;
|
1080
|
-
visitor.visit_memory_discard(mem)
|
1081
|
-
}
|
1082
|
-
|
1083
|
-
_ => bail!(pos, "unknown 0xfc subopcode: 0x{code:x}"),
|
1084
|
-
})
|
1085
|
-
}
|
1086
|
-
|
1087
|
-
fn visit_0xfd_operator<T>(
|
1088
|
-
&mut self,
|
1089
|
-
pos: usize,
|
1090
|
-
visitor: &mut T,
|
1091
|
-
) -> Result<<T as VisitOperator<'a>>::Output>
|
1092
|
-
where
|
1093
|
-
T: VisitOperator<'a>,
|
1094
|
-
{
|
1095
|
-
let code = self.read_var_u32()?;
|
1096
|
-
Ok(match code {
|
1097
|
-
0x00 => visitor.visit_v128_load(self.read_memarg(4)?),
|
1098
|
-
0x01 => visitor.visit_v128_load8x8_s(self.read_memarg(3)?),
|
1099
|
-
0x02 => visitor.visit_v128_load8x8_u(self.read_memarg(3)?),
|
1100
|
-
0x03 => visitor.visit_v128_load16x4_s(self.read_memarg(3)?),
|
1101
|
-
0x04 => visitor.visit_v128_load16x4_u(self.read_memarg(3)?),
|
1102
|
-
0x05 => visitor.visit_v128_load32x2_s(self.read_memarg(3)?),
|
1103
|
-
0x06 => visitor.visit_v128_load32x2_u(self.read_memarg(3)?),
|
1104
|
-
0x07 => visitor.visit_v128_load8_splat(self.read_memarg(0)?),
|
1105
|
-
0x08 => visitor.visit_v128_load16_splat(self.read_memarg(1)?),
|
1106
|
-
0x09 => visitor.visit_v128_load32_splat(self.read_memarg(2)?),
|
1107
|
-
0x0a => visitor.visit_v128_load64_splat(self.read_memarg(3)?),
|
1108
|
-
|
1109
|
-
0x0b => visitor.visit_v128_store(self.read_memarg(4)?),
|
1110
|
-
0x0c => visitor.visit_v128_const(self.read_v128()?),
|
1111
|
-
0x0d => {
|
1112
|
-
let mut lanes: [u8; 16] = [0; 16];
|
1113
|
-
for lane in &mut lanes {
|
1114
|
-
*lane = self.read_lane_index(32)?
|
1115
|
-
}
|
1116
|
-
visitor.visit_i8x16_shuffle(lanes)
|
1117
|
-
}
|
1118
|
-
|
1119
|
-
0x0e => visitor.visit_i8x16_swizzle(),
|
1120
|
-
0x0f => visitor.visit_i8x16_splat(),
|
1121
|
-
0x10 => visitor.visit_i16x8_splat(),
|
1122
|
-
0x11 => visitor.visit_i32x4_splat(),
|
1123
|
-
0x12 => visitor.visit_i64x2_splat(),
|
1124
|
-
0x13 => visitor.visit_f32x4_splat(),
|
1125
|
-
0x14 => visitor.visit_f64x2_splat(),
|
1126
|
-
|
1127
|
-
0x15 => visitor.visit_i8x16_extract_lane_s(self.read_lane_index(16)?),
|
1128
|
-
0x16 => visitor.visit_i8x16_extract_lane_u(self.read_lane_index(16)?),
|
1129
|
-
0x17 => visitor.visit_i8x16_replace_lane(self.read_lane_index(16)?),
|
1130
|
-
0x18 => visitor.visit_i16x8_extract_lane_s(self.read_lane_index(8)?),
|
1131
|
-
0x19 => visitor.visit_i16x8_extract_lane_u(self.read_lane_index(8)?),
|
1132
|
-
0x1a => visitor.visit_i16x8_replace_lane(self.read_lane_index(8)?),
|
1133
|
-
0x1b => visitor.visit_i32x4_extract_lane(self.read_lane_index(4)?),
|
1134
|
-
|
1135
|
-
0x1c => visitor.visit_i32x4_replace_lane(self.read_lane_index(4)?),
|
1136
|
-
0x1d => visitor.visit_i64x2_extract_lane(self.read_lane_index(2)?),
|
1137
|
-
0x1e => visitor.visit_i64x2_replace_lane(self.read_lane_index(2)?),
|
1138
|
-
0x1f => visitor.visit_f32x4_extract_lane(self.read_lane_index(4)?),
|
1139
|
-
0x20 => visitor.visit_f32x4_replace_lane(self.read_lane_index(4)?),
|
1140
|
-
0x21 => visitor.visit_f64x2_extract_lane(self.read_lane_index(2)?),
|
1141
|
-
0x22 => visitor.visit_f64x2_replace_lane(self.read_lane_index(2)?),
|
1142
|
-
|
1143
|
-
0x23 => visitor.visit_i8x16_eq(),
|
1144
|
-
0x24 => visitor.visit_i8x16_ne(),
|
1145
|
-
0x25 => visitor.visit_i8x16_lt_s(),
|
1146
|
-
0x26 => visitor.visit_i8x16_lt_u(),
|
1147
|
-
0x27 => visitor.visit_i8x16_gt_s(),
|
1148
|
-
0x28 => visitor.visit_i8x16_gt_u(),
|
1149
|
-
0x29 => visitor.visit_i8x16_le_s(),
|
1150
|
-
0x2a => visitor.visit_i8x16_le_u(),
|
1151
|
-
0x2b => visitor.visit_i8x16_ge_s(),
|
1152
|
-
0x2c => visitor.visit_i8x16_ge_u(),
|
1153
|
-
0x2d => visitor.visit_i16x8_eq(),
|
1154
|
-
0x2e => visitor.visit_i16x8_ne(),
|
1155
|
-
0x2f => visitor.visit_i16x8_lt_s(),
|
1156
|
-
0x30 => visitor.visit_i16x8_lt_u(),
|
1157
|
-
0x31 => visitor.visit_i16x8_gt_s(),
|
1158
|
-
0x32 => visitor.visit_i16x8_gt_u(),
|
1159
|
-
0x33 => visitor.visit_i16x8_le_s(),
|
1160
|
-
0x34 => visitor.visit_i16x8_le_u(),
|
1161
|
-
0x35 => visitor.visit_i16x8_ge_s(),
|
1162
|
-
0x36 => visitor.visit_i16x8_ge_u(),
|
1163
|
-
0x37 => visitor.visit_i32x4_eq(),
|
1164
|
-
0x38 => visitor.visit_i32x4_ne(),
|
1165
|
-
0x39 => visitor.visit_i32x4_lt_s(),
|
1166
|
-
0x3a => visitor.visit_i32x4_lt_u(),
|
1167
|
-
0x3b => visitor.visit_i32x4_gt_s(),
|
1168
|
-
0x3c => visitor.visit_i32x4_gt_u(),
|
1169
|
-
0x3d => visitor.visit_i32x4_le_s(),
|
1170
|
-
0x3e => visitor.visit_i32x4_le_u(),
|
1171
|
-
0x3f => visitor.visit_i32x4_ge_s(),
|
1172
|
-
0x40 => visitor.visit_i32x4_ge_u(),
|
1173
|
-
0x41 => visitor.visit_f32x4_eq(),
|
1174
|
-
0x42 => visitor.visit_f32x4_ne(),
|
1175
|
-
0x43 => visitor.visit_f32x4_lt(),
|
1176
|
-
0x44 => visitor.visit_f32x4_gt(),
|
1177
|
-
0x45 => visitor.visit_f32x4_le(),
|
1178
|
-
0x46 => visitor.visit_f32x4_ge(),
|
1179
|
-
0x47 => visitor.visit_f64x2_eq(),
|
1180
|
-
0x48 => visitor.visit_f64x2_ne(),
|
1181
|
-
0x49 => visitor.visit_f64x2_lt(),
|
1182
|
-
0x4a => visitor.visit_f64x2_gt(),
|
1183
|
-
0x4b => visitor.visit_f64x2_le(),
|
1184
|
-
0x4c => visitor.visit_f64x2_ge(),
|
1185
|
-
0x4d => visitor.visit_v128_not(),
|
1186
|
-
0x4e => visitor.visit_v128_and(),
|
1187
|
-
0x4f => visitor.visit_v128_andnot(),
|
1188
|
-
0x50 => visitor.visit_v128_or(),
|
1189
|
-
0x51 => visitor.visit_v128_xor(),
|
1190
|
-
0x52 => visitor.visit_v128_bitselect(),
|
1191
|
-
0x53 => visitor.visit_v128_any_true(),
|
1192
|
-
|
1193
|
-
0x54 => {
|
1194
|
-
let memarg = self.read_memarg(0)?;
|
1195
|
-
let lane = self.read_lane_index(16)?;
|
1196
|
-
visitor.visit_v128_load8_lane(memarg, lane)
|
1197
|
-
}
|
1198
|
-
0x55 => {
|
1199
|
-
let memarg = self.read_memarg(1)?;
|
1200
|
-
let lane = self.read_lane_index(8)?;
|
1201
|
-
visitor.visit_v128_load16_lane(memarg, lane)
|
1202
|
-
}
|
1203
|
-
0x56 => {
|
1204
|
-
let memarg = self.read_memarg(2)?;
|
1205
|
-
let lane = self.read_lane_index(4)?;
|
1206
|
-
visitor.visit_v128_load32_lane(memarg, lane)
|
1207
|
-
}
|
1208
|
-
0x57 => {
|
1209
|
-
let memarg = self.read_memarg(3)?;
|
1210
|
-
let lane = self.read_lane_index(2)?;
|
1211
|
-
visitor.visit_v128_load64_lane(memarg, lane)
|
1212
|
-
}
|
1213
|
-
0x58 => {
|
1214
|
-
let memarg = self.read_memarg(0)?;
|
1215
|
-
let lane = self.read_lane_index(16)?;
|
1216
|
-
visitor.visit_v128_store8_lane(memarg, lane)
|
1217
|
-
}
|
1218
|
-
0x59 => {
|
1219
|
-
let memarg = self.read_memarg(1)?;
|
1220
|
-
let lane = self.read_lane_index(8)?;
|
1221
|
-
visitor.visit_v128_store16_lane(memarg, lane)
|
1222
|
-
}
|
1223
|
-
0x5a => {
|
1224
|
-
let memarg = self.read_memarg(2)?;
|
1225
|
-
let lane = self.read_lane_index(4)?;
|
1226
|
-
visitor.visit_v128_store32_lane(memarg, lane)
|
1227
|
-
}
|
1228
|
-
0x5b => {
|
1229
|
-
let memarg = self.read_memarg(3)?;
|
1230
|
-
let lane = self.read_lane_index(2)?;
|
1231
|
-
visitor.visit_v128_store64_lane(memarg, lane)
|
1232
|
-
}
|
1233
|
-
|
1234
|
-
0x5c => visitor.visit_v128_load32_zero(self.read_memarg(2)?),
|
1235
|
-
0x5d => visitor.visit_v128_load64_zero(self.read_memarg(3)?),
|
1236
|
-
0x5e => visitor.visit_f32x4_demote_f64x2_zero(),
|
1237
|
-
0x5f => visitor.visit_f64x2_promote_low_f32x4(),
|
1238
|
-
0x60 => visitor.visit_i8x16_abs(),
|
1239
|
-
0x61 => visitor.visit_i8x16_neg(),
|
1240
|
-
0x62 => visitor.visit_i8x16_popcnt(),
|
1241
|
-
0x63 => visitor.visit_i8x16_all_true(),
|
1242
|
-
0x64 => visitor.visit_i8x16_bitmask(),
|
1243
|
-
0x65 => visitor.visit_i8x16_narrow_i16x8_s(),
|
1244
|
-
0x66 => visitor.visit_i8x16_narrow_i16x8_u(),
|
1245
|
-
0x67 => visitor.visit_f32x4_ceil(),
|
1246
|
-
0x68 => visitor.visit_f32x4_floor(),
|
1247
|
-
0x69 => visitor.visit_f32x4_trunc(),
|
1248
|
-
0x6a => visitor.visit_f32x4_nearest(),
|
1249
|
-
0x6b => visitor.visit_i8x16_shl(),
|
1250
|
-
0x6c => visitor.visit_i8x16_shr_s(),
|
1251
|
-
0x6d => visitor.visit_i8x16_shr_u(),
|
1252
|
-
0x6e => visitor.visit_i8x16_add(),
|
1253
|
-
0x6f => visitor.visit_i8x16_add_sat_s(),
|
1254
|
-
0x70 => visitor.visit_i8x16_add_sat_u(),
|
1255
|
-
0x71 => visitor.visit_i8x16_sub(),
|
1256
|
-
0x72 => visitor.visit_i8x16_sub_sat_s(),
|
1257
|
-
0x73 => visitor.visit_i8x16_sub_sat_u(),
|
1258
|
-
0x74 => visitor.visit_f64x2_ceil(),
|
1259
|
-
0x75 => visitor.visit_f64x2_floor(),
|
1260
|
-
0x76 => visitor.visit_i8x16_min_s(),
|
1261
|
-
0x77 => visitor.visit_i8x16_min_u(),
|
1262
|
-
0x78 => visitor.visit_i8x16_max_s(),
|
1263
|
-
0x79 => visitor.visit_i8x16_max_u(),
|
1264
|
-
0x7a => visitor.visit_f64x2_trunc(),
|
1265
|
-
0x7b => visitor.visit_i8x16_avgr_u(),
|
1266
|
-
0x7c => visitor.visit_i16x8_extadd_pairwise_i8x16_s(),
|
1267
|
-
0x7d => visitor.visit_i16x8_extadd_pairwise_i8x16_u(),
|
1268
|
-
0x7e => visitor.visit_i32x4_extadd_pairwise_i16x8_s(),
|
1269
|
-
0x7f => visitor.visit_i32x4_extadd_pairwise_i16x8_u(),
|
1270
|
-
0x80 => visitor.visit_i16x8_abs(),
|
1271
|
-
0x81 => visitor.visit_i16x8_neg(),
|
1272
|
-
0x82 => visitor.visit_i16x8_q15mulr_sat_s(),
|
1273
|
-
0x83 => visitor.visit_i16x8_all_true(),
|
1274
|
-
0x84 => visitor.visit_i16x8_bitmask(),
|
1275
|
-
0x85 => visitor.visit_i16x8_narrow_i32x4_s(),
|
1276
|
-
0x86 => visitor.visit_i16x8_narrow_i32x4_u(),
|
1277
|
-
0x87 => visitor.visit_i16x8_extend_low_i8x16_s(),
|
1278
|
-
0x88 => visitor.visit_i16x8_extend_high_i8x16_s(),
|
1279
|
-
0x89 => visitor.visit_i16x8_extend_low_i8x16_u(),
|
1280
|
-
0x8a => visitor.visit_i16x8_extend_high_i8x16_u(),
|
1281
|
-
0x8b => visitor.visit_i16x8_shl(),
|
1282
|
-
0x8c => visitor.visit_i16x8_shr_s(),
|
1283
|
-
0x8d => visitor.visit_i16x8_shr_u(),
|
1284
|
-
0x8e => visitor.visit_i16x8_add(),
|
1285
|
-
0x8f => visitor.visit_i16x8_add_sat_s(),
|
1286
|
-
0x90 => visitor.visit_i16x8_add_sat_u(),
|
1287
|
-
0x91 => visitor.visit_i16x8_sub(),
|
1288
|
-
0x92 => visitor.visit_i16x8_sub_sat_s(),
|
1289
|
-
0x93 => visitor.visit_i16x8_sub_sat_u(),
|
1290
|
-
0x94 => visitor.visit_f64x2_nearest(),
|
1291
|
-
0x95 => visitor.visit_i16x8_mul(),
|
1292
|
-
0x96 => visitor.visit_i16x8_min_s(),
|
1293
|
-
0x97 => visitor.visit_i16x8_min_u(),
|
1294
|
-
0x98 => visitor.visit_i16x8_max_s(),
|
1295
|
-
0x99 => visitor.visit_i16x8_max_u(),
|
1296
|
-
0x9b => visitor.visit_i16x8_avgr_u(),
|
1297
|
-
0x9c => visitor.visit_i16x8_extmul_low_i8x16_s(),
|
1298
|
-
0x9d => visitor.visit_i16x8_extmul_high_i8x16_s(),
|
1299
|
-
0x9e => visitor.visit_i16x8_extmul_low_i8x16_u(),
|
1300
|
-
0x9f => visitor.visit_i16x8_extmul_high_i8x16_u(),
|
1301
|
-
0xa0 => visitor.visit_i32x4_abs(),
|
1302
|
-
0xa1 => visitor.visit_i32x4_neg(),
|
1303
|
-
0xa3 => visitor.visit_i32x4_all_true(),
|
1304
|
-
0xa4 => visitor.visit_i32x4_bitmask(),
|
1305
|
-
0xa7 => visitor.visit_i32x4_extend_low_i16x8_s(),
|
1306
|
-
0xa8 => visitor.visit_i32x4_extend_high_i16x8_s(),
|
1307
|
-
0xa9 => visitor.visit_i32x4_extend_low_i16x8_u(),
|
1308
|
-
0xaa => visitor.visit_i32x4_extend_high_i16x8_u(),
|
1309
|
-
0xab => visitor.visit_i32x4_shl(),
|
1310
|
-
0xac => visitor.visit_i32x4_shr_s(),
|
1311
|
-
0xad => visitor.visit_i32x4_shr_u(),
|
1312
|
-
0xae => visitor.visit_i32x4_add(),
|
1313
|
-
0xb1 => visitor.visit_i32x4_sub(),
|
1314
|
-
0xb5 => visitor.visit_i32x4_mul(),
|
1315
|
-
0xb6 => visitor.visit_i32x4_min_s(),
|
1316
|
-
0xb7 => visitor.visit_i32x4_min_u(),
|
1317
|
-
0xb8 => visitor.visit_i32x4_max_s(),
|
1318
|
-
0xb9 => visitor.visit_i32x4_max_u(),
|
1319
|
-
0xba => visitor.visit_i32x4_dot_i16x8_s(),
|
1320
|
-
0xbc => visitor.visit_i32x4_extmul_low_i16x8_s(),
|
1321
|
-
0xbd => visitor.visit_i32x4_extmul_high_i16x8_s(),
|
1322
|
-
0xbe => visitor.visit_i32x4_extmul_low_i16x8_u(),
|
1323
|
-
0xbf => visitor.visit_i32x4_extmul_high_i16x8_u(),
|
1324
|
-
0xc0 => visitor.visit_i64x2_abs(),
|
1325
|
-
0xc1 => visitor.visit_i64x2_neg(),
|
1326
|
-
0xc3 => visitor.visit_i64x2_all_true(),
|
1327
|
-
0xc4 => visitor.visit_i64x2_bitmask(),
|
1328
|
-
0xc7 => visitor.visit_i64x2_extend_low_i32x4_s(),
|
1329
|
-
0xc8 => visitor.visit_i64x2_extend_high_i32x4_s(),
|
1330
|
-
0xc9 => visitor.visit_i64x2_extend_low_i32x4_u(),
|
1331
|
-
0xca => visitor.visit_i64x2_extend_high_i32x4_u(),
|
1332
|
-
0xcb => visitor.visit_i64x2_shl(),
|
1333
|
-
0xcc => visitor.visit_i64x2_shr_s(),
|
1334
|
-
0xcd => visitor.visit_i64x2_shr_u(),
|
1335
|
-
0xce => visitor.visit_i64x2_add(),
|
1336
|
-
0xd1 => visitor.visit_i64x2_sub(),
|
1337
|
-
0xd5 => visitor.visit_i64x2_mul(),
|
1338
|
-
0xd6 => visitor.visit_i64x2_eq(),
|
1339
|
-
0xd7 => visitor.visit_i64x2_ne(),
|
1340
|
-
0xd8 => visitor.visit_i64x2_lt_s(),
|
1341
|
-
0xd9 => visitor.visit_i64x2_gt_s(),
|
1342
|
-
0xda => visitor.visit_i64x2_le_s(),
|
1343
|
-
0xdb => visitor.visit_i64x2_ge_s(),
|
1344
|
-
0xdc => visitor.visit_i64x2_extmul_low_i32x4_s(),
|
1345
|
-
0xdd => visitor.visit_i64x2_extmul_high_i32x4_s(),
|
1346
|
-
0xde => visitor.visit_i64x2_extmul_low_i32x4_u(),
|
1347
|
-
0xdf => visitor.visit_i64x2_extmul_high_i32x4_u(),
|
1348
|
-
0xe0 => visitor.visit_f32x4_abs(),
|
1349
|
-
0xe1 => visitor.visit_f32x4_neg(),
|
1350
|
-
0xe3 => visitor.visit_f32x4_sqrt(),
|
1351
|
-
0xe4 => visitor.visit_f32x4_add(),
|
1352
|
-
0xe5 => visitor.visit_f32x4_sub(),
|
1353
|
-
0xe6 => visitor.visit_f32x4_mul(),
|
1354
|
-
0xe7 => visitor.visit_f32x4_div(),
|
1355
|
-
0xe8 => visitor.visit_f32x4_min(),
|
1356
|
-
0xe9 => visitor.visit_f32x4_max(),
|
1357
|
-
0xea => visitor.visit_f32x4_pmin(),
|
1358
|
-
0xeb => visitor.visit_f32x4_pmax(),
|
1359
|
-
0xec => visitor.visit_f64x2_abs(),
|
1360
|
-
0xed => visitor.visit_f64x2_neg(),
|
1361
|
-
0xef => visitor.visit_f64x2_sqrt(),
|
1362
|
-
0xf0 => visitor.visit_f64x2_add(),
|
1363
|
-
0xf1 => visitor.visit_f64x2_sub(),
|
1364
|
-
0xf2 => visitor.visit_f64x2_mul(),
|
1365
|
-
0xf3 => visitor.visit_f64x2_div(),
|
1366
|
-
0xf4 => visitor.visit_f64x2_min(),
|
1367
|
-
0xf5 => visitor.visit_f64x2_max(),
|
1368
|
-
0xf6 => visitor.visit_f64x2_pmin(),
|
1369
|
-
0xf7 => visitor.visit_f64x2_pmax(),
|
1370
|
-
0xf8 => visitor.visit_i32x4_trunc_sat_f32x4_s(),
|
1371
|
-
0xf9 => visitor.visit_i32x4_trunc_sat_f32x4_u(),
|
1372
|
-
0xfa => visitor.visit_f32x4_convert_i32x4_s(),
|
1373
|
-
0xfb => visitor.visit_f32x4_convert_i32x4_u(),
|
1374
|
-
0xfc => visitor.visit_i32x4_trunc_sat_f64x2_s_zero(),
|
1375
|
-
0xfd => visitor.visit_i32x4_trunc_sat_f64x2_u_zero(),
|
1376
|
-
0xfe => visitor.visit_f64x2_convert_low_i32x4_s(),
|
1377
|
-
0xff => visitor.visit_f64x2_convert_low_i32x4_u(),
|
1378
|
-
0x100 => visitor.visit_i8x16_relaxed_swizzle(),
|
1379
|
-
0x101 => visitor.visit_i32x4_relaxed_trunc_f32x4_s(),
|
1380
|
-
0x102 => visitor.visit_i32x4_relaxed_trunc_f32x4_u(),
|
1381
|
-
0x103 => visitor.visit_i32x4_relaxed_trunc_f64x2_s_zero(),
|
1382
|
-
0x104 => visitor.visit_i32x4_relaxed_trunc_f64x2_u_zero(),
|
1383
|
-
0x105 => visitor.visit_f32x4_relaxed_madd(),
|
1384
|
-
0x106 => visitor.visit_f32x4_relaxed_nmadd(),
|
1385
|
-
0x107 => visitor.visit_f64x2_relaxed_madd(),
|
1386
|
-
0x108 => visitor.visit_f64x2_relaxed_nmadd(),
|
1387
|
-
0x109 => visitor.visit_i8x16_relaxed_laneselect(),
|
1388
|
-
0x10a => visitor.visit_i16x8_relaxed_laneselect(),
|
1389
|
-
0x10b => visitor.visit_i32x4_relaxed_laneselect(),
|
1390
|
-
0x10c => visitor.visit_i64x2_relaxed_laneselect(),
|
1391
|
-
0x10d => visitor.visit_f32x4_relaxed_min(),
|
1392
|
-
0x10e => visitor.visit_f32x4_relaxed_max(),
|
1393
|
-
0x10f => visitor.visit_f64x2_relaxed_min(),
|
1394
|
-
0x110 => visitor.visit_f64x2_relaxed_max(),
|
1395
|
-
0x111 => visitor.visit_i16x8_relaxed_q15mulr_s(),
|
1396
|
-
0x112 => visitor.visit_i16x8_relaxed_dot_i8x16_i7x16_s(),
|
1397
|
-
0x113 => visitor.visit_i32x4_relaxed_dot_i8x16_i7x16_add_s(),
|
1398
|
-
|
1399
|
-
_ => bail!(pos, "unknown 0xfd subopcode: 0x{code:x}"),
|
1400
|
-
})
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
fn visit_0xfe_operator<T>(
|
1404
|
-
&mut self,
|
1405
|
-
pos: usize,
|
1406
|
-
visitor: &mut T,
|
1407
|
-
) -> Result<<T as VisitOperator<'a>>::Output>
|
1408
|
-
where
|
1409
|
-
T: VisitOperator<'a>,
|
1410
|
-
{
|
1411
|
-
let code = self.read_var_u32()?;
|
1412
|
-
Ok(match code {
|
1413
|
-
0x00 => visitor.visit_memory_atomic_notify(self.read_memarg(2)?),
|
1414
|
-
0x01 => visitor.visit_memory_atomic_wait32(self.read_memarg(2)?),
|
1415
|
-
0x02 => visitor.visit_memory_atomic_wait64(self.read_memarg(3)?),
|
1416
|
-
0x03 => {
|
1417
|
-
if self.read_u8()? != 0 {
|
1418
|
-
bail!(pos, "nonzero byte after `atomic.fence`");
|
1419
|
-
}
|
1420
|
-
visitor.visit_atomic_fence()
|
1421
|
-
}
|
1422
|
-
0x10 => visitor.visit_i32_atomic_load(self.read_memarg(2)?),
|
1423
|
-
0x11 => visitor.visit_i64_atomic_load(self.read_memarg(3)?),
|
1424
|
-
0x12 => visitor.visit_i32_atomic_load8_u(self.read_memarg(0)?),
|
1425
|
-
0x13 => visitor.visit_i32_atomic_load16_u(self.read_memarg(1)?),
|
1426
|
-
0x14 => visitor.visit_i64_atomic_load8_u(self.read_memarg(0)?),
|
1427
|
-
0x15 => visitor.visit_i64_atomic_load16_u(self.read_memarg(1)?),
|
1428
|
-
0x16 => visitor.visit_i64_atomic_load32_u(self.read_memarg(2)?),
|
1429
|
-
0x17 => visitor.visit_i32_atomic_store(self.read_memarg(2)?),
|
1430
|
-
0x18 => visitor.visit_i64_atomic_store(self.read_memarg(3)?),
|
1431
|
-
0x19 => visitor.visit_i32_atomic_store8(self.read_memarg(0)?),
|
1432
|
-
0x1a => visitor.visit_i32_atomic_store16(self.read_memarg(1)?),
|
1433
|
-
0x1b => visitor.visit_i64_atomic_store8(self.read_memarg(0)?),
|
1434
|
-
0x1c => visitor.visit_i64_atomic_store16(self.read_memarg(1)?),
|
1435
|
-
0x1d => visitor.visit_i64_atomic_store32(self.read_memarg(2)?),
|
1436
|
-
0x1e => visitor.visit_i32_atomic_rmw_add(self.read_memarg(2)?),
|
1437
|
-
0x1f => visitor.visit_i64_atomic_rmw_add(self.read_memarg(3)?),
|
1438
|
-
0x20 => visitor.visit_i32_atomic_rmw8_add_u(self.read_memarg(0)?),
|
1439
|
-
0x21 => visitor.visit_i32_atomic_rmw16_add_u(self.read_memarg(1)?),
|
1440
|
-
0x22 => visitor.visit_i64_atomic_rmw8_add_u(self.read_memarg(0)?),
|
1441
|
-
0x23 => visitor.visit_i64_atomic_rmw16_add_u(self.read_memarg(1)?),
|
1442
|
-
0x24 => visitor.visit_i64_atomic_rmw32_add_u(self.read_memarg(2)?),
|
1443
|
-
0x25 => visitor.visit_i32_atomic_rmw_sub(self.read_memarg(2)?),
|
1444
|
-
0x26 => visitor.visit_i64_atomic_rmw_sub(self.read_memarg(3)?),
|
1445
|
-
0x27 => visitor.visit_i32_atomic_rmw8_sub_u(self.read_memarg(0)?),
|
1446
|
-
0x28 => visitor.visit_i32_atomic_rmw16_sub_u(self.read_memarg(1)?),
|
1447
|
-
0x29 => visitor.visit_i64_atomic_rmw8_sub_u(self.read_memarg(0)?),
|
1448
|
-
0x2a => visitor.visit_i64_atomic_rmw16_sub_u(self.read_memarg(1)?),
|
1449
|
-
0x2b => visitor.visit_i64_atomic_rmw32_sub_u(self.read_memarg(2)?),
|
1450
|
-
0x2c => visitor.visit_i32_atomic_rmw_and(self.read_memarg(2)?),
|
1451
|
-
0x2d => visitor.visit_i64_atomic_rmw_and(self.read_memarg(3)?),
|
1452
|
-
0x2e => visitor.visit_i32_atomic_rmw8_and_u(self.read_memarg(0)?),
|
1453
|
-
0x2f => visitor.visit_i32_atomic_rmw16_and_u(self.read_memarg(1)?),
|
1454
|
-
0x30 => visitor.visit_i64_atomic_rmw8_and_u(self.read_memarg(0)?),
|
1455
|
-
0x31 => visitor.visit_i64_atomic_rmw16_and_u(self.read_memarg(1)?),
|
1456
|
-
0x32 => visitor.visit_i64_atomic_rmw32_and_u(self.read_memarg(2)?),
|
1457
|
-
0x33 => visitor.visit_i32_atomic_rmw_or(self.read_memarg(2)?),
|
1458
|
-
0x34 => visitor.visit_i64_atomic_rmw_or(self.read_memarg(3)?),
|
1459
|
-
0x35 => visitor.visit_i32_atomic_rmw8_or_u(self.read_memarg(0)?),
|
1460
|
-
0x36 => visitor.visit_i32_atomic_rmw16_or_u(self.read_memarg(1)?),
|
1461
|
-
0x37 => visitor.visit_i64_atomic_rmw8_or_u(self.read_memarg(0)?),
|
1462
|
-
0x38 => visitor.visit_i64_atomic_rmw16_or_u(self.read_memarg(1)?),
|
1463
|
-
0x39 => visitor.visit_i64_atomic_rmw32_or_u(self.read_memarg(2)?),
|
1464
|
-
0x3a => visitor.visit_i32_atomic_rmw_xor(self.read_memarg(2)?),
|
1465
|
-
0x3b => visitor.visit_i64_atomic_rmw_xor(self.read_memarg(3)?),
|
1466
|
-
0x3c => visitor.visit_i32_atomic_rmw8_xor_u(self.read_memarg(0)?),
|
1467
|
-
0x3d => visitor.visit_i32_atomic_rmw16_xor_u(self.read_memarg(1)?),
|
1468
|
-
0x3e => visitor.visit_i64_atomic_rmw8_xor_u(self.read_memarg(0)?),
|
1469
|
-
0x3f => visitor.visit_i64_atomic_rmw16_xor_u(self.read_memarg(1)?),
|
1470
|
-
0x40 => visitor.visit_i64_atomic_rmw32_xor_u(self.read_memarg(2)?),
|
1471
|
-
0x41 => visitor.visit_i32_atomic_rmw_xchg(self.read_memarg(2)?),
|
1472
|
-
0x42 => visitor.visit_i64_atomic_rmw_xchg(self.read_memarg(3)?),
|
1473
|
-
0x43 => visitor.visit_i32_atomic_rmw8_xchg_u(self.read_memarg(0)?),
|
1474
|
-
0x44 => visitor.visit_i32_atomic_rmw16_xchg_u(self.read_memarg(1)?),
|
1475
|
-
0x45 => visitor.visit_i64_atomic_rmw8_xchg_u(self.read_memarg(0)?),
|
1476
|
-
0x46 => visitor.visit_i64_atomic_rmw16_xchg_u(self.read_memarg(1)?),
|
1477
|
-
0x47 => visitor.visit_i64_atomic_rmw32_xchg_u(self.read_memarg(2)?),
|
1478
|
-
0x48 => visitor.visit_i32_atomic_rmw_cmpxchg(self.read_memarg(2)?),
|
1479
|
-
0x49 => visitor.visit_i64_atomic_rmw_cmpxchg(self.read_memarg(3)?),
|
1480
|
-
0x4a => visitor.visit_i32_atomic_rmw8_cmpxchg_u(self.read_memarg(0)?),
|
1481
|
-
0x4b => visitor.visit_i32_atomic_rmw16_cmpxchg_u(self.read_memarg(1)?),
|
1482
|
-
0x4c => visitor.visit_i64_atomic_rmw8_cmpxchg_u(self.read_memarg(0)?),
|
1483
|
-
0x4d => visitor.visit_i64_atomic_rmw16_cmpxchg_u(self.read_memarg(1)?),
|
1484
|
-
0x4e => visitor.visit_i64_atomic_rmw32_cmpxchg_u(self.read_memarg(2)?),
|
1485
|
-
|
1486
|
-
_ => bail!(pos, "unknown 0xfe subopcode: 0x{code:x}"),
|
1487
|
-
})
|
1488
|
-
}
|
1489
|
-
|
1490
|
-
/// Reads the next available `Operator`.
|
1491
|
-
///
|
1492
|
-
/// # Errors
|
1493
|
-
///
|
1494
|
-
/// If `BinaryReader` has less bytes remaining than required to parse
|
1495
|
-
/// the `Operator`.
|
1496
|
-
pub fn read_operator(&mut self) -> Result<Operator<'a>> {
|
1497
|
-
self.visit_operator(&mut OperatorFactory::new())
|
1498
|
-
}
|
1499
|
-
|
1500
|
-
fn read_lane_index(&mut self, max: u8) -> Result<u8> {
|
1501
|
-
let index = self.read_u8()?;
|
1502
|
-
if index >= max {
|
1503
|
-
return Err(BinaryReaderError::new(
|
1504
|
-
"invalid lane index",
|
1505
|
-
self.original_position() - 1,
|
1506
|
-
));
|
1507
|
-
}
|
1508
|
-
Ok(index)
|
1509
|
-
}
|
1510
|
-
|
1511
|
-
fn read_v128(&mut self) -> Result<V128> {
|
1512
|
-
let mut bytes = [0; 16];
|
1513
|
-
bytes.clone_from_slice(self.read_bytes(16)?);
|
1514
|
-
Ok(V128(bytes))
|
1515
|
-
}
|
1516
|
-
|
1517
|
-
pub(crate) fn read_header_version(&mut self) -> Result<u32> {
|
1518
|
-
let magic_number = self.read_bytes(4)?;
|
1519
|
-
if magic_number != WASM_MAGIC_NUMBER {
|
1520
|
-
return Err(BinaryReaderError::new(
|
1521
|
-
"magic header not detected: bad magic number",
|
1522
|
-
self.original_position() - 4,
|
1523
|
-
));
|
1524
|
-
}
|
1525
|
-
self.read_u32()
|
1526
|
-
}
|
1527
|
-
|
1528
|
-
pub(crate) fn skip_const_expr(&mut self) -> Result<()> {
|
1529
|
-
// TODO add skip_operator() method and/or validate ConstExpr operators.
|
1530
|
-
loop {
|
1531
|
-
if let Operator::End = self.read_operator()? {
|
1532
|
-
return Ok(());
|
1533
|
-
}
|
1534
|
-
}
|
1535
|
-
}
|
1536
|
-
}
|
1537
|
-
|
1538
|
-
impl<'a> BrTable<'a> {
|
1539
|
-
/// Returns the number of `br_table` entries, not including the default
|
1540
|
-
/// label
|
1541
|
-
pub fn len(&self) -> u32 {
|
1542
|
-
self.cnt
|
1543
|
-
}
|
1544
|
-
|
1545
|
-
/// Returns whether `BrTable` doesn't have any labels apart from the default one.
|
1546
|
-
pub fn is_empty(&self) -> bool {
|
1547
|
-
self.len() == 0
|
1548
|
-
}
|
1549
|
-
|
1550
|
-
/// Returns the default target of this `br_table` instruction.
|
1551
|
-
pub fn default(&self) -> u32 {
|
1552
|
-
self.default
|
1553
|
-
}
|
1554
|
-
|
1555
|
-
/// Returns the list of targets that this `br_table` instruction will be
|
1556
|
-
/// jumping to.
|
1557
|
-
///
|
1558
|
-
/// This method will return an iterator which parses each target of this
|
1559
|
-
/// `br_table` except the default target. The returned iterator will
|
1560
|
-
/// yield `self.len()` elements.
|
1561
|
-
///
|
1562
|
-
/// # Examples
|
1563
|
-
///
|
1564
|
-
/// ```rust
|
1565
|
-
/// let buf = [0x0e, 0x02, 0x01, 0x02, 0x00];
|
1566
|
-
/// let mut reader = wasmparser::BinaryReader::new(&buf);
|
1567
|
-
/// let op = reader.read_operator().unwrap();
|
1568
|
-
/// if let wasmparser::Operator::BrTable { targets } = op {
|
1569
|
-
/// let targets = targets.targets().collect::<Result<Vec<_>, _>>().unwrap();
|
1570
|
-
/// assert_eq!(targets, [1, 2]);
|
1571
|
-
/// }
|
1572
|
-
/// ```
|
1573
|
-
pub fn targets(&self) -> BrTableTargets {
|
1574
|
-
BrTableTargets {
|
1575
|
-
reader: self.reader.clone(),
|
1576
|
-
remaining: self.cnt,
|
1577
|
-
}
|
1578
|
-
}
|
1579
|
-
}
|
1580
|
-
|
1581
|
-
/// An iterator over the targets of a [`BrTable`].
|
1582
|
-
///
|
1583
|
-
/// # Note
|
1584
|
-
///
|
1585
|
-
/// This iterator parses each target of the underlying `br_table`
|
1586
|
-
/// except for the default target.
|
1587
|
-
/// The iterator will yield exactly as many targets as the `br_table` has.
|
1588
|
-
pub struct BrTableTargets<'a> {
|
1589
|
-
reader: crate::BinaryReader<'a>,
|
1590
|
-
remaining: u32,
|
1591
|
-
}
|
1592
|
-
|
1593
|
-
impl<'a> Iterator for BrTableTargets<'a> {
|
1594
|
-
type Item = Result<u32>;
|
1595
|
-
|
1596
|
-
fn size_hint(&self) -> (usize, Option<usize>) {
|
1597
|
-
let remaining = usize::try_from(self.remaining).unwrap_or_else(|error| {
|
1598
|
-
panic!("could not convert remaining `u32` into `usize`: {}", error)
|
1599
|
-
});
|
1600
|
-
(remaining, Some(remaining))
|
1601
|
-
}
|
1602
|
-
|
1603
|
-
fn next(&mut self) -> Option<Self::Item> {
|
1604
|
-
if self.remaining == 0 {
|
1605
|
-
if !self.reader.eof() {
|
1606
|
-
return Some(Err(BinaryReaderError::new(
|
1607
|
-
"trailing data in br_table",
|
1608
|
-
self.reader.original_position(),
|
1609
|
-
)));
|
1610
|
-
}
|
1611
|
-
return None;
|
1612
|
-
}
|
1613
|
-
self.remaining -= 1;
|
1614
|
-
Some(self.reader.read_var_u32())
|
1615
|
-
}
|
1616
|
-
}
|
1617
|
-
|
1618
|
-
impl fmt::Debug for BrTable<'_> {
|
1619
|
-
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
1620
|
-
let mut f = f.debug_struct("BrTable");
|
1621
|
-
f.field("count", &self.cnt);
|
1622
|
-
f.field("default", &self.default);
|
1623
|
-
match self.targets().collect::<Result<Vec<_>>>() {
|
1624
|
-
Ok(targets) => {
|
1625
|
-
f.field("targets", &targets);
|
1626
|
-
}
|
1627
|
-
Err(_) => {
|
1628
|
-
f.field("reader", &self.reader);
|
1629
|
-
}
|
1630
|
-
}
|
1631
|
-
f.finish()
|
1632
|
-
}
|
1633
|
-
}
|
1634
|
-
|
1635
|
-
/// A factory to construct [`Operator`] instances via the [`VisitOperator`] trait.
|
1636
|
-
struct OperatorFactory<'a> {
|
1637
|
-
marker: core::marker::PhantomData<fn() -> &'a ()>,
|
1638
|
-
}
|
1639
|
-
|
1640
|
-
impl<'a> OperatorFactory<'a> {
|
1641
|
-
/// Creates a new [`OperatorFactory`].
|
1642
|
-
fn new() -> Self {
|
1643
|
-
Self {
|
1644
|
-
marker: core::marker::PhantomData,
|
1645
|
-
}
|
1646
|
-
}
|
1647
|
-
}
|
1648
|
-
|
1649
|
-
macro_rules! define_visit_operator {
|
1650
|
-
($(@$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
|
1651
|
-
$(
|
1652
|
-
fn $visit(&mut self $($(,$arg: $argty)*)?) -> Operator<'a> {
|
1653
|
-
Operator::$op $({ $($arg),* })?
|
1654
|
-
}
|
1655
|
-
)*
|
1656
|
-
}
|
1657
|
-
}
|
1658
|
-
|
1659
|
-
impl<'a> VisitOperator<'a> for OperatorFactory<'a> {
|
1660
|
-
type Output = Operator<'a>;
|
1661
|
-
|
1662
|
-
for_each_operator!(define_visit_operator);
|
1663
|
-
}
|
1664
|
-
|
1665
|
-
/// Iterator returned from [`BinaryReader::read_iter`].
|
1666
|
-
pub struct BinaryReaderIter<'a, 'me, T: FromReader<'a>> {
|
1667
|
-
remaining: usize,
|
1668
|
-
reader: &'me mut BinaryReader<'a>,
|
1669
|
-
_marker: marker::PhantomData<T>,
|
1670
|
-
}
|
1671
|
-
|
1672
|
-
impl<'a, T> Iterator for BinaryReaderIter<'a, '_, T>
|
1673
|
-
where
|
1674
|
-
T: FromReader<'a>,
|
1675
|
-
{
|
1676
|
-
type Item = Result<T>;
|
1677
|
-
|
1678
|
-
fn next(&mut self) -> Option<Result<T>> {
|
1679
|
-
if self.remaining == 0 {
|
1680
|
-
None
|
1681
|
-
} else {
|
1682
|
-
let ret = self.reader.read::<T>();
|
1683
|
-
if ret.is_err() {
|
1684
|
-
self.remaining = 0;
|
1685
|
-
} else {
|
1686
|
-
self.remaining -= 1;
|
1687
|
-
}
|
1688
|
-
Some(ret)
|
1689
|
-
}
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
fn size_hint(&self) -> (usize, Option<usize>) {
|
1693
|
-
(self.remaining, Some(self.remaining))
|
1694
|
-
}
|
1695
|
-
}
|
1696
|
-
|
1697
|
-
impl<'a, T> Drop for BinaryReaderIter<'a, '_, T>
|
1698
|
-
where
|
1699
|
-
T: FromReader<'a>,
|
1700
|
-
{
|
1701
|
-
fn drop(&mut self) {
|
1702
|
-
while self.next().is_some() {
|
1703
|
-
// ...
|
1704
|
-
}
|
1705
|
-
}
|
1706
|
-
}
|