wasmtime 24.0.0 → 25.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 +112 -111
- data/ext/Cargo.toml +5 -5
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/Cargo.toml +59 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/node.rs +806 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/path.rs +830 -0
- data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/pool.rs +219 -0
- data/ext/cargo-vendor/cranelift-bitset-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bitset-0.112.0/Cargo.toml +74 -0
- data/ext/cargo-vendor/cranelift-bitset-0.112.0/src/scalar.rs +626 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/Cargo.toml +222 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/build.rs +267 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/binemit/mod.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/cfg_printer.rs +83 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/data_value.rs +402 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/dbg.rs +28 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/egraph.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/incremental_cache.rs +256 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/inst_predicates.rs +207 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/constant.rs +485 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/dfg.rs +1802 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/entities.rs +564 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/extfunc.rs +408 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/extname.rs +333 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/function.rs +500 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/globalvalue.rs +147 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/immediates.rs +1941 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/instructions.rs +1021 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/memtype.rs +190 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/progpoint.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/trapcode.rs +148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/types.rs +624 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/user_stack_maps.rs +199 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/abi.rs +1520 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/args.rs +711 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/emit.rs +3567 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/emit_tests.rs +7972 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/imms.rs +1244 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/mod.rs +3051 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/regs.rs +269 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst.isle +4267 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/lower/isle.rs +811 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/lower.isle +2968 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/pcc.rs +570 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/settings.rs +9 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/mod.rs +471 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley32.rs +13 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley64.rs +13 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/abi.rs +798 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/args.rs +192 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/emit.rs +482 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/mod.rs +905 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/regs.rs +164 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst.isle +543 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower/isle/generated_code.rs +17 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower/isle.rs +195 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower.isle +178 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower.rs +36 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/mod.rs +281 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/settings.rs +16 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/abi.rs +993 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/args.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/emit.rs +2685 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/emit_tests.rs +2277 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/encode.rs +721 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/mod.rs +1865 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/unwind/systemv.rs +170 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/vector.rs +1150 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst.isle +3128 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst_vector.isle +1907 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/lower/isle.rs +721 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/lower.isle +2940 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/abi.rs +1348 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/emit.rs +3470 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/emit_tests.rs +13370 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/mod.rs +3461 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/regs.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/unwind/systemv.rs +212 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst.isle +5071 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/lower/isle.rs +1109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/lower.isle +3981 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/unwind/systemv.rs +276 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/abi.rs +1390 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/encoding/evex.rs +747 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/args.rs +2318 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit.rs +4400 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit_state.rs +55 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit_tests.rs +5146 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/mod.rs +2811 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/regs.rs +275 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/stack_switch.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/unwind/systemv.rs +198 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst.isle +5382 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower/isle.rs +1047 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower.isle +4919 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower.rs +338 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/mod.rs +239 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/pcc.rs +1022 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isle_prelude.rs +1144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/abi.rs +2417 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/buffer.rs +2492 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/isle.rs +890 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/lower.rs +1590 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/mod.rs +560 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/reg.rs +484 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/vcode.rs +1762 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/extends.isle +95 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/icmp.isle +258 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/selects.isle +88 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/prelude.isle +751 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/prelude_lower.isle +1081 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/print_errors.rs +223 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/remove_constant_phis.rs +419 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/result.rs +111 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/settings.rs +591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/timing.rs +296 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/verifier/mod.rs +1941 -0
- data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/write.rs +694 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/settings.rs +429 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/types.rs +420 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/typevar.rs +946 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/error.rs +48 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_inst.rs +1274 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_isle.rs +519 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_settings.rs +505 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_types.rs +70 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/arm64.rs +59 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/mod.rs +81 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/pulley.rs +14 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/riscv64.rs +181 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/x86.rs +414 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isle.rs +142 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/lib.rs +98 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/instructions.rs +3801 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/mod.rs +87 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/settings.rs +361 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/types.rs +103 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/srcgen.rs +464 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.112.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/cranelift-control-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.112.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/Cargo.toml +75 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/src/lib.rs +381 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/src/packed_option.rs +173 -0
- data/ext/cargo-vendor/cranelift-entity-0.112.0/src/sparse.rs +367 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/Cargo.toml +97 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/frontend.rs +1963 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/ssa.rs +1325 -0
- data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/switch.rs +676 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/Cargo.toml +69 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/build.rs +35 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/ast.rs +412 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/codegen.rs +922 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/compile.rs +65 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/error.rs +318 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/files.rs +133 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/lexer.rs +343 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/lib.rs +34 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/overlap.rs +130 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/parser.rs +551 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/sema.rs +2482 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/src/trie_again.rs +696 -0
- data/ext/cargo-vendor/cranelift-isle-0.112.0/tests/run_tests.rs +77 -0
- data/ext/cargo-vendor/cranelift-native-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.112.0/Cargo.toml +52 -0
- data/ext/cargo-vendor/cranelift-native-0.112.0/src/lib.rs +192 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/Cargo.toml +128 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/code_translator.rs +3723 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/environ/dummy.rs +897 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/environ/spec.rs +922 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/func_translator.rs +283 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/module_translator.rs +120 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/sections_translator.rs +332 -0
- data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/translation_utils.rs +95 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.25/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.25/Cargo.toml +69 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/Cargo.toml +85 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/README.md +109 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/decode.rs +657 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/disas.rs +256 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/encode.rs +198 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/imms.rs +31 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/interp.rs +1113 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/lib.rs +215 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/op.rs +256 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/opcode.rs +126 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/regs.rs +329 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/disas.rs +87 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/interp.rs +1216 -0
- data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/main.rs +5 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/Cargo.toml +83 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/doc/DESIGN.md +1411 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/cfg.rs +135 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/checker.rs +993 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/fuzzing/func.rs +651 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/fuzzing/mod.rs +31 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/index.rs +209 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/data_structures.rs +838 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/liveranges.rs +882 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/merge.rs +366 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/mod.rs +143 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/moves.rs +1006 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/process.rs +1319 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/requirement.rs +167 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/lib.rs +1518 -0
- data/ext/cargo-vendor/regalloc2-0.10.2/src/serialize.rs +293 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/CHANGELOG.md +19 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/CODE_OF_CONDUCT.md +3 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/Cargo.toml +39 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/LICENSE-MIT +23 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/README.md +42 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/src/lib.rs +459 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/src/random_state.rs +92 -0
- data/ext/cargo-vendor/rustc-hash-2.0.0/src/seeded_state.rs +53 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/Cargo.toml +242 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/lib.rs +193 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/snapshots/mod.rs +24 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/sync/dir.rs +461 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/src/tokio/dir.rs +220 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/async_.rs +294 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/main.rs +21 -0
- data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/sync.rs +283 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/builder.rs +469 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/exports.rs +129 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/imports.rs +169 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/instances.rs +199 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/types.rs +800 -0
- data/ext/cargo-vendor/wasm-encoder-0.217.0/src/core/code.rs +3947 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/Cargo.lock +679 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/Cargo.toml +139 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/benches/benchmark.rs +350 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/binary_reader.rs +2115 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/features.rs +281 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/limits.rs +80 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/parser.rs +1691 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/aliases.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/canonicals.rs +121 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/exports.rs +135 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/imports.rs +145 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/instances.rs +166 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/types.rs +553 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/code.rs +142 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/coredumps.rs +278 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/data.rs +94 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/exports.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/globals.rs +61 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/imports.rs +76 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/init.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/operators.rs +479 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/producers.rs +84 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/types.rs +1987 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/readers.rs +315 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/resources.rs +245 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/component.rs +3297 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/core/canonical.rs +409 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/core.rs +1374 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/func.rs +340 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/names.rs +1012 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/operators.rs +4845 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/types.rs +4612 -0
- data/ext/cargo-vendor/wasmparser-0.217.0/src/validator.rs +1658 -0
- data/ext/cargo-vendor/wasmprinter-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.217.0/Cargo.toml +74 -0
- data/ext/cargo-vendor/wasmprinter-0.217.0/src/lib.rs +3250 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/Cargo.toml +407 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/build.rs +38 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/compile/code_builder.rs +317 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/compile/runtime.rs +167 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/compile.rs +881 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/config.rs +3021 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/engine/serialization.rs +906 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/engine.rs +778 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/lib.rs +406 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/profiling_agent/jitdump.rs +64 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/component.rs +810 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/func/host.rs +458 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/func/typed.rs +2497 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/linker.rs +704 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/mod.rs +673 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/resources.rs +1132 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/types.rs +897 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/coredump.rs +339 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/externals/global.rs +312 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/func.rs +2607 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/anyref.rs +126 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/arrayref.rs +56 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/rooting.rs +229 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/anyref.rs +662 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/arrayref.rs +879 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/i31.rs +291 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/rooting.rs +1755 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/instance.rs +989 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/linker.rs +1498 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/memory.rs +1101 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/module.rs +1178 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/store.rs +2877 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/trampoline/global.rs +70 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/trap.rs +641 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/types.rs +2932 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/values.rs +1050 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/const_expr.rs +132 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/cow.rs +992 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/disabled.rs +41 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/arrayref.rs +342 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/data.rs +149 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/drc.rs +1163 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/structref.rs +336 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled.rs +29 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/gc_ref.rs +479 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/gc_runtime.rs +718 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc.rs +339 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/helpers.c +118 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +95 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +702 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/libcalls.rs +850 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/custom/traphandlers.rs +57 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/machports.rs +440 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/mmap.rs +159 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/signals.rs +465 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/windows/traphandlers.rs +135 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/threads/parking_spot.rs +623 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/traphandlers.rs +787 -0
- data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/vmcontext.rs +1246 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-25.0.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/build.rs +10 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/config.rs +584 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/worker/tests.rs +758 -0
- data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/worker.rs +890 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/Cargo.toml +115 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/src/bindgen.rs +507 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/src/component.rs +1540 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/codegen.rs +699 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char.rs +387 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char_async.rs +414 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char_tracing_async.rs +461 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions.rs +824 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions_async.rs +899 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions_tracing_async.rs +1190 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code.rs +279 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code_async.rs +300 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code_tracing_async.rs +313 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import.rs +205 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import_async.rs +219 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import_tracing_async.rs +232 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty.rs +159 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty_async.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty_tracing_async.rs +165 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags.rs +859 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags_async.rs +921 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags_tracing_async.rs +1096 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats.rs +459 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats_async.rs +500 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats_tracing_async.rs +594 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new.rs +182 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new_async.rs +191 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new_tracing_async.rs +199 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers.rs +989 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers_async.rs +1128 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers_tracing_async.rs +1555 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists.rs +2040 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists_async.rs +2288 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists_tracing_async.rs +2980 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments.rs +730 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments_async.rs +758 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments_tracing_async.rs +819 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return.rs +475 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return_async.rs +519 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return_tracing_async.rs +633 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion.rs +508 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion_async.rs +537 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion_tracing_async.rs +585 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records.rs +1056 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records_async.rs +1146 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records_tracing_async.rs +1406 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename.rs +268 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename_async.rs +289 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename_tracing_async.rs +302 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export.rs +879 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export_async.rs +937 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export_tracing_async.rs +1011 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import.rs +1217 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import_async.rs +1361 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import_tracing_async.rs +1774 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types.rs +429 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types_async.rs +453 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types_tracing_async.rs +477 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions.rs +522 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions_async.rs +574 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions_tracing_async.rs +718 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists.rs +545 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists_async.rs +590 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists_tracing_async.rs +687 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi.rs +331 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi_async.rs +354 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi_tracing_async.rs +380 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous.rs +454 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous_async.rs +474 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous_tracing_async.rs +496 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default.rs +182 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default_async.rs +191 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default_tracing_async.rs +199 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export.rs +263 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export_async.rs +272 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export_tracing_async.rs +280 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke.rs +218 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke_async.rs +233 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke_tracing_async.rs +246 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings.rs +432 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings_async.rs +466 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings_tracing_async.rs +538 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo.rs +250 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo_async.rs +265 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo_tracing_async.rs +278 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths.rs +402 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths_async.rs +442 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths_tracing_async.rs +494 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants.rs +2016 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants_async.rs +2183 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants_tracing_async.rs +2705 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat.rs +265 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat_async.rs +271 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat_tracing_async.rs +271 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types.rs +263 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types_async.rs +279 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types_tracing_async.rs +287 -0
- data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded.rs +72 -0
- data/ext/cargo-vendor/wasmtime-component-util-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-25.0.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/Cargo.toml +137 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/compiler.rs +1035 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/attr.rs +308 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/line_program.rs +264 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/mod.rs +256 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/range_info_builder.rs +215 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/simulate.rs +423 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/unit.rs +512 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/func_environ.rs +2757 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/gc/enabled.rs +631 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/gc.rs +189 -0
- data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/lib.rs +399 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/Cargo.lock +792 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/Cargo.toml +195 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/builtin.rs +184 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/compile/mod.rs +379 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/compile/module_environ.rs +1264 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/component/types.rs +1059 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/demangling.rs +28 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/fact/trampoline.rs +3234 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/fact/traps.rs +116 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/stack_map.rs +60 -0
- data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/trap_encoding.rs +189 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/Cargo.toml +84 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/build.rs +39 -0
- data/ext/cargo-vendor/wasmtime-fiber-25.0.0/src/lib.rs +343 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-25.0.0/Cargo.toml +86 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-25.0.0/Cargo.toml +71 -0
- data/ext/cargo-vendor/wasmtime-slab-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-25.0.0/Cargo.toml +50 -0
- data/ext/cargo-vendor/wasmtime-types-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-25.0.0/Cargo.toml +80 -0
- data/ext/cargo-vendor/wasmtime-types-25.0.0/src/lib.rs +1846 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-25.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/Cargo.toml +224 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/bindings.rs +563 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/filesystem.rs +607 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/host/filesystem.rs +1091 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/host/io.rs +372 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/pipe.rs +833 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/preview1.rs +2764 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/runtime.rs +188 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/stdio.rs +616 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/stream.rs +265 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/tcp.rs +877 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/write_stream.rs +211 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/tests/process_stdin.rs +165 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/command.wit +10 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/environment.wit +22 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/exit.wit +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/imports.wit +36 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/run.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/stdio.wit +26 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/terminal.wit +62 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/monotonic-clock.wit +50 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/timezone.wit +55 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/wall-clock.wit +46 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/world.wit +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/preopens.wit +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/types.wit +678 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/world.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/error.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/poll.wit +47 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/streams.wit +286 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/world.wit +10 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/insecure-seed.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/insecure.wit +25 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/random.wit +29 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/world.wit +13 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/instance-network.wit +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/ip-name-lookup.wit +56 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/network.wit +153 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/tcp-create-socket.wit +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/tcp.wit +387 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/udp-create-socket.wit +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/udp.wit +288 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/world.wit +19 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/test.wit +13 -0
- data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/world.wit +6 -0
- data/ext/cargo-vendor/wasmtime-winch-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-25.0.0/Cargo.toml +100 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/Cargo.toml +66 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/src/lib.rs +3117 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/src/rust.rs +427 -0
- data/ext/cargo-vendor/wast-217.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-217.0.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/binary.rs +1014 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/component.rs +324 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/expand.rs +879 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/import.rs +216 -0
- data/ext/cargo-vendor/wast-217.0.0/src/component/resolve.rs +994 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/binary/dwarf.rs +613 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/binary.rs +1556 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/expr.rs +2110 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/module.rs +218 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/mod.rs +111 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/names.rs +808 -0
- data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/types.rs +273 -0
- data/ext/cargo-vendor/wast-217.0.0/src/lexer.rs +1573 -0
- data/ext/cargo-vendor/wast-217.0.0/src/lib.rs +557 -0
- data/ext/cargo-vendor/wast-217.0.0/src/parser.rs +1447 -0
- data/ext/cargo-vendor/wast-217.0.0/src/wast.rs +552 -0
- data/ext/cargo-vendor/wast-217.0.0/src/wat.rs +66 -0
- data/ext/cargo-vendor/wat-1.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.217.0/Cargo.toml +56 -0
- data/ext/cargo-vendor/wiggle-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-25.0.0/Cargo.toml +119 -0
- data/ext/cargo-vendor/wiggle-25.0.0/src/lib.rs +605 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/Cargo.toml +85 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/funcs.rs +434 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/lib.rs +100 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/names.rs +299 -0
- data/ext/cargo-vendor/wiggle-generate-25.0.0/src/wasmtime.rs +172 -0
- data/ext/cargo-vendor/wiggle-macro-25.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-25.0.0/Cargo.toml +78 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/Cargo.toml +95 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/abi/local.rs +82 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/abi/mod.rs +666 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/bounds.rs +220 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/context.rs +593 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/mod.rs +905 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/abi.rs +288 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/address.rs +143 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/asm.rs +840 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/masm.rs +680 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/mod.rs +320 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/abi.rs +494 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/asm.rs +1422 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/masm.rs +1113 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/masm.rs +986 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/regalloc.rs +65 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/stack.rs +447 -0
- data/ext/cargo-vendor/winch-codegen-0.23.0/src/visitor.rs +2169 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/Cargo.toml +129 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/ast/resolve.rs +1575 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/ast.rs +1886 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/decoding.rs +1794 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/lib.rs +910 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/src/sizealign.rs +584 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/all.rs +154 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-resource15.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/conflicting-package.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/duplicate-interface2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/include-foreign.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multi-package-deps-share-nest.wit.result +3 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multiple-package-docs.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/non-existance-world-include.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/resources-return-borrow.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow8.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/type-and-resource-same-name.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/unresolved-use10.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/use-and-include-world.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/use-world.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/very-nested-packages.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/since-and-unstable.wit +107 -0
- data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/since-and-unstable.wit.json +621 -0
- data/ext/src/ruby_api/config.rs +3 -0
- data/ext/src/ruby_api/engine.rs +1 -0
- data/ext/src/ruby_api/pooling_allocation_config.rs +7 -7
- data/ext/src/ruby_api/store.rs +58 -4
- data/ext/src/ruby_api/wasi_ctx.rs +6 -6
- data/lib/wasmtime/version.rb +1 -1
- metadata +1808 -1804
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/Cargo.toml +0 -57
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/node.rs +0 -806
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/path.rs +0 -835
- data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/pool.rs +0 -219
- data/ext/cargo-vendor/cranelift-bitset-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bitset-0.111.0/Cargo.toml +0 -67
- data/ext/cargo-vendor/cranelift-bitset-0.111.0/src/scalar.rs +0 -575
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/Cargo.toml +0 -213
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/build.rs +0 -266
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/binemit/stack_map.rs +0 -141
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/cfg_printer.rs +0 -83
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/data_value.rs +0 -410
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/dbg.rs +0 -28
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/egraph.rs +0 -835
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/incremental_cache.rs +0 -256
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/inst_predicates.rs +0 -231
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/constant.rs +0 -489
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/dfg.rs +0 -1806
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/entities.rs +0 -564
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/extfunc.rs +0 -408
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/extname.rs +0 -333
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/function.rs +0 -500
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/globalvalue.rs +0 -147
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/immediates.rs +0 -1941
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/instructions.rs +0 -1026
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/memtype.rs +0 -190
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/progpoint.rs +0 -75
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/trapcode.rs +0 -148
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/types.rs +0 -643
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/user_stack_maps.rs +0 -101
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/abi.rs +0 -1548
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/args.rs +0 -711
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/emit.rs +0 -3599
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/emit_tests.rs +0 -7925
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/imms.rs +0 -1213
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/mod.rs +0 -3052
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/regs.rs +0 -269
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/unwind/systemv.rs +0 -174
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst.isle +0 -4221
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/lower/isle.rs +0 -807
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/lower.isle +0 -2969
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/pcc.rs +0 -568
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/settings.rs +0 -9
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/mod.rs +0 -462
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/abi.rs +0 -1021
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/args.rs +0 -2054
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/emit.rs +0 -2736
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/emit_tests.rs +0 -2219
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/encode.rs +0 -675
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/mod.rs +0 -1932
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/unwind/systemv.rs +0 -170
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/vector.rs +0 -1150
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst.isle +0 -3153
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst_vector.isle +0 -1907
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/lower/isle.rs +0 -651
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/lower.isle +0 -2953
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/abi.rs +0 -1357
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/emit.rs +0 -3481
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/emit_tests.rs +0 -13388
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/mod.rs +0 -3481
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/regs.rs +0 -169
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/unwind/systemv.rs +0 -212
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst.isle +0 -5070
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/lower/isle.rs +0 -1156
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/lower.isle +0 -4022
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/unwind/systemv.rs +0 -276
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/abi.rs +0 -1410
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/encoding/evex.rs +0 -748
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/args.rs +0 -2318
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit.rs +0 -4309
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit_state.rs +0 -65
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit_tests.rs +0 -5137
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/mod.rs +0 -2819
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/regs.rs +0 -275
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/unwind/systemv.rs +0 -198
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst.isle +0 -5381
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower/isle.rs +0 -1048
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower.isle +0 -4892
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower.rs +0 -339
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/mod.rs +0 -239
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/pcc.rs +0 -1014
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isle_prelude.rs +0 -1097
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/lib.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/abi.rs +0 -2411
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/buffer.rs +0 -2537
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/isle.rs +0 -881
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/lower.rs +0 -1462
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/mod.rs +0 -564
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/reg.rs +0 -479
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/vcode.rs +0 -1840
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/extends.isle +0 -91
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/icmp.isle +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/selects.isle +0 -77
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/prelude.isle +0 -725
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/prelude_lower.isle +0 -1074
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/print_errors.rs +0 -223
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/remove_constant_phis.rs +0 -419
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/result.rs +0 -111
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/settings.rs +0 -590
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/timing.rs +0 -296
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/verifier/mod.rs +0 -1963
- data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/write.rs +0 -694
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/Cargo.toml +0 -52
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/settings.rs +0 -429
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/types.rs +0 -512
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/typevar.rs +0 -980
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/error.rs +0 -48
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_inst.rs +0 -1278
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_isle.rs +0 -519
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_settings.rs +0 -508
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_types.rs +0 -75
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/arm64.rs +0 -53
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/mod.rs +0 -66
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/riscv64.rs +0 -174
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/x86.rs +0 -414
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isle.rs +0 -126
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/lib.rs +0 -98
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/instructions.rs +0 -3794
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/mod.rs +0 -87
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/settings.rs +0 -348
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/types.rs +0 -143
- data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/srcgen.rs +0 -464
- data/ext/cargo-vendor/cranelift-codegen-shared-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.111.0/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-control-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.111.0/Cargo.toml +0 -42
- data/ext/cargo-vendor/cranelift-entity-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.111.0/Cargo.toml +0 -73
- data/ext/cargo-vendor/cranelift-entity-0.111.0/src/lib.rs +0 -381
- data/ext/cargo-vendor/cranelift-entity-0.111.0/src/packed_option.rs +0 -171
- data/ext/cargo-vendor/cranelift-entity-0.111.0/src/sparse.rs +0 -367
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/Cargo.toml +0 -97
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/frontend.rs +0 -1977
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/ssa.rs +0 -1328
- data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/switch.rs +0 -683
- data/ext/cargo-vendor/cranelift-isle-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.111.0/Cargo.toml +0 -67
- data/ext/cargo-vendor/cranelift-isle-0.111.0/build.rs +0 -35
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/ast.rs +0 -421
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/codegen.rs +0 -920
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/compile.rs +0 -24
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/error.rs +0 -317
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/lexer.rs +0 -405
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/lib.rs +0 -33
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/overlap.rs +0 -137
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/parser.rs +0 -562
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/sema.rs +0 -2503
- data/ext/cargo-vendor/cranelift-isle-0.111.0/src/trie_again.rs +0 -695
- data/ext/cargo-vendor/cranelift-isle-0.111.0/tests/run_tests.rs +0 -77
- data/ext/cargo-vendor/cranelift-native-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.111.0/Cargo.toml +0 -52
- data/ext/cargo-vendor/cranelift-native-0.111.0/src/lib.rs +0 -188
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/Cargo.toml +0 -127
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/code_translator.rs +0 -3721
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/environ/dummy.rs +0 -906
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/environ/spec.rs +0 -945
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/func_translator.rs +0 -271
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/module_translator.rs +0 -120
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/sections_translator.rs +0 -333
- data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/translation_utils.rs +0 -91
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.24/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.24/Cargo.toml +0 -48
- data/ext/cargo-vendor/hashbrown-0.13.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/hashbrown-0.13.2/CHANGELOG.md +0 -437
- data/ext/cargo-vendor/hashbrown-0.13.2/Cargo.toml +0 -111
- data/ext/cargo-vendor/hashbrown-0.13.2/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/hashbrown-0.13.2/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/hashbrown-0.13.2/README.md +0 -124
- data/ext/cargo-vendor/hashbrown-0.13.2/benches/bench.rs +0 -331
- data/ext/cargo-vendor/hashbrown-0.13.2/benches/insert_unique_unchecked.rs +0 -32
- data/ext/cargo-vendor/hashbrown-0.13.2/clippy.toml +0 -1
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/helpers.rs +0 -27
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/map.rs +0 -734
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/raw.rs +0 -231
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/set.rs +0 -659
- data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/serde.rs +0 -201
- data/ext/cargo-vendor/hashbrown-0.13.2/src/lib.rs +0 -183
- data/ext/cargo-vendor/hashbrown-0.13.2/src/macros.rs +0 -70
- data/ext/cargo-vendor/hashbrown-0.13.2/src/map.rs +0 -8512
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/alloc.rs +0 -73
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/bitmask.rs +0 -122
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/generic.rs +0 -154
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/mod.rs +0 -2518
- data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/sse2.rs +0 -146
- data/ext/cargo-vendor/hashbrown-0.13.2/src/rustc_entry.rs +0 -630
- data/ext/cargo-vendor/hashbrown-0.13.2/src/scopeguard.rs +0 -72
- data/ext/cargo-vendor/hashbrown-0.13.2/src/set.rs +0 -2889
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/equivalent_trait.rs +0 -53
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/hasher.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/raw.rs +0 -11
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/rayon.rs +0 -533
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/serde.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.13.2/tests/set.rs +0 -34
- data/ext/cargo-vendor/regalloc2-0.9.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/regalloc2-0.9.3/Cargo.toml +0 -72
- data/ext/cargo-vendor/regalloc2-0.9.3/doc/DESIGN.md +0 -1420
- data/ext/cargo-vendor/regalloc2-0.9.3/src/cfg.rs +0 -134
- data/ext/cargo-vendor/regalloc2-0.9.3/src/checker.rs +0 -1089
- data/ext/cargo-vendor/regalloc2-0.9.3/src/fuzzing/func.rs +0 -677
- data/ext/cargo-vendor/regalloc2-0.9.3/src/fuzzing/mod.rs +0 -28
- data/ext/cargo-vendor/regalloc2-0.9.3/src/index.rs +0 -268
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/data_structures.rs +0 -857
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/liveranges.rs +0 -961
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/merge.rs +0 -383
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/mod.rs +0 -150
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/moves.rs +0 -1017
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/process.rs +0 -1307
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/requirement.rs +0 -174
- data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/stackmap.rs +0 -79
- data/ext/cargo-vendor/regalloc2-0.9.3/src/lib.rs +0 -1526
- data/ext/cargo-vendor/regalloc2-0.9.3/src/serialize.rs +0 -311
- data/ext/cargo-vendor/wasi-common-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-24.0.0/Cargo.toml +0 -240
- data/ext/cargo-vendor/wasi-common-24.0.0/src/ctx.rs +0 -128
- data/ext/cargo-vendor/wasi-common-24.0.0/src/lib.rs +0 -193
- data/ext/cargo-vendor/wasi-common-24.0.0/src/snapshots/mod.rs +0 -27
- data/ext/cargo-vendor/wasi-common-24.0.0/src/sync/dir.rs +0 -462
- data/ext/cargo-vendor/wasi-common-24.0.0/src/tokio/dir.rs +0 -221
- data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/async_.rs +0 -295
- data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/main.rs +0 -21
- data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/sync.rs +0 -284
- data/ext/cargo-vendor/wasm-encoder-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.215.0/Cargo.toml +0 -65
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/types.rs +0 -802
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/code.rs +0 -3947
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/names.rs +0 -298
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/types.rs +0 -678
- data/ext/cargo-vendor/wasm-encoder-0.215.0/src/reencode.rs +0 -2002
- data/ext/cargo-vendor/wasm-encoder-0.216.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.216.0/Cargo.toml +0 -65
- data/ext/cargo-vendor/wasm-encoder-0.216.0/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/types.rs +0 -802
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/code.rs +0 -3947
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/custom.rs +0 -73
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/data.rs +0 -186
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/elements.rs +0 -222
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/exports.rs +0 -85
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/globals.rs +0 -100
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/imports.rs +0 -143
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/memories.rs +0 -115
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/producers.rs +0 -181
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/tables.rs +0 -129
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/tags.rs +0 -85
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/lib.rs +0 -218
- data/ext/cargo-vendor/wasm-encoder-0.216.0/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.215.0/Cargo.lock +0 -669
- data/ext/cargo-vendor/wasmparser-0.215.0/Cargo.toml +0 -137
- data/ext/cargo-vendor/wasmparser-0.215.0/benches/benchmark.rs +0 -349
- data/ext/cargo-vendor/wasmparser-0.215.0/src/binary_reader.rs +0 -2064
- data/ext/cargo-vendor/wasmparser-0.215.0/src/features.rs +0 -175
- data/ext/cargo-vendor/wasmparser-0.215.0/src/limits.rs +0 -80
- data/ext/cargo-vendor/wasmparser-0.215.0/src/parser.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/aliases.rs +0 -119
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/canonicals.rs +0 -121
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/exports.rs +0 -135
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/imports.rs +0 -130
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/instances.rs +0 -166
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/types.rs +0 -553
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/code.rs +0 -142
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/coredumps.rs +0 -278
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/exports.rs +0 -65
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/globals.rs +0 -61
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/imports.rs +0 -76
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/init.rs +0 -57
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/operators.rs +0 -479
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/producers.rs +0 -84
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/types.rs +0 -1964
- data/ext/cargo-vendor/wasmparser-0.215.0/src/readers.rs +0 -315
- data/ext/cargo-vendor/wasmparser-0.215.0/src/resources.rs +0 -234
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/component.rs +0 -3277
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/core/canonical.rs +0 -233
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/core.rs +0 -1499
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/func.rs +0 -334
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/names.rs +0 -1016
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/operators.rs +0 -4716
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/types.rs +0 -4592
- data/ext/cargo-vendor/wasmparser-0.215.0/src/validator.rs +0 -1643
- data/ext/cargo-vendor/wasmprinter-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.215.0/Cargo.toml +0 -74
- data/ext/cargo-vendor/wasmprinter-0.215.0/src/lib.rs +0 -3242
- data/ext/cargo-vendor/wasmtime-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-24.0.0/Cargo.toml +0 -406
- data/ext/cargo-vendor/wasmtime-24.0.0/build.rs +0 -38
- data/ext/cargo-vendor/wasmtime-24.0.0/src/compile/code_builder.rs +0 -274
- data/ext/cargo-vendor/wasmtime-24.0.0/src/compile/runtime.rs +0 -167
- data/ext/cargo-vendor/wasmtime-24.0.0/src/compile.rs +0 -881
- data/ext/cargo-vendor/wasmtime-24.0.0/src/config.rs +0 -2875
- data/ext/cargo-vendor/wasmtime-24.0.0/src/engine/serialization.rs +0 -902
- data/ext/cargo-vendor/wasmtime-24.0.0/src/engine.rs +0 -765
- data/ext/cargo-vendor/wasmtime-24.0.0/src/lib.rs +0 -406
- data/ext/cargo-vendor/wasmtime-24.0.0/src/profiling_agent/jitdump.rs +0 -64
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/component.rs +0 -811
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/func/host.rs +0 -439
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/func/typed.rs +0 -2497
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/linker.rs +0 -673
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/mod.rs +0 -663
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/resources.rs +0 -1132
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/types.rs +0 -897
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/coredump.rs +0 -339
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/externals/global.rs +0 -310
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/externals/table.rs +0 -480
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/func.rs +0 -2598
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled/anyref.rs +0 -77
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled/rooting.rs +0 -229
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled.rs +0 -21
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/anyref.rs +0 -584
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/i31.rs +0 -299
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/rooting.rs +0 -1755
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled.rs +0 -14
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/instance.rs +0 -990
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/linker.rs +0 -1498
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/memory.rs +0 -1101
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/module.rs +0 -1179
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/store.rs +0 -2885
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/trampoline/global.rs +0 -68
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/trap.rs +0 -642
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/types.rs +0 -2868
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/values.rs +0 -1016
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/const_expr.rs +0 -102
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/cow.rs +0 -988
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/disabled.rs +0 -39
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled/drc.rs +0 -1113
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled/structref.rs +0 -481
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled.rs +0 -20
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/gc_ref.rs +0 -502
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/gc_runtime.rs +0 -651
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc.rs +0 -303
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/helpers.c +0 -113
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -93
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -703
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/libcalls.rs +0 -832
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/custom/traphandlers.rs +0 -60
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/machports.rs +0 -445
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/mmap.rs +0 -159
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/signals.rs +0 -464
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/windows/traphandlers.rs +0 -133
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/threads/parking_spot.rs +0 -623
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/traphandlers.rs +0 -783
- data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/vmcontext.rs +0 -1246
- data/ext/cargo-vendor/wasmtime-asm-macros-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-24.0.0/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/Cargo.toml +0 -110
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/build.rs +0 -10
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/config.rs +0 -584
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/lib.rs +0 -235
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/worker/tests.rs +0 -758
- data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/worker.rs +0 -890
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/Cargo.toml +0 -113
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/src/bindgen.rs +0 -500
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/src/component.rs +0 -1330
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/codegen.rs +0 -698
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/char.rs +0 -268
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/char_async.rs +0 -291
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/conventions.rs +0 -706
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/conventions_async.rs +0 -757
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/dead-code.rs +0 -194
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/dead-code_async.rs +0 -213
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/direct-import.rs +0 -120
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/direct-import_async.rs +0 -132
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/empty.rs +0 -74
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/empty_async.rs +0 -80
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/flags.rs +0 -743
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/flags_async.rs +0 -791
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/floats.rs +0 -343
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/floats_async.rs +0 -376
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/function-new.rs +0 -94
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/function-new_async.rs +0 -103
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/integers.rs +0 -873
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/integers_async.rs +0 -976
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/lists.rs +0 -1924
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/lists_async.rs +0 -2114
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/many-arguments.rs +0 -614
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/many-arguments_async.rs +0 -638
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multi-return.rs +0 -357
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multi-return_async.rs +0 -391
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multiversion.rs +0 -354
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multiversion_async.rs +0 -379
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/records.rs +0 -940
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/records_async.rs +0 -1008
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/rename.rs +0 -183
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/rename_async.rs +0 -202
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-export.rs +0 -657
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-export_async.rs +0 -712
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-import.rs +0 -1088
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-import_async.rs +0 -1166
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/share-types.rs +0 -315
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/share-types_async.rs +0 -337
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-functions.rs +0 -399
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-functions_async.rs +0 -439
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-lists.rs +0 -427
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-lists_async.rs +0 -464
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-wasi.rs +0 -245
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-wasi_async.rs +0 -264
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/small-anonymous.rs +0 -338
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/small-anonymous_async.rs +0 -356
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-default.rs +0 -94
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-default_async.rs +0 -103
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-export.rs +0 -149
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-export_async.rs +0 -158
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke.rs +0 -133
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke_async.rs +0 -146
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/strings.rs +0 -316
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/strings_async.rs +0 -344
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/unversioned-foo.rs +0 -165
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/unversioned-foo_async.rs +0 -178
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/use-paths.rs +0 -317
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/use-paths_async.rs +0 -349
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/variants.rs +0 -1896
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/variants_async.rs +0 -2019
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/wat.rs +0 -145
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/wat_async.rs +0 -151
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/worlds-with-types.rs +0 -175
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/worlds-with-types_async.rs +0 -191
- data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded.rs +0 -65
- data/ext/cargo-vendor/wasmtime-component-util-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-24.0.0/Cargo.toml +0 -35
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/Cargo.toml +0 -132
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/compiler.rs +0 -1029
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/attr.rs +0 -328
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/line_program.rs +0 -287
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/mod.rs +0 -273
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/range_info_builder.rs +0 -234
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/simulate.rs +0 -423
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/unit.rs +0 -520
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/func_environ.rs +0 -2721
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/gc/enabled.rs +0 -648
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/gc.rs +0 -198
- data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/lib.rs +0 -431
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/Cargo.lock +0 -792
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/Cargo.toml +0 -192
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/builtin.rs +0 -184
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/compile/mod.rs +0 -379
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/compile/module_environ.rs +0 -1264
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/component/types.rs +0 -1041
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/demangling.rs +0 -28
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/fact/trampoline.rs +0 -3234
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/fact/traps.rs +0 -116
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/stack_map.rs +0 -31
- data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/trap_encoding.rs +0 -189
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/Cargo.toml +0 -82
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/build.rs +0 -39
- data/ext/cargo-vendor/wasmtime-fiber-24.0.0/src/lib.rs +0 -343
- data/ext/cargo-vendor/wasmtime-jit-debug-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-24.0.0/Cargo.toml +0 -84
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-24.0.0/Cargo.toml +0 -69
- data/ext/cargo-vendor/wasmtime-slab-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-24.0.0/Cargo.toml +0 -48
- data/ext/cargo-vendor/wasmtime-types-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-24.0.0/Cargo.toml +0 -78
- data/ext/cargo-vendor/wasmtime-types-24.0.0/src/lib.rs +0 -1835
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-24.0.0/Cargo.toml +0 -40
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/Cargo.toml +0 -222
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/bindings.rs +0 -561
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/filesystem.rs +0 -448
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/host/filesystem.rs +0 -1091
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/host/io.rs +0 -391
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/preview1.rs +0 -2801
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/runtime.rs +0 -176
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/stdio.rs +0 -596
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/stream.rs +0 -181
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/tcp.rs +0 -871
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/write_stream.rs +0 -203
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/tests/all/main.rs +0 -91
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/tests/process_stdin.rs +0 -165
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/command-extended.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/command.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/environment.wit +0 -18
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/exit.wit +0 -4
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/imports.wit +0 -20
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/run.wit +0 -4
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/stdio.wit +0 -17
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/terminal.wit +0 -49
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/monotonic-clock.wit +0 -45
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/wall-clock.wit +0 -42
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/world.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/preopens.wit +0 -8
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/types.wit +0 -634
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/world.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/handler.wit +0 -43
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/proxy.wit +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/types.wit +0 -570
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/error.wit +0 -34
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/poll.wit +0 -41
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/streams.wit +0 -262
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/world.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/insecure-seed.wit +0 -25
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/insecure.wit +0 -22
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/random.wit +0 -26
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/world.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/instance-network.wit +0 -9
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/ip-name-lookup.wit +0 -51
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/network.wit +0 -145
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/tcp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/tcp.wit +0 -353
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/udp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/udp.wit +0 -266
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/world.wit +0 -11
- data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/test.wit +0 -22
- data/ext/cargo-vendor/wasmtime-winch-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-24.0.0/Cargo.toml +0 -99
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/Cargo.toml +0 -64
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/src/lib.rs +0 -2798
- data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/src/rust.rs +0 -427
- data/ext/cargo-vendor/wast-216.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-216.0.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wast-216.0.0/src/component/binary.rs +0 -1014
- data/ext/cargo-vendor/wast-216.0.0/src/component/component.rs +0 -320
- data/ext/cargo-vendor/wast-216.0.0/src/component/expand.rs +0 -875
- data/ext/cargo-vendor/wast-216.0.0/src/component/import.rs +0 -215
- data/ext/cargo-vendor/wast-216.0.0/src/component/resolve.rs +0 -988
- data/ext/cargo-vendor/wast-216.0.0/src/core/binary/dwarf.rs +0 -610
- data/ext/cargo-vendor/wast-216.0.0/src/core/binary.rs +0 -1539
- data/ext/cargo-vendor/wast-216.0.0/src/core/expr.rs +0 -2110
- data/ext/cargo-vendor/wast-216.0.0/src/core/module.rs +0 -215
- data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/mod.rs +0 -109
- data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/names.rs +0 -791
- data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/types.rs +0 -270
- data/ext/cargo-vendor/wast-216.0.0/src/lexer.rs +0 -1572
- data/ext/cargo-vendor/wast-216.0.0/src/lib.rs +0 -556
- data/ext/cargo-vendor/wast-216.0.0/src/parser.rs +0 -1434
- data/ext/cargo-vendor/wast-216.0.0/src/wast.rs +0 -459
- data/ext/cargo-vendor/wast-216.0.0/src/wat.rs +0 -68
- data/ext/cargo-vendor/wat-1.216.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.216.0/Cargo.toml +0 -56
- data/ext/cargo-vendor/wiggle-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-24.0.0/Cargo.toml +0 -117
- data/ext/cargo-vendor/wiggle-24.0.0/src/lib.rs +0 -605
- data/ext/cargo-vendor/wiggle-generate-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-24.0.0/Cargo.toml +0 -83
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/funcs.rs +0 -434
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/lib.rs +0 -100
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/names.rs +0 -299
- data/ext/cargo-vendor/wiggle-generate-24.0.0/src/wasmtime.rs +0 -172
- data/ext/cargo-vendor/wiggle-macro-24.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-24.0.0/Cargo.toml +0 -76
- data/ext/cargo-vendor/winch-codegen-0.22.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.22.0/Cargo.toml +0 -94
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/abi/local.rs +0 -81
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/abi/mod.rs +0 -666
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/bounds.rs +0 -220
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/context.rs +0 -591
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/mod.rs +0 -880
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/abi.rs +0 -296
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/address.rs +0 -143
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/asm.rs +0 -709
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/masm.rs +0 -665
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/mod.rs +0 -223
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/abi.rs +0 -564
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/asm.rs +0 -1418
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/masm.rs +0 -1115
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/masm.rs +0 -957
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/regalloc.rs +0 -65
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/stack.rs +0 -447
- data/ext/cargo-vendor/winch-codegen-0.22.0/src/visitor.rs +0 -2158
- data/ext/cargo-vendor/wit-parser-0.215.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.215.0/Cargo.toml +0 -129
- data/ext/cargo-vendor/wit-parser-0.215.0/src/ast/resolve.rs +0 -1583
- data/ext/cargo-vendor/wit-parser-0.215.0/src/ast.rs +0 -1904
- data/ext/cargo-vendor/wit-parser-0.215.0/src/decoding.rs +0 -1795
- data/ext/cargo-vendor/wit-parser-0.215.0/src/lib.rs +0 -912
- data/ext/cargo-vendor/wit-parser-0.215.0/src/sizealign.rs +0 -179
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/all.rs +0 -154
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate3.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate5.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg1.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg3.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg5.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg6.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-resource15.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/conflicting-package.wit.result +0 -10
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/include-foreign.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multi-package-deps-share-nest.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -10
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/pkg-cycle.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow1.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow6.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow7.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow8.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/unresolved-use10.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/use-and-include-world.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/use-world.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/very-nested-packages.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/since-and-unstable.wit +0 -107
- data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/since-and-unstable.wit.json +0 -623
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/src/compound.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/tests/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/spectre.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ranges.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/traversals.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/frontend/safepoints.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/disjointsets.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/stablemapset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/deny.toml +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/doc/TODO +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/domtree.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/indexset.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/dump.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/redundant_moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/reg_traversal.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/spill.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/postorder.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/reencode/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/reencode.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/hash.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map/detail.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/map.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/set.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/reloc.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/src/operator.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/src/print.rs +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_0_hello_world.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_1_world_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_2_world_exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_3_interface_imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_4_imported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_6_exported_resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/structref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/enabled/structref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/noextern.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/instantiate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/type_registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/v128.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/unsupported.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/async_yield.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/enabled/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/enabled/free_list.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/host_data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/on_demand.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/shared_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/shared_memory_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/sync_nostd.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/sync_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-24.0.0 → wasmtime-asm-macros-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/dead-code.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen_no_std.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-24.0.0 → wasmtime-component-util-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/types_builder/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/types_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module_artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-slab-24.0.0 → wasmtime-slab-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/src/prelude.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-24.0.0 → wasmtime-versioned-export-macros-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/preview0.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/api.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/async_.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/preview1.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-24.0.0 → wasmtime-wit-bindgen-25.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-24.0.0 → wasmtime-wit-bindgen-25.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/binary/dwarf_disabled.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/memory.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/resolve/deinline_import_export.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/table.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/token.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/annotations.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail.rs +0 -0
- /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.216.0 → wat-1.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.216.0 → wat-1.217.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/env.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/ast/lex.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/metadata.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/resolve.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/serde_.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/feature-gates.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/feature-gates.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/functions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps/deps/dep.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/packages.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/packages.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-multiple-nested.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-multiple-nested.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-colliding-decl-names.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-colliding-decl-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-internal-references.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-internal-references.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-with-semver.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-with-semver.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-single-nested.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-single-nested.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-main.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-main.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-nested.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-nested.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-file-missing-delimiter/observe.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-file-missing-delimiter/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-inline-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-inline-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-colliding-names.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-colliding-names.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-with-error.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-with-error.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/very-nested-packages.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/version-syntax.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/version-syntax.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,2764 @@
|
|
1
|
+
//! Bindings for WASIp1 aka Preview 1 aka `wasi_snapshot_preview1`.
|
2
|
+
//!
|
3
|
+
//! This module contains runtime support for configuring and executing
|
4
|
+
//! WASIp1-using core WebAssembly modules. Support for WASIp1 is built on top of
|
5
|
+
//! support for WASIp2 available at [the crate root](crate), but that's just an
|
6
|
+
//! internal implementation detail.
|
7
|
+
//!
|
8
|
+
//! Unlike the crate root, support for WASIp1 centers around two APIs:
|
9
|
+
//!
|
10
|
+
//! * [`WasiP1Ctx`]
|
11
|
+
//! * [`add_to_linker_sync`] (or [`add_to_linker_async`])
|
12
|
+
//!
|
13
|
+
//! First a [`WasiCtxBuilder`] will be used and finalized with the [`build_p1`]
|
14
|
+
//! method to create a [`WasiCtx`]. Next a [`wasmtime::Linker`] is configured
|
15
|
+
//! with WASI imports by using the `add_to_linker_*` desired (sync or async
|
16
|
+
//! depending on [`Config::async_support`]).
|
17
|
+
//!
|
18
|
+
//! Note that WASIp1 is not as extensible or configurable as WASIp2 so the
|
19
|
+
//! support in this module is enough to run wasm modules but any customization
|
20
|
+
//! beyond that [`WasiCtxBuilder`] already supports is not possible yet.
|
21
|
+
//!
|
22
|
+
//! [`WasiCtxBuilder`]: crate::WasiCtxBuilder
|
23
|
+
//! [`build_p1`]: crate::WasiCtxBuilder::build_p1
|
24
|
+
//! [`Config::async_support`]: wasmtime::Config::async_support
|
25
|
+
//!
|
26
|
+
//! # Components vs Modules
|
27
|
+
//!
|
28
|
+
//! Note that WASIp1 does not work for components at this time, only core wasm
|
29
|
+
//! modules. That means this module is only for users of [`wasmtime::Module`]
|
30
|
+
//! and [`wasmtime::Linker`], for example. If you're using
|
31
|
+
//! [`wasmtime::component::Component`] or [`wasmtime::component::Linker`] you'll
|
32
|
+
//! want the WASIp2 [support this crate has](crate) instead.
|
33
|
+
//!
|
34
|
+
//! # Examples
|
35
|
+
//!
|
36
|
+
//! ```no_run
|
37
|
+
//! use wasmtime::{Result, Engine, Linker, Module, Store};
|
38
|
+
//! use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
39
|
+
//! use wasmtime_wasi::WasiCtxBuilder;
|
40
|
+
//!
|
41
|
+
//! // An example of executing a WASIp1 "command"
|
42
|
+
//! fn main() -> Result<()> {
|
43
|
+
//! let args = std::env::args().skip(1).collect::<Vec<_>>();
|
44
|
+
//! let engine = Engine::default();
|
45
|
+
//! let module = Module::from_file(&engine, &args[0])?;
|
46
|
+
//!
|
47
|
+
//! let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
48
|
+
//! preview1::add_to_linker_async(&mut linker, |t| t)?;
|
49
|
+
//! let pre = linker.instantiate_pre(&module)?;
|
50
|
+
//!
|
51
|
+
//! let wasi_ctx = WasiCtxBuilder::new()
|
52
|
+
//! .inherit_stdio()
|
53
|
+
//! .inherit_env()
|
54
|
+
//! .args(&args)
|
55
|
+
//! .build_p1();
|
56
|
+
//!
|
57
|
+
//! let mut store = Store::new(&engine, wasi_ctx);
|
58
|
+
//! let instance = pre.instantiate(&mut store)?;
|
59
|
+
//! let func = instance.get_typed_func::<(), ()>(&mut store, "_start")?;
|
60
|
+
//! func.call(&mut store, ())?;
|
61
|
+
//!
|
62
|
+
//! Ok(())
|
63
|
+
//! }
|
64
|
+
//! ```
|
65
|
+
|
66
|
+
use crate::bindings::{
|
67
|
+
cli::{
|
68
|
+
stderr::Host as _, stdin::Host as _, stdout::Host as _, terminal_input, terminal_output,
|
69
|
+
terminal_stderr::Host as _, terminal_stdin::Host as _, terminal_stdout::Host as _,
|
70
|
+
},
|
71
|
+
clocks::{monotonic_clock, wall_clock},
|
72
|
+
filesystem::{preopens::Host as _, types as filesystem},
|
73
|
+
io::streams,
|
74
|
+
};
|
75
|
+
use crate::{
|
76
|
+
FsError, IsATTY, ResourceTable, StreamError, StreamResult, WasiCtx, WasiImpl, WasiView,
|
77
|
+
};
|
78
|
+
use anyhow::{bail, Context};
|
79
|
+
use std::collections::{BTreeMap, HashSet};
|
80
|
+
use std::mem::{self, size_of, size_of_val};
|
81
|
+
use std::ops::{Deref, DerefMut};
|
82
|
+
use std::slice;
|
83
|
+
use std::sync::atomic::{AtomicU64, Ordering};
|
84
|
+
use std::sync::Arc;
|
85
|
+
use system_interface::fs::FileIoExt;
|
86
|
+
use wasmtime::component::Resource;
|
87
|
+
use wiggle::tracing::instrument;
|
88
|
+
use wiggle::{GuestError, GuestMemory, GuestPtr, GuestType};
|
89
|
+
|
90
|
+
// Bring all WASI traits in scope that this implementation builds on.
|
91
|
+
use crate::bindings::cli::environment::Host as _;
|
92
|
+
use crate::bindings::filesystem::types::HostDescriptor as _;
|
93
|
+
use crate::bindings::io::poll::Host as _;
|
94
|
+
use crate::bindings::random::random::Host as _;
|
95
|
+
|
96
|
+
/// Structure containing state for WASIp1.
|
97
|
+
///
|
98
|
+
/// This structure is created through [`WasiCtxBuilder::build_p1`] and is
|
99
|
+
/// configured through the various methods of [`WasiCtxBuilder`]. This structure
|
100
|
+
/// itself implements generated traits for WASIp1 as well as [`WasiView`] to
|
101
|
+
/// have access to WASIp2.
|
102
|
+
///
|
103
|
+
/// Instances of [`WasiP1Ctx`] are typically stored within the `T` of
|
104
|
+
/// [`Store<T>`](wasmtime::Store).
|
105
|
+
///
|
106
|
+
/// [`WasiCtxBuilder::build_p1`]: crate::WasiCtxBuilder::build_p1
|
107
|
+
/// [`WasiCtxBuilder`]: crate::WasiCtxBuilder
|
108
|
+
///
|
109
|
+
/// # Examples
|
110
|
+
///
|
111
|
+
/// ```no_run
|
112
|
+
/// use wasmtime::{Result, Linker};
|
113
|
+
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
114
|
+
/// use wasmtime_wasi::WasiCtxBuilder;
|
115
|
+
///
|
116
|
+
/// struct MyState {
|
117
|
+
/// // ... custom state as necessary ...
|
118
|
+
///
|
119
|
+
/// wasi: WasiP1Ctx,
|
120
|
+
/// }
|
121
|
+
///
|
122
|
+
/// impl MyState {
|
123
|
+
/// fn new() -> MyState {
|
124
|
+
/// MyState {
|
125
|
+
/// // .. initialize custom state if needed ..
|
126
|
+
///
|
127
|
+
/// wasi: WasiCtxBuilder::new()
|
128
|
+
/// .arg("./foo.wasm")
|
129
|
+
/// // .. more customization if necesssary ..
|
130
|
+
/// .build_p1(),
|
131
|
+
/// }
|
132
|
+
/// }
|
133
|
+
/// }
|
134
|
+
///
|
135
|
+
/// fn add_to_linker(linker: &mut Linker<MyState>) -> Result<()> {
|
136
|
+
/// preview1::add_to_linker_sync(linker, |my_state| &mut my_state.wasi)?;
|
137
|
+
/// Ok(())
|
138
|
+
/// }
|
139
|
+
/// ```
|
140
|
+
pub struct WasiP1Ctx {
|
141
|
+
table: ResourceTable,
|
142
|
+
wasi: WasiCtx,
|
143
|
+
adapter: WasiPreview1Adapter,
|
144
|
+
}
|
145
|
+
|
146
|
+
impl WasiP1Ctx {
|
147
|
+
pub(crate) fn new(wasi: WasiCtx) -> Self {
|
148
|
+
Self {
|
149
|
+
table: ResourceTable::new(),
|
150
|
+
wasi,
|
151
|
+
adapter: WasiPreview1Adapter::new(),
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
fn as_wasi_impl(&mut self) -> WasiImpl<&mut Self> {
|
156
|
+
WasiImpl(self)
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
impl WasiView for WasiP1Ctx {
|
161
|
+
fn table(&mut self) -> &mut ResourceTable {
|
162
|
+
&mut self.table
|
163
|
+
}
|
164
|
+
fn ctx(&mut self) -> &mut WasiCtx {
|
165
|
+
&mut self.wasi
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
#[derive(Debug)]
|
170
|
+
struct File {
|
171
|
+
/// The handle to the preview2 descriptor of type [`crate::filesystem::Descriptor::File`].
|
172
|
+
fd: Resource<filesystem::Descriptor>,
|
173
|
+
|
174
|
+
/// The current-position pointer.
|
175
|
+
position: Arc<AtomicU64>,
|
176
|
+
|
177
|
+
/// In append mode, all writes append to the file.
|
178
|
+
append: bool,
|
179
|
+
|
180
|
+
/// When blocking, read and write calls dispatch to blocking_read and
|
181
|
+
/// blocking_check_write on the underlying streams. When false, read and write
|
182
|
+
/// dispatch to stream's plain read and check_write.
|
183
|
+
blocking_mode: BlockingMode,
|
184
|
+
}
|
185
|
+
|
186
|
+
/// NB: preview1 files always use blocking writes regardless of what
|
187
|
+
/// they're configured to use since OSes don't have nonblocking
|
188
|
+
/// reads/writes anyway. This behavior originated in the first
|
189
|
+
/// implementation of WASIp1 where flags were propagated to the
|
190
|
+
/// OS and the OS ignored the nonblocking flag for files
|
191
|
+
/// generally.
|
192
|
+
#[derive(Clone, Copy, Debug)]
|
193
|
+
enum BlockingMode {
|
194
|
+
Blocking,
|
195
|
+
NonBlocking,
|
196
|
+
}
|
197
|
+
impl BlockingMode {
|
198
|
+
fn from_fdflags(flags: &types::Fdflags) -> Self {
|
199
|
+
if flags.contains(types::Fdflags::NONBLOCK) {
|
200
|
+
BlockingMode::NonBlocking
|
201
|
+
} else {
|
202
|
+
BlockingMode::Blocking
|
203
|
+
}
|
204
|
+
}
|
205
|
+
async fn read(
|
206
|
+
&self,
|
207
|
+
host: &mut impl streams::HostInputStream,
|
208
|
+
input_stream: Resource<streams::InputStream>,
|
209
|
+
max_size: usize,
|
210
|
+
) -> Result<Vec<u8>, types::Error> {
|
211
|
+
let max_size = max_size.try_into().unwrap_or(u64::MAX);
|
212
|
+
match streams::HostInputStream::blocking_read(host, input_stream, max_size).await {
|
213
|
+
Ok(r) if r.is_empty() => Err(types::Errno::Intr.into()),
|
214
|
+
Ok(r) => Ok(r),
|
215
|
+
Err(StreamError::Closed) => Ok(Vec::new()),
|
216
|
+
Err(e) => Err(e.into()),
|
217
|
+
}
|
218
|
+
}
|
219
|
+
async fn write(
|
220
|
+
&self,
|
221
|
+
memory: &mut GuestMemory<'_>,
|
222
|
+
host: &mut impl streams::HostOutputStream,
|
223
|
+
output_stream: Resource<streams::OutputStream>,
|
224
|
+
bytes: GuestPtr<[u8]>,
|
225
|
+
) -> StreamResult<usize> {
|
226
|
+
use streams::HostOutputStream as Streams;
|
227
|
+
|
228
|
+
let bytes = memory
|
229
|
+
.as_cow(bytes)
|
230
|
+
.map_err(|e| StreamError::Trap(e.into()))?;
|
231
|
+
let mut bytes = &bytes[..];
|
232
|
+
|
233
|
+
let total = bytes.len();
|
234
|
+
while !bytes.is_empty() {
|
235
|
+
// NOTE: blocking_write_and_flush takes at most one 4k buffer.
|
236
|
+
let len = bytes.len().min(4096);
|
237
|
+
let (chunk, rest) = bytes.split_at(len);
|
238
|
+
bytes = rest;
|
239
|
+
|
240
|
+
Streams::blocking_write_and_flush(host, output_stream.borrowed(), Vec::from(chunk))
|
241
|
+
.await?
|
242
|
+
}
|
243
|
+
|
244
|
+
Ok(total)
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
#[derive(Debug)]
|
249
|
+
enum Descriptor {
|
250
|
+
Stdin {
|
251
|
+
stream: Resource<streams::InputStream>,
|
252
|
+
isatty: IsATTY,
|
253
|
+
},
|
254
|
+
Stdout {
|
255
|
+
stream: Resource<streams::OutputStream>,
|
256
|
+
isatty: IsATTY,
|
257
|
+
},
|
258
|
+
Stderr {
|
259
|
+
stream: Resource<streams::OutputStream>,
|
260
|
+
isatty: IsATTY,
|
261
|
+
},
|
262
|
+
/// A fd of type [`crate::filesystem::Descriptor::Dir`]
|
263
|
+
Directory {
|
264
|
+
fd: Resource<filesystem::Descriptor>,
|
265
|
+
/// The path this directory was preopened as.
|
266
|
+
/// `None` means this directory was opened using `open-at`.
|
267
|
+
preopen_path: Option<String>,
|
268
|
+
},
|
269
|
+
/// A fd of type [`crate::filesystem::Descriptor::File`]
|
270
|
+
File(File),
|
271
|
+
}
|
272
|
+
|
273
|
+
#[derive(Debug, Default)]
|
274
|
+
struct WasiPreview1Adapter {
|
275
|
+
descriptors: Option<Descriptors>,
|
276
|
+
}
|
277
|
+
|
278
|
+
#[derive(Debug, Default)]
|
279
|
+
struct Descriptors {
|
280
|
+
used: BTreeMap<u32, Descriptor>,
|
281
|
+
free: Vec<u32>,
|
282
|
+
}
|
283
|
+
|
284
|
+
impl Deref for Descriptors {
|
285
|
+
type Target = BTreeMap<u32, Descriptor>;
|
286
|
+
|
287
|
+
fn deref(&self) -> &Self::Target {
|
288
|
+
&self.used
|
289
|
+
}
|
290
|
+
}
|
291
|
+
|
292
|
+
impl DerefMut for Descriptors {
|
293
|
+
fn deref_mut(&mut self) -> &mut Self::Target {
|
294
|
+
&mut self.used
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
impl Descriptors {
|
299
|
+
/// Initializes [Self] using `preopens`
|
300
|
+
fn new(mut host: WasiImpl<&mut WasiP1Ctx>) -> Result<Self, types::Error> {
|
301
|
+
let mut descriptors = Self::default();
|
302
|
+
descriptors.push(Descriptor::Stdin {
|
303
|
+
stream: host
|
304
|
+
.get_stdin()
|
305
|
+
.context("failed to call `get-stdin`")
|
306
|
+
.map_err(types::Error::trap)?,
|
307
|
+
isatty: if let Some(term_in) = host
|
308
|
+
.get_terminal_stdin()
|
309
|
+
.context("failed to call `get-terminal-stdin`")
|
310
|
+
.map_err(types::Error::trap)?
|
311
|
+
{
|
312
|
+
terminal_input::HostTerminalInput::drop(&mut host, term_in)
|
313
|
+
.context("failed to call `drop-terminal-input`")
|
314
|
+
.map_err(types::Error::trap)?;
|
315
|
+
IsATTY::Yes
|
316
|
+
} else {
|
317
|
+
IsATTY::No
|
318
|
+
},
|
319
|
+
})?;
|
320
|
+
descriptors.push(Descriptor::Stdout {
|
321
|
+
stream: host
|
322
|
+
.get_stdout()
|
323
|
+
.context("failed to call `get-stdout`")
|
324
|
+
.map_err(types::Error::trap)?,
|
325
|
+
isatty: if let Some(term_out) = host
|
326
|
+
.get_terminal_stdout()
|
327
|
+
.context("failed to call `get-terminal-stdout`")
|
328
|
+
.map_err(types::Error::trap)?
|
329
|
+
{
|
330
|
+
terminal_output::HostTerminalOutput::drop(&mut host, term_out)
|
331
|
+
.context("failed to call `drop-terminal-output`")
|
332
|
+
.map_err(types::Error::trap)?;
|
333
|
+
IsATTY::Yes
|
334
|
+
} else {
|
335
|
+
IsATTY::No
|
336
|
+
},
|
337
|
+
})?;
|
338
|
+
descriptors.push(Descriptor::Stderr {
|
339
|
+
stream: host
|
340
|
+
.get_stderr()
|
341
|
+
.context("failed to call `get-stderr`")
|
342
|
+
.map_err(types::Error::trap)?,
|
343
|
+
isatty: if let Some(term_out) = host
|
344
|
+
.get_terminal_stderr()
|
345
|
+
.context("failed to call `get-terminal-stderr`")
|
346
|
+
.map_err(types::Error::trap)?
|
347
|
+
{
|
348
|
+
terminal_output::HostTerminalOutput::drop(&mut host, term_out)
|
349
|
+
.context("failed to call `drop-terminal-output`")
|
350
|
+
.map_err(types::Error::trap)?;
|
351
|
+
IsATTY::Yes
|
352
|
+
} else {
|
353
|
+
IsATTY::No
|
354
|
+
},
|
355
|
+
})?;
|
356
|
+
|
357
|
+
for dir in host
|
358
|
+
.get_directories()
|
359
|
+
.context("failed to call `get-directories`")
|
360
|
+
.map_err(types::Error::trap)?
|
361
|
+
{
|
362
|
+
descriptors.push(Descriptor::Directory {
|
363
|
+
fd: dir.0,
|
364
|
+
preopen_path: Some(dir.1),
|
365
|
+
})?;
|
366
|
+
}
|
367
|
+
Ok(descriptors)
|
368
|
+
}
|
369
|
+
|
370
|
+
/// Returns next descriptor number, which was never assigned
|
371
|
+
fn unused(&self) -> Result<u32> {
|
372
|
+
match self.last_key_value() {
|
373
|
+
Some((fd, _)) => {
|
374
|
+
if let Some(fd) = fd.checked_add(1) {
|
375
|
+
return Ok(fd);
|
376
|
+
}
|
377
|
+
if self.len() == u32::MAX as usize {
|
378
|
+
return Err(types::Errno::Loop.into());
|
379
|
+
}
|
380
|
+
// TODO: Optimize
|
381
|
+
Ok((0..u32::MAX)
|
382
|
+
.rev()
|
383
|
+
.find(|fd| !self.contains_key(fd))
|
384
|
+
.expect("failed to find an unused file descriptor"))
|
385
|
+
}
|
386
|
+
None => Ok(0),
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
/// Removes the [Descriptor] corresponding to `fd`
|
391
|
+
fn remove(&mut self, fd: types::Fd) -> Option<Descriptor> {
|
392
|
+
let fd = fd.into();
|
393
|
+
let desc = self.used.remove(&fd)?;
|
394
|
+
self.free.push(fd);
|
395
|
+
Some(desc)
|
396
|
+
}
|
397
|
+
|
398
|
+
/// Pushes the [Descriptor] returning corresponding number.
|
399
|
+
/// This operation will try to reuse numbers previously removed via [`Self::remove`]
|
400
|
+
/// and rely on [`Self::unused`] if no free numbers are recorded
|
401
|
+
fn push(&mut self, desc: Descriptor) -> Result<u32> {
|
402
|
+
let fd = if let Some(fd) = self.free.pop() {
|
403
|
+
fd
|
404
|
+
} else {
|
405
|
+
self.unused()?
|
406
|
+
};
|
407
|
+
assert!(self.insert(fd, desc).is_none());
|
408
|
+
Ok(fd)
|
409
|
+
}
|
410
|
+
}
|
411
|
+
|
412
|
+
impl WasiPreview1Adapter {
|
413
|
+
fn new() -> Self {
|
414
|
+
Self::default()
|
415
|
+
}
|
416
|
+
}
|
417
|
+
|
418
|
+
/// A mutably-borrowed [`WasiPreview1View`] implementation, which provides access to the stored
|
419
|
+
/// state. It can be thought of as an in-flight [`WasiPreview1Adapter`] transaction, all
|
420
|
+
/// changes will be recorded in the underlying [`WasiPreview1Adapter`] returned by
|
421
|
+
/// [`WasiPreview1View::adapter_mut`] on [`Drop`] of this struct.
|
422
|
+
// NOTE: This exists for the most part just due to the fact that `bindgen` generates methods with
|
423
|
+
// `&mut self` receivers and so this struct lets us extend the lifetime of the `&mut self` borrow
|
424
|
+
// of the [`WasiPreview1View`] to provide means to return mutably and immutably borrowed [`Descriptors`]
|
425
|
+
// without having to rely on something like `Arc<Mutex<Descriptors>>`, while also being able to
|
426
|
+
// call methods like [`Descriptor::is_file`] and hiding complexity from preview1 method implementations.
|
427
|
+
struct Transaction<'a> {
|
428
|
+
view: &'a mut WasiP1Ctx,
|
429
|
+
descriptors: Descriptors,
|
430
|
+
}
|
431
|
+
|
432
|
+
impl Drop for Transaction<'_> {
|
433
|
+
/// Record changes in the [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
434
|
+
fn drop(&mut self) {
|
435
|
+
let descriptors = mem::take(&mut self.descriptors);
|
436
|
+
self.view.adapter.descriptors = Some(descriptors);
|
437
|
+
}
|
438
|
+
}
|
439
|
+
|
440
|
+
impl Transaction<'_> {
|
441
|
+
/// Borrows [`Descriptor`] corresponding to `fd`.
|
442
|
+
///
|
443
|
+
/// # Errors
|
444
|
+
///
|
445
|
+
/// Returns [`types::Errno::Badf`] if no [`Descriptor`] is found
|
446
|
+
fn get_descriptor(&self, fd: types::Fd) -> Result<&Descriptor> {
|
447
|
+
let fd = fd.into();
|
448
|
+
let desc = self.descriptors.get(&fd).ok_or(types::Errno::Badf)?;
|
449
|
+
Ok(desc)
|
450
|
+
}
|
451
|
+
|
452
|
+
/// Borrows [`File`] corresponding to `fd`
|
453
|
+
/// if it describes a [`Descriptor::File`]
|
454
|
+
fn get_file(&self, fd: types::Fd) -> Result<&File> {
|
455
|
+
let fd = fd.into();
|
456
|
+
match self.descriptors.get(&fd) {
|
457
|
+
Some(Descriptor::File(file)) => Ok(file),
|
458
|
+
_ => Err(types::Errno::Badf.into()),
|
459
|
+
}
|
460
|
+
}
|
461
|
+
|
462
|
+
/// Mutably borrows [`File`] corresponding to `fd`
|
463
|
+
/// if it describes a [`Descriptor::File`]
|
464
|
+
fn get_file_mut(&mut self, fd: types::Fd) -> Result<&mut File> {
|
465
|
+
let fd = fd.into();
|
466
|
+
match self.descriptors.get_mut(&fd) {
|
467
|
+
Some(Descriptor::File(file)) => Ok(file),
|
468
|
+
_ => Err(types::Errno::Badf.into()),
|
469
|
+
}
|
470
|
+
}
|
471
|
+
|
472
|
+
/// Borrows [`File`] corresponding to `fd`
|
473
|
+
/// if it describes a [`Descriptor::File`]
|
474
|
+
///
|
475
|
+
/// # Errors
|
476
|
+
///
|
477
|
+
/// Returns [`types::Errno::Spipe`] if the descriptor corresponds to stdio
|
478
|
+
fn get_seekable(&self, fd: types::Fd) -> Result<&File> {
|
479
|
+
let fd = fd.into();
|
480
|
+
match self.descriptors.get(&fd) {
|
481
|
+
Some(Descriptor::File(file)) => Ok(file),
|
482
|
+
Some(
|
483
|
+
Descriptor::Stdin { .. } | Descriptor::Stdout { .. } | Descriptor::Stderr { .. },
|
484
|
+
) => {
|
485
|
+
// NOTE: legacy implementation returns SPIPE here
|
486
|
+
Err(types::Errno::Spipe.into())
|
487
|
+
}
|
488
|
+
_ => Err(types::Errno::Badf.into()),
|
489
|
+
}
|
490
|
+
}
|
491
|
+
|
492
|
+
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
493
|
+
fn get_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
494
|
+
match self.get_descriptor(fd)? {
|
495
|
+
Descriptor::File(File { fd, .. }) => Ok(fd.borrowed()),
|
496
|
+
Descriptor::Directory { fd, .. } => Ok(fd.borrowed()),
|
497
|
+
Descriptor::Stdin { .. } | Descriptor::Stdout { .. } | Descriptor::Stderr { .. } => {
|
498
|
+
Err(types::Errno::Badf.into())
|
499
|
+
}
|
500
|
+
}
|
501
|
+
}
|
502
|
+
|
503
|
+
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
504
|
+
/// if it describes a [`Descriptor::File`]
|
505
|
+
fn get_file_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
506
|
+
self.get_file(fd).map(|File { fd, .. }| fd.borrowed())
|
507
|
+
}
|
508
|
+
|
509
|
+
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
510
|
+
/// if it describes a [`Descriptor::Directory`]
|
511
|
+
fn get_dir_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
512
|
+
let fd = fd.into();
|
513
|
+
match self.descriptors.get(&fd) {
|
514
|
+
Some(Descriptor::Directory { fd, .. }) => Ok(fd.borrowed()),
|
515
|
+
_ => Err(types::Errno::Badf.into()),
|
516
|
+
}
|
517
|
+
}
|
518
|
+
}
|
519
|
+
|
520
|
+
impl WasiP1Ctx {
|
521
|
+
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
522
|
+
/// and returns [`Transaction`] on success
|
523
|
+
fn transact(&mut self) -> Result<Transaction<'_>, types::Error> {
|
524
|
+
let descriptors = if let Some(descriptors) = self.adapter.descriptors.take() {
|
525
|
+
descriptors
|
526
|
+
} else {
|
527
|
+
Descriptors::new(self.as_wasi_impl())?
|
528
|
+
}
|
529
|
+
.into();
|
530
|
+
Ok(Transaction {
|
531
|
+
view: self,
|
532
|
+
descriptors,
|
533
|
+
})
|
534
|
+
}
|
535
|
+
|
536
|
+
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
537
|
+
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
538
|
+
fn get_fd(&mut self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
539
|
+
let st = self.transact()?;
|
540
|
+
let fd = st.get_fd(fd)?;
|
541
|
+
Ok(fd)
|
542
|
+
}
|
543
|
+
|
544
|
+
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
545
|
+
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
546
|
+
/// if it describes a [`Descriptor::File`] of [`crate::filesystem::File`] type
|
547
|
+
fn get_file_fd(
|
548
|
+
&mut self,
|
549
|
+
fd: types::Fd,
|
550
|
+
) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
551
|
+
let st = self.transact()?;
|
552
|
+
let fd = st.get_file_fd(fd)?;
|
553
|
+
Ok(fd)
|
554
|
+
}
|
555
|
+
|
556
|
+
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
557
|
+
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
558
|
+
/// if it describes a [`Descriptor::File`] or [`Descriptor::PreopenDirectory`]
|
559
|
+
/// of [`crate::filesystem::Dir`] type
|
560
|
+
fn get_dir_fd(
|
561
|
+
&mut self,
|
562
|
+
fd: types::Fd,
|
563
|
+
) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
564
|
+
let st = self.transact()?;
|
565
|
+
let fd = st.get_dir_fd(fd)?;
|
566
|
+
Ok(fd)
|
567
|
+
}
|
568
|
+
|
569
|
+
/// Shared implementation of `fd_write` and `fd_pwrite`.
|
570
|
+
async fn fd_write_impl(
|
571
|
+
&mut self,
|
572
|
+
memory: &mut GuestMemory<'_>,
|
573
|
+
fd: types::Fd,
|
574
|
+
ciovs: types::CiovecArray,
|
575
|
+
write: FdWrite,
|
576
|
+
) -> Result<types::Size, types::Error> {
|
577
|
+
let t = self.transact()?;
|
578
|
+
let desc = t.get_descriptor(fd)?;
|
579
|
+
match desc {
|
580
|
+
Descriptor::File(File {
|
581
|
+
fd,
|
582
|
+
append,
|
583
|
+
position,
|
584
|
+
// NB: files always use blocking writes regardless of what
|
585
|
+
// they're configured to use since OSes don't have nonblocking
|
586
|
+
// reads/writes anyway. This behavior originated in the first
|
587
|
+
// implementation of WASIp1 where flags were propagated to the
|
588
|
+
// OS and the OS ignored the nonblocking flag for files
|
589
|
+
// generally.
|
590
|
+
blocking_mode: _,
|
591
|
+
}) => {
|
592
|
+
let fd = fd.borrowed();
|
593
|
+
let position = position.clone();
|
594
|
+
let pos = position.load(Ordering::Relaxed);
|
595
|
+
let append = *append;
|
596
|
+
drop(t);
|
597
|
+
let f = self.table().get(&fd)?.file()?;
|
598
|
+
let buf = first_non_empty_ciovec(memory, ciovs)?;
|
599
|
+
|
600
|
+
let do_write = move |f: &cap_std::fs::File, buf: &[u8]| match (append, write) {
|
601
|
+
// Note that this is implementing Linux semantics of
|
602
|
+
// `pwrite` where the offset is ignored if the file was
|
603
|
+
// opened in append mode.
|
604
|
+
(true, _) => f.append(&buf),
|
605
|
+
(false, FdWrite::At(pos)) => f.write_at(&buf, pos),
|
606
|
+
(false, FdWrite::AtCur) => f.write_at(&buf, pos),
|
607
|
+
};
|
608
|
+
|
609
|
+
let nwritten = match f.as_blocking_file() {
|
610
|
+
// If we can block then skip the copy out of wasm memory and
|
611
|
+
// write directly to `f`.
|
612
|
+
Some(f) => do_write(f, &memory.as_cow(buf)?),
|
613
|
+
// ... otherwise copy out of wasm memory and use
|
614
|
+
// `spawn_blocking` to do this write in a thread that can
|
615
|
+
// block.
|
616
|
+
None => {
|
617
|
+
let buf = memory.to_vec(buf)?;
|
618
|
+
f.run_blocking(move |f| do_write(f, &buf)).await
|
619
|
+
}
|
620
|
+
};
|
621
|
+
|
622
|
+
let nwritten = nwritten.map_err(|e| StreamError::LastOperationFailed(e.into()))?;
|
623
|
+
|
624
|
+
// If this was a write at the current position then update the
|
625
|
+
// current position with the result, otherwise the current
|
626
|
+
// position is left unmodified.
|
627
|
+
if let FdWrite::AtCur = write {
|
628
|
+
if append {
|
629
|
+
let len = self.as_wasi_impl().stat(fd).await?;
|
630
|
+
position.store(len.size, Ordering::Relaxed);
|
631
|
+
} else {
|
632
|
+
let pos = pos
|
633
|
+
.checked_add(nwritten as u64)
|
634
|
+
.ok_or(types::Errno::Overflow)?;
|
635
|
+
position.store(pos, Ordering::Relaxed);
|
636
|
+
}
|
637
|
+
}
|
638
|
+
Ok(nwritten.try_into()?)
|
639
|
+
}
|
640
|
+
Descriptor::Stdout { stream, .. } | Descriptor::Stderr { stream, .. } => {
|
641
|
+
match write {
|
642
|
+
// Reject calls to `fd_pwrite` on stdio descriptors...
|
643
|
+
FdWrite::At(_) => return Err(types::Errno::Spipe.into()),
|
644
|
+
// ... but allow calls to `fd_write`
|
645
|
+
FdWrite::AtCur => {}
|
646
|
+
}
|
647
|
+
let stream = stream.borrowed();
|
648
|
+
drop(t);
|
649
|
+
let buf = first_non_empty_ciovec(memory, ciovs)?;
|
650
|
+
let n = BlockingMode::Blocking
|
651
|
+
.write(memory, &mut self.as_wasi_impl(), stream, buf)
|
652
|
+
.await?
|
653
|
+
.try_into()?;
|
654
|
+
Ok(n)
|
655
|
+
}
|
656
|
+
_ => Err(types::Errno::Badf.into()),
|
657
|
+
}
|
658
|
+
}
|
659
|
+
}
|
660
|
+
|
661
|
+
#[derive(Copy, Clone)]
|
662
|
+
enum FdWrite {
|
663
|
+
At(u64),
|
664
|
+
AtCur,
|
665
|
+
}
|
666
|
+
|
667
|
+
/// Adds asynchronous versions of all WASIp1 functions to the
|
668
|
+
/// [`wasmtime::Linker`] provided.
|
669
|
+
///
|
670
|
+
/// This method will add WASIp1 functions to `linker`. The `f` closure provided
|
671
|
+
/// is used to project from the `T` state that `Linker` is associated with to a
|
672
|
+
/// [`WasiP1Ctx`]. If `T` is `WasiP1Ctx` itself then this is the identity
|
673
|
+
/// closure, but otherwise it must project out the field where `WasiP1Ctx` is
|
674
|
+
/// stored within `T`.
|
675
|
+
///
|
676
|
+
/// The state provided by `f` is used to implement all WASIp1 functions and
|
677
|
+
/// provides configuration to know what to return.
|
678
|
+
///
|
679
|
+
/// Note that this function is intended for use with
|
680
|
+
/// [`Config::async_support(true)`]. If you're looking for a synchronous version
|
681
|
+
/// see [`add_to_linker_sync`].
|
682
|
+
///
|
683
|
+
/// [`Config::async_support(true)`]: wasmtime::Config::async_support
|
684
|
+
///
|
685
|
+
/// # Examples
|
686
|
+
///
|
687
|
+
/// If the `T` in `Linker<T>` is just `WasiP1Ctx`:
|
688
|
+
///
|
689
|
+
/// ```no_run
|
690
|
+
/// use wasmtime::{Result, Linker, Engine, Config};
|
691
|
+
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
692
|
+
///
|
693
|
+
/// fn main() -> Result<()> {
|
694
|
+
/// let mut config = Config::new();
|
695
|
+
/// config.async_support(true);
|
696
|
+
/// let engine = Engine::new(&config)?;
|
697
|
+
///
|
698
|
+
/// let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
699
|
+
/// preview1::add_to_linker_async(&mut linker, |cx| cx)?;
|
700
|
+
///
|
701
|
+
/// // ... continue to add more to `linker` as necessary and use it ...
|
702
|
+
///
|
703
|
+
/// Ok(())
|
704
|
+
/// }
|
705
|
+
/// ```
|
706
|
+
///
|
707
|
+
/// If the `T` in `Linker<T>` is custom state:
|
708
|
+
///
|
709
|
+
/// ```no_run
|
710
|
+
/// use wasmtime::{Result, Linker, Engine, Config};
|
711
|
+
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
712
|
+
///
|
713
|
+
/// struct MyState {
|
714
|
+
/// // .. other custom state here ..
|
715
|
+
///
|
716
|
+
/// wasi: WasiP1Ctx,
|
717
|
+
/// }
|
718
|
+
///
|
719
|
+
/// fn main() -> Result<()> {
|
720
|
+
/// let mut config = Config::new();
|
721
|
+
/// config.async_support(true);
|
722
|
+
/// let engine = Engine::new(&config)?;
|
723
|
+
///
|
724
|
+
/// let mut linker: Linker<MyState> = Linker::new(&engine);
|
725
|
+
/// preview1::add_to_linker_async(&mut linker, |cx| &mut cx.wasi)?;
|
726
|
+
///
|
727
|
+
/// // ... continue to add more to `linker` as necessary and use it ...
|
728
|
+
///
|
729
|
+
/// Ok(())
|
730
|
+
/// }
|
731
|
+
/// ```
|
732
|
+
pub fn add_to_linker_async<T: Send>(
|
733
|
+
linker: &mut wasmtime::Linker<T>,
|
734
|
+
f: impl Fn(&mut T) -> &mut WasiP1Ctx + Copy + Send + Sync + 'static,
|
735
|
+
) -> anyhow::Result<()> {
|
736
|
+
crate::preview1::wasi_snapshot_preview1::add_to_linker(linker, f)
|
737
|
+
}
|
738
|
+
|
739
|
+
/// Adds synchronous versions of all WASIp1 functions to the
|
740
|
+
/// [`wasmtime::Linker`] provided.
|
741
|
+
///
|
742
|
+
/// This method will add WASIp1 functions to `linker`. The `f` closure provided
|
743
|
+
/// is used to project from the `T` state that `Linker` is associated with to a
|
744
|
+
/// [`WasiP1Ctx`]. If `T` is `WasiP1Ctx` itself then this is the identity
|
745
|
+
/// closure, but otherwise it must project out the field where `WasiP1Ctx` is
|
746
|
+
/// stored within `T`.
|
747
|
+
///
|
748
|
+
/// The state provided by `f` is used to implement all WASIp1 functions and
|
749
|
+
/// provides configuration to know what to return.
|
750
|
+
///
|
751
|
+
/// Note that this function is intended for use with
|
752
|
+
/// [`Config::async_support(false)`]. If you're looking for a synchronous version
|
753
|
+
/// see [`add_to_linker_async`].
|
754
|
+
///
|
755
|
+
/// [`Config::async_support(false)`]: wasmtime::Config::async_support
|
756
|
+
///
|
757
|
+
/// # Examples
|
758
|
+
///
|
759
|
+
/// If the `T` in `Linker<T>` is just `WasiP1Ctx`:
|
760
|
+
///
|
761
|
+
/// ```no_run
|
762
|
+
/// use wasmtime::{Result, Linker, Engine, Config};
|
763
|
+
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
764
|
+
///
|
765
|
+
/// fn main() -> Result<()> {
|
766
|
+
/// let mut config = Config::new();
|
767
|
+
/// config.async_support(true);
|
768
|
+
/// let engine = Engine::new(&config)?;
|
769
|
+
///
|
770
|
+
/// let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
771
|
+
/// preview1::add_to_linker_async(&mut linker, |cx| cx)?;
|
772
|
+
///
|
773
|
+
/// // ... continue to add more to `linker` as necessary and use it ...
|
774
|
+
///
|
775
|
+
/// Ok(())
|
776
|
+
/// }
|
777
|
+
/// ```
|
778
|
+
///
|
779
|
+
/// If the `T` in `Linker<T>` is custom state:
|
780
|
+
///
|
781
|
+
/// ```no_run
|
782
|
+
/// use wasmtime::{Result, Linker, Engine, Config};
|
783
|
+
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
784
|
+
///
|
785
|
+
/// struct MyState {
|
786
|
+
/// // .. other custom state here ..
|
787
|
+
///
|
788
|
+
/// wasi: WasiP1Ctx,
|
789
|
+
/// }
|
790
|
+
///
|
791
|
+
/// fn main() -> Result<()> {
|
792
|
+
/// let mut config = Config::new();
|
793
|
+
/// config.async_support(true);
|
794
|
+
/// let engine = Engine::new(&config)?;
|
795
|
+
///
|
796
|
+
/// let mut linker: Linker<MyState> = Linker::new(&engine);
|
797
|
+
/// preview1::add_to_linker_async(&mut linker, |cx| &mut cx.wasi)?;
|
798
|
+
///
|
799
|
+
/// // ... continue to add more to `linker` as necessary and use it ...
|
800
|
+
///
|
801
|
+
/// Ok(())
|
802
|
+
/// }
|
803
|
+
/// ```
|
804
|
+
pub fn add_to_linker_sync<T: Send>(
|
805
|
+
linker: &mut wasmtime::Linker<T>,
|
806
|
+
f: impl Fn(&mut T) -> &mut WasiP1Ctx + Copy + Send + Sync + 'static,
|
807
|
+
) -> anyhow::Result<()> {
|
808
|
+
crate::preview1::sync::add_wasi_snapshot_preview1_to_linker(linker, f)
|
809
|
+
}
|
810
|
+
|
811
|
+
// Generate the wasi_snapshot_preview1::WasiSnapshotPreview1 trait,
|
812
|
+
// and the module types.
|
813
|
+
// None of the generated modules, traits, or types should be used externally
|
814
|
+
// to this module.
|
815
|
+
wiggle::from_witx!({
|
816
|
+
witx: ["$CARGO_MANIFEST_DIR/witx/preview1/wasi_snapshot_preview1.witx"],
|
817
|
+
async: {
|
818
|
+
wasi_snapshot_preview1::{
|
819
|
+
fd_advise, fd_close, fd_datasync, fd_fdstat_get, fd_filestat_get, fd_filestat_set_size,
|
820
|
+
fd_filestat_set_times, fd_read, fd_pread, fd_seek, fd_sync, fd_readdir, fd_write,
|
821
|
+
fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
|
822
|
+
path_filestat_set_times, path_link, path_open, path_readlink, path_remove_directory,
|
823
|
+
path_rename, path_symlink, path_unlink_file
|
824
|
+
}
|
825
|
+
},
|
826
|
+
errors: { errno => trappable Error },
|
827
|
+
});
|
828
|
+
|
829
|
+
pub(crate) mod sync {
|
830
|
+
use anyhow::Result;
|
831
|
+
use std::future::Future;
|
832
|
+
|
833
|
+
wiggle::wasmtime_integration!({
|
834
|
+
witx: ["$CARGO_MANIFEST_DIR/witx/preview1/wasi_snapshot_preview1.witx"],
|
835
|
+
target: super,
|
836
|
+
block_on[in_tokio]: {
|
837
|
+
wasi_snapshot_preview1::{
|
838
|
+
fd_advise, fd_close, fd_datasync, fd_fdstat_get, fd_filestat_get, fd_filestat_set_size,
|
839
|
+
fd_filestat_set_times, fd_read, fd_pread, fd_seek, fd_sync, fd_readdir, fd_write,
|
840
|
+
fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
|
841
|
+
path_filestat_set_times, path_link, path_open, path_readlink, path_remove_directory,
|
842
|
+
path_rename, path_symlink, path_unlink_file
|
843
|
+
}
|
844
|
+
},
|
845
|
+
errors: { errno => trappable Error },
|
846
|
+
});
|
847
|
+
|
848
|
+
// Small wrapper around `in_tokio` to add a `Result` layer which is always
|
849
|
+
// `Ok`
|
850
|
+
fn in_tokio<F: Future>(future: F) -> Result<F::Output> {
|
851
|
+
Ok(crate::runtime::in_tokio(future))
|
852
|
+
}
|
853
|
+
}
|
854
|
+
|
855
|
+
impl wiggle::GuestErrorType for types::Errno {
|
856
|
+
fn success() -> Self {
|
857
|
+
Self::Success
|
858
|
+
}
|
859
|
+
}
|
860
|
+
|
861
|
+
impl From<StreamError> for types::Error {
|
862
|
+
fn from(err: StreamError) -> Self {
|
863
|
+
match err {
|
864
|
+
StreamError::Closed => types::Errno::Io.into(),
|
865
|
+
StreamError::LastOperationFailed(e) => match e.downcast::<std::io::Error>() {
|
866
|
+
Ok(err) => filesystem::ErrorCode::from(err).into(),
|
867
|
+
Err(e) => {
|
868
|
+
tracing::debug!("dropping error {e:?}");
|
869
|
+
types::Errno::Io.into()
|
870
|
+
}
|
871
|
+
},
|
872
|
+
StreamError::Trap(e) => types::Error::trap(e),
|
873
|
+
}
|
874
|
+
}
|
875
|
+
}
|
876
|
+
|
877
|
+
impl From<FsError> for types::Error {
|
878
|
+
fn from(err: FsError) -> Self {
|
879
|
+
match err.downcast() {
|
880
|
+
Ok(code) => code.into(),
|
881
|
+
Err(e) => types::Error::trap(e),
|
882
|
+
}
|
883
|
+
}
|
884
|
+
}
|
885
|
+
|
886
|
+
fn systimespec(set: bool, ts: types::Timestamp, now: bool) -> Result<filesystem::NewTimestamp> {
|
887
|
+
if set && now {
|
888
|
+
Err(types::Errno::Inval.into())
|
889
|
+
} else if set {
|
890
|
+
Ok(filesystem::NewTimestamp::Timestamp(filesystem::Datetime {
|
891
|
+
seconds: ts / 1_000_000_000,
|
892
|
+
nanoseconds: (ts % 1_000_000_000) as _,
|
893
|
+
}))
|
894
|
+
} else if now {
|
895
|
+
Ok(filesystem::NewTimestamp::Now)
|
896
|
+
} else {
|
897
|
+
Ok(filesystem::NewTimestamp::NoChange)
|
898
|
+
}
|
899
|
+
}
|
900
|
+
|
901
|
+
impl TryFrom<wall_clock::Datetime> for types::Timestamp {
|
902
|
+
type Error = types::Errno;
|
903
|
+
|
904
|
+
fn try_from(
|
905
|
+
wall_clock::Datetime {
|
906
|
+
seconds,
|
907
|
+
nanoseconds,
|
908
|
+
}: wall_clock::Datetime,
|
909
|
+
) -> Result<Self, Self::Error> {
|
910
|
+
types::Timestamp::from(seconds)
|
911
|
+
.checked_mul(1_000_000_000)
|
912
|
+
.and_then(|ns| ns.checked_add(nanoseconds.into()))
|
913
|
+
.ok_or(types::Errno::Overflow)
|
914
|
+
}
|
915
|
+
}
|
916
|
+
|
917
|
+
impl From<types::Lookupflags> for filesystem::PathFlags {
|
918
|
+
fn from(flags: types::Lookupflags) -> Self {
|
919
|
+
if flags.contains(types::Lookupflags::SYMLINK_FOLLOW) {
|
920
|
+
filesystem::PathFlags::SYMLINK_FOLLOW
|
921
|
+
} else {
|
922
|
+
filesystem::PathFlags::empty()
|
923
|
+
}
|
924
|
+
}
|
925
|
+
}
|
926
|
+
|
927
|
+
impl From<types::Oflags> for filesystem::OpenFlags {
|
928
|
+
fn from(flags: types::Oflags) -> Self {
|
929
|
+
let mut out = filesystem::OpenFlags::empty();
|
930
|
+
if flags.contains(types::Oflags::CREAT) {
|
931
|
+
out |= filesystem::OpenFlags::CREATE;
|
932
|
+
}
|
933
|
+
if flags.contains(types::Oflags::DIRECTORY) {
|
934
|
+
out |= filesystem::OpenFlags::DIRECTORY;
|
935
|
+
}
|
936
|
+
if flags.contains(types::Oflags::EXCL) {
|
937
|
+
out |= filesystem::OpenFlags::EXCLUSIVE;
|
938
|
+
}
|
939
|
+
if flags.contains(types::Oflags::TRUNC) {
|
940
|
+
out |= filesystem::OpenFlags::TRUNCATE;
|
941
|
+
}
|
942
|
+
out
|
943
|
+
}
|
944
|
+
}
|
945
|
+
|
946
|
+
impl From<types::Advice> for filesystem::Advice {
|
947
|
+
fn from(advice: types::Advice) -> Self {
|
948
|
+
match advice {
|
949
|
+
types::Advice::Normal => filesystem::Advice::Normal,
|
950
|
+
types::Advice::Sequential => filesystem::Advice::Sequential,
|
951
|
+
types::Advice::Random => filesystem::Advice::Random,
|
952
|
+
types::Advice::Willneed => filesystem::Advice::WillNeed,
|
953
|
+
types::Advice::Dontneed => filesystem::Advice::DontNeed,
|
954
|
+
types::Advice::Noreuse => filesystem::Advice::NoReuse,
|
955
|
+
}
|
956
|
+
}
|
957
|
+
}
|
958
|
+
|
959
|
+
impl TryFrom<filesystem::DescriptorType> for types::Filetype {
|
960
|
+
type Error = anyhow::Error;
|
961
|
+
|
962
|
+
fn try_from(ty: filesystem::DescriptorType) -> Result<Self, Self::Error> {
|
963
|
+
match ty {
|
964
|
+
filesystem::DescriptorType::RegularFile => Ok(types::Filetype::RegularFile),
|
965
|
+
filesystem::DescriptorType::Directory => Ok(types::Filetype::Directory),
|
966
|
+
filesystem::DescriptorType::BlockDevice => Ok(types::Filetype::BlockDevice),
|
967
|
+
filesystem::DescriptorType::CharacterDevice => Ok(types::Filetype::CharacterDevice),
|
968
|
+
// preview1 never had a FIFO code.
|
969
|
+
filesystem::DescriptorType::Fifo => Ok(types::Filetype::Unknown),
|
970
|
+
// TODO: Add a way to disginguish between FILETYPE_SOCKET_STREAM and
|
971
|
+
// FILETYPE_SOCKET_DGRAM.
|
972
|
+
filesystem::DescriptorType::Socket => {
|
973
|
+
bail!("sockets are not currently supported")
|
974
|
+
}
|
975
|
+
filesystem::DescriptorType::SymbolicLink => Ok(types::Filetype::SymbolicLink),
|
976
|
+
filesystem::DescriptorType::Unknown => Ok(types::Filetype::Unknown),
|
977
|
+
}
|
978
|
+
}
|
979
|
+
}
|
980
|
+
|
981
|
+
impl From<IsATTY> for types::Filetype {
|
982
|
+
fn from(isatty: IsATTY) -> Self {
|
983
|
+
match isatty {
|
984
|
+
IsATTY::Yes => types::Filetype::CharacterDevice,
|
985
|
+
IsATTY::No => types::Filetype::Unknown,
|
986
|
+
}
|
987
|
+
}
|
988
|
+
}
|
989
|
+
|
990
|
+
impl From<filesystem::ErrorCode> for types::Errno {
|
991
|
+
fn from(code: filesystem::ErrorCode) -> Self {
|
992
|
+
match code {
|
993
|
+
filesystem::ErrorCode::Access => types::Errno::Acces,
|
994
|
+
filesystem::ErrorCode::WouldBlock => types::Errno::Again,
|
995
|
+
filesystem::ErrorCode::Already => types::Errno::Already,
|
996
|
+
filesystem::ErrorCode::BadDescriptor => types::Errno::Badf,
|
997
|
+
filesystem::ErrorCode::Busy => types::Errno::Busy,
|
998
|
+
filesystem::ErrorCode::Deadlock => types::Errno::Deadlk,
|
999
|
+
filesystem::ErrorCode::Quota => types::Errno::Dquot,
|
1000
|
+
filesystem::ErrorCode::Exist => types::Errno::Exist,
|
1001
|
+
filesystem::ErrorCode::FileTooLarge => types::Errno::Fbig,
|
1002
|
+
filesystem::ErrorCode::IllegalByteSequence => types::Errno::Ilseq,
|
1003
|
+
filesystem::ErrorCode::InProgress => types::Errno::Inprogress,
|
1004
|
+
filesystem::ErrorCode::Interrupted => types::Errno::Intr,
|
1005
|
+
filesystem::ErrorCode::Invalid => types::Errno::Inval,
|
1006
|
+
filesystem::ErrorCode::Io => types::Errno::Io,
|
1007
|
+
filesystem::ErrorCode::IsDirectory => types::Errno::Isdir,
|
1008
|
+
filesystem::ErrorCode::Loop => types::Errno::Loop,
|
1009
|
+
filesystem::ErrorCode::TooManyLinks => types::Errno::Mlink,
|
1010
|
+
filesystem::ErrorCode::MessageSize => types::Errno::Msgsize,
|
1011
|
+
filesystem::ErrorCode::NameTooLong => types::Errno::Nametoolong,
|
1012
|
+
filesystem::ErrorCode::NoDevice => types::Errno::Nodev,
|
1013
|
+
filesystem::ErrorCode::NoEntry => types::Errno::Noent,
|
1014
|
+
filesystem::ErrorCode::NoLock => types::Errno::Nolck,
|
1015
|
+
filesystem::ErrorCode::InsufficientMemory => types::Errno::Nomem,
|
1016
|
+
filesystem::ErrorCode::InsufficientSpace => types::Errno::Nospc,
|
1017
|
+
filesystem::ErrorCode::Unsupported => types::Errno::Notsup,
|
1018
|
+
filesystem::ErrorCode::NotDirectory => types::Errno::Notdir,
|
1019
|
+
filesystem::ErrorCode::NotEmpty => types::Errno::Notempty,
|
1020
|
+
filesystem::ErrorCode::NotRecoverable => types::Errno::Notrecoverable,
|
1021
|
+
filesystem::ErrorCode::NoTty => types::Errno::Notty,
|
1022
|
+
filesystem::ErrorCode::NoSuchDevice => types::Errno::Nxio,
|
1023
|
+
filesystem::ErrorCode::Overflow => types::Errno::Overflow,
|
1024
|
+
filesystem::ErrorCode::NotPermitted => types::Errno::Perm,
|
1025
|
+
filesystem::ErrorCode::Pipe => types::Errno::Pipe,
|
1026
|
+
filesystem::ErrorCode::ReadOnly => types::Errno::Rofs,
|
1027
|
+
filesystem::ErrorCode::InvalidSeek => types::Errno::Spipe,
|
1028
|
+
filesystem::ErrorCode::TextFileBusy => types::Errno::Txtbsy,
|
1029
|
+
filesystem::ErrorCode::CrossDevice => types::Errno::Xdev,
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
impl From<std::num::TryFromIntError> for types::Error {
|
1035
|
+
fn from(_: std::num::TryFromIntError) -> Self {
|
1036
|
+
types::Errno::Overflow.into()
|
1037
|
+
}
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
impl From<GuestError> for types::Error {
|
1041
|
+
fn from(err: GuestError) -> Self {
|
1042
|
+
use wiggle::GuestError::*;
|
1043
|
+
match err {
|
1044
|
+
InvalidFlagValue { .. } => types::Errno::Inval.into(),
|
1045
|
+
InvalidEnumValue { .. } => types::Errno::Inval.into(),
|
1046
|
+
// As per
|
1047
|
+
// https://github.com/WebAssembly/wasi/blob/main/legacy/tools/witx-docs.md#pointers
|
1048
|
+
//
|
1049
|
+
// > If a misaligned pointer is passed to a function, the function
|
1050
|
+
// > shall trap.
|
1051
|
+
// >
|
1052
|
+
// > If an out-of-bounds pointer is passed to a function and the
|
1053
|
+
// > function needs to dereference it, the function shall trap.
|
1054
|
+
//
|
1055
|
+
// so this turns OOB and misalignment errors into traps.
|
1056
|
+
PtrOverflow { .. } | PtrOutOfBounds { .. } | PtrNotAligned { .. } => {
|
1057
|
+
types::Error::trap(err.into())
|
1058
|
+
}
|
1059
|
+
PtrBorrowed { .. } => types::Errno::Fault.into(),
|
1060
|
+
InvalidUtf8 { .. } => types::Errno::Ilseq.into(),
|
1061
|
+
TryFromIntError { .. } => types::Errno::Overflow.into(),
|
1062
|
+
SliceLengthsDiffer { .. } => types::Errno::Fault.into(),
|
1063
|
+
BorrowCheckerOutOfHandles { .. } => types::Errno::Fault.into(),
|
1064
|
+
InFunc { err, .. } => types::Error::from(*err),
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
impl From<filesystem::ErrorCode> for types::Error {
|
1070
|
+
fn from(code: filesystem::ErrorCode) -> Self {
|
1071
|
+
types::Errno::from(code).into()
|
1072
|
+
}
|
1073
|
+
}
|
1074
|
+
|
1075
|
+
impl From<wasmtime::component::ResourceTableError> for types::Error {
|
1076
|
+
fn from(err: wasmtime::component::ResourceTableError) -> Self {
|
1077
|
+
types::Error::trap(err.into())
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
type Result<T, E = types::Error> = std::result::Result<T, E>;
|
1082
|
+
|
1083
|
+
fn write_bytes(
|
1084
|
+
memory: &mut GuestMemory<'_>,
|
1085
|
+
ptr: GuestPtr<u8>,
|
1086
|
+
buf: &[u8],
|
1087
|
+
) -> Result<GuestPtr<u8>, types::Error> {
|
1088
|
+
// NOTE: legacy implementation always returns Inval errno
|
1089
|
+
|
1090
|
+
let len = u32::try_from(buf.len())?;
|
1091
|
+
|
1092
|
+
memory.copy_from_slice(buf, ptr.as_array(len))?;
|
1093
|
+
let next = ptr.add(len)?;
|
1094
|
+
Ok(next)
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
fn write_byte(memory: &mut GuestMemory<'_>, ptr: GuestPtr<u8>, byte: u8) -> Result<GuestPtr<u8>> {
|
1098
|
+
memory.write(ptr, byte)?;
|
1099
|
+
let next = ptr.add(1)?;
|
1100
|
+
Ok(next)
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
fn read_string<'a>(memory: &'a GuestMemory<'_>, ptr: GuestPtr<str>) -> Result<String> {
|
1104
|
+
Ok(memory.as_cow_str(ptr)?.into_owned())
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
// Returns the first non-empty buffer in `ciovs` or a single empty buffer if
|
1108
|
+
// they're all empty.
|
1109
|
+
fn first_non_empty_ciovec(
|
1110
|
+
memory: &GuestMemory<'_>,
|
1111
|
+
ciovs: types::CiovecArray,
|
1112
|
+
) -> Result<GuestPtr<[u8]>> {
|
1113
|
+
for iov in ciovs.iter() {
|
1114
|
+
let iov = memory.read(iov?)?;
|
1115
|
+
if iov.buf_len == 0 {
|
1116
|
+
continue;
|
1117
|
+
}
|
1118
|
+
return Ok(iov.buf.as_array(iov.buf_len));
|
1119
|
+
}
|
1120
|
+
Ok(GuestPtr::new((0, 0)))
|
1121
|
+
}
|
1122
|
+
|
1123
|
+
// Returns the first non-empty buffer in `iovs` or a single empty buffer if
|
1124
|
+
// they're all empty.
|
1125
|
+
fn first_non_empty_iovec(
|
1126
|
+
memory: &GuestMemory<'_>,
|
1127
|
+
iovs: types::IovecArray,
|
1128
|
+
) -> Result<GuestPtr<[u8]>> {
|
1129
|
+
for iov in iovs.iter() {
|
1130
|
+
let iov = memory.read(iov?)?;
|
1131
|
+
if iov.buf_len == 0 {
|
1132
|
+
continue;
|
1133
|
+
}
|
1134
|
+
return Ok(iov.buf.as_array(iov.buf_len));
|
1135
|
+
}
|
1136
|
+
Ok(GuestPtr::new((0, 0)))
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
#[async_trait::async_trait]
|
1140
|
+
// Implement the WasiSnapshotPreview1 trait using only the traits that are
|
1141
|
+
// required for T, i.e., in terms of the preview 2 wit interface, and state
|
1142
|
+
// stored in the WasiPreview1Adapter struct.
|
1143
|
+
impl wasi_snapshot_preview1::WasiSnapshotPreview1 for WasiP1Ctx {
|
1144
|
+
#[instrument(skip(self, memory))]
|
1145
|
+
fn args_get(
|
1146
|
+
&mut self,
|
1147
|
+
memory: &mut GuestMemory<'_>,
|
1148
|
+
argv: GuestPtr<GuestPtr<u8>>,
|
1149
|
+
argv_buf: GuestPtr<u8>,
|
1150
|
+
) -> Result<(), types::Error> {
|
1151
|
+
self.as_wasi_impl()
|
1152
|
+
.get_arguments()
|
1153
|
+
.context("failed to call `get-arguments`")
|
1154
|
+
.map_err(types::Error::trap)?
|
1155
|
+
.into_iter()
|
1156
|
+
.try_fold((argv, argv_buf), |(argv, argv_buf), arg| -> Result<_> {
|
1157
|
+
memory.write(argv, argv_buf)?;
|
1158
|
+
let argv = argv.add(1)?;
|
1159
|
+
|
1160
|
+
let argv_buf = write_bytes(memory, argv_buf, arg.as_bytes())?;
|
1161
|
+
let argv_buf = write_byte(memory, argv_buf, 0)?;
|
1162
|
+
|
1163
|
+
Ok((argv, argv_buf))
|
1164
|
+
})?;
|
1165
|
+
Ok(())
|
1166
|
+
}
|
1167
|
+
|
1168
|
+
#[instrument(skip(self, _memory))]
|
1169
|
+
fn args_sizes_get(
|
1170
|
+
&mut self,
|
1171
|
+
_memory: &mut GuestMemory<'_>,
|
1172
|
+
) -> Result<(types::Size, types::Size), types::Error> {
|
1173
|
+
let args = self
|
1174
|
+
.as_wasi_impl()
|
1175
|
+
.get_arguments()
|
1176
|
+
.context("failed to call `get-arguments`")
|
1177
|
+
.map_err(types::Error::trap)?;
|
1178
|
+
let num = args.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
1179
|
+
let len = args
|
1180
|
+
.iter()
|
1181
|
+
.map(|buf| buf.len() + 1) // Each argument is expected to be `\0` terminated.
|
1182
|
+
.sum::<usize>()
|
1183
|
+
.try_into()
|
1184
|
+
.map_err(|_| types::Errno::Overflow)?;
|
1185
|
+
Ok((num, len))
|
1186
|
+
}
|
1187
|
+
|
1188
|
+
#[instrument(skip(self, memory))]
|
1189
|
+
fn environ_get(
|
1190
|
+
&mut self,
|
1191
|
+
memory: &mut GuestMemory<'_>,
|
1192
|
+
environ: GuestPtr<GuestPtr<u8>>,
|
1193
|
+
environ_buf: GuestPtr<u8>,
|
1194
|
+
) -> Result<(), types::Error> {
|
1195
|
+
self.as_wasi_impl()
|
1196
|
+
.get_environment()
|
1197
|
+
.context("failed to call `get-environment`")
|
1198
|
+
.map_err(types::Error::trap)?
|
1199
|
+
.into_iter()
|
1200
|
+
.try_fold(
|
1201
|
+
(environ, environ_buf),
|
1202
|
+
|(environ, environ_buf), (k, v)| -> Result<_, types::Error> {
|
1203
|
+
memory.write(environ, environ_buf)?;
|
1204
|
+
let environ = environ.add(1)?;
|
1205
|
+
|
1206
|
+
let environ_buf = write_bytes(memory, environ_buf, k.as_bytes())?;
|
1207
|
+
let environ_buf = write_byte(memory, environ_buf, b'=')?;
|
1208
|
+
let environ_buf = write_bytes(memory, environ_buf, v.as_bytes())?;
|
1209
|
+
let environ_buf = write_byte(memory, environ_buf, 0)?;
|
1210
|
+
|
1211
|
+
Ok((environ, environ_buf))
|
1212
|
+
},
|
1213
|
+
)?;
|
1214
|
+
Ok(())
|
1215
|
+
}
|
1216
|
+
|
1217
|
+
#[instrument(skip(self, _memory))]
|
1218
|
+
fn environ_sizes_get(
|
1219
|
+
&mut self,
|
1220
|
+
_memory: &mut GuestMemory<'_>,
|
1221
|
+
) -> Result<(types::Size, types::Size), types::Error> {
|
1222
|
+
let environ = self
|
1223
|
+
.as_wasi_impl()
|
1224
|
+
.get_environment()
|
1225
|
+
.context("failed to call `get-environment`")
|
1226
|
+
.map_err(types::Error::trap)?;
|
1227
|
+
let num = environ.len().try_into()?;
|
1228
|
+
let len = environ
|
1229
|
+
.iter()
|
1230
|
+
.map(|(k, v)| k.len() + 1 + v.len() + 1) // Key/value pairs are expected to be joined with `=`s, and terminated with `\0`s.
|
1231
|
+
.sum::<usize>()
|
1232
|
+
.try_into()?;
|
1233
|
+
Ok((num, len))
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
#[instrument(skip(self, _memory))]
|
1237
|
+
fn clock_res_get(
|
1238
|
+
&mut self,
|
1239
|
+
_memory: &mut GuestMemory<'_>,
|
1240
|
+
id: types::Clockid,
|
1241
|
+
) -> Result<types::Timestamp, types::Error> {
|
1242
|
+
let res = match id {
|
1243
|
+
types::Clockid::Realtime => wall_clock::Host::resolution(&mut self.as_wasi_impl())
|
1244
|
+
.context("failed to call `wall_clock::resolution`")
|
1245
|
+
.map_err(types::Error::trap)?
|
1246
|
+
.try_into()?,
|
1247
|
+
types::Clockid::Monotonic => {
|
1248
|
+
monotonic_clock::Host::resolution(&mut self.as_wasi_impl())
|
1249
|
+
.context("failed to call `monotonic_clock::resolution`")
|
1250
|
+
.map_err(types::Error::trap)?
|
1251
|
+
}
|
1252
|
+
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
1253
|
+
return Err(types::Errno::Badf.into())
|
1254
|
+
}
|
1255
|
+
};
|
1256
|
+
Ok(res)
|
1257
|
+
}
|
1258
|
+
|
1259
|
+
#[instrument(skip(self, _memory))]
|
1260
|
+
fn clock_time_get(
|
1261
|
+
&mut self,
|
1262
|
+
_memory: &mut GuestMemory<'_>,
|
1263
|
+
id: types::Clockid,
|
1264
|
+
_precision: types::Timestamp,
|
1265
|
+
) -> Result<types::Timestamp, types::Error> {
|
1266
|
+
let now = match id {
|
1267
|
+
types::Clockid::Realtime => wall_clock::Host::now(&mut self.as_wasi_impl())
|
1268
|
+
.context("failed to call `wall_clock::now`")
|
1269
|
+
.map_err(types::Error::trap)?
|
1270
|
+
.try_into()?,
|
1271
|
+
types::Clockid::Monotonic => monotonic_clock::Host::now(&mut self.as_wasi_impl())
|
1272
|
+
.context("failed to call `monotonic_clock::now`")
|
1273
|
+
.map_err(types::Error::trap)?,
|
1274
|
+
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
1275
|
+
return Err(types::Errno::Badf.into())
|
1276
|
+
}
|
1277
|
+
};
|
1278
|
+
Ok(now)
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
#[instrument(skip(self, _memory))]
|
1282
|
+
async fn fd_advise(
|
1283
|
+
&mut self,
|
1284
|
+
_memory: &mut GuestMemory<'_>,
|
1285
|
+
fd: types::Fd,
|
1286
|
+
offset: types::Filesize,
|
1287
|
+
len: types::Filesize,
|
1288
|
+
advice: types::Advice,
|
1289
|
+
) -> Result<(), types::Error> {
|
1290
|
+
let fd = self.get_file_fd(fd)?;
|
1291
|
+
self.as_wasi_impl()
|
1292
|
+
.advise(fd, offset, len, advice.into())
|
1293
|
+
.await
|
1294
|
+
.map_err(|e| {
|
1295
|
+
e.try_into()
|
1296
|
+
.context("failed to call `advise`")
|
1297
|
+
.unwrap_or_else(types::Error::trap)
|
1298
|
+
})
|
1299
|
+
}
|
1300
|
+
|
1301
|
+
/// Force the allocation of space in a file.
|
1302
|
+
/// NOTE: This is similar to `posix_fallocate` in POSIX.
|
1303
|
+
#[instrument(skip(self, _memory))]
|
1304
|
+
fn fd_allocate(
|
1305
|
+
&mut self,
|
1306
|
+
_memory: &mut GuestMemory<'_>,
|
1307
|
+
fd: types::Fd,
|
1308
|
+
_offset: types::Filesize,
|
1309
|
+
_len: types::Filesize,
|
1310
|
+
) -> Result<(), types::Error> {
|
1311
|
+
self.get_file_fd(fd)?;
|
1312
|
+
Err(types::Errno::Notsup.into())
|
1313
|
+
}
|
1314
|
+
|
1315
|
+
/// Close a file descriptor.
|
1316
|
+
/// NOTE: This is similar to `close` in POSIX.
|
1317
|
+
#[instrument(skip(self, _memory))]
|
1318
|
+
async fn fd_close(
|
1319
|
+
&mut self,
|
1320
|
+
_memory: &mut GuestMemory<'_>,
|
1321
|
+
fd: types::Fd,
|
1322
|
+
) -> Result<(), types::Error> {
|
1323
|
+
let desc = self
|
1324
|
+
.transact()?
|
1325
|
+
.descriptors
|
1326
|
+
.remove(fd)
|
1327
|
+
.ok_or(types::Errno::Badf)?;
|
1328
|
+
match desc {
|
1329
|
+
Descriptor::Stdin { stream, .. } => {
|
1330
|
+
streams::HostInputStream::drop(&mut self.as_wasi_impl(), stream)
|
1331
|
+
.await
|
1332
|
+
.context("failed to call `drop` on `input-stream`")
|
1333
|
+
}
|
1334
|
+
Descriptor::Stdout { stream, .. } | Descriptor::Stderr { stream, .. } => {
|
1335
|
+
streams::HostOutputStream::drop(&mut self.as_wasi_impl(), stream)
|
1336
|
+
.await
|
1337
|
+
.context("failed to call `drop` on `output-stream`")
|
1338
|
+
}
|
1339
|
+
Descriptor::File(File { fd, .. }) | Descriptor::Directory { fd, .. } => {
|
1340
|
+
filesystem::HostDescriptor::drop(&mut self.as_wasi_impl(), fd)
|
1341
|
+
.context("failed to call `drop`")
|
1342
|
+
}
|
1343
|
+
}
|
1344
|
+
.map_err(types::Error::trap)
|
1345
|
+
}
|
1346
|
+
|
1347
|
+
/// Synchronize the data of a file to disk.
|
1348
|
+
/// NOTE: This is similar to `fdatasync` in POSIX.
|
1349
|
+
#[instrument(skip(self, _memory))]
|
1350
|
+
async fn fd_datasync(
|
1351
|
+
&mut self,
|
1352
|
+
_memory: &mut GuestMemory<'_>,
|
1353
|
+
fd: types::Fd,
|
1354
|
+
) -> Result<(), types::Error> {
|
1355
|
+
let fd = self.get_file_fd(fd)?;
|
1356
|
+
self.as_wasi_impl().sync_data(fd).await.map_err(|e| {
|
1357
|
+
e.try_into()
|
1358
|
+
.context("failed to call `sync-data`")
|
1359
|
+
.unwrap_or_else(types::Error::trap)
|
1360
|
+
})
|
1361
|
+
}
|
1362
|
+
|
1363
|
+
/// Get the attributes of a file descriptor.
|
1364
|
+
/// NOTE: This returns similar flags to `fsync(fd, F_GETFL)` in POSIX, as well as additional fields.
|
1365
|
+
#[instrument(skip(self, _memory))]
|
1366
|
+
async fn fd_fdstat_get(
|
1367
|
+
&mut self,
|
1368
|
+
_memory: &mut GuestMemory<'_>,
|
1369
|
+
fd: types::Fd,
|
1370
|
+
) -> Result<types::Fdstat, types::Error> {
|
1371
|
+
let (fd, blocking, append) = match self.transact()?.get_descriptor(fd)? {
|
1372
|
+
Descriptor::Stdin { isatty, .. } => {
|
1373
|
+
let fs_rights_base = types::Rights::FD_READ;
|
1374
|
+
return Ok(types::Fdstat {
|
1375
|
+
fs_filetype: (*isatty).into(),
|
1376
|
+
fs_flags: types::Fdflags::empty(),
|
1377
|
+
fs_rights_base,
|
1378
|
+
fs_rights_inheriting: fs_rights_base,
|
1379
|
+
});
|
1380
|
+
}
|
1381
|
+
Descriptor::Stdout { isatty, .. } | Descriptor::Stderr { isatty, .. } => {
|
1382
|
+
let fs_rights_base = types::Rights::FD_WRITE;
|
1383
|
+
return Ok(types::Fdstat {
|
1384
|
+
fs_filetype: (*isatty).into(),
|
1385
|
+
fs_flags: types::Fdflags::empty(),
|
1386
|
+
fs_rights_base,
|
1387
|
+
fs_rights_inheriting: fs_rights_base,
|
1388
|
+
});
|
1389
|
+
}
|
1390
|
+
Descriptor::Directory {
|
1391
|
+
preopen_path: Some(_),
|
1392
|
+
..
|
1393
|
+
} => {
|
1394
|
+
// Hard-coded set or rights expected by many userlands:
|
1395
|
+
let fs_rights_base = types::Rights::PATH_CREATE_DIRECTORY
|
1396
|
+
| types::Rights::PATH_CREATE_FILE
|
1397
|
+
| types::Rights::PATH_LINK_SOURCE
|
1398
|
+
| types::Rights::PATH_LINK_TARGET
|
1399
|
+
| types::Rights::PATH_OPEN
|
1400
|
+
| types::Rights::FD_READDIR
|
1401
|
+
| types::Rights::PATH_READLINK
|
1402
|
+
| types::Rights::PATH_RENAME_SOURCE
|
1403
|
+
| types::Rights::PATH_RENAME_TARGET
|
1404
|
+
| types::Rights::PATH_SYMLINK
|
1405
|
+
| types::Rights::PATH_REMOVE_DIRECTORY
|
1406
|
+
| types::Rights::PATH_UNLINK_FILE
|
1407
|
+
| types::Rights::PATH_FILESTAT_GET
|
1408
|
+
| types::Rights::PATH_FILESTAT_SET_TIMES
|
1409
|
+
| types::Rights::FD_FILESTAT_GET
|
1410
|
+
| types::Rights::FD_FILESTAT_SET_TIMES;
|
1411
|
+
|
1412
|
+
let fs_rights_inheriting = fs_rights_base
|
1413
|
+
| types::Rights::FD_DATASYNC
|
1414
|
+
| types::Rights::FD_READ
|
1415
|
+
| types::Rights::FD_SEEK
|
1416
|
+
| types::Rights::FD_FDSTAT_SET_FLAGS
|
1417
|
+
| types::Rights::FD_SYNC
|
1418
|
+
| types::Rights::FD_TELL
|
1419
|
+
| types::Rights::FD_WRITE
|
1420
|
+
| types::Rights::FD_ADVISE
|
1421
|
+
| types::Rights::FD_ALLOCATE
|
1422
|
+
| types::Rights::FD_FILESTAT_GET
|
1423
|
+
| types::Rights::FD_FILESTAT_SET_SIZE
|
1424
|
+
| types::Rights::FD_FILESTAT_SET_TIMES
|
1425
|
+
| types::Rights::POLL_FD_READWRITE;
|
1426
|
+
|
1427
|
+
return Ok(types::Fdstat {
|
1428
|
+
fs_filetype: types::Filetype::Directory,
|
1429
|
+
fs_flags: types::Fdflags::empty(),
|
1430
|
+
fs_rights_base,
|
1431
|
+
fs_rights_inheriting,
|
1432
|
+
});
|
1433
|
+
}
|
1434
|
+
Descriptor::Directory { fd, .. } => (fd.borrowed(), BlockingMode::Blocking, false),
|
1435
|
+
Descriptor::File(File {
|
1436
|
+
fd,
|
1437
|
+
blocking_mode,
|
1438
|
+
append,
|
1439
|
+
..
|
1440
|
+
}) => (fd.borrowed(), *blocking_mode, *append),
|
1441
|
+
};
|
1442
|
+
let flags = self
|
1443
|
+
.as_wasi_impl()
|
1444
|
+
.get_flags(fd.borrowed())
|
1445
|
+
.await
|
1446
|
+
.map_err(|e| {
|
1447
|
+
e.try_into()
|
1448
|
+
.context("failed to call `get-flags`")
|
1449
|
+
.unwrap_or_else(types::Error::trap)
|
1450
|
+
})?;
|
1451
|
+
let fs_filetype = self
|
1452
|
+
.as_wasi_impl()
|
1453
|
+
.get_type(fd.borrowed())
|
1454
|
+
.await
|
1455
|
+
.map_err(|e| {
|
1456
|
+
e.try_into()
|
1457
|
+
.context("failed to call `get-type`")
|
1458
|
+
.unwrap_or_else(types::Error::trap)
|
1459
|
+
})?
|
1460
|
+
.try_into()
|
1461
|
+
.map_err(types::Error::trap)?;
|
1462
|
+
let mut fs_flags = types::Fdflags::empty();
|
1463
|
+
let mut fs_rights_base = types::Rights::all();
|
1464
|
+
if let types::Filetype::Directory = fs_filetype {
|
1465
|
+
fs_rights_base &= !types::Rights::FD_SEEK;
|
1466
|
+
fs_rights_base &= !types::Rights::FD_FILESTAT_SET_SIZE;
|
1467
|
+
}
|
1468
|
+
if !flags.contains(filesystem::DescriptorFlags::READ) {
|
1469
|
+
fs_rights_base &= !types::Rights::FD_READ;
|
1470
|
+
fs_rights_base &= !types::Rights::FD_READDIR;
|
1471
|
+
}
|
1472
|
+
if !flags.contains(filesystem::DescriptorFlags::WRITE) {
|
1473
|
+
fs_rights_base &= !types::Rights::FD_WRITE;
|
1474
|
+
}
|
1475
|
+
if flags.contains(filesystem::DescriptorFlags::DATA_INTEGRITY_SYNC) {
|
1476
|
+
fs_flags |= types::Fdflags::DSYNC;
|
1477
|
+
}
|
1478
|
+
if flags.contains(filesystem::DescriptorFlags::REQUESTED_WRITE_SYNC) {
|
1479
|
+
fs_flags |= types::Fdflags::RSYNC;
|
1480
|
+
}
|
1481
|
+
if flags.contains(filesystem::DescriptorFlags::FILE_INTEGRITY_SYNC) {
|
1482
|
+
fs_flags |= types::Fdflags::SYNC;
|
1483
|
+
}
|
1484
|
+
if append {
|
1485
|
+
fs_flags |= types::Fdflags::APPEND;
|
1486
|
+
}
|
1487
|
+
if matches!(blocking, BlockingMode::NonBlocking) {
|
1488
|
+
fs_flags |= types::Fdflags::NONBLOCK;
|
1489
|
+
}
|
1490
|
+
Ok(types::Fdstat {
|
1491
|
+
fs_filetype,
|
1492
|
+
fs_flags,
|
1493
|
+
fs_rights_base,
|
1494
|
+
fs_rights_inheriting: fs_rights_base,
|
1495
|
+
})
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
/// Adjust the flags associated with a file descriptor.
|
1499
|
+
/// NOTE: This is similar to `fcntl(fd, F_SETFL, flags)` in POSIX.
|
1500
|
+
#[instrument(skip(self, _memory))]
|
1501
|
+
fn fd_fdstat_set_flags(
|
1502
|
+
&mut self,
|
1503
|
+
_memory: &mut GuestMemory<'_>,
|
1504
|
+
fd: types::Fd,
|
1505
|
+
flags: types::Fdflags,
|
1506
|
+
) -> Result<(), types::Error> {
|
1507
|
+
let mut st = self.transact()?;
|
1508
|
+
let File {
|
1509
|
+
append,
|
1510
|
+
blocking_mode,
|
1511
|
+
..
|
1512
|
+
} = st.get_file_mut(fd)?;
|
1513
|
+
|
1514
|
+
// Only support changing the NONBLOCK or APPEND flags.
|
1515
|
+
if flags.contains(types::Fdflags::DSYNC)
|
1516
|
+
|| flags.contains(types::Fdflags::SYNC)
|
1517
|
+
|| flags.contains(types::Fdflags::RSYNC)
|
1518
|
+
{
|
1519
|
+
return Err(types::Errno::Inval.into());
|
1520
|
+
}
|
1521
|
+
*append = flags.contains(types::Fdflags::APPEND);
|
1522
|
+
*blocking_mode = BlockingMode::from_fdflags(&flags);
|
1523
|
+
Ok(())
|
1524
|
+
}
|
1525
|
+
|
1526
|
+
/// Does not do anything if `fd` corresponds to a valid descriptor and returns `[types::Errno::Badf]` error otherwise.
|
1527
|
+
#[instrument(skip(self, _memory))]
|
1528
|
+
fn fd_fdstat_set_rights(
|
1529
|
+
&mut self,
|
1530
|
+
_memory: &mut GuestMemory<'_>,
|
1531
|
+
fd: types::Fd,
|
1532
|
+
_fs_rights_base: types::Rights,
|
1533
|
+
_fs_rights_inheriting: types::Rights,
|
1534
|
+
) -> Result<(), types::Error> {
|
1535
|
+
self.get_fd(fd)?;
|
1536
|
+
Ok(())
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
/// Return the attributes of an open file.
|
1540
|
+
#[instrument(skip(self, _memory))]
|
1541
|
+
async fn fd_filestat_get(
|
1542
|
+
&mut self,
|
1543
|
+
_memory: &mut GuestMemory<'_>,
|
1544
|
+
fd: types::Fd,
|
1545
|
+
) -> Result<types::Filestat, types::Error> {
|
1546
|
+
let t = self.transact()?;
|
1547
|
+
let desc = t.get_descriptor(fd)?;
|
1548
|
+
match desc {
|
1549
|
+
Descriptor::Stdin { isatty, .. }
|
1550
|
+
| Descriptor::Stdout { isatty, .. }
|
1551
|
+
| Descriptor::Stderr { isatty, .. } => Ok(types::Filestat {
|
1552
|
+
dev: 0,
|
1553
|
+
ino: 0,
|
1554
|
+
filetype: (*isatty).into(),
|
1555
|
+
nlink: 0,
|
1556
|
+
size: 0,
|
1557
|
+
atim: 0,
|
1558
|
+
mtim: 0,
|
1559
|
+
ctim: 0,
|
1560
|
+
}),
|
1561
|
+
Descriptor::Directory { fd, .. } | Descriptor::File(File { fd, .. }) => {
|
1562
|
+
let fd = fd.borrowed();
|
1563
|
+
drop(t);
|
1564
|
+
let filesystem::DescriptorStat {
|
1565
|
+
type_,
|
1566
|
+
link_count: nlink,
|
1567
|
+
size,
|
1568
|
+
data_access_timestamp,
|
1569
|
+
data_modification_timestamp,
|
1570
|
+
status_change_timestamp,
|
1571
|
+
} = self.as_wasi_impl().stat(fd.borrowed()).await.map_err(|e| {
|
1572
|
+
e.try_into()
|
1573
|
+
.context("failed to call `stat`")
|
1574
|
+
.unwrap_or_else(types::Error::trap)
|
1575
|
+
})?;
|
1576
|
+
let metadata_hash = self.as_wasi_impl().metadata_hash(fd).await.map_err(|e| {
|
1577
|
+
e.try_into()
|
1578
|
+
.context("failed to call `metadata_hash`")
|
1579
|
+
.unwrap_or_else(types::Error::trap)
|
1580
|
+
})?;
|
1581
|
+
let filetype = type_.try_into().map_err(types::Error::trap)?;
|
1582
|
+
let zero = wall_clock::Datetime {
|
1583
|
+
seconds: 0,
|
1584
|
+
nanoseconds: 0,
|
1585
|
+
};
|
1586
|
+
let atim = data_access_timestamp.unwrap_or(zero).try_into()?;
|
1587
|
+
let mtim = data_modification_timestamp.unwrap_or(zero).try_into()?;
|
1588
|
+
let ctim = status_change_timestamp.unwrap_or(zero).try_into()?;
|
1589
|
+
Ok(types::Filestat {
|
1590
|
+
dev: 1,
|
1591
|
+
ino: metadata_hash.lower,
|
1592
|
+
filetype,
|
1593
|
+
nlink,
|
1594
|
+
size,
|
1595
|
+
atim,
|
1596
|
+
mtim,
|
1597
|
+
ctim,
|
1598
|
+
})
|
1599
|
+
}
|
1600
|
+
}
|
1601
|
+
}
|
1602
|
+
|
1603
|
+
/// Adjust the size of an open file. If this increases the file's size, the extra bytes are filled with zeros.
|
1604
|
+
/// NOTE: This is similar to `ftruncate` in POSIX.
|
1605
|
+
#[instrument(skip(self, _memory))]
|
1606
|
+
async fn fd_filestat_set_size(
|
1607
|
+
&mut self,
|
1608
|
+
_memory: &mut GuestMemory<'_>,
|
1609
|
+
fd: types::Fd,
|
1610
|
+
size: types::Filesize,
|
1611
|
+
) -> Result<(), types::Error> {
|
1612
|
+
let fd = self.get_file_fd(fd)?;
|
1613
|
+
self.as_wasi_impl().set_size(fd, size).await.map_err(|e| {
|
1614
|
+
e.try_into()
|
1615
|
+
.context("failed to call `set-size`")
|
1616
|
+
.unwrap_or_else(types::Error::trap)
|
1617
|
+
})
|
1618
|
+
}
|
1619
|
+
|
1620
|
+
/// Adjust the timestamps of an open file or directory.
|
1621
|
+
/// NOTE: This is similar to `futimens` in POSIX.
|
1622
|
+
#[instrument(skip(self, _memory))]
|
1623
|
+
async fn fd_filestat_set_times(
|
1624
|
+
&mut self,
|
1625
|
+
_memory: &mut GuestMemory<'_>,
|
1626
|
+
fd: types::Fd,
|
1627
|
+
atim: types::Timestamp,
|
1628
|
+
mtim: types::Timestamp,
|
1629
|
+
fst_flags: types::Fstflags,
|
1630
|
+
) -> Result<(), types::Error> {
|
1631
|
+
let atim = systimespec(
|
1632
|
+
fst_flags.contains(types::Fstflags::ATIM),
|
1633
|
+
atim,
|
1634
|
+
fst_flags.contains(types::Fstflags::ATIM_NOW),
|
1635
|
+
)?;
|
1636
|
+
let mtim = systimespec(
|
1637
|
+
fst_flags.contains(types::Fstflags::MTIM),
|
1638
|
+
mtim,
|
1639
|
+
fst_flags.contains(types::Fstflags::MTIM_NOW),
|
1640
|
+
)?;
|
1641
|
+
|
1642
|
+
let fd = self.get_fd(fd)?;
|
1643
|
+
self.as_wasi_impl()
|
1644
|
+
.set_times(fd, atim, mtim)
|
1645
|
+
.await
|
1646
|
+
.map_err(|e| {
|
1647
|
+
e.try_into()
|
1648
|
+
.context("failed to call `set-times`")
|
1649
|
+
.unwrap_or_else(types::Error::trap)
|
1650
|
+
})
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
/// Read from a file descriptor.
|
1654
|
+
/// NOTE: This is similar to `readv` in POSIX.
|
1655
|
+
#[instrument(skip(self, memory))]
|
1656
|
+
async fn fd_read(
|
1657
|
+
&mut self,
|
1658
|
+
memory: &mut GuestMemory<'_>,
|
1659
|
+
fd: types::Fd,
|
1660
|
+
iovs: types::IovecArray,
|
1661
|
+
) -> Result<types::Size, types::Error> {
|
1662
|
+
let t = self.transact()?;
|
1663
|
+
let desc = t.get_descriptor(fd)?;
|
1664
|
+
match desc {
|
1665
|
+
Descriptor::File(File {
|
1666
|
+
fd,
|
1667
|
+
position,
|
1668
|
+
// NB: the nonblocking flag is intentionally ignored here and
|
1669
|
+
// blocking reads/writes are always performed.
|
1670
|
+
blocking_mode: _,
|
1671
|
+
..
|
1672
|
+
}) => {
|
1673
|
+
let fd = fd.borrowed();
|
1674
|
+
let position = position.clone();
|
1675
|
+
drop(t);
|
1676
|
+
let pos = position.load(Ordering::Relaxed);
|
1677
|
+
let file = self.table().get(&fd)?.file()?;
|
1678
|
+
let iov = first_non_empty_iovec(memory, iovs)?;
|
1679
|
+
let bytes_read = match (file.as_blocking_file(), memory.as_slice_mut(iov)?) {
|
1680
|
+
// Try to read directly into wasm memory where possible
|
1681
|
+
// when the current thread can block and additionally wasm
|
1682
|
+
// memory isn't shared.
|
1683
|
+
(Some(file), Some(mut buf)) => file
|
1684
|
+
.read_at(&mut buf, pos)
|
1685
|
+
.map_err(|e| StreamError::LastOperationFailed(e.into()))?,
|
1686
|
+
// ... otherwise fall back to performing the read on a
|
1687
|
+
// blocking thread and which copies the data back into wasm
|
1688
|
+
// memory.
|
1689
|
+
(_, buf) => {
|
1690
|
+
drop(buf);
|
1691
|
+
let mut buf = vec![0; iov.len() as usize];
|
1692
|
+
let buf = file
|
1693
|
+
.run_blocking(move |file| -> Result<_, types::Error> {
|
1694
|
+
let bytes_read = file
|
1695
|
+
.read_at(&mut buf, pos)
|
1696
|
+
.map_err(|e| StreamError::LastOperationFailed(e.into()))?;
|
1697
|
+
buf.truncate(bytes_read);
|
1698
|
+
Ok(buf)
|
1699
|
+
})
|
1700
|
+
.await?;
|
1701
|
+
let iov = iov.get_range(0..u32::try_from(buf.len())?).unwrap();
|
1702
|
+
memory.copy_from_slice(&buf, iov)?;
|
1703
|
+
buf.len()
|
1704
|
+
}
|
1705
|
+
};
|
1706
|
+
|
1707
|
+
let pos = pos
|
1708
|
+
.checked_add(bytes_read.try_into()?)
|
1709
|
+
.ok_or(types::Errno::Overflow)?;
|
1710
|
+
position.store(pos, Ordering::Relaxed);
|
1711
|
+
|
1712
|
+
Ok(bytes_read.try_into()?)
|
1713
|
+
}
|
1714
|
+
Descriptor::Stdin { stream, .. } => {
|
1715
|
+
let stream = stream.borrowed();
|
1716
|
+
drop(t);
|
1717
|
+
let buf = first_non_empty_iovec(memory, iovs)?;
|
1718
|
+
let read = BlockingMode::Blocking
|
1719
|
+
.read(&mut self.as_wasi_impl(), stream, buf.len().try_into()?)
|
1720
|
+
.await?;
|
1721
|
+
if read.len() > buf.len().try_into()? {
|
1722
|
+
return Err(types::Errno::Range.into());
|
1723
|
+
}
|
1724
|
+
let buf = buf.get_range(0..u32::try_from(read.len())?).unwrap();
|
1725
|
+
memory.copy_from_slice(&read, buf)?;
|
1726
|
+
let n = read.len().try_into()?;
|
1727
|
+
Ok(n)
|
1728
|
+
}
|
1729
|
+
_ => return Err(types::Errno::Badf.into()),
|
1730
|
+
}
|
1731
|
+
}
|
1732
|
+
|
1733
|
+
/// Read from a file descriptor, without using and updating the file descriptor's offset.
|
1734
|
+
/// NOTE: This is similar to `preadv` in POSIX.
|
1735
|
+
#[instrument(skip(self, memory))]
|
1736
|
+
async fn fd_pread(
|
1737
|
+
&mut self,
|
1738
|
+
memory: &mut GuestMemory<'_>,
|
1739
|
+
fd: types::Fd,
|
1740
|
+
iovs: types::IovecArray,
|
1741
|
+
offset: types::Filesize,
|
1742
|
+
) -> Result<types::Size, types::Error> {
|
1743
|
+
let t = self.transact()?;
|
1744
|
+
let desc = t.get_descriptor(fd)?;
|
1745
|
+
let (buf, read) = match desc {
|
1746
|
+
Descriptor::File(File {
|
1747
|
+
fd, blocking_mode, ..
|
1748
|
+
}) => {
|
1749
|
+
let fd = fd.borrowed();
|
1750
|
+
let blocking_mode = *blocking_mode;
|
1751
|
+
drop(t);
|
1752
|
+
let buf = first_non_empty_iovec(memory, iovs)?;
|
1753
|
+
|
1754
|
+
let stream = self
|
1755
|
+
.as_wasi_impl()
|
1756
|
+
.read_via_stream(fd, offset)
|
1757
|
+
.map_err(|e| {
|
1758
|
+
e.try_into()
|
1759
|
+
.context("failed to call `read-via-stream`")
|
1760
|
+
.unwrap_or_else(types::Error::trap)
|
1761
|
+
})?;
|
1762
|
+
let read = blocking_mode
|
1763
|
+
.read(
|
1764
|
+
&mut self.as_wasi_impl(),
|
1765
|
+
stream.borrowed(),
|
1766
|
+
buf.len().try_into()?,
|
1767
|
+
)
|
1768
|
+
.await;
|
1769
|
+
streams::HostInputStream::drop(&mut self.as_wasi_impl(), stream)
|
1770
|
+
.await
|
1771
|
+
.map_err(|e| types::Error::trap(e))?;
|
1772
|
+
(buf, read?)
|
1773
|
+
}
|
1774
|
+
Descriptor::Stdin { .. } => {
|
1775
|
+
// NOTE: legacy implementation returns SPIPE here
|
1776
|
+
return Err(types::Errno::Spipe.into());
|
1777
|
+
}
|
1778
|
+
_ => return Err(types::Errno::Badf.into()),
|
1779
|
+
};
|
1780
|
+
if read.len() > buf.len().try_into()? {
|
1781
|
+
return Err(types::Errno::Range.into());
|
1782
|
+
}
|
1783
|
+
let buf = buf.get_range(0..u32::try_from(read.len())?).unwrap();
|
1784
|
+
memory.copy_from_slice(&read, buf)?;
|
1785
|
+
let n = read.len().try_into()?;
|
1786
|
+
Ok(n)
|
1787
|
+
}
|
1788
|
+
|
1789
|
+
/// Write to a file descriptor.
|
1790
|
+
/// NOTE: This is similar to `writev` in POSIX.
|
1791
|
+
#[instrument(skip(self, memory))]
|
1792
|
+
async fn fd_write(
|
1793
|
+
&mut self,
|
1794
|
+
memory: &mut GuestMemory<'_>,
|
1795
|
+
fd: types::Fd,
|
1796
|
+
ciovs: types::CiovecArray,
|
1797
|
+
) -> Result<types::Size, types::Error> {
|
1798
|
+
self.fd_write_impl(memory, fd, ciovs, FdWrite::AtCur).await
|
1799
|
+
}
|
1800
|
+
|
1801
|
+
/// Write to a file descriptor, without using and updating the file descriptor's offset.
|
1802
|
+
/// NOTE: This is similar to `pwritev` in POSIX.
|
1803
|
+
#[instrument(skip(self, memory))]
|
1804
|
+
async fn fd_pwrite(
|
1805
|
+
&mut self,
|
1806
|
+
memory: &mut GuestMemory<'_>,
|
1807
|
+
fd: types::Fd,
|
1808
|
+
ciovs: types::CiovecArray,
|
1809
|
+
offset: types::Filesize,
|
1810
|
+
) -> Result<types::Size, types::Error> {
|
1811
|
+
self.fd_write_impl(memory, fd, ciovs, FdWrite::At(offset))
|
1812
|
+
.await
|
1813
|
+
}
|
1814
|
+
|
1815
|
+
/// Return a description of the given preopened file descriptor.
|
1816
|
+
#[instrument(skip(self, _memory))]
|
1817
|
+
fn fd_prestat_get(
|
1818
|
+
&mut self,
|
1819
|
+
_memory: &mut GuestMemory<'_>,
|
1820
|
+
fd: types::Fd,
|
1821
|
+
) -> Result<types::Prestat, types::Error> {
|
1822
|
+
if let Descriptor::Directory {
|
1823
|
+
preopen_path: Some(p),
|
1824
|
+
..
|
1825
|
+
} = self.transact()?.get_descriptor(fd)?
|
1826
|
+
{
|
1827
|
+
let pr_name_len = p.len().try_into()?;
|
1828
|
+
return Ok(types::Prestat::Dir(types::PrestatDir { pr_name_len }));
|
1829
|
+
}
|
1830
|
+
Err(types::Errno::Badf.into()) // NOTE: legacy implementation returns BADF here
|
1831
|
+
}
|
1832
|
+
|
1833
|
+
/// Return a description of the given preopened file descriptor.
|
1834
|
+
#[instrument(skip(self, memory))]
|
1835
|
+
fn fd_prestat_dir_name(
|
1836
|
+
&mut self,
|
1837
|
+
memory: &mut GuestMemory<'_>,
|
1838
|
+
fd: types::Fd,
|
1839
|
+
path: GuestPtr<u8>,
|
1840
|
+
path_max_len: types::Size,
|
1841
|
+
) -> Result<(), types::Error> {
|
1842
|
+
let path_max_len = path_max_len.try_into()?;
|
1843
|
+
if let Descriptor::Directory {
|
1844
|
+
preopen_path: Some(p),
|
1845
|
+
..
|
1846
|
+
} = self.transact()?.get_descriptor(fd)?
|
1847
|
+
{
|
1848
|
+
if p.len() > path_max_len {
|
1849
|
+
return Err(types::Errno::Nametoolong.into());
|
1850
|
+
}
|
1851
|
+
write_bytes(memory, path, p.as_bytes())?;
|
1852
|
+
return Ok(());
|
1853
|
+
}
|
1854
|
+
Err(types::Errno::Notdir.into()) // NOTE: legacy implementation returns NOTDIR here
|
1855
|
+
}
|
1856
|
+
|
1857
|
+
/// Atomically replace a file descriptor by renumbering another file descriptor.
|
1858
|
+
#[instrument(skip(self, _memory))]
|
1859
|
+
fn fd_renumber(
|
1860
|
+
&mut self,
|
1861
|
+
_memory: &mut GuestMemory<'_>,
|
1862
|
+
from: types::Fd,
|
1863
|
+
to: types::Fd,
|
1864
|
+
) -> Result<(), types::Error> {
|
1865
|
+
let mut st = self.transact()?;
|
1866
|
+
let desc = st.descriptors.remove(from).ok_or(types::Errno::Badf)?;
|
1867
|
+
st.descriptors.insert(to.into(), desc);
|
1868
|
+
Ok(())
|
1869
|
+
}
|
1870
|
+
|
1871
|
+
/// Move the offset of a file descriptor.
|
1872
|
+
/// NOTE: This is similar to `lseek` in POSIX.
|
1873
|
+
#[instrument(skip(self, _memory))]
|
1874
|
+
async fn fd_seek(
|
1875
|
+
&mut self,
|
1876
|
+
_memory: &mut GuestMemory<'_>,
|
1877
|
+
fd: types::Fd,
|
1878
|
+
offset: types::Filedelta,
|
1879
|
+
whence: types::Whence,
|
1880
|
+
) -> Result<types::Filesize, types::Error> {
|
1881
|
+
let t = self.transact()?;
|
1882
|
+
let File { fd, position, .. } = t.get_seekable(fd)?;
|
1883
|
+
let fd = fd.borrowed();
|
1884
|
+
let position = position.clone();
|
1885
|
+
drop(t);
|
1886
|
+
let pos = match whence {
|
1887
|
+
types::Whence::Set if offset >= 0 => {
|
1888
|
+
offset.try_into().map_err(|_| types::Errno::Inval)?
|
1889
|
+
}
|
1890
|
+
types::Whence::Cur => position
|
1891
|
+
.load(Ordering::Relaxed)
|
1892
|
+
.checked_add_signed(offset)
|
1893
|
+
.ok_or(types::Errno::Inval)?,
|
1894
|
+
types::Whence::End => {
|
1895
|
+
let filesystem::DescriptorStat { size, .. } =
|
1896
|
+
self.as_wasi_impl().stat(fd).await.map_err(|e| {
|
1897
|
+
e.try_into()
|
1898
|
+
.context("failed to call `stat`")
|
1899
|
+
.unwrap_or_else(types::Error::trap)
|
1900
|
+
})?;
|
1901
|
+
size.checked_add_signed(offset).ok_or(types::Errno::Inval)?
|
1902
|
+
}
|
1903
|
+
_ => return Err(types::Errno::Inval.into()),
|
1904
|
+
};
|
1905
|
+
position.store(pos, Ordering::Relaxed);
|
1906
|
+
Ok(pos)
|
1907
|
+
}
|
1908
|
+
|
1909
|
+
/// Synchronize the data and metadata of a file to disk.
|
1910
|
+
/// NOTE: This is similar to `fsync` in POSIX.
|
1911
|
+
#[instrument(skip(self, _memory))]
|
1912
|
+
async fn fd_sync(
|
1913
|
+
&mut self,
|
1914
|
+
_memory: &mut GuestMemory<'_>,
|
1915
|
+
fd: types::Fd,
|
1916
|
+
) -> Result<(), types::Error> {
|
1917
|
+
let fd = self.get_file_fd(fd)?;
|
1918
|
+
self.as_wasi_impl().sync(fd).await.map_err(|e| {
|
1919
|
+
e.try_into()
|
1920
|
+
.context("failed to call `sync`")
|
1921
|
+
.unwrap_or_else(types::Error::trap)
|
1922
|
+
})
|
1923
|
+
}
|
1924
|
+
|
1925
|
+
/// Return the current offset of a file descriptor.
|
1926
|
+
/// NOTE: This is similar to `lseek(fd, 0, SEEK_CUR)` in POSIX.
|
1927
|
+
#[instrument(skip(self, _memory))]
|
1928
|
+
fn fd_tell(
|
1929
|
+
&mut self,
|
1930
|
+
_memory: &mut GuestMemory<'_>,
|
1931
|
+
fd: types::Fd,
|
1932
|
+
) -> Result<types::Filesize, types::Error> {
|
1933
|
+
let pos = self
|
1934
|
+
.transact()?
|
1935
|
+
.get_seekable(fd)
|
1936
|
+
.map(|File { position, .. }| position.load(Ordering::Relaxed))?;
|
1937
|
+
Ok(pos)
|
1938
|
+
}
|
1939
|
+
|
1940
|
+
#[instrument(skip(self, memory))]
|
1941
|
+
async fn fd_readdir(
|
1942
|
+
&mut self,
|
1943
|
+
memory: &mut GuestMemory<'_>,
|
1944
|
+
fd: types::Fd,
|
1945
|
+
buf: GuestPtr<u8>,
|
1946
|
+
buf_len: types::Size,
|
1947
|
+
cookie: types::Dircookie,
|
1948
|
+
) -> Result<types::Size, types::Error> {
|
1949
|
+
let fd = self.get_dir_fd(fd)?;
|
1950
|
+
let stream = self
|
1951
|
+
.as_wasi_impl()
|
1952
|
+
.read_directory(fd.borrowed())
|
1953
|
+
.await
|
1954
|
+
.map_err(|e| {
|
1955
|
+
e.try_into()
|
1956
|
+
.context("failed to call `read-directory`")
|
1957
|
+
.unwrap_or_else(types::Error::trap)
|
1958
|
+
})?;
|
1959
|
+
let dir_metadata_hash = self
|
1960
|
+
.as_wasi_impl()
|
1961
|
+
.metadata_hash(fd.borrowed())
|
1962
|
+
.await
|
1963
|
+
.map_err(|e| {
|
1964
|
+
e.try_into()
|
1965
|
+
.context("failed to call `metadata-hash`")
|
1966
|
+
.unwrap_or_else(types::Error::trap)
|
1967
|
+
})?;
|
1968
|
+
let cookie = cookie.try_into().map_err(|_| types::Errno::Overflow)?;
|
1969
|
+
|
1970
|
+
let head = [
|
1971
|
+
(
|
1972
|
+
types::Dirent {
|
1973
|
+
d_next: 1u64.to_le(),
|
1974
|
+
d_ino: dir_metadata_hash.lower.to_le(),
|
1975
|
+
d_type: types::Filetype::Directory,
|
1976
|
+
d_namlen: 1u32.to_le(),
|
1977
|
+
},
|
1978
|
+
".".into(),
|
1979
|
+
),
|
1980
|
+
(
|
1981
|
+
types::Dirent {
|
1982
|
+
d_next: 2u64.to_le(),
|
1983
|
+
d_ino: dir_metadata_hash.lower.to_le(), // NOTE: incorrect, but legacy implementation returns `fd` inode here
|
1984
|
+
d_type: types::Filetype::Directory,
|
1985
|
+
d_namlen: 2u32.to_le(),
|
1986
|
+
},
|
1987
|
+
"..".into(),
|
1988
|
+
),
|
1989
|
+
];
|
1990
|
+
|
1991
|
+
let mut dir = Vec::new();
|
1992
|
+
for (entry, d_next) in self
|
1993
|
+
.table()
|
1994
|
+
// remove iterator from table and use it directly:
|
1995
|
+
.delete(stream)?
|
1996
|
+
.into_iter()
|
1997
|
+
.zip(3u64..)
|
1998
|
+
{
|
1999
|
+
let filesystem::DirectoryEntry { type_, name } = entry.map_err(|e| {
|
2000
|
+
e.try_into()
|
2001
|
+
.context("failed to inspect `read-directory` entry")
|
2002
|
+
.unwrap_or_else(types::Error::trap)
|
2003
|
+
})?;
|
2004
|
+
let metadata_hash = self
|
2005
|
+
.as_wasi_impl()
|
2006
|
+
.metadata_hash_at(fd.borrowed(), filesystem::PathFlags::empty(), name.clone())
|
2007
|
+
.await
|
2008
|
+
.map_err(|e| {
|
2009
|
+
e.try_into()
|
2010
|
+
.context("failed to call `metadata-hash-at`")
|
2011
|
+
.unwrap_or_else(types::Error::trap)
|
2012
|
+
})?;
|
2013
|
+
let d_type = type_.try_into().map_err(types::Error::trap)?;
|
2014
|
+
let d_namlen: u32 = name.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
2015
|
+
dir.push((
|
2016
|
+
types::Dirent {
|
2017
|
+
d_next: d_next.to_le(),
|
2018
|
+
d_ino: metadata_hash.lower.to_le(),
|
2019
|
+
d_type, // endian-invariant
|
2020
|
+
d_namlen: d_namlen.to_le(),
|
2021
|
+
},
|
2022
|
+
name,
|
2023
|
+
))
|
2024
|
+
}
|
2025
|
+
|
2026
|
+
// assume that `types::Dirent` size always fits in `u32`
|
2027
|
+
const DIRENT_SIZE: u32 = size_of::<types::Dirent>() as _;
|
2028
|
+
assert_eq!(
|
2029
|
+
types::Dirent::guest_size(),
|
2030
|
+
DIRENT_SIZE,
|
2031
|
+
"Dirent guest repr and host repr should match"
|
2032
|
+
);
|
2033
|
+
let mut buf = buf;
|
2034
|
+
let mut cap = buf_len;
|
2035
|
+
for (ref entry, path) in head.into_iter().chain(dir.into_iter()).skip(cookie) {
|
2036
|
+
let mut path = path.into_bytes();
|
2037
|
+
assert_eq!(
|
2038
|
+
1,
|
2039
|
+
size_of_val(&entry.d_type),
|
2040
|
+
"Dirent member d_type should be endian-invariant"
|
2041
|
+
);
|
2042
|
+
let entry_len = cap.min(DIRENT_SIZE);
|
2043
|
+
let entry = entry as *const _ as _;
|
2044
|
+
let entry = unsafe { slice::from_raw_parts(entry, entry_len as _) };
|
2045
|
+
cap = cap.checked_sub(entry_len).unwrap();
|
2046
|
+
buf = write_bytes(memory, buf, entry)?;
|
2047
|
+
if cap == 0 {
|
2048
|
+
return Ok(buf_len);
|
2049
|
+
}
|
2050
|
+
|
2051
|
+
if let Ok(cap) = cap.try_into() {
|
2052
|
+
// `path` cannot be longer than `usize`, only truncate if `cap` fits in `usize`
|
2053
|
+
path.truncate(cap);
|
2054
|
+
}
|
2055
|
+
cap = cap.checked_sub(path.len() as _).unwrap();
|
2056
|
+
buf = write_bytes(memory, buf, &path)?;
|
2057
|
+
if cap == 0 {
|
2058
|
+
return Ok(buf_len);
|
2059
|
+
}
|
2060
|
+
}
|
2061
|
+
Ok(buf_len.checked_sub(cap).unwrap())
|
2062
|
+
}
|
2063
|
+
|
2064
|
+
#[instrument(skip(self, memory))]
|
2065
|
+
async fn path_create_directory(
|
2066
|
+
&mut self,
|
2067
|
+
memory: &mut GuestMemory<'_>,
|
2068
|
+
dirfd: types::Fd,
|
2069
|
+
path: GuestPtr<str>,
|
2070
|
+
) -> Result<(), types::Error> {
|
2071
|
+
let dirfd = self.get_dir_fd(dirfd)?;
|
2072
|
+
let path = read_string(memory, path)?;
|
2073
|
+
self.as_wasi_impl()
|
2074
|
+
.create_directory_at(dirfd.borrowed(), path)
|
2075
|
+
.await
|
2076
|
+
.map_err(|e| {
|
2077
|
+
e.try_into()
|
2078
|
+
.context("failed to call `create-directory-at`")
|
2079
|
+
.unwrap_or_else(types::Error::trap)
|
2080
|
+
})
|
2081
|
+
}
|
2082
|
+
|
2083
|
+
/// Return the attributes of a file or directory.
|
2084
|
+
/// NOTE: This is similar to `stat` in POSIX.
|
2085
|
+
#[instrument(skip(self, memory))]
|
2086
|
+
async fn path_filestat_get(
|
2087
|
+
&mut self,
|
2088
|
+
memory: &mut GuestMemory<'_>,
|
2089
|
+
dirfd: types::Fd,
|
2090
|
+
flags: types::Lookupflags,
|
2091
|
+
path: GuestPtr<str>,
|
2092
|
+
) -> Result<types::Filestat, types::Error> {
|
2093
|
+
let dirfd = self.get_dir_fd(dirfd)?;
|
2094
|
+
let path = read_string(memory, path)?;
|
2095
|
+
let filesystem::DescriptorStat {
|
2096
|
+
type_,
|
2097
|
+
link_count: nlink,
|
2098
|
+
size,
|
2099
|
+
data_access_timestamp,
|
2100
|
+
data_modification_timestamp,
|
2101
|
+
status_change_timestamp,
|
2102
|
+
} = self
|
2103
|
+
.as_wasi_impl()
|
2104
|
+
.stat_at(dirfd.borrowed(), flags.into(), path.clone())
|
2105
|
+
.await
|
2106
|
+
.map_err(|e| {
|
2107
|
+
e.try_into()
|
2108
|
+
.context("failed to call `stat-at`")
|
2109
|
+
.unwrap_or_else(types::Error::trap)
|
2110
|
+
})?;
|
2111
|
+
let metadata_hash = self
|
2112
|
+
.as_wasi_impl()
|
2113
|
+
.metadata_hash_at(dirfd, flags.into(), path)
|
2114
|
+
.await
|
2115
|
+
.map_err(|e| {
|
2116
|
+
e.try_into()
|
2117
|
+
.context("failed to call `metadata-hash-at`")
|
2118
|
+
.unwrap_or_else(types::Error::trap)
|
2119
|
+
})?;
|
2120
|
+
let filetype = type_.try_into().map_err(types::Error::trap)?;
|
2121
|
+
let zero = wall_clock::Datetime {
|
2122
|
+
seconds: 0,
|
2123
|
+
nanoseconds: 0,
|
2124
|
+
};
|
2125
|
+
let atim = data_access_timestamp.unwrap_or(zero).try_into()?;
|
2126
|
+
let mtim = data_modification_timestamp.unwrap_or(zero).try_into()?;
|
2127
|
+
let ctim = status_change_timestamp.unwrap_or(zero).try_into()?;
|
2128
|
+
Ok(types::Filestat {
|
2129
|
+
dev: 1,
|
2130
|
+
ino: metadata_hash.lower,
|
2131
|
+
filetype,
|
2132
|
+
nlink,
|
2133
|
+
size,
|
2134
|
+
atim,
|
2135
|
+
mtim,
|
2136
|
+
ctim,
|
2137
|
+
})
|
2138
|
+
}
|
2139
|
+
|
2140
|
+
/// Adjust the timestamps of a file or directory.
|
2141
|
+
/// NOTE: This is similar to `utimensat` in POSIX.
|
2142
|
+
#[instrument(skip(self, memory))]
|
2143
|
+
async fn path_filestat_set_times(
|
2144
|
+
&mut self,
|
2145
|
+
memory: &mut GuestMemory<'_>,
|
2146
|
+
dirfd: types::Fd,
|
2147
|
+
flags: types::Lookupflags,
|
2148
|
+
path: GuestPtr<str>,
|
2149
|
+
atim: types::Timestamp,
|
2150
|
+
mtim: types::Timestamp,
|
2151
|
+
fst_flags: types::Fstflags,
|
2152
|
+
) -> Result<(), types::Error> {
|
2153
|
+
let atim = systimespec(
|
2154
|
+
fst_flags.contains(types::Fstflags::ATIM),
|
2155
|
+
atim,
|
2156
|
+
fst_flags.contains(types::Fstflags::ATIM_NOW),
|
2157
|
+
)?;
|
2158
|
+
let mtim = systimespec(
|
2159
|
+
fst_flags.contains(types::Fstflags::MTIM),
|
2160
|
+
mtim,
|
2161
|
+
fst_flags.contains(types::Fstflags::MTIM_NOW),
|
2162
|
+
)?;
|
2163
|
+
|
2164
|
+
let dirfd = self.get_dir_fd(dirfd)?;
|
2165
|
+
let path = read_string(memory, path)?;
|
2166
|
+
self.as_wasi_impl()
|
2167
|
+
.set_times_at(dirfd, flags.into(), path, atim, mtim)
|
2168
|
+
.await
|
2169
|
+
.map_err(|e| {
|
2170
|
+
e.try_into()
|
2171
|
+
.context("failed to call `set-times-at`")
|
2172
|
+
.unwrap_or_else(types::Error::trap)
|
2173
|
+
})
|
2174
|
+
}
|
2175
|
+
|
2176
|
+
/// Create a hard link.
|
2177
|
+
/// NOTE: This is similar to `linkat` in POSIX.
|
2178
|
+
#[instrument(skip(self, memory))]
|
2179
|
+
async fn path_link(
|
2180
|
+
&mut self,
|
2181
|
+
memory: &mut GuestMemory<'_>,
|
2182
|
+
src_fd: types::Fd,
|
2183
|
+
src_flags: types::Lookupflags,
|
2184
|
+
src_path: GuestPtr<str>,
|
2185
|
+
target_fd: types::Fd,
|
2186
|
+
target_path: GuestPtr<str>,
|
2187
|
+
) -> Result<(), types::Error> {
|
2188
|
+
let src_fd = self.get_dir_fd(src_fd)?;
|
2189
|
+
let target_fd = self.get_dir_fd(target_fd)?;
|
2190
|
+
let src_path = read_string(memory, src_path)?;
|
2191
|
+
let target_path = read_string(memory, target_path)?;
|
2192
|
+
self.as_wasi_impl()
|
2193
|
+
.link_at(src_fd, src_flags.into(), src_path, target_fd, target_path)
|
2194
|
+
.await
|
2195
|
+
.map_err(|e| {
|
2196
|
+
e.try_into()
|
2197
|
+
.context("failed to call `link-at`")
|
2198
|
+
.unwrap_or_else(types::Error::trap)
|
2199
|
+
})
|
2200
|
+
}
|
2201
|
+
|
2202
|
+
/// Open a file or directory.
|
2203
|
+
/// NOTE: This is similar to `openat` in POSIX.
|
2204
|
+
#[instrument(skip(self, memory))]
|
2205
|
+
async fn path_open(
|
2206
|
+
&mut self,
|
2207
|
+
memory: &mut GuestMemory<'_>,
|
2208
|
+
dirfd: types::Fd,
|
2209
|
+
dirflags: types::Lookupflags,
|
2210
|
+
path: GuestPtr<str>,
|
2211
|
+
oflags: types::Oflags,
|
2212
|
+
fs_rights_base: types::Rights,
|
2213
|
+
_fs_rights_inheriting: types::Rights,
|
2214
|
+
fdflags: types::Fdflags,
|
2215
|
+
) -> Result<types::Fd, types::Error> {
|
2216
|
+
let path = read_string(memory, path)?;
|
2217
|
+
|
2218
|
+
let mut flags = filesystem::DescriptorFlags::empty();
|
2219
|
+
if fs_rights_base.contains(types::Rights::FD_READ) {
|
2220
|
+
flags |= filesystem::DescriptorFlags::READ;
|
2221
|
+
}
|
2222
|
+
if fs_rights_base.contains(types::Rights::FD_WRITE) {
|
2223
|
+
flags |= filesystem::DescriptorFlags::WRITE;
|
2224
|
+
}
|
2225
|
+
if fdflags.contains(types::Fdflags::SYNC) {
|
2226
|
+
flags |= filesystem::DescriptorFlags::FILE_INTEGRITY_SYNC;
|
2227
|
+
}
|
2228
|
+
if fdflags.contains(types::Fdflags::DSYNC) {
|
2229
|
+
flags |= filesystem::DescriptorFlags::DATA_INTEGRITY_SYNC;
|
2230
|
+
}
|
2231
|
+
if fdflags.contains(types::Fdflags::RSYNC) {
|
2232
|
+
flags |= filesystem::DescriptorFlags::REQUESTED_WRITE_SYNC;
|
2233
|
+
}
|
2234
|
+
|
2235
|
+
let t = self.transact()?;
|
2236
|
+
let dirfd = match t.get_descriptor(dirfd)? {
|
2237
|
+
Descriptor::Directory { fd, .. } => fd.borrowed(),
|
2238
|
+
Descriptor::File(_) => return Err(types::Errno::Notdir.into()),
|
2239
|
+
_ => return Err(types::Errno::Badf.into()),
|
2240
|
+
};
|
2241
|
+
drop(t);
|
2242
|
+
let fd = self
|
2243
|
+
.as_wasi_impl()
|
2244
|
+
.open_at(dirfd, dirflags.into(), path, oflags.into(), flags)
|
2245
|
+
.await
|
2246
|
+
.map_err(|e| {
|
2247
|
+
e.try_into()
|
2248
|
+
.context("failed to call `open-at`")
|
2249
|
+
.unwrap_or_else(types::Error::trap)
|
2250
|
+
})?;
|
2251
|
+
let mut t = self.transact()?;
|
2252
|
+
let desc = match t.view.table().get(&fd)? {
|
2253
|
+
crate::filesystem::Descriptor::Dir(_) => Descriptor::Directory {
|
2254
|
+
fd,
|
2255
|
+
preopen_path: None,
|
2256
|
+
},
|
2257
|
+
crate::filesystem::Descriptor::File(_) => Descriptor::File(File {
|
2258
|
+
fd,
|
2259
|
+
position: Default::default(),
|
2260
|
+
append: fdflags.contains(types::Fdflags::APPEND),
|
2261
|
+
blocking_mode: BlockingMode::from_fdflags(&fdflags),
|
2262
|
+
}),
|
2263
|
+
};
|
2264
|
+
let fd = t.descriptors.push(desc)?;
|
2265
|
+
Ok(fd.into())
|
2266
|
+
}
|
2267
|
+
|
2268
|
+
/// Read the contents of a symbolic link.
|
2269
|
+
/// NOTE: This is similar to `readlinkat` in POSIX.
|
2270
|
+
#[instrument(skip(self, memory))]
|
2271
|
+
async fn path_readlink(
|
2272
|
+
&mut self,
|
2273
|
+
memory: &mut GuestMemory<'_>,
|
2274
|
+
dirfd: types::Fd,
|
2275
|
+
path: GuestPtr<str>,
|
2276
|
+
buf: GuestPtr<u8>,
|
2277
|
+
buf_len: types::Size,
|
2278
|
+
) -> Result<types::Size, types::Error> {
|
2279
|
+
let dirfd = self.get_dir_fd(dirfd)?;
|
2280
|
+
let path = read_string(memory, path)?;
|
2281
|
+
let mut path = self
|
2282
|
+
.as_wasi_impl()
|
2283
|
+
.readlink_at(dirfd, path)
|
2284
|
+
.await
|
2285
|
+
.map_err(|e| {
|
2286
|
+
e.try_into()
|
2287
|
+
.context("failed to call `readlink-at`")
|
2288
|
+
.unwrap_or_else(types::Error::trap)
|
2289
|
+
})?
|
2290
|
+
.into_bytes();
|
2291
|
+
if let Ok(buf_len) = buf_len.try_into() {
|
2292
|
+
// `path` cannot be longer than `usize`, only truncate if `buf_len` fits in `usize`
|
2293
|
+
path.truncate(buf_len);
|
2294
|
+
}
|
2295
|
+
let n = path.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
2296
|
+
write_bytes(memory, buf, &path)?;
|
2297
|
+
Ok(n)
|
2298
|
+
}
|
2299
|
+
|
2300
|
+
#[instrument(skip(self, memory))]
|
2301
|
+
async fn path_remove_directory(
|
2302
|
+
&mut self,
|
2303
|
+
memory: &mut GuestMemory<'_>,
|
2304
|
+
dirfd: types::Fd,
|
2305
|
+
path: GuestPtr<str>,
|
2306
|
+
) -> Result<(), types::Error> {
|
2307
|
+
let dirfd = self.get_dir_fd(dirfd)?;
|
2308
|
+
let path = read_string(memory, path)?;
|
2309
|
+
self.as_wasi_impl()
|
2310
|
+
.remove_directory_at(dirfd, path)
|
2311
|
+
.await
|
2312
|
+
.map_err(|e| {
|
2313
|
+
e.try_into()
|
2314
|
+
.context("failed to call `remove-directory-at`")
|
2315
|
+
.unwrap_or_else(types::Error::trap)
|
2316
|
+
})
|
2317
|
+
}
|
2318
|
+
|
2319
|
+
/// Rename a file or directory.
|
2320
|
+
/// NOTE: This is similar to `renameat` in POSIX.
|
2321
|
+
#[instrument(skip(self, memory))]
|
2322
|
+
async fn path_rename(
|
2323
|
+
&mut self,
|
2324
|
+
memory: &mut GuestMemory<'_>,
|
2325
|
+
src_fd: types::Fd,
|
2326
|
+
src_path: GuestPtr<str>,
|
2327
|
+
dest_fd: types::Fd,
|
2328
|
+
dest_path: GuestPtr<str>,
|
2329
|
+
) -> Result<(), types::Error> {
|
2330
|
+
let src_fd = self.get_dir_fd(src_fd)?;
|
2331
|
+
let dest_fd = self.get_dir_fd(dest_fd)?;
|
2332
|
+
let src_path = read_string(memory, src_path)?;
|
2333
|
+
let dest_path = read_string(memory, dest_path)?;
|
2334
|
+
self.as_wasi_impl()
|
2335
|
+
.rename_at(src_fd, src_path, dest_fd, dest_path)
|
2336
|
+
.await
|
2337
|
+
.map_err(|e| {
|
2338
|
+
e.try_into()
|
2339
|
+
.context("failed to call `rename-at`")
|
2340
|
+
.unwrap_or_else(types::Error::trap)
|
2341
|
+
})
|
2342
|
+
}
|
2343
|
+
|
2344
|
+
#[instrument(skip(self, memory))]
|
2345
|
+
async fn path_symlink(
|
2346
|
+
&mut self,
|
2347
|
+
memory: &mut GuestMemory<'_>,
|
2348
|
+
src_path: GuestPtr<str>,
|
2349
|
+
dirfd: types::Fd,
|
2350
|
+
dest_path: GuestPtr<str>,
|
2351
|
+
) -> Result<(), types::Error> {
|
2352
|
+
let dirfd = self.get_dir_fd(dirfd)?;
|
2353
|
+
let src_path = read_string(memory, src_path)?;
|
2354
|
+
let dest_path = read_string(memory, dest_path)?;
|
2355
|
+
self.as_wasi_impl()
|
2356
|
+
.symlink_at(dirfd.borrowed(), src_path, dest_path)
|
2357
|
+
.await
|
2358
|
+
.map_err(|e| {
|
2359
|
+
e.try_into()
|
2360
|
+
.context("failed to call `symlink-at`")
|
2361
|
+
.unwrap_or_else(types::Error::trap)
|
2362
|
+
})
|
2363
|
+
}
|
2364
|
+
|
2365
|
+
#[instrument(skip(self, memory))]
|
2366
|
+
async fn path_unlink_file(
|
2367
|
+
&mut self,
|
2368
|
+
memory: &mut GuestMemory<'_>,
|
2369
|
+
dirfd: types::Fd,
|
2370
|
+
path: GuestPtr<str>,
|
2371
|
+
) -> Result<(), types::Error> {
|
2372
|
+
let dirfd = self.get_dir_fd(dirfd)?;
|
2373
|
+
let path = memory.as_cow_str(path)?.into_owned();
|
2374
|
+
self.as_wasi_impl()
|
2375
|
+
.unlink_file_at(dirfd.borrowed(), path)
|
2376
|
+
.await
|
2377
|
+
.map_err(|e| {
|
2378
|
+
e.try_into()
|
2379
|
+
.context("failed to call `unlink-file-at`")
|
2380
|
+
.unwrap_or_else(types::Error::trap)
|
2381
|
+
})
|
2382
|
+
}
|
2383
|
+
|
2384
|
+
#[instrument(skip(self, memory))]
|
2385
|
+
async fn poll_oneoff(
|
2386
|
+
&mut self,
|
2387
|
+
memory: &mut GuestMemory<'_>,
|
2388
|
+
subs: GuestPtr<types::Subscription>,
|
2389
|
+
events: GuestPtr<types::Event>,
|
2390
|
+
nsubscriptions: types::Size,
|
2391
|
+
) -> Result<types::Size, types::Error> {
|
2392
|
+
if nsubscriptions == 0 {
|
2393
|
+
// Indefinite sleeping is not supported in preview1.
|
2394
|
+
return Err(types::Errno::Inval.into());
|
2395
|
+
}
|
2396
|
+
|
2397
|
+
// This is a special case where `poll_oneoff` is just sleeping
|
2398
|
+
// on a single relative timer event. This special case was added
|
2399
|
+
// after experimental observations showed that std::thread::sleep
|
2400
|
+
// results in more consistent sleep times. This design ensures that
|
2401
|
+
// wasmtime can handle real-time requirements more accurately.
|
2402
|
+
if nsubscriptions == 1 {
|
2403
|
+
let sub = memory.read(subs)?;
|
2404
|
+
if let types::SubscriptionU::Clock(clocksub) = sub.u {
|
2405
|
+
if !clocksub
|
2406
|
+
.flags
|
2407
|
+
.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME)
|
2408
|
+
&& self.ctx().allow_blocking_current_thread
|
2409
|
+
{
|
2410
|
+
std::thread::sleep(std::time::Duration::from_nanos(clocksub.timeout));
|
2411
|
+
memory.write(
|
2412
|
+
events,
|
2413
|
+
types::Event {
|
2414
|
+
userdata: sub.userdata,
|
2415
|
+
error: types::Errno::Success,
|
2416
|
+
type_: types::Eventtype::Clock,
|
2417
|
+
fd_readwrite: types::EventFdReadwrite {
|
2418
|
+
flags: types::Eventrwflags::empty(),
|
2419
|
+
nbytes: 1,
|
2420
|
+
},
|
2421
|
+
},
|
2422
|
+
)?;
|
2423
|
+
return Ok(1);
|
2424
|
+
}
|
2425
|
+
}
|
2426
|
+
}
|
2427
|
+
|
2428
|
+
let subs = subs.as_array(nsubscriptions);
|
2429
|
+
let events = events.as_array(nsubscriptions);
|
2430
|
+
|
2431
|
+
let n = usize::try_from(nsubscriptions).unwrap_or(usize::MAX);
|
2432
|
+
let mut pollables = Vec::with_capacity(n);
|
2433
|
+
for sub in subs.iter() {
|
2434
|
+
let sub = memory.read(sub?)?;
|
2435
|
+
let p = match sub.u {
|
2436
|
+
types::SubscriptionU::Clock(types::SubscriptionClock {
|
2437
|
+
id,
|
2438
|
+
timeout,
|
2439
|
+
flags,
|
2440
|
+
..
|
2441
|
+
}) => {
|
2442
|
+
let absolute = flags.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME);
|
2443
|
+
let (timeout, absolute) = match id {
|
2444
|
+
types::Clockid::Monotonic => (timeout, absolute),
|
2445
|
+
types::Clockid::Realtime if !absolute => (timeout, false),
|
2446
|
+
types::Clockid::Realtime => {
|
2447
|
+
let now = wall_clock::Host::now(&mut self.as_wasi_impl())
|
2448
|
+
.context("failed to call `wall_clock::now`")
|
2449
|
+
.map_err(types::Error::trap)?;
|
2450
|
+
|
2451
|
+
// Convert `timeout` to `Datetime` format.
|
2452
|
+
let seconds = timeout / 1_000_000_000;
|
2453
|
+
let nanoseconds = timeout % 1_000_000_000;
|
2454
|
+
|
2455
|
+
let timeout = if now.seconds < seconds
|
2456
|
+
|| now.seconds == seconds
|
2457
|
+
&& u64::from(now.nanoseconds) < nanoseconds
|
2458
|
+
{
|
2459
|
+
// `now` is less than `timeout`, which is expressible as u64,
|
2460
|
+
// subtract the nanosecond counts directly
|
2461
|
+
now.seconds * 1_000_000_000 + u64::from(now.nanoseconds) - timeout
|
2462
|
+
} else {
|
2463
|
+
0
|
2464
|
+
};
|
2465
|
+
(timeout, false)
|
2466
|
+
}
|
2467
|
+
_ => return Err(types::Errno::Inval.into()),
|
2468
|
+
};
|
2469
|
+
if absolute {
|
2470
|
+
monotonic_clock::Host::subscribe_instant(&mut self.as_wasi_impl(), timeout)
|
2471
|
+
.context("failed to call `monotonic_clock::subscribe_instant`")
|
2472
|
+
.map_err(types::Error::trap)?
|
2473
|
+
} else {
|
2474
|
+
monotonic_clock::Host::subscribe_duration(&mut self.as_wasi_impl(), timeout)
|
2475
|
+
.context("failed to call `monotonic_clock::subscribe_duration`")
|
2476
|
+
.map_err(types::Error::trap)?
|
2477
|
+
}
|
2478
|
+
}
|
2479
|
+
types::SubscriptionU::FdRead(types::SubscriptionFdReadwrite {
|
2480
|
+
file_descriptor,
|
2481
|
+
}) => {
|
2482
|
+
let stream = {
|
2483
|
+
let t = self.transact()?;
|
2484
|
+
let desc = t.get_descriptor(file_descriptor)?;
|
2485
|
+
match desc {
|
2486
|
+
Descriptor::Stdin { stream, .. } => stream.borrowed(),
|
2487
|
+
Descriptor::File(File { fd, position, .. }) => {
|
2488
|
+
let pos = position.load(Ordering::Relaxed);
|
2489
|
+
let fd = fd.borrowed();
|
2490
|
+
drop(t);
|
2491
|
+
self.as_wasi_impl().read_via_stream(fd, pos).map_err(|e| {
|
2492
|
+
e.try_into()
|
2493
|
+
.context("failed to call `read-via-stream`")
|
2494
|
+
.unwrap_or_else(types::Error::trap)
|
2495
|
+
})?
|
2496
|
+
}
|
2497
|
+
// TODO: Support sockets
|
2498
|
+
_ => return Err(types::Errno::Badf.into()),
|
2499
|
+
}
|
2500
|
+
};
|
2501
|
+
streams::HostInputStream::subscribe(&mut self.as_wasi_impl(), stream)
|
2502
|
+
.context("failed to call `subscribe` on `input-stream`")
|
2503
|
+
.map_err(types::Error::trap)?
|
2504
|
+
}
|
2505
|
+
types::SubscriptionU::FdWrite(types::SubscriptionFdReadwrite {
|
2506
|
+
file_descriptor,
|
2507
|
+
}) => {
|
2508
|
+
let stream = {
|
2509
|
+
let t = self.transact()?;
|
2510
|
+
let desc = t.get_descriptor(file_descriptor)?;
|
2511
|
+
match desc {
|
2512
|
+
Descriptor::Stdout { stream, .. }
|
2513
|
+
| Descriptor::Stderr { stream, .. } => stream.borrowed(),
|
2514
|
+
Descriptor::File(File {
|
2515
|
+
fd,
|
2516
|
+
position,
|
2517
|
+
append,
|
2518
|
+
..
|
2519
|
+
}) => {
|
2520
|
+
let fd = fd.borrowed();
|
2521
|
+
let position = position.clone();
|
2522
|
+
let append = *append;
|
2523
|
+
drop(t);
|
2524
|
+
if append {
|
2525
|
+
self.as_wasi_impl().append_via_stream(fd).map_err(|e| {
|
2526
|
+
e.try_into()
|
2527
|
+
.context("failed to call `append-via-stream`")
|
2528
|
+
.unwrap_or_else(types::Error::trap)
|
2529
|
+
})?
|
2530
|
+
} else {
|
2531
|
+
let pos = position.load(Ordering::Relaxed);
|
2532
|
+
self.as_wasi_impl().write_via_stream(fd, pos).map_err(|e| {
|
2533
|
+
e.try_into()
|
2534
|
+
.context("failed to call `write-via-stream`")
|
2535
|
+
.unwrap_or_else(types::Error::trap)
|
2536
|
+
})?
|
2537
|
+
}
|
2538
|
+
}
|
2539
|
+
// TODO: Support sockets
|
2540
|
+
_ => return Err(types::Errno::Badf.into()),
|
2541
|
+
}
|
2542
|
+
};
|
2543
|
+
streams::HostOutputStream::subscribe(&mut self.as_wasi_impl(), stream)
|
2544
|
+
.context("failed to call `subscribe` on `output-stream`")
|
2545
|
+
.map_err(types::Error::trap)?
|
2546
|
+
}
|
2547
|
+
};
|
2548
|
+
pollables.push(p);
|
2549
|
+
}
|
2550
|
+
let ready: HashSet<_> = self
|
2551
|
+
.as_wasi_impl()
|
2552
|
+
.poll(pollables)
|
2553
|
+
.await
|
2554
|
+
.context("failed to call `poll-oneoff`")
|
2555
|
+
.map_err(types::Error::trap)?
|
2556
|
+
.into_iter()
|
2557
|
+
.collect();
|
2558
|
+
|
2559
|
+
let mut count: types::Size = 0;
|
2560
|
+
for (sub, event) in (0..)
|
2561
|
+
.zip(subs.iter())
|
2562
|
+
.filter_map(|(idx, sub)| ready.contains(&idx).then_some(sub))
|
2563
|
+
.zip(events.iter())
|
2564
|
+
{
|
2565
|
+
let sub = memory.read(sub?)?;
|
2566
|
+
let event = event?;
|
2567
|
+
let e = match sub.u {
|
2568
|
+
types::SubscriptionU::Clock(..) => types::Event {
|
2569
|
+
userdata: sub.userdata,
|
2570
|
+
error: types::Errno::Success,
|
2571
|
+
type_: types::Eventtype::Clock,
|
2572
|
+
fd_readwrite: types::EventFdReadwrite {
|
2573
|
+
flags: types::Eventrwflags::empty(),
|
2574
|
+
nbytes: 0,
|
2575
|
+
},
|
2576
|
+
},
|
2577
|
+
types::SubscriptionU::FdRead(types::SubscriptionFdReadwrite {
|
2578
|
+
file_descriptor,
|
2579
|
+
}) => {
|
2580
|
+
let t = self.transact()?;
|
2581
|
+
let desc = t.get_descriptor(file_descriptor)?;
|
2582
|
+
match desc {
|
2583
|
+
Descriptor::Stdin { .. } => types::Event {
|
2584
|
+
userdata: sub.userdata,
|
2585
|
+
error: types::Errno::Success,
|
2586
|
+
type_: types::Eventtype::FdRead,
|
2587
|
+
fd_readwrite: types::EventFdReadwrite {
|
2588
|
+
flags: types::Eventrwflags::empty(),
|
2589
|
+
nbytes: 1,
|
2590
|
+
},
|
2591
|
+
},
|
2592
|
+
Descriptor::File(File { fd, position, .. }) => {
|
2593
|
+
let fd = fd.borrowed();
|
2594
|
+
let position = position.clone();
|
2595
|
+
drop(t);
|
2596
|
+
match self.as_wasi_impl().stat(fd).await? {
|
2597
|
+
filesystem::DescriptorStat { size, .. } => {
|
2598
|
+
let pos = position.load(Ordering::Relaxed);
|
2599
|
+
let nbytes = size.saturating_sub(pos);
|
2600
|
+
types::Event {
|
2601
|
+
userdata: sub.userdata,
|
2602
|
+
error: types::Errno::Success,
|
2603
|
+
type_: types::Eventtype::FdRead,
|
2604
|
+
fd_readwrite: types::EventFdReadwrite {
|
2605
|
+
flags: if nbytes == 0 {
|
2606
|
+
types::Eventrwflags::FD_READWRITE_HANGUP
|
2607
|
+
} else {
|
2608
|
+
types::Eventrwflags::empty()
|
2609
|
+
},
|
2610
|
+
nbytes: 1,
|
2611
|
+
},
|
2612
|
+
}
|
2613
|
+
}
|
2614
|
+
}
|
2615
|
+
}
|
2616
|
+
// TODO: Support sockets
|
2617
|
+
_ => return Err(types::Errno::Badf.into()),
|
2618
|
+
}
|
2619
|
+
}
|
2620
|
+
types::SubscriptionU::FdWrite(types::SubscriptionFdReadwrite {
|
2621
|
+
file_descriptor,
|
2622
|
+
}) => {
|
2623
|
+
let t = self.transact()?;
|
2624
|
+
let desc = t.get_descriptor(file_descriptor)?;
|
2625
|
+
match desc {
|
2626
|
+
Descriptor::Stdout { .. } | Descriptor::Stderr { .. } => types::Event {
|
2627
|
+
userdata: sub.userdata,
|
2628
|
+
error: types::Errno::Success,
|
2629
|
+
type_: types::Eventtype::FdWrite,
|
2630
|
+
fd_readwrite: types::EventFdReadwrite {
|
2631
|
+
flags: types::Eventrwflags::empty(),
|
2632
|
+
nbytes: 1,
|
2633
|
+
},
|
2634
|
+
},
|
2635
|
+
Descriptor::File(_) => types::Event {
|
2636
|
+
userdata: sub.userdata,
|
2637
|
+
error: types::Errno::Success,
|
2638
|
+
type_: types::Eventtype::FdWrite,
|
2639
|
+
fd_readwrite: types::EventFdReadwrite {
|
2640
|
+
flags: types::Eventrwflags::empty(),
|
2641
|
+
nbytes: 1,
|
2642
|
+
},
|
2643
|
+
},
|
2644
|
+
// TODO: Support sockets
|
2645
|
+
_ => return Err(types::Errno::Badf.into()),
|
2646
|
+
}
|
2647
|
+
}
|
2648
|
+
};
|
2649
|
+
memory.write(event, e)?;
|
2650
|
+
count = count
|
2651
|
+
.checked_add(1)
|
2652
|
+
.ok_or_else(|| types::Error::from(types::Errno::Overflow))?
|
2653
|
+
}
|
2654
|
+
Ok(count)
|
2655
|
+
}
|
2656
|
+
|
2657
|
+
#[instrument(skip(self, _memory))]
|
2658
|
+
fn proc_exit(
|
2659
|
+
&mut self,
|
2660
|
+
_memory: &mut GuestMemory<'_>,
|
2661
|
+
status: types::Exitcode,
|
2662
|
+
) -> anyhow::Error {
|
2663
|
+
// Check that the status is within WASI's range.
|
2664
|
+
if status >= 126 {
|
2665
|
+
return anyhow::Error::msg("exit with invalid exit status outside of [0..126)");
|
2666
|
+
}
|
2667
|
+
crate::I32Exit(status as i32).into()
|
2668
|
+
}
|
2669
|
+
|
2670
|
+
#[instrument(skip(self, _memory))]
|
2671
|
+
fn proc_raise(
|
2672
|
+
&mut self,
|
2673
|
+
_memory: &mut GuestMemory<'_>,
|
2674
|
+
_sig: types::Signal,
|
2675
|
+
) -> Result<(), types::Error> {
|
2676
|
+
Err(types::Errno::Notsup.into())
|
2677
|
+
}
|
2678
|
+
|
2679
|
+
#[instrument(skip(self, _memory))]
|
2680
|
+
fn sched_yield(&mut self, _memory: &mut GuestMemory<'_>) -> Result<(), types::Error> {
|
2681
|
+
// No such thing in preview 2. Intentionally left empty.
|
2682
|
+
Ok(())
|
2683
|
+
}
|
2684
|
+
|
2685
|
+
#[instrument(skip(self, memory))]
|
2686
|
+
fn random_get(
|
2687
|
+
&mut self,
|
2688
|
+
memory: &mut GuestMemory<'_>,
|
2689
|
+
buf: GuestPtr<u8>,
|
2690
|
+
buf_len: types::Size,
|
2691
|
+
) -> Result<(), types::Error> {
|
2692
|
+
let rand = self
|
2693
|
+
.as_wasi_impl()
|
2694
|
+
.get_random_bytes(buf_len.into())
|
2695
|
+
.context("failed to call `get-random-bytes`")
|
2696
|
+
.map_err(types::Error::trap)?;
|
2697
|
+
write_bytes(memory, buf, &rand)?;
|
2698
|
+
Ok(())
|
2699
|
+
}
|
2700
|
+
|
2701
|
+
#[allow(unused_variables)]
|
2702
|
+
#[instrument(skip(self, _memory))]
|
2703
|
+
fn sock_accept(
|
2704
|
+
&mut self,
|
2705
|
+
_memory: &mut GuestMemory<'_>,
|
2706
|
+
fd: types::Fd,
|
2707
|
+
flags: types::Fdflags,
|
2708
|
+
) -> Result<types::Fd, types::Error> {
|
2709
|
+
tracing::warn!("preview1 sock_accept is not implemented");
|
2710
|
+
self.transact()?.get_descriptor(fd)?;
|
2711
|
+
Err(types::Errno::Notsock.into())
|
2712
|
+
}
|
2713
|
+
|
2714
|
+
#[allow(unused_variables)]
|
2715
|
+
#[instrument(skip(self, _memory))]
|
2716
|
+
fn sock_recv(
|
2717
|
+
&mut self,
|
2718
|
+
_memory: &mut GuestMemory<'_>,
|
2719
|
+
fd: types::Fd,
|
2720
|
+
ri_data: types::IovecArray,
|
2721
|
+
ri_flags: types::Riflags,
|
2722
|
+
) -> Result<(types::Size, types::Roflags), types::Error> {
|
2723
|
+
tracing::warn!("preview1 sock_recv is not implemented");
|
2724
|
+
self.transact()?.get_descriptor(fd)?;
|
2725
|
+
Err(types::Errno::Notsock.into())
|
2726
|
+
}
|
2727
|
+
|
2728
|
+
#[allow(unused_variables)]
|
2729
|
+
#[instrument(skip(self, _memory))]
|
2730
|
+
fn sock_send(
|
2731
|
+
&mut self,
|
2732
|
+
_memory: &mut GuestMemory<'_>,
|
2733
|
+
fd: types::Fd,
|
2734
|
+
si_data: types::CiovecArray,
|
2735
|
+
_si_flags: types::Siflags,
|
2736
|
+
) -> Result<types::Size, types::Error> {
|
2737
|
+
tracing::warn!("preview1 sock_send is not implemented");
|
2738
|
+
self.transact()?.get_descriptor(fd)?;
|
2739
|
+
Err(types::Errno::Notsock.into())
|
2740
|
+
}
|
2741
|
+
|
2742
|
+
#[allow(unused_variables)]
|
2743
|
+
#[instrument(skip(self, _memory))]
|
2744
|
+
fn sock_shutdown(
|
2745
|
+
&mut self,
|
2746
|
+
_memory: &mut GuestMemory<'_>,
|
2747
|
+
fd: types::Fd,
|
2748
|
+
how: types::Sdflags,
|
2749
|
+
) -> Result<(), types::Error> {
|
2750
|
+
tracing::warn!("preview1 sock_shutdown is not implemented");
|
2751
|
+
self.transact()?.get_descriptor(fd)?;
|
2752
|
+
Err(types::Errno::Notsock.into())
|
2753
|
+
}
|
2754
|
+
}
|
2755
|
+
|
2756
|
+
trait ResourceExt<T> {
|
2757
|
+
fn borrowed(&self) -> Resource<T>;
|
2758
|
+
}
|
2759
|
+
|
2760
|
+
impl<T: 'static> ResourceExt<T> for Resource<T> {
|
2761
|
+
fn borrowed(&self) -> Resource<T> {
|
2762
|
+
Resource::new_borrow(self.rep())
|
2763
|
+
}
|
2764
|
+
}
|