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,1370 +0,0 @@
|
|
1
|
-
use crate::{
|
2
|
-
code::CodeObject,
|
3
|
-
resources::ResourcesRequired,
|
4
|
-
signatures::SignatureCollection,
|
5
|
-
types::{ExportType, ExternType, ImportType},
|
6
|
-
Engine,
|
7
|
-
};
|
8
|
-
use anyhow::{bail, Context, Result};
|
9
|
-
use once_cell::sync::OnceCell;
|
10
|
-
use std::fs;
|
11
|
-
use std::mem;
|
12
|
-
use std::ops::Range;
|
13
|
-
use std::path::Path;
|
14
|
-
use std::ptr::NonNull;
|
15
|
-
use std::sync::Arc;
|
16
|
-
use wasmparser::{Parser, ValidPayload, Validator};
|
17
|
-
use wasmtime_environ::{
|
18
|
-
DefinedFuncIndex, DefinedMemoryIndex, HostPtr, ModuleEnvironment, ModuleTypes, ObjectKind,
|
19
|
-
VMOffsets,
|
20
|
-
};
|
21
|
-
use wasmtime_jit::{CodeMemory, CompiledModule, CompiledModuleInfo};
|
22
|
-
use wasmtime_runtime::{
|
23
|
-
CompiledModuleId, MemoryImage, MmapVec, ModuleMemoryImages, VMArrayCallFunction,
|
24
|
-
VMNativeCallFunction, VMSharedSignatureIndex, VMWasmCallFunction,
|
25
|
-
};
|
26
|
-
|
27
|
-
mod registry;
|
28
|
-
|
29
|
-
pub use registry::{
|
30
|
-
is_wasm_trap_pc, register_code, unregister_code, ModuleRegistry, RegisteredModuleId,
|
31
|
-
};
|
32
|
-
|
33
|
-
/// A compiled WebAssembly module, ready to be instantiated.
|
34
|
-
///
|
35
|
-
/// A `Module` is a compiled in-memory representation of an input WebAssembly
|
36
|
-
/// binary. A `Module` is then used to create an [`Instance`](crate::Instance)
|
37
|
-
/// through an instantiation process. You cannot call functions or fetch
|
38
|
-
/// globals, for example, on a `Module` because it's purely a code
|
39
|
-
/// representation. Instead you'll need to create an
|
40
|
-
/// [`Instance`](crate::Instance) to interact with the wasm module.
|
41
|
-
///
|
42
|
-
/// Creating a `Module` currently involves compiling code, meaning that it can
|
43
|
-
/// be an expensive operation. All `Module` instances are compiled according to
|
44
|
-
/// the configuration in [`Config`], but typically they're JIT-compiled. If
|
45
|
-
/// you'd like to instantiate a module multiple times you can do so with
|
46
|
-
/// compiling the original wasm module only once with a single [`Module`]
|
47
|
-
/// instance.
|
48
|
-
///
|
49
|
-
/// The `Module` is thread-safe and safe to share across threads.
|
50
|
-
///
|
51
|
-
/// ## Modules and `Clone`
|
52
|
-
///
|
53
|
-
/// Using `clone` on a `Module` is a cheap operation. It will not create an
|
54
|
-
/// entirely new module, but rather just a new reference to the existing module.
|
55
|
-
/// In other words it's a shallow copy, not a deep copy.
|
56
|
-
///
|
57
|
-
/// ## Examples
|
58
|
-
///
|
59
|
-
/// There are a number of ways you can create a `Module`, for example pulling
|
60
|
-
/// the bytes from a number of locations. One example is loading a module from
|
61
|
-
/// the filesystem:
|
62
|
-
///
|
63
|
-
/// ```no_run
|
64
|
-
/// # use wasmtime::*;
|
65
|
-
/// # fn main() -> anyhow::Result<()> {
|
66
|
-
/// let engine = Engine::default();
|
67
|
-
/// let module = Module::from_file(&engine, "path/to/foo.wasm")?;
|
68
|
-
/// # Ok(())
|
69
|
-
/// # }
|
70
|
-
/// ```
|
71
|
-
///
|
72
|
-
/// You can also load the wasm text format if more convenient too:
|
73
|
-
///
|
74
|
-
/// ```no_run
|
75
|
-
/// # use wasmtime::*;
|
76
|
-
/// # fn main() -> anyhow::Result<()> {
|
77
|
-
/// let engine = Engine::default();
|
78
|
-
/// // Now we're using the WebAssembly text extension: `.wat`!
|
79
|
-
/// let module = Module::from_file(&engine, "path/to/foo.wat")?;
|
80
|
-
/// # Ok(())
|
81
|
-
/// # }
|
82
|
-
/// ```
|
83
|
-
///
|
84
|
-
/// And if you've already got the bytes in-memory you can use the
|
85
|
-
/// [`Module::new`] constructor:
|
86
|
-
///
|
87
|
-
/// ```no_run
|
88
|
-
/// # use wasmtime::*;
|
89
|
-
/// # fn main() -> anyhow::Result<()> {
|
90
|
-
/// let engine = Engine::default();
|
91
|
-
/// # let wasm_bytes: Vec<u8> = Vec::new();
|
92
|
-
/// let module = Module::new(&engine, &wasm_bytes)?;
|
93
|
-
///
|
94
|
-
/// // It also works with the text format!
|
95
|
-
/// let module = Module::new(&engine, "(module (func))")?;
|
96
|
-
/// # Ok(())
|
97
|
-
/// # }
|
98
|
-
/// ```
|
99
|
-
///
|
100
|
-
/// [`Config`]: crate::Config
|
101
|
-
#[derive(Clone)]
|
102
|
-
pub struct Module {
|
103
|
-
inner: Arc<ModuleInner>,
|
104
|
-
}
|
105
|
-
|
106
|
-
struct ModuleInner {
|
107
|
-
engine: Engine,
|
108
|
-
/// The compiled artifacts for this module that will be instantiated and
|
109
|
-
/// executed.
|
110
|
-
module: CompiledModule,
|
111
|
-
|
112
|
-
/// Runtime information such as the underlying mmap, type information, etc.
|
113
|
-
///
|
114
|
-
/// Note that this `Arc` is used to share information between compiled
|
115
|
-
/// modules within a component. For bare core wasm modules created with
|
116
|
-
/// `Module::new`, for example, this is a uniquely owned `Arc`.
|
117
|
-
code: Arc<CodeObject>,
|
118
|
-
|
119
|
-
/// A set of initialization images for memories, if any.
|
120
|
-
///
|
121
|
-
/// Note that this is behind a `OnceCell` to lazily create this image. On
|
122
|
-
/// Linux where `memfd_create` may be used to create the backing memory
|
123
|
-
/// image this is a pretty expensive operation, so by deferring it this
|
124
|
-
/// improves memory usage for modules that are created but may not ever be
|
125
|
-
/// instantiated.
|
126
|
-
memory_images: OnceCell<Option<ModuleMemoryImages>>,
|
127
|
-
|
128
|
-
/// Flag indicating whether this module can be serialized or not.
|
129
|
-
serializable: bool,
|
130
|
-
|
131
|
-
/// Runtime offset information for `VMContext`.
|
132
|
-
offsets: VMOffsets<HostPtr>,
|
133
|
-
}
|
134
|
-
|
135
|
-
impl std::fmt::Debug for Module {
|
136
|
-
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
137
|
-
f.debug_struct("Module")
|
138
|
-
.field("name", &self.name())
|
139
|
-
.finish_non_exhaustive()
|
140
|
-
}
|
141
|
-
}
|
142
|
-
|
143
|
-
impl Module {
|
144
|
-
/// Creates a new WebAssembly `Module` from the given in-memory `bytes`.
|
145
|
-
///
|
146
|
-
/// The `bytes` provided must be in one of the following formats:
|
147
|
-
///
|
148
|
-
/// * A [binary-encoded][binary] WebAssembly module. This is always supported.
|
149
|
-
/// * A [text-encoded][text] instance of the WebAssembly text format.
|
150
|
-
/// This is only supported when the `wat` feature of this crate is enabled.
|
151
|
-
/// If this is supplied then the text format will be parsed before validation.
|
152
|
-
/// Note that the `wat` feature is enabled by default.
|
153
|
-
///
|
154
|
-
/// The data for the wasm module must be loaded in-memory if it's present
|
155
|
-
/// elsewhere, for example on disk. This requires that the entire binary is
|
156
|
-
/// loaded into memory all at once, this API does not support streaming
|
157
|
-
/// compilation of a module.
|
158
|
-
///
|
159
|
-
/// If the module has not been already been compiled, the WebAssembly binary will
|
160
|
-
/// be decoded and validated. It will also be compiled according to the
|
161
|
-
/// configuration of the provided `engine`.
|
162
|
-
///
|
163
|
-
/// # Errors
|
164
|
-
///
|
165
|
-
/// This function may fail and return an error. Errors may include
|
166
|
-
/// situations such as:
|
167
|
-
///
|
168
|
-
/// * The binary provided could not be decoded because it's not a valid
|
169
|
-
/// WebAssembly binary
|
170
|
-
/// * The WebAssembly binary may not validate (e.g. contains type errors)
|
171
|
-
/// * Implementation-specific limits were exceeded with a valid binary (for
|
172
|
-
/// example too many locals)
|
173
|
-
/// * The wasm binary may use features that are not enabled in the
|
174
|
-
/// configuration of `engine`
|
175
|
-
/// * If the `wat` feature is enabled and the input is text, then it may be
|
176
|
-
/// rejected if it fails to parse.
|
177
|
-
///
|
178
|
-
/// The error returned should contain full information about why module
|
179
|
-
/// creation failed if one is returned.
|
180
|
-
///
|
181
|
-
/// [binary]: https://webassembly.github.io/spec/core/binary/index.html
|
182
|
-
/// [text]: https://webassembly.github.io/spec/core/text/index.html
|
183
|
-
///
|
184
|
-
/// # Examples
|
185
|
-
///
|
186
|
-
/// The `new` function can be invoked with a in-memory array of bytes:
|
187
|
-
///
|
188
|
-
/// ```no_run
|
189
|
-
/// # use wasmtime::*;
|
190
|
-
/// # fn main() -> anyhow::Result<()> {
|
191
|
-
/// # let engine = Engine::default();
|
192
|
-
/// # let wasm_bytes: Vec<u8> = Vec::new();
|
193
|
-
/// let module = Module::new(&engine, &wasm_bytes)?;
|
194
|
-
/// # Ok(())
|
195
|
-
/// # }
|
196
|
-
/// ```
|
197
|
-
///
|
198
|
-
/// Or you can also pass in a string to be parsed as the wasm text
|
199
|
-
/// format:
|
200
|
-
///
|
201
|
-
/// ```
|
202
|
-
/// # use wasmtime::*;
|
203
|
-
/// # fn main() -> anyhow::Result<()> {
|
204
|
-
/// # let engine = Engine::default();
|
205
|
-
/// let module = Module::new(&engine, "(module (func))")?;
|
206
|
-
/// # Ok(())
|
207
|
-
/// # }
|
208
|
-
/// ```
|
209
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
210
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
211
|
-
pub fn new(engine: &Engine, bytes: impl AsRef<[u8]>) -> Result<Module> {
|
212
|
-
let bytes = bytes.as_ref();
|
213
|
-
#[cfg(feature = "wat")]
|
214
|
-
let bytes = wat::parse_bytes(bytes)?;
|
215
|
-
Self::from_binary(engine, &bytes)
|
216
|
-
}
|
217
|
-
|
218
|
-
/// Creates a new WebAssembly `Module` from the contents of the given
|
219
|
-
/// `file` on disk.
|
220
|
-
///
|
221
|
-
/// This is a convenience function that will read the `file` provided and
|
222
|
-
/// pass the bytes to the [`Module::new`] function. For more information
|
223
|
-
/// see [`Module::new`]
|
224
|
-
///
|
225
|
-
/// # Examples
|
226
|
-
///
|
227
|
-
/// ```no_run
|
228
|
-
/// # use wasmtime::*;
|
229
|
-
/// # fn main() -> anyhow::Result<()> {
|
230
|
-
/// let engine = Engine::default();
|
231
|
-
/// let module = Module::from_file(&engine, "./path/to/foo.wasm")?;
|
232
|
-
/// # Ok(())
|
233
|
-
/// # }
|
234
|
-
/// ```
|
235
|
-
///
|
236
|
-
/// The `.wat` text format is also supported:
|
237
|
-
///
|
238
|
-
/// ```no_run
|
239
|
-
/// # use wasmtime::*;
|
240
|
-
/// # fn main() -> anyhow::Result<()> {
|
241
|
-
/// # let engine = Engine::default();
|
242
|
-
/// let module = Module::from_file(&engine, "./path/to/foo.wat")?;
|
243
|
-
/// # Ok(())
|
244
|
-
/// # }
|
245
|
-
/// ```
|
246
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
247
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
248
|
-
pub fn from_file(engine: &Engine, file: impl AsRef<Path>) -> Result<Module> {
|
249
|
-
let file = file.as_ref();
|
250
|
-
match Self::new(
|
251
|
-
engine,
|
252
|
-
&fs::read(file)
|
253
|
-
.with_context(|| format!("failed to read input file: {}", file.display()))?,
|
254
|
-
) {
|
255
|
-
Ok(m) => Ok(m),
|
256
|
-
Err(e) => {
|
257
|
-
cfg_if::cfg_if! {
|
258
|
-
if #[cfg(feature = "wat")] {
|
259
|
-
let mut e = e.downcast::<wat::Error>()?;
|
260
|
-
e.set_path(file);
|
261
|
-
bail!(e)
|
262
|
-
} else {
|
263
|
-
Err(e)
|
264
|
-
}
|
265
|
-
}
|
266
|
-
}
|
267
|
-
}
|
268
|
-
}
|
269
|
-
|
270
|
-
/// Creates a new WebAssembly `Module` from the given in-memory `binary`
|
271
|
-
/// data.
|
272
|
-
///
|
273
|
-
/// This is similar to [`Module::new`] except that it requires that the
|
274
|
-
/// `binary` input is a WebAssembly binary, the text format is not supported
|
275
|
-
/// by this function. It's generally recommended to use [`Module::new`], but
|
276
|
-
/// if it's required to not support the text format this function can be
|
277
|
-
/// used instead.
|
278
|
-
///
|
279
|
-
/// # Examples
|
280
|
-
///
|
281
|
-
/// ```
|
282
|
-
/// # use wasmtime::*;
|
283
|
-
/// # fn main() -> anyhow::Result<()> {
|
284
|
-
/// # let engine = Engine::default();
|
285
|
-
/// let wasm = b"\0asm\x01\0\0\0";
|
286
|
-
/// let module = Module::from_binary(&engine, wasm)?;
|
287
|
-
/// # Ok(())
|
288
|
-
/// # }
|
289
|
-
/// ```
|
290
|
-
///
|
291
|
-
/// Note that the text format is **not** accepted by this function:
|
292
|
-
///
|
293
|
-
/// ```
|
294
|
-
/// # use wasmtime::*;
|
295
|
-
/// # fn main() -> anyhow::Result<()> {
|
296
|
-
/// # let engine = Engine::default();
|
297
|
-
/// assert!(Module::from_binary(&engine, b"(module)").is_err());
|
298
|
-
/// # Ok(())
|
299
|
-
/// # }
|
300
|
-
/// ```
|
301
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
302
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
303
|
-
pub fn from_binary(engine: &Engine, binary: &[u8]) -> Result<Module> {
|
304
|
-
engine
|
305
|
-
.check_compatible_with_native_host()
|
306
|
-
.context("compilation settings are not compatible with the native host")?;
|
307
|
-
|
308
|
-
cfg_if::cfg_if! {
|
309
|
-
if #[cfg(feature = "cache")] {
|
310
|
-
let state = (HashedEngineCompileEnv(engine), binary);
|
311
|
-
let (code, info_and_types) = wasmtime_cache::ModuleCacheEntry::new(
|
312
|
-
"wasmtime",
|
313
|
-
engine.cache_config(),
|
314
|
-
)
|
315
|
-
.get_data_raw(
|
316
|
-
&state,
|
317
|
-
|
318
|
-
// Cache miss, compute the actual artifacts
|
319
|
-
|(engine, wasm)| -> Result<_> {
|
320
|
-
let (mmap, info) = Module::build_artifacts(engine.0, wasm)?;
|
321
|
-
let code = publish_mmap(mmap)?;
|
322
|
-
Ok((code, info))
|
323
|
-
},
|
324
|
-
|
325
|
-
// Implementation of how to serialize artifacts
|
326
|
-
|(_engine, _wasm), (code, _info_and_types)| {
|
327
|
-
Some(code.mmap().to_vec())
|
328
|
-
},
|
329
|
-
|
330
|
-
// Cache hit, deserialize the provided artifacts
|
331
|
-
|(engine, _wasm), serialized_bytes| {
|
332
|
-
let code = engine.0.load_code_bytes(&serialized_bytes, ObjectKind::Module).ok()?;
|
333
|
-
Some((code, None))
|
334
|
-
},
|
335
|
-
)?;
|
336
|
-
} else {
|
337
|
-
let (mmap, info_and_types) = Module::build_artifacts(engine, binary)?;
|
338
|
-
let code = publish_mmap(mmap)?;
|
339
|
-
}
|
340
|
-
};
|
341
|
-
|
342
|
-
let info_and_types = info_and_types.map(|(info, types)| (info, types.into()));
|
343
|
-
return Self::from_parts(engine, code, info_and_types);
|
344
|
-
|
345
|
-
fn publish_mmap(mmap: MmapVec) -> Result<Arc<CodeMemory>> {
|
346
|
-
let mut code = CodeMemory::new(mmap)?;
|
347
|
-
code.publish()?;
|
348
|
-
Ok(Arc::new(code))
|
349
|
-
}
|
350
|
-
}
|
351
|
-
|
352
|
-
/// Creates a new WebAssembly `Module` from the contents of the given `file`
|
353
|
-
/// on disk, but with assumptions that the file is from a trusted source.
|
354
|
-
/// The file should be a binary- or text-format WebAssembly module, or a
|
355
|
-
/// precompiled artifact generated by the same version of Wasmtime.
|
356
|
-
///
|
357
|
-
/// # Unsafety
|
358
|
-
///
|
359
|
-
/// All of the reasons that [`deserialize`] is `unsafe` apply to this
|
360
|
-
/// function as well. Arbitrary data loaded from a file may trick Wasmtime
|
361
|
-
/// into arbitrary code execution since the contents of the file are not
|
362
|
-
/// validated to be a valid precompiled module.
|
363
|
-
///
|
364
|
-
/// [`deserialize`]: Module::deserialize
|
365
|
-
///
|
366
|
-
/// Additionally though this function is also `unsafe` because the file
|
367
|
-
/// referenced must remain unchanged and a valid precompiled module for the
|
368
|
-
/// entire lifetime of the [`Module`] returned. Any changes to the file on
|
369
|
-
/// disk may change future instantiations of the module to be incorrect.
|
370
|
-
/// This is because the file is mapped into memory and lazily loaded pages
|
371
|
-
/// reflect the current state of the file, not necessarily the origianl
|
372
|
-
/// state of the file.
|
373
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
374
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
375
|
-
pub unsafe fn from_trusted_file(engine: &Engine, file: impl AsRef<Path>) -> Result<Module> {
|
376
|
-
let mmap = MmapVec::from_file(file.as_ref())?;
|
377
|
-
if &mmap[0..4] == b"\x7fELF" {
|
378
|
-
let code = engine.load_code(mmap, ObjectKind::Module)?;
|
379
|
-
return Module::from_parts(engine, code, None);
|
380
|
-
}
|
381
|
-
|
382
|
-
Module::new(engine, &*mmap)
|
383
|
-
}
|
384
|
-
|
385
|
-
/// Converts an input binary-encoded WebAssembly module to compilation
|
386
|
-
/// artifacts and type information.
|
387
|
-
///
|
388
|
-
/// This is where compilation actually happens of WebAssembly modules and
|
389
|
-
/// translation/parsing/validation of the binary input occurs. The binary
|
390
|
-
/// artifact represented in the `MmapVec` returned here is an in-memory ELF
|
391
|
-
/// file in an owned area of virtual linear memory where permissions (such
|
392
|
-
/// as the executable bit) can be applied.
|
393
|
-
///
|
394
|
-
/// Additionally compilation returns an `Option` here which is always
|
395
|
-
/// `Some`, notably compiled metadata about the module in addition to the
|
396
|
-
/// type information found within.
|
397
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
398
|
-
pub(crate) fn build_artifacts(
|
399
|
-
engine: &Engine,
|
400
|
-
wasm: &[u8],
|
401
|
-
) -> Result<(MmapVec, Option<(CompiledModuleInfo, ModuleTypes)>)> {
|
402
|
-
use crate::compiler::CompileInputs;
|
403
|
-
|
404
|
-
let tunables = &engine.config().tunables;
|
405
|
-
|
406
|
-
// First a `ModuleEnvironment` is created which records type information
|
407
|
-
// about the wasm module. This is where the WebAssembly is parsed and
|
408
|
-
// validated. Afterwards `types` will have all the type information for
|
409
|
-
// this module.
|
410
|
-
let mut validator =
|
411
|
-
wasmparser::Validator::new_with_features(engine.config().features.clone());
|
412
|
-
let parser = wasmparser::Parser::new(0);
|
413
|
-
let mut types = Default::default();
|
414
|
-
let mut translation = ModuleEnvironment::new(tunables, &mut validator, &mut types)
|
415
|
-
.translate(parser, wasm)
|
416
|
-
.context("failed to parse WebAssembly module")?;
|
417
|
-
let functions = mem::take(&mut translation.function_body_inputs);
|
418
|
-
let types = types.finish();
|
419
|
-
|
420
|
-
let compile_inputs = CompileInputs::for_module(&types, &translation, functions);
|
421
|
-
let unlinked_compile_outputs = compile_inputs.compile(engine)?;
|
422
|
-
let (compiled_funcs, function_indices) = unlinked_compile_outputs.pre_link();
|
423
|
-
|
424
|
-
// Emplace all compiled functions into the object file with any other
|
425
|
-
// sections associated with code as well.
|
426
|
-
let mut object = engine.compiler().object(ObjectKind::Module)?;
|
427
|
-
// Insert `Engine` and type-level information into the compiled
|
428
|
-
// artifact so if this module is deserialized later it contains all
|
429
|
-
// information necessary.
|
430
|
-
//
|
431
|
-
// Note that `append_compiler_info` and `append_types` here in theory
|
432
|
-
// can both be skipped if this module will never get serialized.
|
433
|
-
// They're only used during deserialization and not during runtime for
|
434
|
-
// the module itself. Currently there's no need for that, however, so
|
435
|
-
// it's left as an exercise for later.
|
436
|
-
engine.append_compiler_info(&mut object);
|
437
|
-
engine.append_bti(&mut object);
|
438
|
-
|
439
|
-
let (mut object, compilation_artifacts) = function_indices.link_and_append_code(
|
440
|
-
object,
|
441
|
-
engine,
|
442
|
-
compiled_funcs,
|
443
|
-
std::iter::once(translation).collect(),
|
444
|
-
)?;
|
445
|
-
|
446
|
-
let info = compilation_artifacts.unwrap_as_module_info();
|
447
|
-
object.serialize_info(&(&info, &types));
|
448
|
-
let mmap = object.finish()?;
|
449
|
-
|
450
|
-
Ok((mmap, Some((info, types))))
|
451
|
-
}
|
452
|
-
|
453
|
-
/// Deserializes an in-memory compiled module previously created with
|
454
|
-
/// [`Module::serialize`] or [`Engine::precompile_module`].
|
455
|
-
///
|
456
|
-
/// This function will deserialize the binary blobs emitted by
|
457
|
-
/// [`Module::serialize`] and [`Engine::precompile_module`] back into an
|
458
|
-
/// in-memory [`Module`] that's ready to be instantiated.
|
459
|
-
///
|
460
|
-
/// Note that the [`Module::deserialize_file`] method is more optimized than
|
461
|
-
/// this function, so if the serialized module is already present in a file
|
462
|
-
/// it's recommended to use that method instead.
|
463
|
-
///
|
464
|
-
/// # Unsafety
|
465
|
-
///
|
466
|
-
/// This function is marked as `unsafe` because if fed invalid input or used
|
467
|
-
/// improperly this could lead to memory safety vulnerabilities. This method
|
468
|
-
/// should not, for example, be exposed to arbitrary user input.
|
469
|
-
///
|
470
|
-
/// The structure of the binary blob read here is only lightly validated
|
471
|
-
/// internally in `wasmtime`. This is intended to be an efficient
|
472
|
-
/// "rehydration" for a [`Module`] which has very few runtime checks beyond
|
473
|
-
/// deserialization. Arbitrary input could, for example, replace valid
|
474
|
-
/// compiled code with any other valid compiled code, meaning that this can
|
475
|
-
/// trivially be used to execute arbitrary code otherwise.
|
476
|
-
///
|
477
|
-
/// For these reasons this function is `unsafe`. This function is only
|
478
|
-
/// designed to receive the previous input from [`Module::serialize`] and
|
479
|
-
/// [`Engine::precompile_module`]. If the exact output of those functions
|
480
|
-
/// (unmodified) is passed to this function then calls to this function can
|
481
|
-
/// be considered safe. It is the caller's responsibility to provide the
|
482
|
-
/// guarantee that only previously-serialized bytes are being passed in
|
483
|
-
/// here.
|
484
|
-
///
|
485
|
-
/// Note that this function is designed to be safe receiving output from
|
486
|
-
/// *any* compiled version of `wasmtime` itself. This means that it is safe
|
487
|
-
/// to feed output from older versions of Wasmtime into this function, in
|
488
|
-
/// addition to newer versions of wasmtime (from the future!). These inputs
|
489
|
-
/// will deterministically and safely produce an `Err`. This function only
|
490
|
-
/// successfully accepts inputs from the same version of `wasmtime`, but the
|
491
|
-
/// safety guarantee only applies to externally-defined blobs of bytes, not
|
492
|
-
/// those defined by any version of wasmtime. (this means that if you cache
|
493
|
-
/// blobs across versions of wasmtime you can be safely guaranteed that
|
494
|
-
/// future versions of wasmtime will reject old cache entries).
|
495
|
-
pub unsafe fn deserialize(engine: &Engine, bytes: impl AsRef<[u8]>) -> Result<Module> {
|
496
|
-
let code = engine.load_code_bytes(bytes.as_ref(), ObjectKind::Module)?;
|
497
|
-
Module::from_parts(engine, code, None)
|
498
|
-
}
|
499
|
-
|
500
|
-
/// Same as [`deserialize`], except that the contents of `path` are read to
|
501
|
-
/// deserialize into a [`Module`].
|
502
|
-
///
|
503
|
-
/// This method is provided because it can be faster than [`deserialize`]
|
504
|
-
/// since the data doesn't need to be copied around, but rather the module
|
505
|
-
/// can be used directly from an mmap'd view of the file provided.
|
506
|
-
///
|
507
|
-
/// [`deserialize`]: Module::deserialize
|
508
|
-
///
|
509
|
-
/// # Unsafety
|
510
|
-
///
|
511
|
-
/// All of the reasons that [`deserialize`] is `unsafe` applies to this
|
512
|
-
/// function as well. Arbitrary data loaded from a file may trick Wasmtime
|
513
|
-
/// into arbitrary code execution since the contents of the file are not
|
514
|
-
/// validated to be a valid precompiled module.
|
515
|
-
///
|
516
|
-
/// Additionally though this function is also `unsafe` because the file
|
517
|
-
/// referenced must remain unchanged and a valid precompiled module for the
|
518
|
-
/// entire lifetime of the [`Module`] returned. Any changes to the file on
|
519
|
-
/// disk may change future instantiations of the module to be incorrect.
|
520
|
-
/// This is because the file is mapped into memory and lazily loaded pages
|
521
|
-
/// reflect the current state of the file, not necessarily the origianl
|
522
|
-
/// state of the file.
|
523
|
-
pub unsafe fn deserialize_file(engine: &Engine, path: impl AsRef<Path>) -> Result<Module> {
|
524
|
-
let code = engine.load_code_file(path.as_ref(), ObjectKind::Module)?;
|
525
|
-
Module::from_parts(engine, code, None)
|
526
|
-
}
|
527
|
-
|
528
|
-
/// Entrypoint for creating a `Module` for all above functions, both
|
529
|
-
/// of the AOT and jit-compiled cateogries.
|
530
|
-
///
|
531
|
-
/// In all cases the compilation artifact, `code_memory`, is provided here.
|
532
|
-
/// The `info_and_types` argument is `None` when a module is being
|
533
|
-
/// deserialized from a precompiled artifact or it's `Some` if it was just
|
534
|
-
/// compiled and the values are already available.
|
535
|
-
fn from_parts(
|
536
|
-
engine: &Engine,
|
537
|
-
code_memory: Arc<CodeMemory>,
|
538
|
-
info_and_types: Option<(CompiledModuleInfo, ModuleTypes)>,
|
539
|
-
) -> Result<Self> {
|
540
|
-
// Acquire this module's metadata and type information, deserializing
|
541
|
-
// it from the provided artifact if it wasn't otherwise provided
|
542
|
-
// already.
|
543
|
-
let (info, types) = match info_and_types {
|
544
|
-
Some((info, types)) => (info, types),
|
545
|
-
None => bincode::deserialize(code_memory.wasmtime_info())?,
|
546
|
-
};
|
547
|
-
|
548
|
-
// Register function type signatures into the engine for the lifetime
|
549
|
-
// of the `Module` that will be returned. This notably also builds up
|
550
|
-
// maps for trampolines to be used for this module when inserted into
|
551
|
-
// stores.
|
552
|
-
//
|
553
|
-
// Note that the unsafety here should be ok since the `trampolines`
|
554
|
-
// field should only point to valid trampoline function pointers
|
555
|
-
// within the text section.
|
556
|
-
let signatures = SignatureCollection::new_for_module(engine.signatures(), &types);
|
557
|
-
|
558
|
-
// Package up all our data into a `CodeObject` and delegate to the final
|
559
|
-
// step of module compilation.
|
560
|
-
let code = Arc::new(CodeObject::new(code_memory, signatures, types.into()));
|
561
|
-
Module::from_parts_raw(engine, code, info, true)
|
562
|
-
}
|
563
|
-
|
564
|
-
pub(crate) fn from_parts_raw(
|
565
|
-
engine: &Engine,
|
566
|
-
code: Arc<CodeObject>,
|
567
|
-
info: CompiledModuleInfo,
|
568
|
-
serializable: bool,
|
569
|
-
) -> Result<Self> {
|
570
|
-
let module = CompiledModule::from_artifacts(
|
571
|
-
code.code_memory().clone(),
|
572
|
-
info,
|
573
|
-
engine.profiler(),
|
574
|
-
engine.unique_id_allocator(),
|
575
|
-
)?;
|
576
|
-
|
577
|
-
// Validate the module can be used with the current instance allocator.
|
578
|
-
let offsets = VMOffsets::new(HostPtr, module.module());
|
579
|
-
engine
|
580
|
-
.allocator()
|
581
|
-
.validate_module(module.module(), &offsets)?;
|
582
|
-
|
583
|
-
Ok(Self {
|
584
|
-
inner: Arc::new(ModuleInner {
|
585
|
-
engine: engine.clone(),
|
586
|
-
code,
|
587
|
-
memory_images: OnceCell::new(),
|
588
|
-
module,
|
589
|
-
serializable,
|
590
|
-
offsets,
|
591
|
-
}),
|
592
|
-
})
|
593
|
-
}
|
594
|
-
|
595
|
-
/// Validates `binary` input data as a WebAssembly binary given the
|
596
|
-
/// configuration in `engine`.
|
597
|
-
///
|
598
|
-
/// This function will perform a speedy validation of the `binary` input
|
599
|
-
/// WebAssembly module (which is in [binary form][binary], the text format
|
600
|
-
/// is not accepted by this function) and return either `Ok` or `Err`
|
601
|
-
/// depending on the results of validation. The `engine` argument indicates
|
602
|
-
/// configuration for WebAssembly features, for example, which are used to
|
603
|
-
/// indicate what should be valid and what shouldn't be.
|
604
|
-
///
|
605
|
-
/// Validation automatically happens as part of [`Module::new`].
|
606
|
-
///
|
607
|
-
/// # Errors
|
608
|
-
///
|
609
|
-
/// If validation fails for any reason (type check error, usage of a feature
|
610
|
-
/// that wasn't enabled, etc) then an error with a description of the
|
611
|
-
/// validation issue will be returned.
|
612
|
-
///
|
613
|
-
/// [binary]: https://webassembly.github.io/spec/core/binary/index.html
|
614
|
-
pub fn validate(engine: &Engine, binary: &[u8]) -> Result<()> {
|
615
|
-
let mut validator = Validator::new_with_features(engine.config().features);
|
616
|
-
|
617
|
-
let mut functions = Vec::new();
|
618
|
-
for payload in Parser::new(0).parse_all(binary) {
|
619
|
-
let payload = payload?;
|
620
|
-
if let ValidPayload::Func(a, b) = validator.payload(&payload)? {
|
621
|
-
functions.push((a, b));
|
622
|
-
}
|
623
|
-
if let wasmparser::Payload::Version { encoding, .. } = &payload {
|
624
|
-
if let wasmparser::Encoding::Component = encoding {
|
625
|
-
bail!("component passed to module validation");
|
626
|
-
}
|
627
|
-
}
|
628
|
-
}
|
629
|
-
|
630
|
-
engine.run_maybe_parallel(functions, |(validator, body)| {
|
631
|
-
// FIXME: it would be best here to use a rayon-specific parallel
|
632
|
-
// iterator that maintains state-per-thread to share the function
|
633
|
-
// validator allocations (`Default::default` here) across multiple
|
634
|
-
// functions.
|
635
|
-
validator.into_validator(Default::default()).validate(&body)
|
636
|
-
})?;
|
637
|
-
Ok(())
|
638
|
-
}
|
639
|
-
|
640
|
-
/// Serializes this module to a vector of bytes.
|
641
|
-
///
|
642
|
-
/// This function is similar to the [`Engine::precompile_module`] method
|
643
|
-
/// where it produces an artifact of Wasmtime which is suitable to later
|
644
|
-
/// pass into [`Module::deserialize`]. If a module is never instantiated
|
645
|
-
/// then it's recommended to use [`Engine::precompile_module`] instead of
|
646
|
-
/// this method, but if a module is both instantiated and serialized then
|
647
|
-
/// this method can be useful to get the serialized version without
|
648
|
-
/// compiling twice.
|
649
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
650
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
651
|
-
pub fn serialize(&self) -> Result<Vec<u8>> {
|
652
|
-
// The current representation of compiled modules within a compiled
|
653
|
-
// component means that it cannot be serialized. The mmap returned here
|
654
|
-
// is the mmap for the entire component and while it contains all
|
655
|
-
// necessary data to deserialize this particular module it's all
|
656
|
-
// embedded within component-specific information.
|
657
|
-
//
|
658
|
-
// It's not the hardest thing in the world to support this but it's
|
659
|
-
// expected that there's not much of a use case at this time. In theory
|
660
|
-
// all that needs to be done is to edit the `.wasmtime.info` section
|
661
|
-
// to contains this module's metadata instead of the metadata for the
|
662
|
-
// whole component. The metadata itself is fairly trivially
|
663
|
-
// recreateable here it's more that there's no easy one-off API for
|
664
|
-
// editing the sections of an ELF object to use here.
|
665
|
-
//
|
666
|
-
// Overall for now this simply always returns an error in this
|
667
|
-
// situation. If you're reading this and feel that the situation should
|
668
|
-
// be different please feel free to open an issue.
|
669
|
-
if !self.inner.serializable {
|
670
|
-
bail!("cannot serialize a module exported from a component");
|
671
|
-
}
|
672
|
-
Ok(self.compiled_module().mmap().to_vec())
|
673
|
-
}
|
674
|
-
|
675
|
-
pub(crate) fn compiled_module(&self) -> &CompiledModule {
|
676
|
-
&self.inner.module
|
677
|
-
}
|
678
|
-
|
679
|
-
fn code_object(&self) -> &Arc<CodeObject> {
|
680
|
-
&self.inner.code
|
681
|
-
}
|
682
|
-
|
683
|
-
pub(crate) fn env_module(&self) -> &wasmtime_environ::Module {
|
684
|
-
self.compiled_module().module()
|
685
|
-
}
|
686
|
-
|
687
|
-
pub(crate) fn types(&self) -> &ModuleTypes {
|
688
|
-
self.inner.code.module_types()
|
689
|
-
}
|
690
|
-
|
691
|
-
pub(crate) fn signatures(&self) -> &SignatureCollection {
|
692
|
-
self.inner.code.signatures()
|
693
|
-
}
|
694
|
-
|
695
|
-
/// Returns identifier/name that this [`Module`] has. This name
|
696
|
-
/// is used in traps/backtrace details.
|
697
|
-
///
|
698
|
-
/// Note that most LLVM/clang/Rust-produced modules do not have a name
|
699
|
-
/// associated with them, but other wasm tooling can be used to inject or
|
700
|
-
/// add a name.
|
701
|
-
///
|
702
|
-
/// # Examples
|
703
|
-
///
|
704
|
-
/// ```
|
705
|
-
/// # use wasmtime::*;
|
706
|
-
/// # fn main() -> anyhow::Result<()> {
|
707
|
-
/// # let engine = Engine::default();
|
708
|
-
/// let module = Module::new(&engine, "(module $foo)")?;
|
709
|
-
/// assert_eq!(module.name(), Some("foo"));
|
710
|
-
///
|
711
|
-
/// let module = Module::new(&engine, "(module)")?;
|
712
|
-
/// assert_eq!(module.name(), None);
|
713
|
-
///
|
714
|
-
/// # Ok(())
|
715
|
-
/// # }
|
716
|
-
/// ```
|
717
|
-
pub fn name(&self) -> Option<&str> {
|
718
|
-
self.compiled_module().module().name.as_deref()
|
719
|
-
}
|
720
|
-
|
721
|
-
/// Returns the list of imports that this [`Module`] has and must be
|
722
|
-
/// satisfied.
|
723
|
-
///
|
724
|
-
/// This function returns the list of imports that the wasm module has, but
|
725
|
-
/// only the types of each import. The type of each import is used to
|
726
|
-
/// typecheck the [`Instance::new`](crate::Instance::new) method's `imports`
|
727
|
-
/// argument. The arguments to that function must match up 1-to-1 with the
|
728
|
-
/// entries in the array returned here.
|
729
|
-
///
|
730
|
-
/// The imports returned reflect the order of the imports in the wasm module
|
731
|
-
/// itself, and note that no form of deduplication happens.
|
732
|
-
///
|
733
|
-
/// # Examples
|
734
|
-
///
|
735
|
-
/// Modules with no imports return an empty list here:
|
736
|
-
///
|
737
|
-
/// ```
|
738
|
-
/// # use wasmtime::*;
|
739
|
-
/// # fn main() -> anyhow::Result<()> {
|
740
|
-
/// # let engine = Engine::default();
|
741
|
-
/// let module = Module::new(&engine, "(module)")?;
|
742
|
-
/// assert_eq!(module.imports().len(), 0);
|
743
|
-
/// # Ok(())
|
744
|
-
/// # }
|
745
|
-
/// ```
|
746
|
-
///
|
747
|
-
/// and modules with imports will have a non-empty list:
|
748
|
-
///
|
749
|
-
/// ```
|
750
|
-
/// # use wasmtime::*;
|
751
|
-
/// # fn main() -> anyhow::Result<()> {
|
752
|
-
/// # let engine = Engine::default();
|
753
|
-
/// let wat = r#"
|
754
|
-
/// (module
|
755
|
-
/// (import "host" "foo" (func))
|
756
|
-
/// )
|
757
|
-
/// "#;
|
758
|
-
/// let module = Module::new(&engine, wat)?;
|
759
|
-
/// assert_eq!(module.imports().len(), 1);
|
760
|
-
/// let import = module.imports().next().unwrap();
|
761
|
-
/// assert_eq!(import.module(), "host");
|
762
|
-
/// assert_eq!(import.name(), "foo");
|
763
|
-
/// match import.ty() {
|
764
|
-
/// ExternType::Func(_) => { /* ... */ }
|
765
|
-
/// _ => panic!("unexpected import type!"),
|
766
|
-
/// }
|
767
|
-
/// # Ok(())
|
768
|
-
/// # }
|
769
|
-
/// ```
|
770
|
-
pub fn imports<'module>(
|
771
|
-
&'module self,
|
772
|
-
) -> impl ExactSizeIterator<Item = ImportType<'module>> + 'module {
|
773
|
-
let module = self.compiled_module().module();
|
774
|
-
let types = self.types();
|
775
|
-
module
|
776
|
-
.imports()
|
777
|
-
.map(move |(module, field, ty)| ImportType::new(module, field, ty, types))
|
778
|
-
.collect::<Vec<_>>()
|
779
|
-
.into_iter()
|
780
|
-
}
|
781
|
-
|
782
|
-
/// Returns the list of exports that this [`Module`] has and will be
|
783
|
-
/// available after instantiation.
|
784
|
-
///
|
785
|
-
/// This function will return the type of each item that will be returned
|
786
|
-
/// from [`Instance::exports`](crate::Instance::exports). Each entry in this
|
787
|
-
/// list corresponds 1-to-1 with that list, and the entries here will
|
788
|
-
/// indicate the name of the export along with the type of the export.
|
789
|
-
///
|
790
|
-
/// # Examples
|
791
|
-
///
|
792
|
-
/// Modules might not have any exports:
|
793
|
-
///
|
794
|
-
/// ```
|
795
|
-
/// # use wasmtime::*;
|
796
|
-
/// # fn main() -> anyhow::Result<()> {
|
797
|
-
/// # let engine = Engine::default();
|
798
|
-
/// let module = Module::new(&engine, "(module)")?;
|
799
|
-
/// assert!(module.exports().next().is_none());
|
800
|
-
/// # Ok(())
|
801
|
-
/// # }
|
802
|
-
/// ```
|
803
|
-
///
|
804
|
-
/// When the exports are not empty, you can inspect each export:
|
805
|
-
///
|
806
|
-
/// ```
|
807
|
-
/// # use wasmtime::*;
|
808
|
-
/// # fn main() -> anyhow::Result<()> {
|
809
|
-
/// # let engine = Engine::default();
|
810
|
-
/// let wat = r#"
|
811
|
-
/// (module
|
812
|
-
/// (func (export "foo"))
|
813
|
-
/// (memory (export "memory") 1)
|
814
|
-
/// )
|
815
|
-
/// "#;
|
816
|
-
/// let module = Module::new(&engine, wat)?;
|
817
|
-
/// assert_eq!(module.exports().len(), 2);
|
818
|
-
///
|
819
|
-
/// let mut exports = module.exports();
|
820
|
-
/// let foo = exports.next().unwrap();
|
821
|
-
/// assert_eq!(foo.name(), "foo");
|
822
|
-
/// match foo.ty() {
|
823
|
-
/// ExternType::Func(_) => { /* ... */ }
|
824
|
-
/// _ => panic!("unexpected export type!"),
|
825
|
-
/// }
|
826
|
-
///
|
827
|
-
/// let memory = exports.next().unwrap();
|
828
|
-
/// assert_eq!(memory.name(), "memory");
|
829
|
-
/// match memory.ty() {
|
830
|
-
/// ExternType::Memory(_) => { /* ... */ }
|
831
|
-
/// _ => panic!("unexpected export type!"),
|
832
|
-
/// }
|
833
|
-
/// # Ok(())
|
834
|
-
/// # }
|
835
|
-
/// ```
|
836
|
-
pub fn exports<'module>(
|
837
|
-
&'module self,
|
838
|
-
) -> impl ExactSizeIterator<Item = ExportType<'module>> + 'module {
|
839
|
-
let module = self.compiled_module().module();
|
840
|
-
let types = self.types();
|
841
|
-
module.exports.iter().map(move |(name, entity_index)| {
|
842
|
-
ExportType::new(name, module.type_of(*entity_index), types)
|
843
|
-
})
|
844
|
-
}
|
845
|
-
|
846
|
-
/// Looks up an export in this [`Module`] by name.
|
847
|
-
///
|
848
|
-
/// This function will return the type of an export with the given name.
|
849
|
-
///
|
850
|
-
/// # Examples
|
851
|
-
///
|
852
|
-
/// There may be no export with that name:
|
853
|
-
///
|
854
|
-
/// ```
|
855
|
-
/// # use wasmtime::*;
|
856
|
-
/// # fn main() -> anyhow::Result<()> {
|
857
|
-
/// # let engine = Engine::default();
|
858
|
-
/// let module = Module::new(&engine, "(module)")?;
|
859
|
-
/// assert!(module.get_export("foo").is_none());
|
860
|
-
/// # Ok(())
|
861
|
-
/// # }
|
862
|
-
/// ```
|
863
|
-
///
|
864
|
-
/// When there is an export with that name, it is returned:
|
865
|
-
///
|
866
|
-
/// ```
|
867
|
-
/// # use wasmtime::*;
|
868
|
-
/// # fn main() -> anyhow::Result<()> {
|
869
|
-
/// # let engine = Engine::default();
|
870
|
-
/// let wat = r#"
|
871
|
-
/// (module
|
872
|
-
/// (func (export "foo"))
|
873
|
-
/// (memory (export "memory") 1)
|
874
|
-
/// )
|
875
|
-
/// "#;
|
876
|
-
/// let module = Module::new(&engine, wat)?;
|
877
|
-
/// let foo = module.get_export("foo");
|
878
|
-
/// assert!(foo.is_some());
|
879
|
-
///
|
880
|
-
/// let foo = foo.unwrap();
|
881
|
-
/// match foo {
|
882
|
-
/// ExternType::Func(_) => { /* ... */ }
|
883
|
-
/// _ => panic!("unexpected export type!"),
|
884
|
-
/// }
|
885
|
-
///
|
886
|
-
/// # Ok(())
|
887
|
-
/// # }
|
888
|
-
/// ```
|
889
|
-
pub fn get_export(&self, name: &str) -> Option<ExternType> {
|
890
|
-
let module = self.compiled_module().module();
|
891
|
-
let entity_index = module.exports.get(name)?;
|
892
|
-
Some(ExternType::from_wasmtime(
|
893
|
-
self.types(),
|
894
|
-
&module.type_of(*entity_index),
|
895
|
-
))
|
896
|
-
}
|
897
|
-
|
898
|
-
/// Returns the [`Engine`] that this [`Module`] was compiled by.
|
899
|
-
pub fn engine(&self) -> &Engine {
|
900
|
-
&self.inner.engine
|
901
|
-
}
|
902
|
-
|
903
|
-
/// Returns a summary of the resources required to instantiate this
|
904
|
-
/// [`Module`].
|
905
|
-
///
|
906
|
-
/// Potential uses of the returned information:
|
907
|
-
///
|
908
|
-
/// * Determining whether your pooling allocator configuration supports
|
909
|
-
/// instantiating this module.
|
910
|
-
///
|
911
|
-
/// * Deciding how many of which `Module` you want to instantiate within a
|
912
|
-
/// fixed amount of resources, e.g. determining whether to create 5
|
913
|
-
/// instances of module X or 10 instances of module Y.
|
914
|
-
///
|
915
|
-
/// # Example
|
916
|
-
///
|
917
|
-
/// ```
|
918
|
-
/// # fn main() -> wasmtime::Result<()> {
|
919
|
-
/// use wasmtime::{Config, Engine, Module};
|
920
|
-
///
|
921
|
-
/// let mut config = Config::new();
|
922
|
-
/// config.wasm_multi_memory(true);
|
923
|
-
/// let engine = Engine::new(&config)?;
|
924
|
-
///
|
925
|
-
/// let module = Module::new(&engine, r#"
|
926
|
-
/// (module
|
927
|
-
/// ;; Import a memory. Doesn't count towards required resources.
|
928
|
-
/// (import "a" "b" (memory 10))
|
929
|
-
/// ;; Define two local memories. These count towards the required
|
930
|
-
/// ;; resources.
|
931
|
-
/// (memory 1)
|
932
|
-
/// (memory 6)
|
933
|
-
/// )
|
934
|
-
/// "#)?;
|
935
|
-
///
|
936
|
-
/// let resources = module.resources_required();
|
937
|
-
///
|
938
|
-
/// // Instantiating the module will require allocating two memories, and
|
939
|
-
/// // the maximum initial memory size is six Wasm pages.
|
940
|
-
/// assert_eq!(resources.num_memories, 2);
|
941
|
-
/// assert_eq!(resources.max_initial_memory_size, Some(6));
|
942
|
-
///
|
943
|
-
/// // The module doesn't need any tables.
|
944
|
-
/// assert_eq!(resources.num_tables, 0);
|
945
|
-
/// assert_eq!(resources.max_initial_table_size, None);
|
946
|
-
/// # Ok(()) }
|
947
|
-
/// ```
|
948
|
-
pub fn resources_required(&self) -> ResourcesRequired {
|
949
|
-
let em = self.env_module();
|
950
|
-
let num_memories = u32::try_from(em.memory_plans.len() - em.num_imported_memories).unwrap();
|
951
|
-
let max_initial_memory_size = em
|
952
|
-
.memory_plans
|
953
|
-
.values()
|
954
|
-
.skip(em.num_imported_memories)
|
955
|
-
.map(|plan| plan.memory.minimum)
|
956
|
-
.max();
|
957
|
-
let num_tables = u32::try_from(em.table_plans.len() - em.num_imported_tables).unwrap();
|
958
|
-
let max_initial_table_size = em
|
959
|
-
.table_plans
|
960
|
-
.values()
|
961
|
-
.skip(em.num_imported_tables)
|
962
|
-
.map(|plan| plan.table.minimum)
|
963
|
-
.max();
|
964
|
-
ResourcesRequired {
|
965
|
-
num_memories,
|
966
|
-
max_initial_memory_size,
|
967
|
-
num_tables,
|
968
|
-
max_initial_table_size,
|
969
|
-
}
|
970
|
-
}
|
971
|
-
|
972
|
-
/// Returns the `ModuleInner` cast as `ModuleRuntimeInfo` for use
|
973
|
-
/// by the runtime.
|
974
|
-
pub(crate) fn runtime_info(&self) -> Arc<dyn wasmtime_runtime::ModuleRuntimeInfo> {
|
975
|
-
// N.B.: this needs to return a clone because we cannot
|
976
|
-
// statically cast the &Arc<ModuleInner> to &Arc<dyn Trait...>.
|
977
|
-
self.inner.clone()
|
978
|
-
}
|
979
|
-
|
980
|
-
pub(crate) fn module_info(&self) -> &dyn wasmtime_runtime::ModuleInfo {
|
981
|
-
&*self.inner
|
982
|
-
}
|
983
|
-
|
984
|
-
/// Returns the range of bytes in memory where this module's compilation
|
985
|
-
/// image resides.
|
986
|
-
///
|
987
|
-
/// The compilation image for a module contains executable code, data, debug
|
988
|
-
/// information, etc. This is roughly the same as the `Module::serialize`
|
989
|
-
/// but not the exact same.
|
990
|
-
///
|
991
|
-
/// The range of memory reported here is exposed to allow low-level
|
992
|
-
/// manipulation of the memory in platform-specific manners such as using
|
993
|
-
/// `mlock` to force the contents to be paged in immediately or keep them
|
994
|
-
/// paged in after they're loaded.
|
995
|
-
///
|
996
|
-
/// It is not safe to modify the memory in this range, nor is it safe to
|
997
|
-
/// modify the protections of memory in this range.
|
998
|
-
pub fn image_range(&self) -> Range<usize> {
|
999
|
-
self.compiled_module().image_range()
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
/// Force initialization of copy-on-write images to happen here-and-now
|
1003
|
-
/// instead of when they're requested during first instantiation.
|
1004
|
-
///
|
1005
|
-
/// When [copy-on-write memory
|
1006
|
-
/// initialization](crate::Config::memory_init_cow) is enabled then Wasmtime
|
1007
|
-
/// will lazily create the initialization image for a module. This method
|
1008
|
-
/// can be used to explicitly dictate when this initialization happens.
|
1009
|
-
///
|
1010
|
-
/// Note that this largely only matters on Linux when memfd is used.
|
1011
|
-
/// Otherwise the copy-on-write image typically comes from disk and in that
|
1012
|
-
/// situation the creation of the image is trivial as the image is always
|
1013
|
-
/// sourced from disk. On Linux, though, when memfd is used a memfd is
|
1014
|
-
/// created and the initialization image is written to it.
|
1015
|
-
///
|
1016
|
-
/// Also note that this method is not required to be called, it's available
|
1017
|
-
/// as a performance optimization if required but is otherwise handled
|
1018
|
-
/// automatically.
|
1019
|
-
pub fn initialize_copy_on_write_image(&self) -> Result<()> {
|
1020
|
-
self.inner.memory_images()?;
|
1021
|
-
Ok(())
|
1022
|
-
}
|
1023
|
-
|
1024
|
-
/// Get the map from `.text` section offsets to Wasm binary offsets for this
|
1025
|
-
/// module.
|
1026
|
-
///
|
1027
|
-
/// Each entry is a (`.text` section offset, Wasm binary offset) pair.
|
1028
|
-
///
|
1029
|
-
/// Entries are yielded in order of `.text` section offset.
|
1030
|
-
///
|
1031
|
-
/// Some entries are missing a Wasm binary offset. This is for code that is
|
1032
|
-
/// not associated with any single location in the Wasm binary, or for when
|
1033
|
-
/// source information was optimized away.
|
1034
|
-
///
|
1035
|
-
/// Not every module has an address map, since address map generation can be
|
1036
|
-
/// turned off on `Config`.
|
1037
|
-
///
|
1038
|
-
/// There is not an entry for every `.text` section offset. Every offset
|
1039
|
-
/// after an entry's offset, but before the next entry's offset, is
|
1040
|
-
/// considered to map to the same Wasm binary offset as the original
|
1041
|
-
/// entry. For example, the address map will not contain the following
|
1042
|
-
/// sequnce of entries:
|
1043
|
-
///
|
1044
|
-
/// ```ignore
|
1045
|
-
/// [
|
1046
|
-
/// // ...
|
1047
|
-
/// (10, Some(42)),
|
1048
|
-
/// (11, Some(42)),
|
1049
|
-
/// (12, Some(42)),
|
1050
|
-
/// (13, Some(43)),
|
1051
|
-
/// // ...
|
1052
|
-
/// ]
|
1053
|
-
/// ```
|
1054
|
-
///
|
1055
|
-
/// Instead, it will drop the entries for offsets `11` and `12` since they
|
1056
|
-
/// are the same as the entry for offset `10`:
|
1057
|
-
///
|
1058
|
-
/// ```ignore
|
1059
|
-
/// [
|
1060
|
-
/// // ...
|
1061
|
-
/// (10, Some(42)),
|
1062
|
-
/// (13, Some(43)),
|
1063
|
-
/// // ...
|
1064
|
-
/// ]
|
1065
|
-
/// ```
|
1066
|
-
pub fn address_map<'a>(&'a self) -> Option<impl Iterator<Item = (usize, Option<u32>)> + 'a> {
|
1067
|
-
Some(
|
1068
|
-
wasmtime_environ::iterate_address_map(
|
1069
|
-
self.code_object().code_memory().address_map_data(),
|
1070
|
-
)?
|
1071
|
-
.map(|(offset, file_pos)| (offset as usize, file_pos.file_offset())),
|
1072
|
-
)
|
1073
|
-
}
|
1074
|
-
|
1075
|
-
/// Get this module's code object's `.text` section, containing its compiled
|
1076
|
-
/// executable code.
|
1077
|
-
pub fn text(&self) -> &[u8] {
|
1078
|
-
self.code_object().code_memory().text()
|
1079
|
-
}
|
1080
|
-
|
1081
|
-
/// Get the locations of functions in this module's `.text` section.
|
1082
|
-
///
|
1083
|
-
/// Each function's locartion is a (`.text` section offset, length) pair.
|
1084
|
-
pub fn function_locations<'a>(&'a self) -> impl ExactSizeIterator<Item = (usize, usize)> + 'a {
|
1085
|
-
self.compiled_module().finished_functions().map(|(f, _)| {
|
1086
|
-
let loc = self.compiled_module().func_loc(f);
|
1087
|
-
(loc.start as usize, loc.length as usize)
|
1088
|
-
})
|
1089
|
-
}
|
1090
|
-
|
1091
|
-
pub(crate) fn id(&self) -> CompiledModuleId {
|
1092
|
-
self.inner.module.unique_id()
|
1093
|
-
}
|
1094
|
-
}
|
1095
|
-
|
1096
|
-
impl ModuleInner {
|
1097
|
-
fn memory_images(&self) -> Result<Option<&ModuleMemoryImages>> {
|
1098
|
-
let images = self
|
1099
|
-
.memory_images
|
1100
|
-
.get_or_try_init(|| memory_images(&self.engine, &self.module))?
|
1101
|
-
.as_ref();
|
1102
|
-
Ok(images)
|
1103
|
-
}
|
1104
|
-
}
|
1105
|
-
|
1106
|
-
impl Drop for ModuleInner {
|
1107
|
-
fn drop(&mut self) {
|
1108
|
-
// When a `Module` is being dropped that means that it's no longer
|
1109
|
-
// present in any `Store` and it's additionally not longer held by any
|
1110
|
-
// embedder. Take this opportunity to purge any lingering instantiations
|
1111
|
-
// within a pooling instance allocator, if applicable.
|
1112
|
-
self.engine
|
1113
|
-
.allocator()
|
1114
|
-
.purge_module(self.module.unique_id());
|
1115
|
-
}
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
fn _assert_send_sync() {
|
1119
|
-
fn _assert<T: Send + Sync>() {}
|
1120
|
-
_assert::<Module>();
|
1121
|
-
}
|
1122
|
-
|
1123
|
-
/// This is a helper struct used when caching to hash the state of an `Engine`
|
1124
|
-
/// used for module compilation.
|
1125
|
-
///
|
1126
|
-
/// The hash computed for this structure is used to key the global wasmtime
|
1127
|
-
/// cache and dictates whether artifacts are reused. Consequently the contents
|
1128
|
-
/// of this hash dictate when artifacts are or aren't re-used.
|
1129
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
1130
|
-
pub(crate) struct HashedEngineCompileEnv<'a>(pub &'a Engine);
|
1131
|
-
|
1132
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
1133
|
-
impl std::hash::Hash for HashedEngineCompileEnv<'_> {
|
1134
|
-
fn hash<H: std::hash::Hasher>(&self, hasher: &mut H) {
|
1135
|
-
// Hash the compiler's state based on its target and configuration.
|
1136
|
-
let compiler = self.0.compiler();
|
1137
|
-
compiler.triple().hash(hasher);
|
1138
|
-
compiler.flags().hash(hasher);
|
1139
|
-
compiler.isa_flags().hash(hasher);
|
1140
|
-
|
1141
|
-
// Hash configuration state read for compilation
|
1142
|
-
let config = self.0.config();
|
1143
|
-
config.tunables.hash(hasher);
|
1144
|
-
config.features.hash(hasher);
|
1145
|
-
config.wmemcheck.hash(hasher);
|
1146
|
-
|
1147
|
-
// Catch accidental bugs of reusing across crate versions.
|
1148
|
-
config.module_version.hash(hasher);
|
1149
|
-
}
|
1150
|
-
}
|
1151
|
-
|
1152
|
-
impl wasmtime_runtime::ModuleRuntimeInfo for ModuleInner {
|
1153
|
-
fn module(&self) -> &Arc<wasmtime_environ::Module> {
|
1154
|
-
self.module.module()
|
1155
|
-
}
|
1156
|
-
|
1157
|
-
fn function(&self, index: DefinedFuncIndex) -> NonNull<VMWasmCallFunction> {
|
1158
|
-
let ptr = self
|
1159
|
-
.module
|
1160
|
-
.finished_function(index)
|
1161
|
-
.as_ptr()
|
1162
|
-
.cast::<VMWasmCallFunction>()
|
1163
|
-
.cast_mut();
|
1164
|
-
NonNull::new(ptr).unwrap()
|
1165
|
-
}
|
1166
|
-
|
1167
|
-
fn native_to_wasm_trampoline(
|
1168
|
-
&self,
|
1169
|
-
index: DefinedFuncIndex,
|
1170
|
-
) -> Option<NonNull<VMNativeCallFunction>> {
|
1171
|
-
let ptr = self
|
1172
|
-
.module
|
1173
|
-
.native_to_wasm_trampoline(index)?
|
1174
|
-
.as_ptr()
|
1175
|
-
.cast::<VMNativeCallFunction>()
|
1176
|
-
.cast_mut();
|
1177
|
-
Some(NonNull::new(ptr).unwrap())
|
1178
|
-
}
|
1179
|
-
|
1180
|
-
fn array_to_wasm_trampoline(&self, index: DefinedFuncIndex) -> Option<VMArrayCallFunction> {
|
1181
|
-
let ptr = self.module.array_to_wasm_trampoline(index)?.as_ptr();
|
1182
|
-
Some(unsafe { mem::transmute::<*const u8, VMArrayCallFunction>(ptr) })
|
1183
|
-
}
|
1184
|
-
|
1185
|
-
fn wasm_to_native_trampoline(
|
1186
|
-
&self,
|
1187
|
-
signature: VMSharedSignatureIndex,
|
1188
|
-
) -> Option<NonNull<VMWasmCallFunction>> {
|
1189
|
-
let sig = self.code.signatures().local_signature(signature)?;
|
1190
|
-
let ptr = self
|
1191
|
-
.module
|
1192
|
-
.wasm_to_native_trampoline(sig)
|
1193
|
-
.as_ptr()
|
1194
|
-
.cast::<VMWasmCallFunction>()
|
1195
|
-
.cast_mut();
|
1196
|
-
Some(NonNull::new(ptr).unwrap())
|
1197
|
-
}
|
1198
|
-
|
1199
|
-
fn memory_image(&self, memory: DefinedMemoryIndex) -> Result<Option<&Arc<MemoryImage>>> {
|
1200
|
-
let images = self.memory_images()?;
|
1201
|
-
Ok(images.and_then(|images| images.get_memory_image(memory)))
|
1202
|
-
}
|
1203
|
-
|
1204
|
-
fn unique_id(&self) -> Option<CompiledModuleId> {
|
1205
|
-
Some(self.module.unique_id())
|
1206
|
-
}
|
1207
|
-
|
1208
|
-
fn wasm_data(&self) -> &[u8] {
|
1209
|
-
self.module.code_memory().wasm_data()
|
1210
|
-
}
|
1211
|
-
|
1212
|
-
fn signature_ids(&self) -> &[VMSharedSignatureIndex] {
|
1213
|
-
self.code.signatures().as_module_map().values().as_slice()
|
1214
|
-
}
|
1215
|
-
|
1216
|
-
fn offsets(&self) -> &VMOffsets<HostPtr> {
|
1217
|
-
&self.offsets
|
1218
|
-
}
|
1219
|
-
}
|
1220
|
-
|
1221
|
-
impl wasmtime_runtime::ModuleInfo for ModuleInner {
|
1222
|
-
fn lookup_stack_map(&self, pc: usize) -> Option<&wasmtime_environ::StackMap> {
|
1223
|
-
let text_offset = pc - self.module.text().as_ptr() as usize;
|
1224
|
-
let (index, func_offset) = self.module.func_by_text_offset(text_offset)?;
|
1225
|
-
let info = self.module.wasm_func_info(index);
|
1226
|
-
|
1227
|
-
// Do a binary search to find the stack map for the given offset.
|
1228
|
-
let index = match info
|
1229
|
-
.stack_maps
|
1230
|
-
.binary_search_by_key(&func_offset, |i| i.code_offset)
|
1231
|
-
{
|
1232
|
-
// Found it.
|
1233
|
-
Ok(i) => i,
|
1234
|
-
|
1235
|
-
// No stack map associated with this PC.
|
1236
|
-
//
|
1237
|
-
// Because we know we are in Wasm code, and we must be at some kind
|
1238
|
-
// of call/safepoint, then the Cranelift backend must have avoided
|
1239
|
-
// emitting a stack map for this location because no refs were live.
|
1240
|
-
Err(_) => return None,
|
1241
|
-
};
|
1242
|
-
|
1243
|
-
Some(&info.stack_maps[index].stack_map)
|
1244
|
-
}
|
1245
|
-
}
|
1246
|
-
|
1247
|
-
/// A barebones implementation of ModuleRuntimeInfo that is useful for
|
1248
|
-
/// cases where a purpose-built environ::Module is used and a full
|
1249
|
-
/// CompiledModule does not exist (for example, for tests or for the
|
1250
|
-
/// default-callee instance).
|
1251
|
-
pub(crate) struct BareModuleInfo {
|
1252
|
-
module: Arc<wasmtime_environ::Module>,
|
1253
|
-
one_signature: Option<VMSharedSignatureIndex>,
|
1254
|
-
offsets: VMOffsets<HostPtr>,
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
impl BareModuleInfo {
|
1258
|
-
pub(crate) fn empty(module: Arc<wasmtime_environ::Module>) -> Self {
|
1259
|
-
BareModuleInfo::maybe_imported_func(module, None)
|
1260
|
-
}
|
1261
|
-
|
1262
|
-
pub(crate) fn maybe_imported_func(
|
1263
|
-
module: Arc<wasmtime_environ::Module>,
|
1264
|
-
one_signature: Option<VMSharedSignatureIndex>,
|
1265
|
-
) -> Self {
|
1266
|
-
BareModuleInfo {
|
1267
|
-
offsets: VMOffsets::new(HostPtr, &module),
|
1268
|
-
module,
|
1269
|
-
one_signature,
|
1270
|
-
}
|
1271
|
-
}
|
1272
|
-
|
1273
|
-
pub(crate) fn into_traitobj(self) -> Arc<dyn wasmtime_runtime::ModuleRuntimeInfo> {
|
1274
|
-
Arc::new(self)
|
1275
|
-
}
|
1276
|
-
}
|
1277
|
-
|
1278
|
-
impl wasmtime_runtime::ModuleRuntimeInfo for BareModuleInfo {
|
1279
|
-
fn module(&self) -> &Arc<wasmtime_environ::Module> {
|
1280
|
-
&self.module
|
1281
|
-
}
|
1282
|
-
|
1283
|
-
fn function(&self, _index: DefinedFuncIndex) -> NonNull<VMWasmCallFunction> {
|
1284
|
-
unreachable!()
|
1285
|
-
}
|
1286
|
-
|
1287
|
-
fn array_to_wasm_trampoline(&self, _index: DefinedFuncIndex) -> Option<VMArrayCallFunction> {
|
1288
|
-
unreachable!()
|
1289
|
-
}
|
1290
|
-
|
1291
|
-
fn native_to_wasm_trampoline(
|
1292
|
-
&self,
|
1293
|
-
_index: DefinedFuncIndex,
|
1294
|
-
) -> Option<NonNull<VMNativeCallFunction>> {
|
1295
|
-
unreachable!()
|
1296
|
-
}
|
1297
|
-
|
1298
|
-
fn wasm_to_native_trampoline(
|
1299
|
-
&self,
|
1300
|
-
_signature: VMSharedSignatureIndex,
|
1301
|
-
) -> Option<NonNull<VMWasmCallFunction>> {
|
1302
|
-
unreachable!()
|
1303
|
-
}
|
1304
|
-
|
1305
|
-
fn memory_image(&self, _memory: DefinedMemoryIndex) -> Result<Option<&Arc<MemoryImage>>> {
|
1306
|
-
Ok(None)
|
1307
|
-
}
|
1308
|
-
|
1309
|
-
fn unique_id(&self) -> Option<CompiledModuleId> {
|
1310
|
-
None
|
1311
|
-
}
|
1312
|
-
|
1313
|
-
fn wasm_data(&self) -> &[u8] {
|
1314
|
-
&[]
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
fn signature_ids(&self) -> &[VMSharedSignatureIndex] {
|
1318
|
-
match &self.one_signature {
|
1319
|
-
Some(id) => std::slice::from_ref(id),
|
1320
|
-
None => &[],
|
1321
|
-
}
|
1322
|
-
}
|
1323
|
-
|
1324
|
-
fn offsets(&self) -> &VMOffsets<HostPtr> {
|
1325
|
-
&self.offsets
|
1326
|
-
}
|
1327
|
-
}
|
1328
|
-
|
1329
|
-
/// Helper method to construct a `ModuleMemoryImages` for an associated
|
1330
|
-
/// `CompiledModule`.
|
1331
|
-
fn memory_images(engine: &Engine, module: &CompiledModule) -> Result<Option<ModuleMemoryImages>> {
|
1332
|
-
// If initialization via copy-on-write is explicitly disabled in
|
1333
|
-
// configuration then this path is skipped entirely.
|
1334
|
-
if !engine.config().memory_init_cow {
|
1335
|
-
return Ok(None);
|
1336
|
-
}
|
1337
|
-
|
1338
|
-
// ... otherwise logic is delegated to the `ModuleMemoryImages::new`
|
1339
|
-
// constructor.
|
1340
|
-
let mmap = if engine.config().force_memory_init_memfd {
|
1341
|
-
None
|
1342
|
-
} else {
|
1343
|
-
Some(module.mmap())
|
1344
|
-
};
|
1345
|
-
ModuleMemoryImages::new(module.module(), module.code_memory().wasm_data(), mmap)
|
1346
|
-
}
|
1347
|
-
|
1348
|
-
#[cfg(test)]
|
1349
|
-
mod tests {
|
1350
|
-
use crate::{Engine, Module};
|
1351
|
-
use wasmtime_environ::MemoryInitialization;
|
1352
|
-
|
1353
|
-
#[test]
|
1354
|
-
fn cow_on_by_default() {
|
1355
|
-
let engine = Engine::default();
|
1356
|
-
let module = Module::new(
|
1357
|
-
&engine,
|
1358
|
-
r#"
|
1359
|
-
(module
|
1360
|
-
(memory 1)
|
1361
|
-
(data (i32.const 100) "abcd")
|
1362
|
-
)
|
1363
|
-
"#,
|
1364
|
-
)
|
1365
|
-
.unwrap();
|
1366
|
-
|
1367
|
-
let init = &module.env_module().memory_initialization;
|
1368
|
-
assert!(matches!(init, MemoryInitialization::Static { .. }));
|
1369
|
-
}
|
1370
|
-
}
|