wasmtime 9.0.4 → 10.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +184 -101
- data/ext/Cargo.toml +6 -6
- data/ext/build.rs +2 -2
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/Cargo.toml +158 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/benches/x64-evex-encoding.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/ir/trapcode.rs +144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/abi.rs +1294 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit.rs +3684 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit_tests.rs +7895 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/imms.rs +1210 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/mod.rs +2966 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst.isle +4037 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower/isle.rs +816 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower.isle +2906 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/mod.rs +238 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/mod.rs +424 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/abi.rs +825 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/args.rs +1812 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit.rs +3008 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit_tests.rs +2338 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/encode.rs +262 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/imms.rs +250 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/mod.rs +1963 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/regs.rs +223 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/vector.rs +669 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst.isle +2915 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst_vector.isle +760 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower/isle.rs +553 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower.isle +1409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/mod.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/abi.rs +957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit.rs +3707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit_tests.rs +13409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/mod.rs +3426 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst.isle +5046 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/lower.isle +3991 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/mod.rs +213 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/abi.rs +985 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/evex.rs +749 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/rex.rs +588 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/vex.rs +492 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/args.rs +2193 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit.rs +4090 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit_tests.rs +5674 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/mod.rs +2667 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst.isle +5104 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower/isle.rs +1148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.isle +4481 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.rs +328 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/mod.rs +251 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isle_prelude.rs +862 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/abi.rs +2455 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/buffer.rs +2277 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/compile.rs +92 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/isle.rs +827 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/lower.rs +1388 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/mod.rs +549 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/reg.rs +537 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/vcode.rs +1580 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude.isle +578 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude_lower.isle +1012 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/settings.rs +600 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/verifier/mod.rs +1884 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/Cargo.toml +23 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/isa/x86.rs +444 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/shared/settings.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/chaos.rs +125 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/lib.rs +45 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/zero_sized.rs +53 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/src/list.rs +955 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/Cargo.toml +53 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/Cargo.toml +38 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/Cargo.toml +85 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/code_translator.rs +3538 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/dummy.rs +924 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/spec.rs +834 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/func_translator.rs +440 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/sections_translator.rs +417 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/translation_utils.rs +99 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/CONTRIBUTING.md +48 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/COPYRIGHT +17 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Cargo.toml +84 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Ideas.md +106 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-WHATWG +26 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/README.md +827 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/ci/miri.sh +14 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Big5.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-JP.txt +12 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-KR.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/GBK.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/IBM866.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-2022-JP.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-10.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-13.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-14.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-15.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-16.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-2.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-3.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-4.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-5.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-6.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-7.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8-I.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-R.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-U.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Shift_JIS.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16BE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16LE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-8.txt +5 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/gb18030.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/macintosh.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/replacement.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1250.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1251.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1252.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1253.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1254.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1255.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1256.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1257.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1258.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-874.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-mac-cyrillic.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-user-defined.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/generate-encoding-data.py +2008 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/rustfmt.toml +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/ascii.rs +1546 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/big5.rs +427 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/data.rs +114378 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_jp.rs +469 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_kr.rs +442 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/gb18030.rs +767 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/handles.rs +1969 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/iso_2022_jp.rs +1068 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/lib.rs +6133 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/macros.rs +1622 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/mem.rs +3354 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/replacement.rs +104 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/shift_jis.rs +426 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/simd_funcs.rs +453 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/single_byte.rs +714 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in_ref.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out_ref.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out_ref.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out_ref.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out_ref.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out_ref.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in_ref.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out_ref.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_labels_names.rs +242 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/testing.rs +262 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_16.rs +472 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_8.rs +1629 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/variant.rs +400 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/x_user_defined.rs +249 -0
- data/ext/cargo-vendor/equivalent-1.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/equivalent-1.0.1/Cargo.toml +27 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/README.md +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/src/lib.rs +113 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +12 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +200 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +323 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/CHANGELOG.md +475 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/Cargo.toml +131 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/README.md +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/bench.rs +331 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/insert_unique_unchecked.rs +32 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/clippy.toml +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/mod.rs +6 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/helpers.rs +27 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/map.rs +731 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/mod.rs +4 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/raw.rs +231 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/set.rs +659 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_map.rs +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_set.rs +123 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/mod.rs +2 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/serde.rs +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/lib.rs +165 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/macros.rs +70 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/map.rs +8506 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/alloc.rs +86 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/bitmask.rs +133 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/generic.rs +157 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/mod.rs +3378 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/neon.rs +124 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/sse2.rs +149 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/rustc_entry.rs +630 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/scopeguard.rs +72 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/set.rs +2903 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/hasher.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/raw.rs +11 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/rayon.rs +535 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/serde.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/set.rs +34 -0
- data/ext/cargo-vendor/indexmap-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/indexmap-2.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/indexmap-2.0.0/README.md +55 -0
- data/ext/cargo-vendor/indexmap-2.0.0/RELEASES.md +424 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/bench.rs +763 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/faststring.rs +185 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/arbitrary.rs +77 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/lib.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/macros.rs +178 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core/raw.rs +217 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core.rs +742 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/iter.rs +541 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/serde_seq.rs +138 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/slice.rs +471 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/tests.rs +449 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map.rs +1223 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/mutable_keys.rs +91 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/map.rs +679 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/mod.rs +27 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/set.rs +774 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rustc.rs +158 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/serde.rs +151 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/iter.rs +543 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/slice.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/tests.rs +545 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set.rs +1011 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/util.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/macros_full_path.rs +19 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/quick.rs +579 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/tests.rs +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/Cargo.toml +72 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/deny.toml +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/checker.rs +1089 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/fuzzing/func.rs +702 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/index.rs +268 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/data_structures.rs +857 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/liveranges.rs +961 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/merge.rs +368 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/mod.rs +150 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/moves.rs +1017 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/process.rs +1307 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/requirement.rs +174 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/spill.rs +165 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/stackmap.rs +79 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/lib.rs +1526 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/moves.rs +439 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/serialize.rs +311 -0
- data/ext/cargo-vendor/semver-1.0.18/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/semver-1.0.18/Cargo.toml +47 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-MIT +23 -0
- data/ext/cargo-vendor/semver-1.0.18/README.md +84 -0
- data/ext/cargo-vendor/semver-1.0.18/benches/parse.rs +24 -0
- data/ext/cargo-vendor/semver-1.0.18/build.rs +75 -0
- data/ext/cargo-vendor/semver-1.0.18/src/backport.rs +23 -0
- data/ext/cargo-vendor/semver-1.0.18/src/display.rs +165 -0
- data/ext/cargo-vendor/semver-1.0.18/src/error.rs +126 -0
- data/ext/cargo-vendor/semver-1.0.18/src/eval.rs +181 -0
- data/ext/cargo-vendor/semver-1.0.18/src/identifier.rs +422 -0
- data/ext/cargo-vendor/semver-1.0.18/src/impls.rs +156 -0
- data/ext/cargo-vendor/semver-1.0.18/src/lib.rs +533 -0
- data/ext/cargo-vendor/semver-1.0.18/src/parse.rs +409 -0
- data/ext/cargo-vendor/semver-1.0.18/src/serde.rs +109 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/node/mod.rs +43 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_autotrait.rs +14 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_identifier.rs +45 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version.rs +238 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version_req.rs +443 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/util/mod.rs +39 -0
- data/ext/cargo-vendor/sptr-0.3.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/sptr-0.3.2/Cargo.toml +28 -0
- data/ext/cargo-vendor/sptr-0.3.2/README.md +73 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/func.rs +83 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/int.rs +364 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/lib.rs +756 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/dir.rs +464 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/lib.rs +141 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/Cargo.toml +87 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/file.rs +262 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/snapshots/preview_1.rs +1490 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/exports.rs +127 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/imports.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/types.rs +759 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/code.rs +2913 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/custom.rs +55 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/data.rs +185 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/elements.rs +224 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/globals.rs +90 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/imports.rs +142 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/memories.rs +99 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/names.rs +265 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/producers.rs +180 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tables.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/types.rs +246 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.lock +621 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/benches/benchmark.rs +351 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/lib.rs +723 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/parser.rs +1535 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/canonicals.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/types.rs +874 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core.rs +35 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/component.rs +3082 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/core.rs +1334 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/operators.rs +3463 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/types.rs +3070 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator.rs +1589 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/README.md +36 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/benches/benchmark.rs +349 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/examples/simple.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +726 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +59 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/parser.rs +1612 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/aliases.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/canonicals.rs +120 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/names.rs +102 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/start.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/code.rs +146 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/custom.rs +63 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/data.rs +96 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/dylink0.rs +132 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/elements.rs +152 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/exports.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/functions.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/globals.rs +49 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/imports.rs +76 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/init.rs +51 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/memories.rs +56 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/names.rs +153 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/operators.rs +354 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tables.rs +87 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tags.rs +32 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +1141 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers.rs +316 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/resources.rs +398 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +3148 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +1314 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/func.rs +348 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +3466 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +3283 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +1568 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/tests/big-module.rs +33 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +39 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/README.md +47 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +2962 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +873 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/tests/all.rs +278 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/Cargo.toml +183 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/compiler.rs +710 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/component.rs +382 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/instance.rs +727 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/matching.rs +112 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/mod.rs +313 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/config.rs +2066 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine/serialization.rs +622 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine.rs +757 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/externals.rs +763 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func/typed.rs +638 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func.rs +2355 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/instance.rs +905 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/lib.rs +486 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/linker.rs +1479 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/memory.rs +950 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/module.rs +1274 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/ref.rs +109 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/context.rs +243 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/func_refs.rs +85 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store.rs +2166 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/func.rs +133 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/global.rs +67 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types/matching.rs +312 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types.rs +572 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/values.rs +290 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/Cargo.toml +73 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/src/bindgen.rs +316 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/char.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/conventions.wit +39 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/direct-import.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/empty.wit +2 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/flags.wit +55 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/floats.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/function-new.wit +4 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/integers.wit +40 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/lists.wit +85 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/many-arguments.wit +52 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/multi-return.wit +14 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/records.wit +61 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/rename.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/share-types.wit +21 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-functions.wit +17 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-lists.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-wasi.wit +23 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/small-anonymous.wit +15 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-default.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-export.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/strings.wit +12 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/unions.wit +66 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/use-paths.wit +29 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/variants.wit +147 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/worlds-with-types.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen.rs +24 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/compiler.rs +1200 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/debug/transform/simulate.rs +410 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/func_environ.rs +2206 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/lib.rs +178 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/src/lib.rs +120 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.lock +681 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.toml +116 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/compiler.rs +84 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate/inline.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate.rs +1070 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/types.rs +1916 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/fact.rs +623 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module.rs +1083 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module_environ.rs +884 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/trap_encoding.rs +238 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/lib.rs +305 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/unix.rs +212 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/windows.rs +161 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/Cargo.toml +104 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/instantiate.rs +760 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/lib.rs +38 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/jitdump.rs +66 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/perfmap.rs +47 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/vtune.rs +80 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling.rs +108 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/Cargo.toml +110 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/component.rs +701 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/cow.rs +1060 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/debug_builtins.rs +58 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/externref.rs +1073 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator/pooling.rs +1368 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator.rs +531 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance.rs +1345 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/lib.rs +285 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/libcalls.rs +578 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/memory.rs +958 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/miri.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/unix.rs +148 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/windows.rs +208 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/send_sync_ptr.rs +69 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/table.rs +595 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers/unix.rs +387 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers.rs +749 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext/vm_host_func_context.rs +137 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext.rs +1221 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/src/lib.rs +462 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/Cargo.toml +153 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/lib.rs +131 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks/host.rs +73 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks.rs +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/ctx.rs +206 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/error.rs +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/filesystem.rs +269 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/mod.rs +44 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/pipe.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview1/mod.rs +1860 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/clocks.rs +80 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/env.rs +48 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/exit.rs +12 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/filesystem.rs +1020 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/io.rs +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/mod.rs +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/poll.rs +84 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/random.rs +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/random.rs +58 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/subscription.rs +104 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/sync.rs +156 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched.rs +105 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stdio.rs +176 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stream.rs +210 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/table.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/command.rs +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/mod.rs +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/monotonic-clock.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/timezone.wit +63 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/wall-clock.wit +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/filesystem/filesystem.wit +782 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/incoming-handler.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/outgoing-handler.wit +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/types.wit +159 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/io/streams.wit +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/logging/handler.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/poll/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command-extended.wit +36 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command.wit +26 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/proxy.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/reactor.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure-seed.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure.wit +21 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/random.wit +25 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/instance-network.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/ip-name-lookup.wit +69 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/network.wit +187 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp.wit +255 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp.wit +211 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/environment.wit +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/exit.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/preopens.wit +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/stdio.wit +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/main.wit +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/test.wit +19 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/typenames.witx +750 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/wasi_snapshot_preview1.witx +521 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/src/compiler.rs +220 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/Cargo.toml +29 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/lib.rs +1631 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/types.rs +179 -0
- data/ext/cargo-vendor/wiggle-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-10.0.1/Cargo.toml +106 -0
- data/ext/cargo-vendor/wiggle-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-10.0.1/README.md +18 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/src/lib.rs +210 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/Cargo.toml +62 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/local.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/mod.rs +237 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/call.rs +225 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/context.rs +270 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/env.rs +52 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/mod.rs +214 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/frame/mod.rs +172 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/abi.rs +243 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/asm.rs +300 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/masm.rs +230 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/mod.rs +127 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/regs.rs +166 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/mod.rs +215 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/abi.rs +369 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/address.rs +17 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/asm.rs +576 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/masm.rs +288 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/mod.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/regs.rs +192 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/lib.rs +21 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/masm.rs +255 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/regalloc.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/stack.rs +235 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/trampoline.rs +494 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/visitor.rs +353 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/Cargo.toml +62 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/lex.rs +679 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/resolve.rs +1122 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast.rs +1207 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/lib.rs +622 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/live.rs +111 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/resolve.rs +1307 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/all.rs +168 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/comments.wit +25 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep1/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep2/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/join.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared1.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/world.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/embedded.wit.md +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/corp/saas.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/clocks.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/filesystem.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/root.wit +44 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/a.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/b.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/bar.wit +21 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-a.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-b.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/foo.wit +31 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax1.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax3.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax4.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/alias-no-type.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/a.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/b.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-md.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10/bar.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/shared-types.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/type-then-eof.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/types.wit +61 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use-chain.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a1/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a2/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/foo.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/wasi.wit +178 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-diamond.wit +22 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-iface-no-collide.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import1.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import2.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-same-fields4.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-top-level-funcs.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-same-fields5.wit +17 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds.wit +37 -0
- data/ext/src/ruby_api/global.rs +3 -3
- data/ext/src/ruby_api/memory/unsafe_slice.rs +9 -3
- data/ext/src/ruby_api/params.rs +14 -12
- data/ext/src/ruby_api/table.rs +1 -1
- data/lib/wasmtime/version.rb +1 -1
- metadata +1418 -1079
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/Cargo.toml +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/benches/x64-evex-encoding.rs +0 -53
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/ir/trapcode.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/abi.rs +0 -1281
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit.rs +0 -3658
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit_tests.rs +0 -7868
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/imms.rs +0 -1215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/mod.rs +0 -2945
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst.isle +0 -4035
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower/isle.rs +0 -813
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower.isle +0 -2906
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/mod.rs +0 -240
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/mod.rs +0 -420
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/abi.rs +0 -726
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/args.rs +0 -1822
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit.rs +0 -2914
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit_tests.rs +0 -2317
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/encode.rs +0 -188
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/imms.rs +0 -244
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/mod.rs +0 -1823
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/regs.rs +0 -231
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/unwind/systemv.rs +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/vector.rs +0 -354
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst.isle +0 -2746
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst_vector.isle +0 -224
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower/isle.rs +0 -544
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/mod.rs +0 -219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/abi.rs +0 -947
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit.rs +0 -3697
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit_tests.rs +0 -13397
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/mod.rs +0 -3409
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst.isle +0 -5045
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/lower.isle +0 -3991
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/mod.rs +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/abi.rs +0 -978
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/evex.rs +0 -403
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/rex.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/vex.rs +0 -498
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/args.rs +0 -2168
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit.rs +0 -3938
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit_tests.rs +0 -5669
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/mod.rs +0 -2763
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst.isle +0 -5186
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower/isle.rs +0 -1158
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.isle +0 -4262
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.rs +0 -328
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/mod.rs +0 -250
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isle_prelude.rs +0 -818
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/abi.rs +0 -2410
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/buffer.rs +0 -2219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/compile.rs +0 -92
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/isle.rs +0 -827
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/lower.rs +0 -1366
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/mod.rs +0 -538
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/reg.rs +0 -532
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/vcode.rs +0 -1571
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude.isle +0 -552
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude_lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/settings.rs +0 -599
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/verifier/mod.rs +0 -1881
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/Cargo.toml +0 -23
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/isa/x86.rs +0 -445
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/shared/settings.rs +0 -331
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.96.4/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/chaos.rs +0 -78
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/lib.rs +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/zero_sized.rs +0 -42
- data/ext/cargo-vendor/cranelift-entity-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.96.4/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-entity-0.96.4/src/list.rs +0 -868
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-isle-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.96.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-native-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.96.4/Cargo.toml +0 -38
- data/ext/cargo-vendor/cranelift-native-0.96.4/src/lib.rs +0 -216
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/Cargo.toml +0 -85
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/code_translator.rs +0 -3479
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/dummy.rs +0 -901
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/spec.rs +0 -807
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/func_translator.rs +0 -419
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/sections_translator.rs +0 -429
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/translation_utils.rs +0 -108
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/Cargo.toml +0 -36
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/run-tests.sh +0 -11
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/src/lib.rs +0 -162
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/tests/test.rs +0 -267
- data/ext/cargo-vendor/regalloc2-0.8.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/regalloc2-0.8.1/Cargo.toml +0 -72
- data/ext/cargo-vendor/regalloc2-0.8.1/deny.toml +0 -28
- data/ext/cargo-vendor/regalloc2-0.8.1/src/checker.rs +0 -1089
- data/ext/cargo-vendor/regalloc2-0.8.1/src/fuzzing/func.rs +0 -673
- data/ext/cargo-vendor/regalloc2-0.8.1/src/index.rs +0 -188
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/data_structures.rs +0 -688
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/liveranges.rs +0 -1012
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/merge.rs +0 -394
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/mod.rs +0 -152
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/moves.rs +0 -985
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/process.rs +0 -1322
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/requirement.rs +0 -174
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/spill.rs +0 -198
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/stackmap.rs +0 -74
- data/ext/cargo-vendor/regalloc2-0.8.1/src/lib.rs +0 -1523
- data/ext/cargo-vendor/regalloc2-0.8.1/src/moves.rs +0 -438
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/Cargo.toml +0 -89
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/dir.rs +0 -465
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/lib.rs +0 -140
- data/ext/cargo-vendor/wasi-common-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-9.0.4/Cargo.toml +0 -86
- data/ext/cargo-vendor/wasi-common-9.0.4/src/ctx.rs +0 -127
- data/ext/cargo-vendor/wasi-common-9.0.4/src/file.rs +0 -260
- data/ext/cargo-vendor/wasi-common-9.0.4/src/snapshots/preview_1.rs +0 -1490
- data/ext/cargo-vendor/wasmparser-0.103.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.lock +0 -692
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.103.0/benches/benchmark.rs +0 -350
- data/ext/cargo-vendor/wasmparser-0.103.0/src/binary_reader.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.103.0/src/lib.rs +0 -712
- data/ext/cargo-vendor/wasmparser-0.103.0/src/parser.rs +0 -1496
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/canonicals.rs +0 -95
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/exports.rs +0 -105
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/imports.rs +0 -109
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/instances.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/types.rs +0 -508
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/producers.rs +0 -78
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/types.rs +0 -511
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core.rs +0 -33
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/component.rs +0 -2097
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/core.rs +0 -1278
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/operators.rs +0 -3456
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/types.rs +0 -2159
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator.rs +0 -1514
- data/ext/cargo-vendor/wasmtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-9.0.4/Cargo.toml +0 -183
- data/ext/cargo-vendor/wasmtime-9.0.4/build.rs +0 -20
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/component.rs +0 -519
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/instance.rs +0 -728
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/matching.rs +0 -112
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/mod.rs +0 -313
- data/ext/cargo-vendor/wasmtime-9.0.4/src/config.rs +0 -2036
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine/serialization.rs +0 -613
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine.rs +0 -729
- data/ext/cargo-vendor/wasmtime-9.0.4/src/externals.rs +0 -762
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func/typed.rs +0 -638
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func.rs +0 -2385
- data/ext/cargo-vendor/wasmtime-9.0.4/src/instance.rs +0 -905
- data/ext/cargo-vendor/wasmtime-9.0.4/src/lib.rs +0 -481
- data/ext/cargo-vendor/wasmtime-9.0.4/src/linker.rs +0 -1479
- data/ext/cargo-vendor/wasmtime-9.0.4/src/memory.rs +0 -948
- data/ext/cargo-vendor/wasmtime-9.0.4/src/module.rs +0 -1542
- data/ext/cargo-vendor/wasmtime-9.0.4/src/ref.rs +0 -108
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/context.rs +0 -243
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/func_refs.rs +0 -110
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store.rs +0 -2059
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/func.rs +0 -171
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/global.rs +0 -71
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types/matching.rs +0 -254
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types.rs +0 -551
- data/ext/cargo-vendor/wasmtime-9.0.4/src/values.rs +0 -290
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/Cargo.toml +0 -73
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/src/bindgen.rs +0 -316
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/char.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/conventions.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/direct-import.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/empty.wit +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/flags.wit +0 -53
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/floats.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/function-new.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/integers.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/lists.wit +0 -83
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/many-arguments.wit +0 -50
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/multi-return.wit +0 -12
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/records.wit +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/rename.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/share-types.wit +0 -19
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-functions.wit +0 -15
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-lists.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-wasi.wit +0 -21
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/small-anonymous.wit +0 -13
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-default.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-export.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/strings.wit +0 -10
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/unions.wit +0 -64
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/use-paths.wit +0 -27
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/variants.wit +0 -145
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/worlds-with-types.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen.rs +0 -30
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/Cargo.toml +0 -90
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/compiler.rs +0 -1200
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/func_environ.rs +0 -2162
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/lib.rs +0 -177
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/Cargo.toml +0 -57
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/src/lib.rs +0 -119
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.lock +0 -735
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/compiler.rs +0 -84
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate/inline.rs +0 -1064
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate.rs +0 -1066
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/types.rs +0 -1903
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/fact.rs +0 -622
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module.rs +0 -1043
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module_environ.rs +0 -841
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/trap_encoding.rs +0 -234
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/unix.rs +0 -199
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/windows.rs +0 -156
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/Cargo.toml +0 -100
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/instantiate.rs +0 -786
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/lib.rs +0 -39
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_linux.rs +0 -444
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_disabled.rs +0 -28
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_linux.rs +0 -104
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune.rs +0 -147
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling.rs +0 -74
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/Cargo.toml +0 -107
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/component.rs +0 -724
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/cow.rs +0 -1063
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/debug_builtins.rs +0 -56
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/externref.rs +0 -1078
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator/pooling.rs +0 -1371
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator.rs +0 -528
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance.rs +0 -1267
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/lib.rs +0 -286
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/libcalls.rs +0 -597
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/memory.rs +0 -945
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/miri.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/unix.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/windows.rs +0 -207
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/table.rs +0 -573
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers/unix.rs +0 -387
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers.rs +0 -664
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext/vm_host_func_context.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext.rs +0 -1244
- data/ext/cargo-vendor/wasmtime-types-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-9.0.4/Cargo.toml +0 -34
- data/ext/cargo-vendor/wasmtime-types-9.0.4/src/lib.rs +0 -413
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/src/lib.rs +0 -128
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/src/compiler.rs +0 -191
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/lib.rs +0 -1488
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/types.rs +0 -178
- data/ext/cargo-vendor/wiggle-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-9.0.4/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-9.0.4/README.md +0 -18
- data/ext/cargo-vendor/wiggle-generate-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-9.0.4/src/lib.rs +0 -210
- data/ext/cargo-vendor/winch-codegen-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.7.4/Cargo.toml +0 -59
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/local.rs +0 -69
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/mod.rs +0 -223
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/call.rs +0 -215
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/context.rs +0 -259
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/env.rs +0 -19
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/mod.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/frame/mod.rs +0 -166
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/abi.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/asm.rs +0 -244
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/masm.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/mod.rs +0 -122
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/regs.rs +0 -160
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/mod.rs +0 -202
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/abi.rs +0 -337
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/address.rs +0 -17
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/asm.rs +0 -499
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/masm.rs +0 -267
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/mod.rs +0 -135
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/regs.rs +0 -178
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/lib.rs +0 -20
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/masm.rs +0 -213
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/regalloc.rs +0 -61
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/stack.rs +0 -230
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/trampoline.rs +0 -206
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/visitor.rs +0 -215
- data/ext/cargo-vendor/winch-environ-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-environ-0.7.4/Cargo.toml +0 -28
- data/ext/cargo-vendor/winch-environ-0.7.4/src/lib.rs +0 -41
- data/ext/cargo-vendor/wit-parser-0.7.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/Cargo.toml +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/lex.rs +0 -662
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/resolve.rs +0 -1072
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast.rs +0 -1099
- data/ext/cargo-vendor/wit-parser-0.7.1/src/lib.rs +0 -617
- data/ext/cargo-vendor/wit-parser-0.7.1/src/live.rs +0 -123
- data/ext/cargo-vendor/wit-parser-0.7.1/src/resolve.rs +0 -1478
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/all.rs +0 -168
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/comments.wit +0 -23
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/world.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/embedded.wit.md +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/corp/saas.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/root.wit +0 -31
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/functions.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/bar.wit +0 -19
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/foo.wit +0 -15
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/alias-no-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/a.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/b.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/join.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-md.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit.result +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit +0 -13
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit +0 -10
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit +0 -16
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/shared-types.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/type-then-eof.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/types.wit +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit +0 -33
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/wasi.wit +0 -176
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-diamond.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-top-level-funcs.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds.wit +0 -40
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dfg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/DESIGN.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/TODO +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/cfg.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/domtree.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/fuzzing/mod.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/indexset.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/dump.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/redundant_moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/reg_traversal.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/postorder.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasm-encoder-0.29.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmparser-0.107.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmparser-0.111.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmprinter-0.2.63}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-9.0.4 → wasmtime-asm-macros-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-cache-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-9.0.4 → wasmtime-component-util-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-cranelift-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-environ-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/compilation.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-fiber-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-jit-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wasmtime-runtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/component/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/macos.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/windows.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wasmtime-types-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-types-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-9.0.4 → wasmtime-wasi-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-md.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1/tests/ui/empty.wit → wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit} +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
@@ -0,0 +1,3463 @@
|
|
1
|
+
/* Copyright 2019 Mozilla Foundation
|
2
|
+
*
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
* you may not use this file except in compliance with the License.
|
5
|
+
* You may obtain a copy of the License at
|
6
|
+
*
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
*
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
* See the License for the specific language governing permissions and
|
13
|
+
* limitations under the License.
|
14
|
+
*/
|
15
|
+
|
16
|
+
// The basic validation algorithm here is copied from the "Validation
|
17
|
+
// Algorithm" section of the WebAssembly specification -
|
18
|
+
// https://webassembly.github.io/spec/core/appendix/algorithm.html.
|
19
|
+
//
|
20
|
+
// That algorithm is followed pretty closely here, namely `push_operand`,
|
21
|
+
// `pop_operand`, `push_ctrl`, and `pop_ctrl`. If anything here is a bit
|
22
|
+
// confusing it's recommended to read over that section to see how it maps to
|
23
|
+
// the various methods here.
|
24
|
+
|
25
|
+
use crate::{
|
26
|
+
limits::MAX_WASM_FUNCTION_LOCALS, BinaryReaderError, BlockType, BrTable, HeapType, Ieee32,
|
27
|
+
Ieee64, MemArg, RefType, Result, ValType, VisitOperator, WasmFeatures, WasmFuncType,
|
28
|
+
WasmModuleResources, V128,
|
29
|
+
};
|
30
|
+
use std::ops::{Deref, DerefMut};
|
31
|
+
|
32
|
+
pub(crate) struct OperatorValidator {
|
33
|
+
pub(super) locals: Locals,
|
34
|
+
pub(super) local_inits: Vec<bool>,
|
35
|
+
|
36
|
+
// This is a list of flags for wasm features which are used to gate various
|
37
|
+
// instructions.
|
38
|
+
pub(crate) features: WasmFeatures,
|
39
|
+
|
40
|
+
// Temporary storage used during the validation of `br_table`.
|
41
|
+
br_table_tmp: Vec<MaybeType>,
|
42
|
+
|
43
|
+
/// The `control` list is the list of blocks that we're currently in.
|
44
|
+
control: Vec<Frame>,
|
45
|
+
/// The `operands` is the current type stack.
|
46
|
+
operands: Vec<MaybeType>,
|
47
|
+
/// When local_inits is modified, the relevant index is recorded here to be
|
48
|
+
/// undone when control pops
|
49
|
+
inits: Vec<u32>,
|
50
|
+
|
51
|
+
/// Offset of the `end` instruction which emptied the `control` stack, which
|
52
|
+
/// must be the end of the function.
|
53
|
+
end_which_emptied_control: Option<usize>,
|
54
|
+
}
|
55
|
+
|
56
|
+
// No science was performed in the creation of this number, feel free to change
|
57
|
+
// it if you so like.
|
58
|
+
const MAX_LOCALS_TO_TRACK: usize = 50;
|
59
|
+
|
60
|
+
pub(super) struct Locals {
|
61
|
+
// Total number of locals in the function.
|
62
|
+
num_locals: u32,
|
63
|
+
|
64
|
+
// The first MAX_LOCALS_TO_TRACK locals in a function. This is used to
|
65
|
+
// optimize the theoretically common case where most functions don't have
|
66
|
+
// many locals and don't need a full binary search in the entire local space
|
67
|
+
// below.
|
68
|
+
first: Vec<ValType>,
|
69
|
+
|
70
|
+
// This is a "compressed" list of locals for this function. The list of
|
71
|
+
// locals are represented as a list of tuples. The second element is the
|
72
|
+
// type of the local, and the first element is monotonically increasing as
|
73
|
+
// you visit elements of this list. The first element is the maximum index
|
74
|
+
// of the local, after the previous index, of the type specified.
|
75
|
+
//
|
76
|
+
// This allows us to do a binary search on the list for a local's index for
|
77
|
+
// `local.{get,set,tee}`. We do a binary search for the index desired, and
|
78
|
+
// it either lies in a "hole" where the maximum index is specified later,
|
79
|
+
// or it's at the end of the list meaning it's out of bounds.
|
80
|
+
all: Vec<(u32, ValType)>,
|
81
|
+
}
|
82
|
+
|
83
|
+
/// A Wasm control flow block on the control flow stack during Wasm validation.
|
84
|
+
//
|
85
|
+
// # Dev. Note
|
86
|
+
//
|
87
|
+
// This structure corresponds to `ctrl_frame` as specified at in the validation
|
88
|
+
// appendix of the wasm spec
|
89
|
+
#[derive(Debug, Copy, Clone)]
|
90
|
+
pub struct Frame {
|
91
|
+
/// Indicator for what kind of instruction pushed this frame.
|
92
|
+
pub kind: FrameKind,
|
93
|
+
/// The type signature of this frame, represented as a singular return type
|
94
|
+
/// or a type index pointing into the module's types.
|
95
|
+
pub block_type: BlockType,
|
96
|
+
/// The index, below which, this frame cannot modify the operand stack.
|
97
|
+
pub height: usize,
|
98
|
+
/// Whether this frame is unreachable so far.
|
99
|
+
pub unreachable: bool,
|
100
|
+
/// The number of initializations in the stack at the time of its creation
|
101
|
+
pub init_height: usize,
|
102
|
+
}
|
103
|
+
|
104
|
+
/// The kind of a control flow [`Frame`].
|
105
|
+
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
106
|
+
pub enum FrameKind {
|
107
|
+
/// A Wasm `block` control block.
|
108
|
+
Block,
|
109
|
+
/// A Wasm `if` control block.
|
110
|
+
If,
|
111
|
+
/// A Wasm `else` control block.
|
112
|
+
Else,
|
113
|
+
/// A Wasm `loop` control block.
|
114
|
+
Loop,
|
115
|
+
/// A Wasm `try` control block.
|
116
|
+
///
|
117
|
+
/// # Note
|
118
|
+
///
|
119
|
+
/// This belongs to the Wasm exception handling proposal.
|
120
|
+
Try,
|
121
|
+
/// A Wasm `catch` control block.
|
122
|
+
///
|
123
|
+
/// # Note
|
124
|
+
///
|
125
|
+
/// This belongs to the Wasm exception handling proposal.
|
126
|
+
Catch,
|
127
|
+
/// A Wasm `catch_all` control block.
|
128
|
+
///
|
129
|
+
/// # Note
|
130
|
+
///
|
131
|
+
/// This belongs to the Wasm exception handling proposal.
|
132
|
+
CatchAll,
|
133
|
+
}
|
134
|
+
|
135
|
+
struct OperatorValidatorTemp<'validator, 'resources, T> {
|
136
|
+
offset: usize,
|
137
|
+
inner: &'validator mut OperatorValidator,
|
138
|
+
resources: &'resources T,
|
139
|
+
}
|
140
|
+
|
141
|
+
#[derive(Default)]
|
142
|
+
pub struct OperatorValidatorAllocations {
|
143
|
+
br_table_tmp: Vec<MaybeType>,
|
144
|
+
control: Vec<Frame>,
|
145
|
+
operands: Vec<MaybeType>,
|
146
|
+
local_inits: Vec<bool>,
|
147
|
+
inits: Vec<u32>,
|
148
|
+
locals_first: Vec<ValType>,
|
149
|
+
locals_all: Vec<(u32, ValType)>,
|
150
|
+
}
|
151
|
+
|
152
|
+
/// Type storage within the validator.
|
153
|
+
///
|
154
|
+
/// This is used to manage the operand stack and notably isn't just `ValType` to
|
155
|
+
/// handle unreachable code and the "bottom" type.
|
156
|
+
#[derive(Debug, Copy, Clone)]
|
157
|
+
enum MaybeType {
|
158
|
+
Bot,
|
159
|
+
HeapBot,
|
160
|
+
Type(ValType),
|
161
|
+
}
|
162
|
+
|
163
|
+
// The validator is pretty performance-sensitive and `MaybeType` is the main
|
164
|
+
// unit of storage, so assert that it doesn't exceed 4 bytes which is the
|
165
|
+
// current expected size.
|
166
|
+
const _: () = {
|
167
|
+
assert!(std::mem::size_of::<MaybeType>() == 4);
|
168
|
+
};
|
169
|
+
|
170
|
+
impl From<ValType> for MaybeType {
|
171
|
+
fn from(ty: ValType) -> MaybeType {
|
172
|
+
MaybeType::Type(ty)
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
impl From<RefType> for MaybeType {
|
177
|
+
fn from(ty: RefType) -> MaybeType {
|
178
|
+
let ty: ValType = ty.into();
|
179
|
+
ty.into()
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
impl OperatorValidator {
|
184
|
+
fn new(features: &WasmFeatures, allocs: OperatorValidatorAllocations) -> Self {
|
185
|
+
let OperatorValidatorAllocations {
|
186
|
+
br_table_tmp,
|
187
|
+
control,
|
188
|
+
operands,
|
189
|
+
local_inits,
|
190
|
+
inits,
|
191
|
+
locals_first,
|
192
|
+
locals_all,
|
193
|
+
} = allocs;
|
194
|
+
debug_assert!(br_table_tmp.is_empty());
|
195
|
+
debug_assert!(control.is_empty());
|
196
|
+
debug_assert!(operands.is_empty());
|
197
|
+
debug_assert!(local_inits.is_empty());
|
198
|
+
debug_assert!(inits.is_empty());
|
199
|
+
debug_assert!(locals_first.is_empty());
|
200
|
+
debug_assert!(locals_all.is_empty());
|
201
|
+
OperatorValidator {
|
202
|
+
locals: Locals {
|
203
|
+
num_locals: 0,
|
204
|
+
first: locals_first,
|
205
|
+
all: locals_all,
|
206
|
+
},
|
207
|
+
local_inits,
|
208
|
+
inits,
|
209
|
+
features: *features,
|
210
|
+
br_table_tmp,
|
211
|
+
operands,
|
212
|
+
control,
|
213
|
+
end_which_emptied_control: None,
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
/// Creates a new operator validator which will be used to validate a
|
218
|
+
/// function whose type is the `ty` index specified.
|
219
|
+
///
|
220
|
+
/// The `resources` are used to learn about the function type underlying
|
221
|
+
/// `ty`.
|
222
|
+
pub fn new_func<T>(
|
223
|
+
ty: u32,
|
224
|
+
offset: usize,
|
225
|
+
features: &WasmFeatures,
|
226
|
+
resources: &T,
|
227
|
+
allocs: OperatorValidatorAllocations,
|
228
|
+
) -> Result<Self>
|
229
|
+
where
|
230
|
+
T: WasmModuleResources,
|
231
|
+
{
|
232
|
+
let mut ret = OperatorValidator::new(features, allocs);
|
233
|
+
ret.control.push(Frame {
|
234
|
+
kind: FrameKind::Block,
|
235
|
+
block_type: BlockType::FuncType(ty),
|
236
|
+
height: 0,
|
237
|
+
unreachable: false,
|
238
|
+
init_height: 0,
|
239
|
+
});
|
240
|
+
let params = OperatorValidatorTemp {
|
241
|
+
// This offset is used by the `func_type_at` and `inputs`.
|
242
|
+
offset,
|
243
|
+
inner: &mut ret,
|
244
|
+
resources,
|
245
|
+
}
|
246
|
+
.func_type_at(ty)?
|
247
|
+
.inputs();
|
248
|
+
for ty in params {
|
249
|
+
ret.locals.define(1, ty);
|
250
|
+
ret.local_inits.push(true);
|
251
|
+
}
|
252
|
+
Ok(ret)
|
253
|
+
}
|
254
|
+
|
255
|
+
/// Creates a new operator validator which will be used to validate an
|
256
|
+
/// `init_expr` constant expression which should result in the `ty`
|
257
|
+
/// specified.
|
258
|
+
pub fn new_const_expr(
|
259
|
+
features: &WasmFeatures,
|
260
|
+
ty: ValType,
|
261
|
+
allocs: OperatorValidatorAllocations,
|
262
|
+
) -> Self {
|
263
|
+
let mut ret = OperatorValidator::new(features, allocs);
|
264
|
+
ret.control.push(Frame {
|
265
|
+
kind: FrameKind::Block,
|
266
|
+
block_type: BlockType::Type(ty),
|
267
|
+
height: 0,
|
268
|
+
unreachable: false,
|
269
|
+
init_height: 0,
|
270
|
+
});
|
271
|
+
ret
|
272
|
+
}
|
273
|
+
|
274
|
+
pub fn define_locals(
|
275
|
+
&mut self,
|
276
|
+
offset: usize,
|
277
|
+
count: u32,
|
278
|
+
ty: ValType,
|
279
|
+
resources: &impl WasmModuleResources,
|
280
|
+
) -> Result<()> {
|
281
|
+
resources.check_value_type(ty, &self.features, offset)?;
|
282
|
+
if count == 0 {
|
283
|
+
return Ok(());
|
284
|
+
}
|
285
|
+
if !self.locals.define(count, ty) {
|
286
|
+
return Err(BinaryReaderError::new(
|
287
|
+
"too many locals: locals exceed maximum",
|
288
|
+
offset,
|
289
|
+
));
|
290
|
+
}
|
291
|
+
self.local_inits
|
292
|
+
.resize(self.local_inits.len() + count as usize, ty.is_defaultable());
|
293
|
+
Ok(())
|
294
|
+
}
|
295
|
+
|
296
|
+
/// Returns the current operands stack height.
|
297
|
+
pub fn operand_stack_height(&self) -> usize {
|
298
|
+
self.operands.len()
|
299
|
+
}
|
300
|
+
|
301
|
+
/// Returns the optional value type of the value operand at the given
|
302
|
+
/// `depth` from the top of the operand stack.
|
303
|
+
///
|
304
|
+
/// - Returns `None` if the `depth` is out of bounds.
|
305
|
+
/// - Returns `Some(None)` if there is a value with unknown type
|
306
|
+
/// at the given `depth`.
|
307
|
+
///
|
308
|
+
/// # Note
|
309
|
+
///
|
310
|
+
/// A `depth` of 0 will refer to the last operand on the stack.
|
311
|
+
pub fn peek_operand_at(&self, depth: usize) -> Option<Option<ValType>> {
|
312
|
+
Some(match self.operands.iter().rev().nth(depth)? {
|
313
|
+
MaybeType::Type(t) => Some(*t),
|
314
|
+
MaybeType::Bot | MaybeType::HeapBot => None,
|
315
|
+
})
|
316
|
+
}
|
317
|
+
|
318
|
+
/// Returns the number of frames on the control flow stack.
|
319
|
+
pub fn control_stack_height(&self) -> usize {
|
320
|
+
self.control.len()
|
321
|
+
}
|
322
|
+
|
323
|
+
pub fn get_frame(&self, depth: usize) -> Option<&Frame> {
|
324
|
+
self.control.iter().rev().nth(depth)
|
325
|
+
}
|
326
|
+
|
327
|
+
/// Create a temporary [`OperatorValidatorTemp`] for validation.
|
328
|
+
pub fn with_resources<'a, 'validator, 'resources, T>(
|
329
|
+
&'validator mut self,
|
330
|
+
resources: &'resources T,
|
331
|
+
offset: usize,
|
332
|
+
) -> impl VisitOperator<'a, Output = Result<()>> + 'validator
|
333
|
+
where
|
334
|
+
T: WasmModuleResources,
|
335
|
+
'resources: 'validator,
|
336
|
+
{
|
337
|
+
WasmProposalValidator(OperatorValidatorTemp {
|
338
|
+
offset,
|
339
|
+
inner: self,
|
340
|
+
resources,
|
341
|
+
})
|
342
|
+
}
|
343
|
+
|
344
|
+
pub fn finish(&mut self, offset: usize) -> Result<()> {
|
345
|
+
if self.control.last().is_some() {
|
346
|
+
bail!(
|
347
|
+
offset,
|
348
|
+
"control frames remain at end of function: END opcode expected"
|
349
|
+
);
|
350
|
+
}
|
351
|
+
|
352
|
+
// The `end` opcode is one byte which means that the `offset` here
|
353
|
+
// should point just beyond the `end` opcode which emptied the control
|
354
|
+
// stack. If not that means more instructions were present after the
|
355
|
+
// control stack was emptied.
|
356
|
+
if offset != self.end_which_emptied_control.unwrap() + 1 {
|
357
|
+
return Err(self.err_beyond_end(offset));
|
358
|
+
}
|
359
|
+
Ok(())
|
360
|
+
}
|
361
|
+
|
362
|
+
fn err_beyond_end(&self, offset: usize) -> BinaryReaderError {
|
363
|
+
format_err!(offset, "operators remaining after end of function")
|
364
|
+
}
|
365
|
+
|
366
|
+
pub fn into_allocations(self) -> OperatorValidatorAllocations {
|
367
|
+
fn truncate<T>(mut tmp: Vec<T>) -> Vec<T> {
|
368
|
+
tmp.truncate(0);
|
369
|
+
tmp
|
370
|
+
}
|
371
|
+
OperatorValidatorAllocations {
|
372
|
+
br_table_tmp: truncate(self.br_table_tmp),
|
373
|
+
control: truncate(self.control),
|
374
|
+
operands: truncate(self.operands),
|
375
|
+
local_inits: truncate(self.local_inits),
|
376
|
+
inits: truncate(self.inits),
|
377
|
+
locals_first: truncate(self.locals.first),
|
378
|
+
locals_all: truncate(self.locals.all),
|
379
|
+
}
|
380
|
+
}
|
381
|
+
}
|
382
|
+
|
383
|
+
impl<R> Deref for OperatorValidatorTemp<'_, '_, R> {
|
384
|
+
type Target = OperatorValidator;
|
385
|
+
fn deref(&self) -> &OperatorValidator {
|
386
|
+
self.inner
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
impl<R> DerefMut for OperatorValidatorTemp<'_, '_, R> {
|
391
|
+
fn deref_mut(&mut self) -> &mut OperatorValidator {
|
392
|
+
self.inner
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
impl<'resources, R: WasmModuleResources> OperatorValidatorTemp<'_, 'resources, R> {
|
397
|
+
/// Pushes a type onto the operand stack.
|
398
|
+
///
|
399
|
+
/// This is used by instructions to represent a value that is pushed to the
|
400
|
+
/// operand stack. This can fail, but only if `Type` is feature gated.
|
401
|
+
/// Otherwise the push operation always succeeds.
|
402
|
+
fn push_operand<T>(&mut self, ty: T) -> Result<()>
|
403
|
+
where
|
404
|
+
T: Into<MaybeType>,
|
405
|
+
{
|
406
|
+
let maybe_ty = ty.into();
|
407
|
+
self.operands.push(maybe_ty);
|
408
|
+
Ok(())
|
409
|
+
}
|
410
|
+
|
411
|
+
/// Attempts to pop a type from the operand stack.
|
412
|
+
///
|
413
|
+
/// This function is used to remove types from the operand stack. The
|
414
|
+
/// `expected` argument can be used to indicate that a type is required, or
|
415
|
+
/// simply that something is needed to be popped.
|
416
|
+
///
|
417
|
+
/// If `expected` is `Some(T)` then this will be guaranteed to return
|
418
|
+
/// `T`, and it will only return success if the current block is
|
419
|
+
/// unreachable or if `T` was found at the top of the operand stack.
|
420
|
+
///
|
421
|
+
/// If `expected` is `None` then it indicates that something must be on the
|
422
|
+
/// operand stack, but it doesn't matter what's on the operand stack. This
|
423
|
+
/// is useful for polymorphic instructions like `select`.
|
424
|
+
///
|
425
|
+
/// If `Some(T)` is returned then `T` was popped from the operand stack and
|
426
|
+
/// matches `expected`. If `None` is returned then it means that `None` was
|
427
|
+
/// expected and a type was successfully popped, but its exact type is
|
428
|
+
/// indeterminate because the current block is unreachable.
|
429
|
+
fn pop_operand(&mut self, expected: Option<ValType>) -> Result<MaybeType> {
|
430
|
+
// This method is one of the hottest methods in the validator so to
|
431
|
+
// improve codegen this method contains a fast-path success case where
|
432
|
+
// if the top operand on the stack is as expected it's returned
|
433
|
+
// immediately. This is the most common case where the stack will indeed
|
434
|
+
// have the expected type and all we need to do is pop it off.
|
435
|
+
//
|
436
|
+
// Note that this still has to be careful to be correct, though. For
|
437
|
+
// efficiency an operand is unconditionally popped and on success it is
|
438
|
+
// matched against the state of the world to see if we could actually
|
439
|
+
// pop it. If we shouldn't have popped it then it's passed to the slow
|
440
|
+
// path to get pushed back onto the stack.
|
441
|
+
let popped = match self.operands.pop() {
|
442
|
+
Some(MaybeType::Type(actual_ty)) => {
|
443
|
+
if Some(actual_ty) == expected {
|
444
|
+
if let Some(control) = self.control.last() {
|
445
|
+
if self.operands.len() >= control.height {
|
446
|
+
return Ok(MaybeType::Type(actual_ty));
|
447
|
+
}
|
448
|
+
}
|
449
|
+
}
|
450
|
+
Some(MaybeType::Type(actual_ty))
|
451
|
+
}
|
452
|
+
other => other,
|
453
|
+
};
|
454
|
+
|
455
|
+
self._pop_operand(expected, popped)
|
456
|
+
}
|
457
|
+
|
458
|
+
// This is the "real" implementation of `pop_operand` which is 100%
|
459
|
+
// spec-compliant with little attention paid to efficiency since this is the
|
460
|
+
// slow-path from the actual `pop_operand` function above.
|
461
|
+
#[cold]
|
462
|
+
fn _pop_operand(
|
463
|
+
&mut self,
|
464
|
+
expected: Option<ValType>,
|
465
|
+
popped: Option<MaybeType>,
|
466
|
+
) -> Result<MaybeType> {
|
467
|
+
self.operands.extend(popped);
|
468
|
+
let control = match self.control.last() {
|
469
|
+
Some(c) => c,
|
470
|
+
None => return Err(self.err_beyond_end(self.offset)),
|
471
|
+
};
|
472
|
+
let actual = if self.operands.len() == control.height && control.unreachable {
|
473
|
+
MaybeType::Bot
|
474
|
+
} else {
|
475
|
+
if self.operands.len() == control.height {
|
476
|
+
let desc = match expected {
|
477
|
+
Some(ty) => ty_to_str(ty),
|
478
|
+
None => "a type",
|
479
|
+
};
|
480
|
+
bail!(
|
481
|
+
self.offset,
|
482
|
+
"type mismatch: expected {desc} but nothing on stack"
|
483
|
+
)
|
484
|
+
} else {
|
485
|
+
self.operands.pop().unwrap()
|
486
|
+
}
|
487
|
+
};
|
488
|
+
if let Some(expected) = expected {
|
489
|
+
match (actual, expected) {
|
490
|
+
// The bottom type matches all expectations
|
491
|
+
(MaybeType::Bot, _)
|
492
|
+
// The "heap bottom" type only matches other references types,
|
493
|
+
// but not any integer types.
|
494
|
+
| (MaybeType::HeapBot, ValType::Ref(_)) => {}
|
495
|
+
|
496
|
+
// Use the `matches` predicate to test if a found type matches
|
497
|
+
// the expectation.
|
498
|
+
(MaybeType::Type(actual), expected) => {
|
499
|
+
if !self.resources.matches(actual, expected) {
|
500
|
+
bail!(
|
501
|
+
self.offset,
|
502
|
+
"type mismatch: expected {}, found {}",
|
503
|
+
ty_to_str(expected),
|
504
|
+
ty_to_str(actual)
|
505
|
+
);
|
506
|
+
}
|
507
|
+
}
|
508
|
+
|
509
|
+
// A "heap bottom" type cannot match any numeric types.
|
510
|
+
(
|
511
|
+
MaybeType::HeapBot,
|
512
|
+
ValType::I32 | ValType::I64 | ValType::F32 | ValType::F64 | ValType::V128,
|
513
|
+
) => {
|
514
|
+
bail!(
|
515
|
+
self.offset,
|
516
|
+
"type mismatch: expected {}, found heap type",
|
517
|
+
ty_to_str(expected)
|
518
|
+
)
|
519
|
+
}
|
520
|
+
}
|
521
|
+
}
|
522
|
+
Ok(actual)
|
523
|
+
}
|
524
|
+
|
525
|
+
fn pop_ref(&mut self) -> Result<Option<RefType>> {
|
526
|
+
match self.pop_operand(None)? {
|
527
|
+
MaybeType::Bot | MaybeType::HeapBot => Ok(None),
|
528
|
+
MaybeType::Type(ValType::Ref(rt)) => Ok(Some(rt)),
|
529
|
+
MaybeType::Type(ty) => bail!(
|
530
|
+
self.offset,
|
531
|
+
"type mismatch: expected ref but found {}",
|
532
|
+
ty_to_str(ty)
|
533
|
+
),
|
534
|
+
}
|
535
|
+
}
|
536
|
+
|
537
|
+
/// Fetches the type for the local at `idx`, returning an error if it's out
|
538
|
+
/// of bounds.
|
539
|
+
fn local(&self, idx: u32) -> Result<ValType> {
|
540
|
+
match self.locals.get(idx) {
|
541
|
+
Some(ty) => Ok(ty),
|
542
|
+
None => bail!(
|
543
|
+
self.offset,
|
544
|
+
"unknown local {}: local index out of bounds",
|
545
|
+
idx
|
546
|
+
),
|
547
|
+
}
|
548
|
+
}
|
549
|
+
|
550
|
+
/// Flags the current control frame as unreachable, additionally truncating
|
551
|
+
/// the currently active operand stack.
|
552
|
+
fn unreachable(&mut self) -> Result<()> {
|
553
|
+
let control = match self.control.last_mut() {
|
554
|
+
Some(frame) => frame,
|
555
|
+
None => return Err(self.err_beyond_end(self.offset)),
|
556
|
+
};
|
557
|
+
control.unreachable = true;
|
558
|
+
let new_height = control.height;
|
559
|
+
self.operands.truncate(new_height);
|
560
|
+
Ok(())
|
561
|
+
}
|
562
|
+
|
563
|
+
/// Pushes a new frame onto the control stack.
|
564
|
+
///
|
565
|
+
/// This operation is used when entering a new block such as an if, loop,
|
566
|
+
/// or block itself. The `kind` of block is specified which indicates how
|
567
|
+
/// breaks interact with this block's type. Additionally the type signature
|
568
|
+
/// of the block is specified by `ty`.
|
569
|
+
fn push_ctrl(&mut self, kind: FrameKind, ty: BlockType) -> Result<()> {
|
570
|
+
// Push a new frame which has a snapshot of the height of the current
|
571
|
+
// operand stack.
|
572
|
+
let height = self.operands.len();
|
573
|
+
let init_height = self.inits.len();
|
574
|
+
self.control.push(Frame {
|
575
|
+
kind,
|
576
|
+
block_type: ty,
|
577
|
+
height,
|
578
|
+
unreachable: false,
|
579
|
+
init_height,
|
580
|
+
});
|
581
|
+
// All of the parameters are now also available in this control frame,
|
582
|
+
// so we push them here in order.
|
583
|
+
for ty in self.params(ty)? {
|
584
|
+
self.push_operand(ty)?;
|
585
|
+
}
|
586
|
+
Ok(())
|
587
|
+
}
|
588
|
+
|
589
|
+
/// Pops a frame from the control stack.
|
590
|
+
///
|
591
|
+
/// This function is used when exiting a block and leaves a block scope.
|
592
|
+
/// Internally this will validate that blocks have the correct result type.
|
593
|
+
fn pop_ctrl(&mut self) -> Result<Frame> {
|
594
|
+
// Read the expected type and expected height of the operand stack the
|
595
|
+
// end of the frame.
|
596
|
+
let frame = match self.control.last() {
|
597
|
+
Some(f) => f,
|
598
|
+
None => return Err(self.err_beyond_end(self.offset)),
|
599
|
+
};
|
600
|
+
let ty = frame.block_type;
|
601
|
+
let height = frame.height;
|
602
|
+
let init_height = frame.init_height;
|
603
|
+
|
604
|
+
// reset_locals in the spec
|
605
|
+
for init in self.inits.split_off(init_height) {
|
606
|
+
self.local_inits[init as usize] = false;
|
607
|
+
}
|
608
|
+
|
609
|
+
// Pop all the result types, in reverse order, from the operand stack.
|
610
|
+
// These types will, possibly, be transferred to the next frame.
|
611
|
+
for ty in self.results(ty)?.rev() {
|
612
|
+
self.pop_operand(Some(ty))?;
|
613
|
+
}
|
614
|
+
|
615
|
+
// Make sure that the operand stack has returned to is original
|
616
|
+
// height...
|
617
|
+
if self.operands.len() != height {
|
618
|
+
bail!(
|
619
|
+
self.offset,
|
620
|
+
"type mismatch: values remaining on stack at end of block"
|
621
|
+
);
|
622
|
+
}
|
623
|
+
|
624
|
+
// And then we can remove it!
|
625
|
+
Ok(self.control.pop().unwrap())
|
626
|
+
}
|
627
|
+
|
628
|
+
/// Validates a relative jump to the `depth` specified.
|
629
|
+
///
|
630
|
+
/// Returns the type signature of the block that we're jumping to as well
|
631
|
+
/// as the kind of block if the jump is valid. Otherwise returns an error.
|
632
|
+
fn jump(&self, depth: u32) -> Result<(BlockType, FrameKind)> {
|
633
|
+
if self.control.is_empty() {
|
634
|
+
return Err(self.err_beyond_end(self.offset));
|
635
|
+
}
|
636
|
+
match (self.control.len() - 1).checked_sub(depth as usize) {
|
637
|
+
Some(i) => {
|
638
|
+
let frame = &self.control[i];
|
639
|
+
Ok((frame.block_type, frame.kind))
|
640
|
+
}
|
641
|
+
None => bail!(self.offset, "unknown label: branch depth too large"),
|
642
|
+
}
|
643
|
+
}
|
644
|
+
|
645
|
+
/// Validates that `memory_index` is valid in this module, and returns the
|
646
|
+
/// type of address used to index the memory specified.
|
647
|
+
fn check_memory_index(&self, memory_index: u32) -> Result<ValType> {
|
648
|
+
match self.resources.memory_at(memory_index) {
|
649
|
+
Some(mem) => Ok(mem.index_type()),
|
650
|
+
None => bail!(self.offset, "unknown memory {}", memory_index),
|
651
|
+
}
|
652
|
+
}
|
653
|
+
|
654
|
+
/// Validates a `memarg for alignment and such (also the memory it
|
655
|
+
/// references), and returns the type of index used to address the memory.
|
656
|
+
fn check_memarg(&self, memarg: MemArg) -> Result<ValType> {
|
657
|
+
let index_ty = self.check_memory_index(memarg.memory)?;
|
658
|
+
if memarg.align > memarg.max_align {
|
659
|
+
bail!(self.offset, "alignment must not be larger than natural");
|
660
|
+
}
|
661
|
+
if index_ty == ValType::I32 && memarg.offset > u64::from(u32::MAX) {
|
662
|
+
bail!(self.offset, "offset out of range: must be <= 2**32");
|
663
|
+
}
|
664
|
+
Ok(index_ty)
|
665
|
+
}
|
666
|
+
|
667
|
+
fn check_floats_enabled(&self) -> Result<()> {
|
668
|
+
if !self.features.floats {
|
669
|
+
bail!(self.offset, "floating-point instruction disallowed");
|
670
|
+
}
|
671
|
+
Ok(())
|
672
|
+
}
|
673
|
+
|
674
|
+
fn check_shared_memarg(&self, memarg: MemArg) -> Result<ValType> {
|
675
|
+
if memarg.align != memarg.max_align {
|
676
|
+
bail!(
|
677
|
+
self.offset,
|
678
|
+
"atomic instructions must always specify maximum alignment"
|
679
|
+
);
|
680
|
+
}
|
681
|
+
self.check_memory_index(memarg.memory)
|
682
|
+
}
|
683
|
+
|
684
|
+
fn check_simd_lane_index(&self, index: u8, max: u8) -> Result<()> {
|
685
|
+
if index >= max {
|
686
|
+
bail!(self.offset, "SIMD index out of bounds");
|
687
|
+
}
|
688
|
+
Ok(())
|
689
|
+
}
|
690
|
+
|
691
|
+
/// Validates a block type, primarily with various in-flight proposals.
|
692
|
+
fn check_block_type(&self, ty: BlockType) -> Result<()> {
|
693
|
+
match ty {
|
694
|
+
BlockType::Empty => Ok(()),
|
695
|
+
BlockType::Type(t) => self
|
696
|
+
.resources
|
697
|
+
.check_value_type(t, &self.features, self.offset),
|
698
|
+
BlockType::FuncType(idx) => {
|
699
|
+
if !self.features.multi_value {
|
700
|
+
bail!(
|
701
|
+
self.offset,
|
702
|
+
"blocks, loops, and ifs may only produce a resulttype \
|
703
|
+
when multi-value is not enabled",
|
704
|
+
);
|
705
|
+
}
|
706
|
+
self.func_type_at(idx)?;
|
707
|
+
Ok(())
|
708
|
+
}
|
709
|
+
}
|
710
|
+
}
|
711
|
+
|
712
|
+
/// Validates a `call` instruction, ensuring that the function index is
|
713
|
+
/// in-bounds and the right types are on the stack to call the function.
|
714
|
+
fn check_call(&mut self, function_index: u32) -> Result<()> {
|
715
|
+
let ty = match self.resources.type_index_of_function(function_index) {
|
716
|
+
Some(i) => i,
|
717
|
+
None => {
|
718
|
+
bail!(
|
719
|
+
self.offset,
|
720
|
+
"unknown function {function_index}: function index out of bounds",
|
721
|
+
);
|
722
|
+
}
|
723
|
+
};
|
724
|
+
self.check_call_ty(ty)
|
725
|
+
}
|
726
|
+
|
727
|
+
fn check_call_ty(&mut self, type_index: u32) -> Result<()> {
|
728
|
+
let ty = match self.resources.func_type_at(type_index) {
|
729
|
+
Some(i) => i,
|
730
|
+
None => {
|
731
|
+
bail!(
|
732
|
+
self.offset,
|
733
|
+
"unknown type {type_index}: type index out of bounds",
|
734
|
+
);
|
735
|
+
}
|
736
|
+
};
|
737
|
+
for ty in ty.inputs().rev() {
|
738
|
+
self.pop_operand(Some(ty))?;
|
739
|
+
}
|
740
|
+
for ty in ty.outputs() {
|
741
|
+
self.push_operand(ty)?;
|
742
|
+
}
|
743
|
+
Ok(())
|
744
|
+
}
|
745
|
+
|
746
|
+
/// Validates a call to an indirect function, very similar to `check_call`.
|
747
|
+
fn check_call_indirect(&mut self, index: u32, table_index: u32) -> Result<()> {
|
748
|
+
match self.resources.table_at(table_index) {
|
749
|
+
None => {
|
750
|
+
bail!(self.offset, "unknown table: table index out of bounds");
|
751
|
+
}
|
752
|
+
Some(tab) => {
|
753
|
+
if !self
|
754
|
+
.resources
|
755
|
+
.matches(ValType::Ref(tab.element_type), ValType::FUNCREF)
|
756
|
+
{
|
757
|
+
bail!(
|
758
|
+
self.offset,
|
759
|
+
"indirect calls must go through a table with type <= funcref",
|
760
|
+
);
|
761
|
+
}
|
762
|
+
}
|
763
|
+
}
|
764
|
+
let ty = self.func_type_at(index)?;
|
765
|
+
self.pop_operand(Some(ValType::I32))?;
|
766
|
+
for ty in ty.inputs().rev() {
|
767
|
+
self.pop_operand(Some(ty))?;
|
768
|
+
}
|
769
|
+
for ty in ty.outputs() {
|
770
|
+
self.push_operand(ty)?;
|
771
|
+
}
|
772
|
+
Ok(())
|
773
|
+
}
|
774
|
+
|
775
|
+
/// Validates a `return` instruction, popping types from the operand
|
776
|
+
/// stack that the function needs.
|
777
|
+
fn check_return(&mut self) -> Result<()> {
|
778
|
+
if self.control.is_empty() {
|
779
|
+
return Err(self.err_beyond_end(self.offset));
|
780
|
+
}
|
781
|
+
for ty in self.results(self.control[0].block_type)?.rev() {
|
782
|
+
self.pop_operand(Some(ty))?;
|
783
|
+
}
|
784
|
+
self.unreachable()?;
|
785
|
+
Ok(())
|
786
|
+
}
|
787
|
+
|
788
|
+
/// Checks the validity of a common comparison operator.
|
789
|
+
fn check_cmp_op(&mut self, ty: ValType) -> Result<()> {
|
790
|
+
self.pop_operand(Some(ty))?;
|
791
|
+
self.pop_operand(Some(ty))?;
|
792
|
+
self.push_operand(ValType::I32)?;
|
793
|
+
Ok(())
|
794
|
+
}
|
795
|
+
|
796
|
+
/// Checks the validity of a common float comparison operator.
|
797
|
+
fn check_fcmp_op(&mut self, ty: ValType) -> Result<()> {
|
798
|
+
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
799
|
+
self.check_floats_enabled()?;
|
800
|
+
self.check_cmp_op(ty)
|
801
|
+
}
|
802
|
+
|
803
|
+
/// Checks the validity of a common unary operator.
|
804
|
+
fn check_unary_op(&mut self, ty: ValType) -> Result<()> {
|
805
|
+
self.pop_operand(Some(ty))?;
|
806
|
+
self.push_operand(ty)?;
|
807
|
+
Ok(())
|
808
|
+
}
|
809
|
+
|
810
|
+
/// Checks the validity of a common unary float operator.
|
811
|
+
fn check_funary_op(&mut self, ty: ValType) -> Result<()> {
|
812
|
+
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
813
|
+
self.check_floats_enabled()?;
|
814
|
+
self.check_unary_op(ty)
|
815
|
+
}
|
816
|
+
|
817
|
+
/// Checks the validity of a common conversion operator.
|
818
|
+
fn check_conversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
|
819
|
+
self.pop_operand(Some(from))?;
|
820
|
+
self.push_operand(into)?;
|
821
|
+
Ok(())
|
822
|
+
}
|
823
|
+
|
824
|
+
/// Checks the validity of a common conversion operator.
|
825
|
+
fn check_fconversion_op(&mut self, into: ValType, from: ValType) -> Result<()> {
|
826
|
+
debug_assert!(matches!(into, ValType::F32 | ValType::F64));
|
827
|
+
self.check_floats_enabled()?;
|
828
|
+
self.check_conversion_op(into, from)
|
829
|
+
}
|
830
|
+
|
831
|
+
/// Checks the validity of a common binary operator.
|
832
|
+
fn check_binary_op(&mut self, ty: ValType) -> Result<()> {
|
833
|
+
self.pop_operand(Some(ty))?;
|
834
|
+
self.pop_operand(Some(ty))?;
|
835
|
+
self.push_operand(ty)?;
|
836
|
+
Ok(())
|
837
|
+
}
|
838
|
+
|
839
|
+
/// Checks the validity of a common binary float operator.
|
840
|
+
fn check_fbinary_op(&mut self, ty: ValType) -> Result<()> {
|
841
|
+
debug_assert!(matches!(ty, ValType::F32 | ValType::F64));
|
842
|
+
self.check_floats_enabled()?;
|
843
|
+
self.check_binary_op(ty)
|
844
|
+
}
|
845
|
+
|
846
|
+
/// Checks the validity of an atomic load operator.
|
847
|
+
fn check_atomic_load(&mut self, memarg: MemArg, load_ty: ValType) -> Result<()> {
|
848
|
+
let ty = self.check_shared_memarg(memarg)?;
|
849
|
+
self.pop_operand(Some(ty))?;
|
850
|
+
self.push_operand(load_ty)?;
|
851
|
+
Ok(())
|
852
|
+
}
|
853
|
+
|
854
|
+
/// Checks the validity of an atomic store operator.
|
855
|
+
fn check_atomic_store(&mut self, memarg: MemArg, store_ty: ValType) -> Result<()> {
|
856
|
+
let ty = self.check_shared_memarg(memarg)?;
|
857
|
+
self.pop_operand(Some(store_ty))?;
|
858
|
+
self.pop_operand(Some(ty))?;
|
859
|
+
Ok(())
|
860
|
+
}
|
861
|
+
|
862
|
+
/// Checks the validity of a common atomic binary operator.
|
863
|
+
fn check_atomic_binary_op(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
|
864
|
+
let ty = self.check_shared_memarg(memarg)?;
|
865
|
+
self.pop_operand(Some(op_ty))?;
|
866
|
+
self.pop_operand(Some(ty))?;
|
867
|
+
self.push_operand(op_ty)?;
|
868
|
+
Ok(())
|
869
|
+
}
|
870
|
+
|
871
|
+
/// Checks the validity of an atomic compare exchange operator.
|
872
|
+
fn check_atomic_binary_cmpxchg(&mut self, memarg: MemArg, op_ty: ValType) -> Result<()> {
|
873
|
+
let ty = self.check_shared_memarg(memarg)?;
|
874
|
+
self.pop_operand(Some(op_ty))?;
|
875
|
+
self.pop_operand(Some(op_ty))?;
|
876
|
+
self.pop_operand(Some(ty))?;
|
877
|
+
self.push_operand(op_ty)?;
|
878
|
+
Ok(())
|
879
|
+
}
|
880
|
+
|
881
|
+
/// Checks a [`V128`] splat operator.
|
882
|
+
fn check_v128_splat(&mut self, src_ty: ValType) -> Result<()> {
|
883
|
+
self.pop_operand(Some(src_ty))?;
|
884
|
+
self.push_operand(ValType::V128)?;
|
885
|
+
Ok(())
|
886
|
+
}
|
887
|
+
|
888
|
+
/// Checks a [`V128`] binary operator.
|
889
|
+
fn check_v128_binary_op(&mut self) -> Result<()> {
|
890
|
+
self.pop_operand(Some(ValType::V128))?;
|
891
|
+
self.pop_operand(Some(ValType::V128))?;
|
892
|
+
self.push_operand(ValType::V128)?;
|
893
|
+
Ok(())
|
894
|
+
}
|
895
|
+
|
896
|
+
/// Checks a [`V128`] binary float operator.
|
897
|
+
fn check_v128_fbinary_op(&mut self) -> Result<()> {
|
898
|
+
self.check_floats_enabled()?;
|
899
|
+
self.check_v128_binary_op()
|
900
|
+
}
|
901
|
+
|
902
|
+
/// Checks a [`V128`] binary operator.
|
903
|
+
fn check_v128_unary_op(&mut self) -> Result<()> {
|
904
|
+
self.pop_operand(Some(ValType::V128))?;
|
905
|
+
self.push_operand(ValType::V128)?;
|
906
|
+
Ok(())
|
907
|
+
}
|
908
|
+
|
909
|
+
/// Checks a [`V128`] binary operator.
|
910
|
+
fn check_v128_funary_op(&mut self) -> Result<()> {
|
911
|
+
self.check_floats_enabled()?;
|
912
|
+
self.check_v128_unary_op()
|
913
|
+
}
|
914
|
+
|
915
|
+
/// Checks a [`V128`] relaxed ternary operator.
|
916
|
+
fn check_v128_ternary_op(&mut self) -> Result<()> {
|
917
|
+
self.pop_operand(Some(ValType::V128))?;
|
918
|
+
self.pop_operand(Some(ValType::V128))?;
|
919
|
+
self.pop_operand(Some(ValType::V128))?;
|
920
|
+
self.push_operand(ValType::V128)?;
|
921
|
+
Ok(())
|
922
|
+
}
|
923
|
+
|
924
|
+
/// Checks a [`V128`] relaxed ternary operator.
|
925
|
+
fn check_v128_bitmask_op(&mut self) -> Result<()> {
|
926
|
+
self.pop_operand(Some(ValType::V128))?;
|
927
|
+
self.push_operand(ValType::I32)?;
|
928
|
+
Ok(())
|
929
|
+
}
|
930
|
+
|
931
|
+
/// Checks a [`V128`] relaxed ternary operator.
|
932
|
+
fn check_v128_shift_op(&mut self) -> Result<()> {
|
933
|
+
self.pop_operand(Some(ValType::I32))?;
|
934
|
+
self.pop_operand(Some(ValType::V128))?;
|
935
|
+
self.push_operand(ValType::V128)?;
|
936
|
+
Ok(())
|
937
|
+
}
|
938
|
+
|
939
|
+
/// Checks a [`V128`] common load operator.
|
940
|
+
fn check_v128_load_op(&mut self, memarg: MemArg) -> Result<()> {
|
941
|
+
let idx = self.check_memarg(memarg)?;
|
942
|
+
self.pop_operand(Some(idx))?;
|
943
|
+
self.push_operand(ValType::V128)?;
|
944
|
+
Ok(())
|
945
|
+
}
|
946
|
+
|
947
|
+
fn func_type_at(&self, at: u32) -> Result<&'resources R::FuncType> {
|
948
|
+
self.resources
|
949
|
+
.func_type_at(at)
|
950
|
+
.ok_or_else(|| format_err!(self.offset, "unknown type: type index out of bounds"))
|
951
|
+
}
|
952
|
+
|
953
|
+
fn tag_at(&self, at: u32) -> Result<&'resources R::FuncType> {
|
954
|
+
self.resources
|
955
|
+
.tag_at(at)
|
956
|
+
.ok_or_else(|| format_err!(self.offset, "unknown tag {}: tag index out of bounds", at))
|
957
|
+
}
|
958
|
+
|
959
|
+
fn params(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
960
|
+
Ok(match ty {
|
961
|
+
BlockType::Empty | BlockType::Type(_) => Either::B(None.into_iter()),
|
962
|
+
BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.inputs()),
|
963
|
+
})
|
964
|
+
}
|
965
|
+
|
966
|
+
fn results(&self, ty: BlockType) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
967
|
+
Ok(match ty {
|
968
|
+
BlockType::Empty => Either::B(None.into_iter()),
|
969
|
+
BlockType::Type(t) => Either::B(Some(t).into_iter()),
|
970
|
+
BlockType::FuncType(t) => Either::A(self.func_type_at(t)?.outputs()),
|
971
|
+
})
|
972
|
+
}
|
973
|
+
|
974
|
+
fn label_types(
|
975
|
+
&self,
|
976
|
+
ty: BlockType,
|
977
|
+
kind: FrameKind,
|
978
|
+
) -> Result<impl PreciseIterator<Item = ValType> + 'resources> {
|
979
|
+
Ok(match kind {
|
980
|
+
FrameKind::Loop => Either::A(self.params(ty)?),
|
981
|
+
_ => Either::B(self.results(ty)?),
|
982
|
+
})
|
983
|
+
}
|
984
|
+
}
|
985
|
+
|
986
|
+
pub fn ty_to_str(ty: ValType) -> &'static str {
|
987
|
+
match ty {
|
988
|
+
ValType::I32 => "i32",
|
989
|
+
ValType::I64 => "i64",
|
990
|
+
ValType::F32 => "f32",
|
991
|
+
ValType::F64 => "f64",
|
992
|
+
ValType::V128 => "v128",
|
993
|
+
ValType::Ref(r) => r.wat(),
|
994
|
+
}
|
995
|
+
}
|
996
|
+
|
997
|
+
/// A wrapper "visitor" around the real operator validator internally which
|
998
|
+
/// exists to check that the required wasm feature is enabled to proceed with
|
999
|
+
/// validation.
|
1000
|
+
///
|
1001
|
+
/// This validator is macro-generated to ensure that the proposal listed in this
|
1002
|
+
/// crate's macro matches the one that's validated here. Each instruction's
|
1003
|
+
/// visit method validates the specified proposal is enabled and then delegates
|
1004
|
+
/// to `OperatorValidatorTemp` to perform the actual opcode validation.
|
1005
|
+
struct WasmProposalValidator<'validator, 'resources, T>(
|
1006
|
+
OperatorValidatorTemp<'validator, 'resources, T>,
|
1007
|
+
);
|
1008
|
+
|
1009
|
+
impl<T> WasmProposalValidator<'_, '_, T> {
|
1010
|
+
fn check_enabled(&self, flag: bool, desc: &str) -> Result<()> {
|
1011
|
+
if flag {
|
1012
|
+
return Ok(());
|
1013
|
+
}
|
1014
|
+
bail!(self.0.offset, "{desc} support is not enabled");
|
1015
|
+
}
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
macro_rules! validate_proposal {
|
1019
|
+
($( @$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident)*) => {
|
1020
|
+
$(
|
1021
|
+
fn $visit(&mut self $($(,$arg: $argty)*)?) -> Result<()> {
|
1022
|
+
validate_proposal!(validate self $proposal);
|
1023
|
+
self.0.$visit($( $($arg),* )?)
|
1024
|
+
}
|
1025
|
+
)*
|
1026
|
+
};
|
1027
|
+
|
1028
|
+
(validate self mvp) => {};
|
1029
|
+
(validate $self:ident $proposal:ident) => {
|
1030
|
+
$self.check_enabled($self.0.features.$proposal, validate_proposal!(desc $proposal))?
|
1031
|
+
};
|
1032
|
+
|
1033
|
+
(desc simd) => ("SIMD");
|
1034
|
+
(desc relaxed_simd) => ("relaxed SIMD");
|
1035
|
+
(desc threads) => ("threads");
|
1036
|
+
(desc saturating_float_to_int) => ("saturating float to int conversions");
|
1037
|
+
(desc reference_types) => ("reference types");
|
1038
|
+
(desc bulk_memory) => ("bulk memory");
|
1039
|
+
(desc sign_extension) => ("sign extension operations");
|
1040
|
+
(desc exceptions) => ("exceptions");
|
1041
|
+
(desc tail_call) => ("tail calls");
|
1042
|
+
(desc function_references) => ("function references");
|
1043
|
+
(desc memory_control) => ("memory control");
|
1044
|
+
(desc gc) => ("gc");
|
1045
|
+
}
|
1046
|
+
|
1047
|
+
impl<'a, T> VisitOperator<'a> for WasmProposalValidator<'_, '_, T>
|
1048
|
+
where
|
1049
|
+
T: WasmModuleResources,
|
1050
|
+
{
|
1051
|
+
type Output = Result<()>;
|
1052
|
+
|
1053
|
+
for_each_operator!(validate_proposal);
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
impl<'a, T> VisitOperator<'a> for OperatorValidatorTemp<'_, '_, T>
|
1057
|
+
where
|
1058
|
+
T: WasmModuleResources,
|
1059
|
+
{
|
1060
|
+
type Output = Result<()>;
|
1061
|
+
|
1062
|
+
fn visit_nop(&mut self) -> Self::Output {
|
1063
|
+
Ok(())
|
1064
|
+
}
|
1065
|
+
fn visit_unreachable(&mut self) -> Self::Output {
|
1066
|
+
self.unreachable()?;
|
1067
|
+
Ok(())
|
1068
|
+
}
|
1069
|
+
fn visit_block(&mut self, ty: BlockType) -> Self::Output {
|
1070
|
+
self.check_block_type(ty)?;
|
1071
|
+
for ty in self.params(ty)?.rev() {
|
1072
|
+
self.pop_operand(Some(ty))?;
|
1073
|
+
}
|
1074
|
+
self.push_ctrl(FrameKind::Block, ty)?;
|
1075
|
+
Ok(())
|
1076
|
+
}
|
1077
|
+
fn visit_loop(&mut self, ty: BlockType) -> Self::Output {
|
1078
|
+
self.check_block_type(ty)?;
|
1079
|
+
for ty in self.params(ty)?.rev() {
|
1080
|
+
self.pop_operand(Some(ty))?;
|
1081
|
+
}
|
1082
|
+
self.push_ctrl(FrameKind::Loop, ty)?;
|
1083
|
+
Ok(())
|
1084
|
+
}
|
1085
|
+
fn visit_if(&mut self, ty: BlockType) -> Self::Output {
|
1086
|
+
self.check_block_type(ty)?;
|
1087
|
+
self.pop_operand(Some(ValType::I32))?;
|
1088
|
+
for ty in self.params(ty)?.rev() {
|
1089
|
+
self.pop_operand(Some(ty))?;
|
1090
|
+
}
|
1091
|
+
self.push_ctrl(FrameKind::If, ty)?;
|
1092
|
+
Ok(())
|
1093
|
+
}
|
1094
|
+
fn visit_else(&mut self) -> Self::Output {
|
1095
|
+
let frame = self.pop_ctrl()?;
|
1096
|
+
if frame.kind != FrameKind::If {
|
1097
|
+
bail!(self.offset, "else found outside of an `if` block");
|
1098
|
+
}
|
1099
|
+
self.push_ctrl(FrameKind::Else, frame.block_type)?;
|
1100
|
+
Ok(())
|
1101
|
+
}
|
1102
|
+
fn visit_try(&mut self, ty: BlockType) -> Self::Output {
|
1103
|
+
self.check_block_type(ty)?;
|
1104
|
+
for ty in self.params(ty)?.rev() {
|
1105
|
+
self.pop_operand(Some(ty))?;
|
1106
|
+
}
|
1107
|
+
self.push_ctrl(FrameKind::Try, ty)?;
|
1108
|
+
Ok(())
|
1109
|
+
}
|
1110
|
+
fn visit_catch(&mut self, index: u32) -> Self::Output {
|
1111
|
+
let frame = self.pop_ctrl()?;
|
1112
|
+
if frame.kind != FrameKind::Try && frame.kind != FrameKind::Catch {
|
1113
|
+
bail!(self.offset, "catch found outside of an `try` block");
|
1114
|
+
}
|
1115
|
+
// Start a new frame and push `exnref` value.
|
1116
|
+
let height = self.operands.len();
|
1117
|
+
let init_height = self.inits.len();
|
1118
|
+
self.control.push(Frame {
|
1119
|
+
kind: FrameKind::Catch,
|
1120
|
+
block_type: frame.block_type,
|
1121
|
+
height,
|
1122
|
+
unreachable: false,
|
1123
|
+
init_height,
|
1124
|
+
});
|
1125
|
+
// Push exception argument types.
|
1126
|
+
let ty = self.tag_at(index)?;
|
1127
|
+
for ty in ty.inputs() {
|
1128
|
+
self.push_operand(ty)?;
|
1129
|
+
}
|
1130
|
+
Ok(())
|
1131
|
+
}
|
1132
|
+
fn visit_throw(&mut self, index: u32) -> Self::Output {
|
1133
|
+
// Check values associated with the exception.
|
1134
|
+
let ty = self.tag_at(index)?;
|
1135
|
+
for ty in ty.inputs().rev() {
|
1136
|
+
self.pop_operand(Some(ty))?;
|
1137
|
+
}
|
1138
|
+
if ty.outputs().len() > 0 {
|
1139
|
+
bail!(
|
1140
|
+
self.offset,
|
1141
|
+
"result type expected to be empty for exception"
|
1142
|
+
);
|
1143
|
+
}
|
1144
|
+
self.unreachable()?;
|
1145
|
+
Ok(())
|
1146
|
+
}
|
1147
|
+
fn visit_rethrow(&mut self, relative_depth: u32) -> Self::Output {
|
1148
|
+
// This is not a jump, but we need to check that the `rethrow`
|
1149
|
+
// targets an actual `catch` to get the exception.
|
1150
|
+
let (_, kind) = self.jump(relative_depth)?;
|
1151
|
+
if kind != FrameKind::Catch && kind != FrameKind::CatchAll {
|
1152
|
+
bail!(
|
1153
|
+
self.offset,
|
1154
|
+
"invalid rethrow label: target was not a `catch` block"
|
1155
|
+
);
|
1156
|
+
}
|
1157
|
+
self.unreachable()?;
|
1158
|
+
Ok(())
|
1159
|
+
}
|
1160
|
+
fn visit_delegate(&mut self, relative_depth: u32) -> Self::Output {
|
1161
|
+
let frame = self.pop_ctrl()?;
|
1162
|
+
if frame.kind != FrameKind::Try {
|
1163
|
+
bail!(self.offset, "delegate found outside of an `try` block");
|
1164
|
+
}
|
1165
|
+
// This operation is not a jump, but we need to check the
|
1166
|
+
// depth for validity
|
1167
|
+
let _ = self.jump(relative_depth)?;
|
1168
|
+
for ty in self.results(frame.block_type)? {
|
1169
|
+
self.push_operand(ty)?;
|
1170
|
+
}
|
1171
|
+
Ok(())
|
1172
|
+
}
|
1173
|
+
fn visit_catch_all(&mut self) -> Self::Output {
|
1174
|
+
let frame = self.pop_ctrl()?;
|
1175
|
+
if frame.kind == FrameKind::CatchAll {
|
1176
|
+
bail!(self.offset, "only one catch_all allowed per `try` block");
|
1177
|
+
} else if frame.kind != FrameKind::Try && frame.kind != FrameKind::Catch {
|
1178
|
+
bail!(self.offset, "catch_all found outside of a `try` block");
|
1179
|
+
}
|
1180
|
+
let height = self.operands.len();
|
1181
|
+
let init_height = self.inits.len();
|
1182
|
+
self.control.push(Frame {
|
1183
|
+
kind: FrameKind::CatchAll,
|
1184
|
+
block_type: frame.block_type,
|
1185
|
+
height,
|
1186
|
+
unreachable: false,
|
1187
|
+
init_height,
|
1188
|
+
});
|
1189
|
+
Ok(())
|
1190
|
+
}
|
1191
|
+
fn visit_end(&mut self) -> Self::Output {
|
1192
|
+
let mut frame = self.pop_ctrl()?;
|
1193
|
+
|
1194
|
+
// Note that this `if` isn't included in the appendix right
|
1195
|
+
// now, but it's used to allow for `if` statements that are
|
1196
|
+
// missing an `else` block which have the same parameter/return
|
1197
|
+
// types on the block (since that's valid).
|
1198
|
+
if frame.kind == FrameKind::If {
|
1199
|
+
self.push_ctrl(FrameKind::Else, frame.block_type)?;
|
1200
|
+
frame = self.pop_ctrl()?;
|
1201
|
+
}
|
1202
|
+
for ty in self.results(frame.block_type)? {
|
1203
|
+
self.push_operand(ty)?;
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
if self.control.is_empty() && self.end_which_emptied_control.is_none() {
|
1207
|
+
assert_ne!(self.offset, 0);
|
1208
|
+
self.end_which_emptied_control = Some(self.offset);
|
1209
|
+
}
|
1210
|
+
Ok(())
|
1211
|
+
}
|
1212
|
+
fn visit_br(&mut self, relative_depth: u32) -> Self::Output {
|
1213
|
+
let (ty, kind) = self.jump(relative_depth)?;
|
1214
|
+
for ty in self.label_types(ty, kind)?.rev() {
|
1215
|
+
self.pop_operand(Some(ty))?;
|
1216
|
+
}
|
1217
|
+
self.unreachable()?;
|
1218
|
+
Ok(())
|
1219
|
+
}
|
1220
|
+
fn visit_br_if(&mut self, relative_depth: u32) -> Self::Output {
|
1221
|
+
self.pop_operand(Some(ValType::I32))?;
|
1222
|
+
let (ty, kind) = self.jump(relative_depth)?;
|
1223
|
+
let types = self.label_types(ty, kind)?;
|
1224
|
+
for ty in types.clone().rev() {
|
1225
|
+
self.pop_operand(Some(ty))?;
|
1226
|
+
}
|
1227
|
+
for ty in types {
|
1228
|
+
self.push_operand(ty)?;
|
1229
|
+
}
|
1230
|
+
Ok(())
|
1231
|
+
}
|
1232
|
+
fn visit_br_table(&mut self, table: BrTable) -> Self::Output {
|
1233
|
+
self.pop_operand(Some(ValType::I32))?;
|
1234
|
+
let default = self.jump(table.default())?;
|
1235
|
+
let default_types = self.label_types(default.0, default.1)?;
|
1236
|
+
for element in table.targets() {
|
1237
|
+
let relative_depth = element?;
|
1238
|
+
let block = self.jump(relative_depth)?;
|
1239
|
+
let tys = self.label_types(block.0, block.1)?;
|
1240
|
+
if tys.len() != default_types.len() {
|
1241
|
+
bail!(
|
1242
|
+
self.offset,
|
1243
|
+
"type mismatch: br_table target labels have different number of types"
|
1244
|
+
);
|
1245
|
+
}
|
1246
|
+
debug_assert!(self.br_table_tmp.is_empty());
|
1247
|
+
for ty in tys.rev() {
|
1248
|
+
let ty = self.pop_operand(Some(ty))?;
|
1249
|
+
self.br_table_tmp.push(ty);
|
1250
|
+
}
|
1251
|
+
for ty in self.inner.br_table_tmp.drain(..).rev() {
|
1252
|
+
self.inner.operands.push(ty);
|
1253
|
+
}
|
1254
|
+
}
|
1255
|
+
for ty in default_types.rev() {
|
1256
|
+
self.pop_operand(Some(ty))?;
|
1257
|
+
}
|
1258
|
+
self.unreachable()?;
|
1259
|
+
Ok(())
|
1260
|
+
}
|
1261
|
+
fn visit_return(&mut self) -> Self::Output {
|
1262
|
+
self.check_return()?;
|
1263
|
+
Ok(())
|
1264
|
+
}
|
1265
|
+
fn visit_call(&mut self, function_index: u32) -> Self::Output {
|
1266
|
+
self.check_call(function_index)?;
|
1267
|
+
Ok(())
|
1268
|
+
}
|
1269
|
+
fn visit_return_call(&mut self, function_index: u32) -> Self::Output {
|
1270
|
+
self.check_call(function_index)?;
|
1271
|
+
self.check_return()?;
|
1272
|
+
Ok(())
|
1273
|
+
}
|
1274
|
+
fn visit_call_ref(&mut self, type_index: u32) -> Self::Output {
|
1275
|
+
let hty = HeapType::Indexed(type_index);
|
1276
|
+
self.resources
|
1277
|
+
.check_heap_type(hty, &self.features, self.offset)?;
|
1278
|
+
// If `None` is popped then that means a "bottom" type was popped which
|
1279
|
+
// is always considered equivalent to the `hty` tag.
|
1280
|
+
if let Some(rt) = self.pop_ref()? {
|
1281
|
+
let expected = RefType::indexed_func(true, type_index)
|
1282
|
+
.expect("existing heap types should be within our limits");
|
1283
|
+
if !self
|
1284
|
+
.resources
|
1285
|
+
.matches(ValType::Ref(rt), ValType::Ref(expected))
|
1286
|
+
{
|
1287
|
+
bail!(
|
1288
|
+
self.offset,
|
1289
|
+
"type mismatch: funcref on stack does not match specified type",
|
1290
|
+
);
|
1291
|
+
}
|
1292
|
+
}
|
1293
|
+
self.check_call_ty(type_index)
|
1294
|
+
}
|
1295
|
+
fn visit_return_call_ref(&mut self, type_index: u32) -> Self::Output {
|
1296
|
+
self.visit_call_ref(type_index)?;
|
1297
|
+
self.check_return()
|
1298
|
+
}
|
1299
|
+
fn visit_call_indirect(
|
1300
|
+
&mut self,
|
1301
|
+
index: u32,
|
1302
|
+
table_index: u32,
|
1303
|
+
table_byte: u8,
|
1304
|
+
) -> Self::Output {
|
1305
|
+
if table_byte != 0 && !self.features.reference_types {
|
1306
|
+
bail!(
|
1307
|
+
self.offset,
|
1308
|
+
"reference-types not enabled: zero byte expected"
|
1309
|
+
);
|
1310
|
+
}
|
1311
|
+
self.check_call_indirect(index, table_index)?;
|
1312
|
+
Ok(())
|
1313
|
+
}
|
1314
|
+
fn visit_return_call_indirect(&mut self, index: u32, table_index: u32) -> Self::Output {
|
1315
|
+
self.check_call_indirect(index, table_index)?;
|
1316
|
+
self.check_return()?;
|
1317
|
+
Ok(())
|
1318
|
+
}
|
1319
|
+
fn visit_drop(&mut self) -> Self::Output {
|
1320
|
+
self.pop_operand(None)?;
|
1321
|
+
Ok(())
|
1322
|
+
}
|
1323
|
+
fn visit_select(&mut self) -> Self::Output {
|
1324
|
+
self.pop_operand(Some(ValType::I32))?;
|
1325
|
+
let ty1 = self.pop_operand(None)?;
|
1326
|
+
let ty2 = self.pop_operand(None)?;
|
1327
|
+
|
1328
|
+
let ty = match (ty1, ty2) {
|
1329
|
+
// All heap-related types aren't allowed with the `select`
|
1330
|
+
// instruction
|
1331
|
+
(MaybeType::HeapBot, _)
|
1332
|
+
| (_, MaybeType::HeapBot)
|
1333
|
+
| (MaybeType::Type(ValType::Ref(_)), _)
|
1334
|
+
| (_, MaybeType::Type(ValType::Ref(_))) => {
|
1335
|
+
bail!(
|
1336
|
+
self.offset,
|
1337
|
+
"type mismatch: select only takes integral types"
|
1338
|
+
)
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
// If one operand is the "bottom" type then whatever the other
|
1342
|
+
// operand is is the result of the `select`
|
1343
|
+
(MaybeType::Bot, t) | (t, MaybeType::Bot) => t,
|
1344
|
+
|
1345
|
+
// Otherwise these are two integral types and they must match for
|
1346
|
+
// `select` to typecheck.
|
1347
|
+
(t @ MaybeType::Type(t1), MaybeType::Type(t2)) => {
|
1348
|
+
if t1 != t2 {
|
1349
|
+
bail!(
|
1350
|
+
self.offset,
|
1351
|
+
"type mismatch: select operands have different types"
|
1352
|
+
);
|
1353
|
+
}
|
1354
|
+
t
|
1355
|
+
}
|
1356
|
+
};
|
1357
|
+
self.push_operand(ty)?;
|
1358
|
+
Ok(())
|
1359
|
+
}
|
1360
|
+
fn visit_typed_select(&mut self, ty: ValType) -> Self::Output {
|
1361
|
+
self.resources
|
1362
|
+
.check_value_type(ty, &self.features, self.offset)?;
|
1363
|
+
self.pop_operand(Some(ValType::I32))?;
|
1364
|
+
self.pop_operand(Some(ty))?;
|
1365
|
+
self.pop_operand(Some(ty))?;
|
1366
|
+
self.push_operand(ty)?;
|
1367
|
+
Ok(())
|
1368
|
+
}
|
1369
|
+
fn visit_local_get(&mut self, local_index: u32) -> Self::Output {
|
1370
|
+
let ty = self.local(local_index)?;
|
1371
|
+
if !self.local_inits[local_index as usize] {
|
1372
|
+
bail!(self.offset, "uninitialized local: {}", local_index);
|
1373
|
+
}
|
1374
|
+
self.push_operand(ty)?;
|
1375
|
+
Ok(())
|
1376
|
+
}
|
1377
|
+
fn visit_local_set(&mut self, local_index: u32) -> Self::Output {
|
1378
|
+
let ty = self.local(local_index)?;
|
1379
|
+
self.pop_operand(Some(ty))?;
|
1380
|
+
if !self.local_inits[local_index as usize] {
|
1381
|
+
self.local_inits[local_index as usize] = true;
|
1382
|
+
self.inits.push(local_index);
|
1383
|
+
}
|
1384
|
+
Ok(())
|
1385
|
+
}
|
1386
|
+
fn visit_local_tee(&mut self, local_index: u32) -> Self::Output {
|
1387
|
+
let ty = self.local(local_index)?;
|
1388
|
+
self.pop_operand(Some(ty))?;
|
1389
|
+
if !self.local_inits[local_index as usize] {
|
1390
|
+
self.local_inits[local_index as usize] = true;
|
1391
|
+
self.inits.push(local_index);
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
self.push_operand(ty)?;
|
1395
|
+
Ok(())
|
1396
|
+
}
|
1397
|
+
fn visit_global_get(&mut self, global_index: u32) -> Self::Output {
|
1398
|
+
if let Some(ty) = self.resources.global_at(global_index) {
|
1399
|
+
self.push_operand(ty.content_type)?;
|
1400
|
+
} else {
|
1401
|
+
bail!(self.offset, "unknown global: global index out of bounds");
|
1402
|
+
};
|
1403
|
+
Ok(())
|
1404
|
+
}
|
1405
|
+
fn visit_global_set(&mut self, global_index: u32) -> Self::Output {
|
1406
|
+
if let Some(ty) = self.resources.global_at(global_index) {
|
1407
|
+
if !ty.mutable {
|
1408
|
+
bail!(
|
1409
|
+
self.offset,
|
1410
|
+
"global is immutable: cannot modify it with `global.set`"
|
1411
|
+
);
|
1412
|
+
}
|
1413
|
+
self.pop_operand(Some(ty.content_type))?;
|
1414
|
+
} else {
|
1415
|
+
bail!(self.offset, "unknown global: global index out of bounds");
|
1416
|
+
};
|
1417
|
+
Ok(())
|
1418
|
+
}
|
1419
|
+
fn visit_i32_load(&mut self, memarg: MemArg) -> Self::Output {
|
1420
|
+
let ty = self.check_memarg(memarg)?;
|
1421
|
+
self.pop_operand(Some(ty))?;
|
1422
|
+
self.push_operand(ValType::I32)?;
|
1423
|
+
Ok(())
|
1424
|
+
}
|
1425
|
+
fn visit_i64_load(&mut self, memarg: MemArg) -> Self::Output {
|
1426
|
+
let ty = self.check_memarg(memarg)?;
|
1427
|
+
self.pop_operand(Some(ty))?;
|
1428
|
+
self.push_operand(ValType::I64)?;
|
1429
|
+
Ok(())
|
1430
|
+
}
|
1431
|
+
fn visit_f32_load(&mut self, memarg: MemArg) -> Self::Output {
|
1432
|
+
self.check_floats_enabled()?;
|
1433
|
+
let ty = self.check_memarg(memarg)?;
|
1434
|
+
self.pop_operand(Some(ty))?;
|
1435
|
+
self.push_operand(ValType::F32)?;
|
1436
|
+
Ok(())
|
1437
|
+
}
|
1438
|
+
fn visit_f64_load(&mut self, memarg: MemArg) -> Self::Output {
|
1439
|
+
self.check_floats_enabled()?;
|
1440
|
+
let ty = self.check_memarg(memarg)?;
|
1441
|
+
self.pop_operand(Some(ty))?;
|
1442
|
+
self.push_operand(ValType::F64)?;
|
1443
|
+
Ok(())
|
1444
|
+
}
|
1445
|
+
fn visit_i32_load8_s(&mut self, memarg: MemArg) -> Self::Output {
|
1446
|
+
let ty = self.check_memarg(memarg)?;
|
1447
|
+
self.pop_operand(Some(ty))?;
|
1448
|
+
self.push_operand(ValType::I32)?;
|
1449
|
+
Ok(())
|
1450
|
+
}
|
1451
|
+
fn visit_i32_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
1452
|
+
self.visit_i32_load8_s(memarg)
|
1453
|
+
}
|
1454
|
+
fn visit_i32_load16_s(&mut self, memarg: MemArg) -> Self::Output {
|
1455
|
+
let ty = self.check_memarg(memarg)?;
|
1456
|
+
self.pop_operand(Some(ty))?;
|
1457
|
+
self.push_operand(ValType::I32)?;
|
1458
|
+
Ok(())
|
1459
|
+
}
|
1460
|
+
fn visit_i32_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
1461
|
+
self.visit_i32_load16_s(memarg)
|
1462
|
+
}
|
1463
|
+
fn visit_i64_load8_s(&mut self, memarg: MemArg) -> Self::Output {
|
1464
|
+
let ty = self.check_memarg(memarg)?;
|
1465
|
+
self.pop_operand(Some(ty))?;
|
1466
|
+
self.push_operand(ValType::I64)?;
|
1467
|
+
Ok(())
|
1468
|
+
}
|
1469
|
+
fn visit_i64_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
1470
|
+
self.visit_i64_load8_s(memarg)
|
1471
|
+
}
|
1472
|
+
fn visit_i64_load16_s(&mut self, memarg: MemArg) -> Self::Output {
|
1473
|
+
let ty = self.check_memarg(memarg)?;
|
1474
|
+
self.pop_operand(Some(ty))?;
|
1475
|
+
self.push_operand(ValType::I64)?;
|
1476
|
+
Ok(())
|
1477
|
+
}
|
1478
|
+
fn visit_i64_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
1479
|
+
self.visit_i64_load16_s(memarg)
|
1480
|
+
}
|
1481
|
+
fn visit_i64_load32_s(&mut self, memarg: MemArg) -> Self::Output {
|
1482
|
+
let ty = self.check_memarg(memarg)?;
|
1483
|
+
self.pop_operand(Some(ty))?;
|
1484
|
+
self.push_operand(ValType::I64)?;
|
1485
|
+
Ok(())
|
1486
|
+
}
|
1487
|
+
fn visit_i64_load32_u(&mut self, memarg: MemArg) -> Self::Output {
|
1488
|
+
self.visit_i64_load32_s(memarg)
|
1489
|
+
}
|
1490
|
+
fn visit_i32_store(&mut self, memarg: MemArg) -> Self::Output {
|
1491
|
+
let ty = self.check_memarg(memarg)?;
|
1492
|
+
self.pop_operand(Some(ValType::I32))?;
|
1493
|
+
self.pop_operand(Some(ty))?;
|
1494
|
+
Ok(())
|
1495
|
+
}
|
1496
|
+
fn visit_i64_store(&mut self, memarg: MemArg) -> Self::Output {
|
1497
|
+
let ty = self.check_memarg(memarg)?;
|
1498
|
+
self.pop_operand(Some(ValType::I64))?;
|
1499
|
+
self.pop_operand(Some(ty))?;
|
1500
|
+
Ok(())
|
1501
|
+
}
|
1502
|
+
fn visit_f32_store(&mut self, memarg: MemArg) -> Self::Output {
|
1503
|
+
self.check_floats_enabled()?;
|
1504
|
+
let ty = self.check_memarg(memarg)?;
|
1505
|
+
self.pop_operand(Some(ValType::F32))?;
|
1506
|
+
self.pop_operand(Some(ty))?;
|
1507
|
+
Ok(())
|
1508
|
+
}
|
1509
|
+
fn visit_f64_store(&mut self, memarg: MemArg) -> Self::Output {
|
1510
|
+
self.check_floats_enabled()?;
|
1511
|
+
let ty = self.check_memarg(memarg)?;
|
1512
|
+
self.pop_operand(Some(ValType::F64))?;
|
1513
|
+
self.pop_operand(Some(ty))?;
|
1514
|
+
Ok(())
|
1515
|
+
}
|
1516
|
+
fn visit_i32_store8(&mut self, memarg: MemArg) -> Self::Output {
|
1517
|
+
let ty = self.check_memarg(memarg)?;
|
1518
|
+
self.pop_operand(Some(ValType::I32))?;
|
1519
|
+
self.pop_operand(Some(ty))?;
|
1520
|
+
Ok(())
|
1521
|
+
}
|
1522
|
+
fn visit_i32_store16(&mut self, memarg: MemArg) -> Self::Output {
|
1523
|
+
let ty = self.check_memarg(memarg)?;
|
1524
|
+
self.pop_operand(Some(ValType::I32))?;
|
1525
|
+
self.pop_operand(Some(ty))?;
|
1526
|
+
Ok(())
|
1527
|
+
}
|
1528
|
+
fn visit_i64_store8(&mut self, memarg: MemArg) -> Self::Output {
|
1529
|
+
let ty = self.check_memarg(memarg)?;
|
1530
|
+
self.pop_operand(Some(ValType::I64))?;
|
1531
|
+
self.pop_operand(Some(ty))?;
|
1532
|
+
Ok(())
|
1533
|
+
}
|
1534
|
+
fn visit_i64_store16(&mut self, memarg: MemArg) -> Self::Output {
|
1535
|
+
let ty = self.check_memarg(memarg)?;
|
1536
|
+
self.pop_operand(Some(ValType::I64))?;
|
1537
|
+
self.pop_operand(Some(ty))?;
|
1538
|
+
Ok(())
|
1539
|
+
}
|
1540
|
+
fn visit_i64_store32(&mut self, memarg: MemArg) -> Self::Output {
|
1541
|
+
let ty = self.check_memarg(memarg)?;
|
1542
|
+
self.pop_operand(Some(ValType::I64))?;
|
1543
|
+
self.pop_operand(Some(ty))?;
|
1544
|
+
Ok(())
|
1545
|
+
}
|
1546
|
+
fn visit_memory_size(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
|
1547
|
+
if mem_byte != 0 && !self.features.multi_memory {
|
1548
|
+
bail!(self.offset, "multi-memory not enabled: zero byte expected");
|
1549
|
+
}
|
1550
|
+
let index_ty = self.check_memory_index(mem)?;
|
1551
|
+
self.push_operand(index_ty)?;
|
1552
|
+
Ok(())
|
1553
|
+
}
|
1554
|
+
fn visit_memory_grow(&mut self, mem: u32, mem_byte: u8) -> Self::Output {
|
1555
|
+
if mem_byte != 0 && !self.features.multi_memory {
|
1556
|
+
bail!(self.offset, "multi-memory not enabled: zero byte expected");
|
1557
|
+
}
|
1558
|
+
let index_ty = self.check_memory_index(mem)?;
|
1559
|
+
self.pop_operand(Some(index_ty))?;
|
1560
|
+
self.push_operand(index_ty)?;
|
1561
|
+
Ok(())
|
1562
|
+
}
|
1563
|
+
fn visit_i32_const(&mut self, _value: i32) -> Self::Output {
|
1564
|
+
self.push_operand(ValType::I32)?;
|
1565
|
+
Ok(())
|
1566
|
+
}
|
1567
|
+
fn visit_i64_const(&mut self, _value: i64) -> Self::Output {
|
1568
|
+
self.push_operand(ValType::I64)?;
|
1569
|
+
Ok(())
|
1570
|
+
}
|
1571
|
+
fn visit_f32_const(&mut self, _value: Ieee32) -> Self::Output {
|
1572
|
+
self.check_floats_enabled()?;
|
1573
|
+
self.push_operand(ValType::F32)?;
|
1574
|
+
Ok(())
|
1575
|
+
}
|
1576
|
+
fn visit_f64_const(&mut self, _value: Ieee64) -> Self::Output {
|
1577
|
+
self.check_floats_enabled()?;
|
1578
|
+
self.push_operand(ValType::F64)?;
|
1579
|
+
Ok(())
|
1580
|
+
}
|
1581
|
+
fn visit_i32_eqz(&mut self) -> Self::Output {
|
1582
|
+
self.pop_operand(Some(ValType::I32))?;
|
1583
|
+
self.push_operand(ValType::I32)?;
|
1584
|
+
Ok(())
|
1585
|
+
}
|
1586
|
+
fn visit_i32_eq(&mut self) -> Self::Output {
|
1587
|
+
self.check_cmp_op(ValType::I32)
|
1588
|
+
}
|
1589
|
+
fn visit_i32_ne(&mut self) -> Self::Output {
|
1590
|
+
self.check_cmp_op(ValType::I32)
|
1591
|
+
}
|
1592
|
+
fn visit_i32_lt_s(&mut self) -> Self::Output {
|
1593
|
+
self.check_cmp_op(ValType::I32)
|
1594
|
+
}
|
1595
|
+
fn visit_i32_lt_u(&mut self) -> Self::Output {
|
1596
|
+
self.check_cmp_op(ValType::I32)
|
1597
|
+
}
|
1598
|
+
fn visit_i32_gt_s(&mut self) -> Self::Output {
|
1599
|
+
self.check_cmp_op(ValType::I32)
|
1600
|
+
}
|
1601
|
+
fn visit_i32_gt_u(&mut self) -> Self::Output {
|
1602
|
+
self.check_cmp_op(ValType::I32)
|
1603
|
+
}
|
1604
|
+
fn visit_i32_le_s(&mut self) -> Self::Output {
|
1605
|
+
self.check_cmp_op(ValType::I32)
|
1606
|
+
}
|
1607
|
+
fn visit_i32_le_u(&mut self) -> Self::Output {
|
1608
|
+
self.check_cmp_op(ValType::I32)
|
1609
|
+
}
|
1610
|
+
fn visit_i32_ge_s(&mut self) -> Self::Output {
|
1611
|
+
self.check_cmp_op(ValType::I32)
|
1612
|
+
}
|
1613
|
+
fn visit_i32_ge_u(&mut self) -> Self::Output {
|
1614
|
+
self.check_cmp_op(ValType::I32)
|
1615
|
+
}
|
1616
|
+
fn visit_i64_eqz(&mut self) -> Self::Output {
|
1617
|
+
self.pop_operand(Some(ValType::I64))?;
|
1618
|
+
self.push_operand(ValType::I32)?;
|
1619
|
+
Ok(())
|
1620
|
+
}
|
1621
|
+
fn visit_i64_eq(&mut self) -> Self::Output {
|
1622
|
+
self.check_cmp_op(ValType::I64)
|
1623
|
+
}
|
1624
|
+
fn visit_i64_ne(&mut self) -> Self::Output {
|
1625
|
+
self.check_cmp_op(ValType::I64)
|
1626
|
+
}
|
1627
|
+
fn visit_i64_lt_s(&mut self) -> Self::Output {
|
1628
|
+
self.check_cmp_op(ValType::I64)
|
1629
|
+
}
|
1630
|
+
fn visit_i64_lt_u(&mut self) -> Self::Output {
|
1631
|
+
self.check_cmp_op(ValType::I64)
|
1632
|
+
}
|
1633
|
+
fn visit_i64_gt_s(&mut self) -> Self::Output {
|
1634
|
+
self.check_cmp_op(ValType::I64)
|
1635
|
+
}
|
1636
|
+
fn visit_i64_gt_u(&mut self) -> Self::Output {
|
1637
|
+
self.check_cmp_op(ValType::I64)
|
1638
|
+
}
|
1639
|
+
fn visit_i64_le_s(&mut self) -> Self::Output {
|
1640
|
+
self.check_cmp_op(ValType::I64)
|
1641
|
+
}
|
1642
|
+
fn visit_i64_le_u(&mut self) -> Self::Output {
|
1643
|
+
self.check_cmp_op(ValType::I64)
|
1644
|
+
}
|
1645
|
+
fn visit_i64_ge_s(&mut self) -> Self::Output {
|
1646
|
+
self.check_cmp_op(ValType::I64)
|
1647
|
+
}
|
1648
|
+
fn visit_i64_ge_u(&mut self) -> Self::Output {
|
1649
|
+
self.check_cmp_op(ValType::I64)
|
1650
|
+
}
|
1651
|
+
fn visit_f32_eq(&mut self) -> Self::Output {
|
1652
|
+
self.check_fcmp_op(ValType::F32)
|
1653
|
+
}
|
1654
|
+
fn visit_f32_ne(&mut self) -> Self::Output {
|
1655
|
+
self.check_fcmp_op(ValType::F32)
|
1656
|
+
}
|
1657
|
+
fn visit_f32_lt(&mut self) -> Self::Output {
|
1658
|
+
self.check_fcmp_op(ValType::F32)
|
1659
|
+
}
|
1660
|
+
fn visit_f32_gt(&mut self) -> Self::Output {
|
1661
|
+
self.check_fcmp_op(ValType::F32)
|
1662
|
+
}
|
1663
|
+
fn visit_f32_le(&mut self) -> Self::Output {
|
1664
|
+
self.check_fcmp_op(ValType::F32)
|
1665
|
+
}
|
1666
|
+
fn visit_f32_ge(&mut self) -> Self::Output {
|
1667
|
+
self.check_fcmp_op(ValType::F32)
|
1668
|
+
}
|
1669
|
+
fn visit_f64_eq(&mut self) -> Self::Output {
|
1670
|
+
self.check_fcmp_op(ValType::F64)
|
1671
|
+
}
|
1672
|
+
fn visit_f64_ne(&mut self) -> Self::Output {
|
1673
|
+
self.check_fcmp_op(ValType::F64)
|
1674
|
+
}
|
1675
|
+
fn visit_f64_lt(&mut self) -> Self::Output {
|
1676
|
+
self.check_fcmp_op(ValType::F64)
|
1677
|
+
}
|
1678
|
+
fn visit_f64_gt(&mut self) -> Self::Output {
|
1679
|
+
self.check_fcmp_op(ValType::F64)
|
1680
|
+
}
|
1681
|
+
fn visit_f64_le(&mut self) -> Self::Output {
|
1682
|
+
self.check_fcmp_op(ValType::F64)
|
1683
|
+
}
|
1684
|
+
fn visit_f64_ge(&mut self) -> Self::Output {
|
1685
|
+
self.check_fcmp_op(ValType::F64)
|
1686
|
+
}
|
1687
|
+
fn visit_i32_clz(&mut self) -> Self::Output {
|
1688
|
+
self.check_unary_op(ValType::I32)
|
1689
|
+
}
|
1690
|
+
fn visit_i32_ctz(&mut self) -> Self::Output {
|
1691
|
+
self.check_unary_op(ValType::I32)
|
1692
|
+
}
|
1693
|
+
fn visit_i32_popcnt(&mut self) -> Self::Output {
|
1694
|
+
self.check_unary_op(ValType::I32)
|
1695
|
+
}
|
1696
|
+
fn visit_i32_add(&mut self) -> Self::Output {
|
1697
|
+
self.check_binary_op(ValType::I32)
|
1698
|
+
}
|
1699
|
+
fn visit_i32_sub(&mut self) -> Self::Output {
|
1700
|
+
self.check_binary_op(ValType::I32)
|
1701
|
+
}
|
1702
|
+
fn visit_i32_mul(&mut self) -> Self::Output {
|
1703
|
+
self.check_binary_op(ValType::I32)
|
1704
|
+
}
|
1705
|
+
fn visit_i32_div_s(&mut self) -> Self::Output {
|
1706
|
+
self.check_binary_op(ValType::I32)
|
1707
|
+
}
|
1708
|
+
fn visit_i32_div_u(&mut self) -> Self::Output {
|
1709
|
+
self.check_binary_op(ValType::I32)
|
1710
|
+
}
|
1711
|
+
fn visit_i32_rem_s(&mut self) -> Self::Output {
|
1712
|
+
self.check_binary_op(ValType::I32)
|
1713
|
+
}
|
1714
|
+
fn visit_i32_rem_u(&mut self) -> Self::Output {
|
1715
|
+
self.check_binary_op(ValType::I32)
|
1716
|
+
}
|
1717
|
+
fn visit_i32_and(&mut self) -> Self::Output {
|
1718
|
+
self.check_binary_op(ValType::I32)
|
1719
|
+
}
|
1720
|
+
fn visit_i32_or(&mut self) -> Self::Output {
|
1721
|
+
self.check_binary_op(ValType::I32)
|
1722
|
+
}
|
1723
|
+
fn visit_i32_xor(&mut self) -> Self::Output {
|
1724
|
+
self.check_binary_op(ValType::I32)
|
1725
|
+
}
|
1726
|
+
fn visit_i32_shl(&mut self) -> Self::Output {
|
1727
|
+
self.check_binary_op(ValType::I32)
|
1728
|
+
}
|
1729
|
+
fn visit_i32_shr_s(&mut self) -> Self::Output {
|
1730
|
+
self.check_binary_op(ValType::I32)
|
1731
|
+
}
|
1732
|
+
fn visit_i32_shr_u(&mut self) -> Self::Output {
|
1733
|
+
self.check_binary_op(ValType::I32)
|
1734
|
+
}
|
1735
|
+
fn visit_i32_rotl(&mut self) -> Self::Output {
|
1736
|
+
self.check_binary_op(ValType::I32)
|
1737
|
+
}
|
1738
|
+
fn visit_i32_rotr(&mut self) -> Self::Output {
|
1739
|
+
self.check_binary_op(ValType::I32)
|
1740
|
+
}
|
1741
|
+
fn visit_i64_clz(&mut self) -> Self::Output {
|
1742
|
+
self.check_unary_op(ValType::I64)
|
1743
|
+
}
|
1744
|
+
fn visit_i64_ctz(&mut self) -> Self::Output {
|
1745
|
+
self.check_unary_op(ValType::I64)
|
1746
|
+
}
|
1747
|
+
fn visit_i64_popcnt(&mut self) -> Self::Output {
|
1748
|
+
self.check_unary_op(ValType::I64)
|
1749
|
+
}
|
1750
|
+
fn visit_i64_add(&mut self) -> Self::Output {
|
1751
|
+
self.check_binary_op(ValType::I64)
|
1752
|
+
}
|
1753
|
+
fn visit_i64_sub(&mut self) -> Self::Output {
|
1754
|
+
self.check_binary_op(ValType::I64)
|
1755
|
+
}
|
1756
|
+
fn visit_i64_mul(&mut self) -> Self::Output {
|
1757
|
+
self.check_binary_op(ValType::I64)
|
1758
|
+
}
|
1759
|
+
fn visit_i64_div_s(&mut self) -> Self::Output {
|
1760
|
+
self.check_binary_op(ValType::I64)
|
1761
|
+
}
|
1762
|
+
fn visit_i64_div_u(&mut self) -> Self::Output {
|
1763
|
+
self.check_binary_op(ValType::I64)
|
1764
|
+
}
|
1765
|
+
fn visit_i64_rem_s(&mut self) -> Self::Output {
|
1766
|
+
self.check_binary_op(ValType::I64)
|
1767
|
+
}
|
1768
|
+
fn visit_i64_rem_u(&mut self) -> Self::Output {
|
1769
|
+
self.check_binary_op(ValType::I64)
|
1770
|
+
}
|
1771
|
+
fn visit_i64_and(&mut self) -> Self::Output {
|
1772
|
+
self.check_binary_op(ValType::I64)
|
1773
|
+
}
|
1774
|
+
fn visit_i64_or(&mut self) -> Self::Output {
|
1775
|
+
self.check_binary_op(ValType::I64)
|
1776
|
+
}
|
1777
|
+
fn visit_i64_xor(&mut self) -> Self::Output {
|
1778
|
+
self.check_binary_op(ValType::I64)
|
1779
|
+
}
|
1780
|
+
fn visit_i64_shl(&mut self) -> Self::Output {
|
1781
|
+
self.check_binary_op(ValType::I64)
|
1782
|
+
}
|
1783
|
+
fn visit_i64_shr_s(&mut self) -> Self::Output {
|
1784
|
+
self.check_binary_op(ValType::I64)
|
1785
|
+
}
|
1786
|
+
fn visit_i64_shr_u(&mut self) -> Self::Output {
|
1787
|
+
self.check_binary_op(ValType::I64)
|
1788
|
+
}
|
1789
|
+
fn visit_i64_rotl(&mut self) -> Self::Output {
|
1790
|
+
self.check_binary_op(ValType::I64)
|
1791
|
+
}
|
1792
|
+
fn visit_i64_rotr(&mut self) -> Self::Output {
|
1793
|
+
self.check_binary_op(ValType::I64)
|
1794
|
+
}
|
1795
|
+
fn visit_f32_abs(&mut self) -> Self::Output {
|
1796
|
+
self.check_funary_op(ValType::F32)
|
1797
|
+
}
|
1798
|
+
fn visit_f32_neg(&mut self) -> Self::Output {
|
1799
|
+
self.check_funary_op(ValType::F32)
|
1800
|
+
}
|
1801
|
+
fn visit_f32_ceil(&mut self) -> Self::Output {
|
1802
|
+
self.check_funary_op(ValType::F32)
|
1803
|
+
}
|
1804
|
+
fn visit_f32_floor(&mut self) -> Self::Output {
|
1805
|
+
self.check_funary_op(ValType::F32)
|
1806
|
+
}
|
1807
|
+
fn visit_f32_trunc(&mut self) -> Self::Output {
|
1808
|
+
self.check_funary_op(ValType::F32)
|
1809
|
+
}
|
1810
|
+
fn visit_f32_nearest(&mut self) -> Self::Output {
|
1811
|
+
self.check_funary_op(ValType::F32)
|
1812
|
+
}
|
1813
|
+
fn visit_f32_sqrt(&mut self) -> Self::Output {
|
1814
|
+
self.check_funary_op(ValType::F32)
|
1815
|
+
}
|
1816
|
+
fn visit_f32_add(&mut self) -> Self::Output {
|
1817
|
+
self.check_fbinary_op(ValType::F32)
|
1818
|
+
}
|
1819
|
+
fn visit_f32_sub(&mut self) -> Self::Output {
|
1820
|
+
self.check_fbinary_op(ValType::F32)
|
1821
|
+
}
|
1822
|
+
fn visit_f32_mul(&mut self) -> Self::Output {
|
1823
|
+
self.check_fbinary_op(ValType::F32)
|
1824
|
+
}
|
1825
|
+
fn visit_f32_div(&mut self) -> Self::Output {
|
1826
|
+
self.check_fbinary_op(ValType::F32)
|
1827
|
+
}
|
1828
|
+
fn visit_f32_min(&mut self) -> Self::Output {
|
1829
|
+
self.check_fbinary_op(ValType::F32)
|
1830
|
+
}
|
1831
|
+
fn visit_f32_max(&mut self) -> Self::Output {
|
1832
|
+
self.check_fbinary_op(ValType::F32)
|
1833
|
+
}
|
1834
|
+
fn visit_f32_copysign(&mut self) -> Self::Output {
|
1835
|
+
self.check_fbinary_op(ValType::F32)
|
1836
|
+
}
|
1837
|
+
fn visit_f64_abs(&mut self) -> Self::Output {
|
1838
|
+
self.check_funary_op(ValType::F64)
|
1839
|
+
}
|
1840
|
+
fn visit_f64_neg(&mut self) -> Self::Output {
|
1841
|
+
self.check_funary_op(ValType::F64)
|
1842
|
+
}
|
1843
|
+
fn visit_f64_ceil(&mut self) -> Self::Output {
|
1844
|
+
self.check_funary_op(ValType::F64)
|
1845
|
+
}
|
1846
|
+
fn visit_f64_floor(&mut self) -> Self::Output {
|
1847
|
+
self.check_funary_op(ValType::F64)
|
1848
|
+
}
|
1849
|
+
fn visit_f64_trunc(&mut self) -> Self::Output {
|
1850
|
+
self.check_funary_op(ValType::F64)
|
1851
|
+
}
|
1852
|
+
fn visit_f64_nearest(&mut self) -> Self::Output {
|
1853
|
+
self.check_funary_op(ValType::F64)
|
1854
|
+
}
|
1855
|
+
fn visit_f64_sqrt(&mut self) -> Self::Output {
|
1856
|
+
self.check_funary_op(ValType::F64)
|
1857
|
+
}
|
1858
|
+
fn visit_f64_add(&mut self) -> Self::Output {
|
1859
|
+
self.check_fbinary_op(ValType::F64)
|
1860
|
+
}
|
1861
|
+
fn visit_f64_sub(&mut self) -> Self::Output {
|
1862
|
+
self.check_fbinary_op(ValType::F64)
|
1863
|
+
}
|
1864
|
+
fn visit_f64_mul(&mut self) -> Self::Output {
|
1865
|
+
self.check_fbinary_op(ValType::F64)
|
1866
|
+
}
|
1867
|
+
fn visit_f64_div(&mut self) -> Self::Output {
|
1868
|
+
self.check_fbinary_op(ValType::F64)
|
1869
|
+
}
|
1870
|
+
fn visit_f64_min(&mut self) -> Self::Output {
|
1871
|
+
self.check_fbinary_op(ValType::F64)
|
1872
|
+
}
|
1873
|
+
fn visit_f64_max(&mut self) -> Self::Output {
|
1874
|
+
self.check_fbinary_op(ValType::F64)
|
1875
|
+
}
|
1876
|
+
fn visit_f64_copysign(&mut self) -> Self::Output {
|
1877
|
+
self.check_fbinary_op(ValType::F64)
|
1878
|
+
}
|
1879
|
+
fn visit_i32_wrap_i64(&mut self) -> Self::Output {
|
1880
|
+
self.check_conversion_op(ValType::I32, ValType::I64)
|
1881
|
+
}
|
1882
|
+
fn visit_i32_trunc_f32_s(&mut self) -> Self::Output {
|
1883
|
+
self.check_conversion_op(ValType::I32, ValType::F32)
|
1884
|
+
}
|
1885
|
+
fn visit_i32_trunc_f32_u(&mut self) -> Self::Output {
|
1886
|
+
self.check_conversion_op(ValType::I32, ValType::F32)
|
1887
|
+
}
|
1888
|
+
fn visit_i32_trunc_f64_s(&mut self) -> Self::Output {
|
1889
|
+
self.check_conversion_op(ValType::I32, ValType::F64)
|
1890
|
+
}
|
1891
|
+
fn visit_i32_trunc_f64_u(&mut self) -> Self::Output {
|
1892
|
+
self.check_conversion_op(ValType::I32, ValType::F64)
|
1893
|
+
}
|
1894
|
+
fn visit_i64_extend_i32_s(&mut self) -> Self::Output {
|
1895
|
+
self.check_conversion_op(ValType::I64, ValType::I32)
|
1896
|
+
}
|
1897
|
+
fn visit_i64_extend_i32_u(&mut self) -> Self::Output {
|
1898
|
+
self.check_conversion_op(ValType::I64, ValType::I32)
|
1899
|
+
}
|
1900
|
+
fn visit_i64_trunc_f32_s(&mut self) -> Self::Output {
|
1901
|
+
self.check_conversion_op(ValType::I64, ValType::F32)
|
1902
|
+
}
|
1903
|
+
fn visit_i64_trunc_f32_u(&mut self) -> Self::Output {
|
1904
|
+
self.check_conversion_op(ValType::I64, ValType::F32)
|
1905
|
+
}
|
1906
|
+
fn visit_i64_trunc_f64_s(&mut self) -> Self::Output {
|
1907
|
+
self.check_conversion_op(ValType::I64, ValType::F64)
|
1908
|
+
}
|
1909
|
+
fn visit_i64_trunc_f64_u(&mut self) -> Self::Output {
|
1910
|
+
self.check_conversion_op(ValType::I64, ValType::F64)
|
1911
|
+
}
|
1912
|
+
fn visit_f32_convert_i32_s(&mut self) -> Self::Output {
|
1913
|
+
self.check_fconversion_op(ValType::F32, ValType::I32)
|
1914
|
+
}
|
1915
|
+
fn visit_f32_convert_i32_u(&mut self) -> Self::Output {
|
1916
|
+
self.check_fconversion_op(ValType::F32, ValType::I32)
|
1917
|
+
}
|
1918
|
+
fn visit_f32_convert_i64_s(&mut self) -> Self::Output {
|
1919
|
+
self.check_fconversion_op(ValType::F32, ValType::I64)
|
1920
|
+
}
|
1921
|
+
fn visit_f32_convert_i64_u(&mut self) -> Self::Output {
|
1922
|
+
self.check_fconversion_op(ValType::F32, ValType::I64)
|
1923
|
+
}
|
1924
|
+
fn visit_f32_demote_f64(&mut self) -> Self::Output {
|
1925
|
+
self.check_fconversion_op(ValType::F32, ValType::F64)
|
1926
|
+
}
|
1927
|
+
fn visit_f64_convert_i32_s(&mut self) -> Self::Output {
|
1928
|
+
self.check_fconversion_op(ValType::F64, ValType::I32)
|
1929
|
+
}
|
1930
|
+
fn visit_f64_convert_i32_u(&mut self) -> Self::Output {
|
1931
|
+
self.check_fconversion_op(ValType::F64, ValType::I32)
|
1932
|
+
}
|
1933
|
+
fn visit_f64_convert_i64_s(&mut self) -> Self::Output {
|
1934
|
+
self.check_fconversion_op(ValType::F64, ValType::I64)
|
1935
|
+
}
|
1936
|
+
fn visit_f64_convert_i64_u(&mut self) -> Self::Output {
|
1937
|
+
self.check_fconversion_op(ValType::F64, ValType::I64)
|
1938
|
+
}
|
1939
|
+
fn visit_f64_promote_f32(&mut self) -> Self::Output {
|
1940
|
+
self.check_fconversion_op(ValType::F64, ValType::F32)
|
1941
|
+
}
|
1942
|
+
fn visit_i32_reinterpret_f32(&mut self) -> Self::Output {
|
1943
|
+
self.check_conversion_op(ValType::I32, ValType::F32)
|
1944
|
+
}
|
1945
|
+
fn visit_i64_reinterpret_f64(&mut self) -> Self::Output {
|
1946
|
+
self.check_conversion_op(ValType::I64, ValType::F64)
|
1947
|
+
}
|
1948
|
+
fn visit_f32_reinterpret_i32(&mut self) -> Self::Output {
|
1949
|
+
self.check_fconversion_op(ValType::F32, ValType::I32)
|
1950
|
+
}
|
1951
|
+
fn visit_f64_reinterpret_i64(&mut self) -> Self::Output {
|
1952
|
+
self.check_fconversion_op(ValType::F64, ValType::I64)
|
1953
|
+
}
|
1954
|
+
fn visit_i32_trunc_sat_f32_s(&mut self) -> Self::Output {
|
1955
|
+
self.check_conversion_op(ValType::I32, ValType::F32)
|
1956
|
+
}
|
1957
|
+
fn visit_i32_trunc_sat_f32_u(&mut self) -> Self::Output {
|
1958
|
+
self.check_conversion_op(ValType::I32, ValType::F32)
|
1959
|
+
}
|
1960
|
+
fn visit_i32_trunc_sat_f64_s(&mut self) -> Self::Output {
|
1961
|
+
self.check_conversion_op(ValType::I32, ValType::F64)
|
1962
|
+
}
|
1963
|
+
fn visit_i32_trunc_sat_f64_u(&mut self) -> Self::Output {
|
1964
|
+
self.check_conversion_op(ValType::I32, ValType::F64)
|
1965
|
+
}
|
1966
|
+
fn visit_i64_trunc_sat_f32_s(&mut self) -> Self::Output {
|
1967
|
+
self.check_conversion_op(ValType::I64, ValType::F32)
|
1968
|
+
}
|
1969
|
+
fn visit_i64_trunc_sat_f32_u(&mut self) -> Self::Output {
|
1970
|
+
self.check_conversion_op(ValType::I64, ValType::F32)
|
1971
|
+
}
|
1972
|
+
fn visit_i64_trunc_sat_f64_s(&mut self) -> Self::Output {
|
1973
|
+
self.check_conversion_op(ValType::I64, ValType::F64)
|
1974
|
+
}
|
1975
|
+
fn visit_i64_trunc_sat_f64_u(&mut self) -> Self::Output {
|
1976
|
+
self.check_conversion_op(ValType::I64, ValType::F64)
|
1977
|
+
}
|
1978
|
+
fn visit_i32_extend8_s(&mut self) -> Self::Output {
|
1979
|
+
self.check_unary_op(ValType::I32)
|
1980
|
+
}
|
1981
|
+
fn visit_i32_extend16_s(&mut self) -> Self::Output {
|
1982
|
+
self.check_unary_op(ValType::I32)
|
1983
|
+
}
|
1984
|
+
fn visit_i64_extend8_s(&mut self) -> Self::Output {
|
1985
|
+
self.check_unary_op(ValType::I64)
|
1986
|
+
}
|
1987
|
+
fn visit_i64_extend16_s(&mut self) -> Self::Output {
|
1988
|
+
self.check_unary_op(ValType::I64)
|
1989
|
+
}
|
1990
|
+
fn visit_i64_extend32_s(&mut self) -> Self::Output {
|
1991
|
+
self.check_unary_op(ValType::I64)
|
1992
|
+
}
|
1993
|
+
fn visit_i32_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
|
1994
|
+
self.check_atomic_load(memarg, ValType::I32)
|
1995
|
+
}
|
1996
|
+
fn visit_i32_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
1997
|
+
self.check_atomic_load(memarg, ValType::I32)
|
1998
|
+
}
|
1999
|
+
fn visit_i32_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
2000
|
+
self.check_atomic_load(memarg, ValType::I32)
|
2001
|
+
}
|
2002
|
+
fn visit_i64_atomic_load(&mut self, memarg: MemArg) -> Self::Output {
|
2003
|
+
self.check_atomic_load(memarg, ValType::I64)
|
2004
|
+
}
|
2005
|
+
fn visit_i64_atomic_load32_u(&mut self, memarg: MemArg) -> Self::Output {
|
2006
|
+
self.check_atomic_load(memarg, ValType::I64)
|
2007
|
+
}
|
2008
|
+
fn visit_i64_atomic_load16_u(&mut self, memarg: MemArg) -> Self::Output {
|
2009
|
+
self.check_atomic_load(memarg, ValType::I64)
|
2010
|
+
}
|
2011
|
+
fn visit_i64_atomic_load8_u(&mut self, memarg: MemArg) -> Self::Output {
|
2012
|
+
self.check_atomic_load(memarg, ValType::I64)
|
2013
|
+
}
|
2014
|
+
fn visit_i32_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
|
2015
|
+
self.check_atomic_store(memarg, ValType::I32)
|
2016
|
+
}
|
2017
|
+
fn visit_i32_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
|
2018
|
+
self.check_atomic_store(memarg, ValType::I32)
|
2019
|
+
}
|
2020
|
+
fn visit_i32_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
|
2021
|
+
self.check_atomic_store(memarg, ValType::I32)
|
2022
|
+
}
|
2023
|
+
fn visit_i64_atomic_store(&mut self, memarg: MemArg) -> Self::Output {
|
2024
|
+
self.check_atomic_store(memarg, ValType::I64)
|
2025
|
+
}
|
2026
|
+
fn visit_i64_atomic_store32(&mut self, memarg: MemArg) -> Self::Output {
|
2027
|
+
self.check_atomic_store(memarg, ValType::I64)
|
2028
|
+
}
|
2029
|
+
fn visit_i64_atomic_store16(&mut self, memarg: MemArg) -> Self::Output {
|
2030
|
+
self.check_atomic_store(memarg, ValType::I64)
|
2031
|
+
}
|
2032
|
+
fn visit_i64_atomic_store8(&mut self, memarg: MemArg) -> Self::Output {
|
2033
|
+
self.check_atomic_store(memarg, ValType::I64)
|
2034
|
+
}
|
2035
|
+
fn visit_i32_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
|
2036
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2037
|
+
}
|
2038
|
+
fn visit_i32_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
|
2039
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2040
|
+
}
|
2041
|
+
fn visit_i32_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
|
2042
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2043
|
+
}
|
2044
|
+
fn visit_i32_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
|
2045
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2046
|
+
}
|
2047
|
+
fn visit_i32_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
|
2048
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2049
|
+
}
|
2050
|
+
fn visit_i32_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2051
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2052
|
+
}
|
2053
|
+
fn visit_i32_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2054
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2055
|
+
}
|
2056
|
+
fn visit_i32_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2057
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2058
|
+
}
|
2059
|
+
fn visit_i32_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2060
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2061
|
+
}
|
2062
|
+
fn visit_i32_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2063
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2064
|
+
}
|
2065
|
+
fn visit_i32_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2066
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2067
|
+
}
|
2068
|
+
fn visit_i32_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2069
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2070
|
+
}
|
2071
|
+
fn visit_i32_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2072
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2073
|
+
}
|
2074
|
+
fn visit_i32_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2075
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2076
|
+
}
|
2077
|
+
fn visit_i32_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2078
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2079
|
+
}
|
2080
|
+
fn visit_i64_atomic_rmw_add(&mut self, memarg: MemArg) -> Self::Output {
|
2081
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2082
|
+
}
|
2083
|
+
fn visit_i64_atomic_rmw_sub(&mut self, memarg: MemArg) -> Self::Output {
|
2084
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2085
|
+
}
|
2086
|
+
fn visit_i64_atomic_rmw_and(&mut self, memarg: MemArg) -> Self::Output {
|
2087
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2088
|
+
}
|
2089
|
+
fn visit_i64_atomic_rmw_or(&mut self, memarg: MemArg) -> Self::Output {
|
2090
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2091
|
+
}
|
2092
|
+
fn visit_i64_atomic_rmw_xor(&mut self, memarg: MemArg) -> Self::Output {
|
2093
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2094
|
+
}
|
2095
|
+
fn visit_i64_atomic_rmw32_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2096
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2097
|
+
}
|
2098
|
+
fn visit_i64_atomic_rmw32_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2099
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2100
|
+
}
|
2101
|
+
fn visit_i64_atomic_rmw32_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2102
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2103
|
+
}
|
2104
|
+
fn visit_i64_atomic_rmw32_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2105
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2106
|
+
}
|
2107
|
+
fn visit_i64_atomic_rmw32_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2108
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2109
|
+
}
|
2110
|
+
fn visit_i64_atomic_rmw16_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2111
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2112
|
+
}
|
2113
|
+
fn visit_i64_atomic_rmw16_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2114
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2115
|
+
}
|
2116
|
+
fn visit_i64_atomic_rmw16_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2117
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2118
|
+
}
|
2119
|
+
fn visit_i64_atomic_rmw16_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2120
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2121
|
+
}
|
2122
|
+
fn visit_i64_atomic_rmw16_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2123
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2124
|
+
}
|
2125
|
+
fn visit_i64_atomic_rmw8_add_u(&mut self, memarg: MemArg) -> Self::Output {
|
2126
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2127
|
+
}
|
2128
|
+
fn visit_i64_atomic_rmw8_sub_u(&mut self, memarg: MemArg) -> Self::Output {
|
2129
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2130
|
+
}
|
2131
|
+
fn visit_i64_atomic_rmw8_and_u(&mut self, memarg: MemArg) -> Self::Output {
|
2132
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2133
|
+
}
|
2134
|
+
fn visit_i64_atomic_rmw8_or_u(&mut self, memarg: MemArg) -> Self::Output {
|
2135
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2136
|
+
}
|
2137
|
+
fn visit_i64_atomic_rmw8_xor_u(&mut self, memarg: MemArg) -> Self::Output {
|
2138
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2139
|
+
}
|
2140
|
+
fn visit_i32_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
|
2141
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2142
|
+
}
|
2143
|
+
fn visit_i32_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2144
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2145
|
+
}
|
2146
|
+
fn visit_i32_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2147
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2148
|
+
}
|
2149
|
+
fn visit_i32_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
|
2150
|
+
self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
|
2151
|
+
}
|
2152
|
+
fn visit_i32_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2153
|
+
self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
|
2154
|
+
}
|
2155
|
+
fn visit_i32_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2156
|
+
self.check_atomic_binary_cmpxchg(memarg, ValType::I32)
|
2157
|
+
}
|
2158
|
+
fn visit_i64_atomic_rmw_xchg(&mut self, memarg: MemArg) -> Self::Output {
|
2159
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2160
|
+
}
|
2161
|
+
fn visit_i64_atomic_rmw32_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2162
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2163
|
+
}
|
2164
|
+
fn visit_i64_atomic_rmw16_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2165
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2166
|
+
}
|
2167
|
+
fn visit_i64_atomic_rmw8_xchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2168
|
+
self.check_atomic_binary_op(memarg, ValType::I64)
|
2169
|
+
}
|
2170
|
+
fn visit_i64_atomic_rmw_cmpxchg(&mut self, memarg: MemArg) -> Self::Output {
|
2171
|
+
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2172
|
+
}
|
2173
|
+
fn visit_i64_atomic_rmw32_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2174
|
+
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2175
|
+
}
|
2176
|
+
fn visit_i64_atomic_rmw16_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2177
|
+
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2178
|
+
}
|
2179
|
+
fn visit_i64_atomic_rmw8_cmpxchg_u(&mut self, memarg: MemArg) -> Self::Output {
|
2180
|
+
self.check_atomic_binary_cmpxchg(memarg, ValType::I64)
|
2181
|
+
}
|
2182
|
+
fn visit_memory_atomic_notify(&mut self, memarg: MemArg) -> Self::Output {
|
2183
|
+
self.check_atomic_binary_op(memarg, ValType::I32)
|
2184
|
+
}
|
2185
|
+
fn visit_memory_atomic_wait32(&mut self, memarg: MemArg) -> Self::Output {
|
2186
|
+
let ty = self.check_shared_memarg(memarg)?;
|
2187
|
+
self.pop_operand(Some(ValType::I64))?;
|
2188
|
+
self.pop_operand(Some(ValType::I32))?;
|
2189
|
+
self.pop_operand(Some(ty))?;
|
2190
|
+
self.push_operand(ValType::I32)?;
|
2191
|
+
Ok(())
|
2192
|
+
}
|
2193
|
+
fn visit_memory_atomic_wait64(&mut self, memarg: MemArg) -> Self::Output {
|
2194
|
+
let ty = self.check_shared_memarg(memarg)?;
|
2195
|
+
self.pop_operand(Some(ValType::I64))?;
|
2196
|
+
self.pop_operand(Some(ValType::I64))?;
|
2197
|
+
self.pop_operand(Some(ty))?;
|
2198
|
+
self.push_operand(ValType::I32)?;
|
2199
|
+
Ok(())
|
2200
|
+
}
|
2201
|
+
fn visit_atomic_fence(&mut self) -> Self::Output {
|
2202
|
+
Ok(())
|
2203
|
+
}
|
2204
|
+
fn visit_ref_null(&mut self, heap_type: HeapType) -> Self::Output {
|
2205
|
+
self.resources
|
2206
|
+
.check_heap_type(heap_type, &self.features, self.offset)?;
|
2207
|
+
self.push_operand(ValType::Ref(
|
2208
|
+
RefType::new(true, heap_type).expect("existing heap types should be within our limits"),
|
2209
|
+
))?;
|
2210
|
+
Ok(())
|
2211
|
+
}
|
2212
|
+
|
2213
|
+
fn visit_ref_as_non_null(&mut self) -> Self::Output {
|
2214
|
+
let ty = match self.pop_ref()? {
|
2215
|
+
Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
|
2216
|
+
None => MaybeType::HeapBot,
|
2217
|
+
};
|
2218
|
+
self.push_operand(ty)?;
|
2219
|
+
Ok(())
|
2220
|
+
}
|
2221
|
+
fn visit_br_on_null(&mut self, relative_depth: u32) -> Self::Output {
|
2222
|
+
let ty = match self.pop_ref()? {
|
2223
|
+
None => MaybeType::HeapBot,
|
2224
|
+
Some(ty) => MaybeType::Type(ValType::Ref(ty.as_non_null())),
|
2225
|
+
};
|
2226
|
+
let (ft, kind) = self.jump(relative_depth)?;
|
2227
|
+
for ty in self.label_types(ft, kind)?.rev() {
|
2228
|
+
self.pop_operand(Some(ty))?;
|
2229
|
+
}
|
2230
|
+
for ty in self.label_types(ft, kind)? {
|
2231
|
+
self.push_operand(ty)?;
|
2232
|
+
}
|
2233
|
+
self.push_operand(ty)?;
|
2234
|
+
Ok(())
|
2235
|
+
}
|
2236
|
+
fn visit_br_on_non_null(&mut self, relative_depth: u32) -> Self::Output {
|
2237
|
+
let ty = self.pop_ref()?;
|
2238
|
+
let (ft, kind) = self.jump(relative_depth)?;
|
2239
|
+
let mut lts = self.label_types(ft, kind)?;
|
2240
|
+
match (lts.next_back(), ty) {
|
2241
|
+
(None, _) => bail!(
|
2242
|
+
self.offset,
|
2243
|
+
"type mismatch: br_on_non_null target has no label types",
|
2244
|
+
),
|
2245
|
+
(Some(ValType::Ref(_)), None) => {}
|
2246
|
+
(Some(rt1 @ ValType::Ref(_)), Some(rt0)) => {
|
2247
|
+
// Switch rt0, our popped type, to a non-nullable type and
|
2248
|
+
// perform the match because if the branch is taken it's a
|
2249
|
+
// non-null value.
|
2250
|
+
let ty = rt0.as_non_null();
|
2251
|
+
if !self.resources.matches(ty.into(), rt1) {
|
2252
|
+
bail!(
|
2253
|
+
self.offset,
|
2254
|
+
"type mismatch: expected {} but found {}",
|
2255
|
+
ty_to_str(rt0.into()),
|
2256
|
+
ty_to_str(rt1)
|
2257
|
+
)
|
2258
|
+
}
|
2259
|
+
}
|
2260
|
+
(Some(_), _) => bail!(
|
2261
|
+
self.offset,
|
2262
|
+
"type mismatch: br_on_non_null target does not end with heap type",
|
2263
|
+
),
|
2264
|
+
}
|
2265
|
+
for ty in self.label_types(ft, kind)?.rev().skip(1) {
|
2266
|
+
self.pop_operand(Some(ty))?;
|
2267
|
+
}
|
2268
|
+
for ty in lts {
|
2269
|
+
self.push_operand(ty)?;
|
2270
|
+
}
|
2271
|
+
Ok(())
|
2272
|
+
}
|
2273
|
+
fn visit_ref_is_null(&mut self) -> Self::Output {
|
2274
|
+
self.pop_ref()?;
|
2275
|
+
self.push_operand(ValType::I32)?;
|
2276
|
+
Ok(())
|
2277
|
+
}
|
2278
|
+
fn visit_ref_func(&mut self, function_index: u32) -> Self::Output {
|
2279
|
+
let type_index = match self.resources.type_index_of_function(function_index) {
|
2280
|
+
Some(idx) => idx,
|
2281
|
+
None => bail!(
|
2282
|
+
self.offset,
|
2283
|
+
"unknown function {}: function index out of bounds",
|
2284
|
+
function_index,
|
2285
|
+
),
|
2286
|
+
};
|
2287
|
+
if !self.resources.is_function_referenced(function_index) {
|
2288
|
+
bail!(self.offset, "undeclared function reference");
|
2289
|
+
}
|
2290
|
+
|
2291
|
+
// FIXME(#924) this should not be conditional based on enabled
|
2292
|
+
// proposals.
|
2293
|
+
if self.features.function_references {
|
2294
|
+
self.push_operand(
|
2295
|
+
RefType::indexed_func(false, type_index)
|
2296
|
+
.expect("our limits on number of types should fit into ref type"),
|
2297
|
+
)?;
|
2298
|
+
} else {
|
2299
|
+
self.push_operand(ValType::FUNCREF)?;
|
2300
|
+
}
|
2301
|
+
Ok(())
|
2302
|
+
}
|
2303
|
+
fn visit_v128_load(&mut self, memarg: MemArg) -> Self::Output {
|
2304
|
+
let ty = self.check_memarg(memarg)?;
|
2305
|
+
self.pop_operand(Some(ty))?;
|
2306
|
+
self.push_operand(ValType::V128)?;
|
2307
|
+
Ok(())
|
2308
|
+
}
|
2309
|
+
fn visit_v128_store(&mut self, memarg: MemArg) -> Self::Output {
|
2310
|
+
let ty = self.check_memarg(memarg)?;
|
2311
|
+
self.pop_operand(Some(ValType::V128))?;
|
2312
|
+
self.pop_operand(Some(ty))?;
|
2313
|
+
Ok(())
|
2314
|
+
}
|
2315
|
+
fn visit_v128_const(&mut self, _value: V128) -> Self::Output {
|
2316
|
+
self.push_operand(ValType::V128)?;
|
2317
|
+
Ok(())
|
2318
|
+
}
|
2319
|
+
fn visit_i8x16_splat(&mut self) -> Self::Output {
|
2320
|
+
self.check_v128_splat(ValType::I32)
|
2321
|
+
}
|
2322
|
+
fn visit_i16x8_splat(&mut self) -> Self::Output {
|
2323
|
+
self.check_v128_splat(ValType::I32)
|
2324
|
+
}
|
2325
|
+
fn visit_i32x4_splat(&mut self) -> Self::Output {
|
2326
|
+
self.check_v128_splat(ValType::I32)
|
2327
|
+
}
|
2328
|
+
fn visit_i64x2_splat(&mut self) -> Self::Output {
|
2329
|
+
self.check_v128_splat(ValType::I64)
|
2330
|
+
}
|
2331
|
+
fn visit_f32x4_splat(&mut self) -> Self::Output {
|
2332
|
+
self.check_floats_enabled()?;
|
2333
|
+
self.check_v128_splat(ValType::F32)
|
2334
|
+
}
|
2335
|
+
fn visit_f64x2_splat(&mut self) -> Self::Output {
|
2336
|
+
self.check_floats_enabled()?;
|
2337
|
+
self.check_v128_splat(ValType::F64)
|
2338
|
+
}
|
2339
|
+
fn visit_i8x16_extract_lane_s(&mut self, lane: u8) -> Self::Output {
|
2340
|
+
self.check_simd_lane_index(lane, 16)?;
|
2341
|
+
self.pop_operand(Some(ValType::V128))?;
|
2342
|
+
self.push_operand(ValType::I32)?;
|
2343
|
+
Ok(())
|
2344
|
+
}
|
2345
|
+
fn visit_i8x16_extract_lane_u(&mut self, lane: u8) -> Self::Output {
|
2346
|
+
self.visit_i8x16_extract_lane_s(lane)
|
2347
|
+
}
|
2348
|
+
fn visit_i16x8_extract_lane_s(&mut self, lane: u8) -> Self::Output {
|
2349
|
+
self.check_simd_lane_index(lane, 8)?;
|
2350
|
+
self.pop_operand(Some(ValType::V128))?;
|
2351
|
+
self.push_operand(ValType::I32)?;
|
2352
|
+
Ok(())
|
2353
|
+
}
|
2354
|
+
fn visit_i16x8_extract_lane_u(&mut self, lane: u8) -> Self::Output {
|
2355
|
+
self.visit_i16x8_extract_lane_s(lane)
|
2356
|
+
}
|
2357
|
+
fn visit_i32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2358
|
+
self.check_simd_lane_index(lane, 4)?;
|
2359
|
+
self.pop_operand(Some(ValType::V128))?;
|
2360
|
+
self.push_operand(ValType::I32)?;
|
2361
|
+
Ok(())
|
2362
|
+
}
|
2363
|
+
fn visit_i8x16_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2364
|
+
self.check_simd_lane_index(lane, 16)?;
|
2365
|
+
self.pop_operand(Some(ValType::I32))?;
|
2366
|
+
self.pop_operand(Some(ValType::V128))?;
|
2367
|
+
self.push_operand(ValType::V128)?;
|
2368
|
+
Ok(())
|
2369
|
+
}
|
2370
|
+
fn visit_i16x8_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2371
|
+
self.check_simd_lane_index(lane, 8)?;
|
2372
|
+
self.pop_operand(Some(ValType::I32))?;
|
2373
|
+
self.pop_operand(Some(ValType::V128))?;
|
2374
|
+
self.push_operand(ValType::V128)?;
|
2375
|
+
Ok(())
|
2376
|
+
}
|
2377
|
+
fn visit_i32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2378
|
+
self.check_simd_lane_index(lane, 4)?;
|
2379
|
+
self.pop_operand(Some(ValType::I32))?;
|
2380
|
+
self.pop_operand(Some(ValType::V128))?;
|
2381
|
+
self.push_operand(ValType::V128)?;
|
2382
|
+
Ok(())
|
2383
|
+
}
|
2384
|
+
fn visit_i64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2385
|
+
self.check_simd_lane_index(lane, 2)?;
|
2386
|
+
self.pop_operand(Some(ValType::V128))?;
|
2387
|
+
self.push_operand(ValType::I64)?;
|
2388
|
+
Ok(())
|
2389
|
+
}
|
2390
|
+
fn visit_i64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2391
|
+
self.check_simd_lane_index(lane, 2)?;
|
2392
|
+
self.pop_operand(Some(ValType::I64))?;
|
2393
|
+
self.pop_operand(Some(ValType::V128))?;
|
2394
|
+
self.push_operand(ValType::V128)?;
|
2395
|
+
Ok(())
|
2396
|
+
}
|
2397
|
+
fn visit_f32x4_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2398
|
+
self.check_floats_enabled()?;
|
2399
|
+
self.check_simd_lane_index(lane, 4)?;
|
2400
|
+
self.pop_operand(Some(ValType::V128))?;
|
2401
|
+
self.push_operand(ValType::F32)?;
|
2402
|
+
Ok(())
|
2403
|
+
}
|
2404
|
+
fn visit_f32x4_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2405
|
+
self.check_floats_enabled()?;
|
2406
|
+
self.check_simd_lane_index(lane, 4)?;
|
2407
|
+
self.pop_operand(Some(ValType::F32))?;
|
2408
|
+
self.pop_operand(Some(ValType::V128))?;
|
2409
|
+
self.push_operand(ValType::V128)?;
|
2410
|
+
Ok(())
|
2411
|
+
}
|
2412
|
+
fn visit_f64x2_extract_lane(&mut self, lane: u8) -> Self::Output {
|
2413
|
+
self.check_floats_enabled()?;
|
2414
|
+
self.check_simd_lane_index(lane, 2)?;
|
2415
|
+
self.pop_operand(Some(ValType::V128))?;
|
2416
|
+
self.push_operand(ValType::F64)?;
|
2417
|
+
Ok(())
|
2418
|
+
}
|
2419
|
+
fn visit_f64x2_replace_lane(&mut self, lane: u8) -> Self::Output {
|
2420
|
+
self.check_floats_enabled()?;
|
2421
|
+
self.check_simd_lane_index(lane, 2)?;
|
2422
|
+
self.pop_operand(Some(ValType::F64))?;
|
2423
|
+
self.pop_operand(Some(ValType::V128))?;
|
2424
|
+
self.push_operand(ValType::V128)?;
|
2425
|
+
Ok(())
|
2426
|
+
}
|
2427
|
+
fn visit_f32x4_eq(&mut self) -> Self::Output {
|
2428
|
+
self.check_v128_fbinary_op()
|
2429
|
+
}
|
2430
|
+
fn visit_f32x4_ne(&mut self) -> Self::Output {
|
2431
|
+
self.check_v128_fbinary_op()
|
2432
|
+
}
|
2433
|
+
fn visit_f32x4_lt(&mut self) -> Self::Output {
|
2434
|
+
self.check_v128_fbinary_op()
|
2435
|
+
}
|
2436
|
+
fn visit_f32x4_gt(&mut self) -> Self::Output {
|
2437
|
+
self.check_v128_fbinary_op()
|
2438
|
+
}
|
2439
|
+
fn visit_f32x4_le(&mut self) -> Self::Output {
|
2440
|
+
self.check_v128_fbinary_op()
|
2441
|
+
}
|
2442
|
+
fn visit_f32x4_ge(&mut self) -> Self::Output {
|
2443
|
+
self.check_v128_fbinary_op()
|
2444
|
+
}
|
2445
|
+
fn visit_f64x2_eq(&mut self) -> Self::Output {
|
2446
|
+
self.check_v128_fbinary_op()
|
2447
|
+
}
|
2448
|
+
fn visit_f64x2_ne(&mut self) -> Self::Output {
|
2449
|
+
self.check_v128_fbinary_op()
|
2450
|
+
}
|
2451
|
+
fn visit_f64x2_lt(&mut self) -> Self::Output {
|
2452
|
+
self.check_v128_fbinary_op()
|
2453
|
+
}
|
2454
|
+
fn visit_f64x2_gt(&mut self) -> Self::Output {
|
2455
|
+
self.check_v128_fbinary_op()
|
2456
|
+
}
|
2457
|
+
fn visit_f64x2_le(&mut self) -> Self::Output {
|
2458
|
+
self.check_v128_fbinary_op()
|
2459
|
+
}
|
2460
|
+
fn visit_f64x2_ge(&mut self) -> Self::Output {
|
2461
|
+
self.check_v128_fbinary_op()
|
2462
|
+
}
|
2463
|
+
fn visit_f32x4_add(&mut self) -> Self::Output {
|
2464
|
+
self.check_v128_fbinary_op()
|
2465
|
+
}
|
2466
|
+
fn visit_f32x4_sub(&mut self) -> Self::Output {
|
2467
|
+
self.check_v128_fbinary_op()
|
2468
|
+
}
|
2469
|
+
fn visit_f32x4_mul(&mut self) -> Self::Output {
|
2470
|
+
self.check_v128_fbinary_op()
|
2471
|
+
}
|
2472
|
+
fn visit_f32x4_div(&mut self) -> Self::Output {
|
2473
|
+
self.check_v128_fbinary_op()
|
2474
|
+
}
|
2475
|
+
fn visit_f32x4_min(&mut self) -> Self::Output {
|
2476
|
+
self.check_v128_fbinary_op()
|
2477
|
+
}
|
2478
|
+
fn visit_f32x4_max(&mut self) -> Self::Output {
|
2479
|
+
self.check_v128_fbinary_op()
|
2480
|
+
}
|
2481
|
+
fn visit_f32x4_pmin(&mut self) -> Self::Output {
|
2482
|
+
self.check_v128_fbinary_op()
|
2483
|
+
}
|
2484
|
+
fn visit_f32x4_pmax(&mut self) -> Self::Output {
|
2485
|
+
self.check_v128_fbinary_op()
|
2486
|
+
}
|
2487
|
+
fn visit_f64x2_add(&mut self) -> Self::Output {
|
2488
|
+
self.check_v128_fbinary_op()
|
2489
|
+
}
|
2490
|
+
fn visit_f64x2_sub(&mut self) -> Self::Output {
|
2491
|
+
self.check_v128_fbinary_op()
|
2492
|
+
}
|
2493
|
+
fn visit_f64x2_mul(&mut self) -> Self::Output {
|
2494
|
+
self.check_v128_fbinary_op()
|
2495
|
+
}
|
2496
|
+
fn visit_f64x2_div(&mut self) -> Self::Output {
|
2497
|
+
self.check_v128_fbinary_op()
|
2498
|
+
}
|
2499
|
+
fn visit_f64x2_min(&mut self) -> Self::Output {
|
2500
|
+
self.check_v128_fbinary_op()
|
2501
|
+
}
|
2502
|
+
fn visit_f64x2_max(&mut self) -> Self::Output {
|
2503
|
+
self.check_v128_fbinary_op()
|
2504
|
+
}
|
2505
|
+
fn visit_f64x2_pmin(&mut self) -> Self::Output {
|
2506
|
+
self.check_v128_fbinary_op()
|
2507
|
+
}
|
2508
|
+
fn visit_f64x2_pmax(&mut self) -> Self::Output {
|
2509
|
+
self.check_v128_fbinary_op()
|
2510
|
+
}
|
2511
|
+
fn visit_i8x16_eq(&mut self) -> Self::Output {
|
2512
|
+
self.check_v128_binary_op()
|
2513
|
+
}
|
2514
|
+
fn visit_i8x16_ne(&mut self) -> Self::Output {
|
2515
|
+
self.check_v128_binary_op()
|
2516
|
+
}
|
2517
|
+
fn visit_i8x16_lt_s(&mut self) -> Self::Output {
|
2518
|
+
self.check_v128_binary_op()
|
2519
|
+
}
|
2520
|
+
fn visit_i8x16_lt_u(&mut self) -> Self::Output {
|
2521
|
+
self.check_v128_binary_op()
|
2522
|
+
}
|
2523
|
+
fn visit_i8x16_gt_s(&mut self) -> Self::Output {
|
2524
|
+
self.check_v128_binary_op()
|
2525
|
+
}
|
2526
|
+
fn visit_i8x16_gt_u(&mut self) -> Self::Output {
|
2527
|
+
self.check_v128_binary_op()
|
2528
|
+
}
|
2529
|
+
fn visit_i8x16_le_s(&mut self) -> Self::Output {
|
2530
|
+
self.check_v128_binary_op()
|
2531
|
+
}
|
2532
|
+
fn visit_i8x16_le_u(&mut self) -> Self::Output {
|
2533
|
+
self.check_v128_binary_op()
|
2534
|
+
}
|
2535
|
+
fn visit_i8x16_ge_s(&mut self) -> Self::Output {
|
2536
|
+
self.check_v128_binary_op()
|
2537
|
+
}
|
2538
|
+
fn visit_i8x16_ge_u(&mut self) -> Self::Output {
|
2539
|
+
self.check_v128_binary_op()
|
2540
|
+
}
|
2541
|
+
fn visit_i16x8_eq(&mut self) -> Self::Output {
|
2542
|
+
self.check_v128_binary_op()
|
2543
|
+
}
|
2544
|
+
fn visit_i16x8_ne(&mut self) -> Self::Output {
|
2545
|
+
self.check_v128_binary_op()
|
2546
|
+
}
|
2547
|
+
fn visit_i16x8_lt_s(&mut self) -> Self::Output {
|
2548
|
+
self.check_v128_binary_op()
|
2549
|
+
}
|
2550
|
+
fn visit_i16x8_lt_u(&mut self) -> Self::Output {
|
2551
|
+
self.check_v128_binary_op()
|
2552
|
+
}
|
2553
|
+
fn visit_i16x8_gt_s(&mut self) -> Self::Output {
|
2554
|
+
self.check_v128_binary_op()
|
2555
|
+
}
|
2556
|
+
fn visit_i16x8_gt_u(&mut self) -> Self::Output {
|
2557
|
+
self.check_v128_binary_op()
|
2558
|
+
}
|
2559
|
+
fn visit_i16x8_le_s(&mut self) -> Self::Output {
|
2560
|
+
self.check_v128_binary_op()
|
2561
|
+
}
|
2562
|
+
fn visit_i16x8_le_u(&mut self) -> Self::Output {
|
2563
|
+
self.check_v128_binary_op()
|
2564
|
+
}
|
2565
|
+
fn visit_i16x8_ge_s(&mut self) -> Self::Output {
|
2566
|
+
self.check_v128_binary_op()
|
2567
|
+
}
|
2568
|
+
fn visit_i16x8_ge_u(&mut self) -> Self::Output {
|
2569
|
+
self.check_v128_binary_op()
|
2570
|
+
}
|
2571
|
+
fn visit_i32x4_eq(&mut self) -> Self::Output {
|
2572
|
+
self.check_v128_binary_op()
|
2573
|
+
}
|
2574
|
+
fn visit_i32x4_ne(&mut self) -> Self::Output {
|
2575
|
+
self.check_v128_binary_op()
|
2576
|
+
}
|
2577
|
+
fn visit_i32x4_lt_s(&mut self) -> Self::Output {
|
2578
|
+
self.check_v128_binary_op()
|
2579
|
+
}
|
2580
|
+
fn visit_i32x4_lt_u(&mut self) -> Self::Output {
|
2581
|
+
self.check_v128_binary_op()
|
2582
|
+
}
|
2583
|
+
fn visit_i32x4_gt_s(&mut self) -> Self::Output {
|
2584
|
+
self.check_v128_binary_op()
|
2585
|
+
}
|
2586
|
+
fn visit_i32x4_gt_u(&mut self) -> Self::Output {
|
2587
|
+
self.check_v128_binary_op()
|
2588
|
+
}
|
2589
|
+
fn visit_i32x4_le_s(&mut self) -> Self::Output {
|
2590
|
+
self.check_v128_binary_op()
|
2591
|
+
}
|
2592
|
+
fn visit_i32x4_le_u(&mut self) -> Self::Output {
|
2593
|
+
self.check_v128_binary_op()
|
2594
|
+
}
|
2595
|
+
fn visit_i32x4_ge_s(&mut self) -> Self::Output {
|
2596
|
+
self.check_v128_binary_op()
|
2597
|
+
}
|
2598
|
+
fn visit_i32x4_ge_u(&mut self) -> Self::Output {
|
2599
|
+
self.check_v128_binary_op()
|
2600
|
+
}
|
2601
|
+
fn visit_i64x2_eq(&mut self) -> Self::Output {
|
2602
|
+
self.check_v128_binary_op()
|
2603
|
+
}
|
2604
|
+
fn visit_i64x2_ne(&mut self) -> Self::Output {
|
2605
|
+
self.check_v128_binary_op()
|
2606
|
+
}
|
2607
|
+
fn visit_i64x2_lt_s(&mut self) -> Self::Output {
|
2608
|
+
self.check_v128_binary_op()
|
2609
|
+
}
|
2610
|
+
fn visit_i64x2_gt_s(&mut self) -> Self::Output {
|
2611
|
+
self.check_v128_binary_op()
|
2612
|
+
}
|
2613
|
+
fn visit_i64x2_le_s(&mut self) -> Self::Output {
|
2614
|
+
self.check_v128_binary_op()
|
2615
|
+
}
|
2616
|
+
fn visit_i64x2_ge_s(&mut self) -> Self::Output {
|
2617
|
+
self.check_v128_binary_op()
|
2618
|
+
}
|
2619
|
+
fn visit_v128_and(&mut self) -> Self::Output {
|
2620
|
+
self.check_v128_binary_op()
|
2621
|
+
}
|
2622
|
+
fn visit_v128_andnot(&mut self) -> Self::Output {
|
2623
|
+
self.check_v128_binary_op()
|
2624
|
+
}
|
2625
|
+
fn visit_v128_or(&mut self) -> Self::Output {
|
2626
|
+
self.check_v128_binary_op()
|
2627
|
+
}
|
2628
|
+
fn visit_v128_xor(&mut self) -> Self::Output {
|
2629
|
+
self.check_v128_binary_op()
|
2630
|
+
}
|
2631
|
+
fn visit_i8x16_add(&mut self) -> Self::Output {
|
2632
|
+
self.check_v128_binary_op()
|
2633
|
+
}
|
2634
|
+
fn visit_i8x16_add_sat_s(&mut self) -> Self::Output {
|
2635
|
+
self.check_v128_binary_op()
|
2636
|
+
}
|
2637
|
+
fn visit_i8x16_add_sat_u(&mut self) -> Self::Output {
|
2638
|
+
self.check_v128_binary_op()
|
2639
|
+
}
|
2640
|
+
fn visit_i8x16_sub(&mut self) -> Self::Output {
|
2641
|
+
self.check_v128_binary_op()
|
2642
|
+
}
|
2643
|
+
fn visit_i8x16_sub_sat_s(&mut self) -> Self::Output {
|
2644
|
+
self.check_v128_binary_op()
|
2645
|
+
}
|
2646
|
+
fn visit_i8x16_sub_sat_u(&mut self) -> Self::Output {
|
2647
|
+
self.check_v128_binary_op()
|
2648
|
+
}
|
2649
|
+
fn visit_i8x16_min_s(&mut self) -> Self::Output {
|
2650
|
+
self.check_v128_binary_op()
|
2651
|
+
}
|
2652
|
+
fn visit_i8x16_min_u(&mut self) -> Self::Output {
|
2653
|
+
self.check_v128_binary_op()
|
2654
|
+
}
|
2655
|
+
fn visit_i8x16_max_s(&mut self) -> Self::Output {
|
2656
|
+
self.check_v128_binary_op()
|
2657
|
+
}
|
2658
|
+
fn visit_i8x16_max_u(&mut self) -> Self::Output {
|
2659
|
+
self.check_v128_binary_op()
|
2660
|
+
}
|
2661
|
+
fn visit_i16x8_add(&mut self) -> Self::Output {
|
2662
|
+
self.check_v128_binary_op()
|
2663
|
+
}
|
2664
|
+
fn visit_i16x8_add_sat_s(&mut self) -> Self::Output {
|
2665
|
+
self.check_v128_binary_op()
|
2666
|
+
}
|
2667
|
+
fn visit_i16x8_add_sat_u(&mut self) -> Self::Output {
|
2668
|
+
self.check_v128_binary_op()
|
2669
|
+
}
|
2670
|
+
fn visit_i16x8_sub(&mut self) -> Self::Output {
|
2671
|
+
self.check_v128_binary_op()
|
2672
|
+
}
|
2673
|
+
fn visit_i16x8_sub_sat_s(&mut self) -> Self::Output {
|
2674
|
+
self.check_v128_binary_op()
|
2675
|
+
}
|
2676
|
+
fn visit_i16x8_sub_sat_u(&mut self) -> Self::Output {
|
2677
|
+
self.check_v128_binary_op()
|
2678
|
+
}
|
2679
|
+
fn visit_i16x8_mul(&mut self) -> Self::Output {
|
2680
|
+
self.check_v128_binary_op()
|
2681
|
+
}
|
2682
|
+
fn visit_i16x8_min_s(&mut self) -> Self::Output {
|
2683
|
+
self.check_v128_binary_op()
|
2684
|
+
}
|
2685
|
+
fn visit_i16x8_min_u(&mut self) -> Self::Output {
|
2686
|
+
self.check_v128_binary_op()
|
2687
|
+
}
|
2688
|
+
fn visit_i16x8_max_s(&mut self) -> Self::Output {
|
2689
|
+
self.check_v128_binary_op()
|
2690
|
+
}
|
2691
|
+
fn visit_i16x8_max_u(&mut self) -> Self::Output {
|
2692
|
+
self.check_v128_binary_op()
|
2693
|
+
}
|
2694
|
+
fn visit_i32x4_add(&mut self) -> Self::Output {
|
2695
|
+
self.check_v128_binary_op()
|
2696
|
+
}
|
2697
|
+
fn visit_i32x4_sub(&mut self) -> Self::Output {
|
2698
|
+
self.check_v128_binary_op()
|
2699
|
+
}
|
2700
|
+
fn visit_i32x4_mul(&mut self) -> Self::Output {
|
2701
|
+
self.check_v128_binary_op()
|
2702
|
+
}
|
2703
|
+
fn visit_i32x4_min_s(&mut self) -> Self::Output {
|
2704
|
+
self.check_v128_binary_op()
|
2705
|
+
}
|
2706
|
+
fn visit_i32x4_min_u(&mut self) -> Self::Output {
|
2707
|
+
self.check_v128_binary_op()
|
2708
|
+
}
|
2709
|
+
fn visit_i32x4_max_s(&mut self) -> Self::Output {
|
2710
|
+
self.check_v128_binary_op()
|
2711
|
+
}
|
2712
|
+
fn visit_i32x4_max_u(&mut self) -> Self::Output {
|
2713
|
+
self.check_v128_binary_op()
|
2714
|
+
}
|
2715
|
+
fn visit_i32x4_dot_i16x8_s(&mut self) -> Self::Output {
|
2716
|
+
self.check_v128_binary_op()
|
2717
|
+
}
|
2718
|
+
fn visit_i64x2_add(&mut self) -> Self::Output {
|
2719
|
+
self.check_v128_binary_op()
|
2720
|
+
}
|
2721
|
+
fn visit_i64x2_sub(&mut self) -> Self::Output {
|
2722
|
+
self.check_v128_binary_op()
|
2723
|
+
}
|
2724
|
+
fn visit_i64x2_mul(&mut self) -> Self::Output {
|
2725
|
+
self.check_v128_binary_op()
|
2726
|
+
}
|
2727
|
+
fn visit_i8x16_avgr_u(&mut self) -> Self::Output {
|
2728
|
+
self.check_v128_binary_op()
|
2729
|
+
}
|
2730
|
+
fn visit_i16x8_avgr_u(&mut self) -> Self::Output {
|
2731
|
+
self.check_v128_binary_op()
|
2732
|
+
}
|
2733
|
+
fn visit_i8x16_narrow_i16x8_s(&mut self) -> Self::Output {
|
2734
|
+
self.check_v128_binary_op()
|
2735
|
+
}
|
2736
|
+
fn visit_i8x16_narrow_i16x8_u(&mut self) -> Self::Output {
|
2737
|
+
self.check_v128_binary_op()
|
2738
|
+
}
|
2739
|
+
fn visit_i16x8_narrow_i32x4_s(&mut self) -> Self::Output {
|
2740
|
+
self.check_v128_binary_op()
|
2741
|
+
}
|
2742
|
+
fn visit_i16x8_narrow_i32x4_u(&mut self) -> Self::Output {
|
2743
|
+
self.check_v128_binary_op()
|
2744
|
+
}
|
2745
|
+
fn visit_i16x8_extmul_low_i8x16_s(&mut self) -> Self::Output {
|
2746
|
+
self.check_v128_binary_op()
|
2747
|
+
}
|
2748
|
+
fn visit_i16x8_extmul_high_i8x16_s(&mut self) -> Self::Output {
|
2749
|
+
self.check_v128_binary_op()
|
2750
|
+
}
|
2751
|
+
fn visit_i16x8_extmul_low_i8x16_u(&mut self) -> Self::Output {
|
2752
|
+
self.check_v128_binary_op()
|
2753
|
+
}
|
2754
|
+
fn visit_i16x8_extmul_high_i8x16_u(&mut self) -> Self::Output {
|
2755
|
+
self.check_v128_binary_op()
|
2756
|
+
}
|
2757
|
+
fn visit_i32x4_extmul_low_i16x8_s(&mut self) -> Self::Output {
|
2758
|
+
self.check_v128_binary_op()
|
2759
|
+
}
|
2760
|
+
fn visit_i32x4_extmul_high_i16x8_s(&mut self) -> Self::Output {
|
2761
|
+
self.check_v128_binary_op()
|
2762
|
+
}
|
2763
|
+
fn visit_i32x4_extmul_low_i16x8_u(&mut self) -> Self::Output {
|
2764
|
+
self.check_v128_binary_op()
|
2765
|
+
}
|
2766
|
+
fn visit_i32x4_extmul_high_i16x8_u(&mut self) -> Self::Output {
|
2767
|
+
self.check_v128_binary_op()
|
2768
|
+
}
|
2769
|
+
fn visit_i64x2_extmul_low_i32x4_s(&mut self) -> Self::Output {
|
2770
|
+
self.check_v128_binary_op()
|
2771
|
+
}
|
2772
|
+
fn visit_i64x2_extmul_high_i32x4_s(&mut self) -> Self::Output {
|
2773
|
+
self.check_v128_binary_op()
|
2774
|
+
}
|
2775
|
+
fn visit_i64x2_extmul_low_i32x4_u(&mut self) -> Self::Output {
|
2776
|
+
self.check_v128_binary_op()
|
2777
|
+
}
|
2778
|
+
fn visit_i64x2_extmul_high_i32x4_u(&mut self) -> Self::Output {
|
2779
|
+
self.check_v128_binary_op()
|
2780
|
+
}
|
2781
|
+
fn visit_i16x8_q15mulr_sat_s(&mut self) -> Self::Output {
|
2782
|
+
self.check_v128_binary_op()
|
2783
|
+
}
|
2784
|
+
fn visit_f32x4_ceil(&mut self) -> Self::Output {
|
2785
|
+
self.check_v128_funary_op()
|
2786
|
+
}
|
2787
|
+
fn visit_f32x4_floor(&mut self) -> Self::Output {
|
2788
|
+
self.check_v128_funary_op()
|
2789
|
+
}
|
2790
|
+
fn visit_f32x4_trunc(&mut self) -> Self::Output {
|
2791
|
+
self.check_v128_funary_op()
|
2792
|
+
}
|
2793
|
+
fn visit_f32x4_nearest(&mut self) -> Self::Output {
|
2794
|
+
self.check_v128_funary_op()
|
2795
|
+
}
|
2796
|
+
fn visit_f64x2_ceil(&mut self) -> Self::Output {
|
2797
|
+
self.check_v128_funary_op()
|
2798
|
+
}
|
2799
|
+
fn visit_f64x2_floor(&mut self) -> Self::Output {
|
2800
|
+
self.check_v128_funary_op()
|
2801
|
+
}
|
2802
|
+
fn visit_f64x2_trunc(&mut self) -> Self::Output {
|
2803
|
+
self.check_v128_funary_op()
|
2804
|
+
}
|
2805
|
+
fn visit_f64x2_nearest(&mut self) -> Self::Output {
|
2806
|
+
self.check_v128_funary_op()
|
2807
|
+
}
|
2808
|
+
fn visit_f32x4_abs(&mut self) -> Self::Output {
|
2809
|
+
self.check_v128_funary_op()
|
2810
|
+
}
|
2811
|
+
fn visit_f32x4_neg(&mut self) -> Self::Output {
|
2812
|
+
self.check_v128_funary_op()
|
2813
|
+
}
|
2814
|
+
fn visit_f32x4_sqrt(&mut self) -> Self::Output {
|
2815
|
+
self.check_v128_funary_op()
|
2816
|
+
}
|
2817
|
+
fn visit_f64x2_abs(&mut self) -> Self::Output {
|
2818
|
+
self.check_v128_funary_op()
|
2819
|
+
}
|
2820
|
+
fn visit_f64x2_neg(&mut self) -> Self::Output {
|
2821
|
+
self.check_v128_funary_op()
|
2822
|
+
}
|
2823
|
+
fn visit_f64x2_sqrt(&mut self) -> Self::Output {
|
2824
|
+
self.check_v128_funary_op()
|
2825
|
+
}
|
2826
|
+
fn visit_f32x4_demote_f64x2_zero(&mut self) -> Self::Output {
|
2827
|
+
self.check_v128_funary_op()
|
2828
|
+
}
|
2829
|
+
fn visit_f64x2_promote_low_f32x4(&mut self) -> Self::Output {
|
2830
|
+
self.check_v128_funary_op()
|
2831
|
+
}
|
2832
|
+
fn visit_f64x2_convert_low_i32x4_s(&mut self) -> Self::Output {
|
2833
|
+
self.check_v128_funary_op()
|
2834
|
+
}
|
2835
|
+
fn visit_f64x2_convert_low_i32x4_u(&mut self) -> Self::Output {
|
2836
|
+
self.check_v128_funary_op()
|
2837
|
+
}
|
2838
|
+
fn visit_i32x4_trunc_sat_f32x4_s(&mut self) -> Self::Output {
|
2839
|
+
self.check_v128_funary_op()
|
2840
|
+
}
|
2841
|
+
fn visit_i32x4_trunc_sat_f32x4_u(&mut self) -> Self::Output {
|
2842
|
+
self.check_v128_funary_op()
|
2843
|
+
}
|
2844
|
+
fn visit_i32x4_trunc_sat_f64x2_s_zero(&mut self) -> Self::Output {
|
2845
|
+
self.check_v128_funary_op()
|
2846
|
+
}
|
2847
|
+
fn visit_i32x4_trunc_sat_f64x2_u_zero(&mut self) -> Self::Output {
|
2848
|
+
self.check_v128_funary_op()
|
2849
|
+
}
|
2850
|
+
fn visit_f32x4_convert_i32x4_s(&mut self) -> Self::Output {
|
2851
|
+
self.check_v128_funary_op()
|
2852
|
+
}
|
2853
|
+
fn visit_f32x4_convert_i32x4_u(&mut self) -> Self::Output {
|
2854
|
+
self.check_v128_funary_op()
|
2855
|
+
}
|
2856
|
+
fn visit_v128_not(&mut self) -> Self::Output {
|
2857
|
+
self.check_v128_unary_op()
|
2858
|
+
}
|
2859
|
+
fn visit_i8x16_abs(&mut self) -> Self::Output {
|
2860
|
+
self.check_v128_unary_op()
|
2861
|
+
}
|
2862
|
+
fn visit_i8x16_neg(&mut self) -> Self::Output {
|
2863
|
+
self.check_v128_unary_op()
|
2864
|
+
}
|
2865
|
+
fn visit_i8x16_popcnt(&mut self) -> Self::Output {
|
2866
|
+
self.check_v128_unary_op()
|
2867
|
+
}
|
2868
|
+
fn visit_i16x8_abs(&mut self) -> Self::Output {
|
2869
|
+
self.check_v128_unary_op()
|
2870
|
+
}
|
2871
|
+
fn visit_i16x8_neg(&mut self) -> Self::Output {
|
2872
|
+
self.check_v128_unary_op()
|
2873
|
+
}
|
2874
|
+
fn visit_i32x4_abs(&mut self) -> Self::Output {
|
2875
|
+
self.check_v128_unary_op()
|
2876
|
+
}
|
2877
|
+
fn visit_i32x4_neg(&mut self) -> Self::Output {
|
2878
|
+
self.check_v128_unary_op()
|
2879
|
+
}
|
2880
|
+
fn visit_i64x2_abs(&mut self) -> Self::Output {
|
2881
|
+
self.check_v128_unary_op()
|
2882
|
+
}
|
2883
|
+
fn visit_i64x2_neg(&mut self) -> Self::Output {
|
2884
|
+
self.check_v128_unary_op()
|
2885
|
+
}
|
2886
|
+
fn visit_i16x8_extend_low_i8x16_s(&mut self) -> Self::Output {
|
2887
|
+
self.check_v128_unary_op()
|
2888
|
+
}
|
2889
|
+
fn visit_i16x8_extend_high_i8x16_s(&mut self) -> Self::Output {
|
2890
|
+
self.check_v128_unary_op()
|
2891
|
+
}
|
2892
|
+
fn visit_i16x8_extend_low_i8x16_u(&mut self) -> Self::Output {
|
2893
|
+
self.check_v128_unary_op()
|
2894
|
+
}
|
2895
|
+
fn visit_i16x8_extend_high_i8x16_u(&mut self) -> Self::Output {
|
2896
|
+
self.check_v128_unary_op()
|
2897
|
+
}
|
2898
|
+
fn visit_i32x4_extend_low_i16x8_s(&mut self) -> Self::Output {
|
2899
|
+
self.check_v128_unary_op()
|
2900
|
+
}
|
2901
|
+
fn visit_i32x4_extend_high_i16x8_s(&mut self) -> Self::Output {
|
2902
|
+
self.check_v128_unary_op()
|
2903
|
+
}
|
2904
|
+
fn visit_i32x4_extend_low_i16x8_u(&mut self) -> Self::Output {
|
2905
|
+
self.check_v128_unary_op()
|
2906
|
+
}
|
2907
|
+
fn visit_i32x4_extend_high_i16x8_u(&mut self) -> Self::Output {
|
2908
|
+
self.check_v128_unary_op()
|
2909
|
+
}
|
2910
|
+
fn visit_i64x2_extend_low_i32x4_s(&mut self) -> Self::Output {
|
2911
|
+
self.check_v128_unary_op()
|
2912
|
+
}
|
2913
|
+
fn visit_i64x2_extend_high_i32x4_s(&mut self) -> Self::Output {
|
2914
|
+
self.check_v128_unary_op()
|
2915
|
+
}
|
2916
|
+
fn visit_i64x2_extend_low_i32x4_u(&mut self) -> Self::Output {
|
2917
|
+
self.check_v128_unary_op()
|
2918
|
+
}
|
2919
|
+
fn visit_i64x2_extend_high_i32x4_u(&mut self) -> Self::Output {
|
2920
|
+
self.check_v128_unary_op()
|
2921
|
+
}
|
2922
|
+
fn visit_i16x8_extadd_pairwise_i8x16_s(&mut self) -> Self::Output {
|
2923
|
+
self.check_v128_unary_op()
|
2924
|
+
}
|
2925
|
+
fn visit_i16x8_extadd_pairwise_i8x16_u(&mut self) -> Self::Output {
|
2926
|
+
self.check_v128_unary_op()
|
2927
|
+
}
|
2928
|
+
fn visit_i32x4_extadd_pairwise_i16x8_s(&mut self) -> Self::Output {
|
2929
|
+
self.check_v128_unary_op()
|
2930
|
+
}
|
2931
|
+
fn visit_i32x4_extadd_pairwise_i16x8_u(&mut self) -> Self::Output {
|
2932
|
+
self.check_v128_unary_op()
|
2933
|
+
}
|
2934
|
+
fn visit_v128_bitselect(&mut self) -> Self::Output {
|
2935
|
+
self.pop_operand(Some(ValType::V128))?;
|
2936
|
+
self.pop_operand(Some(ValType::V128))?;
|
2937
|
+
self.pop_operand(Some(ValType::V128))?;
|
2938
|
+
self.push_operand(ValType::V128)?;
|
2939
|
+
Ok(())
|
2940
|
+
}
|
2941
|
+
fn visit_i8x16_relaxed_swizzle(&mut self) -> Self::Output {
|
2942
|
+
self.pop_operand(Some(ValType::V128))?;
|
2943
|
+
self.pop_operand(Some(ValType::V128))?;
|
2944
|
+
self.push_operand(ValType::V128)?;
|
2945
|
+
Ok(())
|
2946
|
+
}
|
2947
|
+
fn visit_i32x4_relaxed_trunc_f32x4_s(&mut self) -> Self::Output {
|
2948
|
+
self.check_v128_unary_op()
|
2949
|
+
}
|
2950
|
+
fn visit_i32x4_relaxed_trunc_f32x4_u(&mut self) -> Self::Output {
|
2951
|
+
self.check_v128_unary_op()
|
2952
|
+
}
|
2953
|
+
fn visit_i32x4_relaxed_trunc_f64x2_s_zero(&mut self) -> Self::Output {
|
2954
|
+
self.check_v128_unary_op()
|
2955
|
+
}
|
2956
|
+
fn visit_i32x4_relaxed_trunc_f64x2_u_zero(&mut self) -> Self::Output {
|
2957
|
+
self.check_v128_unary_op()
|
2958
|
+
}
|
2959
|
+
fn visit_f32x4_relaxed_madd(&mut self) -> Self::Output {
|
2960
|
+
self.check_v128_ternary_op()
|
2961
|
+
}
|
2962
|
+
fn visit_f32x4_relaxed_nmadd(&mut self) -> Self::Output {
|
2963
|
+
self.check_v128_ternary_op()
|
2964
|
+
}
|
2965
|
+
fn visit_f64x2_relaxed_madd(&mut self) -> Self::Output {
|
2966
|
+
self.check_v128_ternary_op()
|
2967
|
+
}
|
2968
|
+
fn visit_f64x2_relaxed_nmadd(&mut self) -> Self::Output {
|
2969
|
+
self.check_v128_ternary_op()
|
2970
|
+
}
|
2971
|
+
fn visit_i8x16_relaxed_laneselect(&mut self) -> Self::Output {
|
2972
|
+
self.check_v128_ternary_op()
|
2973
|
+
}
|
2974
|
+
fn visit_i16x8_relaxed_laneselect(&mut self) -> Self::Output {
|
2975
|
+
self.check_v128_ternary_op()
|
2976
|
+
}
|
2977
|
+
fn visit_i32x4_relaxed_laneselect(&mut self) -> Self::Output {
|
2978
|
+
self.check_v128_ternary_op()
|
2979
|
+
}
|
2980
|
+
fn visit_i64x2_relaxed_laneselect(&mut self) -> Self::Output {
|
2981
|
+
self.check_v128_ternary_op()
|
2982
|
+
}
|
2983
|
+
fn visit_f32x4_relaxed_min(&mut self) -> Self::Output {
|
2984
|
+
self.check_v128_binary_op()
|
2985
|
+
}
|
2986
|
+
fn visit_f32x4_relaxed_max(&mut self) -> Self::Output {
|
2987
|
+
self.check_v128_binary_op()
|
2988
|
+
}
|
2989
|
+
fn visit_f64x2_relaxed_min(&mut self) -> Self::Output {
|
2990
|
+
self.check_v128_binary_op()
|
2991
|
+
}
|
2992
|
+
fn visit_f64x2_relaxed_max(&mut self) -> Self::Output {
|
2993
|
+
self.check_v128_binary_op()
|
2994
|
+
}
|
2995
|
+
fn visit_i16x8_relaxed_q15mulr_s(&mut self) -> Self::Output {
|
2996
|
+
self.check_v128_binary_op()
|
2997
|
+
}
|
2998
|
+
fn visit_i16x8_relaxed_dot_i8x16_i7x16_s(&mut self) -> Self::Output {
|
2999
|
+
self.check_v128_binary_op()
|
3000
|
+
}
|
3001
|
+
fn visit_i32x4_relaxed_dot_i8x16_i7x16_add_s(&mut self) -> Self::Output {
|
3002
|
+
self.check_v128_ternary_op()
|
3003
|
+
}
|
3004
|
+
fn visit_v128_any_true(&mut self) -> Self::Output {
|
3005
|
+
self.check_v128_bitmask_op()
|
3006
|
+
}
|
3007
|
+
fn visit_i8x16_all_true(&mut self) -> Self::Output {
|
3008
|
+
self.check_v128_bitmask_op()
|
3009
|
+
}
|
3010
|
+
fn visit_i8x16_bitmask(&mut self) -> Self::Output {
|
3011
|
+
self.check_v128_bitmask_op()
|
3012
|
+
}
|
3013
|
+
fn visit_i16x8_all_true(&mut self) -> Self::Output {
|
3014
|
+
self.check_v128_bitmask_op()
|
3015
|
+
}
|
3016
|
+
fn visit_i16x8_bitmask(&mut self) -> Self::Output {
|
3017
|
+
self.check_v128_bitmask_op()
|
3018
|
+
}
|
3019
|
+
fn visit_i32x4_all_true(&mut self) -> Self::Output {
|
3020
|
+
self.check_v128_bitmask_op()
|
3021
|
+
}
|
3022
|
+
fn visit_i32x4_bitmask(&mut self) -> Self::Output {
|
3023
|
+
self.check_v128_bitmask_op()
|
3024
|
+
}
|
3025
|
+
fn visit_i64x2_all_true(&mut self) -> Self::Output {
|
3026
|
+
self.check_v128_bitmask_op()
|
3027
|
+
}
|
3028
|
+
fn visit_i64x2_bitmask(&mut self) -> Self::Output {
|
3029
|
+
self.check_v128_bitmask_op()
|
3030
|
+
}
|
3031
|
+
fn visit_i8x16_shl(&mut self) -> Self::Output {
|
3032
|
+
self.check_v128_shift_op()
|
3033
|
+
}
|
3034
|
+
fn visit_i8x16_shr_s(&mut self) -> Self::Output {
|
3035
|
+
self.check_v128_shift_op()
|
3036
|
+
}
|
3037
|
+
fn visit_i8x16_shr_u(&mut self) -> Self::Output {
|
3038
|
+
self.check_v128_shift_op()
|
3039
|
+
}
|
3040
|
+
fn visit_i16x8_shl(&mut self) -> Self::Output {
|
3041
|
+
self.check_v128_shift_op()
|
3042
|
+
}
|
3043
|
+
fn visit_i16x8_shr_s(&mut self) -> Self::Output {
|
3044
|
+
self.check_v128_shift_op()
|
3045
|
+
}
|
3046
|
+
fn visit_i16x8_shr_u(&mut self) -> Self::Output {
|
3047
|
+
self.check_v128_shift_op()
|
3048
|
+
}
|
3049
|
+
fn visit_i32x4_shl(&mut self) -> Self::Output {
|
3050
|
+
self.check_v128_shift_op()
|
3051
|
+
}
|
3052
|
+
fn visit_i32x4_shr_s(&mut self) -> Self::Output {
|
3053
|
+
self.check_v128_shift_op()
|
3054
|
+
}
|
3055
|
+
fn visit_i32x4_shr_u(&mut self) -> Self::Output {
|
3056
|
+
self.check_v128_shift_op()
|
3057
|
+
}
|
3058
|
+
fn visit_i64x2_shl(&mut self) -> Self::Output {
|
3059
|
+
self.check_v128_shift_op()
|
3060
|
+
}
|
3061
|
+
fn visit_i64x2_shr_s(&mut self) -> Self::Output {
|
3062
|
+
self.check_v128_shift_op()
|
3063
|
+
}
|
3064
|
+
fn visit_i64x2_shr_u(&mut self) -> Self::Output {
|
3065
|
+
self.check_v128_shift_op()
|
3066
|
+
}
|
3067
|
+
fn visit_i8x16_swizzle(&mut self) -> Self::Output {
|
3068
|
+
self.pop_operand(Some(ValType::V128))?;
|
3069
|
+
self.pop_operand(Some(ValType::V128))?;
|
3070
|
+
self.push_operand(ValType::V128)?;
|
3071
|
+
Ok(())
|
3072
|
+
}
|
3073
|
+
fn visit_i8x16_shuffle(&mut self, lanes: [u8; 16]) -> Self::Output {
|
3074
|
+
self.pop_operand(Some(ValType::V128))?;
|
3075
|
+
self.pop_operand(Some(ValType::V128))?;
|
3076
|
+
for i in lanes {
|
3077
|
+
self.check_simd_lane_index(i, 32)?;
|
3078
|
+
}
|
3079
|
+
self.push_operand(ValType::V128)?;
|
3080
|
+
Ok(())
|
3081
|
+
}
|
3082
|
+
fn visit_v128_load8_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3083
|
+
let ty = self.check_memarg(memarg)?;
|
3084
|
+
self.pop_operand(Some(ty))?;
|
3085
|
+
self.push_operand(ValType::V128)?;
|
3086
|
+
Ok(())
|
3087
|
+
}
|
3088
|
+
fn visit_v128_load16_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3089
|
+
let ty = self.check_memarg(memarg)?;
|
3090
|
+
self.pop_operand(Some(ty))?;
|
3091
|
+
self.push_operand(ValType::V128)?;
|
3092
|
+
Ok(())
|
3093
|
+
}
|
3094
|
+
fn visit_v128_load32_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3095
|
+
let ty = self.check_memarg(memarg)?;
|
3096
|
+
self.pop_operand(Some(ty))?;
|
3097
|
+
self.push_operand(ValType::V128)?;
|
3098
|
+
Ok(())
|
3099
|
+
}
|
3100
|
+
fn visit_v128_load32_zero(&mut self, memarg: MemArg) -> Self::Output {
|
3101
|
+
self.visit_v128_load32_splat(memarg)
|
3102
|
+
}
|
3103
|
+
fn visit_v128_load64_splat(&mut self, memarg: MemArg) -> Self::Output {
|
3104
|
+
self.check_v128_load_op(memarg)
|
3105
|
+
}
|
3106
|
+
fn visit_v128_load64_zero(&mut self, memarg: MemArg) -> Self::Output {
|
3107
|
+
self.check_v128_load_op(memarg)
|
3108
|
+
}
|
3109
|
+
fn visit_v128_load8x8_s(&mut self, memarg: MemArg) -> Self::Output {
|
3110
|
+
self.check_v128_load_op(memarg)
|
3111
|
+
}
|
3112
|
+
fn visit_v128_load8x8_u(&mut self, memarg: MemArg) -> Self::Output {
|
3113
|
+
self.check_v128_load_op(memarg)
|
3114
|
+
}
|
3115
|
+
fn visit_v128_load16x4_s(&mut self, memarg: MemArg) -> Self::Output {
|
3116
|
+
self.check_v128_load_op(memarg)
|
3117
|
+
}
|
3118
|
+
fn visit_v128_load16x4_u(&mut self, memarg: MemArg) -> Self::Output {
|
3119
|
+
self.check_v128_load_op(memarg)
|
3120
|
+
}
|
3121
|
+
fn visit_v128_load32x2_s(&mut self, memarg: MemArg) -> Self::Output {
|
3122
|
+
self.check_v128_load_op(memarg)
|
3123
|
+
}
|
3124
|
+
fn visit_v128_load32x2_u(&mut self, memarg: MemArg) -> Self::Output {
|
3125
|
+
self.check_v128_load_op(memarg)
|
3126
|
+
}
|
3127
|
+
fn visit_v128_load8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3128
|
+
let idx = self.check_memarg(memarg)?;
|
3129
|
+
self.check_simd_lane_index(lane, 16)?;
|
3130
|
+
self.pop_operand(Some(ValType::V128))?;
|
3131
|
+
self.pop_operand(Some(idx))?;
|
3132
|
+
self.push_operand(ValType::V128)?;
|
3133
|
+
Ok(())
|
3134
|
+
}
|
3135
|
+
fn visit_v128_load16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3136
|
+
let idx = self.check_memarg(memarg)?;
|
3137
|
+
self.check_simd_lane_index(lane, 8)?;
|
3138
|
+
self.pop_operand(Some(ValType::V128))?;
|
3139
|
+
self.pop_operand(Some(idx))?;
|
3140
|
+
self.push_operand(ValType::V128)?;
|
3141
|
+
Ok(())
|
3142
|
+
}
|
3143
|
+
fn visit_v128_load32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3144
|
+
let idx = self.check_memarg(memarg)?;
|
3145
|
+
self.check_simd_lane_index(lane, 4)?;
|
3146
|
+
self.pop_operand(Some(ValType::V128))?;
|
3147
|
+
self.pop_operand(Some(idx))?;
|
3148
|
+
self.push_operand(ValType::V128)?;
|
3149
|
+
Ok(())
|
3150
|
+
}
|
3151
|
+
fn visit_v128_load64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3152
|
+
let idx = self.check_memarg(memarg)?;
|
3153
|
+
self.check_simd_lane_index(lane, 2)?;
|
3154
|
+
self.pop_operand(Some(ValType::V128))?;
|
3155
|
+
self.pop_operand(Some(idx))?;
|
3156
|
+
self.push_operand(ValType::V128)?;
|
3157
|
+
Ok(())
|
3158
|
+
}
|
3159
|
+
fn visit_v128_store8_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3160
|
+
let idx = self.check_memarg(memarg)?;
|
3161
|
+
self.check_simd_lane_index(lane, 16)?;
|
3162
|
+
self.pop_operand(Some(ValType::V128))?;
|
3163
|
+
self.pop_operand(Some(idx))?;
|
3164
|
+
Ok(())
|
3165
|
+
}
|
3166
|
+
fn visit_v128_store16_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3167
|
+
let idx = self.check_memarg(memarg)?;
|
3168
|
+
self.check_simd_lane_index(lane, 8)?;
|
3169
|
+
self.pop_operand(Some(ValType::V128))?;
|
3170
|
+
self.pop_operand(Some(idx))?;
|
3171
|
+
Ok(())
|
3172
|
+
}
|
3173
|
+
fn visit_v128_store32_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3174
|
+
let idx = self.check_memarg(memarg)?;
|
3175
|
+
self.check_simd_lane_index(lane, 4)?;
|
3176
|
+
self.pop_operand(Some(ValType::V128))?;
|
3177
|
+
self.pop_operand(Some(idx))?;
|
3178
|
+
Ok(())
|
3179
|
+
}
|
3180
|
+
fn visit_v128_store64_lane(&mut self, memarg: MemArg, lane: u8) -> Self::Output {
|
3181
|
+
let idx = self.check_memarg(memarg)?;
|
3182
|
+
self.check_simd_lane_index(lane, 2)?;
|
3183
|
+
self.pop_operand(Some(ValType::V128))?;
|
3184
|
+
self.pop_operand(Some(idx))?;
|
3185
|
+
Ok(())
|
3186
|
+
}
|
3187
|
+
fn visit_memory_init(&mut self, segment: u32, mem: u32) -> Self::Output {
|
3188
|
+
let ty = self.check_memory_index(mem)?;
|
3189
|
+
match self.resources.data_count() {
|
3190
|
+
None => bail!(self.offset, "data count section required"),
|
3191
|
+
Some(count) if segment < count => {}
|
3192
|
+
Some(_) => bail!(self.offset, "unknown data segment {}", segment),
|
3193
|
+
}
|
3194
|
+
self.pop_operand(Some(ValType::I32))?;
|
3195
|
+
self.pop_operand(Some(ValType::I32))?;
|
3196
|
+
self.pop_operand(Some(ty))?;
|
3197
|
+
Ok(())
|
3198
|
+
}
|
3199
|
+
fn visit_data_drop(&mut self, segment: u32) -> Self::Output {
|
3200
|
+
match self.resources.data_count() {
|
3201
|
+
None => bail!(self.offset, "data count section required"),
|
3202
|
+
Some(count) if segment < count => {}
|
3203
|
+
Some(_) => bail!(self.offset, "unknown data segment {}", segment),
|
3204
|
+
}
|
3205
|
+
Ok(())
|
3206
|
+
}
|
3207
|
+
fn visit_memory_copy(&mut self, dst: u32, src: u32) -> Self::Output {
|
3208
|
+
let dst_ty = self.check_memory_index(dst)?;
|
3209
|
+
let src_ty = self.check_memory_index(src)?;
|
3210
|
+
|
3211
|
+
// The length operand here is the smaller of src/dst, which is
|
3212
|
+
// i32 if one is i32
|
3213
|
+
self.pop_operand(Some(match src_ty {
|
3214
|
+
ValType::I32 => ValType::I32,
|
3215
|
+
_ => dst_ty,
|
3216
|
+
}))?;
|
3217
|
+
|
3218
|
+
// ... and the offset into each memory is required to be
|
3219
|
+
// whatever the indexing type is for that memory
|
3220
|
+
self.pop_operand(Some(src_ty))?;
|
3221
|
+
self.pop_operand(Some(dst_ty))?;
|
3222
|
+
Ok(())
|
3223
|
+
}
|
3224
|
+
fn visit_memory_fill(&mut self, mem: u32) -> Self::Output {
|
3225
|
+
let ty = self.check_memory_index(mem)?;
|
3226
|
+
self.pop_operand(Some(ty))?;
|
3227
|
+
self.pop_operand(Some(ValType::I32))?;
|
3228
|
+
self.pop_operand(Some(ty))?;
|
3229
|
+
Ok(())
|
3230
|
+
}
|
3231
|
+
fn visit_memory_discard(&mut self, mem: u32) -> Self::Output {
|
3232
|
+
let ty = self.check_memory_index(mem)?;
|
3233
|
+
self.pop_operand(Some(ty))?;
|
3234
|
+
self.pop_operand(Some(ty))?;
|
3235
|
+
Ok(())
|
3236
|
+
}
|
3237
|
+
fn visit_table_init(&mut self, segment: u32, table: u32) -> Self::Output {
|
3238
|
+
if table > 0 {}
|
3239
|
+
let table = match self.resources.table_at(table) {
|
3240
|
+
Some(table) => table,
|
3241
|
+
None => bail!(
|
3242
|
+
self.offset,
|
3243
|
+
"unknown table {}: table index out of bounds",
|
3244
|
+
table
|
3245
|
+
),
|
3246
|
+
};
|
3247
|
+
let segment_ty = match self.resources.element_type_at(segment) {
|
3248
|
+
Some(ty) => ty,
|
3249
|
+
None => bail!(
|
3250
|
+
self.offset,
|
3251
|
+
"unknown elem segment {}: segment index out of bounds",
|
3252
|
+
segment
|
3253
|
+
),
|
3254
|
+
};
|
3255
|
+
if segment_ty != table.element_type {
|
3256
|
+
bail!(self.offset, "type mismatch");
|
3257
|
+
}
|
3258
|
+
self.pop_operand(Some(ValType::I32))?;
|
3259
|
+
self.pop_operand(Some(ValType::I32))?;
|
3260
|
+
self.pop_operand(Some(ValType::I32))?;
|
3261
|
+
Ok(())
|
3262
|
+
}
|
3263
|
+
fn visit_elem_drop(&mut self, segment: u32) -> Self::Output {
|
3264
|
+
if segment >= self.resources.element_count() {
|
3265
|
+
bail!(
|
3266
|
+
self.offset,
|
3267
|
+
"unknown elem segment {}: segment index out of bounds",
|
3268
|
+
segment
|
3269
|
+
);
|
3270
|
+
}
|
3271
|
+
Ok(())
|
3272
|
+
}
|
3273
|
+
fn visit_table_copy(&mut self, dst_table: u32, src_table: u32) -> Self::Output {
|
3274
|
+
if src_table > 0 || dst_table > 0 {}
|
3275
|
+
let (src, dst) = match (
|
3276
|
+
self.resources.table_at(src_table),
|
3277
|
+
self.resources.table_at(dst_table),
|
3278
|
+
) {
|
3279
|
+
(Some(a), Some(b)) => (a, b),
|
3280
|
+
_ => bail!(self.offset, "table index out of bounds"),
|
3281
|
+
};
|
3282
|
+
if !self.resources.matches(
|
3283
|
+
ValType::Ref(src.element_type),
|
3284
|
+
ValType::Ref(dst.element_type),
|
3285
|
+
) {
|
3286
|
+
bail!(self.offset, "type mismatch");
|
3287
|
+
}
|
3288
|
+
self.pop_operand(Some(ValType::I32))?;
|
3289
|
+
self.pop_operand(Some(ValType::I32))?;
|
3290
|
+
self.pop_operand(Some(ValType::I32))?;
|
3291
|
+
Ok(())
|
3292
|
+
}
|
3293
|
+
fn visit_table_get(&mut self, table: u32) -> Self::Output {
|
3294
|
+
let ty = match self.resources.table_at(table) {
|
3295
|
+
Some(ty) => ty.element_type,
|
3296
|
+
None => bail!(self.offset, "table index out of bounds"),
|
3297
|
+
};
|
3298
|
+
self.pop_operand(Some(ValType::I32))?;
|
3299
|
+
self.push_operand(ValType::Ref(ty))?;
|
3300
|
+
Ok(())
|
3301
|
+
}
|
3302
|
+
fn visit_table_set(&mut self, table: u32) -> Self::Output {
|
3303
|
+
let ty = match self.resources.table_at(table) {
|
3304
|
+
Some(ty) => ty.element_type,
|
3305
|
+
None => bail!(self.offset, "table index out of bounds"),
|
3306
|
+
};
|
3307
|
+
self.pop_operand(Some(ValType::Ref(ty)))?;
|
3308
|
+
self.pop_operand(Some(ValType::I32))?;
|
3309
|
+
Ok(())
|
3310
|
+
}
|
3311
|
+
fn visit_table_grow(&mut self, table: u32) -> Self::Output {
|
3312
|
+
let ty = match self.resources.table_at(table) {
|
3313
|
+
Some(ty) => ty.element_type,
|
3314
|
+
None => bail!(self.offset, "table index out of bounds"),
|
3315
|
+
};
|
3316
|
+
self.pop_operand(Some(ValType::I32))?;
|
3317
|
+
self.pop_operand(Some(ValType::Ref(ty)))?;
|
3318
|
+
self.push_operand(ValType::I32)?;
|
3319
|
+
Ok(())
|
3320
|
+
}
|
3321
|
+
fn visit_table_size(&mut self, table: u32) -> Self::Output {
|
3322
|
+
if self.resources.table_at(table).is_none() {
|
3323
|
+
bail!(self.offset, "table index out of bounds");
|
3324
|
+
}
|
3325
|
+
self.push_operand(ValType::I32)?;
|
3326
|
+
Ok(())
|
3327
|
+
}
|
3328
|
+
fn visit_table_fill(&mut self, table: u32) -> Self::Output {
|
3329
|
+
let ty = match self.resources.table_at(table) {
|
3330
|
+
Some(ty) => ty.element_type,
|
3331
|
+
None => bail!(self.offset, "table index out of bounds"),
|
3332
|
+
};
|
3333
|
+
self.pop_operand(Some(ValType::I32))?;
|
3334
|
+
self.pop_operand(Some(ValType::Ref(ty)))?;
|
3335
|
+
self.pop_operand(Some(ValType::I32))?;
|
3336
|
+
Ok(())
|
3337
|
+
}
|
3338
|
+
fn visit_i31_new(&mut self) -> Self::Output {
|
3339
|
+
self.pop_operand(Some(ValType::I32))?;
|
3340
|
+
self.push_operand(ValType::Ref(RefType::I31))
|
3341
|
+
}
|
3342
|
+
fn visit_i31_get_s(&mut self) -> Self::Output {
|
3343
|
+
match self.pop_ref()? {
|
3344
|
+
Some(ref_type) => match ref_type.heap_type() {
|
3345
|
+
HeapType::I31 => self.push_operand(ValType::I32),
|
3346
|
+
_ => bail!(self.offset, "ref heap type mismatch: expected i31"),
|
3347
|
+
},
|
3348
|
+
_ => bail!(self.offset, "type mismatch: expected (ref null? i31)"),
|
3349
|
+
}
|
3350
|
+
}
|
3351
|
+
fn visit_i31_get_u(&mut self) -> Self::Output {
|
3352
|
+
match self.pop_ref()? {
|
3353
|
+
Some(ref_type) => match ref_type.heap_type() {
|
3354
|
+
HeapType::I31 => self.push_operand(ValType::I32),
|
3355
|
+
_ => bail!(self.offset, "ref heap type mismatch: expected i31"),
|
3356
|
+
},
|
3357
|
+
_ => bail!(self.offset, "type mismatch: expected (ref null? i31)"),
|
3358
|
+
}
|
3359
|
+
}
|
3360
|
+
}
|
3361
|
+
|
3362
|
+
#[derive(Clone)]
|
3363
|
+
enum Either<A, B> {
|
3364
|
+
A(A),
|
3365
|
+
B(B),
|
3366
|
+
}
|
3367
|
+
|
3368
|
+
impl<A, B> Iterator for Either<A, B>
|
3369
|
+
where
|
3370
|
+
A: Iterator,
|
3371
|
+
B: Iterator<Item = A::Item>,
|
3372
|
+
{
|
3373
|
+
type Item = A::Item;
|
3374
|
+
fn next(&mut self) -> Option<A::Item> {
|
3375
|
+
match self {
|
3376
|
+
Either::A(a) => a.next(),
|
3377
|
+
Either::B(b) => b.next(),
|
3378
|
+
}
|
3379
|
+
}
|
3380
|
+
}
|
3381
|
+
|
3382
|
+
impl<A, B> DoubleEndedIterator for Either<A, B>
|
3383
|
+
where
|
3384
|
+
A: DoubleEndedIterator,
|
3385
|
+
B: DoubleEndedIterator<Item = A::Item>,
|
3386
|
+
{
|
3387
|
+
fn next_back(&mut self) -> Option<A::Item> {
|
3388
|
+
match self {
|
3389
|
+
Either::A(a) => a.next_back(),
|
3390
|
+
Either::B(b) => b.next_back(),
|
3391
|
+
}
|
3392
|
+
}
|
3393
|
+
}
|
3394
|
+
|
3395
|
+
impl<A, B> ExactSizeIterator for Either<A, B>
|
3396
|
+
where
|
3397
|
+
A: ExactSizeIterator,
|
3398
|
+
B: ExactSizeIterator<Item = A::Item>,
|
3399
|
+
{
|
3400
|
+
fn len(&self) -> usize {
|
3401
|
+
match self {
|
3402
|
+
Either::A(a) => a.len(),
|
3403
|
+
Either::B(b) => b.len(),
|
3404
|
+
}
|
3405
|
+
}
|
3406
|
+
}
|
3407
|
+
|
3408
|
+
trait PreciseIterator: ExactSizeIterator + DoubleEndedIterator + Clone {}
|
3409
|
+
impl<T: ExactSizeIterator + DoubleEndedIterator + Clone> PreciseIterator for T {}
|
3410
|
+
|
3411
|
+
impl Locals {
|
3412
|
+
/// Defines another group of `count` local variables of type `ty`.
|
3413
|
+
///
|
3414
|
+
/// Returns `true` if the definition was successful. Local variable
|
3415
|
+
/// definition is unsuccessful in case the amount of total variables
|
3416
|
+
/// after definition exceeds the allowed maximum number.
|
3417
|
+
fn define(&mut self, count: u32, ty: ValType) -> bool {
|
3418
|
+
match self.num_locals.checked_add(count) {
|
3419
|
+
Some(n) => self.num_locals = n,
|
3420
|
+
None => return false,
|
3421
|
+
}
|
3422
|
+
if self.num_locals > (MAX_WASM_FUNCTION_LOCALS as u32) {
|
3423
|
+
return false;
|
3424
|
+
}
|
3425
|
+
for _ in 0..count {
|
3426
|
+
if self.first.len() >= MAX_LOCALS_TO_TRACK {
|
3427
|
+
break;
|
3428
|
+
}
|
3429
|
+
self.first.push(ty);
|
3430
|
+
}
|
3431
|
+
self.all.push((self.num_locals - 1, ty));
|
3432
|
+
true
|
3433
|
+
}
|
3434
|
+
|
3435
|
+
/// Returns the number of defined local variables.
|
3436
|
+
pub(super) fn len_locals(&self) -> u32 {
|
3437
|
+
self.num_locals
|
3438
|
+
}
|
3439
|
+
|
3440
|
+
/// Returns the type of the local variable at the given index if any.
|
3441
|
+
#[inline]
|
3442
|
+
pub(super) fn get(&self, idx: u32) -> Option<ValType> {
|
3443
|
+
match self.first.get(idx as usize) {
|
3444
|
+
Some(ty) => Some(*ty),
|
3445
|
+
None => self.get_bsearch(idx),
|
3446
|
+
}
|
3447
|
+
}
|
3448
|
+
|
3449
|
+
fn get_bsearch(&self, idx: u32) -> Option<ValType> {
|
3450
|
+
match self.all.binary_search_by_key(&idx, |(idx, _)| *idx) {
|
3451
|
+
// If this index would be inserted at the end of the list, then the
|
3452
|
+
// index is out of bounds and we return an error.
|
3453
|
+
Err(i) if i == self.all.len() => None,
|
3454
|
+
|
3455
|
+
// If `Ok` is returned we found the index exactly, or if `Err` is
|
3456
|
+
// returned the position is the one which is the least index
|
3457
|
+
// greater that `idx`, which is still the type of `idx` according
|
3458
|
+
// to our "compressed" representation. In both cases we access the
|
3459
|
+
// list at index `i`.
|
3460
|
+
Ok(i) | Err(i) => Some(self.all[i].1),
|
3461
|
+
}
|
3462
|
+
}
|
3463
|
+
}
|