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
@@ -0,0 +1,2498 @@
|
|
1
|
+
use crate::component::func::{Func, LiftContext, LowerContext, Options};
|
2
|
+
use crate::component::matching::InstanceType;
|
3
|
+
use crate::component::storage::{storage_as_slice, storage_as_slice_mut};
|
4
|
+
use crate::prelude::*;
|
5
|
+
use crate::runtime::vm::component::ComponentInstance;
|
6
|
+
use crate::runtime::vm::SendSyncPtr;
|
7
|
+
use crate::{AsContextMut, StoreContext, StoreContextMut, ValRaw};
|
8
|
+
use alloc::borrow::Cow;
|
9
|
+
use alloc::sync::Arc;
|
10
|
+
use anyhow::{anyhow, bail, Context, Result};
|
11
|
+
use core::fmt;
|
12
|
+
use core::marker;
|
13
|
+
use core::mem::{self, MaybeUninit};
|
14
|
+
use core::ptr::NonNull;
|
15
|
+
use core::str;
|
16
|
+
use wasmtime_environ::component::{
|
17
|
+
CanonicalAbiInfo, ComponentTypes, InterfaceType, StringEncoding, VariantInfo, MAX_FLAT_PARAMS,
|
18
|
+
MAX_FLAT_RESULTS,
|
19
|
+
};
|
20
|
+
|
21
|
+
/// A statically-typed version of [`Func`] which takes `Params` as input and
|
22
|
+
/// returns `Return`.
|
23
|
+
///
|
24
|
+
/// This is an efficient way to invoke a WebAssembly component where if the
|
25
|
+
/// inputs and output are statically known this can eschew the vast majority of
|
26
|
+
/// machinery and checks when calling WebAssembly. This is the most optimized
|
27
|
+
/// way to call a WebAssembly component.
|
28
|
+
///
|
29
|
+
/// Note that like [`Func`] this is a pointer within a [`Store`](crate::Store)
|
30
|
+
/// and usage will panic if used with the wrong store.
|
31
|
+
///
|
32
|
+
/// This type is primarily created with the [`Func::typed`] API.
|
33
|
+
///
|
34
|
+
/// See [`ComponentType`] for more information about supported types.
|
35
|
+
pub struct TypedFunc<Params, Return> {
|
36
|
+
func: Func,
|
37
|
+
|
38
|
+
// The definition of this field is somewhat subtle and may be surprising.
|
39
|
+
// Naively one might expect something like
|
40
|
+
//
|
41
|
+
// _marker: marker::PhantomData<fn(Params) -> Return>,
|
42
|
+
//
|
43
|
+
// Since this is a function pointer after all. The problem with this
|
44
|
+
// definition though is that it imposes the wrong variance on `Params` from
|
45
|
+
// what we want. Abstractly a `fn(Params)` is able to store `Params` within
|
46
|
+
// it meaning you can only give it `Params` that live longer than the
|
47
|
+
// function pointer.
|
48
|
+
//
|
49
|
+
// With a component model function, however, we're always copying data from
|
50
|
+
// the host into the guest, so we are never storing pointers to `Params`
|
51
|
+
// into the guest outside the duration of a `call`, meaning we can actually
|
52
|
+
// accept values in `TypedFunc::call` which live for a shorter duration
|
53
|
+
// than the `Params` argument on the struct.
|
54
|
+
//
|
55
|
+
// This all means that we don't use a phantom function pointer, but instead
|
56
|
+
// feign phantom storage here to get the variance desired.
|
57
|
+
_marker: marker::PhantomData<(Params, Return)>,
|
58
|
+
}
|
59
|
+
|
60
|
+
impl<Params, Return> Copy for TypedFunc<Params, Return> {}
|
61
|
+
|
62
|
+
impl<Params, Return> Clone for TypedFunc<Params, Return> {
|
63
|
+
fn clone(&self) -> TypedFunc<Params, Return> {
|
64
|
+
*self
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
impl<Params, Return> TypedFunc<Params, Return>
|
69
|
+
where
|
70
|
+
Params: ComponentNamedList + Lower,
|
71
|
+
Return: ComponentNamedList + Lift,
|
72
|
+
{
|
73
|
+
/// Creates a new [`TypedFunc`] from the provided component [`Func`],
|
74
|
+
/// unsafely asserting that the underlying function takes `Params` as
|
75
|
+
/// input and returns `Return`.
|
76
|
+
///
|
77
|
+
/// # Unsafety
|
78
|
+
///
|
79
|
+
/// This is an unsafe function because it does not verify that the [`Func`]
|
80
|
+
/// provided actually implements this signature. It's up to the caller to
|
81
|
+
/// have performed some other sort of check to ensure that the signature is
|
82
|
+
/// correct.
|
83
|
+
pub unsafe fn new_unchecked(func: Func) -> TypedFunc<Params, Return> {
|
84
|
+
TypedFunc {
|
85
|
+
_marker: marker::PhantomData,
|
86
|
+
func,
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
/// Returns the underlying un-typed [`Func`] that this [`TypedFunc`]
|
91
|
+
/// references.
|
92
|
+
pub fn func(&self) -> &Func {
|
93
|
+
&self.func
|
94
|
+
}
|
95
|
+
|
96
|
+
/// Calls the underlying WebAssembly component function using the provided
|
97
|
+
/// `params` as input.
|
98
|
+
///
|
99
|
+
/// This method is used to enter into a component. Execution happens within
|
100
|
+
/// the `store` provided. The `params` are copied into WebAssembly memory
|
101
|
+
/// as appropriate and a core wasm function is invoked.
|
102
|
+
///
|
103
|
+
/// # Post-return
|
104
|
+
///
|
105
|
+
/// In the component model each function can have a "post return" specified
|
106
|
+
/// which allows cleaning up the arguments returned to the host. For example
|
107
|
+
/// if WebAssembly returns a string to the host then it might be a uniquely
|
108
|
+
/// allocated string which, after the host finishes processing it, needs to
|
109
|
+
/// be deallocated in the wasm instance's own linear memory to prevent
|
110
|
+
/// memory leaks in wasm itself. The `post-return` canonical abi option is
|
111
|
+
/// used to configured this.
|
112
|
+
///
|
113
|
+
/// To accommodate this feature of the component model after invoking a
|
114
|
+
/// function via [`TypedFunc::call`] you must next invoke
|
115
|
+
/// [`TypedFunc::post_return`]. Note that the return value of the function
|
116
|
+
/// should be processed between these two function calls. The return value
|
117
|
+
/// continues to be usable from an embedder's perspective after
|
118
|
+
/// `post_return` is called, but after `post_return` is invoked it may no
|
119
|
+
/// longer retain the same value that the wasm module originally returned.
|
120
|
+
///
|
121
|
+
/// Also note that [`TypedFunc::post_return`] must be invoked irrespective
|
122
|
+
/// of whether the canonical ABI option `post-return` was configured or not.
|
123
|
+
/// This means that embedders must unconditionally call
|
124
|
+
/// [`TypedFunc::post_return`] when a function returns. If this function
|
125
|
+
/// call returns an error, however, then [`TypedFunc::post_return`] is not
|
126
|
+
/// required.
|
127
|
+
///
|
128
|
+
/// # Errors
|
129
|
+
///
|
130
|
+
/// This function can return an error for a number of reasons:
|
131
|
+
///
|
132
|
+
/// * If the wasm itself traps during execution.
|
133
|
+
/// * If the wasm traps while copying arguments into memory.
|
134
|
+
/// * If the wasm provides bad allocation pointers when copying arguments
|
135
|
+
/// into memory.
|
136
|
+
/// * If the wasm returns a value which violates the canonical ABI.
|
137
|
+
/// * If this function's instances cannot be entered, for example if the
|
138
|
+
/// instance is currently calling a host function.
|
139
|
+
/// * If a previous function call occurred and the corresponding
|
140
|
+
/// `post_return` hasn't been invoked yet.
|
141
|
+
///
|
142
|
+
/// In general there are many ways that things could go wrong when copying
|
143
|
+
/// types in and out of a wasm module with the canonical ABI, and certain
|
144
|
+
/// error conditions are specific to certain types. For example a
|
145
|
+
/// WebAssembly module can't return an invalid `char`. When allocating space
|
146
|
+
/// for this host to copy a string into the returned pointer must be
|
147
|
+
/// in-bounds in memory.
|
148
|
+
///
|
149
|
+
/// If an error happens then the error should contain detailed enough
|
150
|
+
/// information to understand which part of the canonical ABI went wrong
|
151
|
+
/// and what to inspect.
|
152
|
+
///
|
153
|
+
/// # Panics
|
154
|
+
///
|
155
|
+
/// Panics if this is called on a function in an asynchronous store. This
|
156
|
+
/// only works with functions defined within a synchonous store. Also
|
157
|
+
/// panics if `store` does not own this function.
|
158
|
+
pub fn call(&self, store: impl AsContextMut, params: Params) -> Result<Return> {
|
159
|
+
assert!(
|
160
|
+
!store.as_context().async_support(),
|
161
|
+
"must use `call_async` when async support is enabled on the config"
|
162
|
+
);
|
163
|
+
self.call_impl(store, params)
|
164
|
+
}
|
165
|
+
|
166
|
+
/// Exactly like [`Self::call`], except for use on asynchronous stores.
|
167
|
+
///
|
168
|
+
/// # Panics
|
169
|
+
///
|
170
|
+
/// Panics if this is called on a function in a synchronous store. This
|
171
|
+
/// only works with functions defined within an asynchronous store. Also
|
172
|
+
/// panics if `store` does not own this function.
|
173
|
+
#[cfg(feature = "async")]
|
174
|
+
pub async fn call_async<T>(
|
175
|
+
&self,
|
176
|
+
mut store: impl AsContextMut<Data = T>,
|
177
|
+
params: Params,
|
178
|
+
) -> Result<Return>
|
179
|
+
where
|
180
|
+
T: Send,
|
181
|
+
Params: Send + Sync,
|
182
|
+
Return: Send + Sync,
|
183
|
+
{
|
184
|
+
let mut store = store.as_context_mut();
|
185
|
+
assert!(
|
186
|
+
store.0.async_support(),
|
187
|
+
"cannot use `call_async` when async support is not enabled on the config"
|
188
|
+
);
|
189
|
+
store
|
190
|
+
.on_fiber(|store| self.call_impl(store, params))
|
191
|
+
.await?
|
192
|
+
}
|
193
|
+
|
194
|
+
fn call_impl(&self, mut store: impl AsContextMut, params: Params) -> Result<Return> {
|
195
|
+
let store = &mut store.as_context_mut();
|
196
|
+
// Note that this is in theory simpler than it might read at this time.
|
197
|
+
// Here we're doing a runtime dispatch on the `flatten_count` for the
|
198
|
+
// params/results to see whether they're inbounds. This creates 4 cases
|
199
|
+
// to handle. In reality this is a highly optimizable branch where LLVM
|
200
|
+
// will easily figure out that only one branch here is taken.
|
201
|
+
//
|
202
|
+
// Otherwise this current construction is done to ensure that the stack
|
203
|
+
// space reserved for the params/results is always of the appropriate
|
204
|
+
// size (as the params/results needed differ depending on the "flatten"
|
205
|
+
// count)
|
206
|
+
if Params::flatten_count() <= MAX_FLAT_PARAMS {
|
207
|
+
if Return::flatten_count() <= MAX_FLAT_RESULTS {
|
208
|
+
self.func.call_raw(
|
209
|
+
store,
|
210
|
+
¶ms,
|
211
|
+
Self::lower_stack_args,
|
212
|
+
Self::lift_stack_result,
|
213
|
+
)
|
214
|
+
} else {
|
215
|
+
self.func.call_raw(
|
216
|
+
store,
|
217
|
+
¶ms,
|
218
|
+
Self::lower_stack_args,
|
219
|
+
Self::lift_heap_result,
|
220
|
+
)
|
221
|
+
}
|
222
|
+
} else {
|
223
|
+
if Return::flatten_count() <= MAX_FLAT_RESULTS {
|
224
|
+
self.func.call_raw(
|
225
|
+
store,
|
226
|
+
¶ms,
|
227
|
+
Self::lower_heap_args,
|
228
|
+
Self::lift_stack_result,
|
229
|
+
)
|
230
|
+
} else {
|
231
|
+
self.func.call_raw(
|
232
|
+
store,
|
233
|
+
¶ms,
|
234
|
+
Self::lower_heap_args,
|
235
|
+
Self::lift_heap_result,
|
236
|
+
)
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
/// Lower parameters directly onto the stack specified by the `dst`
|
242
|
+
/// location.
|
243
|
+
///
|
244
|
+
/// This is only valid to call when the "flatten count" is small enough, or
|
245
|
+
/// when the canonical ABI says arguments go through the stack rather than
|
246
|
+
/// the heap.
|
247
|
+
fn lower_stack_args<T>(
|
248
|
+
cx: &mut LowerContext<'_, T>,
|
249
|
+
params: &Params,
|
250
|
+
ty: InterfaceType,
|
251
|
+
dst: &mut MaybeUninit<Params::Lower>,
|
252
|
+
) -> Result<()> {
|
253
|
+
assert!(Params::flatten_count() <= MAX_FLAT_PARAMS);
|
254
|
+
params.lower(cx, ty, dst)?;
|
255
|
+
Ok(())
|
256
|
+
}
|
257
|
+
|
258
|
+
/// Lower parameters onto a heap-allocated location.
|
259
|
+
///
|
260
|
+
/// This is used when the stack space to be used for the arguments is above
|
261
|
+
/// the `MAX_FLAT_PARAMS` threshold. Here the wasm's `realloc` function is
|
262
|
+
/// invoked to allocate space and then parameters are stored at that heap
|
263
|
+
/// pointer location.
|
264
|
+
fn lower_heap_args<T>(
|
265
|
+
cx: &mut LowerContext<'_, T>,
|
266
|
+
params: &Params,
|
267
|
+
ty: InterfaceType,
|
268
|
+
dst: &mut MaybeUninit<ValRaw>,
|
269
|
+
) -> Result<()> {
|
270
|
+
assert!(Params::flatten_count() > MAX_FLAT_PARAMS);
|
271
|
+
|
272
|
+
// Memory must exist via validation if the arguments are stored on the
|
273
|
+
// heap, so we can create a `MemoryMut` at this point. Afterwards
|
274
|
+
// `realloc` is used to allocate space for all the arguments and then
|
275
|
+
// they're all stored in linear memory.
|
276
|
+
//
|
277
|
+
// Note that `realloc` will bake in a check that the returned pointer is
|
278
|
+
// in-bounds.
|
279
|
+
let ptr = cx.realloc(0, 0, Params::ALIGN32, Params::SIZE32)?;
|
280
|
+
params.store(cx, ty, ptr)?;
|
281
|
+
|
282
|
+
// Note that the pointer here is stored as a 64-bit integer. This allows
|
283
|
+
// this to work with either 32 or 64-bit memories. For a 32-bit memory
|
284
|
+
// it'll just ignore the upper 32 zero bits, and for 64-bit memories
|
285
|
+
// this'll have the full 64-bits. Note that for 32-bit memories the call
|
286
|
+
// to `realloc` above guarantees that the `ptr` is in-bounds meaning
|
287
|
+
// that we will know that the zero-extended upper bits of `ptr` are
|
288
|
+
// guaranteed to be zero.
|
289
|
+
//
|
290
|
+
// This comment about 64-bit integers is also referred to below with
|
291
|
+
// "WRITEPTR64".
|
292
|
+
dst.write(ValRaw::i64(ptr as i64));
|
293
|
+
|
294
|
+
Ok(())
|
295
|
+
}
|
296
|
+
|
297
|
+
/// Lift the result of a function directly from the stack result.
|
298
|
+
///
|
299
|
+
/// This is only used when the result fits in the maximum number of stack
|
300
|
+
/// slots.
|
301
|
+
fn lift_stack_result(
|
302
|
+
cx: &mut LiftContext<'_>,
|
303
|
+
ty: InterfaceType,
|
304
|
+
dst: &Return::Lower,
|
305
|
+
) -> Result<Return> {
|
306
|
+
assert!(Return::flatten_count() <= MAX_FLAT_RESULTS);
|
307
|
+
Return::lift(cx, ty, dst)
|
308
|
+
}
|
309
|
+
|
310
|
+
/// Lift the result of a function where the result is stored indirectly on
|
311
|
+
/// the heap.
|
312
|
+
fn lift_heap_result(
|
313
|
+
cx: &mut LiftContext<'_>,
|
314
|
+
ty: InterfaceType,
|
315
|
+
dst: &ValRaw,
|
316
|
+
) -> Result<Return> {
|
317
|
+
assert!(Return::flatten_count() > MAX_FLAT_RESULTS);
|
318
|
+
// FIXME: needs to read an i64 for memory64
|
319
|
+
let ptr = usize::try_from(dst.get_u32()).err2anyhow()?;
|
320
|
+
if ptr % usize::try_from(Return::ALIGN32).err2anyhow()? != 0 {
|
321
|
+
bail!("return pointer not aligned");
|
322
|
+
}
|
323
|
+
|
324
|
+
let bytes = cx
|
325
|
+
.memory()
|
326
|
+
.get(ptr..)
|
327
|
+
.and_then(|b| b.get(..Return::SIZE32))
|
328
|
+
.ok_or_else(|| anyhow::anyhow!("pointer out of bounds of memory"))?;
|
329
|
+
Return::load(cx, ty, bytes)
|
330
|
+
}
|
331
|
+
|
332
|
+
/// See [`Func::post_return`]
|
333
|
+
pub fn post_return(&self, store: impl AsContextMut) -> Result<()> {
|
334
|
+
self.func.post_return(store)
|
335
|
+
}
|
336
|
+
|
337
|
+
/// See [`Func::post_return_async`]
|
338
|
+
#[cfg(feature = "async")]
|
339
|
+
pub async fn post_return_async<T: Send>(
|
340
|
+
&self,
|
341
|
+
store: impl AsContextMut<Data = T>,
|
342
|
+
) -> Result<()> {
|
343
|
+
self.func.post_return_async(store).await
|
344
|
+
}
|
345
|
+
}
|
346
|
+
|
347
|
+
/// A trait representing a static list of named types that can be passed to or
|
348
|
+
/// returned from a [`TypedFunc`].
|
349
|
+
///
|
350
|
+
/// This trait is implemented for a number of tuple types and is not expected
|
351
|
+
/// to be implemented externally. The contents of this trait are hidden as it's
|
352
|
+
/// intended to be an implementation detail of Wasmtime. The contents of this
|
353
|
+
/// trait are not covered by Wasmtime's stability guarantees.
|
354
|
+
///
|
355
|
+
/// For more information about this trait see [`Func::typed`] and
|
356
|
+
/// [`TypedFunc`].
|
357
|
+
//
|
358
|
+
// Note that this is an `unsafe` trait, and the unsafety means that
|
359
|
+
// implementations of this trait must be correct or otherwise [`TypedFunc`]
|
360
|
+
// would not be memory safe. The main reason this is `unsafe` is the
|
361
|
+
// `typecheck` function which must operate correctly relative to the `AsTuple`
|
362
|
+
// interpretation of the implementor.
|
363
|
+
pub unsafe trait ComponentNamedList: ComponentType {}
|
364
|
+
|
365
|
+
/// A trait representing types which can be passed to and read from components
|
366
|
+
/// with the canonical ABI.
|
367
|
+
///
|
368
|
+
/// This trait is implemented for Rust types which can be communicated to
|
369
|
+
/// components. The [`Func::typed`] and [`TypedFunc`] Rust items are the main
|
370
|
+
/// consumers of this trait.
|
371
|
+
///
|
372
|
+
/// Supported Rust types include:
|
373
|
+
///
|
374
|
+
/// | Component Model Type | Rust Type |
|
375
|
+
/// |-----------------------------------|--------------------------------------|
|
376
|
+
/// | `{s,u}{8,16,32,64}` | `{i,u}{8,16,32,64}` |
|
377
|
+
/// | `f{32,64}` | `f{32,64}` |
|
378
|
+
/// | `bool` | `bool` |
|
379
|
+
/// | `char` | `char` |
|
380
|
+
/// | `tuple<A, B>` | `(A, B)` |
|
381
|
+
/// | `option<T>` | `Option<T>` |
|
382
|
+
/// | `result` | `Result<(), ()>` |
|
383
|
+
/// | `result<T>` | `Result<T, ()>` |
|
384
|
+
/// | `result<_, E>` | `Result<(), E>` |
|
385
|
+
/// | `result<T, E>` | `Result<T, E>` |
|
386
|
+
/// | `string` | `String`, `&str`, or [`WasmStr`] |
|
387
|
+
/// | `list<T>` | `Vec<T>`, `&[T]`, or [`WasmList`] |
|
388
|
+
/// | `own<T>`, `borrow<T>` | [`Resource<T>`] or [`ResourceAny`] |
|
389
|
+
/// | `record` | [`#[derive(ComponentType)]`][d-cm] |
|
390
|
+
/// | `variant` | [`#[derive(ComponentType)]`][d-cm] |
|
391
|
+
/// | `enum` | [`#[derive(ComponentType)]`][d-cm] |
|
392
|
+
/// | `flags` | [`flags!`][f-m] |
|
393
|
+
///
|
394
|
+
/// [`Resource<T>`]: crate::component::Resource
|
395
|
+
/// [`ResourceAny`]: crate::component::ResourceAny
|
396
|
+
/// [d-cm]: macro@crate::component::ComponentType
|
397
|
+
/// [f-m]: crate::component::flags
|
398
|
+
///
|
399
|
+
/// Rust standard library pointers such as `&T`, `Box<T>`, `Rc<T>`, and `Arc<T>`
|
400
|
+
/// additionally represent whatever type `T` represents in the component model.
|
401
|
+
/// Note that types such as `record`, `variant`, `enum`, and `flags` are
|
402
|
+
/// generated by the embedder at compile time. These macros derive
|
403
|
+
/// implementation of this trait for custom types to map to custom types in the
|
404
|
+
/// component model. Note that for `record`, `variant`, `enum`, and `flags`
|
405
|
+
/// those types are often generated by the
|
406
|
+
/// [`bindgen!`](crate::component::bindgen) macro from WIT definitions.
|
407
|
+
///
|
408
|
+
/// Types that implement [`ComponentType`] are used for `Params` and `Return`
|
409
|
+
/// in [`TypedFunc`] and [`Func::typed`].
|
410
|
+
///
|
411
|
+
/// The contents of this trait are hidden as it's intended to be an
|
412
|
+
/// implementation detail of Wasmtime. The contents of this trait are not
|
413
|
+
/// covered by Wasmtime's stability guarantees.
|
414
|
+
//
|
415
|
+
// Note that this is an `unsafe` trait as `TypedFunc`'s safety heavily relies on
|
416
|
+
// the correctness of the implementations of this trait. Some ways in which this
|
417
|
+
// trait must be correct to be safe are:
|
418
|
+
//
|
419
|
+
// * The `Lower` associated type must be a `ValRaw` sequence. It doesn't have to
|
420
|
+
// literally be `[ValRaw; N]` but when laid out in memory it must be adjacent
|
421
|
+
// `ValRaw` values and have a multiple of the size of `ValRaw` and the same
|
422
|
+
// alignment.
|
423
|
+
//
|
424
|
+
// * The `lower` function must initialize the bits within `Lower` that are going
|
425
|
+
// to be read by the trampoline that's used to enter core wasm. A trampoline
|
426
|
+
// is passed `*mut Lower` and will read the canonical abi arguments in
|
427
|
+
// sequence, so all of the bits must be correctly initialized.
|
428
|
+
//
|
429
|
+
// * The `size` and `align` functions must be correct for this value stored in
|
430
|
+
// the canonical ABI. The `Cursor<T>` iteration of these bytes rely on this
|
431
|
+
// for correctness as they otherwise eschew bounds-checking.
|
432
|
+
//
|
433
|
+
// There are likely some other correctness issues which aren't documented as
|
434
|
+
// well, this isn't intended to be an exhaustive list. It suffices to say,
|
435
|
+
// though, that correctness bugs in this trait implementation are highly likely
|
436
|
+
// to lead to security bugs, which again leads to the `unsafe` in the trait.
|
437
|
+
//
|
438
|
+
// Also note that this trait specifically is not sealed because we have a proc
|
439
|
+
// macro that generates implementations of this trait for external types in a
|
440
|
+
// `#[derive]`-like fashion.
|
441
|
+
pub unsafe trait ComponentType {
|
442
|
+
/// Representation of the "lowered" form of this component value.
|
443
|
+
///
|
444
|
+
/// Lowerings lower into core wasm values which are represented by `ValRaw`.
|
445
|
+
/// This `Lower` type must be a list of `ValRaw` as either a literal array
|
446
|
+
/// or a struct where every field is a `ValRaw`. This must be `Copy` (as
|
447
|
+
/// `ValRaw` is `Copy`) and support all byte patterns. This being correct is
|
448
|
+
/// one reason why the trait is unsafe.
|
449
|
+
#[doc(hidden)]
|
450
|
+
type Lower: Copy;
|
451
|
+
|
452
|
+
/// The information about this type's canonical ABI (size/align/etc).
|
453
|
+
#[doc(hidden)]
|
454
|
+
const ABI: CanonicalAbiInfo;
|
455
|
+
|
456
|
+
#[doc(hidden)]
|
457
|
+
const SIZE32: usize = Self::ABI.size32 as usize;
|
458
|
+
#[doc(hidden)]
|
459
|
+
const ALIGN32: u32 = Self::ABI.align32;
|
460
|
+
|
461
|
+
#[doc(hidden)]
|
462
|
+
const IS_RUST_UNIT_TYPE: bool = false;
|
463
|
+
|
464
|
+
/// Returns the number of core wasm abi values will be used to represent
|
465
|
+
/// this type in its lowered form.
|
466
|
+
///
|
467
|
+
/// This divides the size of `Self::Lower` by the size of `ValRaw`.
|
468
|
+
#[doc(hidden)]
|
469
|
+
fn flatten_count() -> usize {
|
470
|
+
assert!(mem::size_of::<Self::Lower>() % mem::size_of::<ValRaw>() == 0);
|
471
|
+
assert!(mem::align_of::<Self::Lower>() == mem::align_of::<ValRaw>());
|
472
|
+
mem::size_of::<Self::Lower>() / mem::size_of::<ValRaw>()
|
473
|
+
}
|
474
|
+
|
475
|
+
/// Performs a type-check to see whether this component value type matches
|
476
|
+
/// the interface type `ty` provided.
|
477
|
+
#[doc(hidden)]
|
478
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()>;
|
479
|
+
}
|
480
|
+
|
481
|
+
#[doc(hidden)]
|
482
|
+
pub unsafe trait ComponentVariant: ComponentType {
|
483
|
+
const CASES: &'static [Option<CanonicalAbiInfo>];
|
484
|
+
const INFO: VariantInfo = VariantInfo::new_static(Self::CASES);
|
485
|
+
const PAYLOAD_OFFSET32: usize = Self::INFO.payload_offset32 as usize;
|
486
|
+
}
|
487
|
+
|
488
|
+
/// Host types which can be passed to WebAssembly components.
|
489
|
+
///
|
490
|
+
/// This trait is implemented for all types that can be passed to components
|
491
|
+
/// either as parameters of component exports or returns of component imports.
|
492
|
+
/// This trait represents the ability to convert from the native host
|
493
|
+
/// representation to the canonical ABI.
|
494
|
+
///
|
495
|
+
/// Built-in types to Rust such as `Option<T>` implement this trait as
|
496
|
+
/// appropriate. For a mapping of component model to Rust types see
|
497
|
+
/// [`ComponentType`].
|
498
|
+
///
|
499
|
+
/// For user-defined types, for example `record` types mapped to Rust `struct`s,
|
500
|
+
/// this crate additionally has
|
501
|
+
/// [`#[derive(Lower)]`](macro@crate::component::Lower).
|
502
|
+
///
|
503
|
+
/// Note that like [`ComponentType`] the definition of this trait is intended to
|
504
|
+
/// be an internal implementation detail of Wasmtime at this time. It's
|
505
|
+
/// recommended to use the `#[derive(Lower)]` implementation instead.
|
506
|
+
pub unsafe trait Lower: ComponentType {
|
507
|
+
/// Performs the "lower" function in the canonical ABI.
|
508
|
+
///
|
509
|
+
/// This method will lower the current value into a component. The `lower`
|
510
|
+
/// function performs a "flat" lowering into the `dst` specified which is
|
511
|
+
/// allowed to be uninitialized entering this method but is guaranteed to be
|
512
|
+
/// fully initialized if the method returns `Ok(())`.
|
513
|
+
///
|
514
|
+
/// The `cx` context provided is the context within which this lowering is
|
515
|
+
/// happening. This contains information such as canonical options specified
|
516
|
+
/// (e.g. string encodings, memories, etc), the store itself, along with
|
517
|
+
/// type information.
|
518
|
+
///
|
519
|
+
/// The `ty` parameter is the destination type that is being lowered into.
|
520
|
+
/// For example this is the component's "view" of the type that is being
|
521
|
+
/// lowered. This is guaranteed to have passed a `typecheck` earlier.
|
522
|
+
///
|
523
|
+
/// This will only be called if `typecheck` passes for `Op::Lower`.
|
524
|
+
#[doc(hidden)]
|
525
|
+
fn lower<T>(
|
526
|
+
&self,
|
527
|
+
cx: &mut LowerContext<'_, T>,
|
528
|
+
ty: InterfaceType,
|
529
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
530
|
+
) -> Result<()>;
|
531
|
+
|
532
|
+
/// Performs the "store" operation in the canonical ABI.
|
533
|
+
///
|
534
|
+
/// This function will store `self` into the linear memory described by
|
535
|
+
/// `cx` at the `offset` provided.
|
536
|
+
///
|
537
|
+
/// It is expected that `offset` is a valid offset in memory for
|
538
|
+
/// `Self::SIZE32` bytes. At this time that's not an unsafe contract as it's
|
539
|
+
/// always re-checked on all stores, but this is something that will need to
|
540
|
+
/// be improved in the future to remove extra bounds checks. For now this
|
541
|
+
/// function will panic if there's a bug and `offset` isn't valid within
|
542
|
+
/// memory.
|
543
|
+
///
|
544
|
+
/// The `ty` type information passed here is the same as the type
|
545
|
+
/// information passed to `lower` above, and is the component's own view of
|
546
|
+
/// what the resulting type should be.
|
547
|
+
///
|
548
|
+
/// This will only be called if `typecheck` passes for `Op::Lower`.
|
549
|
+
#[doc(hidden)]
|
550
|
+
fn store<T>(
|
551
|
+
&self,
|
552
|
+
cx: &mut LowerContext<'_, T>,
|
553
|
+
ty: InterfaceType,
|
554
|
+
offset: usize,
|
555
|
+
) -> Result<()>;
|
556
|
+
|
557
|
+
/// Provided method to lower a list of `Self` into memory.
|
558
|
+
///
|
559
|
+
/// Requires that `offset` has already been checked for alignment and
|
560
|
+
/// validity in terms of being in-bounds, otherwise this may panic.
|
561
|
+
///
|
562
|
+
/// This is primarily here to get overridden for implementations of integers
|
563
|
+
/// which can avoid some extra fluff and use a pattern that's more easily
|
564
|
+
/// optimizable by LLVM.
|
565
|
+
#[doc(hidden)]
|
566
|
+
fn store_list<T>(
|
567
|
+
cx: &mut LowerContext<'_, T>,
|
568
|
+
ty: InterfaceType,
|
569
|
+
mut offset: usize,
|
570
|
+
items: &[Self],
|
571
|
+
) -> Result<()>
|
572
|
+
where
|
573
|
+
Self: Sized,
|
574
|
+
{
|
575
|
+
for item in items {
|
576
|
+
item.store(cx, ty, offset)?;
|
577
|
+
offset += Self::SIZE32;
|
578
|
+
}
|
579
|
+
Ok(())
|
580
|
+
}
|
581
|
+
}
|
582
|
+
|
583
|
+
/// Host types which can be created from the canonical ABI.
|
584
|
+
///
|
585
|
+
/// This is the mirror of the [`Lower`] trait where it represents the capability
|
586
|
+
/// of acquiring items from WebAssembly and passing them to the host.
|
587
|
+
///
|
588
|
+
/// Built-in types to Rust such as `Option<T>` implement this trait as
|
589
|
+
/// appropriate. For a mapping of component model to Rust types see
|
590
|
+
/// [`ComponentType`].
|
591
|
+
///
|
592
|
+
/// For user-defined types, for example `record` types mapped to Rust `struct`s,
|
593
|
+
/// this crate additionally has
|
594
|
+
/// [`#[derive(Lift)]`](macro@crate::component::Lift).
|
595
|
+
///
|
596
|
+
/// Note that like [`ComponentType`] the definition of this trait is intended to
|
597
|
+
/// be an internal implementation detail of Wasmtime at this time. It's
|
598
|
+
/// recommended to use the `#[derive(Lift)]` implementation instead.
|
599
|
+
pub unsafe trait Lift: Sized + ComponentType {
|
600
|
+
/// Performs the "lift" operation in the canonical ABI.
|
601
|
+
///
|
602
|
+
/// This function performs a "flat" lift operation from the `src` specified
|
603
|
+
/// which is a sequence of core wasm values. The lifting operation will
|
604
|
+
/// validate core wasm values and produce a `Self` on success.
|
605
|
+
///
|
606
|
+
/// The `cx` provided contains contextual information such as the store
|
607
|
+
/// that's being loaded from, canonical options, and type information.
|
608
|
+
///
|
609
|
+
/// The `ty` parameter is the origin component's specification for what the
|
610
|
+
/// type that is being lifted is. For example this is the record type or the
|
611
|
+
/// resource type that is being lifted.
|
612
|
+
///
|
613
|
+
/// Note that this has a default implementation but if `typecheck` passes
|
614
|
+
/// for `Op::Lift` this needs to be overridden.
|
615
|
+
#[doc(hidden)]
|
616
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self>;
|
617
|
+
|
618
|
+
/// Performs the "load" operation in the canonical ABI.
|
619
|
+
///
|
620
|
+
/// This will read the `bytes` provided, which are a sub-slice into the
|
621
|
+
/// linear memory described by `cx`. The `bytes` array provided is
|
622
|
+
/// guaranteed to be `Self::SIZE32` bytes large. All of memory is then also
|
623
|
+
/// available through `cx` for bounds-checks and such as necessary for
|
624
|
+
/// strings/lists.
|
625
|
+
///
|
626
|
+
/// The `ty` argument is the type that's being loaded, as described by the
|
627
|
+
/// original component.
|
628
|
+
///
|
629
|
+
/// Note that this has a default implementation but if `typecheck` passes
|
630
|
+
/// for `Op::Lift` this needs to be overridden.
|
631
|
+
#[doc(hidden)]
|
632
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self>;
|
633
|
+
|
634
|
+
/// Converts `list` into a `Vec<T>`, used in `Lift for Vec<T>`.
|
635
|
+
///
|
636
|
+
/// This is primarily here to get overridden for implementations of integers
|
637
|
+
/// which can avoid some extra fluff and use a pattern that's more easily
|
638
|
+
/// optimizable by LLVM.
|
639
|
+
#[doc(hidden)]
|
640
|
+
fn load_list(cx: &mut LiftContext<'_>, list: &WasmList<Self>) -> Result<Vec<Self>>
|
641
|
+
where
|
642
|
+
Self: Sized,
|
643
|
+
{
|
644
|
+
(0..list.len)
|
645
|
+
.map(|index| list.get_from_store(cx, index).unwrap())
|
646
|
+
.collect()
|
647
|
+
}
|
648
|
+
}
|
649
|
+
|
650
|
+
// Macro to help generate "forwarding implementations" of `ComponentType` to
|
651
|
+
// another type, used for wrappers in Rust like `&T`, `Box<T>`, etc. Note that
|
652
|
+
// these wrappers only implement lowering because lifting native Rust types
|
653
|
+
// cannot be done.
|
654
|
+
macro_rules! forward_type_impls {
|
655
|
+
($(($($generics:tt)*) $a:ty => $b:ty,)*) => ($(
|
656
|
+
unsafe impl <$($generics)*> ComponentType for $a {
|
657
|
+
type Lower = <$b as ComponentType>::Lower;
|
658
|
+
|
659
|
+
const ABI: CanonicalAbiInfo = <$b as ComponentType>::ABI;
|
660
|
+
|
661
|
+
#[inline]
|
662
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
663
|
+
<$b as ComponentType>::typecheck(ty, types)
|
664
|
+
}
|
665
|
+
}
|
666
|
+
)*)
|
667
|
+
}
|
668
|
+
|
669
|
+
forward_type_impls! {
|
670
|
+
(T: ComponentType + ?Sized) &'_ T => T,
|
671
|
+
(T: ComponentType + ?Sized) Box<T> => T,
|
672
|
+
(T: ComponentType + ?Sized) alloc::rc::Rc<T> => T,
|
673
|
+
(T: ComponentType + ?Sized) alloc::sync::Arc<T> => T,
|
674
|
+
() String => str,
|
675
|
+
(T: ComponentType) Vec<T> => [T],
|
676
|
+
}
|
677
|
+
|
678
|
+
macro_rules! forward_lowers {
|
679
|
+
($(($($generics:tt)*) $a:ty => $b:ty,)*) => ($(
|
680
|
+
unsafe impl <$($generics)*> Lower for $a {
|
681
|
+
fn lower<U>(
|
682
|
+
&self,
|
683
|
+
cx: &mut LowerContext<'_, U>,
|
684
|
+
ty: InterfaceType,
|
685
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
686
|
+
) -> Result<()> {
|
687
|
+
<$b as Lower>::lower(self, cx, ty, dst)
|
688
|
+
}
|
689
|
+
|
690
|
+
fn store<U>(
|
691
|
+
&self,
|
692
|
+
cx: &mut LowerContext<'_, U>,
|
693
|
+
ty: InterfaceType,
|
694
|
+
offset: usize,
|
695
|
+
) -> Result<()> {
|
696
|
+
<$b as Lower>::store(self, cx, ty, offset)
|
697
|
+
}
|
698
|
+
}
|
699
|
+
)*)
|
700
|
+
}
|
701
|
+
|
702
|
+
forward_lowers! {
|
703
|
+
(T: Lower + ?Sized) &'_ T => T,
|
704
|
+
(T: Lower + ?Sized) Box<T> => T,
|
705
|
+
(T: Lower + ?Sized) alloc::rc::Rc<T> => T,
|
706
|
+
(T: Lower + ?Sized) alloc::sync::Arc<T> => T,
|
707
|
+
() String => str,
|
708
|
+
(T: Lower) Vec<T> => [T],
|
709
|
+
}
|
710
|
+
|
711
|
+
macro_rules! forward_string_lifts {
|
712
|
+
($($a:ty,)*) => ($(
|
713
|
+
unsafe impl Lift for $a {
|
714
|
+
#[inline]
|
715
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
716
|
+
Ok(<WasmStr as Lift>::lift(cx, ty, src)?.to_str_from_memory(cx.memory())?.into())
|
717
|
+
}
|
718
|
+
|
719
|
+
#[inline]
|
720
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
721
|
+
Ok(<WasmStr as Lift>::load(cx, ty, bytes)?.to_str_from_memory(cx.memory())?.into())
|
722
|
+
}
|
723
|
+
}
|
724
|
+
)*)
|
725
|
+
}
|
726
|
+
|
727
|
+
forward_string_lifts! {
|
728
|
+
Box<str>,
|
729
|
+
alloc::rc::Rc<str>,
|
730
|
+
alloc::sync::Arc<str>,
|
731
|
+
String,
|
732
|
+
}
|
733
|
+
|
734
|
+
macro_rules! forward_list_lifts {
|
735
|
+
($($a:ty,)*) => ($(
|
736
|
+
unsafe impl <T: Lift> Lift for $a {
|
737
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
738
|
+
let list = <WasmList::<T> as Lift>::lift(cx, ty, src)?;
|
739
|
+
Ok(T::load_list(cx, &list)?.into())
|
740
|
+
}
|
741
|
+
|
742
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
743
|
+
let list = <WasmList::<T> as Lift>::load(cx, ty, bytes)?;
|
744
|
+
Ok(T::load_list(cx, &list)?.into())
|
745
|
+
}
|
746
|
+
}
|
747
|
+
)*)
|
748
|
+
}
|
749
|
+
|
750
|
+
forward_list_lifts! {
|
751
|
+
Box<[T]>,
|
752
|
+
alloc::rc::Rc<[T]>,
|
753
|
+
alloc::sync::Arc<[T]>,
|
754
|
+
Vec<T>,
|
755
|
+
}
|
756
|
+
|
757
|
+
// Macro to help generate `ComponentType` implementations for primitive types
|
758
|
+
// such as integers, char, bool, etc.
|
759
|
+
macro_rules! integers {
|
760
|
+
($($primitive:ident = $ty:ident in $field:ident/$get:ident with abi:$abi:ident,)*) => ($(
|
761
|
+
unsafe impl ComponentType for $primitive {
|
762
|
+
type Lower = ValRaw;
|
763
|
+
|
764
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::$abi;
|
765
|
+
|
766
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
767
|
+
match ty {
|
768
|
+
InterfaceType::$ty => Ok(()),
|
769
|
+
other => bail!("expected `{}` found `{}`", desc(&InterfaceType::$ty), desc(other))
|
770
|
+
}
|
771
|
+
}
|
772
|
+
}
|
773
|
+
|
774
|
+
unsafe impl Lower for $primitive {
|
775
|
+
#[inline]
|
776
|
+
#[allow(trivial_numeric_casts)]
|
777
|
+
fn lower<T>(
|
778
|
+
&self,
|
779
|
+
_cx: &mut LowerContext<'_, T>,
|
780
|
+
ty: InterfaceType,
|
781
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
782
|
+
) -> Result<()> {
|
783
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
784
|
+
dst.write(ValRaw::$field(*self as $field));
|
785
|
+
Ok(())
|
786
|
+
}
|
787
|
+
|
788
|
+
#[inline]
|
789
|
+
fn store<T>(
|
790
|
+
&self,
|
791
|
+
cx: &mut LowerContext<'_, T>,
|
792
|
+
ty: InterfaceType,
|
793
|
+
offset: usize,
|
794
|
+
) -> Result<()> {
|
795
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
796
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
797
|
+
*cx.get(offset) = self.to_le_bytes();
|
798
|
+
Ok(())
|
799
|
+
}
|
800
|
+
|
801
|
+
fn store_list<T>(
|
802
|
+
cx: &mut LowerContext<'_, T>,
|
803
|
+
ty: InterfaceType,
|
804
|
+
offset: usize,
|
805
|
+
items: &[Self],
|
806
|
+
) -> Result<()> {
|
807
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
808
|
+
|
809
|
+
// Double-check that the CM alignment is at least the host's
|
810
|
+
// alignment for this type which should be true for all
|
811
|
+
// platforms.
|
812
|
+
assert!((Self::ALIGN32 as usize) >= mem::align_of::<Self>());
|
813
|
+
|
814
|
+
// Slice `cx`'s memory to the window that we'll be modifying.
|
815
|
+
// This should all have already been verified in terms of
|
816
|
+
// alignment and sizing meaning that these assertions here are
|
817
|
+
// not truly necessary but are instead double-checks.
|
818
|
+
//
|
819
|
+
// Note that we're casting a `[u8]` slice to `[Self]` with
|
820
|
+
// `align_to_mut` which is not safe in general but is safe in
|
821
|
+
// our specific case as all `u8` patterns are valid `Self`
|
822
|
+
// patterns since `Self` is an integral type.
|
823
|
+
let dst = &mut cx.as_slice_mut()[offset..][..items.len() * Self::SIZE32];
|
824
|
+
let (before, middle, end) = unsafe { dst.align_to_mut::<Self>() };
|
825
|
+
assert!(before.is_empty() && end.is_empty());
|
826
|
+
assert_eq!(middle.len(), items.len());
|
827
|
+
|
828
|
+
// And with all that out of the way perform the copying loop.
|
829
|
+
// This is not a `copy_from_slice` because endianness needs to
|
830
|
+
// be handled here, but LLVM should pretty easily transform this
|
831
|
+
// into a memcpy on little-endian platforms.
|
832
|
+
for (dst, src) in middle.iter_mut().zip(items) {
|
833
|
+
*dst = src.to_le();
|
834
|
+
}
|
835
|
+
Ok(())
|
836
|
+
}
|
837
|
+
}
|
838
|
+
|
839
|
+
unsafe impl Lift for $primitive {
|
840
|
+
#[inline]
|
841
|
+
#[allow(trivial_numeric_casts)]
|
842
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
843
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
844
|
+
Ok(src.$get() as $primitive)
|
845
|
+
}
|
846
|
+
|
847
|
+
#[inline]
|
848
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
849
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
850
|
+
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
851
|
+
Ok($primitive::from_le_bytes(bytes.try_into().unwrap()))
|
852
|
+
}
|
853
|
+
|
854
|
+
fn load_list(cx: &mut LiftContext<'_>, list: &WasmList<Self>) -> Result<Vec<Self>> {
|
855
|
+
Ok(
|
856
|
+
list._as_le_slice(cx.memory())
|
857
|
+
.iter()
|
858
|
+
.map(|i| Self::from_le(*i))
|
859
|
+
.collect(),
|
860
|
+
)
|
861
|
+
}
|
862
|
+
}
|
863
|
+
)*)
|
864
|
+
}
|
865
|
+
|
866
|
+
integers! {
|
867
|
+
i8 = S8 in i32/get_i32 with abi:SCALAR1,
|
868
|
+
u8 = U8 in u32/get_u32 with abi:SCALAR1,
|
869
|
+
i16 = S16 in i32/get_i32 with abi:SCALAR2,
|
870
|
+
u16 = U16 in u32/get_u32 with abi:SCALAR2,
|
871
|
+
i32 = S32 in i32/get_i32 with abi:SCALAR4,
|
872
|
+
u32 = U32 in u32/get_u32 with abi:SCALAR4,
|
873
|
+
i64 = S64 in i64/get_i64 with abi:SCALAR8,
|
874
|
+
u64 = U64 in u64/get_u64 with abi:SCALAR8,
|
875
|
+
}
|
876
|
+
|
877
|
+
macro_rules! floats {
|
878
|
+
($($float:ident/$get_float:ident = $ty:ident with abi:$abi:ident)*) => ($(const _: () = {
|
879
|
+
/// All floats in-and-out of the canonical abi always have their nan
|
880
|
+
/// payloads canonicalized. conveniently the `NAN` constant in rust has
|
881
|
+
/// the same representation as canonical nan, so we can use that for the
|
882
|
+
/// nan value.
|
883
|
+
#[inline]
|
884
|
+
fn canonicalize(float: $float) -> $float {
|
885
|
+
if float.is_nan() {
|
886
|
+
$float::NAN
|
887
|
+
} else {
|
888
|
+
float
|
889
|
+
}
|
890
|
+
}
|
891
|
+
|
892
|
+
unsafe impl ComponentType for $float {
|
893
|
+
type Lower = ValRaw;
|
894
|
+
|
895
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::$abi;
|
896
|
+
|
897
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
898
|
+
match ty {
|
899
|
+
InterfaceType::$ty => Ok(()),
|
900
|
+
other => bail!("expected `{}` found `{}`", desc(&InterfaceType::$ty), desc(other))
|
901
|
+
}
|
902
|
+
}
|
903
|
+
}
|
904
|
+
|
905
|
+
unsafe impl Lower for $float {
|
906
|
+
#[inline]
|
907
|
+
fn lower<T>(
|
908
|
+
&self,
|
909
|
+
_cx: &mut LowerContext<'_, T>,
|
910
|
+
ty: InterfaceType,
|
911
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
912
|
+
) -> Result<()> {
|
913
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
914
|
+
dst.write(ValRaw::$float(canonicalize(*self).to_bits()));
|
915
|
+
Ok(())
|
916
|
+
}
|
917
|
+
|
918
|
+
#[inline]
|
919
|
+
fn store<T>(
|
920
|
+
&self,
|
921
|
+
cx: &mut LowerContext<'_, T>,
|
922
|
+
ty: InterfaceType,
|
923
|
+
offset: usize,
|
924
|
+
) -> Result<()> {
|
925
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
926
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
927
|
+
let ptr = cx.get(offset);
|
928
|
+
*ptr = canonicalize(*self).to_bits().to_le_bytes();
|
929
|
+
Ok(())
|
930
|
+
}
|
931
|
+
}
|
932
|
+
|
933
|
+
unsafe impl Lift for $float {
|
934
|
+
#[inline]
|
935
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
936
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
937
|
+
Ok(canonicalize($float::from_bits(src.$get_float())))
|
938
|
+
}
|
939
|
+
|
940
|
+
#[inline]
|
941
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
942
|
+
debug_assert!(matches!(ty, InterfaceType::$ty));
|
943
|
+
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
944
|
+
Ok(canonicalize($float::from_le_bytes(bytes.try_into().unwrap())))
|
945
|
+
}
|
946
|
+
}
|
947
|
+
};)*)
|
948
|
+
}
|
949
|
+
|
950
|
+
floats! {
|
951
|
+
f32/get_f32 = Float32 with abi:SCALAR4
|
952
|
+
f64/get_f64 = Float64 with abi:SCALAR8
|
953
|
+
}
|
954
|
+
|
955
|
+
unsafe impl ComponentType for bool {
|
956
|
+
type Lower = ValRaw;
|
957
|
+
|
958
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::SCALAR1;
|
959
|
+
|
960
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
961
|
+
match ty {
|
962
|
+
InterfaceType::Bool => Ok(()),
|
963
|
+
other => bail!("expected `bool` found `{}`", desc(other)),
|
964
|
+
}
|
965
|
+
}
|
966
|
+
}
|
967
|
+
|
968
|
+
unsafe impl Lower for bool {
|
969
|
+
fn lower<T>(
|
970
|
+
&self,
|
971
|
+
_cx: &mut LowerContext<'_, T>,
|
972
|
+
ty: InterfaceType,
|
973
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
974
|
+
) -> Result<()> {
|
975
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
976
|
+
dst.write(ValRaw::i32(*self as i32));
|
977
|
+
Ok(())
|
978
|
+
}
|
979
|
+
|
980
|
+
fn store<T>(
|
981
|
+
&self,
|
982
|
+
cx: &mut LowerContext<'_, T>,
|
983
|
+
ty: InterfaceType,
|
984
|
+
offset: usize,
|
985
|
+
) -> Result<()> {
|
986
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
987
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
988
|
+
cx.get::<1>(offset)[0] = *self as u8;
|
989
|
+
Ok(())
|
990
|
+
}
|
991
|
+
}
|
992
|
+
|
993
|
+
unsafe impl Lift for bool {
|
994
|
+
#[inline]
|
995
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
996
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
997
|
+
match src.get_i32() {
|
998
|
+
0 => Ok(false),
|
999
|
+
_ => Ok(true),
|
1000
|
+
}
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
#[inline]
|
1004
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1005
|
+
debug_assert!(matches!(ty, InterfaceType::Bool));
|
1006
|
+
match bytes[0] {
|
1007
|
+
0 => Ok(false),
|
1008
|
+
_ => Ok(true),
|
1009
|
+
}
|
1010
|
+
}
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
unsafe impl ComponentType for char {
|
1014
|
+
type Lower = ValRaw;
|
1015
|
+
|
1016
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::SCALAR4;
|
1017
|
+
|
1018
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1019
|
+
match ty {
|
1020
|
+
InterfaceType::Char => Ok(()),
|
1021
|
+
other => bail!("expected `char` found `{}`", desc(other)),
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
unsafe impl Lower for char {
|
1027
|
+
#[inline]
|
1028
|
+
fn lower<T>(
|
1029
|
+
&self,
|
1030
|
+
_cx: &mut LowerContext<'_, T>,
|
1031
|
+
ty: InterfaceType,
|
1032
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
1033
|
+
) -> Result<()> {
|
1034
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1035
|
+
dst.write(ValRaw::u32(u32::from(*self)));
|
1036
|
+
Ok(())
|
1037
|
+
}
|
1038
|
+
|
1039
|
+
#[inline]
|
1040
|
+
fn store<T>(
|
1041
|
+
&self,
|
1042
|
+
cx: &mut LowerContext<'_, T>,
|
1043
|
+
ty: InterfaceType,
|
1044
|
+
offset: usize,
|
1045
|
+
) -> Result<()> {
|
1046
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1047
|
+
debug_assert!(offset % Self::SIZE32 == 0);
|
1048
|
+
*cx.get::<4>(offset) = u32::from(*self).to_le_bytes();
|
1049
|
+
Ok(())
|
1050
|
+
}
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
unsafe impl Lift for char {
|
1054
|
+
#[inline]
|
1055
|
+
fn lift(_cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1056
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1057
|
+
Ok(char::try_from(src.get_u32()).err2anyhow()?)
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
#[inline]
|
1061
|
+
fn load(_cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1062
|
+
debug_assert!(matches!(ty, InterfaceType::Char));
|
1063
|
+
debug_assert!((bytes.as_ptr() as usize) % Self::SIZE32 == 0);
|
1064
|
+
let bits = u32::from_le_bytes(bytes.try_into().unwrap());
|
1065
|
+
Ok(char::try_from(bits).err2anyhow()?)
|
1066
|
+
}
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
// TODO: these probably need different constants for memory64
|
1070
|
+
const UTF16_TAG: usize = 1 << 31;
|
1071
|
+
const MAX_STRING_BYTE_LENGTH: usize = (1 << 31) - 1;
|
1072
|
+
|
1073
|
+
// Note that this is similar to `ComponentType for WasmStr` except it can only
|
1074
|
+
// be used for lowering, not lifting.
|
1075
|
+
unsafe impl ComponentType for str {
|
1076
|
+
type Lower = [ValRaw; 2];
|
1077
|
+
|
1078
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1079
|
+
|
1080
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1081
|
+
match ty {
|
1082
|
+
InterfaceType::String => Ok(()),
|
1083
|
+
other => bail!("expected `string` found `{}`", desc(other)),
|
1084
|
+
}
|
1085
|
+
}
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
unsafe impl Lower for str {
|
1089
|
+
fn lower<T>(
|
1090
|
+
&self,
|
1091
|
+
cx: &mut LowerContext<'_, T>,
|
1092
|
+
ty: InterfaceType,
|
1093
|
+
dst: &mut MaybeUninit<[ValRaw; 2]>,
|
1094
|
+
) -> Result<()> {
|
1095
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1096
|
+
let (ptr, len) = lower_string(cx, self)?;
|
1097
|
+
// See "WRITEPTR64" above for why this is always storing a 64-bit
|
1098
|
+
// integer.
|
1099
|
+
map_maybe_uninit!(dst[0]).write(ValRaw::i64(ptr as i64));
|
1100
|
+
map_maybe_uninit!(dst[1]).write(ValRaw::i64(len as i64));
|
1101
|
+
Ok(())
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
fn store<T>(
|
1105
|
+
&self,
|
1106
|
+
cx: &mut LowerContext<'_, T>,
|
1107
|
+
ty: InterfaceType,
|
1108
|
+
offset: usize,
|
1109
|
+
) -> Result<()> {
|
1110
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1111
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1112
|
+
let (ptr, len) = lower_string(cx, self)?;
|
1113
|
+
// FIXME: needs memory64 handling
|
1114
|
+
*cx.get(offset + 0) = (ptr as i32).to_le_bytes();
|
1115
|
+
*cx.get(offset + 4) = (len as i32).to_le_bytes();
|
1116
|
+
Ok(())
|
1117
|
+
}
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
fn lower_string<T>(cx: &mut LowerContext<'_, T>, string: &str) -> Result<(usize, usize)> {
|
1121
|
+
// Note that in general the wasm module can't assume anything about what the
|
1122
|
+
// host strings are encoded as. Additionally hosts are allowed to have
|
1123
|
+
// differently-encoded strings at runtime. Finally when copying a string
|
1124
|
+
// into wasm it's somewhat strict in the sense that the various patterns of
|
1125
|
+
// allocation and such are already dictated for us.
|
1126
|
+
//
|
1127
|
+
// In general what this means is that when copying a string from the host
|
1128
|
+
// into the destination we need to follow one of the cases of copying into
|
1129
|
+
// WebAssembly. It doesn't particularly matter which case as long as it ends
|
1130
|
+
// up in the right encoding. For example a destination encoding of
|
1131
|
+
// latin1+utf16 has a number of ways to get copied into and we do something
|
1132
|
+
// here that isn't the default "utf8 to latin1+utf16" since we have access
|
1133
|
+
// to simd-accelerated helpers in the `encoding_rs` crate. This is ok though
|
1134
|
+
// because we can fake that the host string was already stored in latin1
|
1135
|
+
// format and follow that copy pattern instead.
|
1136
|
+
match cx.options.string_encoding() {
|
1137
|
+
// This corresponds to `store_string_copy` in the canonical ABI where
|
1138
|
+
// the host's representation is utf-8 and the wasm module wants utf-8 so
|
1139
|
+
// a copy is all that's needed (and the `realloc` can be precise for the
|
1140
|
+
// initial memory allocation).
|
1141
|
+
StringEncoding::Utf8 => {
|
1142
|
+
if string.len() > MAX_STRING_BYTE_LENGTH {
|
1143
|
+
bail!(
|
1144
|
+
"string length of {} too large to copy into wasm",
|
1145
|
+
string.len()
|
1146
|
+
);
|
1147
|
+
}
|
1148
|
+
let ptr = cx.realloc(0, 0, 1, string.len())?;
|
1149
|
+
cx.as_slice_mut()[ptr..][..string.len()].copy_from_slice(string.as_bytes());
|
1150
|
+
Ok((ptr, string.len()))
|
1151
|
+
}
|
1152
|
+
|
1153
|
+
// This corresponds to `store_utf8_to_utf16` in the canonical ABI. Here
|
1154
|
+
// an over-large allocation is performed and then shrunk afterwards if
|
1155
|
+
// necessary.
|
1156
|
+
StringEncoding::Utf16 => {
|
1157
|
+
let size = string.len() * 2;
|
1158
|
+
if size > MAX_STRING_BYTE_LENGTH {
|
1159
|
+
bail!(
|
1160
|
+
"string length of {} too large to copy into wasm",
|
1161
|
+
string.len()
|
1162
|
+
);
|
1163
|
+
}
|
1164
|
+
let mut ptr = cx.realloc(0, 0, 2, size)?;
|
1165
|
+
let mut copied = 0;
|
1166
|
+
let bytes = &mut cx.as_slice_mut()[ptr..][..size];
|
1167
|
+
for (u, bytes) in string.encode_utf16().zip(bytes.chunks_mut(2)) {
|
1168
|
+
let u_bytes = u.to_le_bytes();
|
1169
|
+
bytes[0] = u_bytes[0];
|
1170
|
+
bytes[1] = u_bytes[1];
|
1171
|
+
copied += 1;
|
1172
|
+
}
|
1173
|
+
if (copied * 2) < size {
|
1174
|
+
ptr = cx.realloc(ptr, size, 2, copied * 2)?;
|
1175
|
+
}
|
1176
|
+
Ok((ptr, copied))
|
1177
|
+
}
|
1178
|
+
|
1179
|
+
StringEncoding::CompactUtf16 => {
|
1180
|
+
// This corresponds to `store_string_to_latin1_or_utf16`
|
1181
|
+
let bytes = string.as_bytes();
|
1182
|
+
let mut iter = string.char_indices();
|
1183
|
+
let mut ptr = cx.realloc(0, 0, 2, bytes.len())?;
|
1184
|
+
let mut dst = &mut cx.as_slice_mut()[ptr..][..bytes.len()];
|
1185
|
+
let mut result = 0;
|
1186
|
+
while let Some((i, ch)) = iter.next() {
|
1187
|
+
// Test if this `char` fits into the latin1 encoding.
|
1188
|
+
if let Ok(byte) = u8::try_from(u32::from(ch)) {
|
1189
|
+
dst[result] = byte;
|
1190
|
+
result += 1;
|
1191
|
+
continue;
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
// .. if utf16 is forced to be used then the allocation is
|
1195
|
+
// bumped up to the maximum size.
|
1196
|
+
let worst_case = bytes
|
1197
|
+
.len()
|
1198
|
+
.checked_mul(2)
|
1199
|
+
.ok_or_else(|| anyhow!("byte length overflow"))?;
|
1200
|
+
if worst_case > MAX_STRING_BYTE_LENGTH {
|
1201
|
+
bail!("byte length too large");
|
1202
|
+
}
|
1203
|
+
ptr = cx.realloc(ptr, bytes.len(), 2, worst_case)?;
|
1204
|
+
dst = &mut cx.as_slice_mut()[ptr..][..worst_case];
|
1205
|
+
|
1206
|
+
// Previously encoded latin1 bytes are inflated to their 16-bit
|
1207
|
+
// size for utf16
|
1208
|
+
for i in (0..result).rev() {
|
1209
|
+
dst[2 * i] = dst[i];
|
1210
|
+
dst[2 * i + 1] = 0;
|
1211
|
+
}
|
1212
|
+
|
1213
|
+
// and then the remainder of the string is encoded.
|
1214
|
+
for (u, bytes) in string[i..]
|
1215
|
+
.encode_utf16()
|
1216
|
+
.zip(dst[2 * result..].chunks_mut(2))
|
1217
|
+
{
|
1218
|
+
let u_bytes = u.to_le_bytes();
|
1219
|
+
bytes[0] = u_bytes[0];
|
1220
|
+
bytes[1] = u_bytes[1];
|
1221
|
+
result += 1;
|
1222
|
+
}
|
1223
|
+
if worst_case > 2 * result {
|
1224
|
+
ptr = cx.realloc(ptr, worst_case, 2, 2 * result)?;
|
1225
|
+
}
|
1226
|
+
return Ok((ptr, result | UTF16_TAG));
|
1227
|
+
}
|
1228
|
+
if result < bytes.len() {
|
1229
|
+
ptr = cx.realloc(ptr, bytes.len(), 2, result)?;
|
1230
|
+
}
|
1231
|
+
Ok((ptr, result))
|
1232
|
+
}
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
/// Representation of a string located in linear memory in a WebAssembly
|
1237
|
+
/// instance.
|
1238
|
+
///
|
1239
|
+
/// This type can be used in place of `String` and `str` for string-taking APIs
|
1240
|
+
/// in some situations. The purpose of this type is to represent a range of
|
1241
|
+
/// validated bytes within a component but does not actually copy the bytes. The
|
1242
|
+
/// primary method, [`WasmStr::to_str`], attempts to return a reference to the
|
1243
|
+
/// string directly located in the component's memory, avoiding a copy into the
|
1244
|
+
/// host if possible.
|
1245
|
+
///
|
1246
|
+
/// The downside of this type, however, is that accessing a string requires a
|
1247
|
+
/// [`Store`](crate::Store) pointer (via [`StoreContext`]). Bindings generated
|
1248
|
+
/// by [`bindgen!`](crate::component::bindgen), for example, do not have access
|
1249
|
+
/// to [`StoreContext`] and thus can't use this type.
|
1250
|
+
///
|
1251
|
+
/// This is intended for more advanced use cases such as defining functions
|
1252
|
+
/// directly in a [`Linker`](crate::component::Linker). It's expected that in
|
1253
|
+
/// the future [`bindgen!`](crate::component::bindgen) will also have a way to
|
1254
|
+
/// use this type.
|
1255
|
+
///
|
1256
|
+
/// This type is used with [`TypedFunc`], for example, when WebAssembly returns
|
1257
|
+
/// a string. This type cannot be used to give a string to WebAssembly, instead
|
1258
|
+
/// `&str` should be used for that (since it's coming from the host).
|
1259
|
+
///
|
1260
|
+
/// Note that this type represents an in-bounds string in linear memory, but it
|
1261
|
+
/// does not represent a valid string (e.g. valid utf-8). Validation happens
|
1262
|
+
/// when [`WasmStr::to_str`] is called.
|
1263
|
+
///
|
1264
|
+
/// Also note that this type does not implement [`Lower`], it only implements
|
1265
|
+
/// [`Lift`].
|
1266
|
+
pub struct WasmStr {
|
1267
|
+
ptr: usize,
|
1268
|
+
len: usize,
|
1269
|
+
options: Options,
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
impl WasmStr {
|
1273
|
+
fn new(ptr: usize, len: usize, cx: &mut LiftContext<'_>) -> Result<WasmStr> {
|
1274
|
+
let byte_len = match cx.options.string_encoding() {
|
1275
|
+
StringEncoding::Utf8 => Some(len),
|
1276
|
+
StringEncoding::Utf16 => len.checked_mul(2),
|
1277
|
+
StringEncoding::CompactUtf16 => {
|
1278
|
+
if len & UTF16_TAG == 0 {
|
1279
|
+
Some(len)
|
1280
|
+
} else {
|
1281
|
+
(len ^ UTF16_TAG).checked_mul(2)
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
};
|
1285
|
+
match byte_len.and_then(|len| ptr.checked_add(len)) {
|
1286
|
+
Some(n) if n <= cx.memory().len() => {}
|
1287
|
+
_ => bail!("string pointer/length out of bounds of memory"),
|
1288
|
+
}
|
1289
|
+
Ok(WasmStr {
|
1290
|
+
ptr,
|
1291
|
+
len,
|
1292
|
+
options: *cx.options,
|
1293
|
+
})
|
1294
|
+
}
|
1295
|
+
|
1296
|
+
/// Returns the underlying string that this cursor points to.
|
1297
|
+
///
|
1298
|
+
/// Note that this will internally decode the string from the wasm's
|
1299
|
+
/// encoding to utf-8 and additionally perform validation.
|
1300
|
+
///
|
1301
|
+
/// The `store` provided must be the store where this string lives to
|
1302
|
+
/// access the correct memory.
|
1303
|
+
///
|
1304
|
+
/// # Errors
|
1305
|
+
///
|
1306
|
+
/// Returns an error if the string wasn't encoded correctly (e.g. invalid
|
1307
|
+
/// utf-8).
|
1308
|
+
///
|
1309
|
+
/// # Panics
|
1310
|
+
///
|
1311
|
+
/// Panics if this string is not owned by `store`.
|
1312
|
+
//
|
1313
|
+
// TODO: should add accessors for specifically utf-8 and utf-16 that perhaps
|
1314
|
+
// in an opt-in basis don't do validation. Additionally there should be some
|
1315
|
+
// method that returns `[u16]` after validating to avoid the utf16-to-utf8
|
1316
|
+
// transcode.
|
1317
|
+
pub fn to_str<'a, T: 'a>(&self, store: impl Into<StoreContext<'a, T>>) -> Result<Cow<'a, str>> {
|
1318
|
+
let store = store.into().0;
|
1319
|
+
let memory = self.options.memory(store);
|
1320
|
+
self.to_str_from_memory(memory)
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
fn to_str_from_memory<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1324
|
+
match self.options.string_encoding() {
|
1325
|
+
StringEncoding::Utf8 => self.decode_utf8(memory),
|
1326
|
+
StringEncoding::Utf16 => self.decode_utf16(memory, self.len),
|
1327
|
+
StringEncoding::CompactUtf16 => {
|
1328
|
+
if self.len & UTF16_TAG == 0 {
|
1329
|
+
self.decode_latin1(memory)
|
1330
|
+
} else {
|
1331
|
+
self.decode_utf16(memory, self.len ^ UTF16_TAG)
|
1332
|
+
}
|
1333
|
+
}
|
1334
|
+
}
|
1335
|
+
}
|
1336
|
+
|
1337
|
+
fn decode_utf8<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1338
|
+
// Note that bounds-checking already happen in construction of `WasmStr`
|
1339
|
+
// so this is never expected to panic. This could theoretically be
|
1340
|
+
// unchecked indexing if we're feeling wild enough.
|
1341
|
+
Ok(str::from_utf8(&memory[self.ptr..][..self.len])
|
1342
|
+
.err2anyhow()?
|
1343
|
+
.into())
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
fn decode_utf16<'a>(&self, memory: &'a [u8], len: usize) -> Result<Cow<'a, str>> {
|
1347
|
+
// See notes in `decode_utf8` for why this is panicking indexing.
|
1348
|
+
let memory = &memory[self.ptr..][..len * 2];
|
1349
|
+
Ok(core::char::decode_utf16(
|
1350
|
+
memory
|
1351
|
+
.chunks(2)
|
1352
|
+
.map(|chunk| u16::from_le_bytes(chunk.try_into().unwrap())),
|
1353
|
+
)
|
1354
|
+
.collect::<Result<String, _>>()
|
1355
|
+
.err2anyhow()?
|
1356
|
+
.into())
|
1357
|
+
}
|
1358
|
+
|
1359
|
+
fn decode_latin1<'a>(&self, memory: &'a [u8]) -> Result<Cow<'a, str>> {
|
1360
|
+
// See notes in `decode_utf8` for why this is panicking indexing.
|
1361
|
+
Ok(encoding_rs::mem::decode_latin1(
|
1362
|
+
&memory[self.ptr..][..self.len],
|
1363
|
+
))
|
1364
|
+
}
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
// Note that this is similar to `ComponentType for str` except it can only be
|
1368
|
+
// used for lifting, not lowering.
|
1369
|
+
unsafe impl ComponentType for WasmStr {
|
1370
|
+
type Lower = <str as ComponentType>::Lower;
|
1371
|
+
|
1372
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1373
|
+
|
1374
|
+
fn typecheck(ty: &InterfaceType, _types: &InstanceType<'_>) -> Result<()> {
|
1375
|
+
match ty {
|
1376
|
+
InterfaceType::String => Ok(()),
|
1377
|
+
other => bail!("expected `string` found `{}`", desc(other)),
|
1378
|
+
}
|
1379
|
+
}
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
unsafe impl Lift for WasmStr {
|
1383
|
+
#[inline]
|
1384
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1385
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1386
|
+
// FIXME: needs memory64 treatment
|
1387
|
+
let ptr = src[0].get_u32();
|
1388
|
+
let len = src[1].get_u32();
|
1389
|
+
let (ptr, len) = (
|
1390
|
+
usize::try_from(ptr).err2anyhow()?,
|
1391
|
+
usize::try_from(len).err2anyhow()?,
|
1392
|
+
);
|
1393
|
+
WasmStr::new(ptr, len, cx)
|
1394
|
+
}
|
1395
|
+
|
1396
|
+
#[inline]
|
1397
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1398
|
+
debug_assert!(matches!(ty, InterfaceType::String));
|
1399
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
1400
|
+
// FIXME: needs memory64 treatment
|
1401
|
+
let ptr = u32::from_le_bytes(bytes[..4].try_into().unwrap());
|
1402
|
+
let len = u32::from_le_bytes(bytes[4..].try_into().unwrap());
|
1403
|
+
let (ptr, len) = (
|
1404
|
+
usize::try_from(ptr).err2anyhow()?,
|
1405
|
+
usize::try_from(len).err2anyhow()?,
|
1406
|
+
);
|
1407
|
+
WasmStr::new(ptr, len, cx)
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
|
1411
|
+
unsafe impl<T> ComponentType for [T]
|
1412
|
+
where
|
1413
|
+
T: ComponentType,
|
1414
|
+
{
|
1415
|
+
type Lower = [ValRaw; 2];
|
1416
|
+
|
1417
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1418
|
+
|
1419
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1420
|
+
match ty {
|
1421
|
+
InterfaceType::List(t) => T::typecheck(&types.types[*t].element, types),
|
1422
|
+
other => bail!("expected `list` found `{}`", desc(other)),
|
1423
|
+
}
|
1424
|
+
}
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
unsafe impl<T> Lower for [T]
|
1428
|
+
where
|
1429
|
+
T: Lower,
|
1430
|
+
{
|
1431
|
+
fn lower<U>(
|
1432
|
+
&self,
|
1433
|
+
cx: &mut LowerContext<'_, U>,
|
1434
|
+
ty: InterfaceType,
|
1435
|
+
dst: &mut MaybeUninit<[ValRaw; 2]>,
|
1436
|
+
) -> Result<()> {
|
1437
|
+
let elem = match ty {
|
1438
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1439
|
+
_ => bad_type_info(),
|
1440
|
+
};
|
1441
|
+
let (ptr, len) = lower_list(cx, elem, self)?;
|
1442
|
+
// See "WRITEPTR64" above for why this is always storing a 64-bit
|
1443
|
+
// integer.
|
1444
|
+
map_maybe_uninit!(dst[0]).write(ValRaw::i64(ptr as i64));
|
1445
|
+
map_maybe_uninit!(dst[1]).write(ValRaw::i64(len as i64));
|
1446
|
+
Ok(())
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
fn store<U>(
|
1450
|
+
&self,
|
1451
|
+
cx: &mut LowerContext<'_, U>,
|
1452
|
+
ty: InterfaceType,
|
1453
|
+
offset: usize,
|
1454
|
+
) -> Result<()> {
|
1455
|
+
let elem = match ty {
|
1456
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1457
|
+
_ => bad_type_info(),
|
1458
|
+
};
|
1459
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1460
|
+
let (ptr, len) = lower_list(cx, elem, self)?;
|
1461
|
+
*cx.get(offset + 0) = (ptr as i32).to_le_bytes();
|
1462
|
+
*cx.get(offset + 4) = (len as i32).to_le_bytes();
|
1463
|
+
Ok(())
|
1464
|
+
}
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
// FIXME: this is not a memcpy for `T` where `T` is something like `u8`.
|
1468
|
+
//
|
1469
|
+
// Some attempts to fix this have proved not fruitful. In isolation an attempt
|
1470
|
+
// was made where:
|
1471
|
+
//
|
1472
|
+
// * `MemoryMut` stored a `*mut [u8]` as its "last view" of memory to avoid
|
1473
|
+
// reloading the base pointer constantly. This view is reset on `realloc`.
|
1474
|
+
// * The bounds-checks in `MemoryMut::get` were removed (replaced with unsafe
|
1475
|
+
// indexing)
|
1476
|
+
//
|
1477
|
+
// Even then though this didn't correctly vectorized for `Vec<u8>`. It's not
|
1478
|
+
// entirely clear why but it appeared that it's related to reloading the base
|
1479
|
+
// pointer fo memory (I guess from `MemoryMut` itself?). Overall I'm not really
|
1480
|
+
// clear on what's happening there, but this is surely going to be a performance
|
1481
|
+
// bottleneck in the future.
|
1482
|
+
fn lower_list<T, U>(
|
1483
|
+
cx: &mut LowerContext<'_, U>,
|
1484
|
+
ty: InterfaceType,
|
1485
|
+
list: &[T],
|
1486
|
+
) -> Result<(usize, usize)>
|
1487
|
+
where
|
1488
|
+
T: Lower,
|
1489
|
+
{
|
1490
|
+
let elem_size = T::SIZE32;
|
1491
|
+
let size = list
|
1492
|
+
.len()
|
1493
|
+
.checked_mul(elem_size)
|
1494
|
+
.ok_or_else(|| anyhow!("size overflow copying a list"))?;
|
1495
|
+
let ptr = cx.realloc(0, 0, T::ALIGN32, size)?;
|
1496
|
+
T::store_list(cx, ty, ptr, list)?;
|
1497
|
+
Ok((ptr, list.len()))
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
/// Representation of a list of values that are owned by a WebAssembly instance.
|
1501
|
+
///
|
1502
|
+
/// For some more commentary about the rationale for this type see the
|
1503
|
+
/// documentation of [`WasmStr`]. In summary this type can avoid a copy when
|
1504
|
+
/// passing data to the host in some situations but is additionally more
|
1505
|
+
/// cumbersome to use by requiring a [`Store`](crate::Store) to be provided.
|
1506
|
+
///
|
1507
|
+
/// This type is used whenever a `(list T)` is returned from a [`TypedFunc`],
|
1508
|
+
/// for example. This type represents a list of values that are stored in linear
|
1509
|
+
/// memory which are waiting to be read.
|
1510
|
+
///
|
1511
|
+
/// Note that this type represents only a valid range of bytes for the list
|
1512
|
+
/// itself, it does not represent validity of the elements themselves and that's
|
1513
|
+
/// performed when they're iterated.
|
1514
|
+
///
|
1515
|
+
/// Note that this type does not implement the [`Lower`] trait, only [`Lift`].
|
1516
|
+
pub struct WasmList<T> {
|
1517
|
+
ptr: usize,
|
1518
|
+
len: usize,
|
1519
|
+
options: Options,
|
1520
|
+
elem: InterfaceType,
|
1521
|
+
// NB: it would probably be more efficient to store a non-atomic index-style
|
1522
|
+
// reference to something inside a `StoreOpaque`, but that's not easily
|
1523
|
+
// available at this time, so it's left as a future exercise.
|
1524
|
+
types: Arc<ComponentTypes>,
|
1525
|
+
instance: SendSyncPtr<ComponentInstance>,
|
1526
|
+
_marker: marker::PhantomData<T>,
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
impl<T: Lift> WasmList<T> {
|
1530
|
+
fn new(
|
1531
|
+
ptr: usize,
|
1532
|
+
len: usize,
|
1533
|
+
cx: &mut LiftContext<'_>,
|
1534
|
+
elem: InterfaceType,
|
1535
|
+
) -> Result<WasmList<T>> {
|
1536
|
+
match len
|
1537
|
+
.checked_mul(T::SIZE32)
|
1538
|
+
.and_then(|len| ptr.checked_add(len))
|
1539
|
+
{
|
1540
|
+
Some(n) if n <= cx.memory().len() => {}
|
1541
|
+
_ => bail!("list pointer/length out of bounds of memory"),
|
1542
|
+
}
|
1543
|
+
if ptr % usize::try_from(T::ALIGN32).err2anyhow()? != 0 {
|
1544
|
+
bail!("list pointer is not aligned")
|
1545
|
+
}
|
1546
|
+
Ok(WasmList {
|
1547
|
+
ptr,
|
1548
|
+
len,
|
1549
|
+
options: *cx.options,
|
1550
|
+
elem,
|
1551
|
+
types: cx.types.clone(),
|
1552
|
+
instance: SendSyncPtr::new(NonNull::new(cx.instance_ptr()).unwrap()),
|
1553
|
+
_marker: marker::PhantomData,
|
1554
|
+
})
|
1555
|
+
}
|
1556
|
+
|
1557
|
+
/// Returns the item length of this vector
|
1558
|
+
#[inline]
|
1559
|
+
pub fn len(&self) -> usize {
|
1560
|
+
self.len
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
/// Gets the `n`th element of this list.
|
1564
|
+
///
|
1565
|
+
/// Returns `None` if `index` is out of bounds. Returns `Some(Err(..))` if
|
1566
|
+
/// the value couldn't be decoded (it was invalid). Returns `Some(Ok(..))`
|
1567
|
+
/// if the value is valid.
|
1568
|
+
///
|
1569
|
+
/// # Panics
|
1570
|
+
///
|
1571
|
+
/// This function will panic if the string did not originally come from the
|
1572
|
+
/// `store` specified.
|
1573
|
+
//
|
1574
|
+
// TODO: given that interface values are intended to be consumed in one go
|
1575
|
+
// should we even expose a random access iteration API? In theory all
|
1576
|
+
// consumers should be validating through the iterator.
|
1577
|
+
pub fn get(&self, mut store: impl AsContextMut, index: usize) -> Option<Result<T>> {
|
1578
|
+
let store = store.as_context_mut().0;
|
1579
|
+
self.options.store_id().assert_belongs_to(store.id());
|
1580
|
+
// This should be safe because the unsafety lies in the `self.instance`
|
1581
|
+
// pointer passed in has previously been validated by the lifting
|
1582
|
+
// context this was originally created within and with the check above
|
1583
|
+
// this is guaranteed to be the same store. This means that this should
|
1584
|
+
// be carrying over the original assertion from the original creation of
|
1585
|
+
// the lifting context that created this type.
|
1586
|
+
let mut cx =
|
1587
|
+
unsafe { LiftContext::new(store, &self.options, &self.types, self.instance.as_ptr()) };
|
1588
|
+
self.get_from_store(&mut cx, index)
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
fn get_from_store(&self, cx: &mut LiftContext<'_>, index: usize) -> Option<Result<T>> {
|
1592
|
+
if index >= self.len {
|
1593
|
+
return None;
|
1594
|
+
}
|
1595
|
+
// Note that this is using panicking indexing and this is expected to
|
1596
|
+
// never fail. The bounds-checking here happened during the construction
|
1597
|
+
// of the `WasmList` itself which means these should always be in-bounds
|
1598
|
+
// (and wasm memory can only grow). This could theoretically be
|
1599
|
+
// unchecked indexing if we're confident enough and it's actually a perf
|
1600
|
+
// issue one day.
|
1601
|
+
let bytes = &cx.memory()[self.ptr + index * T::SIZE32..][..T::SIZE32];
|
1602
|
+
Some(T::load(cx, self.elem, bytes))
|
1603
|
+
}
|
1604
|
+
|
1605
|
+
/// Returns an iterator over the elements of this list.
|
1606
|
+
///
|
1607
|
+
/// Each item of the list may fail to decode and is represented through the
|
1608
|
+
/// `Result` value of the iterator.
|
1609
|
+
pub fn iter<'a, U: 'a>(
|
1610
|
+
&'a self,
|
1611
|
+
store: impl Into<StoreContextMut<'a, U>>,
|
1612
|
+
) -> impl ExactSizeIterator<Item = Result<T>> + 'a {
|
1613
|
+
let store = store.into().0;
|
1614
|
+
self.options.store_id().assert_belongs_to(store.id());
|
1615
|
+
// See comments about unsafety in the `get` method.
|
1616
|
+
let mut cx =
|
1617
|
+
unsafe { LiftContext::new(store, &self.options, &self.types, self.instance.as_ptr()) };
|
1618
|
+
(0..self.len).map(move |i| self.get_from_store(&mut cx, i).unwrap())
|
1619
|
+
}
|
1620
|
+
}
|
1621
|
+
|
1622
|
+
macro_rules! raw_wasm_list_accessors {
|
1623
|
+
($($i:ident)*) => ($(
|
1624
|
+
impl WasmList<$i> {
|
1625
|
+
/// Get access to the raw underlying memory for this list.
|
1626
|
+
///
|
1627
|
+
/// This method will return a direct slice into the original wasm
|
1628
|
+
/// module's linear memory where the data for this slice is stored.
|
1629
|
+
/// This allows the embedder to have efficient access to the
|
1630
|
+
/// underlying memory if needed and avoid copies and such if
|
1631
|
+
/// desired.
|
1632
|
+
///
|
1633
|
+
/// Note that multi-byte integers are stored in little-endian format
|
1634
|
+
/// so portable processing of this slice must be aware of the host's
|
1635
|
+
/// byte-endianness. The `from_le` constructors in the Rust standard
|
1636
|
+
/// library should be suitable for converting from little-endian.
|
1637
|
+
///
|
1638
|
+
/// # Panics
|
1639
|
+
///
|
1640
|
+
/// Panics if the `store` provided is not the one from which this
|
1641
|
+
/// slice originated.
|
1642
|
+
pub fn as_le_slice<'a, T: 'a>(&self, store: impl Into<StoreContext<'a, T>>) -> &'a [$i] {
|
1643
|
+
let memory = self.options.memory(store.into().0);
|
1644
|
+
self._as_le_slice(memory)
|
1645
|
+
}
|
1646
|
+
|
1647
|
+
fn _as_le_slice<'a>(&self, all_of_memory: &'a [u8]) -> &'a [$i] {
|
1648
|
+
// See comments in `WasmList::get` for the panicking indexing
|
1649
|
+
let byte_size = self.len * mem::size_of::<$i>();
|
1650
|
+
let bytes = &all_of_memory[self.ptr..][..byte_size];
|
1651
|
+
|
1652
|
+
// The canonical ABI requires that everything is aligned to its
|
1653
|
+
// own size, so this should be an aligned array. Furthermore the
|
1654
|
+
// alignment of primitive integers for hosts should be smaller
|
1655
|
+
// than or equal to the size of the primitive itself, meaning
|
1656
|
+
// that a wasm canonical-abi-aligned list is also aligned for
|
1657
|
+
// the host. That should mean that the head/tail slices here are
|
1658
|
+
// empty.
|
1659
|
+
//
|
1660
|
+
// Also note that the `unsafe` here is needed since the type
|
1661
|
+
// we're aligning to isn't guaranteed to be valid, but in our
|
1662
|
+
// case it's just integers and bytes so this should be safe.
|
1663
|
+
unsafe {
|
1664
|
+
let (head, body, tail) = bytes.align_to::<$i>();
|
1665
|
+
assert!(head.is_empty() && tail.is_empty());
|
1666
|
+
body
|
1667
|
+
}
|
1668
|
+
}
|
1669
|
+
}
|
1670
|
+
)*)
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
raw_wasm_list_accessors! {
|
1674
|
+
i8 i16 i32 i64
|
1675
|
+
u8 u16 u32 u64
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
// Note that this is similar to `ComponentType for str` except it can only be
|
1679
|
+
// used for lifting, not lowering.
|
1680
|
+
unsafe impl<T: ComponentType> ComponentType for WasmList<T> {
|
1681
|
+
type Lower = <[T] as ComponentType>::Lower;
|
1682
|
+
|
1683
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::POINTER_PAIR;
|
1684
|
+
|
1685
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1686
|
+
<[T] as ComponentType>::typecheck(ty, types)
|
1687
|
+
}
|
1688
|
+
}
|
1689
|
+
|
1690
|
+
unsafe impl<T: Lift> Lift for WasmList<T> {
|
1691
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1692
|
+
let elem = match ty {
|
1693
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1694
|
+
_ => bad_type_info(),
|
1695
|
+
};
|
1696
|
+
// FIXME: needs memory64 treatment
|
1697
|
+
let ptr = src[0].get_u32();
|
1698
|
+
let len = src[1].get_u32();
|
1699
|
+
let (ptr, len) = (
|
1700
|
+
usize::try_from(ptr).err2anyhow()?,
|
1701
|
+
usize::try_from(len).err2anyhow()?,
|
1702
|
+
);
|
1703
|
+
WasmList::new(ptr, len, cx, elem)
|
1704
|
+
}
|
1705
|
+
|
1706
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
1707
|
+
let elem = match ty {
|
1708
|
+
InterfaceType::List(i) => cx.types[i].element,
|
1709
|
+
_ => bad_type_info(),
|
1710
|
+
};
|
1711
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
1712
|
+
// FIXME: needs memory64 treatment
|
1713
|
+
let ptr = u32::from_le_bytes(bytes[..4].try_into().unwrap());
|
1714
|
+
let len = u32::from_le_bytes(bytes[4..].try_into().unwrap());
|
1715
|
+
let (ptr, len) = (
|
1716
|
+
usize::try_from(ptr).err2anyhow()?,
|
1717
|
+
usize::try_from(len).err2anyhow()?,
|
1718
|
+
);
|
1719
|
+
WasmList::new(ptr, len, cx, elem)
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
/// Verify that the given wasm type is a tuple with the expected fields in the right order.
|
1724
|
+
fn typecheck_tuple(
|
1725
|
+
ty: &InterfaceType,
|
1726
|
+
types: &InstanceType<'_>,
|
1727
|
+
expected: &[fn(&InterfaceType, &InstanceType<'_>) -> Result<()>],
|
1728
|
+
) -> Result<()> {
|
1729
|
+
match ty {
|
1730
|
+
InterfaceType::Tuple(t) => {
|
1731
|
+
let tuple = &types.types[*t];
|
1732
|
+
if tuple.types.len() != expected.len() {
|
1733
|
+
bail!(
|
1734
|
+
"expected {}-tuple, found {}-tuple",
|
1735
|
+
expected.len(),
|
1736
|
+
tuple.types.len()
|
1737
|
+
);
|
1738
|
+
}
|
1739
|
+
for (ty, check) in tuple.types.iter().zip(expected) {
|
1740
|
+
check(ty, types)?;
|
1741
|
+
}
|
1742
|
+
Ok(())
|
1743
|
+
}
|
1744
|
+
other => bail!("expected `tuple` found `{}`", desc(other)),
|
1745
|
+
}
|
1746
|
+
}
|
1747
|
+
|
1748
|
+
/// Verify that the given wasm type is a record with the expected fields in the right order and with the right
|
1749
|
+
/// names.
|
1750
|
+
pub fn typecheck_record(
|
1751
|
+
ty: &InterfaceType,
|
1752
|
+
types: &InstanceType<'_>,
|
1753
|
+
expected: &[(&str, fn(&InterfaceType, &InstanceType<'_>) -> Result<()>)],
|
1754
|
+
) -> Result<()> {
|
1755
|
+
match ty {
|
1756
|
+
InterfaceType::Record(index) => {
|
1757
|
+
let fields = &types.types[*index].fields;
|
1758
|
+
|
1759
|
+
if fields.len() != expected.len() {
|
1760
|
+
bail!(
|
1761
|
+
"expected record of {} fields, found {} fields",
|
1762
|
+
expected.len(),
|
1763
|
+
fields.len()
|
1764
|
+
);
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
for (field, &(name, check)) in fields.iter().zip(expected) {
|
1768
|
+
check(&field.ty, types)
|
1769
|
+
.with_context(|| format!("type mismatch for field {}", name))?;
|
1770
|
+
|
1771
|
+
if field.name != name {
|
1772
|
+
bail!("expected record field named {}, found {}", name, field.name);
|
1773
|
+
}
|
1774
|
+
}
|
1775
|
+
|
1776
|
+
Ok(())
|
1777
|
+
}
|
1778
|
+
other => bail!("expected `record` found `{}`", desc(other)),
|
1779
|
+
}
|
1780
|
+
}
|
1781
|
+
|
1782
|
+
/// Verify that the given wasm type is a variant with the expected cases in the right order and with the right
|
1783
|
+
/// names.
|
1784
|
+
pub fn typecheck_variant(
|
1785
|
+
ty: &InterfaceType,
|
1786
|
+
types: &InstanceType<'_>,
|
1787
|
+
expected: &[(
|
1788
|
+
&str,
|
1789
|
+
Option<fn(&InterfaceType, &InstanceType<'_>) -> Result<()>>,
|
1790
|
+
)],
|
1791
|
+
) -> Result<()> {
|
1792
|
+
match ty {
|
1793
|
+
InterfaceType::Variant(index) => {
|
1794
|
+
let cases = &types.types[*index].cases;
|
1795
|
+
|
1796
|
+
if cases.len() != expected.len() {
|
1797
|
+
bail!(
|
1798
|
+
"expected variant of {} cases, found {} cases",
|
1799
|
+
expected.len(),
|
1800
|
+
cases.len()
|
1801
|
+
);
|
1802
|
+
}
|
1803
|
+
|
1804
|
+
for ((case_name, case_ty), &(name, check)) in cases.iter().zip(expected) {
|
1805
|
+
if *case_name != name {
|
1806
|
+
bail!("expected variant case named {name}, found {case_name}");
|
1807
|
+
}
|
1808
|
+
|
1809
|
+
match (check, case_ty) {
|
1810
|
+
(Some(check), Some(ty)) => check(ty, types)
|
1811
|
+
.with_context(|| format!("type mismatch for case {name}"))?,
|
1812
|
+
(None, None) => {}
|
1813
|
+
(Some(_), None) => {
|
1814
|
+
bail!("case `{name}` has no type but one was expected")
|
1815
|
+
}
|
1816
|
+
(None, Some(_)) => {
|
1817
|
+
bail!("case `{name}` has a type but none was expected")
|
1818
|
+
}
|
1819
|
+
}
|
1820
|
+
}
|
1821
|
+
|
1822
|
+
Ok(())
|
1823
|
+
}
|
1824
|
+
other => bail!("expected `variant` found `{}`", desc(other)),
|
1825
|
+
}
|
1826
|
+
}
|
1827
|
+
|
1828
|
+
/// Verify that the given wasm type is a enum with the expected cases in the right order and with the right
|
1829
|
+
/// names.
|
1830
|
+
pub fn typecheck_enum(
|
1831
|
+
ty: &InterfaceType,
|
1832
|
+
types: &InstanceType<'_>,
|
1833
|
+
expected: &[&str],
|
1834
|
+
) -> Result<()> {
|
1835
|
+
match ty {
|
1836
|
+
InterfaceType::Enum(index) => {
|
1837
|
+
let names = &types.types[*index].names;
|
1838
|
+
|
1839
|
+
if names.len() != expected.len() {
|
1840
|
+
bail!(
|
1841
|
+
"expected enum of {} names, found {} names",
|
1842
|
+
expected.len(),
|
1843
|
+
names.len()
|
1844
|
+
);
|
1845
|
+
}
|
1846
|
+
|
1847
|
+
for (name, expected) in names.iter().zip(expected) {
|
1848
|
+
if name != expected {
|
1849
|
+
bail!("expected enum case named {}, found {}", expected, name);
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
|
1853
|
+
Ok(())
|
1854
|
+
}
|
1855
|
+
other => bail!("expected `enum` found `{}`", desc(other)),
|
1856
|
+
}
|
1857
|
+
}
|
1858
|
+
|
1859
|
+
/// Verify that the given wasm type is a flags type with the expected flags in the right order and with the right
|
1860
|
+
/// names.
|
1861
|
+
pub fn typecheck_flags(
|
1862
|
+
ty: &InterfaceType,
|
1863
|
+
types: &InstanceType<'_>,
|
1864
|
+
expected: &[&str],
|
1865
|
+
) -> Result<()> {
|
1866
|
+
match ty {
|
1867
|
+
InterfaceType::Flags(index) => {
|
1868
|
+
let names = &types.types[*index].names;
|
1869
|
+
|
1870
|
+
if names.len() != expected.len() {
|
1871
|
+
bail!(
|
1872
|
+
"expected flags type with {} names, found {} names",
|
1873
|
+
expected.len(),
|
1874
|
+
names.len()
|
1875
|
+
);
|
1876
|
+
}
|
1877
|
+
|
1878
|
+
for (name, expected) in names.iter().zip(expected) {
|
1879
|
+
if name != expected {
|
1880
|
+
bail!("expected flag named {}, found {}", expected, name);
|
1881
|
+
}
|
1882
|
+
}
|
1883
|
+
|
1884
|
+
Ok(())
|
1885
|
+
}
|
1886
|
+
other => bail!("expected `flags` found `{}`", desc(other)),
|
1887
|
+
}
|
1888
|
+
}
|
1889
|
+
|
1890
|
+
/// Format the specified bitflags using the specified names for debugging
|
1891
|
+
pub fn format_flags(bits: &[u32], names: &[&str], f: &mut fmt::Formatter) -> fmt::Result {
|
1892
|
+
f.write_str("(")?;
|
1893
|
+
let mut wrote = false;
|
1894
|
+
for (index, name) in names.iter().enumerate() {
|
1895
|
+
if ((bits[index / 32] >> (index % 32)) & 1) != 0 {
|
1896
|
+
if wrote {
|
1897
|
+
f.write_str("|")?;
|
1898
|
+
} else {
|
1899
|
+
wrote = true;
|
1900
|
+
}
|
1901
|
+
|
1902
|
+
f.write_str(name)?;
|
1903
|
+
}
|
1904
|
+
}
|
1905
|
+
f.write_str(")")
|
1906
|
+
}
|
1907
|
+
|
1908
|
+
unsafe impl<T> ComponentType for Option<T>
|
1909
|
+
where
|
1910
|
+
T: ComponentType,
|
1911
|
+
{
|
1912
|
+
type Lower = TupleLower2<<u32 as ComponentType>::Lower, T::Lower>;
|
1913
|
+
|
1914
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::variant_static(&[None, Some(T::ABI)]);
|
1915
|
+
|
1916
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
1917
|
+
match ty {
|
1918
|
+
InterfaceType::Option(t) => T::typecheck(&types.types[*t].ty, types),
|
1919
|
+
other => bail!("expected `option` found `{}`", desc(other)),
|
1920
|
+
}
|
1921
|
+
}
|
1922
|
+
}
|
1923
|
+
|
1924
|
+
unsafe impl<T> ComponentVariant for Option<T>
|
1925
|
+
where
|
1926
|
+
T: ComponentType,
|
1927
|
+
{
|
1928
|
+
const CASES: &'static [Option<CanonicalAbiInfo>] = &[None, Some(T::ABI)];
|
1929
|
+
}
|
1930
|
+
|
1931
|
+
unsafe impl<T> Lower for Option<T>
|
1932
|
+
where
|
1933
|
+
T: Lower,
|
1934
|
+
{
|
1935
|
+
fn lower<U>(
|
1936
|
+
&self,
|
1937
|
+
cx: &mut LowerContext<'_, U>,
|
1938
|
+
ty: InterfaceType,
|
1939
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
1940
|
+
) -> Result<()> {
|
1941
|
+
let payload = match ty {
|
1942
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1943
|
+
_ => bad_type_info(),
|
1944
|
+
};
|
1945
|
+
match self {
|
1946
|
+
None => {
|
1947
|
+
map_maybe_uninit!(dst.A1).write(ValRaw::i32(0));
|
1948
|
+
// Note that this is unsafe as we're writing an arbitrary
|
1949
|
+
// bit-pattern to an arbitrary type, but part of the unsafe
|
1950
|
+
// contract of the `ComponentType` trait is that we can assign
|
1951
|
+
// any bit-pattern. By writing all zeros here we're ensuring
|
1952
|
+
// that the core wasm arguments this translates to will all be
|
1953
|
+
// zeros (as the canonical ABI requires).
|
1954
|
+
unsafe {
|
1955
|
+
map_maybe_uninit!(dst.A2).as_mut_ptr().write_bytes(0u8, 1);
|
1956
|
+
}
|
1957
|
+
}
|
1958
|
+
Some(val) => {
|
1959
|
+
map_maybe_uninit!(dst.A1).write(ValRaw::i32(1));
|
1960
|
+
val.lower(cx, payload, map_maybe_uninit!(dst.A2))?;
|
1961
|
+
}
|
1962
|
+
}
|
1963
|
+
Ok(())
|
1964
|
+
}
|
1965
|
+
|
1966
|
+
fn store<U>(
|
1967
|
+
&self,
|
1968
|
+
cx: &mut LowerContext<'_, U>,
|
1969
|
+
ty: InterfaceType,
|
1970
|
+
offset: usize,
|
1971
|
+
) -> Result<()> {
|
1972
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
1973
|
+
let payload = match ty {
|
1974
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1975
|
+
_ => bad_type_info(),
|
1976
|
+
};
|
1977
|
+
match self {
|
1978
|
+
None => {
|
1979
|
+
cx.get::<1>(offset)[0] = 0;
|
1980
|
+
}
|
1981
|
+
Some(val) => {
|
1982
|
+
cx.get::<1>(offset)[0] = 1;
|
1983
|
+
val.store(cx, payload, offset + (Self::INFO.payload_offset32 as usize))?;
|
1984
|
+
}
|
1985
|
+
}
|
1986
|
+
Ok(())
|
1987
|
+
}
|
1988
|
+
}
|
1989
|
+
|
1990
|
+
unsafe impl<T> Lift for Option<T>
|
1991
|
+
where
|
1992
|
+
T: Lift,
|
1993
|
+
{
|
1994
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
1995
|
+
let payload = match ty {
|
1996
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
1997
|
+
_ => bad_type_info(),
|
1998
|
+
};
|
1999
|
+
Ok(match src.A1.get_i32() {
|
2000
|
+
0 => None,
|
2001
|
+
1 => Some(T::lift(cx, payload, &src.A2)?),
|
2002
|
+
_ => bail!("invalid option discriminant"),
|
2003
|
+
})
|
2004
|
+
}
|
2005
|
+
|
2006
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2007
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2008
|
+
let payload_ty = match ty {
|
2009
|
+
InterfaceType::Option(ty) => cx.types[ty].ty,
|
2010
|
+
_ => bad_type_info(),
|
2011
|
+
};
|
2012
|
+
let discrim = bytes[0];
|
2013
|
+
let payload = &bytes[Self::INFO.payload_offset32 as usize..];
|
2014
|
+
match discrim {
|
2015
|
+
0 => Ok(None),
|
2016
|
+
1 => Ok(Some(T::load(cx, payload_ty, payload)?)),
|
2017
|
+
_ => bail!("invalid option discriminant"),
|
2018
|
+
}
|
2019
|
+
}
|
2020
|
+
}
|
2021
|
+
|
2022
|
+
#[derive(Clone, Copy)]
|
2023
|
+
#[repr(C)]
|
2024
|
+
pub struct ResultLower<T: Copy, E: Copy> {
|
2025
|
+
tag: ValRaw,
|
2026
|
+
payload: ResultLowerPayload<T, E>,
|
2027
|
+
}
|
2028
|
+
|
2029
|
+
#[derive(Clone, Copy)]
|
2030
|
+
#[repr(C)]
|
2031
|
+
union ResultLowerPayload<T: Copy, E: Copy> {
|
2032
|
+
ok: T,
|
2033
|
+
err: E,
|
2034
|
+
}
|
2035
|
+
|
2036
|
+
unsafe impl<T, E> ComponentType for Result<T, E>
|
2037
|
+
where
|
2038
|
+
T: ComponentType,
|
2039
|
+
E: ComponentType,
|
2040
|
+
{
|
2041
|
+
type Lower = ResultLower<T::Lower, E::Lower>;
|
2042
|
+
|
2043
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::variant_static(&[Some(T::ABI), Some(E::ABI)]);
|
2044
|
+
|
2045
|
+
fn typecheck(ty: &InterfaceType, types: &InstanceType<'_>) -> Result<()> {
|
2046
|
+
match ty {
|
2047
|
+
InterfaceType::Result(r) => {
|
2048
|
+
let result = &types.types[*r];
|
2049
|
+
match &result.ok {
|
2050
|
+
Some(ty) => T::typecheck(ty, types)?,
|
2051
|
+
None if T::IS_RUST_UNIT_TYPE => {}
|
2052
|
+
None => bail!("expected no `ok` type"),
|
2053
|
+
}
|
2054
|
+
match &result.err {
|
2055
|
+
Some(ty) => E::typecheck(ty, types)?,
|
2056
|
+
None if E::IS_RUST_UNIT_TYPE => {}
|
2057
|
+
None => bail!("expected no `err` type"),
|
2058
|
+
}
|
2059
|
+
Ok(())
|
2060
|
+
}
|
2061
|
+
other => bail!("expected `result` found `{}`", desc(other)),
|
2062
|
+
}
|
2063
|
+
}
|
2064
|
+
}
|
2065
|
+
|
2066
|
+
/// Lowers the payload of a variant into the storage for the entire payload,
|
2067
|
+
/// handling writing zeros at the end of the representation if this payload is
|
2068
|
+
/// smaller than the entire flat representation.
|
2069
|
+
///
|
2070
|
+
/// * `payload` - the flat storage space for the entire payload of the variant
|
2071
|
+
/// * `typed_payload` - projection from the payload storage space to the
|
2072
|
+
/// individaul storage space for this variant.
|
2073
|
+
/// * `lower` - lowering operation used to initialize the `typed_payload` return
|
2074
|
+
/// value.
|
2075
|
+
///
|
2076
|
+
/// For more information on this se the comments in the `Lower for Result`
|
2077
|
+
/// implementation below.
|
2078
|
+
pub unsafe fn lower_payload<P, T>(
|
2079
|
+
payload: &mut MaybeUninit<P>,
|
2080
|
+
typed_payload: impl FnOnce(&mut MaybeUninit<P>) -> &mut MaybeUninit<T>,
|
2081
|
+
lower: impl FnOnce(&mut MaybeUninit<T>) -> Result<()>,
|
2082
|
+
) -> Result<()> {
|
2083
|
+
let typed = typed_payload(payload);
|
2084
|
+
lower(typed)?;
|
2085
|
+
|
2086
|
+
let typed_len = storage_as_slice(typed).len();
|
2087
|
+
let payload = storage_as_slice_mut(payload);
|
2088
|
+
for slot in payload[typed_len..].iter_mut() {
|
2089
|
+
*slot = ValRaw::u64(0);
|
2090
|
+
}
|
2091
|
+
Ok(())
|
2092
|
+
}
|
2093
|
+
|
2094
|
+
unsafe impl<T, E> ComponentVariant for Result<T, E>
|
2095
|
+
where
|
2096
|
+
T: ComponentType,
|
2097
|
+
E: ComponentType,
|
2098
|
+
{
|
2099
|
+
const CASES: &'static [Option<CanonicalAbiInfo>] = &[Some(T::ABI), Some(E::ABI)];
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
unsafe impl<T, E> Lower for Result<T, E>
|
2103
|
+
where
|
2104
|
+
T: Lower,
|
2105
|
+
E: Lower,
|
2106
|
+
{
|
2107
|
+
fn lower<U>(
|
2108
|
+
&self,
|
2109
|
+
cx: &mut LowerContext<'_, U>,
|
2110
|
+
ty: InterfaceType,
|
2111
|
+
dst: &mut MaybeUninit<Self::Lower>,
|
2112
|
+
) -> Result<()> {
|
2113
|
+
let (ok, err) = match ty {
|
2114
|
+
InterfaceType::Result(ty) => {
|
2115
|
+
let ty = &cx.types[ty];
|
2116
|
+
(ty.ok, ty.err)
|
2117
|
+
}
|
2118
|
+
_ => bad_type_info(),
|
2119
|
+
};
|
2120
|
+
|
2121
|
+
// This implementation of `Lower::lower`, if you're reading these from
|
2122
|
+
// the top of this file, is the first location that the "join" logic of
|
2123
|
+
// the component model's canonical ABI encountered. The rough problem is
|
2124
|
+
// that let's say we have a component model type of the form:
|
2125
|
+
//
|
2126
|
+
// (result u64 (error (tuple f32 u16)))
|
2127
|
+
//
|
2128
|
+
// The flat representation of this is actually pretty tricky. Currently
|
2129
|
+
// it is:
|
2130
|
+
//
|
2131
|
+
// i32 i64 i32
|
2132
|
+
//
|
2133
|
+
// The first `i32` is the discriminant for the `result`, and the payload
|
2134
|
+
// is represented by `i64 i32`. The "ok" variant will only use the `i64`
|
2135
|
+
// and the "err" variant will use both `i64` and `i32`.
|
2136
|
+
//
|
2137
|
+
// In the "ok" variant the first issue is encountered. The size of one
|
2138
|
+
// variant may not match the size of the other variants. All variants
|
2139
|
+
// start at the "front" but when lowering a type we need to be sure to
|
2140
|
+
// initialize the later variants (lest we leak random host memory into
|
2141
|
+
// the guest module). Due to how the `Lower` type is represented as a
|
2142
|
+
// `union` of all the variants what ends up happening here is that
|
2143
|
+
// internally within the `lower_payload` after the typed payload is
|
2144
|
+
// lowered the remaining bits of the payload that weren't initialized
|
2145
|
+
// are all set to zero. This will guarantee that we'll write to all the
|
2146
|
+
// slots for each variant.
|
2147
|
+
//
|
2148
|
+
// The "err" variant encounters the second issue, however, which is that
|
2149
|
+
// the flat representation for each type may differ between payloads. In
|
2150
|
+
// the "ok" arm an `i64` is written, but the `lower` implementation for
|
2151
|
+
// the "err" arm will write an `f32` and then an `i32`. For this
|
2152
|
+
// implementation of `lower` to be valid the `f32` needs to get inflated
|
2153
|
+
// to an `i64` with zero-padding in the upper bits. What may be
|
2154
|
+
// surprising, however, is that none of this is handled in this file.
|
2155
|
+
// This implementation looks like it's blindly deferring to `E::lower`
|
2156
|
+
// and hoping it does the right thing.
|
2157
|
+
//
|
2158
|
+
// In reality, however, the correctness of variant lowering relies on
|
2159
|
+
// two subtle details of the `ValRaw` implementation in Wasmtime:
|
2160
|
+
//
|
2161
|
+
// 1. First the `ValRaw` value always contains little-endian values.
|
2162
|
+
// This means that if a `u32` is written, a `u64` is read, and then
|
2163
|
+
// the `u64` has its upper bits truncated the original value will
|
2164
|
+
// always be retained. This is primarily here for big-endian
|
2165
|
+
// platforms where if it weren't little endian then the opposite
|
2166
|
+
// would occur and the wrong value would be read.
|
2167
|
+
//
|
2168
|
+
// 2. Second, and perhaps even more subtly, the `ValRaw` constructors
|
2169
|
+
// for 32-bit types actually always initialize 64-bits of the
|
2170
|
+
// `ValRaw`. In the component model flat ABI only 32 and 64-bit types
|
2171
|
+
// are used so 64-bits is big enough to contain everything. This
|
2172
|
+
// means that when a `ValRaw` is written into the destination it will
|
2173
|
+
// always, whether it's needed or not, be "ready" to get extended up
|
2174
|
+
// to 64-bits.
|
2175
|
+
//
|
2176
|
+
// Put together these two subtle guarantees means that all `Lower`
|
2177
|
+
// implementations can be written "naturally" as one might naively
|
2178
|
+
// expect. Variants will, on each arm, zero out remaining fields and all
|
2179
|
+
// writes to the flat representation will automatically be 64-bit writes
|
2180
|
+
// meaning that if the value is read as a 64-bit value, which isn't
|
2181
|
+
// known at the time of the write, it'll still be correct.
|
2182
|
+
match self {
|
2183
|
+
Ok(e) => {
|
2184
|
+
map_maybe_uninit!(dst.tag).write(ValRaw::i32(0));
|
2185
|
+
unsafe {
|
2186
|
+
lower_payload(
|
2187
|
+
map_maybe_uninit!(dst.payload),
|
2188
|
+
|payload| map_maybe_uninit!(payload.ok),
|
2189
|
+
|dst| match ok {
|
2190
|
+
Some(ok) => e.lower(cx, ok, dst),
|
2191
|
+
None => Ok(()),
|
2192
|
+
},
|
2193
|
+
)
|
2194
|
+
}
|
2195
|
+
}
|
2196
|
+
Err(e) => {
|
2197
|
+
map_maybe_uninit!(dst.tag).write(ValRaw::i32(1));
|
2198
|
+
unsafe {
|
2199
|
+
lower_payload(
|
2200
|
+
map_maybe_uninit!(dst.payload),
|
2201
|
+
|payload| map_maybe_uninit!(payload.err),
|
2202
|
+
|dst| match err {
|
2203
|
+
Some(err) => e.lower(cx, err, dst),
|
2204
|
+
None => Ok(()),
|
2205
|
+
},
|
2206
|
+
)
|
2207
|
+
}
|
2208
|
+
}
|
2209
|
+
}
|
2210
|
+
}
|
2211
|
+
|
2212
|
+
fn store<U>(
|
2213
|
+
&self,
|
2214
|
+
cx: &mut LowerContext<'_, U>,
|
2215
|
+
ty: InterfaceType,
|
2216
|
+
offset: usize,
|
2217
|
+
) -> Result<()> {
|
2218
|
+
let (ok, err) = match ty {
|
2219
|
+
InterfaceType::Result(ty) => {
|
2220
|
+
let ty = &cx.types[ty];
|
2221
|
+
(ty.ok, ty.err)
|
2222
|
+
}
|
2223
|
+
_ => bad_type_info(),
|
2224
|
+
};
|
2225
|
+
debug_assert!(offset % (Self::ALIGN32 as usize) == 0);
|
2226
|
+
let payload_offset = Self::INFO.payload_offset32 as usize;
|
2227
|
+
match self {
|
2228
|
+
Ok(e) => {
|
2229
|
+
cx.get::<1>(offset)[0] = 0;
|
2230
|
+
if let Some(ok) = ok {
|
2231
|
+
e.store(cx, ok, offset + payload_offset)?;
|
2232
|
+
}
|
2233
|
+
}
|
2234
|
+
Err(e) => {
|
2235
|
+
cx.get::<1>(offset)[0] = 1;
|
2236
|
+
if let Some(err) = err {
|
2237
|
+
e.store(cx, err, offset + payload_offset)?;
|
2238
|
+
}
|
2239
|
+
}
|
2240
|
+
}
|
2241
|
+
Ok(())
|
2242
|
+
}
|
2243
|
+
}
|
2244
|
+
|
2245
|
+
unsafe impl<T, E> Lift for Result<T, E>
|
2246
|
+
where
|
2247
|
+
T: Lift,
|
2248
|
+
E: Lift,
|
2249
|
+
{
|
2250
|
+
#[inline]
|
2251
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, src: &Self::Lower) -> Result<Self> {
|
2252
|
+
let (ok, err) = match ty {
|
2253
|
+
InterfaceType::Result(ty) => {
|
2254
|
+
let ty = &cx.types[ty];
|
2255
|
+
(ty.ok, ty.err)
|
2256
|
+
}
|
2257
|
+
_ => bad_type_info(),
|
2258
|
+
};
|
2259
|
+
// Note that this implementation specifically isn't trying to actually
|
2260
|
+
// reinterpret or alter the bits of `lower` depending on which variant
|
2261
|
+
// we're lifting. This ends up all working out because the value is
|
2262
|
+
// stored in little-endian format.
|
2263
|
+
//
|
2264
|
+
// When stored in little-endian format the `{T,E}::Lower`, when each
|
2265
|
+
// individual `ValRaw` is read, means that if an i64 value, extended
|
2266
|
+
// from an i32 value, was stored then when the i32 value is read it'll
|
2267
|
+
// automatically ignore the upper bits.
|
2268
|
+
//
|
2269
|
+
// This "trick" allows us to seamlessly pass through the `Self::Lower`
|
2270
|
+
// representation into the lifting/lowering without trying to handle
|
2271
|
+
// "join"ed types as per the canonical ABI. It just so happens that i64
|
2272
|
+
// bits will naturally be reinterpreted as f64. Additionally if the
|
2273
|
+
// joined type is i64 but only the lower bits are read that's ok and we
|
2274
|
+
// don't need to validate the upper bits.
|
2275
|
+
//
|
2276
|
+
// This is largely enabled by WebAssembly/component-model#35 where no
|
2277
|
+
// validation needs to be performed for ignored bits and bytes here.
|
2278
|
+
Ok(match src.tag.get_i32() {
|
2279
|
+
0 => Ok(unsafe { lift_option(cx, ok, &src.payload.ok)? }),
|
2280
|
+
1 => Err(unsafe { lift_option(cx, err, &src.payload.err)? }),
|
2281
|
+
_ => bail!("invalid expected discriminant"),
|
2282
|
+
})
|
2283
|
+
}
|
2284
|
+
|
2285
|
+
#[inline]
|
2286
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2287
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2288
|
+
let discrim = bytes[0];
|
2289
|
+
let payload = &bytes[Self::INFO.payload_offset32 as usize..];
|
2290
|
+
let (ok, err) = match ty {
|
2291
|
+
InterfaceType::Result(ty) => {
|
2292
|
+
let ty = &cx.types[ty];
|
2293
|
+
(ty.ok, ty.err)
|
2294
|
+
}
|
2295
|
+
_ => bad_type_info(),
|
2296
|
+
};
|
2297
|
+
match discrim {
|
2298
|
+
0 => Ok(Ok(load_option(cx, ok, &payload[..T::SIZE32])?)),
|
2299
|
+
1 => Ok(Err(load_option(cx, err, &payload[..E::SIZE32])?)),
|
2300
|
+
_ => bail!("invalid expected discriminant"),
|
2301
|
+
}
|
2302
|
+
}
|
2303
|
+
}
|
2304
|
+
|
2305
|
+
fn lift_option<T>(cx: &mut LiftContext<'_>, ty: Option<InterfaceType>, src: &T::Lower) -> Result<T>
|
2306
|
+
where
|
2307
|
+
T: Lift,
|
2308
|
+
{
|
2309
|
+
match ty {
|
2310
|
+
Some(ty) => T::lift(cx, ty, src),
|
2311
|
+
None => Ok(empty_lift()),
|
2312
|
+
}
|
2313
|
+
}
|
2314
|
+
|
2315
|
+
fn load_option<T>(cx: &mut LiftContext<'_>, ty: Option<InterfaceType>, bytes: &[u8]) -> Result<T>
|
2316
|
+
where
|
2317
|
+
T: Lift,
|
2318
|
+
{
|
2319
|
+
match ty {
|
2320
|
+
Some(ty) => T::load(cx, ty, bytes),
|
2321
|
+
None => Ok(empty_lift()),
|
2322
|
+
}
|
2323
|
+
}
|
2324
|
+
|
2325
|
+
fn empty_lift<T>() -> T
|
2326
|
+
where
|
2327
|
+
T: Lift,
|
2328
|
+
{
|
2329
|
+
assert!(T::IS_RUST_UNIT_TYPE);
|
2330
|
+
assert_eq!(mem::size_of::<T>(), 0);
|
2331
|
+
unsafe { MaybeUninit::uninit().assume_init() }
|
2332
|
+
}
|
2333
|
+
|
2334
|
+
macro_rules! impl_component_ty_for_tuples {
|
2335
|
+
($n:tt $($t:ident)*) => {paste::paste!{
|
2336
|
+
#[allow(non_snake_case)]
|
2337
|
+
#[doc(hidden)]
|
2338
|
+
#[derive(Clone, Copy)]
|
2339
|
+
#[repr(C)]
|
2340
|
+
pub struct [<TupleLower$n>]<$($t),*> {
|
2341
|
+
$($t: $t,)*
|
2342
|
+
_align_tuple_lower0_correctly: [ValRaw; 0],
|
2343
|
+
}
|
2344
|
+
|
2345
|
+
#[allow(non_snake_case)]
|
2346
|
+
unsafe impl<$($t,)*> ComponentType for ($($t,)*)
|
2347
|
+
where $($t: ComponentType),*
|
2348
|
+
{
|
2349
|
+
type Lower = [<TupleLower$n>]<$($t::Lower),*>;
|
2350
|
+
|
2351
|
+
const ABI: CanonicalAbiInfo = CanonicalAbiInfo::record_static(&[
|
2352
|
+
$($t::ABI),*
|
2353
|
+
]);
|
2354
|
+
|
2355
|
+
const IS_RUST_UNIT_TYPE: bool = {
|
2356
|
+
let mut _is_unit = true;
|
2357
|
+
$(
|
2358
|
+
let _anything_to_bind_the_macro_variable = $t::IS_RUST_UNIT_TYPE;
|
2359
|
+
_is_unit = false;
|
2360
|
+
)*
|
2361
|
+
_is_unit
|
2362
|
+
};
|
2363
|
+
|
2364
|
+
fn typecheck(
|
2365
|
+
ty: &InterfaceType,
|
2366
|
+
types: &InstanceType<'_>,
|
2367
|
+
) -> Result<()> {
|
2368
|
+
typecheck_tuple(ty, types, &[$($t::typecheck),*])
|
2369
|
+
}
|
2370
|
+
}
|
2371
|
+
|
2372
|
+
#[allow(non_snake_case)]
|
2373
|
+
unsafe impl<$($t,)*> Lower for ($($t,)*)
|
2374
|
+
where $($t: Lower),*
|
2375
|
+
{
|
2376
|
+
fn lower<U>(
|
2377
|
+
&self,
|
2378
|
+
cx: &mut LowerContext<'_, U>,
|
2379
|
+
ty: InterfaceType,
|
2380
|
+
_dst: &mut MaybeUninit<Self::Lower>,
|
2381
|
+
) -> Result<()> {
|
2382
|
+
let types = match ty {
|
2383
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2384
|
+
_ => bad_type_info(),
|
2385
|
+
};
|
2386
|
+
let ($($t,)*) = self;
|
2387
|
+
let mut _types = types.iter();
|
2388
|
+
$(
|
2389
|
+
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2390
|
+
$t.lower(cx, ty, map_maybe_uninit!(_dst.$t))?;
|
2391
|
+
)*
|
2392
|
+
Ok(())
|
2393
|
+
}
|
2394
|
+
|
2395
|
+
fn store<U>(
|
2396
|
+
&self,
|
2397
|
+
cx: &mut LowerContext<'_, U>,
|
2398
|
+
ty: InterfaceType,
|
2399
|
+
mut _offset: usize,
|
2400
|
+
) -> Result<()> {
|
2401
|
+
debug_assert!(_offset % (Self::ALIGN32 as usize) == 0);
|
2402
|
+
let types = match ty {
|
2403
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2404
|
+
_ => bad_type_info(),
|
2405
|
+
};
|
2406
|
+
let ($($t,)*) = self;
|
2407
|
+
let mut _types = types.iter();
|
2408
|
+
$(
|
2409
|
+
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2410
|
+
$t.store(cx, ty, $t::ABI.next_field32_size(&mut _offset))?;
|
2411
|
+
)*
|
2412
|
+
Ok(())
|
2413
|
+
}
|
2414
|
+
}
|
2415
|
+
|
2416
|
+
#[allow(non_snake_case)]
|
2417
|
+
unsafe impl<$($t,)*> Lift for ($($t,)*)
|
2418
|
+
where $($t: Lift),*
|
2419
|
+
{
|
2420
|
+
#[inline]
|
2421
|
+
fn lift(cx: &mut LiftContext<'_>, ty: InterfaceType, _src: &Self::Lower) -> Result<Self> {
|
2422
|
+
let types = match ty {
|
2423
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2424
|
+
_ => bad_type_info(),
|
2425
|
+
};
|
2426
|
+
let mut _types = types.iter();
|
2427
|
+
Ok(($(
|
2428
|
+
$t::lift(
|
2429
|
+
cx,
|
2430
|
+
*_types.next().unwrap_or_else(bad_type_info),
|
2431
|
+
&_src.$t,
|
2432
|
+
)?,
|
2433
|
+
)*))
|
2434
|
+
}
|
2435
|
+
|
2436
|
+
#[inline]
|
2437
|
+
fn load(cx: &mut LiftContext<'_>, ty: InterfaceType, bytes: &[u8]) -> Result<Self> {
|
2438
|
+
debug_assert!((bytes.as_ptr() as usize) % (Self::ALIGN32 as usize) == 0);
|
2439
|
+
let types = match ty {
|
2440
|
+
InterfaceType::Tuple(t) => &cx.types[t].types,
|
2441
|
+
_ => bad_type_info(),
|
2442
|
+
};
|
2443
|
+
let mut _types = types.iter();
|
2444
|
+
let mut _offset = 0;
|
2445
|
+
$(
|
2446
|
+
let ty = *_types.next().unwrap_or_else(bad_type_info);
|
2447
|
+
let $t = $t::load(cx, ty, &bytes[$t::ABI.next_field32_size(&mut _offset)..][..$t::SIZE32])?;
|
2448
|
+
)*
|
2449
|
+
Ok(($($t,)*))
|
2450
|
+
}
|
2451
|
+
}
|
2452
|
+
|
2453
|
+
#[allow(non_snake_case)]
|
2454
|
+
unsafe impl<$($t,)*> ComponentNamedList for ($($t,)*)
|
2455
|
+
where $($t: ComponentType),*
|
2456
|
+
{}
|
2457
|
+
}};
|
2458
|
+
}
|
2459
|
+
|
2460
|
+
for_each_function_signature!(impl_component_ty_for_tuples);
|
2461
|
+
|
2462
|
+
pub fn desc(ty: &InterfaceType) -> &'static str {
|
2463
|
+
match ty {
|
2464
|
+
InterfaceType::U8 => "u8",
|
2465
|
+
InterfaceType::S8 => "s8",
|
2466
|
+
InterfaceType::U16 => "u16",
|
2467
|
+
InterfaceType::S16 => "s16",
|
2468
|
+
InterfaceType::U32 => "u32",
|
2469
|
+
InterfaceType::S32 => "s32",
|
2470
|
+
InterfaceType::U64 => "u64",
|
2471
|
+
InterfaceType::S64 => "s64",
|
2472
|
+
InterfaceType::Float32 => "f32",
|
2473
|
+
InterfaceType::Float64 => "f64",
|
2474
|
+
InterfaceType::Bool => "bool",
|
2475
|
+
InterfaceType::Char => "char",
|
2476
|
+
InterfaceType::String => "string",
|
2477
|
+
InterfaceType::List(_) => "list",
|
2478
|
+
InterfaceType::Tuple(_) => "tuple",
|
2479
|
+
InterfaceType::Option(_) => "option",
|
2480
|
+
InterfaceType::Result(_) => "result",
|
2481
|
+
|
2482
|
+
InterfaceType::Record(_) => "record",
|
2483
|
+
InterfaceType::Variant(_) => "variant",
|
2484
|
+
InterfaceType::Flags(_) => "flags",
|
2485
|
+
InterfaceType::Enum(_) => "enum",
|
2486
|
+
InterfaceType::Own(_) => "owned resource",
|
2487
|
+
InterfaceType::Borrow(_) => "borrowed resource",
|
2488
|
+
}
|
2489
|
+
}
|
2490
|
+
|
2491
|
+
#[cold]
|
2492
|
+
#[doc(hidden)]
|
2493
|
+
pub fn bad_type_info<T>() -> T {
|
2494
|
+
// NB: should consider something like `unreachable_unchecked` here if this
|
2495
|
+
// becomes a performance bottleneck at some point, but that also comes with
|
2496
|
+
// a tradeoff of propagating a lot of unsafety, so it may not be worth it.
|
2497
|
+
panic!("bad type information detected");
|
2498
|
+
}
|