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
@@ -1,2801 +0,0 @@
|
|
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
|
-
#[derive(Clone, Copy, Debug)]
|
187
|
-
enum BlockingMode {
|
188
|
-
Blocking,
|
189
|
-
NonBlocking,
|
190
|
-
}
|
191
|
-
impl BlockingMode {
|
192
|
-
fn from_fdflags(flags: &types::Fdflags) -> Self {
|
193
|
-
if flags.contains(types::Fdflags::NONBLOCK) {
|
194
|
-
BlockingMode::NonBlocking
|
195
|
-
} else {
|
196
|
-
BlockingMode::Blocking
|
197
|
-
}
|
198
|
-
}
|
199
|
-
async fn read(
|
200
|
-
&self,
|
201
|
-
host: &mut impl streams::HostInputStream,
|
202
|
-
input_stream: Resource<streams::InputStream>,
|
203
|
-
max_size: usize,
|
204
|
-
) -> Result<Vec<u8>, types::Error> {
|
205
|
-
let max_size = max_size.try_into().unwrap_or(u64::MAX);
|
206
|
-
match self {
|
207
|
-
BlockingMode::Blocking => {
|
208
|
-
match streams::HostInputStream::blocking_read(host, input_stream, max_size).await {
|
209
|
-
Ok(r) if r.is_empty() => Err(types::Errno::Intr.into()),
|
210
|
-
Ok(r) => Ok(r),
|
211
|
-
Err(StreamError::Closed) => Ok(Vec::new()),
|
212
|
-
Err(e) => Err(e.into()),
|
213
|
-
}
|
214
|
-
}
|
215
|
-
|
216
|
-
BlockingMode::NonBlocking => {
|
217
|
-
match streams::HostInputStream::read(host, input_stream, max_size).await {
|
218
|
-
Ok(r) => Ok(r),
|
219
|
-
Err(StreamError::Closed) => Ok(Vec::new()),
|
220
|
-
Err(e) => Err(e.into()),
|
221
|
-
}
|
222
|
-
}
|
223
|
-
}
|
224
|
-
}
|
225
|
-
async fn write(
|
226
|
-
&self,
|
227
|
-
memory: &mut GuestMemory<'_>,
|
228
|
-
host: &mut impl streams::HostOutputStream,
|
229
|
-
output_stream: Resource<streams::OutputStream>,
|
230
|
-
bytes: GuestPtr<[u8]>,
|
231
|
-
) -> StreamResult<usize> {
|
232
|
-
use streams::HostOutputStream as Streams;
|
233
|
-
|
234
|
-
let bytes = memory
|
235
|
-
.as_cow(bytes)
|
236
|
-
.map_err(|e| StreamError::Trap(e.into()))?;
|
237
|
-
let mut bytes = &bytes[..];
|
238
|
-
|
239
|
-
match self {
|
240
|
-
BlockingMode::Blocking => {
|
241
|
-
let total = bytes.len();
|
242
|
-
while !bytes.is_empty() {
|
243
|
-
// NOTE: blocking_write_and_flush takes at most one 4k buffer.
|
244
|
-
let len = bytes.len().min(4096);
|
245
|
-
let (chunk, rest) = bytes.split_at(len);
|
246
|
-
bytes = rest;
|
247
|
-
|
248
|
-
Streams::blocking_write_and_flush(
|
249
|
-
host,
|
250
|
-
output_stream.borrowed(),
|
251
|
-
Vec::from(chunk),
|
252
|
-
)
|
253
|
-
.await?
|
254
|
-
}
|
255
|
-
|
256
|
-
Ok(total)
|
257
|
-
}
|
258
|
-
BlockingMode::NonBlocking => {
|
259
|
-
let n = match Streams::check_write(host, output_stream.borrowed()) {
|
260
|
-
Ok(n) => n,
|
261
|
-
Err(StreamError::Closed) => 0,
|
262
|
-
Err(e) => Err(e)?,
|
263
|
-
};
|
264
|
-
|
265
|
-
let len = bytes.len().min(n as usize);
|
266
|
-
if len == 0 {
|
267
|
-
return Ok(0);
|
268
|
-
}
|
269
|
-
|
270
|
-
match Streams::write(host, output_stream.borrowed(), bytes[..len].to_vec()) {
|
271
|
-
Ok(()) => {}
|
272
|
-
Err(StreamError::Closed) => return Ok(0),
|
273
|
-
Err(e) => Err(e)?,
|
274
|
-
}
|
275
|
-
|
276
|
-
match Streams::blocking_flush(host, output_stream.borrowed()).await {
|
277
|
-
Ok(()) => {}
|
278
|
-
Err(StreamError::Closed) => return Ok(0),
|
279
|
-
Err(e) => Err(e)?,
|
280
|
-
};
|
281
|
-
|
282
|
-
Ok(len)
|
283
|
-
}
|
284
|
-
}
|
285
|
-
}
|
286
|
-
}
|
287
|
-
|
288
|
-
#[derive(Debug)]
|
289
|
-
enum Descriptor {
|
290
|
-
Stdin {
|
291
|
-
stream: Resource<streams::InputStream>,
|
292
|
-
isatty: IsATTY,
|
293
|
-
},
|
294
|
-
Stdout {
|
295
|
-
stream: Resource<streams::OutputStream>,
|
296
|
-
isatty: IsATTY,
|
297
|
-
},
|
298
|
-
Stderr {
|
299
|
-
stream: Resource<streams::OutputStream>,
|
300
|
-
isatty: IsATTY,
|
301
|
-
},
|
302
|
-
/// A fd of type [`crate::filesystem::Descriptor::Dir`]
|
303
|
-
Directory {
|
304
|
-
fd: Resource<filesystem::Descriptor>,
|
305
|
-
/// The path this directory was preopened as.
|
306
|
-
/// `None` means this directory was opened using `open-at`.
|
307
|
-
preopen_path: Option<String>,
|
308
|
-
},
|
309
|
-
/// A fd of type [`crate::filesystem::Descriptor::File`]
|
310
|
-
File(File),
|
311
|
-
}
|
312
|
-
|
313
|
-
#[derive(Debug, Default)]
|
314
|
-
struct WasiPreview1Adapter {
|
315
|
-
descriptors: Option<Descriptors>,
|
316
|
-
}
|
317
|
-
|
318
|
-
#[derive(Debug, Default)]
|
319
|
-
struct Descriptors {
|
320
|
-
used: BTreeMap<u32, Descriptor>,
|
321
|
-
free: Vec<u32>,
|
322
|
-
}
|
323
|
-
|
324
|
-
impl Deref for Descriptors {
|
325
|
-
type Target = BTreeMap<u32, Descriptor>;
|
326
|
-
|
327
|
-
fn deref(&self) -> &Self::Target {
|
328
|
-
&self.used
|
329
|
-
}
|
330
|
-
}
|
331
|
-
|
332
|
-
impl DerefMut for Descriptors {
|
333
|
-
fn deref_mut(&mut self) -> &mut Self::Target {
|
334
|
-
&mut self.used
|
335
|
-
}
|
336
|
-
}
|
337
|
-
|
338
|
-
impl Descriptors {
|
339
|
-
/// Initializes [Self] using `preopens`
|
340
|
-
fn new(mut host: WasiImpl<&mut WasiP1Ctx>) -> Result<Self, types::Error> {
|
341
|
-
let mut descriptors = Self::default();
|
342
|
-
descriptors.push(Descriptor::Stdin {
|
343
|
-
stream: host
|
344
|
-
.get_stdin()
|
345
|
-
.context("failed to call `get-stdin`")
|
346
|
-
.map_err(types::Error::trap)?,
|
347
|
-
isatty: if let Some(term_in) = host
|
348
|
-
.get_terminal_stdin()
|
349
|
-
.context("failed to call `get-terminal-stdin`")
|
350
|
-
.map_err(types::Error::trap)?
|
351
|
-
{
|
352
|
-
terminal_input::HostTerminalInput::drop(&mut host, term_in)
|
353
|
-
.context("failed to call `drop-terminal-input`")
|
354
|
-
.map_err(types::Error::trap)?;
|
355
|
-
IsATTY::Yes
|
356
|
-
} else {
|
357
|
-
IsATTY::No
|
358
|
-
},
|
359
|
-
})?;
|
360
|
-
descriptors.push(Descriptor::Stdout {
|
361
|
-
stream: host
|
362
|
-
.get_stdout()
|
363
|
-
.context("failed to call `get-stdout`")
|
364
|
-
.map_err(types::Error::trap)?,
|
365
|
-
isatty: if let Some(term_out) = host
|
366
|
-
.get_terminal_stdout()
|
367
|
-
.context("failed to call `get-terminal-stdout`")
|
368
|
-
.map_err(types::Error::trap)?
|
369
|
-
{
|
370
|
-
terminal_output::HostTerminalOutput::drop(&mut host, term_out)
|
371
|
-
.context("failed to call `drop-terminal-output`")
|
372
|
-
.map_err(types::Error::trap)?;
|
373
|
-
IsATTY::Yes
|
374
|
-
} else {
|
375
|
-
IsATTY::No
|
376
|
-
},
|
377
|
-
})?;
|
378
|
-
descriptors.push(Descriptor::Stderr {
|
379
|
-
stream: host
|
380
|
-
.get_stderr()
|
381
|
-
.context("failed to call `get-stderr`")
|
382
|
-
.map_err(types::Error::trap)?,
|
383
|
-
isatty: if let Some(term_out) = host
|
384
|
-
.get_terminal_stderr()
|
385
|
-
.context("failed to call `get-terminal-stderr`")
|
386
|
-
.map_err(types::Error::trap)?
|
387
|
-
{
|
388
|
-
terminal_output::HostTerminalOutput::drop(&mut host, term_out)
|
389
|
-
.context("failed to call `drop-terminal-output`")
|
390
|
-
.map_err(types::Error::trap)?;
|
391
|
-
IsATTY::Yes
|
392
|
-
} else {
|
393
|
-
IsATTY::No
|
394
|
-
},
|
395
|
-
})?;
|
396
|
-
|
397
|
-
for dir in host
|
398
|
-
.get_directories()
|
399
|
-
.context("failed to call `get-directories`")
|
400
|
-
.map_err(types::Error::trap)?
|
401
|
-
{
|
402
|
-
descriptors.push(Descriptor::Directory {
|
403
|
-
fd: dir.0,
|
404
|
-
preopen_path: Some(dir.1),
|
405
|
-
})?;
|
406
|
-
}
|
407
|
-
Ok(descriptors)
|
408
|
-
}
|
409
|
-
|
410
|
-
/// Returns next descriptor number, which was never assigned
|
411
|
-
fn unused(&self) -> Result<u32> {
|
412
|
-
match self.last_key_value() {
|
413
|
-
Some((fd, _)) => {
|
414
|
-
if let Some(fd) = fd.checked_add(1) {
|
415
|
-
return Ok(fd);
|
416
|
-
}
|
417
|
-
if self.len() == u32::MAX as usize {
|
418
|
-
return Err(types::Errno::Loop.into());
|
419
|
-
}
|
420
|
-
// TODO: Optimize
|
421
|
-
Ok((0..u32::MAX)
|
422
|
-
.rev()
|
423
|
-
.find(|fd| !self.contains_key(fd))
|
424
|
-
.expect("failed to find an unused file descriptor"))
|
425
|
-
}
|
426
|
-
None => Ok(0),
|
427
|
-
}
|
428
|
-
}
|
429
|
-
|
430
|
-
/// Removes the [Descriptor] corresponding to `fd`
|
431
|
-
fn remove(&mut self, fd: types::Fd) -> Option<Descriptor> {
|
432
|
-
let fd = fd.into();
|
433
|
-
let desc = self.used.remove(&fd)?;
|
434
|
-
self.free.push(fd);
|
435
|
-
Some(desc)
|
436
|
-
}
|
437
|
-
|
438
|
-
/// Pushes the [Descriptor] returning corresponding number.
|
439
|
-
/// This operation will try to reuse numbers previously removed via [`Self::remove`]
|
440
|
-
/// and rely on [`Self::unused`] if no free numbers are recorded
|
441
|
-
fn push(&mut self, desc: Descriptor) -> Result<u32> {
|
442
|
-
let fd = if let Some(fd) = self.free.pop() {
|
443
|
-
fd
|
444
|
-
} else {
|
445
|
-
self.unused()?
|
446
|
-
};
|
447
|
-
assert!(self.insert(fd, desc).is_none());
|
448
|
-
Ok(fd)
|
449
|
-
}
|
450
|
-
}
|
451
|
-
|
452
|
-
impl WasiPreview1Adapter {
|
453
|
-
fn new() -> Self {
|
454
|
-
Self::default()
|
455
|
-
}
|
456
|
-
}
|
457
|
-
|
458
|
-
/// A mutably-borrowed [`WasiPreview1View`] implementation, which provides access to the stored
|
459
|
-
/// state. It can be thought of as an in-flight [`WasiPreview1Adapter`] transaction, all
|
460
|
-
/// changes will be recorded in the underlying [`WasiPreview1Adapter`] returned by
|
461
|
-
/// [`WasiPreview1View::adapter_mut`] on [`Drop`] of this struct.
|
462
|
-
// NOTE: This exists for the most part just due to the fact that `bindgen` generates methods with
|
463
|
-
// `&mut self` receivers and so this struct lets us extend the lifetime of the `&mut self` borrow
|
464
|
-
// of the [`WasiPreview1View`] to provide means to return mutably and immutably borrowed [`Descriptors`]
|
465
|
-
// without having to rely on something like `Arc<Mutex<Descriptors>>`, while also being able to
|
466
|
-
// call methods like [`Descriptor::is_file`] and hiding complexity from preview1 method implementations.
|
467
|
-
struct Transaction<'a> {
|
468
|
-
view: &'a mut WasiP1Ctx,
|
469
|
-
descriptors: Descriptors,
|
470
|
-
}
|
471
|
-
|
472
|
-
impl Drop for Transaction<'_> {
|
473
|
-
/// Record changes in the [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
474
|
-
fn drop(&mut self) {
|
475
|
-
let descriptors = mem::take(&mut self.descriptors);
|
476
|
-
self.view.adapter.descriptors = Some(descriptors);
|
477
|
-
}
|
478
|
-
}
|
479
|
-
|
480
|
-
impl Transaction<'_> {
|
481
|
-
/// Borrows [`Descriptor`] corresponding to `fd`.
|
482
|
-
///
|
483
|
-
/// # Errors
|
484
|
-
///
|
485
|
-
/// Returns [`types::Errno::Badf`] if no [`Descriptor`] is found
|
486
|
-
fn get_descriptor(&self, fd: types::Fd) -> Result<&Descriptor> {
|
487
|
-
let fd = fd.into();
|
488
|
-
let desc = self.descriptors.get(&fd).ok_or(types::Errno::Badf)?;
|
489
|
-
Ok(desc)
|
490
|
-
}
|
491
|
-
|
492
|
-
/// Borrows [`File`] corresponding to `fd`
|
493
|
-
/// if it describes a [`Descriptor::File`]
|
494
|
-
fn get_file(&self, fd: types::Fd) -> Result<&File> {
|
495
|
-
let fd = fd.into();
|
496
|
-
match self.descriptors.get(&fd) {
|
497
|
-
Some(Descriptor::File(file)) => Ok(file),
|
498
|
-
_ => Err(types::Errno::Badf.into()),
|
499
|
-
}
|
500
|
-
}
|
501
|
-
|
502
|
-
/// Mutably borrows [`File`] corresponding to `fd`
|
503
|
-
/// if it describes a [`Descriptor::File`]
|
504
|
-
fn get_file_mut(&mut self, fd: types::Fd) -> Result<&mut File> {
|
505
|
-
let fd = fd.into();
|
506
|
-
match self.descriptors.get_mut(&fd) {
|
507
|
-
Some(Descriptor::File(file)) => Ok(file),
|
508
|
-
_ => Err(types::Errno::Badf.into()),
|
509
|
-
}
|
510
|
-
}
|
511
|
-
|
512
|
-
/// Borrows [`File`] corresponding to `fd`
|
513
|
-
/// if it describes a [`Descriptor::File`]
|
514
|
-
///
|
515
|
-
/// # Errors
|
516
|
-
///
|
517
|
-
/// Returns [`types::Errno::Spipe`] if the descriptor corresponds to stdio
|
518
|
-
fn get_seekable(&self, fd: types::Fd) -> Result<&File> {
|
519
|
-
let fd = fd.into();
|
520
|
-
match self.descriptors.get(&fd) {
|
521
|
-
Some(Descriptor::File(file)) => Ok(file),
|
522
|
-
Some(
|
523
|
-
Descriptor::Stdin { .. } | Descriptor::Stdout { .. } | Descriptor::Stderr { .. },
|
524
|
-
) => {
|
525
|
-
// NOTE: legacy implementation returns SPIPE here
|
526
|
-
Err(types::Errno::Spipe.into())
|
527
|
-
}
|
528
|
-
_ => Err(types::Errno::Badf.into()),
|
529
|
-
}
|
530
|
-
}
|
531
|
-
|
532
|
-
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
533
|
-
fn get_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
534
|
-
match self.get_descriptor(fd)? {
|
535
|
-
Descriptor::File(File { fd, .. }) => Ok(fd.borrowed()),
|
536
|
-
Descriptor::Directory { fd, .. } => Ok(fd.borrowed()),
|
537
|
-
Descriptor::Stdin { .. } | Descriptor::Stdout { .. } | Descriptor::Stderr { .. } => {
|
538
|
-
Err(types::Errno::Badf.into())
|
539
|
-
}
|
540
|
-
}
|
541
|
-
}
|
542
|
-
|
543
|
-
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
544
|
-
/// if it describes a [`Descriptor::File`]
|
545
|
-
fn get_file_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
546
|
-
self.get_file(fd).map(|File { fd, .. }| fd.borrowed())
|
547
|
-
}
|
548
|
-
|
549
|
-
/// Returns [`filesystem::Descriptor`] corresponding to `fd`
|
550
|
-
/// if it describes a [`Descriptor::Directory`]
|
551
|
-
fn get_dir_fd(&self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>> {
|
552
|
-
let fd = fd.into();
|
553
|
-
match self.descriptors.get(&fd) {
|
554
|
-
Some(Descriptor::Directory { fd, .. }) => Ok(fd.borrowed()),
|
555
|
-
_ => Err(types::Errno::Badf.into()),
|
556
|
-
}
|
557
|
-
}
|
558
|
-
}
|
559
|
-
|
560
|
-
impl WasiP1Ctx {
|
561
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
562
|
-
/// and returns [`Transaction`] on success
|
563
|
-
fn transact(&mut self) -> Result<Transaction<'_>, types::Error> {
|
564
|
-
let descriptors = if let Some(descriptors) = self.adapter.descriptors.take() {
|
565
|
-
descriptors
|
566
|
-
} else {
|
567
|
-
Descriptors::new(self.as_wasi_impl())?
|
568
|
-
}
|
569
|
-
.into();
|
570
|
-
Ok(Transaction {
|
571
|
-
view: self,
|
572
|
-
descriptors,
|
573
|
-
})
|
574
|
-
}
|
575
|
-
|
576
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
577
|
-
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
578
|
-
fn get_fd(&mut self, fd: types::Fd) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
579
|
-
let st = self.transact()?;
|
580
|
-
let fd = st.get_fd(fd)?;
|
581
|
-
Ok(fd)
|
582
|
-
}
|
583
|
-
|
584
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
585
|
-
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
586
|
-
/// if it describes a [`Descriptor::File`] of [`crate::filesystem::File`] type
|
587
|
-
fn get_file_fd(
|
588
|
-
&mut self,
|
589
|
-
fd: types::Fd,
|
590
|
-
) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
591
|
-
let st = self.transact()?;
|
592
|
-
let fd = st.get_file_fd(fd)?;
|
593
|
-
Ok(fd)
|
594
|
-
}
|
595
|
-
|
596
|
-
/// Lazily initializes [`WasiPreview1Adapter`] returned by [`WasiPreview1View::adapter_mut`]
|
597
|
-
/// and returns [`filesystem::Descriptor`] corresponding to `fd`
|
598
|
-
/// if it describes a [`Descriptor::File`] or [`Descriptor::PreopenDirectory`]
|
599
|
-
/// of [`crate::filesystem::Dir`] type
|
600
|
-
fn get_dir_fd(
|
601
|
-
&mut self,
|
602
|
-
fd: types::Fd,
|
603
|
-
) -> Result<Resource<filesystem::Descriptor>, types::Error> {
|
604
|
-
let st = self.transact()?;
|
605
|
-
let fd = st.get_dir_fd(fd)?;
|
606
|
-
Ok(fd)
|
607
|
-
}
|
608
|
-
|
609
|
-
/// Shared implementation of `fd_write` and `fd_pwrite`.
|
610
|
-
async fn fd_write_impl(
|
611
|
-
&mut self,
|
612
|
-
memory: &mut GuestMemory<'_>,
|
613
|
-
fd: types::Fd,
|
614
|
-
ciovs: types::CiovecArray,
|
615
|
-
write: FdWrite,
|
616
|
-
) -> Result<types::Size, types::Error> {
|
617
|
-
let t = self.transact()?;
|
618
|
-
let desc = t.get_descriptor(fd)?;
|
619
|
-
match desc {
|
620
|
-
Descriptor::File(File {
|
621
|
-
fd,
|
622
|
-
append,
|
623
|
-
position,
|
624
|
-
// NB: files always use blocking writes regardless of what
|
625
|
-
// they're configured to use since OSes don't have nonblocking
|
626
|
-
// reads/writes anyway. This behavior originated in the first
|
627
|
-
// implementation of WASIp1 where flags were propagated to the
|
628
|
-
// OS and the OS ignored the nonblocking flag for files
|
629
|
-
// generally.
|
630
|
-
blocking_mode: _,
|
631
|
-
}) => {
|
632
|
-
let fd = fd.borrowed();
|
633
|
-
let position = position.clone();
|
634
|
-
let pos = position.load(Ordering::Relaxed);
|
635
|
-
let append = *append;
|
636
|
-
drop(t);
|
637
|
-
let f = self.table().get(&fd)?.file()?;
|
638
|
-
let buf = first_non_empty_ciovec(memory, ciovs)?;
|
639
|
-
|
640
|
-
let do_write = move |f: &cap_std::fs::File, buf: &[u8]| match (append, write) {
|
641
|
-
// Note that this is implementing Linux semantics of
|
642
|
-
// `pwrite` where the offset is ignored if the file was
|
643
|
-
// opened in append mode.
|
644
|
-
(true, _) => f.append(&buf),
|
645
|
-
(false, FdWrite::At(pos)) => f.write_at(&buf, pos),
|
646
|
-
(false, FdWrite::AtCur) => f.write_at(&buf, pos),
|
647
|
-
};
|
648
|
-
|
649
|
-
let nwritten = match f.as_blocking_file() {
|
650
|
-
// If we can block then skip the copy out of wasm memory and
|
651
|
-
// write directly to `f`.
|
652
|
-
Some(f) => do_write(f, &memory.as_cow(buf)?),
|
653
|
-
// ... otherwise copy out of wasm memory and use
|
654
|
-
// `spawn_blocking` to do this write in a thread that can
|
655
|
-
// block.
|
656
|
-
None => {
|
657
|
-
let buf = memory.to_vec(buf)?;
|
658
|
-
f.spawn_blocking(move |f| do_write(f, &buf)).await
|
659
|
-
}
|
660
|
-
};
|
661
|
-
|
662
|
-
let nwritten = nwritten.map_err(|e| StreamError::LastOperationFailed(e.into()))?;
|
663
|
-
|
664
|
-
// If this was a write at the current position then update the
|
665
|
-
// current position with the result, otherwise the current
|
666
|
-
// position is left unmodified.
|
667
|
-
if let FdWrite::AtCur = write {
|
668
|
-
if append {
|
669
|
-
let len = self.as_wasi_impl().stat(fd).await?;
|
670
|
-
position.store(len.size, Ordering::Relaxed);
|
671
|
-
} else {
|
672
|
-
let pos = pos
|
673
|
-
.checked_add(nwritten as u64)
|
674
|
-
.ok_or(types::Errno::Overflow)?;
|
675
|
-
position.store(pos, Ordering::Relaxed);
|
676
|
-
}
|
677
|
-
}
|
678
|
-
Ok(nwritten.try_into()?)
|
679
|
-
}
|
680
|
-
Descriptor::Stdout { stream, .. } | Descriptor::Stderr { stream, .. } => {
|
681
|
-
match write {
|
682
|
-
// Reject calls to `fd_pwrite` on stdio descriptors...
|
683
|
-
FdWrite::At(_) => return Err(types::Errno::Spipe.into()),
|
684
|
-
// ... but allow calls to `fd_write`
|
685
|
-
FdWrite::AtCur => {}
|
686
|
-
}
|
687
|
-
let stream = stream.borrowed();
|
688
|
-
drop(t);
|
689
|
-
let buf = first_non_empty_ciovec(memory, ciovs)?;
|
690
|
-
let n = BlockingMode::Blocking
|
691
|
-
.write(memory, &mut self.as_wasi_impl(), stream, buf)
|
692
|
-
.await?
|
693
|
-
.try_into()?;
|
694
|
-
Ok(n)
|
695
|
-
}
|
696
|
-
_ => Err(types::Errno::Badf.into()),
|
697
|
-
}
|
698
|
-
}
|
699
|
-
}
|
700
|
-
|
701
|
-
#[derive(Copy, Clone)]
|
702
|
-
enum FdWrite {
|
703
|
-
At(u64),
|
704
|
-
AtCur,
|
705
|
-
}
|
706
|
-
|
707
|
-
/// Adds asynchronous versions of all WASIp1 functions to the
|
708
|
-
/// [`wasmtime::Linker`] provided.
|
709
|
-
///
|
710
|
-
/// This method will add WASIp1 functions to `linker`. The `f` closure provided
|
711
|
-
/// is used to project from the `T` state that `Linker` is associated with to a
|
712
|
-
/// [`WasiP1Ctx`]. If `T` is `WasiP1Ctx` itself then this is the identity
|
713
|
-
/// closure, but otherwise it must project out the field where `WasiP1Ctx` is
|
714
|
-
/// stored within `T`.
|
715
|
-
///
|
716
|
-
/// The state provided by `f` is used to implement all WASIp1 functions and
|
717
|
-
/// provides configuration to know what to return.
|
718
|
-
///
|
719
|
-
/// Note that this function is intended for use with
|
720
|
-
/// [`Config::async_support(true)`]. If you're looking for a synchronous version
|
721
|
-
/// see [`add_to_linker_sync`].
|
722
|
-
///
|
723
|
-
/// [`Config::async_support(true)`]: wasmtime::Config::async_support
|
724
|
-
///
|
725
|
-
/// # Examples
|
726
|
-
///
|
727
|
-
/// If the `T` in `Linker<T>` is just `WasiP1Ctx`:
|
728
|
-
///
|
729
|
-
/// ```no_run
|
730
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
731
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
732
|
-
///
|
733
|
-
/// fn main() -> Result<()> {
|
734
|
-
/// let mut config = Config::new();
|
735
|
-
/// config.async_support(true);
|
736
|
-
/// let engine = Engine::new(&config)?;
|
737
|
-
///
|
738
|
-
/// let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
739
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| cx)?;
|
740
|
-
///
|
741
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
742
|
-
///
|
743
|
-
/// Ok(())
|
744
|
-
/// }
|
745
|
-
/// ```
|
746
|
-
///
|
747
|
-
/// If the `T` in `Linker<T>` is custom state:
|
748
|
-
///
|
749
|
-
/// ```no_run
|
750
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
751
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
752
|
-
///
|
753
|
-
/// struct MyState {
|
754
|
-
/// // .. other custom state here ..
|
755
|
-
///
|
756
|
-
/// wasi: WasiP1Ctx,
|
757
|
-
/// }
|
758
|
-
///
|
759
|
-
/// fn main() -> Result<()> {
|
760
|
-
/// let mut config = Config::new();
|
761
|
-
/// config.async_support(true);
|
762
|
-
/// let engine = Engine::new(&config)?;
|
763
|
-
///
|
764
|
-
/// let mut linker: Linker<MyState> = Linker::new(&engine);
|
765
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| &mut cx.wasi)?;
|
766
|
-
///
|
767
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
768
|
-
///
|
769
|
-
/// Ok(())
|
770
|
-
/// }
|
771
|
-
/// ```
|
772
|
-
pub fn add_to_linker_async<T: Send>(
|
773
|
-
linker: &mut wasmtime::Linker<T>,
|
774
|
-
f: impl Fn(&mut T) -> &mut WasiP1Ctx + Copy + Send + Sync + 'static,
|
775
|
-
) -> anyhow::Result<()> {
|
776
|
-
crate::preview1::wasi_snapshot_preview1::add_to_linker(linker, f)
|
777
|
-
}
|
778
|
-
|
779
|
-
/// Adds synchronous versions of all WASIp1 functions to the
|
780
|
-
/// [`wasmtime::Linker`] provided.
|
781
|
-
///
|
782
|
-
/// This method will add WASIp1 functions to `linker`. The `f` closure provided
|
783
|
-
/// is used to project from the `T` state that `Linker` is associated with to a
|
784
|
-
/// [`WasiP1Ctx`]. If `T` is `WasiP1Ctx` itself then this is the identity
|
785
|
-
/// closure, but otherwise it must project out the field where `WasiP1Ctx` is
|
786
|
-
/// stored within `T`.
|
787
|
-
///
|
788
|
-
/// The state provided by `f` is used to implement all WASIp1 functions and
|
789
|
-
/// provides configuration to know what to return.
|
790
|
-
///
|
791
|
-
/// Note that this function is intended for use with
|
792
|
-
/// [`Config::async_support(false)`]. If you're looking for a synchronous version
|
793
|
-
/// see [`add_to_linker_async`].
|
794
|
-
///
|
795
|
-
/// [`Config::async_support(false)`]: wasmtime::Config::async_support
|
796
|
-
///
|
797
|
-
/// # Examples
|
798
|
-
///
|
799
|
-
/// If the `T` in `Linker<T>` is just `WasiP1Ctx`:
|
800
|
-
///
|
801
|
-
/// ```no_run
|
802
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
803
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
804
|
-
///
|
805
|
-
/// fn main() -> Result<()> {
|
806
|
-
/// let mut config = Config::new();
|
807
|
-
/// config.async_support(true);
|
808
|
-
/// let engine = Engine::new(&config)?;
|
809
|
-
///
|
810
|
-
/// let mut linker: Linker<WasiP1Ctx> = Linker::new(&engine);
|
811
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| cx)?;
|
812
|
-
///
|
813
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
814
|
-
///
|
815
|
-
/// Ok(())
|
816
|
-
/// }
|
817
|
-
/// ```
|
818
|
-
///
|
819
|
-
/// If the `T` in `Linker<T>` is custom state:
|
820
|
-
///
|
821
|
-
/// ```no_run
|
822
|
-
/// use wasmtime::{Result, Linker, Engine, Config};
|
823
|
-
/// use wasmtime_wasi::preview1::{self, WasiP1Ctx};
|
824
|
-
///
|
825
|
-
/// struct MyState {
|
826
|
-
/// // .. other custom state here ..
|
827
|
-
///
|
828
|
-
/// wasi: WasiP1Ctx,
|
829
|
-
/// }
|
830
|
-
///
|
831
|
-
/// fn main() -> Result<()> {
|
832
|
-
/// let mut config = Config::new();
|
833
|
-
/// config.async_support(true);
|
834
|
-
/// let engine = Engine::new(&config)?;
|
835
|
-
///
|
836
|
-
/// let mut linker: Linker<MyState> = Linker::new(&engine);
|
837
|
-
/// preview1::add_to_linker_async(&mut linker, |cx| &mut cx.wasi)?;
|
838
|
-
///
|
839
|
-
/// // ... continue to add more to `linker` as necessary and use it ...
|
840
|
-
///
|
841
|
-
/// Ok(())
|
842
|
-
/// }
|
843
|
-
/// ```
|
844
|
-
pub fn add_to_linker_sync<T: Send>(
|
845
|
-
linker: &mut wasmtime::Linker<T>,
|
846
|
-
f: impl Fn(&mut T) -> &mut WasiP1Ctx + Copy + Send + Sync + 'static,
|
847
|
-
) -> anyhow::Result<()> {
|
848
|
-
crate::preview1::sync::add_wasi_snapshot_preview1_to_linker(linker, f)
|
849
|
-
}
|
850
|
-
|
851
|
-
// Generate the wasi_snapshot_preview1::WasiSnapshotPreview1 trait,
|
852
|
-
// and the module types.
|
853
|
-
// None of the generated modules, traits, or types should be used externally
|
854
|
-
// to this module.
|
855
|
-
wiggle::from_witx!({
|
856
|
-
witx: ["$CARGO_MANIFEST_DIR/witx/preview1/wasi_snapshot_preview1.witx"],
|
857
|
-
async: {
|
858
|
-
wasi_snapshot_preview1::{
|
859
|
-
fd_advise, fd_close, fd_datasync, fd_fdstat_get, fd_filestat_get, fd_filestat_set_size,
|
860
|
-
fd_filestat_set_times, fd_read, fd_pread, fd_seek, fd_sync, fd_readdir, fd_write,
|
861
|
-
fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
|
862
|
-
path_filestat_set_times, path_link, path_open, path_readlink, path_remove_directory,
|
863
|
-
path_rename, path_symlink, path_unlink_file
|
864
|
-
}
|
865
|
-
},
|
866
|
-
errors: { errno => trappable Error },
|
867
|
-
});
|
868
|
-
|
869
|
-
pub(crate) mod sync {
|
870
|
-
use anyhow::Result;
|
871
|
-
use std::future::Future;
|
872
|
-
|
873
|
-
wiggle::wasmtime_integration!({
|
874
|
-
witx: ["$CARGO_MANIFEST_DIR/witx/preview1/wasi_snapshot_preview1.witx"],
|
875
|
-
target: super,
|
876
|
-
block_on[in_tokio]: {
|
877
|
-
wasi_snapshot_preview1::{
|
878
|
-
fd_advise, fd_close, fd_datasync, fd_fdstat_get, fd_filestat_get, fd_filestat_set_size,
|
879
|
-
fd_filestat_set_times, fd_read, fd_pread, fd_seek, fd_sync, fd_readdir, fd_write,
|
880
|
-
fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
|
881
|
-
path_filestat_set_times, path_link, path_open, path_readlink, path_remove_directory,
|
882
|
-
path_rename, path_symlink, path_unlink_file
|
883
|
-
}
|
884
|
-
},
|
885
|
-
errors: { errno => trappable Error },
|
886
|
-
});
|
887
|
-
|
888
|
-
// Small wrapper around `in_tokio` to add a `Result` layer which is always
|
889
|
-
// `Ok`
|
890
|
-
fn in_tokio<F: Future>(future: F) -> Result<F::Output> {
|
891
|
-
Ok(crate::runtime::in_tokio(future))
|
892
|
-
}
|
893
|
-
}
|
894
|
-
|
895
|
-
impl wiggle::GuestErrorType for types::Errno {
|
896
|
-
fn success() -> Self {
|
897
|
-
Self::Success
|
898
|
-
}
|
899
|
-
}
|
900
|
-
|
901
|
-
impl From<StreamError> for types::Error {
|
902
|
-
fn from(err: StreamError) -> Self {
|
903
|
-
match err {
|
904
|
-
StreamError::Closed => types::Errno::Io.into(),
|
905
|
-
StreamError::LastOperationFailed(e) => match e.downcast::<std::io::Error>() {
|
906
|
-
Ok(err) => filesystem::ErrorCode::from(err).into(),
|
907
|
-
Err(e) => {
|
908
|
-
tracing::debug!("dropping error {e:?}");
|
909
|
-
types::Errno::Io.into()
|
910
|
-
}
|
911
|
-
},
|
912
|
-
StreamError::Trap(e) => types::Error::trap(e),
|
913
|
-
}
|
914
|
-
}
|
915
|
-
}
|
916
|
-
|
917
|
-
impl From<FsError> for types::Error {
|
918
|
-
fn from(err: FsError) -> Self {
|
919
|
-
match err.downcast() {
|
920
|
-
Ok(code) => code.into(),
|
921
|
-
Err(e) => types::Error::trap(e),
|
922
|
-
}
|
923
|
-
}
|
924
|
-
}
|
925
|
-
|
926
|
-
fn systimespec(set: bool, ts: types::Timestamp, now: bool) -> Result<filesystem::NewTimestamp> {
|
927
|
-
if set && now {
|
928
|
-
Err(types::Errno::Inval.into())
|
929
|
-
} else if set {
|
930
|
-
Ok(filesystem::NewTimestamp::Timestamp(filesystem::Datetime {
|
931
|
-
seconds: ts / 1_000_000_000,
|
932
|
-
nanoseconds: (ts % 1_000_000_000) as _,
|
933
|
-
}))
|
934
|
-
} else if now {
|
935
|
-
Ok(filesystem::NewTimestamp::Now)
|
936
|
-
} else {
|
937
|
-
Ok(filesystem::NewTimestamp::NoChange)
|
938
|
-
}
|
939
|
-
}
|
940
|
-
|
941
|
-
impl TryFrom<wall_clock::Datetime> for types::Timestamp {
|
942
|
-
type Error = types::Errno;
|
943
|
-
|
944
|
-
fn try_from(
|
945
|
-
wall_clock::Datetime {
|
946
|
-
seconds,
|
947
|
-
nanoseconds,
|
948
|
-
}: wall_clock::Datetime,
|
949
|
-
) -> Result<Self, Self::Error> {
|
950
|
-
types::Timestamp::from(seconds)
|
951
|
-
.checked_mul(1_000_000_000)
|
952
|
-
.and_then(|ns| ns.checked_add(nanoseconds.into()))
|
953
|
-
.ok_or(types::Errno::Overflow)
|
954
|
-
}
|
955
|
-
}
|
956
|
-
|
957
|
-
impl From<types::Lookupflags> for filesystem::PathFlags {
|
958
|
-
fn from(flags: types::Lookupflags) -> Self {
|
959
|
-
if flags.contains(types::Lookupflags::SYMLINK_FOLLOW) {
|
960
|
-
filesystem::PathFlags::SYMLINK_FOLLOW
|
961
|
-
} else {
|
962
|
-
filesystem::PathFlags::empty()
|
963
|
-
}
|
964
|
-
}
|
965
|
-
}
|
966
|
-
|
967
|
-
impl From<types::Oflags> for filesystem::OpenFlags {
|
968
|
-
fn from(flags: types::Oflags) -> Self {
|
969
|
-
let mut out = filesystem::OpenFlags::empty();
|
970
|
-
if flags.contains(types::Oflags::CREAT) {
|
971
|
-
out |= filesystem::OpenFlags::CREATE;
|
972
|
-
}
|
973
|
-
if flags.contains(types::Oflags::DIRECTORY) {
|
974
|
-
out |= filesystem::OpenFlags::DIRECTORY;
|
975
|
-
}
|
976
|
-
if flags.contains(types::Oflags::EXCL) {
|
977
|
-
out |= filesystem::OpenFlags::EXCLUSIVE;
|
978
|
-
}
|
979
|
-
if flags.contains(types::Oflags::TRUNC) {
|
980
|
-
out |= filesystem::OpenFlags::TRUNCATE;
|
981
|
-
}
|
982
|
-
out
|
983
|
-
}
|
984
|
-
}
|
985
|
-
|
986
|
-
impl From<types::Advice> for filesystem::Advice {
|
987
|
-
fn from(advice: types::Advice) -> Self {
|
988
|
-
match advice {
|
989
|
-
types::Advice::Normal => filesystem::Advice::Normal,
|
990
|
-
types::Advice::Sequential => filesystem::Advice::Sequential,
|
991
|
-
types::Advice::Random => filesystem::Advice::Random,
|
992
|
-
types::Advice::Willneed => filesystem::Advice::WillNeed,
|
993
|
-
types::Advice::Dontneed => filesystem::Advice::DontNeed,
|
994
|
-
types::Advice::Noreuse => filesystem::Advice::NoReuse,
|
995
|
-
}
|
996
|
-
}
|
997
|
-
}
|
998
|
-
|
999
|
-
impl TryFrom<filesystem::DescriptorType> for types::Filetype {
|
1000
|
-
type Error = anyhow::Error;
|
1001
|
-
|
1002
|
-
fn try_from(ty: filesystem::DescriptorType) -> Result<Self, Self::Error> {
|
1003
|
-
match ty {
|
1004
|
-
filesystem::DescriptorType::RegularFile => Ok(types::Filetype::RegularFile),
|
1005
|
-
filesystem::DescriptorType::Directory => Ok(types::Filetype::Directory),
|
1006
|
-
filesystem::DescriptorType::BlockDevice => Ok(types::Filetype::BlockDevice),
|
1007
|
-
filesystem::DescriptorType::CharacterDevice => Ok(types::Filetype::CharacterDevice),
|
1008
|
-
// preview1 never had a FIFO code.
|
1009
|
-
filesystem::DescriptorType::Fifo => Ok(types::Filetype::Unknown),
|
1010
|
-
// TODO: Add a way to disginguish between FILETYPE_SOCKET_STREAM and
|
1011
|
-
// FILETYPE_SOCKET_DGRAM.
|
1012
|
-
filesystem::DescriptorType::Socket => {
|
1013
|
-
bail!("sockets are not currently supported")
|
1014
|
-
}
|
1015
|
-
filesystem::DescriptorType::SymbolicLink => Ok(types::Filetype::SymbolicLink),
|
1016
|
-
filesystem::DescriptorType::Unknown => Ok(types::Filetype::Unknown),
|
1017
|
-
}
|
1018
|
-
}
|
1019
|
-
}
|
1020
|
-
|
1021
|
-
impl From<IsATTY> for types::Filetype {
|
1022
|
-
fn from(isatty: IsATTY) -> Self {
|
1023
|
-
match isatty {
|
1024
|
-
IsATTY::Yes => types::Filetype::CharacterDevice,
|
1025
|
-
IsATTY::No => types::Filetype::Unknown,
|
1026
|
-
}
|
1027
|
-
}
|
1028
|
-
}
|
1029
|
-
|
1030
|
-
impl From<filesystem::ErrorCode> for types::Errno {
|
1031
|
-
fn from(code: filesystem::ErrorCode) -> Self {
|
1032
|
-
match code {
|
1033
|
-
filesystem::ErrorCode::Access => types::Errno::Acces,
|
1034
|
-
filesystem::ErrorCode::WouldBlock => types::Errno::Again,
|
1035
|
-
filesystem::ErrorCode::Already => types::Errno::Already,
|
1036
|
-
filesystem::ErrorCode::BadDescriptor => types::Errno::Badf,
|
1037
|
-
filesystem::ErrorCode::Busy => types::Errno::Busy,
|
1038
|
-
filesystem::ErrorCode::Deadlock => types::Errno::Deadlk,
|
1039
|
-
filesystem::ErrorCode::Quota => types::Errno::Dquot,
|
1040
|
-
filesystem::ErrorCode::Exist => types::Errno::Exist,
|
1041
|
-
filesystem::ErrorCode::FileTooLarge => types::Errno::Fbig,
|
1042
|
-
filesystem::ErrorCode::IllegalByteSequence => types::Errno::Ilseq,
|
1043
|
-
filesystem::ErrorCode::InProgress => types::Errno::Inprogress,
|
1044
|
-
filesystem::ErrorCode::Interrupted => types::Errno::Intr,
|
1045
|
-
filesystem::ErrorCode::Invalid => types::Errno::Inval,
|
1046
|
-
filesystem::ErrorCode::Io => types::Errno::Io,
|
1047
|
-
filesystem::ErrorCode::IsDirectory => types::Errno::Isdir,
|
1048
|
-
filesystem::ErrorCode::Loop => types::Errno::Loop,
|
1049
|
-
filesystem::ErrorCode::TooManyLinks => types::Errno::Mlink,
|
1050
|
-
filesystem::ErrorCode::MessageSize => types::Errno::Msgsize,
|
1051
|
-
filesystem::ErrorCode::NameTooLong => types::Errno::Nametoolong,
|
1052
|
-
filesystem::ErrorCode::NoDevice => types::Errno::Nodev,
|
1053
|
-
filesystem::ErrorCode::NoEntry => types::Errno::Noent,
|
1054
|
-
filesystem::ErrorCode::NoLock => types::Errno::Nolck,
|
1055
|
-
filesystem::ErrorCode::InsufficientMemory => types::Errno::Nomem,
|
1056
|
-
filesystem::ErrorCode::InsufficientSpace => types::Errno::Nospc,
|
1057
|
-
filesystem::ErrorCode::Unsupported => types::Errno::Notsup,
|
1058
|
-
filesystem::ErrorCode::NotDirectory => types::Errno::Notdir,
|
1059
|
-
filesystem::ErrorCode::NotEmpty => types::Errno::Notempty,
|
1060
|
-
filesystem::ErrorCode::NotRecoverable => types::Errno::Notrecoverable,
|
1061
|
-
filesystem::ErrorCode::NoTty => types::Errno::Notty,
|
1062
|
-
filesystem::ErrorCode::NoSuchDevice => types::Errno::Nxio,
|
1063
|
-
filesystem::ErrorCode::Overflow => types::Errno::Overflow,
|
1064
|
-
filesystem::ErrorCode::NotPermitted => types::Errno::Perm,
|
1065
|
-
filesystem::ErrorCode::Pipe => types::Errno::Pipe,
|
1066
|
-
filesystem::ErrorCode::ReadOnly => types::Errno::Rofs,
|
1067
|
-
filesystem::ErrorCode::InvalidSeek => types::Errno::Spipe,
|
1068
|
-
filesystem::ErrorCode::TextFileBusy => types::Errno::Txtbsy,
|
1069
|
-
filesystem::ErrorCode::CrossDevice => types::Errno::Xdev,
|
1070
|
-
}
|
1071
|
-
}
|
1072
|
-
}
|
1073
|
-
|
1074
|
-
impl From<std::num::TryFromIntError> for types::Error {
|
1075
|
-
fn from(_: std::num::TryFromIntError) -> Self {
|
1076
|
-
types::Errno::Overflow.into()
|
1077
|
-
}
|
1078
|
-
}
|
1079
|
-
|
1080
|
-
impl From<GuestError> for types::Error {
|
1081
|
-
fn from(err: GuestError) -> Self {
|
1082
|
-
use wiggle::GuestError::*;
|
1083
|
-
match err {
|
1084
|
-
InvalidFlagValue { .. } => types::Errno::Inval.into(),
|
1085
|
-
InvalidEnumValue { .. } => types::Errno::Inval.into(),
|
1086
|
-
// As per
|
1087
|
-
// https://github.com/WebAssembly/wasi/blob/main/legacy/tools/witx-docs.md#pointers
|
1088
|
-
//
|
1089
|
-
// > If a misaligned pointer is passed to a function, the function
|
1090
|
-
// > shall trap.
|
1091
|
-
// >
|
1092
|
-
// > If an out-of-bounds pointer is passed to a function and the
|
1093
|
-
// > function needs to dereference it, the function shall trap.
|
1094
|
-
//
|
1095
|
-
// so this turns OOB and misalignment errors into traps.
|
1096
|
-
PtrOverflow { .. } | PtrOutOfBounds { .. } | PtrNotAligned { .. } => {
|
1097
|
-
types::Error::trap(err.into())
|
1098
|
-
}
|
1099
|
-
PtrBorrowed { .. } => types::Errno::Fault.into(),
|
1100
|
-
InvalidUtf8 { .. } => types::Errno::Ilseq.into(),
|
1101
|
-
TryFromIntError { .. } => types::Errno::Overflow.into(),
|
1102
|
-
SliceLengthsDiffer { .. } => types::Errno::Fault.into(),
|
1103
|
-
BorrowCheckerOutOfHandles { .. } => types::Errno::Fault.into(),
|
1104
|
-
InFunc { err, .. } => types::Error::from(*err),
|
1105
|
-
}
|
1106
|
-
}
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
impl From<filesystem::ErrorCode> for types::Error {
|
1110
|
-
fn from(code: filesystem::ErrorCode) -> Self {
|
1111
|
-
types::Errno::from(code).into()
|
1112
|
-
}
|
1113
|
-
}
|
1114
|
-
|
1115
|
-
impl From<wasmtime::component::ResourceTableError> for types::Error {
|
1116
|
-
fn from(err: wasmtime::component::ResourceTableError) -> Self {
|
1117
|
-
types::Error::trap(err.into())
|
1118
|
-
}
|
1119
|
-
}
|
1120
|
-
|
1121
|
-
type Result<T, E = types::Error> = std::result::Result<T, E>;
|
1122
|
-
|
1123
|
-
fn write_bytes(
|
1124
|
-
memory: &mut GuestMemory<'_>,
|
1125
|
-
ptr: GuestPtr<u8>,
|
1126
|
-
buf: &[u8],
|
1127
|
-
) -> Result<GuestPtr<u8>, types::Error> {
|
1128
|
-
// NOTE: legacy implementation always returns Inval errno
|
1129
|
-
|
1130
|
-
let len = u32::try_from(buf.len())?;
|
1131
|
-
|
1132
|
-
memory.copy_from_slice(buf, ptr.as_array(len))?;
|
1133
|
-
let next = ptr.add(len)?;
|
1134
|
-
Ok(next)
|
1135
|
-
}
|
1136
|
-
|
1137
|
-
fn write_byte(memory: &mut GuestMemory<'_>, ptr: GuestPtr<u8>, byte: u8) -> Result<GuestPtr<u8>> {
|
1138
|
-
memory.write(ptr, byte)?;
|
1139
|
-
let next = ptr.add(1)?;
|
1140
|
-
Ok(next)
|
1141
|
-
}
|
1142
|
-
|
1143
|
-
fn read_string<'a>(memory: &'a GuestMemory<'_>, ptr: GuestPtr<str>) -> Result<String> {
|
1144
|
-
Ok(memory.as_cow_str(ptr)?.into_owned())
|
1145
|
-
}
|
1146
|
-
|
1147
|
-
// Returns the first non-empty buffer in `ciovs` or a single empty buffer if
|
1148
|
-
// they're all empty.
|
1149
|
-
fn first_non_empty_ciovec(
|
1150
|
-
memory: &GuestMemory<'_>,
|
1151
|
-
ciovs: types::CiovecArray,
|
1152
|
-
) -> Result<GuestPtr<[u8]>> {
|
1153
|
-
for iov in ciovs.iter() {
|
1154
|
-
let iov = memory.read(iov?)?;
|
1155
|
-
if iov.buf_len == 0 {
|
1156
|
-
continue;
|
1157
|
-
}
|
1158
|
-
return Ok(iov.buf.as_array(iov.buf_len));
|
1159
|
-
}
|
1160
|
-
Ok(GuestPtr::new((0, 0)))
|
1161
|
-
}
|
1162
|
-
|
1163
|
-
// Returns the first non-empty buffer in `iovs` or a single empty buffer if
|
1164
|
-
// they're all empty.
|
1165
|
-
fn first_non_empty_iovec(
|
1166
|
-
memory: &GuestMemory<'_>,
|
1167
|
-
iovs: types::IovecArray,
|
1168
|
-
) -> Result<GuestPtr<[u8]>> {
|
1169
|
-
for iov in iovs.iter() {
|
1170
|
-
let iov = memory.read(iov?)?;
|
1171
|
-
if iov.buf_len == 0 {
|
1172
|
-
continue;
|
1173
|
-
}
|
1174
|
-
return Ok(iov.buf.as_array(iov.buf_len));
|
1175
|
-
}
|
1176
|
-
Ok(GuestPtr::new((0, 0)))
|
1177
|
-
}
|
1178
|
-
|
1179
|
-
#[async_trait::async_trait]
|
1180
|
-
// Implement the WasiSnapshotPreview1 trait using only the traits that are
|
1181
|
-
// required for T, i.e., in terms of the preview 2 wit interface, and state
|
1182
|
-
// stored in the WasiPreview1Adapter struct.
|
1183
|
-
impl wasi_snapshot_preview1::WasiSnapshotPreview1 for WasiP1Ctx {
|
1184
|
-
#[instrument(skip(self, memory))]
|
1185
|
-
fn args_get(
|
1186
|
-
&mut self,
|
1187
|
-
memory: &mut GuestMemory<'_>,
|
1188
|
-
argv: GuestPtr<GuestPtr<u8>>,
|
1189
|
-
argv_buf: GuestPtr<u8>,
|
1190
|
-
) -> Result<(), types::Error> {
|
1191
|
-
self.as_wasi_impl()
|
1192
|
-
.get_arguments()
|
1193
|
-
.context("failed to call `get-arguments`")
|
1194
|
-
.map_err(types::Error::trap)?
|
1195
|
-
.into_iter()
|
1196
|
-
.try_fold((argv, argv_buf), |(argv, argv_buf), arg| -> Result<_> {
|
1197
|
-
memory.write(argv, argv_buf)?;
|
1198
|
-
let argv = argv.add(1)?;
|
1199
|
-
|
1200
|
-
let argv_buf = write_bytes(memory, argv_buf, arg.as_bytes())?;
|
1201
|
-
let argv_buf = write_byte(memory, argv_buf, 0)?;
|
1202
|
-
|
1203
|
-
Ok((argv, argv_buf))
|
1204
|
-
})?;
|
1205
|
-
Ok(())
|
1206
|
-
}
|
1207
|
-
|
1208
|
-
#[instrument(skip(self, _memory))]
|
1209
|
-
fn args_sizes_get(
|
1210
|
-
&mut self,
|
1211
|
-
_memory: &mut GuestMemory<'_>,
|
1212
|
-
) -> Result<(types::Size, types::Size), types::Error> {
|
1213
|
-
let args = self
|
1214
|
-
.as_wasi_impl()
|
1215
|
-
.get_arguments()
|
1216
|
-
.context("failed to call `get-arguments`")
|
1217
|
-
.map_err(types::Error::trap)?;
|
1218
|
-
let num = args.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
1219
|
-
let len = args
|
1220
|
-
.iter()
|
1221
|
-
.map(|buf| buf.len() + 1) // Each argument is expected to be `\0` terminated.
|
1222
|
-
.sum::<usize>()
|
1223
|
-
.try_into()
|
1224
|
-
.map_err(|_| types::Errno::Overflow)?;
|
1225
|
-
Ok((num, len))
|
1226
|
-
}
|
1227
|
-
|
1228
|
-
#[instrument(skip(self, memory))]
|
1229
|
-
fn environ_get(
|
1230
|
-
&mut self,
|
1231
|
-
memory: &mut GuestMemory<'_>,
|
1232
|
-
environ: GuestPtr<GuestPtr<u8>>,
|
1233
|
-
environ_buf: GuestPtr<u8>,
|
1234
|
-
) -> Result<(), types::Error> {
|
1235
|
-
self.as_wasi_impl()
|
1236
|
-
.get_environment()
|
1237
|
-
.context("failed to call `get-environment`")
|
1238
|
-
.map_err(types::Error::trap)?
|
1239
|
-
.into_iter()
|
1240
|
-
.try_fold(
|
1241
|
-
(environ, environ_buf),
|
1242
|
-
|(environ, environ_buf), (k, v)| -> Result<_, types::Error> {
|
1243
|
-
memory.write(environ, environ_buf)?;
|
1244
|
-
let environ = environ.add(1)?;
|
1245
|
-
|
1246
|
-
let environ_buf = write_bytes(memory, environ_buf, k.as_bytes())?;
|
1247
|
-
let environ_buf = write_byte(memory, environ_buf, b'=')?;
|
1248
|
-
let environ_buf = write_bytes(memory, environ_buf, v.as_bytes())?;
|
1249
|
-
let environ_buf = write_byte(memory, environ_buf, 0)?;
|
1250
|
-
|
1251
|
-
Ok((environ, environ_buf))
|
1252
|
-
},
|
1253
|
-
)?;
|
1254
|
-
Ok(())
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
#[instrument(skip(self, _memory))]
|
1258
|
-
fn environ_sizes_get(
|
1259
|
-
&mut self,
|
1260
|
-
_memory: &mut GuestMemory<'_>,
|
1261
|
-
) -> Result<(types::Size, types::Size), types::Error> {
|
1262
|
-
let environ = self
|
1263
|
-
.as_wasi_impl()
|
1264
|
-
.get_environment()
|
1265
|
-
.context("failed to call `get-environment`")
|
1266
|
-
.map_err(types::Error::trap)?;
|
1267
|
-
let num = environ.len().try_into()?;
|
1268
|
-
let len = environ
|
1269
|
-
.iter()
|
1270
|
-
.map(|(k, v)| k.len() + 1 + v.len() + 1) // Key/value pairs are expected to be joined with `=`s, and terminated with `\0`s.
|
1271
|
-
.sum::<usize>()
|
1272
|
-
.try_into()?;
|
1273
|
-
Ok((num, len))
|
1274
|
-
}
|
1275
|
-
|
1276
|
-
#[instrument(skip(self, _memory))]
|
1277
|
-
fn clock_res_get(
|
1278
|
-
&mut self,
|
1279
|
-
_memory: &mut GuestMemory<'_>,
|
1280
|
-
id: types::Clockid,
|
1281
|
-
) -> Result<types::Timestamp, types::Error> {
|
1282
|
-
let res = match id {
|
1283
|
-
types::Clockid::Realtime => wall_clock::Host::resolution(&mut self.as_wasi_impl())
|
1284
|
-
.context("failed to call `wall_clock::resolution`")
|
1285
|
-
.map_err(types::Error::trap)?
|
1286
|
-
.try_into()?,
|
1287
|
-
types::Clockid::Monotonic => {
|
1288
|
-
monotonic_clock::Host::resolution(&mut self.as_wasi_impl())
|
1289
|
-
.context("failed to call `monotonic_clock::resolution`")
|
1290
|
-
.map_err(types::Error::trap)?
|
1291
|
-
}
|
1292
|
-
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
1293
|
-
return Err(types::Errno::Badf.into())
|
1294
|
-
}
|
1295
|
-
};
|
1296
|
-
Ok(res)
|
1297
|
-
}
|
1298
|
-
|
1299
|
-
#[instrument(skip(self, _memory))]
|
1300
|
-
fn clock_time_get(
|
1301
|
-
&mut self,
|
1302
|
-
_memory: &mut GuestMemory<'_>,
|
1303
|
-
id: types::Clockid,
|
1304
|
-
_precision: types::Timestamp,
|
1305
|
-
) -> Result<types::Timestamp, types::Error> {
|
1306
|
-
let now = match id {
|
1307
|
-
types::Clockid::Realtime => wall_clock::Host::now(&mut self.as_wasi_impl())
|
1308
|
-
.context("failed to call `wall_clock::now`")
|
1309
|
-
.map_err(types::Error::trap)?
|
1310
|
-
.try_into()?,
|
1311
|
-
types::Clockid::Monotonic => monotonic_clock::Host::now(&mut self.as_wasi_impl())
|
1312
|
-
.context("failed to call `monotonic_clock::now`")
|
1313
|
-
.map_err(types::Error::trap)?,
|
1314
|
-
types::Clockid::ProcessCputimeId | types::Clockid::ThreadCputimeId => {
|
1315
|
-
return Err(types::Errno::Badf.into())
|
1316
|
-
}
|
1317
|
-
};
|
1318
|
-
Ok(now)
|
1319
|
-
}
|
1320
|
-
|
1321
|
-
#[instrument(skip(self, _memory))]
|
1322
|
-
async fn fd_advise(
|
1323
|
-
&mut self,
|
1324
|
-
_memory: &mut GuestMemory<'_>,
|
1325
|
-
fd: types::Fd,
|
1326
|
-
offset: types::Filesize,
|
1327
|
-
len: types::Filesize,
|
1328
|
-
advice: types::Advice,
|
1329
|
-
) -> Result<(), types::Error> {
|
1330
|
-
let fd = self.get_file_fd(fd)?;
|
1331
|
-
self.as_wasi_impl()
|
1332
|
-
.advise(fd, offset, len, advice.into())
|
1333
|
-
.await
|
1334
|
-
.map_err(|e| {
|
1335
|
-
e.try_into()
|
1336
|
-
.context("failed to call `advise`")
|
1337
|
-
.unwrap_or_else(types::Error::trap)
|
1338
|
-
})
|
1339
|
-
}
|
1340
|
-
|
1341
|
-
/// Force the allocation of space in a file.
|
1342
|
-
/// NOTE: This is similar to `posix_fallocate` in POSIX.
|
1343
|
-
#[instrument(skip(self, _memory))]
|
1344
|
-
fn fd_allocate(
|
1345
|
-
&mut self,
|
1346
|
-
_memory: &mut GuestMemory<'_>,
|
1347
|
-
fd: types::Fd,
|
1348
|
-
_offset: types::Filesize,
|
1349
|
-
_len: types::Filesize,
|
1350
|
-
) -> Result<(), types::Error> {
|
1351
|
-
self.get_file_fd(fd)?;
|
1352
|
-
Err(types::Errno::Notsup.into())
|
1353
|
-
}
|
1354
|
-
|
1355
|
-
/// Close a file descriptor.
|
1356
|
-
/// NOTE: This is similar to `close` in POSIX.
|
1357
|
-
#[instrument(skip(self, _memory))]
|
1358
|
-
async fn fd_close(
|
1359
|
-
&mut self,
|
1360
|
-
_memory: &mut GuestMemory<'_>,
|
1361
|
-
fd: types::Fd,
|
1362
|
-
) -> Result<(), types::Error> {
|
1363
|
-
let desc = self
|
1364
|
-
.transact()?
|
1365
|
-
.descriptors
|
1366
|
-
.remove(fd)
|
1367
|
-
.ok_or(types::Errno::Badf)?;
|
1368
|
-
match desc {
|
1369
|
-
Descriptor::Stdin { stream, .. } => {
|
1370
|
-
streams::HostInputStream::drop(&mut self.as_wasi_impl(), stream)
|
1371
|
-
.context("failed to call `drop` on `input-stream`")
|
1372
|
-
}
|
1373
|
-
Descriptor::Stdout { stream, .. } | Descriptor::Stderr { stream, .. } => {
|
1374
|
-
streams::HostOutputStream::drop(&mut self.as_wasi_impl(), stream)
|
1375
|
-
.context("failed to call `drop` on `output-stream`")
|
1376
|
-
}
|
1377
|
-
Descriptor::File(File { fd, .. }) | Descriptor::Directory { fd, .. } => {
|
1378
|
-
filesystem::HostDescriptor::drop(&mut self.as_wasi_impl(), fd)
|
1379
|
-
.context("failed to call `drop`")
|
1380
|
-
}
|
1381
|
-
}
|
1382
|
-
.map_err(types::Error::trap)
|
1383
|
-
}
|
1384
|
-
|
1385
|
-
/// Synchronize the data of a file to disk.
|
1386
|
-
/// NOTE: This is similar to `fdatasync` in POSIX.
|
1387
|
-
#[instrument(skip(self, _memory))]
|
1388
|
-
async fn fd_datasync(
|
1389
|
-
&mut self,
|
1390
|
-
_memory: &mut GuestMemory<'_>,
|
1391
|
-
fd: types::Fd,
|
1392
|
-
) -> Result<(), types::Error> {
|
1393
|
-
let fd = self.get_file_fd(fd)?;
|
1394
|
-
self.as_wasi_impl().sync_data(fd).await.map_err(|e| {
|
1395
|
-
e.try_into()
|
1396
|
-
.context("failed to call `sync-data`")
|
1397
|
-
.unwrap_or_else(types::Error::trap)
|
1398
|
-
})
|
1399
|
-
}
|
1400
|
-
|
1401
|
-
/// Get the attributes of a file descriptor.
|
1402
|
-
/// NOTE: This returns similar flags to `fsync(fd, F_GETFL)` in POSIX, as well as additional fields.
|
1403
|
-
#[instrument(skip(self, _memory))]
|
1404
|
-
async fn fd_fdstat_get(
|
1405
|
-
&mut self,
|
1406
|
-
_memory: &mut GuestMemory<'_>,
|
1407
|
-
fd: types::Fd,
|
1408
|
-
) -> Result<types::Fdstat, types::Error> {
|
1409
|
-
let (fd, blocking, append) = match self.transact()?.get_descriptor(fd)? {
|
1410
|
-
Descriptor::Stdin { isatty, .. } => {
|
1411
|
-
let fs_rights_base = types::Rights::FD_READ;
|
1412
|
-
return Ok(types::Fdstat {
|
1413
|
-
fs_filetype: (*isatty).into(),
|
1414
|
-
fs_flags: types::Fdflags::empty(),
|
1415
|
-
fs_rights_base,
|
1416
|
-
fs_rights_inheriting: fs_rights_base,
|
1417
|
-
});
|
1418
|
-
}
|
1419
|
-
Descriptor::Stdout { isatty, .. } | Descriptor::Stderr { isatty, .. } => {
|
1420
|
-
let fs_rights_base = types::Rights::FD_WRITE;
|
1421
|
-
return Ok(types::Fdstat {
|
1422
|
-
fs_filetype: (*isatty).into(),
|
1423
|
-
fs_flags: types::Fdflags::empty(),
|
1424
|
-
fs_rights_base,
|
1425
|
-
fs_rights_inheriting: fs_rights_base,
|
1426
|
-
});
|
1427
|
-
}
|
1428
|
-
Descriptor::Directory {
|
1429
|
-
preopen_path: Some(_),
|
1430
|
-
..
|
1431
|
-
} => {
|
1432
|
-
// Hard-coded set or rights expected by many userlands:
|
1433
|
-
let fs_rights_base = types::Rights::PATH_CREATE_DIRECTORY
|
1434
|
-
| types::Rights::PATH_CREATE_FILE
|
1435
|
-
| types::Rights::PATH_LINK_SOURCE
|
1436
|
-
| types::Rights::PATH_LINK_TARGET
|
1437
|
-
| types::Rights::PATH_OPEN
|
1438
|
-
| types::Rights::FD_READDIR
|
1439
|
-
| types::Rights::PATH_READLINK
|
1440
|
-
| types::Rights::PATH_RENAME_SOURCE
|
1441
|
-
| types::Rights::PATH_RENAME_TARGET
|
1442
|
-
| types::Rights::PATH_SYMLINK
|
1443
|
-
| types::Rights::PATH_REMOVE_DIRECTORY
|
1444
|
-
| types::Rights::PATH_UNLINK_FILE
|
1445
|
-
| types::Rights::PATH_FILESTAT_GET
|
1446
|
-
| types::Rights::PATH_FILESTAT_SET_TIMES
|
1447
|
-
| types::Rights::FD_FILESTAT_GET
|
1448
|
-
| types::Rights::FD_FILESTAT_SET_TIMES;
|
1449
|
-
|
1450
|
-
let fs_rights_inheriting = fs_rights_base
|
1451
|
-
| types::Rights::FD_DATASYNC
|
1452
|
-
| types::Rights::FD_READ
|
1453
|
-
| types::Rights::FD_SEEK
|
1454
|
-
| types::Rights::FD_FDSTAT_SET_FLAGS
|
1455
|
-
| types::Rights::FD_SYNC
|
1456
|
-
| types::Rights::FD_TELL
|
1457
|
-
| types::Rights::FD_WRITE
|
1458
|
-
| types::Rights::FD_ADVISE
|
1459
|
-
| types::Rights::FD_ALLOCATE
|
1460
|
-
| types::Rights::FD_FILESTAT_GET
|
1461
|
-
| types::Rights::FD_FILESTAT_SET_SIZE
|
1462
|
-
| types::Rights::FD_FILESTAT_SET_TIMES
|
1463
|
-
| types::Rights::POLL_FD_READWRITE;
|
1464
|
-
|
1465
|
-
return Ok(types::Fdstat {
|
1466
|
-
fs_filetype: types::Filetype::Directory,
|
1467
|
-
fs_flags: types::Fdflags::empty(),
|
1468
|
-
fs_rights_base,
|
1469
|
-
fs_rights_inheriting,
|
1470
|
-
});
|
1471
|
-
}
|
1472
|
-
Descriptor::Directory { fd, .. } => (fd.borrowed(), BlockingMode::Blocking, false),
|
1473
|
-
Descriptor::File(File {
|
1474
|
-
fd,
|
1475
|
-
blocking_mode,
|
1476
|
-
append,
|
1477
|
-
..
|
1478
|
-
}) => (fd.borrowed(), *blocking_mode, *append),
|
1479
|
-
};
|
1480
|
-
let flags = self
|
1481
|
-
.as_wasi_impl()
|
1482
|
-
.get_flags(fd.borrowed())
|
1483
|
-
.await
|
1484
|
-
.map_err(|e| {
|
1485
|
-
e.try_into()
|
1486
|
-
.context("failed to call `get-flags`")
|
1487
|
-
.unwrap_or_else(types::Error::trap)
|
1488
|
-
})?;
|
1489
|
-
let fs_filetype = self
|
1490
|
-
.as_wasi_impl()
|
1491
|
-
.get_type(fd.borrowed())
|
1492
|
-
.await
|
1493
|
-
.map_err(|e| {
|
1494
|
-
e.try_into()
|
1495
|
-
.context("failed to call `get-type`")
|
1496
|
-
.unwrap_or_else(types::Error::trap)
|
1497
|
-
})?
|
1498
|
-
.try_into()
|
1499
|
-
.map_err(types::Error::trap)?;
|
1500
|
-
let mut fs_flags = types::Fdflags::empty();
|
1501
|
-
let mut fs_rights_base = types::Rights::all();
|
1502
|
-
if let types::Filetype::Directory = fs_filetype {
|
1503
|
-
fs_rights_base &= !types::Rights::FD_SEEK;
|
1504
|
-
fs_rights_base &= !types::Rights::FD_FILESTAT_SET_SIZE;
|
1505
|
-
}
|
1506
|
-
if !flags.contains(filesystem::DescriptorFlags::READ) {
|
1507
|
-
fs_rights_base &= !types::Rights::FD_READ;
|
1508
|
-
fs_rights_base &= !types::Rights::FD_READDIR;
|
1509
|
-
}
|
1510
|
-
if !flags.contains(filesystem::DescriptorFlags::WRITE) {
|
1511
|
-
fs_rights_base &= !types::Rights::FD_WRITE;
|
1512
|
-
}
|
1513
|
-
if flags.contains(filesystem::DescriptorFlags::DATA_INTEGRITY_SYNC) {
|
1514
|
-
fs_flags |= types::Fdflags::DSYNC;
|
1515
|
-
}
|
1516
|
-
if flags.contains(filesystem::DescriptorFlags::REQUESTED_WRITE_SYNC) {
|
1517
|
-
fs_flags |= types::Fdflags::RSYNC;
|
1518
|
-
}
|
1519
|
-
if flags.contains(filesystem::DescriptorFlags::FILE_INTEGRITY_SYNC) {
|
1520
|
-
fs_flags |= types::Fdflags::SYNC;
|
1521
|
-
}
|
1522
|
-
if append {
|
1523
|
-
fs_flags |= types::Fdflags::APPEND;
|
1524
|
-
}
|
1525
|
-
if matches!(blocking, BlockingMode::NonBlocking) {
|
1526
|
-
fs_flags |= types::Fdflags::NONBLOCK;
|
1527
|
-
}
|
1528
|
-
Ok(types::Fdstat {
|
1529
|
-
fs_filetype,
|
1530
|
-
fs_flags,
|
1531
|
-
fs_rights_base,
|
1532
|
-
fs_rights_inheriting: fs_rights_base,
|
1533
|
-
})
|
1534
|
-
}
|
1535
|
-
|
1536
|
-
/// Adjust the flags associated with a file descriptor.
|
1537
|
-
/// NOTE: This is similar to `fcntl(fd, F_SETFL, flags)` in POSIX.
|
1538
|
-
#[instrument(skip(self, _memory))]
|
1539
|
-
fn fd_fdstat_set_flags(
|
1540
|
-
&mut self,
|
1541
|
-
_memory: &mut GuestMemory<'_>,
|
1542
|
-
fd: types::Fd,
|
1543
|
-
flags: types::Fdflags,
|
1544
|
-
) -> Result<(), types::Error> {
|
1545
|
-
let mut st = self.transact()?;
|
1546
|
-
let File {
|
1547
|
-
append,
|
1548
|
-
blocking_mode,
|
1549
|
-
..
|
1550
|
-
} = st.get_file_mut(fd)?;
|
1551
|
-
|
1552
|
-
// Only support changing the NONBLOCK or APPEND flags.
|
1553
|
-
if flags.contains(types::Fdflags::DSYNC)
|
1554
|
-
|| flags.contains(types::Fdflags::SYNC)
|
1555
|
-
|| flags.contains(types::Fdflags::RSYNC)
|
1556
|
-
{
|
1557
|
-
return Err(types::Errno::Inval.into());
|
1558
|
-
}
|
1559
|
-
*append = flags.contains(types::Fdflags::APPEND);
|
1560
|
-
*blocking_mode = BlockingMode::from_fdflags(&flags);
|
1561
|
-
Ok(())
|
1562
|
-
}
|
1563
|
-
|
1564
|
-
/// Does not do anything if `fd` corresponds to a valid descriptor and returns `[types::Errno::Badf]` error otherwise.
|
1565
|
-
#[instrument(skip(self, _memory))]
|
1566
|
-
fn fd_fdstat_set_rights(
|
1567
|
-
&mut self,
|
1568
|
-
_memory: &mut GuestMemory<'_>,
|
1569
|
-
fd: types::Fd,
|
1570
|
-
_fs_rights_base: types::Rights,
|
1571
|
-
_fs_rights_inheriting: types::Rights,
|
1572
|
-
) -> Result<(), types::Error> {
|
1573
|
-
self.get_fd(fd)?;
|
1574
|
-
Ok(())
|
1575
|
-
}
|
1576
|
-
|
1577
|
-
/// Return the attributes of an open file.
|
1578
|
-
#[instrument(skip(self, _memory))]
|
1579
|
-
async fn fd_filestat_get(
|
1580
|
-
&mut self,
|
1581
|
-
_memory: &mut GuestMemory<'_>,
|
1582
|
-
fd: types::Fd,
|
1583
|
-
) -> Result<types::Filestat, types::Error> {
|
1584
|
-
let t = self.transact()?;
|
1585
|
-
let desc = t.get_descriptor(fd)?;
|
1586
|
-
match desc {
|
1587
|
-
Descriptor::Stdin { isatty, .. }
|
1588
|
-
| Descriptor::Stdout { isatty, .. }
|
1589
|
-
| Descriptor::Stderr { isatty, .. } => Ok(types::Filestat {
|
1590
|
-
dev: 0,
|
1591
|
-
ino: 0,
|
1592
|
-
filetype: (*isatty).into(),
|
1593
|
-
nlink: 0,
|
1594
|
-
size: 0,
|
1595
|
-
atim: 0,
|
1596
|
-
mtim: 0,
|
1597
|
-
ctim: 0,
|
1598
|
-
}),
|
1599
|
-
Descriptor::Directory { fd, .. } | Descriptor::File(File { fd, .. }) => {
|
1600
|
-
let fd = fd.borrowed();
|
1601
|
-
drop(t);
|
1602
|
-
let filesystem::DescriptorStat {
|
1603
|
-
type_,
|
1604
|
-
link_count: nlink,
|
1605
|
-
size,
|
1606
|
-
data_access_timestamp,
|
1607
|
-
data_modification_timestamp,
|
1608
|
-
status_change_timestamp,
|
1609
|
-
} = self.as_wasi_impl().stat(fd.borrowed()).await.map_err(|e| {
|
1610
|
-
e.try_into()
|
1611
|
-
.context("failed to call `stat`")
|
1612
|
-
.unwrap_or_else(types::Error::trap)
|
1613
|
-
})?;
|
1614
|
-
let metadata_hash = self.as_wasi_impl().metadata_hash(fd).await.map_err(|e| {
|
1615
|
-
e.try_into()
|
1616
|
-
.context("failed to call `metadata_hash`")
|
1617
|
-
.unwrap_or_else(types::Error::trap)
|
1618
|
-
})?;
|
1619
|
-
let filetype = type_.try_into().map_err(types::Error::trap)?;
|
1620
|
-
let zero = wall_clock::Datetime {
|
1621
|
-
seconds: 0,
|
1622
|
-
nanoseconds: 0,
|
1623
|
-
};
|
1624
|
-
let atim = data_access_timestamp.unwrap_or(zero).try_into()?;
|
1625
|
-
let mtim = data_modification_timestamp.unwrap_or(zero).try_into()?;
|
1626
|
-
let ctim = status_change_timestamp.unwrap_or(zero).try_into()?;
|
1627
|
-
Ok(types::Filestat {
|
1628
|
-
dev: 1,
|
1629
|
-
ino: metadata_hash.lower,
|
1630
|
-
filetype,
|
1631
|
-
nlink,
|
1632
|
-
size,
|
1633
|
-
atim,
|
1634
|
-
mtim,
|
1635
|
-
ctim,
|
1636
|
-
})
|
1637
|
-
}
|
1638
|
-
}
|
1639
|
-
}
|
1640
|
-
|
1641
|
-
/// Adjust the size of an open file. If this increases the file's size, the extra bytes are filled with zeros.
|
1642
|
-
/// NOTE: This is similar to `ftruncate` in POSIX.
|
1643
|
-
#[instrument(skip(self, _memory))]
|
1644
|
-
async fn fd_filestat_set_size(
|
1645
|
-
&mut self,
|
1646
|
-
_memory: &mut GuestMemory<'_>,
|
1647
|
-
fd: types::Fd,
|
1648
|
-
size: types::Filesize,
|
1649
|
-
) -> Result<(), types::Error> {
|
1650
|
-
let fd = self.get_file_fd(fd)?;
|
1651
|
-
self.as_wasi_impl().set_size(fd, size).await.map_err(|e| {
|
1652
|
-
e.try_into()
|
1653
|
-
.context("failed to call `set-size`")
|
1654
|
-
.unwrap_or_else(types::Error::trap)
|
1655
|
-
})
|
1656
|
-
}
|
1657
|
-
|
1658
|
-
/// Adjust the timestamps of an open file or directory.
|
1659
|
-
/// NOTE: This is similar to `futimens` in POSIX.
|
1660
|
-
#[instrument(skip(self, _memory))]
|
1661
|
-
async fn fd_filestat_set_times(
|
1662
|
-
&mut self,
|
1663
|
-
_memory: &mut GuestMemory<'_>,
|
1664
|
-
fd: types::Fd,
|
1665
|
-
atim: types::Timestamp,
|
1666
|
-
mtim: types::Timestamp,
|
1667
|
-
fst_flags: types::Fstflags,
|
1668
|
-
) -> Result<(), types::Error> {
|
1669
|
-
let atim = systimespec(
|
1670
|
-
fst_flags.contains(types::Fstflags::ATIM),
|
1671
|
-
atim,
|
1672
|
-
fst_flags.contains(types::Fstflags::ATIM_NOW),
|
1673
|
-
)?;
|
1674
|
-
let mtim = systimespec(
|
1675
|
-
fst_flags.contains(types::Fstflags::MTIM),
|
1676
|
-
mtim,
|
1677
|
-
fst_flags.contains(types::Fstflags::MTIM_NOW),
|
1678
|
-
)?;
|
1679
|
-
|
1680
|
-
let fd = self.get_fd(fd)?;
|
1681
|
-
self.as_wasi_impl()
|
1682
|
-
.set_times(fd, atim, mtim)
|
1683
|
-
.await
|
1684
|
-
.map_err(|e| {
|
1685
|
-
e.try_into()
|
1686
|
-
.context("failed to call `set-times`")
|
1687
|
-
.unwrap_or_else(types::Error::trap)
|
1688
|
-
})
|
1689
|
-
}
|
1690
|
-
|
1691
|
-
/// Read from a file descriptor.
|
1692
|
-
/// NOTE: This is similar to `readv` in POSIX.
|
1693
|
-
#[instrument(skip(self, memory))]
|
1694
|
-
async fn fd_read(
|
1695
|
-
&mut self,
|
1696
|
-
memory: &mut GuestMemory<'_>,
|
1697
|
-
fd: types::Fd,
|
1698
|
-
iovs: types::IovecArray,
|
1699
|
-
) -> Result<types::Size, types::Error> {
|
1700
|
-
let t = self.transact()?;
|
1701
|
-
let desc = t.get_descriptor(fd)?;
|
1702
|
-
match desc {
|
1703
|
-
Descriptor::File(File {
|
1704
|
-
fd,
|
1705
|
-
position,
|
1706
|
-
// NB: the nonblocking flag is intentionally ignored here and
|
1707
|
-
// blocking reads/writes are always performed.
|
1708
|
-
blocking_mode: _,
|
1709
|
-
..
|
1710
|
-
}) => {
|
1711
|
-
let fd = fd.borrowed();
|
1712
|
-
let position = position.clone();
|
1713
|
-
drop(t);
|
1714
|
-
let pos = position.load(Ordering::Relaxed);
|
1715
|
-
let file = self.table().get(&fd)?.file()?;
|
1716
|
-
let iov = first_non_empty_iovec(memory, iovs)?;
|
1717
|
-
let bytes_read = match (file.as_blocking_file(), memory.as_slice_mut(iov)?) {
|
1718
|
-
// Try to read directly into wasm memory where possible
|
1719
|
-
// when the current thread can block and additionally wasm
|
1720
|
-
// memory isn't shared.
|
1721
|
-
(Some(file), Some(mut buf)) => file
|
1722
|
-
.read_at(&mut buf, pos)
|
1723
|
-
.map_err(|e| StreamError::LastOperationFailed(e.into()))?,
|
1724
|
-
// ... otherwise fall back to performing the read on a
|
1725
|
-
// blocking thread and which copies the data back into wasm
|
1726
|
-
// memory.
|
1727
|
-
(_, buf) => {
|
1728
|
-
drop(buf);
|
1729
|
-
let mut buf = vec![0; iov.len() as usize];
|
1730
|
-
let buf = file
|
1731
|
-
.spawn_blocking(move |file| -> Result<_, types::Error> {
|
1732
|
-
let bytes_read = file
|
1733
|
-
.read_at(&mut buf, pos)
|
1734
|
-
.map_err(|e| StreamError::LastOperationFailed(e.into()))?;
|
1735
|
-
buf.truncate(bytes_read);
|
1736
|
-
Ok(buf)
|
1737
|
-
})
|
1738
|
-
.await?;
|
1739
|
-
let iov = iov.get_range(0..u32::try_from(buf.len())?).unwrap();
|
1740
|
-
memory.copy_from_slice(&buf, iov)?;
|
1741
|
-
buf.len()
|
1742
|
-
}
|
1743
|
-
};
|
1744
|
-
|
1745
|
-
let pos = pos
|
1746
|
-
.checked_add(bytes_read.try_into()?)
|
1747
|
-
.ok_or(types::Errno::Overflow)?;
|
1748
|
-
position.store(pos, Ordering::Relaxed);
|
1749
|
-
|
1750
|
-
Ok(bytes_read.try_into()?)
|
1751
|
-
}
|
1752
|
-
Descriptor::Stdin { stream, .. } => {
|
1753
|
-
let stream = stream.borrowed();
|
1754
|
-
drop(t);
|
1755
|
-
let buf = first_non_empty_iovec(memory, iovs)?;
|
1756
|
-
let read = BlockingMode::Blocking
|
1757
|
-
.read(&mut self.as_wasi_impl(), stream, buf.len().try_into()?)
|
1758
|
-
.await?;
|
1759
|
-
if read.len() > buf.len().try_into()? {
|
1760
|
-
return Err(types::Errno::Range.into());
|
1761
|
-
}
|
1762
|
-
let buf = buf.get_range(0..u32::try_from(read.len())?).unwrap();
|
1763
|
-
memory.copy_from_slice(&read, buf)?;
|
1764
|
-
let n = read.len().try_into()?;
|
1765
|
-
Ok(n)
|
1766
|
-
}
|
1767
|
-
_ => return Err(types::Errno::Badf.into()),
|
1768
|
-
}
|
1769
|
-
}
|
1770
|
-
|
1771
|
-
/// Read from a file descriptor, without using and updating the file descriptor's offset.
|
1772
|
-
/// NOTE: This is similar to `preadv` in POSIX.
|
1773
|
-
#[instrument(skip(self, memory))]
|
1774
|
-
async fn fd_pread(
|
1775
|
-
&mut self,
|
1776
|
-
memory: &mut GuestMemory<'_>,
|
1777
|
-
fd: types::Fd,
|
1778
|
-
iovs: types::IovecArray,
|
1779
|
-
offset: types::Filesize,
|
1780
|
-
) -> Result<types::Size, types::Error> {
|
1781
|
-
let t = self.transact()?;
|
1782
|
-
let desc = t.get_descriptor(fd)?;
|
1783
|
-
let (buf, read) = match desc {
|
1784
|
-
Descriptor::File(File {
|
1785
|
-
fd, blocking_mode, ..
|
1786
|
-
}) => {
|
1787
|
-
let fd = fd.borrowed();
|
1788
|
-
let blocking_mode = *blocking_mode;
|
1789
|
-
drop(t);
|
1790
|
-
let buf = first_non_empty_iovec(memory, iovs)?;
|
1791
|
-
|
1792
|
-
let stream = self
|
1793
|
-
.as_wasi_impl()
|
1794
|
-
.read_via_stream(fd, offset)
|
1795
|
-
.map_err(|e| {
|
1796
|
-
e.try_into()
|
1797
|
-
.context("failed to call `read-via-stream`")
|
1798
|
-
.unwrap_or_else(types::Error::trap)
|
1799
|
-
})?;
|
1800
|
-
let read = blocking_mode
|
1801
|
-
.read(
|
1802
|
-
&mut self.as_wasi_impl(),
|
1803
|
-
stream.borrowed(),
|
1804
|
-
buf.len().try_into()?,
|
1805
|
-
)
|
1806
|
-
.await;
|
1807
|
-
streams::HostInputStream::drop(&mut self.as_wasi_impl(), stream)
|
1808
|
-
.map_err(|e| types::Error::trap(e))?;
|
1809
|
-
(buf, read?)
|
1810
|
-
}
|
1811
|
-
Descriptor::Stdin { .. } => {
|
1812
|
-
// NOTE: legacy implementation returns SPIPE here
|
1813
|
-
return Err(types::Errno::Spipe.into());
|
1814
|
-
}
|
1815
|
-
_ => return Err(types::Errno::Badf.into()),
|
1816
|
-
};
|
1817
|
-
if read.len() > buf.len().try_into()? {
|
1818
|
-
return Err(types::Errno::Range.into());
|
1819
|
-
}
|
1820
|
-
let buf = buf.get_range(0..u32::try_from(read.len())?).unwrap();
|
1821
|
-
memory.copy_from_slice(&read, buf)?;
|
1822
|
-
let n = read.len().try_into()?;
|
1823
|
-
Ok(n)
|
1824
|
-
}
|
1825
|
-
|
1826
|
-
/// Write to a file descriptor.
|
1827
|
-
/// NOTE: This is similar to `writev` in POSIX.
|
1828
|
-
#[instrument(skip(self, memory))]
|
1829
|
-
async fn fd_write(
|
1830
|
-
&mut self,
|
1831
|
-
memory: &mut GuestMemory<'_>,
|
1832
|
-
fd: types::Fd,
|
1833
|
-
ciovs: types::CiovecArray,
|
1834
|
-
) -> Result<types::Size, types::Error> {
|
1835
|
-
self.fd_write_impl(memory, fd, ciovs, FdWrite::AtCur).await
|
1836
|
-
}
|
1837
|
-
|
1838
|
-
/// Write to a file descriptor, without using and updating the file descriptor's offset.
|
1839
|
-
/// NOTE: This is similar to `pwritev` in POSIX.
|
1840
|
-
#[instrument(skip(self, memory))]
|
1841
|
-
async fn fd_pwrite(
|
1842
|
-
&mut self,
|
1843
|
-
memory: &mut GuestMemory<'_>,
|
1844
|
-
fd: types::Fd,
|
1845
|
-
ciovs: types::CiovecArray,
|
1846
|
-
offset: types::Filesize,
|
1847
|
-
) -> Result<types::Size, types::Error> {
|
1848
|
-
self.fd_write_impl(memory, fd, ciovs, FdWrite::At(offset))
|
1849
|
-
.await
|
1850
|
-
}
|
1851
|
-
|
1852
|
-
/// Return a description of the given preopened file descriptor.
|
1853
|
-
#[instrument(skip(self, _memory))]
|
1854
|
-
fn fd_prestat_get(
|
1855
|
-
&mut self,
|
1856
|
-
_memory: &mut GuestMemory<'_>,
|
1857
|
-
fd: types::Fd,
|
1858
|
-
) -> Result<types::Prestat, types::Error> {
|
1859
|
-
if let Descriptor::Directory {
|
1860
|
-
preopen_path: Some(p),
|
1861
|
-
..
|
1862
|
-
} = self.transact()?.get_descriptor(fd)?
|
1863
|
-
{
|
1864
|
-
let pr_name_len = p.len().try_into()?;
|
1865
|
-
return Ok(types::Prestat::Dir(types::PrestatDir { pr_name_len }));
|
1866
|
-
}
|
1867
|
-
Err(types::Errno::Badf.into()) // NOTE: legacy implementation returns BADF here
|
1868
|
-
}
|
1869
|
-
|
1870
|
-
/// Return a description of the given preopened file descriptor.
|
1871
|
-
#[instrument(skip(self, memory))]
|
1872
|
-
fn fd_prestat_dir_name(
|
1873
|
-
&mut self,
|
1874
|
-
memory: &mut GuestMemory<'_>,
|
1875
|
-
fd: types::Fd,
|
1876
|
-
path: GuestPtr<u8>,
|
1877
|
-
path_max_len: types::Size,
|
1878
|
-
) -> Result<(), types::Error> {
|
1879
|
-
let path_max_len = path_max_len.try_into()?;
|
1880
|
-
if let Descriptor::Directory {
|
1881
|
-
preopen_path: Some(p),
|
1882
|
-
..
|
1883
|
-
} = self.transact()?.get_descriptor(fd)?
|
1884
|
-
{
|
1885
|
-
if p.len() > path_max_len {
|
1886
|
-
return Err(types::Errno::Nametoolong.into());
|
1887
|
-
}
|
1888
|
-
write_bytes(memory, path, p.as_bytes())?;
|
1889
|
-
return Ok(());
|
1890
|
-
}
|
1891
|
-
Err(types::Errno::Notdir.into()) // NOTE: legacy implementation returns NOTDIR here
|
1892
|
-
}
|
1893
|
-
|
1894
|
-
/// Atomically replace a file descriptor by renumbering another file descriptor.
|
1895
|
-
#[instrument(skip(self, _memory))]
|
1896
|
-
fn fd_renumber(
|
1897
|
-
&mut self,
|
1898
|
-
_memory: &mut GuestMemory<'_>,
|
1899
|
-
from: types::Fd,
|
1900
|
-
to: types::Fd,
|
1901
|
-
) -> Result<(), types::Error> {
|
1902
|
-
let mut st = self.transact()?;
|
1903
|
-
let desc = st.descriptors.remove(from).ok_or(types::Errno::Badf)?;
|
1904
|
-
st.descriptors.insert(to.into(), desc);
|
1905
|
-
Ok(())
|
1906
|
-
}
|
1907
|
-
|
1908
|
-
/// Move the offset of a file descriptor.
|
1909
|
-
/// NOTE: This is similar to `lseek` in POSIX.
|
1910
|
-
#[instrument(skip(self, _memory))]
|
1911
|
-
async fn fd_seek(
|
1912
|
-
&mut self,
|
1913
|
-
_memory: &mut GuestMemory<'_>,
|
1914
|
-
fd: types::Fd,
|
1915
|
-
offset: types::Filedelta,
|
1916
|
-
whence: types::Whence,
|
1917
|
-
) -> Result<types::Filesize, types::Error> {
|
1918
|
-
let t = self.transact()?;
|
1919
|
-
let File { fd, position, .. } = t.get_seekable(fd)?;
|
1920
|
-
let fd = fd.borrowed();
|
1921
|
-
let position = position.clone();
|
1922
|
-
drop(t);
|
1923
|
-
let pos = match whence {
|
1924
|
-
types::Whence::Set if offset >= 0 => {
|
1925
|
-
offset.try_into().map_err(|_| types::Errno::Inval)?
|
1926
|
-
}
|
1927
|
-
types::Whence::Cur => position
|
1928
|
-
.load(Ordering::Relaxed)
|
1929
|
-
.checked_add_signed(offset)
|
1930
|
-
.ok_or(types::Errno::Inval)?,
|
1931
|
-
types::Whence::End => {
|
1932
|
-
let filesystem::DescriptorStat { size, .. } =
|
1933
|
-
self.as_wasi_impl().stat(fd).await.map_err(|e| {
|
1934
|
-
e.try_into()
|
1935
|
-
.context("failed to call `stat`")
|
1936
|
-
.unwrap_or_else(types::Error::trap)
|
1937
|
-
})?;
|
1938
|
-
size.checked_add_signed(offset).ok_or(types::Errno::Inval)?
|
1939
|
-
}
|
1940
|
-
_ => return Err(types::Errno::Inval.into()),
|
1941
|
-
};
|
1942
|
-
position.store(pos, Ordering::Relaxed);
|
1943
|
-
Ok(pos)
|
1944
|
-
}
|
1945
|
-
|
1946
|
-
/// Synchronize the data and metadata of a file to disk.
|
1947
|
-
/// NOTE: This is similar to `fsync` in POSIX.
|
1948
|
-
#[instrument(skip(self, _memory))]
|
1949
|
-
async fn fd_sync(
|
1950
|
-
&mut self,
|
1951
|
-
_memory: &mut GuestMemory<'_>,
|
1952
|
-
fd: types::Fd,
|
1953
|
-
) -> Result<(), types::Error> {
|
1954
|
-
let fd = self.get_file_fd(fd)?;
|
1955
|
-
self.as_wasi_impl().sync(fd).await.map_err(|e| {
|
1956
|
-
e.try_into()
|
1957
|
-
.context("failed to call `sync`")
|
1958
|
-
.unwrap_or_else(types::Error::trap)
|
1959
|
-
})
|
1960
|
-
}
|
1961
|
-
|
1962
|
-
/// Return the current offset of a file descriptor.
|
1963
|
-
/// NOTE: This is similar to `lseek(fd, 0, SEEK_CUR)` in POSIX.
|
1964
|
-
#[instrument(skip(self, _memory))]
|
1965
|
-
fn fd_tell(
|
1966
|
-
&mut self,
|
1967
|
-
_memory: &mut GuestMemory<'_>,
|
1968
|
-
fd: types::Fd,
|
1969
|
-
) -> Result<types::Filesize, types::Error> {
|
1970
|
-
let pos = self
|
1971
|
-
.transact()?
|
1972
|
-
.get_seekable(fd)
|
1973
|
-
.map(|File { position, .. }| position.load(Ordering::Relaxed))?;
|
1974
|
-
Ok(pos)
|
1975
|
-
}
|
1976
|
-
|
1977
|
-
#[instrument(skip(self, memory))]
|
1978
|
-
async fn fd_readdir(
|
1979
|
-
&mut self,
|
1980
|
-
memory: &mut GuestMemory<'_>,
|
1981
|
-
fd: types::Fd,
|
1982
|
-
buf: GuestPtr<u8>,
|
1983
|
-
buf_len: types::Size,
|
1984
|
-
cookie: types::Dircookie,
|
1985
|
-
) -> Result<types::Size, types::Error> {
|
1986
|
-
let fd = self.get_dir_fd(fd)?;
|
1987
|
-
let stream = self
|
1988
|
-
.as_wasi_impl()
|
1989
|
-
.read_directory(fd.borrowed())
|
1990
|
-
.await
|
1991
|
-
.map_err(|e| {
|
1992
|
-
e.try_into()
|
1993
|
-
.context("failed to call `read-directory`")
|
1994
|
-
.unwrap_or_else(types::Error::trap)
|
1995
|
-
})?;
|
1996
|
-
let dir_metadata_hash = self
|
1997
|
-
.as_wasi_impl()
|
1998
|
-
.metadata_hash(fd.borrowed())
|
1999
|
-
.await
|
2000
|
-
.map_err(|e| {
|
2001
|
-
e.try_into()
|
2002
|
-
.context("failed to call `metadata-hash`")
|
2003
|
-
.unwrap_or_else(types::Error::trap)
|
2004
|
-
})?;
|
2005
|
-
let cookie = cookie.try_into().map_err(|_| types::Errno::Overflow)?;
|
2006
|
-
|
2007
|
-
let head = [
|
2008
|
-
(
|
2009
|
-
types::Dirent {
|
2010
|
-
d_next: 1u64.to_le(),
|
2011
|
-
d_ino: dir_metadata_hash.lower.to_le(),
|
2012
|
-
d_type: types::Filetype::Directory,
|
2013
|
-
d_namlen: 1u32.to_le(),
|
2014
|
-
},
|
2015
|
-
".".into(),
|
2016
|
-
),
|
2017
|
-
(
|
2018
|
-
types::Dirent {
|
2019
|
-
d_next: 2u64.to_le(),
|
2020
|
-
d_ino: dir_metadata_hash.lower.to_le(), // NOTE: incorrect, but legacy implementation returns `fd` inode here
|
2021
|
-
d_type: types::Filetype::Directory,
|
2022
|
-
d_namlen: 2u32.to_le(),
|
2023
|
-
},
|
2024
|
-
"..".into(),
|
2025
|
-
),
|
2026
|
-
];
|
2027
|
-
|
2028
|
-
let mut dir = Vec::new();
|
2029
|
-
for (entry, d_next) in self
|
2030
|
-
.table()
|
2031
|
-
// remove iterator from table and use it directly:
|
2032
|
-
.delete(stream)?
|
2033
|
-
.into_iter()
|
2034
|
-
.zip(3u64..)
|
2035
|
-
{
|
2036
|
-
let filesystem::DirectoryEntry { type_, name } = entry.map_err(|e| {
|
2037
|
-
e.try_into()
|
2038
|
-
.context("failed to inspect `read-directory` entry")
|
2039
|
-
.unwrap_or_else(types::Error::trap)
|
2040
|
-
})?;
|
2041
|
-
let metadata_hash = self
|
2042
|
-
.as_wasi_impl()
|
2043
|
-
.metadata_hash_at(fd.borrowed(), filesystem::PathFlags::empty(), name.clone())
|
2044
|
-
.await
|
2045
|
-
.map_err(|e| {
|
2046
|
-
e.try_into()
|
2047
|
-
.context("failed to call `metadata-hash-at`")
|
2048
|
-
.unwrap_or_else(types::Error::trap)
|
2049
|
-
})?;
|
2050
|
-
let d_type = type_.try_into().map_err(types::Error::trap)?;
|
2051
|
-
let d_namlen: u32 = name.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
2052
|
-
dir.push((
|
2053
|
-
types::Dirent {
|
2054
|
-
d_next: d_next.to_le(),
|
2055
|
-
d_ino: metadata_hash.lower.to_le(),
|
2056
|
-
d_type, // endian-invariant
|
2057
|
-
d_namlen: d_namlen.to_le(),
|
2058
|
-
},
|
2059
|
-
name,
|
2060
|
-
))
|
2061
|
-
}
|
2062
|
-
|
2063
|
-
// assume that `types::Dirent` size always fits in `u32`
|
2064
|
-
const DIRENT_SIZE: u32 = size_of::<types::Dirent>() as _;
|
2065
|
-
assert_eq!(
|
2066
|
-
types::Dirent::guest_size(),
|
2067
|
-
DIRENT_SIZE,
|
2068
|
-
"Dirent guest repr and host repr should match"
|
2069
|
-
);
|
2070
|
-
let mut buf = buf;
|
2071
|
-
let mut cap = buf_len;
|
2072
|
-
for (ref entry, path) in head.into_iter().chain(dir.into_iter()).skip(cookie) {
|
2073
|
-
let mut path = path.into_bytes();
|
2074
|
-
assert_eq!(
|
2075
|
-
1,
|
2076
|
-
size_of_val(&entry.d_type),
|
2077
|
-
"Dirent member d_type should be endian-invariant"
|
2078
|
-
);
|
2079
|
-
let entry_len = cap.min(DIRENT_SIZE);
|
2080
|
-
let entry = entry as *const _ as _;
|
2081
|
-
let entry = unsafe { slice::from_raw_parts(entry, entry_len as _) };
|
2082
|
-
cap = cap.checked_sub(entry_len).unwrap();
|
2083
|
-
buf = write_bytes(memory, buf, entry)?;
|
2084
|
-
if cap == 0 {
|
2085
|
-
return Ok(buf_len);
|
2086
|
-
}
|
2087
|
-
|
2088
|
-
if let Ok(cap) = cap.try_into() {
|
2089
|
-
// `path` cannot be longer than `usize`, only truncate if `cap` fits in `usize`
|
2090
|
-
path.truncate(cap);
|
2091
|
-
}
|
2092
|
-
cap = cap.checked_sub(path.len() as _).unwrap();
|
2093
|
-
buf = write_bytes(memory, buf, &path)?;
|
2094
|
-
if cap == 0 {
|
2095
|
-
return Ok(buf_len);
|
2096
|
-
}
|
2097
|
-
}
|
2098
|
-
Ok(buf_len.checked_sub(cap).unwrap())
|
2099
|
-
}
|
2100
|
-
|
2101
|
-
#[instrument(skip(self, memory))]
|
2102
|
-
async fn path_create_directory(
|
2103
|
-
&mut self,
|
2104
|
-
memory: &mut GuestMemory<'_>,
|
2105
|
-
dirfd: types::Fd,
|
2106
|
-
path: GuestPtr<str>,
|
2107
|
-
) -> Result<(), types::Error> {
|
2108
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2109
|
-
let path = read_string(memory, path)?;
|
2110
|
-
self.as_wasi_impl()
|
2111
|
-
.create_directory_at(dirfd.borrowed(), path)
|
2112
|
-
.await
|
2113
|
-
.map_err(|e| {
|
2114
|
-
e.try_into()
|
2115
|
-
.context("failed to call `create-directory-at`")
|
2116
|
-
.unwrap_or_else(types::Error::trap)
|
2117
|
-
})
|
2118
|
-
}
|
2119
|
-
|
2120
|
-
/// Return the attributes of a file or directory.
|
2121
|
-
/// NOTE: This is similar to `stat` in POSIX.
|
2122
|
-
#[instrument(skip(self, memory))]
|
2123
|
-
async fn path_filestat_get(
|
2124
|
-
&mut self,
|
2125
|
-
memory: &mut GuestMemory<'_>,
|
2126
|
-
dirfd: types::Fd,
|
2127
|
-
flags: types::Lookupflags,
|
2128
|
-
path: GuestPtr<str>,
|
2129
|
-
) -> Result<types::Filestat, types::Error> {
|
2130
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2131
|
-
let path = read_string(memory, path)?;
|
2132
|
-
let filesystem::DescriptorStat {
|
2133
|
-
type_,
|
2134
|
-
link_count: nlink,
|
2135
|
-
size,
|
2136
|
-
data_access_timestamp,
|
2137
|
-
data_modification_timestamp,
|
2138
|
-
status_change_timestamp,
|
2139
|
-
} = self
|
2140
|
-
.as_wasi_impl()
|
2141
|
-
.stat_at(dirfd.borrowed(), flags.into(), path.clone())
|
2142
|
-
.await
|
2143
|
-
.map_err(|e| {
|
2144
|
-
e.try_into()
|
2145
|
-
.context("failed to call `stat-at`")
|
2146
|
-
.unwrap_or_else(types::Error::trap)
|
2147
|
-
})?;
|
2148
|
-
let metadata_hash = self
|
2149
|
-
.as_wasi_impl()
|
2150
|
-
.metadata_hash_at(dirfd, flags.into(), path)
|
2151
|
-
.await
|
2152
|
-
.map_err(|e| {
|
2153
|
-
e.try_into()
|
2154
|
-
.context("failed to call `metadata-hash-at`")
|
2155
|
-
.unwrap_or_else(types::Error::trap)
|
2156
|
-
})?;
|
2157
|
-
let filetype = type_.try_into().map_err(types::Error::trap)?;
|
2158
|
-
let zero = wall_clock::Datetime {
|
2159
|
-
seconds: 0,
|
2160
|
-
nanoseconds: 0,
|
2161
|
-
};
|
2162
|
-
let atim = data_access_timestamp.unwrap_or(zero).try_into()?;
|
2163
|
-
let mtim = data_modification_timestamp.unwrap_or(zero).try_into()?;
|
2164
|
-
let ctim = status_change_timestamp.unwrap_or(zero).try_into()?;
|
2165
|
-
Ok(types::Filestat {
|
2166
|
-
dev: 1,
|
2167
|
-
ino: metadata_hash.lower,
|
2168
|
-
filetype,
|
2169
|
-
nlink,
|
2170
|
-
size,
|
2171
|
-
atim,
|
2172
|
-
mtim,
|
2173
|
-
ctim,
|
2174
|
-
})
|
2175
|
-
}
|
2176
|
-
|
2177
|
-
/// Adjust the timestamps of a file or directory.
|
2178
|
-
/// NOTE: This is similar to `utimensat` in POSIX.
|
2179
|
-
#[instrument(skip(self, memory))]
|
2180
|
-
async fn path_filestat_set_times(
|
2181
|
-
&mut self,
|
2182
|
-
memory: &mut GuestMemory<'_>,
|
2183
|
-
dirfd: types::Fd,
|
2184
|
-
flags: types::Lookupflags,
|
2185
|
-
path: GuestPtr<str>,
|
2186
|
-
atim: types::Timestamp,
|
2187
|
-
mtim: types::Timestamp,
|
2188
|
-
fst_flags: types::Fstflags,
|
2189
|
-
) -> Result<(), types::Error> {
|
2190
|
-
let atim = systimespec(
|
2191
|
-
fst_flags.contains(types::Fstflags::ATIM),
|
2192
|
-
atim,
|
2193
|
-
fst_flags.contains(types::Fstflags::ATIM_NOW),
|
2194
|
-
)?;
|
2195
|
-
let mtim = systimespec(
|
2196
|
-
fst_flags.contains(types::Fstflags::MTIM),
|
2197
|
-
mtim,
|
2198
|
-
fst_flags.contains(types::Fstflags::MTIM_NOW),
|
2199
|
-
)?;
|
2200
|
-
|
2201
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2202
|
-
let path = read_string(memory, path)?;
|
2203
|
-
self.as_wasi_impl()
|
2204
|
-
.set_times_at(dirfd, flags.into(), path, atim, mtim)
|
2205
|
-
.await
|
2206
|
-
.map_err(|e| {
|
2207
|
-
e.try_into()
|
2208
|
-
.context("failed to call `set-times-at`")
|
2209
|
-
.unwrap_or_else(types::Error::trap)
|
2210
|
-
})
|
2211
|
-
}
|
2212
|
-
|
2213
|
-
/// Create a hard link.
|
2214
|
-
/// NOTE: This is similar to `linkat` in POSIX.
|
2215
|
-
#[instrument(skip(self, memory))]
|
2216
|
-
async fn path_link(
|
2217
|
-
&mut self,
|
2218
|
-
memory: &mut GuestMemory<'_>,
|
2219
|
-
src_fd: types::Fd,
|
2220
|
-
src_flags: types::Lookupflags,
|
2221
|
-
src_path: GuestPtr<str>,
|
2222
|
-
target_fd: types::Fd,
|
2223
|
-
target_path: GuestPtr<str>,
|
2224
|
-
) -> Result<(), types::Error> {
|
2225
|
-
let src_fd = self.get_dir_fd(src_fd)?;
|
2226
|
-
let target_fd = self.get_dir_fd(target_fd)?;
|
2227
|
-
let src_path = read_string(memory, src_path)?;
|
2228
|
-
let target_path = read_string(memory, target_path)?;
|
2229
|
-
self.as_wasi_impl()
|
2230
|
-
.link_at(src_fd, src_flags.into(), src_path, target_fd, target_path)
|
2231
|
-
.await
|
2232
|
-
.map_err(|e| {
|
2233
|
-
e.try_into()
|
2234
|
-
.context("failed to call `link-at`")
|
2235
|
-
.unwrap_or_else(types::Error::trap)
|
2236
|
-
})
|
2237
|
-
}
|
2238
|
-
|
2239
|
-
/// Open a file or directory.
|
2240
|
-
/// NOTE: This is similar to `openat` in POSIX.
|
2241
|
-
#[instrument(skip(self, memory))]
|
2242
|
-
async fn path_open(
|
2243
|
-
&mut self,
|
2244
|
-
memory: &mut GuestMemory<'_>,
|
2245
|
-
dirfd: types::Fd,
|
2246
|
-
dirflags: types::Lookupflags,
|
2247
|
-
path: GuestPtr<str>,
|
2248
|
-
oflags: types::Oflags,
|
2249
|
-
fs_rights_base: types::Rights,
|
2250
|
-
_fs_rights_inheriting: types::Rights,
|
2251
|
-
fdflags: types::Fdflags,
|
2252
|
-
) -> Result<types::Fd, types::Error> {
|
2253
|
-
let path = read_string(memory, path)?;
|
2254
|
-
|
2255
|
-
let mut flags = filesystem::DescriptorFlags::empty();
|
2256
|
-
if fs_rights_base.contains(types::Rights::FD_READ) {
|
2257
|
-
flags |= filesystem::DescriptorFlags::READ;
|
2258
|
-
}
|
2259
|
-
if fs_rights_base.contains(types::Rights::FD_WRITE) {
|
2260
|
-
flags |= filesystem::DescriptorFlags::WRITE;
|
2261
|
-
}
|
2262
|
-
if fdflags.contains(types::Fdflags::SYNC) {
|
2263
|
-
flags |= filesystem::DescriptorFlags::FILE_INTEGRITY_SYNC;
|
2264
|
-
}
|
2265
|
-
if fdflags.contains(types::Fdflags::DSYNC) {
|
2266
|
-
flags |= filesystem::DescriptorFlags::DATA_INTEGRITY_SYNC;
|
2267
|
-
}
|
2268
|
-
if fdflags.contains(types::Fdflags::RSYNC) {
|
2269
|
-
flags |= filesystem::DescriptorFlags::REQUESTED_WRITE_SYNC;
|
2270
|
-
}
|
2271
|
-
|
2272
|
-
let t = self.transact()?;
|
2273
|
-
let dirfd = match t.get_descriptor(dirfd)? {
|
2274
|
-
Descriptor::Directory { fd, .. } => fd.borrowed(),
|
2275
|
-
Descriptor::File(_) => return Err(types::Errno::Notdir.into()),
|
2276
|
-
_ => return Err(types::Errno::Badf.into()),
|
2277
|
-
};
|
2278
|
-
drop(t);
|
2279
|
-
let fd = self
|
2280
|
-
.as_wasi_impl()
|
2281
|
-
.open_at(dirfd, dirflags.into(), path, oflags.into(), flags)
|
2282
|
-
.await
|
2283
|
-
.map_err(|e| {
|
2284
|
-
e.try_into()
|
2285
|
-
.context("failed to call `open-at`")
|
2286
|
-
.unwrap_or_else(types::Error::trap)
|
2287
|
-
})?;
|
2288
|
-
let mut t = self.transact()?;
|
2289
|
-
let desc = match t.view.table().get(&fd)? {
|
2290
|
-
crate::filesystem::Descriptor::Dir(_) => Descriptor::Directory {
|
2291
|
-
fd,
|
2292
|
-
preopen_path: None,
|
2293
|
-
},
|
2294
|
-
crate::filesystem::Descriptor::File(_) => Descriptor::File(File {
|
2295
|
-
fd,
|
2296
|
-
position: Default::default(),
|
2297
|
-
append: fdflags.contains(types::Fdflags::APPEND),
|
2298
|
-
blocking_mode: BlockingMode::from_fdflags(&fdflags),
|
2299
|
-
}),
|
2300
|
-
};
|
2301
|
-
let fd = t.descriptors.push(desc)?;
|
2302
|
-
Ok(fd.into())
|
2303
|
-
}
|
2304
|
-
|
2305
|
-
/// Read the contents of a symbolic link.
|
2306
|
-
/// NOTE: This is similar to `readlinkat` in POSIX.
|
2307
|
-
#[instrument(skip(self, memory))]
|
2308
|
-
async fn path_readlink(
|
2309
|
-
&mut self,
|
2310
|
-
memory: &mut GuestMemory<'_>,
|
2311
|
-
dirfd: types::Fd,
|
2312
|
-
path: GuestPtr<str>,
|
2313
|
-
buf: GuestPtr<u8>,
|
2314
|
-
buf_len: types::Size,
|
2315
|
-
) -> Result<types::Size, types::Error> {
|
2316
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2317
|
-
let path = read_string(memory, path)?;
|
2318
|
-
let mut path = self
|
2319
|
-
.as_wasi_impl()
|
2320
|
-
.readlink_at(dirfd, path)
|
2321
|
-
.await
|
2322
|
-
.map_err(|e| {
|
2323
|
-
e.try_into()
|
2324
|
-
.context("failed to call `readlink-at`")
|
2325
|
-
.unwrap_or_else(types::Error::trap)
|
2326
|
-
})?
|
2327
|
-
.into_bytes();
|
2328
|
-
if let Ok(buf_len) = buf_len.try_into() {
|
2329
|
-
// `path` cannot be longer than `usize`, only truncate if `buf_len` fits in `usize`
|
2330
|
-
path.truncate(buf_len);
|
2331
|
-
}
|
2332
|
-
let n = path.len().try_into().map_err(|_| types::Errno::Overflow)?;
|
2333
|
-
write_bytes(memory, buf, &path)?;
|
2334
|
-
Ok(n)
|
2335
|
-
}
|
2336
|
-
|
2337
|
-
#[instrument(skip(self, memory))]
|
2338
|
-
async fn path_remove_directory(
|
2339
|
-
&mut self,
|
2340
|
-
memory: &mut GuestMemory<'_>,
|
2341
|
-
dirfd: types::Fd,
|
2342
|
-
path: GuestPtr<str>,
|
2343
|
-
) -> Result<(), types::Error> {
|
2344
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2345
|
-
let path = read_string(memory, path)?;
|
2346
|
-
self.as_wasi_impl()
|
2347
|
-
.remove_directory_at(dirfd, path)
|
2348
|
-
.await
|
2349
|
-
.map_err(|e| {
|
2350
|
-
e.try_into()
|
2351
|
-
.context("failed to call `remove-directory-at`")
|
2352
|
-
.unwrap_or_else(types::Error::trap)
|
2353
|
-
})
|
2354
|
-
}
|
2355
|
-
|
2356
|
-
/// Rename a file or directory.
|
2357
|
-
/// NOTE: This is similar to `renameat` in POSIX.
|
2358
|
-
#[instrument(skip(self, memory))]
|
2359
|
-
async fn path_rename(
|
2360
|
-
&mut self,
|
2361
|
-
memory: &mut GuestMemory<'_>,
|
2362
|
-
src_fd: types::Fd,
|
2363
|
-
src_path: GuestPtr<str>,
|
2364
|
-
dest_fd: types::Fd,
|
2365
|
-
dest_path: GuestPtr<str>,
|
2366
|
-
) -> Result<(), types::Error> {
|
2367
|
-
let src_fd = self.get_dir_fd(src_fd)?;
|
2368
|
-
let dest_fd = self.get_dir_fd(dest_fd)?;
|
2369
|
-
let src_path = read_string(memory, src_path)?;
|
2370
|
-
let dest_path = read_string(memory, dest_path)?;
|
2371
|
-
self.as_wasi_impl()
|
2372
|
-
.rename_at(src_fd, src_path, dest_fd, dest_path)
|
2373
|
-
.await
|
2374
|
-
.map_err(|e| {
|
2375
|
-
e.try_into()
|
2376
|
-
.context("failed to call `rename-at`")
|
2377
|
-
.unwrap_or_else(types::Error::trap)
|
2378
|
-
})
|
2379
|
-
}
|
2380
|
-
|
2381
|
-
#[instrument(skip(self, memory))]
|
2382
|
-
async fn path_symlink(
|
2383
|
-
&mut self,
|
2384
|
-
memory: &mut GuestMemory<'_>,
|
2385
|
-
src_path: GuestPtr<str>,
|
2386
|
-
dirfd: types::Fd,
|
2387
|
-
dest_path: GuestPtr<str>,
|
2388
|
-
) -> Result<(), types::Error> {
|
2389
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2390
|
-
let src_path = read_string(memory, src_path)?;
|
2391
|
-
let dest_path = read_string(memory, dest_path)?;
|
2392
|
-
self.as_wasi_impl()
|
2393
|
-
.symlink_at(dirfd.borrowed(), src_path, dest_path)
|
2394
|
-
.await
|
2395
|
-
.map_err(|e| {
|
2396
|
-
e.try_into()
|
2397
|
-
.context("failed to call `symlink-at`")
|
2398
|
-
.unwrap_or_else(types::Error::trap)
|
2399
|
-
})
|
2400
|
-
}
|
2401
|
-
|
2402
|
-
#[instrument(skip(self, memory))]
|
2403
|
-
async fn path_unlink_file(
|
2404
|
-
&mut self,
|
2405
|
-
memory: &mut GuestMemory<'_>,
|
2406
|
-
dirfd: types::Fd,
|
2407
|
-
path: GuestPtr<str>,
|
2408
|
-
) -> Result<(), types::Error> {
|
2409
|
-
let dirfd = self.get_dir_fd(dirfd)?;
|
2410
|
-
let path = memory.as_cow_str(path)?.into_owned();
|
2411
|
-
self.as_wasi_impl()
|
2412
|
-
.unlink_file_at(dirfd.borrowed(), path)
|
2413
|
-
.await
|
2414
|
-
.map_err(|e| {
|
2415
|
-
e.try_into()
|
2416
|
-
.context("failed to call `unlink-file-at`")
|
2417
|
-
.unwrap_or_else(types::Error::trap)
|
2418
|
-
})
|
2419
|
-
}
|
2420
|
-
|
2421
|
-
#[instrument(skip(self, memory))]
|
2422
|
-
async fn poll_oneoff(
|
2423
|
-
&mut self,
|
2424
|
-
memory: &mut GuestMemory<'_>,
|
2425
|
-
subs: GuestPtr<types::Subscription>,
|
2426
|
-
events: GuestPtr<types::Event>,
|
2427
|
-
nsubscriptions: types::Size,
|
2428
|
-
) -> Result<types::Size, types::Error> {
|
2429
|
-
if nsubscriptions == 0 {
|
2430
|
-
// Indefinite sleeping is not supported in preview1.
|
2431
|
-
return Err(types::Errno::Inval.into());
|
2432
|
-
}
|
2433
|
-
|
2434
|
-
// This is a special case where `poll_oneoff` is just sleeping
|
2435
|
-
// on a single relative timer event. This special case was added
|
2436
|
-
// after experimental observations showed that std::thread::sleep
|
2437
|
-
// results in more consistent sleep times. This design ensures that
|
2438
|
-
// wasmtime can handle real-time requirements more accurately.
|
2439
|
-
if nsubscriptions == 1 {
|
2440
|
-
let sub = memory.read(subs)?;
|
2441
|
-
if let types::SubscriptionU::Clock(clocksub) = sub.u {
|
2442
|
-
if !clocksub
|
2443
|
-
.flags
|
2444
|
-
.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME)
|
2445
|
-
&& self.ctx().allow_blocking_current_thread
|
2446
|
-
{
|
2447
|
-
std::thread::sleep(std::time::Duration::from_nanos(clocksub.timeout));
|
2448
|
-
memory.write(
|
2449
|
-
events,
|
2450
|
-
types::Event {
|
2451
|
-
userdata: sub.userdata,
|
2452
|
-
error: types::Errno::Success,
|
2453
|
-
type_: types::Eventtype::Clock,
|
2454
|
-
fd_readwrite: types::EventFdReadwrite {
|
2455
|
-
flags: types::Eventrwflags::empty(),
|
2456
|
-
nbytes: 1,
|
2457
|
-
},
|
2458
|
-
},
|
2459
|
-
)?;
|
2460
|
-
return Ok(1);
|
2461
|
-
}
|
2462
|
-
}
|
2463
|
-
}
|
2464
|
-
|
2465
|
-
let subs = subs.as_array(nsubscriptions);
|
2466
|
-
let events = events.as_array(nsubscriptions);
|
2467
|
-
|
2468
|
-
let n = usize::try_from(nsubscriptions).unwrap_or(usize::MAX);
|
2469
|
-
let mut pollables = Vec::with_capacity(n);
|
2470
|
-
for sub in subs.iter() {
|
2471
|
-
let sub = memory.read(sub?)?;
|
2472
|
-
let p = match sub.u {
|
2473
|
-
types::SubscriptionU::Clock(types::SubscriptionClock {
|
2474
|
-
id,
|
2475
|
-
timeout,
|
2476
|
-
flags,
|
2477
|
-
..
|
2478
|
-
}) => {
|
2479
|
-
let absolute = flags.contains(types::Subclockflags::SUBSCRIPTION_CLOCK_ABSTIME);
|
2480
|
-
let (timeout, absolute) = match id {
|
2481
|
-
types::Clockid::Monotonic => (timeout, absolute),
|
2482
|
-
types::Clockid::Realtime if !absolute => (timeout, false),
|
2483
|
-
types::Clockid::Realtime => {
|
2484
|
-
let now = wall_clock::Host::now(&mut self.as_wasi_impl())
|
2485
|
-
.context("failed to call `wall_clock::now`")
|
2486
|
-
.map_err(types::Error::trap)?;
|
2487
|
-
|
2488
|
-
// Convert `timeout` to `Datetime` format.
|
2489
|
-
let seconds = timeout / 1_000_000_000;
|
2490
|
-
let nanoseconds = timeout % 1_000_000_000;
|
2491
|
-
|
2492
|
-
let timeout = if now.seconds < seconds
|
2493
|
-
|| now.seconds == seconds
|
2494
|
-
&& u64::from(now.nanoseconds) < nanoseconds
|
2495
|
-
{
|
2496
|
-
// `now` is less than `timeout`, which is expressible as u64,
|
2497
|
-
// subtract the nanosecond counts directly
|
2498
|
-
now.seconds * 1_000_000_000 + u64::from(now.nanoseconds) - timeout
|
2499
|
-
} else {
|
2500
|
-
0
|
2501
|
-
};
|
2502
|
-
(timeout, false)
|
2503
|
-
}
|
2504
|
-
_ => return Err(types::Errno::Inval.into()),
|
2505
|
-
};
|
2506
|
-
if absolute {
|
2507
|
-
monotonic_clock::Host::subscribe_instant(&mut self.as_wasi_impl(), timeout)
|
2508
|
-
.context("failed to call `monotonic_clock::subscribe_instant`")
|
2509
|
-
.map_err(types::Error::trap)?
|
2510
|
-
} else {
|
2511
|
-
monotonic_clock::Host::subscribe_duration(&mut self.as_wasi_impl(), timeout)
|
2512
|
-
.context("failed to call `monotonic_clock::subscribe_duration`")
|
2513
|
-
.map_err(types::Error::trap)?
|
2514
|
-
}
|
2515
|
-
}
|
2516
|
-
types::SubscriptionU::FdRead(types::SubscriptionFdReadwrite {
|
2517
|
-
file_descriptor,
|
2518
|
-
}) => {
|
2519
|
-
let stream = {
|
2520
|
-
let t = self.transact()?;
|
2521
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2522
|
-
match desc {
|
2523
|
-
Descriptor::Stdin { stream, .. } => stream.borrowed(),
|
2524
|
-
Descriptor::File(File { fd, position, .. }) => {
|
2525
|
-
let pos = position.load(Ordering::Relaxed);
|
2526
|
-
let fd = fd.borrowed();
|
2527
|
-
drop(t);
|
2528
|
-
self.as_wasi_impl().read_via_stream(fd, pos).map_err(|e| {
|
2529
|
-
e.try_into()
|
2530
|
-
.context("failed to call `read-via-stream`")
|
2531
|
-
.unwrap_or_else(types::Error::trap)
|
2532
|
-
})?
|
2533
|
-
}
|
2534
|
-
// TODO: Support sockets
|
2535
|
-
_ => return Err(types::Errno::Badf.into()),
|
2536
|
-
}
|
2537
|
-
};
|
2538
|
-
streams::HostInputStream::subscribe(&mut self.as_wasi_impl(), stream)
|
2539
|
-
.context("failed to call `subscribe` on `input-stream`")
|
2540
|
-
.map_err(types::Error::trap)?
|
2541
|
-
}
|
2542
|
-
types::SubscriptionU::FdWrite(types::SubscriptionFdReadwrite {
|
2543
|
-
file_descriptor,
|
2544
|
-
}) => {
|
2545
|
-
let stream = {
|
2546
|
-
let t = self.transact()?;
|
2547
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2548
|
-
match desc {
|
2549
|
-
Descriptor::Stdout { stream, .. }
|
2550
|
-
| Descriptor::Stderr { stream, .. } => stream.borrowed(),
|
2551
|
-
Descriptor::File(File {
|
2552
|
-
fd,
|
2553
|
-
position,
|
2554
|
-
append,
|
2555
|
-
..
|
2556
|
-
}) => {
|
2557
|
-
let fd = fd.borrowed();
|
2558
|
-
let position = position.clone();
|
2559
|
-
let append = *append;
|
2560
|
-
drop(t);
|
2561
|
-
if append {
|
2562
|
-
self.as_wasi_impl().append_via_stream(fd).map_err(|e| {
|
2563
|
-
e.try_into()
|
2564
|
-
.context("failed to call `append-via-stream`")
|
2565
|
-
.unwrap_or_else(types::Error::trap)
|
2566
|
-
})?
|
2567
|
-
} else {
|
2568
|
-
let pos = position.load(Ordering::Relaxed);
|
2569
|
-
self.as_wasi_impl().write_via_stream(fd, pos).map_err(|e| {
|
2570
|
-
e.try_into()
|
2571
|
-
.context("failed to call `write-via-stream`")
|
2572
|
-
.unwrap_or_else(types::Error::trap)
|
2573
|
-
})?
|
2574
|
-
}
|
2575
|
-
}
|
2576
|
-
// TODO: Support sockets
|
2577
|
-
_ => return Err(types::Errno::Badf.into()),
|
2578
|
-
}
|
2579
|
-
};
|
2580
|
-
streams::HostOutputStream::subscribe(&mut self.as_wasi_impl(), stream)
|
2581
|
-
.context("failed to call `subscribe` on `output-stream`")
|
2582
|
-
.map_err(types::Error::trap)?
|
2583
|
-
}
|
2584
|
-
};
|
2585
|
-
pollables.push(p);
|
2586
|
-
}
|
2587
|
-
let ready: HashSet<_> = self
|
2588
|
-
.as_wasi_impl()
|
2589
|
-
.poll(pollables)
|
2590
|
-
.await
|
2591
|
-
.context("failed to call `poll-oneoff`")
|
2592
|
-
.map_err(types::Error::trap)?
|
2593
|
-
.into_iter()
|
2594
|
-
.collect();
|
2595
|
-
|
2596
|
-
let mut count: types::Size = 0;
|
2597
|
-
for (sub, event) in (0..)
|
2598
|
-
.zip(subs.iter())
|
2599
|
-
.filter_map(|(idx, sub)| ready.contains(&idx).then_some(sub))
|
2600
|
-
.zip(events.iter())
|
2601
|
-
{
|
2602
|
-
let sub = memory.read(sub?)?;
|
2603
|
-
let event = event?;
|
2604
|
-
let e = match sub.u {
|
2605
|
-
types::SubscriptionU::Clock(..) => types::Event {
|
2606
|
-
userdata: sub.userdata,
|
2607
|
-
error: types::Errno::Success,
|
2608
|
-
type_: types::Eventtype::Clock,
|
2609
|
-
fd_readwrite: types::EventFdReadwrite {
|
2610
|
-
flags: types::Eventrwflags::empty(),
|
2611
|
-
nbytes: 0,
|
2612
|
-
},
|
2613
|
-
},
|
2614
|
-
types::SubscriptionU::FdRead(types::SubscriptionFdReadwrite {
|
2615
|
-
file_descriptor,
|
2616
|
-
}) => {
|
2617
|
-
let t = self.transact()?;
|
2618
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2619
|
-
match desc {
|
2620
|
-
Descriptor::Stdin { .. } => types::Event {
|
2621
|
-
userdata: sub.userdata,
|
2622
|
-
error: types::Errno::Success,
|
2623
|
-
type_: types::Eventtype::FdRead,
|
2624
|
-
fd_readwrite: types::EventFdReadwrite {
|
2625
|
-
flags: types::Eventrwflags::empty(),
|
2626
|
-
nbytes: 1,
|
2627
|
-
},
|
2628
|
-
},
|
2629
|
-
Descriptor::File(File { fd, position, .. }) => {
|
2630
|
-
let fd = fd.borrowed();
|
2631
|
-
let position = position.clone();
|
2632
|
-
drop(t);
|
2633
|
-
match self.as_wasi_impl().stat(fd).await? {
|
2634
|
-
filesystem::DescriptorStat { size, .. } => {
|
2635
|
-
let pos = position.load(Ordering::Relaxed);
|
2636
|
-
let nbytes = size.saturating_sub(pos);
|
2637
|
-
types::Event {
|
2638
|
-
userdata: sub.userdata,
|
2639
|
-
error: types::Errno::Success,
|
2640
|
-
type_: types::Eventtype::FdRead,
|
2641
|
-
fd_readwrite: types::EventFdReadwrite {
|
2642
|
-
flags: if nbytes == 0 {
|
2643
|
-
types::Eventrwflags::FD_READWRITE_HANGUP
|
2644
|
-
} else {
|
2645
|
-
types::Eventrwflags::empty()
|
2646
|
-
},
|
2647
|
-
nbytes: 1,
|
2648
|
-
},
|
2649
|
-
}
|
2650
|
-
}
|
2651
|
-
}
|
2652
|
-
}
|
2653
|
-
// TODO: Support sockets
|
2654
|
-
_ => return Err(types::Errno::Badf.into()),
|
2655
|
-
}
|
2656
|
-
}
|
2657
|
-
types::SubscriptionU::FdWrite(types::SubscriptionFdReadwrite {
|
2658
|
-
file_descriptor,
|
2659
|
-
}) => {
|
2660
|
-
let t = self.transact()?;
|
2661
|
-
let desc = t.get_descriptor(file_descriptor)?;
|
2662
|
-
match desc {
|
2663
|
-
Descriptor::Stdout { .. } | Descriptor::Stderr { .. } => types::Event {
|
2664
|
-
userdata: sub.userdata,
|
2665
|
-
error: types::Errno::Success,
|
2666
|
-
type_: types::Eventtype::FdWrite,
|
2667
|
-
fd_readwrite: types::EventFdReadwrite {
|
2668
|
-
flags: types::Eventrwflags::empty(),
|
2669
|
-
nbytes: 1,
|
2670
|
-
},
|
2671
|
-
},
|
2672
|
-
Descriptor::File(_) => types::Event {
|
2673
|
-
userdata: sub.userdata,
|
2674
|
-
error: types::Errno::Success,
|
2675
|
-
type_: types::Eventtype::FdWrite,
|
2676
|
-
fd_readwrite: types::EventFdReadwrite {
|
2677
|
-
flags: types::Eventrwflags::empty(),
|
2678
|
-
nbytes: 1,
|
2679
|
-
},
|
2680
|
-
},
|
2681
|
-
// TODO: Support sockets
|
2682
|
-
_ => return Err(types::Errno::Badf.into()),
|
2683
|
-
}
|
2684
|
-
}
|
2685
|
-
};
|
2686
|
-
memory.write(event, e)?;
|
2687
|
-
count = count
|
2688
|
-
.checked_add(1)
|
2689
|
-
.ok_or_else(|| types::Error::from(types::Errno::Overflow))?
|
2690
|
-
}
|
2691
|
-
Ok(count)
|
2692
|
-
}
|
2693
|
-
|
2694
|
-
#[instrument(skip(self, _memory))]
|
2695
|
-
fn proc_exit(
|
2696
|
-
&mut self,
|
2697
|
-
_memory: &mut GuestMemory<'_>,
|
2698
|
-
status: types::Exitcode,
|
2699
|
-
) -> anyhow::Error {
|
2700
|
-
// Check that the status is within WASI's range.
|
2701
|
-
if status >= 126 {
|
2702
|
-
return anyhow::Error::msg("exit with invalid exit status outside of [0..126)");
|
2703
|
-
}
|
2704
|
-
crate::I32Exit(status as i32).into()
|
2705
|
-
}
|
2706
|
-
|
2707
|
-
#[instrument(skip(self, _memory))]
|
2708
|
-
fn proc_raise(
|
2709
|
-
&mut self,
|
2710
|
-
_memory: &mut GuestMemory<'_>,
|
2711
|
-
_sig: types::Signal,
|
2712
|
-
) -> Result<(), types::Error> {
|
2713
|
-
Err(types::Errno::Notsup.into())
|
2714
|
-
}
|
2715
|
-
|
2716
|
-
#[instrument(skip(self, _memory))]
|
2717
|
-
fn sched_yield(&mut self, _memory: &mut GuestMemory<'_>) -> Result<(), types::Error> {
|
2718
|
-
// No such thing in preview 2. Intentionally left empty.
|
2719
|
-
Ok(())
|
2720
|
-
}
|
2721
|
-
|
2722
|
-
#[instrument(skip(self, memory))]
|
2723
|
-
fn random_get(
|
2724
|
-
&mut self,
|
2725
|
-
memory: &mut GuestMemory<'_>,
|
2726
|
-
buf: GuestPtr<u8>,
|
2727
|
-
buf_len: types::Size,
|
2728
|
-
) -> Result<(), types::Error> {
|
2729
|
-
let rand = self
|
2730
|
-
.as_wasi_impl()
|
2731
|
-
.get_random_bytes(buf_len.into())
|
2732
|
-
.context("failed to call `get-random-bytes`")
|
2733
|
-
.map_err(types::Error::trap)?;
|
2734
|
-
write_bytes(memory, buf, &rand)?;
|
2735
|
-
Ok(())
|
2736
|
-
}
|
2737
|
-
|
2738
|
-
#[allow(unused_variables)]
|
2739
|
-
#[instrument(skip(self, _memory))]
|
2740
|
-
fn sock_accept(
|
2741
|
-
&mut self,
|
2742
|
-
_memory: &mut GuestMemory<'_>,
|
2743
|
-
fd: types::Fd,
|
2744
|
-
flags: types::Fdflags,
|
2745
|
-
) -> Result<types::Fd, types::Error> {
|
2746
|
-
tracing::warn!("preview1 sock_accept is not implemented");
|
2747
|
-
self.transact()?.get_descriptor(fd)?;
|
2748
|
-
Err(types::Errno::Notsock.into())
|
2749
|
-
}
|
2750
|
-
|
2751
|
-
#[allow(unused_variables)]
|
2752
|
-
#[instrument(skip(self, _memory))]
|
2753
|
-
fn sock_recv(
|
2754
|
-
&mut self,
|
2755
|
-
_memory: &mut GuestMemory<'_>,
|
2756
|
-
fd: types::Fd,
|
2757
|
-
ri_data: types::IovecArray,
|
2758
|
-
ri_flags: types::Riflags,
|
2759
|
-
) -> Result<(types::Size, types::Roflags), types::Error> {
|
2760
|
-
tracing::warn!("preview1 sock_recv is not implemented");
|
2761
|
-
self.transact()?.get_descriptor(fd)?;
|
2762
|
-
Err(types::Errno::Notsock.into())
|
2763
|
-
}
|
2764
|
-
|
2765
|
-
#[allow(unused_variables)]
|
2766
|
-
#[instrument(skip(self, _memory))]
|
2767
|
-
fn sock_send(
|
2768
|
-
&mut self,
|
2769
|
-
_memory: &mut GuestMemory<'_>,
|
2770
|
-
fd: types::Fd,
|
2771
|
-
si_data: types::CiovecArray,
|
2772
|
-
_si_flags: types::Siflags,
|
2773
|
-
) -> Result<types::Size, types::Error> {
|
2774
|
-
tracing::warn!("preview1 sock_send is not implemented");
|
2775
|
-
self.transact()?.get_descriptor(fd)?;
|
2776
|
-
Err(types::Errno::Notsock.into())
|
2777
|
-
}
|
2778
|
-
|
2779
|
-
#[allow(unused_variables)]
|
2780
|
-
#[instrument(skip(self, _memory))]
|
2781
|
-
fn sock_shutdown(
|
2782
|
-
&mut self,
|
2783
|
-
_memory: &mut GuestMemory<'_>,
|
2784
|
-
fd: types::Fd,
|
2785
|
-
how: types::Sdflags,
|
2786
|
-
) -> Result<(), types::Error> {
|
2787
|
-
tracing::warn!("preview1 sock_shutdown is not implemented");
|
2788
|
-
self.transact()?.get_descriptor(fd)?;
|
2789
|
-
Err(types::Errno::Notsock.into())
|
2790
|
-
}
|
2791
|
-
}
|
2792
|
-
|
2793
|
-
trait ResourceExt<T> {
|
2794
|
-
fn borrowed(&self) -> Resource<T>;
|
2795
|
-
}
|
2796
|
-
|
2797
|
-
impl<T: 'static> ResourceExt<T> for Resource<T> {
|
2798
|
-
fn borrowed(&self) -> Resource<T> {
|
2799
|
-
Resource::new_borrow(self.rep())
|
2800
|
-
}
|
2801
|
-
}
|