wasmtime 9.0.4 → 10.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +184 -101
- data/ext/Cargo.toml +6 -6
- data/ext/build.rs +2 -2
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/Cargo.toml +158 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/benches/x64-evex-encoding.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/ir/trapcode.rs +144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/abi.rs +1294 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit.rs +3684 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit_tests.rs +7895 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/imms.rs +1210 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/mod.rs +2966 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst.isle +4037 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower/isle.rs +816 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower.isle +2906 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/mod.rs +238 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/mod.rs +424 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/abi.rs +825 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/args.rs +1812 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit.rs +3008 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit_tests.rs +2338 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/encode.rs +262 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/imms.rs +250 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/mod.rs +1963 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/regs.rs +223 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/vector.rs +669 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst.isle +2915 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst_vector.isle +760 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower/isle.rs +553 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower.isle +1409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/mod.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/abi.rs +957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit.rs +3707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit_tests.rs +13409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/mod.rs +3426 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst.isle +5046 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/lower.isle +3991 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/mod.rs +213 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/abi.rs +985 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/evex.rs +749 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/rex.rs +588 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/vex.rs +492 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/args.rs +2193 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit.rs +4090 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit_tests.rs +5674 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/mod.rs +2667 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst.isle +5104 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower/isle.rs +1148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.isle +4481 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.rs +328 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/mod.rs +251 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isle_prelude.rs +862 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/abi.rs +2455 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/buffer.rs +2277 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/compile.rs +92 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/isle.rs +827 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/lower.rs +1388 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/mod.rs +549 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/reg.rs +537 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/vcode.rs +1580 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude.isle +578 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude_lower.isle +1012 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/settings.rs +600 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/verifier/mod.rs +1884 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/Cargo.toml +23 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/isa/x86.rs +444 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/shared/settings.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/chaos.rs +125 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/lib.rs +45 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/zero_sized.rs +53 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/src/list.rs +955 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/Cargo.toml +53 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/Cargo.toml +38 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/Cargo.toml +85 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/code_translator.rs +3538 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/dummy.rs +924 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/spec.rs +834 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/func_translator.rs +440 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/sections_translator.rs +417 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/translation_utils.rs +99 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/CONTRIBUTING.md +48 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/COPYRIGHT +17 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Cargo.toml +84 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Ideas.md +106 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-WHATWG +26 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/README.md +827 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/ci/miri.sh +14 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Big5.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-JP.txt +12 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-KR.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/GBK.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/IBM866.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-2022-JP.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-10.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-13.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-14.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-15.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-16.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-2.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-3.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-4.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-5.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-6.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-7.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8-I.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-R.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-U.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Shift_JIS.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16BE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16LE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-8.txt +5 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/gb18030.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/macintosh.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/replacement.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1250.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1251.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1252.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1253.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1254.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1255.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1256.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1257.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1258.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-874.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-mac-cyrillic.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-user-defined.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/generate-encoding-data.py +2008 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/rustfmt.toml +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/ascii.rs +1546 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/big5.rs +427 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/data.rs +114378 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_jp.rs +469 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_kr.rs +442 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/gb18030.rs +767 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/handles.rs +1969 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/iso_2022_jp.rs +1068 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/lib.rs +6133 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/macros.rs +1622 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/mem.rs +3354 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/replacement.rs +104 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/shift_jis.rs +426 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/simd_funcs.rs +453 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/single_byte.rs +714 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in_ref.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out_ref.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out_ref.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out_ref.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out_ref.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out_ref.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in_ref.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out_ref.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_labels_names.rs +242 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/testing.rs +262 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_16.rs +472 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_8.rs +1629 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/variant.rs +400 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/x_user_defined.rs +249 -0
- data/ext/cargo-vendor/equivalent-1.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/equivalent-1.0.1/Cargo.toml +27 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/README.md +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/src/lib.rs +113 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +12 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +200 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +323 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/CHANGELOG.md +475 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/Cargo.toml +131 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/README.md +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/bench.rs +331 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/insert_unique_unchecked.rs +32 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/clippy.toml +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/mod.rs +6 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/helpers.rs +27 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/map.rs +731 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/mod.rs +4 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/raw.rs +231 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/set.rs +659 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_map.rs +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_set.rs +123 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/mod.rs +2 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/serde.rs +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/lib.rs +165 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/macros.rs +70 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/map.rs +8506 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/alloc.rs +86 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/bitmask.rs +133 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/generic.rs +157 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/mod.rs +3378 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/neon.rs +124 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/sse2.rs +149 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/rustc_entry.rs +630 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/scopeguard.rs +72 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/set.rs +2903 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/hasher.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/raw.rs +11 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/rayon.rs +535 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/serde.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/set.rs +34 -0
- data/ext/cargo-vendor/indexmap-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/indexmap-2.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/indexmap-2.0.0/README.md +55 -0
- data/ext/cargo-vendor/indexmap-2.0.0/RELEASES.md +424 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/bench.rs +763 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/faststring.rs +185 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/arbitrary.rs +77 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/lib.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/macros.rs +178 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core/raw.rs +217 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core.rs +742 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/iter.rs +541 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/serde_seq.rs +138 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/slice.rs +471 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/tests.rs +449 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map.rs +1223 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/mutable_keys.rs +91 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/map.rs +679 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/mod.rs +27 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/set.rs +774 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rustc.rs +158 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/serde.rs +151 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/iter.rs +543 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/slice.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/tests.rs +545 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set.rs +1011 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/util.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/macros_full_path.rs +19 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/quick.rs +579 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/tests.rs +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/Cargo.toml +72 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/deny.toml +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/checker.rs +1089 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/fuzzing/func.rs +702 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/index.rs +268 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/data_structures.rs +857 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/liveranges.rs +961 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/merge.rs +368 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/mod.rs +150 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/moves.rs +1017 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/process.rs +1307 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/requirement.rs +174 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/spill.rs +165 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/stackmap.rs +79 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/lib.rs +1526 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/moves.rs +439 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/serialize.rs +311 -0
- data/ext/cargo-vendor/semver-1.0.18/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/semver-1.0.18/Cargo.toml +47 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-MIT +23 -0
- data/ext/cargo-vendor/semver-1.0.18/README.md +84 -0
- data/ext/cargo-vendor/semver-1.0.18/benches/parse.rs +24 -0
- data/ext/cargo-vendor/semver-1.0.18/build.rs +75 -0
- data/ext/cargo-vendor/semver-1.0.18/src/backport.rs +23 -0
- data/ext/cargo-vendor/semver-1.0.18/src/display.rs +165 -0
- data/ext/cargo-vendor/semver-1.0.18/src/error.rs +126 -0
- data/ext/cargo-vendor/semver-1.0.18/src/eval.rs +181 -0
- data/ext/cargo-vendor/semver-1.0.18/src/identifier.rs +422 -0
- data/ext/cargo-vendor/semver-1.0.18/src/impls.rs +156 -0
- data/ext/cargo-vendor/semver-1.0.18/src/lib.rs +533 -0
- data/ext/cargo-vendor/semver-1.0.18/src/parse.rs +409 -0
- data/ext/cargo-vendor/semver-1.0.18/src/serde.rs +109 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/node/mod.rs +43 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_autotrait.rs +14 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_identifier.rs +45 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version.rs +238 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version_req.rs +443 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/util/mod.rs +39 -0
- data/ext/cargo-vendor/sptr-0.3.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/sptr-0.3.2/Cargo.toml +28 -0
- data/ext/cargo-vendor/sptr-0.3.2/README.md +73 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/func.rs +83 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/int.rs +364 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/lib.rs +756 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/dir.rs +464 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/lib.rs +141 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/Cargo.toml +87 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/file.rs +262 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/snapshots/preview_1.rs +1490 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/exports.rs +127 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/imports.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/types.rs +759 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/code.rs +2913 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/custom.rs +55 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/data.rs +185 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/elements.rs +224 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/globals.rs +90 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/imports.rs +142 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/memories.rs +99 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/names.rs +265 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/producers.rs +180 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tables.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/types.rs +246 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.lock +621 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/benches/benchmark.rs +351 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/lib.rs +723 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/parser.rs +1535 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/canonicals.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/types.rs +874 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core.rs +35 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/component.rs +3082 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/core.rs +1334 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/operators.rs +3463 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/types.rs +3070 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator.rs +1589 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/README.md +36 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/benches/benchmark.rs +349 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/examples/simple.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +726 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +59 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/parser.rs +1612 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/aliases.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/canonicals.rs +120 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/names.rs +102 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/start.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/code.rs +146 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/custom.rs +63 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/data.rs +96 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/dylink0.rs +132 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/elements.rs +152 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/exports.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/functions.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/globals.rs +49 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/imports.rs +76 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/init.rs +51 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/memories.rs +56 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/names.rs +153 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/operators.rs +354 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tables.rs +87 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tags.rs +32 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +1141 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers.rs +316 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/resources.rs +398 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +3148 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +1314 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/func.rs +348 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +3466 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +3283 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +1568 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/tests/big-module.rs +33 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +39 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/README.md +47 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +2962 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +873 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/tests/all.rs +278 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/Cargo.toml +183 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/compiler.rs +710 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/component.rs +382 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/instance.rs +727 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/matching.rs +112 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/mod.rs +313 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/config.rs +2066 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine/serialization.rs +622 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine.rs +757 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/externals.rs +763 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func/typed.rs +638 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func.rs +2355 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/instance.rs +905 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/lib.rs +486 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/linker.rs +1479 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/memory.rs +950 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/module.rs +1274 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/ref.rs +109 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/context.rs +243 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/func_refs.rs +85 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store.rs +2166 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/func.rs +133 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/global.rs +67 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types/matching.rs +312 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types.rs +572 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/values.rs +290 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/Cargo.toml +73 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/src/bindgen.rs +316 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/char.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/conventions.wit +39 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/direct-import.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/empty.wit +2 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/flags.wit +55 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/floats.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/function-new.wit +4 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/integers.wit +40 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/lists.wit +85 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/many-arguments.wit +52 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/multi-return.wit +14 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/records.wit +61 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/rename.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/share-types.wit +21 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-functions.wit +17 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-lists.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-wasi.wit +23 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/small-anonymous.wit +15 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-default.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-export.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/strings.wit +12 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/unions.wit +66 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/use-paths.wit +29 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/variants.wit +147 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/worlds-with-types.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen.rs +24 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/compiler.rs +1200 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/debug/transform/simulate.rs +410 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/func_environ.rs +2206 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/lib.rs +178 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/src/lib.rs +120 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.lock +681 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.toml +116 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/compiler.rs +84 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate/inline.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate.rs +1070 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/types.rs +1916 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/fact.rs +623 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module.rs +1083 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module_environ.rs +884 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/trap_encoding.rs +238 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/lib.rs +305 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/unix.rs +212 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/windows.rs +161 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/Cargo.toml +104 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/instantiate.rs +760 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/lib.rs +38 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/jitdump.rs +66 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/perfmap.rs +47 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/vtune.rs +80 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling.rs +108 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/Cargo.toml +110 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/component.rs +701 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/cow.rs +1060 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/debug_builtins.rs +58 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/externref.rs +1073 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator/pooling.rs +1368 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator.rs +531 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance.rs +1345 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/lib.rs +285 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/libcalls.rs +578 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/memory.rs +958 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/miri.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/unix.rs +148 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/windows.rs +208 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/send_sync_ptr.rs +69 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/table.rs +595 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers/unix.rs +387 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers.rs +749 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext/vm_host_func_context.rs +137 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext.rs +1221 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/src/lib.rs +462 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/Cargo.toml +153 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/lib.rs +131 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks/host.rs +73 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks.rs +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/ctx.rs +206 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/error.rs +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/filesystem.rs +269 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/mod.rs +44 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/pipe.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview1/mod.rs +1860 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/clocks.rs +80 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/env.rs +48 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/exit.rs +12 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/filesystem.rs +1020 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/io.rs +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/mod.rs +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/poll.rs +84 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/random.rs +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/random.rs +58 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/subscription.rs +104 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/sync.rs +156 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched.rs +105 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stdio.rs +176 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stream.rs +210 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/table.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/command.rs +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/mod.rs +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/monotonic-clock.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/timezone.wit +63 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/wall-clock.wit +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/filesystem/filesystem.wit +782 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/incoming-handler.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/outgoing-handler.wit +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/types.wit +159 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/io/streams.wit +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/logging/handler.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/poll/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command-extended.wit +36 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command.wit +26 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/proxy.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/reactor.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure-seed.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure.wit +21 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/random.wit +25 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/instance-network.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/ip-name-lookup.wit +69 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/network.wit +187 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp.wit +255 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp.wit +211 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/environment.wit +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/exit.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/preopens.wit +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/stdio.wit +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/main.wit +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/test.wit +19 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/typenames.witx +750 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/wasi_snapshot_preview1.witx +521 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/src/compiler.rs +220 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/Cargo.toml +29 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/lib.rs +1631 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/types.rs +179 -0
- data/ext/cargo-vendor/wiggle-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-10.0.1/Cargo.toml +106 -0
- data/ext/cargo-vendor/wiggle-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-10.0.1/README.md +18 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/src/lib.rs +210 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/Cargo.toml +62 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/local.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/mod.rs +237 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/call.rs +225 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/context.rs +270 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/env.rs +52 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/mod.rs +214 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/frame/mod.rs +172 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/abi.rs +243 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/asm.rs +300 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/masm.rs +230 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/mod.rs +127 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/regs.rs +166 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/mod.rs +215 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/abi.rs +369 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/address.rs +17 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/asm.rs +576 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/masm.rs +288 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/mod.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/regs.rs +192 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/lib.rs +21 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/masm.rs +255 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/regalloc.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/stack.rs +235 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/trampoline.rs +494 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/visitor.rs +353 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/Cargo.toml +62 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/lex.rs +679 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/resolve.rs +1122 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast.rs +1207 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/lib.rs +622 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/live.rs +111 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/resolve.rs +1307 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/all.rs +168 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/comments.wit +25 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep1/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep2/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/join.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared1.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/world.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/embedded.wit.md +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/corp/saas.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/clocks.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/filesystem.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/root.wit +44 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/a.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/b.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/bar.wit +21 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-a.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-b.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/foo.wit +31 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax1.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax3.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax4.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/alias-no-type.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/a.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/b.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-md.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10/bar.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/shared-types.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/type-then-eof.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/types.wit +61 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use-chain.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a1/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a2/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/foo.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/wasi.wit +178 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-diamond.wit +22 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-iface-no-collide.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import1.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import2.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-same-fields4.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-top-level-funcs.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-same-fields5.wit +17 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds.wit +37 -0
- data/ext/src/ruby_api/global.rs +3 -3
- data/ext/src/ruby_api/memory/unsafe_slice.rs +9 -3
- data/ext/src/ruby_api/params.rs +14 -12
- data/ext/src/ruby_api/table.rs +1 -1
- data/lib/wasmtime/version.rb +1 -1
- metadata +1418 -1079
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/Cargo.toml +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/benches/x64-evex-encoding.rs +0 -53
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/ir/trapcode.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/abi.rs +0 -1281
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit.rs +0 -3658
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit_tests.rs +0 -7868
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/imms.rs +0 -1215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/mod.rs +0 -2945
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst.isle +0 -4035
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower/isle.rs +0 -813
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower.isle +0 -2906
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/mod.rs +0 -240
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/mod.rs +0 -420
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/abi.rs +0 -726
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/args.rs +0 -1822
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit.rs +0 -2914
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit_tests.rs +0 -2317
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/encode.rs +0 -188
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/imms.rs +0 -244
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/mod.rs +0 -1823
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/regs.rs +0 -231
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/unwind/systemv.rs +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/vector.rs +0 -354
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst.isle +0 -2746
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst_vector.isle +0 -224
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower/isle.rs +0 -544
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/mod.rs +0 -219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/abi.rs +0 -947
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit.rs +0 -3697
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit_tests.rs +0 -13397
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/mod.rs +0 -3409
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst.isle +0 -5045
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/lower.isle +0 -3991
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/mod.rs +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/abi.rs +0 -978
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/evex.rs +0 -403
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/rex.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/vex.rs +0 -498
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/args.rs +0 -2168
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit.rs +0 -3938
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit_tests.rs +0 -5669
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/mod.rs +0 -2763
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst.isle +0 -5186
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower/isle.rs +0 -1158
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.isle +0 -4262
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.rs +0 -328
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/mod.rs +0 -250
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isle_prelude.rs +0 -818
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/abi.rs +0 -2410
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/buffer.rs +0 -2219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/compile.rs +0 -92
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/isle.rs +0 -827
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/lower.rs +0 -1366
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/mod.rs +0 -538
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/reg.rs +0 -532
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/vcode.rs +0 -1571
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude.isle +0 -552
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude_lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/settings.rs +0 -599
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/verifier/mod.rs +0 -1881
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/Cargo.toml +0 -23
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/isa/x86.rs +0 -445
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/shared/settings.rs +0 -331
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.96.4/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/chaos.rs +0 -78
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/lib.rs +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/zero_sized.rs +0 -42
- data/ext/cargo-vendor/cranelift-entity-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.96.4/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-entity-0.96.4/src/list.rs +0 -868
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-isle-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.96.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-native-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.96.4/Cargo.toml +0 -38
- data/ext/cargo-vendor/cranelift-native-0.96.4/src/lib.rs +0 -216
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/Cargo.toml +0 -85
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/code_translator.rs +0 -3479
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/dummy.rs +0 -901
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/spec.rs +0 -807
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/func_translator.rs +0 -419
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/sections_translator.rs +0 -429
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/translation_utils.rs +0 -108
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/Cargo.toml +0 -36
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/run-tests.sh +0 -11
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/src/lib.rs +0 -162
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/tests/test.rs +0 -267
- data/ext/cargo-vendor/regalloc2-0.8.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/regalloc2-0.8.1/Cargo.toml +0 -72
- data/ext/cargo-vendor/regalloc2-0.8.1/deny.toml +0 -28
- data/ext/cargo-vendor/regalloc2-0.8.1/src/checker.rs +0 -1089
- data/ext/cargo-vendor/regalloc2-0.8.1/src/fuzzing/func.rs +0 -673
- data/ext/cargo-vendor/regalloc2-0.8.1/src/index.rs +0 -188
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/data_structures.rs +0 -688
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/liveranges.rs +0 -1012
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/merge.rs +0 -394
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/mod.rs +0 -152
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/moves.rs +0 -985
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/process.rs +0 -1322
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/requirement.rs +0 -174
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/spill.rs +0 -198
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/stackmap.rs +0 -74
- data/ext/cargo-vendor/regalloc2-0.8.1/src/lib.rs +0 -1523
- data/ext/cargo-vendor/regalloc2-0.8.1/src/moves.rs +0 -438
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/Cargo.toml +0 -89
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/dir.rs +0 -465
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/lib.rs +0 -140
- data/ext/cargo-vendor/wasi-common-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-9.0.4/Cargo.toml +0 -86
- data/ext/cargo-vendor/wasi-common-9.0.4/src/ctx.rs +0 -127
- data/ext/cargo-vendor/wasi-common-9.0.4/src/file.rs +0 -260
- data/ext/cargo-vendor/wasi-common-9.0.4/src/snapshots/preview_1.rs +0 -1490
- data/ext/cargo-vendor/wasmparser-0.103.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.lock +0 -692
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.103.0/benches/benchmark.rs +0 -350
- data/ext/cargo-vendor/wasmparser-0.103.0/src/binary_reader.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.103.0/src/lib.rs +0 -712
- data/ext/cargo-vendor/wasmparser-0.103.0/src/parser.rs +0 -1496
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/canonicals.rs +0 -95
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/exports.rs +0 -105
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/imports.rs +0 -109
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/instances.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/types.rs +0 -508
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/producers.rs +0 -78
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/types.rs +0 -511
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core.rs +0 -33
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/component.rs +0 -2097
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/core.rs +0 -1278
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/operators.rs +0 -3456
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/types.rs +0 -2159
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator.rs +0 -1514
- data/ext/cargo-vendor/wasmtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-9.0.4/Cargo.toml +0 -183
- data/ext/cargo-vendor/wasmtime-9.0.4/build.rs +0 -20
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/component.rs +0 -519
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/instance.rs +0 -728
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/matching.rs +0 -112
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/mod.rs +0 -313
- data/ext/cargo-vendor/wasmtime-9.0.4/src/config.rs +0 -2036
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine/serialization.rs +0 -613
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine.rs +0 -729
- data/ext/cargo-vendor/wasmtime-9.0.4/src/externals.rs +0 -762
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func/typed.rs +0 -638
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func.rs +0 -2385
- data/ext/cargo-vendor/wasmtime-9.0.4/src/instance.rs +0 -905
- data/ext/cargo-vendor/wasmtime-9.0.4/src/lib.rs +0 -481
- data/ext/cargo-vendor/wasmtime-9.0.4/src/linker.rs +0 -1479
- data/ext/cargo-vendor/wasmtime-9.0.4/src/memory.rs +0 -948
- data/ext/cargo-vendor/wasmtime-9.0.4/src/module.rs +0 -1542
- data/ext/cargo-vendor/wasmtime-9.0.4/src/ref.rs +0 -108
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/context.rs +0 -243
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/func_refs.rs +0 -110
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store.rs +0 -2059
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/func.rs +0 -171
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/global.rs +0 -71
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types/matching.rs +0 -254
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types.rs +0 -551
- data/ext/cargo-vendor/wasmtime-9.0.4/src/values.rs +0 -290
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/Cargo.toml +0 -73
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/src/bindgen.rs +0 -316
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/char.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/conventions.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/direct-import.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/empty.wit +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/flags.wit +0 -53
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/floats.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/function-new.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/integers.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/lists.wit +0 -83
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/many-arguments.wit +0 -50
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/multi-return.wit +0 -12
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/records.wit +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/rename.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/share-types.wit +0 -19
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-functions.wit +0 -15
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-lists.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-wasi.wit +0 -21
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/small-anonymous.wit +0 -13
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-default.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-export.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/strings.wit +0 -10
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/unions.wit +0 -64
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/use-paths.wit +0 -27
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/variants.wit +0 -145
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/worlds-with-types.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen.rs +0 -30
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/Cargo.toml +0 -90
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/compiler.rs +0 -1200
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/func_environ.rs +0 -2162
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/lib.rs +0 -177
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/Cargo.toml +0 -57
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/src/lib.rs +0 -119
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.lock +0 -735
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/compiler.rs +0 -84
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate/inline.rs +0 -1064
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate.rs +0 -1066
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/types.rs +0 -1903
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/fact.rs +0 -622
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module.rs +0 -1043
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module_environ.rs +0 -841
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/trap_encoding.rs +0 -234
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/unix.rs +0 -199
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/windows.rs +0 -156
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/Cargo.toml +0 -100
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/instantiate.rs +0 -786
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/lib.rs +0 -39
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_linux.rs +0 -444
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_disabled.rs +0 -28
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_linux.rs +0 -104
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune.rs +0 -147
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling.rs +0 -74
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/Cargo.toml +0 -107
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/component.rs +0 -724
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/cow.rs +0 -1063
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/debug_builtins.rs +0 -56
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/externref.rs +0 -1078
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator/pooling.rs +0 -1371
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator.rs +0 -528
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance.rs +0 -1267
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/lib.rs +0 -286
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/libcalls.rs +0 -597
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/memory.rs +0 -945
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/miri.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/unix.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/windows.rs +0 -207
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/table.rs +0 -573
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers/unix.rs +0 -387
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers.rs +0 -664
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext/vm_host_func_context.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext.rs +0 -1244
- data/ext/cargo-vendor/wasmtime-types-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-9.0.4/Cargo.toml +0 -34
- data/ext/cargo-vendor/wasmtime-types-9.0.4/src/lib.rs +0 -413
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/src/lib.rs +0 -128
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/src/compiler.rs +0 -191
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/lib.rs +0 -1488
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/types.rs +0 -178
- data/ext/cargo-vendor/wiggle-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-9.0.4/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-9.0.4/README.md +0 -18
- data/ext/cargo-vendor/wiggle-generate-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-9.0.4/src/lib.rs +0 -210
- data/ext/cargo-vendor/winch-codegen-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.7.4/Cargo.toml +0 -59
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/local.rs +0 -69
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/mod.rs +0 -223
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/call.rs +0 -215
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/context.rs +0 -259
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/env.rs +0 -19
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/mod.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/frame/mod.rs +0 -166
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/abi.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/asm.rs +0 -244
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/masm.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/mod.rs +0 -122
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/regs.rs +0 -160
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/mod.rs +0 -202
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/abi.rs +0 -337
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/address.rs +0 -17
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/asm.rs +0 -499
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/masm.rs +0 -267
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/mod.rs +0 -135
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/regs.rs +0 -178
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/lib.rs +0 -20
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/masm.rs +0 -213
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/regalloc.rs +0 -61
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/stack.rs +0 -230
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/trampoline.rs +0 -206
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/visitor.rs +0 -215
- data/ext/cargo-vendor/winch-environ-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-environ-0.7.4/Cargo.toml +0 -28
- data/ext/cargo-vendor/winch-environ-0.7.4/src/lib.rs +0 -41
- data/ext/cargo-vendor/wit-parser-0.7.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/Cargo.toml +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/lex.rs +0 -662
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/resolve.rs +0 -1072
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast.rs +0 -1099
- data/ext/cargo-vendor/wit-parser-0.7.1/src/lib.rs +0 -617
- data/ext/cargo-vendor/wit-parser-0.7.1/src/live.rs +0 -123
- data/ext/cargo-vendor/wit-parser-0.7.1/src/resolve.rs +0 -1478
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/all.rs +0 -168
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/comments.wit +0 -23
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/world.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/embedded.wit.md +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/corp/saas.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/root.wit +0 -31
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/functions.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/bar.wit +0 -19
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/foo.wit +0 -15
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/alias-no-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/a.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/b.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/join.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-md.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit.result +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit +0 -13
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit +0 -10
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit +0 -16
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/shared-types.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/type-then-eof.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/types.wit +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit +0 -33
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/wasi.wit +0 -176
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-diamond.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-top-level-funcs.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds.wit +0 -40
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dfg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/DESIGN.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/TODO +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/cfg.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/domtree.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/fuzzing/mod.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/indexset.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/dump.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/redundant_moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/reg_traversal.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/postorder.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasm-encoder-0.29.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmparser-0.107.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmparser-0.111.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmprinter-0.2.63}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-9.0.4 → wasmtime-asm-macros-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-cache-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-9.0.4 → wasmtime-component-util-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-cranelift-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-environ-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/compilation.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-fiber-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-jit-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wasmtime-runtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/component/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/macos.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/windows.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wasmtime-types-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-types-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-9.0.4 → wasmtime-wasi-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-md.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1/tests/ui/empty.wit → wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit} +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
@@ -1,2036 +0,0 @@
|
|
1
|
-
use crate::memory::MemoryCreator;
|
2
|
-
use crate::trampoline::MemoryCreatorProxy;
|
3
|
-
use anyhow::{bail, Result};
|
4
|
-
use serde::{Deserialize, Serialize};
|
5
|
-
use std::collections::{HashMap, HashSet};
|
6
|
-
use std::fmt;
|
7
|
-
#[cfg(any(feature = "cache", compiler))]
|
8
|
-
use std::path::Path;
|
9
|
-
use std::str::FromStr;
|
10
|
-
use std::sync::Arc;
|
11
|
-
use target_lexicon::Architecture;
|
12
|
-
use wasmparser::WasmFeatures;
|
13
|
-
#[cfg(feature = "cache")]
|
14
|
-
use wasmtime_cache::CacheConfig;
|
15
|
-
use wasmtime_environ::Tunables;
|
16
|
-
use wasmtime_jit::{JitDumpAgent, NullProfilerAgent, PerfMapAgent, ProfilingAgent, VTuneAgent};
|
17
|
-
use wasmtime_runtime::{InstanceAllocator, OnDemandInstanceAllocator, RuntimeMemoryCreator};
|
18
|
-
|
19
|
-
pub use wasmtime_environ::CacheStore;
|
20
|
-
|
21
|
-
/// Represents the module instance allocation strategy to use.
|
22
|
-
#[derive(Clone)]
|
23
|
-
pub enum InstanceAllocationStrategy {
|
24
|
-
/// The on-demand instance allocation strategy.
|
25
|
-
///
|
26
|
-
/// Resources related to a module instance are allocated at instantiation time and
|
27
|
-
/// immediately deallocated when the `Store` referencing the instance is dropped.
|
28
|
-
///
|
29
|
-
/// This is the default allocation strategy for Wasmtime.
|
30
|
-
OnDemand,
|
31
|
-
/// The pooling instance allocation strategy.
|
32
|
-
///
|
33
|
-
/// A pool of resources is created in advance and module instantiation reuses resources
|
34
|
-
/// from the pool. Resources are returned to the pool when the `Store` referencing the instance
|
35
|
-
/// is dropped.
|
36
|
-
#[cfg(feature = "pooling-allocator")]
|
37
|
-
Pooling(PoolingAllocationConfig),
|
38
|
-
}
|
39
|
-
|
40
|
-
impl InstanceAllocationStrategy {
|
41
|
-
/// The default pooling instance allocation strategy.
|
42
|
-
#[cfg(feature = "pooling-allocator")]
|
43
|
-
pub fn pooling() -> Self {
|
44
|
-
Self::Pooling(Default::default())
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
impl Default for InstanceAllocationStrategy {
|
49
|
-
fn default() -> Self {
|
50
|
-
Self::OnDemand
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
#[derive(Clone)]
|
55
|
-
/// Configure the strategy used for versioning in serializing and deserializing [`crate::Module`].
|
56
|
-
pub enum ModuleVersionStrategy {
|
57
|
-
/// Use the wasmtime crate's Cargo package version.
|
58
|
-
WasmtimeVersion,
|
59
|
-
/// Use a custom version string. Must be at most 255 bytes.
|
60
|
-
Custom(String),
|
61
|
-
/// Emit no version string in serialization, and accept all version strings in deserialization.
|
62
|
-
None,
|
63
|
-
}
|
64
|
-
|
65
|
-
impl Default for ModuleVersionStrategy {
|
66
|
-
fn default() -> Self {
|
67
|
-
ModuleVersionStrategy::WasmtimeVersion
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
/// Global configuration options used to create an [`Engine`](crate::Engine)
|
72
|
-
/// and customize its behavior.
|
73
|
-
///
|
74
|
-
/// This structure exposed a builder-like interface and is primarily consumed by
|
75
|
-
/// [`Engine::new()`](crate::Engine::new).
|
76
|
-
///
|
77
|
-
/// The validation of `Config` is deferred until the engine is being built, thus
|
78
|
-
/// a problematic config may cause `Engine::new` to fail.
|
79
|
-
#[derive(Clone)]
|
80
|
-
pub struct Config {
|
81
|
-
#[cfg(compiler)]
|
82
|
-
compiler_config: CompilerConfig,
|
83
|
-
profiling_strategy: ProfilingStrategy,
|
84
|
-
|
85
|
-
pub(crate) tunables: Tunables,
|
86
|
-
#[cfg(feature = "cache")]
|
87
|
-
pub(crate) cache_config: CacheConfig,
|
88
|
-
pub(crate) mem_creator: Option<Arc<dyn RuntimeMemoryCreator>>,
|
89
|
-
pub(crate) allocation_strategy: InstanceAllocationStrategy,
|
90
|
-
pub(crate) max_wasm_stack: usize,
|
91
|
-
pub(crate) features: WasmFeatures,
|
92
|
-
pub(crate) wasm_backtrace: bool,
|
93
|
-
pub(crate) wasm_backtrace_details_env_used: bool,
|
94
|
-
pub(crate) native_unwind_info: bool,
|
95
|
-
#[cfg(feature = "async")]
|
96
|
-
pub(crate) async_stack_size: usize,
|
97
|
-
pub(crate) async_support: bool,
|
98
|
-
pub(crate) module_version: ModuleVersionStrategy,
|
99
|
-
pub(crate) parallel_compilation: bool,
|
100
|
-
pub(crate) memory_init_cow: bool,
|
101
|
-
pub(crate) memory_guaranteed_dense_image_size: u64,
|
102
|
-
pub(crate) force_memory_init_memfd: bool,
|
103
|
-
}
|
104
|
-
|
105
|
-
/// User-provided configuration for the compiler.
|
106
|
-
#[cfg(compiler)]
|
107
|
-
#[derive(Debug, Clone)]
|
108
|
-
struct CompilerConfig {
|
109
|
-
strategy: Strategy,
|
110
|
-
target: Option<target_lexicon::Triple>,
|
111
|
-
settings: HashMap<String, String>,
|
112
|
-
flags: HashSet<String>,
|
113
|
-
#[cfg(compiler)]
|
114
|
-
cache_store: Option<Arc<dyn CacheStore>>,
|
115
|
-
clif_dir: Option<std::path::PathBuf>,
|
116
|
-
}
|
117
|
-
|
118
|
-
#[cfg(compiler)]
|
119
|
-
impl CompilerConfig {
|
120
|
-
fn new(strategy: Strategy) -> Self {
|
121
|
-
Self {
|
122
|
-
strategy,
|
123
|
-
target: None,
|
124
|
-
settings: HashMap::new(),
|
125
|
-
flags: HashSet::new(),
|
126
|
-
cache_store: None,
|
127
|
-
clif_dir: None,
|
128
|
-
}
|
129
|
-
}
|
130
|
-
|
131
|
-
/// Ensures that the key is not set or equals to the given value.
|
132
|
-
/// If the key is not set, it will be set to the given value.
|
133
|
-
///
|
134
|
-
/// # Returns
|
135
|
-
///
|
136
|
-
/// Returns true if successfully set or already had the given setting
|
137
|
-
/// value, or false if the setting was explicitly set to something
|
138
|
-
/// else previously.
|
139
|
-
fn ensure_setting_unset_or_given(&mut self, k: &str, v: &str) -> bool {
|
140
|
-
if let Some(value) = self.settings.get(k) {
|
141
|
-
if value != v {
|
142
|
-
return false;
|
143
|
-
}
|
144
|
-
} else {
|
145
|
-
self.settings.insert(k.to_string(), v.to_string());
|
146
|
-
}
|
147
|
-
true
|
148
|
-
}
|
149
|
-
}
|
150
|
-
|
151
|
-
#[cfg(compiler)]
|
152
|
-
impl Default for CompilerConfig {
|
153
|
-
fn default() -> Self {
|
154
|
-
Self::new(Strategy::Auto)
|
155
|
-
}
|
156
|
-
}
|
157
|
-
|
158
|
-
impl Config {
|
159
|
-
/// Creates a new configuration object with the default configuration
|
160
|
-
/// specified.
|
161
|
-
pub fn new() -> Self {
|
162
|
-
let mut ret = Self {
|
163
|
-
tunables: Tunables::default(),
|
164
|
-
#[cfg(compiler)]
|
165
|
-
compiler_config: CompilerConfig::default(),
|
166
|
-
#[cfg(feature = "cache")]
|
167
|
-
cache_config: CacheConfig::new_cache_disabled(),
|
168
|
-
profiling_strategy: ProfilingStrategy::None,
|
169
|
-
mem_creator: None,
|
170
|
-
allocation_strategy: InstanceAllocationStrategy::OnDemand,
|
171
|
-
// 512k of stack -- note that this is chosen currently to not be too
|
172
|
-
// big, not be too small, and be a good default for most platforms.
|
173
|
-
// One platform of particular note is Windows where the stack size
|
174
|
-
// of the main thread seems to, by default, be smaller than that of
|
175
|
-
// Linux and macOS. This 512k value at least lets our current test
|
176
|
-
// suite pass on the main thread of Windows (using `--test-threads
|
177
|
-
// 1` forces this), or at least it passed when this change was
|
178
|
-
// committed.
|
179
|
-
max_wasm_stack: 512 * 1024,
|
180
|
-
wasm_backtrace: true,
|
181
|
-
wasm_backtrace_details_env_used: false,
|
182
|
-
native_unwind_info: true,
|
183
|
-
features: WasmFeatures::default(),
|
184
|
-
#[cfg(feature = "async")]
|
185
|
-
async_stack_size: 2 << 20,
|
186
|
-
async_support: false,
|
187
|
-
module_version: ModuleVersionStrategy::default(),
|
188
|
-
parallel_compilation: !cfg!(miri),
|
189
|
-
memory_init_cow: true,
|
190
|
-
memory_guaranteed_dense_image_size: 16 << 20,
|
191
|
-
force_memory_init_memfd: false,
|
192
|
-
};
|
193
|
-
#[cfg(compiler)]
|
194
|
-
{
|
195
|
-
ret.cranelift_debug_verifier(false);
|
196
|
-
ret.cranelift_opt_level(OptLevel::Speed);
|
197
|
-
}
|
198
|
-
|
199
|
-
ret.wasm_reference_types(true);
|
200
|
-
ret.wasm_multi_value(true);
|
201
|
-
ret.wasm_bulk_memory(true);
|
202
|
-
ret.wasm_simd(true);
|
203
|
-
ret.wasm_backtrace_details(WasmBacktraceDetails::Environment);
|
204
|
-
|
205
|
-
// This is on-by-default in `wasmparser` since it's a stage 4+ proposal
|
206
|
-
// but it's not implemented in Wasmtime yet so disable it.
|
207
|
-
ret.features.tail_call = false;
|
208
|
-
|
209
|
-
ret
|
210
|
-
}
|
211
|
-
|
212
|
-
/// Sets the target triple for the [`Config`].
|
213
|
-
///
|
214
|
-
/// By default, the host target triple is used for the [`Config`].
|
215
|
-
///
|
216
|
-
/// This method can be used to change the target triple.
|
217
|
-
///
|
218
|
-
/// Cranelift flags will not be inferred for the given target and any
|
219
|
-
/// existing target-specific Cranelift flags will be cleared.
|
220
|
-
///
|
221
|
-
/// # Errors
|
222
|
-
///
|
223
|
-
/// This method will error if the given target triple is not supported.
|
224
|
-
#[cfg(compiler)]
|
225
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))] // see build.rs
|
226
|
-
pub fn target(&mut self, target: &str) -> Result<&mut Self> {
|
227
|
-
self.compiler_config.target =
|
228
|
-
Some(target_lexicon::Triple::from_str(target).map_err(|e| anyhow::anyhow!(e))?);
|
229
|
-
|
230
|
-
Ok(self)
|
231
|
-
}
|
232
|
-
|
233
|
-
/// Enables the incremental compilation cache in Cranelift, using the provided `CacheStore`
|
234
|
-
/// backend for storage.
|
235
|
-
#[cfg(all(feature = "incremental-cache", feature = "cranelift"))]
|
236
|
-
pub fn enable_incremental_compilation(
|
237
|
-
&mut self,
|
238
|
-
cache_store: Arc<dyn CacheStore>,
|
239
|
-
) -> Result<&mut Self> {
|
240
|
-
self.compiler_config.cache_store = Some(cache_store);
|
241
|
-
Ok(self)
|
242
|
-
}
|
243
|
-
|
244
|
-
/// Whether or not to enable support for asynchronous functions in Wasmtime.
|
245
|
-
///
|
246
|
-
/// When enabled, the config can optionally define host functions with `async`.
|
247
|
-
/// Instances created and functions called with this `Config` *must* be called
|
248
|
-
/// through their asynchronous APIs, however. For example using
|
249
|
-
/// [`Func::call`](crate::Func::call) will panic when used with this config.
|
250
|
-
///
|
251
|
-
/// # Asynchronous Wasm
|
252
|
-
///
|
253
|
-
/// WebAssembly does not currently have a way to specify at the bytecode
|
254
|
-
/// level what is and isn't async. Host-defined functions, however, may be
|
255
|
-
/// defined as `async`. WebAssembly imports always appear synchronous, which
|
256
|
-
/// gives rise to a bit of an impedance mismatch here. To solve this
|
257
|
-
/// Wasmtime supports "asynchronous configs" which enables calling these
|
258
|
-
/// asynchronous functions in a way that looks synchronous to the executing
|
259
|
-
/// WebAssembly code.
|
260
|
-
///
|
261
|
-
/// An asynchronous config must always invoke wasm code asynchronously,
|
262
|
-
/// meaning we'll always represent its computation as a
|
263
|
-
/// [`Future`](std::future::Future). The `poll` method of the futures
|
264
|
-
/// returned by Wasmtime will perform the actual work of calling the
|
265
|
-
/// WebAssembly. Wasmtime won't manage its own thread pools or similar,
|
266
|
-
/// that's left up to the embedder.
|
267
|
-
///
|
268
|
-
/// To implement futures in a way that WebAssembly sees asynchronous host
|
269
|
-
/// functions as synchronous, all async Wasmtime futures will execute on a
|
270
|
-
/// separately allocated native stack from the thread otherwise executing
|
271
|
-
/// Wasmtime. This separate native stack can then be switched to and from.
|
272
|
-
/// Using this whenever an `async` host function returns a future that
|
273
|
-
/// resolves to `Pending` we switch away from the temporary stack back to
|
274
|
-
/// the main stack and propagate the `Pending` status.
|
275
|
-
///
|
276
|
-
/// In general it's encouraged that the integration with `async` and
|
277
|
-
/// wasmtime is designed early on in your embedding of Wasmtime to ensure
|
278
|
-
/// that it's planned that WebAssembly executes in the right context of your
|
279
|
-
/// application.
|
280
|
-
///
|
281
|
-
/// # Execution in `poll`
|
282
|
-
///
|
283
|
-
/// The [`Future::poll`](std::future::Future::poll) method is the main
|
284
|
-
/// driving force behind Rust's futures. That method's own documentation
|
285
|
-
/// states "an implementation of `poll` should strive to return quickly, and
|
286
|
-
/// should not block". This, however, can be at odds with executing
|
287
|
-
/// WebAssembly code as part of the `poll` method itself. If your
|
288
|
-
/// WebAssembly is untrusted then this could allow the `poll` method to take
|
289
|
-
/// arbitrarily long in the worst case, likely blocking all other
|
290
|
-
/// asynchronous tasks.
|
291
|
-
///
|
292
|
-
/// To remedy this situation you have a a few possible ways to solve this:
|
293
|
-
///
|
294
|
-
/// * The most efficient solution is to enable
|
295
|
-
/// [`Config::epoch_interruption`] in conjunction with
|
296
|
-
/// [`crate::Store::epoch_deadline_async_yield_and_update`]. Coupled with
|
297
|
-
/// periodic calls to [`crate::Engine::increment_epoch`] this will cause
|
298
|
-
/// executing WebAssembly to periodically yield back according to the
|
299
|
-
/// epoch configuration settings. This enables `Future::poll` to take at
|
300
|
-
/// most a certain amount of time according to epoch configuration
|
301
|
-
/// settings and when increments happen. The benefit of this approach is
|
302
|
-
/// that the instrumentation in compiled code is quite lightweight, but a
|
303
|
-
/// downside can be that the scheduling is somewhat nondeterministic since
|
304
|
-
/// increments are usually timer-based which are not always deterministic.
|
305
|
-
///
|
306
|
-
/// Note that to prevent infinite execution of wasm it's recommended to
|
307
|
-
/// place a timeout on the entire future representing executing wasm code
|
308
|
-
/// and the periodic yields with epochs should ensure that when the
|
309
|
-
/// timeout is reached it's appropriately recognized.
|
310
|
-
///
|
311
|
-
/// * Alternatively you can enable the
|
312
|
-
/// [`Config::consume_fuel`](crate::Config::consume_fuel) method as well
|
313
|
-
/// as [`crate::Store::out_of_fuel_async_yield`] When doing so this will
|
314
|
-
/// configure Wasmtime futures to yield periodically while they're
|
315
|
-
/// executing WebAssembly code. After consuming the specified amount of
|
316
|
-
/// fuel wasm futures will return `Poll::Pending` from their `poll`
|
317
|
-
/// method, and will get automatically re-polled later. This enables the
|
318
|
-
/// `Future::poll` method to take roughly a fixed amount of time since
|
319
|
-
/// fuel is guaranteed to get consumed while wasm is executing. Unlike
|
320
|
-
/// epoch-based preemption this is deterministic since wasm always
|
321
|
-
/// consumes a fixed amount of fuel per-operation. The downside of this
|
322
|
-
/// approach, however, is that the compiled code instrumentation is
|
323
|
-
/// significantly more expensive than epoch checks.
|
324
|
-
///
|
325
|
-
/// Note that to prevent infinite execution of wasm it's recommended to
|
326
|
-
/// place a timeout on the entire future representing executing wasm code
|
327
|
-
/// and the periodic yields with epochs should ensure that when the
|
328
|
-
/// timeout is reached it's appropriately recognized.
|
329
|
-
///
|
330
|
-
/// In all cases special care needs to be taken when integrating
|
331
|
-
/// asynchronous wasm into your application. You should carefully plan where
|
332
|
-
/// WebAssembly will execute and what compute resources will be allotted to
|
333
|
-
/// it. If Wasmtime doesn't support exactly what you'd like just yet, please
|
334
|
-
/// feel free to open an issue!
|
335
|
-
#[cfg(feature = "async")]
|
336
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
337
|
-
pub fn async_support(&mut self, enable: bool) -> &mut Self {
|
338
|
-
self.async_support = enable;
|
339
|
-
self
|
340
|
-
}
|
341
|
-
|
342
|
-
/// Configures whether DWARF debug information will be emitted during
|
343
|
-
/// compilation.
|
344
|
-
///
|
345
|
-
/// By default this option is `false`.
|
346
|
-
pub fn debug_info(&mut self, enable: bool) -> &mut Self {
|
347
|
-
self.tunables.generate_native_debuginfo = enable;
|
348
|
-
self
|
349
|
-
}
|
350
|
-
|
351
|
-
/// Configures whether [`WasmBacktrace`] will be present in the context of
|
352
|
-
/// errors returned from Wasmtime.
|
353
|
-
///
|
354
|
-
/// A backtrace may be collected whenever an error is returned from a host
|
355
|
-
/// function call through to WebAssembly or when WebAssembly itself hits a
|
356
|
-
/// trap condition, such as an out-of-bounds memory access. This flag
|
357
|
-
/// indicates, in these conditions, whether the backtrace is collected or
|
358
|
-
/// not.
|
359
|
-
///
|
360
|
-
/// Currently wasm backtraces are implemented through frame pointer walking.
|
361
|
-
/// This means that collecting a backtrace is expected to be a fast and
|
362
|
-
/// relatively cheap operation. Additionally backtrace collection is
|
363
|
-
/// suitable in concurrent environments since one thread capturing a
|
364
|
-
/// backtrace won't block other threads.
|
365
|
-
///
|
366
|
-
/// Collected backtraces are attached via [`anyhow::Error::context`] to
|
367
|
-
/// errors returned from host functions. The [`WasmBacktrace`] type can be
|
368
|
-
/// acquired via [`anyhow::Error::downcast_ref`] to inspect the backtrace.
|
369
|
-
/// When this option is disabled then this context is never applied to
|
370
|
-
/// errors coming out of wasm.
|
371
|
-
///
|
372
|
-
/// This option is `true` by default.
|
373
|
-
///
|
374
|
-
/// [`WasmBacktrace`]: crate::WasmBacktrace
|
375
|
-
pub fn wasm_backtrace(&mut self, enable: bool) -> &mut Self {
|
376
|
-
self.wasm_backtrace = enable;
|
377
|
-
self
|
378
|
-
}
|
379
|
-
|
380
|
-
/// Configures whether backtraces in `Trap` will parse debug info in the wasm file to
|
381
|
-
/// have filename/line number information.
|
382
|
-
///
|
383
|
-
/// When enabled this will causes modules to retain debugging information
|
384
|
-
/// found in wasm binaries. This debug information will be used when a trap
|
385
|
-
/// happens to symbolicate each stack frame and attempt to print a
|
386
|
-
/// filename/line number for each wasm frame in the stack trace.
|
387
|
-
///
|
388
|
-
/// By default this option is `WasmBacktraceDetails::Environment`, meaning
|
389
|
-
/// that wasm will read `WASMTIME_BACKTRACE_DETAILS` to indicate whether details
|
390
|
-
/// should be parsed.
|
391
|
-
pub fn wasm_backtrace_details(&mut self, enable: WasmBacktraceDetails) -> &mut Self {
|
392
|
-
self.wasm_backtrace_details_env_used = false;
|
393
|
-
self.tunables.parse_wasm_debuginfo = match enable {
|
394
|
-
WasmBacktraceDetails::Enable => true,
|
395
|
-
WasmBacktraceDetails::Disable => false,
|
396
|
-
WasmBacktraceDetails::Environment => {
|
397
|
-
self.wasm_backtrace_details_env_used = true;
|
398
|
-
std::env::var("WASMTIME_BACKTRACE_DETAILS")
|
399
|
-
.map(|s| s == "1")
|
400
|
-
.unwrap_or(false)
|
401
|
-
}
|
402
|
-
};
|
403
|
-
self
|
404
|
-
}
|
405
|
-
|
406
|
-
/// Configures whether to generate native unwind information
|
407
|
-
/// (e.g. `.eh_frame` on Linux).
|
408
|
-
///
|
409
|
-
/// This configuration option only exists to help third-party stack
|
410
|
-
/// capturing mechanisms, such as the system's unwinder or the `backtrace`
|
411
|
-
/// crate, determine how to unwind through Wasm frames. It does not affect
|
412
|
-
/// whether Wasmtime can capture Wasm backtraces or not. The presence of
|
413
|
-
/// [`WasmBacktrace`] is controlled by the [`Config::wasm_backtrace`]
|
414
|
-
/// option.
|
415
|
-
///
|
416
|
-
/// Note that native unwind information is always generated when targeting
|
417
|
-
/// Windows, since the Windows ABI requires it.
|
418
|
-
///
|
419
|
-
/// This option defaults to `true`.
|
420
|
-
///
|
421
|
-
/// [`WasmBacktrace`]: crate::WasmBacktrace
|
422
|
-
pub fn native_unwind_info(&mut self, enable: bool) -> &mut Self {
|
423
|
-
self.native_unwind_info = enable;
|
424
|
-
self
|
425
|
-
}
|
426
|
-
|
427
|
-
/// Configures whether execution of WebAssembly will "consume fuel" to
|
428
|
-
/// either halt or yield execution as desired.
|
429
|
-
///
|
430
|
-
/// This can be used to deterministically prevent infinitely-executing
|
431
|
-
/// WebAssembly code by instrumenting generated code to consume fuel as it
|
432
|
-
/// executes. When fuel runs out the behavior is defined by configuration
|
433
|
-
/// within a [`Store`], and by default a trap is raised.
|
434
|
-
///
|
435
|
-
/// Note that a [`Store`] starts with no fuel, so if you enable this option
|
436
|
-
/// you'll have to be sure to pour some fuel into [`Store`] before
|
437
|
-
/// executing some code.
|
438
|
-
///
|
439
|
-
/// By default this option is `false`.
|
440
|
-
///
|
441
|
-
/// [`Store`]: crate::Store
|
442
|
-
pub fn consume_fuel(&mut self, enable: bool) -> &mut Self {
|
443
|
-
self.tunables.consume_fuel = enable;
|
444
|
-
self
|
445
|
-
}
|
446
|
-
|
447
|
-
/// Enables epoch-based interruption.
|
448
|
-
///
|
449
|
-
/// When executing code in async mode, we sometimes want to
|
450
|
-
/// implement a form of cooperative timeslicing: long-running Wasm
|
451
|
-
/// guest code should periodically yield to the executor
|
452
|
-
/// loop. This yielding could be implemented by using "fuel" (see
|
453
|
-
/// [`consume_fuel`](Config::consume_fuel)). However, fuel
|
454
|
-
/// instrumentation is somewhat expensive: it modifies the
|
455
|
-
/// compiled form of the Wasm code so that it maintains a precise
|
456
|
-
/// instruction count, frequently checking this count against the
|
457
|
-
/// remaining fuel. If one does not need this precise count or
|
458
|
-
/// deterministic interruptions, and only needs a periodic
|
459
|
-
/// interrupt of some form, then It would be better to have a more
|
460
|
-
/// lightweight mechanism.
|
461
|
-
///
|
462
|
-
/// Epoch-based interruption is that mechanism. There is a global
|
463
|
-
/// "epoch", which is a counter that divides time into arbitrary
|
464
|
-
/// periods (or epochs). This counter lives on the
|
465
|
-
/// [`Engine`](crate::Engine) and can be incremented by calling
|
466
|
-
/// [`Engine::increment_epoch`](crate::Engine::increment_epoch).
|
467
|
-
/// Epoch-based instrumentation works by setting a "deadline
|
468
|
-
/// epoch". The compiled code knows the deadline, and at certain
|
469
|
-
/// points, checks the current epoch against that deadline. It
|
470
|
-
/// will yield if the deadline has been reached.
|
471
|
-
///
|
472
|
-
/// The idea is that checking an infrequently-changing counter is
|
473
|
-
/// cheaper than counting and frequently storing a precise metric
|
474
|
-
/// (instructions executed) locally. The interruptions are not
|
475
|
-
/// deterministic, but if the embedder increments the epoch in a
|
476
|
-
/// periodic way (say, every regular timer tick by a thread or
|
477
|
-
/// signal handler), then we can ensure that all async code will
|
478
|
-
/// yield to the executor within a bounded time.
|
479
|
-
///
|
480
|
-
/// The deadline check cannot be avoided by malicious wasm code. It is safe
|
481
|
-
/// to use epoch deadlines to limit the execution time of untrusted
|
482
|
-
/// code.
|
483
|
-
///
|
484
|
-
/// The [`Store`](crate::Store) tracks the deadline, and controls
|
485
|
-
/// what happens when the deadline is reached during
|
486
|
-
/// execution. Several behaviors are possible:
|
487
|
-
///
|
488
|
-
/// - Trap if code is executing when the epoch deadline is
|
489
|
-
/// met. See
|
490
|
-
/// [`Store::epoch_deadline_trap`](crate::Store::epoch_deadline_trap).
|
491
|
-
///
|
492
|
-
/// - Call an arbitrary function. This function may chose to trap or
|
493
|
-
/// increment the epoch. See
|
494
|
-
/// [`Store::epoch_deadline_callback`](crate::Store::epoch_deadline_callback).
|
495
|
-
///
|
496
|
-
/// - Yield to the executor loop, then resume when the future is
|
497
|
-
/// next polled. See
|
498
|
-
/// [`Store::epoch_deadline_async_yield_and_update`](crate::Store::epoch_deadline_async_yield_and_update).
|
499
|
-
///
|
500
|
-
/// Trapping is the default. The yielding behaviour may be used for
|
501
|
-
/// the timeslicing behavior described above.
|
502
|
-
///
|
503
|
-
/// This feature is available with or without async support.
|
504
|
-
/// However, without async support, the timeslicing behaviour is
|
505
|
-
/// not available. This means epoch-based interruption can only
|
506
|
-
/// serve as a simple external-interruption mechanism.
|
507
|
-
///
|
508
|
-
/// An initial deadline must be set before executing code by calling
|
509
|
-
/// [`Store::set_epoch_deadline`](crate::Store::set_epoch_deadline). If this
|
510
|
-
/// deadline is not configured then wasm will immediately trap.
|
511
|
-
///
|
512
|
-
/// ## When to use fuel vs. epochs
|
513
|
-
///
|
514
|
-
/// In general, epoch-based interruption results in faster
|
515
|
-
/// execution. This difference is sometimes significant: in some
|
516
|
-
/// measurements, up to 2-3x. This is because epoch-based
|
517
|
-
/// interruption does less work: it only watches for a global
|
518
|
-
/// rarely-changing counter to increment, rather than keeping a
|
519
|
-
/// local frequently-changing counter and comparing it to a
|
520
|
-
/// deadline.
|
521
|
-
///
|
522
|
-
/// Fuel, in contrast, should be used when *deterministic*
|
523
|
-
/// yielding or trapping is needed. For example, if it is required
|
524
|
-
/// that the same function call with the same starting state will
|
525
|
-
/// always either complete or trap with an out-of-fuel error,
|
526
|
-
/// deterministically, then fuel with a fixed bound should be
|
527
|
-
/// used.
|
528
|
-
///
|
529
|
-
/// # See Also
|
530
|
-
///
|
531
|
-
/// - [`Engine::increment_epoch`](crate::Engine::increment_epoch)
|
532
|
-
/// - [`Store::set_epoch_deadline`](crate::Store::set_epoch_deadline)
|
533
|
-
/// - [`Store::epoch_deadline_trap`](crate::Store::epoch_deadline_trap)
|
534
|
-
/// - [`Store::epoch_deadline_callback`](crate::Store::epoch_deadline_callback)
|
535
|
-
/// - [`Store::epoch_deadline_async_yield_and_update`](crate::Store::epoch_deadline_async_yield_and_update)
|
536
|
-
pub fn epoch_interruption(&mut self, enable: bool) -> &mut Self {
|
537
|
-
self.tunables.epoch_interruption = enable;
|
538
|
-
self
|
539
|
-
}
|
540
|
-
|
541
|
-
/// Configures the maximum amount of stack space available for
|
542
|
-
/// executing WebAssembly code.
|
543
|
-
///
|
544
|
-
/// WebAssembly has well-defined semantics on stack overflow. This is
|
545
|
-
/// intended to be a knob which can help configure how much stack space
|
546
|
-
/// wasm execution is allowed to consume. Note that the number here is not
|
547
|
-
/// super-precise, but rather wasm will take at most "pretty close to this
|
548
|
-
/// much" stack space.
|
549
|
-
///
|
550
|
-
/// If a wasm call (or series of nested wasm calls) take more stack space
|
551
|
-
/// than the `size` specified then a stack overflow trap will be raised.
|
552
|
-
///
|
553
|
-
/// Caveat: this knob only limits the stack space consumed by wasm code.
|
554
|
-
/// More importantly, it does not ensure that this much stack space is
|
555
|
-
/// available on the calling thread stack. Exhausting the thread stack
|
556
|
-
/// typically leads to an **abort** of the process.
|
557
|
-
///
|
558
|
-
/// Here are some examples of how that could happen:
|
559
|
-
///
|
560
|
-
/// - Let's assume this option is set to 2 MiB and then a thread that has
|
561
|
-
/// a stack with 512 KiB left.
|
562
|
-
///
|
563
|
-
/// If wasm code consumes more than 512 KiB then the process will be aborted.
|
564
|
-
///
|
565
|
-
/// - Assuming the same conditions, but this time wasm code does not consume
|
566
|
-
/// any stack but calls into a host function. The host function consumes
|
567
|
-
/// more than 512 KiB of stack space. The process will be aborted.
|
568
|
-
///
|
569
|
-
/// There's another gotcha related to recursive calling into wasm: the stack
|
570
|
-
/// space consumed by a host function is counted towards this limit. The
|
571
|
-
/// host functions are not prevented from consuming more than this limit.
|
572
|
-
/// However, if the host function that used more than this limit and called
|
573
|
-
/// back into wasm, then the execution will trap immediatelly because of
|
574
|
-
/// stack overflow.
|
575
|
-
///
|
576
|
-
/// When the `async` feature is enabled, this value cannot exceed the
|
577
|
-
/// `async_stack_size` option. Be careful not to set this value too close
|
578
|
-
/// to `async_stack_size` as doing so may limit how much stack space
|
579
|
-
/// is available for host functions.
|
580
|
-
///
|
581
|
-
/// By default this option is 512 KiB.
|
582
|
-
///
|
583
|
-
/// # Errors
|
584
|
-
///
|
585
|
-
/// The `Engine::new` method will fail if the `size` specified here is
|
586
|
-
/// either 0 or larger than the [`Config::async_stack_size`] configuration.
|
587
|
-
pub fn max_wasm_stack(&mut self, size: usize) -> &mut Self {
|
588
|
-
self.max_wasm_stack = size;
|
589
|
-
self
|
590
|
-
}
|
591
|
-
|
592
|
-
/// Configures the size of the stacks used for asynchronous execution.
|
593
|
-
///
|
594
|
-
/// This setting configures the size of the stacks that are allocated for
|
595
|
-
/// asynchronous execution. The value cannot be less than `max_wasm_stack`.
|
596
|
-
///
|
597
|
-
/// The amount of stack space guaranteed for host functions is
|
598
|
-
/// `async_stack_size - max_wasm_stack`, so take care not to set these two values
|
599
|
-
/// close to one another; doing so may cause host functions to overflow the
|
600
|
-
/// stack and abort the process.
|
601
|
-
///
|
602
|
-
/// By default this option is 2 MiB.
|
603
|
-
///
|
604
|
-
/// # Errors
|
605
|
-
///
|
606
|
-
/// The `Engine::new` method will fail if the value for this option is
|
607
|
-
/// smaller than the [`Config::max_wasm_stack`] option.
|
608
|
-
#[cfg(feature = "async")]
|
609
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
610
|
-
pub fn async_stack_size(&mut self, size: usize) -> &mut Self {
|
611
|
-
self.async_stack_size = size;
|
612
|
-
self
|
613
|
-
}
|
614
|
-
|
615
|
-
/// Configures whether the WebAssembly threads proposal will be enabled for
|
616
|
-
/// compilation.
|
617
|
-
///
|
618
|
-
/// The [WebAssembly threads proposal][threads] is not currently fully
|
619
|
-
/// standardized and is undergoing development. Additionally the support in
|
620
|
-
/// wasmtime itself is still being worked on. Support for this feature can
|
621
|
-
/// be enabled through this method for appropriate wasm modules.
|
622
|
-
///
|
623
|
-
/// This feature gates items such as shared memories and atomic
|
624
|
-
/// instructions. Note that the threads feature depends on the
|
625
|
-
/// bulk memory feature, which is enabled by default.
|
626
|
-
///
|
627
|
-
/// This is `false` by default.
|
628
|
-
///
|
629
|
-
/// > **Note**: Wasmtime does not implement everything for the wasm threads
|
630
|
-
/// > spec at this time, so bugs, panics, and possibly segfaults should be
|
631
|
-
/// > expected. This should not be enabled in a production setting right
|
632
|
-
/// > now.
|
633
|
-
///
|
634
|
-
/// # Errors
|
635
|
-
///
|
636
|
-
/// The validation of this feature are deferred until the engine is being built,
|
637
|
-
/// and thus may cause `Engine::new` fail if the `bulk_memory` feature is disabled.
|
638
|
-
///
|
639
|
-
/// [threads]: https://github.com/webassembly/threads
|
640
|
-
pub fn wasm_threads(&mut self, enable: bool) -> &mut Self {
|
641
|
-
self.features.threads = enable;
|
642
|
-
self
|
643
|
-
}
|
644
|
-
|
645
|
-
/// Configures whether the [WebAssembly reference types proposal][proposal]
|
646
|
-
/// will be enabled for compilation.
|
647
|
-
///
|
648
|
-
/// This feature gates items such as the `externref` and `funcref` types as
|
649
|
-
/// well as allowing a module to define multiple tables.
|
650
|
-
///
|
651
|
-
/// Note that the reference types proposal depends on the bulk memory proposal.
|
652
|
-
///
|
653
|
-
/// This feature is `true` by default.
|
654
|
-
///
|
655
|
-
/// # Errors
|
656
|
-
///
|
657
|
-
/// The validation of this feature are deferred until the engine is being built,
|
658
|
-
/// and thus may cause `Engine::new` fail if the `bulk_memory` feature is disabled.
|
659
|
-
///
|
660
|
-
/// [proposal]: https://github.com/webassembly/reference-types
|
661
|
-
pub fn wasm_reference_types(&mut self, enable: bool) -> &mut Self {
|
662
|
-
self.features.reference_types = enable;
|
663
|
-
self
|
664
|
-
}
|
665
|
-
|
666
|
-
/// Configures whether the WebAssembly SIMD proposal will be
|
667
|
-
/// enabled for compilation.
|
668
|
-
///
|
669
|
-
/// The [WebAssembly SIMD proposal][proposal]. This feature gates items such
|
670
|
-
/// as the `v128` type and all of its operators being in a module. Note that
|
671
|
-
/// this does not enable the [relaxed simd proposal].
|
672
|
-
///
|
673
|
-
/// On x86_64 platforms note that enabling this feature requires SSE 4.2 and
|
674
|
-
/// below to be available on the target platform. Compilation will fail if
|
675
|
-
/// the compile target does not include SSE 4.2.
|
676
|
-
///
|
677
|
-
/// This is `true` by default.
|
678
|
-
///
|
679
|
-
/// [proposal]: https://github.com/webassembly/simd
|
680
|
-
/// [relaxed simd proposal]: https://github.com/WebAssembly/relaxed-simd
|
681
|
-
pub fn wasm_simd(&mut self, enable: bool) -> &mut Self {
|
682
|
-
self.features.simd = enable;
|
683
|
-
self
|
684
|
-
}
|
685
|
-
|
686
|
-
/// Configures whether the WebAssembly Relaxed SIMD proposal will be
|
687
|
-
/// enabled for compilation.
|
688
|
-
///
|
689
|
-
/// The [WebAssembly Relaxed SIMD proposal][proposal] is not, at the time of
|
690
|
-
/// this writing, at stage 4. The relaxed SIMD proposal adds new
|
691
|
-
/// instructions to WebAssembly which, for some specific inputs, are allowed
|
692
|
-
/// to produce different results on different hosts. More-or-less this
|
693
|
-
/// proposal enables exposing platform-specific semantics of SIMD
|
694
|
-
/// instructions in a controlled fashion to a WebAssembly program. From an
|
695
|
-
/// embedder's perspective this means that WebAssembly programs may execute
|
696
|
-
/// differently depending on whether the host is x86_64 or AArch64, for
|
697
|
-
/// example.
|
698
|
-
///
|
699
|
-
/// By default Wasmtime lowers relaxed SIMD instructions to the fastest
|
700
|
-
/// lowering for the platform it's running on. This means that, by default,
|
701
|
-
/// some relaxed SIMD instructions may have different results for the same
|
702
|
-
/// inputs across x86_64 and AArch64. This behavior can be disabled through
|
703
|
-
/// the [`Config::relaxed_simd_deterministic`] option which will force
|
704
|
-
/// deterministic behavior across all platforms, as classified by the
|
705
|
-
/// specification, at the cost of performance.
|
706
|
-
///
|
707
|
-
/// This is `false` by default.
|
708
|
-
///
|
709
|
-
/// [proposal]: https://github.com/webassembly/relaxed-simd
|
710
|
-
pub fn wasm_relaxed_simd(&mut self, enable: bool) -> &mut Self {
|
711
|
-
self.features.relaxed_simd = enable;
|
712
|
-
self
|
713
|
-
}
|
714
|
-
|
715
|
-
/// This option can be used to control the behavior of the [relaxed SIMD
|
716
|
-
/// proposal's][proposal] instructions.
|
717
|
-
///
|
718
|
-
/// The relaxed SIMD proposal introduces instructions that are allowed to
|
719
|
-
/// have different behavior on different architectures, primarily to afford
|
720
|
-
/// an efficient implementation on all architectures. This means, however,
|
721
|
-
/// that the same module may execute differently on one host than another,
|
722
|
-
/// which typically is not otherwise the case. This option is provided to
|
723
|
-
/// force Wasmtime to generate deterministic code for all relaxed simd
|
724
|
-
/// instructions, at the cost of performance, for all architectures. When
|
725
|
-
/// this option is enabled then the deterministic behavior of all
|
726
|
-
/// instructions in the relaxed SIMD proposal is selected.
|
727
|
-
///
|
728
|
-
/// This is `false` by default.
|
729
|
-
///
|
730
|
-
/// [proposal]: https://github.com/webassembly/relaxed-simd
|
731
|
-
pub fn relaxed_simd_deterministic(&mut self, enable: bool) -> &mut Self {
|
732
|
-
self.tunables.relaxed_simd_deterministic = enable;
|
733
|
-
self
|
734
|
-
}
|
735
|
-
|
736
|
-
/// Configures whether the [WebAssembly bulk memory operations
|
737
|
-
/// proposal][proposal] will be enabled for compilation.
|
738
|
-
///
|
739
|
-
/// This feature gates items such as the `memory.copy` instruction, passive
|
740
|
-
/// data/table segments, etc, being in a module.
|
741
|
-
///
|
742
|
-
/// This is `true` by default.
|
743
|
-
///
|
744
|
-
/// Feature `reference_types`, which is also `true` by default, requires
|
745
|
-
/// this feature to be enabled. Thus disabling this feature must also disable
|
746
|
-
/// `reference_types` as well using [`wasm_reference_types`](crate::Config::wasm_reference_types).
|
747
|
-
///
|
748
|
-
/// # Errors
|
749
|
-
///
|
750
|
-
/// Disabling this feature without disabling `reference_types` will cause
|
751
|
-
/// `Engine::new` to fail.
|
752
|
-
///
|
753
|
-
/// [proposal]: https://github.com/webassembly/bulk-memory-operations
|
754
|
-
pub fn wasm_bulk_memory(&mut self, enable: bool) -> &mut Self {
|
755
|
-
self.features.bulk_memory = enable;
|
756
|
-
self
|
757
|
-
}
|
758
|
-
|
759
|
-
/// Configures whether the WebAssembly multi-value [proposal] will
|
760
|
-
/// be enabled for compilation.
|
761
|
-
///
|
762
|
-
/// This feature gates functions and blocks returning multiple values in a
|
763
|
-
/// module, for example.
|
764
|
-
///
|
765
|
-
/// This is `true` by default.
|
766
|
-
///
|
767
|
-
/// [proposal]: https://github.com/webassembly/multi-value
|
768
|
-
pub fn wasm_multi_value(&mut self, enable: bool) -> &mut Self {
|
769
|
-
self.features.multi_value = enable;
|
770
|
-
self
|
771
|
-
}
|
772
|
-
|
773
|
-
/// Configures whether the WebAssembly multi-memory [proposal] will
|
774
|
-
/// be enabled for compilation.
|
775
|
-
///
|
776
|
-
/// This feature gates modules having more than one linear memory
|
777
|
-
/// declaration or import.
|
778
|
-
///
|
779
|
-
/// This is `false` by default.
|
780
|
-
///
|
781
|
-
/// [proposal]: https://github.com/webassembly/multi-memory
|
782
|
-
pub fn wasm_multi_memory(&mut self, enable: bool) -> &mut Self {
|
783
|
-
self.features.multi_memory = enable;
|
784
|
-
self
|
785
|
-
}
|
786
|
-
|
787
|
-
/// Configures whether the WebAssembly memory64 [proposal] will
|
788
|
-
/// be enabled for compilation.
|
789
|
-
///
|
790
|
-
/// Note that this the upstream specification is not finalized and Wasmtime
|
791
|
-
/// may also have bugs for this feature since it hasn't been exercised
|
792
|
-
/// much.
|
793
|
-
///
|
794
|
-
/// This is `false` by default.
|
795
|
-
///
|
796
|
-
/// [proposal]: https://github.com/webassembly/memory64
|
797
|
-
pub fn wasm_memory64(&mut self, enable: bool) -> &mut Self {
|
798
|
-
self.features.memory64 = enable;
|
799
|
-
self
|
800
|
-
}
|
801
|
-
|
802
|
-
/// Configures whether the WebAssembly component-model [proposal] will
|
803
|
-
/// be enabled for compilation.
|
804
|
-
///
|
805
|
-
/// Note that this feature is a work-in-progress and is incomplete.
|
806
|
-
///
|
807
|
-
/// This is `false` by default.
|
808
|
-
///
|
809
|
-
/// [proposal]: https://github.com/webassembly/component-model
|
810
|
-
#[cfg(feature = "component-model")]
|
811
|
-
pub fn wasm_component_model(&mut self, enable: bool) -> &mut Self {
|
812
|
-
self.features.component_model = enable;
|
813
|
-
self
|
814
|
-
}
|
815
|
-
|
816
|
-
/// Configures which compilation strategy will be used for wasm modules.
|
817
|
-
///
|
818
|
-
/// This method can be used to configure which compiler is used for wasm
|
819
|
-
/// modules, and for more documentation consult the [`Strategy`] enumeration
|
820
|
-
/// and its documentation.
|
821
|
-
///
|
822
|
-
/// The default value for this is `Strategy::Auto`.
|
823
|
-
#[cfg(compiler)]
|
824
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))] // see build.rs
|
825
|
-
pub fn strategy(&mut self, strategy: Strategy) -> &mut Self {
|
826
|
-
self.compiler_config.strategy = strategy;
|
827
|
-
self
|
828
|
-
}
|
829
|
-
|
830
|
-
/// Creates a default profiler based on the profiling strategy chosen.
|
831
|
-
///
|
832
|
-
/// Profiler creation calls the type's default initializer where the purpose is
|
833
|
-
/// really just to put in place the type used for profiling.
|
834
|
-
///
|
835
|
-
/// Some [`ProfilingStrategy`] require specific platforms or particular feature
|
836
|
-
/// to be enabled, such as `ProfilingStrategy::JitDump` requires the `jitdump`
|
837
|
-
/// feature.
|
838
|
-
///
|
839
|
-
/// # Errors
|
840
|
-
///
|
841
|
-
/// The validation of this field is deferred until the engine is being built, and thus may
|
842
|
-
/// cause `Engine::new` fail if the required feature is disabled, or the platform is not
|
843
|
-
/// supported.
|
844
|
-
pub fn profiler(&mut self, profile: ProfilingStrategy) -> &mut Self {
|
845
|
-
self.profiling_strategy = profile;
|
846
|
-
self
|
847
|
-
}
|
848
|
-
|
849
|
-
/// Configures whether the debug verifier of Cranelift is enabled or not.
|
850
|
-
///
|
851
|
-
/// When Cranelift is used as a code generation backend this will configure
|
852
|
-
/// it to have the `enable_verifier` flag which will enable a number of debug
|
853
|
-
/// checks inside of Cranelift. This is largely only useful for the
|
854
|
-
/// developers of wasmtime itself.
|
855
|
-
///
|
856
|
-
/// The default value for this is `false`
|
857
|
-
#[cfg(compiler)]
|
858
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))] // see build.rs
|
859
|
-
pub fn cranelift_debug_verifier(&mut self, enable: bool) -> &mut Self {
|
860
|
-
let val = if enable { "true" } else { "false" };
|
861
|
-
self.compiler_config
|
862
|
-
.settings
|
863
|
-
.insert("enable_verifier".to_string(), val.to_string());
|
864
|
-
self
|
865
|
-
}
|
866
|
-
|
867
|
-
/// Configures the Cranelift code generator optimization level.
|
868
|
-
///
|
869
|
-
/// When the Cranelift code generator is used you can configure the
|
870
|
-
/// optimization level used for generated code in a few various ways. For
|
871
|
-
/// more information see the documentation of [`OptLevel`].
|
872
|
-
///
|
873
|
-
/// The default value for this is `OptLevel::None`.
|
874
|
-
#[cfg(compiler)]
|
875
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))] // see build.rs
|
876
|
-
pub fn cranelift_opt_level(&mut self, level: OptLevel) -> &mut Self {
|
877
|
-
let val = match level {
|
878
|
-
OptLevel::None => "none",
|
879
|
-
OptLevel::Speed => "speed",
|
880
|
-
OptLevel::SpeedAndSize => "speed_and_size",
|
881
|
-
};
|
882
|
-
self.compiler_config
|
883
|
-
.settings
|
884
|
-
.insert("opt_level".to_string(), val.to_string());
|
885
|
-
self
|
886
|
-
}
|
887
|
-
|
888
|
-
/// Configures whether Cranelift should perform a NaN-canonicalization pass.
|
889
|
-
///
|
890
|
-
/// When Cranelift is used as a code generation backend this will configure
|
891
|
-
/// it to replace NaNs with a single canonical value. This is useful for users
|
892
|
-
/// requiring entirely deterministic WebAssembly computation.
|
893
|
-
/// This is not required by the WebAssembly spec, so it is not enabled by default.
|
894
|
-
///
|
895
|
-
/// The default value for this is `false`
|
896
|
-
#[cfg(compiler)]
|
897
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))] // see build.rs
|
898
|
-
pub fn cranelift_nan_canonicalization(&mut self, enable: bool) -> &mut Self {
|
899
|
-
let val = if enable { "true" } else { "false" };
|
900
|
-
self.compiler_config
|
901
|
-
.settings
|
902
|
-
.insert("enable_nan_canonicalization".to_string(), val.to_string());
|
903
|
-
self
|
904
|
-
}
|
905
|
-
|
906
|
-
/// Allows setting a Cranelift boolean flag or preset. This allows
|
907
|
-
/// fine-tuning of Cranelift settings.
|
908
|
-
///
|
909
|
-
/// Since Cranelift flags may be unstable, this method should not be considered to be stable
|
910
|
-
/// either; other `Config` functions should be preferred for stability.
|
911
|
-
///
|
912
|
-
/// # Safety
|
913
|
-
///
|
914
|
-
/// This is marked as unsafe, because setting the wrong flag might break invariants,
|
915
|
-
/// resulting in execution hazards.
|
916
|
-
///
|
917
|
-
/// # Errors
|
918
|
-
///
|
919
|
-
/// The validation of the flags are deferred until the engine is being built, and thus may
|
920
|
-
/// cause `Engine::new` fail if the flag's name does not exist, or the value is not appropriate
|
921
|
-
/// for the flag type.
|
922
|
-
#[cfg(compiler)]
|
923
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))] // see build.rs
|
924
|
-
pub unsafe fn cranelift_flag_enable(&mut self, flag: &str) -> &mut Self {
|
925
|
-
self.compiler_config.flags.insert(flag.to_string());
|
926
|
-
self
|
927
|
-
}
|
928
|
-
|
929
|
-
/// Allows settings another Cranelift flag defined by a flag name and value. This allows
|
930
|
-
/// fine-tuning of Cranelift settings.
|
931
|
-
///
|
932
|
-
/// Since Cranelift flags may be unstable, this method should not be considered to be stable
|
933
|
-
/// either; other `Config` functions should be preferred for stability.
|
934
|
-
///
|
935
|
-
/// # Safety
|
936
|
-
///
|
937
|
-
/// This is marked as unsafe, because setting the wrong flag might break invariants,
|
938
|
-
/// resulting in execution hazards.
|
939
|
-
///
|
940
|
-
/// # Errors
|
941
|
-
///
|
942
|
-
/// The validation of the flags are deferred until the engine is being built, and thus may
|
943
|
-
/// cause `Engine::new` fail if the flag's name does not exist, or incompatible with other
|
944
|
-
/// settings.
|
945
|
-
///
|
946
|
-
/// For example, feature `wasm_backtrace` will set `unwind_info` to `true`, but if it's
|
947
|
-
/// manually set to false then it will fail.
|
948
|
-
#[cfg(compiler)]
|
949
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))] // see build.rs
|
950
|
-
pub unsafe fn cranelift_flag_set(&mut self, name: &str, value: &str) -> &mut Self {
|
951
|
-
self.compiler_config
|
952
|
-
.settings
|
953
|
-
.insert(name.to_string(), value.to_string());
|
954
|
-
self
|
955
|
-
}
|
956
|
-
|
957
|
-
/// Loads cache configuration specified at `path`.
|
958
|
-
///
|
959
|
-
/// This method will read the file specified by `path` on the filesystem and
|
960
|
-
/// attempt to load cache configuration from it. This method can also fail
|
961
|
-
/// due to I/O errors, misconfiguration, syntax errors, etc. For expected
|
962
|
-
/// syntax in the configuration file see the [documentation online][docs].
|
963
|
-
///
|
964
|
-
/// By default cache configuration is not enabled or loaded.
|
965
|
-
///
|
966
|
-
/// This method is only available when the `cache` feature of this crate is
|
967
|
-
/// enabled.
|
968
|
-
///
|
969
|
-
/// # Errors
|
970
|
-
///
|
971
|
-
/// This method can fail due to any error that happens when loading the file
|
972
|
-
/// pointed to by `path` and attempting to load the cache configuration.
|
973
|
-
///
|
974
|
-
/// [docs]: https://bytecodealliance.github.io/wasmtime/cli-cache.html
|
975
|
-
#[cfg(feature = "cache")]
|
976
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "cache")))]
|
977
|
-
pub fn cache_config_load(&mut self, path: impl AsRef<Path>) -> Result<&mut Self> {
|
978
|
-
self.cache_config = CacheConfig::from_file(Some(path.as_ref()))?;
|
979
|
-
Ok(self)
|
980
|
-
}
|
981
|
-
|
982
|
-
/// Disable caching.
|
983
|
-
///
|
984
|
-
/// Every call to [`Module::new(my_wasm)`][crate::Module::new] will
|
985
|
-
/// recompile `my_wasm`, even when it is unchanged.
|
986
|
-
///
|
987
|
-
/// By default, new configs do not have caching enabled. This method is only
|
988
|
-
/// useful for disabling a previous cache configuration.
|
989
|
-
///
|
990
|
-
/// This method is only available when the `cache` feature of this crate is
|
991
|
-
/// enabled.
|
992
|
-
#[cfg(feature = "cache")]
|
993
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "cache")))]
|
994
|
-
pub fn disable_cache(&mut self) -> &mut Self {
|
995
|
-
self.cache_config = CacheConfig::new_cache_disabled();
|
996
|
-
self
|
997
|
-
}
|
998
|
-
|
999
|
-
/// Loads cache configuration from the system default path.
|
1000
|
-
///
|
1001
|
-
/// This commit is the same as [`Config::cache_config_load`] except that it
|
1002
|
-
/// does not take a path argument and instead loads the default
|
1003
|
-
/// configuration present on the system. This is located, for example, on
|
1004
|
-
/// Unix at `$HOME/.config/wasmtime/config.toml` and is typically created
|
1005
|
-
/// with the `wasmtime config new` command.
|
1006
|
-
///
|
1007
|
-
/// By default cache configuration is not enabled or loaded.
|
1008
|
-
///
|
1009
|
-
/// This method is only available when the `cache` feature of this crate is
|
1010
|
-
/// enabled.
|
1011
|
-
///
|
1012
|
-
/// # Errors
|
1013
|
-
///
|
1014
|
-
/// This method can fail due to any error that happens when loading the
|
1015
|
-
/// default system configuration. Note that it is not an error if the
|
1016
|
-
/// default config file does not exist, in which case the default settings
|
1017
|
-
/// for an enabled cache are applied.
|
1018
|
-
///
|
1019
|
-
/// [docs]: https://bytecodealliance.github.io/wasmtime/cli-cache.html
|
1020
|
-
#[cfg(feature = "cache")]
|
1021
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "cache")))]
|
1022
|
-
pub fn cache_config_load_default(&mut self) -> Result<&mut Self> {
|
1023
|
-
self.cache_config = CacheConfig::from_file(None)?;
|
1024
|
-
Ok(self)
|
1025
|
-
}
|
1026
|
-
|
1027
|
-
/// Sets a custom memory creator.
|
1028
|
-
///
|
1029
|
-
/// Custom memory creators are used when creating host `Memory` objects or when
|
1030
|
-
/// creating instance linear memories for the on-demand instance allocation strategy.
|
1031
|
-
pub fn with_host_memory(&mut self, mem_creator: Arc<dyn MemoryCreator>) -> &mut Self {
|
1032
|
-
self.mem_creator = Some(Arc::new(MemoryCreatorProxy(mem_creator)));
|
1033
|
-
self
|
1034
|
-
}
|
1035
|
-
|
1036
|
-
/// Sets the instance allocation strategy to use.
|
1037
|
-
///
|
1038
|
-
/// When using the pooling instance allocation strategy, all linear memories
|
1039
|
-
/// will be created as "static" and the
|
1040
|
-
/// [`Config::static_memory_maximum_size`] and
|
1041
|
-
/// [`Config::static_memory_guard_size`] options will be used to configure
|
1042
|
-
/// the virtual memory allocations of linear memories.
|
1043
|
-
pub fn allocation_strategy(&mut self, strategy: InstanceAllocationStrategy) -> &mut Self {
|
1044
|
-
self.allocation_strategy = strategy;
|
1045
|
-
self
|
1046
|
-
}
|
1047
|
-
|
1048
|
-
/// Configures the maximum size, in bytes, where a linear memory is
|
1049
|
-
/// considered static, above which it'll be considered dynamic.
|
1050
|
-
///
|
1051
|
-
/// > Note: this value has important performance ramifications, be sure to
|
1052
|
-
/// > understand what this value does before tweaking it and benchmarking.
|
1053
|
-
///
|
1054
|
-
/// This function configures the threshold for wasm memories whether they're
|
1055
|
-
/// implemented as a dynamically relocatable chunk of memory or a statically
|
1056
|
-
/// located chunk of memory. The `max_size` parameter here is the size, in
|
1057
|
-
/// bytes, where if the maximum size of a linear memory is below `max_size`
|
1058
|
-
/// then it will be statically allocated with enough space to never have to
|
1059
|
-
/// move. If the maximum size of a linear memory is larger than `max_size`
|
1060
|
-
/// then wasm memory will be dynamically located and may move in memory
|
1061
|
-
/// through growth operations.
|
1062
|
-
///
|
1063
|
-
/// Specifying a `max_size` of 0 means that all memories will be dynamic and
|
1064
|
-
/// may be relocated through `memory.grow`. Also note that if any wasm
|
1065
|
-
/// memory's maximum size is below `max_size` then it will still reserve
|
1066
|
-
/// `max_size` bytes in the virtual memory space.
|
1067
|
-
///
|
1068
|
-
/// ## Static vs Dynamic Memory
|
1069
|
-
///
|
1070
|
-
/// Linear memories represent contiguous arrays of bytes, but they can also
|
1071
|
-
/// be grown through the API and wasm instructions. When memory is grown if
|
1072
|
-
/// space hasn't been preallocated then growth may involve relocating the
|
1073
|
-
/// base pointer in memory. Memories in Wasmtime are classified in two
|
1074
|
-
/// different ways:
|
1075
|
-
///
|
1076
|
-
/// * **static** - these memories preallocate all space necessary they'll
|
1077
|
-
/// ever need, meaning that the base pointer of these memories is never
|
1078
|
-
/// moved. Static memories may take more virtual memory space because of
|
1079
|
-
/// pre-reserving space for memories.
|
1080
|
-
///
|
1081
|
-
/// * **dynamic** - these memories are not preallocated and may move during
|
1082
|
-
/// growth operations. Dynamic memories consume less virtual memory space
|
1083
|
-
/// because they don't need to preallocate space for future growth.
|
1084
|
-
///
|
1085
|
-
/// Static memories can be optimized better in JIT code because once the
|
1086
|
-
/// base address is loaded in a function it's known that we never need to
|
1087
|
-
/// reload it because it never changes, `memory.grow` is generally a pretty
|
1088
|
-
/// fast operation because the wasm memory is never relocated, and under
|
1089
|
-
/// some conditions bounds checks can be elided on memory accesses.
|
1090
|
-
///
|
1091
|
-
/// Dynamic memories can't be quite as heavily optimized because the base
|
1092
|
-
/// address may need to be reloaded more often, they may require relocating
|
1093
|
-
/// lots of data on `memory.grow`, and dynamic memories require
|
1094
|
-
/// unconditional bounds checks on all memory accesses.
|
1095
|
-
///
|
1096
|
-
/// ## Should you use static or dynamic memory?
|
1097
|
-
///
|
1098
|
-
/// In general you probably don't need to change the value of this property.
|
1099
|
-
/// The defaults here are optimized for each target platform to consume a
|
1100
|
-
/// reasonable amount of physical memory while also generating speedy
|
1101
|
-
/// machine code.
|
1102
|
-
///
|
1103
|
-
/// One of the main reasons you may want to configure this today is if your
|
1104
|
-
/// environment can't reserve virtual memory space for each wasm linear
|
1105
|
-
/// memory. On 64-bit platforms wasm memories require a 6GB reservation by
|
1106
|
-
/// default, and system limits may prevent this in some scenarios. In this
|
1107
|
-
/// case you may wish to force memories to be allocated dynamically meaning
|
1108
|
-
/// that the virtual memory footprint of creating a wasm memory should be
|
1109
|
-
/// exactly what's used by the wasm itself.
|
1110
|
-
///
|
1111
|
-
/// For 32-bit memories a static memory must contain at least 4GB of
|
1112
|
-
/// reserved address space plus a guard page to elide any bounds checks at
|
1113
|
-
/// all. Smaller static memories will use similar bounds checks as dynamic
|
1114
|
-
/// memories.
|
1115
|
-
///
|
1116
|
-
/// ## Default
|
1117
|
-
///
|
1118
|
-
/// The default value for this property depends on the host platform. For
|
1119
|
-
/// 64-bit platforms there's lots of address space available, so the default
|
1120
|
-
/// configured here is 4GB. WebAssembly linear memories currently max out at
|
1121
|
-
/// 4GB which means that on 64-bit platforms Wasmtime by default always uses
|
1122
|
-
/// a static memory. This, coupled with a sufficiently sized guard region,
|
1123
|
-
/// should produce the fastest JIT code on 64-bit platforms, but does
|
1124
|
-
/// require a large address space reservation for each wasm memory.
|
1125
|
-
///
|
1126
|
-
/// For 32-bit platforms this value defaults to 1GB. This means that wasm
|
1127
|
-
/// memories whose maximum size is less than 1GB will be allocated
|
1128
|
-
/// statically, otherwise they'll be considered dynamic.
|
1129
|
-
///
|
1130
|
-
/// ## Static Memory and Pooled Instance Allocation
|
1131
|
-
///
|
1132
|
-
/// When using the pooling instance allocator memories are considered to
|
1133
|
-
/// always be static memories, they are never dynamic. This setting
|
1134
|
-
/// configures the size of linear memory to reserve for each memory in the
|
1135
|
-
/// pooling allocator.
|
1136
|
-
pub fn static_memory_maximum_size(&mut self, max_size: u64) -> &mut Self {
|
1137
|
-
let max_pages = max_size / u64::from(wasmtime_environ::WASM_PAGE_SIZE);
|
1138
|
-
self.tunables.static_memory_bound = max_pages;
|
1139
|
-
self
|
1140
|
-
}
|
1141
|
-
|
1142
|
-
/// Indicates that the "static" style of memory should always be used.
|
1143
|
-
///
|
1144
|
-
/// This configuration option enables selecting the "static" option for all
|
1145
|
-
/// linear memories created within this `Config`. This means that all
|
1146
|
-
/// memories will be allocated up-front and will never move. Additionally
|
1147
|
-
/// this means that all memories are synthetically limited by the
|
1148
|
-
/// [`Config::static_memory_maximum_size`] option, irregardless of what the
|
1149
|
-
/// actual maximum size is on the memory's original type.
|
1150
|
-
///
|
1151
|
-
/// For the difference between static and dynamic memories, see the
|
1152
|
-
/// [`Config::static_memory_maximum_size`].
|
1153
|
-
pub fn static_memory_forced(&mut self, force: bool) -> &mut Self {
|
1154
|
-
self.tunables.static_memory_bound_is_maximum = force;
|
1155
|
-
self
|
1156
|
-
}
|
1157
|
-
|
1158
|
-
/// Configures the size, in bytes, of the guard region used at the end of a
|
1159
|
-
/// static memory's address space reservation.
|
1160
|
-
///
|
1161
|
-
/// > Note: this value has important performance ramifications, be sure to
|
1162
|
-
/// > understand what this value does before tweaking it and benchmarking.
|
1163
|
-
///
|
1164
|
-
/// All WebAssembly loads/stores are bounds-checked and generate a trap if
|
1165
|
-
/// they're out-of-bounds. Loads and stores are often very performance
|
1166
|
-
/// critical, so we want the bounds check to be as fast as possible!
|
1167
|
-
/// Accelerating these memory accesses is the motivation for a guard after a
|
1168
|
-
/// memory allocation.
|
1169
|
-
///
|
1170
|
-
/// Memories (both static and dynamic) can be configured with a guard at the
|
1171
|
-
/// end of them which consists of unmapped virtual memory. This unmapped
|
1172
|
-
/// memory will trigger a memory access violation (e.g. segfault) if
|
1173
|
-
/// accessed. This allows JIT code to elide bounds checks if it can prove
|
1174
|
-
/// that an access, if out of bounds, would hit the guard region. This means
|
1175
|
-
/// that having such a guard of unmapped memory can remove the need for
|
1176
|
-
/// bounds checks in JIT code.
|
1177
|
-
///
|
1178
|
-
/// For the difference between static and dynamic memories, see the
|
1179
|
-
/// [`Config::static_memory_maximum_size`].
|
1180
|
-
///
|
1181
|
-
/// ## How big should the guard be?
|
1182
|
-
///
|
1183
|
-
/// In general, like with configuring `static_memory_maximum_size`, you
|
1184
|
-
/// probably don't want to change this value from the defaults. Otherwise,
|
1185
|
-
/// though, the size of the guard region affects the number of bounds checks
|
1186
|
-
/// needed for generated wasm code. More specifically, loads/stores with
|
1187
|
-
/// immediate offsets will generate bounds checks based on how big the guard
|
1188
|
-
/// page is.
|
1189
|
-
///
|
1190
|
-
/// For 32-bit memories a 4GB static memory is required to even start
|
1191
|
-
/// removing bounds checks. A 4GB guard size will guarantee that the module
|
1192
|
-
/// has zero bounds checks for memory accesses. A 2GB guard size will
|
1193
|
-
/// eliminate all bounds checks with an immediate offset less than 2GB. A
|
1194
|
-
/// guard size of zero means that all memory accesses will still have bounds
|
1195
|
-
/// checks.
|
1196
|
-
///
|
1197
|
-
/// ## Default
|
1198
|
-
///
|
1199
|
-
/// The default value for this property is 2GB on 64-bit platforms. This
|
1200
|
-
/// allows eliminating almost all bounds checks on loads/stores with an
|
1201
|
-
/// immediate offset of less than 2GB. On 32-bit platforms this defaults to
|
1202
|
-
/// 64KB.
|
1203
|
-
///
|
1204
|
-
/// ## Errors
|
1205
|
-
///
|
1206
|
-
/// The `Engine::new` method will return an error if this option is smaller
|
1207
|
-
/// than the value configured for [`Config::dynamic_memory_guard_size`].
|
1208
|
-
pub fn static_memory_guard_size(&mut self, guard_size: u64) -> &mut Self {
|
1209
|
-
let guard_size = round_up_to_pages(guard_size);
|
1210
|
-
self.tunables.static_memory_offset_guard_size = guard_size;
|
1211
|
-
self
|
1212
|
-
}
|
1213
|
-
|
1214
|
-
/// Configures the size, in bytes, of the guard region used at the end of a
|
1215
|
-
/// dynamic memory's address space reservation.
|
1216
|
-
///
|
1217
|
-
/// For the difference between static and dynamic memories, see the
|
1218
|
-
/// [`Config::static_memory_maximum_size`]
|
1219
|
-
///
|
1220
|
-
/// For more information about what a guard is, see the documentation on
|
1221
|
-
/// [`Config::static_memory_guard_size`].
|
1222
|
-
///
|
1223
|
-
/// Note that the size of the guard region for dynamic memories is not super
|
1224
|
-
/// critical for performance. Making it reasonably-sized can improve
|
1225
|
-
/// generated code slightly, but for maximum performance you'll want to lean
|
1226
|
-
/// towards static memories rather than dynamic anyway.
|
1227
|
-
///
|
1228
|
-
/// Also note that the dynamic memory guard size must be smaller than the
|
1229
|
-
/// static memory guard size, so if a large dynamic memory guard is
|
1230
|
-
/// specified then the static memory guard size will also be automatically
|
1231
|
-
/// increased.
|
1232
|
-
///
|
1233
|
-
/// ## Default
|
1234
|
-
///
|
1235
|
-
/// This value defaults to 64KB.
|
1236
|
-
///
|
1237
|
-
/// ## Errors
|
1238
|
-
///
|
1239
|
-
/// The `Engine::new` method will return an error if this option is larger
|
1240
|
-
/// than the value configured for [`Config::static_memory_guard_size`].
|
1241
|
-
pub fn dynamic_memory_guard_size(&mut self, guard_size: u64) -> &mut Self {
|
1242
|
-
let guard_size = round_up_to_pages(guard_size);
|
1243
|
-
self.tunables.dynamic_memory_offset_guard_size = guard_size;
|
1244
|
-
self
|
1245
|
-
}
|
1246
|
-
|
1247
|
-
/// Configures the size, in bytes, of the extra virtual memory space
|
1248
|
-
/// reserved after a "dynamic" memory for growing into.
|
1249
|
-
///
|
1250
|
-
/// For the difference between static and dynamic memories, see the
|
1251
|
-
/// [`Config::static_memory_maximum_size`]
|
1252
|
-
///
|
1253
|
-
/// Dynamic memories can be relocated in the process's virtual address space
|
1254
|
-
/// on growth and do not always reserve their entire space up-front. This
|
1255
|
-
/// means that a growth of the memory may require movement in the address
|
1256
|
-
/// space, which in the worst case can copy a large number of bytes from one
|
1257
|
-
/// region to another.
|
1258
|
-
///
|
1259
|
-
/// This setting configures how many bytes are reserved after the initial
|
1260
|
-
/// reservation for a dynamic memory for growing into. A value of 0 here
|
1261
|
-
/// means that no extra bytes are reserved and all calls to `memory.grow`
|
1262
|
-
/// will need to relocate the wasm linear memory (copying all the bytes). A
|
1263
|
-
/// value of 1 megabyte, however, means that `memory.grow` can allocate up
|
1264
|
-
/// to a megabyte of extra memory before the memory needs to be moved in
|
1265
|
-
/// linear memory.
|
1266
|
-
///
|
1267
|
-
/// Note that this is a currently simple heuristic for optimizing the growth
|
1268
|
-
/// of dynamic memories, primarily implemented for the memory64 proposal
|
1269
|
-
/// where all memories are currently "dynamic". This is unlikely to be a
|
1270
|
-
/// one-size-fits-all style approach and if you're an embedder running into
|
1271
|
-
/// issues with dynamic memories and growth and are interested in having
|
1272
|
-
/// other growth strategies available here please feel free to [open an
|
1273
|
-
/// issue on the Wasmtime repository][issue]!
|
1274
|
-
///
|
1275
|
-
/// [issue]: https://github.com/bytecodealliance/wasmtime/issues/ne
|
1276
|
-
///
|
1277
|
-
/// ## Default
|
1278
|
-
///
|
1279
|
-
/// For 64-bit platforms this defaults to 2GB, and for 32-bit platforms this
|
1280
|
-
/// defaults to 1MB.
|
1281
|
-
pub fn dynamic_memory_reserved_for_growth(&mut self, reserved: u64) -> &mut Self {
|
1282
|
-
self.tunables.dynamic_memory_growth_reserve = round_up_to_pages(reserved);
|
1283
|
-
self
|
1284
|
-
}
|
1285
|
-
|
1286
|
-
/// Indicates whether a guard region is present before allocations of
|
1287
|
-
/// linear memory.
|
1288
|
-
///
|
1289
|
-
/// Guard regions before linear memories are never used during normal
|
1290
|
-
/// operation of WebAssembly modules, even if they have out-of-bounds
|
1291
|
-
/// loads. The only purpose for a preceding guard region in linear memory
|
1292
|
-
/// is extra protection against possible bugs in code generators like
|
1293
|
-
/// Cranelift. This setting does not affect performance in any way, but will
|
1294
|
-
/// result in larger virtual memory reservations for linear memories (it
|
1295
|
-
/// won't actually ever use more memory, just use more of the address
|
1296
|
-
/// space).
|
1297
|
-
///
|
1298
|
-
/// The size of the guard region before linear memory is the same as the
|
1299
|
-
/// guard size that comes after linear memory, which is configured by
|
1300
|
-
/// [`Config::static_memory_guard_size`] and
|
1301
|
-
/// [`Config::dynamic_memory_guard_size`].
|
1302
|
-
///
|
1303
|
-
/// ## Default
|
1304
|
-
///
|
1305
|
-
/// This value defaults to `true`.
|
1306
|
-
pub fn guard_before_linear_memory(&mut self, guard: bool) -> &mut Self {
|
1307
|
-
self.tunables.guard_before_linear_memory = guard;
|
1308
|
-
self
|
1309
|
-
}
|
1310
|
-
|
1311
|
-
/// Configure the version information used in serialized and deserialzied [`crate::Module`]s.
|
1312
|
-
/// This effects the behavior of [`crate::Module::serialize()`], as well as
|
1313
|
-
/// [`crate::Module::deserialize()`] and related functions.
|
1314
|
-
///
|
1315
|
-
/// The default strategy is to use the wasmtime crate's Cargo package version.
|
1316
|
-
pub fn module_version(&mut self, strategy: ModuleVersionStrategy) -> Result<&mut Self> {
|
1317
|
-
match strategy {
|
1318
|
-
// This case requires special precondition for assertion in SerializedModule::to_bytes
|
1319
|
-
ModuleVersionStrategy::Custom(ref v) => {
|
1320
|
-
if v.as_bytes().len() > 255 {
|
1321
|
-
bail!("custom module version cannot be more than 255 bytes: {}", v);
|
1322
|
-
}
|
1323
|
-
}
|
1324
|
-
_ => {}
|
1325
|
-
}
|
1326
|
-
self.module_version = strategy;
|
1327
|
-
Ok(self)
|
1328
|
-
}
|
1329
|
-
|
1330
|
-
/// Configure wether wasmtime should compile a module using multiple
|
1331
|
-
/// threads.
|
1332
|
-
///
|
1333
|
-
/// Disabling this will result in a single thread being used to compile
|
1334
|
-
/// the wasm bytecode.
|
1335
|
-
///
|
1336
|
-
/// By default parallel compilation is enabled.
|
1337
|
-
#[cfg(feature = "parallel-compilation")]
|
1338
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "parallel-compilation")))]
|
1339
|
-
pub fn parallel_compilation(&mut self, parallel: bool) -> &mut Self {
|
1340
|
-
self.parallel_compilation = parallel;
|
1341
|
-
self
|
1342
|
-
}
|
1343
|
-
|
1344
|
-
/// Configures whether compiled artifacts will contain information to map
|
1345
|
-
/// native program addresses back to the original wasm module.
|
1346
|
-
///
|
1347
|
-
/// This configuration option is `true` by default and, if enabled,
|
1348
|
-
/// generates the appropriate tables in compiled modules to map from native
|
1349
|
-
/// address back to wasm source addresses. This is used for displaying wasm
|
1350
|
-
/// program counters in backtraces as well as generating filenames/line
|
1351
|
-
/// numbers if so configured as well (and the original wasm module has DWARF
|
1352
|
-
/// debugging information present).
|
1353
|
-
pub fn generate_address_map(&mut self, generate: bool) -> &mut Self {
|
1354
|
-
self.tunables.generate_address_map = generate;
|
1355
|
-
self
|
1356
|
-
}
|
1357
|
-
|
1358
|
-
/// Configures whether copy-on-write memory-mapped data is used to
|
1359
|
-
/// initialize a linear memory.
|
1360
|
-
///
|
1361
|
-
/// Initializing linear memory via a copy-on-write mapping can drastically
|
1362
|
-
/// improve instantiation costs of a WebAssembly module because copying
|
1363
|
-
/// memory is deferred. Additionally if a page of memory is only ever read
|
1364
|
-
/// from WebAssembly and never written too then the same underlying page of
|
1365
|
-
/// data will be reused between all instantiations of a module meaning that
|
1366
|
-
/// if a module is instantiated many times this can lower the overall memory
|
1367
|
-
/// required needed to run that module.
|
1368
|
-
///
|
1369
|
-
/// This feature is only applicable when a WebAssembly module meets specific
|
1370
|
-
/// criteria to be initialized in this fashion, such as:
|
1371
|
-
///
|
1372
|
-
/// * Only memories defined in the module can be initialized this way.
|
1373
|
-
/// * Data segments for memory must use statically known offsets.
|
1374
|
-
/// * Data segments for memory must all be in-bounds.
|
1375
|
-
///
|
1376
|
-
/// Modules which do not meet these criteria will fall back to
|
1377
|
-
/// initialization of linear memory based on copying memory.
|
1378
|
-
///
|
1379
|
-
/// This feature of Wasmtime is also platform-specific:
|
1380
|
-
///
|
1381
|
-
/// * Linux - this feature is supported for all instances of [`Module`].
|
1382
|
-
/// Modules backed by an existing mmap (such as those created by
|
1383
|
-
/// [`Module::deserialize_file`]) will reuse that mmap to cow-initialize
|
1384
|
-
/// memory. Other instance of [`Module`] may use the `memfd_create`
|
1385
|
-
/// syscall to create an initialization image to `mmap`.
|
1386
|
-
/// * Unix (not Linux) - this feature is only supported when loading modules
|
1387
|
-
/// from a precompiled file via [`Module::deserialize_file`] where there
|
1388
|
-
/// is a file descriptor to use to map data into the process. Note that
|
1389
|
-
/// the module must have been compiled with this setting enabled as well.
|
1390
|
-
/// * Windows - there is no support for this feature at this time. Memory
|
1391
|
-
/// initialization will always copy bytes.
|
1392
|
-
///
|
1393
|
-
/// By default this option is enabled.
|
1394
|
-
///
|
1395
|
-
/// [`Module::deserialize_file`]: crate::Module::deserialize_file
|
1396
|
-
/// [`Module`]: crate::Module
|
1397
|
-
pub fn memory_init_cow(&mut self, enable: bool) -> &mut Self {
|
1398
|
-
self.memory_init_cow = enable;
|
1399
|
-
self
|
1400
|
-
}
|
1401
|
-
|
1402
|
-
/// A configuration option to force the usage of `memfd_create` on Linux to
|
1403
|
-
/// be used as the backing source for a module's initial memory image.
|
1404
|
-
///
|
1405
|
-
/// When [`Config::memory_init_cow`] is enabled, which is enabled by
|
1406
|
-
/// default, module memory initialization images are taken from a module's
|
1407
|
-
/// original mmap if possible. If a precompiled module was loaded from disk
|
1408
|
-
/// this means that the disk's file is used as an mmap source for the
|
1409
|
-
/// initial linear memory contents. This option can be used to force, on
|
1410
|
-
/// Linux, that instead of using the original file on disk a new in-memory
|
1411
|
-
/// file is created with `memfd_create` to hold the contents of the initial
|
1412
|
-
/// image.
|
1413
|
-
///
|
1414
|
-
/// This option can be used to avoid possibly loading the contents of memory
|
1415
|
-
/// from disk through a page fault. Instead with `memfd_create` the contents
|
1416
|
-
/// of memory are always in RAM, meaning that even page faults which
|
1417
|
-
/// initially populate a wasm linear memory will only work with RAM instead
|
1418
|
-
/// of ever hitting the disk that the original precompiled module is stored
|
1419
|
-
/// on.
|
1420
|
-
///
|
1421
|
-
/// This option is disabled by default.
|
1422
|
-
pub fn force_memory_init_memfd(&mut self, enable: bool) -> &mut Self {
|
1423
|
-
self.force_memory_init_memfd = enable;
|
1424
|
-
self
|
1425
|
-
}
|
1426
|
-
|
1427
|
-
/// Configures the "guaranteed dense image size" for copy-on-write
|
1428
|
-
/// initialized memories.
|
1429
|
-
///
|
1430
|
-
/// When using the [`Config::memory_init_cow`] feature to initialize memory
|
1431
|
-
/// efficiently (which is enabled by default), compiled modules contain an
|
1432
|
-
/// image of the module's initial heap. If the module has a fairly sparse
|
1433
|
-
/// initial heap, with just a few data segments at very different offsets,
|
1434
|
-
/// this could result in a large region of zero bytes in the image. In
|
1435
|
-
/// other words, it's not very memory-efficient.
|
1436
|
-
///
|
1437
|
-
/// We normally use a heuristic to avoid this: if less than half
|
1438
|
-
/// of the initialized range (first non-zero to last non-zero
|
1439
|
-
/// byte) of any memory in the module has pages with nonzero
|
1440
|
-
/// bytes, then we avoid creating a memory image for the entire module.
|
1441
|
-
///
|
1442
|
-
/// However, if the embedder always needs the instantiation-time efficiency
|
1443
|
-
/// of copy-on-write initialization, and is otherwise carefully controlling
|
1444
|
-
/// parameters of the modules (for example, by limiting the maximum heap
|
1445
|
-
/// size of the modules), then it may be desirable to ensure a memory image
|
1446
|
-
/// is created even if this could go against the heuristic above. Thus, we
|
1447
|
-
/// add another condition: there is a size of initialized data region up to
|
1448
|
-
/// which we *always* allow a memory image. The embedder can set this to a
|
1449
|
-
/// known maximum heap size if they desire to always get the benefits of
|
1450
|
-
/// copy-on-write images.
|
1451
|
-
///
|
1452
|
-
/// In the future we may implement a "best of both worlds"
|
1453
|
-
/// solution where we have a dense image up to some limit, and
|
1454
|
-
/// then support a sparse list of initializers beyond that; this
|
1455
|
-
/// would get most of the benefit of copy-on-write and pay the incremental
|
1456
|
-
/// cost of eager initialization only for those bits of memory
|
1457
|
-
/// that are out-of-bounds. However, for now, an embedder desiring
|
1458
|
-
/// fast instantiation should ensure that this setting is as large
|
1459
|
-
/// as the maximum module initial memory content size.
|
1460
|
-
///
|
1461
|
-
/// By default this value is 16 MiB.
|
1462
|
-
pub fn memory_guaranteed_dense_image_size(&mut self, size_in_bytes: u64) -> &mut Self {
|
1463
|
-
self.memory_guaranteed_dense_image_size = size_in_bytes;
|
1464
|
-
self
|
1465
|
-
}
|
1466
|
-
|
1467
|
-
pub(crate) fn validate(&self) -> Result<()> {
|
1468
|
-
if self.features.reference_types && !self.features.bulk_memory {
|
1469
|
-
bail!("feature 'reference_types' requires 'bulk_memory' to be enabled");
|
1470
|
-
}
|
1471
|
-
if self.features.threads && !self.features.bulk_memory {
|
1472
|
-
bail!("feature 'threads' requires 'bulk_memory' to be enabled");
|
1473
|
-
}
|
1474
|
-
#[cfg(feature = "async")]
|
1475
|
-
if self.max_wasm_stack > self.async_stack_size {
|
1476
|
-
bail!("max_wasm_stack size cannot exceed the async_stack_size");
|
1477
|
-
}
|
1478
|
-
if self.max_wasm_stack == 0 {
|
1479
|
-
bail!("max_wasm_stack size cannot be zero");
|
1480
|
-
}
|
1481
|
-
if self.tunables.static_memory_offset_guard_size
|
1482
|
-
< self.tunables.dynamic_memory_offset_guard_size
|
1483
|
-
{
|
1484
|
-
bail!("static memory guard size cannot be smaller than dynamic memory guard size");
|
1485
|
-
}
|
1486
|
-
|
1487
|
-
Ok(())
|
1488
|
-
}
|
1489
|
-
|
1490
|
-
pub(crate) fn build_allocator(&self) -> Result<Box<dyn InstanceAllocator + Send + Sync>> {
|
1491
|
-
#[cfg(feature = "async")]
|
1492
|
-
let stack_size = self.async_stack_size;
|
1493
|
-
|
1494
|
-
#[cfg(not(feature = "async"))]
|
1495
|
-
let stack_size = 0;
|
1496
|
-
|
1497
|
-
match &self.allocation_strategy {
|
1498
|
-
InstanceAllocationStrategy::OnDemand => Ok(Box::new(OnDemandInstanceAllocator::new(
|
1499
|
-
self.mem_creator.clone(),
|
1500
|
-
stack_size,
|
1501
|
-
))),
|
1502
|
-
#[cfg(feature = "pooling-allocator")]
|
1503
|
-
InstanceAllocationStrategy::Pooling(config) => {
|
1504
|
-
let mut config = config.config;
|
1505
|
-
config.stack_size = stack_size;
|
1506
|
-
Ok(Box::new(wasmtime_runtime::PoolingInstanceAllocator::new(
|
1507
|
-
&config,
|
1508
|
-
&self.tunables,
|
1509
|
-
)?))
|
1510
|
-
}
|
1511
|
-
}
|
1512
|
-
}
|
1513
|
-
|
1514
|
-
pub(crate) fn build_profiler(&self) -> Result<Box<dyn ProfilingAgent>> {
|
1515
|
-
Ok(match self.profiling_strategy {
|
1516
|
-
ProfilingStrategy::PerfMap => Box::new(PerfMapAgent::new()?) as Box<dyn ProfilingAgent>,
|
1517
|
-
ProfilingStrategy::JitDump => Box::new(JitDumpAgent::new()?) as Box<dyn ProfilingAgent>,
|
1518
|
-
ProfilingStrategy::VTune => Box::new(VTuneAgent::new()?) as Box<dyn ProfilingAgent>,
|
1519
|
-
ProfilingStrategy::None => Box::new(NullProfilerAgent),
|
1520
|
-
})
|
1521
|
-
}
|
1522
|
-
|
1523
|
-
#[cfg(compiler)]
|
1524
|
-
pub(crate) fn build_compiler(mut self) -> Result<(Self, Box<dyn wasmtime_environ::Compiler>)> {
|
1525
|
-
let mut compiler = match self.compiler_config.strategy {
|
1526
|
-
#[cfg(feature = "cranelift")]
|
1527
|
-
Strategy::Auto => wasmtime_cranelift::builder(),
|
1528
|
-
#[cfg(all(feature = "winch", not(feature = "cranelift")))]
|
1529
|
-
Strategy::Auto => wasmtime_winch::builder(),
|
1530
|
-
#[cfg(feature = "cranelift")]
|
1531
|
-
Strategy::Cranelift => wasmtime_cranelift::builder(),
|
1532
|
-
#[cfg(not(feature = "cranelift"))]
|
1533
|
-
Strategy::Cranelift => bail!("cranelift support not compiled in"),
|
1534
|
-
#[cfg(feature = "winch")]
|
1535
|
-
Strategy::Winch => wasmtime_winch::builder(),
|
1536
|
-
#[cfg(not(feature = "winch"))]
|
1537
|
-
Strategy::Winch => bail!("winch support not compiled in"),
|
1538
|
-
};
|
1539
|
-
|
1540
|
-
if let Some(target) = &self.compiler_config.target {
|
1541
|
-
compiler.target(target.clone())?;
|
1542
|
-
}
|
1543
|
-
|
1544
|
-
if let Some(path) = &self.compiler_config.clif_dir {
|
1545
|
-
compiler.clif_dir(path)?;
|
1546
|
-
}
|
1547
|
-
|
1548
|
-
// If probestack is enabled for a target, Wasmtime will always use the
|
1549
|
-
// inline strategy which doesn't require us to define a `__probestack`
|
1550
|
-
// function or similar.
|
1551
|
-
self.compiler_config
|
1552
|
-
.settings
|
1553
|
-
.insert("probestack_strategy".into(), "inline".into());
|
1554
|
-
|
1555
|
-
let host = target_lexicon::Triple::host();
|
1556
|
-
let target = self.compiler_config.target.as_ref().unwrap_or(&host);
|
1557
|
-
|
1558
|
-
// On supported targets, we enable stack probing by default.
|
1559
|
-
// This is required on Windows because of the way Windows
|
1560
|
-
// commits its stacks, but it's also a good idea on other
|
1561
|
-
// platforms to ensure guard pages are hit for large frame
|
1562
|
-
// sizes.
|
1563
|
-
if probestack_supported(target.architecture) {
|
1564
|
-
self.compiler_config
|
1565
|
-
.flags
|
1566
|
-
.insert("enable_probestack".into());
|
1567
|
-
}
|
1568
|
-
|
1569
|
-
if self.native_unwind_info ||
|
1570
|
-
// Windows always needs unwind info, since it is part of the ABI.
|
1571
|
-
target.operating_system == target_lexicon::OperatingSystem::Windows
|
1572
|
-
{
|
1573
|
-
if !self
|
1574
|
-
.compiler_config
|
1575
|
-
.ensure_setting_unset_or_given("unwind_info", "true")
|
1576
|
-
{
|
1577
|
-
bail!("compiler option 'unwind_info' must be enabled profiling");
|
1578
|
-
}
|
1579
|
-
}
|
1580
|
-
|
1581
|
-
// We require frame pointers for correct stack walking, which is safety
|
1582
|
-
// critical in the presence of reference types, and otherwise it is just
|
1583
|
-
// really bad developer experience to get wrong.
|
1584
|
-
self.compiler_config
|
1585
|
-
.settings
|
1586
|
-
.insert("preserve_frame_pointers".into(), "true".into());
|
1587
|
-
|
1588
|
-
// check for incompatible compiler options and set required values
|
1589
|
-
if self.features.reference_types {
|
1590
|
-
if !self
|
1591
|
-
.compiler_config
|
1592
|
-
.ensure_setting_unset_or_given("enable_safepoints", "true")
|
1593
|
-
{
|
1594
|
-
bail!("compiler option 'enable_safepoints' must be enabled when 'reference types' is enabled");
|
1595
|
-
}
|
1596
|
-
}
|
1597
|
-
if self.features.simd {
|
1598
|
-
if !self
|
1599
|
-
.compiler_config
|
1600
|
-
.ensure_setting_unset_or_given("enable_simd", "true")
|
1601
|
-
{
|
1602
|
-
bail!("compiler option 'enable_simd' must be enabled when 'simd' is enabled");
|
1603
|
-
}
|
1604
|
-
}
|
1605
|
-
|
1606
|
-
if self.features.relaxed_simd && !self.features.simd {
|
1607
|
-
bail!("cannot disable the simd proposal but enable the relaxed simd proposal");
|
1608
|
-
}
|
1609
|
-
|
1610
|
-
// Apply compiler settings and flags
|
1611
|
-
for (k, v) in self.compiler_config.settings.iter() {
|
1612
|
-
compiler.set(k, v)?;
|
1613
|
-
}
|
1614
|
-
for flag in self.compiler_config.flags.iter() {
|
1615
|
-
compiler.enable(flag)?;
|
1616
|
-
}
|
1617
|
-
|
1618
|
-
if let Some(cache_store) = &self.compiler_config.cache_store {
|
1619
|
-
compiler.enable_incremental_compilation(cache_store.clone())?;
|
1620
|
-
}
|
1621
|
-
|
1622
|
-
Ok((self, compiler.build()?))
|
1623
|
-
}
|
1624
|
-
|
1625
|
-
/// Internal setting for whether adapter modules for components will have
|
1626
|
-
/// extra WebAssembly instructions inserted performing more debug checks
|
1627
|
-
/// then are necessary.
|
1628
|
-
#[cfg(feature = "component-model")]
|
1629
|
-
pub fn debug_adapter_modules(&mut self, debug: bool) -> &mut Self {
|
1630
|
-
self.tunables.debug_adapter_modules = debug;
|
1631
|
-
self
|
1632
|
-
}
|
1633
|
-
|
1634
|
-
/// Enables clif output when compiling a WebAssembly module.
|
1635
|
-
#[cfg(compiler)]
|
1636
|
-
pub fn emit_clif(&mut self, path: &Path) {
|
1637
|
-
self.compiler_config.clif_dir = Some(path.to_path_buf());
|
1638
|
-
}
|
1639
|
-
}
|
1640
|
-
|
1641
|
-
fn round_up_to_pages(val: u64) -> u64 {
|
1642
|
-
let page_size = wasmtime_runtime::page_size() as u64;
|
1643
|
-
debug_assert!(page_size.is_power_of_two());
|
1644
|
-
val.checked_add(page_size - 1)
|
1645
|
-
.map(|val| val & !(page_size - 1))
|
1646
|
-
.unwrap_or(u64::MAX / page_size + 1)
|
1647
|
-
}
|
1648
|
-
|
1649
|
-
impl Default for Config {
|
1650
|
-
fn default() -> Config {
|
1651
|
-
Config::new()
|
1652
|
-
}
|
1653
|
-
}
|
1654
|
-
|
1655
|
-
impl fmt::Debug for Config {
|
1656
|
-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
1657
|
-
let mut f = f.debug_struct("Config");
|
1658
|
-
f.field("debug_info", &self.tunables.generate_native_debuginfo)
|
1659
|
-
.field("parse_wasm_debuginfo", &self.tunables.parse_wasm_debuginfo)
|
1660
|
-
.field("wasm_threads", &self.features.threads)
|
1661
|
-
.field("wasm_reference_types", &self.features.reference_types)
|
1662
|
-
.field("wasm_bulk_memory", &self.features.bulk_memory)
|
1663
|
-
.field("wasm_simd", &self.features.simd)
|
1664
|
-
.field("wasm_relaxed_simd", &self.features.relaxed_simd)
|
1665
|
-
.field("wasm_multi_value", &self.features.multi_value)
|
1666
|
-
.field(
|
1667
|
-
"static_memory_maximum_size",
|
1668
|
-
&(u64::from(self.tunables.static_memory_bound)
|
1669
|
-
* u64::from(wasmtime_environ::WASM_PAGE_SIZE)),
|
1670
|
-
)
|
1671
|
-
.field(
|
1672
|
-
"static_memory_guard_size",
|
1673
|
-
&self.tunables.static_memory_offset_guard_size,
|
1674
|
-
)
|
1675
|
-
.field(
|
1676
|
-
"dynamic_memory_guard_size",
|
1677
|
-
&self.tunables.dynamic_memory_offset_guard_size,
|
1678
|
-
)
|
1679
|
-
.field(
|
1680
|
-
"guard_before_linear_memory",
|
1681
|
-
&self.tunables.guard_before_linear_memory,
|
1682
|
-
)
|
1683
|
-
.field("parallel_compilation", &self.parallel_compilation);
|
1684
|
-
#[cfg(compiler)]
|
1685
|
-
{
|
1686
|
-
f.field("compiler_config", &self.compiler_config);
|
1687
|
-
}
|
1688
|
-
f.finish()
|
1689
|
-
}
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
/// Possible Compilation strategies for a wasm module.
|
1693
|
-
///
|
1694
|
-
/// This is used as an argument to the [`Config::strategy`] method.
|
1695
|
-
#[non_exhaustive]
|
1696
|
-
#[derive(Clone, Debug, Copy)]
|
1697
|
-
pub enum Strategy {
|
1698
|
-
/// An indicator that the compilation strategy should be automatically
|
1699
|
-
/// selected.
|
1700
|
-
///
|
1701
|
-
/// This is generally what you want for most projects and indicates that the
|
1702
|
-
/// `wasmtime` crate itself should make the decision about what the best
|
1703
|
-
/// code generator for a wasm module is.
|
1704
|
-
///
|
1705
|
-
/// Currently this always defaults to Cranelift, but the default value may
|
1706
|
-
/// change over time.
|
1707
|
-
Auto,
|
1708
|
-
|
1709
|
-
/// Currently the default backend, Cranelift aims to be a reasonably fast
|
1710
|
-
/// code generator which generates high quality machine code.
|
1711
|
-
Cranelift,
|
1712
|
-
|
1713
|
-
/// A baseline compiler for WebAssembly, currently under active development and not ready for
|
1714
|
-
/// production applications.
|
1715
|
-
Winch,
|
1716
|
-
}
|
1717
|
-
|
1718
|
-
/// Possible optimization levels for the Cranelift codegen backend.
|
1719
|
-
#[non_exhaustive]
|
1720
|
-
#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
|
1721
|
-
pub enum OptLevel {
|
1722
|
-
/// No optimizations performed, minimizes compilation time by disabling most
|
1723
|
-
/// optimizations.
|
1724
|
-
None,
|
1725
|
-
/// Generates the fastest possible code, but may take longer.
|
1726
|
-
Speed,
|
1727
|
-
/// Similar to `speed`, but also performs transformations aimed at reducing
|
1728
|
-
/// code size.
|
1729
|
-
SpeedAndSize,
|
1730
|
-
}
|
1731
|
-
|
1732
|
-
/// Select which profiling technique to support.
|
1733
|
-
#[derive(Debug, Clone, Copy, PartialEq)]
|
1734
|
-
pub enum ProfilingStrategy {
|
1735
|
-
/// No profiler support.
|
1736
|
-
None,
|
1737
|
-
|
1738
|
-
/// Collect function name information as the "perf map" file format, used with `perf` on Linux.
|
1739
|
-
PerfMap,
|
1740
|
-
|
1741
|
-
/// Collect profiling info for "jitdump" file format, used with `perf` on
|
1742
|
-
/// Linux.
|
1743
|
-
JitDump,
|
1744
|
-
|
1745
|
-
/// Collect profiling info using the "ittapi", used with `VTune` on Linux.
|
1746
|
-
VTune,
|
1747
|
-
}
|
1748
|
-
|
1749
|
-
/// Select how wasm backtrace detailed information is handled.
|
1750
|
-
#[derive(Debug, Clone, Copy)]
|
1751
|
-
pub enum WasmBacktraceDetails {
|
1752
|
-
/// Support is unconditionally enabled and wasmtime will parse and read
|
1753
|
-
/// debug information.
|
1754
|
-
Enable,
|
1755
|
-
|
1756
|
-
/// Support is disabled, and wasmtime will not parse debug information for
|
1757
|
-
/// backtrace details.
|
1758
|
-
Disable,
|
1759
|
-
|
1760
|
-
/// Support for backtrace details is conditional on the
|
1761
|
-
/// `WASMTIME_BACKTRACE_DETAILS` environment variable.
|
1762
|
-
Environment,
|
1763
|
-
}
|
1764
|
-
|
1765
|
-
/// Configuration options used with [`InstanceAllocationStrategy::Pooling`] to
|
1766
|
-
/// change the behavior of the pooling instance allocator.
|
1767
|
-
///
|
1768
|
-
/// This structure has a builder-style API in the same manner as [`Config`] and
|
1769
|
-
/// is configured with [`Config::allocation_strategy`].
|
1770
|
-
#[cfg(feature = "pooling-allocator")]
|
1771
|
-
#[derive(Debug, Clone, Default)]
|
1772
|
-
pub struct PoolingAllocationConfig {
|
1773
|
-
config: wasmtime_runtime::PoolingInstanceAllocatorConfig,
|
1774
|
-
}
|
1775
|
-
|
1776
|
-
#[cfg(feature = "pooling-allocator")]
|
1777
|
-
impl PoolingAllocationConfig {
|
1778
|
-
/// Configures the maximum number of "unused warm slots" to retain in the
|
1779
|
-
/// pooling allocator.
|
1780
|
-
///
|
1781
|
-
/// The pooling allocator operates over slots to allocate from, and each
|
1782
|
-
/// slot is considered "cold" if it's never been used before or "warm" if
|
1783
|
-
/// it's been used by some module in the past. Slots in the pooling
|
1784
|
-
/// allocator additionally track an "affinity" flag to a particular core
|
1785
|
-
/// wasm module. When a module is instantiated into a slot then the slot is
|
1786
|
-
/// considered affine to that module, even after the instance has been
|
1787
|
-
/// dealloocated.
|
1788
|
-
///
|
1789
|
-
/// When a new instance is created then a slot must be chosen, and the
|
1790
|
-
/// current algorithm for selecting a slot is:
|
1791
|
-
///
|
1792
|
-
/// * If there are slots that are affine to the module being instantiated,
|
1793
|
-
/// then the most recently used slot is selected to be allocated from.
|
1794
|
-
/// This is done to improve reuse of resources such as memory mappings and
|
1795
|
-
/// additionally try to benefit from temporal locality for things like
|
1796
|
-
/// caches.
|
1797
|
-
///
|
1798
|
-
/// * Otherwise if there are more than N affine slots to other modules, then
|
1799
|
-
/// one of those affine slots is chosen to be allocated. The slot chosen
|
1800
|
-
/// is picked on a least-recently-used basis.
|
1801
|
-
///
|
1802
|
-
/// * Finally, if there are less than N affine slots to other modules, then
|
1803
|
-
/// the non-affine slots are allocated from.
|
1804
|
-
///
|
1805
|
-
/// This setting, `max_unused_warm_slots`, is the value for N in the above
|
1806
|
-
/// algorithm. The purpose of this setting is to have a knob over the RSS
|
1807
|
-
/// impact of "unused slots" for a long-running wasm server.
|
1808
|
-
///
|
1809
|
-
/// If this setting is set to 0, for example, then affine slots are
|
1810
|
-
/// aggressively resused on a least-recently-used basis. A "cold" slot is
|
1811
|
-
/// only used if there are no affine slots available to allocate from. This
|
1812
|
-
/// means that the set of slots used over the lifetime of a program is the
|
1813
|
-
/// same as the maximum concurrent number of wasm instances.
|
1814
|
-
///
|
1815
|
-
/// If this setting is set to infinity, however, then cold slots are
|
1816
|
-
/// prioritized to be allocated from. This means that the set of slots used
|
1817
|
-
/// over the lifetime of a program will approach
|
1818
|
-
/// [`PoolingAllocationConfig::instance_count`], or the maximum number of
|
1819
|
-
/// slots in the pooling allocator.
|
1820
|
-
///
|
1821
|
-
/// Wasmtime does not aggressively decommit all resources associated with a
|
1822
|
-
/// slot when the slot is not in use. For example the
|
1823
|
-
/// [`PoolingAllocationConfig::linear_memory_keep_resident`] option can be
|
1824
|
-
/// used to keep memory associated with a slot, even when it's not in use.
|
1825
|
-
/// This means that the total set of used slots in the pooling instance
|
1826
|
-
/// allocator can impact the overall RSS usage of a program.
|
1827
|
-
///
|
1828
|
-
/// The default value for this option is 100.
|
1829
|
-
pub fn max_unused_warm_slots(&mut self, max: u32) -> &mut Self {
|
1830
|
-
self.config.max_unused_warm_slots = max;
|
1831
|
-
self
|
1832
|
-
}
|
1833
|
-
|
1834
|
-
/// Configures whether or not stacks used for async futures are reset to
|
1835
|
-
/// zero after usage.
|
1836
|
-
///
|
1837
|
-
/// When the [`async_support`](Config::async_support) method is enabled for
|
1838
|
-
/// Wasmtime and the [`call_async`] variant
|
1839
|
-
/// of calling WebAssembly is used then Wasmtime will create a separate
|
1840
|
-
/// runtime execution stack for each future produced by [`call_async`].
|
1841
|
-
/// During the deallocation process Wasmtime won't by default reset the
|
1842
|
-
/// contents of the stack back to zero.
|
1843
|
-
///
|
1844
|
-
/// When this option is enabled it can be seen as a defense-in-depth
|
1845
|
-
/// mechanism to reset a stack back to zero. This is not required for
|
1846
|
-
/// correctness and can be a costly operation in highly concurrent
|
1847
|
-
/// environments due to modifications of the virtual address space requiring
|
1848
|
-
/// process-wide synchronization.
|
1849
|
-
///
|
1850
|
-
/// This option defaults to `false`.
|
1851
|
-
///
|
1852
|
-
/// [`call_async`]: crate::TypedFunc::call_async
|
1853
|
-
#[cfg(feature = "async")]
|
1854
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
1855
|
-
pub fn async_stack_zeroing(&mut self, enable: bool) -> &mut Self {
|
1856
|
-
self.config.async_stack_zeroing = enable;
|
1857
|
-
self
|
1858
|
-
}
|
1859
|
-
|
1860
|
-
/// How much memory, in bytes, to keep resident for async stacks allocated
|
1861
|
-
/// with the pooling allocator.
|
1862
|
-
///
|
1863
|
-
/// When [`PoolingAllocationConfig::async_stack_zeroing`] is enabled then
|
1864
|
-
/// Wasmtime will reset the contents of async stacks back to zero upon
|
1865
|
-
/// deallocation. This option can be used to perform the zeroing operation
|
1866
|
-
/// with `memset` up to a certain threshold of bytes instead of using system
|
1867
|
-
/// calls to reset the stack to zero.
|
1868
|
-
///
|
1869
|
-
/// Note that when using this option the memory with async stacks will
|
1870
|
-
/// never be decommitted.
|
1871
|
-
#[cfg(feature = "async")]
|
1872
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
1873
|
-
pub fn async_stack_keep_resident(&mut self, size: usize) -> &mut Self {
|
1874
|
-
let size = round_up_to_pages(size as u64) as usize;
|
1875
|
-
self.config.async_stack_keep_resident = size;
|
1876
|
-
self
|
1877
|
-
}
|
1878
|
-
|
1879
|
-
/// How much memory, in bytes, to keep resident for each linear memory
|
1880
|
-
/// after deallocation.
|
1881
|
-
///
|
1882
|
-
/// This option is only applicable on Linux and has no effect on other
|
1883
|
-
/// platforms.
|
1884
|
-
///
|
1885
|
-
/// By default Wasmtime will use `madvise` to reset the entire contents of
|
1886
|
-
/// linear memory back to zero when a linear memory is deallocated. This
|
1887
|
-
/// option can be used to use `memset` instead to set memory back to zero
|
1888
|
-
/// which can, in some configurations, reduce the number of page faults
|
1889
|
-
/// taken when a slot is reused.
|
1890
|
-
pub fn linear_memory_keep_resident(&mut self, size: usize) -> &mut Self {
|
1891
|
-
let size = round_up_to_pages(size as u64) as usize;
|
1892
|
-
self.config.linear_memory_keep_resident = size;
|
1893
|
-
self
|
1894
|
-
}
|
1895
|
-
|
1896
|
-
/// How much memory, in bytes, to keep resident for each table after
|
1897
|
-
/// deallocation.
|
1898
|
-
///
|
1899
|
-
/// This option is only applicable on Linux and has no effect on other
|
1900
|
-
/// platforms.
|
1901
|
-
///
|
1902
|
-
/// This option is the same as
|
1903
|
-
/// [`PoolingAllocationConfig::linear_memory_keep_resident`] except that it
|
1904
|
-
/// is applicable to tables instead.
|
1905
|
-
pub fn table_keep_resident(&mut self, size: usize) -> &mut Self {
|
1906
|
-
let size = round_up_to_pages(size as u64) as usize;
|
1907
|
-
self.config.table_keep_resident = size;
|
1908
|
-
self
|
1909
|
-
}
|
1910
|
-
|
1911
|
-
/// The maximum number of concurrent instances supported (default is 1000).
|
1912
|
-
///
|
1913
|
-
/// This value has a direct impact on the amount of memory allocated by the pooling
|
1914
|
-
/// instance allocator.
|
1915
|
-
///
|
1916
|
-
/// The pooling instance allocator allocates three memory pools with sizes depending on this value:
|
1917
|
-
///
|
1918
|
-
/// * An instance pool, where each entry in the pool can store the runtime representation
|
1919
|
-
/// of an instance, including a maximal `VMContext` structure.
|
1920
|
-
///
|
1921
|
-
/// * A memory pool, where each entry in the pool contains the reserved address space for each
|
1922
|
-
/// linear memory supported by an instance.
|
1923
|
-
///
|
1924
|
-
/// * A table pool, where each entry in the pool contains the space needed for each WebAssembly table
|
1925
|
-
/// supported by an instance (see `table_elements` to control the size of each table).
|
1926
|
-
///
|
1927
|
-
/// Additionally, this value will also control the maximum number of execution stacks allowed for
|
1928
|
-
/// asynchronous execution (one per instance), when enabled.
|
1929
|
-
///
|
1930
|
-
/// The memory pool will reserve a large quantity of host process address space to elide the bounds
|
1931
|
-
/// checks required for correct WebAssembly memory semantics. Even for 64-bit address spaces, the
|
1932
|
-
/// address space is limited when dealing with a large number of supported instances.
|
1933
|
-
///
|
1934
|
-
/// For example, on Linux x86_64, the userland address space limit is 128 TiB. That might seem like a lot,
|
1935
|
-
/// but each linear memory will *reserve* 6 GiB of space by default. Multiply that by the number of linear
|
1936
|
-
/// memories each instance supports and then by the number of supported instances and it becomes apparent
|
1937
|
-
/// that address space can be exhausted depending on the number of supported instances.
|
1938
|
-
pub fn instance_count(&mut self, count: u32) -> &mut Self {
|
1939
|
-
self.config.limits.count = count;
|
1940
|
-
self
|
1941
|
-
}
|
1942
|
-
|
1943
|
-
/// The maximum size, in bytes, allocated for an instance and its
|
1944
|
-
/// `VMContext`.
|
1945
|
-
///
|
1946
|
-
/// This amount of space is pre-allocated for `count` number of instances
|
1947
|
-
/// and is used to store the runtime `wasmtime_runtime::Instance` structure
|
1948
|
-
/// along with its adjacent `VMContext` structure. The `Instance` type has a
|
1949
|
-
/// static size but `VMContext` is dynamically sized depending on the module
|
1950
|
-
/// being instantiated. This size limit loosely correlates to the size of
|
1951
|
-
/// the wasm module, taking into account factors such as:
|
1952
|
-
///
|
1953
|
-
/// * number of functions
|
1954
|
-
/// * number of globals
|
1955
|
-
/// * number of memories
|
1956
|
-
/// * number of tables
|
1957
|
-
/// * number of function types
|
1958
|
-
///
|
1959
|
-
/// If the allocated size per instance is too small then instantiation of a
|
1960
|
-
/// module will fail at runtime with an error indicating how many bytes were
|
1961
|
-
/// needed. This amount of bytes are committed to memory per-instance when
|
1962
|
-
/// a pooling allocator is created.
|
1963
|
-
///
|
1964
|
-
/// The default value for this is 1MB.
|
1965
|
-
pub fn instance_size(&mut self, size: usize) -> &mut Self {
|
1966
|
-
self.config.limits.size = size;
|
1967
|
-
self
|
1968
|
-
}
|
1969
|
-
|
1970
|
-
/// The maximum number of defined tables for a module (default is 1).
|
1971
|
-
///
|
1972
|
-
/// This value controls the capacity of the `VMTableDefinition` table in each instance's
|
1973
|
-
/// `VMContext` structure.
|
1974
|
-
///
|
1975
|
-
/// The allocated size of the table will be `tables * sizeof(VMTableDefinition)` for each
|
1976
|
-
/// instance regardless of how many tables are defined by an instance's module.
|
1977
|
-
pub fn instance_tables(&mut self, tables: u32) -> &mut Self {
|
1978
|
-
self.config.limits.tables = tables;
|
1979
|
-
self
|
1980
|
-
}
|
1981
|
-
|
1982
|
-
/// The maximum table elements for any table defined in a module (default is 10000).
|
1983
|
-
///
|
1984
|
-
/// If a table's minimum element limit is greater than this value, the module will
|
1985
|
-
/// fail to instantiate.
|
1986
|
-
///
|
1987
|
-
/// If a table's maximum element limit is unbounded or greater than this value,
|
1988
|
-
/// the maximum will be `table_elements` for the purpose of any `table.grow` instruction.
|
1989
|
-
///
|
1990
|
-
/// This value is used to reserve the maximum space for each supported table; table elements
|
1991
|
-
/// are pointer-sized in the Wasmtime runtime. Therefore, the space reserved for each instance
|
1992
|
-
/// is `tables * table_elements * sizeof::<*const ()>`.
|
1993
|
-
pub fn instance_table_elements(&mut self, elements: u32) -> &mut Self {
|
1994
|
-
self.config.limits.table_elements = elements;
|
1995
|
-
self
|
1996
|
-
}
|
1997
|
-
|
1998
|
-
/// The maximum number of defined linear memories for a module (default is 1).
|
1999
|
-
///
|
2000
|
-
/// This value controls the capacity of the `VMMemoryDefinition` table in each instance's
|
2001
|
-
/// `VMContext` structure.
|
2002
|
-
///
|
2003
|
-
/// The allocated size of the table will be `memories * sizeof(VMMemoryDefinition)` for each
|
2004
|
-
/// instance regardless of how many memories are defined by an instance's module.
|
2005
|
-
pub fn instance_memories(&mut self, memories: u32) -> &mut Self {
|
2006
|
-
self.config.limits.memories = memories;
|
2007
|
-
self
|
2008
|
-
}
|
2009
|
-
|
2010
|
-
/// The maximum number of pages for any linear memory defined in a module (default is 160).
|
2011
|
-
///
|
2012
|
-
/// The default of 160 means at most 10 MiB of host memory may be committed for each instance.
|
2013
|
-
///
|
2014
|
-
/// If a memory's minimum page limit is greater than this value, the module will
|
2015
|
-
/// fail to instantiate.
|
2016
|
-
///
|
2017
|
-
/// If a memory's maximum page limit is unbounded or greater than this value,
|
2018
|
-
/// the maximum will be `memory_pages` for the purpose of any `memory.grow` instruction.
|
2019
|
-
///
|
2020
|
-
/// This value is used to control the maximum accessible space for each linear memory of an instance.
|
2021
|
-
///
|
2022
|
-
/// The reservation size of each linear memory is controlled by the
|
2023
|
-
/// `static_memory_maximum_size` setting and this value cannot
|
2024
|
-
/// exceed the configured static memory maximum size.
|
2025
|
-
pub fn instance_memory_pages(&mut self, pages: u64) -> &mut Self {
|
2026
|
-
self.config.limits.memory_pages = pages;
|
2027
|
-
self
|
2028
|
-
}
|
2029
|
-
}
|
2030
|
-
|
2031
|
-
pub(crate) fn probestack_supported(arch: Architecture) -> bool {
|
2032
|
-
matches!(
|
2033
|
-
arch,
|
2034
|
-
Architecture::X86_64 | Architecture::Aarch64(_) | Architecture::Riscv64(_)
|
2035
|
-
)
|
2036
|
-
}
|