wasmtime 20.0.2 → 21.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +129 -124
- data/ext/Cargo.toml +8 -6
- data/ext/cargo-vendor/cobs-0.2.3/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cobs-0.2.3/Cargo.toml +39 -0
- data/ext/cargo-vendor/cobs-0.2.3/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/cobs-0.2.3/LICENSE-MIT +19 -0
- data/ext/cargo-vendor/cobs-0.2.3/README.md +23 -0
- data/ext/cargo-vendor/cobs-0.2.3/src/dec.rs +360 -0
- data/ext/cargo-vendor/cobs-0.2.3/src/enc.rs +216 -0
- data/ext/cargo-vendor/cobs-0.2.3/src/lib.rs +14 -0
- data/ext/cargo-vendor/cobs-0.2.3/tests/test.rs +265 -0
- data/ext/cargo-vendor/cranelift-bforest-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.108.1/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/Cargo.toml +189 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/build.rs +266 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/alias_analysis.rs +403 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/context.rs +395 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ctxhash.rs +167 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph/elaborate.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph.rs +839 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/incremental_cache.rs +256 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/instructions.rs +1020 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/abi.rs +1580 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/args.rs +721 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit.rs +3846 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit_tests.rs +7902 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/imms.rs +1213 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/mod.rs +3094 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/regs.rs +288 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst.isle +4225 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/lower/isle.rs +810 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/pcc.rs +568 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/mod.rs +449 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/abi.rs +1051 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/args.rs +1938 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit.rs +2681 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit_tests.rs +2197 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/mod.rs +1975 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/regs.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/vector.rs +1144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst.isle +2969 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower/isle.rs +625 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower.isle +2883 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/abi.rs +1037 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/args.rs +314 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit.rs +3646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/imms.rs +202 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/mod.rs +3421 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/regs.rs +180 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/abi.rs +1410 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/args.rs +2256 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit.rs +4311 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_tests.rs +5171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/mod.rs +2838 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/regs.rs +276 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst.isle +5294 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower/isle.rs +1064 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.isle +4808 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.rs +337 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/pcc.rs +1014 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/abi.rs +2506 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/blockorder.rs +465 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/isle.rs +903 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/lower.rs +1432 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/mod.rs +555 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/reg.rs +522 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/valueregs.rs +138 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/vcode.rs +1741 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/nan_canonicalization.rs +130 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/arithmetic.isle +240 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/icmp.isle +215 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ranges.rs +131 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/remove_constant_phis.rs +419 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/scoped_hash_map.rs +310 -0
- data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/settings.rs +590 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_inst.rs +1278 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_isle.rs +519 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_settings.rs +508 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_types.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/riscv64.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/x86.rs +414 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isle.rs +126 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/lib.rs +98 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/shared/settings.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/srcgen.rs +464 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.108.1/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.108.1/Cargo.toml +52 -0
- data/ext/cargo-vendor/cranelift-entity-0.108.1/src/lib.rs +381 -0
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/Cargo.toml +67 -0
- data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/switch.rs +696 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/codegen.rs +886 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/disjointsets.rs +169 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/lib.rs +33 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/sema.rs +2492 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/serialize.rs +846 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/stablemapset.rs +79 -0
- data/ext/cargo-vendor/cranelift-isle-0.108.1/src/trie_again.rs +684 -0
- data/ext/cargo-vendor/cranelift-native-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.108.1/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/Cargo.toml +109 -0
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/code_translator.rs +3687 -0
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/environ/dummy.rs +906 -0
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/environ/spec.rs +945 -0
- data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/sections_translator.rs +389 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/Cargo.toml +48 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/CHANGELOG.md +28 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/Cargo.toml +73 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/README.md +33 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/ci.sh +21 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/rust-toolchain.toml +3 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/futures_io.rs +65 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/mod.rs +40 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/std_io.rs +107 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/tokio.rs +108 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/asynch.rs +230 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/blocking.rs +309 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/fmt.rs +228 -0
- data/ext/cargo-vendor/embedded-io-0.4.0/src/lib.rs +125 -0
- data/ext/cargo-vendor/libm-0.2.8/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/libm-0.2.8/CHANGELOG.md +123 -0
- data/ext/cargo-vendor/libm-0.2.8/CONTRIBUTING.md +95 -0
- data/ext/cargo-vendor/libm-0.2.8/Cargo.toml +45 -0
- data/ext/cargo-vendor/libm-0.2.8/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/libm-0.2.8/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/libm-0.2.8/README.md +51 -0
- data/ext/cargo-vendor/libm-0.2.8/build.rs +463 -0
- data/ext/cargo-vendor/libm-0.2.8/src/lib.rs +59 -0
- data/ext/cargo-vendor/libm-0.2.8/src/libm_helper.rs +171 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/acos.rs +112 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/acosf.rs +79 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/acosh.rs +27 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/acoshf.rs +26 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/asin.rs +119 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/asinf.rs +72 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/asinh.rs +40 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/asinhf.rs +39 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/atan.rs +184 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/atan2.rs +126 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/atan2f.rs +91 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/atanf.rs +112 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/atanh.rs +37 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/atanhf.rs +37 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/cbrt.rs +113 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/cbrtf.rs +75 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/ceil.rs +82 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/ceilf.rs +65 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/copysign.rs +12 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/copysignf.rs +12 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/cos.rs +73 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/cosf.rs +83 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/cosh.rs +38 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/coshf.rs +38 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/erf.rs +318 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/erff.rs +230 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/exp.rs +154 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/exp10.rs +22 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/exp10f.rs +22 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/exp2.rs +394 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/exp2f.rs +135 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/expf.rs +101 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/expm1.rs +144 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/expm1f.rs +134 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/expo2.rs +14 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fabs.rs +41 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fabsf.rs +41 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fdim.rs +22 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fdimf.rs +22 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fenv.rs +27 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/floor.rs +81 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/floorf.rs +66 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fma.rs +232 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fmaf.rs +117 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fmax.rs +12 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fmaxf.rs +12 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fmin.rs +12 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fminf.rs +12 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fmod.rs +80 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/fmodf.rs +89 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/frexp.rs +20 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/frexpf.rs +21 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/hypot.rs +74 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/hypotf.rs +43 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/ilogb.rs +32 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/ilogbf.rs +32 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/j0.rs +422 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/j0f.rs +359 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/j1.rs +414 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/j1f.rs +380 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/jn.rs +343 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/jnf.rs +259 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_cos.rs +62 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_cosf.rs +29 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_expo2.rs +14 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_expo2f.rs +14 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_sin.rs +57 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_sinf.rs +30 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_tan.rs +105 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/k_tanf.rs +46 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/ldexp.rs +4 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/ldexpf.rs +4 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/lgamma.rs +6 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/lgamma_r.rs +320 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/lgammaf.rs +6 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/lgammaf_r.rs +255 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/log.rs +117 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/log10.rs +117 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/log10f.rs +91 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/log1p.rs +143 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/log1pf.rs +98 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/log2.rs +106 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/log2f.rs +87 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/logf.rs +65 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/mod.rs +370 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/modf.rs +34 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/modff.rs +33 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/nextafter.rs +37 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/nextafterf.rs +37 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/pow.rs +637 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/powf.rs +342 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2.rs +233 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2_large.rs +470 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2f.rs +67 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/remainder.rs +5 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/remainderf.rs +5 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/remquo.rs +110 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/remquof.rs +97 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/rint.rs +58 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/rintf.rs +58 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/round.rs +28 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/roundf.rs +30 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/scalbn.rs +33 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/scalbnf.rs +29 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sin.rs +88 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sincos.rs +134 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sincosf.rs +185 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sinf.rs +93 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sinh.rs +49 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sinhf.rs +30 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sqrt.rs +280 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/sqrtf.rs +170 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/tan.rs +70 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/tanf.rs +78 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/tanh.rs +53 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/tanhf.rs +39 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/tgamma.rs +208 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/tgammaf.rs +6 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/trunc.rs +40 -0
- data/ext/cargo-vendor/libm-0.2.8/src/math/truncf.rs +42 -0
- data/ext/cargo-vendor/postcard-1.0.8/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/postcard-1.0.8/CHANGELOG.md +141 -0
- data/ext/cargo-vendor/postcard-1.0.8/Cargo.toml +100 -0
- data/ext/cargo-vendor/postcard-1.0.8/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/postcard-1.0.8/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/postcard-1.0.8/README.md +146 -0
- data/ext/cargo-vendor/postcard-1.0.8/spec/LICENSE-CC-BY-SA +427 -0
- data/ext/cargo-vendor/postcard-1.0.8/spec/book.toml +6 -0
- data/ext/cargo-vendor/postcard-1.0.8/spec/src/SUMMARY.md +6 -0
- data/ext/cargo-vendor/postcard-1.0.8/spec/src/glossary.md +17 -0
- data/ext/cargo-vendor/postcard-1.0.8/spec/src/intro.md +12 -0
- data/ext/cargo-vendor/postcard-1.0.8/spec/src/serde-data-model.md +190 -0
- data/ext/cargo-vendor/postcard-1.0.8/spec/src/wire-format.md +327 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/accumulator.rs +367 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/de/deserializer.rs +599 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/de/flavors.rs +468 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/de/mod.rs +568 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/error.rs +95 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/fixint.rs +189 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/lib.rs +143 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/max_size.rs +233 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/schema.rs +282 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/ser/flavors.rs +722 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/ser/mod.rs +866 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/ser/serializer.rs +564 -0
- data/ext/cargo-vendor/postcard-1.0.8/src/varint.rs +103 -0
- data/ext/cargo-vendor/postcard-1.0.8/tests/accumulator.rs +57 -0
- data/ext/cargo-vendor/postcard-1.0.8/tests/crc.rs +60 -0
- data/ext/cargo-vendor/postcard-1.0.8/tests/loopback.rs +248 -0
- data/ext/cargo-vendor/postcard-1.0.8/tests/max_size.rs +101 -0
- data/ext/cargo-vendor/postcard-1.0.8/tests/schema.rs +107 -0
- data/ext/cargo-vendor/rb-sys-0.9.100/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rb-sys-0.9.100/Cargo.toml +58 -0
- data/ext/cargo-vendor/rb-sys-0.9.100/build/main.rs +267 -0
- data/ext/cargo-vendor/rb-sys-0.9.100/build/stable_api_config.rs +139 -0
- data/ext/cargo-vendor/rb-sys-0.9.100/src/bindings.rs +21 -0
- data/ext/cargo-vendor/rb-sys-0.9.100/src/tracking_allocator.rs +266 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.100/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.100/Cargo.toml +62 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.100/src/bindings/stable_api.rs +203 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.100/src/bindings.rs +254 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.100/src/cc.rs +374 -0
- data/ext/cargo-vendor/rb-sys-build-0.9.100/src/utils.rs +52 -0
- data/ext/cargo-vendor/wasi-common-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-21.0.1/Cargo.toml +223 -0
- data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/async_.rs +293 -0
- data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/main.rs +21 -0
- data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/sync.rs +279 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/Cargo.toml +45 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/code.rs +3502 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/elements.rs +221 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/globals.rs +112 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/imports.rs +157 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/memories.rs +128 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tables.rs +134 -0
- data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.lock +659 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.toml +95 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/binary_reader.rs +1867 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/lib.rs +805 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/limits.rs +78 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/map.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/parser.rs +1636 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/canonicals.rs +121 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/instances.rs +164 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/names.rs +102 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/start.rs +31 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/types.rs +551 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/code.rs +146 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/coredumps.rs +244 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/custom.rs +64 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/data.rs +96 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/dylink0.rs +110 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/elements.rs +152 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/globals.rs +51 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/linking.rs +450 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/memories.rs +57 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/names.rs +159 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/operators.rs +430 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/reloc.rs +301 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/tables.rs +93 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types/matches.rs +277 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types.rs +1773 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core.rs +43 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/readers.rs +316 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/resources.rs +235 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/component.rs +3242 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core/canonical.rs +233 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core.rs +1450 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/func.rs +331 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/names.rs +947 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/operators.rs +4117 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/types.rs +4492 -0
- data/ext/cargo-vendor/wasmparser-0.207.0/src/validator.rs +1786 -0
- data/ext/cargo-vendor/wasmprinter-0.207.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.207.0/Cargo.toml +50 -0
- data/ext/cargo-vendor/wasmprinter-0.207.0/src/lib.rs +3226 -0
- data/ext/cargo-vendor/wasmprinter-0.207.0/src/operator.rs +1164 -0
- data/ext/cargo-vendor/wasmprinter-0.207.0/tests/all.rs +293 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/Cargo.toml +386 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/build.rs +37 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/code_builder.rs +275 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/runtime.rs +176 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/compile.rs +910 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/config.rs +2904 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/engine/serialization.rs +887 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/engine.rs +728 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/lib.rs +328 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/jitdump.rs +67 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/perfmap.rs +48 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/vtune.rs +81 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent.rs +106 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code.rs +102 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code_memory.rs +337 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/component.rs +661 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/host.rs +440 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/options.rs +555 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/typed.rs +2498 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func.rs +746 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/instance.rs +814 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/linker.rs +783 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/mod.rs +783 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resource_table.rs +355 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resources.rs +1133 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/storage.rs +43 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/store.rs +29 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/types.rs +892 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/values.rs +980 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/coredump.rs +342 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/debug.rs +166 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/global.rs +310 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/table.rs +477 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals.rs +236 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func/typed.rs +899 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func.rs +2627 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/anyref.rs +46 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/externref.rs +50 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/rooting.rs +224 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/anyref.rs +473 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/externref.rs +650 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/i31.rs +346 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/rooting.rs +1588 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc.rs +89 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instantiate.rs +346 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/limits.rs +399 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/linker.rs +1506 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/memory.rs +998 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module/registry.rs +353 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/profiling.rs +221 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/resources.rs +33 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/signatures.rs +216 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/stack.rs +73 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/context.rs +243 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/data.rs +301 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/func_refs.rs +90 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store.rs +2820 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/func.rs +139 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/global.rs +68 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/memory.rs +287 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/table.rs +29 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline.rs +78 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trap.rs +642 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/type_registry.rs +807 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types/matching.rs +421 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types.rs +2239 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/unix.rs +40 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/v128.rs +131 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/values.rs +966 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/arch/aarch64.rs +76 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/arch/x86_64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/async_yield.rs +35 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/resources.rs +352 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component.rs +860 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/const_expr.rs +102 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/cow.rs +893 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/debug_builtins.rs +59 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/disabled.rs +24 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/drc.rs +968 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/externref.rs +116 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/free_list.rs +771 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled.rs +18 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_ref.rs +491 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_runtime.rs +506 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/host_data.rs +82 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/i31.rs +87 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc.rs +245 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/imports.rs +29 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/on_demand.rs +218 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +93 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +66 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +705 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +1000 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/table_pool.rs +233 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +245 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling.rs +656 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator.rs +798 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance.rs +1519 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/libcalls.rs +834 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/memory.rs +744 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mmap.rs +220 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mmap_vec.rs +162 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/module_id.rs +43 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/enabled.rs +214 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/mod.rs +54 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/pkru.rs +104 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/sys.rs +114 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/send_sync_ptr.rs +106 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/store_box.rs +37 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/capi.rs +200 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/mmap.rs +112 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/mod.rs +34 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/traphandlers.rs +55 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/vm.rs +109 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/mmap.rs +95 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/mod.rs +24 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/traphandlers.rs +47 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/mod.rs +25 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/machports.rs +416 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/mmap.rs +162 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/mod.rs +35 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/signals.rs +401 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/unwind.rs +150 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/vm.rs +215 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/mmap.rs +221 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/mod.rs +20 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/traphandlers.rs +104 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/table.rs +847 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/parking_spot.rs +623 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/shared_memory.rs +233 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/shared_memory_disabled.rs +101 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/backtrace.rs +267 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/coredump_disabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/coredump_enabled.rs +42 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers.rs +768 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext/vm_host_func_context.rs +138 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext.rs +1337 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm.rs +287 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/windows.rs +35 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime.rs +110 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/sync_nostd.rs +255 -0
- data/ext/cargo-vendor/wasmtime-21.0.1/src/sync_std.rs +52 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/src/lib.rs +83 -0
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/Cargo.toml +88 -0
- data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/Cargo.toml +79 -0
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/bindgen.rs +436 -0
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen.rs +576 -0
- data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen_no_std.rs +16 -0
- data/ext/cargo-vendor/wasmtime-component-util-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-21.0.1/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-component-util-21.0.1/src/lib.rs +182 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/Cargo.toml +114 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler/component.rs +968 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler.rs +1383 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/gc.rs +252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/attr.rs +320 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/expression.rs +1248 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/line_program.rs +287 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/mod.rs +256 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/unit.rs +529 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/utils.rs +186 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/write_debuginfo.rs +196 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug.rs +18 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/func_environ.rs +2888 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc/enabled.rs +648 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc.rs +198 -0
- data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/lib.rs +511 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.lock +772 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.toml +154 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/examples/factc.rs +198 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/address_map.rs +73 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/mod.rs +419 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_artifacts.rs +315 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_environ.rs +1337 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_types.rs +362 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/trap_encoding.rs +70 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/compiler.rs +20 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/dfg.rs +691 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate/adapt.rs +455 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate.rs +978 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types.rs +1029 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder/resources.rs +233 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder.rs +997 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component.rs +107 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/demangling.rs +28 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/core_types.rs +25 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/signature.rs +119 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/trampoline.rs +3234 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/transcode.rs +90 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/traps.rs +116 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact.rs +714 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/lib.rs +161 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module.rs +697 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_artifacts.rs +146 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_types.rs +91 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/scopevec.rs +80 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/stack_map.rs +37 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/trap_encoding.rs +189 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/tunables.rs +168 -0
- data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/vmoffsets.rs +1015 -0
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/Cargo.toml +64 -0
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/build.rs +38 -0
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/lib.rs +328 -0
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/unix.rs +490 -0
- data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/windows.rs +166 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/Cargo.toml +51 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/lib.rs +109 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/libc.rs +163 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/miri.rs +10 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/win.rs +49 -0
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-21.0.1/src/lib.rs +498 -0
- data/ext/cargo-vendor/wasmtime-types-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-21.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wasmtime-types-21.0.1/src/error.rs +81 -0
- data/ext/cargo-vendor/wasmtime-types-21.0.1/src/lib.rs +1572 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/Cargo.toml +200 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/bindings.rs +280 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ctx.rs +667 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/filesystem.rs +446 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/lib.rs +426 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview0.rs +877 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview1.rs +2660 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/api.rs +198 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/preview1.rs +251 -0
- data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/sync.rs +331 -0
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-winch-21.0.1/src/compiler.rs +261 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/lib.rs +2541 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/rust.rs +421 -0
- data/ext/cargo-vendor/wiggle-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-21.0.1/Cargo.toml +123 -0
- data/ext/cargo-vendor/wiggle-generate-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-21.0.1/Cargo.toml +66 -0
- data/ext/cargo-vendor/wiggle-macro-21.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-21.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/Cargo.toml +76 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/context.rs +534 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/env.rs +440 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/mod.rs +882 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/abi.rs +291 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/address.rs +143 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/asm.rs +380 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/masm.rs +566 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/mod.rs +158 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/regs.rs +161 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/reg.rs +73 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/masm.rs +1120 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/masm.rs +941 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/regalloc.rs +65 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/regset.rs +194 -0
- data/ext/cargo-vendor/winch-codegen-0.19.1/src/visitor.rs +2144 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/Cargo.toml +109 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/src/ast/resolve.rs +1442 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/src/decoding.rs +1764 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/src/lib.rs +777 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/src/live.rs +126 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/src/resolve.rs +2337 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-return-borrow.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow3.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow5.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8/deps/baz.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8/foo.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit +24 -0
- data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit.json +231 -0
- data/ext/src/lib.rs +1 -0
- data/ext/src/ruby_api/config.rs +1 -12
- data/ext/src/ruby_api/engine.rs +3 -6
- data/ext/src/ruby_api/store.rs +68 -5
- data/lib/wasmtime/version.rb +1 -1
- metadata +1601 -1408
- data/ext/cargo-vendor/bincode-1.3.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/bincode-1.3.3/Cargo.toml +0 -37
- data/ext/cargo-vendor/bincode-1.3.3/LICENSE.md +0 -21
- data/ext/cargo-vendor/bincode-1.3.3/readme.md +0 -112
- data/ext/cargo-vendor/bincode-1.3.3/src/byteorder.rs +0 -385
- data/ext/cargo-vendor/bincode-1.3.3/src/config/endian.rs +0 -27
- data/ext/cargo-vendor/bincode-1.3.3/src/config/int.rs +0 -682
- data/ext/cargo-vendor/bincode-1.3.3/src/config/legacy.rs +0 -253
- data/ext/cargo-vendor/bincode-1.3.3/src/config/limit.rs +0 -49
- data/ext/cargo-vendor/bincode-1.3.3/src/config/mod.rs +0 -408
- data/ext/cargo-vendor/bincode-1.3.3/src/config/trailing.rs +0 -37
- data/ext/cargo-vendor/bincode-1.3.3/src/de/mod.rs +0 -515
- data/ext/cargo-vendor/bincode-1.3.3/src/de/read.rs +0 -202
- data/ext/cargo-vendor/bincode-1.3.3/src/error.rs +0 -115
- data/ext/cargo-vendor/bincode-1.3.3/src/internal.rs +0 -124
- data/ext/cargo-vendor/bincode-1.3.3/src/lib.rs +0 -201
- data/ext/cargo-vendor/bincode-1.3.3/src/ser/mod.rs +0 -772
- data/ext/cargo-vendor/bincode-1.3.3/tests/test.rs +0 -899
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +0 -178
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +0 -396
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +0 -403
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +0 -386
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ctxhash.rs +0 -167
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +0 -835
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +0 -838
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/fx.rs +0 -105
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/incremental_cache.rs +0 -256
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +0 -1019
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +0 -1707
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/args.rs +0 -779
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +0 -3932
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit_tests.rs +0 -7919
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/imms.rs +0 -1218
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +0 -3083
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/regs.rs +0 -292
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +0 -4218
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +0 -884
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/mod.rs +0 -432
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +0 -1109
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +0 -1968
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +0 -3466
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit_tests.rs +0 -2146
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/mod.rs +0 -2041
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/regs.rs +0 -175
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/vector.rs +0 -1162
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +0 -2944
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +0 -625
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +0 -2872
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +0 -1047
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +0 -347
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +0 -3646
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/imms.rs +0 -202
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/mod.rs +0 -3423
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/regs.rs +0 -187
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +0 -1369
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +0 -2289
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +0 -4383
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_tests.rs +0 -5131
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +0 -2798
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/regs.rs +0 -276
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +0 -5304
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +0 -1066
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +0 -4809
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +0 -339
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +0 -1003
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/lib.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +0 -2594
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/blockorder.rs +0 -465
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +0 -914
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +0 -1452
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +0 -555
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/reg.rs +0 -562
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/valueregs.rs +0 -132
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +0 -1807
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/arithmetic.isle +0 -179
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/icmp.isle +0 -197
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/remove_constant_phis.rs +0 -420
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/scoped_hash_map.rs +0 -310
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +0 -591
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_inst.rs +0 -1784
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_settings.rs +0 -508
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_types.rs +0 -75
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/riscv64.rs +0 -160
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/x86.rs +0 -402
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/lib.rs +0 -59
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/settings.rs +0 -355
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/srcgen.rs +0 -470
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +0 -50
- data/ext/cargo-vendor/cranelift-entity-0.107.2/src/lib.rs +0 -317
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +0 -69
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/src/switch.rs +0 -654
- data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-isle-0.107.2/src/codegen.rs +0 -886
- data/ext/cargo-vendor/cranelift-isle-0.107.2/src/lib.rs +0 -271
- data/ext/cargo-vendor/cranelift-isle-0.107.2/src/sema.rs +0 -2492
- data/ext/cargo-vendor/cranelift-isle-0.107.2/src/serialize.rs +0 -846
- data/ext/cargo-vendor/cranelift-isle-0.107.2/src/trie_again.rs +0 -683
- data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +0 -45
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +0 -107
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +0 -3683
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +0 -912
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +0 -945
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/sections_translator.rs +0 -409
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +0 -48
- data/ext/cargo-vendor/rb-sys-0.9.97/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rb-sys-0.9.97/Cargo.toml +0 -54
- data/ext/cargo-vendor/rb-sys-0.9.97/build/main.rs +0 -238
- data/ext/cargo-vendor/rb-sys-0.9.97/build/stable_api_config.rs +0 -133
- data/ext/cargo-vendor/rb-sys-0.9.97/src/bindings.rs +0 -20
- data/ext/cargo-vendor/rb-sys-0.9.97/src/tracking_allocator.rs +0 -265
- data/ext/cargo-vendor/rb-sys-build-0.9.97/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/rb-sys-build-0.9.97/Cargo.toml +0 -62
- data/ext/cargo-vendor/rb-sys-build-0.9.97/src/bindings/stable_api.rs +0 -202
- data/ext/cargo-vendor/rb-sys-build-0.9.97/src/bindings.rs +0 -250
- data/ext/cargo-vendor/rb-sys-build-0.9.97/src/cc.rs +0 -365
- data/ext/cargo-vendor/rb-sys-build-0.9.97/src/utils.rs +0 -52
- data/ext/cargo-vendor/wasi-common-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-20.0.2/Cargo.toml +0 -220
- data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/async_.rs +0 -293
- data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/main.rs +0 -21
- data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/sync.rs +0 -279
- data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/code.rs +0 -3444
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/data.rs +0 -185
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/elements.rs +0 -220
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/globals.rs +0 -101
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/imports.rs +0 -156
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/memories.rs +0 -111
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/tables.rs +0 -116
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/types.rs +0 -673
- data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +0 -744
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmparser-0.202.0/src/binary_reader.rs +0 -1849
- data/ext/cargo-vendor/wasmparser-0.202.0/src/lib.rs +0 -766
- data/ext/cargo-vendor/wasmparser-0.202.0/src/limits.rs +0 -64
- data/ext/cargo-vendor/wasmparser-0.202.0/src/parser.rs +0 -1611
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/canonicals.rs +0 -120
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/instances.rs +0 -163
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/names.rs +0 -102
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/start.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/code.rs +0 -146
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/coredumps.rs +0 -243
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/custom.rs +0 -63
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/dylink0.rs +0 -109
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/elements.rs +0 -152
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/globals.rs +0 -49
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/linking.rs +0 -449
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/memories.rs +0 -56
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/names.rs +0 -156
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/operators.rs +0 -411
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/tables.rs +0 -87
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/types/matches.rs +0 -277
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/types.rs +0 -1680
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core.rs +0 -41
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers.rs +0 -316
- data/ext/cargo-vendor/wasmparser-0.202.0/src/resources.rs +0 -235
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/component.rs +0 -3238
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/core/canonical.rs +0 -233
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/core.rs +0 -1400
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/func.rs +0 -338
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/names.rs +0 -929
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +0 -4076
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +0 -4449
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator.rs +0 -1619
- data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +0 -3202
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +0 -1131
- data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +0 -279
- data/ext/cargo-vendor/wasmtime-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-20.0.2/Cargo.toml +0 -268
- data/ext/cargo-vendor/wasmtime-20.0.2/src/compile/code_builder.rs +0 -201
- data/ext/cargo-vendor/wasmtime-20.0.2/src/compile/runtime.rs +0 -175
- data/ext/cargo-vendor/wasmtime-20.0.2/src/compile.rs +0 -897
- data/ext/cargo-vendor/wasmtime-20.0.2/src/config.rs +0 -2695
- data/ext/cargo-vendor/wasmtime-20.0.2/src/engine/serialization.rs +0 -849
- data/ext/cargo-vendor/wasmtime-20.0.2/src/engine.rs +0 -741
- data/ext/cargo-vendor/wasmtime-20.0.2/src/lib.rs +0 -303
- data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/jitdump.rs +0 -66
- data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/perfmap.rs +0 -47
- data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/vtune.rs +0 -80
- data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent.rs +0 -105
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/code.rs +0 -102
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/code_memory.rs +0 -335
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/component.rs +0 -661
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/host.rs +0 -439
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/options.rs +0 -554
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/typed.rs +0 -2484
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func.rs +0 -747
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/instance.rs +0 -804
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/linker.rs +0 -786
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/matching.rs +0 -217
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/mod.rs +0 -756
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/resource_table.rs +0 -350
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/resources.rs +0 -1133
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/storage.rs +0 -43
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/store.rs +0 -28
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/types.rs +0 -892
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/values.rs +0 -978
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/coredump.rs +0 -336
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/debug.rs +0 -165
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals/global.rs +0 -300
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals/table.rs +0 -480
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals.rs +0 -236
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/func/typed.rs +0 -898
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/func.rs +0 -2633
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/anyref.rs +0 -46
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/externref.rs +0 -50
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/rooting.rs +0 -222
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/anyref.rs +0 -472
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/externref.rs +0 -644
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/i31.rs +0 -345
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/rooting.rs +0 -1543
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc.rs +0 -87
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/instance.rs +0 -992
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/instantiate.rs +0 -345
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/limits.rs +0 -398
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/linker.rs +0 -1521
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/memory.rs +0 -999
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/module/registry.rs +0 -354
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/module.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/profiling.rs +0 -224
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/resources.rs +0 -33
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/signatures.rs +0 -216
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/stack.rs +0 -73
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/context.rs +0 -243
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/data.rs +0 -289
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/func_refs.rs +0 -85
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store.rs +0 -2796
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/func.rs +0 -138
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/global.rs +0 -68
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/memory.rs +0 -286
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/table.rs +0 -34
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline.rs +0 -77
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trap.rs +0 -641
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/type_registry.rs +0 -632
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/types/matching.rs +0 -367
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/types.rs +0 -1378
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/unix.rs +0 -39
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/values.rs +0 -945
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/windows.rs +0 -34
- data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime.rs +0 -112
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/src/lib.rs +0 -81
- data/ext/cargo-vendor/wasmtime-cache-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-20.0.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-cache-20.0.2/src/lib.rs +0 -235
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/src/bindgen.rs +0 -390
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/tests/codegen.rs +0 -342
- data/ext/cargo-vendor/wasmtime-component-util-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-20.0.2/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-component-util-20.0.2/src/lib.rs +0 -180
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/compiler/component.rs +0 -962
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/compiler.rs +0 -1369
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/gc.rs +0 -239
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/attr.rs +0 -345
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/expression.rs +0 -1252
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/line_program.rs +0 -282
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/mod.rs +0 -126
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/unit.rs +0 -522
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/utils.rs +0 -187
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/write_debuginfo.rs +0 -187
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug.rs +0 -18
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/func_environ.rs +0 -2672
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/gc/enabled.rs +0 -649
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/gc.rs +0 -198
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/lib.rs +0 -505
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/Cargo.lock +0 -782
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/Cargo.toml +0 -144
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/examples/factc.rs +0 -205
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/address_map.rs +0 -72
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/mod.rs +0 -389
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/module_artifacts.rs +0 -300
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/trap_encoding.rs +0 -69
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/compiler.rs +0 -19
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/dfg.rs +0 -690
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/info.rs +0 -672
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/translate/adapt.rs +0 -459
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/translate.rs +0 -965
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/types/resources.rs +0 -234
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/types.rs +0 -1972
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component.rs +0 -103
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/demangling.rs +0 -28
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/core_types.rs +0 -24
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/signature.rs +0 -135
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/trampoline.rs +0 -3233
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/transcode.rs +0 -89
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/traps.rs +0 -115
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact.rs +0 -711
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/lib.rs +0 -70
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module.rs +0 -780
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_artifacts.rs +0 -145
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_environ.rs +0 -1288
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_types.rs +0 -122
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/scopevec.rs +0 -78
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/stack_map.rs +0 -36
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/trap_encoding.rs +0 -188
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/tunables.rs +0 -158
- data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/vmoffsets.rs +0 -952
- data/ext/cargo-vendor/wasmtime-fiber-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-20.0.2/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-fiber-20.0.2/build.rs +0 -26
- data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/lib.rs +0 -328
- data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/windows.rs +0 -166
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/Cargo.toml +0 -47
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/lib.rs +0 -108
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/libc.rs +0 -149
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/miri.rs +0 -10
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/win.rs +0 -45
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/Cargo.toml +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/build.rs +0 -24
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/arch/aarch64.rs +0 -76
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/arch/x86_64.rs +0 -41
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/async_yield.rs +0 -35
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component/libcalls.rs +0 -571
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component/resources.rs +0 -351
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component.rs +0 -860
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/cow.rs +0 -888
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/debug_builtins.rs +0 -59
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/export.rs +0 -108
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/disabled.rs +0 -23
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/drc.rs +0 -963
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/externref.rs +0 -115
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/free_list.rs +0 -767
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled.rs +0 -18
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/gc_ref.rs +0 -486
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/gc_runtime.rs +0 -503
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/host_data.rs +0 -81
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/i31.rs +0 -86
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc.rs +0 -244
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/imports.rs +0 -27
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/on_demand.rs +0 -217
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/gc_heap_pool.rs +0 -92
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/index_allocator.rs +0 -704
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/memory_pool.rs +0 -996
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/stack_pool.rs +0 -242
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/table_pool.rs +0 -231
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling.rs +0 -699
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator.rs +0 -780
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance.rs +0 -1566
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/lib.rs +0 -289
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/libcalls.rs +0 -777
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/memory.rs +0 -751
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mmap.rs +0 -214
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mmap_vec.rs +0 -201
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/module_id.rs +0 -43
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/enabled.rs +0 -213
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/mod.rs +0 -54
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/pkru.rs +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/sys.rs +0 -113
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/send_sync_ptr.rs +0 -106
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/store_box.rs +0 -35
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/capi.rs +0 -189
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/mmap.rs +0 -111
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/mod.rs +0 -24
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/traphandlers.rs +0 -55
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/vm.rs +0 -108
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/mmap.rs +0 -94
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/mod.rs +0 -10
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/traphandlers.rs +0 -47
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/mod.rs +0 -33
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/machports.rs +0 -416
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/mmap.rs +0 -151
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/mod.rs +0 -21
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/signals.rs +0 -401
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/unwind.rs +0 -149
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/vm.rs +0 -208
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/mmap.rs +0 -216
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/mod.rs +0 -6
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/traphandlers.rs +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/table.rs +0 -851
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/parking_spot.rs +0 -621
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/shared_memory.rs +0 -230
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/shared_memory_disabled.rs +0 -100
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/backtrace.rs +0 -265
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/coredump_disabled.rs +0 -16
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/coredump_enabled.rs +0 -40
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers.rs +0 -785
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/vmcontext/vm_host_func_context.rs +0 -137
- data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/vmcontext.rs +0 -1293
- data/ext/cargo-vendor/wasmtime-slab-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-20.0.2/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-20.0.2/src/lib.rs +0 -493
- data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-20.0.2/src/error.rs +0 -59
- data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +0 -832
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.2/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/Cargo.toml +0 -194
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/bindings.rs +0 -283
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/ctx.rs +0 -659
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/filesystem.rs +0 -433
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/lib.rs +0 -404
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/preview0.rs +0 -879
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/preview1.rs +0 -2601
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/api.rs +0 -194
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/async_.rs +0 -397
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/main.rs +0 -91
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/preview1.rs +0 -251
- data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/sync.rs +0 -333
- data/ext/cargo-vendor/wasmtime-winch-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-20.0.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-winch-20.0.2/src/compiler.rs +0 -257
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/Cargo.toml +0 -41
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/src/lib.rs +0 -2213
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/src/rust.rs +0 -421
- data/ext/cargo-vendor/wiggle-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-20.0.2/Cargo.toml +0 -122
- data/ext/cargo-vendor/wiggle-generate-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-20.0.2/Cargo.toml +0 -65
- data/ext/cargo-vendor/wiggle-generate-20.0.2/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-macro-20.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-20.0.2/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-20.0.2/LICENSE +0 -220
- data/ext/cargo-vendor/winch-codegen-0.18.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.18.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/context.rs +0 -534
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/env.rs +0 -435
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/mod.rs +0 -756
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/abi.rs +0 -291
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/address.rs +0 -144
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/asm.rs +0 -252
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/masm.rs +0 -573
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/mod.rs +0 -154
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/regs.rs +0 -149
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/reg.rs +0 -86
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/x64/asm.rs +0 -1423
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/x64/masm.rs +0 -1256
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/masm.rs +0 -947
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/regalloc.rs +0 -65
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/regset.rs +0 -194
- data/ext/cargo-vendor/winch-codegen-0.18.2/src/visitor.rs +0 -2149
- data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +0 -1443
- data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +0 -765
- data/ext/cargo-vendor/wit-parser-0.202.0/src/live.rs +0 -111
- data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +0 -2240
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple-returns-borrow.wit.json +0 -74
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-return-borrow.wit.json +0 -69
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/world-top-level-resources.wit +0 -24
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/world-top-level-resources.wit.json +0 -240
- data/ext/src/ruby_api/config/tracked_memory_creator.rs +0 -82
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/dfg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/trapcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/encode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/emit_state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isle_prelude.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/buffer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/spectre.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/verifier/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/func_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/bin/release.sh +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/build/features.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/build/version.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/readme.md +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/hidden.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/macros.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/memory.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/ruby_abi_version.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/special_consts.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/compiled.c +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/compiled.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_2_6.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_2_7.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_0.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_1.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_2.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_3.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/symbol.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/utils.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/value_type.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/bindings/sanitizer.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/bindings/wrapper.h +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/flags.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/library.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/search_path.rs +0 -0
- /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmprinter-0.207.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.202.0 → wasmprinter-0.207.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.202.0 → wasmtime-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/proptest-regressions → wasmtime-21.0.1/proptest-regressions/runtime/vm}/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/disabled/i31.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/threads/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-cache-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/dead-code.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cranelift-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/gc/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-environ-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/artifacts.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-fiber-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-types-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-20.0.2 → wasmtime-versioned-export-macros-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2 → wasmtime-wasi-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/filesystem.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/io.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/runtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-20.0.2 → wasmtime-wit-bindgen-21.0.1}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-20.0.2 → wasmtime-wit-bindgen-21.0.1}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-20.0.2 → wiggle-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wiggle-generate-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-macro-21.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-20.0.2 → wiggle-macro-21.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/abi/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/bounds.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast/lex.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/docs.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/serde_.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/functions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0/tests/ui → wit-parser-0.207.0/tests/ui/parse-fail}/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0/tests/ui → wit-parser-0.207.0/tests/ui/parse-fail}/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,2213 +0,0 @@
|
|
1
|
-
use crate::rust::{to_rust_ident, to_rust_upper_camel_case, RustGenerator, TypeMode};
|
2
|
-
use crate::types::{TypeInfo, Types};
|
3
|
-
use anyhow::{bail, Context};
|
4
|
-
use heck::*;
|
5
|
-
use indexmap::{IndexMap, IndexSet};
|
6
|
-
use std::collections::{BTreeMap, HashMap, HashSet};
|
7
|
-
use std::fmt::Write as _;
|
8
|
-
use std::io::{Read, Write};
|
9
|
-
use std::mem;
|
10
|
-
use std::process::{Command, Stdio};
|
11
|
-
use wit_parser::*;
|
12
|
-
|
13
|
-
macro_rules! uwrite {
|
14
|
-
($dst:expr, $($arg:tt)*) => {
|
15
|
-
write!($dst, $($arg)*).unwrap()
|
16
|
-
};
|
17
|
-
}
|
18
|
-
|
19
|
-
macro_rules! uwriteln {
|
20
|
-
($dst:expr, $($arg:tt)*) => {
|
21
|
-
writeln!($dst, $($arg)*).unwrap()
|
22
|
-
};
|
23
|
-
}
|
24
|
-
|
25
|
-
mod rust;
|
26
|
-
mod source;
|
27
|
-
mod types;
|
28
|
-
use source::Source;
|
29
|
-
|
30
|
-
#[derive(Clone)]
|
31
|
-
enum InterfaceName {
|
32
|
-
/// This interface was remapped using `with` to some other Rust code.
|
33
|
-
Remapped {
|
34
|
-
name_at_root: String,
|
35
|
-
local_path: Vec<String>,
|
36
|
-
},
|
37
|
-
/// This interface is generated in the module hierarchy specified.
|
38
|
-
Path(Vec<String>),
|
39
|
-
}
|
40
|
-
|
41
|
-
#[derive(Default)]
|
42
|
-
struct Wasmtime {
|
43
|
-
src: Source,
|
44
|
-
opts: Opts,
|
45
|
-
import_interfaces: Vec<(String, InterfaceName)>,
|
46
|
-
import_functions: Vec<ImportFunction>,
|
47
|
-
exports: Exports,
|
48
|
-
types: Types,
|
49
|
-
sizes: SizeAlign,
|
50
|
-
interface_names: HashMap<InterfaceId, InterfaceName>,
|
51
|
-
interface_last_seen_as_import: HashMap<InterfaceId, bool>,
|
52
|
-
trappable_errors: IndexMap<TypeId, String>,
|
53
|
-
}
|
54
|
-
|
55
|
-
struct ImportFunction {
|
56
|
-
add_to_linker: String,
|
57
|
-
sig: String,
|
58
|
-
}
|
59
|
-
|
60
|
-
#[derive(Default)]
|
61
|
-
struct Exports {
|
62
|
-
fields: BTreeMap<String, (String, String)>,
|
63
|
-
modules: Vec<(String, InterfaceName)>,
|
64
|
-
funcs: Vec<String>,
|
65
|
-
}
|
66
|
-
|
67
|
-
#[derive(Default, Debug, Clone, Copy)]
|
68
|
-
pub enum Ownership {
|
69
|
-
/// Generated types will be composed entirely of owning fields, regardless
|
70
|
-
/// of whether they are used as parameters to guest exports or not.
|
71
|
-
#[default]
|
72
|
-
Owning,
|
73
|
-
|
74
|
-
/// Generated types used as parameters to guest exports will be "deeply
|
75
|
-
/// borrowing", i.e. contain references rather than owned values when
|
76
|
-
/// applicable.
|
77
|
-
Borrowing {
|
78
|
-
/// Whether or not to generate "duplicate" type definitions for a single
|
79
|
-
/// WIT type if necessary, for example if it's used as both an import
|
80
|
-
/// and an export, or if it's used both as a parameter to an export and
|
81
|
-
/// a return value from an export.
|
82
|
-
duplicate_if_necessary: bool,
|
83
|
-
},
|
84
|
-
}
|
85
|
-
|
86
|
-
#[derive(Default, Debug, Clone)]
|
87
|
-
pub struct Opts {
|
88
|
-
/// Whether or not `rustfmt` is executed to format generated code.
|
89
|
-
pub rustfmt: bool,
|
90
|
-
|
91
|
-
/// Whether or not to emit `tracing` macro calls on function entry/exit.
|
92
|
-
pub tracing: bool,
|
93
|
-
|
94
|
-
/// Whether or not to use async rust functions and traits.
|
95
|
-
pub async_: AsyncConfig,
|
96
|
-
|
97
|
-
/// A list of "trappable errors" which are used to replace the `E` in
|
98
|
-
/// `result<T, E>` found in WIT.
|
99
|
-
pub trappable_error_type: Vec<TrappableError>,
|
100
|
-
|
101
|
-
/// Whether to generate owning or borrowing type definitions.
|
102
|
-
pub ownership: Ownership,
|
103
|
-
|
104
|
-
/// Whether or not to generate code for only the interfaces of this wit file or not.
|
105
|
-
pub only_interfaces: bool,
|
106
|
-
|
107
|
-
/// Remapping of interface names to rust module names.
|
108
|
-
/// TODO: is there a better type to use for the value of this map?
|
109
|
-
pub with: HashMap<String, String>,
|
110
|
-
}
|
111
|
-
|
112
|
-
#[derive(Debug, Clone)]
|
113
|
-
pub struct TrappableError {
|
114
|
-
/// Full path to the error, such as `wasi:io/streams/error`.
|
115
|
-
pub wit_path: String,
|
116
|
-
|
117
|
-
/// The name, in Rust, of the error type to generate.
|
118
|
-
pub rust_type_name: String,
|
119
|
-
}
|
120
|
-
|
121
|
-
#[derive(Default, Debug, Clone)]
|
122
|
-
pub enum AsyncConfig {
|
123
|
-
/// No functions are `async`.
|
124
|
-
#[default]
|
125
|
-
None,
|
126
|
-
/// All generated functions should be `async`.
|
127
|
-
All,
|
128
|
-
/// These imported functions should not be async, but everything else is.
|
129
|
-
AllExceptImports(HashSet<String>),
|
130
|
-
/// These functions are the only imports that are async, all other imports
|
131
|
-
/// are sync.
|
132
|
-
///
|
133
|
-
/// Note that all exports are still async in this situation.
|
134
|
-
OnlyImports(HashSet<String>),
|
135
|
-
}
|
136
|
-
|
137
|
-
impl AsyncConfig {
|
138
|
-
pub fn is_import_async(&self, f: &str) -> bool {
|
139
|
-
match self {
|
140
|
-
AsyncConfig::None => false,
|
141
|
-
AsyncConfig::All => true,
|
142
|
-
AsyncConfig::AllExceptImports(set) => !set.contains(f),
|
143
|
-
AsyncConfig::OnlyImports(set) => set.contains(f),
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
pub fn maybe_async(&self) -> bool {
|
148
|
-
match self {
|
149
|
-
AsyncConfig::None => false,
|
150
|
-
AsyncConfig::All | AsyncConfig::AllExceptImports(_) | AsyncConfig::OnlyImports(_) => {
|
151
|
-
true
|
152
|
-
}
|
153
|
-
}
|
154
|
-
}
|
155
|
-
}
|
156
|
-
|
157
|
-
impl Opts {
|
158
|
-
pub fn generate(&self, resolve: &Resolve, world: WorldId) -> String {
|
159
|
-
let mut r = Wasmtime::default();
|
160
|
-
r.sizes.fill(resolve);
|
161
|
-
r.opts = self.clone();
|
162
|
-
r.generate(resolve, world)
|
163
|
-
}
|
164
|
-
}
|
165
|
-
|
166
|
-
impl Wasmtime {
|
167
|
-
fn name_interface(
|
168
|
-
&mut self,
|
169
|
-
resolve: &Resolve,
|
170
|
-
id: InterfaceId,
|
171
|
-
name: &WorldKey,
|
172
|
-
is_export: bool,
|
173
|
-
) -> bool {
|
174
|
-
let mut path = Vec::new();
|
175
|
-
if is_export {
|
176
|
-
path.push("exports".to_string());
|
177
|
-
}
|
178
|
-
match name {
|
179
|
-
WorldKey::Name(name) => {
|
180
|
-
path.push(name.to_snake_case());
|
181
|
-
}
|
182
|
-
WorldKey::Interface(_) => {
|
183
|
-
let iface = &resolve.interfaces[id];
|
184
|
-
let pkgname = &resolve.packages[iface.package.unwrap()].name;
|
185
|
-
path.push(pkgname.namespace.to_snake_case());
|
186
|
-
path.push(self.name_package_module(resolve, iface.package.unwrap()));
|
187
|
-
path.push(to_rust_ident(iface.name.as_ref().unwrap()));
|
188
|
-
}
|
189
|
-
}
|
190
|
-
let entry = if let Some(name_at_root) = self.lookup_replacement(resolve, name, None) {
|
191
|
-
InterfaceName::Remapped {
|
192
|
-
name_at_root,
|
193
|
-
local_path: path,
|
194
|
-
}
|
195
|
-
} else {
|
196
|
-
InterfaceName::Path(path)
|
197
|
-
};
|
198
|
-
|
199
|
-
let remapped = matches!(entry, InterfaceName::Remapped { .. });
|
200
|
-
self.interface_names.insert(id, entry);
|
201
|
-
remapped
|
202
|
-
}
|
203
|
-
|
204
|
-
/// If the package `id` is the only package with its namespace/name combo
|
205
|
-
/// then pass through the name unmodified. If, however, there are multiple
|
206
|
-
/// versions of this package then the package module is going to get version
|
207
|
-
/// information.
|
208
|
-
fn name_package_module(&self, resolve: &Resolve, id: PackageId) -> String {
|
209
|
-
let pkg = &resolve.packages[id];
|
210
|
-
let versions_with_same_name = resolve
|
211
|
-
.packages
|
212
|
-
.iter()
|
213
|
-
.filter_map(|(_, p)| {
|
214
|
-
if p.name.namespace == pkg.name.namespace && p.name.name == pkg.name.name {
|
215
|
-
Some(&p.name.version)
|
216
|
-
} else {
|
217
|
-
None
|
218
|
-
}
|
219
|
-
})
|
220
|
-
.collect::<Vec<_>>();
|
221
|
-
let base = pkg.name.name.to_snake_case();
|
222
|
-
if versions_with_same_name.len() == 1 {
|
223
|
-
return base;
|
224
|
-
}
|
225
|
-
|
226
|
-
let version = match &pkg.name.version {
|
227
|
-
Some(version) => version,
|
228
|
-
// If this package didn't have a version then don't mangle its name
|
229
|
-
// and other packages with the same name but with versions present
|
230
|
-
// will have their names mangled.
|
231
|
-
None => return base,
|
232
|
-
};
|
233
|
-
|
234
|
-
// Here there's multiple packages with the same name that differ only in
|
235
|
-
// version, so the version needs to be mangled into the Rust module name
|
236
|
-
// that we're generating. This in theory could look at all of
|
237
|
-
// `versions_with_same_name` and produce a minimal diff, e.g. for 0.1.0
|
238
|
-
// and 0.2.0 this could generate "foo1" and "foo2", but for now
|
239
|
-
// a simpler path is chosen to generate "foo0_1_0" and "foo0_2_0".
|
240
|
-
let version = version
|
241
|
-
.to_string()
|
242
|
-
.replace('.', "_")
|
243
|
-
.replace('-', "_")
|
244
|
-
.replace('+', "_")
|
245
|
-
.to_snake_case();
|
246
|
-
format!("{base}{version}")
|
247
|
-
}
|
248
|
-
|
249
|
-
fn generate(&mut self, resolve: &Resolve, id: WorldId) -> String {
|
250
|
-
self.types.analyze(resolve, id);
|
251
|
-
for (i, te) in self.opts.trappable_error_type.iter().enumerate() {
|
252
|
-
let id = resolve_type_in_package(resolve, &te.wit_path)
|
253
|
-
.context(format!("resolving {:?}", te))
|
254
|
-
.unwrap();
|
255
|
-
let name = format!("_TrappableError{i}");
|
256
|
-
uwriteln!(self.src, "type {name} = {};", te.rust_type_name);
|
257
|
-
let prev = self.trappable_errors.insert(id, name);
|
258
|
-
assert!(prev.is_none());
|
259
|
-
}
|
260
|
-
|
261
|
-
// Convert all entries in `with` as relative to the root of where the
|
262
|
-
// macro itself is invoked. This emits a `pub use` to bring the name
|
263
|
-
// into scope under an "anonymous name" which then replaces the `with`
|
264
|
-
// map entry.
|
265
|
-
let mut with = self.opts.with.iter_mut().collect::<Vec<_>>();
|
266
|
-
with.sort();
|
267
|
-
for (i, (_k, v)) in with.into_iter().enumerate() {
|
268
|
-
let name = format!("__with_name{i}");
|
269
|
-
uwriteln!(self.src, "#[doc(hidden)]\npub use {v} as {name};");
|
270
|
-
*v = name;
|
271
|
-
}
|
272
|
-
|
273
|
-
let world = &resolve.worlds[id];
|
274
|
-
for (name, import) in world.imports.iter() {
|
275
|
-
if !self.opts.only_interfaces || matches!(import, WorldItem::Interface(_)) {
|
276
|
-
self.import(resolve, id, name, import);
|
277
|
-
}
|
278
|
-
}
|
279
|
-
|
280
|
-
for (name, export) in world.exports.iter() {
|
281
|
-
if !self.opts.only_interfaces || matches!(export, WorldItem::Interface(_)) {
|
282
|
-
self.export(resolve, name, export);
|
283
|
-
}
|
284
|
-
}
|
285
|
-
self.finish(resolve, id)
|
286
|
-
}
|
287
|
-
|
288
|
-
fn import(&mut self, resolve: &Resolve, world: WorldId, name: &WorldKey, item: &WorldItem) {
|
289
|
-
let mut gen = InterfaceGenerator::new(self, resolve);
|
290
|
-
match item {
|
291
|
-
WorldItem::Function(func) => {
|
292
|
-
// Only generate a trait signature for free functions since
|
293
|
-
// resource-related functions get their trait signatures
|
294
|
-
// during `type_resource`.
|
295
|
-
if let FunctionKind::Freestanding = func.kind {
|
296
|
-
gen.generate_function_trait_sig(func);
|
297
|
-
}
|
298
|
-
let sig = mem::take(&mut gen.src).into();
|
299
|
-
gen.generate_add_function_to_linker(TypeOwner::World(world), func, "linker");
|
300
|
-
let add_to_linker = gen.src.into();
|
301
|
-
self.import_functions
|
302
|
-
.push(ImportFunction { sig, add_to_linker });
|
303
|
-
}
|
304
|
-
WorldItem::Interface(id) => {
|
305
|
-
gen.gen.interface_last_seen_as_import.insert(*id, true);
|
306
|
-
if gen.gen.name_interface(resolve, *id, name, false) {
|
307
|
-
return;
|
308
|
-
}
|
309
|
-
gen.current_interface = Some((*id, name, false));
|
310
|
-
gen.types(*id);
|
311
|
-
let key_name = resolve.name_world_key(name);
|
312
|
-
|
313
|
-
gen.generate_add_to_linker(*id, &key_name);
|
314
|
-
|
315
|
-
let module = &gen.src[..];
|
316
|
-
|
317
|
-
let snake = match name {
|
318
|
-
WorldKey::Name(s) => s.to_snake_case(),
|
319
|
-
WorldKey::Interface(id) => resolve.interfaces[*id]
|
320
|
-
.name
|
321
|
-
.as_ref()
|
322
|
-
.unwrap()
|
323
|
-
.to_snake_case(),
|
324
|
-
};
|
325
|
-
let module = format!(
|
326
|
-
"
|
327
|
-
#[allow(clippy::all)]
|
328
|
-
pub mod {snake} {{
|
329
|
-
#[allow(unused_imports)]
|
330
|
-
use wasmtime::component::__internal::anyhow;
|
331
|
-
|
332
|
-
{module}
|
333
|
-
}}
|
334
|
-
"
|
335
|
-
);
|
336
|
-
self.import_interfaces
|
337
|
-
.push((module, self.interface_names[id].clone()));
|
338
|
-
}
|
339
|
-
WorldItem::Type(ty) => {
|
340
|
-
let name = match name {
|
341
|
-
WorldKey::Name(name) => name,
|
342
|
-
WorldKey::Interface(_) => unreachable!(),
|
343
|
-
};
|
344
|
-
gen.define_type(name, *ty);
|
345
|
-
let body = mem::take(&mut gen.src);
|
346
|
-
self.src.push_str(&body);
|
347
|
-
}
|
348
|
-
};
|
349
|
-
}
|
350
|
-
|
351
|
-
fn export(&mut self, resolve: &Resolve, name: &WorldKey, item: &WorldItem) {
|
352
|
-
let mut gen = InterfaceGenerator::new(self, resolve);
|
353
|
-
let (field, ty, getter) = match item {
|
354
|
-
WorldItem::Function(func) => {
|
355
|
-
gen.define_rust_guest_export(resolve, None, func);
|
356
|
-
let body = mem::take(&mut gen.src).into();
|
357
|
-
let (_name, getter) = gen.extract_typed_function(func);
|
358
|
-
assert!(gen.src.is_empty());
|
359
|
-
self.exports.funcs.push(body);
|
360
|
-
(
|
361
|
-
func_field_name(resolve, func),
|
362
|
-
"wasmtime::component::Func".to_string(),
|
363
|
-
getter,
|
364
|
-
)
|
365
|
-
}
|
366
|
-
WorldItem::Type(_) => unreachable!(),
|
367
|
-
WorldItem::Interface(id) => {
|
368
|
-
gen.gen.interface_last_seen_as_import.insert(*id, false);
|
369
|
-
gen.gen.name_interface(resolve, *id, name, true);
|
370
|
-
gen.current_interface = Some((*id, name, true));
|
371
|
-
gen.types(*id);
|
372
|
-
let struct_name = "Guest";
|
373
|
-
let iface = &resolve.interfaces[*id];
|
374
|
-
let iface_name = match name {
|
375
|
-
WorldKey::Name(name) => name,
|
376
|
-
WorldKey::Interface(_) => iface.name.as_ref().unwrap(),
|
377
|
-
};
|
378
|
-
uwriteln!(gen.src, "pub struct {struct_name} {{");
|
379
|
-
for (_, func) in iface.functions.iter() {
|
380
|
-
uwriteln!(
|
381
|
-
gen.src,
|
382
|
-
"{}: wasmtime::component::Func,",
|
383
|
-
func_field_name(resolve, func)
|
384
|
-
);
|
385
|
-
}
|
386
|
-
uwriteln!(gen.src, "}}");
|
387
|
-
|
388
|
-
uwriteln!(gen.src, "impl {struct_name} {{");
|
389
|
-
uwrite!(
|
390
|
-
gen.src,
|
391
|
-
"
|
392
|
-
pub fn new(
|
393
|
-
__exports: &mut wasmtime::component::ExportInstance<'_, '_>,
|
394
|
-
) -> wasmtime::Result<{struct_name}> {{
|
395
|
-
"
|
396
|
-
);
|
397
|
-
let mut fields = Vec::new();
|
398
|
-
for (_, func) in iface.functions.iter() {
|
399
|
-
let (name, getter) = gen.extract_typed_function(func);
|
400
|
-
uwriteln!(gen.src, "let {name} = {getter};");
|
401
|
-
fields.push(name);
|
402
|
-
}
|
403
|
-
uwriteln!(gen.src, "Ok({struct_name} {{");
|
404
|
-
for name in fields {
|
405
|
-
uwriteln!(gen.src, "{name},");
|
406
|
-
}
|
407
|
-
uwriteln!(gen.src, "}})");
|
408
|
-
uwriteln!(gen.src, "}}");
|
409
|
-
|
410
|
-
let mut resource_methods = IndexMap::new();
|
411
|
-
|
412
|
-
for (_, func) in iface.functions.iter() {
|
413
|
-
match func.kind {
|
414
|
-
FunctionKind::Freestanding => {
|
415
|
-
gen.define_rust_guest_export(resolve, Some(name), func);
|
416
|
-
}
|
417
|
-
FunctionKind::Method(id)
|
418
|
-
| FunctionKind::Constructor(id)
|
419
|
-
| FunctionKind::Static(id) => {
|
420
|
-
resource_methods.entry(id).or_insert(Vec::new()).push(func);
|
421
|
-
}
|
422
|
-
}
|
423
|
-
}
|
424
|
-
|
425
|
-
for (id, _) in resource_methods.iter() {
|
426
|
-
let name = resolve.types[*id].name.as_ref().unwrap();
|
427
|
-
let snake = name.to_snake_case();
|
428
|
-
let camel = name.to_upper_camel_case();
|
429
|
-
uwriteln!(
|
430
|
-
gen.src,
|
431
|
-
"pub fn {snake}(&self) -> Guest{camel}<'_> {{
|
432
|
-
Guest{camel} {{ funcs: self }}
|
433
|
-
}}"
|
434
|
-
);
|
435
|
-
}
|
436
|
-
|
437
|
-
uwriteln!(gen.src, "}}");
|
438
|
-
|
439
|
-
for (id, methods) in resource_methods {
|
440
|
-
let resource_name = resolve.types[id].name.as_ref().unwrap();
|
441
|
-
let camel = resource_name.to_upper_camel_case();
|
442
|
-
uwriteln!(gen.src, "impl Guest{camel}<'_> {{");
|
443
|
-
for method in methods {
|
444
|
-
gen.define_rust_guest_export(resolve, Some(name), method);
|
445
|
-
}
|
446
|
-
uwriteln!(gen.src, "}}");
|
447
|
-
}
|
448
|
-
|
449
|
-
let module = &gen.src[..];
|
450
|
-
let snake = to_rust_ident(iface_name);
|
451
|
-
|
452
|
-
let module = format!(
|
453
|
-
"
|
454
|
-
#[allow(clippy::all)]
|
455
|
-
pub mod {snake} {{
|
456
|
-
#[allow(unused_imports)]
|
457
|
-
use wasmtime::component::__internal::anyhow;
|
458
|
-
|
459
|
-
{module}
|
460
|
-
}}
|
461
|
-
"
|
462
|
-
);
|
463
|
-
let pkgname = match name {
|
464
|
-
WorldKey::Name(_) => None,
|
465
|
-
WorldKey::Interface(_) => {
|
466
|
-
Some(resolve.packages[iface.package.unwrap()].name.clone())
|
467
|
-
}
|
468
|
-
};
|
469
|
-
self.exports
|
470
|
-
.modules
|
471
|
-
.push((module, self.interface_names[id].clone()));
|
472
|
-
|
473
|
-
let name = resolve.name_world_key(name);
|
474
|
-
let (path, method_name) = match pkgname {
|
475
|
-
Some(pkgname) => (
|
476
|
-
format!(
|
477
|
-
"exports::{}::{}::{snake}::{struct_name}",
|
478
|
-
pkgname.namespace.to_snake_case(),
|
479
|
-
self.name_package_module(resolve, iface.package.unwrap()),
|
480
|
-
),
|
481
|
-
format!(
|
482
|
-
"{}_{}_{snake}",
|
483
|
-
pkgname.namespace.to_snake_case(),
|
484
|
-
self.name_package_module(resolve, iface.package.unwrap())
|
485
|
-
),
|
486
|
-
),
|
487
|
-
None => (format!("exports::{snake}::{struct_name}"), snake.clone()),
|
488
|
-
};
|
489
|
-
let getter = format!(
|
490
|
-
"\
|
491
|
-
{path}::new(
|
492
|
-
&mut __exports.instance(\"{name}\")
|
493
|
-
.ok_or_else(|| anyhow::anyhow!(\"exported instance `{name}` not present\"))?
|
494
|
-
)?\
|
495
|
-
"
|
496
|
-
);
|
497
|
-
let field = format!("interface{}", self.exports.fields.len());
|
498
|
-
self.exports.funcs.push(format!(
|
499
|
-
"
|
500
|
-
pub fn {method_name}(&self) -> &{path} {{
|
501
|
-
&self.{field}
|
502
|
-
}}
|
503
|
-
",
|
504
|
-
));
|
505
|
-
(field, path, getter)
|
506
|
-
}
|
507
|
-
};
|
508
|
-
let prev = self.exports.fields.insert(field, (ty, getter));
|
509
|
-
assert!(prev.is_none());
|
510
|
-
}
|
511
|
-
|
512
|
-
fn build_struct(&mut self, resolve: &Resolve, world: WorldId) {
|
513
|
-
let camel = to_rust_upper_camel_case(&resolve.worlds[world].name);
|
514
|
-
uwriteln!(self.src, "pub struct {camel} {{");
|
515
|
-
for (name, (ty, _)) in self.exports.fields.iter() {
|
516
|
-
uwriteln!(self.src, "{name}: {ty},");
|
517
|
-
}
|
518
|
-
self.src.push_str("}\n");
|
519
|
-
|
520
|
-
let (async_, async__, send, await_) = if self.opts.async_.maybe_async() {
|
521
|
-
("async", "_async", ":Send", ".await")
|
522
|
-
} else {
|
523
|
-
("", "", "", "")
|
524
|
-
};
|
525
|
-
|
526
|
-
self.toplevel_import_trait(resolve, world);
|
527
|
-
|
528
|
-
uwriteln!(self.src, "const _: () = {{");
|
529
|
-
uwriteln!(
|
530
|
-
self.src,
|
531
|
-
"
|
532
|
-
#[allow(unused_imports)]
|
533
|
-
use wasmtime::component::__internal::anyhow;
|
534
|
-
"
|
535
|
-
);
|
536
|
-
|
537
|
-
uwriteln!(self.src, "impl {camel} {{");
|
538
|
-
self.toplevel_add_to_linker(resolve, world);
|
539
|
-
uwriteln!(
|
540
|
-
self.src,
|
541
|
-
"
|
542
|
-
/// Instantiates the provided `module` using the specified
|
543
|
-
/// parameters, wrapping up the result in a structure that
|
544
|
-
/// translates between wasm and the host.
|
545
|
-
pub {async_} fn instantiate{async__}<T {send}>(
|
546
|
-
mut store: impl wasmtime::AsContextMut<Data = T>,
|
547
|
-
component: &wasmtime::component::Component,
|
548
|
-
linker: &wasmtime::component::Linker<T>,
|
549
|
-
) -> wasmtime::Result<(Self, wasmtime::component::Instance)> {{
|
550
|
-
let instance = linker.instantiate{async__}(&mut store, component){await_}?;
|
551
|
-
Ok((Self::new(store, &instance)?, instance))
|
552
|
-
}}
|
553
|
-
|
554
|
-
/// Instantiates a pre-instantiated module using the specified
|
555
|
-
/// parameters, wrapping up the result in a structure that
|
556
|
-
/// translates between wasm and the host.
|
557
|
-
pub {async_} fn instantiate_pre<T {send}>(
|
558
|
-
mut store: impl wasmtime::AsContextMut<Data = T>,
|
559
|
-
instance_pre: &wasmtime::component::InstancePre<T>,
|
560
|
-
) -> wasmtime::Result<(Self, wasmtime::component::Instance)> {{
|
561
|
-
let instance = instance_pre.instantiate{async__}(&mut store){await_}?;
|
562
|
-
Ok((Self::new(store, &instance)?, instance))
|
563
|
-
}}
|
564
|
-
|
565
|
-
/// Low-level creation wrapper for wrapping up the exports
|
566
|
-
/// of the `instance` provided in this structure of wasm
|
567
|
-
/// exports.
|
568
|
-
///
|
569
|
-
/// This function will extract exports from the `instance`
|
570
|
-
/// defined within `store` and wrap them all up in the
|
571
|
-
/// returned structure which can be used to interact with
|
572
|
-
/// the wasm module.
|
573
|
-
pub fn new(
|
574
|
-
mut store: impl wasmtime::AsContextMut,
|
575
|
-
instance: &wasmtime::component::Instance,
|
576
|
-
) -> wasmtime::Result<Self> {{
|
577
|
-
let mut store = store.as_context_mut();
|
578
|
-
let mut exports = instance.exports(&mut store);
|
579
|
-
let mut __exports = exports.root();
|
580
|
-
",
|
581
|
-
);
|
582
|
-
for (name, (_, get)) in self.exports.fields.iter() {
|
583
|
-
uwriteln!(self.src, "let {name} = {get};");
|
584
|
-
}
|
585
|
-
uwriteln!(self.src, "Ok({camel} {{");
|
586
|
-
for (name, _) in self.exports.fields.iter() {
|
587
|
-
uwriteln!(self.src, "{name},");
|
588
|
-
}
|
589
|
-
uwriteln!(self.src, "}})");
|
590
|
-
uwriteln!(self.src, "}}"); // close `fn new`
|
591
|
-
|
592
|
-
for func in self.exports.funcs.iter() {
|
593
|
-
self.src.push_str(func);
|
594
|
-
}
|
595
|
-
|
596
|
-
uwriteln!(self.src, "}}"); // close `impl {camel}`
|
597
|
-
|
598
|
-
uwriteln!(self.src, "}};"); // close `const _: () = ...
|
599
|
-
}
|
600
|
-
|
601
|
-
fn finish(&mut self, resolve: &Resolve, world: WorldId) -> String {
|
602
|
-
if !self.opts.only_interfaces {
|
603
|
-
self.build_struct(resolve, world)
|
604
|
-
}
|
605
|
-
|
606
|
-
let imports = mem::take(&mut self.import_interfaces);
|
607
|
-
self.emit_modules(imports);
|
608
|
-
|
609
|
-
let exports = mem::take(&mut self.exports.modules);
|
610
|
-
self.emit_modules(exports);
|
611
|
-
|
612
|
-
let mut src = mem::take(&mut self.src);
|
613
|
-
if self.opts.rustfmt {
|
614
|
-
let mut child = Command::new("rustfmt")
|
615
|
-
.arg("--edition=2018")
|
616
|
-
.stdin(Stdio::piped())
|
617
|
-
.stdout(Stdio::piped())
|
618
|
-
.spawn()
|
619
|
-
.expect("failed to spawn `rustfmt`");
|
620
|
-
child
|
621
|
-
.stdin
|
622
|
-
.take()
|
623
|
-
.unwrap()
|
624
|
-
.write_all(src.as_bytes())
|
625
|
-
.unwrap();
|
626
|
-
src.as_mut_string().truncate(0);
|
627
|
-
child
|
628
|
-
.stdout
|
629
|
-
.take()
|
630
|
-
.unwrap()
|
631
|
-
.read_to_string(src.as_mut_string())
|
632
|
-
.unwrap();
|
633
|
-
let status = child.wait().unwrap();
|
634
|
-
assert!(status.success());
|
635
|
-
}
|
636
|
-
|
637
|
-
src.into()
|
638
|
-
}
|
639
|
-
|
640
|
-
fn emit_modules(&mut self, modules: Vec<(String, InterfaceName)>) {
|
641
|
-
#[derive(Default)]
|
642
|
-
struct Module {
|
643
|
-
submodules: BTreeMap<String, Module>,
|
644
|
-
contents: Vec<String>,
|
645
|
-
}
|
646
|
-
let mut map = Module::default();
|
647
|
-
for (module, name) in modules {
|
648
|
-
let path = match name {
|
649
|
-
InterfaceName::Remapped { local_path, .. } => local_path,
|
650
|
-
InterfaceName::Path(path) => path,
|
651
|
-
};
|
652
|
-
let mut cur = &mut map;
|
653
|
-
for name in path[..path.len() - 1].iter() {
|
654
|
-
cur = cur
|
655
|
-
.submodules
|
656
|
-
.entry(name.clone())
|
657
|
-
.or_insert(Module::default());
|
658
|
-
}
|
659
|
-
cur.contents.push(module);
|
660
|
-
}
|
661
|
-
|
662
|
-
emit(&mut self.src, map);
|
663
|
-
|
664
|
-
fn emit(me: &mut Source, module: Module) {
|
665
|
-
for (name, submodule) in module.submodules {
|
666
|
-
uwriteln!(me, "pub mod {name} {{");
|
667
|
-
emit(me, submodule);
|
668
|
-
uwriteln!(me, "}}");
|
669
|
-
}
|
670
|
-
for submodule in module.contents {
|
671
|
-
uwriteln!(me, "{submodule}");
|
672
|
-
}
|
673
|
-
}
|
674
|
-
}
|
675
|
-
|
676
|
-
/// Attempts to find the `key`, possibly with the resource projection
|
677
|
-
/// `item`, within the `with` map provided to bindings configuration.
|
678
|
-
fn lookup_replacement(
|
679
|
-
&self,
|
680
|
-
resolve: &Resolve,
|
681
|
-
key: &WorldKey,
|
682
|
-
item: Option<&str>,
|
683
|
-
) -> Option<String> {
|
684
|
-
struct Name<'a> {
|
685
|
-
prefix: Prefix,
|
686
|
-
item: Option<&'a str>,
|
687
|
-
}
|
688
|
-
|
689
|
-
#[derive(Copy, Clone)]
|
690
|
-
enum Prefix {
|
691
|
-
Namespace(PackageId),
|
692
|
-
UnversionedPackage(PackageId),
|
693
|
-
VersionedPackage(PackageId),
|
694
|
-
UnversionedInterface(InterfaceId),
|
695
|
-
VersionedInterface(InterfaceId),
|
696
|
-
}
|
697
|
-
|
698
|
-
let prefix = match key {
|
699
|
-
WorldKey::Interface(id) => Prefix::VersionedInterface(*id),
|
700
|
-
|
701
|
-
// Non-interface-keyed names don't get the lookup logic below,
|
702
|
-
// they're relatively uncommon so only lookup the precise key here.
|
703
|
-
WorldKey::Name(key) => {
|
704
|
-
let to_lookup = match item {
|
705
|
-
Some(item) => format!("{key}/{item}"),
|
706
|
-
None => key.to_string(),
|
707
|
-
};
|
708
|
-
return self.opts.with.get(&to_lookup).cloned();
|
709
|
-
}
|
710
|
-
};
|
711
|
-
|
712
|
-
// Here names are iteratively attempted as `key` + `item` is "walked to
|
713
|
-
// its root" and each attempt is consulted in `self.opts.with`. This
|
714
|
-
// loop will start at the leaf, the most specific path, and then walk to
|
715
|
-
// the root, popping items, trying to find a result.
|
716
|
-
//
|
717
|
-
// Each time a name is "popped" the projection from the next path is
|
718
|
-
// pushed onto `projection`. This means that if we actually find a match
|
719
|
-
// then `projection` is a collection of namespaces that results in the
|
720
|
-
// final replacement name.
|
721
|
-
let mut name = Name { prefix, item };
|
722
|
-
let mut projection = Vec::new();
|
723
|
-
loop {
|
724
|
-
let lookup = name.lookup_key(resolve);
|
725
|
-
if let Some(renamed) = self.opts.with.get(&lookup) {
|
726
|
-
projection.push(renamed.clone());
|
727
|
-
projection.reverse();
|
728
|
-
return Some(projection.join("::"));
|
729
|
-
}
|
730
|
-
if !name.pop(resolve, &mut projection) {
|
731
|
-
return None;
|
732
|
-
}
|
733
|
-
}
|
734
|
-
|
735
|
-
impl<'a> Name<'a> {
|
736
|
-
fn lookup_key(&self, resolve: &Resolve) -> String {
|
737
|
-
let mut s = self.prefix.lookup_key(resolve);
|
738
|
-
if let Some(item) = self.item {
|
739
|
-
s.push_str("/");
|
740
|
-
s.push_str(item);
|
741
|
-
}
|
742
|
-
s
|
743
|
-
}
|
744
|
-
|
745
|
-
fn pop(&mut self, resolve: &'a Resolve, projection: &mut Vec<String>) -> bool {
|
746
|
-
match (self.item, self.prefix) {
|
747
|
-
// If this is a versioned resource name, try the unversioned
|
748
|
-
// resource name next.
|
749
|
-
(Some(_), Prefix::VersionedInterface(id)) => {
|
750
|
-
self.prefix = Prefix::UnversionedInterface(id);
|
751
|
-
true
|
752
|
-
}
|
753
|
-
// If this is an unversioned resource name then time to
|
754
|
-
// ignore the resource itself and move on to the next most
|
755
|
-
// specific item, versioned interface names.
|
756
|
-
(Some(item), Prefix::UnversionedInterface(id)) => {
|
757
|
-
self.prefix = Prefix::VersionedInterface(id);
|
758
|
-
self.item = None;
|
759
|
-
projection.push(item.to_upper_camel_case());
|
760
|
-
true
|
761
|
-
}
|
762
|
-
(Some(_), _) => unreachable!(),
|
763
|
-
(None, _) => self.prefix.pop(resolve, projection),
|
764
|
-
}
|
765
|
-
}
|
766
|
-
}
|
767
|
-
|
768
|
-
impl Prefix {
|
769
|
-
fn lookup_key(&self, resolve: &Resolve) -> String {
|
770
|
-
match *self {
|
771
|
-
Prefix::Namespace(id) => resolve.packages[id].name.namespace.clone(),
|
772
|
-
Prefix::UnversionedPackage(id) => {
|
773
|
-
let mut name = resolve.packages[id].name.clone();
|
774
|
-
name.version = None;
|
775
|
-
name.to_string()
|
776
|
-
}
|
777
|
-
Prefix::VersionedPackage(id) => resolve.packages[id].name.to_string(),
|
778
|
-
Prefix::UnversionedInterface(id) => {
|
779
|
-
let id = resolve.id_of(id).unwrap();
|
780
|
-
match id.find('@') {
|
781
|
-
Some(i) => id[..i].to_string(),
|
782
|
-
None => id,
|
783
|
-
}
|
784
|
-
}
|
785
|
-
Prefix::VersionedInterface(id) => resolve.id_of(id).unwrap(),
|
786
|
-
}
|
787
|
-
}
|
788
|
-
|
789
|
-
fn pop(&mut self, resolve: &Resolve, projection: &mut Vec<String>) -> bool {
|
790
|
-
*self = match *self {
|
791
|
-
// try the unversioned interface next
|
792
|
-
Prefix::VersionedInterface(id) => Prefix::UnversionedInterface(id),
|
793
|
-
// try this interface's versioned package next
|
794
|
-
Prefix::UnversionedInterface(id) => {
|
795
|
-
let iface = &resolve.interfaces[id];
|
796
|
-
let name = iface.name.as_ref().unwrap();
|
797
|
-
projection.push(to_rust_ident(name));
|
798
|
-
Prefix::VersionedPackage(iface.package.unwrap())
|
799
|
-
}
|
800
|
-
// try the unversioned package next
|
801
|
-
Prefix::VersionedPackage(id) => Prefix::UnversionedPackage(id),
|
802
|
-
// try this package's namespace next
|
803
|
-
Prefix::UnversionedPackage(id) => {
|
804
|
-
let name = &resolve.packages[id].name;
|
805
|
-
projection.push(to_rust_ident(&name.name));
|
806
|
-
Prefix::Namespace(id)
|
807
|
-
}
|
808
|
-
// nothing left to try any more
|
809
|
-
Prefix::Namespace(_) => return false,
|
810
|
-
};
|
811
|
-
true
|
812
|
-
}
|
813
|
-
}
|
814
|
-
}
|
815
|
-
}
|
816
|
-
|
817
|
-
impl Wasmtime {
|
818
|
-
fn has_world_trait(&self, resolve: &Resolve, world: WorldId) -> bool {
|
819
|
-
!self.import_functions.is_empty() || get_world_resources(resolve, world).count() > 0
|
820
|
-
}
|
821
|
-
|
822
|
-
fn toplevel_import_trait(&mut self, resolve: &Resolve, world: WorldId) {
|
823
|
-
if !self.has_world_trait(resolve, world) {
|
824
|
-
return;
|
825
|
-
}
|
826
|
-
|
827
|
-
let world_camel = to_rust_upper_camel_case(&resolve.worlds[world].name);
|
828
|
-
if self.opts.async_.maybe_async() {
|
829
|
-
uwriteln!(self.src, "#[wasmtime::component::__internal::async_trait]")
|
830
|
-
}
|
831
|
-
uwrite!(self.src, "pub trait {world_camel}Imports");
|
832
|
-
for (i, resource) in get_world_resources(resolve, world).enumerate() {
|
833
|
-
if i == 0 {
|
834
|
-
uwrite!(self.src, ": ");
|
835
|
-
} else {
|
836
|
-
uwrite!(self.src, " + ");
|
837
|
-
}
|
838
|
-
uwrite!(self.src, "Host{}", resource.to_upper_camel_case());
|
839
|
-
}
|
840
|
-
uwriteln!(self.src, " {{");
|
841
|
-
for f in self.import_functions.iter() {
|
842
|
-
self.src.push_str(&f.sig);
|
843
|
-
self.src.push_str("\n");
|
844
|
-
}
|
845
|
-
uwriteln!(self.src, "}}");
|
846
|
-
}
|
847
|
-
|
848
|
-
fn toplevel_add_to_linker(&mut self, resolve: &Resolve, world: WorldId) {
|
849
|
-
let has_world_trait = self.has_world_trait(resolve, world);
|
850
|
-
if self.import_interfaces.is_empty() && !has_world_trait {
|
851
|
-
return;
|
852
|
-
}
|
853
|
-
let mut interfaces = Vec::new();
|
854
|
-
for (_, name) in self.import_interfaces.iter() {
|
855
|
-
let path = match name {
|
856
|
-
InterfaceName::Remapped { .. } => unreachable!("imported a remapped module"),
|
857
|
-
InterfaceName::Path(path) => path,
|
858
|
-
};
|
859
|
-
interfaces.push(path.join("::"));
|
860
|
-
}
|
861
|
-
|
862
|
-
uwrite!(
|
863
|
-
self.src,
|
864
|
-
"
|
865
|
-
pub fn add_to_linker<T, U>(
|
866
|
-
linker: &mut wasmtime::component::Linker<T>,
|
867
|
-
get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
|
868
|
-
) -> wasmtime::Result<()>
|
869
|
-
where U: \
|
870
|
-
"
|
871
|
-
);
|
872
|
-
let world_camel = to_rust_upper_camel_case(&resolve.worlds[world].name);
|
873
|
-
let world_trait = format!("{world_camel}Imports");
|
874
|
-
for (i, name) in interfaces
|
875
|
-
.iter()
|
876
|
-
.map(|n| format!("{n}::Host"))
|
877
|
-
.chain(if has_world_trait {
|
878
|
-
Some(world_trait.clone())
|
879
|
-
} else {
|
880
|
-
None
|
881
|
-
})
|
882
|
-
.enumerate()
|
883
|
-
{
|
884
|
-
if i > 0 {
|
885
|
-
self.src.push_str(" + ");
|
886
|
-
}
|
887
|
-
self.src.push_str(&name);
|
888
|
-
}
|
889
|
-
|
890
|
-
let maybe_send = if self.opts.async_.maybe_async() {
|
891
|
-
" + Send, T: Send"
|
892
|
-
} else {
|
893
|
-
""
|
894
|
-
};
|
895
|
-
|
896
|
-
self.src.push_str(maybe_send);
|
897
|
-
self.src.push_str(",\n{\n");
|
898
|
-
for name in interfaces.iter() {
|
899
|
-
uwriteln!(self.src, "{name}::add_to_linker(linker, get)?;");
|
900
|
-
}
|
901
|
-
if has_world_trait {
|
902
|
-
uwriteln!(self.src, "Self::add_root_to_linker(linker, get)?;");
|
903
|
-
}
|
904
|
-
uwriteln!(self.src, "Ok(())\n}}");
|
905
|
-
if !has_world_trait {
|
906
|
-
return;
|
907
|
-
}
|
908
|
-
|
909
|
-
uwrite!(
|
910
|
-
self.src,
|
911
|
-
"
|
912
|
-
pub fn add_root_to_linker<T, U>(
|
913
|
-
linker: &mut wasmtime::component::Linker<T>,
|
914
|
-
get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
|
915
|
-
) -> wasmtime::Result<()>
|
916
|
-
where U: {world_trait}{maybe_send}
|
917
|
-
{{
|
918
|
-
let mut linker = linker.root();
|
919
|
-
",
|
920
|
-
);
|
921
|
-
for name in get_world_resources(resolve, world) {
|
922
|
-
let camel = name.to_upper_camel_case();
|
923
|
-
uwriteln!(
|
924
|
-
self.src,
|
925
|
-
"linker.resource(
|
926
|
-
\"{name}\",
|
927
|
-
wasmtime::component::ResourceType::host::<{camel}>(),
|
928
|
-
move |mut store, rep| -> wasmtime::Result<()> {{
|
929
|
-
Host{camel}::drop(get(store.data_mut()), wasmtime::component::Resource::new_own(rep))
|
930
|
-
}},
|
931
|
-
)?;"
|
932
|
-
)
|
933
|
-
}
|
934
|
-
|
935
|
-
for f in self.import_functions.iter() {
|
936
|
-
self.src.push_str(&f.add_to_linker);
|
937
|
-
self.src.push_str("\n");
|
938
|
-
}
|
939
|
-
uwriteln!(self.src, "Ok(())\n}}");
|
940
|
-
}
|
941
|
-
}
|
942
|
-
|
943
|
-
fn resolve_type_in_package(resolve: &Resolve, wit_path: &str) -> anyhow::Result<TypeId> {
|
944
|
-
// Build a map, `packages_to_omit_version`, where that package can be
|
945
|
-
// uniquely identified by its name/namespace combo and as such version
|
946
|
-
// information is not required.
|
947
|
-
let mut packages_with_same_name = HashMap::new();
|
948
|
-
for (id, pkg) in resolve.packages.iter() {
|
949
|
-
packages_with_same_name
|
950
|
-
.entry(PackageName {
|
951
|
-
version: None,
|
952
|
-
..pkg.name.clone()
|
953
|
-
})
|
954
|
-
.or_insert(Vec::new())
|
955
|
-
.push(id)
|
956
|
-
}
|
957
|
-
let packages_to_omit_version = packages_with_same_name
|
958
|
-
.iter()
|
959
|
-
.filter_map(
|
960
|
-
|(_name, list)| {
|
961
|
-
if list.len() == 1 {
|
962
|
-
Some(list)
|
963
|
-
} else {
|
964
|
-
None
|
965
|
-
}
|
966
|
-
},
|
967
|
-
)
|
968
|
-
.flat_map(|l| l)
|
969
|
-
.collect::<HashSet<_>>();
|
970
|
-
|
971
|
-
let mut found_interface = false;
|
972
|
-
|
973
|
-
// Look for an interface whose assigned prefix starts `wit_path`. Not
|
974
|
-
// exactly the most efficient thing ever but is sufficient for now.
|
975
|
-
for (id, interface) in resolve.interfaces.iter() {
|
976
|
-
found_interface = true;
|
977
|
-
|
978
|
-
let iface_name = match &interface.name {
|
979
|
-
Some(name) => name,
|
980
|
-
None => continue,
|
981
|
-
};
|
982
|
-
let pkgid = interface.package.unwrap();
|
983
|
-
let pkgname = &resolve.packages[pkgid].name;
|
984
|
-
let prefix = if packages_to_omit_version.contains(&pkgid) {
|
985
|
-
let mut name = pkgname.clone();
|
986
|
-
name.version = None;
|
987
|
-
format!("{name}/{iface_name}")
|
988
|
-
} else {
|
989
|
-
resolve.id_of(id).unwrap()
|
990
|
-
};
|
991
|
-
let wit_path = match wit_path.strip_prefix(&prefix) {
|
992
|
-
Some(rest) => rest,
|
993
|
-
None => continue,
|
994
|
-
};
|
995
|
-
|
996
|
-
let wit_path = match wit_path.strip_prefix('/') {
|
997
|
-
Some(rest) => rest,
|
998
|
-
None => continue,
|
999
|
-
};
|
1000
|
-
|
1001
|
-
match interface.types.get(wit_path).copied() {
|
1002
|
-
Some(type_id) => return Ok(type_id),
|
1003
|
-
None => continue,
|
1004
|
-
}
|
1005
|
-
}
|
1006
|
-
|
1007
|
-
if found_interface {
|
1008
|
-
bail!("no types found to match `{wit_path}` in interface");
|
1009
|
-
}
|
1010
|
-
|
1011
|
-
bail!("no package/interface found to match `{wit_path}`")
|
1012
|
-
}
|
1013
|
-
|
1014
|
-
struct InterfaceGenerator<'a> {
|
1015
|
-
src: Source,
|
1016
|
-
gen: &'a mut Wasmtime,
|
1017
|
-
resolve: &'a Resolve,
|
1018
|
-
current_interface: Option<(InterfaceId, &'a WorldKey, bool)>,
|
1019
|
-
}
|
1020
|
-
|
1021
|
-
impl<'a> InterfaceGenerator<'a> {
|
1022
|
-
fn new(gen: &'a mut Wasmtime, resolve: &'a Resolve) -> InterfaceGenerator<'a> {
|
1023
|
-
InterfaceGenerator {
|
1024
|
-
src: Source::default(),
|
1025
|
-
gen,
|
1026
|
-
resolve,
|
1027
|
-
current_interface: None,
|
1028
|
-
}
|
1029
|
-
}
|
1030
|
-
|
1031
|
-
fn types_imported(&self) -> bool {
|
1032
|
-
match self.current_interface {
|
1033
|
-
Some((_, _, is_export)) => !is_export,
|
1034
|
-
None => true,
|
1035
|
-
}
|
1036
|
-
}
|
1037
|
-
|
1038
|
-
fn types(&mut self, id: InterfaceId) {
|
1039
|
-
for (name, id) in self.resolve.interfaces[id].types.iter() {
|
1040
|
-
self.define_type(name, *id);
|
1041
|
-
}
|
1042
|
-
}
|
1043
|
-
|
1044
|
-
fn define_type(&mut self, name: &str, id: TypeId) {
|
1045
|
-
let ty = &self.resolve.types[id];
|
1046
|
-
match &ty.kind {
|
1047
|
-
TypeDefKind::Record(record) => self.type_record(id, name, record, &ty.docs),
|
1048
|
-
TypeDefKind::Flags(flags) => self.type_flags(id, name, flags, &ty.docs),
|
1049
|
-
TypeDefKind::Tuple(tuple) => self.type_tuple(id, name, tuple, &ty.docs),
|
1050
|
-
TypeDefKind::Enum(enum_) => self.type_enum(id, name, enum_, &ty.docs),
|
1051
|
-
TypeDefKind::Variant(variant) => self.type_variant(id, name, variant, &ty.docs),
|
1052
|
-
TypeDefKind::Option(t) => self.type_option(id, name, t, &ty.docs),
|
1053
|
-
TypeDefKind::Result(r) => self.type_result(id, name, r, &ty.docs),
|
1054
|
-
TypeDefKind::List(t) => self.type_list(id, name, t, &ty.docs),
|
1055
|
-
TypeDefKind::Type(t) => self.type_alias(id, name, t, &ty.docs),
|
1056
|
-
TypeDefKind::Future(_) => todo!("generate for future"),
|
1057
|
-
TypeDefKind::Stream(_) => todo!("generate for stream"),
|
1058
|
-
TypeDefKind::Handle(handle) => self.type_handle(id, name, handle, &ty.docs),
|
1059
|
-
TypeDefKind::Resource => self.type_resource(id, name, ty, &ty.docs),
|
1060
|
-
TypeDefKind::Unknown => unreachable!(),
|
1061
|
-
}
|
1062
|
-
}
|
1063
|
-
|
1064
|
-
fn type_handle(&mut self, id: TypeId, name: &str, handle: &Handle, docs: &Docs) {
|
1065
|
-
self.rustdoc(docs);
|
1066
|
-
let name = name.to_upper_camel_case();
|
1067
|
-
uwriteln!(self.src, "pub type {name} = ");
|
1068
|
-
self.print_handle(handle);
|
1069
|
-
self.push_str(";\n");
|
1070
|
-
self.assert_type(id, &name);
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
fn type_resource(&mut self, id: TypeId, name: &str, resource: &TypeDef, docs: &Docs) {
|
1074
|
-
let camel = name.to_upper_camel_case();
|
1075
|
-
|
1076
|
-
if self.types_imported() {
|
1077
|
-
self.rustdoc(docs);
|
1078
|
-
|
1079
|
-
let replacement = match self.current_interface {
|
1080
|
-
Some((_, key, _)) => self.gen.lookup_replacement(self.resolve, key, Some(name)),
|
1081
|
-
None => self.gen.opts.with.get(name).cloned(),
|
1082
|
-
};
|
1083
|
-
match replacement {
|
1084
|
-
Some(path) => {
|
1085
|
-
uwriteln!(
|
1086
|
-
self.src,
|
1087
|
-
"pub use {}{path} as {camel};",
|
1088
|
-
self.path_to_root()
|
1089
|
-
);
|
1090
|
-
}
|
1091
|
-
None => {
|
1092
|
-
uwriteln!(self.src, "pub enum {camel} {{}}");
|
1093
|
-
}
|
1094
|
-
}
|
1095
|
-
|
1096
|
-
if self.gen.opts.async_.maybe_async() {
|
1097
|
-
uwriteln!(self.src, "#[wasmtime::component::__internal::async_trait]")
|
1098
|
-
}
|
1099
|
-
|
1100
|
-
uwriteln!(self.src, "pub trait Host{camel} {{");
|
1101
|
-
|
1102
|
-
let functions = match resource.owner {
|
1103
|
-
TypeOwner::World(id) => self.resolve.worlds[id]
|
1104
|
-
.imports
|
1105
|
-
.values()
|
1106
|
-
.filter_map(|item| match item {
|
1107
|
-
WorldItem::Function(f) => Some(f),
|
1108
|
-
_ => None,
|
1109
|
-
})
|
1110
|
-
.collect(),
|
1111
|
-
TypeOwner::Interface(id) => self.resolve.interfaces[id]
|
1112
|
-
.functions
|
1113
|
-
.values()
|
1114
|
-
.collect::<Vec<_>>(),
|
1115
|
-
TypeOwner::None => {
|
1116
|
-
panic!("A resource must be owned by a world or interface");
|
1117
|
-
}
|
1118
|
-
};
|
1119
|
-
|
1120
|
-
for func in functions {
|
1121
|
-
match func.kind {
|
1122
|
-
FunctionKind::Method(resource)
|
1123
|
-
| FunctionKind::Static(resource)
|
1124
|
-
| FunctionKind::Constructor(resource)
|
1125
|
-
if id == resource => {}
|
1126
|
-
_ => continue,
|
1127
|
-
}
|
1128
|
-
|
1129
|
-
self.generate_function_trait_sig(func);
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
uwrite!(
|
1133
|
-
self.src,
|
1134
|
-
"fn drop(&mut self, rep: wasmtime::component::Resource<{camel}>) -> wasmtime::Result<()>;");
|
1135
|
-
|
1136
|
-
uwriteln!(self.src, "}}");
|
1137
|
-
} else {
|
1138
|
-
self.rustdoc(docs);
|
1139
|
-
uwriteln!(
|
1140
|
-
self.src,
|
1141
|
-
"
|
1142
|
-
pub type {camel} = wasmtime::component::ResourceAny;
|
1143
|
-
|
1144
|
-
pub struct Guest{camel}<'a> {{
|
1145
|
-
funcs: &'a Guest,
|
1146
|
-
}}
|
1147
|
-
"
|
1148
|
-
);
|
1149
|
-
}
|
1150
|
-
}
|
1151
|
-
|
1152
|
-
fn type_record(&mut self, id: TypeId, _name: &str, record: &Record, docs: &Docs) {
|
1153
|
-
let info = self.info(id);
|
1154
|
-
for (name, mode) in self.modes_of(id) {
|
1155
|
-
let lt = self.lifetime_for(&info, mode);
|
1156
|
-
self.rustdoc(docs);
|
1157
|
-
|
1158
|
-
self.push_str("#[derive(wasmtime::component::ComponentType)]\n");
|
1159
|
-
if lt.is_none() {
|
1160
|
-
self.push_str("#[derive(wasmtime::component::Lift)]\n");
|
1161
|
-
}
|
1162
|
-
self.push_str("#[derive(wasmtime::component::Lower)]\n");
|
1163
|
-
self.push_str("#[component(record)]\n");
|
1164
|
-
|
1165
|
-
if info.is_copy() {
|
1166
|
-
self.push_str("#[derive(Copy, Clone)]\n");
|
1167
|
-
} else if info.is_clone() {
|
1168
|
-
self.push_str("#[derive(Clone)]\n");
|
1169
|
-
}
|
1170
|
-
self.push_str(&format!("pub struct {}", name));
|
1171
|
-
self.print_generics(lt);
|
1172
|
-
self.push_str(" {\n");
|
1173
|
-
for field in record.fields.iter() {
|
1174
|
-
self.rustdoc(&field.docs);
|
1175
|
-
self.push_str(&format!("#[component(name = \"{}\")]\n", field.name));
|
1176
|
-
self.push_str("pub ");
|
1177
|
-
self.push_str(&to_rust_ident(&field.name));
|
1178
|
-
self.push_str(": ");
|
1179
|
-
self.print_ty(&field.ty, mode);
|
1180
|
-
self.push_str(",\n");
|
1181
|
-
}
|
1182
|
-
self.push_str("}\n");
|
1183
|
-
|
1184
|
-
self.push_str("impl");
|
1185
|
-
self.print_generics(lt);
|
1186
|
-
self.push_str(" core::fmt::Debug for ");
|
1187
|
-
self.push_str(&name);
|
1188
|
-
self.print_generics(lt);
|
1189
|
-
self.push_str(" {\n");
|
1190
|
-
self.push_str(
|
1191
|
-
"fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1192
|
-
);
|
1193
|
-
self.push_str(&format!("f.debug_struct(\"{}\")", name));
|
1194
|
-
for field in record.fields.iter() {
|
1195
|
-
self.push_str(&format!(
|
1196
|
-
".field(\"{}\", &self.{})",
|
1197
|
-
field.name,
|
1198
|
-
to_rust_ident(&field.name)
|
1199
|
-
));
|
1200
|
-
}
|
1201
|
-
self.push_str(".finish()\n");
|
1202
|
-
self.push_str("}\n");
|
1203
|
-
self.push_str("}\n");
|
1204
|
-
|
1205
|
-
if info.error {
|
1206
|
-
self.push_str("impl");
|
1207
|
-
self.print_generics(lt);
|
1208
|
-
self.push_str(" core::fmt::Display for ");
|
1209
|
-
self.push_str(&name);
|
1210
|
-
self.print_generics(lt);
|
1211
|
-
self.push_str(" {\n");
|
1212
|
-
self.push_str(
|
1213
|
-
"fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1214
|
-
);
|
1215
|
-
self.push_str("write!(f, \"{:?}\", self)\n");
|
1216
|
-
self.push_str("}\n");
|
1217
|
-
self.push_str("}\n");
|
1218
|
-
self.push_str("impl std::error::Error for ");
|
1219
|
-
self.push_str(&name);
|
1220
|
-
self.push_str("{}\n");
|
1221
|
-
}
|
1222
|
-
self.assert_type(id, &name);
|
1223
|
-
}
|
1224
|
-
}
|
1225
|
-
|
1226
|
-
fn type_tuple(&mut self, id: TypeId, _name: &str, tuple: &Tuple, docs: &Docs) {
|
1227
|
-
let info = self.info(id);
|
1228
|
-
for (name, mode) in self.modes_of(id) {
|
1229
|
-
let lt = self.lifetime_for(&info, mode);
|
1230
|
-
self.rustdoc(docs);
|
1231
|
-
self.push_str(&format!("pub type {}", name));
|
1232
|
-
self.print_generics(lt);
|
1233
|
-
self.push_str(" = (");
|
1234
|
-
for ty in tuple.types.iter() {
|
1235
|
-
self.print_ty(ty, mode);
|
1236
|
-
self.push_str(",");
|
1237
|
-
}
|
1238
|
-
self.push_str(");\n");
|
1239
|
-
self.assert_type(id, &name);
|
1240
|
-
}
|
1241
|
-
}
|
1242
|
-
|
1243
|
-
fn type_flags(&mut self, id: TypeId, name: &str, flags: &Flags, docs: &Docs) {
|
1244
|
-
self.rustdoc(docs);
|
1245
|
-
let rust_name = to_rust_upper_camel_case(name);
|
1246
|
-
self.src.push_str("wasmtime::component::flags!(\n");
|
1247
|
-
self.src.push_str(&format!("{rust_name} {{\n"));
|
1248
|
-
for flag in flags.flags.iter() {
|
1249
|
-
// TODO wasmtime-component-macro doesnt support docs for flags rn
|
1250
|
-
uwrite!(
|
1251
|
-
self.src,
|
1252
|
-
"#[component(name=\"{}\")] const {};\n",
|
1253
|
-
flag.name,
|
1254
|
-
flag.name.to_shouty_snake_case()
|
1255
|
-
);
|
1256
|
-
}
|
1257
|
-
self.src.push_str("}\n");
|
1258
|
-
self.src.push_str(");\n\n");
|
1259
|
-
self.assert_type(id, &rust_name);
|
1260
|
-
}
|
1261
|
-
|
1262
|
-
fn type_variant(&mut self, id: TypeId, _name: &str, variant: &Variant, docs: &Docs) {
|
1263
|
-
self.print_rust_enum(
|
1264
|
-
id,
|
1265
|
-
variant.cases.iter().map(|c| {
|
1266
|
-
(
|
1267
|
-
c.name.to_upper_camel_case(),
|
1268
|
-
Some(c.name.clone()),
|
1269
|
-
&c.docs,
|
1270
|
-
c.ty.as_ref(),
|
1271
|
-
)
|
1272
|
-
}),
|
1273
|
-
docs,
|
1274
|
-
"variant",
|
1275
|
-
);
|
1276
|
-
}
|
1277
|
-
|
1278
|
-
fn type_option(&mut self, id: TypeId, _name: &str, payload: &Type, docs: &Docs) {
|
1279
|
-
let info = self.info(id);
|
1280
|
-
|
1281
|
-
for (name, mode) in self.modes_of(id) {
|
1282
|
-
self.rustdoc(docs);
|
1283
|
-
let lt = self.lifetime_for(&info, mode);
|
1284
|
-
self.push_str(&format!("pub type {}", name));
|
1285
|
-
self.print_generics(lt);
|
1286
|
-
self.push_str("= Option<");
|
1287
|
-
self.print_ty(payload, mode);
|
1288
|
-
self.push_str(">;\n");
|
1289
|
-
self.assert_type(id, &name);
|
1290
|
-
}
|
1291
|
-
}
|
1292
|
-
|
1293
|
-
// Emit a double-check that the wit-parser-understood size of a type agrees
|
1294
|
-
// with the Wasmtime-understood size of a type.
|
1295
|
-
fn assert_type(&mut self, id: TypeId, name: &str) {
|
1296
|
-
self.push_str("const _: () = {\n");
|
1297
|
-
uwriteln!(
|
1298
|
-
self.src,
|
1299
|
-
"assert!({} == <{name} as wasmtime::component::ComponentType>::SIZE32);",
|
1300
|
-
self.gen.sizes.size(&Type::Id(id)),
|
1301
|
-
);
|
1302
|
-
uwriteln!(
|
1303
|
-
self.src,
|
1304
|
-
"assert!({} == <{name} as wasmtime::component::ComponentType>::ALIGN32);",
|
1305
|
-
self.gen.sizes.align(&Type::Id(id)),
|
1306
|
-
);
|
1307
|
-
self.push_str("};\n");
|
1308
|
-
}
|
1309
|
-
|
1310
|
-
fn print_rust_enum<'b>(
|
1311
|
-
&mut self,
|
1312
|
-
id: TypeId,
|
1313
|
-
cases: impl IntoIterator<Item = (String, Option<String>, &'b Docs, Option<&'b Type>)> + Clone,
|
1314
|
-
docs: &Docs,
|
1315
|
-
derive_component: &str,
|
1316
|
-
) where
|
1317
|
-
Self: Sized,
|
1318
|
-
{
|
1319
|
-
let info = self.info(id);
|
1320
|
-
|
1321
|
-
for (name, mode) in self.modes_of(id) {
|
1322
|
-
let name = to_rust_upper_camel_case(&name);
|
1323
|
-
|
1324
|
-
self.rustdoc(docs);
|
1325
|
-
let lt = self.lifetime_for(&info, mode);
|
1326
|
-
self.push_str("#[derive(wasmtime::component::ComponentType)]\n");
|
1327
|
-
if lt.is_none() {
|
1328
|
-
self.push_str("#[derive(wasmtime::component::Lift)]\n");
|
1329
|
-
}
|
1330
|
-
self.push_str("#[derive(wasmtime::component::Lower)]\n");
|
1331
|
-
self.push_str(&format!("#[component({})]\n", derive_component));
|
1332
|
-
if info.is_copy() {
|
1333
|
-
self.push_str("#[derive(Copy, Clone)]\n");
|
1334
|
-
} else if info.is_clone() {
|
1335
|
-
self.push_str("#[derive(Clone)]\n");
|
1336
|
-
}
|
1337
|
-
self.push_str(&format!("pub enum {name}"));
|
1338
|
-
self.print_generics(lt);
|
1339
|
-
self.push_str("{\n");
|
1340
|
-
for (case_name, component_name, docs, payload) in cases.clone() {
|
1341
|
-
self.rustdoc(docs);
|
1342
|
-
if let Some(n) = component_name {
|
1343
|
-
self.push_str(&format!("#[component(name = \"{}\")] ", n));
|
1344
|
-
}
|
1345
|
-
self.push_str(&case_name);
|
1346
|
-
if let Some(ty) = payload {
|
1347
|
-
self.push_str("(");
|
1348
|
-
self.print_ty(ty, mode);
|
1349
|
-
self.push_str(")")
|
1350
|
-
}
|
1351
|
-
self.push_str(",\n");
|
1352
|
-
}
|
1353
|
-
self.push_str("}\n");
|
1354
|
-
|
1355
|
-
self.print_rust_enum_debug(
|
1356
|
-
id,
|
1357
|
-
mode,
|
1358
|
-
&name,
|
1359
|
-
cases
|
1360
|
-
.clone()
|
1361
|
-
.into_iter()
|
1362
|
-
.map(|(name, _attr, _docs, ty)| (name, ty)),
|
1363
|
-
);
|
1364
|
-
|
1365
|
-
if info.error {
|
1366
|
-
self.push_str("impl");
|
1367
|
-
self.print_generics(lt);
|
1368
|
-
self.push_str(" core::fmt::Display for ");
|
1369
|
-
self.push_str(&name);
|
1370
|
-
self.print_generics(lt);
|
1371
|
-
self.push_str(" {\n");
|
1372
|
-
self.push_str(
|
1373
|
-
"fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1374
|
-
);
|
1375
|
-
self.push_str("write!(f, \"{:?}\", self)");
|
1376
|
-
self.push_str("}\n");
|
1377
|
-
self.push_str("}\n");
|
1378
|
-
self.push_str("\n");
|
1379
|
-
|
1380
|
-
self.push_str("impl");
|
1381
|
-
self.print_generics(lt);
|
1382
|
-
self.push_str(" std::error::Error for ");
|
1383
|
-
self.push_str(&name);
|
1384
|
-
self.print_generics(lt);
|
1385
|
-
self.push_str(" {}\n");
|
1386
|
-
}
|
1387
|
-
|
1388
|
-
self.assert_type(id, &name);
|
1389
|
-
}
|
1390
|
-
}
|
1391
|
-
|
1392
|
-
fn print_rust_enum_debug<'b>(
|
1393
|
-
&mut self,
|
1394
|
-
id: TypeId,
|
1395
|
-
mode: TypeMode,
|
1396
|
-
name: &str,
|
1397
|
-
cases: impl IntoIterator<Item = (String, Option<&'b Type>)>,
|
1398
|
-
) where
|
1399
|
-
Self: Sized,
|
1400
|
-
{
|
1401
|
-
let info = self.info(id);
|
1402
|
-
let lt = self.lifetime_for(&info, mode);
|
1403
|
-
self.push_str("impl");
|
1404
|
-
self.print_generics(lt);
|
1405
|
-
self.push_str(" core::fmt::Debug for ");
|
1406
|
-
self.push_str(name);
|
1407
|
-
self.print_generics(lt);
|
1408
|
-
self.push_str(" {\n");
|
1409
|
-
self.push_str("fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n");
|
1410
|
-
self.push_str("match self {\n");
|
1411
|
-
for (case_name, payload) in cases {
|
1412
|
-
self.push_str(name);
|
1413
|
-
self.push_str("::");
|
1414
|
-
self.push_str(&case_name);
|
1415
|
-
if payload.is_some() {
|
1416
|
-
self.push_str("(e)");
|
1417
|
-
}
|
1418
|
-
self.push_str(" => {\n");
|
1419
|
-
self.push_str(&format!("f.debug_tuple(\"{}::{}\")", name, case_name));
|
1420
|
-
if payload.is_some() {
|
1421
|
-
self.push_str(".field(e)");
|
1422
|
-
}
|
1423
|
-
self.push_str(".finish()\n");
|
1424
|
-
self.push_str("}\n");
|
1425
|
-
}
|
1426
|
-
self.push_str("}\n");
|
1427
|
-
self.push_str("}\n");
|
1428
|
-
self.push_str("}\n");
|
1429
|
-
}
|
1430
|
-
|
1431
|
-
fn type_result(&mut self, id: TypeId, _name: &str, result: &Result_, docs: &Docs) {
|
1432
|
-
let info = self.info(id);
|
1433
|
-
|
1434
|
-
for (name, mode) in self.modes_of(id) {
|
1435
|
-
self.rustdoc(docs);
|
1436
|
-
let lt = self.lifetime_for(&info, mode);
|
1437
|
-
self.push_str(&format!("pub type {}", name));
|
1438
|
-
self.print_generics(lt);
|
1439
|
-
self.push_str("= Result<");
|
1440
|
-
self.print_optional_ty(result.ok.as_ref(), mode);
|
1441
|
-
self.push_str(",");
|
1442
|
-
self.print_optional_ty(result.err.as_ref(), mode);
|
1443
|
-
self.push_str(">;\n");
|
1444
|
-
self.assert_type(id, &name);
|
1445
|
-
}
|
1446
|
-
}
|
1447
|
-
|
1448
|
-
fn type_enum(&mut self, id: TypeId, name: &str, enum_: &Enum, docs: &Docs) {
|
1449
|
-
let info = self.info(id);
|
1450
|
-
|
1451
|
-
let name = to_rust_upper_camel_case(name);
|
1452
|
-
self.rustdoc(docs);
|
1453
|
-
self.push_str("#[derive(wasmtime::component::ComponentType)]\n");
|
1454
|
-
self.push_str("#[derive(wasmtime::component::Lift)]\n");
|
1455
|
-
self.push_str("#[derive(wasmtime::component::Lower)]\n");
|
1456
|
-
self.push_str("#[component(enum)]\n");
|
1457
|
-
self.push_str("#[derive(Clone, Copy, PartialEq, Eq)]\n");
|
1458
|
-
self.push_str(&format!("pub enum {} {{\n", name));
|
1459
|
-
for case in enum_.cases.iter() {
|
1460
|
-
self.rustdoc(&case.docs);
|
1461
|
-
self.push_str(&format!("#[component(name = \"{}\")]", case.name));
|
1462
|
-
self.push_str(&case.name.to_upper_camel_case());
|
1463
|
-
self.push_str(",\n");
|
1464
|
-
}
|
1465
|
-
self.push_str("}\n");
|
1466
|
-
|
1467
|
-
// Auto-synthesize an implementation of the standard `Error` trait for
|
1468
|
-
// error-looking types based on their name.
|
1469
|
-
if info.error {
|
1470
|
-
self.push_str("impl ");
|
1471
|
-
self.push_str(&name);
|
1472
|
-
self.push_str("{\n");
|
1473
|
-
|
1474
|
-
self.push_str("pub fn name(&self) -> &'static str {\n");
|
1475
|
-
self.push_str("match self {\n");
|
1476
|
-
for case in enum_.cases.iter() {
|
1477
|
-
self.push_str(&name);
|
1478
|
-
self.push_str("::");
|
1479
|
-
self.push_str(&case.name.to_upper_camel_case());
|
1480
|
-
self.push_str(" => \"");
|
1481
|
-
self.push_str(case.name.as_str());
|
1482
|
-
self.push_str("\",\n");
|
1483
|
-
}
|
1484
|
-
self.push_str("}\n");
|
1485
|
-
self.push_str("}\n");
|
1486
|
-
|
1487
|
-
self.push_str("pub fn message(&self) -> &'static str {\n");
|
1488
|
-
self.push_str("match self {\n");
|
1489
|
-
for case in enum_.cases.iter() {
|
1490
|
-
self.push_str(&name);
|
1491
|
-
self.push_str("::");
|
1492
|
-
self.push_str(&case.name.to_upper_camel_case());
|
1493
|
-
self.push_str(" => \"");
|
1494
|
-
if let Some(contents) = &case.docs.contents {
|
1495
|
-
self.push_str(contents.trim());
|
1496
|
-
}
|
1497
|
-
self.push_str("\",\n");
|
1498
|
-
}
|
1499
|
-
self.push_str("}\n");
|
1500
|
-
self.push_str("}\n");
|
1501
|
-
|
1502
|
-
self.push_str("}\n");
|
1503
|
-
|
1504
|
-
self.push_str("impl core::fmt::Debug for ");
|
1505
|
-
self.push_str(&name);
|
1506
|
-
self.push_str(
|
1507
|
-
"{\nfn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1508
|
-
);
|
1509
|
-
self.push_str("f.debug_struct(\"");
|
1510
|
-
self.push_str(&name);
|
1511
|
-
self.push_str("\")\n");
|
1512
|
-
self.push_str(".field(\"code\", &(*self as i32))\n");
|
1513
|
-
self.push_str(".field(\"name\", &self.name())\n");
|
1514
|
-
self.push_str(".field(\"message\", &self.message())\n");
|
1515
|
-
self.push_str(".finish()\n");
|
1516
|
-
self.push_str("}\n");
|
1517
|
-
self.push_str("}\n");
|
1518
|
-
|
1519
|
-
self.push_str("impl core::fmt::Display for ");
|
1520
|
-
self.push_str(&name);
|
1521
|
-
self.push_str(
|
1522
|
-
"{\nfn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n",
|
1523
|
-
);
|
1524
|
-
self.push_str("write!(f, \"{} (error {})\", self.name(), *self as i32)");
|
1525
|
-
self.push_str("}\n");
|
1526
|
-
self.push_str("}\n");
|
1527
|
-
self.push_str("\n");
|
1528
|
-
self.push_str("impl std::error::Error for ");
|
1529
|
-
self.push_str(&name);
|
1530
|
-
self.push_str("{}\n");
|
1531
|
-
} else {
|
1532
|
-
self.print_rust_enum_debug(
|
1533
|
-
id,
|
1534
|
-
TypeMode::Owned,
|
1535
|
-
&name,
|
1536
|
-
enum_
|
1537
|
-
.cases
|
1538
|
-
.iter()
|
1539
|
-
.map(|c| (c.name.to_upper_camel_case(), None)),
|
1540
|
-
)
|
1541
|
-
}
|
1542
|
-
self.assert_type(id, &name);
|
1543
|
-
}
|
1544
|
-
|
1545
|
-
fn type_alias(&mut self, id: TypeId, _name: &str, ty: &Type, docs: &Docs) {
|
1546
|
-
let info = self.info(id);
|
1547
|
-
for (name, mode) in self.modes_of(id) {
|
1548
|
-
self.rustdoc(docs);
|
1549
|
-
self.push_str(&format!("pub type {}", name));
|
1550
|
-
let lt = self.lifetime_for(&info, mode);
|
1551
|
-
self.print_generics(lt);
|
1552
|
-
self.push_str(" = ");
|
1553
|
-
self.print_ty(ty, mode);
|
1554
|
-
self.push_str(";\n");
|
1555
|
-
let def_id = resolve_type_definition_id(self.resolve, id);
|
1556
|
-
if !matches!(self.resolve().types[def_id].kind, TypeDefKind::Resource) {
|
1557
|
-
self.assert_type(id, &name);
|
1558
|
-
}
|
1559
|
-
}
|
1560
|
-
}
|
1561
|
-
|
1562
|
-
fn type_list(&mut self, id: TypeId, _name: &str, ty: &Type, docs: &Docs) {
|
1563
|
-
let info = self.info(id);
|
1564
|
-
for (name, mode) in self.modes_of(id) {
|
1565
|
-
let lt = self.lifetime_for(&info, mode);
|
1566
|
-
self.rustdoc(docs);
|
1567
|
-
self.push_str(&format!("pub type {}", name));
|
1568
|
-
self.print_generics(lt);
|
1569
|
-
self.push_str(" = ");
|
1570
|
-
self.print_list(ty, mode);
|
1571
|
-
self.push_str(";\n");
|
1572
|
-
self.assert_type(id, &name);
|
1573
|
-
}
|
1574
|
-
}
|
1575
|
-
|
1576
|
-
fn print_result_ty(&mut self, results: &Results, mode: TypeMode) {
|
1577
|
-
match results {
|
1578
|
-
Results::Named(rs) => match rs.len() {
|
1579
|
-
0 => self.push_str("()"),
|
1580
|
-
1 => self.print_ty(&rs[0].1, mode),
|
1581
|
-
_ => {
|
1582
|
-
self.push_str("(");
|
1583
|
-
for (i, (_, ty)) in rs.iter().enumerate() {
|
1584
|
-
if i > 0 {
|
1585
|
-
self.push_str(", ")
|
1586
|
-
}
|
1587
|
-
self.print_ty(ty, mode)
|
1588
|
-
}
|
1589
|
-
self.push_str(")");
|
1590
|
-
}
|
1591
|
-
},
|
1592
|
-
Results::Anon(ty) => self.print_ty(ty, mode),
|
1593
|
-
}
|
1594
|
-
}
|
1595
|
-
|
1596
|
-
fn special_case_trappable_error(
|
1597
|
-
&self,
|
1598
|
-
results: &Results,
|
1599
|
-
) -> Option<(&'a Result_, TypeId, String)> {
|
1600
|
-
// We fillin a special trappable error type in the case when a function has just one
|
1601
|
-
// result, which is itself a `result<a, e>`, and the `e` is *not* a primitive
|
1602
|
-
// (i.e. defined in std) type, and matches the typename given by the user.
|
1603
|
-
let mut i = results.iter_types();
|
1604
|
-
let id = match i.next()? {
|
1605
|
-
Type::Id(id) => id,
|
1606
|
-
_ => return None,
|
1607
|
-
};
|
1608
|
-
if i.next().is_some() {
|
1609
|
-
return None;
|
1610
|
-
}
|
1611
|
-
let result = match &self.resolve.types[*id].kind {
|
1612
|
-
TypeDefKind::Result(r) => r,
|
1613
|
-
_ => return None,
|
1614
|
-
};
|
1615
|
-
let error_typeid = match result.err? {
|
1616
|
-
Type::Id(id) => resolve_type_definition_id(&self.resolve, id),
|
1617
|
-
_ => return None,
|
1618
|
-
};
|
1619
|
-
|
1620
|
-
let name = self.gen.trappable_errors.get(&error_typeid)?;
|
1621
|
-
|
1622
|
-
let mut path = self.path_to_root();
|
1623
|
-
uwrite!(path, "{name}");
|
1624
|
-
Some((result, error_typeid, path))
|
1625
|
-
}
|
1626
|
-
|
1627
|
-
fn generate_add_to_linker(&mut self, id: InterfaceId, name: &str) {
|
1628
|
-
let iface = &self.resolve.interfaces[id];
|
1629
|
-
let owner = TypeOwner::Interface(id);
|
1630
|
-
|
1631
|
-
if self.gen.opts.async_.maybe_async() {
|
1632
|
-
uwriteln!(self.src, "#[wasmtime::component::__internal::async_trait]")
|
1633
|
-
}
|
1634
|
-
// Generate the `pub trait` which represents the host functionality for
|
1635
|
-
// this import which additionally inherits from all resource traits
|
1636
|
-
// for this interface defined by `type_resource`.
|
1637
|
-
uwrite!(self.src, "pub trait Host");
|
1638
|
-
for (i, resource) in get_resources(self.resolve, id).enumerate() {
|
1639
|
-
if i == 0 {
|
1640
|
-
uwrite!(self.src, ": ");
|
1641
|
-
} else {
|
1642
|
-
uwrite!(self.src, " + ");
|
1643
|
-
}
|
1644
|
-
uwrite!(self.src, "Host{}", resource.to_upper_camel_case());
|
1645
|
-
}
|
1646
|
-
uwriteln!(self.src, " {{");
|
1647
|
-
for (_, func) in iface.functions.iter() {
|
1648
|
-
match func.kind {
|
1649
|
-
FunctionKind::Freestanding => {}
|
1650
|
-
_ => continue,
|
1651
|
-
}
|
1652
|
-
self.generate_function_trait_sig(func);
|
1653
|
-
}
|
1654
|
-
|
1655
|
-
// Generate `convert_*` functions to convert custom trappable errors
|
1656
|
-
// into the representation required by Wasmtime's component API.
|
1657
|
-
let mut required_conversion_traits = IndexSet::new();
|
1658
|
-
let mut errors_converted = IndexSet::new();
|
1659
|
-
let my_error_types = iface
|
1660
|
-
.types
|
1661
|
-
.iter()
|
1662
|
-
.filter(|(_, id)| self.gen.trappable_errors.contains_key(*id))
|
1663
|
-
.map(|(_, id)| *id);
|
1664
|
-
let used_error_types = iface
|
1665
|
-
.functions
|
1666
|
-
.iter()
|
1667
|
-
.filter_map(|(_, func)| self.special_case_trappable_error(&func.results))
|
1668
|
-
.map(|(_, id, _)| id);
|
1669
|
-
for err in my_error_types.chain(used_error_types).collect::<Vec<_>>() {
|
1670
|
-
let custom_name = &self.gen.trappable_errors[&err];
|
1671
|
-
let err = &self.resolve.types[resolve_type_definition_id(self.resolve, err)];
|
1672
|
-
let err_name = err.name.as_ref().unwrap();
|
1673
|
-
let err_snake = err_name.to_snake_case();
|
1674
|
-
let err_camel = err_name.to_upper_camel_case();
|
1675
|
-
let owner = match err.owner {
|
1676
|
-
TypeOwner::Interface(i) => i,
|
1677
|
-
_ => unimplemented!(),
|
1678
|
-
};
|
1679
|
-
match self.path_to_interface(owner) {
|
1680
|
-
Some(path) => {
|
1681
|
-
required_conversion_traits.insert(format!("{path}::Host"));
|
1682
|
-
}
|
1683
|
-
None => {
|
1684
|
-
if errors_converted.insert(err_name) {
|
1685
|
-
let root = self.path_to_root();
|
1686
|
-
uwriteln!(
|
1687
|
-
self.src,
|
1688
|
-
"fn convert_{err_snake}(&mut self, err: {root}{custom_name}) -> wasmtime::Result<{err_camel}>;"
|
1689
|
-
);
|
1690
|
-
}
|
1691
|
-
}
|
1692
|
-
}
|
1693
|
-
}
|
1694
|
-
uwriteln!(self.src, "}}");
|
1695
|
-
|
1696
|
-
let mut where_clause = if self.gen.opts.async_.maybe_async() {
|
1697
|
-
"T: Send, U: Host + Send".to_string()
|
1698
|
-
} else {
|
1699
|
-
"U: Host".to_string()
|
1700
|
-
};
|
1701
|
-
|
1702
|
-
for t in required_conversion_traits {
|
1703
|
-
where_clause.push_str(" + ");
|
1704
|
-
where_clause.push_str(&t);
|
1705
|
-
}
|
1706
|
-
|
1707
|
-
uwriteln!(
|
1708
|
-
self.src,
|
1709
|
-
"
|
1710
|
-
pub fn add_to_linker<T, U>(
|
1711
|
-
linker: &mut wasmtime::component::Linker<T>,
|
1712
|
-
get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
|
1713
|
-
) -> wasmtime::Result<()>
|
1714
|
-
where {where_clause}
|
1715
|
-
{{
|
1716
|
-
"
|
1717
|
-
);
|
1718
|
-
uwriteln!(self.src, "let mut inst = linker.instance(\"{name}\")?;");
|
1719
|
-
|
1720
|
-
for name in get_resources(self.resolve, id) {
|
1721
|
-
let camel = name.to_upper_camel_case();
|
1722
|
-
uwriteln!(
|
1723
|
-
self.src,
|
1724
|
-
"inst.resource(
|
1725
|
-
\"{name}\",
|
1726
|
-
wasmtime::component::ResourceType::host::<{camel}>(),
|
1727
|
-
move |mut store, rep| -> wasmtime::Result<()> {{
|
1728
|
-
Host{camel}::drop(get(store.data_mut()), wasmtime::component::Resource::new_own(rep))
|
1729
|
-
}},
|
1730
|
-
)?;"
|
1731
|
-
)
|
1732
|
-
}
|
1733
|
-
|
1734
|
-
for (_, func) in iface.functions.iter() {
|
1735
|
-
self.generate_add_function_to_linker(owner, func, "inst");
|
1736
|
-
}
|
1737
|
-
uwriteln!(self.src, "Ok(())");
|
1738
|
-
uwriteln!(self.src, "}}");
|
1739
|
-
}
|
1740
|
-
|
1741
|
-
fn generate_add_function_to_linker(&mut self, owner: TypeOwner, func: &Function, linker: &str) {
|
1742
|
-
uwrite!(
|
1743
|
-
self.src,
|
1744
|
-
"{linker}.{}(\"{}\", ",
|
1745
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
1746
|
-
"func_wrap_async"
|
1747
|
-
} else {
|
1748
|
-
"func_wrap"
|
1749
|
-
},
|
1750
|
-
func.name
|
1751
|
-
);
|
1752
|
-
self.generate_guest_import_closure(owner, func);
|
1753
|
-
uwriteln!(self.src, ")?;")
|
1754
|
-
}
|
1755
|
-
|
1756
|
-
fn generate_guest_import_closure(&mut self, owner: TypeOwner, func: &Function) {
|
1757
|
-
// Generate the closure that's passed to a `Linker`, the final piece of
|
1758
|
-
// codegen here.
|
1759
|
-
|
1760
|
-
self.src
|
1761
|
-
.push_str("move |mut caller: wasmtime::StoreContextMut<'_, T>, (");
|
1762
|
-
for (i, _param) in func.params.iter().enumerate() {
|
1763
|
-
uwrite!(self.src, "arg{},", i);
|
1764
|
-
}
|
1765
|
-
self.src.push_str(") : (");
|
1766
|
-
|
1767
|
-
for (_, ty) in func.params.iter() {
|
1768
|
-
// Lift is required to be impled for this type, so we can't use
|
1769
|
-
// a borrowed type:
|
1770
|
-
self.print_ty(ty, TypeMode::Owned);
|
1771
|
-
self.src.push_str(", ");
|
1772
|
-
}
|
1773
|
-
self.src.push_str(") |");
|
1774
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
1775
|
-
self.src.push_str(" Box::new(async move { \n");
|
1776
|
-
} else {
|
1777
|
-
self.src.push_str(" { \n");
|
1778
|
-
}
|
1779
|
-
|
1780
|
-
if self.gen.opts.tracing {
|
1781
|
-
uwrite!(
|
1782
|
-
self.src,
|
1783
|
-
"
|
1784
|
-
let span = tracing::span!(
|
1785
|
-
tracing::Level::TRACE,
|
1786
|
-
\"wit-bindgen import\",
|
1787
|
-
module = \"{}\",
|
1788
|
-
function = \"{}\",
|
1789
|
-
);
|
1790
|
-
let _enter = span.enter();
|
1791
|
-
",
|
1792
|
-
match owner {
|
1793
|
-
TypeOwner::Interface(id) => self.resolve.interfaces[id]
|
1794
|
-
.name
|
1795
|
-
.as_deref()
|
1796
|
-
.unwrap_or("<no module>"),
|
1797
|
-
TypeOwner::World(id) => &self.resolve.worlds[id].name,
|
1798
|
-
TypeOwner::None => "<no owner>",
|
1799
|
-
},
|
1800
|
-
func.name,
|
1801
|
-
);
|
1802
|
-
let mut event_fields = func
|
1803
|
-
.params
|
1804
|
-
.iter()
|
1805
|
-
.enumerate()
|
1806
|
-
.map(|(i, (name, _ty))| {
|
1807
|
-
let name = to_rust_ident(&name);
|
1808
|
-
format!("{name} = tracing::field::debug(&arg{i})")
|
1809
|
-
})
|
1810
|
-
.collect::<Vec<String>>();
|
1811
|
-
event_fields.push(format!("\"call\""));
|
1812
|
-
uwrite!(
|
1813
|
-
self.src,
|
1814
|
-
"tracing::event!(tracing::Level::TRACE, {});\n",
|
1815
|
-
event_fields.join(", ")
|
1816
|
-
);
|
1817
|
-
}
|
1818
|
-
|
1819
|
-
self.src.push_str("let host = get(caller.data_mut());\n");
|
1820
|
-
let func_name = rust_function_name(func);
|
1821
|
-
let host_trait = match func.kind {
|
1822
|
-
FunctionKind::Freestanding => match owner {
|
1823
|
-
TypeOwner::World(id) => format!(
|
1824
|
-
"{}Imports",
|
1825
|
-
self.resolve.worlds[id].name.to_upper_camel_case()
|
1826
|
-
),
|
1827
|
-
_ => "Host".to_string(),
|
1828
|
-
},
|
1829
|
-
FunctionKind::Method(id) | FunctionKind::Static(id) | FunctionKind::Constructor(id) => {
|
1830
|
-
let resource = self.resolve.types[id]
|
1831
|
-
.name
|
1832
|
-
.as_ref()
|
1833
|
-
.unwrap()
|
1834
|
-
.to_upper_camel_case();
|
1835
|
-
format!("Host{resource}")
|
1836
|
-
}
|
1837
|
-
};
|
1838
|
-
uwrite!(self.src, "let r = {host_trait}::{func_name}(host, ");
|
1839
|
-
|
1840
|
-
for (i, _) in func.params.iter().enumerate() {
|
1841
|
-
uwrite!(self.src, "arg{},", i);
|
1842
|
-
}
|
1843
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
1844
|
-
uwrite!(self.src, ").await;\n");
|
1845
|
-
} else {
|
1846
|
-
uwrite!(self.src, ");\n");
|
1847
|
-
}
|
1848
|
-
|
1849
|
-
if self.gen.opts.tracing {
|
1850
|
-
uwrite!(
|
1851
|
-
self.src,
|
1852
|
-
"tracing::event!(tracing::Level::TRACE, result = tracing::field::debug(&r), \"return\");"
|
1853
|
-
);
|
1854
|
-
}
|
1855
|
-
|
1856
|
-
if let Some((_, err, _)) = self.special_case_trappable_error(&func.results) {
|
1857
|
-
let err = &self.resolve.types[resolve_type_definition_id(self.resolve, err)];
|
1858
|
-
let err_name = err.name.as_ref().unwrap();
|
1859
|
-
let owner = match err.owner {
|
1860
|
-
TypeOwner::Interface(i) => i,
|
1861
|
-
_ => unimplemented!(),
|
1862
|
-
};
|
1863
|
-
let convert_trait = match self.path_to_interface(owner) {
|
1864
|
-
Some(path) => format!("{path}::Host"),
|
1865
|
-
None => format!("Host"),
|
1866
|
-
};
|
1867
|
-
let convert = format!("{}::convert_{}", convert_trait, err_name.to_snake_case());
|
1868
|
-
uwrite!(
|
1869
|
-
self.src,
|
1870
|
-
"Ok((match r {{
|
1871
|
-
Ok(a) => Ok(a),
|
1872
|
-
Err(e) => Err({convert}(host, e)?),
|
1873
|
-
}},))"
|
1874
|
-
);
|
1875
|
-
} else if func.results.iter_types().len() == 1 {
|
1876
|
-
uwrite!(self.src, "Ok((r?,))\n");
|
1877
|
-
} else {
|
1878
|
-
uwrite!(self.src, "r\n");
|
1879
|
-
}
|
1880
|
-
|
1881
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
1882
|
-
// Need to close Box::new and async block
|
1883
|
-
self.src.push_str("})");
|
1884
|
-
} else {
|
1885
|
-
self.src.push_str("}");
|
1886
|
-
}
|
1887
|
-
}
|
1888
|
-
|
1889
|
-
fn generate_function_trait_sig(&mut self, func: &Function) {
|
1890
|
-
self.rustdoc(&func.docs);
|
1891
|
-
|
1892
|
-
if self.gen.opts.async_.is_import_async(&func.name) {
|
1893
|
-
self.push_str("async ");
|
1894
|
-
}
|
1895
|
-
self.push_str("fn ");
|
1896
|
-
self.push_str(&rust_function_name(func));
|
1897
|
-
self.push_str("(&mut self, ");
|
1898
|
-
for (name, param) in func.params.iter() {
|
1899
|
-
let name = to_rust_ident(name);
|
1900
|
-
self.push_str(&name);
|
1901
|
-
self.push_str(": ");
|
1902
|
-
self.print_ty(param, TypeMode::Owned);
|
1903
|
-
self.push_str(",");
|
1904
|
-
}
|
1905
|
-
self.push_str(")");
|
1906
|
-
self.push_str(" -> ");
|
1907
|
-
|
1908
|
-
if let Some((r, _id, error_typename)) = self.special_case_trappable_error(&func.results) {
|
1909
|
-
// Functions which have a single result `result<ok,err>` get special
|
1910
|
-
// cased to use the host_wasmtime_rust::Error<err>, making it possible
|
1911
|
-
// for them to trap or use `?` to propogate their errors
|
1912
|
-
self.push_str("Result<");
|
1913
|
-
if let Some(ok) = r.ok {
|
1914
|
-
self.print_ty(&ok, TypeMode::Owned);
|
1915
|
-
} else {
|
1916
|
-
self.push_str("()");
|
1917
|
-
}
|
1918
|
-
self.push_str(",");
|
1919
|
-
self.push_str(&error_typename);
|
1920
|
-
self.push_str(">");
|
1921
|
-
} else {
|
1922
|
-
// All other functions get their return values wrapped in an wasmtime::Result.
|
1923
|
-
// Returning the anyhow::Error case can be used to trap.
|
1924
|
-
self.push_str("wasmtime::Result<");
|
1925
|
-
self.print_result_ty(&func.results, TypeMode::Owned);
|
1926
|
-
self.push_str(">");
|
1927
|
-
}
|
1928
|
-
|
1929
|
-
self.push_str(";\n");
|
1930
|
-
}
|
1931
|
-
|
1932
|
-
fn extract_typed_function(&mut self, func: &Function) -> (String, String) {
|
1933
|
-
let prev = mem::take(&mut self.src);
|
1934
|
-
let snake = func_field_name(self.resolve, func);
|
1935
|
-
uwrite!(self.src, "*__exports.typed_func::<(");
|
1936
|
-
for (_, ty) in func.params.iter() {
|
1937
|
-
self.print_ty(ty, TypeMode::AllBorrowed("'_"));
|
1938
|
-
self.push_str(", ");
|
1939
|
-
}
|
1940
|
-
self.src.push_str("), (");
|
1941
|
-
for ty in func.results.iter_types() {
|
1942
|
-
self.print_ty(ty, TypeMode::Owned);
|
1943
|
-
self.push_str(", ");
|
1944
|
-
}
|
1945
|
-
self.src.push_str(")>(\"");
|
1946
|
-
self.src.push_str(&func.name);
|
1947
|
-
self.src.push_str("\")?.func()");
|
1948
|
-
|
1949
|
-
let ret = (snake, mem::take(&mut self.src).to_string());
|
1950
|
-
self.src = prev;
|
1951
|
-
ret
|
1952
|
-
}
|
1953
|
-
|
1954
|
-
fn define_rust_guest_export(
|
1955
|
-
&mut self,
|
1956
|
-
resolve: &Resolve,
|
1957
|
-
ns: Option<&WorldKey>,
|
1958
|
-
func: &Function,
|
1959
|
-
) {
|
1960
|
-
// Exports must be async if anything could be async, it's just imports
|
1961
|
-
// that get to be optionally async/sync.
|
1962
|
-
let is_async = self.gen.opts.async_.maybe_async();
|
1963
|
-
|
1964
|
-
let (async_, async__, await_) = if is_async {
|
1965
|
-
("async", "_async", ".await")
|
1966
|
-
} else {
|
1967
|
-
("", "", "")
|
1968
|
-
};
|
1969
|
-
|
1970
|
-
self.rustdoc(&func.docs);
|
1971
|
-
|
1972
|
-
uwrite!(
|
1973
|
-
self.src,
|
1974
|
-
"pub {async_} fn call_{}<S: wasmtime::AsContextMut>(&self, mut store: S, ",
|
1975
|
-
func.item_name().to_snake_case(),
|
1976
|
-
);
|
1977
|
-
|
1978
|
-
for (i, param) in func.params.iter().enumerate() {
|
1979
|
-
uwrite!(self.src, "arg{}: ", i);
|
1980
|
-
self.print_ty(¶m.1, TypeMode::AllBorrowed("'_"));
|
1981
|
-
self.push_str(",");
|
1982
|
-
}
|
1983
|
-
|
1984
|
-
self.src.push_str(") -> wasmtime::Result<");
|
1985
|
-
self.print_result_ty(&func.results, TypeMode::Owned);
|
1986
|
-
|
1987
|
-
if is_async {
|
1988
|
-
self.src
|
1989
|
-
.push_str("> where <S as wasmtime::AsContext>::Data: Send {\n");
|
1990
|
-
} else {
|
1991
|
-
self.src.push_str("> {\n");
|
1992
|
-
}
|
1993
|
-
|
1994
|
-
if self.gen.opts.tracing {
|
1995
|
-
let ns = match ns {
|
1996
|
-
Some(key) => resolve.name_world_key(key),
|
1997
|
-
None => "default".to_string(),
|
1998
|
-
};
|
1999
|
-
self.src.push_str(&format!(
|
2000
|
-
"
|
2001
|
-
let span = tracing::span!(
|
2002
|
-
tracing::Level::TRACE,
|
2003
|
-
\"wit-bindgen export\",
|
2004
|
-
module = \"{ns}\",
|
2005
|
-
function = \"{}\",
|
2006
|
-
);
|
2007
|
-
let _enter = span.enter();
|
2008
|
-
",
|
2009
|
-
func.name,
|
2010
|
-
));
|
2011
|
-
}
|
2012
|
-
|
2013
|
-
self.src.push_str("let callee = unsafe {\n");
|
2014
|
-
self.src.push_str("wasmtime::component::TypedFunc::<(");
|
2015
|
-
for (_, ty) in func.params.iter() {
|
2016
|
-
self.print_ty(ty, TypeMode::AllBorrowed("'_"));
|
2017
|
-
self.push_str(", ");
|
2018
|
-
}
|
2019
|
-
self.src.push_str("), (");
|
2020
|
-
for ty in func.results.iter_types() {
|
2021
|
-
self.print_ty(ty, TypeMode::Owned);
|
2022
|
-
self.push_str(", ");
|
2023
|
-
}
|
2024
|
-
let projection_to_func = match &func.kind {
|
2025
|
-
FunctionKind::Freestanding => "",
|
2026
|
-
_ => ".funcs",
|
2027
|
-
};
|
2028
|
-
uwriteln!(
|
2029
|
-
self.src,
|
2030
|
-
")>::new_unchecked(self{projection_to_func}.{})",
|
2031
|
-
func_field_name(self.resolve, func),
|
2032
|
-
);
|
2033
|
-
self.src.push_str("};\n");
|
2034
|
-
self.src.push_str("let (");
|
2035
|
-
for (i, _) in func.results.iter_types().enumerate() {
|
2036
|
-
uwrite!(self.src, "ret{},", i);
|
2037
|
-
}
|
2038
|
-
uwrite!(
|
2039
|
-
self.src,
|
2040
|
-
") = callee.call{async__}(store.as_context_mut(), ("
|
2041
|
-
);
|
2042
|
-
for (i, _) in func.params.iter().enumerate() {
|
2043
|
-
uwrite!(self.src, "arg{}, ", i);
|
2044
|
-
}
|
2045
|
-
uwriteln!(self.src, ")){await_}?;");
|
2046
|
-
|
2047
|
-
uwriteln!(
|
2048
|
-
self.src,
|
2049
|
-
"callee.post_return{async__}(store.as_context_mut()){await_}?;"
|
2050
|
-
);
|
2051
|
-
|
2052
|
-
self.src.push_str("Ok(");
|
2053
|
-
if func.results.iter_types().len() == 1 {
|
2054
|
-
self.src.push_str("ret0");
|
2055
|
-
} else {
|
2056
|
-
self.src.push_str("(");
|
2057
|
-
for (i, _) in func.results.iter_types().enumerate() {
|
2058
|
-
uwrite!(self.src, "ret{},", i);
|
2059
|
-
}
|
2060
|
-
self.src.push_str(")");
|
2061
|
-
}
|
2062
|
-
self.src.push_str(")\n");
|
2063
|
-
|
2064
|
-
// End function body
|
2065
|
-
self.src.push_str("}\n");
|
2066
|
-
}
|
2067
|
-
|
2068
|
-
fn rustdoc(&mut self, docs: &Docs) {
|
2069
|
-
let docs = match &docs.contents {
|
2070
|
-
Some(docs) => docs,
|
2071
|
-
None => return,
|
2072
|
-
};
|
2073
|
-
for line in docs.trim().lines() {
|
2074
|
-
self.push_str("/// ");
|
2075
|
-
self.push_str(line);
|
2076
|
-
self.push_str("\n");
|
2077
|
-
}
|
2078
|
-
}
|
2079
|
-
|
2080
|
-
fn path_to_root(&self) -> String {
|
2081
|
-
let mut path_to_root = String::new();
|
2082
|
-
if let Some((_, key, is_export)) = self.current_interface {
|
2083
|
-
match key {
|
2084
|
-
WorldKey::Name(_) => {
|
2085
|
-
path_to_root.push_str("super::");
|
2086
|
-
}
|
2087
|
-
WorldKey::Interface(_) => {
|
2088
|
-
path_to_root.push_str("super::super::super::");
|
2089
|
-
}
|
2090
|
-
}
|
2091
|
-
if is_export {
|
2092
|
-
path_to_root.push_str("super::");
|
2093
|
-
}
|
2094
|
-
}
|
2095
|
-
path_to_root
|
2096
|
-
}
|
2097
|
-
}
|
2098
|
-
|
2099
|
-
impl<'a> RustGenerator<'a> for InterfaceGenerator<'a> {
|
2100
|
-
fn resolve(&self) -> &'a Resolve {
|
2101
|
-
self.resolve
|
2102
|
-
}
|
2103
|
-
|
2104
|
-
fn ownership(&self) -> Ownership {
|
2105
|
-
self.gen.opts.ownership
|
2106
|
-
}
|
2107
|
-
|
2108
|
-
fn path_to_interface(&self, interface: InterfaceId) -> Option<String> {
|
2109
|
-
if let Some((cur, _, _)) = self.current_interface {
|
2110
|
-
if cur == interface {
|
2111
|
-
return None;
|
2112
|
-
}
|
2113
|
-
}
|
2114
|
-
let mut path_to_root = self.path_to_root();
|
2115
|
-
match &self.gen.interface_names[&interface] {
|
2116
|
-
InterfaceName::Remapped { name_at_root, .. } => path_to_root.push_str(name_at_root),
|
2117
|
-
InterfaceName::Path(path) => {
|
2118
|
-
for (i, name) in path.iter().enumerate() {
|
2119
|
-
if i > 0 {
|
2120
|
-
path_to_root.push_str("::");
|
2121
|
-
}
|
2122
|
-
path_to_root.push_str(name);
|
2123
|
-
}
|
2124
|
-
}
|
2125
|
-
}
|
2126
|
-
Some(path_to_root)
|
2127
|
-
}
|
2128
|
-
|
2129
|
-
fn push_str(&mut self, s: &str) {
|
2130
|
-
self.src.push_str(s);
|
2131
|
-
}
|
2132
|
-
|
2133
|
-
fn info(&self, ty: TypeId) -> TypeInfo {
|
2134
|
-
self.gen.types.get(ty)
|
2135
|
-
}
|
2136
|
-
|
2137
|
-
fn is_imported_interface(&self, interface: InterfaceId) -> bool {
|
2138
|
-
self.gen.interface_last_seen_as_import[&interface]
|
2139
|
-
}
|
2140
|
-
}
|
2141
|
-
|
2142
|
-
/// When an interface `use`s a type from another interface, it creates a new TypeId
|
2143
|
-
/// referring to the definition TypeId. Chase this chain of references down to
|
2144
|
-
/// a TypeId for type's definition.
|
2145
|
-
fn resolve_type_definition_id(resolve: &Resolve, mut id: TypeId) -> TypeId {
|
2146
|
-
loop {
|
2147
|
-
match resolve.types[id].kind {
|
2148
|
-
TypeDefKind::Type(Type::Id(def_id)) => id = def_id,
|
2149
|
-
_ => return id,
|
2150
|
-
}
|
2151
|
-
}
|
2152
|
-
}
|
2153
|
-
|
2154
|
-
fn rust_function_name(func: &Function) -> String {
|
2155
|
-
match func.kind {
|
2156
|
-
FunctionKind::Method(_) | FunctionKind::Static(_) => to_rust_ident(func.item_name()),
|
2157
|
-
FunctionKind::Constructor(_) => "new".to_string(),
|
2158
|
-
FunctionKind::Freestanding => to_rust_ident(&func.name),
|
2159
|
-
}
|
2160
|
-
}
|
2161
|
-
|
2162
|
-
fn func_field_name(resolve: &Resolve, func: &Function) -> String {
|
2163
|
-
let mut name = String::new();
|
2164
|
-
match func.kind {
|
2165
|
-
FunctionKind::Method(id) => {
|
2166
|
-
name.push_str("method-");
|
2167
|
-
name.push_str(resolve.types[id].name.as_ref().unwrap());
|
2168
|
-
name.push_str("-");
|
2169
|
-
}
|
2170
|
-
FunctionKind::Static(id) => {
|
2171
|
-
name.push_str("static-");
|
2172
|
-
name.push_str(resolve.types[id].name.as_ref().unwrap());
|
2173
|
-
name.push_str("-");
|
2174
|
-
}
|
2175
|
-
FunctionKind::Constructor(id) => {
|
2176
|
-
name.push_str("constructor-");
|
2177
|
-
name.push_str(resolve.types[id].name.as_ref().unwrap());
|
2178
|
-
name.push_str("-");
|
2179
|
-
}
|
2180
|
-
FunctionKind::Freestanding => {}
|
2181
|
-
}
|
2182
|
-
name.push_str(func.item_name());
|
2183
|
-
name.to_snake_case()
|
2184
|
-
}
|
2185
|
-
|
2186
|
-
fn get_resources<'a>(resolve: &'a Resolve, id: InterfaceId) -> impl Iterator<Item = &'a str> + 'a {
|
2187
|
-
resolve.interfaces[id]
|
2188
|
-
.types
|
2189
|
-
.iter()
|
2190
|
-
.filter_map(move |(name, ty)| match resolve.types[*ty].kind {
|
2191
|
-
TypeDefKind::Resource => Some(name.as_str()),
|
2192
|
-
_ => None,
|
2193
|
-
})
|
2194
|
-
}
|
2195
|
-
|
2196
|
-
fn get_world_resources<'a>(
|
2197
|
-
resolve: &'a Resolve,
|
2198
|
-
id: WorldId,
|
2199
|
-
) -> impl Iterator<Item = &'a str> + 'a {
|
2200
|
-
resolve.worlds[id]
|
2201
|
-
.imports
|
2202
|
-
.iter()
|
2203
|
-
.filter_map(move |(name, item)| match item {
|
2204
|
-
WorldItem::Type(id) => match resolve.types[*id].kind {
|
2205
|
-
TypeDefKind::Resource => Some(match name {
|
2206
|
-
WorldKey::Name(s) => s.as_str(),
|
2207
|
-
WorldKey::Interface(_) => unreachable!(),
|
2208
|
-
}),
|
2209
|
-
_ => None,
|
2210
|
-
},
|
2211
|
-
_ => None,
|
2212
|
-
})
|
2213
|
-
}
|