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
@@ -1,2097 +0,0 @@
|
|
1
|
-
//! State relating to validating a WebAssembly component.
|
2
|
-
|
3
|
-
use super::{
|
4
|
-
check_max, combine_type_sizes,
|
5
|
-
core::Module,
|
6
|
-
types::{
|
7
|
-
ComponentFuncType, ComponentInstanceType, ComponentInstanceTypeKind, ComponentType,
|
8
|
-
ComponentValType, EntityType, InstanceType, KebabString, ModuleType, RecordType, Type,
|
9
|
-
TypeAlloc, TypeId, TypeList, VariantCase,
|
10
|
-
},
|
11
|
-
};
|
12
|
-
use crate::{
|
13
|
-
limits::*,
|
14
|
-
types::{
|
15
|
-
ComponentDefinedType, ComponentEntityType, InstanceTypeKind, KebabStr, LoweringInfo,
|
16
|
-
TupleType, UnionType, VariantType,
|
17
|
-
},
|
18
|
-
BinaryReaderError, CanonicalOption, ComponentExternalKind, ComponentOuterAliasKind,
|
19
|
-
ComponentTypeRef, ExternalKind, FuncType, GlobalType, InstantiationArgKind, MemoryType, Result,
|
20
|
-
TableType, TypeBounds, ValType, WasmFeatures,
|
21
|
-
};
|
22
|
-
use indexmap::{map::Entry, IndexMap, IndexSet};
|
23
|
-
use std::{collections::HashSet, mem};
|
24
|
-
use url::Url;
|
25
|
-
|
26
|
-
fn to_kebab_str<'a>(s: &'a str, desc: &str, offset: usize) -> Result<&'a KebabStr> {
|
27
|
-
match KebabStr::new(s) {
|
28
|
-
Some(s) => Ok(s),
|
29
|
-
None => {
|
30
|
-
if s.is_empty() {
|
31
|
-
bail!(offset, "{desc} name cannot be empty");
|
32
|
-
}
|
33
|
-
|
34
|
-
bail!(offset, "{desc} name `{s}` is not in kebab case");
|
35
|
-
}
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
fn parse_url(url: &str, offset: usize) -> Result<Option<Url>> {
|
40
|
-
if url.is_empty() {
|
41
|
-
return Ok(None);
|
42
|
-
}
|
43
|
-
|
44
|
-
Url::parse(url)
|
45
|
-
.map(Some)
|
46
|
-
.map_err(|e| BinaryReaderError::new(e.to_string(), offset))
|
47
|
-
}
|
48
|
-
|
49
|
-
pub(crate) struct ComponentState {
|
50
|
-
// Core index spaces
|
51
|
-
pub core_types: Vec<TypeId>,
|
52
|
-
pub core_modules: Vec<TypeId>,
|
53
|
-
pub core_instances: Vec<TypeId>,
|
54
|
-
pub core_funcs: Vec<TypeId>,
|
55
|
-
pub core_memories: Vec<MemoryType>,
|
56
|
-
pub core_tables: Vec<TableType>,
|
57
|
-
pub core_globals: Vec<GlobalType>,
|
58
|
-
pub core_tags: Vec<TypeId>,
|
59
|
-
|
60
|
-
// Component index spaces
|
61
|
-
pub types: Vec<TypeId>,
|
62
|
-
pub funcs: Vec<TypeId>,
|
63
|
-
pub values: Vec<(ComponentValType, bool)>,
|
64
|
-
pub instances: Vec<TypeId>,
|
65
|
-
pub components: Vec<TypeId>,
|
66
|
-
|
67
|
-
/// A set of all imports and exports since they share the same namespace.
|
68
|
-
pub externs: IndexMap<KebabString, (Option<Url>, ComponentEntityType, ExternKind)>,
|
69
|
-
|
70
|
-
// Note: URL validation requires unique URLs by byte comparison, so
|
71
|
-
// strings are used here and the URLs are not normalized.
|
72
|
-
import_urls: HashSet<String>,
|
73
|
-
export_urls: HashSet<String>,
|
74
|
-
|
75
|
-
has_start: bool,
|
76
|
-
type_size: u32,
|
77
|
-
}
|
78
|
-
|
79
|
-
pub enum ExternKind {
|
80
|
-
Import,
|
81
|
-
Export,
|
82
|
-
}
|
83
|
-
|
84
|
-
impl ExternKind {
|
85
|
-
fn desc(&self) -> &'static str {
|
86
|
-
match self {
|
87
|
-
ExternKind::Import => "import",
|
88
|
-
ExternKind::Export => "export",
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
impl ComponentState {
|
94
|
-
pub fn type_count(&self) -> usize {
|
95
|
-
self.core_types.len() + self.types.len()
|
96
|
-
}
|
97
|
-
|
98
|
-
pub fn instance_count(&self) -> usize {
|
99
|
-
self.core_instances.len() + self.instances.len()
|
100
|
-
}
|
101
|
-
|
102
|
-
pub fn function_count(&self) -> usize {
|
103
|
-
self.core_funcs.len() + self.funcs.len()
|
104
|
-
}
|
105
|
-
|
106
|
-
pub fn add_core_type(
|
107
|
-
components: &mut [Self],
|
108
|
-
ty: crate::CoreType,
|
109
|
-
features: &WasmFeatures,
|
110
|
-
types: &mut TypeAlloc,
|
111
|
-
offset: usize,
|
112
|
-
check_limit: bool,
|
113
|
-
) -> Result<()> {
|
114
|
-
let ty = match ty {
|
115
|
-
crate::CoreType::Func(ty) => Type::Func(ty),
|
116
|
-
crate::CoreType::Module(decls) => Type::Module(Box::new(Self::create_module_type(
|
117
|
-
components,
|
118
|
-
decls.into_vec(),
|
119
|
-
features,
|
120
|
-
types,
|
121
|
-
offset,
|
122
|
-
)?)),
|
123
|
-
};
|
124
|
-
|
125
|
-
let current = components.last_mut().unwrap();
|
126
|
-
|
127
|
-
if check_limit {
|
128
|
-
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
129
|
-
}
|
130
|
-
|
131
|
-
let id = types.push_ty(ty);
|
132
|
-
current.core_types.push(id);
|
133
|
-
|
134
|
-
Ok(())
|
135
|
-
}
|
136
|
-
|
137
|
-
pub fn add_core_module(
|
138
|
-
&mut self,
|
139
|
-
module: &Module,
|
140
|
-
types: &mut TypeAlloc,
|
141
|
-
offset: usize,
|
142
|
-
) -> Result<()> {
|
143
|
-
let imports = module.imports_for_module_type(offset)?;
|
144
|
-
|
145
|
-
// We have to clone the module's imports and exports here
|
146
|
-
// because we cannot take the data out of the `MaybeOwned`
|
147
|
-
// as it might be shared with a function validator.
|
148
|
-
let ty = Type::Module(Box::new(ModuleType {
|
149
|
-
type_size: module.type_size,
|
150
|
-
imports,
|
151
|
-
exports: module.exports.clone(),
|
152
|
-
}));
|
153
|
-
|
154
|
-
let id = types.push_ty(ty);
|
155
|
-
self.core_modules.push(id);
|
156
|
-
|
157
|
-
Ok(())
|
158
|
-
}
|
159
|
-
|
160
|
-
pub fn add_core_instance(
|
161
|
-
&mut self,
|
162
|
-
instance: crate::Instance,
|
163
|
-
types: &mut TypeAlloc,
|
164
|
-
offset: usize,
|
165
|
-
) -> Result<()> {
|
166
|
-
let instance = match instance {
|
167
|
-
crate::Instance::Instantiate { module_index, args } => {
|
168
|
-
self.instantiate_module(module_index, args.into_vec(), types, offset)?
|
169
|
-
}
|
170
|
-
crate::Instance::FromExports(exports) => {
|
171
|
-
self.instantiate_core_exports(exports.into_vec(), types, offset)?
|
172
|
-
}
|
173
|
-
};
|
174
|
-
|
175
|
-
self.core_instances.push(instance);
|
176
|
-
|
177
|
-
Ok(())
|
178
|
-
}
|
179
|
-
|
180
|
-
pub fn add_type(
|
181
|
-
components: &mut Vec<Self>,
|
182
|
-
ty: crate::ComponentType,
|
183
|
-
features: &WasmFeatures,
|
184
|
-
types: &mut TypeAlloc,
|
185
|
-
offset: usize,
|
186
|
-
check_limit: bool,
|
187
|
-
) -> Result<()> {
|
188
|
-
assert!(!components.is_empty());
|
189
|
-
let ty = match ty {
|
190
|
-
crate::ComponentType::Defined(ty) => Type::Defined(
|
191
|
-
components
|
192
|
-
.last_mut()
|
193
|
-
.unwrap()
|
194
|
-
.create_defined_type(ty, types, offset)?,
|
195
|
-
),
|
196
|
-
crate::ComponentType::Func(ty) => Type::ComponentFunc(
|
197
|
-
components
|
198
|
-
.last_mut()
|
199
|
-
.unwrap()
|
200
|
-
.create_function_type(ty, types, offset)?,
|
201
|
-
),
|
202
|
-
crate::ComponentType::Component(decls) => Type::Component(Box::new(
|
203
|
-
Self::create_component_type(components, decls.into_vec(), features, types, offset)?,
|
204
|
-
)),
|
205
|
-
crate::ComponentType::Instance(decls) => Type::ComponentInstance(Box::new(
|
206
|
-
Self::create_instance_type(components, decls.into_vec(), features, types, offset)?,
|
207
|
-
)),
|
208
|
-
};
|
209
|
-
|
210
|
-
let current = components.last_mut().unwrap();
|
211
|
-
if check_limit {
|
212
|
-
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
213
|
-
}
|
214
|
-
|
215
|
-
let id = types.push_ty(ty);
|
216
|
-
current.types.push(id);
|
217
|
-
|
218
|
-
Ok(())
|
219
|
-
}
|
220
|
-
|
221
|
-
pub fn add_import(
|
222
|
-
&mut self,
|
223
|
-
import: crate::ComponentImport,
|
224
|
-
types: &mut TypeAlloc,
|
225
|
-
offset: usize,
|
226
|
-
) -> Result<()> {
|
227
|
-
let entity = self.check_type_ref(&import.ty, types, offset)?;
|
228
|
-
self.add_entity(entity, false, offset)?;
|
229
|
-
let name = to_kebab_str(import.name, "import", offset)?;
|
230
|
-
|
231
|
-
match self.externs.entry(name.to_owned()) {
|
232
|
-
Entry::Occupied(e) => {
|
233
|
-
bail!(
|
234
|
-
offset,
|
235
|
-
"import name `{name}` conflicts with previous {desc} name `{prev}`",
|
236
|
-
name = import.name,
|
237
|
-
prev = e.key(),
|
238
|
-
desc = e.get().2.desc(),
|
239
|
-
);
|
240
|
-
}
|
241
|
-
Entry::Vacant(e) => {
|
242
|
-
let url = parse_url(import.url, offset)?;
|
243
|
-
if let Some(url) = url.as_ref() {
|
244
|
-
if !self.import_urls.insert(url.to_string()) {
|
245
|
-
bail!(offset, "duplicate import URL `{url}`");
|
246
|
-
}
|
247
|
-
}
|
248
|
-
|
249
|
-
self.type_size = combine_type_sizes(self.type_size, entity.type_size(), offset)?;
|
250
|
-
e.insert((url, entity, ExternKind::Import));
|
251
|
-
}
|
252
|
-
}
|
253
|
-
|
254
|
-
Ok(())
|
255
|
-
}
|
256
|
-
|
257
|
-
fn add_entity(
|
258
|
-
&mut self,
|
259
|
-
ty: ComponentEntityType,
|
260
|
-
value_used: bool,
|
261
|
-
offset: usize,
|
262
|
-
) -> Result<()> {
|
263
|
-
let (len, max, desc) = match ty {
|
264
|
-
ComponentEntityType::Module(id) => {
|
265
|
-
self.core_modules.push(id);
|
266
|
-
(self.core_modules.len(), MAX_WASM_MODULES, "modules")
|
267
|
-
}
|
268
|
-
ComponentEntityType::Component(id) => {
|
269
|
-
self.components.push(id);
|
270
|
-
(self.components.len(), MAX_WASM_COMPONENTS, "components")
|
271
|
-
}
|
272
|
-
ComponentEntityType::Instance(id) => {
|
273
|
-
self.instances.push(id);
|
274
|
-
(self.instance_count(), MAX_WASM_INSTANCES, "instances")
|
275
|
-
}
|
276
|
-
ComponentEntityType::Func(id) => {
|
277
|
-
self.funcs.push(id);
|
278
|
-
(self.function_count(), MAX_WASM_FUNCTIONS, "functions")
|
279
|
-
}
|
280
|
-
ComponentEntityType::Value(ty) => {
|
281
|
-
self.values.push((ty, value_used));
|
282
|
-
(self.values.len(), MAX_WASM_VALUES, "values")
|
283
|
-
}
|
284
|
-
ComponentEntityType::Type { created, .. } => {
|
285
|
-
self.types.push(created);
|
286
|
-
(self.types.len(), MAX_WASM_TYPES, "types")
|
287
|
-
}
|
288
|
-
};
|
289
|
-
|
290
|
-
check_max(len, 0, max, desc, offset)?;
|
291
|
-
Ok(())
|
292
|
-
}
|
293
|
-
|
294
|
-
pub fn add_export(
|
295
|
-
&mut self,
|
296
|
-
name: &str,
|
297
|
-
url: &str,
|
298
|
-
ty: ComponentEntityType,
|
299
|
-
offset: usize,
|
300
|
-
check_limit: bool,
|
301
|
-
) -> Result<()> {
|
302
|
-
if check_limit {
|
303
|
-
check_max(
|
304
|
-
self.externs.len(),
|
305
|
-
1,
|
306
|
-
MAX_WASM_EXPORTS,
|
307
|
-
"imports and exports",
|
308
|
-
offset,
|
309
|
-
)?;
|
310
|
-
}
|
311
|
-
self.add_entity(ty, true, offset)?;
|
312
|
-
|
313
|
-
let name = to_kebab_str(name, "export", offset)?;
|
314
|
-
|
315
|
-
match self.externs.entry(name.to_owned()) {
|
316
|
-
Entry::Occupied(e) => {
|
317
|
-
bail!(
|
318
|
-
offset,
|
319
|
-
"export name `{name}` conflicts with previous {desc} name `{prev}`",
|
320
|
-
prev = e.key(),
|
321
|
-
desc = e.get().2.desc(),
|
322
|
-
);
|
323
|
-
}
|
324
|
-
Entry::Vacant(e) => {
|
325
|
-
let url = parse_url(url, offset)?;
|
326
|
-
if let Some(url) = url.as_ref() {
|
327
|
-
if !self.export_urls.insert(url.to_string()) {
|
328
|
-
bail!(offset, "duplicate export URL `{url}`");
|
329
|
-
}
|
330
|
-
}
|
331
|
-
|
332
|
-
self.type_size = combine_type_sizes(self.type_size, ty.type_size(), offset)?;
|
333
|
-
e.insert((url, ty, ExternKind::Export));
|
334
|
-
}
|
335
|
-
}
|
336
|
-
|
337
|
-
Ok(())
|
338
|
-
}
|
339
|
-
|
340
|
-
pub fn lift_function(
|
341
|
-
&mut self,
|
342
|
-
core_func_index: u32,
|
343
|
-
type_index: u32,
|
344
|
-
options: Vec<CanonicalOption>,
|
345
|
-
types: &TypeList,
|
346
|
-
offset: usize,
|
347
|
-
) -> Result<()> {
|
348
|
-
let ty = self.function_type_at(type_index, types, offset)?;
|
349
|
-
let core_ty = types[self.core_function_at(core_func_index, offset)?]
|
350
|
-
.as_func_type()
|
351
|
-
.unwrap();
|
352
|
-
|
353
|
-
// Lifting a function is for an export, so match the expected canonical ABI
|
354
|
-
// export signature
|
355
|
-
let info = ty.lower(types, false);
|
356
|
-
self.check_options(Some(core_ty), &info, &options, types, offset)?;
|
357
|
-
|
358
|
-
if core_ty.params() != info.params.as_slice() {
|
359
|
-
bail!(
|
360
|
-
offset,
|
361
|
-
"lowered parameter types `{:?}` do not match parameter types \
|
362
|
-
`{:?}` of core function {core_func_index}",
|
363
|
-
info.params.as_slice(),
|
364
|
-
core_ty.params(),
|
365
|
-
);
|
366
|
-
}
|
367
|
-
|
368
|
-
if core_ty.results() != info.results.as_slice() {
|
369
|
-
bail!(
|
370
|
-
offset,
|
371
|
-
"lowered result types `{:?}` do not match result types \
|
372
|
-
`{:?}` of core function {core_func_index}",
|
373
|
-
info.results.as_slice(),
|
374
|
-
core_ty.results()
|
375
|
-
);
|
376
|
-
}
|
377
|
-
|
378
|
-
self.funcs.push(self.types[type_index as usize]);
|
379
|
-
|
380
|
-
Ok(())
|
381
|
-
}
|
382
|
-
|
383
|
-
pub fn lower_function(
|
384
|
-
&mut self,
|
385
|
-
func_index: u32,
|
386
|
-
options: Vec<CanonicalOption>,
|
387
|
-
types: &mut TypeAlloc,
|
388
|
-
offset: usize,
|
389
|
-
) -> Result<()> {
|
390
|
-
let ty = types[self.function_at(func_index, offset)?]
|
391
|
-
.as_component_func_type()
|
392
|
-
.unwrap();
|
393
|
-
|
394
|
-
// Lowering a function is for an import, so use a function type that matches
|
395
|
-
// the expected canonical ABI import signature.
|
396
|
-
let info = ty.lower(types, true);
|
397
|
-
|
398
|
-
self.check_options(None, &info, &options, types, offset)?;
|
399
|
-
|
400
|
-
let lowered_ty = Type::Func(info.into_func_type());
|
401
|
-
|
402
|
-
let id = types.push_ty(lowered_ty);
|
403
|
-
self.core_funcs.push(id);
|
404
|
-
|
405
|
-
Ok(())
|
406
|
-
}
|
407
|
-
|
408
|
-
pub fn add_component(&mut self, component: &mut Self, types: &mut TypeAlloc) {
|
409
|
-
let ty = Type::Component(Box::new(component.take_component_type()));
|
410
|
-
let id = types.push_ty(ty);
|
411
|
-
self.components.push(id);
|
412
|
-
}
|
413
|
-
|
414
|
-
pub fn add_instance(
|
415
|
-
&mut self,
|
416
|
-
instance: crate::ComponentInstance,
|
417
|
-
types: &mut TypeAlloc,
|
418
|
-
offset: usize,
|
419
|
-
) -> Result<()> {
|
420
|
-
let instance = match instance {
|
421
|
-
crate::ComponentInstance::Instantiate {
|
422
|
-
component_index,
|
423
|
-
args,
|
424
|
-
} => self.instantiate_component(component_index, args.into_vec(), types, offset)?,
|
425
|
-
crate::ComponentInstance::FromExports(exports) => {
|
426
|
-
self.instantiate_exports(exports.into_vec(), types, offset)?
|
427
|
-
}
|
428
|
-
};
|
429
|
-
|
430
|
-
self.instances.push(instance);
|
431
|
-
|
432
|
-
Ok(())
|
433
|
-
}
|
434
|
-
|
435
|
-
pub fn add_alias(
|
436
|
-
components: &mut [Self],
|
437
|
-
alias: crate::ComponentAlias,
|
438
|
-
types: &mut TypeAlloc,
|
439
|
-
offset: usize,
|
440
|
-
) -> Result<()> {
|
441
|
-
match alias {
|
442
|
-
crate::ComponentAlias::InstanceExport {
|
443
|
-
instance_index,
|
444
|
-
kind,
|
445
|
-
name,
|
446
|
-
} => components.last_mut().unwrap().alias_instance_export(
|
447
|
-
instance_index,
|
448
|
-
kind,
|
449
|
-
name,
|
450
|
-
types,
|
451
|
-
offset,
|
452
|
-
),
|
453
|
-
crate::ComponentAlias::CoreInstanceExport {
|
454
|
-
instance_index,
|
455
|
-
kind,
|
456
|
-
name,
|
457
|
-
} => components.last_mut().unwrap().alias_core_instance_export(
|
458
|
-
instance_index,
|
459
|
-
kind,
|
460
|
-
name,
|
461
|
-
types,
|
462
|
-
offset,
|
463
|
-
),
|
464
|
-
crate::ComponentAlias::Outer { kind, count, index } => match kind {
|
465
|
-
ComponentOuterAliasKind::CoreModule => {
|
466
|
-
Self::alias_module(components, count, index, offset)
|
467
|
-
}
|
468
|
-
ComponentOuterAliasKind::CoreType => {
|
469
|
-
Self::alias_core_type(components, count, index, types, offset)
|
470
|
-
}
|
471
|
-
ComponentOuterAliasKind::Type => {
|
472
|
-
Self::alias_type(components, count, index, types, offset)
|
473
|
-
}
|
474
|
-
ComponentOuterAliasKind::Component => {
|
475
|
-
Self::alias_component(components, count, index, offset)
|
476
|
-
}
|
477
|
-
},
|
478
|
-
}
|
479
|
-
}
|
480
|
-
|
481
|
-
pub fn add_start(
|
482
|
-
&mut self,
|
483
|
-
func_index: u32,
|
484
|
-
args: &[u32],
|
485
|
-
results: u32,
|
486
|
-
types: &TypeList,
|
487
|
-
offset: usize,
|
488
|
-
) -> Result<()> {
|
489
|
-
if self.has_start {
|
490
|
-
return Err(BinaryReaderError::new(
|
491
|
-
"component cannot have more than one start function",
|
492
|
-
offset,
|
493
|
-
));
|
494
|
-
}
|
495
|
-
|
496
|
-
let ft = types[self.function_at(func_index, offset)?]
|
497
|
-
.as_component_func_type()
|
498
|
-
.unwrap();
|
499
|
-
|
500
|
-
if ft.params.len() != args.len() {
|
501
|
-
bail!(
|
502
|
-
offset,
|
503
|
-
"component start function requires {} arguments but was given {}",
|
504
|
-
ft.params.len(),
|
505
|
-
args.len()
|
506
|
-
);
|
507
|
-
}
|
508
|
-
|
509
|
-
if ft.results.len() as u32 != results {
|
510
|
-
bail!(
|
511
|
-
offset,
|
512
|
-
"component start function has a result count of {results} \
|
513
|
-
but the function type has a result count of {type_results}",
|
514
|
-
type_results = ft.results.len(),
|
515
|
-
);
|
516
|
-
}
|
517
|
-
|
518
|
-
for (i, ((_, ty), arg)) in ft.params.iter().zip(args).enumerate() {
|
519
|
-
// Ensure the value's type is a subtype of the parameter type
|
520
|
-
if !ComponentValType::internal_is_subtype_of(
|
521
|
-
self.value_at(*arg, offset)?,
|
522
|
-
types,
|
523
|
-
ty,
|
524
|
-
types,
|
525
|
-
) {
|
526
|
-
bail!(
|
527
|
-
offset,
|
528
|
-
"value type mismatch for component start function argument {i}"
|
529
|
-
);
|
530
|
-
}
|
531
|
-
}
|
532
|
-
|
533
|
-
for (_, ty) in ft.results.iter() {
|
534
|
-
self.values.push((*ty, false));
|
535
|
-
}
|
536
|
-
|
537
|
-
self.has_start = true;
|
538
|
-
|
539
|
-
Ok(())
|
540
|
-
}
|
541
|
-
|
542
|
-
fn check_options(
|
543
|
-
&self,
|
544
|
-
core_ty: Option<&FuncType>,
|
545
|
-
info: &LoweringInfo,
|
546
|
-
options: &[CanonicalOption],
|
547
|
-
types: &TypeList,
|
548
|
-
offset: usize,
|
549
|
-
) -> Result<()> {
|
550
|
-
fn display(option: CanonicalOption) -> &'static str {
|
551
|
-
match option {
|
552
|
-
CanonicalOption::UTF8 => "utf8",
|
553
|
-
CanonicalOption::UTF16 => "utf16",
|
554
|
-
CanonicalOption::CompactUTF16 => "latin1-utf16",
|
555
|
-
CanonicalOption::Memory(_) => "memory",
|
556
|
-
CanonicalOption::Realloc(_) => "realloc",
|
557
|
-
CanonicalOption::PostReturn(_) => "post-return",
|
558
|
-
}
|
559
|
-
}
|
560
|
-
|
561
|
-
let mut encoding = None;
|
562
|
-
let mut memory = None;
|
563
|
-
let mut realloc = None;
|
564
|
-
let mut post_return = None;
|
565
|
-
|
566
|
-
for option in options {
|
567
|
-
match option {
|
568
|
-
CanonicalOption::UTF8 | CanonicalOption::UTF16 | CanonicalOption::CompactUTF16 => {
|
569
|
-
match encoding {
|
570
|
-
Some(existing) => {
|
571
|
-
bail!(
|
572
|
-
offset,
|
573
|
-
"canonical encoding option `{}` conflicts with option `{}`",
|
574
|
-
display(existing),
|
575
|
-
display(*option),
|
576
|
-
)
|
577
|
-
}
|
578
|
-
None => encoding = Some(*option),
|
579
|
-
}
|
580
|
-
}
|
581
|
-
CanonicalOption::Memory(idx) => {
|
582
|
-
memory = match memory {
|
583
|
-
None => {
|
584
|
-
self.memory_at(*idx, offset)?;
|
585
|
-
Some(*idx)
|
586
|
-
}
|
587
|
-
Some(_) => {
|
588
|
-
return Err(BinaryReaderError::new(
|
589
|
-
"canonical option `memory` is specified more than once",
|
590
|
-
offset,
|
591
|
-
))
|
592
|
-
}
|
593
|
-
}
|
594
|
-
}
|
595
|
-
CanonicalOption::Realloc(idx) => {
|
596
|
-
realloc = match realloc {
|
597
|
-
None => {
|
598
|
-
let ty = types[self.core_function_at(*idx, offset)?]
|
599
|
-
.as_func_type()
|
600
|
-
.unwrap();
|
601
|
-
if ty.params()
|
602
|
-
!= [ValType::I32, ValType::I32, ValType::I32, ValType::I32]
|
603
|
-
|| ty.results() != [ValType::I32]
|
604
|
-
{
|
605
|
-
return Err(BinaryReaderError::new(
|
606
|
-
"canonical option `realloc` uses a core function with an incorrect signature",
|
607
|
-
offset,
|
608
|
-
));
|
609
|
-
}
|
610
|
-
Some(*idx)
|
611
|
-
}
|
612
|
-
Some(_) => {
|
613
|
-
return Err(BinaryReaderError::new(
|
614
|
-
"canonical option `realloc` is specified more than once",
|
615
|
-
offset,
|
616
|
-
))
|
617
|
-
}
|
618
|
-
}
|
619
|
-
}
|
620
|
-
CanonicalOption::PostReturn(idx) => {
|
621
|
-
post_return = match post_return {
|
622
|
-
None => {
|
623
|
-
let core_ty = core_ty.ok_or_else(|| {
|
624
|
-
BinaryReaderError::new(
|
625
|
-
"canonical option `post-return` cannot be specified for lowerings",
|
626
|
-
offset,
|
627
|
-
)
|
628
|
-
})?;
|
629
|
-
|
630
|
-
let ty = types[self.core_function_at(*idx, offset)?]
|
631
|
-
.as_func_type()
|
632
|
-
.unwrap();
|
633
|
-
|
634
|
-
if ty.params() != core_ty.results() || !ty.results().is_empty() {
|
635
|
-
return Err(BinaryReaderError::new(
|
636
|
-
"canonical option `post-return` uses a core function with an incorrect signature",
|
637
|
-
offset,
|
638
|
-
));
|
639
|
-
}
|
640
|
-
Some(*idx)
|
641
|
-
}
|
642
|
-
Some(_) => {
|
643
|
-
return Err(BinaryReaderError::new(
|
644
|
-
"canonical option `post-return` is specified more than once",
|
645
|
-
offset,
|
646
|
-
))
|
647
|
-
}
|
648
|
-
}
|
649
|
-
}
|
650
|
-
}
|
651
|
-
}
|
652
|
-
|
653
|
-
if info.requires_memory && memory.is_none() {
|
654
|
-
return Err(BinaryReaderError::new(
|
655
|
-
"canonical option `memory` is required",
|
656
|
-
offset,
|
657
|
-
));
|
658
|
-
}
|
659
|
-
|
660
|
-
if info.requires_realloc && realloc.is_none() {
|
661
|
-
return Err(BinaryReaderError::new(
|
662
|
-
"canonical option `realloc` is required",
|
663
|
-
offset,
|
664
|
-
));
|
665
|
-
}
|
666
|
-
|
667
|
-
Ok(())
|
668
|
-
}
|
669
|
-
|
670
|
-
fn check_type_ref(
|
671
|
-
&self,
|
672
|
-
ty: &ComponentTypeRef,
|
673
|
-
types: &mut TypeAlloc,
|
674
|
-
offset: usize,
|
675
|
-
) -> Result<ComponentEntityType> {
|
676
|
-
Ok(match ty {
|
677
|
-
ComponentTypeRef::Module(index) => {
|
678
|
-
let id = self.type_at(*index, true, offset)?;
|
679
|
-
types[id].as_module_type().ok_or_else(|| {
|
680
|
-
format_err!(offset, "core type index {index} is not a module type")
|
681
|
-
})?;
|
682
|
-
ComponentEntityType::Module(id)
|
683
|
-
}
|
684
|
-
ComponentTypeRef::Func(index) => {
|
685
|
-
let id = self.type_at(*index, false, offset)?;
|
686
|
-
types[id].as_component_func_type().ok_or_else(|| {
|
687
|
-
format_err!(offset, "type index {index} is not a function type")
|
688
|
-
})?;
|
689
|
-
ComponentEntityType::Func(id)
|
690
|
-
}
|
691
|
-
ComponentTypeRef::Value(ty) => {
|
692
|
-
let ty = match ty {
|
693
|
-
crate::ComponentValType::Primitive(ty) => ComponentValType::Primitive(*ty),
|
694
|
-
crate::ComponentValType::Type(index) => {
|
695
|
-
ComponentValType::Type(self.defined_type_at(*index, types, offset)?)
|
696
|
-
}
|
697
|
-
};
|
698
|
-
ComponentEntityType::Value(ty)
|
699
|
-
}
|
700
|
-
ComponentTypeRef::Type(TypeBounds::Eq, index) => {
|
701
|
-
let referenced = self.type_at(*index, false, offset)?;
|
702
|
-
let created = types.with_unique(referenced);
|
703
|
-
ComponentEntityType::Type {
|
704
|
-
referenced,
|
705
|
-
created,
|
706
|
-
}
|
707
|
-
}
|
708
|
-
ComponentTypeRef::Instance(index) => {
|
709
|
-
let id = self.type_at(*index, false, offset)?;
|
710
|
-
types[id].as_component_instance_type().ok_or_else(|| {
|
711
|
-
format_err!(offset, "type index {index} is not an instance type")
|
712
|
-
})?;
|
713
|
-
ComponentEntityType::Instance(id)
|
714
|
-
}
|
715
|
-
ComponentTypeRef::Component(index) => {
|
716
|
-
let id = self.type_at(*index, false, offset)?;
|
717
|
-
types[id].as_component_type().ok_or_else(|| {
|
718
|
-
format_err!(offset, "type index {index} is not a component type")
|
719
|
-
})?;
|
720
|
-
ComponentEntityType::Component(id)
|
721
|
-
}
|
722
|
-
})
|
723
|
-
}
|
724
|
-
|
725
|
-
pub fn export_to_entity_type(
|
726
|
-
&mut self,
|
727
|
-
export: &crate::ComponentExport,
|
728
|
-
types: &mut TypeAlloc,
|
729
|
-
offset: usize,
|
730
|
-
) -> Result<ComponentEntityType> {
|
731
|
-
let actual = match export.kind {
|
732
|
-
ComponentExternalKind::Module => {
|
733
|
-
ComponentEntityType::Module(self.module_at(export.index, offset)?)
|
734
|
-
}
|
735
|
-
ComponentExternalKind::Func => {
|
736
|
-
ComponentEntityType::Func(self.function_at(export.index, offset)?)
|
737
|
-
}
|
738
|
-
ComponentExternalKind::Value => {
|
739
|
-
ComponentEntityType::Value(*self.value_at(export.index, offset)?)
|
740
|
-
}
|
741
|
-
ComponentExternalKind::Type => {
|
742
|
-
let referenced = self.type_at(export.index, false, offset)?;
|
743
|
-
let created = types.with_unique(referenced);
|
744
|
-
ComponentEntityType::Type {
|
745
|
-
referenced,
|
746
|
-
created,
|
747
|
-
}
|
748
|
-
}
|
749
|
-
ComponentExternalKind::Instance => {
|
750
|
-
ComponentEntityType::Instance(self.instance_at(export.index, offset)?)
|
751
|
-
}
|
752
|
-
ComponentExternalKind::Component => {
|
753
|
-
ComponentEntityType::Component(self.component_at(export.index, offset)?)
|
754
|
-
}
|
755
|
-
};
|
756
|
-
|
757
|
-
let ascribed = match &export.ty {
|
758
|
-
Some(ty) => self.check_type_ref(ty, types, offset)?,
|
759
|
-
None => return Ok(actual),
|
760
|
-
};
|
761
|
-
|
762
|
-
if !ComponentEntityType::internal_is_subtype_of(&actual, types, &ascribed, types) {
|
763
|
-
bail!(
|
764
|
-
offset,
|
765
|
-
"ascribed type of export is not compatible with item's type"
|
766
|
-
);
|
767
|
-
}
|
768
|
-
|
769
|
-
Ok(ascribed)
|
770
|
-
}
|
771
|
-
|
772
|
-
fn create_module_type(
|
773
|
-
components: &[Self],
|
774
|
-
decls: Vec<crate::ModuleTypeDeclaration>,
|
775
|
-
features: &WasmFeatures,
|
776
|
-
types: &mut TypeAlloc,
|
777
|
-
offset: usize,
|
778
|
-
) -> Result<ModuleType> {
|
779
|
-
let mut state = Module::default();
|
780
|
-
|
781
|
-
for decl in decls {
|
782
|
-
match decl {
|
783
|
-
crate::ModuleTypeDeclaration::Type(ty) => {
|
784
|
-
state.add_type(ty, features, types, offset, true)?;
|
785
|
-
}
|
786
|
-
crate::ModuleTypeDeclaration::Export { name, ty } => {
|
787
|
-
let ty = state.check_type_ref(&ty, features, types, offset)?;
|
788
|
-
state.add_export(name, ty, features, offset, true)?;
|
789
|
-
}
|
790
|
-
crate::ModuleTypeDeclaration::OuterAlias { kind, count, index } => {
|
791
|
-
if count > 1 {
|
792
|
-
return Err(BinaryReaderError::new(
|
793
|
-
"outer type aliases in module type declarations are limited to a maximum count of 1",
|
794
|
-
offset,
|
795
|
-
));
|
796
|
-
}
|
797
|
-
match kind {
|
798
|
-
crate::OuterAliasKind::Type => {
|
799
|
-
let ty = if count == 0 {
|
800
|
-
// Local alias, check the local module state
|
801
|
-
state.type_at(index, offset)?
|
802
|
-
} else {
|
803
|
-
// Otherwise, check the enclosing component state
|
804
|
-
let component =
|
805
|
-
Self::check_alias_count(components, count - 1, offset)?;
|
806
|
-
component.type_at(index, true, offset)?
|
807
|
-
};
|
808
|
-
|
809
|
-
check_max(state.types.len(), 1, MAX_WASM_TYPES, "types", offset)?;
|
810
|
-
|
811
|
-
state.types.push(ty);
|
812
|
-
}
|
813
|
-
}
|
814
|
-
}
|
815
|
-
crate::ModuleTypeDeclaration::Import(import) => {
|
816
|
-
state.add_import(import, features, types, offset)?;
|
817
|
-
}
|
818
|
-
}
|
819
|
-
}
|
820
|
-
|
821
|
-
let imports = state.imports_for_module_type(offset)?;
|
822
|
-
|
823
|
-
Ok(ModuleType {
|
824
|
-
type_size: state.type_size,
|
825
|
-
imports,
|
826
|
-
exports: state.exports,
|
827
|
-
})
|
828
|
-
}
|
829
|
-
|
830
|
-
fn create_component_type(
|
831
|
-
components: &mut Vec<Self>,
|
832
|
-
decls: Vec<crate::ComponentTypeDeclaration>,
|
833
|
-
features: &WasmFeatures,
|
834
|
-
types: &mut TypeAlloc,
|
835
|
-
offset: usize,
|
836
|
-
) -> Result<ComponentType> {
|
837
|
-
components.push(ComponentState::default());
|
838
|
-
|
839
|
-
for decl in decls {
|
840
|
-
match decl {
|
841
|
-
crate::ComponentTypeDeclaration::CoreType(ty) => {
|
842
|
-
Self::add_core_type(components, ty, features, types, offset, true)?;
|
843
|
-
}
|
844
|
-
crate::ComponentTypeDeclaration::Type(ty) => {
|
845
|
-
Self::add_type(components, ty, features, types, offset, true)?;
|
846
|
-
}
|
847
|
-
crate::ComponentTypeDeclaration::Export { name, url, ty } => {
|
848
|
-
let current = components.last_mut().unwrap();
|
849
|
-
let ty = current.check_type_ref(&ty, types, offset)?;
|
850
|
-
current.add_export(name, url, ty, offset, true)?;
|
851
|
-
}
|
852
|
-
crate::ComponentTypeDeclaration::Import(import) => {
|
853
|
-
components
|
854
|
-
.last_mut()
|
855
|
-
.unwrap()
|
856
|
-
.add_import(import, types, offset)?;
|
857
|
-
}
|
858
|
-
crate::ComponentTypeDeclaration::Alias(alias) => {
|
859
|
-
Self::add_alias(components, alias, types, offset)?;
|
860
|
-
}
|
861
|
-
};
|
862
|
-
}
|
863
|
-
|
864
|
-
let mut state = components.pop().unwrap();
|
865
|
-
|
866
|
-
Ok(state.take_component_type())
|
867
|
-
}
|
868
|
-
|
869
|
-
fn create_instance_type(
|
870
|
-
components: &mut Vec<Self>,
|
871
|
-
decls: Vec<crate::InstanceTypeDeclaration>,
|
872
|
-
features: &WasmFeatures,
|
873
|
-
types: &mut TypeAlloc,
|
874
|
-
offset: usize,
|
875
|
-
) -> Result<ComponentInstanceType> {
|
876
|
-
components.push(ComponentState::default());
|
877
|
-
|
878
|
-
for decl in decls {
|
879
|
-
match decl {
|
880
|
-
crate::InstanceTypeDeclaration::CoreType(ty) => {
|
881
|
-
Self::add_core_type(components, ty, features, types, offset, true)?;
|
882
|
-
}
|
883
|
-
crate::InstanceTypeDeclaration::Type(ty) => {
|
884
|
-
Self::add_type(components, ty, features, types, offset, true)?;
|
885
|
-
}
|
886
|
-
crate::InstanceTypeDeclaration::Export { name, url, ty } => {
|
887
|
-
let current = components.last_mut().unwrap();
|
888
|
-
let ty = current.check_type_ref(&ty, types, offset)?;
|
889
|
-
current.add_export(name, url, ty, offset, true)?;
|
890
|
-
}
|
891
|
-
crate::InstanceTypeDeclaration::Alias(alias) => {
|
892
|
-
Self::add_alias(components, alias, types, offset)?;
|
893
|
-
}
|
894
|
-
};
|
895
|
-
}
|
896
|
-
|
897
|
-
let state = components.pop().unwrap();
|
898
|
-
|
899
|
-
Ok(ComponentInstanceType {
|
900
|
-
type_size: state.type_size,
|
901
|
-
kind: ComponentInstanceTypeKind::Defined(
|
902
|
-
state
|
903
|
-
.externs
|
904
|
-
.into_iter()
|
905
|
-
.filter_map(|(name, (url, ty, kind))| match kind {
|
906
|
-
ExternKind::Export => Some((name, (url, ty))),
|
907
|
-
ExternKind::Import => None,
|
908
|
-
})
|
909
|
-
.collect(),
|
910
|
-
),
|
911
|
-
})
|
912
|
-
}
|
913
|
-
|
914
|
-
fn create_function_type(
|
915
|
-
&self,
|
916
|
-
ty: crate::ComponentFuncType,
|
917
|
-
types: &TypeList,
|
918
|
-
offset: usize,
|
919
|
-
) -> Result<ComponentFuncType> {
|
920
|
-
let mut type_size = 1;
|
921
|
-
|
922
|
-
let mut set =
|
923
|
-
HashSet::with_capacity(std::cmp::max(ty.params.len(), ty.results.type_count()));
|
924
|
-
|
925
|
-
let params = ty
|
926
|
-
.params
|
927
|
-
.iter()
|
928
|
-
.map(|(name, ty)| {
|
929
|
-
let name = to_kebab_str(name, "function parameter", offset)?;
|
930
|
-
if !set.insert(name) {
|
931
|
-
bail!(
|
932
|
-
offset,
|
933
|
-
"function parameter name `{name}` conflicts with previous parameter name `{prev}`",
|
934
|
-
prev = set.get(&name).unwrap(),
|
935
|
-
);
|
936
|
-
}
|
937
|
-
|
938
|
-
let ty = self.create_component_val_type(*ty, types, offset)?;
|
939
|
-
type_size = combine_type_sizes(type_size, ty.type_size(), offset)?;
|
940
|
-
Ok((name.to_owned(), ty))
|
941
|
-
})
|
942
|
-
.collect::<Result<_>>()?;
|
943
|
-
|
944
|
-
set.clear();
|
945
|
-
|
946
|
-
let results = ty
|
947
|
-
.results
|
948
|
-
.iter()
|
949
|
-
.map(|(name, ty)| {
|
950
|
-
let name = name
|
951
|
-
.map(|name| {
|
952
|
-
let name = to_kebab_str(name, "function result", offset)?;
|
953
|
-
if !set.insert(name) {
|
954
|
-
bail!(
|
955
|
-
offset,
|
956
|
-
"function result name `{name}` conflicts with previous result name `{prev}`",
|
957
|
-
prev = set.get(name).unwrap(),
|
958
|
-
);
|
959
|
-
}
|
960
|
-
|
961
|
-
Ok(name.to_owned())
|
962
|
-
})
|
963
|
-
.transpose()?;
|
964
|
-
|
965
|
-
let ty = self.create_component_val_type(*ty, types, offset)?;
|
966
|
-
type_size = combine_type_sizes(type_size, ty.type_size(), offset)?;
|
967
|
-
Ok((name, ty))
|
968
|
-
})
|
969
|
-
.collect::<Result<_>>()?;
|
970
|
-
|
971
|
-
Ok(ComponentFuncType {
|
972
|
-
type_size,
|
973
|
-
params,
|
974
|
-
results,
|
975
|
-
})
|
976
|
-
}
|
977
|
-
|
978
|
-
fn instantiate_module(
|
979
|
-
&self,
|
980
|
-
module_index: u32,
|
981
|
-
module_args: Vec<crate::InstantiationArg>,
|
982
|
-
types: &mut TypeAlloc,
|
983
|
-
offset: usize,
|
984
|
-
) -> Result<TypeId> {
|
985
|
-
fn insert_arg<'a>(
|
986
|
-
name: &'a str,
|
987
|
-
arg: &'a InstanceType,
|
988
|
-
args: &mut IndexMap<&'a str, &'a InstanceType>,
|
989
|
-
offset: usize,
|
990
|
-
) -> Result<()> {
|
991
|
-
if args.insert(name, arg).is_some() {
|
992
|
-
bail!(
|
993
|
-
offset,
|
994
|
-
"duplicate module instantiation argument named `{name}`"
|
995
|
-
);
|
996
|
-
}
|
997
|
-
|
998
|
-
Ok(())
|
999
|
-
}
|
1000
|
-
|
1001
|
-
let module_type_id = self.module_at(module_index, offset)?;
|
1002
|
-
let mut args = IndexMap::new();
|
1003
|
-
|
1004
|
-
// Populate the arguments
|
1005
|
-
for module_arg in module_args {
|
1006
|
-
match module_arg.kind {
|
1007
|
-
InstantiationArgKind::Instance => {
|
1008
|
-
let instance_type = types[self.core_instance_at(module_arg.index, offset)?]
|
1009
|
-
.as_instance_type()
|
1010
|
-
.unwrap();
|
1011
|
-
insert_arg(module_arg.name, instance_type, &mut args, offset)?;
|
1012
|
-
}
|
1013
|
-
}
|
1014
|
-
}
|
1015
|
-
|
1016
|
-
// Validate the arguments
|
1017
|
-
let module_type = types[module_type_id].as_module_type().unwrap();
|
1018
|
-
for ((module, name), expected) in module_type.imports.iter() {
|
1019
|
-
let instance = args.get(module.as_str()).ok_or_else(|| {
|
1020
|
-
format_err!(
|
1021
|
-
offset,
|
1022
|
-
"missing module instantiation argument named `{module}`"
|
1023
|
-
)
|
1024
|
-
})?;
|
1025
|
-
|
1026
|
-
let arg = instance
|
1027
|
-
.internal_exports(types)
|
1028
|
-
.get(name.as_str())
|
1029
|
-
.ok_or_else(|| {
|
1030
|
-
format_err!(
|
1031
|
-
offset,
|
1032
|
-
"module instantiation argument `{module}` does not \
|
1033
|
-
export an item named `{name}`",
|
1034
|
-
)
|
1035
|
-
})?;
|
1036
|
-
|
1037
|
-
match (arg, expected) {
|
1038
|
-
(EntityType::Func(_), EntityType::Func(_))
|
1039
|
-
| (EntityType::Table(_), EntityType::Table(_))
|
1040
|
-
| (EntityType::Memory(_), EntityType::Memory(_))
|
1041
|
-
| (EntityType::Global(_), EntityType::Global(_))
|
1042
|
-
| (EntityType::Tag(_), EntityType::Tag(_)) => {}
|
1043
|
-
_ => {
|
1044
|
-
bail!(
|
1045
|
-
offset,
|
1046
|
-
"module instantiation argument `{module}` exports \
|
1047
|
-
an item named `{name}` but it is not a {}",
|
1048
|
-
expected.desc()
|
1049
|
-
)
|
1050
|
-
}
|
1051
|
-
}
|
1052
|
-
|
1053
|
-
if !EntityType::internal_is_subtype_of(arg, types, expected, types) {
|
1054
|
-
bail!(
|
1055
|
-
offset,
|
1056
|
-
"{} type mismatch for export `{name}` of module \
|
1057
|
-
instantiation argument `{module}`",
|
1058
|
-
expected.desc(),
|
1059
|
-
);
|
1060
|
-
}
|
1061
|
-
}
|
1062
|
-
|
1063
|
-
let ty = Type::Instance(Box::new(InstanceType {
|
1064
|
-
type_size: module_type
|
1065
|
-
.exports
|
1066
|
-
.iter()
|
1067
|
-
.fold(1, |acc, (_, ty)| acc + ty.type_size()),
|
1068
|
-
kind: InstanceTypeKind::Instantiated(module_type_id),
|
1069
|
-
}));
|
1070
|
-
|
1071
|
-
Ok(types.push_ty(ty))
|
1072
|
-
}
|
1073
|
-
|
1074
|
-
fn instantiate_component(
|
1075
|
-
&mut self,
|
1076
|
-
component_index: u32,
|
1077
|
-
component_args: Vec<crate::ComponentInstantiationArg>,
|
1078
|
-
types: &mut TypeAlloc,
|
1079
|
-
offset: usize,
|
1080
|
-
) -> Result<TypeId> {
|
1081
|
-
fn insert_arg<'a>(
|
1082
|
-
name: &'a str,
|
1083
|
-
arg: ComponentEntityType,
|
1084
|
-
args: &mut IndexMap<&'a KebabStr, ComponentEntityType>,
|
1085
|
-
offset: usize,
|
1086
|
-
) -> Result<()> {
|
1087
|
-
let name = to_kebab_str(name, "instantiation argument", offset)?;
|
1088
|
-
match args.entry(name) {
|
1089
|
-
Entry::Occupied(e) => {
|
1090
|
-
bail!(
|
1091
|
-
offset,
|
1092
|
-
"instantiation argument `{name}` conflicts with previous argument `{prev}`",
|
1093
|
-
prev = e.key()
|
1094
|
-
);
|
1095
|
-
}
|
1096
|
-
Entry::Vacant(e) => {
|
1097
|
-
e.insert(arg);
|
1098
|
-
}
|
1099
|
-
}
|
1100
|
-
|
1101
|
-
Ok(())
|
1102
|
-
}
|
1103
|
-
|
1104
|
-
let component_type_id = self.component_at(component_index, offset)?;
|
1105
|
-
let mut args = IndexMap::new();
|
1106
|
-
|
1107
|
-
// Populate the arguments
|
1108
|
-
for component_arg in component_args {
|
1109
|
-
match component_arg.kind {
|
1110
|
-
ComponentExternalKind::Module => {
|
1111
|
-
insert_arg(
|
1112
|
-
component_arg.name,
|
1113
|
-
ComponentEntityType::Module(self.module_at(component_arg.index, offset)?),
|
1114
|
-
&mut args,
|
1115
|
-
offset,
|
1116
|
-
)?;
|
1117
|
-
}
|
1118
|
-
ComponentExternalKind::Component => {
|
1119
|
-
insert_arg(
|
1120
|
-
component_arg.name,
|
1121
|
-
ComponentEntityType::Component(
|
1122
|
-
self.component_at(component_arg.index, offset)?,
|
1123
|
-
),
|
1124
|
-
&mut args,
|
1125
|
-
offset,
|
1126
|
-
)?;
|
1127
|
-
}
|
1128
|
-
ComponentExternalKind::Instance => {
|
1129
|
-
insert_arg(
|
1130
|
-
component_arg.name,
|
1131
|
-
ComponentEntityType::Instance(
|
1132
|
-
self.instance_at(component_arg.index, offset)?,
|
1133
|
-
),
|
1134
|
-
&mut args,
|
1135
|
-
offset,
|
1136
|
-
)?;
|
1137
|
-
}
|
1138
|
-
ComponentExternalKind::Func => {
|
1139
|
-
insert_arg(
|
1140
|
-
component_arg.name,
|
1141
|
-
ComponentEntityType::Func(self.function_at(component_arg.index, offset)?),
|
1142
|
-
&mut args,
|
1143
|
-
offset,
|
1144
|
-
)?;
|
1145
|
-
}
|
1146
|
-
ComponentExternalKind::Value => {
|
1147
|
-
insert_arg(
|
1148
|
-
component_arg.name,
|
1149
|
-
ComponentEntityType::Value(*self.value_at(component_arg.index, offset)?),
|
1150
|
-
&mut args,
|
1151
|
-
offset,
|
1152
|
-
)?;
|
1153
|
-
}
|
1154
|
-
ComponentExternalKind::Type => {
|
1155
|
-
let ty = self.type_at(component_arg.index, false, offset)?;
|
1156
|
-
insert_arg(
|
1157
|
-
component_arg.name,
|
1158
|
-
ComponentEntityType::Type {
|
1159
|
-
referenced: ty,
|
1160
|
-
created: ty,
|
1161
|
-
},
|
1162
|
-
&mut args,
|
1163
|
-
offset,
|
1164
|
-
)?;
|
1165
|
-
}
|
1166
|
-
}
|
1167
|
-
}
|
1168
|
-
|
1169
|
-
// Validate the arguments
|
1170
|
-
let component_type = types[component_type_id].as_component_type().unwrap();
|
1171
|
-
for (name, (_, expected)) in component_type.imports.iter() {
|
1172
|
-
match args.get(&name.as_kebab_str()) {
|
1173
|
-
Some(arg) => {
|
1174
|
-
match (arg, expected) {
|
1175
|
-
(ComponentEntityType::Module(_), ComponentEntityType::Module(_))
|
1176
|
-
| (ComponentEntityType::Component(_), ComponentEntityType::Component(_))
|
1177
|
-
| (ComponentEntityType::Instance(_), ComponentEntityType::Instance(_))
|
1178
|
-
| (ComponentEntityType::Func(_), ComponentEntityType::Func(_))
|
1179
|
-
| (ComponentEntityType::Value(_), ComponentEntityType::Value(_))
|
1180
|
-
| (ComponentEntityType::Type { .. }, ComponentEntityType::Type { .. }) => {}
|
1181
|
-
_ => {
|
1182
|
-
bail!(
|
1183
|
-
offset,
|
1184
|
-
"expected component instantiation argument `{name}` to be a {desc}",
|
1185
|
-
desc = expected.desc()
|
1186
|
-
)
|
1187
|
-
}
|
1188
|
-
};
|
1189
|
-
|
1190
|
-
if !ComponentEntityType::internal_is_subtype_of(arg, types, expected, types) {
|
1191
|
-
bail!(
|
1192
|
-
offset,
|
1193
|
-
"type mismatch for component instantiation argument `{name}`"
|
1194
|
-
);
|
1195
|
-
}
|
1196
|
-
}
|
1197
|
-
None => {
|
1198
|
-
bail!(
|
1199
|
-
offset,
|
1200
|
-
"missing component instantiation argument named `{name}`"
|
1201
|
-
);
|
1202
|
-
}
|
1203
|
-
}
|
1204
|
-
}
|
1205
|
-
|
1206
|
-
let ty = Type::ComponentInstance(Box::new(ComponentInstanceType {
|
1207
|
-
type_size: component_type
|
1208
|
-
.exports
|
1209
|
-
.iter()
|
1210
|
-
.fold(1, |acc, (_, (_, ty))| acc + ty.type_size()),
|
1211
|
-
kind: ComponentInstanceTypeKind::Instantiated(component_type_id),
|
1212
|
-
}));
|
1213
|
-
|
1214
|
-
Ok(types.push_ty(ty))
|
1215
|
-
}
|
1216
|
-
|
1217
|
-
fn instantiate_exports(
|
1218
|
-
&mut self,
|
1219
|
-
exports: Vec<crate::ComponentExport>,
|
1220
|
-
types: &mut TypeAlloc,
|
1221
|
-
offset: usize,
|
1222
|
-
) -> Result<TypeId> {
|
1223
|
-
fn insert_export(
|
1224
|
-
name: &str,
|
1225
|
-
export: ComponentEntityType,
|
1226
|
-
exports: &mut IndexMap<KebabString, (Option<Url>, ComponentEntityType)>,
|
1227
|
-
type_size: &mut u32,
|
1228
|
-
offset: usize,
|
1229
|
-
) -> Result<()> {
|
1230
|
-
let name = to_kebab_str(name, "instance export", offset)?;
|
1231
|
-
match exports.entry(name.to_owned()) {
|
1232
|
-
Entry::Occupied(e) => bail!(
|
1233
|
-
offset,
|
1234
|
-
"instance export name `{name}` conflicts with previous export name `{prev}`",
|
1235
|
-
prev = e.key()
|
1236
|
-
),
|
1237
|
-
Entry::Vacant(e) => {
|
1238
|
-
*type_size = combine_type_sizes(*type_size, export.type_size(), offset)?;
|
1239
|
-
e.insert((None, export));
|
1240
|
-
}
|
1241
|
-
}
|
1242
|
-
|
1243
|
-
Ok(())
|
1244
|
-
}
|
1245
|
-
|
1246
|
-
let mut type_size = 1;
|
1247
|
-
let mut inst_exports = IndexMap::new();
|
1248
|
-
for export in exports {
|
1249
|
-
assert!(export.ty.is_none());
|
1250
|
-
match export.kind {
|
1251
|
-
ComponentExternalKind::Module => {
|
1252
|
-
insert_export(
|
1253
|
-
export.name,
|
1254
|
-
ComponentEntityType::Module(self.module_at(export.index, offset)?),
|
1255
|
-
&mut inst_exports,
|
1256
|
-
&mut type_size,
|
1257
|
-
offset,
|
1258
|
-
)?;
|
1259
|
-
}
|
1260
|
-
ComponentExternalKind::Component => {
|
1261
|
-
insert_export(
|
1262
|
-
export.name,
|
1263
|
-
ComponentEntityType::Component(self.component_at(export.index, offset)?),
|
1264
|
-
&mut inst_exports,
|
1265
|
-
&mut type_size,
|
1266
|
-
offset,
|
1267
|
-
)?;
|
1268
|
-
}
|
1269
|
-
ComponentExternalKind::Instance => {
|
1270
|
-
insert_export(
|
1271
|
-
export.name,
|
1272
|
-
ComponentEntityType::Instance(self.instance_at(export.index, offset)?),
|
1273
|
-
&mut inst_exports,
|
1274
|
-
&mut type_size,
|
1275
|
-
offset,
|
1276
|
-
)?;
|
1277
|
-
}
|
1278
|
-
ComponentExternalKind::Func => {
|
1279
|
-
insert_export(
|
1280
|
-
export.name,
|
1281
|
-
ComponentEntityType::Func(self.function_at(export.index, offset)?),
|
1282
|
-
&mut inst_exports,
|
1283
|
-
&mut type_size,
|
1284
|
-
offset,
|
1285
|
-
)?;
|
1286
|
-
}
|
1287
|
-
ComponentExternalKind::Value => {
|
1288
|
-
insert_export(
|
1289
|
-
export.name,
|
1290
|
-
ComponentEntityType::Value(*self.value_at(export.index, offset)?),
|
1291
|
-
&mut inst_exports,
|
1292
|
-
&mut type_size,
|
1293
|
-
offset,
|
1294
|
-
)?;
|
1295
|
-
}
|
1296
|
-
ComponentExternalKind::Type => {
|
1297
|
-
let ty = self.type_at(export.index, false, offset)?;
|
1298
|
-
insert_export(
|
1299
|
-
export.name,
|
1300
|
-
ComponentEntityType::Type {
|
1301
|
-
referenced: ty,
|
1302
|
-
// The created type index here isn't used anywhere
|
1303
|
-
// in index spaces because a "bag of exports"
|
1304
|
-
// doesn't build up its own index spaces. Just fill
|
1305
|
-
// in the same index here in this case as what's
|
1306
|
-
// referenced.
|
1307
|
-
created: ty,
|
1308
|
-
},
|
1309
|
-
&mut inst_exports,
|
1310
|
-
&mut type_size,
|
1311
|
-
offset,
|
1312
|
-
)?;
|
1313
|
-
}
|
1314
|
-
}
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
let ty = Type::ComponentInstance(Box::new(ComponentInstanceType {
|
1318
|
-
type_size,
|
1319
|
-
kind: ComponentInstanceTypeKind::Exports(inst_exports),
|
1320
|
-
}));
|
1321
|
-
|
1322
|
-
Ok(types.push_ty(ty))
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
fn instantiate_core_exports(
|
1326
|
-
&mut self,
|
1327
|
-
exports: Vec<crate::Export>,
|
1328
|
-
types: &mut TypeAlloc,
|
1329
|
-
offset: usize,
|
1330
|
-
) -> Result<TypeId> {
|
1331
|
-
fn insert_export(
|
1332
|
-
name: &str,
|
1333
|
-
export: EntityType,
|
1334
|
-
exports: &mut IndexMap<String, EntityType>,
|
1335
|
-
type_size: &mut u32,
|
1336
|
-
offset: usize,
|
1337
|
-
) -> Result<()> {
|
1338
|
-
*type_size = combine_type_sizes(*type_size, export.type_size(), offset)?;
|
1339
|
-
|
1340
|
-
if exports.insert(name.to_string(), export).is_some() {
|
1341
|
-
bail!(
|
1342
|
-
offset,
|
1343
|
-
"duplicate instantiation export name `{name}` already defined",
|
1344
|
-
)
|
1345
|
-
}
|
1346
|
-
|
1347
|
-
Ok(())
|
1348
|
-
}
|
1349
|
-
|
1350
|
-
let mut type_size = 1;
|
1351
|
-
let mut inst_exports = IndexMap::new();
|
1352
|
-
for export in exports {
|
1353
|
-
match export.kind {
|
1354
|
-
ExternalKind::Func => {
|
1355
|
-
insert_export(
|
1356
|
-
export.name,
|
1357
|
-
EntityType::Func(self.core_function_at(export.index, offset)?),
|
1358
|
-
&mut inst_exports,
|
1359
|
-
&mut type_size,
|
1360
|
-
offset,
|
1361
|
-
)?;
|
1362
|
-
}
|
1363
|
-
ExternalKind::Table => insert_export(
|
1364
|
-
export.name,
|
1365
|
-
EntityType::Table(*self.table_at(export.index, offset)?),
|
1366
|
-
&mut inst_exports,
|
1367
|
-
&mut type_size,
|
1368
|
-
offset,
|
1369
|
-
)?,
|
1370
|
-
ExternalKind::Memory => insert_export(
|
1371
|
-
export.name,
|
1372
|
-
EntityType::Memory(*self.memory_at(export.index, offset)?),
|
1373
|
-
&mut inst_exports,
|
1374
|
-
&mut type_size,
|
1375
|
-
offset,
|
1376
|
-
)?,
|
1377
|
-
ExternalKind::Global => {
|
1378
|
-
insert_export(
|
1379
|
-
export.name,
|
1380
|
-
EntityType::Global(*self.global_at(export.index, offset)?),
|
1381
|
-
&mut inst_exports,
|
1382
|
-
&mut type_size,
|
1383
|
-
offset,
|
1384
|
-
)?;
|
1385
|
-
}
|
1386
|
-
ExternalKind::Tag => insert_export(
|
1387
|
-
export.name,
|
1388
|
-
EntityType::Tag(self.core_function_at(export.index, offset)?),
|
1389
|
-
&mut inst_exports,
|
1390
|
-
&mut type_size,
|
1391
|
-
offset,
|
1392
|
-
)?,
|
1393
|
-
}
|
1394
|
-
}
|
1395
|
-
|
1396
|
-
let ty = Type::Instance(Box::new(InstanceType {
|
1397
|
-
type_size,
|
1398
|
-
kind: InstanceTypeKind::Exports(inst_exports),
|
1399
|
-
}));
|
1400
|
-
|
1401
|
-
Ok(types.push_ty(ty))
|
1402
|
-
}
|
1403
|
-
|
1404
|
-
fn alias_core_instance_export(
|
1405
|
-
&mut self,
|
1406
|
-
instance_index: u32,
|
1407
|
-
kind: ExternalKind,
|
1408
|
-
name: &str,
|
1409
|
-
types: &TypeList,
|
1410
|
-
offset: usize,
|
1411
|
-
) -> Result<()> {
|
1412
|
-
macro_rules! push_module_export {
|
1413
|
-
($expected:path, $collection:ident, $ty:literal) => {{
|
1414
|
-
match self.core_instance_export(instance_index, name, types, offset)? {
|
1415
|
-
$expected(ty) => {
|
1416
|
-
self.$collection.push(*ty);
|
1417
|
-
Ok(())
|
1418
|
-
}
|
1419
|
-
_ => {
|
1420
|
-
bail!(
|
1421
|
-
offset,
|
1422
|
-
"export `{name}` for core instance {instance_index} is not a {}",
|
1423
|
-
$ty
|
1424
|
-
)
|
1425
|
-
}
|
1426
|
-
}
|
1427
|
-
}};
|
1428
|
-
}
|
1429
|
-
|
1430
|
-
match kind {
|
1431
|
-
ExternalKind::Func => {
|
1432
|
-
check_max(
|
1433
|
-
self.function_count(),
|
1434
|
-
1,
|
1435
|
-
MAX_WASM_FUNCTIONS,
|
1436
|
-
"functions",
|
1437
|
-
offset,
|
1438
|
-
)?;
|
1439
|
-
push_module_export!(EntityType::Func, core_funcs, "function")
|
1440
|
-
}
|
1441
|
-
ExternalKind::Table => {
|
1442
|
-
check_max(self.core_tables.len(), 1, MAX_WASM_TABLES, "tables", offset)?;
|
1443
|
-
push_module_export!(EntityType::Table, core_tables, "table")
|
1444
|
-
}
|
1445
|
-
ExternalKind::Memory => {
|
1446
|
-
check_max(
|
1447
|
-
self.core_memories.len(),
|
1448
|
-
1,
|
1449
|
-
MAX_WASM_MEMORIES,
|
1450
|
-
"memories",
|
1451
|
-
offset,
|
1452
|
-
)?;
|
1453
|
-
push_module_export!(EntityType::Memory, core_memories, "memory")
|
1454
|
-
}
|
1455
|
-
ExternalKind::Global => {
|
1456
|
-
check_max(
|
1457
|
-
self.core_globals.len(),
|
1458
|
-
1,
|
1459
|
-
MAX_WASM_GLOBALS,
|
1460
|
-
"globals",
|
1461
|
-
offset,
|
1462
|
-
)?;
|
1463
|
-
push_module_export!(EntityType::Global, core_globals, "global")
|
1464
|
-
}
|
1465
|
-
ExternalKind::Tag => {
|
1466
|
-
check_max(self.core_tags.len(), 1, MAX_WASM_TAGS, "tags", offset)?;
|
1467
|
-
push_module_export!(EntityType::Tag, core_tags, "tag")
|
1468
|
-
}
|
1469
|
-
}
|
1470
|
-
}
|
1471
|
-
|
1472
|
-
fn alias_instance_export(
|
1473
|
-
&mut self,
|
1474
|
-
instance_index: u32,
|
1475
|
-
kind: ComponentExternalKind,
|
1476
|
-
name: &str,
|
1477
|
-
types: &mut TypeAlloc,
|
1478
|
-
offset: usize,
|
1479
|
-
) -> Result<()> {
|
1480
|
-
let name = to_kebab_str(name, "alias export", offset)?;
|
1481
|
-
|
1482
|
-
macro_rules! push_component_export {
|
1483
|
-
($expected:path, $collection:ident, $ty:literal) => {{
|
1484
|
-
match self.instance_export(instance_index, name, types, offset)? {
|
1485
|
-
$expected(ty) => {
|
1486
|
-
self.$collection.push(*ty);
|
1487
|
-
Ok(())
|
1488
|
-
}
|
1489
|
-
_ => {
|
1490
|
-
bail!(
|
1491
|
-
offset,
|
1492
|
-
"export `{name}` for instance {instance_index} is not a {}",
|
1493
|
-
$ty
|
1494
|
-
)
|
1495
|
-
}
|
1496
|
-
}
|
1497
|
-
}};
|
1498
|
-
}
|
1499
|
-
|
1500
|
-
match kind {
|
1501
|
-
ComponentExternalKind::Module => {
|
1502
|
-
check_max(
|
1503
|
-
self.core_modules.len(),
|
1504
|
-
1,
|
1505
|
-
MAX_WASM_MODULES,
|
1506
|
-
"modules",
|
1507
|
-
offset,
|
1508
|
-
)?;
|
1509
|
-
push_component_export!(ComponentEntityType::Module, core_modules, "module")
|
1510
|
-
}
|
1511
|
-
ComponentExternalKind::Component => {
|
1512
|
-
check_max(
|
1513
|
-
self.components.len(),
|
1514
|
-
1,
|
1515
|
-
MAX_WASM_COMPONENTS,
|
1516
|
-
"components",
|
1517
|
-
offset,
|
1518
|
-
)?;
|
1519
|
-
push_component_export!(ComponentEntityType::Component, components, "component")
|
1520
|
-
}
|
1521
|
-
ComponentExternalKind::Instance => {
|
1522
|
-
check_max(
|
1523
|
-
self.instance_count(),
|
1524
|
-
1,
|
1525
|
-
MAX_WASM_INSTANCES,
|
1526
|
-
"instances",
|
1527
|
-
offset,
|
1528
|
-
)?;
|
1529
|
-
push_component_export!(ComponentEntityType::Instance, instances, "instance")
|
1530
|
-
}
|
1531
|
-
ComponentExternalKind::Func => {
|
1532
|
-
check_max(
|
1533
|
-
self.function_count(),
|
1534
|
-
1,
|
1535
|
-
MAX_WASM_FUNCTIONS,
|
1536
|
-
"functions",
|
1537
|
-
offset,
|
1538
|
-
)?;
|
1539
|
-
push_component_export!(ComponentEntityType::Func, funcs, "function")
|
1540
|
-
}
|
1541
|
-
ComponentExternalKind::Value => {
|
1542
|
-
check_max(self.values.len(), 1, MAX_WASM_VALUES, "values", offset)?;
|
1543
|
-
match self.instance_export(instance_index, name, types, offset)? {
|
1544
|
-
ComponentEntityType::Value(ty) => {
|
1545
|
-
self.values.push((*ty, false));
|
1546
|
-
Ok(())
|
1547
|
-
}
|
1548
|
-
_ => bail!(
|
1549
|
-
offset,
|
1550
|
-
"export `{name}` for instance {instance_index} is not a value",
|
1551
|
-
),
|
1552
|
-
}
|
1553
|
-
}
|
1554
|
-
ComponentExternalKind::Type => {
|
1555
|
-
check_max(self.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
1556
|
-
match *self.instance_export(instance_index, name, types, offset)? {
|
1557
|
-
ComponentEntityType::Type { created, .. } => {
|
1558
|
-
let id = types.with_unique(created);
|
1559
|
-
self.types.push(id);
|
1560
|
-
Ok(())
|
1561
|
-
}
|
1562
|
-
_ => {
|
1563
|
-
bail!(
|
1564
|
-
offset,
|
1565
|
-
"export `{name}` for instance {instance_index} is not a type",
|
1566
|
-
)
|
1567
|
-
}
|
1568
|
-
}
|
1569
|
-
}
|
1570
|
-
}
|
1571
|
-
}
|
1572
|
-
|
1573
|
-
fn alias_module(components: &mut [Self], count: u32, index: u32, offset: usize) -> Result<()> {
|
1574
|
-
let component = Self::check_alias_count(components, count, offset)?;
|
1575
|
-
let ty = component.module_at(index, offset)?;
|
1576
|
-
|
1577
|
-
let current = components.last_mut().unwrap();
|
1578
|
-
check_max(
|
1579
|
-
current.core_modules.len(),
|
1580
|
-
1,
|
1581
|
-
MAX_WASM_MODULES,
|
1582
|
-
"modules",
|
1583
|
-
offset,
|
1584
|
-
)?;
|
1585
|
-
|
1586
|
-
current.core_modules.push(ty);
|
1587
|
-
Ok(())
|
1588
|
-
}
|
1589
|
-
|
1590
|
-
fn alias_component(
|
1591
|
-
components: &mut [Self],
|
1592
|
-
count: u32,
|
1593
|
-
index: u32,
|
1594
|
-
offset: usize,
|
1595
|
-
) -> Result<()> {
|
1596
|
-
let component = Self::check_alias_count(components, count, offset)?;
|
1597
|
-
let ty = component.component_at(index, offset)?;
|
1598
|
-
|
1599
|
-
let current = components.last_mut().unwrap();
|
1600
|
-
check_max(
|
1601
|
-
current.components.len(),
|
1602
|
-
1,
|
1603
|
-
MAX_WASM_COMPONENTS,
|
1604
|
-
"components",
|
1605
|
-
offset,
|
1606
|
-
)?;
|
1607
|
-
|
1608
|
-
current.components.push(ty);
|
1609
|
-
Ok(())
|
1610
|
-
}
|
1611
|
-
|
1612
|
-
fn alias_core_type(
|
1613
|
-
components: &mut [Self],
|
1614
|
-
count: u32,
|
1615
|
-
index: u32,
|
1616
|
-
types: &mut TypeAlloc,
|
1617
|
-
offset: usize,
|
1618
|
-
) -> Result<()> {
|
1619
|
-
let component = Self::check_alias_count(components, count, offset)?;
|
1620
|
-
let ty = component.type_at(index, true, offset)?;
|
1621
|
-
|
1622
|
-
let current = components.last_mut().unwrap();
|
1623
|
-
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
1624
|
-
|
1625
|
-
let id = types.with_unique(ty);
|
1626
|
-
current.core_types.push(id);
|
1627
|
-
|
1628
|
-
Ok(())
|
1629
|
-
}
|
1630
|
-
|
1631
|
-
fn alias_type(
|
1632
|
-
components: &mut [Self],
|
1633
|
-
count: u32,
|
1634
|
-
index: u32,
|
1635
|
-
types: &mut TypeAlloc,
|
1636
|
-
offset: usize,
|
1637
|
-
) -> Result<()> {
|
1638
|
-
let component = Self::check_alias_count(components, count, offset)?;
|
1639
|
-
let ty = component.type_at(index, false, offset)?;
|
1640
|
-
|
1641
|
-
let current = components.last_mut().unwrap();
|
1642
|
-
check_max(current.type_count(), 1, MAX_WASM_TYPES, "types", offset)?;
|
1643
|
-
|
1644
|
-
let id = types.with_unique(ty);
|
1645
|
-
current.types.push(id);
|
1646
|
-
|
1647
|
-
Ok(())
|
1648
|
-
}
|
1649
|
-
|
1650
|
-
fn check_alias_count(components: &[Self], count: u32, offset: usize) -> Result<&Self> {
|
1651
|
-
let count = count as usize;
|
1652
|
-
if count >= components.len() {
|
1653
|
-
bail!(offset, "invalid outer alias count of {count}");
|
1654
|
-
}
|
1655
|
-
|
1656
|
-
Ok(&components[components.len() - count - 1])
|
1657
|
-
}
|
1658
|
-
|
1659
|
-
fn create_defined_type(
|
1660
|
-
&self,
|
1661
|
-
ty: crate::ComponentDefinedType,
|
1662
|
-
types: &TypeList,
|
1663
|
-
offset: usize,
|
1664
|
-
) -> Result<ComponentDefinedType> {
|
1665
|
-
match ty {
|
1666
|
-
crate::ComponentDefinedType::Primitive(ty) => Ok(ComponentDefinedType::Primitive(ty)),
|
1667
|
-
crate::ComponentDefinedType::Record(fields) => {
|
1668
|
-
self.create_record_type(fields.as_ref(), types, offset)
|
1669
|
-
}
|
1670
|
-
crate::ComponentDefinedType::Variant(cases) => {
|
1671
|
-
self.create_variant_type(cases.as_ref(), types, offset)
|
1672
|
-
}
|
1673
|
-
crate::ComponentDefinedType::List(ty) => Ok(ComponentDefinedType::List(
|
1674
|
-
self.create_component_val_type(ty, types, offset)?,
|
1675
|
-
)),
|
1676
|
-
crate::ComponentDefinedType::Tuple(tys) => {
|
1677
|
-
self.create_tuple_type(tys.as_ref(), types, offset)
|
1678
|
-
}
|
1679
|
-
crate::ComponentDefinedType::Flags(names) => {
|
1680
|
-
self.create_flags_type(names.as_ref(), offset)
|
1681
|
-
}
|
1682
|
-
crate::ComponentDefinedType::Enum(cases) => {
|
1683
|
-
self.create_enum_type(cases.as_ref(), offset)
|
1684
|
-
}
|
1685
|
-
crate::ComponentDefinedType::Union(tys) => {
|
1686
|
-
self.create_union_type(tys.as_ref(), types, offset)
|
1687
|
-
}
|
1688
|
-
crate::ComponentDefinedType::Option(ty) => Ok(ComponentDefinedType::Option(
|
1689
|
-
self.create_component_val_type(ty, types, offset)?,
|
1690
|
-
)),
|
1691
|
-
crate::ComponentDefinedType::Result { ok, err } => Ok(ComponentDefinedType::Result {
|
1692
|
-
ok: ok
|
1693
|
-
.map(|ty| self.create_component_val_type(ty, types, offset))
|
1694
|
-
.transpose()?,
|
1695
|
-
err: err
|
1696
|
-
.map(|ty| self.create_component_val_type(ty, types, offset))
|
1697
|
-
.transpose()?,
|
1698
|
-
}),
|
1699
|
-
}
|
1700
|
-
}
|
1701
|
-
|
1702
|
-
fn create_record_type(
|
1703
|
-
&self,
|
1704
|
-
fields: &[(&str, crate::ComponentValType)],
|
1705
|
-
types: &TypeList,
|
1706
|
-
offset: usize,
|
1707
|
-
) -> Result<ComponentDefinedType> {
|
1708
|
-
let mut type_size = 1;
|
1709
|
-
let mut field_map = IndexMap::with_capacity(fields.len());
|
1710
|
-
|
1711
|
-
for (name, ty) in fields {
|
1712
|
-
let name = to_kebab_str(name, "record field", offset)?;
|
1713
|
-
let ty = self.create_component_val_type(*ty, types, offset)?;
|
1714
|
-
|
1715
|
-
match field_map.entry(name.to_owned()) {
|
1716
|
-
Entry::Occupied(e) => bail!(
|
1717
|
-
offset,
|
1718
|
-
"record field name `{name}` conflicts with previous field name `{prev}`",
|
1719
|
-
prev = e.key()
|
1720
|
-
),
|
1721
|
-
Entry::Vacant(e) => {
|
1722
|
-
type_size = combine_type_sizes(type_size, ty.type_size(), offset)?;
|
1723
|
-
e.insert(ty);
|
1724
|
-
}
|
1725
|
-
}
|
1726
|
-
}
|
1727
|
-
|
1728
|
-
Ok(ComponentDefinedType::Record(RecordType {
|
1729
|
-
type_size,
|
1730
|
-
fields: field_map,
|
1731
|
-
}))
|
1732
|
-
}
|
1733
|
-
|
1734
|
-
fn create_variant_type(
|
1735
|
-
&self,
|
1736
|
-
cases: &[crate::VariantCase],
|
1737
|
-
types: &TypeList,
|
1738
|
-
offset: usize,
|
1739
|
-
) -> Result<ComponentDefinedType> {
|
1740
|
-
let mut type_size = 1;
|
1741
|
-
let mut case_map: IndexMap<KebabString, VariantCase> = IndexMap::with_capacity(cases.len());
|
1742
|
-
|
1743
|
-
if cases.is_empty() {
|
1744
|
-
return Err(BinaryReaderError::new(
|
1745
|
-
"variant type must have at least one case",
|
1746
|
-
offset,
|
1747
|
-
));
|
1748
|
-
}
|
1749
|
-
|
1750
|
-
if cases.len() > u32::MAX as usize {
|
1751
|
-
return Err(BinaryReaderError::new(
|
1752
|
-
"variant type cannot be represented with a 32-bit discriminant value",
|
1753
|
-
offset,
|
1754
|
-
));
|
1755
|
-
}
|
1756
|
-
|
1757
|
-
for (i, case) in cases.iter().enumerate() {
|
1758
|
-
if let Some(refines) = case.refines {
|
1759
|
-
if refines >= i as u32 {
|
1760
|
-
return Err(BinaryReaderError::new(
|
1761
|
-
"variant case can only refine a previously defined case",
|
1762
|
-
offset,
|
1763
|
-
));
|
1764
|
-
}
|
1765
|
-
}
|
1766
|
-
|
1767
|
-
let name = to_kebab_str(case.name, "variant case", offset)?;
|
1768
|
-
|
1769
|
-
let ty = case
|
1770
|
-
.ty
|
1771
|
-
.map(|ty| self.create_component_val_type(ty, types, offset))
|
1772
|
-
.transpose()?;
|
1773
|
-
|
1774
|
-
match case_map.entry(name.to_owned()) {
|
1775
|
-
Entry::Occupied(e) => bail!(
|
1776
|
-
offset,
|
1777
|
-
"variant case name `{name}` conflicts with previous case name `{prev}`",
|
1778
|
-
name = case.name,
|
1779
|
-
prev = e.key()
|
1780
|
-
),
|
1781
|
-
Entry::Vacant(e) => {
|
1782
|
-
type_size = combine_type_sizes(
|
1783
|
-
type_size,
|
1784
|
-
ty.map(|ty| ty.type_size()).unwrap_or(1),
|
1785
|
-
offset,
|
1786
|
-
)?;
|
1787
|
-
|
1788
|
-
// Safety: the use of `KebabStr::new_unchecked` here is safe because the string
|
1789
|
-
// was already verified to be kebab case.
|
1790
|
-
e.insert(VariantCase {
|
1791
|
-
ty,
|
1792
|
-
refines: case
|
1793
|
-
.refines
|
1794
|
-
.map(|i| KebabStr::new_unchecked(cases[i as usize].name).to_owned()),
|
1795
|
-
});
|
1796
|
-
}
|
1797
|
-
}
|
1798
|
-
}
|
1799
|
-
|
1800
|
-
Ok(ComponentDefinedType::Variant(VariantType {
|
1801
|
-
type_size,
|
1802
|
-
cases: case_map,
|
1803
|
-
}))
|
1804
|
-
}
|
1805
|
-
|
1806
|
-
fn create_tuple_type(
|
1807
|
-
&self,
|
1808
|
-
tys: &[crate::ComponentValType],
|
1809
|
-
types: &TypeList,
|
1810
|
-
offset: usize,
|
1811
|
-
) -> Result<ComponentDefinedType> {
|
1812
|
-
let mut type_size = 1;
|
1813
|
-
let types = tys
|
1814
|
-
.iter()
|
1815
|
-
.map(|ty| {
|
1816
|
-
let ty = self.create_component_val_type(*ty, types, offset)?;
|
1817
|
-
type_size = combine_type_sizes(type_size, ty.type_size(), offset)?;
|
1818
|
-
Ok(ty)
|
1819
|
-
})
|
1820
|
-
.collect::<Result<_>>()?;
|
1821
|
-
|
1822
|
-
Ok(ComponentDefinedType::Tuple(TupleType { type_size, types }))
|
1823
|
-
}
|
1824
|
-
|
1825
|
-
fn create_flags_type(&self, names: &[&str], offset: usize) -> Result<ComponentDefinedType> {
|
1826
|
-
let mut names_set = IndexSet::with_capacity(names.len());
|
1827
|
-
|
1828
|
-
for name in names {
|
1829
|
-
let name = to_kebab_str(name, "flag", offset)?;
|
1830
|
-
if !names_set.insert(name.to_owned()) {
|
1831
|
-
bail!(
|
1832
|
-
offset,
|
1833
|
-
"flag name `{name}` conflicts with previous flag name `{prev}`",
|
1834
|
-
prev = names_set.get(name).unwrap()
|
1835
|
-
);
|
1836
|
-
}
|
1837
|
-
}
|
1838
|
-
|
1839
|
-
Ok(ComponentDefinedType::Flags(names_set))
|
1840
|
-
}
|
1841
|
-
|
1842
|
-
fn create_enum_type(&self, cases: &[&str], offset: usize) -> Result<ComponentDefinedType> {
|
1843
|
-
if cases.len() > u32::MAX as usize {
|
1844
|
-
return Err(BinaryReaderError::new(
|
1845
|
-
"enumeration type cannot be represented with a 32-bit discriminant value",
|
1846
|
-
offset,
|
1847
|
-
));
|
1848
|
-
}
|
1849
|
-
|
1850
|
-
let mut tags = IndexSet::with_capacity(cases.len());
|
1851
|
-
|
1852
|
-
for tag in cases {
|
1853
|
-
let tag = to_kebab_str(tag, "enum tag", offset)?;
|
1854
|
-
if !tags.insert(tag.to_owned()) {
|
1855
|
-
bail!(
|
1856
|
-
offset,
|
1857
|
-
"enum tag name `{tag}` conflicts with previous tag name `{prev}`",
|
1858
|
-
prev = tags.get(tag).unwrap()
|
1859
|
-
);
|
1860
|
-
}
|
1861
|
-
}
|
1862
|
-
|
1863
|
-
Ok(ComponentDefinedType::Enum(tags))
|
1864
|
-
}
|
1865
|
-
|
1866
|
-
fn create_union_type(
|
1867
|
-
&self,
|
1868
|
-
tys: &[crate::ComponentValType],
|
1869
|
-
types: &TypeList,
|
1870
|
-
offset: usize,
|
1871
|
-
) -> Result<ComponentDefinedType> {
|
1872
|
-
let mut type_size = 1;
|
1873
|
-
let types = tys
|
1874
|
-
.iter()
|
1875
|
-
.map(|ty| {
|
1876
|
-
let ty = self.create_component_val_type(*ty, types, offset)?;
|
1877
|
-
type_size = combine_type_sizes(type_size, ty.type_size(), offset)?;
|
1878
|
-
Ok(ty)
|
1879
|
-
})
|
1880
|
-
.collect::<Result<_>>()?;
|
1881
|
-
|
1882
|
-
Ok(ComponentDefinedType::Union(UnionType { type_size, types }))
|
1883
|
-
}
|
1884
|
-
|
1885
|
-
fn create_component_val_type(
|
1886
|
-
&self,
|
1887
|
-
ty: crate::ComponentValType,
|
1888
|
-
types: &TypeList,
|
1889
|
-
offset: usize,
|
1890
|
-
) -> Result<ComponentValType> {
|
1891
|
-
Ok(match ty {
|
1892
|
-
crate::ComponentValType::Primitive(pt) => ComponentValType::Primitive(pt),
|
1893
|
-
crate::ComponentValType::Type(idx) => {
|
1894
|
-
ComponentValType::Type(self.defined_type_at(idx, types, offset)?)
|
1895
|
-
}
|
1896
|
-
})
|
1897
|
-
}
|
1898
|
-
|
1899
|
-
pub fn type_at(&self, idx: u32, core: bool, offset: usize) -> Result<TypeId> {
|
1900
|
-
let types = if core { &self.core_types } else { &self.types };
|
1901
|
-
types
|
1902
|
-
.get(idx as usize)
|
1903
|
-
.copied()
|
1904
|
-
.ok_or_else(|| format_err!(offset, "unknown type {idx}: type index out of bounds"))
|
1905
|
-
}
|
1906
|
-
|
1907
|
-
fn function_type_at<'a>(
|
1908
|
-
&self,
|
1909
|
-
idx: u32,
|
1910
|
-
types: &'a TypeList,
|
1911
|
-
offset: usize,
|
1912
|
-
) -> Result<&'a ComponentFuncType> {
|
1913
|
-
types[self.type_at(idx, false, offset)?]
|
1914
|
-
.as_component_func_type()
|
1915
|
-
.ok_or_else(|| format_err!(offset, "type index {idx} is not a function type"))
|
1916
|
-
}
|
1917
|
-
|
1918
|
-
fn function_at(&self, idx: u32, offset: usize) -> Result<TypeId> {
|
1919
|
-
self.funcs.get(idx as usize).copied().ok_or_else(|| {
|
1920
|
-
format_err!(
|
1921
|
-
offset,
|
1922
|
-
"unknown function {idx}: function index out of bounds"
|
1923
|
-
)
|
1924
|
-
})
|
1925
|
-
}
|
1926
|
-
|
1927
|
-
fn component_at(&self, idx: u32, offset: usize) -> Result<TypeId> {
|
1928
|
-
self.components.get(idx as usize).copied().ok_or_else(|| {
|
1929
|
-
format_err!(
|
1930
|
-
offset,
|
1931
|
-
"unknown component {idx}: component index out of bounds"
|
1932
|
-
)
|
1933
|
-
})
|
1934
|
-
}
|
1935
|
-
|
1936
|
-
fn instance_at(&self, idx: u32, offset: usize) -> Result<TypeId> {
|
1937
|
-
self.instances.get(idx as usize).copied().ok_or_else(|| {
|
1938
|
-
format_err!(
|
1939
|
-
offset,
|
1940
|
-
"unknown instance {idx}: instance index out of bounds"
|
1941
|
-
)
|
1942
|
-
})
|
1943
|
-
}
|
1944
|
-
|
1945
|
-
fn instance_export<'a>(
|
1946
|
-
&self,
|
1947
|
-
instance_index: u32,
|
1948
|
-
name: &KebabStr,
|
1949
|
-
types: &'a TypeList,
|
1950
|
-
offset: usize,
|
1951
|
-
) -> Result<&'a ComponentEntityType> {
|
1952
|
-
match types[self.instance_at(instance_index, offset)?]
|
1953
|
-
.as_component_instance_type()
|
1954
|
-
.unwrap()
|
1955
|
-
.internal_exports(types)
|
1956
|
-
.get(name)
|
1957
|
-
{
|
1958
|
-
Some((_, ty)) => Ok(ty),
|
1959
|
-
None => bail!(
|
1960
|
-
offset,
|
1961
|
-
"instance {instance_index} has no export named `{name}`"
|
1962
|
-
),
|
1963
|
-
}
|
1964
|
-
}
|
1965
|
-
|
1966
|
-
fn value_at(&mut self, idx: u32, offset: usize) -> Result<&ComponentValType> {
|
1967
|
-
match self.values.get_mut(idx as usize) {
|
1968
|
-
Some((ty, used)) if !*used => {
|
1969
|
-
*used = true;
|
1970
|
-
Ok(ty)
|
1971
|
-
}
|
1972
|
-
Some(_) => bail!(offset, "value {idx} cannot be used more than once"),
|
1973
|
-
None => bail!(offset, "unknown value {idx}: value index out of bounds"),
|
1974
|
-
}
|
1975
|
-
}
|
1976
|
-
|
1977
|
-
fn defined_type_at(&self, idx: u32, types: &TypeList, offset: usize) -> Result<TypeId> {
|
1978
|
-
let id = self.type_at(idx, false, offset)?;
|
1979
|
-
match &types[id] {
|
1980
|
-
Type::Defined(_) => Ok(id),
|
1981
|
-
_ => bail!(offset, "type index {} is not a defined type", idx),
|
1982
|
-
}
|
1983
|
-
}
|
1984
|
-
|
1985
|
-
fn core_function_at(&self, idx: u32, offset: usize) -> Result<TypeId> {
|
1986
|
-
match self.core_funcs.get(idx as usize) {
|
1987
|
-
Some(id) => Ok(*id),
|
1988
|
-
None => bail!(
|
1989
|
-
offset,
|
1990
|
-
"unknown core function {idx}: function index out of bounds"
|
1991
|
-
),
|
1992
|
-
}
|
1993
|
-
}
|
1994
|
-
|
1995
|
-
fn module_at(&self, idx: u32, offset: usize) -> Result<TypeId> {
|
1996
|
-
match self.core_modules.get(idx as usize) {
|
1997
|
-
Some(id) => Ok(*id),
|
1998
|
-
None => bail!(offset, "unknown module {idx}: module index out of bounds"),
|
1999
|
-
}
|
2000
|
-
}
|
2001
|
-
|
2002
|
-
fn core_instance_at(&self, idx: u32, offset: usize) -> Result<TypeId> {
|
2003
|
-
match self.core_instances.get(idx as usize) {
|
2004
|
-
Some(id) => Ok(*id),
|
2005
|
-
None => bail!(
|
2006
|
-
offset,
|
2007
|
-
"unknown core instance {idx}: instance index out of bounds"
|
2008
|
-
),
|
2009
|
-
}
|
2010
|
-
}
|
2011
|
-
|
2012
|
-
fn core_instance_export<'a>(
|
2013
|
-
&self,
|
2014
|
-
instance_index: u32,
|
2015
|
-
name: &str,
|
2016
|
-
types: &'a TypeList,
|
2017
|
-
offset: usize,
|
2018
|
-
) -> Result<&'a EntityType> {
|
2019
|
-
match types[self.core_instance_at(instance_index, offset)?]
|
2020
|
-
.as_instance_type()
|
2021
|
-
.unwrap()
|
2022
|
-
.internal_exports(types)
|
2023
|
-
.get(name)
|
2024
|
-
{
|
2025
|
-
Some(export) => Ok(export),
|
2026
|
-
None => bail!(
|
2027
|
-
offset,
|
2028
|
-
"core instance {instance_index} has no export named `{name}`"
|
2029
|
-
),
|
2030
|
-
}
|
2031
|
-
}
|
2032
|
-
|
2033
|
-
fn global_at(&self, idx: u32, offset: usize) -> Result<&GlobalType> {
|
2034
|
-
match self.core_globals.get(idx as usize) {
|
2035
|
-
Some(t) => Ok(t),
|
2036
|
-
None => bail!(offset, "unknown global {idx}: global index out of bounds"),
|
2037
|
-
}
|
2038
|
-
}
|
2039
|
-
|
2040
|
-
fn table_at(&self, idx: u32, offset: usize) -> Result<&TableType> {
|
2041
|
-
match self.core_tables.get(idx as usize) {
|
2042
|
-
Some(t) => Ok(t),
|
2043
|
-
None => bail!(offset, "unknown table {idx}: table index out of bounds"),
|
2044
|
-
}
|
2045
|
-
}
|
2046
|
-
|
2047
|
-
fn memory_at(&self, idx: u32, offset: usize) -> Result<&MemoryType> {
|
2048
|
-
match self.core_memories.get(idx as usize) {
|
2049
|
-
Some(t) => Ok(t),
|
2050
|
-
None => bail!(offset, "unknown memory {idx}: memory index out of bounds"),
|
2051
|
-
}
|
2052
|
-
}
|
2053
|
-
|
2054
|
-
fn take_component_type(&mut self) -> ComponentType {
|
2055
|
-
let mut ty = ComponentType {
|
2056
|
-
type_size: self.type_size,
|
2057
|
-
imports: Default::default(),
|
2058
|
-
exports: Default::default(),
|
2059
|
-
};
|
2060
|
-
|
2061
|
-
for (name, (url, t, kind)) in mem::take(&mut self.externs) {
|
2062
|
-
let map = match kind {
|
2063
|
-
ExternKind::Import => &mut ty.imports,
|
2064
|
-
ExternKind::Export => &mut ty.exports,
|
2065
|
-
};
|
2066
|
-
let prev = map.insert(name, (url, t));
|
2067
|
-
assert!(prev.is_none());
|
2068
|
-
}
|
2069
|
-
|
2070
|
-
ty
|
2071
|
-
}
|
2072
|
-
}
|
2073
|
-
|
2074
|
-
impl Default for ComponentState {
|
2075
|
-
fn default() -> Self {
|
2076
|
-
Self {
|
2077
|
-
core_types: Default::default(),
|
2078
|
-
core_modules: Default::default(),
|
2079
|
-
core_instances: Default::default(),
|
2080
|
-
core_funcs: Default::default(),
|
2081
|
-
core_memories: Default::default(),
|
2082
|
-
core_tables: Default::default(),
|
2083
|
-
core_globals: Default::default(),
|
2084
|
-
core_tags: Default::default(),
|
2085
|
-
types: Default::default(),
|
2086
|
-
funcs: Default::default(),
|
2087
|
-
values: Default::default(),
|
2088
|
-
instances: Default::default(),
|
2089
|
-
components: Default::default(),
|
2090
|
-
externs: Default::default(),
|
2091
|
-
export_urls: Default::default(),
|
2092
|
-
import_urls: Default::default(),
|
2093
|
-
has_start: Default::default(),
|
2094
|
-
type_size: 1,
|
2095
|
-
}
|
2096
|
-
}
|
2097
|
-
}
|