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,2008 @@
|
|
1
|
+
#!/usr/bin/python
|
2
|
+
|
3
|
+
# Copyright Mozilla Foundation. See the COPYRIGHT
|
4
|
+
# file at the top-level directory of this distribution.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
8
|
+
# <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
9
|
+
# option. This file may not be copied, modified, or distributed
|
10
|
+
# except according to those terms.
|
11
|
+
|
12
|
+
import json
|
13
|
+
import subprocess
|
14
|
+
import sys
|
15
|
+
import os.path
|
16
|
+
|
17
|
+
if (not os.path.isfile("../encoding/encodings.json")) or (not os.path.isfile("../encoding/indexes.json")):
|
18
|
+
sys.stderr.write("This script needs a clone of https://github.com/whatwg/encoding/ (preferably at revision f381389) next to the encoding_rs directory.\n");
|
19
|
+
sys.exit(-1)
|
20
|
+
|
21
|
+
if not os.path.isfile("../encoding_c/src/lib.rs"):
|
22
|
+
sys.stderr.write("This script also writes the generated parts of the encoding_c crate and needs a clone of https://github.com/hsivonen/encoding_c next to the encoding_rs directory.\n");
|
23
|
+
sys.exit(-1)
|
24
|
+
|
25
|
+
if not os.path.isfile("../codepage/src/lib.rs"):
|
26
|
+
sys.stderr.write("This script also writes the generated parts of the codepage crate and needs a clone of https://github.com/hsivonen/codepage next to the encoding_rs directory.\n");
|
27
|
+
sys.exit(-1)
|
28
|
+
|
29
|
+
def cmp_from_end(one, other):
|
30
|
+
c = cmp(len(one), len(other))
|
31
|
+
if c != 0:
|
32
|
+
return c
|
33
|
+
i = len(one) - 1
|
34
|
+
while i >= 0:
|
35
|
+
c = cmp(one[i], other[i])
|
36
|
+
if c != 0:
|
37
|
+
return c
|
38
|
+
i -= 1
|
39
|
+
return 0
|
40
|
+
|
41
|
+
|
42
|
+
class Label:
|
43
|
+
def __init__(self, label, preferred):
|
44
|
+
self.label = label
|
45
|
+
self.preferred = preferred
|
46
|
+
def __cmp__(self, other):
|
47
|
+
return cmp_from_end(self.label, other.label)
|
48
|
+
|
49
|
+
class CodePage:
|
50
|
+
def __init__(self, code_page, preferred):
|
51
|
+
self.code_page = code_page
|
52
|
+
self.preferred = preferred
|
53
|
+
def __cmp__(self, other):
|
54
|
+
return self.code_page, other.code_page
|
55
|
+
|
56
|
+
def static_u16_table(name, data):
|
57
|
+
data_file.write('''pub static %s: [u16; %d] = [
|
58
|
+
''' % (name, len(data)))
|
59
|
+
|
60
|
+
for i in xrange(len(data)):
|
61
|
+
data_file.write('0x%04X,\n' % data[i])
|
62
|
+
|
63
|
+
data_file.write('''];
|
64
|
+
|
65
|
+
''')
|
66
|
+
|
67
|
+
def static_u16_table_from_indexable(name, data, item, feature):
|
68
|
+
data_file.write('''#[cfg(all(
|
69
|
+
feature = "less-slow-%s",
|
70
|
+
not(feature = "fast-%s")
|
71
|
+
))]
|
72
|
+
static %s: [u16; %d] = [
|
73
|
+
''' % (feature, feature, name, len(data)))
|
74
|
+
|
75
|
+
for i in xrange(len(data)):
|
76
|
+
data_file.write('0x%04X,\n' % data[i][item])
|
77
|
+
|
78
|
+
data_file.write('''];
|
79
|
+
|
80
|
+
''')
|
81
|
+
|
82
|
+
def static_u8_pair_table_from_indexable(name, data, item, feature):
|
83
|
+
data_file.write('''#[cfg(all(
|
84
|
+
feature = "less-slow-%s",
|
85
|
+
not(feature = "fast-%s")
|
86
|
+
))]
|
87
|
+
static %s: [[u8; 2]; %d] = [
|
88
|
+
''' % (feature, feature, name, len(data)))
|
89
|
+
|
90
|
+
for i in xrange(len(data)):
|
91
|
+
data_file.write('[0x%02X, 0x%02X],\n' % data[i][item])
|
92
|
+
|
93
|
+
data_file.write('''];
|
94
|
+
|
95
|
+
''')
|
96
|
+
|
97
|
+
def static_u8_pair_table(name, data, feature):
|
98
|
+
data_file.write('''#[cfg(feature = "%s")]
|
99
|
+
static %s: [[u8; 2]; %d] = [
|
100
|
+
''' % (feature, name, len(data)))
|
101
|
+
|
102
|
+
for i in xrange(len(data)):
|
103
|
+
pair = data[i]
|
104
|
+
if not pair:
|
105
|
+
pair = (0, 0)
|
106
|
+
data_file.write('[0x%02X, 0x%02X],\n' % pair)
|
107
|
+
|
108
|
+
data_file.write('''];
|
109
|
+
|
110
|
+
''')
|
111
|
+
|
112
|
+
preferred = []
|
113
|
+
|
114
|
+
dom = []
|
115
|
+
|
116
|
+
labels = []
|
117
|
+
|
118
|
+
data = json.load(open("../encoding/encodings.json", "r"))
|
119
|
+
|
120
|
+
indexes = json.load(open("../encoding/indexes.json", "r"))
|
121
|
+
|
122
|
+
single_byte = []
|
123
|
+
|
124
|
+
multi_byte = []
|
125
|
+
|
126
|
+
def to_camel_name(name):
|
127
|
+
if name == u"iso-8859-8-i":
|
128
|
+
return u"Iso8I"
|
129
|
+
if name.startswith(u"iso-8859-"):
|
130
|
+
return name.replace(u"iso-8859-", u"Iso")
|
131
|
+
return name.title().replace(u"X-", u"").replace(u"-", u"").replace(u"_", u"")
|
132
|
+
|
133
|
+
def to_constant_name(name):
|
134
|
+
return name.replace(u"-", u"_").upper()
|
135
|
+
|
136
|
+
def to_snake_name(name):
|
137
|
+
return name.replace(u"-", u"_").lower()
|
138
|
+
|
139
|
+
def to_dom_name(name):
|
140
|
+
return name
|
141
|
+
|
142
|
+
# Guestimate based on
|
143
|
+
# https://w3techs.com/technologies/overview/character_encoding/all
|
144
|
+
# whose methodology is known to be bogus, but the results are credible for
|
145
|
+
# this purpose. UTF-16LE lifted up due to prevalence on Windows and
|
146
|
+
# "ANSI codepages" prioritized.
|
147
|
+
encodings_by_code_page_frequency = [
|
148
|
+
"UTF-8",
|
149
|
+
"UTF-16LE",
|
150
|
+
"windows-1252",
|
151
|
+
"windows-1251",
|
152
|
+
"GBK",
|
153
|
+
"Shift_JIS",
|
154
|
+
"EUC-KR",
|
155
|
+
"windows-1250",
|
156
|
+
"windows-1256",
|
157
|
+
"windows-1254",
|
158
|
+
"Big5",
|
159
|
+
"windows-874",
|
160
|
+
"windows-1255",
|
161
|
+
"windows-1253",
|
162
|
+
"windows-1257",
|
163
|
+
"windows-1258",
|
164
|
+
"EUC-JP",
|
165
|
+
"ISO-8859-2",
|
166
|
+
"ISO-8859-15",
|
167
|
+
"ISO-8859-7",
|
168
|
+
"KOI8-R",
|
169
|
+
"gb18030",
|
170
|
+
"ISO-8859-5",
|
171
|
+
"ISO-8859-8-I",
|
172
|
+
"ISO-8859-4",
|
173
|
+
"ISO-8859-6",
|
174
|
+
"ISO-2022-JP",
|
175
|
+
"KOI8-U",
|
176
|
+
"ISO-8859-13",
|
177
|
+
"ISO-8859-3",
|
178
|
+
"UTF-16BE",
|
179
|
+
"IBM866",
|
180
|
+
"ISO-8859-10",
|
181
|
+
"ISO-8859-8",
|
182
|
+
"macintosh",
|
183
|
+
"x-mac-cyrillic",
|
184
|
+
"ISO-8859-14",
|
185
|
+
"ISO-8859-16",
|
186
|
+
]
|
187
|
+
|
188
|
+
encodings_by_code_page = {
|
189
|
+
932: "Shift_JIS",
|
190
|
+
936: "GBK",
|
191
|
+
949: "EUC-KR",
|
192
|
+
950: "Big5",
|
193
|
+
866: "IBM866",
|
194
|
+
874: "windows-874",
|
195
|
+
1200: "UTF-16LE",
|
196
|
+
1201: "UTF-16BE",
|
197
|
+
1250: "windows-1250",
|
198
|
+
1251: "windows-1251",
|
199
|
+
1252: "windows-1252",
|
200
|
+
1253: "windows-1253",
|
201
|
+
1254: "windows-1254",
|
202
|
+
1255: "windows-1255",
|
203
|
+
1256: "windows-1256",
|
204
|
+
1257: "windows-1257",
|
205
|
+
1258: "windows-1258",
|
206
|
+
10000: "macintosh",
|
207
|
+
10017: "x-mac-cyrillic",
|
208
|
+
20866: "KOI8-R",
|
209
|
+
20932: "EUC-JP",
|
210
|
+
21866: "KOI8-U",
|
211
|
+
28592: "ISO-8859-2",
|
212
|
+
28593: "ISO-8859-3",
|
213
|
+
28594: "ISO-8859-4",
|
214
|
+
28595: "ISO-8859-5",
|
215
|
+
28596: "ISO-8859-6",
|
216
|
+
28597: "ISO-8859-7",
|
217
|
+
28598: "ISO-8859-8",
|
218
|
+
28600: "ISO-8859-10",
|
219
|
+
28603: "ISO-8859-13",
|
220
|
+
28604: "ISO-8859-14",
|
221
|
+
28605: "ISO-8859-15",
|
222
|
+
28606: "ISO-8859-16",
|
223
|
+
38598: "ISO-8859-8-I",
|
224
|
+
50221: "ISO-2022-JP",
|
225
|
+
54936: "gb18030",
|
226
|
+
65001: "UTF-8",
|
227
|
+
}
|
228
|
+
|
229
|
+
code_pages_by_encoding = {}
|
230
|
+
|
231
|
+
for code_page, encoding in encodings_by_code_page.iteritems():
|
232
|
+
code_pages_by_encoding[encoding] = code_page
|
233
|
+
|
234
|
+
encoding_by_alias_code_page = {
|
235
|
+
951: "Big5",
|
236
|
+
10007: "x-mac-cyrillic",
|
237
|
+
20936: "GBK",
|
238
|
+
20949: "EUC-KR",
|
239
|
+
21010: "UTF-16LE", # Undocumented; needed by calamine for Excel compat
|
240
|
+
28591: "windows-1252",
|
241
|
+
28599: "windows-1254",
|
242
|
+
28601: "windows-874",
|
243
|
+
50220: "ISO-2022-JP",
|
244
|
+
50222: "ISO-2022-JP",
|
245
|
+
50225: "replacement", # ISO-2022-KR
|
246
|
+
50227: "replacement", # ISO-2022-CN
|
247
|
+
51949: "EUC-JP",
|
248
|
+
51936: "GBK",
|
249
|
+
51949: "EUC-KR",
|
250
|
+
52936: "replacement", # HZ
|
251
|
+
}
|
252
|
+
|
253
|
+
code_pages = []
|
254
|
+
|
255
|
+
for name in encodings_by_code_page_frequency:
|
256
|
+
code_pages.append(code_pages_by_encoding[name])
|
257
|
+
|
258
|
+
encodings_by_code_page.update(encoding_by_alias_code_page)
|
259
|
+
|
260
|
+
temp_keys = encodings_by_code_page.keys()
|
261
|
+
temp_keys.sort()
|
262
|
+
for code_page in temp_keys:
|
263
|
+
if not code_page in code_pages:
|
264
|
+
code_pages.append(code_page)
|
265
|
+
|
266
|
+
# The position in the index (0 is the first index entry,
|
267
|
+
# i.e. byte value 0x80) that starts the longest run of
|
268
|
+
# consecutive code points. Must not be in the first
|
269
|
+
# quadrant. If the character to be encoded is not in this
|
270
|
+
# run, the part of the index after the run is searched
|
271
|
+
# forward. Then the part of the index from 32 to the start
|
272
|
+
# of the run. The first quadrant is searched last.
|
273
|
+
#
|
274
|
+
# If there is no obviously most useful longest run,
|
275
|
+
# the index here is just used to affect the search order.
|
276
|
+
start_of_longest_run_in_single_byte = {
|
277
|
+
"IBM866": 96, # 0 would be longest, but we don't want to start in the first quadrant
|
278
|
+
"windows-874": 33,
|
279
|
+
"windows-1250": 92,
|
280
|
+
"windows-1251": 64,
|
281
|
+
"windows-1252": 32,
|
282
|
+
"windows-1253": 83,
|
283
|
+
"windows-1254": 95,
|
284
|
+
"windows-1255": 96,
|
285
|
+
"windows-1256": 65,
|
286
|
+
"windows-1257": 95, # not actually longest
|
287
|
+
"windows-1258": 95, # not actually longest
|
288
|
+
"macintosh": 106, # useless
|
289
|
+
"x-mac-cyrillic": 96,
|
290
|
+
"KOI8-R": 64, # not actually longest
|
291
|
+
"KOI8-U": 64, # not actually longest
|
292
|
+
"ISO-8859-2": 95, # not actually longest
|
293
|
+
"ISO-8859-3": 95, # not actually longest
|
294
|
+
"ISO-8859-4": 95, # not actually longest
|
295
|
+
"ISO-8859-5": 46,
|
296
|
+
"ISO-8859-6": 65,
|
297
|
+
"ISO-8859-7": 83,
|
298
|
+
"ISO-8859-8": 96,
|
299
|
+
"ISO-8859-10": 90, # not actually longest
|
300
|
+
"ISO-8859-13": 95, # not actually longest
|
301
|
+
"ISO-8859-14": 95,
|
302
|
+
"ISO-8859-15": 63,
|
303
|
+
"ISO-8859-16": 95, # not actually longest
|
304
|
+
}
|
305
|
+
|
306
|
+
#
|
307
|
+
|
308
|
+
for group in data:
|
309
|
+
if group["heading"] == "Legacy single-byte encodings":
|
310
|
+
single_byte = group["encodings"]
|
311
|
+
else:
|
312
|
+
multi_byte.extend(group["encodings"])
|
313
|
+
for encoding in group["encodings"]:
|
314
|
+
preferred.append(encoding["name"])
|
315
|
+
for label in encoding["labels"]:
|
316
|
+
labels.append(Label(label, encoding["name"]))
|
317
|
+
|
318
|
+
for name in preferred:
|
319
|
+
dom.append(to_dom_name(name))
|
320
|
+
|
321
|
+
preferred.sort()
|
322
|
+
labels.sort()
|
323
|
+
dom.sort(cmp=cmp_from_end)
|
324
|
+
|
325
|
+
longest_label_length = 0
|
326
|
+
longest_name_length = 0
|
327
|
+
longest_label = None
|
328
|
+
longest_name = None
|
329
|
+
|
330
|
+
for name in preferred:
|
331
|
+
if len(name) > longest_name_length:
|
332
|
+
longest_name_length = len(name)
|
333
|
+
longest_name = name
|
334
|
+
|
335
|
+
for label in labels:
|
336
|
+
if len(label.label) > longest_label_length:
|
337
|
+
longest_label_length = len(label.label)
|
338
|
+
longest_label = label.label
|
339
|
+
|
340
|
+
def longest_run_for_single_byte(name):
|
341
|
+
if name == u"ISO-8859-8-I":
|
342
|
+
name = u"ISO-8859-8"
|
343
|
+
index = indexes[name.lower()]
|
344
|
+
run_byte_offset = start_of_longest_run_in_single_byte[name]
|
345
|
+
run_bmp_offset = index[run_byte_offset]
|
346
|
+
previous_code_point = run_bmp_offset
|
347
|
+
run_length = 1
|
348
|
+
while True:
|
349
|
+
i = run_byte_offset + run_length
|
350
|
+
if i == len(index):
|
351
|
+
break
|
352
|
+
code_point = index[i]
|
353
|
+
if previous_code_point + 1 != code_point:
|
354
|
+
break
|
355
|
+
previous_code_point = code_point
|
356
|
+
run_length += 1
|
357
|
+
return (run_bmp_offset, run_byte_offset, run_length)
|
358
|
+
|
359
|
+
def is_single_byte(name):
|
360
|
+
for encoding in single_byte:
|
361
|
+
if name == encoding["name"]:
|
362
|
+
return True
|
363
|
+
return False
|
364
|
+
|
365
|
+
def read_non_generated(path):
|
366
|
+
partially_generated_file = open(path, "r")
|
367
|
+
full = partially_generated_file.read()
|
368
|
+
partially_generated_file.close()
|
369
|
+
|
370
|
+
generated_begin = "// BEGIN GENERATED CODE. PLEASE DO NOT EDIT."
|
371
|
+
generated_end = "// END GENERATED CODE"
|
372
|
+
|
373
|
+
generated_begin_index = full.find(generated_begin)
|
374
|
+
if generated_begin_index < 0:
|
375
|
+
sys.stderr.write("Can't find generated code start marker in %s. Exiting.\n" % path)
|
376
|
+
sys.exit(-1)
|
377
|
+
generated_end_index = full.find(generated_end)
|
378
|
+
if generated_end_index < 0:
|
379
|
+
sys.stderr.write("Can't find generated code end marker in %s. Exiting.\n" % path)
|
380
|
+
sys.exit(-1)
|
381
|
+
|
382
|
+
return (full[0:generated_begin_index + len(generated_begin)],
|
383
|
+
full[generated_end_index:])
|
384
|
+
|
385
|
+
(lib_rs_begin, lib_rs_end) = read_non_generated("src/lib.rs")
|
386
|
+
|
387
|
+
label_file = open("src/lib.rs", "w")
|
388
|
+
|
389
|
+
label_file.write(lib_rs_begin)
|
390
|
+
label_file.write("""
|
391
|
+
// Instead, please regenerate using generate-encoding-data.py
|
392
|
+
|
393
|
+
const LONGEST_LABEL_LENGTH: usize = %d; // %s
|
394
|
+
|
395
|
+
""" % (longest_label_length, longest_label))
|
396
|
+
|
397
|
+
for name in preferred:
|
398
|
+
variant = None
|
399
|
+
if is_single_byte(name):
|
400
|
+
(run_bmp_offset, run_byte_offset, run_length) = longest_run_for_single_byte(name)
|
401
|
+
variant = "SingleByte(&data::SINGLE_BYTE_DATA.%s, 0x%04X, %d, %d)" % (to_snake_name(u"iso-8859-8" if name == u"ISO-8859-8-I" else name), run_bmp_offset, run_byte_offset, run_length)
|
402
|
+
else:
|
403
|
+
variant = to_camel_name(name)
|
404
|
+
|
405
|
+
docfile = open("doc/%s.txt" % name, "r")
|
406
|
+
doctext = docfile.read()
|
407
|
+
docfile.close()
|
408
|
+
|
409
|
+
label_file.write('''/// The initializer for the [%s](static.%s.html) encoding.
|
410
|
+
///
|
411
|
+
/// For use only for taking the address of this form when
|
412
|
+
/// Rust prohibits the use of the non-`_INIT` form directly,
|
413
|
+
/// such as in initializers of other `static`s. If in doubt,
|
414
|
+
/// use the corresponding non-`_INIT` reference-typed `static`.
|
415
|
+
///
|
416
|
+
/// This part of the public API will go away if Rust changes
|
417
|
+
/// to make the referent of `pub const FOO: &'static Encoding`
|
418
|
+
/// unique cross-crate or if Rust starts allowing static arrays
|
419
|
+
/// to be initialized with `pub static FOO: &'static Encoding`
|
420
|
+
/// items.
|
421
|
+
pub static %s_INIT: Encoding = Encoding {
|
422
|
+
name: "%s",
|
423
|
+
variant: VariantEncoding::%s,
|
424
|
+
};
|
425
|
+
|
426
|
+
/// The %s encoding.
|
427
|
+
///
|
428
|
+
%s///
|
429
|
+
/// This will change from `static` to `const` if Rust changes
|
430
|
+
/// to make the referent of `pub const FOO: &'static Encoding`
|
431
|
+
/// unique cross-crate, so don't take the address of this
|
432
|
+
/// `static`.
|
433
|
+
pub static %s: &'static Encoding = &%s_INIT;
|
434
|
+
|
435
|
+
''' % (to_dom_name(name), to_constant_name(name), to_constant_name(name), to_dom_name(name), variant, to_dom_name(name), doctext, to_constant_name(name), to_constant_name(name)))
|
436
|
+
|
437
|
+
label_file.write("""static LABELS_SORTED: [&'static str; %d] = [
|
438
|
+
""" % len(labels))
|
439
|
+
|
440
|
+
for label in labels:
|
441
|
+
label_file.write('''"%s",\n''' % label.label)
|
442
|
+
|
443
|
+
label_file.write("""];
|
444
|
+
|
445
|
+
static ENCODINGS_IN_LABEL_SORT: [&'static Encoding; %d] = [
|
446
|
+
""" % len(labels))
|
447
|
+
|
448
|
+
for label in labels:
|
449
|
+
label_file.write('''&%s_INIT,\n''' % to_constant_name(label.preferred))
|
450
|
+
|
451
|
+
label_file.write('''];
|
452
|
+
|
453
|
+
''')
|
454
|
+
label_file.write(lib_rs_end)
|
455
|
+
label_file.close()
|
456
|
+
|
457
|
+
label_test_file = open("src/test_labels_names.rs", "w")
|
458
|
+
label_test_file.write('''// Any copyright to the test code below this comment is dedicated to the
|
459
|
+
// Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
|
460
|
+
|
461
|
+
// THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
|
462
|
+
// Instead, please regenerate using generate-encoding-data.py
|
463
|
+
|
464
|
+
use super::*;
|
465
|
+
|
466
|
+
#[test]
|
467
|
+
fn test_all_labels() {
|
468
|
+
''')
|
469
|
+
|
470
|
+
for label in labels:
|
471
|
+
label_test_file.write('''assert_eq!(Encoding::for_label(b"%s"), Some(%s));\n''' % (label.label, to_constant_name(label.preferred)))
|
472
|
+
|
473
|
+
label_test_file.write('''}
|
474
|
+
''')
|
475
|
+
label_test_file.close()
|
476
|
+
|
477
|
+
def null_to_zero(code_point):
|
478
|
+
if not code_point:
|
479
|
+
code_point = 0
|
480
|
+
return code_point
|
481
|
+
|
482
|
+
(data_rs_begin, data_rs_end) = read_non_generated("src/data.rs")
|
483
|
+
|
484
|
+
data_file = open("src/data.rs", "w")
|
485
|
+
data_file.write(data_rs_begin)
|
486
|
+
data_file.write('''
|
487
|
+
// Instead, please regenerate using generate-encoding-data.py
|
488
|
+
|
489
|
+
#[repr(align(64))] // Align to cache lines
|
490
|
+
pub struct SingleByteData {
|
491
|
+
''')
|
492
|
+
|
493
|
+
# Single-byte
|
494
|
+
|
495
|
+
for encoding in single_byte:
|
496
|
+
name = encoding["name"]
|
497
|
+
if name == u"ISO-8859-8-I":
|
498
|
+
continue
|
499
|
+
|
500
|
+
data_file.write(''' pub %s: [u16; 128],
|
501
|
+
''' % to_snake_name(name))
|
502
|
+
|
503
|
+
data_file.write('''}
|
504
|
+
|
505
|
+
pub static SINGLE_BYTE_DATA: SingleByteData = SingleByteData {
|
506
|
+
''')
|
507
|
+
|
508
|
+
for encoding in single_byte:
|
509
|
+
name = encoding["name"]
|
510
|
+
if name == u"ISO-8859-8-I":
|
511
|
+
continue
|
512
|
+
|
513
|
+
data_file.write(''' %s: [
|
514
|
+
''' % to_snake_name(name))
|
515
|
+
|
516
|
+
for code_point in indexes[name.lower()]:
|
517
|
+
data_file.write('0x%04X,\n' % null_to_zero(code_point))
|
518
|
+
|
519
|
+
data_file.write('''],
|
520
|
+
''')
|
521
|
+
|
522
|
+
data_file.write('''};
|
523
|
+
|
524
|
+
''')
|
525
|
+
|
526
|
+
# Big5
|
527
|
+
|
528
|
+
index = indexes["big5"]
|
529
|
+
|
530
|
+
astralness = []
|
531
|
+
low_bits = []
|
532
|
+
|
533
|
+
for code_point in index[942:19782]:
|
534
|
+
if code_point:
|
535
|
+
astralness.append(1 if code_point > 0xFFFF else 0)
|
536
|
+
low_bits.append(code_point & 0xFFFF)
|
537
|
+
else:
|
538
|
+
astralness.append(0)
|
539
|
+
low_bits.append(0)
|
540
|
+
|
541
|
+
# pad length to multiple of 32
|
542
|
+
for j in xrange(32 - (len(astralness) % 32)):
|
543
|
+
astralness.append(0)
|
544
|
+
|
545
|
+
data_file.write('''#[cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
|
546
|
+
static BIG5_ASTRALNESS: [u32; %d] = [
|
547
|
+
''' % (len(astralness) / 32))
|
548
|
+
|
549
|
+
i = 0
|
550
|
+
while i < len(astralness):
|
551
|
+
accu = 0
|
552
|
+
for j in xrange(32):
|
553
|
+
accu |= astralness[i + j] << j
|
554
|
+
data_file.write('0x%08X,\n' % accu)
|
555
|
+
i += 32
|
556
|
+
|
557
|
+
data_file.write('''];
|
558
|
+
|
559
|
+
''')
|
560
|
+
|
561
|
+
static_u16_table("BIG5_LOW_BITS", low_bits)
|
562
|
+
|
563
|
+
# Encoder table for Level 1 Hanzi
|
564
|
+
# Note: If we were OK with doubling this table, we
|
565
|
+
# could use a directly-indexable table instead...
|
566
|
+
level1_hanzi_index = index[5495:10896]
|
567
|
+
level1_hanzi_pairs = []
|
568
|
+
for i in xrange(len(level1_hanzi_index)):
|
569
|
+
hanzi_lead = (i / 157) + 0xA4
|
570
|
+
hanzi_trail = (i % 157)
|
571
|
+
hanzi_trail += 0x40 if hanzi_trail < 0x3F else 0x62
|
572
|
+
level1_hanzi_pairs.append((level1_hanzi_index[i], (hanzi_lead, hanzi_trail)))
|
573
|
+
level1_hanzi_pairs.append((0x4E5A, (0xC8, 0x7B)))
|
574
|
+
level1_hanzi_pairs.append((0x5202, (0xC8, 0x7D)))
|
575
|
+
level1_hanzi_pairs.append((0x9FB0, (0xC8, 0xA1)))
|
576
|
+
level1_hanzi_pairs.append((0x5188, (0xC8, 0xA2)))
|
577
|
+
level1_hanzi_pairs.append((0x9FB1, (0xC8, 0xA3)))
|
578
|
+
level1_hanzi_pairs.sort(key=lambda x: x[0])
|
579
|
+
|
580
|
+
static_u16_table_from_indexable("BIG5_LEVEL1_HANZI_CODE_POINTS", level1_hanzi_pairs, 0, "big5-hanzi-encode")
|
581
|
+
static_u8_pair_table_from_indexable("BIG5_LEVEL1_HANZI_BYTES", level1_hanzi_pairs, 1, "big5-hanzi-encode")
|
582
|
+
|
583
|
+
# Fast Unified Ideograph encode
|
584
|
+
big5_unified_ideograph_bytes = [None] * (0x9FCC - 0x4E00)
|
585
|
+
for row in xrange(0x7E - 0x20):
|
586
|
+
for column in xrange(157):
|
587
|
+
pointer = 5024 + column + (row * 157)
|
588
|
+
code_point = index[pointer]
|
589
|
+
if code_point and code_point >= 0x4E00 and code_point <= 0x9FCB:
|
590
|
+
unified_offset = code_point - 0x4E00
|
591
|
+
unified_lead = 0xA1 + row
|
592
|
+
unified_trail = (0x40 if column < 0x3F else 0x62) + column
|
593
|
+
if code_point == 0x5341 or code_point == 0x5345 or not big5_unified_ideograph_bytes[unified_offset]:
|
594
|
+
big5_unified_ideograph_bytes[unified_offset] = (unified_lead, unified_trail)
|
595
|
+
|
596
|
+
static_u8_pair_table("BIG5_UNIFIED_IDEOGRAPH_BYTES", big5_unified_ideograph_bytes, "fast-big5-hanzi-encode")
|
597
|
+
|
598
|
+
# JIS0208
|
599
|
+
|
600
|
+
index = indexes["jis0208"]
|
601
|
+
|
602
|
+
# JIS 0208 Level 1 Kanji
|
603
|
+
static_u16_table("JIS0208_LEVEL1_KANJI", index[1410:4375])
|
604
|
+
|
605
|
+
# JIS 0208 Level 2 Kanji and Additional Kanji
|
606
|
+
static_u16_table("JIS0208_LEVEL2_AND_ADDITIONAL_KANJI", index[4418:7808])
|
607
|
+
|
608
|
+
# IBM Kanji
|
609
|
+
static_u16_table("IBM_KANJI", index[8272:8632])
|
610
|
+
|
611
|
+
# Check that the other instance is the same
|
612
|
+
if index[8272:8632] != index[10744:11104]:
|
613
|
+
raise Error()
|
614
|
+
|
615
|
+
# JIS 0208 symbols (all non-Kanji, non-range items)
|
616
|
+
symbol_index = []
|
617
|
+
symbol_triples = []
|
618
|
+
pointers_to_scan = [
|
619
|
+
(0, 188),
|
620
|
+
(658, 691),
|
621
|
+
(1159, 1221),
|
622
|
+
]
|
623
|
+
in_run = False
|
624
|
+
run_start_pointer = 0
|
625
|
+
run_start_array_index = 0
|
626
|
+
for (start, end) in pointers_to_scan:
|
627
|
+
for i in range(start, end):
|
628
|
+
code_point = index[i]
|
629
|
+
if in_run:
|
630
|
+
if code_point:
|
631
|
+
symbol_index.append(code_point)
|
632
|
+
else:
|
633
|
+
symbol_triples.append(run_start_pointer)
|
634
|
+
symbol_triples.append(i - run_start_pointer)
|
635
|
+
symbol_triples.append(run_start_array_index)
|
636
|
+
in_run = False
|
637
|
+
else:
|
638
|
+
if code_point:
|
639
|
+
in_run = True
|
640
|
+
run_start_pointer = i
|
641
|
+
run_start_array_index = len(symbol_index)
|
642
|
+
symbol_index.append(code_point)
|
643
|
+
if in_run:
|
644
|
+
symbol_triples.append(run_start_pointer)
|
645
|
+
symbol_triples.append(end - run_start_pointer)
|
646
|
+
symbol_triples.append(run_start_array_index)
|
647
|
+
in_run = False
|
648
|
+
if in_run:
|
649
|
+
raise Error()
|
650
|
+
|
651
|
+
# Now add manually the two overlapping slices of
|
652
|
+
# index from the NEC/IBM extensions.
|
653
|
+
run_start_array_index = len(symbol_index)
|
654
|
+
symbol_index.extend(index[10736:10744])
|
655
|
+
# Later
|
656
|
+
symbol_triples.append(10736)
|
657
|
+
symbol_triples.append(8)
|
658
|
+
symbol_triples.append(run_start_array_index)
|
659
|
+
# Earlier
|
660
|
+
symbol_triples.append(8644)
|
661
|
+
symbol_triples.append(4)
|
662
|
+
symbol_triples.append(run_start_array_index)
|
663
|
+
|
664
|
+
static_u16_table("JIS0208_SYMBOLS", symbol_index)
|
665
|
+
static_u16_table("JIS0208_SYMBOL_TRIPLES", symbol_triples)
|
666
|
+
|
667
|
+
# Write down the magic numbers needed when preferring the earlier case
|
668
|
+
data_file.write('''const IBM_SYMBOL_START: usize = %d;''' % (run_start_array_index + 1))
|
669
|
+
data_file.write('''const IBM_SYMBOL_END: usize = %d;''' % (run_start_array_index + 4))
|
670
|
+
data_file.write('''const IBM_SYMBOL_POINTER_START: usize = %d;''' % 8645)
|
671
|
+
|
672
|
+
# JIS 0208 ranges (excluding kana)
|
673
|
+
range_triples = []
|
674
|
+
pointers_to_scan = [
|
675
|
+
(188, 281),
|
676
|
+
(470, 657),
|
677
|
+
(1128, 1159),
|
678
|
+
(8634, 8644),
|
679
|
+
(10716, 10736),
|
680
|
+
]
|
681
|
+
in_run = False
|
682
|
+
run_start_pointer = 0
|
683
|
+
run_start_code_point = 0
|
684
|
+
previous_code_point = 0
|
685
|
+
for (start, end) in pointers_to_scan:
|
686
|
+
for i in range(start, end):
|
687
|
+
code_point = index[i]
|
688
|
+
if in_run:
|
689
|
+
if code_point:
|
690
|
+
if previous_code_point + 1 != code_point:
|
691
|
+
range_triples.append(run_start_pointer)
|
692
|
+
range_triples.append(i - run_start_pointer)
|
693
|
+
range_triples.append(run_start_code_point)
|
694
|
+
run_start_pointer = i
|
695
|
+
run_start_code_point = code_point
|
696
|
+
previous_code_point = code_point
|
697
|
+
else:
|
698
|
+
range_triples.append(run_start_pointer)
|
699
|
+
range_triples.append(i - run_start_pointer)
|
700
|
+
range_triples.append(run_start_code_point)
|
701
|
+
run_start_pointer = 0
|
702
|
+
run_start_code_point = 0
|
703
|
+
previous_code_point = 0
|
704
|
+
in_run = False
|
705
|
+
else:
|
706
|
+
if code_point:
|
707
|
+
in_run = True
|
708
|
+
run_start_pointer = i
|
709
|
+
run_start_code_point = code_point
|
710
|
+
previous_code_point = code_point
|
711
|
+
if in_run:
|
712
|
+
range_triples.append(run_start_pointer)
|
713
|
+
range_triples.append(end - run_start_pointer)
|
714
|
+
range_triples.append(run_start_code_point)
|
715
|
+
run_start_pointer = 0
|
716
|
+
run_start_code_point = 0
|
717
|
+
previous_code_point = 0
|
718
|
+
in_run = False
|
719
|
+
if in_run:
|
720
|
+
raise Error()
|
721
|
+
|
722
|
+
static_u16_table("JIS0208_RANGE_TRIPLES", range_triples)
|
723
|
+
|
724
|
+
# Encoder table for Level 1 Kanji
|
725
|
+
# Note: If we were OK with 30 KB more footprint, we
|
726
|
+
# could use a directly-indexable table instead...
|
727
|
+
level1_kanji_index = index[1410:4375]
|
728
|
+
level1_kanji_pairs = []
|
729
|
+
for i in xrange(len(level1_kanji_index)):
|
730
|
+
pointer = 1410 + i
|
731
|
+
(lead, trail) = divmod(pointer, 188)
|
732
|
+
lead += 0x81 if lead < 0x1F else 0xC1
|
733
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
734
|
+
level1_kanji_pairs.append((level1_kanji_index[i], (lead, trail)))
|
735
|
+
level1_kanji_pairs.sort(key=lambda x: x[0])
|
736
|
+
|
737
|
+
static_u16_table_from_indexable("JIS0208_LEVEL1_KANJI_CODE_POINTS", level1_kanji_pairs, 0, "kanji-encode")
|
738
|
+
static_u8_pair_table_from_indexable("JIS0208_LEVEL1_KANJI_SHIFT_JIS_BYTES", level1_kanji_pairs, 1, "kanji-encode")
|
739
|
+
|
740
|
+
# Fast encoder table for Kanji
|
741
|
+
kanji_bytes = [None] * (0x9FA1 - 0x4E00)
|
742
|
+
for pointer in xrange(len(index)):
|
743
|
+
code_point = index[pointer]
|
744
|
+
if code_point and code_point >= 0x4E00 and code_point <= 0x9FA0:
|
745
|
+
(lead, trail) = divmod(pointer, 188)
|
746
|
+
lead += 0x81 if lead < 0x1F else 0xC1
|
747
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
748
|
+
# unset the high bit of lead if IBM Kanji
|
749
|
+
if pointer >= 8272:
|
750
|
+
lead = lead & 0x7F
|
751
|
+
kanji_bytes[code_point - 0x4E00] = (lead, trail)
|
752
|
+
|
753
|
+
static_u8_pair_table("JIS0208_KANJI_BYTES", kanji_bytes, "fast-kanji-encode")
|
754
|
+
|
755
|
+
# ISO-2022-JP half-width katakana
|
756
|
+
|
757
|
+
# index is still jis0208
|
758
|
+
half_width_index = indexes["iso-2022-jp-katakana"]
|
759
|
+
|
760
|
+
data_file.write('''pub static ISO_2022_JP_HALF_WIDTH_TRAIL: [u8; %d] = [
|
761
|
+
''' % len(half_width_index))
|
762
|
+
|
763
|
+
for i in xrange(len(half_width_index)):
|
764
|
+
code_point = half_width_index[i]
|
765
|
+
pointer = index.index(code_point)
|
766
|
+
trail = pointer % 94 + 0x21
|
767
|
+
data_file.write('0x%02X,\n' % trail)
|
768
|
+
|
769
|
+
data_file.write('''];
|
770
|
+
|
771
|
+
''')
|
772
|
+
|
773
|
+
# EUC-KR
|
774
|
+
|
775
|
+
index = indexes["euc-kr"]
|
776
|
+
|
777
|
+
# Unicode 1.1 Hangul above the old KS X 1001 block
|
778
|
+
# Compressed form takes 35% of uncompressed form
|
779
|
+
pointers = []
|
780
|
+
offsets = []
|
781
|
+
previous_code_point = 0
|
782
|
+
for row in xrange(0x20):
|
783
|
+
for column in xrange(190):
|
784
|
+
i = column + (row * 190)
|
785
|
+
# Skip the gaps
|
786
|
+
if (column >= 0x1A and column < 0x20) or (column >= 0x3A and column < 0x40):
|
787
|
+
continue
|
788
|
+
code_point = index[i]
|
789
|
+
if previous_code_point > code_point:
|
790
|
+
raise Error()
|
791
|
+
if code_point - previous_code_point != 1:
|
792
|
+
adjustment = 0
|
793
|
+
if column >= 0x40:
|
794
|
+
adjustment = 12
|
795
|
+
elif column >= 0x20:
|
796
|
+
adjustment = 6
|
797
|
+
pointers.append(column - adjustment + (row * (190 - 12)))
|
798
|
+
offsets.append(code_point)
|
799
|
+
previous_code_point = code_point
|
800
|
+
|
801
|
+
static_u16_table("CP949_TOP_HANGUL_POINTERS", pointers)
|
802
|
+
static_u16_table("CP949_TOP_HANGUL_OFFSETS", offsets)
|
803
|
+
|
804
|
+
# Unicode 1.1 Hangul to the left of the old KS X 1001 block
|
805
|
+
pointers = []
|
806
|
+
offsets = []
|
807
|
+
previous_code_point = 0
|
808
|
+
for row in xrange(0x46 - 0x20):
|
809
|
+
for column in xrange(190 - 94):
|
810
|
+
i = 6080 + column + (row * 190)
|
811
|
+
# Skip the gaps
|
812
|
+
if (column >= 0x1A and column < 0x20) or (column >= 0x3A and column < 0x40):
|
813
|
+
continue
|
814
|
+
if i > 13127:
|
815
|
+
# Exclude unassigned on partial last row
|
816
|
+
break
|
817
|
+
code_point = index[i]
|
818
|
+
if previous_code_point > code_point:
|
819
|
+
raise Error()
|
820
|
+
if code_point - previous_code_point != 1:
|
821
|
+
adjustment = 0
|
822
|
+
if column >= 0x40:
|
823
|
+
adjustment = 12
|
824
|
+
elif column >= 0x20:
|
825
|
+
adjustment = 6
|
826
|
+
pointers.append(column - adjustment + (row * (190 - 94 - 12)))
|
827
|
+
offsets.append(code_point)
|
828
|
+
previous_code_point = code_point
|
829
|
+
|
830
|
+
static_u16_table("CP949_LEFT_HANGUL_POINTERS", pointers)
|
831
|
+
static_u16_table("CP949_LEFT_HANGUL_OFFSETS", offsets)
|
832
|
+
|
833
|
+
# KS X 1001 Hangul
|
834
|
+
hangul_index = []
|
835
|
+
previous_code_point = 0
|
836
|
+
for row in xrange(0x48 - 0x2F):
|
837
|
+
for column in xrange(94):
|
838
|
+
code_point = index[9026 + column + (row * 190)]
|
839
|
+
if previous_code_point >= code_point:
|
840
|
+
raise Error()
|
841
|
+
hangul_index.append(code_point)
|
842
|
+
previous_code_point = code_point
|
843
|
+
|
844
|
+
static_u16_table("KSX1001_HANGUL", hangul_index)
|
845
|
+
|
846
|
+
# KS X 1001 Hanja
|
847
|
+
hanja_index = []
|
848
|
+
for row in xrange(0x7D - 0x49):
|
849
|
+
for column in xrange(94):
|
850
|
+
hanja_index.append(index[13966 + column + (row * 190)])
|
851
|
+
|
852
|
+
static_u16_table("KSX1001_HANJA", hanja_index)
|
853
|
+
|
854
|
+
# KS X 1001 symbols
|
855
|
+
symbol_index = []
|
856
|
+
for i in range(6176, 6270):
|
857
|
+
symbol_index.append(index[i])
|
858
|
+
for i in range(6366, 6437):
|
859
|
+
symbol_index.append(index[i])
|
860
|
+
|
861
|
+
static_u16_table("KSX1001_SYMBOLS", symbol_index)
|
862
|
+
|
863
|
+
# KS X 1001 Uppercase Latin
|
864
|
+
subindex = []
|
865
|
+
for i in range(7506, 7521):
|
866
|
+
subindex.append(null_to_zero(index[i]))
|
867
|
+
|
868
|
+
static_u16_table("KSX1001_UPPERCASE", subindex)
|
869
|
+
|
870
|
+
# KS X 1001 Lowercase Latin
|
871
|
+
subindex = []
|
872
|
+
for i in range(7696, 7712):
|
873
|
+
subindex.append(index[i])
|
874
|
+
|
875
|
+
static_u16_table("KSX1001_LOWERCASE", subindex)
|
876
|
+
|
877
|
+
# KS X 1001 Box drawing
|
878
|
+
subindex = []
|
879
|
+
for i in range(7126, 7194):
|
880
|
+
subindex.append(index[i])
|
881
|
+
|
882
|
+
static_u16_table("KSX1001_BOX", subindex)
|
883
|
+
|
884
|
+
# KS X 1001 other
|
885
|
+
pointers = []
|
886
|
+
offsets = []
|
887
|
+
previous_code_point = 0
|
888
|
+
for row in xrange(10):
|
889
|
+
for column in xrange(94):
|
890
|
+
i = 6556 + column + (row * 190)
|
891
|
+
code_point = index[i]
|
892
|
+
# Exclude ranges that were processed as lookup tables
|
893
|
+
# or that contain unmapped cells by filling them with
|
894
|
+
# ASCII. Upon encode, ASCII code points will
|
895
|
+
# never appear as the search key.
|
896
|
+
if (i >= 6946 and i <= 6950):
|
897
|
+
code_point = i - 6946
|
898
|
+
elif (i >= 6961 and i <= 6967):
|
899
|
+
code_point = i - 6961
|
900
|
+
elif (i >= 6992 and i <= 6999):
|
901
|
+
code_point = i - 6992
|
902
|
+
elif (i >= 7024 and i <= 7029):
|
903
|
+
code_point = i - 7024
|
904
|
+
elif (i >= 7126 and i <= 7219):
|
905
|
+
code_point = i - 7126
|
906
|
+
elif (i >= 7395 and i <= 7409):
|
907
|
+
code_point = i - 7395
|
908
|
+
elif (i >= 7506 and i <= 7521):
|
909
|
+
code_point = i - 7506
|
910
|
+
elif (i >= 7696 and i <= 7711):
|
911
|
+
code_point = i - 7696
|
912
|
+
elif (i >= 7969 and i <= 7979):
|
913
|
+
code_point = i - 7969
|
914
|
+
elif (i >= 8162 and i <= 8169):
|
915
|
+
code_point = i - 8162
|
916
|
+
elif (i >= 8299 and i <= 8313):
|
917
|
+
code_point = i - 8299
|
918
|
+
elif (i >= 8347 and i <= 8359):
|
919
|
+
code_point = i - 8347
|
920
|
+
if code_point - previous_code_point != 1:
|
921
|
+
pointers.append(column + (row * 94))
|
922
|
+
offsets.append(code_point)
|
923
|
+
previous_code_point = code_point
|
924
|
+
|
925
|
+
static_u16_table("KSX1001_OTHER_POINTERS", pointers)
|
926
|
+
# Omit the last offset, because the end of the last line
|
927
|
+
# is unmapped, so we don't want to look at it.
|
928
|
+
static_u16_table("KSX1001_OTHER_UNSORTED_OFFSETS", offsets[:-1])
|
929
|
+
|
930
|
+
# Fast Hangul and Hanja encode
|
931
|
+
hangul_bytes = [None] * (0xD7A4 - 0xAC00)
|
932
|
+
hanja_unified_bytes = [None] * (0x9F9D - 0x4E00)
|
933
|
+
hanja_compatibility_bytes = [None] * (0xFA0C - 0xF900)
|
934
|
+
for row in xrange(0x7D):
|
935
|
+
for column in xrange(190):
|
936
|
+
pointer = column + (row * 190)
|
937
|
+
code_point = index[pointer]
|
938
|
+
if code_point:
|
939
|
+
lead = 0x81 + row
|
940
|
+
trail = 0x41 + column
|
941
|
+
if code_point >= 0xAC00 and code_point < 0xD7A4:
|
942
|
+
hangul_bytes[code_point - 0xAC00] = (lead, trail)
|
943
|
+
elif code_point >= 0x4E00 and code_point < 0x9F9D:
|
944
|
+
hanja_unified_bytes[code_point - 0x4E00] = (lead, trail)
|
945
|
+
elif code_point >= 0xF900 and code_point < 0xFA0C:
|
946
|
+
hanja_compatibility_bytes[code_point - 0xF900] = (lead, trail)
|
947
|
+
|
948
|
+
static_u8_pair_table("CP949_HANGUL_BYTES", hangul_bytes, "fast-hangul-encode")
|
949
|
+
static_u8_pair_table("KSX1001_UNIFIED_HANJA_BYTES", hanja_unified_bytes, "fast-hanja-encode")
|
950
|
+
static_u8_pair_table("KSX1001_COMPATIBILITY_HANJA_BYTES", hanja_compatibility_bytes, "fast-hanja-encode")
|
951
|
+
|
952
|
+
# JIS 0212
|
953
|
+
|
954
|
+
index = indexes["jis0212"]
|
955
|
+
|
956
|
+
# JIS 0212 Kanji
|
957
|
+
static_u16_table("JIS0212_KANJI", index[1410:7211])
|
958
|
+
|
959
|
+
# JIS 0212 accented (all non-Kanji, non-range items)
|
960
|
+
symbol_index = []
|
961
|
+
symbol_triples = []
|
962
|
+
pointers_to_scan = [
|
963
|
+
(0, 596),
|
964
|
+
(608, 644),
|
965
|
+
(656, 1409),
|
966
|
+
]
|
967
|
+
in_run = False
|
968
|
+
run_start_pointer = 0
|
969
|
+
run_start_array_index = 0
|
970
|
+
for (start, end) in pointers_to_scan:
|
971
|
+
for i in range(start, end):
|
972
|
+
code_point = index[i]
|
973
|
+
if in_run:
|
974
|
+
if code_point:
|
975
|
+
symbol_index.append(code_point)
|
976
|
+
elif index[i + 1]:
|
977
|
+
symbol_index.append(0)
|
978
|
+
else:
|
979
|
+
symbol_triples.append(run_start_pointer)
|
980
|
+
symbol_triples.append(i - run_start_pointer)
|
981
|
+
symbol_triples.append(run_start_array_index)
|
982
|
+
in_run = False
|
983
|
+
else:
|
984
|
+
if code_point:
|
985
|
+
in_run = True
|
986
|
+
run_start_pointer = i
|
987
|
+
run_start_array_index = len(symbol_index)
|
988
|
+
symbol_index.append(code_point)
|
989
|
+
if in_run:
|
990
|
+
symbol_triples.append(run_start_pointer)
|
991
|
+
symbol_triples.append(end - run_start_pointer)
|
992
|
+
symbol_triples.append(run_start_array_index)
|
993
|
+
in_run = False
|
994
|
+
if in_run:
|
995
|
+
raise Error()
|
996
|
+
|
997
|
+
static_u16_table("JIS0212_ACCENTED", symbol_index)
|
998
|
+
static_u16_table("JIS0212_ACCENTED_TRIPLES", symbol_triples)
|
999
|
+
|
1000
|
+
# gb18030
|
1001
|
+
|
1002
|
+
index = indexes["gb18030"]
|
1003
|
+
|
1004
|
+
# Unicode 1.1 ideographs above the old GB2312 block
|
1005
|
+
# Compressed form takes 63% of uncompressed form
|
1006
|
+
pointers = []
|
1007
|
+
offsets = []
|
1008
|
+
previous_code_point = 0
|
1009
|
+
for i in xrange(6080):
|
1010
|
+
code_point = index[i]
|
1011
|
+
if previous_code_point > code_point:
|
1012
|
+
raise Error()
|
1013
|
+
if code_point - previous_code_point != 1:
|
1014
|
+
pointers.append(i)
|
1015
|
+
offsets.append(code_point)
|
1016
|
+
previous_code_point = code_point
|
1017
|
+
|
1018
|
+
static_u16_table("GBK_TOP_IDEOGRAPH_POINTERS", pointers)
|
1019
|
+
static_u16_table("GBK_TOP_IDEOGRAPH_OFFSETS", offsets)
|
1020
|
+
|
1021
|
+
# Unicode 1.1 ideographs to the left of the old GB2312 block
|
1022
|
+
# Compressed form takes 40% of uncompressed form
|
1023
|
+
pointers = []
|
1024
|
+
offsets = []
|
1025
|
+
previous_code_point = 0
|
1026
|
+
for row in xrange(0x7D - 0x29):
|
1027
|
+
for column in xrange(190 - 94):
|
1028
|
+
i = 7790 + column + (row * 190)
|
1029
|
+
if i > 23650:
|
1030
|
+
# Exclude compatibility ideographs at the end
|
1031
|
+
break
|
1032
|
+
code_point = index[i]
|
1033
|
+
if previous_code_point > code_point:
|
1034
|
+
raise Error()
|
1035
|
+
if code_point - previous_code_point != 1:
|
1036
|
+
pointers.append(column + (row * (190 - 94)))
|
1037
|
+
offsets.append(code_point)
|
1038
|
+
previous_code_point = code_point
|
1039
|
+
|
1040
|
+
static_u16_table("GBK_LEFT_IDEOGRAPH_POINTERS", pointers)
|
1041
|
+
static_u16_table("GBK_LEFT_IDEOGRAPH_OFFSETS", offsets)
|
1042
|
+
|
1043
|
+
# GBK other (excl. Ext A, Compat & PUA at the bottom)
|
1044
|
+
pointers = []
|
1045
|
+
offsets = []
|
1046
|
+
previous_code_point = 0
|
1047
|
+
for row in xrange(0x29 - 0x20):
|
1048
|
+
for column in xrange(190 - 94):
|
1049
|
+
i = 6080 + column + (row * 190)
|
1050
|
+
code_point = index[i]
|
1051
|
+
if code_point - previous_code_point != 1:
|
1052
|
+
pointers.append(column + (row * (190 - 94)))
|
1053
|
+
offsets.append(code_point)
|
1054
|
+
previous_code_point = code_point
|
1055
|
+
|
1056
|
+
pointers.append((190 - 94) * (0x29 - 0x20))
|
1057
|
+
static_u16_table("GBK_OTHER_POINTERS", pointers)
|
1058
|
+
static_u16_table("GBK_OTHER_UNSORTED_OFFSETS", offsets)
|
1059
|
+
|
1060
|
+
# GBK bottom: Compatibility ideagraphs, Ext A and PUA
|
1061
|
+
bottom_index = []
|
1062
|
+
# 5 compat following Unified Ideographs
|
1063
|
+
for i in range(23651, 23656):
|
1064
|
+
bottom_index.append(index[i])
|
1065
|
+
# Last row
|
1066
|
+
for i in range(23750, 23846):
|
1067
|
+
bottom_index.append(index[i])
|
1068
|
+
|
1069
|
+
static_u16_table("GBK_BOTTOM", bottom_index)
|
1070
|
+
|
1071
|
+
# GB2312 Hanzi
|
1072
|
+
# (and the 5 PUA code points in between Level 1 and Level 2)
|
1073
|
+
hanzi_index = []
|
1074
|
+
for row in xrange(0x77 - 0x2F):
|
1075
|
+
for column in xrange(94):
|
1076
|
+
hanzi_index.append(index[9026 + column + (row * 190)])
|
1077
|
+
|
1078
|
+
static_u16_table("GB2312_HANZI", hanzi_index)
|
1079
|
+
|
1080
|
+
# GB2312 symbols
|
1081
|
+
symbol_index = []
|
1082
|
+
for i in xrange(94):
|
1083
|
+
symbol_index.append(index[6176 + i])
|
1084
|
+
|
1085
|
+
static_u16_table("GB2312_SYMBOLS", symbol_index)
|
1086
|
+
|
1087
|
+
# GB2312 symbols on Greek row (incl. PUA)
|
1088
|
+
symbol_index = []
|
1089
|
+
for i in xrange(22):
|
1090
|
+
symbol_index.append(index[7189 + i])
|
1091
|
+
|
1092
|
+
static_u16_table("GB2312_SYMBOLS_AFTER_GREEK", symbol_index)
|
1093
|
+
|
1094
|
+
# GB2312 Pinyin
|
1095
|
+
pinyin_index = []
|
1096
|
+
for i in xrange(32):
|
1097
|
+
pinyin_index.append(index[7506 + i])
|
1098
|
+
|
1099
|
+
static_u16_table("GB2312_PINYIN", pinyin_index)
|
1100
|
+
|
1101
|
+
# GB2312 other (excl. bottom PUA)
|
1102
|
+
pointers = []
|
1103
|
+
offsets = []
|
1104
|
+
previous_code_point = 0
|
1105
|
+
for row in xrange(14):
|
1106
|
+
for column in xrange(94):
|
1107
|
+
i = 6366 + column + (row * 190)
|
1108
|
+
code_point = index[i]
|
1109
|
+
# Exclude the two ranges that were processed as
|
1110
|
+
# lookup tables above by filling them with
|
1111
|
+
# ASCII. Upon encode, ASCII code points will
|
1112
|
+
# never appear as the search key.
|
1113
|
+
if (i >= 7189 and i < 7189 + 22):
|
1114
|
+
code_point = i - 7189
|
1115
|
+
elif (i >= 7506 and i < 7506 + 32):
|
1116
|
+
code_point = i - 7506
|
1117
|
+
if code_point - previous_code_point != 1:
|
1118
|
+
pointers.append(column + (row * 94))
|
1119
|
+
offsets.append(code_point)
|
1120
|
+
previous_code_point = code_point
|
1121
|
+
|
1122
|
+
pointers.append(14 * 94)
|
1123
|
+
static_u16_table("GB2312_OTHER_POINTERS", pointers)
|
1124
|
+
static_u16_table("GB2312_OTHER_UNSORTED_OFFSETS", offsets)
|
1125
|
+
|
1126
|
+
# Non-gbk code points
|
1127
|
+
pointers = []
|
1128
|
+
offsets = []
|
1129
|
+
for pair in indexes["gb18030-ranges"]:
|
1130
|
+
if pair[1] == 0x10000:
|
1131
|
+
break # the last entry doesn't fit in u16
|
1132
|
+
pointers.append(pair[0])
|
1133
|
+
offsets.append(pair[1])
|
1134
|
+
|
1135
|
+
static_u16_table("GB18030_RANGE_POINTERS", pointers)
|
1136
|
+
static_u16_table("GB18030_RANGE_OFFSETS", offsets)
|
1137
|
+
|
1138
|
+
# Encoder table for Level 1 Hanzi
|
1139
|
+
# The units here really fit into 12 bits, but since we're
|
1140
|
+
# looking for speed here, let's use 16 bits per unit.
|
1141
|
+
# Once we use 16 bits per unit, we might as well precompute
|
1142
|
+
# the output bytes.
|
1143
|
+
level1_hanzi_index = hanzi_index[:(94 * (0xD8 - 0xB0) - 5)]
|
1144
|
+
level1_hanzi_pairs = []
|
1145
|
+
for i in xrange(len(level1_hanzi_index)):
|
1146
|
+
hanzi_lead = (i / 94) + 0xB0
|
1147
|
+
hanzi_trail = (i % 94) + 0xA1
|
1148
|
+
level1_hanzi_pairs.append((level1_hanzi_index[i], (hanzi_lead, hanzi_trail)))
|
1149
|
+
level1_hanzi_pairs.sort(key=lambda x: x[0])
|
1150
|
+
|
1151
|
+
static_u16_table_from_indexable("GB2312_LEVEL1_HANZI_CODE_POINTS", level1_hanzi_pairs, 0, "gb-hanzi-encode")
|
1152
|
+
static_u8_pair_table_from_indexable("GB2312_LEVEL1_HANZI_BYTES", level1_hanzi_pairs, 1, "gb-hanzi-encode")
|
1153
|
+
|
1154
|
+
# Fast Hanzi encoder table
|
1155
|
+
hanzi_bytes = [None] * (0x9FA7 - 0x4E00)
|
1156
|
+
for row in xrange(126):
|
1157
|
+
for column in xrange(190):
|
1158
|
+
pointer = column + (row * 190)
|
1159
|
+
code_point = index[pointer]
|
1160
|
+
if code_point and code_point >= 0x4E00 and code_point <= 0x9FA6:
|
1161
|
+
hanzi_lead = 0x81 + row
|
1162
|
+
hanzi_trail = column + (0x40 if column < 0x3F else 0x41)
|
1163
|
+
hanzi_bytes[code_point - 0x4E00] = (hanzi_lead, hanzi_trail)
|
1164
|
+
|
1165
|
+
static_u8_pair_table("GBK_HANZI_BYTES", hanzi_bytes, "fast-gb-hanzi-encode")
|
1166
|
+
|
1167
|
+
data_file.write(data_rs_end)
|
1168
|
+
|
1169
|
+
data_file.close()
|
1170
|
+
|
1171
|
+
# Variant
|
1172
|
+
|
1173
|
+
variant_file = open("src/variant.rs", "w")
|
1174
|
+
variant_file.write('''// Copyright Mozilla Foundation. See the COPYRIGHT
|
1175
|
+
// file at the top-level directory of this distribution.
|
1176
|
+
//
|
1177
|
+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
1178
|
+
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
1179
|
+
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
1180
|
+
// option. This file may not be copied, modified, or distributed
|
1181
|
+
// except according to those terms.
|
1182
|
+
|
1183
|
+
// THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
|
1184
|
+
// Instead, please regenerate using generate-encoding-data.py
|
1185
|
+
|
1186
|
+
//! This module provides enums that wrap the various decoders and encoders.
|
1187
|
+
//! The purpose is to make `Decoder` and `Encoder` `Sized` by writing the
|
1188
|
+
//! dispatch explicitly for a finite set of specialized decoders and encoders.
|
1189
|
+
//! Unfortunately, this means the compiler doesn't generate the dispatch code
|
1190
|
+
//! and it has to be written here instead.
|
1191
|
+
//!
|
1192
|
+
//! The purpose of making `Decoder` and `Encoder` `Sized` is to allow stack
|
1193
|
+
//! allocation in Rust code, including the convenience methods on `Encoding`.
|
1194
|
+
|
1195
|
+
''')
|
1196
|
+
|
1197
|
+
encoding_variants = [u"single-byte",]
|
1198
|
+
for encoding in multi_byte:
|
1199
|
+
if encoding["name"] in [u"UTF-16LE", u"UTF-16BE"]:
|
1200
|
+
continue
|
1201
|
+
else:
|
1202
|
+
encoding_variants.append(encoding["name"])
|
1203
|
+
encoding_variants.append(u"UTF-16")
|
1204
|
+
|
1205
|
+
decoder_variants = []
|
1206
|
+
for variant in encoding_variants:
|
1207
|
+
if variant == u"GBK":
|
1208
|
+
continue
|
1209
|
+
decoder_variants.append(variant)
|
1210
|
+
|
1211
|
+
encoder_variants = []
|
1212
|
+
for variant in encoding_variants:
|
1213
|
+
if variant in [u"replacement", u"GBK", u"UTF-16"]:
|
1214
|
+
continue
|
1215
|
+
encoder_variants.append(variant)
|
1216
|
+
|
1217
|
+
for variant in decoder_variants:
|
1218
|
+
variant_file.write("use %s::*;\n" % to_snake_name(variant))
|
1219
|
+
|
1220
|
+
variant_file.write('''use super::*;
|
1221
|
+
|
1222
|
+
pub enum VariantDecoder {
|
1223
|
+
''')
|
1224
|
+
|
1225
|
+
for variant in decoder_variants:
|
1226
|
+
variant_file.write(" %s(%sDecoder),\n" % (to_camel_name(variant), to_camel_name(variant)))
|
1227
|
+
|
1228
|
+
variant_file.write('''}
|
1229
|
+
|
1230
|
+
impl VariantDecoder {
|
1231
|
+
''')
|
1232
|
+
|
1233
|
+
def write_variant_method(name, mut, arg_list, ret, variants, excludes, kind):
|
1234
|
+
variant_file.write('''pub fn %s(&''' % name)
|
1235
|
+
if mut:
|
1236
|
+
variant_file.write('''mut ''')
|
1237
|
+
variant_file.write('''self''')
|
1238
|
+
for arg in arg_list:
|
1239
|
+
variant_file.write(''', %s: %s''' % (arg[0], arg[1]))
|
1240
|
+
variant_file.write(''')''')
|
1241
|
+
if ret:
|
1242
|
+
variant_file.write(''' -> %s''' % ret)
|
1243
|
+
variant_file.write(''' {\nmatch *self {\n''')
|
1244
|
+
for variant in variants:
|
1245
|
+
variant_file.write('''Variant%s::%s(ref ''' % (kind, to_camel_name(variant)))
|
1246
|
+
if mut:
|
1247
|
+
variant_file.write('''mut ''')
|
1248
|
+
if variant in excludes:
|
1249
|
+
variant_file.write('''v) => (),''')
|
1250
|
+
continue
|
1251
|
+
variant_file.write('''v) => v.%s(''' % name)
|
1252
|
+
first = True
|
1253
|
+
for arg in arg_list:
|
1254
|
+
if not first:
|
1255
|
+
variant_file.write(''', ''')
|
1256
|
+
first = False
|
1257
|
+
variant_file.write(arg[0])
|
1258
|
+
variant_file.write('''),\n''')
|
1259
|
+
variant_file.write('''}\n}\n\n''')
|
1260
|
+
|
1261
|
+
write_variant_method("max_utf16_buffer_length", False, [("byte_length", "usize")], "Option<usize>", decoder_variants, [], "Decoder")
|
1262
|
+
|
1263
|
+
write_variant_method("max_utf8_buffer_length_without_replacement", False, [("byte_length", "usize")], "Option<usize>", decoder_variants, [], "Decoder")
|
1264
|
+
|
1265
|
+
write_variant_method("max_utf8_buffer_length", False, [("byte_length", "usize")], "Option<usize>", decoder_variants, [], "Decoder")
|
1266
|
+
|
1267
|
+
write_variant_method("decode_to_utf16_raw", True, [("src", "&[u8]"),
|
1268
|
+
("dst", "&mut [u16]"),
|
1269
|
+
("last", "bool")], "(DecoderResult, usize, usize)", decoder_variants, [], "Decoder")
|
1270
|
+
|
1271
|
+
write_variant_method("decode_to_utf8_raw", True, [("src", "&[u8]"),
|
1272
|
+
("dst", "&mut [u8]"),
|
1273
|
+
("last", "bool")], "(DecoderResult, usize, usize)", decoder_variants, [], "Decoder")
|
1274
|
+
|
1275
|
+
variant_file.write('''
|
1276
|
+
|
1277
|
+
pub fn latin1_byte_compatible_up_to(&self, buffer: &[u8]) -> Option<usize> {
|
1278
|
+
match *self {
|
1279
|
+
VariantDecoder::SingleByte(ref v) => {
|
1280
|
+
return Some(v.latin1_byte_compatible_up_to(buffer));
|
1281
|
+
}
|
1282
|
+
VariantDecoder::Utf8(ref v) => {
|
1283
|
+
if !v.in_neutral_state() {
|
1284
|
+
return None;
|
1285
|
+
}
|
1286
|
+
}
|
1287
|
+
VariantDecoder::Gb18030(ref v) => {
|
1288
|
+
if !v.in_neutral_state() {
|
1289
|
+
return None;
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
VariantDecoder::Big5(ref v) => {
|
1293
|
+
if !v.in_neutral_state() {
|
1294
|
+
return None;
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
VariantDecoder::EucJp(ref v) => {
|
1298
|
+
if !v.in_neutral_state() {
|
1299
|
+
return None;
|
1300
|
+
}
|
1301
|
+
}
|
1302
|
+
VariantDecoder::Iso2022Jp(ref v) => {
|
1303
|
+
if v.in_neutral_state() {
|
1304
|
+
return Some(Encoding::iso_2022_jp_ascii_valid_up_to(buffer));
|
1305
|
+
}
|
1306
|
+
return None;
|
1307
|
+
}
|
1308
|
+
VariantDecoder::ShiftJis(ref v) => {
|
1309
|
+
if !v.in_neutral_state() {
|
1310
|
+
return None;
|
1311
|
+
}
|
1312
|
+
}
|
1313
|
+
VariantDecoder::EucKr(ref v) => {
|
1314
|
+
if !v.in_neutral_state() {
|
1315
|
+
return None;
|
1316
|
+
}
|
1317
|
+
}
|
1318
|
+
VariantDecoder::UserDefined(_) => {}
|
1319
|
+
VariantDecoder::Replacement(_) | VariantDecoder::Utf16(_) => {
|
1320
|
+
return None;
|
1321
|
+
}
|
1322
|
+
};
|
1323
|
+
Some(Encoding::ascii_valid_up_to(buffer))
|
1324
|
+
}
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
pub enum VariantEncoder {
|
1328
|
+
''')
|
1329
|
+
|
1330
|
+
for variant in encoder_variants:
|
1331
|
+
variant_file.write(" %s(%sEncoder),\n" % (to_camel_name(variant), to_camel_name(variant)))
|
1332
|
+
|
1333
|
+
variant_file.write('''}
|
1334
|
+
|
1335
|
+
impl VariantEncoder {
|
1336
|
+
pub fn has_pending_state(&self) -> bool {
|
1337
|
+
match *self {
|
1338
|
+
VariantEncoder::Iso2022Jp(ref v) => {
|
1339
|
+
v.has_pending_state()
|
1340
|
+
}
|
1341
|
+
_ => false,
|
1342
|
+
}
|
1343
|
+
}
|
1344
|
+
''')
|
1345
|
+
|
1346
|
+
write_variant_method("max_buffer_length_from_utf16_without_replacement", False, [("u16_length", "usize")], "Option<usize>", encoder_variants, [], "Encoder")
|
1347
|
+
|
1348
|
+
write_variant_method("max_buffer_length_from_utf8_without_replacement", False, [("byte_length", "usize")], "Option<usize>", encoder_variants, [], "Encoder")
|
1349
|
+
|
1350
|
+
write_variant_method("encode_from_utf16_raw", True, [("src", "&[u16]"),
|
1351
|
+
("dst", "&mut [u8]"),
|
1352
|
+
("last", "bool")], "(EncoderResult, usize, usize)", encoder_variants, [], "Encoder")
|
1353
|
+
|
1354
|
+
write_variant_method("encode_from_utf8_raw", True, [("src", "&str"),
|
1355
|
+
("dst", "&mut [u8]"),
|
1356
|
+
("last", "bool")], "(EncoderResult, usize, usize)", encoder_variants, [], "Encoder")
|
1357
|
+
|
1358
|
+
|
1359
|
+
variant_file.write('''}
|
1360
|
+
|
1361
|
+
pub enum VariantEncoding {
|
1362
|
+
SingleByte(&'static [u16; 128], u16, u8, u8),''')
|
1363
|
+
|
1364
|
+
for encoding in multi_byte:
|
1365
|
+
variant_file.write("%s,\n" % to_camel_name(encoding["name"]))
|
1366
|
+
|
1367
|
+
variant_file.write('''}
|
1368
|
+
|
1369
|
+
impl VariantEncoding {
|
1370
|
+
pub fn new_variant_decoder(&self) -> VariantDecoder {
|
1371
|
+
match *self {
|
1372
|
+
VariantEncoding::SingleByte(table, _, _, _) => SingleByteDecoder::new(table),
|
1373
|
+
VariantEncoding::Utf8 => Utf8Decoder::new(),
|
1374
|
+
VariantEncoding::Gbk | VariantEncoding::Gb18030 => Gb18030Decoder::new(),
|
1375
|
+
VariantEncoding::Big5 => Big5Decoder::new(),
|
1376
|
+
VariantEncoding::EucJp => EucJpDecoder::new(),
|
1377
|
+
VariantEncoding::Iso2022Jp => Iso2022JpDecoder::new(),
|
1378
|
+
VariantEncoding::ShiftJis => ShiftJisDecoder::new(),
|
1379
|
+
VariantEncoding::EucKr => EucKrDecoder::new(),
|
1380
|
+
VariantEncoding::Replacement => ReplacementDecoder::new(),
|
1381
|
+
VariantEncoding::UserDefined => UserDefinedDecoder::new(),
|
1382
|
+
VariantEncoding::Utf16Be => Utf16Decoder::new(true),
|
1383
|
+
VariantEncoding::Utf16Le => Utf16Decoder::new(false),
|
1384
|
+
}
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
pub fn new_encoder(&self, encoding: &'static Encoding) -> Encoder {
|
1388
|
+
match *self {
|
1389
|
+
VariantEncoding::SingleByte(table, run_bmp_offset, run_byte_offset, run_length) => SingleByteEncoder::new(encoding, table, run_bmp_offset, run_byte_offset, run_length),
|
1390
|
+
VariantEncoding::Utf8 => Utf8Encoder::new(encoding),
|
1391
|
+
VariantEncoding::Gbk => Gb18030Encoder::new(encoding, false),
|
1392
|
+
VariantEncoding::Gb18030 => Gb18030Encoder::new(encoding, true),
|
1393
|
+
VariantEncoding::Big5 => Big5Encoder::new(encoding),
|
1394
|
+
VariantEncoding::EucJp => EucJpEncoder::new(encoding),
|
1395
|
+
VariantEncoding::Iso2022Jp => Iso2022JpEncoder::new(encoding),
|
1396
|
+
VariantEncoding::ShiftJis => ShiftJisEncoder::new(encoding),
|
1397
|
+
VariantEncoding::EucKr => EucKrEncoder::new(encoding),
|
1398
|
+
VariantEncoding::UserDefined => UserDefinedEncoder::new(encoding),
|
1399
|
+
VariantEncoding::Utf16Be | VariantEncoding::Replacement |
|
1400
|
+
VariantEncoding::Utf16Le => unreachable!(),
|
1401
|
+
}
|
1402
|
+
}
|
1403
|
+
|
1404
|
+
pub fn is_single_byte(&self) -> bool {
|
1405
|
+
match *self {
|
1406
|
+
VariantEncoding::SingleByte(_, _, _, _) | VariantEncoding::UserDefined => true,
|
1407
|
+
_ => false,
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
}
|
1411
|
+
''')
|
1412
|
+
|
1413
|
+
variant_file.close()
|
1414
|
+
|
1415
|
+
(ffi_rs_begin, ffi_rs_end) = read_non_generated("../encoding_c/src/lib.rs")
|
1416
|
+
|
1417
|
+
ffi_file = open("../encoding_c/src/lib.rs", "w")
|
1418
|
+
|
1419
|
+
ffi_file.write(ffi_rs_begin)
|
1420
|
+
ffi_file.write("""
|
1421
|
+
// Instead, please regenerate using generate-encoding-data.py
|
1422
|
+
|
1423
|
+
/// The minimum length of buffers that may be passed to `encoding_name()`.
|
1424
|
+
pub const ENCODING_NAME_MAX_LENGTH: usize = %d; // %s
|
1425
|
+
|
1426
|
+
""" % (longest_name_length, longest_name))
|
1427
|
+
|
1428
|
+
for name in preferred:
|
1429
|
+
ffi_file.write('''/// The %s encoding.
|
1430
|
+
#[no_mangle]
|
1431
|
+
pub static %s_ENCODING: ConstEncoding = ConstEncoding(&%s_INIT);
|
1432
|
+
|
1433
|
+
''' % (to_dom_name(name), to_constant_name(name), to_constant_name(name)))
|
1434
|
+
|
1435
|
+
ffi_file.write(ffi_rs_end)
|
1436
|
+
ffi_file.close()
|
1437
|
+
|
1438
|
+
(single_byte_rs_begin, single_byte_rs_end) = read_non_generated("src/single_byte.rs")
|
1439
|
+
|
1440
|
+
single_byte_file = open("src/single_byte.rs", "w")
|
1441
|
+
|
1442
|
+
single_byte_file.write(single_byte_rs_begin)
|
1443
|
+
single_byte_file.write("""
|
1444
|
+
// Instead, please regenerate using generate-encoding-data.py
|
1445
|
+
|
1446
|
+
#[test]
|
1447
|
+
fn test_single_byte_decode() {""")
|
1448
|
+
|
1449
|
+
idx = 0 # for Miri, return after 2nd test
|
1450
|
+
for name in preferred:
|
1451
|
+
if name == u"ISO-8859-8-I":
|
1452
|
+
continue;
|
1453
|
+
if is_single_byte(name):
|
1454
|
+
single_byte_file.write("""
|
1455
|
+
decode_single_byte(%s, &data::SINGLE_BYTE_DATA.%s);""" % (to_constant_name(name), to_snake_name(name)))
|
1456
|
+
idx += 1
|
1457
|
+
if idx == 2:
|
1458
|
+
single_byte_file.write("""
|
1459
|
+
if cfg!(miri) {
|
1460
|
+
// Miri is too slow
|
1461
|
+
return;
|
1462
|
+
}""")
|
1463
|
+
|
1464
|
+
single_byte_file.write("""
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
#[test]
|
1468
|
+
fn test_single_byte_encode() {""")
|
1469
|
+
|
1470
|
+
|
1471
|
+
idx = 0 # for Miri, return after 2nd test
|
1472
|
+
for name in preferred:
|
1473
|
+
if name == u"ISO-8859-8-I":
|
1474
|
+
continue;
|
1475
|
+
if is_single_byte(name):
|
1476
|
+
single_byte_file.write("""
|
1477
|
+
encode_single_byte(%s, &data::SINGLE_BYTE_DATA.%s);""" % (to_constant_name(name), to_snake_name(name)))
|
1478
|
+
idx += 1
|
1479
|
+
if idx == 2:
|
1480
|
+
single_byte_file.write("""
|
1481
|
+
if cfg!(miri) {
|
1482
|
+
// Miri is too slow
|
1483
|
+
return;
|
1484
|
+
}""")
|
1485
|
+
|
1486
|
+
|
1487
|
+
single_byte_file.write("""
|
1488
|
+
}
|
1489
|
+
""")
|
1490
|
+
|
1491
|
+
single_byte_file.write(single_byte_rs_end)
|
1492
|
+
single_byte_file.close()
|
1493
|
+
|
1494
|
+
static_file = open("../encoding_c/include/encoding_rs_statics.h", "w")
|
1495
|
+
|
1496
|
+
static_file.write("""// Copyright Mozilla Foundation. See the COPYRIGHT
|
1497
|
+
// file at the top-level directory of this distribution.
|
1498
|
+
//
|
1499
|
+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
1500
|
+
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
1501
|
+
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
1502
|
+
// option. This file may not be copied, modified, or distributed
|
1503
|
+
// except according to those terms.
|
1504
|
+
|
1505
|
+
// THIS IS A GENERATED FILE. PLEASE DO NOT EDIT.
|
1506
|
+
// Instead, please regenerate using generate-encoding-data.py
|
1507
|
+
|
1508
|
+
// This file is not meant to be included directly. Instead, encoding_rs.h
|
1509
|
+
// includes this file.
|
1510
|
+
|
1511
|
+
#ifndef encoding_rs_statics_h_
|
1512
|
+
#define encoding_rs_statics_h_
|
1513
|
+
|
1514
|
+
#ifndef ENCODING_RS_ENCODING
|
1515
|
+
#define ENCODING_RS_ENCODING Encoding
|
1516
|
+
#ifndef __cplusplus
|
1517
|
+
typedef struct Encoding_ Encoding;
|
1518
|
+
#endif
|
1519
|
+
#endif
|
1520
|
+
|
1521
|
+
#ifndef ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR
|
1522
|
+
#define ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ENCODING_RS_ENCODING*
|
1523
|
+
#endif
|
1524
|
+
|
1525
|
+
#ifndef ENCODING_RS_ENCODER
|
1526
|
+
#define ENCODING_RS_ENCODER Encoder
|
1527
|
+
#ifndef __cplusplus
|
1528
|
+
typedef struct Encoder_ Encoder;
|
1529
|
+
#endif
|
1530
|
+
#endif
|
1531
|
+
|
1532
|
+
#ifndef ENCODING_RS_DECODER
|
1533
|
+
#define ENCODING_RS_DECODER Decoder
|
1534
|
+
#ifndef __cplusplus
|
1535
|
+
typedef struct Decoder_ Decoder;
|
1536
|
+
#endif
|
1537
|
+
#endif
|
1538
|
+
|
1539
|
+
#define INPUT_EMPTY 0
|
1540
|
+
|
1541
|
+
#define OUTPUT_FULL 0xFFFFFFFF
|
1542
|
+
|
1543
|
+
// %s
|
1544
|
+
#define ENCODING_NAME_MAX_LENGTH %d
|
1545
|
+
|
1546
|
+
""" % (longest_name, longest_name_length))
|
1547
|
+
|
1548
|
+
for name in preferred:
|
1549
|
+
static_file.write('''/// The %s encoding.
|
1550
|
+
extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const %s_ENCODING;
|
1551
|
+
|
1552
|
+
''' % (to_dom_name(name), to_constant_name(name)))
|
1553
|
+
|
1554
|
+
static_file.write("""#endif // encoding_rs_statics_h_
|
1555
|
+
""")
|
1556
|
+
static_file.close()
|
1557
|
+
|
1558
|
+
(utf_8_rs_begin, utf_8_rs_end) = read_non_generated("src/utf_8.rs")
|
1559
|
+
|
1560
|
+
utf_8_file = open("src/utf_8.rs", "w")
|
1561
|
+
|
1562
|
+
utf_8_file.write(utf_8_rs_begin)
|
1563
|
+
utf_8_file.write("""
|
1564
|
+
// Instead, please regenerate using generate-encoding-data.py
|
1565
|
+
|
1566
|
+
pub static UTF8_DATA: Utf8Data = Utf8Data {
|
1567
|
+
table: [
|
1568
|
+
""")
|
1569
|
+
|
1570
|
+
for i in range(256):
|
1571
|
+
combined = (1 << 2) # invalid lead
|
1572
|
+
if i < 0x80 or i > 0xBF:
|
1573
|
+
combined |= (1 << 3) # normal trail
|
1574
|
+
if i < 0xA0 or i > 0xBF:
|
1575
|
+
combined |= (1 << 4) # three-byte special lower bound
|
1576
|
+
if i < 0x80 or i > 0x9F:
|
1577
|
+
combined |= (1 << 5) # three-byte special upper bound
|
1578
|
+
if i < 0x90 or i > 0xBF:
|
1579
|
+
combined |= (1 << 6) # four-byte special lower bound
|
1580
|
+
if i < 0x80 or i > 0x8F:
|
1581
|
+
combined |= (1 << 7) # four-byte special upper bound
|
1582
|
+
utf_8_file.write("%d," % combined)
|
1583
|
+
|
1584
|
+
for i in range(128, 256):
|
1585
|
+
lane = (1 << 2) # invalid lead
|
1586
|
+
if i >= 0xC2 and i <= 0xDF:
|
1587
|
+
lane = (1 << 3) # normal trail
|
1588
|
+
elif i == 0xE0:
|
1589
|
+
lane = (1 << 4) # three-byte special lower bound
|
1590
|
+
elif i >= 0xE1 and i <= 0xEC:
|
1591
|
+
lane = (1 << 3) # normal trail
|
1592
|
+
elif i == 0xED:
|
1593
|
+
lane = (1 << 5) # three-byte special upper bound
|
1594
|
+
elif i >= 0xEE and i <= 0xEF:
|
1595
|
+
lane = (1 << 3) # normal trail
|
1596
|
+
elif i == 0xF0:
|
1597
|
+
lane = (1 << 6) # four-byte special lower bound
|
1598
|
+
elif i >= 0xF1 and i <= 0xF3:
|
1599
|
+
lane = (1 << 3) # normal trail
|
1600
|
+
elif i == 0xF4:
|
1601
|
+
lane = (1 << 7) # four-byte special upper bound
|
1602
|
+
utf_8_file.write("%d," % lane)
|
1603
|
+
|
1604
|
+
utf_8_file.write("""
|
1605
|
+
],
|
1606
|
+
};
|
1607
|
+
|
1608
|
+
""")
|
1609
|
+
|
1610
|
+
utf_8_file.write(utf_8_rs_end)
|
1611
|
+
utf_8_file.close()
|
1612
|
+
|
1613
|
+
# Unit tests
|
1614
|
+
|
1615
|
+
TEST_HEADER = '''Any copyright to the test code below this comment is dedicated to the
|
1616
|
+
Public Domain. http://creativecommons.org/publicdomain/zero/1.0/
|
1617
|
+
|
1618
|
+
This is a generated file. Please do not edit.
|
1619
|
+
Instead, please regenerate using generate-encoding-data.py
|
1620
|
+
'''
|
1621
|
+
|
1622
|
+
index = indexes["jis0208"]
|
1623
|
+
|
1624
|
+
jis0208_in_file = open("src/test_data/jis0208_in.txt", "w")
|
1625
|
+
jis0208_in_file.write(TEST_HEADER)
|
1626
|
+
for pointer in range(0, 94 * 94):
|
1627
|
+
(lead, trail) = divmod(pointer, 94)
|
1628
|
+
lead += 0xA1
|
1629
|
+
trail += 0xA1
|
1630
|
+
jis0208_in_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1631
|
+
jis0208_in_file.close()
|
1632
|
+
|
1633
|
+
jis0208_in_ref_file = open("src/test_data/jis0208_in_ref.txt", "w")
|
1634
|
+
jis0208_in_ref_file.write(TEST_HEADER)
|
1635
|
+
for pointer in range(0, 94 * 94):
|
1636
|
+
code_point = index[pointer]
|
1637
|
+
if code_point:
|
1638
|
+
jis0208_in_ref_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1639
|
+
else:
|
1640
|
+
jis0208_in_ref_file.write(u"\uFFFD\n".encode("utf-8"))
|
1641
|
+
jis0208_in_ref_file.close()
|
1642
|
+
|
1643
|
+
jis0208_out_file = open("src/test_data/jis0208_out.txt", "w")
|
1644
|
+
jis0208_out_ref_file = open("src/test_data/jis0208_out_ref.txt", "w")
|
1645
|
+
jis0208_out_file.write(TEST_HEADER)
|
1646
|
+
jis0208_out_ref_file.write(TEST_HEADER)
|
1647
|
+
for pointer in range(0, 94 * 94):
|
1648
|
+
code_point = index[pointer]
|
1649
|
+
if code_point:
|
1650
|
+
revised_pointer = pointer
|
1651
|
+
if revised_pointer == 8644 or (revised_pointer >= 1207 and revised_pointer < 1220):
|
1652
|
+
revised_pointer = index.index(code_point)
|
1653
|
+
(lead, trail) = divmod(revised_pointer, 94)
|
1654
|
+
lead += 0xA1
|
1655
|
+
trail += 0xA1
|
1656
|
+
jis0208_out_ref_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1657
|
+
jis0208_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1658
|
+
jis0208_out_file.close()
|
1659
|
+
jis0208_out_ref_file.close()
|
1660
|
+
|
1661
|
+
shift_jis_in_file = open("src/test_data/shift_jis_in.txt", "w")
|
1662
|
+
shift_jis_in_file.write(TEST_HEADER)
|
1663
|
+
for pointer in range(0, len(index)):
|
1664
|
+
(lead, trail) = divmod(pointer, 188)
|
1665
|
+
lead += 0x81 if lead < 0x1F else 0xC1
|
1666
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
1667
|
+
shift_jis_in_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1668
|
+
shift_jis_in_file.close()
|
1669
|
+
|
1670
|
+
shift_jis_in_ref_file = open("src/test_data/shift_jis_in_ref.txt", "w")
|
1671
|
+
shift_jis_in_ref_file.write(TEST_HEADER)
|
1672
|
+
for pointer in range(0, len(index)):
|
1673
|
+
code_point = 0xE000 - 8836 + pointer if pointer >= 8836 and pointer <= 10715 else index[pointer]
|
1674
|
+
if code_point:
|
1675
|
+
shift_jis_in_ref_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1676
|
+
else:
|
1677
|
+
trail = pointer % 188
|
1678
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
1679
|
+
if trail < 0x80:
|
1680
|
+
shift_jis_in_ref_file.write((u"\uFFFD%s\n" % unichr(trail)).encode("utf-8"))
|
1681
|
+
else:
|
1682
|
+
shift_jis_in_ref_file.write(u"\uFFFD\n".encode("utf-8"))
|
1683
|
+
shift_jis_in_ref_file.close()
|
1684
|
+
|
1685
|
+
shift_jis_out_file = open("src/test_data/shift_jis_out.txt", "w")
|
1686
|
+
shift_jis_out_ref_file = open("src/test_data/shift_jis_out_ref.txt", "w")
|
1687
|
+
shift_jis_out_file.write(TEST_HEADER)
|
1688
|
+
shift_jis_out_ref_file.write(TEST_HEADER)
|
1689
|
+
for pointer in range(0, 8272):
|
1690
|
+
code_point = index[pointer]
|
1691
|
+
if code_point:
|
1692
|
+
revised_pointer = pointer
|
1693
|
+
if revised_pointer >= 1207 and revised_pointer < 1220:
|
1694
|
+
revised_pointer = index.index(code_point)
|
1695
|
+
(lead, trail) = divmod(revised_pointer, 188)
|
1696
|
+
lead += 0x81 if lead < 0x1F else 0xC1
|
1697
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
1698
|
+
shift_jis_out_ref_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1699
|
+
shift_jis_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1700
|
+
for pointer in range(8836, len(index)):
|
1701
|
+
code_point = index[pointer]
|
1702
|
+
if code_point:
|
1703
|
+
revised_pointer = index.index(code_point)
|
1704
|
+
if revised_pointer >= 8272 and revised_pointer < 8836:
|
1705
|
+
revised_pointer = pointer
|
1706
|
+
(lead, trail) = divmod(revised_pointer, 188)
|
1707
|
+
lead += 0x81 if lead < 0x1F else 0xC1
|
1708
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
1709
|
+
shift_jis_out_ref_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1710
|
+
shift_jis_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1711
|
+
shift_jis_out_file.close()
|
1712
|
+
shift_jis_out_ref_file.close()
|
1713
|
+
|
1714
|
+
iso_2022_jp_in_file = open("src/test_data/iso_2022_jp_in.txt", "w")
|
1715
|
+
iso_2022_jp_in_file.write(TEST_HEADER)
|
1716
|
+
for pointer in range(0, 94 * 94):
|
1717
|
+
(lead, trail) = divmod(pointer, 94)
|
1718
|
+
lead += 0x21
|
1719
|
+
trail += 0x21
|
1720
|
+
iso_2022_jp_in_file.write("\x1B$B%s%s\x1B(B\n" % (chr(lead), chr(trail)))
|
1721
|
+
iso_2022_jp_in_file.close()
|
1722
|
+
|
1723
|
+
iso_2022_jp_in_ref_file = open("src/test_data/iso_2022_jp_in_ref.txt", "w")
|
1724
|
+
iso_2022_jp_in_ref_file.write(TEST_HEADER)
|
1725
|
+
for pointer in range(0, 94 * 94):
|
1726
|
+
code_point = index[pointer]
|
1727
|
+
if code_point:
|
1728
|
+
iso_2022_jp_in_ref_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1729
|
+
else:
|
1730
|
+
iso_2022_jp_in_ref_file.write(u"\uFFFD\n".encode("utf-8"))
|
1731
|
+
iso_2022_jp_in_ref_file.close()
|
1732
|
+
|
1733
|
+
iso_2022_jp_out_file = open("src/test_data/iso_2022_jp_out.txt", "w")
|
1734
|
+
iso_2022_jp_out_ref_file = open("src/test_data/iso_2022_jp_out_ref.txt", "w")
|
1735
|
+
iso_2022_jp_out_file.write(TEST_HEADER)
|
1736
|
+
iso_2022_jp_out_ref_file.write(TEST_HEADER)
|
1737
|
+
for pointer in range(0, 94 * 94):
|
1738
|
+
code_point = index[pointer]
|
1739
|
+
if code_point:
|
1740
|
+
revised_pointer = pointer
|
1741
|
+
if revised_pointer == 8644 or (revised_pointer >= 1207 and revised_pointer < 1220):
|
1742
|
+
revised_pointer = index.index(code_point)
|
1743
|
+
(lead, trail) = divmod(revised_pointer, 94)
|
1744
|
+
lead += 0x21
|
1745
|
+
trail += 0x21
|
1746
|
+
iso_2022_jp_out_ref_file.write("\x1B$B%s%s\x1B(B\n" % (chr(lead), chr(trail)))
|
1747
|
+
iso_2022_jp_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1748
|
+
for i in xrange(len(half_width_index)):
|
1749
|
+
code_point = i + 0xFF61
|
1750
|
+
normalized_code_point = half_width_index[i]
|
1751
|
+
pointer = index.index(normalized_code_point)
|
1752
|
+
(lead, trail) = divmod(pointer, 94)
|
1753
|
+
lead += 0x21
|
1754
|
+
trail += 0x21
|
1755
|
+
iso_2022_jp_out_ref_file.write("\x1B$B%s%s\x1B(B\n" % (chr(lead), chr(trail)))
|
1756
|
+
iso_2022_jp_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1757
|
+
iso_2022_jp_out_file.close()
|
1758
|
+
iso_2022_jp_out_ref_file.close()
|
1759
|
+
|
1760
|
+
index = indexes["euc-kr"]
|
1761
|
+
|
1762
|
+
euc_kr_in_file = open("src/test_data/euc_kr_in.txt", "w")
|
1763
|
+
euc_kr_in_file.write(TEST_HEADER)
|
1764
|
+
for pointer in range(0, len(index)):
|
1765
|
+
(lead, trail) = divmod(pointer, 190)
|
1766
|
+
lead += 0x81
|
1767
|
+
trail += 0x41
|
1768
|
+
euc_kr_in_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1769
|
+
euc_kr_in_file.close()
|
1770
|
+
|
1771
|
+
euc_kr_in_ref_file = open("src/test_data/euc_kr_in_ref.txt", "w")
|
1772
|
+
euc_kr_in_ref_file.write(TEST_HEADER)
|
1773
|
+
for pointer in range(0, len(index)):
|
1774
|
+
code_point = index[pointer]
|
1775
|
+
if code_point:
|
1776
|
+
euc_kr_in_ref_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1777
|
+
else:
|
1778
|
+
trail = pointer % 190
|
1779
|
+
trail += 0x41
|
1780
|
+
if trail < 0x80:
|
1781
|
+
euc_kr_in_ref_file.write((u"\uFFFD%s\n" % unichr(trail)).encode("utf-8"))
|
1782
|
+
else:
|
1783
|
+
euc_kr_in_ref_file.write(u"\uFFFD\n".encode("utf-8"))
|
1784
|
+
euc_kr_in_ref_file.close()
|
1785
|
+
|
1786
|
+
euc_kr_out_file = open("src/test_data/euc_kr_out.txt", "w")
|
1787
|
+
euc_kr_out_ref_file = open("src/test_data/euc_kr_out_ref.txt", "w")
|
1788
|
+
euc_kr_out_file.write(TEST_HEADER)
|
1789
|
+
euc_kr_out_ref_file.write(TEST_HEADER)
|
1790
|
+
for pointer in range(0, len(index)):
|
1791
|
+
code_point = index[pointer]
|
1792
|
+
if code_point:
|
1793
|
+
(lead, trail) = divmod(pointer, 190)
|
1794
|
+
lead += 0x81
|
1795
|
+
trail += 0x41
|
1796
|
+
euc_kr_out_ref_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1797
|
+
euc_kr_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1798
|
+
euc_kr_out_file.close()
|
1799
|
+
euc_kr_out_ref_file.close()
|
1800
|
+
|
1801
|
+
index = indexes["gb18030"]
|
1802
|
+
|
1803
|
+
gb18030_in_file = open("src/test_data/gb18030_in.txt", "w")
|
1804
|
+
gb18030_in_file.write(TEST_HEADER)
|
1805
|
+
for pointer in range(0, len(index)):
|
1806
|
+
(lead, trail) = divmod(pointer, 190)
|
1807
|
+
lead += 0x81
|
1808
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
1809
|
+
gb18030_in_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1810
|
+
gb18030_in_file.close()
|
1811
|
+
|
1812
|
+
gb18030_in_ref_file = open("src/test_data/gb18030_in_ref.txt", "w")
|
1813
|
+
gb18030_in_ref_file.write(TEST_HEADER)
|
1814
|
+
for pointer in range(0, len(index)):
|
1815
|
+
code_point = index[pointer]
|
1816
|
+
if code_point:
|
1817
|
+
gb18030_in_ref_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1818
|
+
else:
|
1819
|
+
trail = pointer % 190
|
1820
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
1821
|
+
if trail < 0x80:
|
1822
|
+
gb18030_in_ref_file.write((u"\uFFFD%s\n" % unichr(trail)).encode("utf-8"))
|
1823
|
+
else:
|
1824
|
+
gb18030_in_ref_file.write(u"\uFFFD\n".encode("utf-8"))
|
1825
|
+
gb18030_in_ref_file.close()
|
1826
|
+
|
1827
|
+
gb18030_out_file = open("src/test_data/gb18030_out.txt", "w")
|
1828
|
+
gb18030_out_ref_file = open("src/test_data/gb18030_out_ref.txt", "w")
|
1829
|
+
gb18030_out_file.write(TEST_HEADER)
|
1830
|
+
gb18030_out_ref_file.write(TEST_HEADER)
|
1831
|
+
for pointer in range(0, len(index)):
|
1832
|
+
if pointer == 6555:
|
1833
|
+
continue
|
1834
|
+
code_point = index[pointer]
|
1835
|
+
if code_point:
|
1836
|
+
(lead, trail) = divmod(pointer, 190)
|
1837
|
+
lead += 0x81
|
1838
|
+
trail += 0x40 if trail < 0x3F else 0x41
|
1839
|
+
gb18030_out_ref_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1840
|
+
gb18030_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1841
|
+
gb18030_out_file.close()
|
1842
|
+
gb18030_out_ref_file.close()
|
1843
|
+
|
1844
|
+
index = indexes["big5"]
|
1845
|
+
|
1846
|
+
big5_in_file = open("src/test_data/big5_in.txt", "w")
|
1847
|
+
big5_in_file.write(TEST_HEADER)
|
1848
|
+
for pointer in range(0, len(index)):
|
1849
|
+
(lead, trail) = divmod(pointer, 157)
|
1850
|
+
lead += 0x81
|
1851
|
+
trail += 0x40 if trail < 0x3F else 0x62
|
1852
|
+
big5_in_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1853
|
+
big5_in_file.close()
|
1854
|
+
|
1855
|
+
big5_two_characters = {
|
1856
|
+
1133: u"\u00CA\u0304",
|
1857
|
+
1135: u"\u00CA\u030C",
|
1858
|
+
1164: u"\u00EA\u0304",
|
1859
|
+
1166: u"\u00EA\u030C",
|
1860
|
+
}
|
1861
|
+
|
1862
|
+
big5_in_ref_file = open("src/test_data/big5_in_ref.txt", "w")
|
1863
|
+
big5_in_ref_file.write(TEST_HEADER)
|
1864
|
+
for pointer in range(0, len(index)):
|
1865
|
+
if pointer in big5_two_characters.keys():
|
1866
|
+
big5_in_ref_file.write((u"%s\n" % big5_two_characters[pointer]).encode("utf-8"))
|
1867
|
+
continue
|
1868
|
+
code_point = index[pointer]
|
1869
|
+
if code_point:
|
1870
|
+
big5_in_ref_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1871
|
+
else:
|
1872
|
+
trail = pointer % 157
|
1873
|
+
trail += 0x40 if trail < 0x3F else 0x62
|
1874
|
+
if trail < 0x80:
|
1875
|
+
big5_in_ref_file.write((u"\uFFFD%s\n" % unichr(trail)).encode("utf-8"))
|
1876
|
+
else:
|
1877
|
+
big5_in_ref_file.write(u"\uFFFD\n".encode("utf-8"))
|
1878
|
+
big5_in_ref_file.close()
|
1879
|
+
|
1880
|
+
prefer_last = [
|
1881
|
+
0x2550,
|
1882
|
+
0x255E,
|
1883
|
+
0x2561,
|
1884
|
+
0x256A,
|
1885
|
+
0x5341,
|
1886
|
+
0x5345,
|
1887
|
+
]
|
1888
|
+
|
1889
|
+
pointer_for_prefer_last = []
|
1890
|
+
|
1891
|
+
for code_point in prefer_last:
|
1892
|
+
# Python lists don't have .rindex() :-(
|
1893
|
+
for i in xrange(len(index) - 1, -1, -1):
|
1894
|
+
candidate = index[i]
|
1895
|
+
if candidate == code_point:
|
1896
|
+
pointer_for_prefer_last.append(i)
|
1897
|
+
break
|
1898
|
+
|
1899
|
+
big5_out_file = open("src/test_data/big5_out.txt", "w")
|
1900
|
+
big5_out_ref_file = open("src/test_data/big5_out_ref.txt", "w")
|
1901
|
+
big5_out_file.write(TEST_HEADER)
|
1902
|
+
big5_out_ref_file.write(TEST_HEADER)
|
1903
|
+
for pointer in range(((0xA1 - 0x81) * 157), len(index)):
|
1904
|
+
code_point = index[pointer]
|
1905
|
+
if code_point:
|
1906
|
+
if code_point in prefer_last:
|
1907
|
+
if pointer != pointer_for_prefer_last[prefer_last.index(code_point)]:
|
1908
|
+
continue
|
1909
|
+
else:
|
1910
|
+
if pointer != index.index(code_point):
|
1911
|
+
continue
|
1912
|
+
(lead, trail) = divmod(pointer, 157)
|
1913
|
+
lead += 0x81
|
1914
|
+
trail += 0x40 if trail < 0x3F else 0x62
|
1915
|
+
big5_out_ref_file.write("%s%s\n" % (chr(lead), chr(trail)))
|
1916
|
+
big5_out_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1917
|
+
big5_out_file.close()
|
1918
|
+
big5_out_ref_file.close()
|
1919
|
+
|
1920
|
+
index = indexes["jis0212"]
|
1921
|
+
|
1922
|
+
jis0212_in_file = open("src/test_data/jis0212_in.txt", "w")
|
1923
|
+
jis0212_in_file.write(TEST_HEADER)
|
1924
|
+
for pointer in range(0, len(index)):
|
1925
|
+
(lead, trail) = divmod(pointer, 94)
|
1926
|
+
lead += 0xA1
|
1927
|
+
trail += 0xA1
|
1928
|
+
jis0212_in_file.write("\x8F%s%s\n" % (chr(lead), chr(trail)))
|
1929
|
+
jis0212_in_file.close()
|
1930
|
+
|
1931
|
+
jis0212_in_ref_file = open("src/test_data/jis0212_in_ref.txt", "w")
|
1932
|
+
jis0212_in_ref_file.write(TEST_HEADER)
|
1933
|
+
for pointer in range(0, len(index)):
|
1934
|
+
code_point = index[pointer]
|
1935
|
+
if code_point:
|
1936
|
+
jis0212_in_ref_file.write((u"%s\n" % unichr(code_point)).encode("utf-8"))
|
1937
|
+
else:
|
1938
|
+
jis0212_in_ref_file.write(u"\uFFFD\n".encode("utf-8"))
|
1939
|
+
jis0212_in_ref_file.close()
|
1940
|
+
|
1941
|
+
(codepage_begin, codepage_end) = read_non_generated("../codepage/src/lib.rs")
|
1942
|
+
|
1943
|
+
codepage_file = open("../codepage/src/lib.rs", "w")
|
1944
|
+
|
1945
|
+
codepage_file.write(codepage_begin)
|
1946
|
+
codepage_file.write("""
|
1947
|
+
// Instead, please regenerate using generate-encoding-data.py
|
1948
|
+
|
1949
|
+
/// Supported code page numbers in estimated order of usage frequency
|
1950
|
+
static CODE_PAGES: [u16; %d] = [
|
1951
|
+
""" % len(code_pages))
|
1952
|
+
|
1953
|
+
for code_page in code_pages:
|
1954
|
+
codepage_file.write(" %d,\n" % code_page)
|
1955
|
+
|
1956
|
+
codepage_file.write("""];
|
1957
|
+
|
1958
|
+
/// Encodings corresponding to the code page numbers in the same order
|
1959
|
+
static ENCODINGS: [&'static Encoding; %d] = [
|
1960
|
+
""" % len(code_pages))
|
1961
|
+
|
1962
|
+
for code_page in code_pages:
|
1963
|
+
name = encodings_by_code_page[code_page]
|
1964
|
+
codepage_file.write(" &%s_INIT,\n" % to_constant_name(name))
|
1965
|
+
|
1966
|
+
codepage_file.write("""];
|
1967
|
+
|
1968
|
+
""")
|
1969
|
+
|
1970
|
+
codepage_file.write(codepage_end)
|
1971
|
+
codepage_file.close()
|
1972
|
+
|
1973
|
+
(codepage_test_begin, codepage_test_end) = read_non_generated("../codepage/src/tests.rs")
|
1974
|
+
|
1975
|
+
codepage_test_file = open("../codepage/src/tests.rs", "w")
|
1976
|
+
|
1977
|
+
codepage_test_file.write(codepage_test_begin)
|
1978
|
+
codepage_test_file.write("""
|
1979
|
+
// Instead, please regenerate using generate-encoding-data.py
|
1980
|
+
|
1981
|
+
#[test]
|
1982
|
+
fn test_to_encoding() {
|
1983
|
+
assert_eq!(to_encoding(0), None);
|
1984
|
+
|
1985
|
+
""")
|
1986
|
+
|
1987
|
+
for code_page in code_pages:
|
1988
|
+
codepage_test_file.write(" assert_eq!(to_encoding(%d), Some(%s));\n" % (code_page, to_constant_name(encodings_by_code_page[code_page])))
|
1989
|
+
|
1990
|
+
codepage_test_file.write("""}
|
1991
|
+
|
1992
|
+
#[test]
|
1993
|
+
fn test_from_encoding() {
|
1994
|
+
""")
|
1995
|
+
|
1996
|
+
for name in preferred:
|
1997
|
+
if code_pages_by_encoding.has_key(name):
|
1998
|
+
codepage_test_file.write(" assert_eq!(from_encoding(%s), Some(%d));\n" % (to_constant_name(name), code_pages_by_encoding[name]))
|
1999
|
+
else:
|
2000
|
+
codepage_test_file.write(" assert_eq!(from_encoding(%s), None);\n" % to_constant_name(name))
|
2001
|
+
|
2002
|
+
codepage_test_file.write("""}
|
2003
|
+
""")
|
2004
|
+
|
2005
|
+
codepage_test_file.write(codepage_test_end)
|
2006
|
+
codepage_test_file.close()
|
2007
|
+
|
2008
|
+
subprocess.call(["cargo", "fmt"])
|