wasmtime 9.0.4 → 10.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 +184 -101
- data/ext/Cargo.toml +6 -6
- data/ext/build.rs +2 -2
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/Cargo.toml +158 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/benches/x64-evex-encoding.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/ir/trapcode.rs +144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/abi.rs +1294 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit.rs +3684 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit_tests.rs +7895 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/imms.rs +1210 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/mod.rs +2966 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst.isle +4037 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower/isle.rs +816 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower.isle +2906 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/mod.rs +238 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/mod.rs +424 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/abi.rs +825 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/args.rs +1812 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit.rs +3008 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit_tests.rs +2338 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/encode.rs +262 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/imms.rs +250 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/mod.rs +1963 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/regs.rs +223 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/vector.rs +669 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst.isle +2915 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst_vector.isle +760 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower/isle.rs +553 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower.isle +1409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/mod.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/abi.rs +957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit.rs +3707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit_tests.rs +13409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/mod.rs +3426 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst.isle +5046 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/lower.isle +3991 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/mod.rs +213 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/abi.rs +985 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/evex.rs +749 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/rex.rs +588 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/vex.rs +492 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/args.rs +2193 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit.rs +4090 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit_tests.rs +5674 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/mod.rs +2667 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst.isle +5104 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower/isle.rs +1148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.isle +4481 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.rs +328 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/mod.rs +251 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isle_prelude.rs +862 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/abi.rs +2455 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/buffer.rs +2277 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/compile.rs +92 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/isle.rs +827 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/lower.rs +1388 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/mod.rs +549 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/reg.rs +537 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/vcode.rs +1580 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude.isle +578 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude_lower.isle +1012 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/settings.rs +600 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/verifier/mod.rs +1884 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/Cargo.toml +23 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/isa/x86.rs +444 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/shared/settings.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/chaos.rs +125 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/lib.rs +45 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/zero_sized.rs +53 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/src/list.rs +955 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/Cargo.toml +53 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/Cargo.toml +38 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/Cargo.toml +85 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/code_translator.rs +3538 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/dummy.rs +924 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/spec.rs +834 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/func_translator.rs +440 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/sections_translator.rs +417 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/translation_utils.rs +99 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/CONTRIBUTING.md +48 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/COPYRIGHT +17 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Cargo.toml +84 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Ideas.md +106 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-WHATWG +26 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/README.md +827 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/ci/miri.sh +14 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Big5.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-JP.txt +12 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-KR.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/GBK.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/IBM866.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-2022-JP.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-10.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-13.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-14.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-15.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-16.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-2.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-3.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-4.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-5.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-6.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-7.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8-I.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-R.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-U.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Shift_JIS.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16BE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16LE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-8.txt +5 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/gb18030.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/macintosh.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/replacement.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1250.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1251.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1252.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1253.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1254.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1255.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1256.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1257.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1258.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-874.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-mac-cyrillic.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-user-defined.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/generate-encoding-data.py +2008 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/rustfmt.toml +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/ascii.rs +1546 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/big5.rs +427 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/data.rs +114378 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_jp.rs +469 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_kr.rs +442 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/gb18030.rs +767 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/handles.rs +1969 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/iso_2022_jp.rs +1068 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/lib.rs +6133 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/macros.rs +1622 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/mem.rs +3354 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/replacement.rs +104 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/shift_jis.rs +426 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/simd_funcs.rs +453 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/single_byte.rs +714 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in_ref.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out_ref.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out_ref.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out_ref.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out_ref.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out_ref.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in_ref.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out_ref.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_labels_names.rs +242 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/testing.rs +262 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_16.rs +472 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_8.rs +1629 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/variant.rs +400 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/x_user_defined.rs +249 -0
- data/ext/cargo-vendor/equivalent-1.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/equivalent-1.0.1/Cargo.toml +27 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/README.md +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/src/lib.rs +113 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +12 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +200 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +323 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/CHANGELOG.md +475 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/Cargo.toml +131 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/README.md +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/bench.rs +331 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/insert_unique_unchecked.rs +32 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/clippy.toml +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/mod.rs +6 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/helpers.rs +27 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/map.rs +731 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/mod.rs +4 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/raw.rs +231 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/set.rs +659 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_map.rs +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_set.rs +123 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/mod.rs +2 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/serde.rs +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/lib.rs +165 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/macros.rs +70 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/map.rs +8506 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/alloc.rs +86 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/bitmask.rs +133 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/generic.rs +157 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/mod.rs +3378 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/neon.rs +124 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/sse2.rs +149 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/rustc_entry.rs +630 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/scopeguard.rs +72 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/set.rs +2903 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/hasher.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/raw.rs +11 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/rayon.rs +535 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/serde.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/set.rs +34 -0
- data/ext/cargo-vendor/indexmap-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/indexmap-2.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/indexmap-2.0.0/README.md +55 -0
- data/ext/cargo-vendor/indexmap-2.0.0/RELEASES.md +424 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/bench.rs +763 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/faststring.rs +185 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/arbitrary.rs +77 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/lib.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/macros.rs +178 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core/raw.rs +217 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core.rs +742 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/iter.rs +541 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/serde_seq.rs +138 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/slice.rs +471 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/tests.rs +449 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map.rs +1223 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/mutable_keys.rs +91 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/map.rs +679 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/mod.rs +27 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/set.rs +774 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rustc.rs +158 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/serde.rs +151 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/iter.rs +543 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/slice.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/tests.rs +545 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set.rs +1011 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/util.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/macros_full_path.rs +19 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/quick.rs +579 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/tests.rs +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/Cargo.toml +72 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/deny.toml +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/checker.rs +1089 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/fuzzing/func.rs +702 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/index.rs +268 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/data_structures.rs +857 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/liveranges.rs +961 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/merge.rs +368 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/mod.rs +150 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/moves.rs +1017 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/process.rs +1307 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/requirement.rs +174 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/spill.rs +165 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/stackmap.rs +79 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/lib.rs +1526 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/moves.rs +439 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/serialize.rs +311 -0
- data/ext/cargo-vendor/semver-1.0.18/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/semver-1.0.18/Cargo.toml +47 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-MIT +23 -0
- data/ext/cargo-vendor/semver-1.0.18/README.md +84 -0
- data/ext/cargo-vendor/semver-1.0.18/benches/parse.rs +24 -0
- data/ext/cargo-vendor/semver-1.0.18/build.rs +75 -0
- data/ext/cargo-vendor/semver-1.0.18/src/backport.rs +23 -0
- data/ext/cargo-vendor/semver-1.0.18/src/display.rs +165 -0
- data/ext/cargo-vendor/semver-1.0.18/src/error.rs +126 -0
- data/ext/cargo-vendor/semver-1.0.18/src/eval.rs +181 -0
- data/ext/cargo-vendor/semver-1.0.18/src/identifier.rs +422 -0
- data/ext/cargo-vendor/semver-1.0.18/src/impls.rs +156 -0
- data/ext/cargo-vendor/semver-1.0.18/src/lib.rs +533 -0
- data/ext/cargo-vendor/semver-1.0.18/src/parse.rs +409 -0
- data/ext/cargo-vendor/semver-1.0.18/src/serde.rs +109 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/node/mod.rs +43 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_autotrait.rs +14 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_identifier.rs +45 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version.rs +238 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version_req.rs +443 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/util/mod.rs +39 -0
- data/ext/cargo-vendor/sptr-0.3.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/sptr-0.3.2/Cargo.toml +28 -0
- data/ext/cargo-vendor/sptr-0.3.2/README.md +73 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/func.rs +83 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/int.rs +364 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/lib.rs +756 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/dir.rs +464 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/lib.rs +141 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/Cargo.toml +87 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/file.rs +262 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/snapshots/preview_1.rs +1490 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/exports.rs +127 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/imports.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/types.rs +759 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/code.rs +2913 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/custom.rs +55 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/data.rs +185 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/elements.rs +224 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/globals.rs +90 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/imports.rs +142 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/memories.rs +99 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/names.rs +265 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/producers.rs +180 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tables.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/types.rs +246 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.lock +621 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/benches/benchmark.rs +351 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/lib.rs +723 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/parser.rs +1535 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/canonicals.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/types.rs +874 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core.rs +35 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/component.rs +3082 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/core.rs +1334 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/operators.rs +3463 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/types.rs +3070 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator.rs +1589 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/README.md +36 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/benches/benchmark.rs +349 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/examples/simple.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +726 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +59 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/parser.rs +1612 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/aliases.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/canonicals.rs +120 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/names.rs +102 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/start.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/code.rs +146 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/custom.rs +63 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/data.rs +96 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/dylink0.rs +132 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/elements.rs +152 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/exports.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/functions.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/globals.rs +49 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/imports.rs +76 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/init.rs +51 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/memories.rs +56 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/names.rs +153 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/operators.rs +354 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tables.rs +87 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tags.rs +32 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +1141 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers.rs +316 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/resources.rs +398 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +3148 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +1314 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/func.rs +348 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +3466 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +3283 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +1568 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/tests/big-module.rs +33 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +39 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/README.md +47 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +2962 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +873 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/tests/all.rs +278 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/Cargo.toml +183 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/compiler.rs +710 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/component.rs +382 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/instance.rs +727 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/matching.rs +112 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/mod.rs +313 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/config.rs +2066 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine/serialization.rs +622 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine.rs +757 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/externals.rs +763 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func/typed.rs +638 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func.rs +2355 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/instance.rs +905 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/lib.rs +486 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/linker.rs +1479 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/memory.rs +950 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/module.rs +1274 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/ref.rs +109 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/context.rs +243 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/func_refs.rs +85 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store.rs +2166 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/func.rs +133 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/global.rs +67 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types/matching.rs +312 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types.rs +572 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/values.rs +290 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/Cargo.toml +73 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/src/bindgen.rs +316 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/char.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/conventions.wit +39 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/direct-import.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/empty.wit +2 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/flags.wit +55 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/floats.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/function-new.wit +4 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/integers.wit +40 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/lists.wit +85 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/many-arguments.wit +52 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/multi-return.wit +14 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/records.wit +61 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/rename.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/share-types.wit +21 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-functions.wit +17 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-lists.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-wasi.wit +23 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/small-anonymous.wit +15 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-default.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-export.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/strings.wit +12 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/unions.wit +66 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/use-paths.wit +29 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/variants.wit +147 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/worlds-with-types.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen.rs +24 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/compiler.rs +1200 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/debug/transform/simulate.rs +410 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/func_environ.rs +2206 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/lib.rs +178 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/src/lib.rs +120 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.lock +681 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.toml +116 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/compiler.rs +84 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate/inline.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate.rs +1070 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/types.rs +1916 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/fact.rs +623 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module.rs +1083 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module_environ.rs +884 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/trap_encoding.rs +238 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/lib.rs +305 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/unix.rs +212 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/windows.rs +161 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/Cargo.toml +104 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/instantiate.rs +760 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/lib.rs +38 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/jitdump.rs +66 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/perfmap.rs +47 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/vtune.rs +80 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling.rs +108 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/Cargo.toml +110 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/component.rs +701 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/cow.rs +1060 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/debug_builtins.rs +58 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/externref.rs +1073 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator/pooling.rs +1368 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator.rs +531 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance.rs +1345 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/lib.rs +285 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/libcalls.rs +578 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/memory.rs +958 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/miri.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/unix.rs +148 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/windows.rs +208 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/send_sync_ptr.rs +69 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/table.rs +595 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers/unix.rs +387 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers.rs +749 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext/vm_host_func_context.rs +137 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext.rs +1221 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/src/lib.rs +462 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/Cargo.toml +153 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/lib.rs +131 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks/host.rs +73 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks.rs +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/ctx.rs +206 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/error.rs +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/filesystem.rs +269 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/mod.rs +44 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/pipe.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview1/mod.rs +1860 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/clocks.rs +80 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/env.rs +48 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/exit.rs +12 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/filesystem.rs +1020 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/io.rs +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/mod.rs +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/poll.rs +84 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/random.rs +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/random.rs +58 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/subscription.rs +104 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/sync.rs +156 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched.rs +105 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stdio.rs +176 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stream.rs +210 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/table.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/command.rs +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/mod.rs +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/monotonic-clock.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/timezone.wit +63 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/wall-clock.wit +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/filesystem/filesystem.wit +782 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/incoming-handler.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/outgoing-handler.wit +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/types.wit +159 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/io/streams.wit +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/logging/handler.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/poll/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command-extended.wit +36 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command.wit +26 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/proxy.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/reactor.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure-seed.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure.wit +21 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/random.wit +25 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/instance-network.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/ip-name-lookup.wit +69 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/network.wit +187 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp.wit +255 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp.wit +211 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/environment.wit +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/exit.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/preopens.wit +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/stdio.wit +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/main.wit +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/test.wit +19 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/typenames.witx +750 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/wasi_snapshot_preview1.witx +521 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/src/compiler.rs +220 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/Cargo.toml +29 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/lib.rs +1631 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/types.rs +179 -0
- data/ext/cargo-vendor/wiggle-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-10.0.1/Cargo.toml +106 -0
- data/ext/cargo-vendor/wiggle-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-10.0.1/README.md +18 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/src/lib.rs +210 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/Cargo.toml +62 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/local.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/mod.rs +237 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/call.rs +225 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/context.rs +270 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/env.rs +52 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/mod.rs +214 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/frame/mod.rs +172 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/abi.rs +243 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/asm.rs +300 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/masm.rs +230 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/mod.rs +127 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/regs.rs +166 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/mod.rs +215 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/abi.rs +369 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/address.rs +17 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/asm.rs +576 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/masm.rs +288 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/mod.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/regs.rs +192 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/lib.rs +21 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/masm.rs +255 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/regalloc.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/stack.rs +235 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/trampoline.rs +494 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/visitor.rs +353 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/Cargo.toml +62 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/lex.rs +679 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/resolve.rs +1122 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast.rs +1207 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/lib.rs +622 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/live.rs +111 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/resolve.rs +1307 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/all.rs +168 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/comments.wit +25 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep1/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep2/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/join.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared1.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/world.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/embedded.wit.md +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/corp/saas.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/clocks.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/filesystem.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/root.wit +44 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/a.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/b.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/bar.wit +21 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-a.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-b.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/foo.wit +31 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax1.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax3.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax4.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/alias-no-type.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/a.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/b.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-md.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10/bar.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/shared-types.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/type-then-eof.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/types.wit +61 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use-chain.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a1/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a2/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/foo.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/wasi.wit +178 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-diamond.wit +22 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-iface-no-collide.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import1.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import2.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-same-fields4.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-top-level-funcs.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-same-fields5.wit +17 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds.wit +37 -0
- data/ext/src/ruby_api/global.rs +3 -3
- data/ext/src/ruby_api/memory/unsafe_slice.rs +9 -3
- data/ext/src/ruby_api/params.rs +14 -12
- data/ext/src/ruby_api/table.rs +1 -1
- data/lib/wasmtime/version.rb +1 -1
- metadata +1418 -1079
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/Cargo.toml +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/benches/x64-evex-encoding.rs +0 -53
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/ir/trapcode.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/abi.rs +0 -1281
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit.rs +0 -3658
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit_tests.rs +0 -7868
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/imms.rs +0 -1215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/mod.rs +0 -2945
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst.isle +0 -4035
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower/isle.rs +0 -813
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower.isle +0 -2906
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/mod.rs +0 -240
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/mod.rs +0 -420
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/abi.rs +0 -726
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/args.rs +0 -1822
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit.rs +0 -2914
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit_tests.rs +0 -2317
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/encode.rs +0 -188
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/imms.rs +0 -244
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/mod.rs +0 -1823
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/regs.rs +0 -231
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/unwind/systemv.rs +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/vector.rs +0 -354
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst.isle +0 -2746
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst_vector.isle +0 -224
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower/isle.rs +0 -544
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/mod.rs +0 -219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/abi.rs +0 -947
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit.rs +0 -3697
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit_tests.rs +0 -13397
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/mod.rs +0 -3409
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst.isle +0 -5045
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/lower.isle +0 -3991
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/mod.rs +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/abi.rs +0 -978
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/evex.rs +0 -403
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/rex.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/vex.rs +0 -498
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/args.rs +0 -2168
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit.rs +0 -3938
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit_tests.rs +0 -5669
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/mod.rs +0 -2763
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst.isle +0 -5186
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower/isle.rs +0 -1158
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.isle +0 -4262
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.rs +0 -328
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/mod.rs +0 -250
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isle_prelude.rs +0 -818
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/abi.rs +0 -2410
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/buffer.rs +0 -2219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/compile.rs +0 -92
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/isle.rs +0 -827
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/lower.rs +0 -1366
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/mod.rs +0 -538
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/reg.rs +0 -532
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/vcode.rs +0 -1571
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude.isle +0 -552
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude_lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/settings.rs +0 -599
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/verifier/mod.rs +0 -1881
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/Cargo.toml +0 -23
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/isa/x86.rs +0 -445
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/shared/settings.rs +0 -331
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.96.4/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/chaos.rs +0 -78
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/lib.rs +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/zero_sized.rs +0 -42
- data/ext/cargo-vendor/cranelift-entity-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.96.4/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-entity-0.96.4/src/list.rs +0 -868
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-isle-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.96.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-native-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.96.4/Cargo.toml +0 -38
- data/ext/cargo-vendor/cranelift-native-0.96.4/src/lib.rs +0 -216
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/Cargo.toml +0 -85
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/code_translator.rs +0 -3479
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/dummy.rs +0 -901
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/spec.rs +0 -807
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/func_translator.rs +0 -419
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/sections_translator.rs +0 -429
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/translation_utils.rs +0 -108
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/Cargo.toml +0 -36
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/run-tests.sh +0 -11
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/src/lib.rs +0 -162
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/tests/test.rs +0 -267
- data/ext/cargo-vendor/regalloc2-0.8.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/regalloc2-0.8.1/Cargo.toml +0 -72
- data/ext/cargo-vendor/regalloc2-0.8.1/deny.toml +0 -28
- data/ext/cargo-vendor/regalloc2-0.8.1/src/checker.rs +0 -1089
- data/ext/cargo-vendor/regalloc2-0.8.1/src/fuzzing/func.rs +0 -673
- data/ext/cargo-vendor/regalloc2-0.8.1/src/index.rs +0 -188
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/data_structures.rs +0 -688
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/liveranges.rs +0 -1012
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/merge.rs +0 -394
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/mod.rs +0 -152
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/moves.rs +0 -985
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/process.rs +0 -1322
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/requirement.rs +0 -174
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/spill.rs +0 -198
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/stackmap.rs +0 -74
- data/ext/cargo-vendor/regalloc2-0.8.1/src/lib.rs +0 -1523
- data/ext/cargo-vendor/regalloc2-0.8.1/src/moves.rs +0 -438
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/Cargo.toml +0 -89
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/dir.rs +0 -465
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/lib.rs +0 -140
- data/ext/cargo-vendor/wasi-common-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-9.0.4/Cargo.toml +0 -86
- data/ext/cargo-vendor/wasi-common-9.0.4/src/ctx.rs +0 -127
- data/ext/cargo-vendor/wasi-common-9.0.4/src/file.rs +0 -260
- data/ext/cargo-vendor/wasi-common-9.0.4/src/snapshots/preview_1.rs +0 -1490
- data/ext/cargo-vendor/wasmparser-0.103.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.lock +0 -692
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.103.0/benches/benchmark.rs +0 -350
- data/ext/cargo-vendor/wasmparser-0.103.0/src/binary_reader.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.103.0/src/lib.rs +0 -712
- data/ext/cargo-vendor/wasmparser-0.103.0/src/parser.rs +0 -1496
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/canonicals.rs +0 -95
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/exports.rs +0 -105
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/imports.rs +0 -109
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/instances.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/types.rs +0 -508
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/producers.rs +0 -78
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/types.rs +0 -511
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core.rs +0 -33
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/component.rs +0 -2097
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/core.rs +0 -1278
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/operators.rs +0 -3456
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/types.rs +0 -2159
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator.rs +0 -1514
- data/ext/cargo-vendor/wasmtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-9.0.4/Cargo.toml +0 -183
- data/ext/cargo-vendor/wasmtime-9.0.4/build.rs +0 -20
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/component.rs +0 -519
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/instance.rs +0 -728
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/matching.rs +0 -112
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/mod.rs +0 -313
- data/ext/cargo-vendor/wasmtime-9.0.4/src/config.rs +0 -2036
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine/serialization.rs +0 -613
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine.rs +0 -729
- data/ext/cargo-vendor/wasmtime-9.0.4/src/externals.rs +0 -762
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func/typed.rs +0 -638
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func.rs +0 -2385
- data/ext/cargo-vendor/wasmtime-9.0.4/src/instance.rs +0 -905
- data/ext/cargo-vendor/wasmtime-9.0.4/src/lib.rs +0 -481
- data/ext/cargo-vendor/wasmtime-9.0.4/src/linker.rs +0 -1479
- data/ext/cargo-vendor/wasmtime-9.0.4/src/memory.rs +0 -948
- data/ext/cargo-vendor/wasmtime-9.0.4/src/module.rs +0 -1542
- data/ext/cargo-vendor/wasmtime-9.0.4/src/ref.rs +0 -108
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/context.rs +0 -243
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/func_refs.rs +0 -110
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store.rs +0 -2059
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/func.rs +0 -171
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/global.rs +0 -71
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types/matching.rs +0 -254
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types.rs +0 -551
- data/ext/cargo-vendor/wasmtime-9.0.4/src/values.rs +0 -290
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/Cargo.toml +0 -73
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/src/bindgen.rs +0 -316
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/char.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/conventions.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/direct-import.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/empty.wit +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/flags.wit +0 -53
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/floats.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/function-new.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/integers.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/lists.wit +0 -83
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/many-arguments.wit +0 -50
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/multi-return.wit +0 -12
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/records.wit +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/rename.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/share-types.wit +0 -19
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-functions.wit +0 -15
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-lists.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-wasi.wit +0 -21
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/small-anonymous.wit +0 -13
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-default.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-export.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/strings.wit +0 -10
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/unions.wit +0 -64
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/use-paths.wit +0 -27
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/variants.wit +0 -145
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/worlds-with-types.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen.rs +0 -30
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/Cargo.toml +0 -90
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/compiler.rs +0 -1200
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/func_environ.rs +0 -2162
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/lib.rs +0 -177
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/Cargo.toml +0 -57
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/src/lib.rs +0 -119
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.lock +0 -735
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/compiler.rs +0 -84
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate/inline.rs +0 -1064
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate.rs +0 -1066
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/types.rs +0 -1903
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/fact.rs +0 -622
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module.rs +0 -1043
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module_environ.rs +0 -841
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/trap_encoding.rs +0 -234
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/unix.rs +0 -199
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/windows.rs +0 -156
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/Cargo.toml +0 -100
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/instantiate.rs +0 -786
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/lib.rs +0 -39
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_linux.rs +0 -444
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_disabled.rs +0 -28
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_linux.rs +0 -104
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune.rs +0 -147
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling.rs +0 -74
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/Cargo.toml +0 -107
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/component.rs +0 -724
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/cow.rs +0 -1063
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/debug_builtins.rs +0 -56
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/externref.rs +0 -1078
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator/pooling.rs +0 -1371
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator.rs +0 -528
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance.rs +0 -1267
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/lib.rs +0 -286
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/libcalls.rs +0 -597
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/memory.rs +0 -945
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/miri.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/unix.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/windows.rs +0 -207
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/table.rs +0 -573
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers/unix.rs +0 -387
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers.rs +0 -664
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext/vm_host_func_context.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext.rs +0 -1244
- data/ext/cargo-vendor/wasmtime-types-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-9.0.4/Cargo.toml +0 -34
- data/ext/cargo-vendor/wasmtime-types-9.0.4/src/lib.rs +0 -413
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/src/lib.rs +0 -128
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/src/compiler.rs +0 -191
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/lib.rs +0 -1488
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/types.rs +0 -178
- data/ext/cargo-vendor/wiggle-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-9.0.4/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-9.0.4/README.md +0 -18
- data/ext/cargo-vendor/wiggle-generate-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-9.0.4/src/lib.rs +0 -210
- data/ext/cargo-vendor/winch-codegen-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.7.4/Cargo.toml +0 -59
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/local.rs +0 -69
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/mod.rs +0 -223
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/call.rs +0 -215
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/context.rs +0 -259
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/env.rs +0 -19
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/mod.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/frame/mod.rs +0 -166
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/abi.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/asm.rs +0 -244
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/masm.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/mod.rs +0 -122
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/regs.rs +0 -160
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/mod.rs +0 -202
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/abi.rs +0 -337
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/address.rs +0 -17
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/asm.rs +0 -499
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/masm.rs +0 -267
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/mod.rs +0 -135
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/regs.rs +0 -178
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/lib.rs +0 -20
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/masm.rs +0 -213
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/regalloc.rs +0 -61
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/stack.rs +0 -230
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/trampoline.rs +0 -206
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/visitor.rs +0 -215
- data/ext/cargo-vendor/winch-environ-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-environ-0.7.4/Cargo.toml +0 -28
- data/ext/cargo-vendor/winch-environ-0.7.4/src/lib.rs +0 -41
- data/ext/cargo-vendor/wit-parser-0.7.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/Cargo.toml +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/lex.rs +0 -662
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/resolve.rs +0 -1072
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast.rs +0 -1099
- data/ext/cargo-vendor/wit-parser-0.7.1/src/lib.rs +0 -617
- data/ext/cargo-vendor/wit-parser-0.7.1/src/live.rs +0 -123
- data/ext/cargo-vendor/wit-parser-0.7.1/src/resolve.rs +0 -1478
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/all.rs +0 -168
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/comments.wit +0 -23
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/world.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/embedded.wit.md +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/corp/saas.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/root.wit +0 -31
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/functions.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/bar.wit +0 -19
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/foo.wit +0 -15
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/alias-no-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/a.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/b.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/join.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-md.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit.result +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit +0 -13
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit +0 -10
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit +0 -16
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/shared-types.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/type-then-eof.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/types.wit +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit +0 -33
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/wasi.wit +0 -176
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-diamond.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-top-level-funcs.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds.wit +0 -40
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dfg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/DESIGN.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/TODO +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/cfg.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/domtree.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/fuzzing/mod.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/indexset.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/dump.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/redundant_moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/reg_traversal.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/postorder.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasm-encoder-0.29.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmparser-0.107.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmparser-0.111.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmprinter-0.2.63}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-9.0.4 → wasmtime-asm-macros-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-cache-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-9.0.4 → wasmtime-component-util-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-cranelift-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-environ-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/compilation.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-fiber-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-jit-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wasmtime-runtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/component/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/macos.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/windows.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wasmtime-types-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-types-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-9.0.4 → wasmtime-wasi-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-md.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1/tests/ui/empty.wit → wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit} +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
@@ -0,0 +1,2166 @@
|
|
1
|
+
//! Wasmtime's "store" type
|
2
|
+
//!
|
3
|
+
//! This module, and its submodules, contain the `Store` type and various types
|
4
|
+
//! used to interact with it. At first glance this is a pretty confusing module
|
5
|
+
//! where you need to know the difference between:
|
6
|
+
//!
|
7
|
+
//! * `Store<T>`
|
8
|
+
//! * `StoreContext<T>`
|
9
|
+
//! * `StoreContextMut<T>`
|
10
|
+
//! * `AsContext`
|
11
|
+
//! * `AsContextMut`
|
12
|
+
//! * `StoreInner<T>`
|
13
|
+
//! * `StoreOpaque`
|
14
|
+
//! * `StoreData`
|
15
|
+
//!
|
16
|
+
//! There's... quite a lot going on here, and it's easy to be confused. This
|
17
|
+
//! comment is ideally going to serve the purpose of clarifying what all these
|
18
|
+
//! types are for and why they're motivated.
|
19
|
+
//!
|
20
|
+
//! First it's important to know what's "internal" and what's "external". Almost
|
21
|
+
//! everything above is defined as `pub`, but only some of the items are
|
22
|
+
//! reexported to the outside world to be usable from this crate. Otherwise all
|
23
|
+
//! items are `pub` within this `store` module, and the `store` module is
|
24
|
+
//! private to the `wasmtime` crate. Notably `Store<T>`, `StoreContext<T>`,
|
25
|
+
//! `StoreContextMut<T>`, `AsContext`, and `AsContextMut` are all public
|
26
|
+
//! interfaces to the `wasmtime` crate. You can think of these as:
|
27
|
+
//!
|
28
|
+
//! * `Store<T>` - an owned reference to a store, the "root of everything"
|
29
|
+
//! * `StoreContext<T>` - basically `&StoreInner<T>`
|
30
|
+
//! * `StoreContextMut<T>` - more-or-less `&mut StoreInner<T>` with caveats.
|
31
|
+
//! Explained later.
|
32
|
+
//! * `AsContext` - similar to `AsRef`, but produces `StoreContext<T>`
|
33
|
+
//! * `AsContextMut` - similar to `AsMut`, but produces `StoreContextMut<T>`
|
34
|
+
//!
|
35
|
+
//! Next comes the internal structure of the `Store<T>` itself. This looks like:
|
36
|
+
//!
|
37
|
+
//! * `Store<T>` - this type is just a pointer large. It's primarily just
|
38
|
+
//! intended to be consumed by the outside world. Note that the "just a
|
39
|
+
//! pointer large" is a load-bearing implementation detail in Wasmtime. This
|
40
|
+
//! enables it to store a pointer to its own trait object which doesn't need
|
41
|
+
//! to change over time.
|
42
|
+
//!
|
43
|
+
//! * `StoreInner<T>` - the first layer of the contents of a `Store<T>`, what's
|
44
|
+
//! stored inside the `Box`. This is the general Rust pattern when one struct
|
45
|
+
//! is a layer over another. The surprising part, though, is that this is
|
46
|
+
//! further subdivided. This structure only contains things which actually
|
47
|
+
//! need `T` itself. The downside of this structure is that it's always
|
48
|
+
//! generic and means that code is monomorphized into consumer crates. We
|
49
|
+
//! strive to have things be as monomorphic as possible in `wasmtime` so this
|
50
|
+
//! type is not heavily used.
|
51
|
+
//!
|
52
|
+
//! * `StoreOpaque` - this is the primary contents of the `StoreInner<T>` type.
|
53
|
+
//! Stored inline in the outer type the "opaque" here means that it's a
|
54
|
+
//! "store" but it doesn't have access to the `T`. This is the primary
|
55
|
+
//! "internal" reference that Wasmtime uses since `T` is rarely needed by the
|
56
|
+
//! internals of Wasmtime.
|
57
|
+
//!
|
58
|
+
//! * `StoreData` - this is a final helper struct stored within `StoreOpaque`.
|
59
|
+
//! All references of Wasm items into a `Store` are actually indices into a
|
60
|
+
//! table in this structure, and the `StoreData` being separate makes it a bit
|
61
|
+
//! easier to manage/define/work with. There's no real fundamental reason this
|
62
|
+
//! is split out, although sometimes it's useful to have separate borrows into
|
63
|
+
//! these tables than the `StoreOpaque`.
|
64
|
+
//!
|
65
|
+
//! A major caveat with these representations is that the internal `&mut
|
66
|
+
//! StoreInner<T>` is never handed out publicly to consumers of this crate, only
|
67
|
+
//! through a wrapper of `StoreContextMut<'_, T>`. The reason for this is that
|
68
|
+
//! we want to provide mutable, but not destructive, access to the contents of a
|
69
|
+
//! `Store`. For example if a `StoreInner<T>` were replaced with some other
|
70
|
+
//! `StoreInner<T>` then that would drop live instances, possibly those
|
71
|
+
//! currently executing beneath the current stack frame. This would not be a
|
72
|
+
//! safe operation.
|
73
|
+
//!
|
74
|
+
//! This means, though, that the `wasmtime` crate, which liberally uses `&mut
|
75
|
+
//! StoreOpaque` internally, has to be careful to never actually destroy the
|
76
|
+
//! contents of `StoreOpaque`. This is an invariant that we, as the authors of
|
77
|
+
//! `wasmtime`, must uphold for the public interface to be safe.
|
78
|
+
|
79
|
+
use crate::instance::PrePatchedFuncRef;
|
80
|
+
use crate::linker::Definition;
|
81
|
+
use crate::module::BareModuleInfo;
|
82
|
+
use crate::trampoline::VMHostGlobalContext;
|
83
|
+
use crate::{module::ModuleRegistry, Engine, Module, Trap, Val, ValRaw};
|
84
|
+
use anyhow::{anyhow, bail, Result};
|
85
|
+
use std::cell::UnsafeCell;
|
86
|
+
use std::convert::TryFrom;
|
87
|
+
use std::fmt;
|
88
|
+
use std::future::Future;
|
89
|
+
use std::marker;
|
90
|
+
use std::mem::{self, ManuallyDrop};
|
91
|
+
use std::ops::{Deref, DerefMut};
|
92
|
+
use std::pin::Pin;
|
93
|
+
use std::ptr;
|
94
|
+
use std::sync::atomic::AtomicU64;
|
95
|
+
use std::sync::Arc;
|
96
|
+
use std::task::{Context, Poll};
|
97
|
+
use wasmtime_runtime::{
|
98
|
+
InstanceAllocationRequest, InstanceAllocator, InstanceHandle, ModuleInfo,
|
99
|
+
OnDemandInstanceAllocator, SignalHandler, StoreBox, StorePtr, VMContext, VMExternRef,
|
100
|
+
VMExternRefActivationsTable, VMRuntimeLimits, WasmFault,
|
101
|
+
};
|
102
|
+
|
103
|
+
mod context;
|
104
|
+
pub use self::context::*;
|
105
|
+
mod data;
|
106
|
+
pub use self::data::*;
|
107
|
+
mod func_refs;
|
108
|
+
use func_refs::FuncRefs;
|
109
|
+
|
110
|
+
/// A [`Store`] is a collection of WebAssembly instances and host-defined state.
|
111
|
+
///
|
112
|
+
/// All WebAssembly instances and items will be attached to and refer to a
|
113
|
+
/// [`Store`]. For example instances, functions, globals, and tables are all
|
114
|
+
/// attached to a [`Store`]. Instances are created by instantiating a
|
115
|
+
/// [`Module`](crate::Module) within a [`Store`].
|
116
|
+
///
|
117
|
+
/// A [`Store`] is intended to be a short-lived object in a program. No form
|
118
|
+
/// of GC is implemented at this time so once an instance is created within a
|
119
|
+
/// [`Store`] it will not be deallocated until the [`Store`] itself is dropped.
|
120
|
+
/// This makes [`Store`] unsuitable for creating an unbounded number of
|
121
|
+
/// instances in it because [`Store`] will never release this memory. It's
|
122
|
+
/// recommended to have a [`Store`] correspond roughly to the lifetime of a "main
|
123
|
+
/// instance" that an embedding is interested in executing.
|
124
|
+
///
|
125
|
+
/// ## Type parameter `T`
|
126
|
+
///
|
127
|
+
/// Each [`Store`] has a type parameter `T` associated with it. This `T`
|
128
|
+
/// represents state defined by the host. This state will be accessible through
|
129
|
+
/// the [`Caller`](crate::Caller) type that host-defined functions get access
|
130
|
+
/// to. This `T` is suitable for storing `Store`-specific information which
|
131
|
+
/// imported functions may want access to.
|
132
|
+
///
|
133
|
+
/// The data `T` can be accessed through methods like [`Store::data`] and
|
134
|
+
/// [`Store::data_mut`].
|
135
|
+
///
|
136
|
+
/// ## Stores, contexts, oh my
|
137
|
+
///
|
138
|
+
/// Most methods in Wasmtime take something of the form
|
139
|
+
/// [`AsContext`](crate::AsContext) or [`AsContextMut`](crate::AsContextMut) as
|
140
|
+
/// the first argument. These two traits allow ergonomically passing in the
|
141
|
+
/// context you currently have to any method. The primary two sources of
|
142
|
+
/// contexts are:
|
143
|
+
///
|
144
|
+
/// * `Store<T>`
|
145
|
+
/// * `Caller<'_, T>`
|
146
|
+
///
|
147
|
+
/// corresponding to what you create and what you have access to in a host
|
148
|
+
/// function. You can also explicitly acquire a [`StoreContext`] or
|
149
|
+
/// [`StoreContextMut`] and pass that around as well.
|
150
|
+
///
|
151
|
+
/// Note that all methods on [`Store`] are mirrored onto [`StoreContext`],
|
152
|
+
/// [`StoreContextMut`], and [`Caller`](crate::Caller). This way no matter what
|
153
|
+
/// form of context you have you can call various methods, create objects, etc.
|
154
|
+
///
|
155
|
+
/// ## Stores and `Default`
|
156
|
+
///
|
157
|
+
/// You can create a store with default configuration settings using
|
158
|
+
/// `Store::default()`. This will create a brand new [`Engine`] with default
|
159
|
+
/// configuration (see [`Config`](crate::Config) for more information).
|
160
|
+
pub struct Store<T> {
|
161
|
+
// for comments about `ManuallyDrop`, see `Store::into_data`
|
162
|
+
inner: ManuallyDrop<Box<StoreInner<T>>>,
|
163
|
+
}
|
164
|
+
|
165
|
+
#[derive(Copy, Clone, Debug)]
|
166
|
+
/// Passed to the argument of [`Store::call_hook`] to indicate a state transition in
|
167
|
+
/// the WebAssembly VM.
|
168
|
+
pub enum CallHook {
|
169
|
+
/// Indicates the VM is calling a WebAssembly function, from the host.
|
170
|
+
CallingWasm,
|
171
|
+
/// Indicates the VM is returning from a WebAssembly function, to the host.
|
172
|
+
ReturningFromWasm,
|
173
|
+
/// Indicates the VM is calling a host function, from WebAssembly.
|
174
|
+
CallingHost,
|
175
|
+
/// Indicates the VM is returning from a host function, to WebAssembly.
|
176
|
+
ReturningFromHost,
|
177
|
+
}
|
178
|
+
|
179
|
+
impl CallHook {
|
180
|
+
/// Indicates the VM is entering host code (exiting WebAssembly code)
|
181
|
+
pub fn entering_host(&self) -> bool {
|
182
|
+
match self {
|
183
|
+
CallHook::ReturningFromWasm | CallHook::CallingHost => true,
|
184
|
+
_ => false,
|
185
|
+
}
|
186
|
+
}
|
187
|
+
/// Indicates the VM is exiting host code (entering WebAssembly code)
|
188
|
+
pub fn exiting_host(&self) -> bool {
|
189
|
+
match self {
|
190
|
+
CallHook::ReturningFromHost | CallHook::CallingWasm => true,
|
191
|
+
_ => false,
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
/// Internal contents of a `Store<T>` that live on the heap.
|
197
|
+
///
|
198
|
+
/// The members of this struct are those that need to be generic over `T`, the
|
199
|
+
/// store's internal type storage. Otherwise all things that don't rely on `T`
|
200
|
+
/// should go into `StoreOpaque`.
|
201
|
+
pub struct StoreInner<T> {
|
202
|
+
/// Generic metadata about the store that doesn't need access to `T`.
|
203
|
+
inner: StoreOpaque,
|
204
|
+
|
205
|
+
limiter: Option<ResourceLimiterInner<T>>,
|
206
|
+
call_hook: Option<CallHookInner<T>>,
|
207
|
+
epoch_deadline_behavior:
|
208
|
+
Option<Box<dyn FnMut(StoreContextMut<T>) -> Result<UpdateDeadline> + Send + Sync>>,
|
209
|
+
// for comments about `ManuallyDrop`, see `Store::into_data`
|
210
|
+
data: ManuallyDrop<T>,
|
211
|
+
}
|
212
|
+
|
213
|
+
enum ResourceLimiterInner<T> {
|
214
|
+
Sync(Box<dyn FnMut(&mut T) -> &mut (dyn crate::ResourceLimiter) + Send + Sync>),
|
215
|
+
#[cfg(feature = "async")]
|
216
|
+
Async(Box<dyn FnMut(&mut T) -> &mut (dyn crate::ResourceLimiterAsync) + Send + Sync>),
|
217
|
+
}
|
218
|
+
|
219
|
+
/// An object that can take callbacks when the runtime enters or exits hostcalls.
|
220
|
+
#[cfg(feature = "async")]
|
221
|
+
#[async_trait::async_trait]
|
222
|
+
pub trait CallHookHandler<T>: Send {
|
223
|
+
/// A callback to run when wasmtime is about to enter a host call, or when about to
|
224
|
+
/// exit the hostcall.
|
225
|
+
async fn handle_call_event(&self, t: &mut T, ch: CallHook) -> Result<()>;
|
226
|
+
}
|
227
|
+
|
228
|
+
enum CallHookInner<T> {
|
229
|
+
Sync(Box<dyn FnMut(&mut T, CallHook) -> Result<()> + Send + Sync>),
|
230
|
+
#[cfg(feature = "async")]
|
231
|
+
Async(Box<dyn CallHookHandler<T> + Send + Sync>),
|
232
|
+
}
|
233
|
+
|
234
|
+
/// What to do after returning from a callback when the engine epoch reaches
|
235
|
+
/// the deadline for a Store during execution of a function using that store.
|
236
|
+
pub enum UpdateDeadline {
|
237
|
+
/// Extend the deadline by the specified number of ticks.
|
238
|
+
Continue(u64),
|
239
|
+
/// Extend the deadline by the specified number of ticks after yielding to
|
240
|
+
/// the async executor loop. This can only be used with an async [`Store`]
|
241
|
+
/// configured via [`Config::async_support`](crate::Config::async_support).
|
242
|
+
#[cfg(feature = "async")]
|
243
|
+
Yield(u64),
|
244
|
+
}
|
245
|
+
|
246
|
+
// Forward methods on `StoreOpaque` to also being on `StoreInner<T>`
|
247
|
+
impl<T> Deref for StoreInner<T> {
|
248
|
+
type Target = StoreOpaque;
|
249
|
+
fn deref(&self) -> &Self::Target {
|
250
|
+
&self.inner
|
251
|
+
}
|
252
|
+
}
|
253
|
+
|
254
|
+
impl<T> DerefMut for StoreInner<T> {
|
255
|
+
fn deref_mut(&mut self) -> &mut Self::Target {
|
256
|
+
&mut self.inner
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
/// Monomorphic storage for a `Store<T>`.
|
261
|
+
///
|
262
|
+
/// This structure contains the bulk of the metadata about a `Store`. This is
|
263
|
+
/// used internally in Wasmtime when dependence on the `T` of `Store<T>` isn't
|
264
|
+
/// necessary, allowing code to be monomorphic and compiled into the `wasmtime`
|
265
|
+
/// crate itself.
|
266
|
+
pub struct StoreOpaque {
|
267
|
+
// This `StoreOpaque` structure has references to itself. These aren't
|
268
|
+
// immediately evident, however, so we need to tell the compiler that it
|
269
|
+
// contains self-references. This notably suppresses `noalias` annotations
|
270
|
+
// when this shows up in compiled code because types of this structure do
|
271
|
+
// indeed alias itself. An example of this is `default_callee` holds a
|
272
|
+
// `*mut dyn Store` to the address of this `StoreOpaque` itself, indeed
|
273
|
+
// aliasing!
|
274
|
+
//
|
275
|
+
// It's somewhat unclear to me at this time if this is 100% sufficient to
|
276
|
+
// get all the right codegen in all the right places. For example does
|
277
|
+
// `Store` need to internally contain a `Pin<Box<StoreInner<T>>>`? Do the
|
278
|
+
// contexts need to contain `Pin<&mut StoreInner<T>>`? I'm not familiar
|
279
|
+
// enough with `Pin` to understand if it's appropriate here (we do, for
|
280
|
+
// example want to allow movement in and out of `data: T`, just not movement
|
281
|
+
// of most of the other members). It's also not clear if using `Pin` in a
|
282
|
+
// few places buys us much other than a bunch of `unsafe` that we already
|
283
|
+
// sort of hand-wave away.
|
284
|
+
//
|
285
|
+
// In any case this seems like a good mid-ground for now where we're at
|
286
|
+
// least telling the compiler something about all the aliasing happening
|
287
|
+
// within a `Store`.
|
288
|
+
_marker: marker::PhantomPinned,
|
289
|
+
|
290
|
+
engine: Engine,
|
291
|
+
runtime_limits: VMRuntimeLimits,
|
292
|
+
instances: Vec<StoreInstance>,
|
293
|
+
signal_handler: Option<Box<SignalHandler<'static>>>,
|
294
|
+
externref_activations_table: VMExternRefActivationsTable,
|
295
|
+
modules: ModuleRegistry,
|
296
|
+
func_refs: FuncRefs,
|
297
|
+
host_globals: Vec<StoreBox<VMHostGlobalContext>>,
|
298
|
+
|
299
|
+
// Numbers of resources instantiated in this store, and their limits
|
300
|
+
instance_count: usize,
|
301
|
+
instance_limit: usize,
|
302
|
+
memory_count: usize,
|
303
|
+
memory_limit: usize,
|
304
|
+
table_count: usize,
|
305
|
+
table_limit: usize,
|
306
|
+
/// An adjustment to add to the fuel consumed value in `runtime_limits` above
|
307
|
+
/// to get the true amount of fuel consumed.
|
308
|
+
fuel_adj: i64,
|
309
|
+
#[cfg(feature = "async")]
|
310
|
+
async_state: AsyncState,
|
311
|
+
out_of_gas_behavior: OutOfGas,
|
312
|
+
/// Indexed data within this `Store`, used to store information about
|
313
|
+
/// globals, functions, memories, etc.
|
314
|
+
///
|
315
|
+
/// Note that this is `ManuallyDrop` because it needs to be dropped before
|
316
|
+
/// `rooted_host_funcs` below. This structure contains pointers which are
|
317
|
+
/// otherwise kept alive by the `Arc` references in `rooted_host_funcs`.
|
318
|
+
store_data: ManuallyDrop<StoreData>,
|
319
|
+
default_caller: InstanceHandle,
|
320
|
+
|
321
|
+
/// Used to optimzed wasm->host calls when the host function is defined with
|
322
|
+
/// `Func::new` to avoid allocating a new vector each time a function is
|
323
|
+
/// called.
|
324
|
+
hostcall_val_storage: Vec<Val>,
|
325
|
+
/// Same as `hostcall_val_storage`, but for the direction of the host
|
326
|
+
/// calling wasm.
|
327
|
+
wasm_val_raw_storage: Vec<ValRaw>,
|
328
|
+
|
329
|
+
/// A list of lists of definitions which have been used to instantiate
|
330
|
+
/// within this `Store`.
|
331
|
+
///
|
332
|
+
/// Note that not all instantiations end up pushing to this list. At the
|
333
|
+
/// time of this writing only the `InstancePre<T>` type will push to this
|
334
|
+
/// list. Pushes to this list are typically accompanied with
|
335
|
+
/// `HostFunc::to_func_store_rooted` to clone an `Arc` here once which
|
336
|
+
/// preserves a strong reference to the `Arc` for each `HostFunc` stored
|
337
|
+
/// within the list of `Definition`s.
|
338
|
+
///
|
339
|
+
/// Note that this is `ManuallyDrop` as it must be dropped after
|
340
|
+
/// `store_data` above, where the function pointers are stored.
|
341
|
+
rooted_host_funcs: ManuallyDrop<Vec<Arc<[Definition]>>>,
|
342
|
+
}
|
343
|
+
|
344
|
+
#[cfg(feature = "async")]
|
345
|
+
struct AsyncState {
|
346
|
+
current_suspend: UnsafeCell<*const wasmtime_fiber::Suspend<Result<()>, (), Result<()>>>,
|
347
|
+
current_poll_cx: UnsafeCell<*mut Context<'static>>,
|
348
|
+
}
|
349
|
+
|
350
|
+
// Lots of pesky unsafe cells and pointers in this structure. This means we need
|
351
|
+
// to declare explicitly that we use this in a threadsafe fashion.
|
352
|
+
#[cfg(feature = "async")]
|
353
|
+
unsafe impl Send for AsyncState {}
|
354
|
+
#[cfg(feature = "async")]
|
355
|
+
unsafe impl Sync for AsyncState {}
|
356
|
+
|
357
|
+
/// An RAII type to automatically mark a region of code as unsafe for GC.
|
358
|
+
pub(crate) struct AutoAssertNoGc<T>
|
359
|
+
where
|
360
|
+
T: std::ops::DerefMut<Target = StoreOpaque>,
|
361
|
+
{
|
362
|
+
#[cfg(debug_assertions)]
|
363
|
+
prev_okay: bool,
|
364
|
+
store: T,
|
365
|
+
}
|
366
|
+
|
367
|
+
impl<T> AutoAssertNoGc<T>
|
368
|
+
where
|
369
|
+
T: std::ops::DerefMut<Target = StoreOpaque>,
|
370
|
+
{
|
371
|
+
pub fn new(mut store: T) -> Self {
|
372
|
+
let _ = &mut store;
|
373
|
+
#[cfg(debug_assertions)]
|
374
|
+
{
|
375
|
+
let prev_okay = store.externref_activations_table.set_gc_okay(false);
|
376
|
+
return AutoAssertNoGc { store, prev_okay };
|
377
|
+
}
|
378
|
+
#[cfg(not(debug_assertions))]
|
379
|
+
{
|
380
|
+
return AutoAssertNoGc { store };
|
381
|
+
}
|
382
|
+
}
|
383
|
+
}
|
384
|
+
|
385
|
+
impl<T> std::ops::Deref for AutoAssertNoGc<T>
|
386
|
+
where
|
387
|
+
T: std::ops::DerefMut<Target = StoreOpaque>,
|
388
|
+
{
|
389
|
+
type Target = T;
|
390
|
+
|
391
|
+
fn deref(&self) -> &Self::Target {
|
392
|
+
&self.store
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
impl<T> std::ops::DerefMut for AutoAssertNoGc<T>
|
397
|
+
where
|
398
|
+
T: std::ops::DerefMut<Target = StoreOpaque>,
|
399
|
+
{
|
400
|
+
fn deref_mut(&mut self) -> &mut Self::Target {
|
401
|
+
&mut self.store
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
impl<T> Drop for AutoAssertNoGc<T>
|
406
|
+
where
|
407
|
+
T: std::ops::DerefMut<Target = StoreOpaque>,
|
408
|
+
{
|
409
|
+
fn drop(&mut self) {
|
410
|
+
#[cfg(debug_assertions)]
|
411
|
+
{
|
412
|
+
self.store
|
413
|
+
.externref_activations_table
|
414
|
+
.set_gc_okay(self.prev_okay);
|
415
|
+
}
|
416
|
+
}
|
417
|
+
}
|
418
|
+
|
419
|
+
/// Used to associate instances with the store.
|
420
|
+
///
|
421
|
+
/// This is needed to track if the instance was allocated explicitly with the on-demand
|
422
|
+
/// instance allocator.
|
423
|
+
struct StoreInstance {
|
424
|
+
handle: InstanceHandle,
|
425
|
+
// Stores whether or not to use the on-demand allocator to deallocate the instance
|
426
|
+
ondemand: bool,
|
427
|
+
}
|
428
|
+
|
429
|
+
#[derive(Copy, Clone)]
|
430
|
+
enum OutOfGas {
|
431
|
+
Trap,
|
432
|
+
InjectFuel {
|
433
|
+
injection_count: u64,
|
434
|
+
fuel_to_inject: u64,
|
435
|
+
},
|
436
|
+
}
|
437
|
+
|
438
|
+
impl<T> Store<T> {
|
439
|
+
/// Creates a new [`Store`] to be associated with the given [`Engine`] and
|
440
|
+
/// `data` provided.
|
441
|
+
///
|
442
|
+
/// The created [`Store`] will place no additional limits on the size of
|
443
|
+
/// linear memories or tables at runtime. Linear memories and tables will
|
444
|
+
/// be allowed to grow to any upper limit specified in their definitions.
|
445
|
+
/// The store will limit the number of instances, linear memories, and
|
446
|
+
/// tables created to 10,000. This can be overridden with the
|
447
|
+
/// [`Store::limiter`] configuration method.
|
448
|
+
pub fn new(engine: &Engine, data: T) -> Self {
|
449
|
+
let mut inner = Box::new(StoreInner {
|
450
|
+
inner: StoreOpaque {
|
451
|
+
_marker: marker::PhantomPinned,
|
452
|
+
engine: engine.clone(),
|
453
|
+
runtime_limits: Default::default(),
|
454
|
+
instances: Vec::new(),
|
455
|
+
signal_handler: None,
|
456
|
+
externref_activations_table: VMExternRefActivationsTable::new(),
|
457
|
+
modules: ModuleRegistry::default(),
|
458
|
+
func_refs: FuncRefs::default(),
|
459
|
+
host_globals: Vec::new(),
|
460
|
+
instance_count: 0,
|
461
|
+
instance_limit: crate::DEFAULT_INSTANCE_LIMIT,
|
462
|
+
memory_count: 0,
|
463
|
+
memory_limit: crate::DEFAULT_MEMORY_LIMIT,
|
464
|
+
table_count: 0,
|
465
|
+
table_limit: crate::DEFAULT_TABLE_LIMIT,
|
466
|
+
fuel_adj: 0,
|
467
|
+
#[cfg(feature = "async")]
|
468
|
+
async_state: AsyncState {
|
469
|
+
current_suspend: UnsafeCell::new(ptr::null()),
|
470
|
+
current_poll_cx: UnsafeCell::new(ptr::null_mut()),
|
471
|
+
},
|
472
|
+
out_of_gas_behavior: OutOfGas::Trap,
|
473
|
+
store_data: ManuallyDrop::new(StoreData::new()),
|
474
|
+
default_caller: InstanceHandle::null(),
|
475
|
+
hostcall_val_storage: Vec::new(),
|
476
|
+
wasm_val_raw_storage: Vec::new(),
|
477
|
+
rooted_host_funcs: ManuallyDrop::new(Vec::new()),
|
478
|
+
},
|
479
|
+
limiter: None,
|
480
|
+
call_hook: None,
|
481
|
+
epoch_deadline_behavior: None,
|
482
|
+
data: ManuallyDrop::new(data),
|
483
|
+
});
|
484
|
+
|
485
|
+
// Wasmtime uses the callee argument to host functions to learn about
|
486
|
+
// the original pointer to the `Store` itself, allowing it to
|
487
|
+
// reconstruct a `StoreContextMut<T>`. When we initially call a `Func`,
|
488
|
+
// however, there's no "callee" to provide. To fix this we allocate a
|
489
|
+
// single "default callee" for the entire `Store`. This is then used as
|
490
|
+
// part of `Func::call` to guarantee that the `callee: *mut VMContext`
|
491
|
+
// is never null.
|
492
|
+
inner.default_caller = {
|
493
|
+
let module = Arc::new(wasmtime_environ::Module::default());
|
494
|
+
let shim = BareModuleInfo::empty(module).into_traitobj();
|
495
|
+
let mut instance = OnDemandInstanceAllocator::default()
|
496
|
+
.allocate(InstanceAllocationRequest {
|
497
|
+
host_state: Box::new(()),
|
498
|
+
imports: Default::default(),
|
499
|
+
store: StorePtr::empty(),
|
500
|
+
runtime_info: &shim,
|
501
|
+
})
|
502
|
+
.expect("failed to allocate default callee");
|
503
|
+
|
504
|
+
// Note the erasure of the lifetime here into `'static`, so in
|
505
|
+
// general usage of this trait object must be strictly bounded to
|
506
|
+
// the `Store` itself, and is a variant that we have to maintain
|
507
|
+
// throughout Wasmtime.
|
508
|
+
unsafe {
|
509
|
+
let traitobj = std::mem::transmute::<
|
510
|
+
*mut (dyn wasmtime_runtime::Store + '_),
|
511
|
+
*mut (dyn wasmtime_runtime::Store + 'static),
|
512
|
+
>(&mut *inner);
|
513
|
+
instance.set_store(traitobj);
|
514
|
+
}
|
515
|
+
instance
|
516
|
+
};
|
517
|
+
|
518
|
+
Self {
|
519
|
+
inner: ManuallyDrop::new(inner),
|
520
|
+
}
|
521
|
+
}
|
522
|
+
|
523
|
+
/// Access the underlying data owned by this `Store`.
|
524
|
+
#[inline]
|
525
|
+
pub fn data(&self) -> &T {
|
526
|
+
self.inner.data()
|
527
|
+
}
|
528
|
+
|
529
|
+
/// Access the underlying data owned by this `Store`.
|
530
|
+
#[inline]
|
531
|
+
pub fn data_mut(&mut self) -> &mut T {
|
532
|
+
self.inner.data_mut()
|
533
|
+
}
|
534
|
+
|
535
|
+
/// Consumes this [`Store`], destroying it, and returns the underlying data.
|
536
|
+
pub fn into_data(mut self) -> T {
|
537
|
+
// This is an unsafe operation because we want to avoid having a runtime
|
538
|
+
// check or boolean for whether the data is actually contained within a
|
539
|
+
// `Store`. The data itself is stored as `ManuallyDrop` since we're
|
540
|
+
// manually managing the memory here, and there's also a `ManuallyDrop`
|
541
|
+
// around the `Box<StoreInner<T>>`. The way this works though is a bit
|
542
|
+
// tricky, so here's how things get dropped appropriately:
|
543
|
+
//
|
544
|
+
// * When a `Store<T>` is normally dropped, the custom destructor for
|
545
|
+
// `Store<T>` will drop `T`, then the `self.inner` field. The
|
546
|
+
// rustc-glue destructor runs for `Box<StoreInner<T>>` which drops
|
547
|
+
// `StoreInner<T>`. This cleans up all internal fields and doesn't
|
548
|
+
// touch `T` because it's wrapped in `ManuallyDrop`.
|
549
|
+
//
|
550
|
+
// * When calling this method we skip the top-level destructor for
|
551
|
+
// `Store<T>` with `mem::forget`. This skips both the destructor for
|
552
|
+
// `T` and the destructor for `StoreInner<T>`. We do, however, run the
|
553
|
+
// destructor for `Box<StoreInner<T>>` which, like above, will skip
|
554
|
+
// the destructor for `T` since it's `ManuallyDrop`.
|
555
|
+
//
|
556
|
+
// In both cases all the other fields of `StoreInner<T>` should all get
|
557
|
+
// dropped, and the manual management of destructors is basically
|
558
|
+
// between this method and `Drop for Store<T>`. Note that this also
|
559
|
+
// means that `Drop for StoreInner<T>` cannot access `self.data`, so
|
560
|
+
// there is a comment indicating this as well.
|
561
|
+
unsafe {
|
562
|
+
let mut inner = ManuallyDrop::take(&mut self.inner);
|
563
|
+
std::mem::forget(self);
|
564
|
+
ManuallyDrop::take(&mut inner.data)
|
565
|
+
}
|
566
|
+
}
|
567
|
+
|
568
|
+
/// Configures the [`ResourceLimiter`] used to limit resource creation
|
569
|
+
/// within this [`Store`].
|
570
|
+
///
|
571
|
+
/// Whenever resources such as linear memory, tables, or instances are
|
572
|
+
/// allocated the `limiter` specified here is invoked with the store's data
|
573
|
+
/// `T` and the returned [`ResourceLimiter`] is used to limit the operation
|
574
|
+
/// being allocated. The returned [`ResourceLimiter`] is intended to live
|
575
|
+
/// within the `T` itself, for example by storing a
|
576
|
+
/// [`StoreLimits`](crate::StoreLimits).
|
577
|
+
///
|
578
|
+
/// Note that this limiter is only used to limit the creation/growth of
|
579
|
+
/// resources in the future, this does not retroactively attempt to apply
|
580
|
+
/// limits to the [`Store`].
|
581
|
+
///
|
582
|
+
/// # Examples
|
583
|
+
///
|
584
|
+
/// ```
|
585
|
+
/// use wasmtime::*;
|
586
|
+
///
|
587
|
+
/// struct MyApplicationState {
|
588
|
+
/// my_state: u32,
|
589
|
+
/// limits: StoreLimits,
|
590
|
+
/// }
|
591
|
+
///
|
592
|
+
/// let engine = Engine::default();
|
593
|
+
/// let my_state = MyApplicationState {
|
594
|
+
/// my_state: 42,
|
595
|
+
/// limits: StoreLimitsBuilder::new()
|
596
|
+
/// .memory_size(1 << 20 /* 1 MB */)
|
597
|
+
/// .instances(2)
|
598
|
+
/// .build(),
|
599
|
+
/// };
|
600
|
+
/// let mut store = Store::new(&engine, my_state);
|
601
|
+
/// store.limiter(|state| &mut state.limits);
|
602
|
+
///
|
603
|
+
/// // Creation of smaller memories is allowed
|
604
|
+
/// Memory::new(&mut store, MemoryType::new(1, None)).unwrap();
|
605
|
+
///
|
606
|
+
/// // Creation of a larger memory, however, will exceed the 1MB limit we've
|
607
|
+
/// // configured
|
608
|
+
/// assert!(Memory::new(&mut store, MemoryType::new(1000, None)).is_err());
|
609
|
+
///
|
610
|
+
/// // The number of instances in this store is limited to 2, so the third
|
611
|
+
/// // instance here should fail.
|
612
|
+
/// let module = Module::new(&engine, "(module)").unwrap();
|
613
|
+
/// assert!(Instance::new(&mut store, &module, &[]).is_ok());
|
614
|
+
/// assert!(Instance::new(&mut store, &module, &[]).is_ok());
|
615
|
+
/// assert!(Instance::new(&mut store, &module, &[]).is_err());
|
616
|
+
/// ```
|
617
|
+
///
|
618
|
+
/// [`ResourceLimiter`]: crate::ResourceLimiter
|
619
|
+
pub fn limiter(
|
620
|
+
&mut self,
|
621
|
+
mut limiter: impl FnMut(&mut T) -> &mut (dyn crate::ResourceLimiter) + Send + Sync + 'static,
|
622
|
+
) {
|
623
|
+
// Apply the limits on instances, tables, and memory given by the limiter:
|
624
|
+
let inner = &mut self.inner;
|
625
|
+
let (instance_limit, table_limit, memory_limit) = {
|
626
|
+
let l = limiter(&mut inner.data);
|
627
|
+
(l.instances(), l.tables(), l.memories())
|
628
|
+
};
|
629
|
+
let innermost = &mut inner.inner;
|
630
|
+
innermost.instance_limit = instance_limit;
|
631
|
+
innermost.table_limit = table_limit;
|
632
|
+
innermost.memory_limit = memory_limit;
|
633
|
+
|
634
|
+
// Save the limiter accessor function:
|
635
|
+
inner.limiter = Some(ResourceLimiterInner::Sync(Box::new(limiter)));
|
636
|
+
}
|
637
|
+
|
638
|
+
/// Configures the [`ResourceLimiterAsync`](crate::ResourceLimiterAsync)
|
639
|
+
/// used to limit resource creation within this [`Store`].
|
640
|
+
///
|
641
|
+
/// This method is an asynchronous variant of the [`Store::limiter`] method
|
642
|
+
/// where the embedder can block the wasm request for more resources with
|
643
|
+
/// host `async` execution of futures.
|
644
|
+
///
|
645
|
+
/// By using a [`ResourceLimiterAsync`](`crate::ResourceLimiterAsync`)
|
646
|
+
/// with a [`Store`], you can no longer use
|
647
|
+
/// [`Memory::new`](`crate::Memory::new`),
|
648
|
+
/// [`Memory::grow`](`crate::Memory::grow`),
|
649
|
+
/// [`Table::new`](`crate::Table::new`), and
|
650
|
+
/// [`Table::grow`](`crate::Table::grow`). Instead, you must use their
|
651
|
+
/// `async` variants: [`Memory::new_async`](`crate::Memory::new_async`),
|
652
|
+
/// [`Memory::grow_async`](`crate::Memory::grow_async`),
|
653
|
+
/// [`Table::new_async`](`crate::Table::new_async`), and
|
654
|
+
/// [`Table::grow_async`](`crate::Table::grow_async`).
|
655
|
+
///
|
656
|
+
/// Note that this limiter is only used to limit the creation/growth of
|
657
|
+
/// resources in the future, this does not retroactively attempt to apply
|
658
|
+
/// limits to the [`Store`]. Additionally this must be used with an async
|
659
|
+
/// [`Store`] configured via
|
660
|
+
/// [`Config::async_support`](crate::Config::async_support).
|
661
|
+
#[cfg(feature = "async")]
|
662
|
+
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
663
|
+
pub fn limiter_async(
|
664
|
+
&mut self,
|
665
|
+
mut limiter: impl FnMut(&mut T) -> &mut (dyn crate::ResourceLimiterAsync)
|
666
|
+
+ Send
|
667
|
+
+ Sync
|
668
|
+
+ 'static,
|
669
|
+
) {
|
670
|
+
debug_assert!(self.inner.async_support());
|
671
|
+
// Apply the limits on instances, tables, and memory given by the limiter:
|
672
|
+
let inner = &mut self.inner;
|
673
|
+
let (instance_limit, table_limit, memory_limit) = {
|
674
|
+
let l = limiter(&mut inner.data);
|
675
|
+
(l.instances(), l.tables(), l.memories())
|
676
|
+
};
|
677
|
+
let innermost = &mut inner.inner;
|
678
|
+
innermost.instance_limit = instance_limit;
|
679
|
+
innermost.table_limit = table_limit;
|
680
|
+
innermost.memory_limit = memory_limit;
|
681
|
+
|
682
|
+
// Save the limiter accessor function:
|
683
|
+
inner.limiter = Some(ResourceLimiterInner::Async(Box::new(limiter)));
|
684
|
+
}
|
685
|
+
|
686
|
+
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
687
|
+
/// Configures an async function that runs on calls and returns between
|
688
|
+
/// WebAssembly and host code. For the non-async equivalent of this method,
|
689
|
+
/// see [`Store::call_hook`].
|
690
|
+
///
|
691
|
+
/// The function is passed a [`CallHook`] argument, which indicates which
|
692
|
+
/// state transition the VM is making.
|
693
|
+
///
|
694
|
+
/// This function's future may return a [`Trap`]. If a trap is returned
|
695
|
+
/// when an import was called, it is immediately raised as-if the host
|
696
|
+
/// import had returned the trap. If a trap is returned after wasm returns
|
697
|
+
/// to the host then the wasm function's result is ignored and this trap is
|
698
|
+
/// returned instead.
|
699
|
+
///
|
700
|
+
/// After this function returns a trap, it may be called for subsequent
|
701
|
+
/// returns to host or wasm code as the trap propagates to the root call.
|
702
|
+
#[cfg(feature = "async")]
|
703
|
+
pub fn call_hook_async(&mut self, hook: impl CallHookHandler<T> + Send + Sync + 'static) {
|
704
|
+
self.inner.call_hook = Some(CallHookInner::Async(Box::new(hook)));
|
705
|
+
}
|
706
|
+
|
707
|
+
/// Configure a function that runs on calls and returns between WebAssembly
|
708
|
+
/// and host code.
|
709
|
+
///
|
710
|
+
/// The function is passed a [`CallHook`] argument, which indicates which
|
711
|
+
/// state transition the VM is making.
|
712
|
+
///
|
713
|
+
/// This function may return a [`Trap`]. If a trap is returned when an
|
714
|
+
/// import was called, it is immediately raised as-if the host import had
|
715
|
+
/// returned the trap. If a trap is returned after wasm returns to the host
|
716
|
+
/// then the wasm function's result is ignored and this trap is returned
|
717
|
+
/// instead.
|
718
|
+
///
|
719
|
+
/// After this function returns a trap, it may be called for subsequent returns
|
720
|
+
/// to host or wasm code as the trap propagates to the root call.
|
721
|
+
pub fn call_hook(
|
722
|
+
&mut self,
|
723
|
+
hook: impl FnMut(&mut T, CallHook) -> Result<()> + Send + Sync + 'static,
|
724
|
+
) {
|
725
|
+
self.inner.call_hook = Some(CallHookInner::Sync(Box::new(hook)));
|
726
|
+
}
|
727
|
+
|
728
|
+
/// Returns the [`Engine`] that this store is associated with.
|
729
|
+
pub fn engine(&self) -> &Engine {
|
730
|
+
self.inner.engine()
|
731
|
+
}
|
732
|
+
|
733
|
+
/// Perform garbage collection of `ExternRef`s.
|
734
|
+
///
|
735
|
+
/// Note that it is not required to actively call this function. GC will
|
736
|
+
/// automatically happen when internal buffers fill up. This is provided if
|
737
|
+
/// fine-grained control over the GC is desired.
|
738
|
+
pub fn gc(&mut self) {
|
739
|
+
self.inner.gc()
|
740
|
+
}
|
741
|
+
|
742
|
+
/// Returns the amount of fuel consumed by this store's execution so far.
|
743
|
+
///
|
744
|
+
/// If fuel consumption is not enabled via
|
745
|
+
/// [`Config::consume_fuel`](crate::Config::consume_fuel) then this
|
746
|
+
/// function will return `None`. Also note that fuel, if enabled, must be
|
747
|
+
/// originally configured via [`Store::add_fuel`].
|
748
|
+
pub fn fuel_consumed(&self) -> Option<u64> {
|
749
|
+
self.inner.fuel_consumed()
|
750
|
+
}
|
751
|
+
|
752
|
+
/// Returns remaining fuel in this [`Store`].
|
753
|
+
///
|
754
|
+
/// If fuel consumption is not enabled via
|
755
|
+
/// [`Config::consume_fuel`](crate::Config::consume_fuel) then this
|
756
|
+
/// function will return `None`. Also note that fuel, if enabled, must be
|
757
|
+
/// originally configured via [`Store::add_fuel`].
|
758
|
+
pub fn fuel_remaining(&mut self) -> Option<u64> {
|
759
|
+
self.inner.fuel_remaining()
|
760
|
+
}
|
761
|
+
|
762
|
+
/// Adds fuel to this [`Store`] for wasm to consume while executing.
|
763
|
+
///
|
764
|
+
/// For this method to work fuel consumption must be enabled via
|
765
|
+
/// [`Config::consume_fuel`](crate::Config::consume_fuel). By default a
|
766
|
+
/// [`Store`] starts with 0 fuel for wasm to execute with (meaning it will
|
767
|
+
/// immediately trap). This function must be called for the store to have
|
768
|
+
/// some fuel to allow WebAssembly to execute.
|
769
|
+
///
|
770
|
+
/// Most WebAssembly instructions consume 1 unit of fuel. Some
|
771
|
+
/// instructions, such as `nop`, `drop`, `block`, and `loop`, consume 0
|
772
|
+
/// units, as any execution cost associated with them involves other
|
773
|
+
/// instructions which do consume fuel.
|
774
|
+
///
|
775
|
+
/// Note that at this time when fuel is entirely consumed it will cause
|
776
|
+
/// wasm to trap. More usages of fuel are planned for the future.
|
777
|
+
///
|
778
|
+
/// # Errors
|
779
|
+
///
|
780
|
+
/// This function will return an error if fuel consumption is not enabled via
|
781
|
+
/// [`Config::consume_fuel`](crate::Config::consume_fuel).
|
782
|
+
pub fn add_fuel(&mut self, fuel: u64) -> Result<()> {
|
783
|
+
self.inner.add_fuel(fuel)
|
784
|
+
}
|
785
|
+
|
786
|
+
/// Synthetically consumes fuel from this [`Store`].
|
787
|
+
///
|
788
|
+
/// For this method to work fuel consumption must be enabled via
|
789
|
+
/// [`Config::consume_fuel`](crate::Config::consume_fuel).
|
790
|
+
///
|
791
|
+
/// WebAssembly execution will automatically consume fuel but if so desired
|
792
|
+
/// the embedder can also consume fuel manually to account for relative
|
793
|
+
/// costs of host functions, for example.
|
794
|
+
///
|
795
|
+
/// This function will attempt to consume `fuel` units of fuel from within
|
796
|
+
/// this store. If the remaining amount of fuel allows this then `Ok(N)` is
|
797
|
+
/// returned where `N` is the amount of remaining fuel. Otherwise an error
|
798
|
+
/// is returned and no fuel is consumed.
|
799
|
+
///
|
800
|
+
/// # Errors
|
801
|
+
///
|
802
|
+
/// This function will return an error either if fuel consumption is not
|
803
|
+
/// enabled via [`Config::consume_fuel`](crate::Config::consume_fuel) or if
|
804
|
+
/// `fuel` exceeds the amount of remaining fuel within this store.
|
805
|
+
pub fn consume_fuel(&mut self, fuel: u64) -> Result<u64> {
|
806
|
+
self.inner.consume_fuel(fuel)
|
807
|
+
}
|
808
|
+
|
809
|
+
/// Configures a [`Store`] to generate a [`Trap`] whenever it runs out of
|
810
|
+
/// fuel.
|
811
|
+
///
|
812
|
+
/// When a [`Store`] is configured to consume fuel with
|
813
|
+
/// [`Config::consume_fuel`](crate::Config::consume_fuel) this method will
|
814
|
+
/// configure what happens when fuel runs out. Specifically a WebAssembly
|
815
|
+
/// trap will be raised and the current execution of WebAssembly will be
|
816
|
+
/// aborted.
|
817
|
+
///
|
818
|
+
/// This is the default behavior for running out of fuel.
|
819
|
+
pub fn out_of_fuel_trap(&mut self) {
|
820
|
+
self.inner.out_of_fuel_trap()
|
821
|
+
}
|
822
|
+
|
823
|
+
/// Configures a [`Store`] to yield execution of async WebAssembly code
|
824
|
+
/// periodically.
|
825
|
+
///
|
826
|
+
/// When a [`Store`] is configured to consume fuel with
|
827
|
+
/// [`Config::consume_fuel`](crate::Config::consume_fuel) this method will
|
828
|
+
/// configure what happens when fuel runs out. Specifically executing
|
829
|
+
/// WebAssembly will be suspended and control will be yielded back to the
|
830
|
+
/// caller. This is only suitable with use of a store associated with an [async
|
831
|
+
/// config](crate::Config::async_support) because only then are futures used and yields
|
832
|
+
/// are possible.
|
833
|
+
///
|
834
|
+
/// The purpose of this behavior is to ensure that futures which represent
|
835
|
+
/// execution of WebAssembly do not execute too long inside their
|
836
|
+
/// `Future::poll` method. This allows for some form of cooperative
|
837
|
+
/// multitasking where WebAssembly will voluntarily yield control
|
838
|
+
/// periodically (based on fuel consumption) back to the running thread.
|
839
|
+
///
|
840
|
+
/// Note that futures returned by this crate will automatically flag
|
841
|
+
/// themselves to get re-polled if a yield happens. This means that
|
842
|
+
/// WebAssembly will continue to execute, just after giving the host an
|
843
|
+
/// opportunity to do something else.
|
844
|
+
///
|
845
|
+
/// The `fuel_to_inject` parameter indicates how much fuel should be
|
846
|
+
/// automatically re-injected after fuel runs out. This is how much fuel
|
847
|
+
/// will be consumed between yields of an async future.
|
848
|
+
///
|
849
|
+
/// The `injection_count` parameter indicates how many times this fuel will
|
850
|
+
/// be injected. Multiplying the two parameters is the total amount of fuel
|
851
|
+
/// this store is allowed before wasm traps.
|
852
|
+
///
|
853
|
+
/// # Panics
|
854
|
+
///
|
855
|
+
/// This method will panic if it is not called on a store associated with an [async
|
856
|
+
/// config](crate::Config::async_support).
|
857
|
+
pub fn out_of_fuel_async_yield(&mut self, injection_count: u64, fuel_to_inject: u64) {
|
858
|
+
self.inner
|
859
|
+
.out_of_fuel_async_yield(injection_count, fuel_to_inject)
|
860
|
+
}
|
861
|
+
|
862
|
+
/// Sets the epoch deadline to a certain number of ticks in the future.
|
863
|
+
///
|
864
|
+
/// When the Wasm guest code is compiled with epoch-interruption
|
865
|
+
/// instrumentation
|
866
|
+
/// ([`Config::epoch_interruption()`](crate::Config::epoch_interruption)),
|
867
|
+
/// and when the `Engine`'s epoch is incremented
|
868
|
+
/// ([`Engine::increment_epoch()`](crate::Engine::increment_epoch))
|
869
|
+
/// past a deadline, execution can be configured to either trap or
|
870
|
+
/// yield and then continue.
|
871
|
+
///
|
872
|
+
/// This deadline is always set relative to the current epoch:
|
873
|
+
/// `delta_beyond_current` ticks in the future. The deadline can
|
874
|
+
/// be set explicitly via this method, or refilled automatically
|
875
|
+
/// on a yield if configured via
|
876
|
+
/// [`epoch_deadline_async_yield_and_update()`](Store::epoch_deadline_async_yield_and_update). After
|
877
|
+
/// this method is invoked, the deadline is reached when
|
878
|
+
/// [`Engine::increment_epoch()`] has been invoked at least
|
879
|
+
/// `ticks_beyond_current` times.
|
880
|
+
///
|
881
|
+
/// By default a store will trap immediately with an epoch deadline of 0
|
882
|
+
/// (which has always "elapsed"). This method is required to be configured
|
883
|
+
/// for stores with epochs enabled to some future epoch deadline.
|
884
|
+
///
|
885
|
+
/// See documentation on
|
886
|
+
/// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
|
887
|
+
/// for an introduction to epoch-based interruption.
|
888
|
+
pub fn set_epoch_deadline(&mut self, ticks_beyond_current: u64) {
|
889
|
+
self.inner.set_epoch_deadline(ticks_beyond_current);
|
890
|
+
}
|
891
|
+
|
892
|
+
/// Configures epoch-deadline expiration to trap.
|
893
|
+
///
|
894
|
+
/// When epoch-interruption-instrumented code is executed on this
|
895
|
+
/// store and the epoch deadline is reached before completion,
|
896
|
+
/// with the store configured in this way, execution will
|
897
|
+
/// terminate with a trap as soon as an epoch check in the
|
898
|
+
/// instrumented code is reached.
|
899
|
+
///
|
900
|
+
/// This behavior is the default if the store is not otherwise
|
901
|
+
/// configured via
|
902
|
+
/// [`epoch_deadline_trap()`](Store::epoch_deadline_trap),
|
903
|
+
/// [`epoch_deadline_callback()`](Store::epoch_deadline_callback) or
|
904
|
+
/// [`epoch_deadline_async_yield_and_update()`](Store::epoch_deadline_async_yield_and_update).
|
905
|
+
///
|
906
|
+
/// This setting is intended to allow for coarse-grained
|
907
|
+
/// interruption, but not a deterministic deadline of a fixed,
|
908
|
+
/// finite interval. For deterministic interruption, see the
|
909
|
+
/// "fuel" mechanism instead.
|
910
|
+
///
|
911
|
+
/// Note that when this is used it's required to call
|
912
|
+
/// [`Store::set_epoch_deadline`] or otherwise wasm will always immediately
|
913
|
+
/// trap.
|
914
|
+
///
|
915
|
+
/// See documentation on
|
916
|
+
/// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
|
917
|
+
/// for an introduction to epoch-based interruption.
|
918
|
+
pub fn epoch_deadline_trap(&mut self) {
|
919
|
+
self.inner.epoch_deadline_trap();
|
920
|
+
}
|
921
|
+
|
922
|
+
/// Configures epoch-deadline expiration to invoke a custom callback
|
923
|
+
/// function.
|
924
|
+
///
|
925
|
+
/// When epoch-interruption-instrumented code is executed on this
|
926
|
+
/// store and the epoch deadline is reached before completion, the
|
927
|
+
/// provided callback function is invoked.
|
928
|
+
///
|
929
|
+
/// This callback should either return an [`UpdateDeadline`], or
|
930
|
+
/// return an error, which will terminate execution with a trap.
|
931
|
+
///
|
932
|
+
/// The [`UpdateDeadline`] is a positive number of ticks to
|
933
|
+
/// add to the epoch deadline, as well as indicating what
|
934
|
+
/// to do after the callback returns. If the [`Store`] is
|
935
|
+
/// configured with async support, then the callback may return
|
936
|
+
/// [`UpdateDeadline::Yield`] to yield to the async executor before
|
937
|
+
/// updating the epoch deadline. Alternatively, the callback may
|
938
|
+
/// return [`UpdateDeadline::Continue`] to update the epoch deadline
|
939
|
+
/// immediately.
|
940
|
+
///
|
941
|
+
/// This setting is intended to allow for coarse-grained
|
942
|
+
/// interruption, but not a deterministic deadline of a fixed,
|
943
|
+
/// finite interval. For deterministic interruption, see the
|
944
|
+
/// "fuel" mechanism instead.
|
945
|
+
///
|
946
|
+
/// See documentation on
|
947
|
+
/// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
|
948
|
+
/// for an introduction to epoch-based interruption.
|
949
|
+
pub fn epoch_deadline_callback(
|
950
|
+
&mut self,
|
951
|
+
callback: impl FnMut(StoreContextMut<T>) -> Result<UpdateDeadline> + Send + Sync + 'static,
|
952
|
+
) {
|
953
|
+
self.inner.epoch_deadline_callback(Box::new(callback));
|
954
|
+
}
|
955
|
+
|
956
|
+
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
957
|
+
/// Configures epoch-deadline expiration to yield to the async
|
958
|
+
/// caller and the update the deadline.
|
959
|
+
///
|
960
|
+
/// When epoch-interruption-instrumented code is executed on this
|
961
|
+
/// store and the epoch deadline is reached before completion,
|
962
|
+
/// with the store configured in this way, execution will yield
|
963
|
+
/// (the future will return `Pending` but re-awake itself for
|
964
|
+
/// later execution) and, upon resuming, the store will be
|
965
|
+
/// configured with an epoch deadline equal to the current epoch
|
966
|
+
/// plus `delta` ticks.
|
967
|
+
///
|
968
|
+
/// This setting is intended to allow for cooperative timeslicing
|
969
|
+
/// of multiple CPU-bound Wasm guests in different stores, all
|
970
|
+
/// executing under the control of an async executor. To drive
|
971
|
+
/// this, stores should be configured to "yield and update"
|
972
|
+
/// automatically with this function, and some external driver (a
|
973
|
+
/// thread that wakes up periodically, or a timer
|
974
|
+
/// signal/interrupt) should call
|
975
|
+
/// [`Engine::increment_epoch()`](crate::Engine::increment_epoch).
|
976
|
+
///
|
977
|
+
/// See documentation on
|
978
|
+
/// [`Config::epoch_interruption()`](crate::Config::epoch_interruption)
|
979
|
+
/// for an introduction to epoch-based interruption.
|
980
|
+
#[cfg(feature = "async")]
|
981
|
+
pub fn epoch_deadline_async_yield_and_update(&mut self, delta: u64) {
|
982
|
+
self.inner.epoch_deadline_async_yield_and_update(delta);
|
983
|
+
}
|
984
|
+
}
|
985
|
+
|
986
|
+
impl<'a, T> StoreContext<'a, T> {
|
987
|
+
pub(crate) fn async_support(&self) -> bool {
|
988
|
+
self.0.async_support()
|
989
|
+
}
|
990
|
+
|
991
|
+
/// Returns the underlying [`Engine`] this store is connected to.
|
992
|
+
pub fn engine(&self) -> &Engine {
|
993
|
+
self.0.engine()
|
994
|
+
}
|
995
|
+
|
996
|
+
/// Access the underlying data owned by this `Store`.
|
997
|
+
///
|
998
|
+
/// Same as [`Store::data`].
|
999
|
+
pub fn data(&self) -> &'a T {
|
1000
|
+
self.0.data()
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
/// Returns the fuel consumed by this store.
|
1004
|
+
///
|
1005
|
+
/// For more information see [`Store::fuel_consumed`].
|
1006
|
+
pub fn fuel_consumed(&self) -> Option<u64> {
|
1007
|
+
self.0.fuel_consumed()
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
/// Returns remaining fuel in this store.
|
1011
|
+
///
|
1012
|
+
/// For more information see [`Store::fuel_remaining`]
|
1013
|
+
pub fn fuel_remaining(&mut self) -> Option<u64> {
|
1014
|
+
self.0.fuel_remaining()
|
1015
|
+
}
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
impl<'a, T> StoreContextMut<'a, T> {
|
1019
|
+
/// Access the underlying data owned by this `Store`.
|
1020
|
+
///
|
1021
|
+
/// Same as [`Store::data`].
|
1022
|
+
pub fn data(&self) -> &T {
|
1023
|
+
self.0.data()
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
/// Access the underlying data owned by this `Store`.
|
1027
|
+
///
|
1028
|
+
/// Same as [`Store::data_mut`].
|
1029
|
+
pub fn data_mut(&mut self) -> &mut T {
|
1030
|
+
self.0.data_mut()
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
/// Returns the underlying [`Engine`] this store is connected to.
|
1034
|
+
pub fn engine(&self) -> &Engine {
|
1035
|
+
self.0.engine()
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
/// Perform garbage collection of `ExternRef`s.
|
1039
|
+
///
|
1040
|
+
/// Same as [`Store::gc`].
|
1041
|
+
pub fn gc(&mut self) {
|
1042
|
+
self.0.gc()
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
/// Returns the fuel consumed by this store.
|
1046
|
+
///
|
1047
|
+
/// For more information see [`Store::fuel_consumed`].
|
1048
|
+
pub fn fuel_consumed(&self) -> Option<u64> {
|
1049
|
+
self.0.fuel_consumed()
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
/// Returns remaining fuel in this store.
|
1053
|
+
///
|
1054
|
+
/// For more information see [`Store::fuel_remaining`]
|
1055
|
+
pub fn fuel_remaining(&self) -> Option<u64> {
|
1056
|
+
self.0.fuel_remaining()
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
/// Inject more fuel into this store to be consumed when executing wasm code.
|
1060
|
+
///
|
1061
|
+
/// For more information see [`Store::add_fuel`]
|
1062
|
+
pub fn add_fuel(&mut self, fuel: u64) -> Result<()> {
|
1063
|
+
self.0.add_fuel(fuel)
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
/// Synthetically consume fuel from this store.
|
1067
|
+
///
|
1068
|
+
/// For more information see [`Store::consume_fuel`]
|
1069
|
+
pub fn consume_fuel(&mut self, fuel: u64) -> Result<u64> {
|
1070
|
+
self.0.consume_fuel(fuel)
|
1071
|
+
}
|
1072
|
+
|
1073
|
+
/// Configures this `Store` to trap whenever fuel runs out.
|
1074
|
+
///
|
1075
|
+
/// For more information see [`Store::out_of_fuel_trap`]
|
1076
|
+
pub fn out_of_fuel_trap(&mut self) {
|
1077
|
+
self.0.out_of_fuel_trap()
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
/// Configures this `Store` to yield while executing futures whenever fuel
|
1081
|
+
/// runs out.
|
1082
|
+
///
|
1083
|
+
/// For more information see [`Store::out_of_fuel_async_yield`]
|
1084
|
+
pub fn out_of_fuel_async_yield(&mut self, injection_count: u64, fuel_to_inject: u64) {
|
1085
|
+
self.0
|
1086
|
+
.out_of_fuel_async_yield(injection_count, fuel_to_inject)
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
/// Sets the epoch deadline to a certain number of ticks in the future.
|
1090
|
+
///
|
1091
|
+
/// For more information see [`Store::set_epoch_deadline`].
|
1092
|
+
pub fn set_epoch_deadline(&mut self, ticks_beyond_current: u64) {
|
1093
|
+
self.0.set_epoch_deadline(ticks_beyond_current);
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
/// Configures epoch-deadline expiration to trap.
|
1097
|
+
///
|
1098
|
+
/// For more information see [`Store::epoch_deadline_trap`].
|
1099
|
+
pub fn epoch_deadline_trap(&mut self) {
|
1100
|
+
self.0.epoch_deadline_trap();
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
1104
|
+
/// Configures epoch-deadline expiration to yield to the async
|
1105
|
+
/// caller and the update the deadline.
|
1106
|
+
///
|
1107
|
+
/// For more information see
|
1108
|
+
/// [`Store::epoch_deadline_async_yield_and_update`].
|
1109
|
+
#[cfg(feature = "async")]
|
1110
|
+
pub fn epoch_deadline_async_yield_and_update(&mut self, delta: u64) {
|
1111
|
+
self.0.epoch_deadline_async_yield_and_update(delta);
|
1112
|
+
}
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
impl<T> StoreInner<T> {
|
1116
|
+
#[inline]
|
1117
|
+
fn data(&self) -> &T {
|
1118
|
+
&self.data
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
#[inline]
|
1122
|
+
fn data_mut(&mut self) -> &mut T {
|
1123
|
+
&mut self.data
|
1124
|
+
}
|
1125
|
+
|
1126
|
+
pub fn call_hook(&mut self, s: CallHook) -> Result<()> {
|
1127
|
+
match &mut self.call_hook {
|
1128
|
+
Some(CallHookInner::Sync(hook)) => hook(&mut self.data, s),
|
1129
|
+
|
1130
|
+
#[cfg(feature = "async")]
|
1131
|
+
Some(CallHookInner::Async(handler)) => unsafe {
|
1132
|
+
Ok(self
|
1133
|
+
.inner
|
1134
|
+
.async_cx()
|
1135
|
+
.ok_or_else(|| anyhow!("couldn't grab async_cx for call hook"))?
|
1136
|
+
.block_on(handler.handle_call_event(&mut self.data, s).as_mut())??)
|
1137
|
+
},
|
1138
|
+
|
1139
|
+
None => Ok(()),
|
1140
|
+
}
|
1141
|
+
}
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
#[doc(hidden)]
|
1145
|
+
impl StoreOpaque {
|
1146
|
+
pub fn id(&self) -> StoreId {
|
1147
|
+
self.store_data.id()
|
1148
|
+
}
|
1149
|
+
|
1150
|
+
pub fn bump_resource_counts(&mut self, module: &Module) -> Result<()> {
|
1151
|
+
fn bump(slot: &mut usize, max: usize, amt: usize, desc: &str) -> Result<()> {
|
1152
|
+
let new = slot.saturating_add(amt);
|
1153
|
+
if new > max {
|
1154
|
+
bail!(
|
1155
|
+
"resource limit exceeded: {} count too high at {}",
|
1156
|
+
desc,
|
1157
|
+
new
|
1158
|
+
);
|
1159
|
+
}
|
1160
|
+
*slot = new;
|
1161
|
+
Ok(())
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
let module = module.env_module();
|
1165
|
+
let memories = module.memory_plans.len() - module.num_imported_memories;
|
1166
|
+
let tables = module.table_plans.len() - module.num_imported_tables;
|
1167
|
+
|
1168
|
+
bump(&mut self.instance_count, self.instance_limit, 1, "instance")?;
|
1169
|
+
bump(
|
1170
|
+
&mut self.memory_count,
|
1171
|
+
self.memory_limit,
|
1172
|
+
memories,
|
1173
|
+
"memory",
|
1174
|
+
)?;
|
1175
|
+
bump(&mut self.table_count, self.table_limit, tables, "table")?;
|
1176
|
+
|
1177
|
+
Ok(())
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
#[inline]
|
1181
|
+
pub fn async_support(&self) -> bool {
|
1182
|
+
cfg!(feature = "async") && self.engine().config().async_support
|
1183
|
+
}
|
1184
|
+
|
1185
|
+
#[inline]
|
1186
|
+
pub fn engine(&self) -> &Engine {
|
1187
|
+
&self.engine
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
#[inline]
|
1191
|
+
pub fn store_data(&self) -> &StoreData {
|
1192
|
+
&self.store_data
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
#[inline]
|
1196
|
+
pub fn store_data_mut(&mut self) -> &mut StoreData {
|
1197
|
+
&mut self.store_data
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
#[inline]
|
1201
|
+
pub(crate) fn modules(&self) -> &ModuleRegistry {
|
1202
|
+
&self.modules
|
1203
|
+
}
|
1204
|
+
|
1205
|
+
#[inline]
|
1206
|
+
pub(crate) fn modules_mut(&mut self) -> &mut ModuleRegistry {
|
1207
|
+
&mut self.modules
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
pub(crate) fn func_refs(&mut self) -> &mut FuncRefs {
|
1211
|
+
&mut self.func_refs
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
pub(crate) fn fill_func_refs(&mut self) {
|
1215
|
+
self.func_refs.fill(&mut self.modules);
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
pub(crate) fn push_instance_pre_func_refs(&mut self, func_refs: Arc<[PrePatchedFuncRef]>) {
|
1219
|
+
self.func_refs.push_instance_pre_func_refs(func_refs);
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
pub(crate) fn host_globals(&mut self) -> &mut Vec<StoreBox<VMHostGlobalContext>> {
|
1223
|
+
&mut self.host_globals
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
pub unsafe fn add_instance(&mut self, handle: InstanceHandle, ondemand: bool) -> InstanceId {
|
1227
|
+
self.instances.push(StoreInstance {
|
1228
|
+
handle: handle.clone(),
|
1229
|
+
ondemand,
|
1230
|
+
});
|
1231
|
+
InstanceId(self.instances.len() - 1)
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
pub fn instance(&self, id: InstanceId) -> &InstanceHandle {
|
1235
|
+
&self.instances[id.0].handle
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
pub fn instance_mut(&mut self, id: InstanceId) -> &mut InstanceHandle {
|
1239
|
+
&mut self.instances[id.0].handle
|
1240
|
+
}
|
1241
|
+
|
1242
|
+
#[cfg_attr(not(target_os = "linux"), allow(dead_code))] // not used on all platforms
|
1243
|
+
pub fn set_signal_handler(&mut self, handler: Option<Box<SignalHandler<'static>>>) {
|
1244
|
+
self.signal_handler = handler;
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
#[inline]
|
1248
|
+
pub fn runtime_limits(&self) -> &VMRuntimeLimits {
|
1249
|
+
&self.runtime_limits
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
#[inline]
|
1253
|
+
pub fn externref_activations_table(&mut self) -> &mut VMExternRefActivationsTable {
|
1254
|
+
&mut self.externref_activations_table
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
pub fn gc(&mut self) {
|
1258
|
+
// For this crate's API, we ensure that `set_stack_canary` invariants
|
1259
|
+
// are upheld for all host-->Wasm calls.
|
1260
|
+
unsafe {
|
1261
|
+
wasmtime_runtime::gc(
|
1262
|
+
self.runtime_limits(),
|
1263
|
+
&self.modules,
|
1264
|
+
&mut self.externref_activations_table,
|
1265
|
+
)
|
1266
|
+
}
|
1267
|
+
}
|
1268
|
+
|
1269
|
+
/// Yields the async context, assuming that we are executing on a fiber and
|
1270
|
+
/// that fiber is not in the process of dying. This function will return
|
1271
|
+
/// None in the latter case (the fiber is dying), and panic if
|
1272
|
+
/// `async_support()` is false.
|
1273
|
+
#[cfg(feature = "async")]
|
1274
|
+
#[inline]
|
1275
|
+
pub fn async_cx(&self) -> Option<AsyncCx> {
|
1276
|
+
debug_assert!(self.async_support());
|
1277
|
+
|
1278
|
+
let poll_cx_box_ptr = self.async_state.current_poll_cx.get();
|
1279
|
+
if poll_cx_box_ptr.is_null() {
|
1280
|
+
return None;
|
1281
|
+
}
|
1282
|
+
|
1283
|
+
let poll_cx_inner_ptr = unsafe { *poll_cx_box_ptr };
|
1284
|
+
if poll_cx_inner_ptr.is_null() {
|
1285
|
+
return None;
|
1286
|
+
}
|
1287
|
+
|
1288
|
+
Some(AsyncCx {
|
1289
|
+
current_suspend: self.async_state.current_suspend.get(),
|
1290
|
+
current_poll_cx: poll_cx_box_ptr,
|
1291
|
+
})
|
1292
|
+
}
|
1293
|
+
|
1294
|
+
pub fn fuel_consumed(&self) -> Option<u64> {
|
1295
|
+
if !self.engine.config().tunables.consume_fuel {
|
1296
|
+
return None;
|
1297
|
+
}
|
1298
|
+
let consumed = unsafe { *self.runtime_limits.fuel_consumed.get() };
|
1299
|
+
Some(u64::try_from(self.fuel_adj + consumed).unwrap())
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
fn fuel_remaining(&self) -> Option<u64> {
|
1303
|
+
if !self.engine.config().tunables.consume_fuel {
|
1304
|
+
return None;
|
1305
|
+
}
|
1306
|
+
let consumed = unsafe { *self.runtime_limits.fuel_consumed.get() };
|
1307
|
+
Some(u64::try_from(-consumed).unwrap())
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
fn out_of_fuel_trap(&mut self) {
|
1311
|
+
self.out_of_gas_behavior = OutOfGas::Trap;
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
fn out_of_fuel_async_yield(&mut self, injection_count: u64, fuel_to_inject: u64) {
|
1315
|
+
assert!(
|
1316
|
+
self.async_support(),
|
1317
|
+
"cannot use `out_of_fuel_async_yield` without enabling async support in the config"
|
1318
|
+
);
|
1319
|
+
self.out_of_gas_behavior = OutOfGas::InjectFuel {
|
1320
|
+
injection_count,
|
1321
|
+
fuel_to_inject,
|
1322
|
+
};
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
/// Yields execution to the caller on out-of-gas or epoch interruption.
|
1326
|
+
///
|
1327
|
+
/// This only works on async futures and stores, and assumes that we're
|
1328
|
+
/// executing on a fiber. This will yield execution back to the caller once.
|
1329
|
+
#[cfg(feature = "async")]
|
1330
|
+
fn async_yield_impl(&mut self) -> Result<()> {
|
1331
|
+
// Small future that yields once and then returns ()
|
1332
|
+
#[derive(Default)]
|
1333
|
+
struct Yield {
|
1334
|
+
yielded: bool,
|
1335
|
+
}
|
1336
|
+
|
1337
|
+
impl Future for Yield {
|
1338
|
+
type Output = ();
|
1339
|
+
|
1340
|
+
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()> {
|
1341
|
+
if self.yielded {
|
1342
|
+
Poll::Ready(())
|
1343
|
+
} else {
|
1344
|
+
// Flag ourselves as yielded to return next time, and also
|
1345
|
+
// flag the waker that we're already ready to get
|
1346
|
+
// re-enqueued for another poll.
|
1347
|
+
self.yielded = true;
|
1348
|
+
cx.waker().wake_by_ref();
|
1349
|
+
Poll::Pending
|
1350
|
+
}
|
1351
|
+
}
|
1352
|
+
}
|
1353
|
+
|
1354
|
+
let mut future = Yield::default();
|
1355
|
+
|
1356
|
+
// When control returns, we have a `Result<()>` passed
|
1357
|
+
// in from the host fiber. If this finished successfully then
|
1358
|
+
// we were resumed normally via a `poll`, so keep going. If
|
1359
|
+
// the future was dropped while we were yielded, then we need
|
1360
|
+
// to clean up this fiber. Do so by raising a trap which will
|
1361
|
+
// abort all wasm and get caught on the other side to clean
|
1362
|
+
// things up.
|
1363
|
+
unsafe {
|
1364
|
+
self.async_cx()
|
1365
|
+
.expect("attempted to pull async context during shutdown")
|
1366
|
+
.block_on(Pin::new_unchecked(&mut future))
|
1367
|
+
}
|
1368
|
+
}
|
1369
|
+
|
1370
|
+
fn add_fuel(&mut self, fuel: u64) -> Result<()> {
|
1371
|
+
anyhow::ensure!(
|
1372
|
+
self.engine().config().tunables.consume_fuel,
|
1373
|
+
"fuel is not configured in this store"
|
1374
|
+
);
|
1375
|
+
|
1376
|
+
// Fuel is stored as an i64, so we need to cast it. If the provided fuel
|
1377
|
+
// value overflows that just assume that i64::max will suffice. Wasm
|
1378
|
+
// execution isn't fast enough to burn through i64::max fuel in any
|
1379
|
+
// reasonable amount of time anyway.
|
1380
|
+
let fuel = i64::try_from(fuel).unwrap_or(i64::max_value());
|
1381
|
+
let adj = self.fuel_adj;
|
1382
|
+
let consumed_ptr = unsafe { &mut *self.runtime_limits.fuel_consumed.get() };
|
1383
|
+
|
1384
|
+
match (consumed_ptr.checked_sub(fuel), adj.checked_add(fuel)) {
|
1385
|
+
// If we succesfully did arithmetic without overflowing then we can
|
1386
|
+
// just update our fields.
|
1387
|
+
(Some(consumed), Some(adj)) => {
|
1388
|
+
self.fuel_adj = adj;
|
1389
|
+
*consumed_ptr = consumed;
|
1390
|
+
}
|
1391
|
+
|
1392
|
+
// Otherwise something overflowed. Make sure that we preserve the
|
1393
|
+
// amount of fuel that's already consumed, but otherwise assume that
|
1394
|
+
// we were given infinite fuel.
|
1395
|
+
_ => {
|
1396
|
+
self.fuel_adj = i64::max_value();
|
1397
|
+
*consumed_ptr = (*consumed_ptr + adj) - i64::max_value();
|
1398
|
+
}
|
1399
|
+
}
|
1400
|
+
|
1401
|
+
Ok(())
|
1402
|
+
}
|
1403
|
+
|
1404
|
+
fn consume_fuel(&mut self, fuel: u64) -> Result<u64> {
|
1405
|
+
let consumed_ptr = unsafe { &mut *self.runtime_limits.fuel_consumed.get() };
|
1406
|
+
match i64::try_from(fuel)
|
1407
|
+
.ok()
|
1408
|
+
.and_then(|fuel| consumed_ptr.checked_add(fuel))
|
1409
|
+
{
|
1410
|
+
Some(consumed) if consumed <= 0 => {
|
1411
|
+
*consumed_ptr = consumed;
|
1412
|
+
Ok(u64::try_from(-consumed).unwrap())
|
1413
|
+
}
|
1414
|
+
_ => bail!("not enough fuel remaining in store"),
|
1415
|
+
}
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
#[inline]
|
1419
|
+
pub fn signal_handler(&self) -> Option<*const SignalHandler<'static>> {
|
1420
|
+
let handler = self.signal_handler.as_ref()?;
|
1421
|
+
Some(&**handler as *const _)
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
#[inline]
|
1425
|
+
pub fn vmruntime_limits(&self) -> *mut VMRuntimeLimits {
|
1426
|
+
&self.runtime_limits as *const VMRuntimeLimits as *mut VMRuntimeLimits
|
1427
|
+
}
|
1428
|
+
|
1429
|
+
pub unsafe fn insert_vmexternref_without_gc(&mut self, r: VMExternRef) {
|
1430
|
+
self.externref_activations_table.insert_without_gc(r);
|
1431
|
+
}
|
1432
|
+
|
1433
|
+
#[inline]
|
1434
|
+
pub fn default_caller(&self) -> *mut VMContext {
|
1435
|
+
self.default_caller.vmctx()
|
1436
|
+
}
|
1437
|
+
|
1438
|
+
pub fn traitobj(&self) -> *mut dyn wasmtime_runtime::Store {
|
1439
|
+
self.default_caller.store()
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
/// Takes the cached `Vec<Val>` stored internally across hostcalls to get
|
1443
|
+
/// used as part of calling the host in a `Func::new` method invocation.
|
1444
|
+
#[inline]
|
1445
|
+
pub fn take_hostcall_val_storage(&mut self) -> Vec<Val> {
|
1446
|
+
mem::take(&mut self.hostcall_val_storage)
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
/// Restores the vector previously taken by `take_hostcall_val_storage`
|
1450
|
+
/// above back into the store, allowing it to be used in the future for the
|
1451
|
+
/// next wasm->host call.
|
1452
|
+
#[inline]
|
1453
|
+
pub fn save_hostcall_val_storage(&mut self, storage: Vec<Val>) {
|
1454
|
+
if storage.capacity() > self.hostcall_val_storage.capacity() {
|
1455
|
+
self.hostcall_val_storage = storage;
|
1456
|
+
}
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
/// Same as `take_hostcall_val_storage`, but for the direction of the host
|
1460
|
+
/// calling wasm.
|
1461
|
+
#[inline]
|
1462
|
+
pub fn take_wasm_val_raw_storage(&mut self) -> Vec<ValRaw> {
|
1463
|
+
mem::take(&mut self.wasm_val_raw_storage)
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
/// Same as `save_hostcall_val_storage`, but for the direction of the host
|
1467
|
+
/// calling wasm.
|
1468
|
+
#[inline]
|
1469
|
+
pub fn save_wasm_val_raw_storage(&mut self, storage: Vec<ValRaw>) {
|
1470
|
+
if storage.capacity() > self.wasm_val_raw_storage.capacity() {
|
1471
|
+
self.wasm_val_raw_storage = storage;
|
1472
|
+
}
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
pub(crate) fn push_rooted_funcs(&mut self, funcs: Arc<[Definition]>) {
|
1476
|
+
self.rooted_host_funcs.push(funcs);
|
1477
|
+
}
|
1478
|
+
|
1479
|
+
/// Translates a WebAssembly fault at the native `pc` and native `addr` to a
|
1480
|
+
/// WebAssembly-relative fault.
|
1481
|
+
///
|
1482
|
+
/// This function may abort the process if `addr` is not found to actually
|
1483
|
+
/// reside in any linear memory. In such a situation it means that the
|
1484
|
+
/// segfault was erroneously caught by Wasmtime and is possibly indicative
|
1485
|
+
/// of a code generator bug.
|
1486
|
+
///
|
1487
|
+
/// This function returns `None` for dynamically-bounds-checked-memories
|
1488
|
+
/// with spectre mitigations enabled since the hardware fault address is
|
1489
|
+
/// always zero in these situations which means that the trapping context
|
1490
|
+
/// doesn't have enough information to report the fault address.
|
1491
|
+
pub(crate) fn wasm_fault(&self, pc: usize, addr: usize) -> Option<WasmFault> {
|
1492
|
+
// Explicitly bounds-checked memories with spectre-guards enabled will
|
1493
|
+
// cause out-of-bounds accesses to get routed to address 0, so allow
|
1494
|
+
// wasm instructions to fault on the null address.
|
1495
|
+
if addr == 0 {
|
1496
|
+
return None;
|
1497
|
+
}
|
1498
|
+
|
1499
|
+
// Search all known instances in this store for this address. Note that
|
1500
|
+
// this is probably not the speediest way to do this. Traps, however,
|
1501
|
+
// are generally not expected to be super fast and additionally stores
|
1502
|
+
// probably don't have all that many instances or memories.
|
1503
|
+
//
|
1504
|
+
// If this loop becomes hot in the future, however, it should be
|
1505
|
+
// possible to precompute maps about linear memories in a store and have
|
1506
|
+
// a quicker lookup.
|
1507
|
+
let mut fault = None;
|
1508
|
+
for instance in self.instances.iter() {
|
1509
|
+
if let Some(f) = instance.handle.wasm_fault(addr) {
|
1510
|
+
assert!(fault.is_none());
|
1511
|
+
fault = Some(f);
|
1512
|
+
}
|
1513
|
+
}
|
1514
|
+
if fault.is_some() {
|
1515
|
+
return fault;
|
1516
|
+
}
|
1517
|
+
|
1518
|
+
eprintln!(
|
1519
|
+
"\
|
1520
|
+
Wasmtime caught a segfault for a wasm program because the faulting instruction
|
1521
|
+
is allowed to segfault due to how linear memories are implemented. The address
|
1522
|
+
that was accessed, however, is not known to any linear memory in use within this
|
1523
|
+
Store. This may be indicative of a critical bug in Wasmtime's code generation
|
1524
|
+
because all addresses which are known to be reachable from wasm won't reach this
|
1525
|
+
message.
|
1526
|
+
|
1527
|
+
pc: 0x{pc:x}
|
1528
|
+
address: 0x{addr:x}
|
1529
|
+
|
1530
|
+
This is a possible security issue because WebAssembly has accessed something it
|
1531
|
+
shouldn't have been able to. Other accesses may have succeeded and this one just
|
1532
|
+
happened to be caught. The process will now be aborted to prevent this damage
|
1533
|
+
from going any further and to alert what's going on. If this is a security
|
1534
|
+
issue please reach out to the Wasmtime team via its security policy
|
1535
|
+
at https://bytecodealliance.org/security.
|
1536
|
+
"
|
1537
|
+
);
|
1538
|
+
std::process::abort();
|
1539
|
+
}
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
impl<T> StoreContextMut<'_, T> {
|
1543
|
+
/// Executes a synchronous computation `func` asynchronously on a new fiber.
|
1544
|
+
///
|
1545
|
+
/// This function will convert the synchronous `func` into an asynchronous
|
1546
|
+
/// future. This is done by running `func` in a fiber on a separate native
|
1547
|
+
/// stack which can be suspended and resumed from.
|
1548
|
+
///
|
1549
|
+
/// Most of the nitty-gritty here is how we juggle the various contexts
|
1550
|
+
/// necessary to suspend the fiber later on and poll sub-futures. It's hoped
|
1551
|
+
/// that the various comments are illuminating as to what's going on here.
|
1552
|
+
#[cfg(feature = "async")]
|
1553
|
+
pub(crate) async fn on_fiber<R>(
|
1554
|
+
&mut self,
|
1555
|
+
func: impl FnOnce(&mut StoreContextMut<'_, T>) -> R + Send,
|
1556
|
+
) -> Result<R>
|
1557
|
+
where
|
1558
|
+
T: Send,
|
1559
|
+
{
|
1560
|
+
let config = self.engine().config();
|
1561
|
+
debug_assert!(self.0.async_support());
|
1562
|
+
debug_assert!(config.async_stack_size > 0);
|
1563
|
+
|
1564
|
+
let mut slot = None;
|
1565
|
+
let future = {
|
1566
|
+
let current_poll_cx = self.0.async_state.current_poll_cx.get();
|
1567
|
+
let current_suspend = self.0.async_state.current_suspend.get();
|
1568
|
+
let stack = self.engine().allocator().allocate_fiber_stack()?;
|
1569
|
+
|
1570
|
+
let engine = self.engine().clone();
|
1571
|
+
let slot = &mut slot;
|
1572
|
+
let fiber = wasmtime_fiber::Fiber::new(stack, move |keep_going, suspend| {
|
1573
|
+
// First check and see if we were interrupted/dropped, and only
|
1574
|
+
// continue if we haven't been.
|
1575
|
+
keep_going?;
|
1576
|
+
|
1577
|
+
// Configure our store's suspension context for the rest of the
|
1578
|
+
// execution of this fiber. Note that a raw pointer is stored here
|
1579
|
+
// which is only valid for the duration of this closure.
|
1580
|
+
// Consequently we at least replace it with the previous value when
|
1581
|
+
// we're done. This reset is also required for correctness because
|
1582
|
+
// otherwise our value will overwrite another active fiber's value.
|
1583
|
+
// There should be a test that segfaults in `async_functions.rs` if
|
1584
|
+
// this `Replace` is removed.
|
1585
|
+
unsafe {
|
1586
|
+
let _reset = Reset(current_suspend, *current_suspend);
|
1587
|
+
*current_suspend = suspend;
|
1588
|
+
|
1589
|
+
*slot = Some(func(self));
|
1590
|
+
Ok(())
|
1591
|
+
}
|
1592
|
+
})?;
|
1593
|
+
|
1594
|
+
// Once we have the fiber representing our synchronous computation, we
|
1595
|
+
// wrap that in a custom future implementation which does the
|
1596
|
+
// translation from the future protocol to our fiber API.
|
1597
|
+
FiberFuture {
|
1598
|
+
fiber,
|
1599
|
+
current_poll_cx,
|
1600
|
+
engine,
|
1601
|
+
state: Some(wasmtime_runtime::AsyncWasmCallState::new()),
|
1602
|
+
}
|
1603
|
+
};
|
1604
|
+
future.await?;
|
1605
|
+
|
1606
|
+
return Ok(slot.unwrap());
|
1607
|
+
|
1608
|
+
struct FiberFuture<'a> {
|
1609
|
+
fiber: wasmtime_fiber::Fiber<'a, Result<()>, (), Result<()>>,
|
1610
|
+
current_poll_cx: *mut *mut Context<'static>,
|
1611
|
+
engine: Engine,
|
1612
|
+
// See comments in `FiberFuture::resume` for this
|
1613
|
+
state: Option<wasmtime_runtime::AsyncWasmCallState>,
|
1614
|
+
}
|
1615
|
+
|
1616
|
+
// This is surely the most dangerous `unsafe impl Send` in the entire
|
1617
|
+
// crate. There are two members in `FiberFuture` which cause it to not
|
1618
|
+
// be `Send`. One is `current_poll_cx` and is entirely uninteresting.
|
1619
|
+
// This is just used to manage `Context` pointers across `await` points
|
1620
|
+
// in the future, and requires raw pointers to get it to happen easily.
|
1621
|
+
// Nothing too weird about the `Send`-ness, values aren't actually
|
1622
|
+
// crossing threads.
|
1623
|
+
//
|
1624
|
+
// The really interesting piece is `fiber`. Now the "fiber" here is
|
1625
|
+
// actual honest-to-god Rust code which we're moving around. What we're
|
1626
|
+
// doing is the equivalent of moving our thread's stack to another OS
|
1627
|
+
// thread. Turns out we, in general, have no idea what's on the stack
|
1628
|
+
// and would generally have no way to verify that this is actually safe
|
1629
|
+
// to do!
|
1630
|
+
//
|
1631
|
+
// Thankfully, though, Wasmtime has the power. Without being glib it's
|
1632
|
+
// actually worth examining what's on the stack. It's unfortunately not
|
1633
|
+
// super-local to this function itself. Our closure to `Fiber::new` runs
|
1634
|
+
// `func`, which is given to us from the outside. Thankfully, though, we
|
1635
|
+
// have tight control over this. Usage of `on_fiber` is typically done
|
1636
|
+
// *just* before entering WebAssembly itself, so we'll have a few stack
|
1637
|
+
// frames of Rust code (all in Wasmtime itself) before we enter wasm.
|
1638
|
+
//
|
1639
|
+
// Once we've entered wasm, well then we have a whole bunch of wasm
|
1640
|
+
// frames on the stack. We've got this nifty thing called Cranelift,
|
1641
|
+
// though, which allows us to also have complete control over everything
|
1642
|
+
// on the stack!
|
1643
|
+
//
|
1644
|
+
// Finally, when wasm switches back to the fiber's starting pointer
|
1645
|
+
// (this future we're returning) then it means wasm has reentered Rust.
|
1646
|
+
// Suspension can only happen via the `block_on` function of an
|
1647
|
+
// `AsyncCx`. This, conveniently, also happens entirely in Wasmtime
|
1648
|
+
// controlled code!
|
1649
|
+
//
|
1650
|
+
// There's an extremely important point that should be called out here.
|
1651
|
+
// User-provided futures **are not on the stack** during suspension
|
1652
|
+
// points. This is extremely crucial because we in general cannot reason
|
1653
|
+
// about Send/Sync for stack-local variables since rustc doesn't analyze
|
1654
|
+
// them at all. With our construction, though, we are guaranteed that
|
1655
|
+
// Wasmtime owns all stack frames between the stack of a fiber and when
|
1656
|
+
// the fiber suspends (and it could move across threads). At this time
|
1657
|
+
// the only user-provided piece of data on the stack is the future
|
1658
|
+
// itself given to us. Lo-and-behold as you might notice the future is
|
1659
|
+
// required to be `Send`!
|
1660
|
+
//
|
1661
|
+
// What this all boils down to is that we, as the authors of Wasmtime,
|
1662
|
+
// need to be extremely careful that on the async fiber stack we only
|
1663
|
+
// store Send things. For example we can't start using `Rc` willy nilly
|
1664
|
+
// by accident and leave a copy in TLS somewhere. (similarly we have to
|
1665
|
+
// be ready for TLS to change while we're executing wasm code between
|
1666
|
+
// suspension points).
|
1667
|
+
//
|
1668
|
+
// While somewhat onerous it shouldn't be too too hard (the TLS bit is
|
1669
|
+
// the hardest bit so far). This does mean, though, that no user should
|
1670
|
+
// ever have to worry about the `Send`-ness of Wasmtime. If rustc says
|
1671
|
+
// it's ok, then it's ok.
|
1672
|
+
//
|
1673
|
+
// With all that in mind we unsafely assert here that wasmtime is
|
1674
|
+
// correct. We declare the fiber as only containing Send data on its
|
1675
|
+
// stack, despite not knowing for sure at compile time that this is
|
1676
|
+
// correct. That's what `unsafe` in Rust is all about, though, right?
|
1677
|
+
unsafe impl Send for FiberFuture<'_> {}
|
1678
|
+
|
1679
|
+
impl FiberFuture<'_> {
|
1680
|
+
/// This is a helper function to call `resume` on the underlying
|
1681
|
+
/// fiber while correctly managing Wasmtime's thread-local data.
|
1682
|
+
///
|
1683
|
+
/// Wasmtime's implementation of traps leverages thread-local data
|
1684
|
+
/// to get access to metadata during a signal. This thread-local
|
1685
|
+
/// data is a linked list of "activations" where the nodes of the
|
1686
|
+
/// linked list are stored on the stack. It would be invalid as a
|
1687
|
+
/// result to suspend a computation with the head of the linked list
|
1688
|
+
/// on this stack then move the stack to another thread and resume
|
1689
|
+
/// it. That means that a different thread would point to our stack
|
1690
|
+
/// and our thread doesn't point to our stack at all!
|
1691
|
+
///
|
1692
|
+
/// Basically management of TLS is required here one way or another.
|
1693
|
+
/// The strategy currently settled on is to manage the list of
|
1694
|
+
/// activations created by this fiber as a unit. When a fiber
|
1695
|
+
/// resumes the linked list is prepended to the current thread's
|
1696
|
+
/// list. When the fiber is suspended then the fiber's list of
|
1697
|
+
/// activations are all removed en-masse and saved within the fiber.
|
1698
|
+
fn resume(&mut self, val: Result<()>) -> Result<Result<()>, ()> {
|
1699
|
+
unsafe {
|
1700
|
+
let prev = self.state.take().unwrap().push();
|
1701
|
+
let restore = Restore {
|
1702
|
+
fiber: self,
|
1703
|
+
state: Some(prev),
|
1704
|
+
};
|
1705
|
+
return restore.fiber.fiber.resume(val);
|
1706
|
+
}
|
1707
|
+
|
1708
|
+
struct Restore<'a, 'b> {
|
1709
|
+
fiber: &'a mut FiberFuture<'b>,
|
1710
|
+
state: Option<wasmtime_runtime::PreviousAsyncWasmCallState>,
|
1711
|
+
}
|
1712
|
+
|
1713
|
+
impl Drop for Restore<'_, '_> {
|
1714
|
+
fn drop(&mut self) {
|
1715
|
+
unsafe {
|
1716
|
+
self.fiber.state = Some(self.state.take().unwrap().restore());
|
1717
|
+
}
|
1718
|
+
}
|
1719
|
+
}
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
impl Future for FiberFuture<'_> {
|
1724
|
+
type Output = Result<()>;
|
1725
|
+
|
1726
|
+
fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Self::Output> {
|
1727
|
+
// We need to carry over this `cx` into our fiber's runtime
|
1728
|
+
// for when it tries to poll sub-futures that are created. Doing
|
1729
|
+
// this must be done unsafely, however, since `cx` is only alive
|
1730
|
+
// for this one singular function call. Here we do a `transmute`
|
1731
|
+
// to extend the lifetime of `Context` so it can be stored in
|
1732
|
+
// our `Store`, and then we replace the current polling context
|
1733
|
+
// with this one.
|
1734
|
+
//
|
1735
|
+
// Note that the replace is done for weird situations where
|
1736
|
+
// futures might be switching contexts and there's multiple
|
1737
|
+
// wasmtime futures in a chain of futures.
|
1738
|
+
//
|
1739
|
+
// On exit from this function, though, we reset the polling
|
1740
|
+
// context back to what it was to signify that `Store` no longer
|
1741
|
+
// has access to this pointer.
|
1742
|
+
unsafe {
|
1743
|
+
let _reset = Reset(self.current_poll_cx, *self.current_poll_cx);
|
1744
|
+
*self.current_poll_cx =
|
1745
|
+
std::mem::transmute::<&mut Context<'_>, *mut Context<'static>>(cx);
|
1746
|
+
|
1747
|
+
// After that's set up we resume execution of the fiber, which
|
1748
|
+
// may also start the fiber for the first time. This either
|
1749
|
+
// returns `Ok` saying the fiber finished (yay!) or it
|
1750
|
+
// returns `Err` with the payload passed to `suspend`, which
|
1751
|
+
// in our case is `()`.
|
1752
|
+
match self.resume(Ok(())) {
|
1753
|
+
Ok(result) => Poll::Ready(result),
|
1754
|
+
|
1755
|
+
// If `Err` is returned that means the fiber polled a
|
1756
|
+
// future but it said "Pending", so we propagate that
|
1757
|
+
// here.
|
1758
|
+
//
|
1759
|
+
// An additional safety check is performed when leaving
|
1760
|
+
// this function to help bolster the guarantees of
|
1761
|
+
// `unsafe impl Send` above. Notably this future may get
|
1762
|
+
// re-polled on a different thread. Wasmtime's
|
1763
|
+
// thread-local state points to the stack, however,
|
1764
|
+
// meaning that it would be incorrect to leave a pointer
|
1765
|
+
// in TLS when this function returns. This function
|
1766
|
+
// performs a runtime assert to verify that this is the
|
1767
|
+
// case, notably that the one TLS pointer Wasmtime uses
|
1768
|
+
// is not pointing anywhere within the stack. If it is
|
1769
|
+
// then that's a bug indicating that TLS management in
|
1770
|
+
// Wasmtime is incorrect.
|
1771
|
+
Err(()) => {
|
1772
|
+
if let Some(range) = self.fiber.stack().range() {
|
1773
|
+
wasmtime_runtime::AsyncWasmCallState::assert_current_state_not_in_range(range);
|
1774
|
+
}
|
1775
|
+
Poll::Pending
|
1776
|
+
}
|
1777
|
+
}
|
1778
|
+
}
|
1779
|
+
}
|
1780
|
+
}
|
1781
|
+
|
1782
|
+
// Dropping futures is pretty special in that it means the future has
|
1783
|
+
// been requested to be cancelled. Here we run the risk of dropping an
|
1784
|
+
// in-progress fiber, and if we were to do nothing then the fiber would
|
1785
|
+
// leak all its owned stack resources.
|
1786
|
+
//
|
1787
|
+
// To handle this we implement `Drop` here and, if the fiber isn't done,
|
1788
|
+
// resume execution of the fiber saying "hey please stop you're
|
1789
|
+
// interrupted". Our `Trap` created here (which has the stack trace
|
1790
|
+
// of whomever dropped us) will then get propagated in whatever called
|
1791
|
+
// `block_on`, and the idea is that the trap propagates all the way back
|
1792
|
+
// up to the original fiber start, finishing execution.
|
1793
|
+
//
|
1794
|
+
// We don't actually care about the fiber's return value here (no one's
|
1795
|
+
// around to look at it), we just assert the fiber finished to
|
1796
|
+
// completion.
|
1797
|
+
impl Drop for FiberFuture<'_> {
|
1798
|
+
fn drop(&mut self) {
|
1799
|
+
if !self.fiber.done() {
|
1800
|
+
let result = self.resume(Err(anyhow!("future dropped")));
|
1801
|
+
// This resumption with an error should always complete the
|
1802
|
+
// fiber. While it's technically possible for host code to catch
|
1803
|
+
// the trap and re-resume, we'd ideally like to signal that to
|
1804
|
+
// callers that they shouldn't be doing that.
|
1805
|
+
debug_assert!(result.is_ok());
|
1806
|
+
}
|
1807
|
+
|
1808
|
+
self.state.take().unwrap().assert_null();
|
1809
|
+
|
1810
|
+
unsafe {
|
1811
|
+
self.engine
|
1812
|
+
.allocator()
|
1813
|
+
.deallocate_fiber_stack(self.fiber.stack());
|
1814
|
+
}
|
1815
|
+
}
|
1816
|
+
}
|
1817
|
+
}
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
#[cfg(feature = "async")]
|
1821
|
+
pub struct AsyncCx {
|
1822
|
+
current_suspend: *mut *const wasmtime_fiber::Suspend<Result<()>, (), Result<()>>,
|
1823
|
+
current_poll_cx: *mut *mut Context<'static>,
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
#[cfg(feature = "async")]
|
1827
|
+
impl AsyncCx {
|
1828
|
+
/// Blocks on the asynchronous computation represented by `future` and
|
1829
|
+
/// produces the result here, in-line.
|
1830
|
+
///
|
1831
|
+
/// This function is designed to only work when it's currently executing on
|
1832
|
+
/// a native fiber. This fiber provides the ability for us to handle the
|
1833
|
+
/// future's `Pending` state as "jump back to whomever called the fiber in
|
1834
|
+
/// an asynchronous fashion and propagate `Pending`". This tight coupling
|
1835
|
+
/// with `on_fiber` below is what powers the asynchronicity of calling wasm.
|
1836
|
+
/// Note that the asynchronous part only applies to host functions, wasm
|
1837
|
+
/// itself never really does anything asynchronous at this time.
|
1838
|
+
///
|
1839
|
+
/// This function takes a `future` and will (appear to) synchronously wait
|
1840
|
+
/// on the result. While this function is executing it will fiber switch
|
1841
|
+
/// to-and-from the original frame calling `on_fiber` which should be a
|
1842
|
+
/// guarantee due to how async stores are configured.
|
1843
|
+
///
|
1844
|
+
/// The return value here is either the output of the future `T`, or a trap
|
1845
|
+
/// which represents that the asynchronous computation was cancelled. It is
|
1846
|
+
/// not recommended to catch the trap and try to keep executing wasm, so
|
1847
|
+
/// we've tried to liberally document this.
|
1848
|
+
pub unsafe fn block_on<U>(
|
1849
|
+
&self,
|
1850
|
+
mut future: Pin<&mut (dyn Future<Output = U> + Send)>,
|
1851
|
+
) -> Result<U> {
|
1852
|
+
// Take our current `Suspend` context which was configured as soon as
|
1853
|
+
// our fiber started. Note that we must load it at the front here and
|
1854
|
+
// save it on our stack frame. While we're polling the future other
|
1855
|
+
// fibers may be started for recursive computations, and the current
|
1856
|
+
// suspend context is only preserved at the edges of the fiber, not
|
1857
|
+
// during the fiber itself.
|
1858
|
+
//
|
1859
|
+
// For a little bit of extra safety we also replace the current value
|
1860
|
+
// with null to try to catch any accidental bugs on our part early.
|
1861
|
+
// This is all pretty unsafe so we're trying to be careful...
|
1862
|
+
//
|
1863
|
+
// Note that there should be a segfaulting test in `async_functions.rs`
|
1864
|
+
// if this `Reset` is removed.
|
1865
|
+
let suspend = *self.current_suspend;
|
1866
|
+
let _reset = Reset(self.current_suspend, suspend);
|
1867
|
+
*self.current_suspend = ptr::null();
|
1868
|
+
assert!(!suspend.is_null());
|
1869
|
+
|
1870
|
+
loop {
|
1871
|
+
let future_result = {
|
1872
|
+
let poll_cx = *self.current_poll_cx;
|
1873
|
+
let _reset = Reset(self.current_poll_cx, poll_cx);
|
1874
|
+
*self.current_poll_cx = ptr::null_mut();
|
1875
|
+
assert!(!poll_cx.is_null());
|
1876
|
+
future.as_mut().poll(&mut *poll_cx)
|
1877
|
+
};
|
1878
|
+
|
1879
|
+
match future_result {
|
1880
|
+
Poll::Ready(t) => break Ok(t),
|
1881
|
+
Poll::Pending => {}
|
1882
|
+
}
|
1883
|
+
|
1884
|
+
(*suspend).suspend(())?;
|
1885
|
+
}
|
1886
|
+
}
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
unsafe impl<T> wasmtime_runtime::Store for StoreInner<T> {
|
1890
|
+
fn vmruntime_limits(&self) -> *mut VMRuntimeLimits {
|
1891
|
+
<StoreOpaque>::vmruntime_limits(self)
|
1892
|
+
}
|
1893
|
+
|
1894
|
+
fn epoch_ptr(&self) -> *const AtomicU64 {
|
1895
|
+
self.engine.epoch_counter() as *const _
|
1896
|
+
}
|
1897
|
+
|
1898
|
+
fn externref_activations_table(
|
1899
|
+
&mut self,
|
1900
|
+
) -> (
|
1901
|
+
&mut VMExternRefActivationsTable,
|
1902
|
+
&dyn wasmtime_runtime::ModuleInfoLookup,
|
1903
|
+
) {
|
1904
|
+
let inner = &mut self.inner;
|
1905
|
+
(&mut inner.externref_activations_table, &inner.modules)
|
1906
|
+
}
|
1907
|
+
|
1908
|
+
fn memory_growing(
|
1909
|
+
&mut self,
|
1910
|
+
current: usize,
|
1911
|
+
desired: usize,
|
1912
|
+
maximum: Option<usize>,
|
1913
|
+
) -> Result<bool, anyhow::Error> {
|
1914
|
+
match self.limiter {
|
1915
|
+
Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
|
1916
|
+
limiter(&mut self.data).memory_growing(current, desired, maximum)
|
1917
|
+
}
|
1918
|
+
#[cfg(feature = "async")]
|
1919
|
+
Some(ResourceLimiterInner::Async(ref mut limiter)) => unsafe {
|
1920
|
+
self.inner
|
1921
|
+
.async_cx()
|
1922
|
+
.expect("ResourceLimiterAsync requires async Store")
|
1923
|
+
.block_on(
|
1924
|
+
limiter(&mut self.data)
|
1925
|
+
.memory_growing(current, desired, maximum)
|
1926
|
+
.as_mut(),
|
1927
|
+
)?
|
1928
|
+
},
|
1929
|
+
None => Ok(true),
|
1930
|
+
}
|
1931
|
+
}
|
1932
|
+
|
1933
|
+
fn memory_grow_failed(&mut self, error: &anyhow::Error) {
|
1934
|
+
match self.limiter {
|
1935
|
+
Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
|
1936
|
+
limiter(&mut self.data).memory_grow_failed(error)
|
1937
|
+
}
|
1938
|
+
#[cfg(feature = "async")]
|
1939
|
+
Some(ResourceLimiterInner::Async(ref mut limiter)) => {
|
1940
|
+
limiter(&mut self.data).memory_grow_failed(error)
|
1941
|
+
}
|
1942
|
+
None => {}
|
1943
|
+
}
|
1944
|
+
}
|
1945
|
+
|
1946
|
+
fn table_growing(
|
1947
|
+
&mut self,
|
1948
|
+
current: u32,
|
1949
|
+
desired: u32,
|
1950
|
+
maximum: Option<u32>,
|
1951
|
+
) -> Result<bool, anyhow::Error> {
|
1952
|
+
// Need to borrow async_cx before the mut borrow of the limiter.
|
1953
|
+
// self.async_cx() panicks when used with a non-async store, so
|
1954
|
+
// wrap this in an option.
|
1955
|
+
#[cfg(feature = "async")]
|
1956
|
+
let async_cx = if self.async_support() {
|
1957
|
+
Some(self.async_cx().unwrap())
|
1958
|
+
} else {
|
1959
|
+
None
|
1960
|
+
};
|
1961
|
+
|
1962
|
+
match self.limiter {
|
1963
|
+
Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
|
1964
|
+
limiter(&mut self.data).table_growing(current, desired, maximum)
|
1965
|
+
}
|
1966
|
+
#[cfg(feature = "async")]
|
1967
|
+
Some(ResourceLimiterInner::Async(ref mut limiter)) => unsafe {
|
1968
|
+
async_cx
|
1969
|
+
.expect("ResourceLimiterAsync requires async Store")
|
1970
|
+
.block_on(
|
1971
|
+
limiter(&mut self.data)
|
1972
|
+
.table_growing(current, desired, maximum)
|
1973
|
+
.as_mut(),
|
1974
|
+
)?
|
1975
|
+
},
|
1976
|
+
None => Ok(true),
|
1977
|
+
}
|
1978
|
+
}
|
1979
|
+
|
1980
|
+
fn table_grow_failed(&mut self, error: &anyhow::Error) {
|
1981
|
+
match self.limiter {
|
1982
|
+
Some(ResourceLimiterInner::Sync(ref mut limiter)) => {
|
1983
|
+
limiter(&mut self.data).table_grow_failed(error)
|
1984
|
+
}
|
1985
|
+
#[cfg(feature = "async")]
|
1986
|
+
Some(ResourceLimiterInner::Async(ref mut limiter)) => {
|
1987
|
+
limiter(&mut self.data).table_grow_failed(error)
|
1988
|
+
}
|
1989
|
+
None => {}
|
1990
|
+
}
|
1991
|
+
}
|
1992
|
+
|
1993
|
+
fn out_of_gas(&mut self) -> Result<(), anyhow::Error> {
|
1994
|
+
return match &mut self.out_of_gas_behavior {
|
1995
|
+
OutOfGas::Trap => Err(Trap::OutOfFuel.into()),
|
1996
|
+
#[cfg(feature = "async")]
|
1997
|
+
OutOfGas::InjectFuel {
|
1998
|
+
injection_count,
|
1999
|
+
fuel_to_inject,
|
2000
|
+
} => {
|
2001
|
+
if *injection_count == 0 {
|
2002
|
+
return Err(Trap::OutOfFuel.into());
|
2003
|
+
}
|
2004
|
+
*injection_count -= 1;
|
2005
|
+
let fuel = *fuel_to_inject;
|
2006
|
+
self.async_yield_impl()?;
|
2007
|
+
if fuel > 0 {
|
2008
|
+
self.add_fuel(fuel).unwrap();
|
2009
|
+
}
|
2010
|
+
Ok(())
|
2011
|
+
}
|
2012
|
+
#[cfg(not(feature = "async"))]
|
2013
|
+
OutOfGas::InjectFuel { .. } => unreachable!(),
|
2014
|
+
};
|
2015
|
+
}
|
2016
|
+
|
2017
|
+
fn new_epoch(&mut self) -> Result<u64, anyhow::Error> {
|
2018
|
+
// Temporarily take the configured behavior to avoid mutably borrowing
|
2019
|
+
// multiple times.
|
2020
|
+
let mut behavior = self.epoch_deadline_behavior.take();
|
2021
|
+
let delta_result = match &mut behavior {
|
2022
|
+
None => Err(Trap::Interrupt.into()),
|
2023
|
+
Some(callback) => callback((&mut *self).as_context_mut()).and_then(|update| {
|
2024
|
+
let delta = match update {
|
2025
|
+
UpdateDeadline::Continue(delta) => delta,
|
2026
|
+
|
2027
|
+
#[cfg(feature = "async")]
|
2028
|
+
UpdateDeadline::Yield(delta) => {
|
2029
|
+
assert!(
|
2030
|
+
self.async_support(),
|
2031
|
+
"cannot use `UpdateDeadline::Yield` without enabling async support in the config"
|
2032
|
+
);
|
2033
|
+
// Do the async yield. May return a trap if future was
|
2034
|
+
// canceled while we're yielded.
|
2035
|
+
self.async_yield_impl()?;
|
2036
|
+
delta
|
2037
|
+
}
|
2038
|
+
};
|
2039
|
+
|
2040
|
+
// Set a new deadline and return the new epoch deadline so
|
2041
|
+
// the Wasm code doesn't have to reload it.
|
2042
|
+
self.set_epoch_deadline(delta);
|
2043
|
+
Ok(self.get_epoch_deadline())
|
2044
|
+
})
|
2045
|
+
};
|
2046
|
+
|
2047
|
+
// Put back the original behavior which was replaced by `take`.
|
2048
|
+
self.epoch_deadline_behavior = behavior;
|
2049
|
+
delta_result
|
2050
|
+
}
|
2051
|
+
}
|
2052
|
+
|
2053
|
+
impl<T> StoreInner<T> {
|
2054
|
+
pub(crate) fn set_epoch_deadline(&mut self, delta: u64) {
|
2055
|
+
// Set a new deadline based on the "epoch deadline delta".
|
2056
|
+
//
|
2057
|
+
// Safety: this is safe because the epoch deadline in the
|
2058
|
+
// `VMRuntimeLimits` is accessed only here and by Wasm guest code
|
2059
|
+
// running in this store, and we have a `&mut self` here.
|
2060
|
+
//
|
2061
|
+
// Also, note that when this update is performed while Wasm is
|
2062
|
+
// on the stack, the Wasm will reload the new value once we
|
2063
|
+
// return into it.
|
2064
|
+
let epoch_deadline = unsafe { (*self.vmruntime_limits()).epoch_deadline.get_mut() };
|
2065
|
+
*epoch_deadline = self.engine().current_epoch() + delta;
|
2066
|
+
}
|
2067
|
+
|
2068
|
+
fn epoch_deadline_trap(&mut self) {
|
2069
|
+
self.epoch_deadline_behavior = None;
|
2070
|
+
}
|
2071
|
+
|
2072
|
+
fn epoch_deadline_callback(
|
2073
|
+
&mut self,
|
2074
|
+
callback: Box<dyn FnMut(StoreContextMut<T>) -> Result<UpdateDeadline> + Send + Sync>,
|
2075
|
+
) {
|
2076
|
+
self.epoch_deadline_behavior = Some(callback);
|
2077
|
+
}
|
2078
|
+
|
2079
|
+
fn epoch_deadline_async_yield_and_update(&mut self, delta: u64) {
|
2080
|
+
assert!(
|
2081
|
+
self.async_support(),
|
2082
|
+
"cannot use `epoch_deadline_async_yield_and_update` without enabling async support in the config"
|
2083
|
+
);
|
2084
|
+
#[cfg(feature = "async")]
|
2085
|
+
{
|
2086
|
+
self.epoch_deadline_behavior =
|
2087
|
+
Some(Box::new(move |_store| Ok(UpdateDeadline::Yield(delta))));
|
2088
|
+
}
|
2089
|
+
let _ = delta; // suppress warning in non-async build
|
2090
|
+
}
|
2091
|
+
|
2092
|
+
fn get_epoch_deadline(&self) -> u64 {
|
2093
|
+
// Safety: this is safe because, as above, it is only invoked
|
2094
|
+
// from within `new_epoch` which is called from guest Wasm
|
2095
|
+
// code, which will have an exclusive borrow on the Store.
|
2096
|
+
let epoch_deadline = unsafe { (*self.vmruntime_limits()).epoch_deadline.get_mut() };
|
2097
|
+
*epoch_deadline
|
2098
|
+
}
|
2099
|
+
}
|
2100
|
+
|
2101
|
+
impl<T: Default> Default for Store<T> {
|
2102
|
+
fn default() -> Store<T> {
|
2103
|
+
Store::new(&Engine::default(), T::default())
|
2104
|
+
}
|
2105
|
+
}
|
2106
|
+
|
2107
|
+
impl<T: fmt::Debug> fmt::Debug for Store<T> {
|
2108
|
+
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
2109
|
+
let inner = &**self.inner as *const StoreInner<T>;
|
2110
|
+
f.debug_struct("Store")
|
2111
|
+
.field("inner", &inner)
|
2112
|
+
.field("data", &self.inner.data)
|
2113
|
+
.finish()
|
2114
|
+
}
|
2115
|
+
}
|
2116
|
+
|
2117
|
+
impl<T> Drop for Store<T> {
|
2118
|
+
fn drop(&mut self) {
|
2119
|
+
// for documentation on this `unsafe`, see `into_data`.
|
2120
|
+
unsafe {
|
2121
|
+
ManuallyDrop::drop(&mut self.inner.data);
|
2122
|
+
ManuallyDrop::drop(&mut self.inner);
|
2123
|
+
}
|
2124
|
+
}
|
2125
|
+
}
|
2126
|
+
|
2127
|
+
impl Drop for StoreOpaque {
|
2128
|
+
fn drop(&mut self) {
|
2129
|
+
// NB it's important that this destructor does not access `self.data`.
|
2130
|
+
// That is deallocated by `Drop for Store<T>` above.
|
2131
|
+
|
2132
|
+
unsafe {
|
2133
|
+
let allocator = self.engine.allocator();
|
2134
|
+
let ondemand = OnDemandInstanceAllocator::default();
|
2135
|
+
for instance in self.instances.iter_mut() {
|
2136
|
+
if instance.ondemand {
|
2137
|
+
ondemand.deallocate(&mut instance.handle);
|
2138
|
+
} else {
|
2139
|
+
allocator.deallocate(&mut instance.handle);
|
2140
|
+
}
|
2141
|
+
}
|
2142
|
+
ondemand.deallocate(&mut self.default_caller);
|
2143
|
+
|
2144
|
+
// See documentation for these fields on `StoreOpaque` for why they
|
2145
|
+
// must be dropped in this order.
|
2146
|
+
ManuallyDrop::drop(&mut self.store_data);
|
2147
|
+
ManuallyDrop::drop(&mut self.rooted_host_funcs);
|
2148
|
+
}
|
2149
|
+
}
|
2150
|
+
}
|
2151
|
+
|
2152
|
+
impl wasmtime_runtime::ModuleInfoLookup for ModuleRegistry {
|
2153
|
+
fn lookup(&self, pc: usize) -> Option<&dyn ModuleInfo> {
|
2154
|
+
self.lookup_module(pc)
|
2155
|
+
}
|
2156
|
+
}
|
2157
|
+
|
2158
|
+
struct Reset<T: Copy>(*mut T, T);
|
2159
|
+
|
2160
|
+
impl<T: Copy> Drop for Reset<T> {
|
2161
|
+
fn drop(&mut self) {
|
2162
|
+
unsafe {
|
2163
|
+
*self.0 = self.1;
|
2164
|
+
}
|
2165
|
+
}
|
2166
|
+
}
|