wasmtime 11.0.0 → 12.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 +234 -173
- data/ext/Cargo.toml +7 -7
- data/ext/cargo-vendor/addr2line-0.20.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/addr2line-0.20.0/CHANGELOG.md +321 -0
- data/ext/cargo-vendor/addr2line-0.20.0/Cargo.lock +548 -0
- data/ext/cargo-vendor/addr2line-0.20.0/Cargo.toml +145 -0
- data/ext/cargo-vendor/addr2line-0.20.0/examples/addr2line.rs +306 -0
- data/ext/cargo-vendor/addr2line-0.20.0/src/builtin_split_dwarf_loader.rs +164 -0
- data/ext/cargo-vendor/addr2line-0.20.0/src/function.rs +555 -0
- data/ext/cargo-vendor/addr2line-0.20.0/src/lazy.rs +31 -0
- data/ext/cargo-vendor/addr2line-0.20.0/src/lib.rs +1729 -0
- data/ext/cargo-vendor/addr2line-0.20.0/tests/correctness.rs +126 -0
- data/ext/cargo-vendor/addr2line-0.20.0/tests/output_equivalence.rs +135 -0
- data/ext/cargo-vendor/addr2line-0.20.0/tests/parse.rs +114 -0
- data/ext/cargo-vendor/bytes-1.4.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/bytes-1.4.0/CHANGELOG.md +283 -0
- data/ext/cargo-vendor/bytes-1.4.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/bytes-1.4.0/LICENSE +25 -0
- data/ext/cargo-vendor/bytes-1.4.0/README.md +56 -0
- data/ext/cargo-vendor/bytes-1.4.0/benches/buf.rs +186 -0
- data/ext/cargo-vendor/bytes-1.4.0/benches/bytes.rs +120 -0
- data/ext/cargo-vendor/bytes-1.4.0/benches/bytes_mut.rs +266 -0
- data/ext/cargo-vendor/bytes-1.4.0/ci/miri.sh +11 -0
- data/ext/cargo-vendor/bytes-1.4.0/ci/test-stable.sh +28 -0
- data/ext/cargo-vendor/bytes-1.4.0/ci/tsan.sh +13 -0
- data/ext/cargo-vendor/bytes-1.4.0/clippy.toml +1 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/buf_impl.rs +1394 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/buf_mut.rs +1493 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/chain.rs +242 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/iter.rs +130 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/limit.rs +75 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/mod.rs +41 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/reader.rs +81 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/take.rs +155 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/uninit_slice.rs +213 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/vec_deque.rs +22 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/buf/writer.rs +88 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/bytes.rs +1304 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/bytes_mut.rs +1812 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/fmt/debug.rs +49 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/fmt/hex.rs +37 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/fmt/mod.rs +5 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/lib.rs +117 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/loom.rs +30 -0
- data/ext/cargo-vendor/bytes-1.4.0/src/serde.rs +89 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_buf.rs +120 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_buf_mut.rs +178 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_bytes.rs +1210 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_bytes_odd_alloc.rs +97 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_bytes_vec_alloc.rs +143 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_chain.rs +177 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_debug.rs +35 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_iter.rs +21 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_reader.rs +29 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_serde.rs +20 -0
- data/ext/cargo-vendor/bytes-1.4.0/tests/test_take.rs +32 -0
- data/ext/cargo-vendor/cap-fs-ext-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cap-fs-ext-2.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/cap-fs-ext-2.0.0/src/is_file_read_write.rs +61 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/fs/mod.rs +125 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/net/pool.rs +284 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/copy_impl.rs +233 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/metadata_ext.rs +384 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/oflags.rs +98 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/open_unchecked.rs +71 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/reopen_impl.rs +18 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/set_permissions_impl.rs +49 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/stat_unchecked.rs +79 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/fs/times.rs +61 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/rustix/linux/fs/procfs.rs +81 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/windows/fs/create_file_at_w.rs +273 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/windows/fs/metadata_ext.rs +214 -0
- data/ext/cargo-vendor/cap-primitives-2.0.0/src/windows/fs/open_unchecked.rs +228 -0
- data/ext/cargo-vendor/cap-rand-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cap-rand-2.0.0/Cargo.toml +38 -0
- data/ext/cargo-vendor/cap-std-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cap-std-2.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/cap-std-2.0.0/build.rs +41 -0
- data/ext/cargo-vendor/cap-std-2.0.0/src/fs/file.rs +614 -0
- data/ext/cargo-vendor/cap-std-2.0.0/src/fs_utf8/file.rs +608 -0
- data/ext/cargo-vendor/cap-std-2.0.0/src/lib.rs +51 -0
- data/ext/cargo-vendor/cap-std-2.0.0/src/net/udp_socket.rs +418 -0
- data/ext/cargo-vendor/cap-time-ext-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cap-time-ext-2.0.0/Cargo.toml +42 -0
- data/ext/cargo-vendor/cap-time-ext-2.0.0/src/monotonic_clock.rs +62 -0
- data/ext/cargo-vendor/cap-time-ext-2.0.0/src/system_clock.rs +59 -0
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/Cargo.toml +159 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/cursor.rs +644 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/extfunc.rs +411 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/function.rs +469 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/globalvalue.rs +155 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/mod.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/abi.rs +1543 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/emit.rs +3919 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/mod.rs +3039 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst.isle +4048 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower/isle.rs +873 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower.isle +2907 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/abi.rs +985 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/emit.rs +3254 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/mod.rs +2125 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst.isle +2972 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower/isle.rs +620 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower.isle +2002 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/abi.rs +1204 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower.isle +4651 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/lib.rs +140 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/abi.rs +2641 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/buffer.rs +2365 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/isle.rs +837 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/lower.rs +1393 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/vcode.rs +1591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/cprop.isle +200 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/icmp.isle +177 -0
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/value_label.rs +32 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/Cargo.toml +26 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/gen_inst.rs +1785 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/isa/arm64.rs +53 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/isa/mod.rs +66 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/isa/riscv64.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/isa/s390x.rs +39 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/isa/x86.rs +401 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/lib.rs +59 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/shared/mod.rs +88 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.99.1/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.99.1/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/Cargo.toml +53 -0
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/src/lib.rs +204 -0
- data/ext/cargo-vendor/cranelift-isle-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.99.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/cranelift-native-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.99.1/Cargo.toml +38 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/Cargo.toml +85 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/code_translator.rs +3608 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/dummy.rs +942 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/spec.rs +913 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/func_translator.rs +431 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/sections_translator.rs +420 -0
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/tests/wasm_testsuite.rs +153 -0
- data/ext/cargo-vendor/fs-set-times-0.20.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/fs-set-times-0.20.0/Cargo.toml +45 -0
- data/ext/cargo-vendor/futures-0.3.28/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/futures-0.3.28/Cargo.toml +147 -0
- data/ext/cargo-vendor/futures-0.3.28/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/futures-0.3.28/LICENSE-MIT +26 -0
- data/ext/cargo-vendor/futures-0.3.28/README.md +61 -0
- data/ext/cargo-vendor/futures-0.3.28/src/lib.rs +260 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/_require_features.rs +13 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/async_await_macros.rs +393 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/auto_traits.rs +1891 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/bilock.rs +104 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/compat.rs +16 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/eager_drop.rs +121 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/eventual.rs +179 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_abortable.rs +44 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_basic_combinators.rs +104 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_fuse.rs +12 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_inspect.rs +16 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_join.rs +32 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_join_all.rs +41 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_obj.rs +33 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_select_all.rs +25 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_select_ok.rs +30 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_shared.rs +273 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_try_flatten_stream.rs +83 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/future_try_join_all.rs +46 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_buf_reader.rs +432 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_buf_writer.rs +239 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_cursor.rs +30 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_line_writer.rs +73 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_lines.rs +60 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_read.rs +64 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_read_exact.rs +17 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_read_line.rs +58 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_read_to_end.rs +65 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_read_to_string.rs +44 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_read_until.rs +60 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_window.rs +30 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/io_write.rs +65 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/lock_mutex.rs +69 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/macro_comma_support.rs +43 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/object_safety.rs +49 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/oneshot.rs +78 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/ready_queue.rs +148 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/recurse.rs +25 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/sink.rs +554 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/sink_fanout.rs +24 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream.rs +537 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_abortable.rs +46 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_buffer_unordered.rs +73 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_catch_unwind.rs +27 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_futures_ordered.rs +172 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_futures_unordered.rs +383 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_into_async_read.rs +94 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_peekable.rs +58 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_select_all.rs +197 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_select_next_some.rs +86 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_split.rs +57 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_try_stream.rs +134 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/stream_unfold.rs +32 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/task_arc_wake.rs +79 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/task_atomic_waker.rs +48 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/test_macro.rs +20 -0
- data/ext/cargo-vendor/futures-0.3.28/tests/try_join.rs +35 -0
- data/ext/cargo-vendor/futures-0.3.28/tests_disabled/all.rs +400 -0
- data/ext/cargo-vendor/futures-0.3.28/tests_disabled/stream.rs +368 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/Cargo.toml +52 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/LICENSE-MIT +26 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/README.md +23 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/benches/sync_mpsc.rs +135 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/build.rs +41 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/no_atomic_cas.rs +17 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/src/lib.rs +42 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/src/lock.rs +102 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/src/mpsc/mod.rs +1359 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/src/mpsc/queue.rs +174 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/src/mpsc/sink_impl.rs +73 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/src/oneshot.rs +488 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/tests/channel.rs +66 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/tests/mpsc-close.rs +299 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/tests/mpsc-size_hint.rs +40 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/tests/mpsc.rs +634 -0
- data/ext/cargo-vendor/futures-channel-0.3.28/tests/oneshot.rs +256 -0
- data/ext/cargo-vendor/futures-core-0.3.28/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/futures-core-0.3.28/Cargo.toml +44 -0
- data/ext/cargo-vendor/futures-core-0.3.28/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/futures-core-0.3.28/LICENSE-MIT +26 -0
- data/ext/cargo-vendor/futures-core-0.3.28/README.md +23 -0
- data/ext/cargo-vendor/futures-core-0.3.28/build.rs +41 -0
- data/ext/cargo-vendor/futures-core-0.3.28/no_atomic_cas.rs +17 -0
- data/ext/cargo-vendor/futures-core-0.3.28/src/future.rs +103 -0
- data/ext/cargo-vendor/futures-core-0.3.28/src/lib.rs +27 -0
- data/ext/cargo-vendor/futures-core-0.3.28/src/stream.rs +235 -0
- data/ext/cargo-vendor/futures-core-0.3.28/src/task/__internal/atomic_waker.rs +421 -0
- data/ext/cargo-vendor/futures-core-0.3.28/src/task/__internal/mod.rs +4 -0
- data/ext/cargo-vendor/futures-core-0.3.28/src/task/mod.rs +10 -0
- data/ext/cargo-vendor/futures-core-0.3.28/src/task/poll.rs +12 -0
- data/ext/cargo-vendor/futures-io-0.3.28/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/futures-io-0.3.28/Cargo.toml +37 -0
- data/ext/cargo-vendor/futures-io-0.3.28/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/futures-io-0.3.28/LICENSE-MIT +26 -0
- data/ext/cargo-vendor/futures-io-0.3.28/README.md +23 -0
- data/ext/cargo-vendor/futures-io-0.3.28/src/lib.rs +558 -0
- data/ext/cargo-vendor/futures-sink-0.3.28/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/futures-sink-0.3.28/Cargo.toml +33 -0
- data/ext/cargo-vendor/futures-sink-0.3.28/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/futures-sink-0.3.28/LICENSE-MIT +26 -0
- data/ext/cargo-vendor/futures-sink-0.3.28/README.md +23 -0
- data/ext/cargo-vendor/futures-sink-0.3.28/src/lib.rs +240 -0
- data/ext/cargo-vendor/futures-task-0.3.28/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/futures-task-0.3.28/Cargo.toml +37 -0
- data/ext/cargo-vendor/futures-task-0.3.28/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/futures-task-0.3.28/LICENSE-MIT +26 -0
- data/ext/cargo-vendor/futures-task-0.3.28/README.md +23 -0
- data/ext/cargo-vendor/futures-task-0.3.28/build.rs +41 -0
- data/ext/cargo-vendor/futures-task-0.3.28/no_atomic_cas.rs +17 -0
- data/ext/cargo-vendor/futures-task-0.3.28/src/arc_wake.rs +49 -0
- data/ext/cargo-vendor/futures-task-0.3.28/src/future_obj.rs +335 -0
- data/ext/cargo-vendor/futures-task-0.3.28/src/lib.rs +50 -0
- data/ext/cargo-vendor/futures-task-0.3.28/src/noop_waker.rs +63 -0
- data/ext/cargo-vendor/futures-task-0.3.28/src/spawn.rs +192 -0
- data/ext/cargo-vendor/futures-task-0.3.28/src/waker.rs +59 -0
- data/ext/cargo-vendor/futures-task-0.3.28/src/waker_ref.rs +66 -0
- data/ext/cargo-vendor/futures-util-0.3.28/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/futures-util-0.3.28/Cargo.toml +135 -0
- data/ext/cargo-vendor/futures-util-0.3.28/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/futures-util-0.3.28/LICENSE-MIT +26 -0
- data/ext/cargo-vendor/futures-util-0.3.28/README.md +23 -0
- data/ext/cargo-vendor/futures-util-0.3.28/benches/bilock.rs +68 -0
- data/ext/cargo-vendor/futures-util-0.3.28/benches/flatten_unordered.rs +58 -0
- data/ext/cargo-vendor/futures-util-0.3.28/benches/futures_unordered.rs +43 -0
- data/ext/cargo-vendor/futures-util-0.3.28/benches/select.rs +35 -0
- data/ext/cargo-vendor/futures-util-0.3.28/build.rs +41 -0
- data/ext/cargo-vendor/futures-util-0.3.28/no_atomic_cas.rs +17 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/abortable.rs +209 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/async_await/join_mod.rs +110 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/async_await/mod.rs +58 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/async_await/pending.rs +43 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/async_await/poll.rs +39 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/async_await/random.rs +54 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/async_await/select_mod.rs +336 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/async_await/stream_select_mod.rs +40 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/compat/compat01as03.rs +454 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/compat/compat03as01.rs +265 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/compat/executor.rs +86 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/compat/mod.rs +22 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/fns.rs +372 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/abortable.rs +19 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/either.rs +317 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/future/catch_unwind.rs +38 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/future/flatten.rs +153 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/future/fuse.rs +91 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/future/map.rs +66 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/future/mod.rs +610 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/future/remote_handle.rs +126 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/future/shared.rs +413 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/join.rs +217 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/join_all.rs +166 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/lazy.rs +60 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/maybe_done.rs +104 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/mod.rs +131 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/option.rs +64 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/pending.rs +55 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/poll_fn.rs +58 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/poll_immediate.rs +126 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/ready.rs +82 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/select.rs +134 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/select_all.rs +75 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/select_ok.rs +85 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_future/into_future.rs +36 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_future/mod.rs +625 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_future/try_flatten.rs +162 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_future/try_flatten_err.rs +62 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_join.rs +256 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_join_all.rs +200 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_maybe_done.rs +92 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/future/try_select.rs +85 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/allow_std.rs +200 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/buf_reader.rs +263 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/buf_writer.rs +224 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/chain.rs +142 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/close.rs +28 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/copy.rs +58 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/copy_buf.rs +78 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/copy_buf_abortable.rs +124 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/cursor.rs +232 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/empty.rs +59 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/fill_buf.rs +51 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/flush.rs +31 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/into_sink.rs +82 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/line_writer.rs +155 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/lines.rs +47 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/mod.rs +841 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/read.rs +30 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/read_exact.rs +42 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/read_line.rs +57 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/read_to_end.rs +91 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/read_to_string.rs +59 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/read_until.rs +60 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/read_vectored.rs +30 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/repeat.rs +66 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/seek.rs +30 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/sink.rs +67 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/split.rs +115 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/take.rs +125 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/window.rs +104 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/write.rs +30 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/write_all.rs +43 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/write_all_vectored.rs +193 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/io/write_vectored.rs +30 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/lib.rs +337 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/lock/bilock.rs +293 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/lock/mod.rs +27 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/lock/mutex.rs +551 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/never.rs +18 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/buffer.rs +105 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/close.rs +32 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/drain.rs +59 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/err_into.rs +57 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/fanout.rs +111 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/feed.rs +43 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/flush.rs +36 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/map_err.rs +65 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/mod.rs +344 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/send.rs +41 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/send_all.rs +100 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/unfold.rs +89 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/with.rs +134 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/sink/with_flat_map.rs +127 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/abortable.rs +19 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/empty.rs +45 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/futures_ordered.rs +244 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/futures_unordered/abort.rs +12 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/futures_unordered/iter.rs +172 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/futures_unordered/mod.rs +661 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/futures_unordered/ready_to_run_queue.rs +122 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/futures_unordered/task.rs +125 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/iter.rs +49 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/mod.rs +148 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/once.rs +67 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/pending.rs +45 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/poll_fn.rs +57 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/poll_immediate.rs +80 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/repeat.rs +58 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/repeat_with.rs +93 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/select.rs +117 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/select_all.rs +249 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/select_with_strategy.rs +304 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/all.rs +92 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/any.rs +92 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/buffer_unordered.rs +120 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/buffered.rs +118 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/catch_unwind.rs +61 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/chain.rs +76 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/chunks.rs +103 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/collect.rs +56 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/concat.rs +62 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/count.rs +53 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/cycle.rs +68 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/enumerate.rs +64 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/filter.rs +117 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/filter_map.rs +111 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/flatten.rs +73 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/flatten_unordered.rs +536 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/fold.rs +88 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/for_each.rs +78 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/for_each_concurrent.rs +119 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/forward.rs +75 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/fuse.rs +75 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/into_future.rs +90 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/map.rs +77 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/mod.rs +1691 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/next.rs +34 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/peek.rs +433 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/ready_chunks.rs +93 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/scan.rs +128 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/select_next_some.rs +42 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/skip.rs +70 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/skip_while.rs +124 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/split.rs +144 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/take.rs +86 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/take_until.rs +170 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/take_while.rs +124 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/then.rs +101 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/unzip.rs +63 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/stream/zip.rs +128 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/and_then.rs +105 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/into_async_read.rs +166 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/into_stream.rs +52 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/mod.rs +1130 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/or_else.rs +109 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_buffer_unordered.rs +86 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_buffered.rs +87 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_chunks.rs +132 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_collect.rs +52 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_concat.rs +51 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_filter.rs +112 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_filter_map.rs +106 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_flatten.rs +84 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_flatten_unordered.rs +176 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_fold.rs +93 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_for_each.rs +68 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_for_each_concurrent.rs +133 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_next.rs +34 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_skip_while.rs +120 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_take_while.rs +129 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/try_stream/try_unfold.rs +122 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/stream/unfold.rs +119 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/task/mod.rs +37 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/task/spawn.rs +169 -0
- data/ext/cargo-vendor/futures-util-0.3.28/src/unfold_state.rs +39 -0
- data/ext/cargo-vendor/io-extras-0.18.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/io-extras-0.18.0/Cargo.toml +94 -0
- data/ext/cargo-vendor/io-extras-0.18.0/README.md +33 -0
- data/ext/cargo-vendor/io-extras-0.18.0/build.rs +43 -0
- data/ext/cargo-vendor/io-extras-0.18.0/src/os/windows/stdio.rs +328 -0
- data/ext/cargo-vendor/object-0.31.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.31.1/CHANGELOG.md +621 -0
- data/ext/cargo-vendor/object-0.31.1/Cargo.toml +161 -0
- data/ext/cargo-vendor/object-0.31.1/README.md +58 -0
- data/ext/cargo-vendor/object-0.31.1/clippy.toml +1 -0
- data/ext/cargo-vendor/object-0.31.1/src/common.rs +499 -0
- data/ext/cargo-vendor/object-0.31.1/src/elf.rs +6146 -0
- data/ext/cargo-vendor/object-0.31.1/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.31.1/src/lib.rs +116 -0
- data/ext/cargo-vendor/object-0.31.1/src/macho.rs +3307 -0
- data/ext/cargo-vendor/object-0.31.1/src/pe.rs +3050 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/any.rs +1323 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/comdat.rs +207 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/file.rs +364 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/relocation.rs +104 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/section.rs +574 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/symbol.rs +626 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/attributes.rs +303 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/comdat.rs +160 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/file.rs +910 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/hash.rs +220 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/mod.rs +42 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/note.rs +263 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/section.rs +1146 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/segment.rs +332 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/symbol.rs +577 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/version.rs +421 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/dyld_cache.rs +343 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/file.rs +731 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/load_command.rs +373 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/relocation.rs +127 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/section.rs +387 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/segment.rs +301 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/symbol.rs +488 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/mod.rs +760 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/data_directory.rs +211 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/file.rs +1029 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/resource.rs +207 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/rich.rs +91 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/section.rs +434 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/read_cache.rs +182 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/read_ref.rs +137 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/traits.rs +469 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/util.rs +425 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/wasm.rs +951 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/comdat.rs +129 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/relocation.rs +127 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/section.rs +427 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/segment.rs +113 -0
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/symbol.rs +695 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/coff.rs +725 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/object.rs +891 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/writer.rs +2143 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/macho.rs +978 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/mod.rs +943 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/string.rs +159 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/util.rs +260 -0
- data/ext/cargo-vendor/object-0.31.1/src/write/xcoff.rs +556 -0
- data/ext/cargo-vendor/object-0.31.1/src/xcoff.rs +893 -0
- data/ext/cargo-vendor/object-0.31.1/tests/read/coff.rs +23 -0
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/elf.rs +289 -0
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/macho.rs +24 -0
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/mod.rs +636 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/CONTRIBUTING.md +21 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/Cargo.lock +1000 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/Cargo.toml +100 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/README.md +167 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/benches/html_rendering.rs +97 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/benches/lib.rs +51 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/benches/markdown-it.rs +29 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/build.rs +189 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/examples/broken-link-callbacks.rs +35 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/examples/event-filter.rs +27 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/examples/parser-map-event-print.rs +31 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/examples/parser-map-tag-print.rs +73 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/examples/string-to-string.rs +24 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/escape.rs +369 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/firstpass.rs +1927 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/html.rs +478 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/lib.rs +290 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/linklabel.rs +135 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/main.rs +123 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/parse.rs +1927 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/puncttable.rs +351 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/scanners.rs +1327 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/strings.rs +373 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/src/tree.rs +276 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/errors.rs +131 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/html.rs +250 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/lib.rs +421 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/serde.rs +78 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/suite/gfm_strikethrough.rs +37 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/suite/gfm_table.rs +205 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/suite/heading_attrs.rs +571 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/suite/mod.rs +14 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/suite/regression.rs +1033 -0
- data/ext/cargo-vendor/pulldown-cmark-0.9.3/tests/suite/spec.rs +8490 -0
- data/ext/cargo-vendor/system-interface-0.26.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/system-interface-0.26.0/Cargo.toml +105 -0
- data/ext/cargo-vendor/system-interface-0.26.0/build.rs +53 -0
- data/ext/cargo-vendor/system-interface-0.26.0/src/fs/file_io_ext.rs +1185 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/Cargo.toml +96 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/src/sched/unix.rs +82 -0
- data/ext/cargo-vendor/wasi-common-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-12.0.1/Cargo.toml +87 -0
- data/ext/cargo-vendor/wasi-common-12.0.1/src/file.rs +269 -0
- data/ext/cargo-vendor/wasi-common-12.0.1/src/sched/subscription.rs +77 -0
- data/ext/cargo-vendor/wasi-common-12.0.1/src/snapshots/preview_1/error.rs +265 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/benches/benchmark.rs +349 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/lib.rs +726 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/limits.rs +59 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/parser.rs +1612 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/component/canonicals.rs +120 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core/elements.rs +152 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core/types.rs +1141 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/component.rs +3144 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/core.rs +1314 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/operators.rs +3466 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/types.rs +3197 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator.rs +1568 -0
- data/ext/cargo-vendor/wasmparser-0.110.0/tests/big-module.rs +33 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/Cargo.toml +186 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/README.md +119 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/compiler.rs +666 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/component.rs +466 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/func/host.rs +456 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/func/options.rs +510 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/func/typed.rs +2326 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/func.rs +718 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/instance.rs +781 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/linker.rs +479 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/matching.rs +215 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/mod.rs +316 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/resources.rs +716 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/types.rs +562 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/values.rs +1376 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/config.rs +2096 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/coredump.rs +115 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/engine/serialization.rs +629 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/externals.rs +768 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/func.rs +2356 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/instance.rs +883 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/lib.rs +490 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/memory.rs +954 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/module/registry.rs +329 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/module.rs +1346 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/resources.rs +33 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/store/data.rs +283 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/store/func_refs.rs +85 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/store.rs +2212 -0
- data/ext/cargo-vendor/wasmtime-12.0.1/src/trap.rs +639 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/Cargo.toml +73 -0
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/bindgen.rs +343 -0
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/component.rs +1319 -0
- data/ext/cargo-vendor/wasmtime-component-util-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-12.0.1/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/Cargo.toml +93 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/builder.rs +116 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/compiler/component.rs +959 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/compiler.rs +1297 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug/transform/expression.rs +1250 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug/transform/unit.rs +522 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug/transform/utils.rs +187 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/func_environ.rs +2377 -0
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/lib.rs +186 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/src/lib.rs +129 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.lock +736 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.toml +116 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/examples/factc.rs +207 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/compilation.rs +400 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/compiler.rs +47 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/dfg.rs +678 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/info.rs +583 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/translate/adapt.rs +457 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/translate/inline.rs +1327 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/translate.rs +943 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/types/resources.rs +240 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/types.rs +1920 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/vmcomponent_offsets.rs +316 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component.rs +95 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/signature.rs +135 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/trampoline.rs +3269 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/transcode.rs +168 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact.rs +713 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module_environ.rs +887 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/trap_encoding.rs +246 -0
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/tunables.rs +115 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/Cargo.toml +51 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/build.rs +26 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/unix/aarch64.rs +184 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/unix/arm.rs +85 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/unix/riscv64.rs +158 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/unix/s390x.S +123 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/unix/x86_64.rs +160 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/unix.rs +215 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/windows.c +9 -0
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/src/windows.rs +162 -0
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/Cargo.toml +104 -0
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/profiling.rs +108 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/src/gdb_jit_int.rs +130 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/Cargo.toml +119 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/build.rs +19 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/component/libcalls.rs +574 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/component/resources.rs +327 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/component.rs +853 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/debug_builtins.rs +59 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/helpers.c +108 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/on_demand.rs +127 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator.rs +414 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/lib.rs +289 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/libcalls.rs +627 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/mmap/unix.rs +148 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/send_sync_ptr.rs +77 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/trampolines/aarch64.rs +42 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/trampolines/riscv64.rs +43 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/trampolines/s390x.S +62 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/trampolines/x86_64.rs +64 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers/coredump.rs +38 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers/unix.rs +402 -0
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers.rs +782 -0
- data/ext/cargo-vendor/wasmtime-types-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-12.0.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wasmtime-types-12.0.1/src/lib.rs +504 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/src/lib.rs +66 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/Cargo.toml +191 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/command.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/ctx.rs +237 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/filesystem.rs +216 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/mod.rs +185 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/pipe.rs +846 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/poll.rs +148 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview1/mod.rs +1870 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/clocks.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/env.rs +37 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/exit.rs +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem/sync.rs +613 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem.rs +1096 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/io.rs +494 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/mod.rs +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/random.rs +36 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/unix.rs +133 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/worker_thread_stdin.rs +133 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio.rs +218 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stream.rs +302 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/table.rs +287 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/io/streams.wit +254 -0
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/test.wit +28 -0
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/src/builder.rs +64 -0
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/src/compiler.rs +217 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/lib.rs +1705 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/rust.rs +498 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/types.rs +185 -0
- data/ext/cargo-vendor/wiggle-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-12.0.1/Cargo.toml +106 -0
- data/ext/cargo-vendor/wiggle-generate-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-12.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/config.rs +697 -0
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/types/flags.rs +92 -0
- data/ext/cargo-vendor/wiggle-macro-12.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-12.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/winch-codegen-0.10.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.10.1/Cargo.toml +62 -0
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/context.rs +368 -0
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/control.rs +437 -0
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/env.rs +74 -0
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/mod.rs +330 -0
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/visitor.rs +656 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/Cargo.toml +62 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/abi.rs +2199 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/lex.rs +717 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/resolve.rs +1437 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/toposort.rs +225 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast.rs +1362 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/lib.rs +666 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/live.rs +116 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/resolve.rs +1749 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/src/sizealign.rs +145 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/complex-include/deps/bar/root.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/complex-include/deps/baz/root.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/complex-include/root.wit +26 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/cross-package-resource/deps/foo/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/cross-package-resource/foo.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps/deps/corp/saas.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps/deps/wasi/clocks.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps/deps/wasi/filesystem.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/foreign-deps-union/root.wit +50 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/ignore-files-deps/deps/bar/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/ignore-files-deps/deps/ignore-me.txt +1 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/ignore-files-deps/world.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/include-reps.wit +15 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/kebab-name-include-with.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/name-both-resource-and-type/foo.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-include1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-include1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-include2.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-include2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-include3.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-include3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-pkg1.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource10.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource10.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource11.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource11.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource12.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource12.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource13.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource13.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource14.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource14.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource15/foo.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource15.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource2.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource3.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource4.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource5.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource6.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource7.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource8.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource8.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource9.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/bad-resource9.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export2.wit +18 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export4.wit +44 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export5.wit +18 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/import-and-export5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-cycle.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-foreign/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-foreign.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-with-id.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-with-id.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-with-on-id.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/include-with-on-id.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/kebab-name-include-not-found.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/kebab-name-include.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/kebab-name-include.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/non-existance-world-include/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/non-existance-world-include.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/type-and-resource-same-name.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/union-fuzz-2.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/union-fuzz-2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/unknown-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/unresolved-interface2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/unresolved-interface3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/unresolved-use1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/unresolved-use9.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-and-include-world/root.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-and-include-world.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-cycle1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-world/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-world/root.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/use-world.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/world-interface-clash.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources-empty.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources-multiple-returns-borrow.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources-multiple-returns-own.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources-multiple.wit +20 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources-return-borrow.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources-return-own.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources.wit +47 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/resources1.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/shared-types.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/stress-export-elaborate.wit +54 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/union-fuzz-1.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/world-diamond.wit +22 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/world-same-fields4.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/world-top-level-resources.wit +24 -0
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/worlds-union-dedup.wit +23 -0
- data/lib/wasmtime/version.rb +1 -1
- metadata +1992 -1571
- data/ext/cargo-vendor/addr2line-0.19.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/addr2line-0.19.0/CHANGELOG.md +0 -287
- data/ext/cargo-vendor/addr2line-0.19.0/Cargo.lock +0 -466
- data/ext/cargo-vendor/addr2line-0.19.0/Cargo.toml +0 -142
- data/ext/cargo-vendor/addr2line-0.19.0/examples/addr2line.rs +0 -289
- data/ext/cargo-vendor/addr2line-0.19.0/src/function.rs +0 -534
- data/ext/cargo-vendor/addr2line-0.19.0/src/lazy.rs +0 -27
- data/ext/cargo-vendor/addr2line-0.19.0/src/lib.rs +0 -1234
- data/ext/cargo-vendor/addr2line-0.19.0/tests/correctness.rs +0 -92
- data/ext/cargo-vendor/addr2line-0.19.0/tests/output_equivalence.rs +0 -146
- data/ext/cargo-vendor/addr2line-0.19.0/tests/parse.rs +0 -118
- data/ext/cargo-vendor/cap-fs-ext-1.0.15/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cap-fs-ext-1.0.15/Cargo.toml +0 -63
- data/ext/cargo-vendor/cap-fs-ext-1.0.15/src/is_file_read_write.rs +0 -61
- data/ext/cargo-vendor/cap-primitives-1.0.15/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cap-primitives-1.0.15/Cargo.toml +0 -81
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/fs/mod.rs +0 -125
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/net/pool.rs +0 -284
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/copy_impl.rs +0 -235
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/metadata_ext.rs +0 -385
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/oflags.rs +0 -98
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/open_unchecked.rs +0 -71
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/reopen_impl.rs +0 -18
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/set_permissions_impl.rs +0 -50
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/stat_unchecked.rs +0 -79
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/fs/times.rs +0 -62
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/rustix/linux/fs/procfs.rs +0 -76
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/windows/fs/create_file_at_w.rs +0 -274
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/windows/fs/metadata_ext.rs +0 -216
- data/ext/cargo-vendor/cap-primitives-1.0.15/src/windows/fs/open_unchecked.rs +0 -229
- data/ext/cargo-vendor/cap-rand-1.0.15/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cap-rand-1.0.15/Cargo.toml +0 -38
- data/ext/cargo-vendor/cap-std-1.0.15/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cap-std-1.0.15/Cargo.toml +0 -67
- data/ext/cargo-vendor/cap-std-1.0.15/build.rs +0 -43
- data/ext/cargo-vendor/cap-std-1.0.15/src/fs/file.rs +0 -616
- data/ext/cargo-vendor/cap-std-1.0.15/src/fs_utf8/file.rs +0 -610
- data/ext/cargo-vendor/cap-std-1.0.15/src/lib.rs +0 -53
- data/ext/cargo-vendor/cap-std-1.0.15/src/net/udp_socket.rs +0 -418
- data/ext/cargo-vendor/cap-time-ext-1.0.15/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cap-time-ext-1.0.15/Cargo.toml +0 -42
- data/ext/cargo-vendor/cap-time-ext-1.0.15/src/monotonic_clock.rs +0 -63
- data/ext/cargo-vendor/cap-time-ext-1.0.15/src/system_clock.rs +0 -62
- data/ext/cargo-vendor/cranelift-bforest-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.98.1/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/Cargo.toml +0 -160
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/cursor.rs +0 -644
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/ir/extfunc.rs +0 -421
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/ir/function.rs +0 -485
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/ir/globalvalue.rs +0 -170
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/ir/mod.rs +0 -107
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/aarch64/abi.rs +0 -1506
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/aarch64/inst/emit.rs +0 -3714
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/aarch64/inst/mod.rs +0 -2980
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/aarch64/inst.isle +0 -4037
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/aarch64/lower/isle.rs +0 -837
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/aarch64/lower.isle +0 -2899
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/riscv64/abi.rs +0 -946
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/riscv64/inst/emit.rs +0 -3058
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/riscv64/inst/mod.rs +0 -2070
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/riscv64/inst.isle +0 -2927
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/riscv64/lower/isle.rs +0 -585
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/riscv64/lower.isle +0 -1984
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/x64/abi.rs +0 -1220
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/isa/x64/lower.isle +0 -4650
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/lib.rs +0 -140
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/machinst/abi.rs +0 -2605
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/machinst/buffer.rs +0 -2255
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/machinst/isle.rs +0 -836
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/machinst/lower.rs +0 -1388
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/machinst/vcode.rs +0 -1580
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/opts/cprop.isle +0 -197
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/opts/icmp.isle +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.98.1/src/value_label.rs +0 -69
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/Cargo.toml +0 -23
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/gen_inst.rs +0 -1784
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/isa/arm64.rs +0 -61
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/isa/mod.rs +0 -67
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/isa/riscv64.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/isa/s390x.rs +0 -47
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/isa/x86.rs +0 -409
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/lib.rs +0 -66
- data/ext/cargo-vendor/cranelift-codegen-meta-0.98.1/src/shared/mod.rs +0 -87
- data/ext/cargo-vendor/cranelift-codegen-shared-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.98.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.98.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.98.1/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-frontend-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.98.1/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-frontend-0.98.1/src/lib.rs +0 -204
- data/ext/cargo-vendor/cranelift-isle-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.98.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-native-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.98.1/Cargo.toml +0 -38
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/Cargo.toml +0 -85
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/src/code_translator.rs +0 -3544
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/src/environ/dummy.rs +0 -924
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/src/environ/spec.rs +0 -852
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/src/func_translator.rs +0 -440
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/src/sections_translator.rs +0 -417
- data/ext/cargo-vendor/cranelift-wasm-0.98.1/tests/wasm_testsuite.rs +0 -162
- data/ext/cargo-vendor/fs-set-times-0.19.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/fs-set-times-0.19.2/Cargo.toml +0 -45
- data/ext/cargo-vendor/io-extras-0.17.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/io-extras-0.17.4/Cargo.toml +0 -106
- data/ext/cargo-vendor/io-extras-0.17.4/README.md +0 -33
- data/ext/cargo-vendor/io-extras-0.17.4/build.rs +0 -79
- data/ext/cargo-vendor/io-extras-0.17.4/src/os/windows/stdio.rs +0 -329
- data/ext/cargo-vendor/memoffset-0.8.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/memoffset-0.8.0/Cargo.toml +0 -36
- data/ext/cargo-vendor/memoffset-0.8.0/LICENSE +0 -19
- data/ext/cargo-vendor/memoffset-0.8.0/README.md +0 -85
- data/ext/cargo-vendor/memoffset-0.8.0/build.rs +0 -25
- data/ext/cargo-vendor/memoffset-0.8.0/src/lib.rs +0 -93
- data/ext/cargo-vendor/memoffset-0.8.0/src/offset_of.rs +0 -356
- data/ext/cargo-vendor/memoffset-0.8.0/src/raw_field.rs +0 -226
- data/ext/cargo-vendor/memoffset-0.8.0/src/span_of.rs +0 -263
- data/ext/cargo-vendor/object-0.30.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/object-0.30.4/CHANGELOG.md +0 -524
- data/ext/cargo-vendor/object-0.30.4/Cargo.toml +0 -154
- data/ext/cargo-vendor/object-0.30.4/README.md +0 -58
- data/ext/cargo-vendor/object-0.30.4/clippy.toml +0 -1
- data/ext/cargo-vendor/object-0.30.4/src/common.rs +0 -480
- data/ext/cargo-vendor/object-0.30.4/src/elf.rs +0 -6751
- data/ext/cargo-vendor/object-0.30.4/src/endian.rs +0 -771
- data/ext/cargo-vendor/object-0.30.4/src/lib.rs +0 -117
- data/ext/cargo-vendor/object-0.30.4/src/macho.rs +0 -3307
- data/ext/cargo-vendor/object-0.30.4/src/pe.rs +0 -3050
- data/ext/cargo-vendor/object-0.30.4/src/read/any.rs +0 -1341
- data/ext/cargo-vendor/object-0.30.4/src/read/coff/comdat.rs +0 -167
- data/ext/cargo-vendor/object-0.30.4/src/read/coff/file.rs +0 -247
- data/ext/cargo-vendor/object-0.30.4/src/read/coff/relocation.rs +0 -91
- data/ext/cargo-vendor/object-0.30.4/src/read/coff/section.rs +0 -524
- data/ext/cargo-vendor/object-0.30.4/src/read/coff/symbol.rs +0 -526
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/comdat.rs +0 -162
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/file.rs +0 -885
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/hash.rs +0 -220
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/mod.rs +0 -39
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/note.rs +0 -185
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/section.rs +0 -1090
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/segment.rs +0 -333
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/symbol.rs +0 -580
- data/ext/cargo-vendor/object-0.30.4/src/read/elf/version.rs +0 -421
- data/ext/cargo-vendor/object-0.30.4/src/read/macho/dyld_cache.rs +0 -343
- data/ext/cargo-vendor/object-0.30.4/src/read/macho/file.rs +0 -731
- data/ext/cargo-vendor/object-0.30.4/src/read/macho/load_command.rs +0 -353
- data/ext/cargo-vendor/object-0.30.4/src/read/macho/relocation.rs +0 -126
- data/ext/cargo-vendor/object-0.30.4/src/read/macho/section.rs +0 -384
- data/ext/cargo-vendor/object-0.30.4/src/read/macho/segment.rs +0 -303
- data/ext/cargo-vendor/object-0.30.4/src/read/macho/symbol.rs +0 -488
- data/ext/cargo-vendor/object-0.30.4/src/read/mod.rs +0 -725
- data/ext/cargo-vendor/object-0.30.4/src/read/pe/data_directory.rs +0 -211
- data/ext/cargo-vendor/object-0.30.4/src/read/pe/file.rs +0 -1029
- data/ext/cargo-vendor/object-0.30.4/src/read/pe/resource.rs +0 -207
- data/ext/cargo-vendor/object-0.30.4/src/read/pe/rich.rs +0 -91
- data/ext/cargo-vendor/object-0.30.4/src/read/pe/section.rs +0 -436
- data/ext/cargo-vendor/object-0.30.4/src/read/read_cache.rs +0 -185
- data/ext/cargo-vendor/object-0.30.4/src/read/read_ref.rs +0 -137
- data/ext/cargo-vendor/object-0.30.4/src/read/traits.rs +0 -469
- data/ext/cargo-vendor/object-0.30.4/src/read/util.rs +0 -383
- data/ext/cargo-vendor/object-0.30.4/src/read/wasm.rs +0 -908
- data/ext/cargo-vendor/object-0.30.4/src/read/xcoff/comdat.rs +0 -130
- data/ext/cargo-vendor/object-0.30.4/src/read/xcoff/relocation.rs +0 -128
- data/ext/cargo-vendor/object-0.30.4/src/read/xcoff/section.rs +0 -426
- data/ext/cargo-vendor/object-0.30.4/src/read/xcoff/segment.rs +0 -115
- data/ext/cargo-vendor/object-0.30.4/src/read/xcoff/symbol.rs +0 -634
- data/ext/cargo-vendor/object-0.30.4/src/write/coff.rs +0 -713
- data/ext/cargo-vendor/object-0.30.4/src/write/elf/object.rs +0 -838
- data/ext/cargo-vendor/object-0.30.4/src/write/elf/writer.rs +0 -1955
- data/ext/cargo-vendor/object-0.30.4/src/write/macho.rs +0 -876
- data/ext/cargo-vendor/object-0.30.4/src/write/mod.rs +0 -917
- data/ext/cargo-vendor/object-0.30.4/src/write/string.rs +0 -159
- data/ext/cargo-vendor/object-0.30.4/src/write/util.rs +0 -210
- data/ext/cargo-vendor/object-0.30.4/src/xcoff.rs +0 -893
- data/ext/cargo-vendor/object-0.30.4/tests/read/coff.rs +0 -23
- data/ext/cargo-vendor/object-0.30.4/tests/round_trip/elf.rs +0 -218
- data/ext/cargo-vendor/object-0.30.4/tests/round_trip/macho.rs +0 -63
- data/ext/cargo-vendor/object-0.30.4/tests/round_trip/mod.rs +0 -451
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/CONTRIBUTING.md +0 -21
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/Cargo.lock +0 -924
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/Cargo.toml +0 -68
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/README.md +0 -152
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/benches/html_rendering.rs +0 -101
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/benches/lib.rs +0 -49
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/build.rs +0 -186
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/examples/broken-link-callbacks.rs +0 -37
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/examples/event-filter.rs +0 -29
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/examples/string-to-string.rs +0 -26
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/escape.rs +0 -356
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/html.rs +0 -461
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/lib.rs +0 -76
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/linklabel.rs +0 -135
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/main.rs +0 -109
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/parse.rs +0 -3374
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/puncttable.rs +0 -351
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/scanners.rs +0 -1308
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/simd.rs +0 -248
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/strings.rs +0 -243
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/src/tree.rs +0 -216
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/errors.rs +0 -44
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/html.rs +0 -252
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/lib.rs +0 -425
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/suite/gfm_strikethrough.rs +0 -27
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/suite/gfm_table.rs +0 -205
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/suite/mod.rs +0 -13
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/suite/regression.rs +0 -953
- data/ext/cargo-vendor/pulldown-cmark-0.8.0/tests/suite/spec.rs +0 -8447
- data/ext/cargo-vendor/system-interface-0.25.9/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/system-interface-0.25.9/Cargo.toml +0 -105
- data/ext/cargo-vendor/system-interface-0.25.9/build.rs +0 -55
- data/ext/cargo-vendor/system-interface-0.25.9/src/fs/file_io_ext.rs +0 -1186
- data/ext/cargo-vendor/wasi-cap-std-sync-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-11.0.0/Cargo.toml +0 -90
- data/ext/cargo-vendor/wasi-cap-std-sync-11.0.0/src/sched/unix.rs +0 -82
- data/ext/cargo-vendor/wasi-common-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-11.0.0/Cargo.toml +0 -87
- data/ext/cargo-vendor/wasi-common-11.0.0/src/file.rs +0 -262
- data/ext/cargo-vendor/wasi-common-11.0.0/src/sched/subscription.rs +0 -76
- data/ext/cargo-vendor/wasi-common-11.0.0/src/snapshots/preview_1/error.rs +0 -255
- data/ext/cargo-vendor/wasm-encoder-0.29.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.29.0/Cargo.toml +0 -33
- data/ext/cargo-vendor/wasm-encoder-0.29.0/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/exports.rs +0 -127
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/imports.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/types.rs +0 -759
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/code.rs +0 -2913
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/custom.rs +0 -55
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/data.rs +0 -185
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/elements.rs +0 -224
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/exports.rs +0 -85
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/globals.rs +0 -90
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/imports.rs +0 -142
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/memories.rs +0 -99
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/names.rs +0 -265
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/producers.rs +0 -180
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tables.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tags.rs +0 -85
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/types.rs +0 -246
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.107.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.lock +0 -621
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.107.0/benches/benchmark.rs +0 -351
- data/ext/cargo-vendor/wasmparser-0.107.0/src/lib.rs +0 -723
- data/ext/cargo-vendor/wasmparser-0.107.0/src/limits.rs +0 -57
- data/ext/cargo-vendor/wasmparser-0.107.0/src/parser.rs +0 -1535
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/canonicals.rs +0 -119
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/types.rs +0 -548
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/elements.rs +0 -158
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/types.rs +0 -874
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/component.rs +0 -3082
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/core.rs +0 -1334
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/operators.rs +0 -3463
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/types.rs +0 -3070
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator.rs +0 -1589
- data/ext/cargo-vendor/wasmparser-0.107.0/tests/big-module.rs +0 -32
- data/ext/cargo-vendor/wasmtime-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-11.0.0/Cargo.toml +0 -183
- data/ext/cargo-vendor/wasmtime-11.0.0/README.md +0 -119
- data/ext/cargo-vendor/wasmtime-11.0.0/src/compiler.rs +0 -710
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/component.rs +0 -397
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/func/host.rs +0 -472
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/func/options.rs +0 -270
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/func/typed.rs +0 -2298
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/func.rs +0 -701
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/instance.rs +0 -727
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/linker.rs +0 -404
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/matching.rs +0 -112
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/mod.rs +0 -313
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/types.rs +0 -514
- data/ext/cargo-vendor/wasmtime-11.0.0/src/component/values.rs +0 -1319
- data/ext/cargo-vendor/wasmtime-11.0.0/src/config.rs +0 -2058
- data/ext/cargo-vendor/wasmtime-11.0.0/src/engine/serialization.rs +0 -622
- data/ext/cargo-vendor/wasmtime-11.0.0/src/externals.rs +0 -763
- data/ext/cargo-vendor/wasmtime-11.0.0/src/func.rs +0 -2355
- data/ext/cargo-vendor/wasmtime-11.0.0/src/instance.rs +0 -905
- data/ext/cargo-vendor/wasmtime-11.0.0/src/lib.rs +0 -486
- data/ext/cargo-vendor/wasmtime-11.0.0/src/memory.rs +0 -950
- data/ext/cargo-vendor/wasmtime-11.0.0/src/module/registry.rs +0 -321
- data/ext/cargo-vendor/wasmtime-11.0.0/src/module.rs +0 -1274
- data/ext/cargo-vendor/wasmtime-11.0.0/src/store/data.rs +0 -275
- data/ext/cargo-vendor/wasmtime-11.0.0/src/store/func_refs.rs +0 -85
- data/ext/cargo-vendor/wasmtime-11.0.0/src/store.rs +0 -2166
- data/ext/cargo-vendor/wasmtime-11.0.0/src/trap.rs +0 -631
- data/ext/cargo-vendor/wasmtime-asm-macros-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-11.0.0/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-11.0.0/Cargo.toml +0 -73
- data/ext/cargo-vendor/wasmtime-component-macro-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-11.0.0/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-macro-11.0.0/src/bindgen.rs +0 -348
- data/ext/cargo-vendor/wasmtime-component-macro-11.0.0/src/component.rs +0 -1354
- data/ext/cargo-vendor/wasmtime-component-util-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-11.0.0/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/Cargo.toml +0 -90
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/builder.rs +0 -108
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/compiler/component.rs +0 -593
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/compiler.rs +0 -1297
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/debug/transform/expression.rs +0 -1250
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/debug/transform/unit.rs +0 -521
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/debug/transform/utils.rs +0 -187
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/func_environ.rs +0 -2218
- data/ext/cargo-vendor/wasmtime-cranelift-11.0.0/src/lib.rs +0 -160
- data/ext/cargo-vendor/wasmtime-cranelift-shared-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-11.0.0/Cargo.toml +0 -57
- data/ext/cargo-vendor/wasmtime-cranelift-shared-11.0.0/src/lib.rs +0 -120
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/Cargo.lock +0 -681
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/examples/factc.rs +0 -209
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/compilation.rs +0 -400
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/compiler.rs +0 -84
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/dfg.rs +0 -629
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/info.rs +0 -530
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/translate/adapt.rs +0 -449
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/translate/inline.rs +0 -1069
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/translate.rs +0 -843
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/types.rs +0 -1827
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component/vmcomponent_offsets.rs +0 -336
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/component.rs +0 -72
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/fact/signature.rs +0 -118
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/fact/trampoline.rs +0 -3173
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/fact.rs +0 -623
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/module_environ.rs +0 -884
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/trap_encoding.rs +0 -238
- data/ext/cargo-vendor/wasmtime-environ-11.0.0/src/tunables.rs +0 -111
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/build.rs +0 -23
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/unix/aarch64.rs +0 -184
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/unix/arm.rs +0 -85
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/unix/riscv64.rs +0 -158
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/unix/s390x.S +0 -120
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/unix/x86_64.rs +0 -160
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/unix.rs +0 -212
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/windows.c +0 -5
- data/ext/cargo-vendor/wasmtime-fiber-11.0.0/src/windows.rs +0 -161
- data/ext/cargo-vendor/wasmtime-jit-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-11.0.0/Cargo.toml +0 -104
- data/ext/cargo-vendor/wasmtime-jit-11.0.0/src/profiling.rs +0 -108
- data/ext/cargo-vendor/wasmtime-jit-debug-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-11.0.0/Cargo.toml +0 -55
- data/ext/cargo-vendor/wasmtime-jit-debug-11.0.0/src/gdb_jit_int.rs +0 -128
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-11.0.0/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/Cargo.toml +0 -110
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/build.rs +0 -17
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/component/transcode.rs +0 -451
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/component.rs +0 -727
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/debug_builtins.rs +0 -58
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/helpers.c +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/instance/allocator.rs +0 -531
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/lib.rs +0 -285
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/libcalls.rs +0 -626
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/mmap/unix.rs +0 -148
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/send_sync_ptr.rs +0 -69
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/trampolines/aarch64.rs +0 -42
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/trampolines/riscv64.rs +0 -43
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/trampolines/s390x.S +0 -58
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/trampolines/x86_64.rs +0 -64
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/traphandlers/unix.rs +0 -387
- data/ext/cargo-vendor/wasmtime-runtime-11.0.0/src/traphandlers.rs +0 -749
- data/ext/cargo-vendor/wasmtime-types-11.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-11.0.1/Cargo.toml +0 -34
- data/ext/cargo-vendor/wasmtime-types-11.0.1/src/lib.rs +0 -462
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/Cargo.toml +0 -153
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/ctx.rs +0 -238
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/filesystem.rs +0 -269
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/mod.rs +0 -44
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/pipe.rs +0 -233
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview1/mod.rs +0 -1860
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/clocks.rs +0 -80
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/env.rs +0 -48
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/exit.rs +0 -12
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/filesystem.rs +0 -1020
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/io.rs +0 -215
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/mod.rs +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/poll.rs +0 -83
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/preview2/random.rs +0 -41
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/sched/subscription.rs +0 -104
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/sched/sync.rs +0 -156
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/sched.rs +0 -110
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/stdio.rs +0 -176
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/stream.rs +0 -210
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/table.rs +0 -107
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/wasi/command.rs +0 -43
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/src/preview2/wasi/mod.rs +0 -30
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/wit/deps/io/streams.wit +0 -215
- data/ext/cargo-vendor/wasmtime-wasi-11.0.0/wit/test.wit +0 -19
- data/ext/cargo-vendor/wasmtime-winch-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-11.0.0/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-winch-11.0.0/src/builder.rs +0 -59
- data/ext/cargo-vendor/wasmtime-winch-11.0.0/src/compiler.rs +0 -220
- data/ext/cargo-vendor/wasmtime-wit-bindgen-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-11.0.0/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wit-bindgen-11.0.0/src/lib.rs +0 -1648
- data/ext/cargo-vendor/wasmtime-wit-bindgen-11.0.0/src/rust.rs +0 -491
- data/ext/cargo-vendor/wasmtime-wit-bindgen-11.0.0/src/types.rs +0 -183
- data/ext/cargo-vendor/wiggle-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-11.0.0/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-generate-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-11.0.0/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-generate-11.0.0/src/config.rs +0 -696
- data/ext/cargo-vendor/wiggle-generate-11.0.0/src/types/flags.rs +0 -94
- data/ext/cargo-vendor/wiggle-macro-11.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-11.0.0/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-11.0.0/LICENSE +0 -220
- data/ext/cargo-vendor/winch-codegen-0.9.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.9.0/Cargo.toml +0 -62
- data/ext/cargo-vendor/winch-codegen-0.9.0/src/codegen/context.rs +0 -328
- data/ext/cargo-vendor/winch-codegen-0.9.0/src/codegen/control.rs +0 -437
- data/ext/cargo-vendor/winch-codegen-0.9.0/src/codegen/env.rs +0 -64
- data/ext/cargo-vendor/winch-codegen-0.9.0/src/codegen/mod.rs +0 -319
- data/ext/cargo-vendor/winch-codegen-0.9.0/src/visitor.rs +0 -630
- data/ext/cargo-vendor/winx-0.35.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winx-0.35.1/Cargo.toml +0 -50
- data/ext/cargo-vendor/winx-0.35.1/LICENSE +0 -220
- data/ext/cargo-vendor/winx-0.35.1/README.md +0 -5
- data/ext/cargo-vendor/winx-0.35.1/src/cvt.rs +0 -24
- data/ext/cargo-vendor/winx-0.35.1/src/file.rs +0 -420
- data/ext/cargo-vendor/winx-0.35.1/src/lib.rs +0 -31
- data/ext/cargo-vendor/winx-0.35.1/src/ntdll.rs +0 -69
- data/ext/cargo-vendor/winx-0.35.1/src/time.rs +0 -11
- data/ext/cargo-vendor/winx-0.35.1/src/winapi_util/file.rs +0 -171
- data/ext/cargo-vendor/winx-0.35.1/src/winapi_util/mod.rs +0 -9
- data/ext/cargo-vendor/wit-parser-0.8.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.8.0/Cargo.toml +0 -62
- data/ext/cargo-vendor/wit-parser-0.8.0/src/abi.rs +0 -2134
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/lex.rs +0 -679
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/resolve.rs +0 -1122
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/toposort.rs +0 -204
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast.rs +0 -1207
- data/ext/cargo-vendor/wit-parser-0.8.0/src/lib.rs +0 -622
- data/ext/cargo-vendor/wit-parser-0.8.0/src/live.rs +0 -111
- data/ext/cargo-vendor/wit-parser-0.8.0/src/resolve.rs +0 -1307
- data/ext/cargo-vendor/wit-parser-0.8.0/src/sizealign.rs +0 -140
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/shared-types.wit +0 -10
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-diamond.wit +0 -22
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-same-fields4.wit +0 -13
- /data/ext/cargo-vendor/{addr2line-0.19.0 → addr2line-0.20.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{addr2line-0.19.0 → addr2line-0.20.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{addr2line-0.19.0 → addr2line-0.20.0}/README.md +0 -0
- /data/ext/cargo-vendor/{addr2line-0.19.0 → addr2line-0.20.0}/bench.plot.r +0 -0
- /data/ext/cargo-vendor/{addr2line-0.19.0 → addr2line-0.20.0}/benchmark.sh +0 -0
- /data/ext/cargo-vendor/{addr2line-0.19.0 → addr2line-0.20.0}/coverage.sh +0 -0
- /data/ext/cargo-vendor/{addr2line-0.19.0 → addr2line-0.20.0}/rustfmt.toml +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/dir_entry_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/dir_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/file_type_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/metadata_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/open_options_follow_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/open_options_maybe_dir_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/open_options_sync_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-fs-ext-1.0.15 → cap-fs-ext-2.0.0}/src/reopen.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/assert_same_file.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/canonicalize.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/copy.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/create_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/dir_builder.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/dir_entry.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/dir_options.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/errors.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/file_path_by_searching.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/file_type.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/follow_symlinks.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/hard_link.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/is_file_read_write.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/manually/canonical_path.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/manually/canonicalize.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/manually/cow_component.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/manually/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/manually/open.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/manually/open_entry.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/manually/read_link_one.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/maybe_owned_file.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/metadata.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/open.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/open_ambient.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/open_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/open_options.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/open_unchecked_error.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/permissions.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/read_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/read_link.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/remove_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/remove_dir_all.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/remove_file.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/remove_open_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/rename.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/reopen.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/set_permissions.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/set_times.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/stat.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/symlink.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/system_time_spec.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/create_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/hard_link.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/open_parent.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/read_link.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/remove_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/remove_file.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/rename.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/set_permissions.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/set_times_nofollow.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/fs/via_parent/symlink.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/net/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/darwin/fs/file_path.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/darwin/fs/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/darwin/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/create_dir_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/cvt.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/dir_entry_inner.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/dir_options_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/dir_utils.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/errors.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/file_path.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/file_type_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/hard_link_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/is_file_read_write_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/is_root_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/is_same_file.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/open_options_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/permissions_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/read_dir_inner.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/read_link_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/remove_dir_all_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/remove_dir_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/remove_file_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/remove_open_dir_by_searching.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/rename_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/set_times_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/fs/symlink_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/canonicalize_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/file_metadata.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/file_path.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/open_entry_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/open_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/set_permissions_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/set_times_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/fs/stat_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/linux/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/rustix/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/time/instant.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/time/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/time/monotonic_clock.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/time/system_clock.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/time/system_time.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/copy.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/create_dir_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/dir_entry_inner.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/dir_options_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/dir_utils.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/errors.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/file_type_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/get_path.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/hard_link_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/is_file_read_write_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/is_same_file.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/oflags.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/open_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/open_options_ext.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/read_dir_inner.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/read_link_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/read_link_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/remove_dir_all_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/remove_dir_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/remove_file_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/remove_open_dir_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/rename_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/reopen_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/set_permissions_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/set_times_impl.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/stat_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/fs/symlink_unchecked.rs +0 -0
- /data/ext/cargo-vendor/{cap-primitives-1.0.15 → cap-primitives-2.0.0}/src/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-rand-1.0.15 → cap-rand-2.0.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{cap-rand-1.0.15 → cap-rand-2.0.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{cap-rand-1.0.15 → cap-rand-2.0.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{cap-rand-1.0.15 → cap-rand-2.0.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{cap-rand-1.0.15 → cap-rand-2.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cap-rand-1.0.15 → cap-rand-2.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs/dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs/dir_entry.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs/read_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs_utf8/dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs_utf8/dir_entry.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs_utf8/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/fs_utf8/read_dir.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/net/incoming.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/net/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/net/pool.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/net/tcp_listener.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/net/tcp_stream.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/os/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/os/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/os/unix/net/incoming.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/os/unix/net/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/os/unix/net/unix_datagram.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/os/unix/net/unix_listener.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/os/unix/net/unix_stream.rs +0 -0
- /data/ext/cargo-vendor/{cap-std-1.0.15 → cap-std-2.0.0}/src/time/mod.rs +0 -0
- /data/ext/cargo-vendor/{cap-time-ext-1.0.15 → cap-time-ext-2.0.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{cap-time-ext-1.0.15 → cap-time-ext-2.0.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{cap-time-ext-1.0.15 → cap-time-ext-2.0.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{cap-time-ext-1.0.15 → cap-time-ext-2.0.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{cap-time-ext-1.0.15 → cap-time-ext-2.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cap-time-ext-1.0.15 → cap-time-ext-2.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.98.1 → cranelift-bforest-0.99.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/dfg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/trapcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/encode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/emit_state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/isle_prelude.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/machinst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/prelude.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/verifier/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.98.1 → cranelift-codegen-0.99.1}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.98.1 → cranelift-codegen-meta-0.99.1}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.98.1 → cranelift-codegen-shared-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.98.1 → cranelift-codegen-shared-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.98.1 → cranelift-codegen-shared-0.99.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.98.1 → cranelift-codegen-shared-0.99.1}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.98.1 → cranelift-codegen-shared-0.99.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.98.1 → cranelift-control-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.98.1 → cranelift-control-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.98.1 → cranelift-control-0.99.1}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.98.1 → cranelift-control-0.99.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.98.1 → cranelift-control-0.99.1}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.98.1 → cranelift-entity-0.99.1}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.98.1 → cranelift-frontend-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.98.1 → cranelift-frontend-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.98.1 → cranelift-frontend-0.99.1}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.98.1 → cranelift-frontend-0.99.1}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.98.1 → cranelift-frontend-0.99.1}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.98.1 → cranelift-frontend-0.99.1}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.98.1 → cranelift-isle-0.99.1}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.98.1 → cranelift-native-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.98.1 → cranelift-native-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.98.1 → cranelift-native-0.99.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.98.1 → cranelift-native-0.99.1}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.98.1 → cranelift-wasm-0.99.1}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/CODE_OF_CONDUCT.md +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/ORG_CODE_OF_CONDUCT.md +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/README.md +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/src/set_times.rs +0 -0
- /data/ext/cargo-vendor/{fs-set-times-0.19.2 → fs-set-times-0.20.0}/src/system_time_spec.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/CODE_OF_CONDUCT.md +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/ORG_CODE_OF_CONDUCT.md +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/borrowed.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/grip.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/os/mod.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/os/rustix.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/os/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/os/windows/traits.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/os/windows/types.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/owned.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{io-extras-0.17.4 → io-extras-0.18.0}/src/read_write.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/archive.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/pod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/archive.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/coff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/elf/compression.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/elf/dynamic.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/elf/relocation.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/macho/fat.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/macho/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/pe/export.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/pe/import.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/pe/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/pe/relocation.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/xcoff/file.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/read/xcoff/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/write/elf/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/src/write/pe.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/integration.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/parse_self.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/read/mod.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/round_trip/bss.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/round_trip/coff.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/round_trip/comdat.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/round_trip/common.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/round_trip/section_flags.rs +0 -0
- /data/ext/cargo-vendor/{object-0.30.4 → object-0.31.1}/tests/round_trip/tls.rs +0 -0
- /data/ext/cargo-vendor/{pulldown-cmark-0.8.0 → pulldown-cmark-0.9.3}/LICENSE +0 -0
- /data/ext/cargo-vendor/{pulldown-cmark-0.8.0 → pulldown-cmark-0.9.3}/src/entities.rs +0 -0
- /data/ext/cargo-vendor/{pulldown-cmark-0.8.0 → pulldown-cmark-0.9.3}/tests/suite/footnotes.rs +0 -0
- /data/ext/cargo-vendor/{pulldown-cmark-0.8.0 → pulldown-cmark-0.9.3}/tests/suite/gfm_tasklist.rs +0 -0
- /data/ext/cargo-vendor/{pulldown-cmark-0.8.0 → pulldown-cmark-0.9.3}/tests/suite/smart_punct.rs +0 -0
- /data/ext/cargo-vendor/{pulldown-cmark-0.8.0 → pulldown-cmark-0.9.3}/tests/suite/table.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/CODE_OF_CONDUCT.md +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/COPYRIGHT +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/ORG_CODE_OF_CONDUCT.md +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/README.md +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/fs/fd_flags.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/fs/mod.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/io/io_ext.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/io/is_read_write.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/io/mod.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/io/peek.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/io/read_ready.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/allocate.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/append.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/fd_flags.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/is_read_write.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/live_rename.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/peek.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/read_ready.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/read_to_end.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/sys_common/io.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/sys_common/mod.rs +0 -0
- /data/ext/cargo-vendor/{system-interface-0.25.9 → system-interface-0.26.0}/tests/vectored_at.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-11.0.0 → wasi-cap-std-sync-12.0.1}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-11.0.0 → wasi-common-12.0.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.29.0 → wasmparser-0.110.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmparser-0.110.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.107.0 → wasmtime-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/engine.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/ref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-12.0.1}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-11.0.0 → wasmtime-asm-macros-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-11.0.0 → wasmtime-cache-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cache-12.0.1}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/unions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-11.0.0 → wasmtime-component-macro-12.0.1}/tests/codegen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-11.0.0 → wasmtime-component-util-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-11.0.0 → wasmtime-cranelift-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-cranelift-12.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-11.0.0 → wasmtime-cranelift-shared-12.0.1}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-11.0.0 → wasmtime-cranelift-shared-12.0.1}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-11.0.0 → wasmtime-cranelift-shared-12.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-11.0.0 → wasmtime-environ-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-environ-12.0.1}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-11.0.0 → wasmtime-fiber-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-11.0.0 → wasmtime-fiber-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-11.0.0 → wasmtime-fiber-12.0.1}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-11.0.0 → wasmtime-jit-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/instantiate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/profiling/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/profiling/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/profiling/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/unwind/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-jit-12.0.1}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-11.0.0 → wasmtime-jit-debug-12.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-11.0.0 → wasmtime-jit-debug-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-11.0.0 → wasmtime-jit-debug-12.0.1}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-11.0.0 → wasmtime-jit-icache-coherence-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-11.0.0 → wasmtime-jit-icache-coherence-12.0.1}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-11.0.0 → wasmtime-jit-icache-coherence-12.0.1}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-11.0.0 → wasmtime-jit-icache-coherence-12.0.1}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-11.0.0 → wasmtime-runtime-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/instance/allocator/pooling/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/instance/allocator/pooling/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/instance/allocator/pooling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/mmap/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/mmap/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/trampolines/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/trampolines.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/traphandlers/backtrace/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/traphandlers/backtrace/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/traphandlers/backtrace/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/traphandlers/backtrace/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/traphandlers/macos.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/traphandlers/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-runtime-12.0.1}/src/vmcontext.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-11.0.0 → wasmtime-types-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-11.0.1 → wasmtime-types-12.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-11.0.1 → wasmtime-wasi-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/src/preview2/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/src/preview2/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/src/preview2/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/src/preview2/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/clocks/timezone.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/filesystem/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/http/incoming-handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/http/outgoing-handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/logging/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/poll/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/preview/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/preview/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/preview/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/preview/reactor.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/wasi-cli-base/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/wasi-cli-base/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/wasi-cli-base/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/deps/wasi-cli-base/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/wit/main.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wasmtime-wasi-12.0.1}/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-11.0.0 → wasmtime-winch-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-11.0.0 → wasmtime-winch-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-11.0.0 → wasmtime-wit-bindgen-12.0.1}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-11.0.0 → wiggle-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-12.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-12.0.1}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-12.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-12.0.1}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-12.0.1}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-12.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-11.0.0 → wiggle-generate-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-generate-12.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-11.0.0 → wiggle-macro-12.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-11.0.0 → wiggle-macro-12.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/abi/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/codegen/call.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/aarch64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/aarch64/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/x64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/x64/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/masm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.9.0 → winch-codegen-0.10.1}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/embedded.wit.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/foreign-deps → wit-parser-0.9.2/tests/ui/foreign-deps-union}/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/foreign-deps → wit-parser-0.9.2/tests/ui/foreign-deps-union}/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/foreign-deps → wit-parser-0.9.2/tests/ui/foreign-deps-union}/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/foreign-deps → wit-parser-0.9.2/tests/ui/foreign-deps-union}/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/foreign-deps → wit-parser-0.9.2/tests/ui/foreign-deps-union}/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/foreign-deps → wit-parser-0.9.2/tests/ui/foreign-deps-union}/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/foreign-deps → wit-parser-0.9.2/tests/ui/foreign-deps-union}/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/empty-union.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/empty-union.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/worlds-same-fields5.wit → wit-parser-0.9.2/tests/ui/parse-fail/import-and-export1.wit} +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0/tests/ui/worlds.wit → wit-parser-0.9.2/tests/ui/parse-fail/import-and-export3.wit} +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-md.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-md.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.8.0 → wit-parser-0.9.2}/tests/ui/worlds-with-types.wit +0 -0
@@ -0,0 +1,3197 @@
|
|
1
|
+
//! Types relating to type information provided by validation.
|
2
|
+
|
3
|
+
use super::{
|
4
|
+
component::{ComponentState, ExternKind},
|
5
|
+
core::Module,
|
6
|
+
};
|
7
|
+
use crate::validator::names::KebabString;
|
8
|
+
use crate::{
|
9
|
+
ArrayType, BinaryReaderError, Export, ExternalKind, FuncType, GlobalType, Import, MemoryType,
|
10
|
+
PrimitiveValType, RefType, Result, StructType, StructuralType, SubType, TableType, TypeRef,
|
11
|
+
ValType,
|
12
|
+
};
|
13
|
+
use indexmap::{IndexMap, IndexSet};
|
14
|
+
use std::collections::HashMap;
|
15
|
+
use std::collections::HashSet;
|
16
|
+
use std::ops::Index;
|
17
|
+
use std::sync::atomic::{AtomicU64, Ordering};
|
18
|
+
use std::{
|
19
|
+
borrow::Borrow,
|
20
|
+
hash::{Hash, Hasher},
|
21
|
+
mem,
|
22
|
+
ops::{Deref, DerefMut},
|
23
|
+
sync::Arc,
|
24
|
+
};
|
25
|
+
|
26
|
+
/// The maximum number of parameters in the canonical ABI that can be passed by value.
|
27
|
+
///
|
28
|
+
/// Functions that exceed this limit will instead pass parameters indirectly from
|
29
|
+
/// linear memory via a single pointer parameter.
|
30
|
+
const MAX_FLAT_FUNC_PARAMS: usize = 16;
|
31
|
+
/// The maximum number of results in the canonical ABI that can be returned by a function.
|
32
|
+
///
|
33
|
+
/// Functions that exceed this limit have their results written to linear memory via an
|
34
|
+
/// additional pointer parameter (imports) or return a single pointer value (exports).
|
35
|
+
const MAX_FLAT_FUNC_RESULTS: usize = 1;
|
36
|
+
|
37
|
+
/// The maximum lowered types, including a possible type for a return pointer parameter.
|
38
|
+
const MAX_LOWERED_TYPES: usize = MAX_FLAT_FUNC_PARAMS + 1;
|
39
|
+
|
40
|
+
/// A simple alloc-free list of types used for calculating lowered function signatures.
|
41
|
+
pub(crate) struct LoweredTypes {
|
42
|
+
types: [ValType; MAX_LOWERED_TYPES],
|
43
|
+
len: usize,
|
44
|
+
max: usize,
|
45
|
+
}
|
46
|
+
|
47
|
+
impl LoweredTypes {
|
48
|
+
fn new(max: usize) -> Self {
|
49
|
+
assert!(max <= MAX_LOWERED_TYPES);
|
50
|
+
Self {
|
51
|
+
types: [ValType::I32; MAX_LOWERED_TYPES],
|
52
|
+
len: 0,
|
53
|
+
max,
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
fn len(&self) -> usize {
|
58
|
+
self.len
|
59
|
+
}
|
60
|
+
|
61
|
+
fn maxed(&self) -> bool {
|
62
|
+
self.len == self.max
|
63
|
+
}
|
64
|
+
|
65
|
+
fn get_mut(&mut self, index: usize) -> Option<&mut ValType> {
|
66
|
+
if index < self.len {
|
67
|
+
Some(&mut self.types[index])
|
68
|
+
} else {
|
69
|
+
None
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
fn push(&mut self, ty: ValType) -> bool {
|
74
|
+
if self.maxed() {
|
75
|
+
return false;
|
76
|
+
}
|
77
|
+
|
78
|
+
self.types[self.len] = ty;
|
79
|
+
self.len += 1;
|
80
|
+
true
|
81
|
+
}
|
82
|
+
|
83
|
+
fn clear(&mut self) {
|
84
|
+
self.len = 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
pub fn as_slice(&self) -> &[ValType] {
|
88
|
+
&self.types[..self.len]
|
89
|
+
}
|
90
|
+
|
91
|
+
pub fn iter(&self) -> impl Iterator<Item = ValType> + '_ {
|
92
|
+
self.as_slice().iter().copied()
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
/// Represents information about a component function type lowering.
|
97
|
+
pub(crate) struct LoweringInfo {
|
98
|
+
pub(crate) params: LoweredTypes,
|
99
|
+
pub(crate) results: LoweredTypes,
|
100
|
+
pub(crate) requires_memory: bool,
|
101
|
+
pub(crate) requires_realloc: bool,
|
102
|
+
}
|
103
|
+
|
104
|
+
impl LoweringInfo {
|
105
|
+
pub(crate) fn into_func_type(self) -> FuncType {
|
106
|
+
FuncType::new(
|
107
|
+
self.params.as_slice().iter().copied(),
|
108
|
+
self.results.as_slice().iter().copied(),
|
109
|
+
)
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
impl Default for LoweringInfo {
|
114
|
+
fn default() -> Self {
|
115
|
+
Self {
|
116
|
+
params: LoweredTypes::new(MAX_FLAT_FUNC_PARAMS),
|
117
|
+
results: LoweredTypes::new(MAX_FLAT_FUNC_RESULTS),
|
118
|
+
requires_memory: false,
|
119
|
+
requires_realloc: false,
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
fn push_primitive_wasm_types(ty: &PrimitiveValType, lowered_types: &mut LoweredTypes) -> bool {
|
125
|
+
match ty {
|
126
|
+
PrimitiveValType::Bool
|
127
|
+
| PrimitiveValType::S8
|
128
|
+
| PrimitiveValType::U8
|
129
|
+
| PrimitiveValType::S16
|
130
|
+
| PrimitiveValType::U16
|
131
|
+
| PrimitiveValType::S32
|
132
|
+
| PrimitiveValType::U32
|
133
|
+
| PrimitiveValType::Char => lowered_types.push(ValType::I32),
|
134
|
+
PrimitiveValType::S64 | PrimitiveValType::U64 => lowered_types.push(ValType::I64),
|
135
|
+
PrimitiveValType::Float32 => lowered_types.push(ValType::F32),
|
136
|
+
PrimitiveValType::Float64 => lowered_types.push(ValType::F64),
|
137
|
+
PrimitiveValType::String => {
|
138
|
+
lowered_types.push(ValType::I32) && lowered_types.push(ValType::I32)
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
/// Represents a unique identifier for a type known to a [`crate::Validator`].
|
144
|
+
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
145
|
+
#[repr(C)] // use fixed field layout to ensure minimal size
|
146
|
+
pub struct TypeId {
|
147
|
+
/// The index into the global list of types.
|
148
|
+
pub(crate) index: usize,
|
149
|
+
/// The effective type size for the type.
|
150
|
+
///
|
151
|
+
/// This is stored as part of the ID to avoid having to recurse through
|
152
|
+
/// the global type list when calculating type sizes.
|
153
|
+
pub(crate) type_size: u32,
|
154
|
+
/// A unique integer assigned to this type.
|
155
|
+
///
|
156
|
+
/// The purpose of this field is to ensure that two different `TypeId`
|
157
|
+
/// representations can be handed out for two different aliased types within
|
158
|
+
/// a component that actually point to the same underlying type (as pointed
|
159
|
+
/// to by the `index` field).
|
160
|
+
unique_id: u32,
|
161
|
+
}
|
162
|
+
|
163
|
+
// The size of `TypeId` was seen to have a large-ish impact in #844, so this
|
164
|
+
// assert ensures that it stays relatively small.
|
165
|
+
const _: () = {
|
166
|
+
assert!(std::mem::size_of::<TypeId>() <= 16);
|
167
|
+
};
|
168
|
+
|
169
|
+
/// A unified type definition for validating WebAssembly modules and components.
|
170
|
+
#[derive(Debug)]
|
171
|
+
pub enum Type {
|
172
|
+
/// The definition is for a sub type.
|
173
|
+
Sub(SubType),
|
174
|
+
/// The definition is for a core module type.
|
175
|
+
///
|
176
|
+
/// This variant is only supported when parsing a component.
|
177
|
+
Module(Box<ModuleType>),
|
178
|
+
/// The definition is for a core module instance type.
|
179
|
+
///
|
180
|
+
/// This variant is only supported when parsing a component.
|
181
|
+
Instance(Box<InstanceType>),
|
182
|
+
/// The definition is for a component type.
|
183
|
+
///
|
184
|
+
/// This variant is only supported when parsing a component.
|
185
|
+
Component(Box<ComponentType>),
|
186
|
+
/// The definition is for a component instance type.
|
187
|
+
///
|
188
|
+
/// This variant is only supported when parsing a component.
|
189
|
+
ComponentInstance(Box<ComponentInstanceType>),
|
190
|
+
/// The definition is for a component function type.
|
191
|
+
///
|
192
|
+
/// This variant is only supported when parsing a component.
|
193
|
+
ComponentFunc(ComponentFuncType),
|
194
|
+
/// The definition is for a component defined type.
|
195
|
+
///
|
196
|
+
/// This variant is only supported when parsing a component.
|
197
|
+
Defined(ComponentDefinedType),
|
198
|
+
/// This definition is for a resource type in the component model.
|
199
|
+
///
|
200
|
+
/// Each resource is identified by a unique identifier specified here.
|
201
|
+
Resource(ResourceId),
|
202
|
+
}
|
203
|
+
|
204
|
+
impl Type {
|
205
|
+
/// Converts the type to a core function type.
|
206
|
+
pub fn unwrap_func(&self) -> &FuncType {
|
207
|
+
match self {
|
208
|
+
Type::Sub(SubType {
|
209
|
+
structural_type: StructuralType::Func(ft),
|
210
|
+
..
|
211
|
+
}) => ft,
|
212
|
+
_ => panic!("not a function type"),
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
/// Converts the type to an array type.
|
217
|
+
pub fn unwrap_array(&self) -> &ArrayType {
|
218
|
+
match self {
|
219
|
+
Self::Sub(SubType {
|
220
|
+
structural_type: StructuralType::Array(ty),
|
221
|
+
..
|
222
|
+
}) => ty,
|
223
|
+
_ => panic!("not an array type"),
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
/// Converts the type to a struct type.
|
228
|
+
pub fn unwrap_struct(&self) -> &StructType {
|
229
|
+
match self {
|
230
|
+
Self::Sub(SubType {
|
231
|
+
structural_type: StructuralType::Struct(ty),
|
232
|
+
..
|
233
|
+
}) => ty,
|
234
|
+
_ => panic!("not a struct type"),
|
235
|
+
}
|
236
|
+
}
|
237
|
+
|
238
|
+
/// Converts the type to a core module type.
|
239
|
+
pub fn unwrap_module(&self) -> &ModuleType {
|
240
|
+
match self {
|
241
|
+
Self::Module(ty) => ty,
|
242
|
+
_ => panic!("not a module type"),
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
/// Converts the type to a core module instance type.
|
247
|
+
pub fn unwrap_instance(&self) -> &InstanceType {
|
248
|
+
match self {
|
249
|
+
Self::Instance(ty) => ty,
|
250
|
+
_ => panic!("not an instance type"),
|
251
|
+
}
|
252
|
+
}
|
253
|
+
|
254
|
+
/// Converts the type to a component type.
|
255
|
+
pub fn unwrap_component(&self) -> &ComponentType {
|
256
|
+
match self {
|
257
|
+
Self::Component(ty) => ty,
|
258
|
+
_ => panic!("not a component type"),
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
/// Converts the type to a component instance type.
|
263
|
+
pub fn unwrap_component_instance(&self) -> &ComponentInstanceType {
|
264
|
+
match self {
|
265
|
+
Self::ComponentInstance(ty) => ty,
|
266
|
+
_ => panic!("not a component instance type"),
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
/// Converts the type to a component function type.
|
271
|
+
pub fn unwrap_component_func(&self) -> &ComponentFuncType {
|
272
|
+
match self {
|
273
|
+
Self::ComponentFunc(ty) => ty,
|
274
|
+
_ => panic!("not a component function type"),
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
/// Converts the type to a component defined type.
|
279
|
+
pub fn unwrap_defined(&self) -> &ComponentDefinedType {
|
280
|
+
match self {
|
281
|
+
Self::Defined(ty) => ty,
|
282
|
+
_ => panic!("not a defined type"),
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
/// Converts this type to a resource type, returning the corresponding id.
|
287
|
+
pub fn unwrap_resource(&self) -> ResourceId {
|
288
|
+
match self {
|
289
|
+
Self::Resource(id) => *id,
|
290
|
+
_ => panic!("not a resource type"),
|
291
|
+
}
|
292
|
+
}
|
293
|
+
|
294
|
+
pub(crate) fn type_size(&self) -> u32 {
|
295
|
+
// TODO(#1036): calculate actual size for func, array, struct
|
296
|
+
match self {
|
297
|
+
Self::Sub(ty) => {
|
298
|
+
1 + match ty.clone().structural_type {
|
299
|
+
StructuralType::Func(ty) => 1 + (ty.params().len() + ty.results().len()) as u32,
|
300
|
+
StructuralType::Array(_) => 2,
|
301
|
+
StructuralType::Struct(ty) => 1 + 2 * ty.fields.len() as u32,
|
302
|
+
}
|
303
|
+
}
|
304
|
+
Self::Module(ty) => ty.type_size,
|
305
|
+
Self::Instance(ty) => ty.type_size,
|
306
|
+
Self::Component(ty) => ty.type_size,
|
307
|
+
Self::ComponentInstance(ty) => ty.type_size,
|
308
|
+
Self::ComponentFunc(ty) => ty.type_size,
|
309
|
+
Self::Defined(ty) => ty.type_size(),
|
310
|
+
Self::Resource(_) => 1,
|
311
|
+
}
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
/// A component value type.
|
316
|
+
#[derive(Debug, Clone, Copy)]
|
317
|
+
pub enum ComponentValType {
|
318
|
+
/// The value type is one of the primitive types.
|
319
|
+
Primitive(PrimitiveValType),
|
320
|
+
/// The type is represented with the given type identifier.
|
321
|
+
Type(TypeId),
|
322
|
+
}
|
323
|
+
|
324
|
+
impl ComponentValType {
|
325
|
+
pub(crate) fn requires_realloc(&self, types: &TypeList) -> bool {
|
326
|
+
match self {
|
327
|
+
ComponentValType::Primitive(ty) => ty.requires_realloc(),
|
328
|
+
ComponentValType::Type(ty) => types[*ty].unwrap_defined().requires_realloc(types),
|
329
|
+
}
|
330
|
+
}
|
331
|
+
|
332
|
+
fn push_wasm_types(&self, types: &TypeList, lowered_types: &mut LoweredTypes) -> bool {
|
333
|
+
match self {
|
334
|
+
Self::Primitive(ty) => push_primitive_wasm_types(ty, lowered_types),
|
335
|
+
Self::Type(id) => types[*id]
|
336
|
+
.unwrap_defined()
|
337
|
+
.push_wasm_types(types, lowered_types),
|
338
|
+
}
|
339
|
+
}
|
340
|
+
|
341
|
+
pub(crate) fn type_size(&self) -> u32 {
|
342
|
+
match self {
|
343
|
+
Self::Primitive(_) => 1,
|
344
|
+
Self::Type(id) => id.type_size,
|
345
|
+
}
|
346
|
+
}
|
347
|
+
}
|
348
|
+
|
349
|
+
/// The entity type for imports and exports of a module.
|
350
|
+
#[derive(Debug, Clone, Copy)]
|
351
|
+
pub enum EntityType {
|
352
|
+
/// The entity is a function.
|
353
|
+
Func(TypeId),
|
354
|
+
/// The entity is a table.
|
355
|
+
Table(TableType),
|
356
|
+
/// The entity is a memory.
|
357
|
+
Memory(MemoryType),
|
358
|
+
/// The entity is a global.
|
359
|
+
Global(GlobalType),
|
360
|
+
/// The entity is a tag.
|
361
|
+
Tag(TypeId),
|
362
|
+
}
|
363
|
+
|
364
|
+
impl EntityType {
|
365
|
+
pub(crate) fn desc(&self) -> &'static str {
|
366
|
+
match self {
|
367
|
+
Self::Func(_) => "func",
|
368
|
+
Self::Table(_) => "table",
|
369
|
+
Self::Memory(_) => "memory",
|
370
|
+
Self::Global(_) => "global",
|
371
|
+
Self::Tag(_) => "tag",
|
372
|
+
}
|
373
|
+
}
|
374
|
+
|
375
|
+
pub(crate) fn type_size(&self) -> u32 {
|
376
|
+
match self {
|
377
|
+
Self::Func(id) | Self::Tag(id) => id.type_size,
|
378
|
+
Self::Table(_) | Self::Memory(_) | Self::Global(_) => 1,
|
379
|
+
}
|
380
|
+
}
|
381
|
+
}
|
382
|
+
|
383
|
+
trait ModuleImportKey {
|
384
|
+
fn module(&self) -> &str;
|
385
|
+
fn name(&self) -> &str;
|
386
|
+
}
|
387
|
+
|
388
|
+
impl<'a> Borrow<dyn ModuleImportKey + 'a> for (String, String) {
|
389
|
+
fn borrow(&self) -> &(dyn ModuleImportKey + 'a) {
|
390
|
+
self
|
391
|
+
}
|
392
|
+
}
|
393
|
+
|
394
|
+
impl Hash for (dyn ModuleImportKey + '_) {
|
395
|
+
fn hash<H: Hasher>(&self, state: &mut H) {
|
396
|
+
self.module().hash(state);
|
397
|
+
self.name().hash(state);
|
398
|
+
}
|
399
|
+
}
|
400
|
+
|
401
|
+
impl PartialEq for (dyn ModuleImportKey + '_) {
|
402
|
+
fn eq(&self, other: &Self) -> bool {
|
403
|
+
self.module() == other.module() && self.name() == other.name()
|
404
|
+
}
|
405
|
+
}
|
406
|
+
|
407
|
+
impl Eq for (dyn ModuleImportKey + '_) {}
|
408
|
+
|
409
|
+
impl ModuleImportKey for (String, String) {
|
410
|
+
fn module(&self) -> &str {
|
411
|
+
&self.0
|
412
|
+
}
|
413
|
+
|
414
|
+
fn name(&self) -> &str {
|
415
|
+
&self.1
|
416
|
+
}
|
417
|
+
}
|
418
|
+
|
419
|
+
impl ModuleImportKey for (&str, &str) {
|
420
|
+
fn module(&self) -> &str {
|
421
|
+
self.0
|
422
|
+
}
|
423
|
+
|
424
|
+
fn name(&self) -> &str {
|
425
|
+
self.1
|
426
|
+
}
|
427
|
+
}
|
428
|
+
|
429
|
+
/// Represents a core module type.
|
430
|
+
#[derive(Debug, Clone)]
|
431
|
+
pub struct ModuleType {
|
432
|
+
/// The effective type size for the module type.
|
433
|
+
pub(crate) type_size: u32,
|
434
|
+
/// The imports of the module type.
|
435
|
+
pub imports: IndexMap<(String, String), EntityType>,
|
436
|
+
/// The exports of the module type.
|
437
|
+
pub exports: IndexMap<String, EntityType>,
|
438
|
+
}
|
439
|
+
|
440
|
+
impl ModuleType {
|
441
|
+
/// Looks up an import by its module and name.
|
442
|
+
///
|
443
|
+
/// Returns `None` if the import was not found.
|
444
|
+
pub fn lookup_import(&self, module: &str, name: &str) -> Option<&EntityType> {
|
445
|
+
self.imports.get(&(module, name) as &dyn ModuleImportKey)
|
446
|
+
}
|
447
|
+
}
|
448
|
+
|
449
|
+
/// Represents the kind of module instance type.
|
450
|
+
#[derive(Debug, Clone)]
|
451
|
+
pub enum InstanceTypeKind {
|
452
|
+
/// The instance type is the result of instantiating a module type.
|
453
|
+
Instantiated(TypeId),
|
454
|
+
/// The instance type is the result of instantiating from exported items.
|
455
|
+
Exports(IndexMap<String, EntityType>),
|
456
|
+
}
|
457
|
+
|
458
|
+
/// Represents a module instance type.
|
459
|
+
#[derive(Debug, Clone)]
|
460
|
+
pub struct InstanceType {
|
461
|
+
/// The effective type size for the module instance type.
|
462
|
+
pub(crate) type_size: u32,
|
463
|
+
/// The kind of module instance type.
|
464
|
+
pub kind: InstanceTypeKind,
|
465
|
+
}
|
466
|
+
|
467
|
+
impl InstanceType {
|
468
|
+
/// Gets the exports of the instance type.
|
469
|
+
pub fn exports<'a>(&'a self, types: TypesRef<'a>) -> &'a IndexMap<String, EntityType> {
|
470
|
+
self.internal_exports(types.list)
|
471
|
+
}
|
472
|
+
|
473
|
+
pub(crate) fn internal_exports<'a>(
|
474
|
+
&'a self,
|
475
|
+
types: &'a TypeList,
|
476
|
+
) -> &'a IndexMap<String, EntityType> {
|
477
|
+
match &self.kind {
|
478
|
+
InstanceTypeKind::Instantiated(id) => &types[*id].unwrap_module().exports,
|
479
|
+
InstanceTypeKind::Exports(exports) => exports,
|
480
|
+
}
|
481
|
+
}
|
482
|
+
}
|
483
|
+
|
484
|
+
/// The entity type for imports and exports of a component.
|
485
|
+
#[derive(Debug, Clone, Copy)]
|
486
|
+
pub enum ComponentEntityType {
|
487
|
+
/// The entity is a core module.
|
488
|
+
Module(TypeId),
|
489
|
+
/// The entity is a function.
|
490
|
+
Func(TypeId),
|
491
|
+
/// The entity is a value.
|
492
|
+
Value(ComponentValType),
|
493
|
+
/// The entity is a type.
|
494
|
+
Type {
|
495
|
+
/// This is the identifier of the type that was referenced when this
|
496
|
+
/// entity was created.
|
497
|
+
referenced: TypeId,
|
498
|
+
/// This is the identifier of the type that was created when this type
|
499
|
+
/// was imported or exported from the component.
|
500
|
+
///
|
501
|
+
/// Note that the underlying type information for the `referenced`
|
502
|
+
/// field and for this `created` field is the same, but these two types
|
503
|
+
/// will hash to different values.
|
504
|
+
created: TypeId,
|
505
|
+
},
|
506
|
+
/// The entity is a component instance.
|
507
|
+
Instance(TypeId),
|
508
|
+
/// The entity is a component.
|
509
|
+
Component(TypeId),
|
510
|
+
}
|
511
|
+
|
512
|
+
impl ComponentEntityType {
|
513
|
+
/// Determines if component entity type `a` is a subtype of `b`.
|
514
|
+
pub fn is_subtype_of(a: &Self, at: TypesRef, b: &Self, bt: TypesRef) -> bool {
|
515
|
+
SubtypeCx::new(at.list, bt.list)
|
516
|
+
.component_entity_type(a, b, 0)
|
517
|
+
.is_ok()
|
518
|
+
}
|
519
|
+
|
520
|
+
pub(crate) fn desc(&self) -> &'static str {
|
521
|
+
match self {
|
522
|
+
Self::Module(_) => "module",
|
523
|
+
Self::Func(_) => "func",
|
524
|
+
Self::Value(_) => "value",
|
525
|
+
Self::Type { .. } => "type",
|
526
|
+
Self::Instance(_) => "instance",
|
527
|
+
Self::Component(_) => "component",
|
528
|
+
}
|
529
|
+
}
|
530
|
+
|
531
|
+
pub(crate) fn type_size(&self) -> u32 {
|
532
|
+
match self {
|
533
|
+
Self::Module(ty)
|
534
|
+
| Self::Func(ty)
|
535
|
+
| Self::Type { referenced: ty, .. }
|
536
|
+
| Self::Instance(ty)
|
537
|
+
| Self::Component(ty) => ty.type_size,
|
538
|
+
Self::Value(ty) => ty.type_size(),
|
539
|
+
}
|
540
|
+
}
|
541
|
+
}
|
542
|
+
|
543
|
+
/// Represents a type of a component.
|
544
|
+
#[derive(Debug, Clone)]
|
545
|
+
pub struct ComponentType {
|
546
|
+
/// The effective type size for the component type.
|
547
|
+
pub(crate) type_size: u32,
|
548
|
+
|
549
|
+
/// The imports of the component type.
|
550
|
+
///
|
551
|
+
/// Each import has its own kebab-name and an optional URL listed. Note that
|
552
|
+
/// the set of import names is disjoint with the set of export names.
|
553
|
+
pub imports: IndexMap<String, ComponentEntityType>,
|
554
|
+
|
555
|
+
/// The exports of the component type.
|
556
|
+
///
|
557
|
+
/// Each export has its own kebab-name and an optional URL listed. Note that
|
558
|
+
/// the set of export names is disjoint with the set of import names.
|
559
|
+
pub exports: IndexMap<String, ComponentEntityType>,
|
560
|
+
|
561
|
+
/// Universally quantified resources required to be provided when
|
562
|
+
/// instantiating this component type.
|
563
|
+
///
|
564
|
+
/// Each resource in this map is explicitly imported somewhere in the
|
565
|
+
/// `imports` map. The "path" to where it's imported is specified by the
|
566
|
+
/// `Vec<usize>` payload here. For more information about the indexes see
|
567
|
+
/// the documentation on `ComponentState::imported_resources`.
|
568
|
+
///
|
569
|
+
/// This should technically be inferrable from the structure of `imports`,
|
570
|
+
/// but it's stored as an auxiliary set for subtype checking and
|
571
|
+
/// instantiation.
|
572
|
+
///
|
573
|
+
/// Note that this is not a set of all resources referred to by the
|
574
|
+
/// `imports`. Instead it's only those created, relative to the internals of
|
575
|
+
/// this component, by the imports.
|
576
|
+
pub imported_resources: Vec<(ResourceId, Vec<usize>)>,
|
577
|
+
|
578
|
+
/// The dual of the `imported_resources`, or the set of defined
|
579
|
+
/// resources -- those created through the instantiation process which are
|
580
|
+
/// unique to this component.
|
581
|
+
///
|
582
|
+
/// This set is similar to the `imported_resources` set but it's those
|
583
|
+
/// contained within the `exports`. Instantiating this component will
|
584
|
+
/// create fresh new versions of all of these resources. The path here is
|
585
|
+
/// within the `exports` array.
|
586
|
+
pub defined_resources: Vec<(ResourceId, Vec<usize>)>,
|
587
|
+
|
588
|
+
/// The set of all resources which are explicitly exported by this
|
589
|
+
/// component, and where they're exported.
|
590
|
+
///
|
591
|
+
/// This mapping is stored separately from `defined_resources` to ensure
|
592
|
+
/// that it contains all exported resources, not just those which are
|
593
|
+
/// defined. That means that this can cover reexports of imported
|
594
|
+
/// resources, exports of local resources, or exports of closed-over
|
595
|
+
/// resources for example.
|
596
|
+
pub explicit_resources: IndexMap<ResourceId, Vec<usize>>,
|
597
|
+
}
|
598
|
+
|
599
|
+
/// Represents a type of a component instance.
|
600
|
+
#[derive(Debug, Clone)]
|
601
|
+
pub struct ComponentInstanceType {
|
602
|
+
/// The effective type size for the instance type.
|
603
|
+
pub(crate) type_size: u32,
|
604
|
+
|
605
|
+
/// The list of exports, keyed by name, that this instance has.
|
606
|
+
///
|
607
|
+
/// An optional URL and type of each export is provided as well.
|
608
|
+
pub exports: IndexMap<String, ComponentEntityType>,
|
609
|
+
|
610
|
+
/// The list of "defined resources" or those which are closed over in
|
611
|
+
/// this instance type.
|
612
|
+
///
|
613
|
+
/// This list is populated, for example, when the type of an instance is
|
614
|
+
/// declared and it contains its own resource type exports defined
|
615
|
+
/// internally. For example:
|
616
|
+
///
|
617
|
+
/// ```wasm
|
618
|
+
/// (component
|
619
|
+
/// (type (instance
|
620
|
+
/// (export "x" (type sub resource)) ;; one `defined_resources` entry
|
621
|
+
/// ))
|
622
|
+
/// )
|
623
|
+
/// ```
|
624
|
+
///
|
625
|
+
/// This list is also a bit of an oddity, however, because the type of a
|
626
|
+
/// concrete instance will always have this as empty. For example:
|
627
|
+
///
|
628
|
+
/// ```wasm
|
629
|
+
/// (component
|
630
|
+
/// (type $t (instance (export "x" (type sub resource))))
|
631
|
+
///
|
632
|
+
/// ;; the type of this instance has no defined resources
|
633
|
+
/// (import "i" (instance (type $t)))
|
634
|
+
/// )
|
635
|
+
/// ```
|
636
|
+
///
|
637
|
+
/// This list ends up only being populated for instance types declared in a
|
638
|
+
/// module which aren't yet "attached" to anything. Once something is
|
639
|
+
/// instantiated, imported, exported, or otherwise refers to a concrete
|
640
|
+
/// instance then this list is always empty. For concrete instances
|
641
|
+
/// defined resources are tracked in the component state or component type.
|
642
|
+
pub defined_resources: Vec<ResourceId>,
|
643
|
+
|
644
|
+
/// The list of all resources that are explicitly exported from this
|
645
|
+
/// instance type along with the path they're exported at.
|
646
|
+
pub explicit_resources: IndexMap<ResourceId, Vec<usize>>,
|
647
|
+
}
|
648
|
+
|
649
|
+
/// Represents a type of a component function.
|
650
|
+
#[derive(Debug, Clone)]
|
651
|
+
pub struct ComponentFuncType {
|
652
|
+
/// The effective type size for the component function type.
|
653
|
+
pub(crate) type_size: u32,
|
654
|
+
/// The function parameters.
|
655
|
+
pub params: Box<[(KebabString, ComponentValType)]>,
|
656
|
+
/// The function's results.
|
657
|
+
pub results: Box<[(Option<KebabString>, ComponentValType)]>,
|
658
|
+
}
|
659
|
+
|
660
|
+
impl ComponentFuncType {
|
661
|
+
/// Lowers the component function type to core parameter and result types for the
|
662
|
+
/// canonical ABI.
|
663
|
+
pub(crate) fn lower(&self, types: &TypeList, import: bool) -> LoweringInfo {
|
664
|
+
let mut info = LoweringInfo::default();
|
665
|
+
|
666
|
+
for (_, ty) in self.params.iter() {
|
667
|
+
// When `import` is false, it means we're lifting a core function,
|
668
|
+
// check if the parameters needs realloc
|
669
|
+
if !import && !info.requires_realloc {
|
670
|
+
info.requires_realloc = ty.requires_realloc(types);
|
671
|
+
}
|
672
|
+
|
673
|
+
if !ty.push_wasm_types(types, &mut info.params) {
|
674
|
+
// Too many parameters to pass directly
|
675
|
+
// Function will have a single pointer parameter to pass the arguments
|
676
|
+
// via linear memory
|
677
|
+
info.params.clear();
|
678
|
+
assert!(info.params.push(ValType::I32));
|
679
|
+
info.requires_memory = true;
|
680
|
+
|
681
|
+
// We need realloc as well when lifting a function
|
682
|
+
if !import {
|
683
|
+
info.requires_realloc = true;
|
684
|
+
}
|
685
|
+
break;
|
686
|
+
}
|
687
|
+
}
|
688
|
+
|
689
|
+
for (_, ty) in self.results.iter() {
|
690
|
+
// When `import` is true, it means we're lowering a component function,
|
691
|
+
// check if the result needs realloc
|
692
|
+
if import && !info.requires_realloc {
|
693
|
+
info.requires_realloc = ty.requires_realloc(types);
|
694
|
+
}
|
695
|
+
|
696
|
+
if !ty.push_wasm_types(types, &mut info.results) {
|
697
|
+
// Too many results to return directly, either a retptr parameter will be used (import)
|
698
|
+
// or a single pointer will be returned (export)
|
699
|
+
info.results.clear();
|
700
|
+
if import {
|
701
|
+
info.params.max = MAX_LOWERED_TYPES;
|
702
|
+
assert!(info.params.push(ValType::I32));
|
703
|
+
} else {
|
704
|
+
assert!(info.results.push(ValType::I32));
|
705
|
+
}
|
706
|
+
info.requires_memory = true;
|
707
|
+
break;
|
708
|
+
}
|
709
|
+
}
|
710
|
+
|
711
|
+
// Memory is always required when realloc is required
|
712
|
+
info.requires_memory |= info.requires_realloc;
|
713
|
+
|
714
|
+
info
|
715
|
+
}
|
716
|
+
}
|
717
|
+
|
718
|
+
/// Represents a variant case.
|
719
|
+
#[derive(Debug, Clone)]
|
720
|
+
pub struct VariantCase {
|
721
|
+
/// The variant case type.
|
722
|
+
pub ty: Option<ComponentValType>,
|
723
|
+
/// The name of the variant case refined by this one.
|
724
|
+
pub refines: Option<KebabString>,
|
725
|
+
}
|
726
|
+
|
727
|
+
/// Represents a record type.
|
728
|
+
#[derive(Debug, Clone)]
|
729
|
+
pub struct RecordType {
|
730
|
+
/// The effective type size for the record type.
|
731
|
+
pub(crate) type_size: u32,
|
732
|
+
/// The map of record fields.
|
733
|
+
pub fields: IndexMap<KebabString, ComponentValType>,
|
734
|
+
}
|
735
|
+
|
736
|
+
/// Represents a variant type.
|
737
|
+
#[derive(Debug, Clone)]
|
738
|
+
pub struct VariantType {
|
739
|
+
/// The effective type size for the variant type.
|
740
|
+
pub(crate) type_size: u32,
|
741
|
+
/// The map of variant cases.
|
742
|
+
pub cases: IndexMap<KebabString, VariantCase>,
|
743
|
+
}
|
744
|
+
|
745
|
+
/// Represents a tuple type.
|
746
|
+
#[derive(Debug, Clone)]
|
747
|
+
pub struct TupleType {
|
748
|
+
/// The effective type size for the tuple type.
|
749
|
+
pub(crate) type_size: u32,
|
750
|
+
/// The types of the tuple.
|
751
|
+
pub types: Box<[ComponentValType]>,
|
752
|
+
}
|
753
|
+
|
754
|
+
/// Represents a union type.
|
755
|
+
#[derive(Debug, Clone)]
|
756
|
+
pub struct UnionType {
|
757
|
+
/// The inclusive type count for the union type.
|
758
|
+
pub(crate) type_size: u32,
|
759
|
+
/// The types of the union.
|
760
|
+
pub types: Box<[ComponentValType]>,
|
761
|
+
}
|
762
|
+
|
763
|
+
/// Represents a component defined type.
|
764
|
+
#[derive(Debug, Clone)]
|
765
|
+
pub enum ComponentDefinedType {
|
766
|
+
/// The type is a primitive value type.
|
767
|
+
Primitive(PrimitiveValType),
|
768
|
+
/// The type is a record.
|
769
|
+
Record(RecordType),
|
770
|
+
/// The type is a variant.
|
771
|
+
Variant(VariantType),
|
772
|
+
/// The type is a list.
|
773
|
+
List(ComponentValType),
|
774
|
+
/// The type is a tuple.
|
775
|
+
Tuple(TupleType),
|
776
|
+
/// The type is a set of flags.
|
777
|
+
Flags(IndexSet<KebabString>),
|
778
|
+
/// The type is an enumeration.
|
779
|
+
Enum(IndexSet<KebabString>),
|
780
|
+
/// The type is a union.
|
781
|
+
Union(UnionType),
|
782
|
+
/// The type is an `option`.
|
783
|
+
Option(ComponentValType),
|
784
|
+
/// The type is a `result`.
|
785
|
+
Result {
|
786
|
+
/// The `ok` type.
|
787
|
+
ok: Option<ComponentValType>,
|
788
|
+
/// The `error` type.
|
789
|
+
err: Option<ComponentValType>,
|
790
|
+
},
|
791
|
+
/// The type is an owned handle to the specified resource.
|
792
|
+
Own(TypeId),
|
793
|
+
/// The type is a borrowed handle to the specified resource.
|
794
|
+
Borrow(TypeId),
|
795
|
+
}
|
796
|
+
|
797
|
+
impl ComponentDefinedType {
|
798
|
+
pub(crate) fn requires_realloc(&self, types: &TypeList) -> bool {
|
799
|
+
match self {
|
800
|
+
Self::Primitive(ty) => ty.requires_realloc(),
|
801
|
+
Self::Record(r) => r.fields.values().any(|ty| ty.requires_realloc(types)),
|
802
|
+
Self::Variant(v) => v.cases.values().any(|case| {
|
803
|
+
case.ty
|
804
|
+
.map(|ty| ty.requires_realloc(types))
|
805
|
+
.unwrap_or(false)
|
806
|
+
}),
|
807
|
+
Self::List(_) => true,
|
808
|
+
Self::Tuple(t) => t.types.iter().any(|ty| ty.requires_realloc(types)),
|
809
|
+
Self::Union(u) => u.types.iter().any(|ty| ty.requires_realloc(types)),
|
810
|
+
Self::Flags(_) | Self::Enum(_) | Self::Own(_) | Self::Borrow(_) => false,
|
811
|
+
Self::Option(ty) => ty.requires_realloc(types),
|
812
|
+
Self::Result { ok, err } => {
|
813
|
+
ok.map(|ty| ty.requires_realloc(types)).unwrap_or(false)
|
814
|
+
|| err.map(|ty| ty.requires_realloc(types)).unwrap_or(false)
|
815
|
+
}
|
816
|
+
}
|
817
|
+
}
|
818
|
+
|
819
|
+
pub(crate) fn type_size(&self) -> u32 {
|
820
|
+
match self {
|
821
|
+
Self::Primitive(_)
|
822
|
+
| Self::Flags(_)
|
823
|
+
| Self::Enum(_)
|
824
|
+
| Self::Own(_)
|
825
|
+
| Self::Borrow(_) => 1,
|
826
|
+
Self::Record(r) => r.type_size,
|
827
|
+
Self::Variant(v) => v.type_size,
|
828
|
+
Self::Tuple(t) => t.type_size,
|
829
|
+
Self::Union(u) => u.type_size,
|
830
|
+
Self::List(ty) | Self::Option(ty) => ty.type_size(),
|
831
|
+
Self::Result { ok, err } => {
|
832
|
+
ok.map(|ty| ty.type_size()).unwrap_or(1) + err.map(|ty| ty.type_size()).unwrap_or(1)
|
833
|
+
}
|
834
|
+
}
|
835
|
+
}
|
836
|
+
|
837
|
+
fn push_wasm_types(&self, types: &TypeList, lowered_types: &mut LoweredTypes) -> bool {
|
838
|
+
match self {
|
839
|
+
Self::Primitive(ty) => push_primitive_wasm_types(ty, lowered_types),
|
840
|
+
Self::Record(r) => r
|
841
|
+
.fields
|
842
|
+
.iter()
|
843
|
+
.all(|(_, ty)| ty.push_wasm_types(types, lowered_types)),
|
844
|
+
Self::Variant(v) => Self::push_variant_wasm_types(
|
845
|
+
v.cases.iter().filter_map(|(_, case)| case.ty.as_ref()),
|
846
|
+
types,
|
847
|
+
lowered_types,
|
848
|
+
),
|
849
|
+
Self::List(_) => lowered_types.push(ValType::I32) && lowered_types.push(ValType::I32),
|
850
|
+
Self::Tuple(t) => t
|
851
|
+
.types
|
852
|
+
.iter()
|
853
|
+
.all(|ty| ty.push_wasm_types(types, lowered_types)),
|
854
|
+
Self::Flags(names) => {
|
855
|
+
(0..(names.len() + 31) / 32).all(|_| lowered_types.push(ValType::I32))
|
856
|
+
}
|
857
|
+
Self::Enum(_) | Self::Own(_) | Self::Borrow(_) => lowered_types.push(ValType::I32),
|
858
|
+
Self::Union(u) => Self::push_variant_wasm_types(u.types.iter(), types, lowered_types),
|
859
|
+
Self::Option(ty) => {
|
860
|
+
Self::push_variant_wasm_types([ty].into_iter(), types, lowered_types)
|
861
|
+
}
|
862
|
+
Self::Result { ok, err } => {
|
863
|
+
Self::push_variant_wasm_types(ok.iter().chain(err.iter()), types, lowered_types)
|
864
|
+
}
|
865
|
+
}
|
866
|
+
}
|
867
|
+
|
868
|
+
fn push_variant_wasm_types<'a>(
|
869
|
+
cases: impl Iterator<Item = &'a ComponentValType>,
|
870
|
+
types: &TypeList,
|
871
|
+
lowered_types: &mut LoweredTypes,
|
872
|
+
) -> bool {
|
873
|
+
// Push the discriminant
|
874
|
+
if !lowered_types.push(ValType::I32) {
|
875
|
+
return false;
|
876
|
+
}
|
877
|
+
|
878
|
+
let start = lowered_types.len();
|
879
|
+
|
880
|
+
for ty in cases {
|
881
|
+
let mut temp = LoweredTypes::new(lowered_types.max);
|
882
|
+
|
883
|
+
if !ty.push_wasm_types(types, &mut temp) {
|
884
|
+
return false;
|
885
|
+
}
|
886
|
+
|
887
|
+
for (i, ty) in temp.iter().enumerate() {
|
888
|
+
match lowered_types.get_mut(start + i) {
|
889
|
+
Some(prev) => *prev = Self::join_types(*prev, ty),
|
890
|
+
None => {
|
891
|
+
if !lowered_types.push(ty) {
|
892
|
+
return false;
|
893
|
+
}
|
894
|
+
}
|
895
|
+
}
|
896
|
+
}
|
897
|
+
}
|
898
|
+
|
899
|
+
true
|
900
|
+
}
|
901
|
+
|
902
|
+
fn join_types(a: ValType, b: ValType) -> ValType {
|
903
|
+
use ValType::*;
|
904
|
+
|
905
|
+
match (a, b) {
|
906
|
+
(I32, I32) | (I64, I64) | (F32, F32) | (F64, F64) => a,
|
907
|
+
(I32, F32) | (F32, I32) => I32,
|
908
|
+
(_, I64 | F64) | (I64 | F64, _) => I64,
|
909
|
+
_ => panic!("unexpected wasm type for canonical ABI"),
|
910
|
+
}
|
911
|
+
}
|
912
|
+
|
913
|
+
fn desc(&self) -> &'static str {
|
914
|
+
match self {
|
915
|
+
ComponentDefinedType::Record(_) => "record",
|
916
|
+
ComponentDefinedType::Primitive(_) => "primitive",
|
917
|
+
ComponentDefinedType::Variant(_) => "variant",
|
918
|
+
ComponentDefinedType::Tuple(_) => "tuple",
|
919
|
+
ComponentDefinedType::Enum(_) => "enum",
|
920
|
+
ComponentDefinedType::Flags(_) => "flags",
|
921
|
+
ComponentDefinedType::Option(_) => "option",
|
922
|
+
ComponentDefinedType::List(_) => "list",
|
923
|
+
ComponentDefinedType::Union(_) => "union",
|
924
|
+
ComponentDefinedType::Result { .. } => "result",
|
925
|
+
ComponentDefinedType::Own(_) => "own",
|
926
|
+
ComponentDefinedType::Borrow(_) => "borrow",
|
927
|
+
}
|
928
|
+
}
|
929
|
+
}
|
930
|
+
|
931
|
+
/// An opaque identifier intended to be used to distinguish whether two
|
932
|
+
/// resource types are equivalent or not.
|
933
|
+
#[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd, Copy)]
|
934
|
+
#[repr(packed(4))] // try to not waste 4 bytes in padding
|
935
|
+
pub struct ResourceId {
|
936
|
+
// This is a globally unique identifier which is assigned once per
|
937
|
+
// `TypeAlloc`. This ensures that resource identifiers from different
|
938
|
+
// instances of `Types`, for example, are considered unique.
|
939
|
+
//
|
940
|
+
// Technically 64-bits should be enough for all resource ids ever, but
|
941
|
+
// they're allocated so often it's predicted that an atomic increment
|
942
|
+
// per resource id is probably too expensive. To amortize that cost each
|
943
|
+
// top-level wasm component gets a single globally unique identifier, and
|
944
|
+
// then within a component contextually unique identifiers are handed out.
|
945
|
+
globally_unique_id: u64,
|
946
|
+
|
947
|
+
// A contextually unique id within the globally unique id above. This is
|
948
|
+
// allocated within a `TypeAlloc` with its own counter, and allocations of
|
949
|
+
// this are cheap as nothing atomic is required.
|
950
|
+
//
|
951
|
+
// The 32-bit storage here should ideally be enough for any component
|
952
|
+
// containing resources. If memory usage becomes an issue (this struct is
|
953
|
+
// 12 bytes instead of 8 or 4) then this coudl get folded into the globally
|
954
|
+
// unique id with everything using an atomic increment perhaps.
|
955
|
+
contextually_unique_id: u32,
|
956
|
+
}
|
957
|
+
|
958
|
+
#[allow(clippy::large_enum_variant)]
|
959
|
+
enum TypesKind {
|
960
|
+
Module(Arc<Module>),
|
961
|
+
Component(ComponentState),
|
962
|
+
}
|
963
|
+
|
964
|
+
/// Represents the types known to a [`crate::Validator`] once validation has completed.
|
965
|
+
///
|
966
|
+
/// The type information is returned via the [`crate::Validator::end`] method.
|
967
|
+
pub struct Types {
|
968
|
+
list: TypeList,
|
969
|
+
kind: TypesKind,
|
970
|
+
}
|
971
|
+
|
972
|
+
#[derive(Clone, Copy)]
|
973
|
+
enum TypesRefKind<'a> {
|
974
|
+
Module(&'a Module),
|
975
|
+
Component(&'a ComponentState),
|
976
|
+
}
|
977
|
+
|
978
|
+
/// Represents the types known to a [`crate::Validator`] during validation.
|
979
|
+
///
|
980
|
+
/// Retrieved via the [`crate::Validator::types`] method.
|
981
|
+
#[derive(Clone, Copy)]
|
982
|
+
pub struct TypesRef<'a> {
|
983
|
+
list: &'a TypeList,
|
984
|
+
kind: TypesRefKind<'a>,
|
985
|
+
}
|
986
|
+
|
987
|
+
impl<'a> TypesRef<'a> {
|
988
|
+
pub(crate) fn from_module(types: &'a TypeList, module: &'a Module) -> Self {
|
989
|
+
Self {
|
990
|
+
list: types,
|
991
|
+
kind: TypesRefKind::Module(module),
|
992
|
+
}
|
993
|
+
}
|
994
|
+
|
995
|
+
pub(crate) fn from_component(types: &'a TypeList, component: &'a ComponentState) -> Self {
|
996
|
+
Self {
|
997
|
+
list: types,
|
998
|
+
kind: TypesRefKind::Component(component),
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
|
1002
|
+
/// Gets a type based on its type id.
|
1003
|
+
///
|
1004
|
+
/// Returns `None` if the type id is unknown.
|
1005
|
+
pub fn get(&self, id: TypeId) -> Option<&'a Type> {
|
1006
|
+
self.list.get(id.index)
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
/// Gets a core WebAssembly type id from a type index.
|
1010
|
+
///
|
1011
|
+
/// Note that this is in contrast to [`TypesRef::component_type_at`] which
|
1012
|
+
/// gets a component type from its index.
|
1013
|
+
///
|
1014
|
+
/// # Panics
|
1015
|
+
///
|
1016
|
+
/// This will panic if the `index` provided is out of bounds.
|
1017
|
+
pub fn core_type_at(&self, index: u32) -> TypeId {
|
1018
|
+
match &self.kind {
|
1019
|
+
TypesRefKind::Module(module) => module.types[index as usize],
|
1020
|
+
TypesRefKind::Component(component) => component.core_types[index as usize],
|
1021
|
+
}
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
/// Gets a type id from a type index.
|
1025
|
+
///
|
1026
|
+
/// # Panics
|
1027
|
+
///
|
1028
|
+
/// Panics if `index` is not a valid function index or if this type
|
1029
|
+
/// information represents a core module.
|
1030
|
+
pub fn component_type_at(&self, index: u32) -> TypeId {
|
1031
|
+
match &self.kind {
|
1032
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1033
|
+
TypesRefKind::Component(component) => component.types[index as usize],
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
|
1037
|
+
/// Returns the number of core types defined so far.
|
1038
|
+
pub fn core_type_count(&self) -> u32 {
|
1039
|
+
match &self.kind {
|
1040
|
+
TypesRefKind::Module(module) => module.types.len() as u32,
|
1041
|
+
TypesRefKind::Component(component) => component.core_types.len() as u32,
|
1042
|
+
}
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
/// Returns the number of component types defined so far.
|
1046
|
+
pub fn component_type_count(&self) -> u32 {
|
1047
|
+
match &self.kind {
|
1048
|
+
TypesRefKind::Module(_module) => 0,
|
1049
|
+
TypesRefKind::Component(component) => component.types.len() as u32,
|
1050
|
+
}
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
/// Gets the type of a table at the given table index.
|
1054
|
+
///
|
1055
|
+
/// # Panics
|
1056
|
+
///
|
1057
|
+
/// This will panic if the `index` provided is out of bounds.
|
1058
|
+
pub fn table_at(&self, index: u32) -> TableType {
|
1059
|
+
let tables = match &self.kind {
|
1060
|
+
TypesRefKind::Module(module) => &module.tables,
|
1061
|
+
TypesRefKind::Component(component) => &component.core_tables,
|
1062
|
+
};
|
1063
|
+
tables[index as usize]
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
/// Returns the number of tables defined so far.
|
1067
|
+
pub fn table_count(&self) -> u32 {
|
1068
|
+
match &self.kind {
|
1069
|
+
TypesRefKind::Module(module) => module.tables.len() as u32,
|
1070
|
+
TypesRefKind::Component(component) => component.core_tables.len() as u32,
|
1071
|
+
}
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
/// Gets the type of a memory at the given memory index.
|
1075
|
+
///
|
1076
|
+
/// # Panics
|
1077
|
+
///
|
1078
|
+
/// This will panic if the `index` provided is out of bounds.
|
1079
|
+
pub fn memory_at(&self, index: u32) -> MemoryType {
|
1080
|
+
let memories = match &self.kind {
|
1081
|
+
TypesRefKind::Module(module) => &module.memories,
|
1082
|
+
TypesRefKind::Component(component) => &component.core_memories,
|
1083
|
+
};
|
1084
|
+
|
1085
|
+
memories[index as usize]
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
/// Returns the number of memories defined so far.
|
1089
|
+
pub fn memory_count(&self) -> u32 {
|
1090
|
+
match &self.kind {
|
1091
|
+
TypesRefKind::Module(module) => module.memories.len() as u32,
|
1092
|
+
TypesRefKind::Component(component) => component.core_memories.len() as u32,
|
1093
|
+
}
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
/// Gets the type of a global at the given global index.
|
1097
|
+
///
|
1098
|
+
/// # Panics
|
1099
|
+
///
|
1100
|
+
/// This will panic if the `index` provided is out of bounds.
|
1101
|
+
pub fn global_at(&self, index: u32) -> GlobalType {
|
1102
|
+
let globals = match &self.kind {
|
1103
|
+
TypesRefKind::Module(module) => &module.globals,
|
1104
|
+
TypesRefKind::Component(component) => &component.core_globals,
|
1105
|
+
};
|
1106
|
+
|
1107
|
+
globals[index as usize]
|
1108
|
+
}
|
1109
|
+
|
1110
|
+
/// Returns the number of globals defined so far.
|
1111
|
+
pub fn global_count(&self) -> u32 {
|
1112
|
+
match &self.kind {
|
1113
|
+
TypesRefKind::Module(module) => module.globals.len() as u32,
|
1114
|
+
TypesRefKind::Component(component) => component.core_globals.len() as u32,
|
1115
|
+
}
|
1116
|
+
}
|
1117
|
+
|
1118
|
+
/// Gets the type of a tag at the given tag index.
|
1119
|
+
///
|
1120
|
+
/// # Panics
|
1121
|
+
///
|
1122
|
+
/// This will panic if the `index` provided is out of bounds.
|
1123
|
+
pub fn tag_at(&self, index: u32) -> TypeId {
|
1124
|
+
let tags = match &self.kind {
|
1125
|
+
TypesRefKind::Module(module) => &module.tags,
|
1126
|
+
TypesRefKind::Component(component) => &component.core_tags,
|
1127
|
+
};
|
1128
|
+
tags[index as usize]
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
/// Returns the number of tags defined so far.
|
1132
|
+
pub fn tag_count(&self) -> u32 {
|
1133
|
+
match &self.kind {
|
1134
|
+
TypesRefKind::Module(module) => module.tags.len() as u32,
|
1135
|
+
TypesRefKind::Component(component) => component.core_tags.len() as u32,
|
1136
|
+
}
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
/// Gets the type of a core function at the given function index.
|
1140
|
+
///
|
1141
|
+
/// # Panics
|
1142
|
+
///
|
1143
|
+
/// This will panic if the `index` provided is out of bounds.
|
1144
|
+
pub fn function_at(&self, index: u32) -> TypeId {
|
1145
|
+
match &self.kind {
|
1146
|
+
TypesRefKind::Module(module) => module.types[module.functions[index as usize] as usize],
|
1147
|
+
TypesRefKind::Component(component) => component.core_funcs[index as usize],
|
1148
|
+
}
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
/// Gets the count of core functions defined so far.
|
1152
|
+
///
|
1153
|
+
/// Note that this includes imported functions, defined functions, and for
|
1154
|
+
/// components lowered/aliased functions.
|
1155
|
+
pub fn function_count(&self) -> u32 {
|
1156
|
+
match &self.kind {
|
1157
|
+
TypesRefKind::Module(module) => module.functions.len() as u32,
|
1158
|
+
TypesRefKind::Component(component) => component.core_funcs.len() as u32,
|
1159
|
+
}
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
/// Gets the type of an element segment at the given element segment index.
|
1163
|
+
///
|
1164
|
+
/// # Panics
|
1165
|
+
///
|
1166
|
+
/// This will panic if the `index` provided is out of bounds.
|
1167
|
+
pub fn element_at(&self, index: u32) -> RefType {
|
1168
|
+
match &self.kind {
|
1169
|
+
TypesRefKind::Module(module) => module.element_types[index as usize],
|
1170
|
+
TypesRefKind::Component(_) => {
|
1171
|
+
panic!("no elements on a component")
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
}
|
1175
|
+
|
1176
|
+
/// Returns the number of elements defined so far.
|
1177
|
+
pub fn element_count(&self) -> u32 {
|
1178
|
+
match &self.kind {
|
1179
|
+
TypesRefKind::Module(module) => module.element_types.len() as u32,
|
1180
|
+
TypesRefKind::Component(_) => 0,
|
1181
|
+
}
|
1182
|
+
}
|
1183
|
+
|
1184
|
+
/// Gets the type of a component function at the given function index.
|
1185
|
+
///
|
1186
|
+
/// # Panics
|
1187
|
+
///
|
1188
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1189
|
+
/// information represents a core module.
|
1190
|
+
pub fn component_function_at(&self, index: u32) -> TypeId {
|
1191
|
+
match &self.kind {
|
1192
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1193
|
+
TypesRefKind::Component(component) => component.funcs[index as usize],
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
|
1197
|
+
/// Returns the number of component functions defined so far.
|
1198
|
+
pub fn component_function_count(&self) -> u32 {
|
1199
|
+
match &self.kind {
|
1200
|
+
TypesRefKind::Module(_module) => 0,
|
1201
|
+
TypesRefKind::Component(component) => component.funcs.len() as u32,
|
1202
|
+
}
|
1203
|
+
}
|
1204
|
+
|
1205
|
+
/// Gets the type of a module at the given module index.
|
1206
|
+
///
|
1207
|
+
/// # Panics
|
1208
|
+
///
|
1209
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1210
|
+
/// information represents a core module.
|
1211
|
+
pub fn module_at(&self, index: u32) -> TypeId {
|
1212
|
+
match &self.kind {
|
1213
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1214
|
+
TypesRefKind::Component(component) => component.core_modules[index as usize],
|
1215
|
+
}
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
/// Returns the number of core wasm modules defined so far.
|
1219
|
+
pub fn module_count(&self) -> u32 {
|
1220
|
+
match &self.kind {
|
1221
|
+
TypesRefKind::Module(_module) => 0,
|
1222
|
+
TypesRefKind::Component(component) => component.core_modules.len() as u32,
|
1223
|
+
}
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
/// Gets the type of a module instance at the given module instance index.
|
1227
|
+
///
|
1228
|
+
/// # Panics
|
1229
|
+
///
|
1230
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1231
|
+
/// information represents a core module.
|
1232
|
+
pub fn instance_at(&self, index: u32) -> TypeId {
|
1233
|
+
match &self.kind {
|
1234
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1235
|
+
TypesRefKind::Component(component) => component.core_instances[index as usize],
|
1236
|
+
}
|
1237
|
+
}
|
1238
|
+
|
1239
|
+
/// Returns the number of core wasm instances defined so far.
|
1240
|
+
pub fn instance_count(&self) -> u32 {
|
1241
|
+
match &self.kind {
|
1242
|
+
TypesRefKind::Module(_module) => 0,
|
1243
|
+
TypesRefKind::Component(component) => component.core_instances.len() as u32,
|
1244
|
+
}
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
/// Gets the type of a component at the given component index.
|
1248
|
+
///
|
1249
|
+
/// # Panics
|
1250
|
+
///
|
1251
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1252
|
+
/// information represents a core module.
|
1253
|
+
pub fn component_at(&self, index: u32) -> TypeId {
|
1254
|
+
match &self.kind {
|
1255
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1256
|
+
TypesRefKind::Component(component) => component.components[index as usize],
|
1257
|
+
}
|
1258
|
+
}
|
1259
|
+
|
1260
|
+
/// Returns the number of components defined so far.
|
1261
|
+
pub fn component_count(&self) -> u32 {
|
1262
|
+
match &self.kind {
|
1263
|
+
TypesRefKind::Module(_module) => 0,
|
1264
|
+
TypesRefKind::Component(component) => component.components.len() as u32,
|
1265
|
+
}
|
1266
|
+
}
|
1267
|
+
|
1268
|
+
/// Gets the type of an component instance at the given component instance index.
|
1269
|
+
///
|
1270
|
+
/// # Panics
|
1271
|
+
///
|
1272
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1273
|
+
/// information represents a core module.
|
1274
|
+
pub fn component_instance_at(&self, index: u32) -> TypeId {
|
1275
|
+
match &self.kind {
|
1276
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1277
|
+
TypesRefKind::Component(component) => component.instances[index as usize],
|
1278
|
+
}
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
/// Returns the number of component instances defined so far.
|
1282
|
+
pub fn component_instance_count(&self) -> u32 {
|
1283
|
+
match &self.kind {
|
1284
|
+
TypesRefKind::Module(_module) => 0,
|
1285
|
+
TypesRefKind::Component(component) => component.instances.len() as u32,
|
1286
|
+
}
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
/// Gets the type of a value at the given value index.
|
1290
|
+
///
|
1291
|
+
/// # Panics
|
1292
|
+
///
|
1293
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1294
|
+
/// information represents a core module.
|
1295
|
+
pub fn value_at(&self, index: u32) -> ComponentValType {
|
1296
|
+
match &self.kind {
|
1297
|
+
TypesRefKind::Module(_) => panic!("not a component"),
|
1298
|
+
TypesRefKind::Component(component) => component.values[index as usize].0,
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
/// Gets the entity type for the given import.
|
1303
|
+
pub fn entity_type_from_import(&self, import: &Import) -> Option<EntityType> {
|
1304
|
+
match &self.kind {
|
1305
|
+
TypesRefKind::Module(module) => Some(match import.ty {
|
1306
|
+
TypeRef::Func(idx) => EntityType::Func(*module.types.get(idx as usize)?),
|
1307
|
+
TypeRef::Table(ty) => EntityType::Table(ty),
|
1308
|
+
TypeRef::Memory(ty) => EntityType::Memory(ty),
|
1309
|
+
TypeRef::Global(ty) => EntityType::Global(ty),
|
1310
|
+
TypeRef::Tag(ty) => EntityType::Tag(*module.types.get(ty.func_type_idx as usize)?),
|
1311
|
+
}),
|
1312
|
+
TypesRefKind::Component(_) => None,
|
1313
|
+
}
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
/// Gets the entity type from the given export.
|
1317
|
+
pub fn entity_type_from_export(&self, export: &Export) -> Option<EntityType> {
|
1318
|
+
match &self.kind {
|
1319
|
+
TypesRefKind::Module(module) => Some(match export.kind {
|
1320
|
+
ExternalKind::Func => EntityType::Func(
|
1321
|
+
module.types[*module.functions.get(export.index as usize)? as usize],
|
1322
|
+
),
|
1323
|
+
ExternalKind::Table => {
|
1324
|
+
EntityType::Table(*module.tables.get(export.index as usize)?)
|
1325
|
+
}
|
1326
|
+
ExternalKind::Memory => {
|
1327
|
+
EntityType::Memory(*module.memories.get(export.index as usize)?)
|
1328
|
+
}
|
1329
|
+
ExternalKind::Global => {
|
1330
|
+
EntityType::Global(*module.globals.get(export.index as usize)?)
|
1331
|
+
}
|
1332
|
+
ExternalKind::Tag => EntityType::Tag(
|
1333
|
+
module.types[*module.functions.get(export.index as usize)? as usize],
|
1334
|
+
),
|
1335
|
+
}),
|
1336
|
+
TypesRefKind::Component(_) => None,
|
1337
|
+
}
|
1338
|
+
}
|
1339
|
+
|
1340
|
+
/// Gets the component entity type for the given component import.
|
1341
|
+
pub fn component_entity_type_of_import(&self, name: &str) -> Option<ComponentEntityType> {
|
1342
|
+
match &self.kind {
|
1343
|
+
TypesRefKind::Module(_) => None,
|
1344
|
+
TypesRefKind::Component(component) => Some(*component.imports.get(name)?),
|
1345
|
+
}
|
1346
|
+
}
|
1347
|
+
|
1348
|
+
/// Gets the component entity type for the given component export.
|
1349
|
+
pub fn component_entity_type_of_export(&self, name: &str) -> Option<ComponentEntityType> {
|
1350
|
+
match &self.kind {
|
1351
|
+
TypesRefKind::Module(_) => None,
|
1352
|
+
TypesRefKind::Component(component) => Some(*component.exports.get(name)?),
|
1353
|
+
}
|
1354
|
+
}
|
1355
|
+
}
|
1356
|
+
|
1357
|
+
impl Index<TypeId> for TypesRef<'_> {
|
1358
|
+
type Output = Type;
|
1359
|
+
fn index(&self, id: TypeId) -> &Type {
|
1360
|
+
&self.list[id.index]
|
1361
|
+
}
|
1362
|
+
}
|
1363
|
+
|
1364
|
+
impl Types {
|
1365
|
+
pub(crate) fn from_module(types: TypeList, module: Arc<Module>) -> Self {
|
1366
|
+
Self {
|
1367
|
+
list: types,
|
1368
|
+
kind: TypesKind::Module(module),
|
1369
|
+
}
|
1370
|
+
}
|
1371
|
+
|
1372
|
+
pub(crate) fn from_component(types: TypeList, component: ComponentState) -> Self {
|
1373
|
+
Self {
|
1374
|
+
list: types,
|
1375
|
+
kind: TypesKind::Component(component),
|
1376
|
+
}
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
/// Gets a reference to this validation type information.
|
1380
|
+
pub fn as_ref(&self) -> TypesRef {
|
1381
|
+
TypesRef {
|
1382
|
+
list: &self.list,
|
1383
|
+
kind: match &self.kind {
|
1384
|
+
TypesKind::Module(module) => TypesRefKind::Module(module),
|
1385
|
+
TypesKind::Component(component) => TypesRefKind::Component(component),
|
1386
|
+
},
|
1387
|
+
}
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
/// Gets a type based on its type id.
|
1391
|
+
///
|
1392
|
+
/// Returns `None` if the type id is unknown.
|
1393
|
+
pub fn get(&self, id: TypeId) -> Option<&Type> {
|
1394
|
+
self.as_ref().get(id)
|
1395
|
+
}
|
1396
|
+
|
1397
|
+
/// Gets a core WebAssembly type at the given type index.
|
1398
|
+
///
|
1399
|
+
/// Note that this is in contrast to [`TypesRef::component_type_at`] which
|
1400
|
+
/// gets a component type from its index.
|
1401
|
+
///
|
1402
|
+
/// # Panics
|
1403
|
+
///
|
1404
|
+
/// Panics if `index` is not a valid function index.
|
1405
|
+
pub fn core_type_at(&self, index: u32) -> TypeId {
|
1406
|
+
self.as_ref().core_type_at(index)
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
/// Gets a component type from the given component type index.
|
1410
|
+
///
|
1411
|
+
/// # Panics
|
1412
|
+
///
|
1413
|
+
/// Panics if `index` is not a valid function index or if this type
|
1414
|
+
/// information represents a core module.
|
1415
|
+
pub fn component_type_at(&self, index: u32) -> TypeId {
|
1416
|
+
self.as_ref().component_type_at(index)
|
1417
|
+
}
|
1418
|
+
|
1419
|
+
/// Gets the count of core types.
|
1420
|
+
pub fn type_count(&self) -> usize {
|
1421
|
+
match &self.kind {
|
1422
|
+
TypesKind::Module(module) => module.types.len(),
|
1423
|
+
TypesKind::Component(component) => component.core_types.len(),
|
1424
|
+
}
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
/// Gets the type of a table at the given table index.
|
1428
|
+
///
|
1429
|
+
/// # Panics
|
1430
|
+
///
|
1431
|
+
/// Panics if `index` is not a valid function index.
|
1432
|
+
pub fn table_at(&self, index: u32) -> TableType {
|
1433
|
+
self.as_ref().table_at(index)
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
/// Gets the count of imported and defined tables.
|
1437
|
+
pub fn table_count(&self) -> usize {
|
1438
|
+
match &self.kind {
|
1439
|
+
TypesKind::Module(module) => module.tables.len(),
|
1440
|
+
TypesKind::Component(component) => component.core_tables.len(),
|
1441
|
+
}
|
1442
|
+
}
|
1443
|
+
|
1444
|
+
/// Gets the type of a memory at the given memory index.
|
1445
|
+
///
|
1446
|
+
/// # Panics
|
1447
|
+
///
|
1448
|
+
/// Panics if `index` is not a valid function index.
|
1449
|
+
pub fn memory_at(&self, index: u32) -> MemoryType {
|
1450
|
+
self.as_ref().memory_at(index)
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
/// Gets the count of imported and defined memories.
|
1454
|
+
pub fn memory_count(&self) -> u32 {
|
1455
|
+
self.as_ref().memory_count()
|
1456
|
+
}
|
1457
|
+
|
1458
|
+
/// Gets the type of a global at the given global index.
|
1459
|
+
///
|
1460
|
+
/// # Panics
|
1461
|
+
///
|
1462
|
+
/// Panics if `index` is not a valid function index.
|
1463
|
+
pub fn global_at(&self, index: u32) -> GlobalType {
|
1464
|
+
self.as_ref().global_at(index)
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
/// Gets the count of imported and defined globals.
|
1468
|
+
pub fn global_count(&self) -> u32 {
|
1469
|
+
self.as_ref().global_count()
|
1470
|
+
}
|
1471
|
+
|
1472
|
+
/// Gets the type of a tag at the given tag index.
|
1473
|
+
///
|
1474
|
+
/// # Panics
|
1475
|
+
///
|
1476
|
+
/// Panics if `index` is not a valid function index.
|
1477
|
+
pub fn tag_at(&self, index: u32) -> TypeId {
|
1478
|
+
self.as_ref().tag_at(index)
|
1479
|
+
}
|
1480
|
+
|
1481
|
+
/// Gets the count of imported and defined tags.
|
1482
|
+
pub fn tag_count(&self) -> u32 {
|
1483
|
+
self.as_ref().tag_count()
|
1484
|
+
}
|
1485
|
+
|
1486
|
+
/// Gets the type of a core function at the given function index.
|
1487
|
+
///
|
1488
|
+
/// # Panics
|
1489
|
+
///
|
1490
|
+
/// Panics if `index` is not a valid function index.
|
1491
|
+
pub fn function_at(&self, index: u32) -> TypeId {
|
1492
|
+
self.as_ref().function_at(index)
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
/// Gets the count of core functions defined so far.
|
1496
|
+
///
|
1497
|
+
/// Note that this includes imported functions, defined functions, and for
|
1498
|
+
/// components lowered/aliased functions.
|
1499
|
+
pub fn function_count(&self) -> u32 {
|
1500
|
+
self.as_ref().function_count()
|
1501
|
+
}
|
1502
|
+
|
1503
|
+
/// Gets the type of an element segment at the given element segment index.
|
1504
|
+
///
|
1505
|
+
/// # Panics
|
1506
|
+
///
|
1507
|
+
/// This will panic if the `index` provided is out of bounds.
|
1508
|
+
pub fn element_at(&self, index: u32) -> RefType {
|
1509
|
+
self.as_ref().element_at(index)
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
/// Gets the count of element segments.
|
1513
|
+
pub fn element_count(&self) -> u32 {
|
1514
|
+
self.as_ref().element_count()
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
/// Gets the type of a component function at the given function index.
|
1518
|
+
///
|
1519
|
+
/// # Panics
|
1520
|
+
///
|
1521
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1522
|
+
/// information represents a core module.
|
1523
|
+
pub fn component_function_at(&self, index: u32) -> TypeId {
|
1524
|
+
self.as_ref().component_function_at(index)
|
1525
|
+
}
|
1526
|
+
|
1527
|
+
/// Gets the count of imported, exported, or aliased component functions.
|
1528
|
+
pub fn component_function_count(&self) -> u32 {
|
1529
|
+
self.as_ref().component_function_count()
|
1530
|
+
}
|
1531
|
+
|
1532
|
+
/// Gets the type of a module at the given module index.
|
1533
|
+
///
|
1534
|
+
/// # Panics
|
1535
|
+
///
|
1536
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1537
|
+
/// information represents a core module.
|
1538
|
+
pub fn module_at(&self, index: u32) -> TypeId {
|
1539
|
+
self.as_ref().module_at(index)
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
/// Gets the count of imported, exported, or aliased modules.
|
1543
|
+
pub fn module_count(&self) -> usize {
|
1544
|
+
match &self.kind {
|
1545
|
+
TypesKind::Module(_) => 0,
|
1546
|
+
TypesKind::Component(component) => component.core_modules.len(),
|
1547
|
+
}
|
1548
|
+
}
|
1549
|
+
|
1550
|
+
/// Gets the type of a module instance at the given module instance index.
|
1551
|
+
///
|
1552
|
+
/// # Panics
|
1553
|
+
///
|
1554
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1555
|
+
/// information represents a core module.
|
1556
|
+
pub fn instance_at(&self, index: u32) -> TypeId {
|
1557
|
+
self.as_ref().instance_at(index)
|
1558
|
+
}
|
1559
|
+
|
1560
|
+
/// Gets the count of imported, exported, or aliased core module instances.
|
1561
|
+
pub fn instance_count(&self) -> usize {
|
1562
|
+
match &self.kind {
|
1563
|
+
TypesKind::Module(_) => 0,
|
1564
|
+
TypesKind::Component(component) => component.core_instances.len(),
|
1565
|
+
}
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
/// Gets the type of a component at the given component index.
|
1569
|
+
///
|
1570
|
+
/// # Panics
|
1571
|
+
///
|
1572
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1573
|
+
/// information represents a core module.
|
1574
|
+
pub fn component_at(&self, index: u32) -> TypeId {
|
1575
|
+
self.as_ref().component_at(index)
|
1576
|
+
}
|
1577
|
+
|
1578
|
+
/// Gets the count of imported, exported, or aliased components.
|
1579
|
+
pub fn component_count(&self) -> usize {
|
1580
|
+
match &self.kind {
|
1581
|
+
TypesKind::Module(_) => 0,
|
1582
|
+
TypesKind::Component(component) => component.components.len(),
|
1583
|
+
}
|
1584
|
+
}
|
1585
|
+
|
1586
|
+
/// Gets the type of an component instance at the given component instance index.
|
1587
|
+
///
|
1588
|
+
/// # Panics
|
1589
|
+
///
|
1590
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1591
|
+
/// information represents a core module.
|
1592
|
+
pub fn component_instance_at(&self, index: u32) -> TypeId {
|
1593
|
+
self.as_ref().component_instance_at(index)
|
1594
|
+
}
|
1595
|
+
|
1596
|
+
/// Gets the count of imported, exported, or aliased component instances.
|
1597
|
+
pub fn component_instance_count(&self) -> usize {
|
1598
|
+
match &self.kind {
|
1599
|
+
TypesKind::Module(_) => 0,
|
1600
|
+
TypesKind::Component(component) => component.instances.len(),
|
1601
|
+
}
|
1602
|
+
}
|
1603
|
+
|
1604
|
+
/// Gets the type of a value at the given value index.
|
1605
|
+
///
|
1606
|
+
/// # Panics
|
1607
|
+
///
|
1608
|
+
/// This will panic if the `index` provided is out of bounds or if this type
|
1609
|
+
/// information represents a core module.
|
1610
|
+
pub fn value_at(&self, index: u32) -> ComponentValType {
|
1611
|
+
self.as_ref().value_at(index)
|
1612
|
+
}
|
1613
|
+
|
1614
|
+
/// Gets the count of imported, exported, or aliased values.
|
1615
|
+
pub fn value_count(&self) -> usize {
|
1616
|
+
match &self.kind {
|
1617
|
+
TypesKind::Module(_) => 0,
|
1618
|
+
TypesKind::Component(component) => component.values.len(),
|
1619
|
+
}
|
1620
|
+
}
|
1621
|
+
|
1622
|
+
/// Gets the entity type from the given import.
|
1623
|
+
pub fn entity_type_from_import(&self, import: &Import) -> Option<EntityType> {
|
1624
|
+
self.as_ref().entity_type_from_import(import)
|
1625
|
+
}
|
1626
|
+
|
1627
|
+
/// Gets the entity type from the given export.
|
1628
|
+
pub fn entity_type_from_export(&self, export: &Export) -> Option<EntityType> {
|
1629
|
+
self.as_ref().entity_type_from_export(export)
|
1630
|
+
}
|
1631
|
+
|
1632
|
+
/// Gets the component entity type for the given component import name.
|
1633
|
+
pub fn component_entity_type_of_import(&self, name: &str) -> Option<ComponentEntityType> {
|
1634
|
+
self.as_ref().component_entity_type_of_import(name)
|
1635
|
+
}
|
1636
|
+
|
1637
|
+
/// Gets the component entity type for the given component export name.
|
1638
|
+
pub fn component_entity_type_of_export(&self, name: &str) -> Option<ComponentEntityType> {
|
1639
|
+
self.as_ref().component_entity_type_of_export(name)
|
1640
|
+
}
|
1641
|
+
|
1642
|
+
/// Attempts to lookup the type id that `ty` is an alias of.
|
1643
|
+
///
|
1644
|
+
/// Returns `None` if `ty` wasn't listed as aliasing a prior type.
|
1645
|
+
pub fn peel_alias(&self, ty: TypeId) -> Option<TypeId> {
|
1646
|
+
self.list.peel_alias(ty)
|
1647
|
+
}
|
1648
|
+
}
|
1649
|
+
|
1650
|
+
impl Index<TypeId> for Types {
|
1651
|
+
type Output = Type;
|
1652
|
+
|
1653
|
+
fn index(&self, id: TypeId) -> &Type {
|
1654
|
+
&self.list[id.index]
|
1655
|
+
}
|
1656
|
+
}
|
1657
|
+
|
1658
|
+
/// This is a type which mirrors a subset of the `Vec<T>` API, but is intended
|
1659
|
+
/// to be able to be cheaply snapshotted and cloned.
|
1660
|
+
///
|
1661
|
+
/// When each module's code sections start we "commit" the current list of types
|
1662
|
+
/// in the global list of types. This means that the temporary `cur` vec here is
|
1663
|
+
/// pushed onto `snapshots` and wrapped up in an `Arc`. At that point we clone
|
1664
|
+
/// this entire list (which is then O(modules), not O(types in all modules)) and
|
1665
|
+
/// pass out as a context to each function validator.
|
1666
|
+
///
|
1667
|
+
/// Otherwise, though, this type behaves as if it were a large `Vec<T>`, but
|
1668
|
+
/// it's represented by lists of contiguous chunks.
|
1669
|
+
pub(crate) struct SnapshotList<T> {
|
1670
|
+
// All previous snapshots, the "head" of the list that this type represents.
|
1671
|
+
// The first entry in this pair is the starting index for all elements
|
1672
|
+
// contained in the list, and the second element is the list itself. Note
|
1673
|
+
// the `Arc` wrapper around sub-lists, which makes cloning time for this
|
1674
|
+
// `SnapshotList` O(snapshots) rather than O(snapshots_total), which for
|
1675
|
+
// us in this context means the number of modules, not types.
|
1676
|
+
//
|
1677
|
+
// Note that this list is sorted least-to-greatest in order of the index for
|
1678
|
+
// binary searching.
|
1679
|
+
snapshots: Vec<Arc<Snapshot<T>>>,
|
1680
|
+
|
1681
|
+
// This is the total length of all lists in the `snapshots` array.
|
1682
|
+
snapshots_total: usize,
|
1683
|
+
|
1684
|
+
// The current list of types for the current snapshot that are being built.
|
1685
|
+
cur: Vec<T>,
|
1686
|
+
|
1687
|
+
unique_mappings: HashMap<u32, u32>,
|
1688
|
+
unique_counter: u32,
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
struct Snapshot<T> {
|
1692
|
+
prior_types: usize,
|
1693
|
+
unique_counter: u32,
|
1694
|
+
unique_mappings: HashMap<u32, u32>,
|
1695
|
+
items: Vec<T>,
|
1696
|
+
}
|
1697
|
+
|
1698
|
+
impl<T> SnapshotList<T> {
|
1699
|
+
/// Same as `<&[T]>::get`
|
1700
|
+
pub(crate) fn get(&self, index: usize) -> Option<&T> {
|
1701
|
+
// Check to see if this index falls on our local list
|
1702
|
+
if index >= self.snapshots_total {
|
1703
|
+
return self.cur.get(index - self.snapshots_total);
|
1704
|
+
}
|
1705
|
+
// ... and failing that we do a binary search to figure out which bucket
|
1706
|
+
// it's in. Note the `i-1` in the `Err` case because if we don't find an
|
1707
|
+
// exact match the type is located in the previous bucket.
|
1708
|
+
let i = match self
|
1709
|
+
.snapshots
|
1710
|
+
.binary_search_by_key(&index, |snapshot| snapshot.prior_types)
|
1711
|
+
{
|
1712
|
+
Ok(i) => i,
|
1713
|
+
Err(i) => i - 1,
|
1714
|
+
};
|
1715
|
+
let snapshot = &self.snapshots[i];
|
1716
|
+
Some(&snapshot.items[index - snapshot.prior_types])
|
1717
|
+
}
|
1718
|
+
|
1719
|
+
/// Same as `Vec::push`
|
1720
|
+
pub(crate) fn push(&mut self, val: T) {
|
1721
|
+
self.cur.push(val);
|
1722
|
+
}
|
1723
|
+
|
1724
|
+
/// Same as `<[T]>::len`
|
1725
|
+
pub(crate) fn len(&self) -> usize {
|
1726
|
+
self.cur.len() + self.snapshots_total
|
1727
|
+
}
|
1728
|
+
|
1729
|
+
/// Reserve space for an additional count of items.
|
1730
|
+
pub(crate) fn reserve(&mut self, additional: usize) {
|
1731
|
+
self.cur.reserve(additional);
|
1732
|
+
}
|
1733
|
+
|
1734
|
+
/// Commits previously pushed types into this snapshot vector, and returns a
|
1735
|
+
/// clone of this list.
|
1736
|
+
///
|
1737
|
+
/// The returned `SnapshotList` can be used to access all the same types as
|
1738
|
+
/// this list itself. This list also is not changed (from an external
|
1739
|
+
/// perspective) and can continue to access all the same types.
|
1740
|
+
pub(crate) fn commit(&mut self) -> SnapshotList<T> {
|
1741
|
+
// If the current chunk has new elements, commit them in to an
|
1742
|
+
// `Arc`-wrapped vector in the snapshots list. Note the `shrink_to_fit`
|
1743
|
+
// ahead of time to hopefully keep memory usage lower than it would
|
1744
|
+
// otherwise be. Additionally note that the `unique_counter` is bumped
|
1745
|
+
// here to ensure that the previous value of the unique counter is
|
1746
|
+
// never used for an actual type so it's suitable for lookup via a
|
1747
|
+
// binary search.
|
1748
|
+
let len = self.cur.len();
|
1749
|
+
if len > 0 {
|
1750
|
+
self.unique_counter += 1;
|
1751
|
+
self.cur.shrink_to_fit();
|
1752
|
+
self.snapshots.push(Arc::new(Snapshot {
|
1753
|
+
prior_types: self.snapshots_total,
|
1754
|
+
unique_counter: self.unique_counter - 1,
|
1755
|
+
unique_mappings: mem::take(&mut self.unique_mappings),
|
1756
|
+
items: mem::take(&mut self.cur),
|
1757
|
+
}));
|
1758
|
+
self.snapshots_total += len;
|
1759
|
+
}
|
1760
|
+
SnapshotList {
|
1761
|
+
snapshots: self.snapshots.clone(),
|
1762
|
+
snapshots_total: self.snapshots_total,
|
1763
|
+
unique_mappings: HashMap::new(),
|
1764
|
+
unique_counter: self.unique_counter,
|
1765
|
+
cur: Vec::new(),
|
1766
|
+
}
|
1767
|
+
}
|
1768
|
+
|
1769
|
+
/// Modifies a `TypeId` to have the same contents but a fresh new unique id.
|
1770
|
+
///
|
1771
|
+
/// This is used during aliasing with components to assign types a unique
|
1772
|
+
/// identifier that isn't equivalent to anything else but still
|
1773
|
+
/// points to the same underlying type.
|
1774
|
+
pub fn with_unique(&mut self, mut ty: TypeId) -> TypeId {
|
1775
|
+
self.unique_mappings
|
1776
|
+
.insert(self.unique_counter, ty.unique_id);
|
1777
|
+
ty.unique_id = self.unique_counter;
|
1778
|
+
self.unique_counter += 1;
|
1779
|
+
ty
|
1780
|
+
}
|
1781
|
+
|
1782
|
+
/// Attempts to lookup the type id that `ty` is an alias of.
|
1783
|
+
///
|
1784
|
+
/// Returns `None` if `ty` wasn't listed as aliasing a prior type.
|
1785
|
+
pub fn peel_alias(&self, ty: TypeId) -> Option<TypeId> {
|
1786
|
+
// The unique counter in each snapshot is the unique counter at the
|
1787
|
+
// time of the snapshot so it's guaranteed to never be used, meaning
|
1788
|
+
// that `Ok` should never show up here. With an `Err` it's where the
|
1789
|
+
// index would be placed meaning that the index in question is the
|
1790
|
+
// smallest value over the unique id's value, meaning that slot has the
|
1791
|
+
// mapping we're interested in.
|
1792
|
+
let i = match self
|
1793
|
+
.snapshots
|
1794
|
+
.binary_search_by_key(&ty.unique_id, |snapshot| snapshot.unique_counter)
|
1795
|
+
{
|
1796
|
+
Ok(_) => unreachable!(),
|
1797
|
+
Err(i) => i,
|
1798
|
+
};
|
1799
|
+
|
1800
|
+
// If the `i` index is beyond the snapshot array then lookup in the
|
1801
|
+
// current mappings instead since it may refer to a type not snapshot
|
1802
|
+
// yet.
|
1803
|
+
let unique_id = match self.snapshots.get(i) {
|
1804
|
+
Some(snapshot) => *snapshot.unique_mappings.get(&ty.unique_id)?,
|
1805
|
+
None => *self.unique_mappings.get(&ty.unique_id)?,
|
1806
|
+
};
|
1807
|
+
Some(TypeId { unique_id, ..ty })
|
1808
|
+
}
|
1809
|
+
}
|
1810
|
+
|
1811
|
+
impl<T> Index<usize> for SnapshotList<T> {
|
1812
|
+
type Output = T;
|
1813
|
+
|
1814
|
+
#[inline]
|
1815
|
+
fn index(&self, index: usize) -> &T {
|
1816
|
+
self.get(index).unwrap()
|
1817
|
+
}
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
impl<T> Index<TypeId> for SnapshotList<T> {
|
1821
|
+
type Output = T;
|
1822
|
+
|
1823
|
+
#[inline]
|
1824
|
+
fn index(&self, id: TypeId) -> &T {
|
1825
|
+
self.get(id.index).unwrap()
|
1826
|
+
}
|
1827
|
+
}
|
1828
|
+
|
1829
|
+
impl<T> Default for SnapshotList<T> {
|
1830
|
+
fn default() -> SnapshotList<T> {
|
1831
|
+
SnapshotList {
|
1832
|
+
snapshots: Vec::new(),
|
1833
|
+
snapshots_total: 0,
|
1834
|
+
cur: Vec::new(),
|
1835
|
+
unique_counter: 1,
|
1836
|
+
unique_mappings: HashMap::new(),
|
1837
|
+
}
|
1838
|
+
}
|
1839
|
+
}
|
1840
|
+
|
1841
|
+
/// A snapshot list of types.
|
1842
|
+
pub(crate) type TypeList = SnapshotList<Type>;
|
1843
|
+
|
1844
|
+
/// Thin wrapper around `TypeList` which provides an allocator of unique ids for
|
1845
|
+
/// types contained within this list.
|
1846
|
+
pub(crate) struct TypeAlloc {
|
1847
|
+
list: TypeList,
|
1848
|
+
|
1849
|
+
// This is assigned at creation of a `TypeAlloc` and then never changed.
|
1850
|
+
// It's used in one entry for all `ResourceId`s contained within.
|
1851
|
+
globally_unique_id: u64,
|
1852
|
+
|
1853
|
+
// This is a counter that's incremeneted each time `alloc_resource_id` is
|
1854
|
+
// called.
|
1855
|
+
next_resource_id: u32,
|
1856
|
+
}
|
1857
|
+
|
1858
|
+
impl Default for TypeAlloc {
|
1859
|
+
fn default() -> TypeAlloc {
|
1860
|
+
static NEXT_GLOBAL_ID: AtomicU64 = AtomicU64::new(0);
|
1861
|
+
TypeAlloc {
|
1862
|
+
list: TypeList::default(),
|
1863
|
+
globally_unique_id: NEXT_GLOBAL_ID.fetch_add(1, Ordering::Relaxed),
|
1864
|
+
next_resource_id: 0,
|
1865
|
+
}
|
1866
|
+
}
|
1867
|
+
}
|
1868
|
+
|
1869
|
+
impl Deref for TypeAlloc {
|
1870
|
+
type Target = TypeList;
|
1871
|
+
fn deref(&self) -> &TypeList {
|
1872
|
+
&self.list
|
1873
|
+
}
|
1874
|
+
}
|
1875
|
+
|
1876
|
+
impl DerefMut for TypeAlloc {
|
1877
|
+
fn deref_mut(&mut self) -> &mut TypeList {
|
1878
|
+
&mut self.list
|
1879
|
+
}
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
impl TypeAlloc {
|
1883
|
+
/// Pushes a new type into this list, returning an identifier which can be
|
1884
|
+
/// used to later retrieve it.
|
1885
|
+
///
|
1886
|
+
/// The returned identifier is unique within this `TypeAlloc` and won't be
|
1887
|
+
/// hash-equivalent to anything else.
|
1888
|
+
pub fn push_ty(&mut self, ty: Type) -> TypeId {
|
1889
|
+
let index = self.list.len();
|
1890
|
+
let type_size = ty.type_size();
|
1891
|
+
self.list.push(ty);
|
1892
|
+
TypeId {
|
1893
|
+
index,
|
1894
|
+
type_size,
|
1895
|
+
unique_id: 0,
|
1896
|
+
}
|
1897
|
+
}
|
1898
|
+
|
1899
|
+
/// Allocates a new unique resource identifier.
|
1900
|
+
///
|
1901
|
+
/// Note that uniqueness is only a property within this `TypeAlloc`.
|
1902
|
+
pub fn alloc_resource_id(&mut self) -> ResourceId {
|
1903
|
+
let contextually_unique_id = self.next_resource_id;
|
1904
|
+
self.next_resource_id = self.next_resource_id.checked_add(1).unwrap();
|
1905
|
+
ResourceId {
|
1906
|
+
globally_unique_id: self.globally_unique_id,
|
1907
|
+
contextually_unique_id,
|
1908
|
+
}
|
1909
|
+
}
|
1910
|
+
|
1911
|
+
/// Adds the set of "free variables" of the `id` provided to the `set`
|
1912
|
+
/// provided.
|
1913
|
+
///
|
1914
|
+
/// Free variables are defined as resources. Any resource, perhaps
|
1915
|
+
/// transitively, referred to but not defined by `id` is added to the `set`
|
1916
|
+
/// and returned.
|
1917
|
+
pub fn free_variables_type_id(&self, id: TypeId, set: &mut IndexSet<ResourceId>) {
|
1918
|
+
match &self[id] {
|
1919
|
+
// Core wasm constructs cannot reference resources.
|
1920
|
+
Type::Sub(_) | Type::Module(_) | Type::Instance(_) => {}
|
1921
|
+
|
1922
|
+
// Recurse on the imports/exports of components, but remove the
|
1923
|
+
// imported and defined resources within the component itself.
|
1924
|
+
//
|
1925
|
+
// Technically this needs to add all the free variables of the
|
1926
|
+
// exports, remove the defined resources, then add the free
|
1927
|
+
// variables of imports, then remove the imported resources. Given
|
1928
|
+
// prior validation of component types, however, the defined
|
1929
|
+
// and imported resources are disjoint and imports can't refer to
|
1930
|
+
// defined resources, so doing this all in one go should be
|
1931
|
+
// equivalent.
|
1932
|
+
Type::Component(i) => {
|
1933
|
+
for ty in i.imports.values().chain(i.exports.values()) {
|
1934
|
+
self.free_variables_component_entity(ty, set);
|
1935
|
+
}
|
1936
|
+
for (id, _path) in i.imported_resources.iter().chain(&i.defined_resources) {
|
1937
|
+
set.remove(id);
|
1938
|
+
}
|
1939
|
+
}
|
1940
|
+
|
1941
|
+
// Like components, add in all the free variables of referenced
|
1942
|
+
// types but then remove those defined by this component instance
|
1943
|
+
// itself.
|
1944
|
+
Type::ComponentInstance(i) => {
|
1945
|
+
for ty in i.exports.values() {
|
1946
|
+
self.free_variables_component_entity(ty, set);
|
1947
|
+
}
|
1948
|
+
for id in i.defined_resources.iter() {
|
1949
|
+
set.remove(id);
|
1950
|
+
}
|
1951
|
+
}
|
1952
|
+
|
1953
|
+
Type::Resource(r) => {
|
1954
|
+
set.insert(*r);
|
1955
|
+
}
|
1956
|
+
|
1957
|
+
Type::ComponentFunc(i) => {
|
1958
|
+
for ty in i
|
1959
|
+
.params
|
1960
|
+
.iter()
|
1961
|
+
.map(|(_, ty)| ty)
|
1962
|
+
.chain(i.results.iter().map(|(_, ty)| ty))
|
1963
|
+
{
|
1964
|
+
self.free_variables_valtype(ty, set);
|
1965
|
+
}
|
1966
|
+
}
|
1967
|
+
|
1968
|
+
Type::Defined(i) => match i {
|
1969
|
+
ComponentDefinedType::Primitive(_)
|
1970
|
+
| ComponentDefinedType::Flags(_)
|
1971
|
+
| ComponentDefinedType::Enum(_) => {}
|
1972
|
+
ComponentDefinedType::Record(r) => {
|
1973
|
+
for ty in r.fields.values() {
|
1974
|
+
self.free_variables_valtype(ty, set);
|
1975
|
+
}
|
1976
|
+
}
|
1977
|
+
ComponentDefinedType::Tuple(r) => {
|
1978
|
+
for ty in r.types.iter() {
|
1979
|
+
self.free_variables_valtype(ty, set);
|
1980
|
+
}
|
1981
|
+
}
|
1982
|
+
ComponentDefinedType::Union(r) => {
|
1983
|
+
for ty in r.types.iter() {
|
1984
|
+
self.free_variables_valtype(ty, set);
|
1985
|
+
}
|
1986
|
+
}
|
1987
|
+
ComponentDefinedType::Variant(r) => {
|
1988
|
+
for ty in r.cases.values() {
|
1989
|
+
if let Some(ty) = &ty.ty {
|
1990
|
+
self.free_variables_valtype(ty, set);
|
1991
|
+
}
|
1992
|
+
}
|
1993
|
+
}
|
1994
|
+
ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
|
1995
|
+
self.free_variables_valtype(ty, set);
|
1996
|
+
}
|
1997
|
+
ComponentDefinedType::Result { ok, err } => {
|
1998
|
+
if let Some(ok) = ok {
|
1999
|
+
self.free_variables_valtype(ok, set);
|
2000
|
+
}
|
2001
|
+
if let Some(err) = err {
|
2002
|
+
self.free_variables_valtype(err, set);
|
2003
|
+
}
|
2004
|
+
}
|
2005
|
+
ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
|
2006
|
+
self.free_variables_type_id(*id, set);
|
2007
|
+
}
|
2008
|
+
},
|
2009
|
+
}
|
2010
|
+
}
|
2011
|
+
|
2012
|
+
/// Same as `free_variables_type_id`, but for `ComponentEntityType`.
|
2013
|
+
pub fn free_variables_component_entity(
|
2014
|
+
&self,
|
2015
|
+
ty: &ComponentEntityType,
|
2016
|
+
set: &mut IndexSet<ResourceId>,
|
2017
|
+
) {
|
2018
|
+
match ty {
|
2019
|
+
ComponentEntityType::Module(id)
|
2020
|
+
| ComponentEntityType::Func(id)
|
2021
|
+
| ComponentEntityType::Instance(id)
|
2022
|
+
| ComponentEntityType::Component(id) => self.free_variables_type_id(*id, set),
|
2023
|
+
ComponentEntityType::Type { created, .. } => {
|
2024
|
+
self.free_variables_type_id(*created, set);
|
2025
|
+
}
|
2026
|
+
ComponentEntityType::Value(ty) => self.free_variables_valtype(ty, set),
|
2027
|
+
}
|
2028
|
+
}
|
2029
|
+
|
2030
|
+
/// Same as `free_variables_type_id`, but for `ComponentValType`.
|
2031
|
+
fn free_variables_valtype(&self, ty: &ComponentValType, set: &mut IndexSet<ResourceId>) {
|
2032
|
+
match ty {
|
2033
|
+
ComponentValType::Primitive(_) => {}
|
2034
|
+
ComponentValType::Type(id) => self.free_variables_type_id(*id, set),
|
2035
|
+
}
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
/// Returns whether the type `id` is "named" where named types are presented
|
2039
|
+
/// via the provided `set`.
|
2040
|
+
///
|
2041
|
+
/// This requires that `id` is a `Defined` type.
|
2042
|
+
pub(crate) fn type_named_type_id(&self, id: TypeId, set: &HashSet<TypeId>) -> bool {
|
2043
|
+
let ty = self[id].unwrap_defined();
|
2044
|
+
match ty {
|
2045
|
+
// Primitives are always considered named
|
2046
|
+
ComponentDefinedType::Primitive(_) => true,
|
2047
|
+
|
2048
|
+
// These structures are never allowed to be anonymous, so they
|
2049
|
+
// themselves must be named.
|
2050
|
+
ComponentDefinedType::Flags(_)
|
2051
|
+
| ComponentDefinedType::Enum(_)
|
2052
|
+
| ComponentDefinedType::Record(_)
|
2053
|
+
| ComponentDefinedType::Union(_)
|
2054
|
+
| ComponentDefinedType::Variant(_) => set.contains(&id),
|
2055
|
+
|
2056
|
+
// All types below here are allowed to be anonymous, but their
|
2057
|
+
// own components must be appropriately named.
|
2058
|
+
ComponentDefinedType::Tuple(r) => {
|
2059
|
+
r.types.iter().all(|t| self.type_named_valtype(t, set))
|
2060
|
+
}
|
2061
|
+
ComponentDefinedType::Result { ok, err } => {
|
2062
|
+
ok.as_ref()
|
2063
|
+
.map(|t| self.type_named_valtype(t, set))
|
2064
|
+
.unwrap_or(true)
|
2065
|
+
&& err
|
2066
|
+
.as_ref()
|
2067
|
+
.map(|t| self.type_named_valtype(t, set))
|
2068
|
+
.unwrap_or(true)
|
2069
|
+
}
|
2070
|
+
ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
|
2071
|
+
self.type_named_valtype(ty, set)
|
2072
|
+
}
|
2073
|
+
|
2074
|
+
// own/borrow themselves don't have to be named, but the resource
|
2075
|
+
// they refer to must be named.
|
2076
|
+
ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => set.contains(id),
|
2077
|
+
}
|
2078
|
+
}
|
2079
|
+
|
2080
|
+
pub(crate) fn type_named_valtype(&self, ty: &ComponentValType, set: &HashSet<TypeId>) -> bool {
|
2081
|
+
match ty {
|
2082
|
+
ComponentValType::Primitive(_) => true,
|
2083
|
+
ComponentValType::Type(id) => self.type_named_type_id(*id, set),
|
2084
|
+
}
|
2085
|
+
}
|
2086
|
+
}
|
2087
|
+
|
2088
|
+
/// A helper trait to provide the functionality necessary to resources within a
|
2089
|
+
/// type.
|
2090
|
+
///
|
2091
|
+
/// This currently exists to abstract over `TypeAlloc` and `SubtypeArena` which
|
2092
|
+
/// both need to perform remapping operations.
|
2093
|
+
pub(crate) trait Remap: Index<TypeId, Output = Type> {
|
2094
|
+
/// Pushes a new anonymous type within this object, returning an identifier
|
2095
|
+
/// which can be used to refer to it.
|
2096
|
+
fn push_ty(&mut self, ty: Type) -> TypeId;
|
2097
|
+
|
2098
|
+
/// Applies a resource and type renaming map to the `id` specified,
|
2099
|
+
/// returning `true` if the `id` was modified or `false` if it didn't need
|
2100
|
+
/// changing.
|
2101
|
+
///
|
2102
|
+
/// This will recursively modify the structure of the `id` specified and
|
2103
|
+
/// update all references to resources found. The resource identifier keys
|
2104
|
+
/// in the `map` specified will become the corresponding value, in addition
|
2105
|
+
/// to any existing types in `map` becoming different tyeps.
|
2106
|
+
///
|
2107
|
+
/// The `id` argument will be rewritten to a new identifier if `true` is
|
2108
|
+
/// returned.
|
2109
|
+
fn remap_type_id(&mut self, id: &mut TypeId, map: &mut Remapping) -> bool {
|
2110
|
+
if let Some(new) = map.types.get(id) {
|
2111
|
+
let changed = *new != *id;
|
2112
|
+
*id = *new;
|
2113
|
+
return changed;
|
2114
|
+
}
|
2115
|
+
|
2116
|
+
// This function attempts what ends up probably being a relatively
|
2117
|
+
// minor optimization where a new `id` isn't manufactured unless
|
2118
|
+
// something about the type actually changed. That means that if the
|
2119
|
+
// type doesn't actually use any resources, for example, then no new
|
2120
|
+
// id is allocated.
|
2121
|
+
let mut any_changed = false;
|
2122
|
+
|
2123
|
+
let map_map = |tmp: &mut IndexMap<ResourceId, Vec<usize>>,
|
2124
|
+
any_changed: &mut bool,
|
2125
|
+
map: &mut Remapping| {
|
2126
|
+
for (id, path) in mem::take(tmp) {
|
2127
|
+
let id = match map.resources.get(&id) {
|
2128
|
+
Some(id) => {
|
2129
|
+
*any_changed = true;
|
2130
|
+
*id
|
2131
|
+
}
|
2132
|
+
None => id,
|
2133
|
+
};
|
2134
|
+
tmp.insert(id, path);
|
2135
|
+
}
|
2136
|
+
};
|
2137
|
+
|
2138
|
+
let ty = match &self[*id] {
|
2139
|
+
// Core wasm functions/modules/instances don't have resource types
|
2140
|
+
// in them.
|
2141
|
+
Type::Sub(_) | Type::Module(_) | Type::Instance(_) => return false,
|
2142
|
+
|
2143
|
+
Type::Component(i) => {
|
2144
|
+
let mut tmp = i.clone();
|
2145
|
+
for ty in tmp.imports.values_mut().chain(tmp.exports.values_mut()) {
|
2146
|
+
if self.remap_component_entity(ty, map) {
|
2147
|
+
any_changed = true;
|
2148
|
+
}
|
2149
|
+
}
|
2150
|
+
for (id, _) in tmp
|
2151
|
+
.imported_resources
|
2152
|
+
.iter_mut()
|
2153
|
+
.chain(&mut tmp.defined_resources)
|
2154
|
+
{
|
2155
|
+
if let Some(new) = map.resources.get(id) {
|
2156
|
+
*id = *new;
|
2157
|
+
any_changed = true;
|
2158
|
+
}
|
2159
|
+
}
|
2160
|
+
map_map(&mut tmp.explicit_resources, &mut any_changed, map);
|
2161
|
+
Type::Component(tmp)
|
2162
|
+
}
|
2163
|
+
|
2164
|
+
Type::ComponentInstance(i) => {
|
2165
|
+
let mut tmp = i.clone();
|
2166
|
+
for ty in tmp.exports.values_mut() {
|
2167
|
+
if self.remap_component_entity(ty, map) {
|
2168
|
+
any_changed = true;
|
2169
|
+
}
|
2170
|
+
}
|
2171
|
+
for id in tmp.defined_resources.iter_mut() {
|
2172
|
+
if let Some(new) = map.resources.get(id) {
|
2173
|
+
*id = *new;
|
2174
|
+
any_changed = true;
|
2175
|
+
}
|
2176
|
+
}
|
2177
|
+
map_map(&mut tmp.explicit_resources, &mut any_changed, map);
|
2178
|
+
Type::ComponentInstance(tmp)
|
2179
|
+
}
|
2180
|
+
|
2181
|
+
Type::Resource(id) => {
|
2182
|
+
let id = match map.resources.get(id).copied() {
|
2183
|
+
Some(id) => id,
|
2184
|
+
None => return false,
|
2185
|
+
};
|
2186
|
+
any_changed = true;
|
2187
|
+
Type::Resource(id)
|
2188
|
+
}
|
2189
|
+
|
2190
|
+
Type::ComponentFunc(i) => {
|
2191
|
+
let mut tmp = i.clone();
|
2192
|
+
for ty in tmp
|
2193
|
+
.params
|
2194
|
+
.iter_mut()
|
2195
|
+
.map(|(_, ty)| ty)
|
2196
|
+
.chain(tmp.results.iter_mut().map(|(_, ty)| ty))
|
2197
|
+
{
|
2198
|
+
if self.remap_valtype(ty, map) {
|
2199
|
+
any_changed = true;
|
2200
|
+
}
|
2201
|
+
}
|
2202
|
+
Type::ComponentFunc(tmp)
|
2203
|
+
}
|
2204
|
+
Type::Defined(i) => {
|
2205
|
+
let mut tmp = i.clone();
|
2206
|
+
match &mut tmp {
|
2207
|
+
ComponentDefinedType::Primitive(_)
|
2208
|
+
| ComponentDefinedType::Flags(_)
|
2209
|
+
| ComponentDefinedType::Enum(_) => {}
|
2210
|
+
ComponentDefinedType::Record(r) => {
|
2211
|
+
for ty in r.fields.values_mut() {
|
2212
|
+
if self.remap_valtype(ty, map) {
|
2213
|
+
any_changed = true;
|
2214
|
+
}
|
2215
|
+
}
|
2216
|
+
}
|
2217
|
+
ComponentDefinedType::Tuple(r) => {
|
2218
|
+
for ty in r.types.iter_mut() {
|
2219
|
+
if self.remap_valtype(ty, map) {
|
2220
|
+
any_changed = true;
|
2221
|
+
}
|
2222
|
+
}
|
2223
|
+
}
|
2224
|
+
ComponentDefinedType::Union(r) => {
|
2225
|
+
for ty in r.types.iter_mut() {
|
2226
|
+
if self.remap_valtype(ty, map) {
|
2227
|
+
any_changed = true;
|
2228
|
+
}
|
2229
|
+
}
|
2230
|
+
}
|
2231
|
+
ComponentDefinedType::Variant(r) => {
|
2232
|
+
for ty in r.cases.values_mut() {
|
2233
|
+
if let Some(ty) = &mut ty.ty {
|
2234
|
+
if self.remap_valtype(ty, map) {
|
2235
|
+
any_changed = true;
|
2236
|
+
}
|
2237
|
+
}
|
2238
|
+
}
|
2239
|
+
}
|
2240
|
+
ComponentDefinedType::List(ty) | ComponentDefinedType::Option(ty) => {
|
2241
|
+
if self.remap_valtype(ty, map) {
|
2242
|
+
any_changed = true;
|
2243
|
+
}
|
2244
|
+
}
|
2245
|
+
ComponentDefinedType::Result { ok, err } => {
|
2246
|
+
if let Some(ok) = ok {
|
2247
|
+
if self.remap_valtype(ok, map) {
|
2248
|
+
any_changed = true;
|
2249
|
+
}
|
2250
|
+
}
|
2251
|
+
if let Some(err) = err {
|
2252
|
+
if self.remap_valtype(err, map) {
|
2253
|
+
any_changed = true;
|
2254
|
+
}
|
2255
|
+
}
|
2256
|
+
}
|
2257
|
+
ComponentDefinedType::Own(id) | ComponentDefinedType::Borrow(id) => {
|
2258
|
+
if self.remap_type_id(id, map) {
|
2259
|
+
any_changed = true;
|
2260
|
+
}
|
2261
|
+
}
|
2262
|
+
}
|
2263
|
+
Type::Defined(tmp)
|
2264
|
+
}
|
2265
|
+
};
|
2266
|
+
|
2267
|
+
let new = if any_changed { self.push_ty(ty) } else { *id };
|
2268
|
+
let prev = map.types.insert(*id, new);
|
2269
|
+
assert!(prev.is_none());
|
2270
|
+
let changed = *id != new;
|
2271
|
+
*id = new;
|
2272
|
+
changed
|
2273
|
+
}
|
2274
|
+
|
2275
|
+
/// Same as `remap_type_id`, but works with `ComponentEntityType`.
|
2276
|
+
fn remap_component_entity(
|
2277
|
+
&mut self,
|
2278
|
+
ty: &mut ComponentEntityType,
|
2279
|
+
map: &mut Remapping,
|
2280
|
+
) -> bool {
|
2281
|
+
match ty {
|
2282
|
+
ComponentEntityType::Module(id)
|
2283
|
+
| ComponentEntityType::Func(id)
|
2284
|
+
| ComponentEntityType::Instance(id)
|
2285
|
+
| ComponentEntityType::Component(id) => self.remap_type_id(id, map),
|
2286
|
+
ComponentEntityType::Type {
|
2287
|
+
referenced,
|
2288
|
+
created,
|
2289
|
+
} => {
|
2290
|
+
let changed = self.remap_type_id(referenced, map);
|
2291
|
+
if *referenced == *created {
|
2292
|
+
*created = *referenced;
|
2293
|
+
changed
|
2294
|
+
} else {
|
2295
|
+
self.remap_type_id(created, map) || changed
|
2296
|
+
}
|
2297
|
+
}
|
2298
|
+
ComponentEntityType::Value(ty) => self.remap_valtype(ty, map),
|
2299
|
+
}
|
2300
|
+
}
|
2301
|
+
|
2302
|
+
/// Same as `remap_type_id`, but works with `ComponentValType`.
|
2303
|
+
fn remap_valtype(&mut self, ty: &mut ComponentValType, map: &mut Remapping) -> bool {
|
2304
|
+
match ty {
|
2305
|
+
ComponentValType::Primitive(_) => false,
|
2306
|
+
ComponentValType::Type(id) => self.remap_type_id(id, map),
|
2307
|
+
}
|
2308
|
+
}
|
2309
|
+
}
|
2310
|
+
|
2311
|
+
#[derive(Default)]
|
2312
|
+
pub(crate) struct Remapping {
|
2313
|
+
/// A mapping from old resource ID to new resource ID.
|
2314
|
+
pub(crate) resources: HashMap<ResourceId, ResourceId>,
|
2315
|
+
|
2316
|
+
/// A mapping filled in during the remapping process which records how a
|
2317
|
+
/// type was remapped, if applicable. This avoids remapping multiple
|
2318
|
+
/// references to the same type and instead only processing it once.
|
2319
|
+
types: HashMap<TypeId, TypeId>,
|
2320
|
+
}
|
2321
|
+
|
2322
|
+
impl Remap for TypeAlloc {
|
2323
|
+
fn push_ty(&mut self, ty: Type) -> TypeId {
|
2324
|
+
<TypeAlloc>::push_ty(self, ty)
|
2325
|
+
}
|
2326
|
+
}
|
2327
|
+
|
2328
|
+
impl Index<TypeId> for TypeAlloc {
|
2329
|
+
type Output = Type;
|
2330
|
+
|
2331
|
+
#[inline]
|
2332
|
+
fn index(&self, id: TypeId) -> &Type {
|
2333
|
+
&self.list[id]
|
2334
|
+
}
|
2335
|
+
}
|
2336
|
+
|
2337
|
+
/// Helper structure used to perform subtyping computations.
|
2338
|
+
///
|
2339
|
+
/// This type is used whenever a subtype needs to be tested in one direction or
|
2340
|
+
/// the other. The methods of this type are the various entry points for
|
2341
|
+
/// subtyping.
|
2342
|
+
///
|
2343
|
+
/// Internally this contains arenas for two lists of types. The `a` arena is
|
2344
|
+
/// intended to be used for lookup of the first argument to all of the methods
|
2345
|
+
/// below, and the `b` arena is used for lookup of the second argument.
|
2346
|
+
///
|
2347
|
+
/// Arenas here are used specifically for component-based subtyping queries. In
|
2348
|
+
/// these situations new types must be created based on substitution mappings,
|
2349
|
+
/// but the types all have temporary lifetimes. Everything in these arenas is
|
2350
|
+
/// thrown away once the subtyping computation has finished.
|
2351
|
+
///
|
2352
|
+
/// Note that this subtyping context also explicitly supports being created
|
2353
|
+
/// from to different lists `a` and `b` originally, for testing subtyping
|
2354
|
+
/// between two different components for example.
|
2355
|
+
pub(crate) struct SubtypeCx<'a> {
|
2356
|
+
pub(crate) a: SubtypeArena<'a>,
|
2357
|
+
pub(crate) b: SubtypeArena<'a>,
|
2358
|
+
}
|
2359
|
+
|
2360
|
+
impl<'a> SubtypeCx<'a> {
|
2361
|
+
pub(crate) fn new(a: &'a TypeList, b: &'a TypeList) -> SubtypeCx<'a> {
|
2362
|
+
SubtypeCx {
|
2363
|
+
a: SubtypeArena::new(a),
|
2364
|
+
b: SubtypeArena::new(b),
|
2365
|
+
}
|
2366
|
+
}
|
2367
|
+
|
2368
|
+
fn swap(&mut self) {
|
2369
|
+
mem::swap(&mut self.a, &mut self.b);
|
2370
|
+
}
|
2371
|
+
|
2372
|
+
/// Executes the closure `f`, resetting the internal arenas to their
|
2373
|
+
/// original size after the closure finishes.
|
2374
|
+
///
|
2375
|
+
/// This enables `f` to modify the internal arenas while relying on all
|
2376
|
+
/// changes being discarded after the closure finishes.
|
2377
|
+
fn mark<T>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T {
|
2378
|
+
let a_len = self.a.list.len();
|
2379
|
+
let b_len = self.b.list.len();
|
2380
|
+
let result = f(self);
|
2381
|
+
self.a.list.truncate(a_len);
|
2382
|
+
self.b.list.truncate(b_len);
|
2383
|
+
result
|
2384
|
+
}
|
2385
|
+
|
2386
|
+
/// Tests whether `a` is a subtype of `b`.
|
2387
|
+
///
|
2388
|
+
/// Errors are reported at the `offset` specified.
|
2389
|
+
pub fn component_entity_type(
|
2390
|
+
&mut self,
|
2391
|
+
a: &ComponentEntityType,
|
2392
|
+
b: &ComponentEntityType,
|
2393
|
+
offset: usize,
|
2394
|
+
) -> Result<()> {
|
2395
|
+
use ComponentEntityType::*;
|
2396
|
+
|
2397
|
+
match (a, b) {
|
2398
|
+
(Module(a), Module(b)) => {
|
2399
|
+
// For module type subtyping, all exports in the other module
|
2400
|
+
// type must be present in this module type's exports (i.e. it
|
2401
|
+
// can export *more* than what this module type needs).
|
2402
|
+
// However, for imports, the check is reversed (i.e. it is okay
|
2403
|
+
// to import *less* than what this module type needs).
|
2404
|
+
self.swap();
|
2405
|
+
let a_imports = &self.b[*a].unwrap_module().imports;
|
2406
|
+
let b_imports = &self.a[*b].unwrap_module().imports;
|
2407
|
+
for (k, a) in a_imports {
|
2408
|
+
match b_imports.get(k) {
|
2409
|
+
Some(b) => self.entity_type(b, a, offset).with_context(|| {
|
2410
|
+
format!("type mismatch in import `{}::{}`", k.0, k.1)
|
2411
|
+
})?,
|
2412
|
+
None => bail!(offset, "missing expected import `{}::{}`", k.0, k.1),
|
2413
|
+
}
|
2414
|
+
}
|
2415
|
+
self.swap();
|
2416
|
+
let a = self.a[*a].unwrap_module();
|
2417
|
+
let b = self.b[*b].unwrap_module();
|
2418
|
+
for (k, b) in b.exports.iter() {
|
2419
|
+
match a.exports.get(k) {
|
2420
|
+
Some(a) => self
|
2421
|
+
.entity_type(a, b, offset)
|
2422
|
+
.with_context(|| format!("type mismatch in export `{k}`"))?,
|
2423
|
+
None => bail!(offset, "missing expected export `{k}`"),
|
2424
|
+
}
|
2425
|
+
}
|
2426
|
+
Ok(())
|
2427
|
+
}
|
2428
|
+
(Module(_), b) => bail!(offset, "expected {}, found module", b.desc()),
|
2429
|
+
|
2430
|
+
(Func(a), Func(b)) => {
|
2431
|
+
let a = self.a[*a].unwrap_component_func();
|
2432
|
+
let b = self.b[*b].unwrap_component_func();
|
2433
|
+
|
2434
|
+
// Note that this intentionally diverges from the upstream
|
2435
|
+
// specification in terms of subtyping. This is a full
|
2436
|
+
// type-equality check which ensures that the structure of `a`
|
2437
|
+
// exactly matches the structure of `b`. The rationale for this
|
2438
|
+
// is:
|
2439
|
+
//
|
2440
|
+
// * Primarily in Wasmtime subtyping based on function types is
|
2441
|
+
// not implemented. This includes both subtyping a host
|
2442
|
+
// import and additionally handling subtyping as functions
|
2443
|
+
// cross component boundaries. The host import subtyping (or
|
2444
|
+
// component export subtyping) is not clear how to handle at
|
2445
|
+
// all at this time. The subtyping of functions between
|
2446
|
+
// components can more easily be handled by extending the
|
2447
|
+
// `fact` compiler, but that hasn't been done yet.
|
2448
|
+
//
|
2449
|
+
// * The upstream specification is currently pretty
|
2450
|
+
// intentionally vague precisely what subtyping is allowed.
|
2451
|
+
// Implementing a strict check here is intended to be a
|
2452
|
+
// conservative starting point for the component model which
|
2453
|
+
// can be extended in the future if necessary.
|
2454
|
+
//
|
2455
|
+
// * The interaction with subtyping on bindings generation, for
|
2456
|
+
// example, is a tricky problem that doesn't have a clear
|
2457
|
+
// answer at this time. Effectively this is more rationale
|
2458
|
+
// for being conservative in the first pass of the component
|
2459
|
+
// model.
|
2460
|
+
//
|
2461
|
+
// So, in conclusion, the test here (and other places that
|
2462
|
+
// reference this comment) is for exact type equality with no
|
2463
|
+
// differences.
|
2464
|
+
if a.params.len() != b.params.len() {
|
2465
|
+
bail!(
|
2466
|
+
offset,
|
2467
|
+
"expected {} parameters, found {}",
|
2468
|
+
b.params.len(),
|
2469
|
+
a.params.len(),
|
2470
|
+
);
|
2471
|
+
}
|
2472
|
+
if a.results.len() != b.results.len() {
|
2473
|
+
bail!(
|
2474
|
+
offset,
|
2475
|
+
"expected {} results, found {}",
|
2476
|
+
b.results.len(),
|
2477
|
+
a.results.len(),
|
2478
|
+
);
|
2479
|
+
}
|
2480
|
+
for ((an, a), (bn, b)) in a.params.iter().zip(b.params.iter()) {
|
2481
|
+
if an != bn {
|
2482
|
+
bail!(offset, "expected parameter named `{bn}`, found `{an}`");
|
2483
|
+
}
|
2484
|
+
self.component_val_type(a, b, offset)
|
2485
|
+
.with_context(|| format!("type mismatch in function parameter `{an}`"))?;
|
2486
|
+
}
|
2487
|
+
for ((an, a), (bn, b)) in a.results.iter().zip(b.results.iter()) {
|
2488
|
+
if an != bn {
|
2489
|
+
bail!(offset, "mismatched result names");
|
2490
|
+
}
|
2491
|
+
self.component_val_type(a, b, offset)
|
2492
|
+
.with_context(|| "type mismatch with result type")?;
|
2493
|
+
}
|
2494
|
+
Ok(())
|
2495
|
+
}
|
2496
|
+
(Func(_), b) => bail!(offset, "expected {}, found func", b.desc()),
|
2497
|
+
|
2498
|
+
(Value(a), Value(b)) => self.component_val_type(a, b, offset),
|
2499
|
+
(Value(_), b) => bail!(offset, "expected {}, found value", b.desc()),
|
2500
|
+
|
2501
|
+
(Type { referenced: a, .. }, Type { referenced: b, .. }) => {
|
2502
|
+
use self::Type::*;
|
2503
|
+
match (&self.a[*a], &self.b[*b]) {
|
2504
|
+
(Defined(a), Defined(b)) => self.component_defined_type(a, b, offset),
|
2505
|
+
(Defined(_), Resource(_)) => bail!(offset, "expected resource, found type"),
|
2506
|
+
(Resource(a), Resource(b)) => {
|
2507
|
+
if a == b {
|
2508
|
+
Ok(())
|
2509
|
+
} else {
|
2510
|
+
bail!(offset, "resource types are not the same")
|
2511
|
+
}
|
2512
|
+
}
|
2513
|
+
(Resource(_), Defined(_)) => bail!(offset, "expected type, found resource"),
|
2514
|
+
_ => unreachable!(),
|
2515
|
+
}
|
2516
|
+
}
|
2517
|
+
(Type { .. }, b) => bail!(offset, "expected {}, found type", b.desc()),
|
2518
|
+
|
2519
|
+
(Instance(a_id), Instance(b_id)) => {
|
2520
|
+
// For instance type subtyping, all exports in the other
|
2521
|
+
// instance type must be present in this instance type's
|
2522
|
+
// exports (i.e. it can export *more* than what this instance
|
2523
|
+
// type needs).
|
2524
|
+
let a = self.a[*a_id].unwrap_component_instance();
|
2525
|
+
let b = self.b[*b_id].unwrap_component_instance();
|
2526
|
+
|
2527
|
+
let mut exports = Vec::with_capacity(b.exports.len());
|
2528
|
+
for (k, b) in b.exports.iter() {
|
2529
|
+
match a.exports.get(k) {
|
2530
|
+
Some(a) => exports.push((*a, *b)),
|
2531
|
+
None => bail!(offset, "missing expected export `{k}`"),
|
2532
|
+
}
|
2533
|
+
}
|
2534
|
+
for (i, (a, b)) in exports.iter().enumerate() {
|
2535
|
+
let err = match self.component_entity_type(a, b, offset) {
|
2536
|
+
Ok(()) => continue,
|
2537
|
+
Err(e) => e,
|
2538
|
+
};
|
2539
|
+
// On failure attach the name of this export as context to
|
2540
|
+
// the error message to leave a breadcrumb trail.
|
2541
|
+
let (name, _) = self.b[*b_id]
|
2542
|
+
.unwrap_component_instance()
|
2543
|
+
.exports
|
2544
|
+
.get_index(i)
|
2545
|
+
.unwrap();
|
2546
|
+
return Err(
|
2547
|
+
err.with_context(|| format!("type mismatch in instance export `{name}`"))
|
2548
|
+
);
|
2549
|
+
}
|
2550
|
+
Ok(())
|
2551
|
+
}
|
2552
|
+
(Instance(_), b) => bail!(offset, "expected {}, found instance", b.desc()),
|
2553
|
+
|
2554
|
+
(Component(a), Component(b)) => {
|
2555
|
+
// Components are ... tricky. They follow the same basic
|
2556
|
+
// structure as core wasm modules, but they also have extra
|
2557
|
+
// logic to handle resource types. Resources are effectively
|
2558
|
+
// abstract types so this is sort of where an ML module system
|
2559
|
+
// in the component model becomes a reality.
|
2560
|
+
//
|
2561
|
+
// This also leverages the `open_instance_type` method below
|
2562
|
+
// heavily which internally has its own quite large suite of
|
2563
|
+
// logic. More-or-less what's happening here is:
|
2564
|
+
//
|
2565
|
+
// 1. Pretend that the imports of B are given as values to the
|
2566
|
+
// imports of A. If A didn't import anything, for example,
|
2567
|
+
// that's great and the subtyping definitely passes there.
|
2568
|
+
// This operation produces a mapping of all the resources of
|
2569
|
+
// A's imports to resources in B's imports.
|
2570
|
+
//
|
2571
|
+
// 2. This mapping is applied to all of A's exports. This means
|
2572
|
+
// that all exports of A referring to A's imported resources
|
2573
|
+
// now instead refer to B's. Note, though that A's exports
|
2574
|
+
// still refer to its own defined resources.
|
2575
|
+
//
|
2576
|
+
// 3. The same `open_instance_type` method used during the
|
2577
|
+
// first step is used again, but this time on the exports
|
2578
|
+
// in the reverse direction. This performs a similar
|
2579
|
+
// operation, though, by creating a mapping from B's
|
2580
|
+
// defined resources to A's defined resources. The map
|
2581
|
+
// itself is discarded as it's not needed.
|
2582
|
+
//
|
2583
|
+
// The order that everything passed here is intentional, but
|
2584
|
+
// also subtle. I personally think of it as
|
2585
|
+
// `open_instance_type` takes a list of things to satisfy a
|
2586
|
+
// signature and produces a mapping of resources in the
|
2587
|
+
// signature to those provided in the list of things. The
|
2588
|
+
// order of operations then goes:
|
2589
|
+
//
|
2590
|
+
// * Someone thinks they have a component of type B, but they
|
2591
|
+
// actually have a component of type A (e.g. due to this
|
2592
|
+
// subtype check passing).
|
2593
|
+
// * This person provides the imports of B and that must be
|
2594
|
+
// sufficient to satisfy the imports of A. This is the first
|
2595
|
+
// `open_instance_type` check.
|
2596
|
+
// * Now though the resources provided by B are substituted
|
2597
|
+
// into A's exports since that's what was provided.
|
2598
|
+
// * A's exports are then handed back to the original person,
|
2599
|
+
// and these exports must satisfy the signature required by B
|
2600
|
+
// since that's what they're expecting.
|
2601
|
+
// * This is the second `open_instance_type` which, to get
|
2602
|
+
// resource types to line up, will map from A's defined
|
2603
|
+
// resources to B's defined resources.
|
2604
|
+
//
|
2605
|
+
// If all that passes then the resources should all line up
|
2606
|
+
// perfectly. Any misalignment is reported as a subtyping
|
2607
|
+
// error.
|
2608
|
+
let b_imports = self.b[*b]
|
2609
|
+
.unwrap_component()
|
2610
|
+
.imports
|
2611
|
+
.iter()
|
2612
|
+
.map(|(name, ty)| (name.clone(), ty.clone()))
|
2613
|
+
.collect();
|
2614
|
+
self.swap();
|
2615
|
+
let mut import_mapping =
|
2616
|
+
self.open_instance_type(&b_imports, *a, ExternKind::Import, offset)?;
|
2617
|
+
self.swap();
|
2618
|
+
self.mark(|this| {
|
2619
|
+
let mut a_exports = this.a[*a]
|
2620
|
+
.unwrap_component()
|
2621
|
+
.exports
|
2622
|
+
.iter()
|
2623
|
+
.map(|(name, ty)| (name.clone(), ty.clone()))
|
2624
|
+
.collect::<IndexMap<_, _>>();
|
2625
|
+
for ty in a_exports.values_mut() {
|
2626
|
+
this.a.remap_component_entity(ty, &mut import_mapping);
|
2627
|
+
}
|
2628
|
+
this.open_instance_type(&a_exports, *b, ExternKind::Export, offset)?;
|
2629
|
+
Ok(())
|
2630
|
+
})
|
2631
|
+
}
|
2632
|
+
(Component(_), b) => bail!(offset, "expected {}, found component", b.desc()),
|
2633
|
+
}
|
2634
|
+
}
|
2635
|
+
|
2636
|
+
/// The building block for subtyping checks when components are
|
2637
|
+
/// instantiated and when components are tested if they're subtypes of each
|
2638
|
+
/// other.
|
2639
|
+
///
|
2640
|
+
/// This method takes a number of arguments:
|
2641
|
+
///
|
2642
|
+
/// * `a` - this is a list of typed items which can be thought of as
|
2643
|
+
/// concrete values to test against `b`.
|
2644
|
+
/// * `b` - this `TypeId` must point to `Type::Component`.
|
2645
|
+
/// * `kind` - indicates whether the `imports` or `exports` of `b` are
|
2646
|
+
/// being tested against for the values in `a`.
|
2647
|
+
/// * `offset` - the binary offset at which to report errors if one happens.
|
2648
|
+
///
|
2649
|
+
/// This will attempt to determine if the items in `a` satisfy the
|
2650
|
+
/// signature required by the `kind` items of `b`. For example component
|
2651
|
+
/// instantiation will have `a` as the list of arguments provided to
|
2652
|
+
/// instantiation, `b` is the component being instantiated, and `kind` is
|
2653
|
+
/// `ExternKind::Import`.
|
2654
|
+
///
|
2655
|
+
/// This function, if successful, will return a mapping of the resources in
|
2656
|
+
/// `b` to the resources in `a` provided. This mapping is guaranteed to
|
2657
|
+
/// contain all the resources for `b` (all imported resources for
|
2658
|
+
/// `ExternKind::Import` or all defined resources for `ExternKind::Export`).
|
2659
|
+
pub fn open_instance_type(
|
2660
|
+
&mut self,
|
2661
|
+
a: &IndexMap<String, ComponentEntityType>,
|
2662
|
+
b: TypeId,
|
2663
|
+
kind: ExternKind,
|
2664
|
+
offset: usize,
|
2665
|
+
) -> Result<Remapping> {
|
2666
|
+
// First, determine the mapping from resources in `b` to those supplied
|
2667
|
+
// by arguments in `a`.
|
2668
|
+
//
|
2669
|
+
// This loop will iterate over all the appropriate resources in `b`
|
2670
|
+
// and find the corresponding resource in `args`. The exact lists
|
2671
|
+
// in use here depend on the `kind` provided. This necessarily requires
|
2672
|
+
// a sequence of string lookups to find the corresponding items in each
|
2673
|
+
// list.
|
2674
|
+
//
|
2675
|
+
// The path to each resource in `resources` is precomputed as a list of
|
2676
|
+
// indexes. The first index is into `b`'s list of `entities`, and gives
|
2677
|
+
// the name that `b` assigns to the resource. Each subsequent index,
|
2678
|
+
// if present, means that this resource was present through a layer of
|
2679
|
+
// an instance type, and the index is into the instance type's exports.
|
2680
|
+
// More information about this can be found on
|
2681
|
+
// `ComponentState::imported_resources`.
|
2682
|
+
//
|
2683
|
+
// This loop will follow the list of indices for each resource and, at
|
2684
|
+
// the same time, walk through the arguments supplied to instantiating
|
2685
|
+
// the `component_type`. This means that within `component_type`
|
2686
|
+
// index-based lookups are performed while in `args` name-based
|
2687
|
+
// lookups are performed.
|
2688
|
+
//
|
2689
|
+
// Note that here it's possible that `args` doesn't actually supply the
|
2690
|
+
// correct type of import for each item since argument checking has
|
2691
|
+
// not proceeded yet. These type errors, however, aren't handled by
|
2692
|
+
// this loop and are deferred below to the main subtyping check. That
|
2693
|
+
// means that `mapping` won't necessarily have a mapping for all
|
2694
|
+
// imported resources into `component_type`, but that should be ok.
|
2695
|
+
let component_type = self.b[b].unwrap_component();
|
2696
|
+
let entities = match kind {
|
2697
|
+
ExternKind::Import => &component_type.imports,
|
2698
|
+
ExternKind::Export => &component_type.exports,
|
2699
|
+
};
|
2700
|
+
let resources = match kind {
|
2701
|
+
ExternKind::Import => &component_type.imported_resources,
|
2702
|
+
ExternKind::Export => &component_type.defined_resources,
|
2703
|
+
};
|
2704
|
+
let mut mapping = Remapping::default();
|
2705
|
+
'outer: for (resource, path) in resources.iter() {
|
2706
|
+
// Lookup the first path item in `imports` and the corresponding
|
2707
|
+
// entry in `args` by name.
|
2708
|
+
let (name, ty) = entities.get_index(path[0]).unwrap();
|
2709
|
+
let mut ty = *ty;
|
2710
|
+
let mut arg = a.get(name);
|
2711
|
+
|
2712
|
+
// Lookup all the subsequent `path` entries, if any, by index in
|
2713
|
+
// `ty` and by name in `arg`. Type errors in `arg` are skipped over
|
2714
|
+
// entirely.
|
2715
|
+
for i in path.iter().skip(1).copied() {
|
2716
|
+
let id = match ty {
|
2717
|
+
ComponentEntityType::Instance(id) => id,
|
2718
|
+
_ => unreachable!(),
|
2719
|
+
};
|
2720
|
+
let (name, next_ty) = self.b[id]
|
2721
|
+
.unwrap_component_instance()
|
2722
|
+
.exports
|
2723
|
+
.get_index(i)
|
2724
|
+
.unwrap();
|
2725
|
+
ty = *next_ty;
|
2726
|
+
arg = match arg {
|
2727
|
+
Some(ComponentEntityType::Instance(id)) => {
|
2728
|
+
self.a[*id].unwrap_component_instance().exports.get(name)
|
2729
|
+
}
|
2730
|
+
_ => continue 'outer,
|
2731
|
+
};
|
2732
|
+
}
|
2733
|
+
|
2734
|
+
// Double-check that `ty`, the leaf type of `component_type`, is
|
2735
|
+
// indeed the expected resource.
|
2736
|
+
if cfg!(debug_assertions) {
|
2737
|
+
let id = match ty {
|
2738
|
+
ComponentEntityType::Type { created, .. } => match &self.a[created] {
|
2739
|
+
Type::Resource(r) => *r,
|
2740
|
+
_ => unreachable!(),
|
2741
|
+
},
|
2742
|
+
_ => unreachable!(),
|
2743
|
+
};
|
2744
|
+
assert_eq!(id, *resource);
|
2745
|
+
}
|
2746
|
+
|
2747
|
+
// The leaf of `arg` should be a type which is a resource. If not
|
2748
|
+
// it's skipped and this'll wind up generating an error later on in
|
2749
|
+
// subtype checking below.
|
2750
|
+
if let Some(ComponentEntityType::Type { created, .. }) = arg {
|
2751
|
+
if let Type::Resource(r) = &self.b[*created] {
|
2752
|
+
mapping.resources.insert(*resource, *r);
|
2753
|
+
}
|
2754
|
+
}
|
2755
|
+
}
|
2756
|
+
|
2757
|
+
// Now that a mapping from the resources in `b` to the resources in `a`
|
2758
|
+
// has been determined it's possible to perform the actual subtype
|
2759
|
+
// check.
|
2760
|
+
//
|
2761
|
+
// This subtype check notably needs to ensure that all resource types
|
2762
|
+
// line up. To achieve this the `mapping` previously calculated is used
|
2763
|
+
// to perform a substitution on each component entity type.
|
2764
|
+
//
|
2765
|
+
// The first loop here performs a name lookup to create a list of
|
2766
|
+
// values from `a` to expected items in `b`. Once the list is created
|
2767
|
+
// the substitution check is performed on each element.
|
2768
|
+
let mut to_typecheck = Vec::new();
|
2769
|
+
for (name, expected) in entities.iter() {
|
2770
|
+
match a.get(name) {
|
2771
|
+
Some(arg) => to_typecheck.push((arg.clone(), expected.clone())),
|
2772
|
+
None => bail!(offset, "missing {} named `{name}`", kind.desc()),
|
2773
|
+
}
|
2774
|
+
}
|
2775
|
+
let mut type_map = HashMap::new();
|
2776
|
+
for (i, (actual, expected)) in to_typecheck.into_iter().enumerate() {
|
2777
|
+
let result = self.mark(|this| {
|
2778
|
+
let mut expected = expected;
|
2779
|
+
this.b.remap_component_entity(&mut expected, &mut mapping);
|
2780
|
+
mapping.types.clear();
|
2781
|
+
this.component_entity_type(&actual, &expected, offset)
|
2782
|
+
});
|
2783
|
+
let err = match result {
|
2784
|
+
Ok(()) => {
|
2785
|
+
// On a successful type-check record a mapping of
|
2786
|
+
// type-to-type in `type_map` for any type imports that were
|
2787
|
+
// satisfied. This is then used afterwards when performing
|
2788
|
+
// type substitution to remap all component-local types to
|
2789
|
+
// those that were provided in the imports.
|
2790
|
+
self.register_type_renamings(actual, expected, &mut type_map);
|
2791
|
+
continue;
|
2792
|
+
}
|
2793
|
+
Err(e) => e,
|
2794
|
+
};
|
2795
|
+
|
2796
|
+
// If an error happens then attach the name of the entity to the
|
2797
|
+
// error message using the `i` iteration counter.
|
2798
|
+
let component_type = self.b[b].unwrap_component();
|
2799
|
+
let entities = match kind {
|
2800
|
+
ExternKind::Import => &component_type.imports,
|
2801
|
+
ExternKind::Export => &component_type.exports,
|
2802
|
+
};
|
2803
|
+
let (name, _) = entities.get_index(i).unwrap();
|
2804
|
+
return Err(err.with_context(|| format!("type mismatch for {} `{name}`", kind.desc())));
|
2805
|
+
}
|
2806
|
+
mapping.types = type_map;
|
2807
|
+
Ok(mapping)
|
2808
|
+
}
|
2809
|
+
|
2810
|
+
pub(crate) fn entity_type(&self, a: &EntityType, b: &EntityType, offset: usize) -> Result<()> {
|
2811
|
+
macro_rules! limits_match {
|
2812
|
+
($a:expr, $b:expr) => {{
|
2813
|
+
let a = $a;
|
2814
|
+
let b = $b;
|
2815
|
+
a.initial >= b.initial
|
2816
|
+
&& match b.maximum {
|
2817
|
+
Some(b_max) => match a.maximum {
|
2818
|
+
Some(a_max) => a_max <= b_max,
|
2819
|
+
None => false,
|
2820
|
+
},
|
2821
|
+
None => true,
|
2822
|
+
}
|
2823
|
+
}};
|
2824
|
+
}
|
2825
|
+
|
2826
|
+
match (a, b) {
|
2827
|
+
(EntityType::Func(a), EntityType::Func(b)) => {
|
2828
|
+
self.func_type(self.a[*a].unwrap_func(), self.b[*b].unwrap_func(), offset)
|
2829
|
+
}
|
2830
|
+
(EntityType::Func(_), b) => bail!(offset, "expected {}, found func", b.desc()),
|
2831
|
+
(EntityType::Table(a), EntityType::Table(b)) => {
|
2832
|
+
if a.element_type != b.element_type {
|
2833
|
+
bail!(
|
2834
|
+
offset,
|
2835
|
+
"expected table element type {}, found {}",
|
2836
|
+
b.element_type,
|
2837
|
+
a.element_type,
|
2838
|
+
)
|
2839
|
+
}
|
2840
|
+
if limits_match!(a, b) {
|
2841
|
+
Ok(())
|
2842
|
+
} else {
|
2843
|
+
bail!(offset, "mismatch in table limits")
|
2844
|
+
}
|
2845
|
+
}
|
2846
|
+
(EntityType::Table(_), b) => bail!(offset, "expected {}, found table", b.desc()),
|
2847
|
+
(EntityType::Memory(a), EntityType::Memory(b)) => {
|
2848
|
+
if a.shared != b.shared {
|
2849
|
+
bail!(offset, "mismatch in the shared flag for memories")
|
2850
|
+
}
|
2851
|
+
if a.memory64 != b.memory64 {
|
2852
|
+
bail!(offset, "mismatch in index type used for memories")
|
2853
|
+
}
|
2854
|
+
if limits_match!(a, b) {
|
2855
|
+
Ok(())
|
2856
|
+
} else {
|
2857
|
+
bail!(offset, "mismatch in memory limits")
|
2858
|
+
}
|
2859
|
+
}
|
2860
|
+
(EntityType::Memory(_), b) => bail!(offset, "expected {}, found memory", b.desc()),
|
2861
|
+
(EntityType::Global(a), EntityType::Global(b)) => {
|
2862
|
+
if a.mutable != b.mutable {
|
2863
|
+
bail!(offset, "global types differ in mutability")
|
2864
|
+
}
|
2865
|
+
if a.content_type == b.content_type {
|
2866
|
+
Ok(())
|
2867
|
+
} else {
|
2868
|
+
bail!(
|
2869
|
+
offset,
|
2870
|
+
"expected global type {}, found {}",
|
2871
|
+
b.content_type,
|
2872
|
+
a.content_type,
|
2873
|
+
)
|
2874
|
+
}
|
2875
|
+
}
|
2876
|
+
(EntityType::Global(_), b) => bail!(offset, "expected {}, found global", b.desc()),
|
2877
|
+
(EntityType::Tag(a), EntityType::Tag(b)) => {
|
2878
|
+
self.func_type(self.a[*a].unwrap_func(), self.b[*b].unwrap_func(), offset)
|
2879
|
+
}
|
2880
|
+
(EntityType::Tag(_), b) => bail!(offset, "expected {}, found tag", b.desc()),
|
2881
|
+
}
|
2882
|
+
}
|
2883
|
+
|
2884
|
+
fn func_type(&self, a: &FuncType, b: &FuncType, offset: usize) -> Result<()> {
|
2885
|
+
if a == b {
|
2886
|
+
Ok(())
|
2887
|
+
} else {
|
2888
|
+
bail!(
|
2889
|
+
offset,
|
2890
|
+
"expected: {}\n\
|
2891
|
+
found: {}",
|
2892
|
+
b.desc(),
|
2893
|
+
a.desc(),
|
2894
|
+
)
|
2895
|
+
}
|
2896
|
+
}
|
2897
|
+
|
2898
|
+
pub(crate) fn component_val_type(
|
2899
|
+
&self,
|
2900
|
+
a: &ComponentValType,
|
2901
|
+
b: &ComponentValType,
|
2902
|
+
offset: usize,
|
2903
|
+
) -> Result<()> {
|
2904
|
+
match (a, b) {
|
2905
|
+
(ComponentValType::Primitive(a), ComponentValType::Primitive(b)) => {
|
2906
|
+
self.primitive_val_type(*a, *b, offset)
|
2907
|
+
}
|
2908
|
+
(ComponentValType::Type(a), ComponentValType::Type(b)) => self.component_defined_type(
|
2909
|
+
self.a[*a].unwrap_defined(),
|
2910
|
+
self.b[*b].unwrap_defined(),
|
2911
|
+
offset,
|
2912
|
+
),
|
2913
|
+
(ComponentValType::Primitive(a), ComponentValType::Type(b)) => {
|
2914
|
+
match self.b[*b].unwrap_defined() {
|
2915
|
+
ComponentDefinedType::Primitive(b) => self.primitive_val_type(*a, *b, offset),
|
2916
|
+
b => bail!(offset, "expected {}, found {a}", b.desc()),
|
2917
|
+
}
|
2918
|
+
}
|
2919
|
+
(ComponentValType::Type(a), ComponentValType::Primitive(b)) => {
|
2920
|
+
match self.a[*a].unwrap_defined() {
|
2921
|
+
ComponentDefinedType::Primitive(a) => self.primitive_val_type(*a, *b, offset),
|
2922
|
+
a => bail!(offset, "expected {b}, found {}", a.desc()),
|
2923
|
+
}
|
2924
|
+
}
|
2925
|
+
}
|
2926
|
+
}
|
2927
|
+
|
2928
|
+
fn component_defined_type(
|
2929
|
+
&self,
|
2930
|
+
a: &ComponentDefinedType,
|
2931
|
+
b: &ComponentDefinedType,
|
2932
|
+
offset: usize,
|
2933
|
+
) -> Result<()> {
|
2934
|
+
use ComponentDefinedType::*;
|
2935
|
+
|
2936
|
+
// Note that the implementation of subtyping here diverges from the
|
2937
|
+
// upstream specification intentionally, see the documentation on
|
2938
|
+
// function subtyping for more information.
|
2939
|
+
match (a, b) {
|
2940
|
+
(Primitive(a), Primitive(b)) => self.primitive_val_type(*a, *b, offset),
|
2941
|
+
(Primitive(a), b) => bail!(offset, "expected {}, found {a}", b.desc()),
|
2942
|
+
(Record(a), Record(b)) => {
|
2943
|
+
if a.fields.len() != b.fields.len() {
|
2944
|
+
bail!(
|
2945
|
+
offset,
|
2946
|
+
"expected {} fields, found {}",
|
2947
|
+
b.fields.len(),
|
2948
|
+
a.fields.len(),
|
2949
|
+
);
|
2950
|
+
}
|
2951
|
+
|
2952
|
+
for ((aname, a), (bname, b)) in a.fields.iter().zip(b.fields.iter()) {
|
2953
|
+
if aname != bname {
|
2954
|
+
bail!(offset, "expected field name `{bname}`, found `{aname}`");
|
2955
|
+
}
|
2956
|
+
self.component_val_type(a, b, offset)
|
2957
|
+
.with_context(|| format!("type mismatch in record field `{aname}`"))?;
|
2958
|
+
}
|
2959
|
+
Ok(())
|
2960
|
+
}
|
2961
|
+
(Record(_), b) => bail!(offset, "expected {}, found record", b.desc()),
|
2962
|
+
(Variant(a), Variant(b)) => {
|
2963
|
+
if a.cases.len() != b.cases.len() {
|
2964
|
+
bail!(
|
2965
|
+
offset,
|
2966
|
+
"expected {} cases, found {}",
|
2967
|
+
b.cases.len(),
|
2968
|
+
a.cases.len(),
|
2969
|
+
);
|
2970
|
+
}
|
2971
|
+
for ((aname, a), (bname, b)) in a.cases.iter().zip(b.cases.iter()) {
|
2972
|
+
if aname != bname {
|
2973
|
+
bail!(offset, "expected case named `{bname}`, found `{aname}`");
|
2974
|
+
}
|
2975
|
+
match (&a.ty, &b.ty) {
|
2976
|
+
(Some(a), Some(b)) => self
|
2977
|
+
.component_val_type(a, b, offset)
|
2978
|
+
.with_context(|| format!("type mismatch in variant case `{aname}`"))?,
|
2979
|
+
(None, None) => {}
|
2980
|
+
(None, Some(_)) => {
|
2981
|
+
bail!(offset, "expected case `{aname}` to have a type, found none")
|
2982
|
+
}
|
2983
|
+
(Some(_), None) => bail!(offset, "expected case `{aname}` to have no type"),
|
2984
|
+
}
|
2985
|
+
}
|
2986
|
+
Ok(())
|
2987
|
+
}
|
2988
|
+
(Variant(_), b) => bail!(offset, "expected {}, found variant", b.desc()),
|
2989
|
+
(List(a), List(b)) | (Option(a), Option(b)) => self.component_val_type(a, b, offset),
|
2990
|
+
(List(_), b) => bail!(offset, "expected {}, found list", b.desc()),
|
2991
|
+
(Option(_), b) => bail!(offset, "expected {}, found option", b.desc()),
|
2992
|
+
(Tuple(a), Tuple(b)) => {
|
2993
|
+
if a.types.len() != b.types.len() {
|
2994
|
+
bail!(
|
2995
|
+
offset,
|
2996
|
+
"expected {} types, found {}",
|
2997
|
+
b.types.len(),
|
2998
|
+
a.types.len(),
|
2999
|
+
);
|
3000
|
+
}
|
3001
|
+
for (i, (a, b)) in a.types.iter().zip(b.types.iter()).enumerate() {
|
3002
|
+
self.component_val_type(a, b, offset)
|
3003
|
+
.with_context(|| format!("type mismatch in tuple field {i}"))?;
|
3004
|
+
}
|
3005
|
+
Ok(())
|
3006
|
+
}
|
3007
|
+
(Tuple(_), b) => bail!(offset, "expected {}, found tuple", b.desc()),
|
3008
|
+
(Union(a), Union(b)) => {
|
3009
|
+
if a.types.len() != b.types.len() {
|
3010
|
+
bail!(
|
3011
|
+
offset,
|
3012
|
+
"expected {} types, found {}",
|
3013
|
+
b.types.len(),
|
3014
|
+
a.types.len(),
|
3015
|
+
);
|
3016
|
+
}
|
3017
|
+
for (i, (a, b)) in a.types.iter().zip(b.types.iter()).enumerate() {
|
3018
|
+
self.component_val_type(a, b, offset)
|
3019
|
+
.with_context(|| format!("type mismatch in tuple field {i}"))?;
|
3020
|
+
}
|
3021
|
+
Ok(())
|
3022
|
+
}
|
3023
|
+
(Union(_), b) => bail!(offset, "expected {}, found union", b.desc()),
|
3024
|
+
(at @ Flags(a), Flags(b)) | (at @ Enum(a), Enum(b)) => {
|
3025
|
+
let desc = match at {
|
3026
|
+
Flags(_) => "flags",
|
3027
|
+
_ => "enum",
|
3028
|
+
};
|
3029
|
+
if a.len() == b.len() && a.iter().eq(b.iter()) {
|
3030
|
+
Ok(())
|
3031
|
+
} else {
|
3032
|
+
bail!(offset, "mismatch in {desc} elements")
|
3033
|
+
}
|
3034
|
+
}
|
3035
|
+
(Flags(_), b) => bail!(offset, "expected {}, found flags", b.desc()),
|
3036
|
+
(Enum(_), b) => bail!(offset, "expected {}, found enum", b.desc()),
|
3037
|
+
(Result { ok: ao, err: ae }, Result { ok: bo, err: be }) => {
|
3038
|
+
match (ao, bo) {
|
3039
|
+
(None, None) => {}
|
3040
|
+
(Some(a), Some(b)) => self
|
3041
|
+
.component_val_type(a, b, offset)
|
3042
|
+
.with_context(|| "type mismatch in ok variant")?,
|
3043
|
+
(None, Some(_)) => bail!(offset, "expected ok type, but found none"),
|
3044
|
+
(Some(_), None) => bail!(offset, "expected ok type to not be present"),
|
3045
|
+
}
|
3046
|
+
match (ae, be) {
|
3047
|
+
(None, None) => {}
|
3048
|
+
(Some(a), Some(b)) => self
|
3049
|
+
.component_val_type(a, b, offset)
|
3050
|
+
.with_context(|| "type mismatch in err variant")?,
|
3051
|
+
(None, Some(_)) => bail!(offset, "expected err type, but found none"),
|
3052
|
+
(Some(_), None) => bail!(offset, "expected err type to not be present"),
|
3053
|
+
}
|
3054
|
+
Ok(())
|
3055
|
+
}
|
3056
|
+
(Result { .. }, b) => bail!(offset, "expected {}, found result", b.desc()),
|
3057
|
+
(Own(a), Own(b)) | (Borrow(a), Borrow(b)) => {
|
3058
|
+
let a = self.a[*a].unwrap_resource();
|
3059
|
+
let b = self.b[*b].unwrap_resource();
|
3060
|
+
if a == b {
|
3061
|
+
Ok(())
|
3062
|
+
} else {
|
3063
|
+
bail!(offset, "resource types are not the same")
|
3064
|
+
}
|
3065
|
+
}
|
3066
|
+
(Own(_), b) => bail!(offset, "expected {}, found own", b.desc()),
|
3067
|
+
(Borrow(_), b) => bail!(offset, "expected {}, found borrow", b.desc()),
|
3068
|
+
}
|
3069
|
+
}
|
3070
|
+
|
3071
|
+
fn primitive_val_type(
|
3072
|
+
&self,
|
3073
|
+
a: PrimitiveValType,
|
3074
|
+
b: PrimitiveValType,
|
3075
|
+
offset: usize,
|
3076
|
+
) -> Result<()> {
|
3077
|
+
// Note that this intentionally diverges from the upstream specification
|
3078
|
+
// at this time and only considers exact equality for subtyping
|
3079
|
+
// relationships.
|
3080
|
+
//
|
3081
|
+
// More information can be found in the subtyping implementation for
|
3082
|
+
// component functions.
|
3083
|
+
if a == b {
|
3084
|
+
Ok(())
|
3085
|
+
} else {
|
3086
|
+
bail!(offset, "expected primitive `{b}` found primitive `{a}`")
|
3087
|
+
}
|
3088
|
+
}
|
3089
|
+
|
3090
|
+
fn register_type_renamings(
|
3091
|
+
&self,
|
3092
|
+
actual: ComponentEntityType,
|
3093
|
+
expected: ComponentEntityType,
|
3094
|
+
type_map: &mut HashMap<TypeId, TypeId>,
|
3095
|
+
) {
|
3096
|
+
match (expected, actual) {
|
3097
|
+
(
|
3098
|
+
ComponentEntityType::Type {
|
3099
|
+
created: expected, ..
|
3100
|
+
},
|
3101
|
+
ComponentEntityType::Type {
|
3102
|
+
created: actual, ..
|
3103
|
+
},
|
3104
|
+
) => {
|
3105
|
+
let prev = type_map.insert(expected, actual);
|
3106
|
+
assert!(prev.is_none());
|
3107
|
+
}
|
3108
|
+
(ComponentEntityType::Instance(expected), ComponentEntityType::Instance(actual)) => {
|
3109
|
+
let actual = self.a[actual].unwrap_component_instance();
|
3110
|
+
for (name, expected) in self.b[expected].unwrap_component_instance().exports.iter()
|
3111
|
+
{
|
3112
|
+
let actual = actual.exports[name];
|
3113
|
+
self.register_type_renamings(actual, *expected, type_map);
|
3114
|
+
}
|
3115
|
+
}
|
3116
|
+
_ => {}
|
3117
|
+
}
|
3118
|
+
}
|
3119
|
+
}
|
3120
|
+
|
3121
|
+
/// A helper typed used purely during subtyping as part of `SubtypeCx`.
|
3122
|
+
///
|
3123
|
+
/// This takes a `types` list as input which is the "base" of the ids that can
|
3124
|
+
/// be indexed through this arena. All future types pushed into this, if any,
|
3125
|
+
/// are stored in `self.list`.
|
3126
|
+
///
|
3127
|
+
/// This is intended to have arena-like behavior where everything pushed onto
|
3128
|
+
/// `self.list` is thrown away after a subtyping computation is performed. All
|
3129
|
+
/// new types pushed into this arena are purely temporary.
|
3130
|
+
pub(crate) struct SubtypeArena<'a> {
|
3131
|
+
types: &'a TypeList,
|
3132
|
+
list: Vec<Type>,
|
3133
|
+
}
|
3134
|
+
|
3135
|
+
impl<'a> SubtypeArena<'a> {
|
3136
|
+
fn new(types: &'a TypeList) -> SubtypeArena<'a> {
|
3137
|
+
SubtypeArena {
|
3138
|
+
types,
|
3139
|
+
list: Vec::new(),
|
3140
|
+
}
|
3141
|
+
}
|
3142
|
+
}
|
3143
|
+
|
3144
|
+
impl Index<TypeId> for SubtypeArena<'_> {
|
3145
|
+
type Output = Type;
|
3146
|
+
|
3147
|
+
fn index(&self, id: TypeId) -> &Type {
|
3148
|
+
if id.index < self.types.len() {
|
3149
|
+
&self.types[id]
|
3150
|
+
} else {
|
3151
|
+
&self.list[id.index - self.types.len()]
|
3152
|
+
}
|
3153
|
+
}
|
3154
|
+
}
|
3155
|
+
|
3156
|
+
impl Remap for SubtypeArena<'_> {
|
3157
|
+
fn push_ty(&mut self, ty: Type) -> TypeId {
|
3158
|
+
let index = self.list.len() + self.types.len();
|
3159
|
+
let type_size = ty.type_size();
|
3160
|
+
self.list.push(ty);
|
3161
|
+
TypeId {
|
3162
|
+
index,
|
3163
|
+
type_size,
|
3164
|
+
unique_id: 0,
|
3165
|
+
}
|
3166
|
+
}
|
3167
|
+
}
|
3168
|
+
|
3169
|
+
/// Helper trait for adding contextual information to an error, modeled after
|
3170
|
+
/// `anyhow::Context`.
|
3171
|
+
pub(crate) trait Context {
|
3172
|
+
fn with_context<S>(self, context: impl FnOnce() -> S) -> Self
|
3173
|
+
where
|
3174
|
+
S: Into<String>;
|
3175
|
+
}
|
3176
|
+
|
3177
|
+
impl<T> Context for Result<T> {
|
3178
|
+
fn with_context<S>(self, context: impl FnOnce() -> S) -> Self
|
3179
|
+
where
|
3180
|
+
S: Into<String>,
|
3181
|
+
{
|
3182
|
+
match self {
|
3183
|
+
Ok(val) => Ok(val),
|
3184
|
+
Err(e) => Err(e.with_context(context)),
|
3185
|
+
}
|
3186
|
+
}
|
3187
|
+
}
|
3188
|
+
|
3189
|
+
impl Context for BinaryReaderError {
|
3190
|
+
fn with_context<S>(mut self, context: impl FnOnce() -> S) -> Self
|
3191
|
+
where
|
3192
|
+
S: Into<String>,
|
3193
|
+
{
|
3194
|
+
self.add_context(context().into());
|
3195
|
+
self
|
3196
|
+
}
|
3197
|
+
}
|