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,1490 +0,0 @@
|
|
1
|
-
use crate::{
|
2
|
-
dir::{DirEntry, OpenResult, ReaddirCursor, ReaddirEntity, TableDirExt},
|
3
|
-
file::{
|
4
|
-
Advice, FdFlags, FdStat, FileAccessMode, FileEntry, FileType, Filestat, OFlags, RiFlags,
|
5
|
-
RoFlags, SdFlags, SiFlags, TableFileExt, WasiFile,
|
6
|
-
},
|
7
|
-
sched::{
|
8
|
-
subscription::{RwEventFlags, SubscriptionResult},
|
9
|
-
Poll, Userdata,
|
10
|
-
},
|
11
|
-
I32Exit, SystemTimeSpec, WasiCtx,
|
12
|
-
};
|
13
|
-
use cap_std::time::{Duration, SystemClock};
|
14
|
-
use std::convert::{TryFrom, TryInto};
|
15
|
-
use std::io::{IoSlice, IoSliceMut};
|
16
|
-
use std::ops::Deref;
|
17
|
-
use std::sync::Arc;
|
18
|
-
use wiggle::GuestPtr;
|
19
|
-
|
20
|
-
pub mod error;
|
21
|
-
use error::{Error, ErrorExt};
|
22
|
-
|
23
|
-
// Limit the size of intermediate buffers when copying to WebAssembly shared
|
24
|
-
// memory.
|
25
|
-
pub(crate) const MAX_SHARED_BUFFER_SIZE: usize = 1 << 16;
|
26
|
-
|
27
|
-
wiggle::from_witx!({
|
28
|
-
witx: ["$WASI_ROOT/phases/snapshot/witx/wasi_snapshot_preview1.witx"],
|
29
|
-
errors: { errno => trappable Error },
|
30
|
-
// Note: not every function actually needs to be async, however, nearly all of them do, and
|
31
|
-
// keeping that set the same in this macro and the wasmtime_wiggle / lucet_wiggle macros is
|
32
|
-
// tedious, and there is no cost to having a sync function be async in this case.
|
33
|
-
async: *,
|
34
|
-
wasmtime: false,
|
35
|
-
});
|
36
|
-
|
37
|
-
impl wiggle::GuestErrorType for types::Errno {
|
38
|
-
fn success() -> Self {
|
39
|
-
Self::Success
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
#[wiggle::async_trait]
|
44
|
-
impl wasi_snapshot_preview1::WasiSnapshotPreview1 for WasiCtx {
|
45
|
-
async fn args_get<'b>(
|
46
|
-
&mut self,
|
47
|
-
argv: &GuestPtr<'b, GuestPtr<'b, u8>>,
|
48
|
-
argv_buf: &GuestPtr<'b, u8>,
|
49
|
-
) -> Result<(), Error> {
|
50
|
-
self.args.write_to_guest(argv_buf, argv)
|
51
|
-
}
|
52
|
-
|
53
|
-
async fn args_sizes_get(&mut self) -> Result<(types::Size, types::Size), Error> {
|
54
|
-
Ok((self.args.number_elements(), self.args.cumulative_size()))
|
55
|
-
}
|
56
|
-
|
57
|
-
async fn environ_get<'b>(
|
58
|
-
&mut self,
|
59
|
-
environ: &GuestPtr<'b, GuestPtr<'b, u8>>,
|
60
|
-
environ_buf: &GuestPtr<'b, u8>,
|
61
|
-
) -> Result<(), Error> {
|
62
|
-
self.env.write_to_guest(environ_buf, environ)
|
63
|
-
}
|
64
|
-
|
65
|
-
async fn environ_sizes_get(&mut self) -> Result<(types::Size, types::Size), Error> {
|
66
|
-
Ok((self.env.number_elements(), self.env.cumulative_size()))
|
67
|
-
}
|
68
|
-
|
69
|
-
async fn clock_res_get(&mut self, id: types::Clockid) -> Result<types::Timestamp, Error> {
|
70
|
-
let resolution = match id {
|
71
|
-
types::Clockid::Realtime => Ok(self.clocks.system()?.resolution()),
|
72
|
-
types::Clockid::Monotonic => Ok(self.clocks.monotonic()?.abs_clock.resolution()),
|
73
|
-
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
74
|
-
Err(Error::badf().context("process and thread clocks are not supported"))
|
75
|
-
}
|
76
|
-
}?;
|
77
|
-
Ok(resolution.as_nanos().try_into()?)
|
78
|
-
}
|
79
|
-
|
80
|
-
async fn clock_time_get(
|
81
|
-
&mut self,
|
82
|
-
id: types::Clockid,
|
83
|
-
precision: types::Timestamp,
|
84
|
-
) -> Result<types::Timestamp, Error> {
|
85
|
-
let precision = Duration::from_nanos(precision);
|
86
|
-
match id {
|
87
|
-
types::Clockid::Realtime => {
|
88
|
-
let now = self.clocks.system()?.now(precision).into_std();
|
89
|
-
let d = now
|
90
|
-
.duration_since(std::time::SystemTime::UNIX_EPOCH)
|
91
|
-
.map_err(|_| {
|
92
|
-
Error::trap(anyhow::Error::msg("current time before unix epoch"))
|
93
|
-
})?;
|
94
|
-
Ok(d.as_nanos().try_into()?)
|
95
|
-
}
|
96
|
-
types::Clockid::Monotonic => {
|
97
|
-
let clock = self.clocks.monotonic()?;
|
98
|
-
let now = clock.abs_clock.now(precision);
|
99
|
-
let d = now.duration_since(clock.creation_time);
|
100
|
-
Ok(d.as_nanos().try_into()?)
|
101
|
-
}
|
102
|
-
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
103
|
-
Err(Error::badf().context("process and thread clocks are not supported"))
|
104
|
-
}
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
async fn fd_advise(
|
109
|
-
&mut self,
|
110
|
-
fd: types::Fd,
|
111
|
-
offset: types::Filesize,
|
112
|
-
len: types::Filesize,
|
113
|
-
advice: types::Advice,
|
114
|
-
) -> Result<(), Error> {
|
115
|
-
self.table()
|
116
|
-
.get_file(u32::from(fd))?
|
117
|
-
.file
|
118
|
-
.advise(offset, len, advice.into())
|
119
|
-
.await?;
|
120
|
-
Ok(())
|
121
|
-
}
|
122
|
-
|
123
|
-
async fn fd_allocate(
|
124
|
-
&mut self,
|
125
|
-
fd: types::Fd,
|
126
|
-
_offset: types::Filesize,
|
127
|
-
_len: types::Filesize,
|
128
|
-
) -> Result<(), Error> {
|
129
|
-
// Check if fd is a file, and has rights, just to reject those cases
|
130
|
-
// with the errors expected:
|
131
|
-
let _ = self.table().get_file(u32::from(fd))?;
|
132
|
-
// This operation from cloudabi is linux-specific, isn't even
|
133
|
-
// supported across all linux filesystems, and has no support on macos
|
134
|
-
// or windows. Rather than ship spotty support, it has been removed
|
135
|
-
// from preview 2, and we are no longer supporting it in preview 1 as
|
136
|
-
// well.
|
137
|
-
Err(Error::not_supported())
|
138
|
-
}
|
139
|
-
|
140
|
-
async fn fd_close(&mut self, fd: types::Fd) -> Result<(), Error> {
|
141
|
-
let table = self.table();
|
142
|
-
let fd = u32::from(fd);
|
143
|
-
|
144
|
-
// Fail fast: If not present in table, Badf
|
145
|
-
if !table.contains_key(fd) {
|
146
|
-
return Err(Error::badf().context("key not in table"));
|
147
|
-
}
|
148
|
-
// fd_close must close either a File or a Dir handle
|
149
|
-
if table.is::<FileEntry>(fd) {
|
150
|
-
let _ = table.delete::<FileEntry>(fd);
|
151
|
-
} else if table.is::<DirEntry>(fd) {
|
152
|
-
let _ = table.delete::<DirEntry>(fd);
|
153
|
-
} else {
|
154
|
-
return Err(Error::badf().context("key does not refer to file or directory"));
|
155
|
-
}
|
156
|
-
|
157
|
-
Ok(())
|
158
|
-
}
|
159
|
-
|
160
|
-
async fn fd_datasync(&mut self, fd: types::Fd) -> Result<(), Error> {
|
161
|
-
self.table()
|
162
|
-
.get_file(u32::from(fd))?
|
163
|
-
.file
|
164
|
-
.datasync()
|
165
|
-
.await?;
|
166
|
-
Ok(())
|
167
|
-
}
|
168
|
-
|
169
|
-
async fn fd_fdstat_get(&mut self, fd: types::Fd) -> Result<types::Fdstat, Error> {
|
170
|
-
let table = self.table();
|
171
|
-
let fd = u32::from(fd);
|
172
|
-
if table.is::<FileEntry>(fd) {
|
173
|
-
let file_entry: Arc<FileEntry> = table.get(fd)?;
|
174
|
-
let fdstat = file_entry.get_fdstat().await?;
|
175
|
-
Ok(types::Fdstat::from(&fdstat))
|
176
|
-
} else if table.is::<DirEntry>(fd) {
|
177
|
-
let _dir_entry: Arc<DirEntry> = table.get(fd)?;
|
178
|
-
let dir_fdstat = types::Fdstat {
|
179
|
-
fs_filetype: types::Filetype::Directory,
|
180
|
-
fs_rights_base: directory_base_rights(),
|
181
|
-
fs_rights_inheriting: directory_inheriting_rights(),
|
182
|
-
fs_flags: types::Fdflags::empty(),
|
183
|
-
};
|
184
|
-
Ok(dir_fdstat)
|
185
|
-
} else {
|
186
|
-
Err(Error::badf())
|
187
|
-
}
|
188
|
-
}
|
189
|
-
|
190
|
-
async fn fd_fdstat_set_flags(
|
191
|
-
&mut self,
|
192
|
-
fd: types::Fd,
|
193
|
-
flags: types::Fdflags,
|
194
|
-
) -> Result<(), Error> {
|
195
|
-
if let Some(table) = self.table_mut() {
|
196
|
-
table
|
197
|
-
.get_file_mut(u32::from(fd))?
|
198
|
-
.file
|
199
|
-
.set_fdflags(FdFlags::from(flags))
|
200
|
-
.await
|
201
|
-
} else {
|
202
|
-
log::warn!("`fd_fdstat_set_flags` does not work with wasi-threads enabled; see https://github.com/bytecodealliance/wasmtime/issues/5643");
|
203
|
-
Err(Error::not_supported())
|
204
|
-
}
|
205
|
-
}
|
206
|
-
|
207
|
-
async fn fd_fdstat_set_rights(
|
208
|
-
&mut self,
|
209
|
-
fd: types::Fd,
|
210
|
-
_fs_rights_base: types::Rights,
|
211
|
-
_fs_rights_inheriting: types::Rights,
|
212
|
-
) -> Result<(), Error> {
|
213
|
-
let table = self.table();
|
214
|
-
let fd = u32::from(fd);
|
215
|
-
if table.is::<FileEntry>(fd) {
|
216
|
-
let _file_entry: Arc<FileEntry> = table.get(fd)?;
|
217
|
-
Ok(())
|
218
|
-
} else if table.is::<DirEntry>(fd) {
|
219
|
-
let _dir_entry: Arc<DirEntry> = table.get(fd)?;
|
220
|
-
Ok(())
|
221
|
-
} else {
|
222
|
-
Err(Error::badf())
|
223
|
-
}
|
224
|
-
}
|
225
|
-
|
226
|
-
async fn fd_filestat_get(&mut self, fd: types::Fd) -> Result<types::Filestat, Error> {
|
227
|
-
let table = self.table();
|
228
|
-
let fd = u32::from(fd);
|
229
|
-
if table.is::<FileEntry>(fd) {
|
230
|
-
let filestat = table.get_file(fd)?.file.get_filestat().await?;
|
231
|
-
Ok(filestat.into())
|
232
|
-
} else if table.is::<DirEntry>(fd) {
|
233
|
-
let filestat = table.get_dir(fd)?.dir.get_filestat().await?;
|
234
|
-
Ok(filestat.into())
|
235
|
-
} else {
|
236
|
-
Err(Error::badf())
|
237
|
-
}
|
238
|
-
}
|
239
|
-
|
240
|
-
async fn fd_filestat_set_size(
|
241
|
-
&mut self,
|
242
|
-
fd: types::Fd,
|
243
|
-
size: types::Filesize,
|
244
|
-
) -> Result<(), Error> {
|
245
|
-
self.table()
|
246
|
-
.get_file(u32::from(fd))?
|
247
|
-
.file
|
248
|
-
.set_filestat_size(size)
|
249
|
-
.await?;
|
250
|
-
Ok(())
|
251
|
-
}
|
252
|
-
|
253
|
-
async fn fd_filestat_set_times(
|
254
|
-
&mut self,
|
255
|
-
fd: types::Fd,
|
256
|
-
atim: types::Timestamp,
|
257
|
-
mtim: types::Timestamp,
|
258
|
-
fst_flags: types::Fstflags,
|
259
|
-
) -> Result<(), Error> {
|
260
|
-
let fd = u32::from(fd);
|
261
|
-
let table = self.table();
|
262
|
-
// Validate flags
|
263
|
-
let set_atim = fst_flags.contains(types::Fstflags::ATIM);
|
264
|
-
let set_atim_now = fst_flags.contains(types::Fstflags::ATIM_NOW);
|
265
|
-
let set_mtim = fst_flags.contains(types::Fstflags::MTIM);
|
266
|
-
let set_mtim_now = fst_flags.contains(types::Fstflags::MTIM_NOW);
|
267
|
-
|
268
|
-
let atim = systimespec(set_atim, atim, set_atim_now).map_err(|e| e.context("atim"))?;
|
269
|
-
let mtim = systimespec(set_mtim, mtim, set_mtim_now).map_err(|e| e.context("mtim"))?;
|
270
|
-
|
271
|
-
if table.is::<FileEntry>(fd) {
|
272
|
-
table
|
273
|
-
.get_file(fd)
|
274
|
-
.expect("checked that entry is file")
|
275
|
-
.file
|
276
|
-
.set_times(atim, mtim)
|
277
|
-
.await
|
278
|
-
} else if table.is::<DirEntry>(fd) {
|
279
|
-
table
|
280
|
-
.get_dir(fd)
|
281
|
-
.expect("checked that entry is dir")
|
282
|
-
.dir
|
283
|
-
.set_times(".", atim, mtim, false)
|
284
|
-
.await
|
285
|
-
} else {
|
286
|
-
Err(Error::badf())
|
287
|
-
}
|
288
|
-
}
|
289
|
-
|
290
|
-
async fn fd_read<'a>(
|
291
|
-
&mut self,
|
292
|
-
fd: types::Fd,
|
293
|
-
iovs: &types::IovecArray<'a>,
|
294
|
-
) -> Result<types::Size, Error> {
|
295
|
-
let f = self.table().get_file(u32::from(fd))?;
|
296
|
-
// Access mode check normalizes error returned (windows would prefer ACCES here)
|
297
|
-
if !f.access_mode.contains(FileAccessMode::READ) {
|
298
|
-
Err(types::Errno::Badf)?
|
299
|
-
}
|
300
|
-
let f = &f.file;
|
301
|
-
|
302
|
-
let iovs: Vec<wiggle::GuestPtr<[u8]>> = iovs
|
303
|
-
.iter()
|
304
|
-
.map(|iov_ptr| {
|
305
|
-
let iov_ptr = iov_ptr?;
|
306
|
-
let iov: types::Iovec = iov_ptr.read()?;
|
307
|
-
Ok(iov.buf.as_array(iov.buf_len))
|
308
|
-
})
|
309
|
-
.collect::<Result<_, Error>>()?;
|
310
|
-
|
311
|
-
// If the first iov structure is from shared memory we can safely assume
|
312
|
-
// all the rest will be. We then read into memory based on the memory's
|
313
|
-
// shared-ness:
|
314
|
-
// - if not shared, we copy directly into the Wasm memory
|
315
|
-
// - if shared, we use an intermediate buffer; this avoids Rust unsafety
|
316
|
-
// due to holding on to a `&mut [u8]` of Wasm memory when we cannot
|
317
|
-
// guarantee the `&mut` exclusivity--other threads could be modifying
|
318
|
-
// the data as this functions writes to it. Though likely there is no
|
319
|
-
// issue with OS writing to io structs in multi-threaded scenarios,
|
320
|
-
// since we do not know here if `&dyn WasiFile` does anything else
|
321
|
-
// (e.g., read), we cautiously incur some performance overhead by
|
322
|
-
// copying twice.
|
323
|
-
let is_shared_memory = iovs
|
324
|
-
.iter()
|
325
|
-
.next()
|
326
|
-
.and_then(|s| Some(s.is_shared_memory()))
|
327
|
-
.unwrap_or(false);
|
328
|
-
let bytes_read: u64 = if is_shared_memory {
|
329
|
-
// For shared memory, read into an intermediate buffer. Only the
|
330
|
-
// first iov will be filled and even then the read is capped by the
|
331
|
-
// `MAX_SHARED_BUFFER_SIZE`, so users are expected to re-call.
|
332
|
-
let iov = iovs.into_iter().next();
|
333
|
-
if let Some(iov) = iov {
|
334
|
-
let mut buffer = vec![0; (iov.len() as usize).min(MAX_SHARED_BUFFER_SIZE)];
|
335
|
-
let bytes_read = f.read_vectored(&mut [IoSliceMut::new(&mut buffer)]).await?;
|
336
|
-
iov.get_range(0..bytes_read.try_into()?)
|
337
|
-
.expect("it should always be possible to slice the iov smaller")
|
338
|
-
.copy_from_slice(&buffer[0..bytes_read.try_into()?])?;
|
339
|
-
bytes_read
|
340
|
-
} else {
|
341
|
-
return Ok(0);
|
342
|
-
}
|
343
|
-
} else {
|
344
|
-
// Convert all of the unsafe guest slices to safe ones--this uses
|
345
|
-
// Wiggle's internal borrow checker to ensure no overlaps. We assume
|
346
|
-
// here that, because the memory is not shared, there are no other
|
347
|
-
// threads to access it while it is written to.
|
348
|
-
let mut guest_slices: Vec<wiggle::GuestSliceMut<u8>> = iovs
|
349
|
-
.into_iter()
|
350
|
-
.map(|iov| Ok(iov.as_slice_mut()?.unwrap()))
|
351
|
-
.collect::<Result<_, Error>>()?;
|
352
|
-
|
353
|
-
// Read directly into the Wasm memory.
|
354
|
-
let mut ioslices: Vec<IoSliceMut> = guest_slices
|
355
|
-
.iter_mut()
|
356
|
-
.map(|s| IoSliceMut::new(&mut *s))
|
357
|
-
.collect();
|
358
|
-
f.read_vectored(&mut ioslices).await?
|
359
|
-
};
|
360
|
-
|
361
|
-
Ok(types::Size::try_from(bytes_read)?)
|
362
|
-
}
|
363
|
-
|
364
|
-
async fn fd_pread<'a>(
|
365
|
-
&mut self,
|
366
|
-
fd: types::Fd,
|
367
|
-
iovs: &types::IovecArray<'a>,
|
368
|
-
offset: types::Filesize,
|
369
|
-
) -> Result<types::Size, Error> {
|
370
|
-
let f = self.table().get_file(u32::from(fd))?;
|
371
|
-
// Access mode check normalizes error returned (windows would prefer ACCES here)
|
372
|
-
if !f.access_mode.contains(FileAccessMode::READ) {
|
373
|
-
Err(types::Errno::Badf)?
|
374
|
-
}
|
375
|
-
let f = &f.file;
|
376
|
-
|
377
|
-
let iovs: Vec<wiggle::GuestPtr<[u8]>> = iovs
|
378
|
-
.iter()
|
379
|
-
.map(|iov_ptr| {
|
380
|
-
let iov_ptr = iov_ptr?;
|
381
|
-
let iov: types::Iovec = iov_ptr.read()?;
|
382
|
-
Ok(iov.buf.as_array(iov.buf_len))
|
383
|
-
})
|
384
|
-
.collect::<Result<_, Error>>()?;
|
385
|
-
|
386
|
-
// If the first iov structure is from shared memory we can safely assume
|
387
|
-
// all the rest will be. We then read into memory based on the memory's
|
388
|
-
// shared-ness:
|
389
|
-
// - if not shared, we copy directly into the Wasm memory
|
390
|
-
// - if shared, we use an intermediate buffer; this avoids Rust unsafety
|
391
|
-
// due to holding on to a `&mut [u8]` of Wasm memory when we cannot
|
392
|
-
// guarantee the `&mut` exclusivity--other threads could be modifying
|
393
|
-
// the data as this functions writes to it. Though likely there is no
|
394
|
-
// issue with OS writing to io structs in multi-threaded scenarios,
|
395
|
-
// since we do not know here if `&dyn WasiFile` does anything else
|
396
|
-
// (e.g., read), we cautiously incur some performance overhead by
|
397
|
-
// copying twice.
|
398
|
-
let is_shared_memory = iovs
|
399
|
-
.iter()
|
400
|
-
.next()
|
401
|
-
.and_then(|s| Some(s.is_shared_memory()))
|
402
|
-
.unwrap_or(false);
|
403
|
-
let bytes_read: u64 = if is_shared_memory {
|
404
|
-
// For shared memory, read into an intermediate buffer. Only the
|
405
|
-
// first iov will be filled and even then the read is capped by the
|
406
|
-
// `MAX_SHARED_BUFFER_SIZE`, so users are expected to re-call.
|
407
|
-
let iov = iovs.into_iter().next();
|
408
|
-
if let Some(iov) = iov {
|
409
|
-
let mut buffer = vec![0; (iov.len() as usize).min(MAX_SHARED_BUFFER_SIZE)];
|
410
|
-
let bytes_read = f
|
411
|
-
.read_vectored_at(&mut [IoSliceMut::new(&mut buffer)], offset)
|
412
|
-
.await?;
|
413
|
-
iov.get_range(0..bytes_read.try_into()?)
|
414
|
-
.expect("it should always be possible to slice the iov smaller")
|
415
|
-
.copy_from_slice(&buffer[0..bytes_read.try_into()?])?;
|
416
|
-
bytes_read
|
417
|
-
} else {
|
418
|
-
return Ok(0);
|
419
|
-
}
|
420
|
-
} else {
|
421
|
-
// Convert all of the unsafe guest slices to safe ones--this uses
|
422
|
-
// Wiggle's internal borrow checker to ensure no overlaps. We assume
|
423
|
-
// here that, because the memory is not shared, there are no other
|
424
|
-
// threads to access it while it is written to.
|
425
|
-
let mut guest_slices: Vec<wiggle::GuestSliceMut<u8>> = iovs
|
426
|
-
.into_iter()
|
427
|
-
.map(|iov| Ok(iov.as_slice_mut()?.unwrap()))
|
428
|
-
.collect::<Result<_, Error>>()?;
|
429
|
-
|
430
|
-
// Read directly into the Wasm memory.
|
431
|
-
let mut ioslices: Vec<IoSliceMut> = guest_slices
|
432
|
-
.iter_mut()
|
433
|
-
.map(|s| IoSliceMut::new(&mut *s))
|
434
|
-
.collect();
|
435
|
-
f.read_vectored_at(&mut ioslices, offset).await?
|
436
|
-
};
|
437
|
-
|
438
|
-
Ok(types::Size::try_from(bytes_read)?)
|
439
|
-
}
|
440
|
-
|
441
|
-
async fn fd_write<'a>(
|
442
|
-
&mut self,
|
443
|
-
fd: types::Fd,
|
444
|
-
ciovs: &types::CiovecArray<'a>,
|
445
|
-
) -> Result<types::Size, Error> {
|
446
|
-
let f = self.table().get_file(u32::from(fd))?;
|
447
|
-
// Access mode check normalizes error returned (windows would prefer ACCES here)
|
448
|
-
if !f.access_mode.contains(FileAccessMode::WRITE) {
|
449
|
-
Err(types::Errno::Badf)?
|
450
|
-
}
|
451
|
-
let f = &f.file;
|
452
|
-
|
453
|
-
let guest_slices: Vec<wiggle::GuestCow<u8>> = ciovs
|
454
|
-
.iter()
|
455
|
-
.map(|iov_ptr| {
|
456
|
-
let iov_ptr = iov_ptr?;
|
457
|
-
let iov: types::Ciovec = iov_ptr.read()?;
|
458
|
-
Ok(iov.buf.as_array(iov.buf_len).as_cow()?)
|
459
|
-
})
|
460
|
-
.collect::<Result<_, Error>>()?;
|
461
|
-
|
462
|
-
let ioslices: Vec<IoSlice> = guest_slices
|
463
|
-
.iter()
|
464
|
-
.map(|s| IoSlice::new(s.deref()))
|
465
|
-
.collect();
|
466
|
-
let bytes_written = f.write_vectored(&ioslices).await?;
|
467
|
-
|
468
|
-
Ok(types::Size::try_from(bytes_written)?)
|
469
|
-
}
|
470
|
-
|
471
|
-
async fn fd_pwrite<'a>(
|
472
|
-
&mut self,
|
473
|
-
fd: types::Fd,
|
474
|
-
ciovs: &types::CiovecArray<'a>,
|
475
|
-
offset: types::Filesize,
|
476
|
-
) -> Result<types::Size, Error> {
|
477
|
-
let f = self.table().get_file(u32::from(fd))?;
|
478
|
-
// Access mode check normalizes error returned (windows would prefer ACCES here)
|
479
|
-
if !f.access_mode.contains(FileAccessMode::WRITE) {
|
480
|
-
Err(types::Errno::Badf)?
|
481
|
-
}
|
482
|
-
let f = &f.file;
|
483
|
-
|
484
|
-
let guest_slices: Vec<wiggle::GuestCow<u8>> = ciovs
|
485
|
-
.iter()
|
486
|
-
.map(|iov_ptr| {
|
487
|
-
let iov_ptr = iov_ptr?;
|
488
|
-
let iov: types::Ciovec = iov_ptr.read()?;
|
489
|
-
Ok(iov.buf.as_array(iov.buf_len).as_cow()?)
|
490
|
-
})
|
491
|
-
.collect::<Result<_, Error>>()?;
|
492
|
-
|
493
|
-
let ioslices: Vec<IoSlice> = guest_slices
|
494
|
-
.iter()
|
495
|
-
.map(|s| IoSlice::new(s.deref()))
|
496
|
-
.collect();
|
497
|
-
let bytes_written = f.write_vectored_at(&ioslices, offset).await?;
|
498
|
-
|
499
|
-
Ok(types::Size::try_from(bytes_written)?)
|
500
|
-
}
|
501
|
-
|
502
|
-
async fn fd_prestat_get(&mut self, fd: types::Fd) -> Result<types::Prestat, Error> {
|
503
|
-
let table = self.table();
|
504
|
-
let dir_entry: Arc<DirEntry> = table.get(u32::from(fd)).map_err(|_| Error::badf())?;
|
505
|
-
if let Some(ref preopen) = dir_entry.preopen_path() {
|
506
|
-
let path_str = preopen.to_str().ok_or_else(|| Error::not_supported())?;
|
507
|
-
let pr_name_len = u32::try_from(path_str.as_bytes().len())?;
|
508
|
-
Ok(types::Prestat::Dir(types::PrestatDir { pr_name_len }))
|
509
|
-
} else {
|
510
|
-
Err(Error::not_supported().context("file is not a preopen"))
|
511
|
-
}
|
512
|
-
}
|
513
|
-
|
514
|
-
async fn fd_prestat_dir_name<'a>(
|
515
|
-
&mut self,
|
516
|
-
fd: types::Fd,
|
517
|
-
path: &GuestPtr<'a, u8>,
|
518
|
-
path_max_len: types::Size,
|
519
|
-
) -> Result<(), Error> {
|
520
|
-
let table = self.table();
|
521
|
-
let dir_entry: Arc<DirEntry> = table.get(u32::from(fd)).map_err(|_| Error::not_dir())?;
|
522
|
-
if let Some(ref preopen) = dir_entry.preopen_path() {
|
523
|
-
let path_bytes = preopen
|
524
|
-
.to_str()
|
525
|
-
.ok_or_else(|| Error::not_supported())?
|
526
|
-
.as_bytes();
|
527
|
-
let path_len = path_bytes.len();
|
528
|
-
if path_len > path_max_len as usize {
|
529
|
-
return Err(Error::name_too_long());
|
530
|
-
}
|
531
|
-
path.as_array(path_len as u32).copy_from_slice(path_bytes)?;
|
532
|
-
Ok(())
|
533
|
-
} else {
|
534
|
-
Err(Error::not_supported())
|
535
|
-
}
|
536
|
-
}
|
537
|
-
async fn fd_renumber(&mut self, from: types::Fd, to: types::Fd) -> Result<(), Error> {
|
538
|
-
let table = self.table();
|
539
|
-
let from = u32::from(from);
|
540
|
-
let to = u32::from(to);
|
541
|
-
if !table.contains_key(from) {
|
542
|
-
return Err(Error::badf());
|
543
|
-
}
|
544
|
-
table.renumber(from, to)
|
545
|
-
}
|
546
|
-
|
547
|
-
async fn fd_seek(
|
548
|
-
&mut self,
|
549
|
-
fd: types::Fd,
|
550
|
-
offset: types::Filedelta,
|
551
|
-
whence: types::Whence,
|
552
|
-
) -> Result<types::Filesize, Error> {
|
553
|
-
use std::io::SeekFrom;
|
554
|
-
let whence = match whence {
|
555
|
-
types::Whence::Cur => SeekFrom::Current(offset),
|
556
|
-
types::Whence::End => SeekFrom::End(offset),
|
557
|
-
types::Whence::Set => SeekFrom::Start(offset as u64),
|
558
|
-
};
|
559
|
-
let newoffset = self
|
560
|
-
.table()
|
561
|
-
.get_file(u32::from(fd))?
|
562
|
-
.file
|
563
|
-
.seek(whence)
|
564
|
-
.await?;
|
565
|
-
Ok(newoffset)
|
566
|
-
}
|
567
|
-
|
568
|
-
async fn fd_sync(&mut self, fd: types::Fd) -> Result<(), Error> {
|
569
|
-
self.table().get_file(u32::from(fd))?.file.sync().await?;
|
570
|
-
Ok(())
|
571
|
-
}
|
572
|
-
|
573
|
-
async fn fd_tell(&mut self, fd: types::Fd) -> Result<types::Filesize, Error> {
|
574
|
-
let offset = self
|
575
|
-
.table()
|
576
|
-
.get_file(u32::from(fd))?
|
577
|
-
.file
|
578
|
-
.seek(std::io::SeekFrom::Current(0))
|
579
|
-
.await?;
|
580
|
-
Ok(offset)
|
581
|
-
}
|
582
|
-
|
583
|
-
async fn fd_readdir<'a>(
|
584
|
-
&mut self,
|
585
|
-
fd: types::Fd,
|
586
|
-
buf: &GuestPtr<'a, u8>,
|
587
|
-
buf_len: types::Size,
|
588
|
-
cookie: types::Dircookie,
|
589
|
-
) -> Result<types::Size, Error> {
|
590
|
-
let mut bufused = 0;
|
591
|
-
let mut buf = buf.clone();
|
592
|
-
for entity in self
|
593
|
-
.table()
|
594
|
-
.get_dir(u32::from(fd))?
|
595
|
-
.dir
|
596
|
-
.readdir(ReaddirCursor::from(cookie))
|
597
|
-
.await?
|
598
|
-
{
|
599
|
-
let entity = entity?;
|
600
|
-
let dirent_raw = dirent_bytes(types::Dirent::try_from(&entity)?);
|
601
|
-
let dirent_len: types::Size = dirent_raw.len().try_into()?;
|
602
|
-
let name_raw = entity.name.as_bytes();
|
603
|
-
let name_len: types::Size = name_raw.len().try_into()?;
|
604
|
-
|
605
|
-
// Copy as many bytes of the dirent as we can, up to the end of the buffer
|
606
|
-
let dirent_copy_len = std::cmp::min(dirent_len, buf_len - bufused);
|
607
|
-
buf.as_array(dirent_copy_len)
|
608
|
-
.copy_from_slice(&dirent_raw[..dirent_copy_len as usize])?;
|
609
|
-
|
610
|
-
// If the dirent struct wasnt compied entirely, return that we filled the buffer, which
|
611
|
-
// tells libc that we're not at EOF.
|
612
|
-
if dirent_copy_len < dirent_len {
|
613
|
-
return Ok(buf_len);
|
614
|
-
}
|
615
|
-
|
616
|
-
buf = buf.add(dirent_copy_len)?;
|
617
|
-
bufused += dirent_copy_len;
|
618
|
-
|
619
|
-
// Copy as many bytes of the name as we can, up to the end of the buffer
|
620
|
-
let name_copy_len = std::cmp::min(name_len, buf_len - bufused);
|
621
|
-
buf.as_array(name_copy_len)
|
622
|
-
.copy_from_slice(&name_raw[..name_copy_len as usize])?;
|
623
|
-
|
624
|
-
// If the dirent struct wasn't copied entirely, return that we filled the buffer, which
|
625
|
-
// tells libc that we're not at EOF
|
626
|
-
|
627
|
-
if name_copy_len < name_len {
|
628
|
-
return Ok(buf_len);
|
629
|
-
}
|
630
|
-
|
631
|
-
buf = buf.add(name_copy_len)?;
|
632
|
-
bufused += name_copy_len;
|
633
|
-
}
|
634
|
-
Ok(bufused)
|
635
|
-
}
|
636
|
-
|
637
|
-
async fn path_create_directory<'a>(
|
638
|
-
&mut self,
|
639
|
-
dirfd: types::Fd,
|
640
|
-
path: &GuestPtr<'a, str>,
|
641
|
-
) -> Result<(), Error> {
|
642
|
-
self.table()
|
643
|
-
.get_dir(u32::from(dirfd))?
|
644
|
-
.dir
|
645
|
-
.create_dir(path.as_cow()?.deref())
|
646
|
-
.await
|
647
|
-
}
|
648
|
-
|
649
|
-
async fn path_filestat_get<'a>(
|
650
|
-
&mut self,
|
651
|
-
dirfd: types::Fd,
|
652
|
-
flags: types::Lookupflags,
|
653
|
-
path: &GuestPtr<'a, str>,
|
654
|
-
) -> Result<types::Filestat, Error> {
|
655
|
-
let filestat = self
|
656
|
-
.table()
|
657
|
-
.get_dir(u32::from(dirfd))?
|
658
|
-
.dir
|
659
|
-
.get_path_filestat(
|
660
|
-
path.as_cow()?.deref(),
|
661
|
-
flags.contains(types::Lookupflags::SYMLINK_FOLLOW),
|
662
|
-
)
|
663
|
-
.await?;
|
664
|
-
Ok(types::Filestat::from(filestat))
|
665
|
-
}
|
666
|
-
|
667
|
-
async fn path_filestat_set_times<'a>(
|
668
|
-
&mut self,
|
669
|
-
dirfd: types::Fd,
|
670
|
-
flags: types::Lookupflags,
|
671
|
-
path: &GuestPtr<'a, str>,
|
672
|
-
atim: types::Timestamp,
|
673
|
-
mtim: types::Timestamp,
|
674
|
-
fst_flags: types::Fstflags,
|
675
|
-
) -> Result<(), Error> {
|
676
|
-
let set_atim = fst_flags.contains(types::Fstflags::ATIM);
|
677
|
-
let set_atim_now = fst_flags.contains(types::Fstflags::ATIM_NOW);
|
678
|
-
let set_mtim = fst_flags.contains(types::Fstflags::MTIM);
|
679
|
-
let set_mtim_now = fst_flags.contains(types::Fstflags::MTIM_NOW);
|
680
|
-
|
681
|
-
let atim = systimespec(set_atim, atim, set_atim_now).map_err(|e| e.context("atim"))?;
|
682
|
-
let mtim = systimespec(set_mtim, mtim, set_mtim_now).map_err(|e| e.context("mtim"))?;
|
683
|
-
self.table()
|
684
|
-
.get_dir(u32::from(dirfd))?
|
685
|
-
.dir
|
686
|
-
.set_times(
|
687
|
-
path.as_cow()?.deref(),
|
688
|
-
atim,
|
689
|
-
mtim,
|
690
|
-
flags.contains(types::Lookupflags::SYMLINK_FOLLOW),
|
691
|
-
)
|
692
|
-
.await
|
693
|
-
}
|
694
|
-
|
695
|
-
async fn path_link<'a>(
|
696
|
-
&mut self,
|
697
|
-
src_fd: types::Fd,
|
698
|
-
src_flags: types::Lookupflags,
|
699
|
-
src_path: &GuestPtr<'a, str>,
|
700
|
-
target_fd: types::Fd,
|
701
|
-
target_path: &GuestPtr<'a, str>,
|
702
|
-
) -> Result<(), Error> {
|
703
|
-
let table = self.table();
|
704
|
-
let src_dir = table.get_dir(u32::from(src_fd))?;
|
705
|
-
let target_dir = table.get_dir(u32::from(target_fd))?;
|
706
|
-
let symlink_follow = src_flags.contains(types::Lookupflags::SYMLINK_FOLLOW);
|
707
|
-
if symlink_follow {
|
708
|
-
return Err(Error::invalid_argument()
|
709
|
-
.context("symlink following on path_link is not supported"));
|
710
|
-
}
|
711
|
-
|
712
|
-
src_dir
|
713
|
-
.dir
|
714
|
-
.hard_link(
|
715
|
-
src_path.as_cow()?.deref(),
|
716
|
-
target_dir.dir.deref(),
|
717
|
-
target_path.as_cow()?.deref(),
|
718
|
-
)
|
719
|
-
.await
|
720
|
-
}
|
721
|
-
|
722
|
-
async fn path_open<'a>(
|
723
|
-
&mut self,
|
724
|
-
dirfd: types::Fd,
|
725
|
-
dirflags: types::Lookupflags,
|
726
|
-
path: &GuestPtr<'a, str>,
|
727
|
-
oflags: types::Oflags,
|
728
|
-
fs_rights_base: types::Rights,
|
729
|
-
_fs_rights_inheriting: types::Rights,
|
730
|
-
fdflags: types::Fdflags,
|
731
|
-
) -> Result<types::Fd, Error> {
|
732
|
-
let table = self.table();
|
733
|
-
let dirfd = u32::from(dirfd);
|
734
|
-
if table.is::<FileEntry>(dirfd) {
|
735
|
-
return Err(Error::not_dir());
|
736
|
-
}
|
737
|
-
let dir_entry = table.get_dir(dirfd)?;
|
738
|
-
|
739
|
-
let symlink_follow = dirflags.contains(types::Lookupflags::SYMLINK_FOLLOW);
|
740
|
-
|
741
|
-
let oflags = OFlags::from(&oflags);
|
742
|
-
let fdflags = FdFlags::from(fdflags);
|
743
|
-
let path = path.as_cow()?;
|
744
|
-
|
745
|
-
let read = fs_rights_base.contains(types::Rights::FD_READ);
|
746
|
-
let write = fs_rights_base.contains(types::Rights::FD_WRITE);
|
747
|
-
let access_mode = if read {
|
748
|
-
FileAccessMode::READ
|
749
|
-
} else {
|
750
|
-
FileAccessMode::empty()
|
751
|
-
} | if write {
|
752
|
-
FileAccessMode::WRITE
|
753
|
-
} else {
|
754
|
-
FileAccessMode::empty()
|
755
|
-
};
|
756
|
-
|
757
|
-
let file = dir_entry
|
758
|
-
.dir
|
759
|
-
.open_file(symlink_follow, path.deref(), oflags, read, write, fdflags)
|
760
|
-
.await?;
|
761
|
-
drop(dir_entry);
|
762
|
-
|
763
|
-
let fd = match file {
|
764
|
-
OpenResult::File(file) => table.push(Arc::new(FileEntry::new(file, access_mode)))?,
|
765
|
-
OpenResult::Dir(child_dir) => table.push(Arc::new(DirEntry::new(None, child_dir)))?,
|
766
|
-
};
|
767
|
-
Ok(types::Fd::from(fd))
|
768
|
-
}
|
769
|
-
|
770
|
-
async fn path_readlink<'a>(
|
771
|
-
&mut self,
|
772
|
-
dirfd: types::Fd,
|
773
|
-
path: &GuestPtr<'a, str>,
|
774
|
-
buf: &GuestPtr<'a, u8>,
|
775
|
-
buf_len: types::Size,
|
776
|
-
) -> Result<types::Size, Error> {
|
777
|
-
let link = self
|
778
|
-
.table()
|
779
|
-
.get_dir(u32::from(dirfd))?
|
780
|
-
.dir
|
781
|
-
.read_link(path.as_cow()?.deref())
|
782
|
-
.await?
|
783
|
-
.into_os_string()
|
784
|
-
.into_string()
|
785
|
-
.map_err(|_| Error::illegal_byte_sequence().context("link contents"))?;
|
786
|
-
let link_bytes = link.as_bytes();
|
787
|
-
// Like posix readlink(2), silently truncate links when they are larger than the
|
788
|
-
// destination buffer:
|
789
|
-
let link_len = std::cmp::min(link_bytes.len(), buf_len as usize);
|
790
|
-
buf.as_array(link_len as u32)
|
791
|
-
.copy_from_slice(&link_bytes[..link_len])?;
|
792
|
-
Ok(link_len as types::Size)
|
793
|
-
}
|
794
|
-
|
795
|
-
async fn path_remove_directory<'a>(
|
796
|
-
&mut self,
|
797
|
-
dirfd: types::Fd,
|
798
|
-
path: &GuestPtr<'a, str>,
|
799
|
-
) -> Result<(), Error> {
|
800
|
-
self.table()
|
801
|
-
.get_dir(u32::from(dirfd))?
|
802
|
-
.dir
|
803
|
-
.remove_dir(path.as_cow()?.deref())
|
804
|
-
.await
|
805
|
-
}
|
806
|
-
|
807
|
-
async fn path_rename<'a>(
|
808
|
-
&mut self,
|
809
|
-
src_fd: types::Fd,
|
810
|
-
src_path: &GuestPtr<'a, str>,
|
811
|
-
dest_fd: types::Fd,
|
812
|
-
dest_path: &GuestPtr<'a, str>,
|
813
|
-
) -> Result<(), Error> {
|
814
|
-
let table = self.table();
|
815
|
-
let src_dir = table.get_dir(u32::from(src_fd))?;
|
816
|
-
let dest_dir = table.get_dir(u32::from(dest_fd))?;
|
817
|
-
src_dir
|
818
|
-
.dir
|
819
|
-
.rename(
|
820
|
-
src_path.as_cow()?.deref(),
|
821
|
-
dest_dir.dir.deref(),
|
822
|
-
dest_path.as_cow()?.deref(),
|
823
|
-
)
|
824
|
-
.await
|
825
|
-
}
|
826
|
-
|
827
|
-
async fn path_symlink<'a>(
|
828
|
-
&mut self,
|
829
|
-
src_path: &GuestPtr<'a, str>,
|
830
|
-
dirfd: types::Fd,
|
831
|
-
dest_path: &GuestPtr<'a, str>,
|
832
|
-
) -> Result<(), Error> {
|
833
|
-
self.table()
|
834
|
-
.get_dir(u32::from(dirfd))?
|
835
|
-
.dir
|
836
|
-
.symlink(src_path.as_cow()?.deref(), dest_path.as_cow()?.deref())
|
837
|
-
.await
|
838
|
-
}
|
839
|
-
|
840
|
-
async fn path_unlink_file<'a>(
|
841
|
-
&mut self,
|
842
|
-
dirfd: types::Fd,
|
843
|
-
path: &GuestPtr<'a, str>,
|
844
|
-
) -> Result<(), Error> {
|
845
|
-
self.table()
|
846
|
-
.get_dir(u32::from(dirfd))?
|
847
|
-
.dir
|
848
|
-
.unlink_file(path.as_cow()?.deref())
|
849
|
-
.await
|
850
|
-
}
|
851
|
-
|
852
|
-
async fn poll_oneoff<'a>(
|
853
|
-
&mut self,
|
854
|
-
subs: &GuestPtr<'a, types::Subscription>,
|
855
|
-
events: &GuestPtr<'a, types::Event>,
|
856
|
-
nsubscriptions: types::Size,
|
857
|
-
) -> Result<types::Size, Error> {
|
858
|
-
if nsubscriptions == 0 {
|
859
|
-
return Err(Error::invalid_argument().context("nsubscriptions must be nonzero"));
|
860
|
-
}
|
861
|
-
|
862
|
-
// Special-case a `poll_oneoff` which is just sleeping on a single
|
863
|
-
// relative timer event, such as what WASI libc uses to implement sleep
|
864
|
-
// functions. This supports all clock IDs, because POSIX says that
|
865
|
-
// `clock_settime` doesn't effect relative sleeps.
|
866
|
-
if nsubscriptions == 1 {
|
867
|
-
let sub = subs.read()?;
|
868
|
-
if let types::SubscriptionU::Clock(clocksub) = sub.u {
|
869
|
-
if !clocksub
|
870
|
-
.flags
|
871
|
-
.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME)
|
872
|
-
{
|
873
|
-
self.sched
|
874
|
-
.sleep(Duration::from_nanos(clocksub.timeout))
|
875
|
-
.await?;
|
876
|
-
events.write(types::Event {
|
877
|
-
userdata: sub.userdata,
|
878
|
-
error: types::Errno::Success,
|
879
|
-
type_: types::Eventtype::Clock,
|
880
|
-
fd_readwrite: fd_readwrite_empty(),
|
881
|
-
})?;
|
882
|
-
return Ok(1);
|
883
|
-
}
|
884
|
-
}
|
885
|
-
}
|
886
|
-
|
887
|
-
let table = &self.table;
|
888
|
-
// We need these refmuts to outlive Poll, which will hold the &mut dyn WasiFile inside
|
889
|
-
let mut read_refs: Vec<(Arc<FileEntry>, Option<Userdata>)> = Vec::new();
|
890
|
-
let mut write_refs: Vec<(Arc<FileEntry>, Option<Userdata>)> = Vec::new();
|
891
|
-
|
892
|
-
let mut poll = Poll::new();
|
893
|
-
|
894
|
-
let subs = subs.as_array(nsubscriptions);
|
895
|
-
for sub_elem in subs.iter() {
|
896
|
-
let sub_ptr = sub_elem?;
|
897
|
-
let sub = sub_ptr.read()?;
|
898
|
-
match sub.u {
|
899
|
-
types::SubscriptionU::Clock(clocksub) => match clocksub.id {
|
900
|
-
types::Clockid::Monotonic => {
|
901
|
-
let clock = self.clocks.monotonic()?;
|
902
|
-
let precision = Duration::from_nanos(clocksub.precision);
|
903
|
-
let duration = Duration::from_nanos(clocksub.timeout);
|
904
|
-
let start = if clocksub
|
905
|
-
.flags
|
906
|
-
.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME)
|
907
|
-
{
|
908
|
-
clock.creation_time
|
909
|
-
} else {
|
910
|
-
clock.abs_clock.now(precision)
|
911
|
-
};
|
912
|
-
let deadline = start
|
913
|
-
.checked_add(duration)
|
914
|
-
.ok_or_else(|| Error::overflow().context("deadline"))?;
|
915
|
-
poll.subscribe_monotonic_clock(
|
916
|
-
&*clock.abs_clock,
|
917
|
-
deadline,
|
918
|
-
precision,
|
919
|
-
sub.userdata.into(),
|
920
|
-
)
|
921
|
-
}
|
922
|
-
types::Clockid::Realtime => {
|
923
|
-
// POSIX specifies that functions like `nanosleep` and others use the
|
924
|
-
// `REALTIME` clock. But it also says that `clock_settime` has no effect
|
925
|
-
// on threads waiting in these functions. MONOTONIC should always have
|
926
|
-
// resolution at least as good as REALTIME, so we can translate a
|
927
|
-
// non-absolute `REALTIME` request into a `MONOTONIC` request.
|
928
|
-
let clock = self.clocks.monotonic()?;
|
929
|
-
let precision = Duration::from_nanos(clocksub.precision);
|
930
|
-
let duration = Duration::from_nanos(clocksub.timeout);
|
931
|
-
let deadline = if clocksub
|
932
|
-
.flags
|
933
|
-
.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME)
|
934
|
-
{
|
935
|
-
return Err(Error::not_supported());
|
936
|
-
} else {
|
937
|
-
clock
|
938
|
-
.abs_clock
|
939
|
-
.now(precision)
|
940
|
-
.checked_add(duration)
|
941
|
-
.ok_or_else(|| Error::overflow().context("deadline"))?
|
942
|
-
};
|
943
|
-
poll.subscribe_monotonic_clock(
|
944
|
-
&*clock.abs_clock,
|
945
|
-
deadline,
|
946
|
-
precision,
|
947
|
-
sub.userdata.into(),
|
948
|
-
)
|
949
|
-
}
|
950
|
-
_ => Err(Error::invalid_argument()
|
951
|
-
.context("timer subscriptions only support monotonic timer"))?,
|
952
|
-
},
|
953
|
-
types::SubscriptionU::FdRead(readsub) => {
|
954
|
-
let fd = readsub.file_descriptor;
|
955
|
-
let file_ref = table.get_file(u32::from(fd))?;
|
956
|
-
read_refs.push((file_ref, Some(sub.userdata.into())));
|
957
|
-
}
|
958
|
-
types::SubscriptionU::FdWrite(writesub) => {
|
959
|
-
let fd = writesub.file_descriptor;
|
960
|
-
let file_ref = table.get_file(u32::from(fd))?;
|
961
|
-
write_refs.push((file_ref, Some(sub.userdata.into())));
|
962
|
-
}
|
963
|
-
}
|
964
|
-
}
|
965
|
-
|
966
|
-
let mut read_mut_refs: Vec<(&dyn WasiFile, Userdata)> = Vec::new();
|
967
|
-
for (file_lock, userdata) in read_refs.iter_mut() {
|
968
|
-
read_mut_refs.push((file_lock.file.deref(), userdata.take().unwrap()));
|
969
|
-
}
|
970
|
-
|
971
|
-
for (f, ud) in read_mut_refs.iter_mut() {
|
972
|
-
poll.subscribe_read(*f, *ud);
|
973
|
-
}
|
974
|
-
|
975
|
-
let mut write_mut_refs: Vec<(&dyn WasiFile, Userdata)> = Vec::new();
|
976
|
-
for (file_lock, userdata) in write_refs.iter_mut() {
|
977
|
-
write_mut_refs.push((file_lock.file.deref(), userdata.take().unwrap()));
|
978
|
-
}
|
979
|
-
|
980
|
-
for (f, ud) in write_mut_refs.iter_mut() {
|
981
|
-
poll.subscribe_write(*f, *ud);
|
982
|
-
}
|
983
|
-
|
984
|
-
self.sched.poll_oneoff(&mut poll).await?;
|
985
|
-
|
986
|
-
let results = poll.results();
|
987
|
-
let num_results = results.len();
|
988
|
-
assert!(
|
989
|
-
num_results <= nsubscriptions as usize,
|
990
|
-
"results exceeds subscriptions"
|
991
|
-
);
|
992
|
-
let events = events.as_array(
|
993
|
-
num_results
|
994
|
-
.try_into()
|
995
|
-
.expect("not greater than nsubscriptions"),
|
996
|
-
);
|
997
|
-
for ((result, userdata), event_elem) in results.into_iter().zip(events.iter()) {
|
998
|
-
let event_ptr = event_elem?;
|
999
|
-
let userdata: types::Userdata = userdata.into();
|
1000
|
-
event_ptr.write(match result {
|
1001
|
-
SubscriptionResult::Read(r) => {
|
1002
|
-
let type_ = types::Eventtype::FdRead;
|
1003
|
-
match r {
|
1004
|
-
Ok((nbytes, flags)) => types::Event {
|
1005
|
-
userdata,
|
1006
|
-
error: types::Errno::Success,
|
1007
|
-
type_,
|
1008
|
-
fd_readwrite: types::EventFdReadwrite {
|
1009
|
-
nbytes,
|
1010
|
-
flags: types::Eventrwflags::from(&flags),
|
1011
|
-
},
|
1012
|
-
},
|
1013
|
-
Err(e) => types::Event {
|
1014
|
-
userdata,
|
1015
|
-
error: e.downcast().map_err(Error::trap)?,
|
1016
|
-
type_,
|
1017
|
-
fd_readwrite: fd_readwrite_empty(),
|
1018
|
-
},
|
1019
|
-
}
|
1020
|
-
}
|
1021
|
-
SubscriptionResult::Write(r) => {
|
1022
|
-
let type_ = types::Eventtype::FdWrite;
|
1023
|
-
match r {
|
1024
|
-
Ok((nbytes, flags)) => types::Event {
|
1025
|
-
userdata,
|
1026
|
-
error: types::Errno::Success,
|
1027
|
-
type_,
|
1028
|
-
fd_readwrite: types::EventFdReadwrite {
|
1029
|
-
nbytes,
|
1030
|
-
flags: types::Eventrwflags::from(&flags),
|
1031
|
-
},
|
1032
|
-
},
|
1033
|
-
Err(e) => types::Event {
|
1034
|
-
userdata,
|
1035
|
-
error: e.downcast().map_err(Error::trap)?,
|
1036
|
-
type_,
|
1037
|
-
fd_readwrite: fd_readwrite_empty(),
|
1038
|
-
},
|
1039
|
-
}
|
1040
|
-
}
|
1041
|
-
SubscriptionResult::MonotonicClock(r) => {
|
1042
|
-
let type_ = types::Eventtype::Clock;
|
1043
|
-
types::Event {
|
1044
|
-
userdata,
|
1045
|
-
error: match r {
|
1046
|
-
Ok(()) => types::Errno::Success,
|
1047
|
-
Err(e) => e.downcast().map_err(Error::trap)?,
|
1048
|
-
},
|
1049
|
-
type_,
|
1050
|
-
fd_readwrite: fd_readwrite_empty(),
|
1051
|
-
}
|
1052
|
-
}
|
1053
|
-
})?;
|
1054
|
-
}
|
1055
|
-
|
1056
|
-
Ok(num_results.try_into().expect("results fit into memory"))
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
async fn proc_exit(&mut self, status: types::Exitcode) -> anyhow::Error {
|
1060
|
-
// Check that the status is within WASI's range.
|
1061
|
-
if status < 126 {
|
1062
|
-
I32Exit(status as i32).into()
|
1063
|
-
} else {
|
1064
|
-
anyhow::Error::msg("exit with invalid exit status outside of [0..126)")
|
1065
|
-
}
|
1066
|
-
}
|
1067
|
-
|
1068
|
-
async fn proc_raise(&mut self, _sig: types::Signal) -> Result<(), Error> {
|
1069
|
-
Err(Error::trap(anyhow::Error::msg("proc_raise unsupported")))
|
1070
|
-
}
|
1071
|
-
|
1072
|
-
async fn sched_yield(&mut self) -> Result<(), Error> {
|
1073
|
-
self.sched.sched_yield().await
|
1074
|
-
}
|
1075
|
-
|
1076
|
-
async fn random_get<'a>(
|
1077
|
-
&mut self,
|
1078
|
-
buf: &GuestPtr<'a, u8>,
|
1079
|
-
buf_len: types::Size,
|
1080
|
-
) -> Result<(), Error> {
|
1081
|
-
let buf = buf.as_array(buf_len);
|
1082
|
-
if buf.is_shared_memory() {
|
1083
|
-
// If the Wasm memory is shared, copy to an intermediate buffer to
|
1084
|
-
// avoid Rust unsafety (i.e., the called function could rely on
|
1085
|
-
// `&mut [u8]`'s exclusive ownership which is not guaranteed due to
|
1086
|
-
// potential access from other threads).
|
1087
|
-
let mut copied: u32 = 0;
|
1088
|
-
while copied < buf.len() {
|
1089
|
-
let len = (buf.len() - copied).min(MAX_SHARED_BUFFER_SIZE as u32);
|
1090
|
-
let mut tmp = vec![0; len as usize];
|
1091
|
-
self.random.lock().unwrap().try_fill_bytes(&mut tmp)?;
|
1092
|
-
let dest = buf
|
1093
|
-
.get_range(copied..copied + len)
|
1094
|
-
.unwrap()
|
1095
|
-
.as_unsafe_slice_mut()?;
|
1096
|
-
dest.copy_from_slice(&tmp)?;
|
1097
|
-
copied += len;
|
1098
|
-
}
|
1099
|
-
} else {
|
1100
|
-
// If the Wasm memory is non-shared, copy directly into the linear
|
1101
|
-
// memory.
|
1102
|
-
let mem = &mut buf.as_slice_mut()?.unwrap();
|
1103
|
-
self.random.lock().unwrap().try_fill_bytes(mem)?;
|
1104
|
-
}
|
1105
|
-
Ok(())
|
1106
|
-
}
|
1107
|
-
|
1108
|
-
async fn sock_accept(
|
1109
|
-
&mut self,
|
1110
|
-
fd: types::Fd,
|
1111
|
-
flags: types::Fdflags,
|
1112
|
-
) -> Result<types::Fd, Error> {
|
1113
|
-
let table = self.table();
|
1114
|
-
let f = table.get_file(u32::from(fd))?;
|
1115
|
-
let file = f.file.sock_accept(FdFlags::from(flags)).await?;
|
1116
|
-
let fd = table.push(Arc::new(FileEntry::new(file, FileAccessMode::all())))?;
|
1117
|
-
Ok(types::Fd::from(fd))
|
1118
|
-
}
|
1119
|
-
|
1120
|
-
async fn sock_recv<'a>(
|
1121
|
-
&mut self,
|
1122
|
-
fd: types::Fd,
|
1123
|
-
ri_data: &types::IovecArray<'a>,
|
1124
|
-
ri_flags: types::Riflags,
|
1125
|
-
) -> Result<(types::Size, types::Roflags), Error> {
|
1126
|
-
let f = self.table().get_file(u32::from(fd))?;
|
1127
|
-
|
1128
|
-
let iovs: Vec<wiggle::GuestPtr<[u8]>> = ri_data
|
1129
|
-
.iter()
|
1130
|
-
.map(|iov_ptr| {
|
1131
|
-
let iov_ptr = iov_ptr?;
|
1132
|
-
let iov: types::Iovec = iov_ptr.read()?;
|
1133
|
-
Ok(iov.buf.as_array(iov.buf_len))
|
1134
|
-
})
|
1135
|
-
.collect::<Result<_, Error>>()?;
|
1136
|
-
|
1137
|
-
// If the first iov structure is from shared memory we can safely assume
|
1138
|
-
// all the rest will be. We then read into memory based on the memory's
|
1139
|
-
// shared-ness:
|
1140
|
-
// - if not shared, we copy directly into the Wasm memory
|
1141
|
-
// - if shared, we use an intermediate buffer; this avoids Rust unsafety
|
1142
|
-
// due to holding on to a `&mut [u8]` of Wasm memory when we cannot
|
1143
|
-
// guarantee the `&mut` exclusivity--other threads could be modifying
|
1144
|
-
// the data as this functions writes to it. Though likely there is no
|
1145
|
-
// issue with OS writing to io structs in multi-threaded scenarios,
|
1146
|
-
// since we do not know here if `&dyn WasiFile` does anything else
|
1147
|
-
// (e.g., read), we cautiously incur some performance overhead by
|
1148
|
-
// copying twice.
|
1149
|
-
let is_shared_memory = iovs
|
1150
|
-
.iter()
|
1151
|
-
.next()
|
1152
|
-
.and_then(|s| Some(s.is_shared_memory()))
|
1153
|
-
.unwrap_or(false);
|
1154
|
-
let (bytes_read, ro_flags) = if is_shared_memory {
|
1155
|
-
// For shared memory, read into an intermediate buffer. Only the
|
1156
|
-
// first iov will be filled and even then the read is capped by the
|
1157
|
-
// `MAX_SHARED_BUFFER_SIZE`, so users are expected to re-call.
|
1158
|
-
let iov = iovs.into_iter().next();
|
1159
|
-
if let Some(iov) = iov {
|
1160
|
-
let mut buffer = vec![0; (iov.len() as usize).min(MAX_SHARED_BUFFER_SIZE)];
|
1161
|
-
let (bytes_read, ro_flags) = f
|
1162
|
-
.file
|
1163
|
-
.sock_recv(&mut [IoSliceMut::new(&mut buffer)], RiFlags::from(ri_flags))
|
1164
|
-
.await?;
|
1165
|
-
iov.get_range(0..bytes_read.try_into()?)
|
1166
|
-
.expect("it should always be possible to slice the iov smaller")
|
1167
|
-
.copy_from_slice(&buffer[0..bytes_read.try_into()?])?;
|
1168
|
-
(bytes_read, ro_flags)
|
1169
|
-
} else {
|
1170
|
-
return Ok((0, RoFlags::empty().into()));
|
1171
|
-
}
|
1172
|
-
} else {
|
1173
|
-
// Convert all of the unsafe guest slices to safe ones--this uses
|
1174
|
-
// Wiggle's internal borrow checker to ensure no overlaps. We assume
|
1175
|
-
// here that, because the memory is not shared, there are no other
|
1176
|
-
// threads to access it while it is written to.
|
1177
|
-
let mut guest_slices: Vec<wiggle::GuestSliceMut<u8>> = iovs
|
1178
|
-
.into_iter()
|
1179
|
-
.map(|iov| Ok(iov.as_slice_mut()?.unwrap()))
|
1180
|
-
.collect::<Result<_, Error>>()?;
|
1181
|
-
|
1182
|
-
// Read directly into the Wasm memory.
|
1183
|
-
let mut ioslices: Vec<IoSliceMut> = guest_slices
|
1184
|
-
.iter_mut()
|
1185
|
-
.map(|s| IoSliceMut::new(&mut *s))
|
1186
|
-
.collect();
|
1187
|
-
f.file
|
1188
|
-
.sock_recv(&mut ioslices, RiFlags::from(ri_flags))
|
1189
|
-
.await?
|
1190
|
-
};
|
1191
|
-
|
1192
|
-
Ok((types::Size::try_from(bytes_read)?, ro_flags.into()))
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
async fn sock_send<'a>(
|
1196
|
-
&mut self,
|
1197
|
-
fd: types::Fd,
|
1198
|
-
si_data: &types::CiovecArray<'a>,
|
1199
|
-
_si_flags: types::Siflags,
|
1200
|
-
) -> Result<types::Size, Error> {
|
1201
|
-
let f = self.table().get_file(u32::from(fd))?;
|
1202
|
-
|
1203
|
-
let guest_slices: Vec<wiggle::GuestCow<u8>> = si_data
|
1204
|
-
.iter()
|
1205
|
-
.map(|iov_ptr| {
|
1206
|
-
let iov_ptr = iov_ptr?;
|
1207
|
-
let iov: types::Ciovec = iov_ptr.read()?;
|
1208
|
-
Ok(iov.buf.as_array(iov.buf_len).as_cow()?)
|
1209
|
-
})
|
1210
|
-
.collect::<Result<_, Error>>()?;
|
1211
|
-
|
1212
|
-
let ioslices: Vec<IoSlice> = guest_slices
|
1213
|
-
.iter()
|
1214
|
-
.map(|s| IoSlice::new(s.deref()))
|
1215
|
-
.collect();
|
1216
|
-
let bytes_written = f.file.sock_send(&ioslices, SiFlags::empty()).await?;
|
1217
|
-
|
1218
|
-
Ok(types::Size::try_from(bytes_written)?)
|
1219
|
-
}
|
1220
|
-
|
1221
|
-
async fn sock_shutdown(&mut self, fd: types::Fd, how: types::Sdflags) -> Result<(), Error> {
|
1222
|
-
let f = self.table().get_file(u32::from(fd))?;
|
1223
|
-
|
1224
|
-
f.file.sock_shutdown(SdFlags::from(how)).await
|
1225
|
-
}
|
1226
|
-
}
|
1227
|
-
|
1228
|
-
impl From<types::Advice> for Advice {
|
1229
|
-
fn from(advice: types::Advice) -> Advice {
|
1230
|
-
match advice {
|
1231
|
-
types::Advice::Normal => Advice::Normal,
|
1232
|
-
types::Advice::Sequential => Advice::Sequential,
|
1233
|
-
types::Advice::Random => Advice::Random,
|
1234
|
-
types::Advice::Willneed => Advice::WillNeed,
|
1235
|
-
types::Advice::Dontneed => Advice::DontNeed,
|
1236
|
-
types::Advice::Noreuse => Advice::NoReuse,
|
1237
|
-
}
|
1238
|
-
}
|
1239
|
-
}
|
1240
|
-
|
1241
|
-
impl From<&FdStat> for types::Fdstat {
|
1242
|
-
fn from(fdstat: &FdStat) -> types::Fdstat {
|
1243
|
-
let mut fs_rights_base = types::Rights::empty();
|
1244
|
-
if fdstat.access_mode.contains(FileAccessMode::READ) {
|
1245
|
-
fs_rights_base |= types::Rights::FD_READ;
|
1246
|
-
}
|
1247
|
-
if fdstat.access_mode.contains(FileAccessMode::WRITE) {
|
1248
|
-
fs_rights_base |= types::Rights::FD_WRITE;
|
1249
|
-
}
|
1250
|
-
types::Fdstat {
|
1251
|
-
fs_filetype: types::Filetype::from(&fdstat.filetype),
|
1252
|
-
fs_rights_base,
|
1253
|
-
fs_rights_inheriting: types::Rights::empty(),
|
1254
|
-
fs_flags: types::Fdflags::from(fdstat.flags),
|
1255
|
-
}
|
1256
|
-
}
|
1257
|
-
}
|
1258
|
-
|
1259
|
-
impl From<&FileType> for types::Filetype {
|
1260
|
-
fn from(ft: &FileType) -> types::Filetype {
|
1261
|
-
match ft {
|
1262
|
-
FileType::Directory => types::Filetype::Directory,
|
1263
|
-
FileType::BlockDevice => types::Filetype::BlockDevice,
|
1264
|
-
FileType::CharacterDevice => types::Filetype::CharacterDevice,
|
1265
|
-
FileType::RegularFile => types::Filetype::RegularFile,
|
1266
|
-
FileType::SocketDgram => types::Filetype::SocketDgram,
|
1267
|
-
FileType::SocketStream => types::Filetype::SocketStream,
|
1268
|
-
FileType::SymbolicLink => types::Filetype::SymbolicLink,
|
1269
|
-
FileType::Unknown => types::Filetype::Unknown,
|
1270
|
-
FileType::Pipe => types::Filetype::Unknown,
|
1271
|
-
}
|
1272
|
-
}
|
1273
|
-
}
|
1274
|
-
|
1275
|
-
macro_rules! convert_flags {
|
1276
|
-
($from:ty, $to:ty, $($flag:ident),+) => {
|
1277
|
-
impl From<$from> for $to {
|
1278
|
-
fn from(f: $from) -> $to {
|
1279
|
-
let mut out = <$to>::empty();
|
1280
|
-
$(
|
1281
|
-
if f.contains(<$from>::$flag) {
|
1282
|
-
out |= <$to>::$flag;
|
1283
|
-
}
|
1284
|
-
)+
|
1285
|
-
out
|
1286
|
-
}
|
1287
|
-
}
|
1288
|
-
}
|
1289
|
-
}
|
1290
|
-
|
1291
|
-
macro_rules! convert_flags_bidirectional {
|
1292
|
-
($from:ty, $to:ty, $($rest:tt)*) => {
|
1293
|
-
convert_flags!($from, $to, $($rest)*);
|
1294
|
-
convert_flags!($to, $from, $($rest)*);
|
1295
|
-
}
|
1296
|
-
}
|
1297
|
-
|
1298
|
-
convert_flags_bidirectional!(
|
1299
|
-
FdFlags,
|
1300
|
-
types::Fdflags,
|
1301
|
-
APPEND,
|
1302
|
-
DSYNC,
|
1303
|
-
NONBLOCK,
|
1304
|
-
RSYNC,
|
1305
|
-
SYNC
|
1306
|
-
);
|
1307
|
-
|
1308
|
-
convert_flags_bidirectional!(RiFlags, types::Riflags, RECV_PEEK, RECV_WAITALL);
|
1309
|
-
|
1310
|
-
convert_flags_bidirectional!(RoFlags, types::Roflags, RECV_DATA_TRUNCATED);
|
1311
|
-
|
1312
|
-
convert_flags_bidirectional!(SdFlags, types::Sdflags, RD, WR);
|
1313
|
-
|
1314
|
-
impl From<&types::Oflags> for OFlags {
|
1315
|
-
fn from(oflags: &types::Oflags) -> OFlags {
|
1316
|
-
let mut out = OFlags::empty();
|
1317
|
-
if oflags.contains(types::Oflags::CREAT) {
|
1318
|
-
out = out | OFlags::CREATE;
|
1319
|
-
}
|
1320
|
-
if oflags.contains(types::Oflags::DIRECTORY) {
|
1321
|
-
out = out | OFlags::DIRECTORY;
|
1322
|
-
}
|
1323
|
-
if oflags.contains(types::Oflags::EXCL) {
|
1324
|
-
out = out | OFlags::EXCLUSIVE;
|
1325
|
-
}
|
1326
|
-
if oflags.contains(types::Oflags::TRUNC) {
|
1327
|
-
out = out | OFlags::TRUNCATE;
|
1328
|
-
}
|
1329
|
-
out
|
1330
|
-
}
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
impl From<&OFlags> for types::Oflags {
|
1334
|
-
fn from(oflags: &OFlags) -> types::Oflags {
|
1335
|
-
let mut out = types::Oflags::empty();
|
1336
|
-
if oflags.contains(OFlags::CREATE) {
|
1337
|
-
out = out | types::Oflags::CREAT;
|
1338
|
-
}
|
1339
|
-
if oflags.contains(OFlags::DIRECTORY) {
|
1340
|
-
out = out | types::Oflags::DIRECTORY;
|
1341
|
-
}
|
1342
|
-
if oflags.contains(OFlags::EXCLUSIVE) {
|
1343
|
-
out = out | types::Oflags::EXCL;
|
1344
|
-
}
|
1345
|
-
if oflags.contains(OFlags::TRUNCATE) {
|
1346
|
-
out = out | types::Oflags::TRUNC;
|
1347
|
-
}
|
1348
|
-
out
|
1349
|
-
}
|
1350
|
-
}
|
1351
|
-
impl From<Filestat> for types::Filestat {
|
1352
|
-
fn from(stat: Filestat) -> types::Filestat {
|
1353
|
-
types::Filestat {
|
1354
|
-
dev: stat.device_id,
|
1355
|
-
ino: stat.inode,
|
1356
|
-
filetype: types::Filetype::from(&stat.filetype),
|
1357
|
-
nlink: stat.nlink,
|
1358
|
-
size: stat.size,
|
1359
|
-
atim: stat
|
1360
|
-
.atim
|
1361
|
-
.map(|t| t.duration_since(std::time::UNIX_EPOCH).unwrap().as_nanos() as u64)
|
1362
|
-
.unwrap_or(0),
|
1363
|
-
mtim: stat
|
1364
|
-
.mtim
|
1365
|
-
.map(|t| t.duration_since(std::time::UNIX_EPOCH).unwrap().as_nanos() as u64)
|
1366
|
-
.unwrap_or(0),
|
1367
|
-
ctim: stat
|
1368
|
-
.ctim
|
1369
|
-
.map(|t| t.duration_since(std::time::UNIX_EPOCH).unwrap().as_nanos() as u64)
|
1370
|
-
.unwrap_or(0),
|
1371
|
-
}
|
1372
|
-
}
|
1373
|
-
}
|
1374
|
-
|
1375
|
-
impl TryFrom<&ReaddirEntity> for types::Dirent {
|
1376
|
-
type Error = Error;
|
1377
|
-
fn try_from(e: &ReaddirEntity) -> Result<types::Dirent, Error> {
|
1378
|
-
Ok(types::Dirent {
|
1379
|
-
d_ino: e.inode,
|
1380
|
-
d_namlen: e.name.as_bytes().len().try_into()?,
|
1381
|
-
d_type: types::Filetype::from(&e.filetype),
|
1382
|
-
d_next: e.next.into(),
|
1383
|
-
})
|
1384
|
-
}
|
1385
|
-
}
|
1386
|
-
|
1387
|
-
fn dirent_bytes(dirent: types::Dirent) -> Vec<u8> {
|
1388
|
-
use wiggle::GuestType;
|
1389
|
-
assert_eq!(
|
1390
|
-
types::Dirent::guest_size(),
|
1391
|
-
std::mem::size_of::<types::Dirent>() as u32,
|
1392
|
-
"Dirent guest repr and host repr should match"
|
1393
|
-
);
|
1394
|
-
assert_eq!(
|
1395
|
-
1,
|
1396
|
-
std::mem::size_of_val(&dirent.d_type),
|
1397
|
-
"Dirent member d_type should be endian-invariant"
|
1398
|
-
);
|
1399
|
-
let size = types::Dirent::guest_size()
|
1400
|
-
.try_into()
|
1401
|
-
.expect("Dirent is smaller than 2^32");
|
1402
|
-
let mut bytes = Vec::with_capacity(size);
|
1403
|
-
bytes.resize(size, 0);
|
1404
|
-
let ptr = bytes.as_mut_ptr().cast::<types::Dirent>();
|
1405
|
-
let guest_dirent = types::Dirent {
|
1406
|
-
d_ino: dirent.d_ino.to_le(),
|
1407
|
-
d_namlen: dirent.d_namlen.to_le(),
|
1408
|
-
d_type: dirent.d_type, // endian-invariant
|
1409
|
-
d_next: dirent.d_next.to_le(),
|
1410
|
-
};
|
1411
|
-
unsafe { ptr.write_unaligned(guest_dirent) };
|
1412
|
-
bytes
|
1413
|
-
}
|
1414
|
-
|
1415
|
-
impl From<&RwEventFlags> for types::Eventrwflags {
|
1416
|
-
fn from(flags: &RwEventFlags) -> types::Eventrwflags {
|
1417
|
-
let mut out = types::Eventrwflags::empty();
|
1418
|
-
if flags.contains(RwEventFlags::HANGUP) {
|
1419
|
-
out = out | types::Eventrwflags::FD_READWRITE_HANGUP;
|
1420
|
-
}
|
1421
|
-
out
|
1422
|
-
}
|
1423
|
-
}
|
1424
|
-
|
1425
|
-
fn fd_readwrite_empty() -> types::EventFdReadwrite {
|
1426
|
-
types::EventFdReadwrite {
|
1427
|
-
nbytes: 0,
|
1428
|
-
flags: types::Eventrwflags::empty(),
|
1429
|
-
}
|
1430
|
-
}
|
1431
|
-
|
1432
|
-
fn systimespec(
|
1433
|
-
set: bool,
|
1434
|
-
ts: types::Timestamp,
|
1435
|
-
now: bool,
|
1436
|
-
) -> Result<Option<SystemTimeSpec>, Error> {
|
1437
|
-
if set && now {
|
1438
|
-
Err(Error::invalid_argument())
|
1439
|
-
} else if set {
|
1440
|
-
Ok(Some(SystemTimeSpec::Absolute(
|
1441
|
-
SystemClock::UNIX_EPOCH + Duration::from_nanos(ts),
|
1442
|
-
)))
|
1443
|
-
} else if now {
|
1444
|
-
Ok(Some(SystemTimeSpec::SymbolicNow))
|
1445
|
-
} else {
|
1446
|
-
Ok(None)
|
1447
|
-
}
|
1448
|
-
}
|
1449
|
-
|
1450
|
-
// This is the default subset of base Rights reported for directories prior to
|
1451
|
-
// https://github.com/bytecodealliance/wasmtime/pull/6265. Some
|
1452
|
-
// implementations still expect this set of rights to be reported.
|
1453
|
-
pub(crate) fn directory_base_rights() -> types::Rights {
|
1454
|
-
types::Rights::PATH_CREATE_DIRECTORY
|
1455
|
-
| types::Rights::PATH_CREATE_FILE
|
1456
|
-
| types::Rights::PATH_LINK_SOURCE
|
1457
|
-
| types::Rights::PATH_LINK_TARGET
|
1458
|
-
| types::Rights::PATH_OPEN
|
1459
|
-
| types::Rights::FD_READDIR
|
1460
|
-
| types::Rights::PATH_READLINK
|
1461
|
-
| types::Rights::PATH_RENAME_SOURCE
|
1462
|
-
| types::Rights::PATH_RENAME_TARGET
|
1463
|
-
| types::Rights::PATH_SYMLINK
|
1464
|
-
| types::Rights::PATH_REMOVE_DIRECTORY
|
1465
|
-
| types::Rights::PATH_UNLINK_FILE
|
1466
|
-
| types::Rights::PATH_FILESTAT_GET
|
1467
|
-
| types::Rights::PATH_FILESTAT_SET_TIMES
|
1468
|
-
| types::Rights::FD_FILESTAT_GET
|
1469
|
-
| types::Rights::FD_FILESTAT_SET_TIMES
|
1470
|
-
}
|
1471
|
-
|
1472
|
-
// This is the default subset of inheriting Rights reported for directories
|
1473
|
-
// prior to https://github.com/bytecodealliance/wasmtime/pull/6265. Some
|
1474
|
-
// implementations still expect this set of rights to be reported.
|
1475
|
-
pub(crate) fn directory_inheriting_rights() -> types::Rights {
|
1476
|
-
types::Rights::FD_DATASYNC
|
1477
|
-
| types::Rights::FD_READ
|
1478
|
-
| types::Rights::FD_SEEK
|
1479
|
-
| types::Rights::FD_FDSTAT_SET_FLAGS
|
1480
|
-
| types::Rights::FD_SYNC
|
1481
|
-
| types::Rights::FD_TELL
|
1482
|
-
| types::Rights::FD_WRITE
|
1483
|
-
| types::Rights::FD_ADVISE
|
1484
|
-
| types::Rights::FD_ALLOCATE
|
1485
|
-
| types::Rights::FD_FILESTAT_GET
|
1486
|
-
| types::Rights::FD_FILESTAT_SET_SIZE
|
1487
|
-
| types::Rights::FD_FILESTAT_SET_TIMES
|
1488
|
-
| types::Rights::POLL_FD_READWRITE
|
1489
|
-
| directory_base_rights()
|
1490
|
-
}
|