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,1603 +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::{
|
17
|
-
limits::*, BinaryReaderError, Encoding, FromReader, FunctionBody, HeapType, Parser, Payload,
|
18
|
-
Result, SectionLimited, ValType, WASM_COMPONENT_VERSION, WASM_MODULE_VERSION,
|
19
|
-
};
|
20
|
-
use std::mem;
|
21
|
-
use std::ops::Range;
|
22
|
-
use std::sync::Arc;
|
23
|
-
|
24
|
-
/// Test whether the given buffer contains a valid WebAssembly module or component,
|
25
|
-
/// analogous to [`WebAssembly.validate`][js] in the JS API.
|
26
|
-
///
|
27
|
-
/// This functions requires the bytes to validate are entirely resident in memory.
|
28
|
-
/// Additionally this validates the given bytes with the default set of WebAssembly
|
29
|
-
/// features implemented by `wasmparser`.
|
30
|
-
///
|
31
|
-
/// For more fine-tuned control over validation it's recommended to review the
|
32
|
-
/// documentation of [`Validator`].
|
33
|
-
///
|
34
|
-
/// Upon success, the type information for the top-level module or component will
|
35
|
-
/// be returned.
|
36
|
-
///
|
37
|
-
/// [js]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/validate
|
38
|
-
pub fn validate(bytes: &[u8]) -> Result<Types> {
|
39
|
-
Validator::new().validate_all(bytes)
|
40
|
-
}
|
41
|
-
|
42
|
-
#[test]
|
43
|
-
fn test_validate() {
|
44
|
-
assert!(validate(&[0x0, 0x61, 0x73, 0x6d, 0x1, 0x0, 0x0, 0x0]).is_ok());
|
45
|
-
assert!(validate(&[0x0, 0x61, 0x73, 0x6d, 0x2, 0x0, 0x0, 0x0]).is_err());
|
46
|
-
}
|
47
|
-
|
48
|
-
mod component;
|
49
|
-
mod core;
|
50
|
-
mod func;
|
51
|
-
pub mod names;
|
52
|
-
mod operators;
|
53
|
-
pub mod types;
|
54
|
-
|
55
|
-
use self::component::*;
|
56
|
-
pub use self::core::ValidatorResources;
|
57
|
-
use self::core::*;
|
58
|
-
use self::types::{TypeAlloc, Types, TypesRef};
|
59
|
-
pub use func::{FuncToValidate, FuncValidator, FuncValidatorAllocations};
|
60
|
-
pub use operators::{Frame, FrameKind};
|
61
|
-
|
62
|
-
fn check_max(cur_len: usize, amt_added: u32, max: usize, desc: &str, offset: usize) -> Result<()> {
|
63
|
-
if max
|
64
|
-
.checked_sub(cur_len)
|
65
|
-
.and_then(|amt| amt.checked_sub(amt_added as usize))
|
66
|
-
.is_none()
|
67
|
-
{
|
68
|
-
if max == 1 {
|
69
|
-
bail!(offset, "multiple {desc}");
|
70
|
-
}
|
71
|
-
|
72
|
-
bail!(offset, "{desc} count exceeds limit of {max}");
|
73
|
-
}
|
74
|
-
|
75
|
-
Ok(())
|
76
|
-
}
|
77
|
-
|
78
|
-
fn combine_type_sizes(a: u32, b: u32, offset: usize) -> Result<u32> {
|
79
|
-
match a.checked_add(b) {
|
80
|
-
Some(sum) if sum < MAX_WASM_TYPE_SIZE => Ok(sum),
|
81
|
-
_ => Err(format_err!(
|
82
|
-
offset,
|
83
|
-
"effective type size exceeds the limit of {MAX_WASM_TYPE_SIZE}",
|
84
|
-
)),
|
85
|
-
}
|
86
|
-
}
|
87
|
-
|
88
|
-
/// Validator for a WebAssembly binary module or component.
|
89
|
-
///
|
90
|
-
/// This structure encapsulates state necessary to validate a WebAssembly
|
91
|
-
/// binary. This implements validation as defined by the [core
|
92
|
-
/// specification][core]. A `Validator` is designed, like
|
93
|
-
/// [`Parser`], to accept incremental input over time.
|
94
|
-
/// Additionally a `Validator` is also designed for parallel validation of
|
95
|
-
/// functions as they are received.
|
96
|
-
///
|
97
|
-
/// It's expected that you'll be using a [`Parser`] in tandem with a
|
98
|
-
/// `Validator`. As each [`Payload`](crate::Payload) is received from a
|
99
|
-
/// [`Parser`] you'll pass it into a `Validator` to test the validity of the
|
100
|
-
/// payload. Note that all payloads received from a [`Parser`] are expected to
|
101
|
-
/// be passed to a [`Validator`]. For example if you receive
|
102
|
-
/// [`Payload::TypeSection`](crate::Payload) you'll call
|
103
|
-
/// [`Validator::type_section`] to validate this.
|
104
|
-
///
|
105
|
-
/// The design of [`Validator`] is intended that you'll interleave, in your own
|
106
|
-
/// application's processing, calls to validation. Each variant, after it's
|
107
|
-
/// received, will be validated and then your application would proceed as
|
108
|
-
/// usual. At all times, however, you'll have access to the [`Validator`] and
|
109
|
-
/// the validation context up to that point. This enables applications to check
|
110
|
-
/// the types of functions and learn how many globals there are, for example.
|
111
|
-
///
|
112
|
-
/// [core]: https://webassembly.github.io/spec/core/valid/index.html
|
113
|
-
#[derive(Default)]
|
114
|
-
pub struct Validator {
|
115
|
-
/// The current state of the validator.
|
116
|
-
state: State,
|
117
|
-
|
118
|
-
/// The global type space used by the validator and any sub-validators.
|
119
|
-
types: TypeAlloc,
|
120
|
-
|
121
|
-
/// The module state when parsing a WebAssembly module.
|
122
|
-
module: Option<ModuleState>,
|
123
|
-
|
124
|
-
/// With the component model enabled, this stores the pushed component states.
|
125
|
-
/// The top of the stack is the current component state.
|
126
|
-
components: Vec<ComponentState>,
|
127
|
-
|
128
|
-
/// Enabled WebAssembly feature flags, dictating what's valid and what
|
129
|
-
/// isn't.
|
130
|
-
features: WasmFeatures,
|
131
|
-
}
|
132
|
-
|
133
|
-
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
|
134
|
-
enum State {
|
135
|
-
/// A header has not yet been parsed.
|
136
|
-
///
|
137
|
-
/// The value is the expected encoding for the header.
|
138
|
-
Unparsed(Option<Encoding>),
|
139
|
-
/// A module header has been parsed.
|
140
|
-
///
|
141
|
-
/// The associated module state is available via [`Validator::module`].
|
142
|
-
Module,
|
143
|
-
/// A component header has been parsed.
|
144
|
-
///
|
145
|
-
/// The associated component state exists at the top of the
|
146
|
-
/// validator's [`Validator::components`] stack.
|
147
|
-
Component,
|
148
|
-
/// The parse has completed and no more data is expected.
|
149
|
-
End,
|
150
|
-
}
|
151
|
-
|
152
|
-
impl State {
|
153
|
-
fn ensure_parsable(&self, offset: usize) -> Result<()> {
|
154
|
-
match self {
|
155
|
-
Self::Module | Self::Component => Ok(()),
|
156
|
-
Self::Unparsed(_) => Err(BinaryReaderError::new(
|
157
|
-
"unexpected section before header was parsed",
|
158
|
-
offset,
|
159
|
-
)),
|
160
|
-
Self::End => Err(BinaryReaderError::new(
|
161
|
-
"unexpected section after parsing has completed",
|
162
|
-
offset,
|
163
|
-
)),
|
164
|
-
}
|
165
|
-
}
|
166
|
-
|
167
|
-
fn ensure_module(&self, section: &str, offset: usize) -> Result<()> {
|
168
|
-
self.ensure_parsable(offset)?;
|
169
|
-
|
170
|
-
match self {
|
171
|
-
Self::Module => Ok(()),
|
172
|
-
Self::Component => Err(format_err!(
|
173
|
-
offset,
|
174
|
-
"unexpected module {section} section while parsing a component",
|
175
|
-
)),
|
176
|
-
_ => unreachable!(),
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
fn ensure_component(&self, section: &str, offset: usize) -> Result<()> {
|
181
|
-
self.ensure_parsable(offset)?;
|
182
|
-
|
183
|
-
match self {
|
184
|
-
Self::Component => Ok(()),
|
185
|
-
Self::Module => Err(format_err!(
|
186
|
-
offset,
|
187
|
-
"unexpected component {section} section while parsing a module",
|
188
|
-
)),
|
189
|
-
_ => unreachable!(),
|
190
|
-
}
|
191
|
-
}
|
192
|
-
}
|
193
|
-
|
194
|
-
impl Default for State {
|
195
|
-
fn default() -> Self {
|
196
|
-
Self::Unparsed(None)
|
197
|
-
}
|
198
|
-
}
|
199
|
-
|
200
|
-
/// Flags for features that are enabled for validation.
|
201
|
-
#[derive(Hash, Debug, Copy, Clone)]
|
202
|
-
pub struct WasmFeatures {
|
203
|
-
/// The WebAssembly `mutable-global` proposal (enabled by default)
|
204
|
-
pub mutable_global: bool,
|
205
|
-
/// The WebAssembly `nontrapping-float-to-int-conversions` proposal (enabled by default)
|
206
|
-
pub saturating_float_to_int: bool,
|
207
|
-
/// The WebAssembly `sign-extension-ops` proposal (enabled by default)
|
208
|
-
pub sign_extension: bool,
|
209
|
-
/// The WebAssembly reference types proposal (enabled by default)
|
210
|
-
pub reference_types: bool,
|
211
|
-
/// The WebAssembly multi-value proposal (enabled by default)
|
212
|
-
pub multi_value: bool,
|
213
|
-
/// The WebAssembly bulk memory operations proposal (enabled by default)
|
214
|
-
pub bulk_memory: bool,
|
215
|
-
/// The WebAssembly SIMD proposal (enabled by default)
|
216
|
-
pub simd: bool,
|
217
|
-
/// The WebAssembly Relaxed SIMD proposal (enabled by default)
|
218
|
-
pub relaxed_simd: bool,
|
219
|
-
/// The WebAssembly threads proposal (enabled by default)
|
220
|
-
pub threads: bool,
|
221
|
-
/// The WebAssembly tail-call proposal (enabled by default)
|
222
|
-
pub tail_call: bool,
|
223
|
-
/// Whether or not floating-point instructions are enabled.
|
224
|
-
///
|
225
|
-
/// This is enabled by default can be used to disallow floating-point
|
226
|
-
/// operators and types.
|
227
|
-
///
|
228
|
-
/// This does not correspond to a WebAssembly proposal but is instead
|
229
|
-
/// intended for embeddings which have stricter-than-usual requirements
|
230
|
-
/// about execution. Floats in WebAssembly can have different NaN patterns
|
231
|
-
/// across hosts which can lead to host-dependent execution which some
|
232
|
-
/// runtimes may not desire.
|
233
|
-
pub floats: bool,
|
234
|
-
/// The WebAssembly multi memory proposal (enabled by default)
|
235
|
-
pub multi_memory: bool,
|
236
|
-
/// The WebAssembly exception handling proposal
|
237
|
-
pub exceptions: bool,
|
238
|
-
/// The WebAssembly memory64 proposal
|
239
|
-
pub memory64: bool,
|
240
|
-
/// The WebAssembly extended_const proposal
|
241
|
-
pub extended_const: bool,
|
242
|
-
/// The WebAssembly component model proposal.
|
243
|
-
pub component_model: bool,
|
244
|
-
/// The WebAssembly typed function references proposal
|
245
|
-
pub function_references: bool,
|
246
|
-
/// The WebAssembly memory control proposal
|
247
|
-
pub memory_control: bool,
|
248
|
-
/// The WebAssembly gc proposal
|
249
|
-
pub gc: bool,
|
250
|
-
/// Support for the `value` type in the component model proposal.
|
251
|
-
pub component_model_values: bool,
|
252
|
-
}
|
253
|
-
|
254
|
-
impl WasmFeatures {
|
255
|
-
/// Returns [`WasmFeatures`] with all features enabled.
|
256
|
-
pub fn all() -> Self {
|
257
|
-
WasmFeatures {
|
258
|
-
mutable_global: true,
|
259
|
-
saturating_float_to_int: true,
|
260
|
-
sign_extension: true,
|
261
|
-
reference_types: true,
|
262
|
-
multi_value: true,
|
263
|
-
bulk_memory: true,
|
264
|
-
simd: true,
|
265
|
-
relaxed_simd: true,
|
266
|
-
threads: true,
|
267
|
-
tail_call: true,
|
268
|
-
floats: true,
|
269
|
-
multi_memory: true,
|
270
|
-
exceptions: true,
|
271
|
-
memory64: true,
|
272
|
-
extended_const: true,
|
273
|
-
component_model: true,
|
274
|
-
function_references: true,
|
275
|
-
memory_control: true,
|
276
|
-
gc: true,
|
277
|
-
component_model_values: true,
|
278
|
-
}
|
279
|
-
}
|
280
|
-
|
281
|
-
/// NOTE: This only checks that the value type corresponds to the feature set!!
|
282
|
-
///
|
283
|
-
/// To check that reference types are valid, we need access to the module
|
284
|
-
/// types. Use module.check_value_type.
|
285
|
-
pub(crate) fn check_value_type(&self, ty: ValType) -> Result<(), &'static str> {
|
286
|
-
match ty {
|
287
|
-
ValType::I32 | ValType::I64 => Ok(()),
|
288
|
-
ValType::F32 | ValType::F64 => {
|
289
|
-
if self.floats {
|
290
|
-
Ok(())
|
291
|
-
} else {
|
292
|
-
Err("floating-point support is disabled")
|
293
|
-
}
|
294
|
-
}
|
295
|
-
ValType::Ref(r) => {
|
296
|
-
if !self.reference_types {
|
297
|
-
return Err("reference types support is not enabled");
|
298
|
-
}
|
299
|
-
match (r.heap_type(), r.is_nullable()) {
|
300
|
-
// funcref/externref only require `reference-types`
|
301
|
-
(HeapType::Func, true) | (HeapType::Extern, true) => Ok(()),
|
302
|
-
|
303
|
-
// non-nullable func/extern references requires the
|
304
|
-
// `function-references` proposal
|
305
|
-
(HeapType::Func | HeapType::Extern, false) => {
|
306
|
-
if self.function_references {
|
307
|
-
Ok(())
|
308
|
-
} else {
|
309
|
-
Err("function references required for non-nullable types")
|
310
|
-
}
|
311
|
-
}
|
312
|
-
// indexed types require at least the function-references
|
313
|
-
// proposal
|
314
|
-
(HeapType::Concrete(_), _) => {
|
315
|
-
if self.function_references {
|
316
|
-
Ok(())
|
317
|
-
} else {
|
318
|
-
Err("function references required for index reference types")
|
319
|
-
}
|
320
|
-
}
|
321
|
-
|
322
|
-
// types added in the gc proposal
|
323
|
-
(
|
324
|
-
HeapType::Any
|
325
|
-
| HeapType::None
|
326
|
-
| HeapType::Eq
|
327
|
-
| HeapType::Struct
|
328
|
-
| HeapType::Array
|
329
|
-
| HeapType::I31
|
330
|
-
| HeapType::NoExtern
|
331
|
-
| HeapType::NoFunc,
|
332
|
-
_,
|
333
|
-
) => {
|
334
|
-
if self.gc {
|
335
|
-
Ok(())
|
336
|
-
} else {
|
337
|
-
Err("heap types not supported without the gc feature")
|
338
|
-
}
|
339
|
-
}
|
340
|
-
}
|
341
|
-
}
|
342
|
-
ValType::V128 => {
|
343
|
-
if self.simd {
|
344
|
-
Ok(())
|
345
|
-
} else {
|
346
|
-
Err("SIMD support is not enabled")
|
347
|
-
}
|
348
|
-
}
|
349
|
-
}
|
350
|
-
}
|
351
|
-
}
|
352
|
-
|
353
|
-
impl Default for WasmFeatures {
|
354
|
-
fn default() -> WasmFeatures {
|
355
|
-
WasmFeatures {
|
356
|
-
// Off-by-default features.
|
357
|
-
exceptions: false,
|
358
|
-
memory64: false,
|
359
|
-
extended_const: false,
|
360
|
-
component_model: false,
|
361
|
-
function_references: false,
|
362
|
-
memory_control: false,
|
363
|
-
gc: false,
|
364
|
-
component_model_values: false,
|
365
|
-
|
366
|
-
// On-by-default features (phase 4 or greater).
|
367
|
-
mutable_global: true,
|
368
|
-
saturating_float_to_int: true,
|
369
|
-
sign_extension: true,
|
370
|
-
bulk_memory: true,
|
371
|
-
multi_value: true,
|
372
|
-
reference_types: true,
|
373
|
-
tail_call: true,
|
374
|
-
simd: true,
|
375
|
-
floats: true,
|
376
|
-
relaxed_simd: true,
|
377
|
-
threads: true,
|
378
|
-
multi_memory: true,
|
379
|
-
}
|
380
|
-
}
|
381
|
-
}
|
382
|
-
|
383
|
-
/// Possible return values from [`Validator::payload`].
|
384
|
-
#[allow(clippy::large_enum_variant)]
|
385
|
-
pub enum ValidPayload<'a> {
|
386
|
-
/// The payload validated, no further action need be taken.
|
387
|
-
Ok,
|
388
|
-
/// The payload validated, but it started a nested module or component.
|
389
|
-
///
|
390
|
-
/// This result indicates that the specified parser should be used instead
|
391
|
-
/// of the currently-used parser until this returned one ends.
|
392
|
-
Parser(Parser),
|
393
|
-
/// A function was found to be validate.
|
394
|
-
Func(FuncToValidate<ValidatorResources>, FunctionBody<'a>),
|
395
|
-
/// The end payload was validated and the types known to the validator
|
396
|
-
/// are provided.
|
397
|
-
End(Types),
|
398
|
-
}
|
399
|
-
|
400
|
-
impl Validator {
|
401
|
-
/// Creates a new [`Validator`] ready to validate a WebAssembly module
|
402
|
-
/// or component.
|
403
|
-
///
|
404
|
-
/// The new validator will receive payloads parsed from
|
405
|
-
/// [`Parser`], and expects the first payload received to be
|
406
|
-
/// the version header from the parser.
|
407
|
-
pub fn new() -> Validator {
|
408
|
-
Validator::default()
|
409
|
-
}
|
410
|
-
|
411
|
-
/// Creates a new [`Validator`] which has the specified set of wasm
|
412
|
-
/// features activated for validation.
|
413
|
-
///
|
414
|
-
/// This function is the same as [`Validator::new`] except it also allows
|
415
|
-
/// you to customize the active wasm features in use for validation. This
|
416
|
-
/// can allow enabling experimental proposals or also turning off
|
417
|
-
/// on-by-default wasm proposals.
|
418
|
-
pub fn new_with_features(features: WasmFeatures) -> Validator {
|
419
|
-
let mut ret = Validator::new();
|
420
|
-
ret.features = features;
|
421
|
-
ret
|
422
|
-
}
|
423
|
-
|
424
|
-
/// Returns the wasm features used for this validator.
|
425
|
-
pub fn features(&self) -> &WasmFeatures {
|
426
|
-
&self.features
|
427
|
-
}
|
428
|
-
|
429
|
-
/// Validates an entire in-memory module or component with this validator.
|
430
|
-
///
|
431
|
-
/// This function will internally create a [`Parser`] to parse the `bytes`
|
432
|
-
/// provided. The entire module or component specified by `bytes` will be
|
433
|
-
/// parsed and validated.
|
434
|
-
///
|
435
|
-
/// Upon success, the type information for the top-level module or component
|
436
|
-
/// will be returned.
|
437
|
-
pub fn validate_all(&mut self, bytes: &[u8]) -> Result<Types> {
|
438
|
-
let mut functions_to_validate = Vec::new();
|
439
|
-
let mut last_types = None;
|
440
|
-
for payload in Parser::new(0).parse_all(bytes) {
|
441
|
-
match self.payload(&payload?)? {
|
442
|
-
ValidPayload::Func(a, b) => {
|
443
|
-
functions_to_validate.push((a, b));
|
444
|
-
}
|
445
|
-
ValidPayload::End(types) => {
|
446
|
-
// Only the last (top-level) type information will be returned
|
447
|
-
last_types = Some(types);
|
448
|
-
}
|
449
|
-
_ => {}
|
450
|
-
}
|
451
|
-
}
|
452
|
-
|
453
|
-
let mut allocs = FuncValidatorAllocations::default();
|
454
|
-
for (func, body) in functions_to_validate {
|
455
|
-
let mut validator = func.into_validator(allocs);
|
456
|
-
validator.validate(&body)?;
|
457
|
-
allocs = validator.into_allocations();
|
458
|
-
}
|
459
|
-
|
460
|
-
Ok(last_types.unwrap())
|
461
|
-
}
|
462
|
-
|
463
|
-
/// Gets the types known by the validator so far within the
|
464
|
-
/// module/component `level` modules/components up from the
|
465
|
-
/// module/component currently being parsed.
|
466
|
-
///
|
467
|
-
/// For instance, calling `validator.types(0)` will get the types of the
|
468
|
-
/// module/component currently being parsed, and `validator.types(1)` will
|
469
|
-
/// get the types of the component containing that module/component.
|
470
|
-
///
|
471
|
-
/// Returns `None` if there is no module/component that many levels up.
|
472
|
-
pub fn types(&self, mut level: usize) -> Option<TypesRef> {
|
473
|
-
if let Some(module) = &self.module {
|
474
|
-
if level == 0 {
|
475
|
-
return Some(TypesRef::from_module(&self.types, &module.module));
|
476
|
-
} else {
|
477
|
-
level -= 1;
|
478
|
-
}
|
479
|
-
}
|
480
|
-
|
481
|
-
self.components
|
482
|
-
.iter()
|
483
|
-
.nth_back(level)
|
484
|
-
.map(|component| TypesRef::from_component(&self.types, component))
|
485
|
-
}
|
486
|
-
|
487
|
-
/// Convenience function to validate a single [`Payload`].
|
488
|
-
///
|
489
|
-
/// This function is intended to be used as a convenience. It will
|
490
|
-
/// internally perform any validation necessary to validate the [`Payload`]
|
491
|
-
/// provided. The convenience part is that you're likely already going to
|
492
|
-
/// be matching on [`Payload`] in your application, at which point it's more
|
493
|
-
/// appropriate to call the individual methods on [`Validator`] per-variant
|
494
|
-
/// in [`Payload`], such as [`Validator::type_section`].
|
495
|
-
///
|
496
|
-
/// This function returns a [`ValidPayload`] variant on success, indicating
|
497
|
-
/// one of a few possible actions that need to be taken after a payload is
|
498
|
-
/// validated. For example function contents are not validated here, they're
|
499
|
-
/// returned through [`ValidPayload`] for validation by the caller.
|
500
|
-
pub fn payload<'a>(&mut self, payload: &Payload<'a>) -> Result<ValidPayload<'a>> {
|
501
|
-
use crate::Payload::*;
|
502
|
-
match payload {
|
503
|
-
Version {
|
504
|
-
num,
|
505
|
-
encoding,
|
506
|
-
range,
|
507
|
-
} => self.version(*num, *encoding, range)?,
|
508
|
-
|
509
|
-
// Module sections
|
510
|
-
TypeSection(s) => self.type_section(s)?,
|
511
|
-
ImportSection(s) => self.import_section(s)?,
|
512
|
-
FunctionSection(s) => self.function_section(s)?,
|
513
|
-
TableSection(s) => self.table_section(s)?,
|
514
|
-
MemorySection(s) => self.memory_section(s)?,
|
515
|
-
TagSection(s) => self.tag_section(s)?,
|
516
|
-
GlobalSection(s) => self.global_section(s)?,
|
517
|
-
ExportSection(s) => self.export_section(s)?,
|
518
|
-
StartSection { func, range } => self.start_section(*func, range)?,
|
519
|
-
ElementSection(s) => self.element_section(s)?,
|
520
|
-
DataCountSection { count, range } => self.data_count_section(*count, range)?,
|
521
|
-
CodeSectionStart {
|
522
|
-
count,
|
523
|
-
range,
|
524
|
-
size: _,
|
525
|
-
} => self.code_section_start(*count, range)?,
|
526
|
-
CodeSectionEntry(body) => {
|
527
|
-
let func_validator = self.code_section_entry(body)?;
|
528
|
-
return Ok(ValidPayload::Func(func_validator, body.clone()));
|
529
|
-
}
|
530
|
-
DataSection(s) => self.data_section(s)?,
|
531
|
-
|
532
|
-
// Component sections
|
533
|
-
ModuleSection { parser, range, .. } => {
|
534
|
-
self.module_section(range)?;
|
535
|
-
return Ok(ValidPayload::Parser(parser.clone()));
|
536
|
-
}
|
537
|
-
InstanceSection(s) => self.instance_section(s)?,
|
538
|
-
CoreTypeSection(s) => self.core_type_section(s)?,
|
539
|
-
ComponentSection { parser, range, .. } => {
|
540
|
-
self.component_section(range)?;
|
541
|
-
return Ok(ValidPayload::Parser(parser.clone()));
|
542
|
-
}
|
543
|
-
ComponentInstanceSection(s) => self.component_instance_section(s)?,
|
544
|
-
ComponentAliasSection(s) => self.component_alias_section(s)?,
|
545
|
-
ComponentTypeSection(s) => self.component_type_section(s)?,
|
546
|
-
ComponentCanonicalSection(s) => self.component_canonical_section(s)?,
|
547
|
-
ComponentStartSection { start, range } => self.component_start_section(start, range)?,
|
548
|
-
ComponentImportSection(s) => self.component_import_section(s)?,
|
549
|
-
ComponentExportSection(s) => self.component_export_section(s)?,
|
550
|
-
|
551
|
-
End(offset) => return Ok(ValidPayload::End(self.end(*offset)?)),
|
552
|
-
|
553
|
-
CustomSection { .. } => {} // no validation for custom sections
|
554
|
-
UnknownSection { id, range, .. } => self.unknown_section(*id, range)?,
|
555
|
-
}
|
556
|
-
Ok(ValidPayload::Ok)
|
557
|
-
}
|
558
|
-
|
559
|
-
/// Validates [`Payload::Version`](crate::Payload).
|
560
|
-
pub fn version(&mut self, num: u16, encoding: Encoding, range: &Range<usize>) -> Result<()> {
|
561
|
-
match &self.state {
|
562
|
-
State::Unparsed(expected) => {
|
563
|
-
if let Some(expected) = expected {
|
564
|
-
if *expected != encoding {
|
565
|
-
bail!(
|
566
|
-
range.start,
|
567
|
-
"expected a version header for a {}",
|
568
|
-
match expected {
|
569
|
-
Encoding::Module => "module",
|
570
|
-
Encoding::Component => "component",
|
571
|
-
}
|
572
|
-
);
|
573
|
-
}
|
574
|
-
}
|
575
|
-
}
|
576
|
-
_ => {
|
577
|
-
return Err(BinaryReaderError::new(
|
578
|
-
"wasm version header out of order",
|
579
|
-
range.start,
|
580
|
-
))
|
581
|
-
}
|
582
|
-
}
|
583
|
-
|
584
|
-
self.state = match encoding {
|
585
|
-
Encoding::Module => {
|
586
|
-
if num == WASM_MODULE_VERSION {
|
587
|
-
assert!(self.module.is_none());
|
588
|
-
self.module = Some(ModuleState::default());
|
589
|
-
State::Module
|
590
|
-
} else {
|
591
|
-
bail!(range.start, "unknown binary version: {num:#x}");
|
592
|
-
}
|
593
|
-
}
|
594
|
-
Encoding::Component => {
|
595
|
-
if !self.features.component_model {
|
596
|
-
bail!(
|
597
|
-
range.start,
|
598
|
-
"unknown binary version and encoding combination: {num:#x} and 0x1, \
|
599
|
-
note: encoded as a component but the WebAssembly component model feature \
|
600
|
-
is not enabled - enable the feature to allow component validation",
|
601
|
-
);
|
602
|
-
}
|
603
|
-
if num == WASM_COMPONENT_VERSION {
|
604
|
-
self.components
|
605
|
-
.push(ComponentState::new(ComponentKind::Component));
|
606
|
-
State::Component
|
607
|
-
} else if num < WASM_COMPONENT_VERSION {
|
608
|
-
bail!(range.start, "unsupported component version: {num:#x}");
|
609
|
-
} else {
|
610
|
-
bail!(range.start, "unknown component version: {num:#x}");
|
611
|
-
}
|
612
|
-
}
|
613
|
-
};
|
614
|
-
|
615
|
-
Ok(())
|
616
|
-
}
|
617
|
-
|
618
|
-
/// Validates [`Payload::TypeSection`](crate::Payload).
|
619
|
-
pub fn type_section(&mut self, section: &crate::TypeSectionReader<'_>) -> Result<()> {
|
620
|
-
self.process_module_section(
|
621
|
-
Order::Type,
|
622
|
-
section,
|
623
|
-
"type",
|
624
|
-
|state, _, _types, count, offset| {
|
625
|
-
check_max(
|
626
|
-
state.module.types.len(),
|
627
|
-
count,
|
628
|
-
MAX_WASM_TYPES,
|
629
|
-
"types",
|
630
|
-
offset,
|
631
|
-
)?;
|
632
|
-
state.module.assert_mut().types.reserve(count as usize);
|
633
|
-
Ok(())
|
634
|
-
},
|
635
|
-
|state, features, types, def, offset| {
|
636
|
-
state
|
637
|
-
.module
|
638
|
-
.assert_mut()
|
639
|
-
.add_types(&def, features, types, offset, true)?;
|
640
|
-
Ok(())
|
641
|
-
},
|
642
|
-
)
|
643
|
-
}
|
644
|
-
|
645
|
-
/// Validates [`Payload::ImportSection`](crate::Payload).
|
646
|
-
///
|
647
|
-
/// This method should only be called when parsing a module.
|
648
|
-
pub fn import_section(&mut self, section: &crate::ImportSectionReader<'_>) -> Result<()> {
|
649
|
-
self.process_module_section(
|
650
|
-
Order::Import,
|
651
|
-
section,
|
652
|
-
"import",
|
653
|
-
|_, _, _, _, _| Ok(()), // add_import will check limits
|
654
|
-
|state, features, types, import, offset| {
|
655
|
-
state
|
656
|
-
.module
|
657
|
-
.assert_mut()
|
658
|
-
.add_import(import, features, types, offset)
|
659
|
-
},
|
660
|
-
)
|
661
|
-
}
|
662
|
-
|
663
|
-
/// Validates [`Payload::FunctionSection`](crate::Payload).
|
664
|
-
///
|
665
|
-
/// This method should only be called when parsing a module.
|
666
|
-
pub fn function_section(&mut self, section: &crate::FunctionSectionReader<'_>) -> Result<()> {
|
667
|
-
self.process_module_section(
|
668
|
-
Order::Function,
|
669
|
-
section,
|
670
|
-
"function",
|
671
|
-
|state, _, _, count, offset| {
|
672
|
-
check_max(
|
673
|
-
state.module.functions.len(),
|
674
|
-
count,
|
675
|
-
MAX_WASM_FUNCTIONS,
|
676
|
-
"functions",
|
677
|
-
offset,
|
678
|
-
)?;
|
679
|
-
state.module.assert_mut().functions.reserve(count as usize);
|
680
|
-
debug_assert!(state.expected_code_bodies.is_none());
|
681
|
-
state.expected_code_bodies = Some(count);
|
682
|
-
Ok(())
|
683
|
-
},
|
684
|
-
|state, _, types, ty, offset| state.module.assert_mut().add_function(ty, types, offset),
|
685
|
-
)
|
686
|
-
}
|
687
|
-
|
688
|
-
/// Validates [`Payload::TableSection`](crate::Payload).
|
689
|
-
///
|
690
|
-
/// This method should only be called when parsing a module.
|
691
|
-
pub fn table_section(&mut self, section: &crate::TableSectionReader<'_>) -> Result<()> {
|
692
|
-
let features = self.features;
|
693
|
-
self.process_module_section(
|
694
|
-
Order::Table,
|
695
|
-
section,
|
696
|
-
"table",
|
697
|
-
|state, _, _, count, offset| {
|
698
|
-
check_max(
|
699
|
-
state.module.tables.len(),
|
700
|
-
count,
|
701
|
-
state.module.max_tables(&features),
|
702
|
-
"tables",
|
703
|
-
offset,
|
704
|
-
)?;
|
705
|
-
state.module.assert_mut().tables.reserve(count as usize);
|
706
|
-
Ok(())
|
707
|
-
},
|
708
|
-
|state, features, types, table, offset| state.add_table(table, features, types, offset),
|
709
|
-
)
|
710
|
-
}
|
711
|
-
|
712
|
-
/// Validates [`Payload::MemorySection`](crate::Payload).
|
713
|
-
///
|
714
|
-
/// This method should only be called when parsing a module.
|
715
|
-
pub fn memory_section(&mut self, section: &crate::MemorySectionReader<'_>) -> Result<()> {
|
716
|
-
self.process_module_section(
|
717
|
-
Order::Memory,
|
718
|
-
section,
|
719
|
-
"memory",
|
720
|
-
|state, features, _, count, offset| {
|
721
|
-
check_max(
|
722
|
-
state.module.memories.len(),
|
723
|
-
count,
|
724
|
-
state.module.max_memories(features),
|
725
|
-
"memories",
|
726
|
-
offset,
|
727
|
-
)?;
|
728
|
-
state.module.assert_mut().memories.reserve(count as usize);
|
729
|
-
Ok(())
|
730
|
-
},
|
731
|
-
|state, features, _, ty, offset| {
|
732
|
-
state.module.assert_mut().add_memory(ty, features, offset)
|
733
|
-
},
|
734
|
-
)
|
735
|
-
}
|
736
|
-
|
737
|
-
/// Validates [`Payload::TagSection`](crate::Payload).
|
738
|
-
///
|
739
|
-
/// This method should only be called when parsing a module.
|
740
|
-
pub fn tag_section(&mut self, section: &crate::TagSectionReader<'_>) -> Result<()> {
|
741
|
-
if !self.features.exceptions {
|
742
|
-
return Err(BinaryReaderError::new(
|
743
|
-
"exceptions proposal not enabled",
|
744
|
-
section.range().start,
|
745
|
-
));
|
746
|
-
}
|
747
|
-
|
748
|
-
self.process_module_section(
|
749
|
-
Order::Tag,
|
750
|
-
section,
|
751
|
-
"tag",
|
752
|
-
|state, _, _, count, offset| {
|
753
|
-
check_max(
|
754
|
-
state.module.tags.len(),
|
755
|
-
count,
|
756
|
-
MAX_WASM_TAGS,
|
757
|
-
"tags",
|
758
|
-
offset,
|
759
|
-
)?;
|
760
|
-
state.module.assert_mut().tags.reserve(count as usize);
|
761
|
-
Ok(())
|
762
|
-
},
|
763
|
-
|state, features, types, ty, offset| {
|
764
|
-
state
|
765
|
-
.module
|
766
|
-
.assert_mut()
|
767
|
-
.add_tag(ty, features, types, offset)
|
768
|
-
},
|
769
|
-
)
|
770
|
-
}
|
771
|
-
|
772
|
-
/// Validates [`Payload::GlobalSection`](crate::Payload).
|
773
|
-
///
|
774
|
-
/// This method should only be called when parsing a module.
|
775
|
-
pub fn global_section(&mut self, section: &crate::GlobalSectionReader<'_>) -> Result<()> {
|
776
|
-
self.process_module_section(
|
777
|
-
Order::Global,
|
778
|
-
section,
|
779
|
-
"global",
|
780
|
-
|state, _, _, count, offset| {
|
781
|
-
check_max(
|
782
|
-
state.module.globals.len(),
|
783
|
-
count,
|
784
|
-
MAX_WASM_GLOBALS,
|
785
|
-
"globals",
|
786
|
-
offset,
|
787
|
-
)?;
|
788
|
-
state.module.assert_mut().globals.reserve(count as usize);
|
789
|
-
Ok(())
|
790
|
-
},
|
791
|
-
|state, features, types, global, offset| {
|
792
|
-
state.add_global(global, features, types, offset)
|
793
|
-
},
|
794
|
-
)
|
795
|
-
}
|
796
|
-
|
797
|
-
/// Validates [`Payload::ExportSection`](crate::Payload).
|
798
|
-
///
|
799
|
-
/// This method should only be called when parsing a module.
|
800
|
-
pub fn export_section(&mut self, section: &crate::ExportSectionReader<'_>) -> Result<()> {
|
801
|
-
self.process_module_section(
|
802
|
-
Order::Export,
|
803
|
-
section,
|
804
|
-
"export",
|
805
|
-
|state, _, _, count, offset| {
|
806
|
-
check_max(
|
807
|
-
state.module.exports.len(),
|
808
|
-
count,
|
809
|
-
MAX_WASM_EXPORTS,
|
810
|
-
"exports",
|
811
|
-
offset,
|
812
|
-
)?;
|
813
|
-
state.module.assert_mut().exports.reserve(count as usize);
|
814
|
-
Ok(())
|
815
|
-
},
|
816
|
-
|state, features, types, e, offset| {
|
817
|
-
let state = state.module.assert_mut();
|
818
|
-
let ty = state.export_to_entity_type(&e, offset)?;
|
819
|
-
state.add_export(
|
820
|
-
e.name, ty, features, offset, false, /* checked above */
|
821
|
-
types,
|
822
|
-
)
|
823
|
-
},
|
824
|
-
)
|
825
|
-
}
|
826
|
-
|
827
|
-
/// Validates [`Payload::StartSection`](crate::Payload).
|
828
|
-
///
|
829
|
-
/// This method should only be called when parsing a module.
|
830
|
-
pub fn start_section(&mut self, func: u32, range: &Range<usize>) -> Result<()> {
|
831
|
-
let offset = range.start;
|
832
|
-
self.state.ensure_module("start", offset)?;
|
833
|
-
let state = self.module.as_mut().unwrap();
|
834
|
-
state.update_order(Order::Start, offset)?;
|
835
|
-
|
836
|
-
let ty = state.module.get_func_type(func, &self.types, offset)?;
|
837
|
-
if !ty.params().is_empty() || !ty.results().is_empty() {
|
838
|
-
return Err(BinaryReaderError::new(
|
839
|
-
"invalid start function type",
|
840
|
-
offset,
|
841
|
-
));
|
842
|
-
}
|
843
|
-
|
844
|
-
Ok(())
|
845
|
-
}
|
846
|
-
|
847
|
-
/// Validates [`Payload::ElementSection`](crate::Payload).
|
848
|
-
///
|
849
|
-
/// This method should only be called when parsing a module.
|
850
|
-
pub fn element_section(&mut self, section: &crate::ElementSectionReader<'_>) -> Result<()> {
|
851
|
-
self.process_module_section(
|
852
|
-
Order::Element,
|
853
|
-
section,
|
854
|
-
"element",
|
855
|
-
|state, _, _, count, offset| {
|
856
|
-
check_max(
|
857
|
-
state.module.element_types.len(),
|
858
|
-
count,
|
859
|
-
MAX_WASM_ELEMENT_SEGMENTS,
|
860
|
-
"element segments",
|
861
|
-
offset,
|
862
|
-
)?;
|
863
|
-
state
|
864
|
-
.module
|
865
|
-
.assert_mut()
|
866
|
-
.element_types
|
867
|
-
.reserve(count as usize);
|
868
|
-
Ok(())
|
869
|
-
},
|
870
|
-
|state, features, types, e, offset| {
|
871
|
-
state.add_element_segment(e, features, types, offset)
|
872
|
-
},
|
873
|
-
)
|
874
|
-
}
|
875
|
-
|
876
|
-
/// Validates [`Payload::DataCountSection`](crate::Payload).
|
877
|
-
///
|
878
|
-
/// This method should only be called when parsing a module.
|
879
|
-
pub fn data_count_section(&mut self, count: u32, range: &Range<usize>) -> Result<()> {
|
880
|
-
let offset = range.start;
|
881
|
-
self.state.ensure_module("data count", offset)?;
|
882
|
-
|
883
|
-
let state = self.module.as_mut().unwrap();
|
884
|
-
state.update_order(Order::DataCount, offset)?;
|
885
|
-
|
886
|
-
if count > MAX_WASM_DATA_SEGMENTS as u32 {
|
887
|
-
return Err(BinaryReaderError::new(
|
888
|
-
"data count section specifies too many data segments",
|
889
|
-
offset,
|
890
|
-
));
|
891
|
-
}
|
892
|
-
|
893
|
-
state.module.assert_mut().data_count = Some(count);
|
894
|
-
Ok(())
|
895
|
-
}
|
896
|
-
|
897
|
-
/// Validates [`Payload::CodeSectionStart`](crate::Payload).
|
898
|
-
///
|
899
|
-
/// This method should only be called when parsing a module.
|
900
|
-
pub fn code_section_start(&mut self, count: u32, range: &Range<usize>) -> Result<()> {
|
901
|
-
let offset = range.start;
|
902
|
-
self.state.ensure_module("code", offset)?;
|
903
|
-
|
904
|
-
let state = self.module.as_mut().unwrap();
|
905
|
-
state.update_order(Order::Code, offset)?;
|
906
|
-
|
907
|
-
match state.expected_code_bodies.take() {
|
908
|
-
Some(n) if n == count => {}
|
909
|
-
Some(_) => {
|
910
|
-
return Err(BinaryReaderError::new(
|
911
|
-
"function and code section have inconsistent lengths",
|
912
|
-
offset,
|
913
|
-
));
|
914
|
-
}
|
915
|
-
// empty code sections are allowed even if the function section is
|
916
|
-
// missing
|
917
|
-
None if count == 0 => {}
|
918
|
-
None => {
|
919
|
-
return Err(BinaryReaderError::new(
|
920
|
-
"code section without function section",
|
921
|
-
offset,
|
922
|
-
))
|
923
|
-
}
|
924
|
-
}
|
925
|
-
|
926
|
-
// Take a snapshot of the types when we start the code section.
|
927
|
-
state.module.assert_mut().snapshot = Some(Arc::new(self.types.commit()));
|
928
|
-
|
929
|
-
Ok(())
|
930
|
-
}
|
931
|
-
|
932
|
-
/// Validates [`Payload::CodeSectionEntry`](crate::Payload).
|
933
|
-
///
|
934
|
-
/// This function will prepare a [`FuncToValidate`] which can be used to
|
935
|
-
/// create a [`FuncValidator`] to validate the function. The function body
|
936
|
-
/// provided will not be parsed or validated by this function.
|
937
|
-
///
|
938
|
-
/// Note that the returned [`FuncToValidate`] is "connected" to this
|
939
|
-
/// [`Validator`] in that it uses the internal context of this validator for
|
940
|
-
/// validating the function. The [`FuncToValidate`] can be sent to another
|
941
|
-
/// thread, for example, to offload actual processing of functions
|
942
|
-
/// elsewhere.
|
943
|
-
///
|
944
|
-
/// This method should only be called when parsing a module.
|
945
|
-
pub fn code_section_entry(
|
946
|
-
&mut self,
|
947
|
-
body: &crate::FunctionBody,
|
948
|
-
) -> Result<FuncToValidate<ValidatorResources>> {
|
949
|
-
let offset = body.range().start;
|
950
|
-
self.state.ensure_module("code", offset)?;
|
951
|
-
|
952
|
-
let state = self.module.as_mut().unwrap();
|
953
|
-
|
954
|
-
let (index, ty) = state.next_code_index_and_type(offset)?;
|
955
|
-
Ok(FuncToValidate::new(
|
956
|
-
index,
|
957
|
-
ty,
|
958
|
-
ValidatorResources(state.module.arc().clone()),
|
959
|
-
&self.features,
|
960
|
-
))
|
961
|
-
}
|
962
|
-
|
963
|
-
/// Validates [`Payload::DataSection`](crate::Payload).
|
964
|
-
///
|
965
|
-
/// This method should only be called when parsing a module.
|
966
|
-
pub fn data_section(&mut self, section: &crate::DataSectionReader<'_>) -> Result<()> {
|
967
|
-
self.process_module_section(
|
968
|
-
Order::Data,
|
969
|
-
section,
|
970
|
-
"data",
|
971
|
-
|state, _, _, count, offset| {
|
972
|
-
state.data_segment_count = count;
|
973
|
-
check_max(0, count, MAX_WASM_DATA_SEGMENTS, "data segments", offset)
|
974
|
-
},
|
975
|
-
|state, features, types, d, offset| state.add_data_segment(d, features, types, offset),
|
976
|
-
)
|
977
|
-
}
|
978
|
-
|
979
|
-
/// Validates [`Payload::ModuleSection`](crate::Payload).
|
980
|
-
///
|
981
|
-
/// This method should only be called when parsing a component.
|
982
|
-
pub fn module_section(&mut self, range: &Range<usize>) -> Result<()> {
|
983
|
-
self.state.ensure_component("module", range.start)?;
|
984
|
-
|
985
|
-
let current = self.components.last_mut().unwrap();
|
986
|
-
check_max(
|
987
|
-
current.core_modules.len(),
|
988
|
-
1,
|
989
|
-
MAX_WASM_MODULES,
|
990
|
-
"modules",
|
991
|
-
range.start,
|
992
|
-
)?;
|
993
|
-
|
994
|
-
match mem::replace(&mut self.state, State::Unparsed(Some(Encoding::Module))) {
|
995
|
-
State::Component => {}
|
996
|
-
_ => unreachable!(),
|
997
|
-
}
|
998
|
-
|
999
|
-
Ok(())
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
/// Validates [`Payload::InstanceSection`](crate::Payload).
|
1003
|
-
///
|
1004
|
-
/// This method should only be called when parsing a component.
|
1005
|
-
pub fn instance_section(&mut self, section: &crate::InstanceSectionReader) -> Result<()> {
|
1006
|
-
self.process_component_section(
|
1007
|
-
section,
|
1008
|
-
"core instance",
|
1009
|
-
|components, _, count, offset| {
|
1010
|
-
let current = components.last_mut().unwrap();
|
1011
|
-
check_max(
|
1012
|
-
current.instance_count(),
|
1013
|
-
count,
|
1014
|
-
MAX_WASM_INSTANCES,
|
1015
|
-
"instances",
|
1016
|
-
offset,
|
1017
|
-
)?;
|
1018
|
-
current.core_instances.reserve(count as usize);
|
1019
|
-
Ok(())
|
1020
|
-
},
|
1021
|
-
|components, types, _, instance, offset| {
|
1022
|
-
components
|
1023
|
-
.last_mut()
|
1024
|
-
.unwrap()
|
1025
|
-
.add_core_instance(instance, types, offset)
|
1026
|
-
},
|
1027
|
-
)
|
1028
|
-
}
|
1029
|
-
|
1030
|
-
/// Validates [`Payload::CoreTypeSection`](crate::Payload).
|
1031
|
-
///
|
1032
|
-
/// This method should only be called when parsing a component.
|
1033
|
-
pub fn core_type_section(&mut self, section: &crate::CoreTypeSectionReader<'_>) -> Result<()> {
|
1034
|
-
self.process_component_section(
|
1035
|
-
section,
|
1036
|
-
"core type",
|
1037
|
-
|components, _types, count, offset| {
|
1038
|
-
let current = components.last_mut().unwrap();
|
1039
|
-
check_max(current.type_count(), count, MAX_WASM_TYPES, "types", offset)?;
|
1040
|
-
current.core_types.reserve(count as usize);
|
1041
|
-
Ok(())
|
1042
|
-
},
|
1043
|
-
|components, types, features, ty, offset| {
|
1044
|
-
ComponentState::add_core_type(
|
1045
|
-
components, ty, features, types, offset, false, /* checked above */
|
1046
|
-
)
|
1047
|
-
},
|
1048
|
-
)
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
/// Validates [`Payload::ComponentSection`](crate::Payload).
|
1052
|
-
///
|
1053
|
-
/// This method should only be called when parsing a component.
|
1054
|
-
pub fn component_section(&mut self, range: &Range<usize>) -> Result<()> {
|
1055
|
-
self.state.ensure_component("component", range.start)?;
|
1056
|
-
|
1057
|
-
let current = self.components.last_mut().unwrap();
|
1058
|
-
check_max(
|
1059
|
-
current.components.len(),
|
1060
|
-
1,
|
1061
|
-
MAX_WASM_COMPONENTS,
|
1062
|
-
"components",
|
1063
|
-
range.start,
|
1064
|
-
)?;
|
1065
|
-
|
1066
|
-
match mem::replace(&mut self.state, State::Unparsed(Some(Encoding::Component))) {
|
1067
|
-
State::Component => {}
|
1068
|
-
_ => unreachable!(),
|
1069
|
-
}
|
1070
|
-
|
1071
|
-
Ok(())
|
1072
|
-
}
|
1073
|
-
|
1074
|
-
/// Validates [`Payload::ComponentInstanceSection`](crate::Payload).
|
1075
|
-
///
|
1076
|
-
/// This method should only be called when parsing a component.
|
1077
|
-
pub fn component_instance_section(
|
1078
|
-
&mut self,
|
1079
|
-
section: &crate::ComponentInstanceSectionReader,
|
1080
|
-
) -> Result<()> {
|
1081
|
-
self.process_component_section(
|
1082
|
-
section,
|
1083
|
-
"instance",
|
1084
|
-
|components, _, count, offset| {
|
1085
|
-
let current = components.last_mut().unwrap();
|
1086
|
-
check_max(
|
1087
|
-
current.instance_count(),
|
1088
|
-
count,
|
1089
|
-
MAX_WASM_INSTANCES,
|
1090
|
-
"instances",
|
1091
|
-
offset,
|
1092
|
-
)?;
|
1093
|
-
current.instances.reserve(count as usize);
|
1094
|
-
Ok(())
|
1095
|
-
},
|
1096
|
-
|components, types, features, instance, offset| {
|
1097
|
-
components
|
1098
|
-
.last_mut()
|
1099
|
-
.unwrap()
|
1100
|
-
.add_instance(instance, features, types, offset)
|
1101
|
-
},
|
1102
|
-
)
|
1103
|
-
}
|
1104
|
-
|
1105
|
-
/// Validates [`Payload::ComponentAliasSection`](crate::Payload).
|
1106
|
-
///
|
1107
|
-
/// This method should only be called when parsing a component.
|
1108
|
-
pub fn component_alias_section(
|
1109
|
-
&mut self,
|
1110
|
-
section: &crate::ComponentAliasSectionReader<'_>,
|
1111
|
-
) -> Result<()> {
|
1112
|
-
self.process_component_section(
|
1113
|
-
section,
|
1114
|
-
"alias",
|
1115
|
-
|_, _, _, _| Ok(()), // maximums checked via `add_alias`
|
1116
|
-
|components, types, features, alias, offset| -> Result<(), BinaryReaderError> {
|
1117
|
-
ComponentState::add_alias(components, alias, features, types, offset)
|
1118
|
-
},
|
1119
|
-
)
|
1120
|
-
}
|
1121
|
-
|
1122
|
-
/// Validates [`Payload::ComponentTypeSection`](crate::Payload).
|
1123
|
-
///
|
1124
|
-
/// This method should only be called when parsing a component.
|
1125
|
-
pub fn component_type_section(
|
1126
|
-
&mut self,
|
1127
|
-
section: &crate::ComponentTypeSectionReader,
|
1128
|
-
) -> Result<()> {
|
1129
|
-
self.process_component_section(
|
1130
|
-
section,
|
1131
|
-
"type",
|
1132
|
-
|components, _types, count, offset| {
|
1133
|
-
let current = components.last_mut().unwrap();
|
1134
|
-
check_max(current.type_count(), count, MAX_WASM_TYPES, "types", offset)?;
|
1135
|
-
current.types.reserve(count as usize);
|
1136
|
-
Ok(())
|
1137
|
-
},
|
1138
|
-
|components, types, features, ty, offset| {
|
1139
|
-
ComponentState::add_type(
|
1140
|
-
components, ty, features, types, offset, false, /* checked above */
|
1141
|
-
)
|
1142
|
-
},
|
1143
|
-
)
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
/// Validates [`Payload::ComponentCanonicalSection`](crate::Payload).
|
1147
|
-
///
|
1148
|
-
/// This method should only be called when parsing a component.
|
1149
|
-
pub fn component_canonical_section(
|
1150
|
-
&mut self,
|
1151
|
-
section: &crate::ComponentCanonicalSectionReader,
|
1152
|
-
) -> Result<()> {
|
1153
|
-
self.process_component_section(
|
1154
|
-
section,
|
1155
|
-
"function",
|
1156
|
-
|components, _, count, offset| {
|
1157
|
-
let current = components.last_mut().unwrap();
|
1158
|
-
check_max(
|
1159
|
-
current.function_count(),
|
1160
|
-
count,
|
1161
|
-
MAX_WASM_FUNCTIONS,
|
1162
|
-
"functions",
|
1163
|
-
offset,
|
1164
|
-
)?;
|
1165
|
-
current.funcs.reserve(count as usize);
|
1166
|
-
Ok(())
|
1167
|
-
},
|
1168
|
-
|components, types, _, func, offset| {
|
1169
|
-
let current = components.last_mut().unwrap();
|
1170
|
-
match func {
|
1171
|
-
crate::CanonicalFunction::Lift {
|
1172
|
-
core_func_index,
|
1173
|
-
type_index,
|
1174
|
-
options,
|
1175
|
-
} => current.lift_function(
|
1176
|
-
core_func_index,
|
1177
|
-
type_index,
|
1178
|
-
options.into_vec(),
|
1179
|
-
types,
|
1180
|
-
offset,
|
1181
|
-
),
|
1182
|
-
crate::CanonicalFunction::Lower {
|
1183
|
-
func_index,
|
1184
|
-
options,
|
1185
|
-
} => current.lower_function(func_index, options.into_vec(), types, offset),
|
1186
|
-
crate::CanonicalFunction::ResourceNew { resource } => {
|
1187
|
-
current.resource_new(resource, types, offset)
|
1188
|
-
}
|
1189
|
-
crate::CanonicalFunction::ResourceDrop { resource } => {
|
1190
|
-
current.resource_drop(resource, types, offset)
|
1191
|
-
}
|
1192
|
-
crate::CanonicalFunction::ResourceRep { resource } => {
|
1193
|
-
current.resource_rep(resource, types, offset)
|
1194
|
-
}
|
1195
|
-
}
|
1196
|
-
},
|
1197
|
-
)
|
1198
|
-
}
|
1199
|
-
|
1200
|
-
/// Validates [`Payload::ComponentStartSection`](crate::Payload).
|
1201
|
-
///
|
1202
|
-
/// This method should only be called when parsing a component.
|
1203
|
-
pub fn component_start_section(
|
1204
|
-
&mut self,
|
1205
|
-
f: &crate::ComponentStartFunction,
|
1206
|
-
range: &Range<usize>,
|
1207
|
-
) -> Result<()> {
|
1208
|
-
self.state.ensure_component("start", range.start)?;
|
1209
|
-
|
1210
|
-
self.components.last_mut().unwrap().add_start(
|
1211
|
-
f.func_index,
|
1212
|
-
&f.arguments,
|
1213
|
-
f.results,
|
1214
|
-
&self.features,
|
1215
|
-
&mut self.types,
|
1216
|
-
range.start,
|
1217
|
-
)
|
1218
|
-
}
|
1219
|
-
|
1220
|
-
/// Validates [`Payload::ComponentImportSection`](crate::Payload).
|
1221
|
-
///
|
1222
|
-
/// This method should only be called when parsing a component.
|
1223
|
-
pub fn component_import_section(
|
1224
|
-
&mut self,
|
1225
|
-
section: &crate::ComponentImportSectionReader,
|
1226
|
-
) -> Result<()> {
|
1227
|
-
self.process_component_section(
|
1228
|
-
section,
|
1229
|
-
"import",
|
1230
|
-
|_, _, _, _| Ok(()), // add_import will check limits
|
1231
|
-
|components, types, features, import, offset| {
|
1232
|
-
components
|
1233
|
-
.last_mut()
|
1234
|
-
.unwrap()
|
1235
|
-
.add_import(import, features, types, offset)
|
1236
|
-
},
|
1237
|
-
)
|
1238
|
-
}
|
1239
|
-
|
1240
|
-
/// Validates [`Payload::ComponentExportSection`](crate::Payload).
|
1241
|
-
///
|
1242
|
-
/// This method should only be called when parsing a component.
|
1243
|
-
pub fn component_export_section(
|
1244
|
-
&mut self,
|
1245
|
-
section: &crate::ComponentExportSectionReader,
|
1246
|
-
) -> Result<()> {
|
1247
|
-
self.process_component_section(
|
1248
|
-
section,
|
1249
|
-
"export",
|
1250
|
-
|components, _, count, offset| {
|
1251
|
-
let current = components.last_mut().unwrap();
|
1252
|
-
check_max(
|
1253
|
-
current.exports.len(),
|
1254
|
-
count,
|
1255
|
-
MAX_WASM_EXPORTS,
|
1256
|
-
"exports",
|
1257
|
-
offset,
|
1258
|
-
)?;
|
1259
|
-
current.exports.reserve(count as usize);
|
1260
|
-
Ok(())
|
1261
|
-
},
|
1262
|
-
|components, types, features, export, offset| {
|
1263
|
-
let current = components.last_mut().unwrap();
|
1264
|
-
let ty = current.export_to_entity_type(&export, features, types, offset)?;
|
1265
|
-
current.add_export(
|
1266
|
-
export.name,
|
1267
|
-
ty,
|
1268
|
-
features,
|
1269
|
-
types,
|
1270
|
-
offset,
|
1271
|
-
false, /* checked above */
|
1272
|
-
)
|
1273
|
-
},
|
1274
|
-
)
|
1275
|
-
}
|
1276
|
-
|
1277
|
-
/// Validates [`Payload::UnknownSection`](crate::Payload).
|
1278
|
-
///
|
1279
|
-
/// Currently always returns an error.
|
1280
|
-
pub fn unknown_section(&mut self, id: u8, range: &Range<usize>) -> Result<()> {
|
1281
|
-
Err(format_err!(range.start, "malformed section id: {id}"))
|
1282
|
-
}
|
1283
|
-
|
1284
|
-
/// Validates [`Payload::End`](crate::Payload).
|
1285
|
-
///
|
1286
|
-
/// Returns the types known to the validator for the module or component.
|
1287
|
-
pub fn end(&mut self, offset: usize) -> Result<Types> {
|
1288
|
-
match std::mem::replace(&mut self.state, State::End) {
|
1289
|
-
State::Unparsed(_) => Err(BinaryReaderError::new(
|
1290
|
-
"cannot call `end` before a header has been parsed",
|
1291
|
-
offset,
|
1292
|
-
)),
|
1293
|
-
State::End => Err(BinaryReaderError::new(
|
1294
|
-
"cannot call `end` after parsing has completed",
|
1295
|
-
offset,
|
1296
|
-
)),
|
1297
|
-
State::Module => {
|
1298
|
-
let mut state = self.module.take().unwrap();
|
1299
|
-
state.validate_end(offset)?;
|
1300
|
-
|
1301
|
-
// If there's a parent component, we'll add a module to the parent state
|
1302
|
-
// and continue to validate the component
|
1303
|
-
if let Some(parent) = self.components.last_mut() {
|
1304
|
-
parent.add_core_module(&state.module, &mut self.types, offset)?;
|
1305
|
-
self.state = State::Component;
|
1306
|
-
}
|
1307
|
-
|
1308
|
-
Ok(Types::from_module(
|
1309
|
-
self.types.commit(),
|
1310
|
-
state.module.arc().clone(),
|
1311
|
-
))
|
1312
|
-
}
|
1313
|
-
State::Component => {
|
1314
|
-
let mut component = self.components.pop().unwrap();
|
1315
|
-
|
1316
|
-
// Validate that all values were used for the component
|
1317
|
-
if let Some(index) = component.values.iter().position(|(_, used)| !*used) {
|
1318
|
-
bail!(
|
1319
|
-
offset,
|
1320
|
-
"value index {index} was not used as part of an \
|
1321
|
-
instantiation, start function, or export"
|
1322
|
-
);
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
// If there's a parent component, pop the stack, add it to the parent,
|
1326
|
-
// and continue to validate the component
|
1327
|
-
let ty = component.finish(&mut self.types, offset)?;
|
1328
|
-
if let Some(parent) = self.components.last_mut() {
|
1329
|
-
parent.add_component(ty, &mut self.types)?;
|
1330
|
-
self.state = State::Component;
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
Ok(Types::from_component(self.types.commit(), component))
|
1334
|
-
}
|
1335
|
-
}
|
1336
|
-
}
|
1337
|
-
|
1338
|
-
fn process_module_section<'a, T>(
|
1339
|
-
&mut self,
|
1340
|
-
order: Order,
|
1341
|
-
section: &SectionLimited<'a, T>,
|
1342
|
-
name: &str,
|
1343
|
-
validate_section: impl FnOnce(
|
1344
|
-
&mut ModuleState,
|
1345
|
-
&WasmFeatures,
|
1346
|
-
&mut TypeAlloc,
|
1347
|
-
u32,
|
1348
|
-
usize,
|
1349
|
-
) -> Result<()>,
|
1350
|
-
mut validate_item: impl FnMut(
|
1351
|
-
&mut ModuleState,
|
1352
|
-
&WasmFeatures,
|
1353
|
-
&mut TypeAlloc,
|
1354
|
-
T,
|
1355
|
-
usize,
|
1356
|
-
) -> Result<()>,
|
1357
|
-
) -> Result<()>
|
1358
|
-
where
|
1359
|
-
T: FromReader<'a>,
|
1360
|
-
{
|
1361
|
-
let offset = section.range().start;
|
1362
|
-
self.state.ensure_module(name, offset)?;
|
1363
|
-
|
1364
|
-
let state = self.module.as_mut().unwrap();
|
1365
|
-
state.update_order(order, offset)?;
|
1366
|
-
|
1367
|
-
validate_section(
|
1368
|
-
state,
|
1369
|
-
&self.features,
|
1370
|
-
&mut self.types,
|
1371
|
-
section.count(),
|
1372
|
-
offset,
|
1373
|
-
)?;
|
1374
|
-
|
1375
|
-
for item in section.clone().into_iter_with_offsets() {
|
1376
|
-
let (offset, item) = item?;
|
1377
|
-
validate_item(state, &self.features, &mut self.types, item, offset)?;
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
Ok(())
|
1381
|
-
}
|
1382
|
-
|
1383
|
-
fn process_component_section<'a, T>(
|
1384
|
-
&mut self,
|
1385
|
-
section: &SectionLimited<'a, T>,
|
1386
|
-
name: &str,
|
1387
|
-
validate_section: impl FnOnce(
|
1388
|
-
&mut Vec<ComponentState>,
|
1389
|
-
&mut TypeAlloc,
|
1390
|
-
u32,
|
1391
|
-
usize,
|
1392
|
-
) -> Result<()>,
|
1393
|
-
mut validate_item: impl FnMut(
|
1394
|
-
&mut Vec<ComponentState>,
|
1395
|
-
&mut TypeAlloc,
|
1396
|
-
&WasmFeatures,
|
1397
|
-
T,
|
1398
|
-
usize,
|
1399
|
-
) -> Result<()>,
|
1400
|
-
) -> Result<()>
|
1401
|
-
where
|
1402
|
-
T: FromReader<'a>,
|
1403
|
-
{
|
1404
|
-
let offset = section.range().start;
|
1405
|
-
|
1406
|
-
if !self.features.component_model {
|
1407
|
-
return Err(BinaryReaderError::new(
|
1408
|
-
"component model feature is not enabled",
|
1409
|
-
offset,
|
1410
|
-
));
|
1411
|
-
}
|
1412
|
-
|
1413
|
-
self.state.ensure_component(name, offset)?;
|
1414
|
-
validate_section(
|
1415
|
-
&mut self.components,
|
1416
|
-
&mut self.types,
|
1417
|
-
section.count(),
|
1418
|
-
offset,
|
1419
|
-
)?;
|
1420
|
-
|
1421
|
-
for item in section.clone().into_iter_with_offsets() {
|
1422
|
-
let (offset, item) = item?;
|
1423
|
-
validate_item(
|
1424
|
-
&mut self.components,
|
1425
|
-
&mut self.types,
|
1426
|
-
&self.features,
|
1427
|
-
item,
|
1428
|
-
offset,
|
1429
|
-
)?;
|
1430
|
-
}
|
1431
|
-
|
1432
|
-
Ok(())
|
1433
|
-
}
|
1434
|
-
}
|
1435
|
-
|
1436
|
-
#[cfg(test)]
|
1437
|
-
mod tests {
|
1438
|
-
use crate::{GlobalType, MemoryType, RefType, TableType, ValType, Validator, WasmFeatures};
|
1439
|
-
use anyhow::Result;
|
1440
|
-
|
1441
|
-
#[test]
|
1442
|
-
fn test_module_type_information() -> Result<()> {
|
1443
|
-
let bytes = wat::parse_str(
|
1444
|
-
r#"
|
1445
|
-
(module
|
1446
|
-
(type (func (param i32 i64) (result i32)))
|
1447
|
-
(memory 1 5)
|
1448
|
-
(table 10 funcref)
|
1449
|
-
(global (mut i32) (i32.const 0))
|
1450
|
-
(func (type 0) (i32.const 0))
|
1451
|
-
(tag (param i64 i32))
|
1452
|
-
(elem funcref (ref.func 0))
|
1453
|
-
)
|
1454
|
-
"#,
|
1455
|
-
)?;
|
1456
|
-
|
1457
|
-
let mut validator = Validator::new_with_features(WasmFeatures {
|
1458
|
-
exceptions: true,
|
1459
|
-
..Default::default()
|
1460
|
-
});
|
1461
|
-
|
1462
|
-
let types = validator.validate_all(&bytes)?;
|
1463
|
-
|
1464
|
-
assert_eq!(types.type_count(), 2);
|
1465
|
-
assert_eq!(types.memory_count(), 1);
|
1466
|
-
assert_eq!(types.table_count(), 1);
|
1467
|
-
assert_eq!(types.global_count(), 1);
|
1468
|
-
assert_eq!(types.core_function_count(), 1);
|
1469
|
-
assert_eq!(types.tag_count(), 1);
|
1470
|
-
assert_eq!(types.element_count(), 1);
|
1471
|
-
assert_eq!(types.module_count(), 0);
|
1472
|
-
assert_eq!(types.component_count(), 0);
|
1473
|
-
assert_eq!(types.core_instance_count(), 0);
|
1474
|
-
assert_eq!(types.value_count(), 0);
|
1475
|
-
|
1476
|
-
let id = match types.core_type_at(0) {
|
1477
|
-
crate::types::ComponentCoreTypeId::Sub(s) => s,
|
1478
|
-
crate::types::ComponentCoreTypeId::Module(_) => panic!(),
|
1479
|
-
};
|
1480
|
-
let ty = types[id].unwrap_func();
|
1481
|
-
assert_eq!(ty.params(), [ValType::I32, ValType::I64]);
|
1482
|
-
assert_eq!(ty.results(), [ValType::I32]);
|
1483
|
-
|
1484
|
-
let id = match types.core_type_at(1) {
|
1485
|
-
crate::types::ComponentCoreTypeId::Sub(s) => s,
|
1486
|
-
crate::types::ComponentCoreTypeId::Module(_) => panic!(),
|
1487
|
-
};
|
1488
|
-
let ty = types[id].unwrap_func();
|
1489
|
-
assert_eq!(ty.params(), [ValType::I64, ValType::I32]);
|
1490
|
-
assert_eq!(ty.results(), []);
|
1491
|
-
|
1492
|
-
assert_eq!(
|
1493
|
-
types.memory_at(0),
|
1494
|
-
MemoryType {
|
1495
|
-
memory64: false,
|
1496
|
-
shared: false,
|
1497
|
-
initial: 1,
|
1498
|
-
maximum: Some(5)
|
1499
|
-
}
|
1500
|
-
);
|
1501
|
-
|
1502
|
-
assert_eq!(
|
1503
|
-
types.table_at(0),
|
1504
|
-
TableType {
|
1505
|
-
initial: 10,
|
1506
|
-
maximum: None,
|
1507
|
-
element_type: RefType::FUNCREF,
|
1508
|
-
}
|
1509
|
-
);
|
1510
|
-
|
1511
|
-
assert_eq!(
|
1512
|
-
types.global_at(0),
|
1513
|
-
GlobalType {
|
1514
|
-
content_type: ValType::I32,
|
1515
|
-
mutable: true
|
1516
|
-
}
|
1517
|
-
);
|
1518
|
-
|
1519
|
-
let id = types.core_function_at(0);
|
1520
|
-
let ty = types[id].unwrap_func();
|
1521
|
-
assert_eq!(ty.params(), [ValType::I32, ValType::I64]);
|
1522
|
-
assert_eq!(ty.results(), [ValType::I32]);
|
1523
|
-
|
1524
|
-
let ty = types.tag_at(0);
|
1525
|
-
let ty = types[ty].unwrap_func();
|
1526
|
-
assert_eq!(ty.params(), [ValType::I64, ValType::I32]);
|
1527
|
-
assert_eq!(ty.results(), []);
|
1528
|
-
|
1529
|
-
assert_eq!(types.element_at(0), RefType::FUNCREF);
|
1530
|
-
|
1531
|
-
Ok(())
|
1532
|
-
}
|
1533
|
-
|
1534
|
-
#[test]
|
1535
|
-
fn test_type_id_aliasing() -> Result<()> {
|
1536
|
-
let bytes = wat::parse_str(
|
1537
|
-
r#"
|
1538
|
-
(component
|
1539
|
-
(type $T (list string))
|
1540
|
-
(alias outer 0 $T (type $A1))
|
1541
|
-
(alias outer 0 $T (type $A2))
|
1542
|
-
)
|
1543
|
-
"#,
|
1544
|
-
)?;
|
1545
|
-
|
1546
|
-
let mut validator = Validator::new_with_features(WasmFeatures {
|
1547
|
-
component_model: true,
|
1548
|
-
..Default::default()
|
1549
|
-
});
|
1550
|
-
|
1551
|
-
let types = validator.validate_all(&bytes)?;
|
1552
|
-
|
1553
|
-
let t_id = types.component_defined_type_at(0);
|
1554
|
-
let a1_id = types.component_defined_type_at(1);
|
1555
|
-
let a2_id = types.component_defined_type_at(2);
|
1556
|
-
|
1557
|
-
// The ids should all be the same
|
1558
|
-
assert!(t_id == a1_id);
|
1559
|
-
assert!(t_id == a2_id);
|
1560
|
-
assert!(a1_id == a2_id);
|
1561
|
-
|
1562
|
-
// However, they should all point to the same type
|
1563
|
-
assert!(std::ptr::eq(&types[t_id], &types[a1_id],));
|
1564
|
-
assert!(std::ptr::eq(&types[t_id], &types[a2_id],));
|
1565
|
-
|
1566
|
-
Ok(())
|
1567
|
-
}
|
1568
|
-
|
1569
|
-
#[test]
|
1570
|
-
fn test_type_id_exports() -> Result<()> {
|
1571
|
-
let bytes = wat::parse_str(
|
1572
|
-
r#"
|
1573
|
-
(component
|
1574
|
-
(type $T (list string))
|
1575
|
-
(export $A1 "A1" (type $T))
|
1576
|
-
(export $A2 "A2" (type $T))
|
1577
|
-
)
|
1578
|
-
"#,
|
1579
|
-
)?;
|
1580
|
-
|
1581
|
-
let mut validator = Validator::new_with_features(WasmFeatures {
|
1582
|
-
component_model: true,
|
1583
|
-
..Default::default()
|
1584
|
-
});
|
1585
|
-
|
1586
|
-
let types = validator.validate_all(&bytes)?;
|
1587
|
-
|
1588
|
-
let t_id = types.component_defined_type_at(0);
|
1589
|
-
let a1_id = types.component_defined_type_at(1);
|
1590
|
-
let a2_id = types.component_defined_type_at(2);
|
1591
|
-
|
1592
|
-
// The ids should all be the same
|
1593
|
-
assert!(t_id != a1_id);
|
1594
|
-
assert!(t_id != a2_id);
|
1595
|
-
assert!(a1_id != a2_id);
|
1596
|
-
|
1597
|
-
// However, they should all point to the same type
|
1598
|
-
assert!(std::ptr::eq(&types[t_id], &types[a1_id],));
|
1599
|
-
assert!(std::ptr::eq(&types[t_id], &types[a2_id],));
|
1600
|
-
|
1601
|
-
Ok(())
|
1602
|
-
}
|
1603
|
-
}
|