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
@@ -1,2355 +0,0 @@
|
|
1
|
-
use crate::store::{StoreData, StoreOpaque, Stored};
|
2
|
-
use crate::{
|
3
|
-
AsContext, AsContextMut, CallHook, Engine, Extern, FuncType, Instance, Module, StoreContext,
|
4
|
-
StoreContextMut, Val, ValRaw, ValType,
|
5
|
-
};
|
6
|
-
use anyhow::{bail, Context as _, Error, Result};
|
7
|
-
use std::ffi::c_void;
|
8
|
-
use std::future::Future;
|
9
|
-
use std::mem;
|
10
|
-
use std::panic::{self, AssertUnwindSafe};
|
11
|
-
use std::pin::Pin;
|
12
|
-
use std::ptr::{self, NonNull};
|
13
|
-
use std::sync::Arc;
|
14
|
-
use wasmtime_runtime::{
|
15
|
-
ExportFunction, SendSyncPtr, StoreBox, VMArrayCallHostFuncContext, VMContext, VMFuncRef,
|
16
|
-
VMFunctionImport, VMNativeCallHostFuncContext, VMOpaqueContext, VMSharedSignatureIndex,
|
17
|
-
};
|
18
|
-
|
19
|
-
/// A WebAssembly function which can be called.
|
20
|
-
///
|
21
|
-
/// This type can represent either an exported function from a WebAssembly
|
22
|
-
/// module or a host-defined function which can be used to satisfy an import of
|
23
|
-
/// a module. [`Func`] and can be used to both instantiate an [`Instance`] as
|
24
|
-
/// well as be extracted from an [`Instance`].
|
25
|
-
///
|
26
|
-
/// [`Instance`]: crate::Instance
|
27
|
-
///
|
28
|
-
/// A [`Func`] "belongs" to the store that it was originally created within.
|
29
|
-
/// Operations on a [`Func`] only work with the store it belongs to, and if
|
30
|
-
/// another store is passed in by accident then methods will panic.
|
31
|
-
///
|
32
|
-
/// # `Func` and `async`
|
33
|
-
///
|
34
|
-
/// Functions from the perspective of WebAssembly are always synchronous. You
|
35
|
-
/// might have an `async` function in Rust, however, which you'd like to make
|
36
|
-
/// available from WebAssembly. Wasmtime supports asynchronously calling
|
37
|
-
/// WebAssembly through native stack switching. You can get some more
|
38
|
-
/// information about [asynchronous configs](crate::Config::async_support), but
|
39
|
-
/// from the perspective of `Func` it's important to know that whether or not
|
40
|
-
/// your [`Store`](crate::Store) is asynchronous will dictate whether you call
|
41
|
-
/// functions through [`Func::call`] or [`Func::call_async`] (or the typed
|
42
|
-
/// wrappers such as [`TypedFunc::call`] vs [`TypedFunc::call_async`]).
|
43
|
-
///
|
44
|
-
/// # To `Func::call` or to `Func::typed().call()`
|
45
|
-
///
|
46
|
-
/// There's a 2x2 matrix of methods to call [`Func`]. Invocations can either be
|
47
|
-
/// asynchronous or synchronous. They can also be statically typed or not.
|
48
|
-
/// Whether or not an invocation is asynchronous is indicated via the method
|
49
|
-
/// being `async` and [`call_async`](Func::call_async) being the entry point.
|
50
|
-
/// Otherwise for statically typed or not your options are:
|
51
|
-
///
|
52
|
-
/// * Dynamically typed - if you don't statically know the signature of the
|
53
|
-
/// function that you're calling you'll be using [`Func::call`] or
|
54
|
-
/// [`Func::call_async`]. These functions take a variable-length slice of
|
55
|
-
/// "boxed" arguments in their [`Val`] representation. Additionally the
|
56
|
-
/// results are returned as an owned slice of [`Val`]. These methods are not
|
57
|
-
/// optimized due to the dynamic type checks that must occur, in addition to
|
58
|
-
/// some dynamic allocations for where to put all the arguments. While this
|
59
|
-
/// allows you to call all possible wasm function signatures, if you're
|
60
|
-
/// looking for a speedier alternative you can also use...
|
61
|
-
///
|
62
|
-
/// * Statically typed - if you statically know the type signature of the wasm
|
63
|
-
/// function you're calling, then you'll want to use the [`Func::typed`]
|
64
|
-
/// method to acquire an instance of [`TypedFunc`]. This structure is static proof
|
65
|
-
/// that the underlying wasm function has the ascripted type, and type
|
66
|
-
/// validation is only done once up-front. The [`TypedFunc::call`] and
|
67
|
-
/// [`TypedFunc::call_async`] methods are much more efficient than [`Func::call`]
|
68
|
-
/// and [`Func::call_async`] because the type signature is statically known.
|
69
|
-
/// This eschews runtime checks as much as possible to get into wasm as fast
|
70
|
-
/// as possible.
|
71
|
-
///
|
72
|
-
/// # Examples
|
73
|
-
///
|
74
|
-
/// One way to get a `Func` is from an [`Instance`] after you've instantiated
|
75
|
-
/// it:
|
76
|
-
///
|
77
|
-
/// ```
|
78
|
-
/// # use wasmtime::*;
|
79
|
-
/// # fn main() -> anyhow::Result<()> {
|
80
|
-
/// let engine = Engine::default();
|
81
|
-
/// let module = Module::new(&engine, r#"(module (func (export "foo")))"#)?;
|
82
|
-
/// let mut store = Store::new(&engine, ());
|
83
|
-
/// let instance = Instance::new(&mut store, &module, &[])?;
|
84
|
-
/// let foo = instance.get_func(&mut store, "foo").expect("export wasn't a function");
|
85
|
-
///
|
86
|
-
/// // Work with `foo` as a `Func` at this point, such as calling it
|
87
|
-
/// // dynamically...
|
88
|
-
/// match foo.call(&mut store, &[], &mut []) {
|
89
|
-
/// Ok(()) => { /* ... */ }
|
90
|
-
/// Err(trap) => {
|
91
|
-
/// panic!("execution of `foo` resulted in a wasm trap: {}", trap);
|
92
|
-
/// }
|
93
|
-
/// }
|
94
|
-
/// foo.call(&mut store, &[], &mut [])?;
|
95
|
-
///
|
96
|
-
/// // ... or we can make a static assertion about its signature and call it.
|
97
|
-
/// // Our first call here can fail if the signatures don't match, and then the
|
98
|
-
/// // second call can fail if the function traps (like the `match` above).
|
99
|
-
/// let foo = foo.typed::<(), ()>(&store)?;
|
100
|
-
/// foo.call(&mut store, ())?;
|
101
|
-
/// # Ok(())
|
102
|
-
/// # }
|
103
|
-
/// ```
|
104
|
-
///
|
105
|
-
/// You can also use the [`wrap` function](Func::wrap) to create a
|
106
|
-
/// `Func`
|
107
|
-
///
|
108
|
-
/// ```
|
109
|
-
/// # use wasmtime::*;
|
110
|
-
/// # fn main() -> anyhow::Result<()> {
|
111
|
-
/// let mut store = Store::<()>::default();
|
112
|
-
///
|
113
|
-
/// // Create a custom `Func` which can execute arbitrary code inside of the
|
114
|
-
/// // closure.
|
115
|
-
/// let add = Func::wrap(&mut store, |a: i32, b: i32| -> i32 { a + b });
|
116
|
-
///
|
117
|
-
/// // Next we can hook that up to a wasm module which uses it.
|
118
|
-
/// let module = Module::new(
|
119
|
-
/// store.engine(),
|
120
|
-
/// r#"
|
121
|
-
/// (module
|
122
|
-
/// (import "" "" (func $add (param i32 i32) (result i32)))
|
123
|
-
/// (func (export "call_add_twice") (result i32)
|
124
|
-
/// i32.const 1
|
125
|
-
/// i32.const 2
|
126
|
-
/// call $add
|
127
|
-
/// i32.const 3
|
128
|
-
/// i32.const 4
|
129
|
-
/// call $add
|
130
|
-
/// i32.add))
|
131
|
-
/// "#,
|
132
|
-
/// )?;
|
133
|
-
/// let instance = Instance::new(&mut store, &module, &[add.into()])?;
|
134
|
-
/// let call_add_twice = instance.get_typed_func::<(), i32>(&mut store, "call_add_twice")?;
|
135
|
-
///
|
136
|
-
/// assert_eq!(call_add_twice.call(&mut store, ())?, 10);
|
137
|
-
/// # Ok(())
|
138
|
-
/// # }
|
139
|
-
/// ```
|
140
|
-
///
|
141
|
-
/// Or you could also create an entirely dynamic `Func`!
|
142
|
-
///
|
143
|
-
/// ```
|
144
|
-
/// # use wasmtime::*;
|
145
|
-
/// # fn main() -> anyhow::Result<()> {
|
146
|
-
/// let mut store = Store::<()>::default();
|
147
|
-
///
|
148
|
-
/// // Here we need to define the type signature of our `Double` function and
|
149
|
-
/// // then wrap it up in a `Func`
|
150
|
-
/// let double_type = wasmtime::FuncType::new(
|
151
|
-
/// [wasmtime::ValType::I32].iter().cloned(),
|
152
|
-
/// [wasmtime::ValType::I32].iter().cloned(),
|
153
|
-
/// );
|
154
|
-
/// let double = Func::new(&mut store, double_type, |_, params, results| {
|
155
|
-
/// let mut value = params[0].unwrap_i32();
|
156
|
-
/// value *= 2;
|
157
|
-
/// results[0] = value.into();
|
158
|
-
/// Ok(())
|
159
|
-
/// });
|
160
|
-
///
|
161
|
-
/// let module = Module::new(
|
162
|
-
/// store.engine(),
|
163
|
-
/// r#"
|
164
|
-
/// (module
|
165
|
-
/// (import "" "" (func $double (param i32) (result i32)))
|
166
|
-
/// (func $start
|
167
|
-
/// i32.const 1
|
168
|
-
/// call $double
|
169
|
-
/// drop)
|
170
|
-
/// (start $start))
|
171
|
-
/// "#,
|
172
|
-
/// )?;
|
173
|
-
/// let instance = Instance::new(&mut store, &module, &[double.into()])?;
|
174
|
-
/// // .. work with `instance` if necessary
|
175
|
-
/// # Ok(())
|
176
|
-
/// # }
|
177
|
-
/// ```
|
178
|
-
#[derive(Copy, Clone, Debug)]
|
179
|
-
#[repr(transparent)] // here for the C API
|
180
|
-
pub struct Func(Stored<FuncData>);
|
181
|
-
|
182
|
-
pub(crate) struct FuncData {
|
183
|
-
kind: FuncKind,
|
184
|
-
|
185
|
-
// A pointer to the in-store `VMFuncRef` for this function, if
|
186
|
-
// any.
|
187
|
-
//
|
188
|
-
// When a function is passed to Wasm but doesn't have a Wasm-to-native
|
189
|
-
// trampoline, we have to patch it in. But that requires mutating the
|
190
|
-
// `VMFuncRef`, and this function could be shared across
|
191
|
-
// threads. So we instead copy and pin the `VMFuncRef` into
|
192
|
-
// `StoreOpaque::func_refs`, where we can safely patch the field without
|
193
|
-
// worrying about synchronization and we hold a pointer to it here so we can
|
194
|
-
// reuse it rather than re-copy if it is passed to Wasm again.
|
195
|
-
in_store_func_ref: Option<SendSyncPtr<VMFuncRef>>,
|
196
|
-
|
197
|
-
// This is somewhat expensive to load from the `Engine` and in most
|
198
|
-
// optimized use cases (e.g. `TypedFunc`) it's not actually needed or it's
|
199
|
-
// only needed rarely. To handle that this is an optionally-contained field
|
200
|
-
// which is lazily loaded into as part of `Func::call`.
|
201
|
-
//
|
202
|
-
// Also note that this is intentionally placed behind a pointer to keep it
|
203
|
-
// small as `FuncData` instances are often inserted into a `Store`.
|
204
|
-
ty: Option<Box<FuncType>>,
|
205
|
-
}
|
206
|
-
|
207
|
-
/// The three ways that a function can be created and referenced from within a
|
208
|
-
/// store.
|
209
|
-
enum FuncKind {
|
210
|
-
/// A function already owned by the store via some other means. This is
|
211
|
-
/// used, for example, when creating a `Func` from an instance's exported
|
212
|
-
/// function. The instance's `InstanceHandle` is already owned by the store
|
213
|
-
/// and we just have some pointers into that which represent how to call the
|
214
|
-
/// function.
|
215
|
-
StoreOwned { export: ExportFunction },
|
216
|
-
|
217
|
-
/// A function is shared across possibly other stores, hence the `Arc`. This
|
218
|
-
/// variant happens when a `Linker`-defined function is instantiated within
|
219
|
-
/// a `Store` (e.g. via `Linker::get` or similar APIs). The `Arc` here
|
220
|
-
/// indicates that there's some number of other stores holding this function
|
221
|
-
/// too, so dropping this may not deallocate the underlying
|
222
|
-
/// `InstanceHandle`.
|
223
|
-
SharedHost(Arc<HostFunc>),
|
224
|
-
|
225
|
-
/// A uniquely-owned host function within a `Store`. This comes about with
|
226
|
-
/// `Func::new` or similar APIs. The `HostFunc` internally owns the
|
227
|
-
/// `InstanceHandle` and that will get dropped when this `HostFunc` itself
|
228
|
-
/// is dropped.
|
229
|
-
///
|
230
|
-
/// Note that this is intentionally placed behind a `Box` to minimize the
|
231
|
-
/// size of this enum since the most common variant for high-peformance
|
232
|
-
/// situations is `SharedHost` and `StoreOwned`, so this ideally isn't
|
233
|
-
/// larger than those two.
|
234
|
-
Host(Box<HostFunc>),
|
235
|
-
|
236
|
-
/// A reference to a `HostFunc`, but one that's "rooted" in the `Store`
|
237
|
-
/// itself.
|
238
|
-
///
|
239
|
-
/// This variant is created when an `InstancePre<T>` is instantiated in to a
|
240
|
-
/// `Store<T>`. In that situation the `InstancePre<T>` already has a list of
|
241
|
-
/// host functions that are packaged up in an `Arc`, so the `Arc<[T]>` is
|
242
|
-
/// cloned once into the `Store` to avoid each individual function requiring
|
243
|
-
/// an `Arc::clone`.
|
244
|
-
///
|
245
|
-
/// The lifetime management of this type is `unsafe` because
|
246
|
-
/// `RootedHostFunc` is a small wrapper around `NonNull<HostFunc>`. To be
|
247
|
-
/// safe this is required that the memory of the host function is pinned
|
248
|
-
/// elsewhere (e.g. the `Arc` in the `Store`).
|
249
|
-
RootedHost(RootedHostFunc),
|
250
|
-
}
|
251
|
-
|
252
|
-
macro_rules! for_each_function_signature {
|
253
|
-
($mac:ident) => {
|
254
|
-
$mac!(0);
|
255
|
-
$mac!(1 A1);
|
256
|
-
$mac!(2 A1 A2);
|
257
|
-
$mac!(3 A1 A2 A3);
|
258
|
-
$mac!(4 A1 A2 A3 A4);
|
259
|
-
$mac!(5 A1 A2 A3 A4 A5);
|
260
|
-
$mac!(6 A1 A2 A3 A4 A5 A6);
|
261
|
-
$mac!(7 A1 A2 A3 A4 A5 A6 A7);
|
262
|
-
$mac!(8 A1 A2 A3 A4 A5 A6 A7 A8);
|
263
|
-
$mac!(9 A1 A2 A3 A4 A5 A6 A7 A8 A9);
|
264
|
-
$mac!(10 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10);
|
265
|
-
$mac!(11 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11);
|
266
|
-
$mac!(12 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12);
|
267
|
-
$mac!(13 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13);
|
268
|
-
$mac!(14 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14);
|
269
|
-
$mac!(15 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15);
|
270
|
-
$mac!(16 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16);
|
271
|
-
};
|
272
|
-
}
|
273
|
-
|
274
|
-
mod typed;
|
275
|
-
pub use typed::*;
|
276
|
-
|
277
|
-
macro_rules! generate_wrap_async_func {
|
278
|
-
($num:tt $($args:ident)*) => (paste::paste!{
|
279
|
-
/// Same as [`Func::wrap`], except the closure asynchronously produces
|
280
|
-
/// its result. For more information see the [`Func`] documentation.
|
281
|
-
///
|
282
|
-
/// # Panics
|
283
|
-
///
|
284
|
-
/// This function will panic if called with a non-asynchronous store.
|
285
|
-
#[allow(non_snake_case)]
|
286
|
-
#[cfg(feature = "async")]
|
287
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
288
|
-
pub fn [<wrap $num _async>]<T, $($args,)* R>(
|
289
|
-
store: impl AsContextMut<Data = T>,
|
290
|
-
func: impl for<'a> Fn(Caller<'a, T>, $($args),*) -> Box<dyn Future<Output = R> + Send + 'a> + Send + Sync + 'static,
|
291
|
-
) -> Func
|
292
|
-
where
|
293
|
-
$($args: WasmTy,)*
|
294
|
-
R: WasmRet,
|
295
|
-
{
|
296
|
-
assert!(store.as_context().async_support(), concat!("cannot use `wrap", $num, "_async` without enabling async support on the config"));
|
297
|
-
Func::wrap(store, move |mut caller: Caller<'_, T>, $($args: $args),*| {
|
298
|
-
let async_cx = caller.store.as_context_mut().0.async_cx().expect("Attempt to start async function on dying fiber");
|
299
|
-
let mut future = Pin::from(func(caller, $($args),*));
|
300
|
-
|
301
|
-
match unsafe { async_cx.block_on(future.as_mut()) } {
|
302
|
-
Ok(ret) => ret.into_fallible(),
|
303
|
-
Err(e) => R::fallible_from_error(e),
|
304
|
-
}
|
305
|
-
})
|
306
|
-
}
|
307
|
-
})
|
308
|
-
}
|
309
|
-
|
310
|
-
impl Func {
|
311
|
-
/// Creates a new `Func` with the given arguments, typically to create a
|
312
|
-
/// host-defined function to pass as an import to a module.
|
313
|
-
///
|
314
|
-
/// * `store` - the store in which to create this [`Func`], which will own
|
315
|
-
/// the return value.
|
316
|
-
///
|
317
|
-
/// * `ty` - the signature of this function, used to indicate what the
|
318
|
-
/// inputs and outputs are.
|
319
|
-
///
|
320
|
-
/// * `func` - the native code invoked whenever this `Func` will be called.
|
321
|
-
/// This closure is provided a [`Caller`] as its first argument to learn
|
322
|
-
/// information about the caller, and then it's passed a list of
|
323
|
-
/// parameters as a slice along with a mutable slice of where to write
|
324
|
-
/// results.
|
325
|
-
///
|
326
|
-
/// Note that the implementation of `func` must adhere to the `ty` signature
|
327
|
-
/// given, error or traps may occur if it does not respect the `ty`
|
328
|
-
/// signature. For example if the function type declares that it returns one
|
329
|
-
/// i32 but the `func` closures does not write anything into the results
|
330
|
-
/// slice then a trap may be generated.
|
331
|
-
///
|
332
|
-
/// Additionally note that this is quite a dynamic function since signatures
|
333
|
-
/// are not statically known. For a more performant and ergonomic `Func`
|
334
|
-
/// it's recommended to use [`Func::wrap`] if you can because with
|
335
|
-
/// statically known signatures Wasmtime can optimize the implementation
|
336
|
-
/// much more.
|
337
|
-
///
|
338
|
-
/// For more information about `Send + Sync + 'static` requirements on the
|
339
|
-
/// `func`, see [`Func::wrap`](#why-send--sync--static).
|
340
|
-
///
|
341
|
-
/// # Errors
|
342
|
-
///
|
343
|
-
/// The host-provided function here returns a
|
344
|
-
/// [`Result<()>`](anyhow::Result). If the function returns `Ok(())` then
|
345
|
-
/// that indicates that the host function completed successfully and wrote
|
346
|
-
/// the result into the `&mut [Val]` argument.
|
347
|
-
///
|
348
|
-
/// If the function returns `Err(e)`, however, then this is equivalent to
|
349
|
-
/// the host function triggering a trap for wasm. WebAssembly execution is
|
350
|
-
/// immediately halted and the original caller of [`Func::call`], for
|
351
|
-
/// example, will receive the error returned here (possibly with
|
352
|
-
/// [`WasmBacktrace`](crate::WasmBacktrace) context information attached).
|
353
|
-
///
|
354
|
-
/// For more information about errors in Wasmtime see the [`Trap`]
|
355
|
-
/// documentation.
|
356
|
-
///
|
357
|
-
/// [`Trap`]: crate::Trap
|
358
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
359
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
360
|
-
pub fn new<T>(
|
361
|
-
store: impl AsContextMut<Data = T>,
|
362
|
-
ty: FuncType,
|
363
|
-
func: impl Fn(Caller<'_, T>, &[Val], &mut [Val]) -> Result<()> + Send + Sync + 'static,
|
364
|
-
) -> Self {
|
365
|
-
let ty_clone = ty.clone();
|
366
|
-
unsafe {
|
367
|
-
Func::new_unchecked(store, ty, move |caller, values| {
|
368
|
-
Func::invoke(caller, &ty_clone, values, &func)
|
369
|
-
})
|
370
|
-
}
|
371
|
-
}
|
372
|
-
|
373
|
-
/// Creates a new [`Func`] with the given arguments, although has fewer
|
374
|
-
/// runtime checks than [`Func::new`].
|
375
|
-
///
|
376
|
-
/// This function takes a callback of a different signature than
|
377
|
-
/// [`Func::new`], instead receiving a raw pointer with a list of [`ValRaw`]
|
378
|
-
/// structures. These values have no type information associated with them
|
379
|
-
/// so it's up to the caller to provide a function that will correctly
|
380
|
-
/// interpret the list of values as those coming from the `ty` specified.
|
381
|
-
///
|
382
|
-
/// If you're calling this from Rust it's recommended to either instead use
|
383
|
-
/// [`Func::new`] or [`Func::wrap`]. The [`Func::wrap`] API, in particular,
|
384
|
-
/// is both safer and faster than this API.
|
385
|
-
///
|
386
|
-
/// # Errors
|
387
|
-
///
|
388
|
-
/// See [`Func::new`] for the behavior of returning an error from the host
|
389
|
-
/// function provided here.
|
390
|
-
///
|
391
|
-
/// # Unsafety
|
392
|
-
///
|
393
|
-
/// This function is not safe because it's not known at compile time that
|
394
|
-
/// the `func` provided correctly interprets the argument types provided to
|
395
|
-
/// it, or that the results it produces will be of the correct type.
|
396
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
397
|
-
#[cfg_attr(nightlydoc, doc(cfg(any(feature = "cranelift", feature = "winch"))))]
|
398
|
-
pub unsafe fn new_unchecked<T>(
|
399
|
-
mut store: impl AsContextMut<Data = T>,
|
400
|
-
ty: FuncType,
|
401
|
-
func: impl Fn(Caller<'_, T>, &mut [ValRaw]) -> Result<()> + Send + Sync + 'static,
|
402
|
-
) -> Self {
|
403
|
-
let store = store.as_context_mut().0;
|
404
|
-
let host = HostFunc::new_unchecked(store.engine(), ty, func);
|
405
|
-
host.into_func(store)
|
406
|
-
}
|
407
|
-
|
408
|
-
/// Creates a new host-defined WebAssembly function which, when called,
|
409
|
-
/// will run the asynchronous computation defined by `func` to completion
|
410
|
-
/// and then return the result to WebAssembly.
|
411
|
-
///
|
412
|
-
/// This function is the asynchronous analogue of [`Func::new`] and much of
|
413
|
-
/// that documentation applies to this as well. The key difference is that
|
414
|
-
/// `func` returns a future instead of simply a `Result`. Note that the
|
415
|
-
/// returned future can close over any of the arguments, but it cannot close
|
416
|
-
/// over the state of the closure itself. It's recommended to store any
|
417
|
-
/// necessary async state in the `T` of the [`Store<T>`](crate::Store) which
|
418
|
-
/// can be accessed through [`Caller::data`] or [`Caller::data_mut`].
|
419
|
-
///
|
420
|
-
/// For more information on `Send + Sync + 'static`, see
|
421
|
-
/// [`Func::wrap`](#why-send--sync--static).
|
422
|
-
///
|
423
|
-
/// # Panics
|
424
|
-
///
|
425
|
-
/// This function will panic if `store` is not associated with an [async
|
426
|
-
/// config](crate::Config::async_support).
|
427
|
-
///
|
428
|
-
/// # Errors
|
429
|
-
///
|
430
|
-
/// See [`Func::new`] for the behavior of returning an error from the host
|
431
|
-
/// function provided here.
|
432
|
-
///
|
433
|
-
/// # Examples
|
434
|
-
///
|
435
|
-
/// ```
|
436
|
-
/// # use wasmtime::*;
|
437
|
-
/// # fn main() -> anyhow::Result<()> {
|
438
|
-
/// // Simulate some application-specific state as well as asynchronous
|
439
|
-
/// // functions to query that state.
|
440
|
-
/// struct MyDatabase {
|
441
|
-
/// // ...
|
442
|
-
/// }
|
443
|
-
///
|
444
|
-
/// impl MyDatabase {
|
445
|
-
/// async fn get_row_count(&self) -> u32 {
|
446
|
-
/// // ...
|
447
|
-
/// # 100
|
448
|
-
/// }
|
449
|
-
/// }
|
450
|
-
///
|
451
|
-
/// let my_database = MyDatabase {
|
452
|
-
/// // ...
|
453
|
-
/// };
|
454
|
-
///
|
455
|
-
/// // Using `new_async` we can hook up into calling our async
|
456
|
-
/// // `get_row_count` function.
|
457
|
-
/// let engine = Engine::new(Config::new().async_support(true))?;
|
458
|
-
/// let mut store = Store::new(&engine, MyDatabase {
|
459
|
-
/// // ...
|
460
|
-
/// });
|
461
|
-
/// let get_row_count_type = wasmtime::FuncType::new(
|
462
|
-
/// None,
|
463
|
-
/// Some(wasmtime::ValType::I32),
|
464
|
-
/// );
|
465
|
-
/// let get = Func::new_async(&mut store, get_row_count_type, |caller, _params, results| {
|
466
|
-
/// Box::new(async move {
|
467
|
-
/// let count = caller.data().get_row_count().await;
|
468
|
-
/// results[0] = Val::I32(count as i32);
|
469
|
-
/// Ok(())
|
470
|
-
/// })
|
471
|
-
/// });
|
472
|
-
/// // ...
|
473
|
-
/// # Ok(())
|
474
|
-
/// # }
|
475
|
-
/// ```
|
476
|
-
#[cfg(all(feature = "async", feature = "cranelift"))]
|
477
|
-
#[cfg_attr(nightlydoc, doc(cfg(all(feature = "async", feature = "cranelift"))))]
|
478
|
-
pub fn new_async<T, F>(store: impl AsContextMut<Data = T>, ty: FuncType, func: F) -> Func
|
479
|
-
where
|
480
|
-
F: for<'a> Fn(
|
481
|
-
Caller<'a, T>,
|
482
|
-
&'a [Val],
|
483
|
-
&'a mut [Val],
|
484
|
-
) -> Box<dyn Future<Output = Result<()>> + Send + 'a>
|
485
|
-
+ Send
|
486
|
-
+ Sync
|
487
|
-
+ 'static,
|
488
|
-
{
|
489
|
-
assert!(
|
490
|
-
store.as_context().async_support(),
|
491
|
-
"cannot use `new_async` without enabling async support in the config"
|
492
|
-
);
|
493
|
-
Func::new(store, ty, move |mut caller, params, results| {
|
494
|
-
let async_cx = caller
|
495
|
-
.store
|
496
|
-
.as_context_mut()
|
497
|
-
.0
|
498
|
-
.async_cx()
|
499
|
-
.expect("Attempt to spawn new action on dying fiber");
|
500
|
-
let mut future = Pin::from(func(caller, params, results));
|
501
|
-
match unsafe { async_cx.block_on(future.as_mut()) } {
|
502
|
-
Ok(Ok(())) => Ok(()),
|
503
|
-
Ok(Err(trap)) | Err(trap) => Err(trap),
|
504
|
-
}
|
505
|
-
})
|
506
|
-
}
|
507
|
-
|
508
|
-
pub(crate) unsafe fn from_caller_checked_func_ref(
|
509
|
-
store: &mut StoreOpaque,
|
510
|
-
raw: *mut VMFuncRef,
|
511
|
-
) -> Option<Func> {
|
512
|
-
let func_ref = NonNull::new(raw)?;
|
513
|
-
debug_assert!(func_ref.as_ref().type_index != VMSharedSignatureIndex::default());
|
514
|
-
let export = ExportFunction { func_ref };
|
515
|
-
Some(Func::from_wasmtime_function(export, store))
|
516
|
-
}
|
517
|
-
|
518
|
-
/// Creates a new `Func` from the given Rust closure.
|
519
|
-
///
|
520
|
-
/// This function will create a new `Func` which, when called, will
|
521
|
-
/// execute the given Rust closure. Unlike [`Func::new`] the target
|
522
|
-
/// function being called is known statically so the type signature can
|
523
|
-
/// be inferred. Rust types will map to WebAssembly types as follows:
|
524
|
-
///
|
525
|
-
/// | Rust Argument Type | WebAssembly Type |
|
526
|
-
/// |---------------------|------------------|
|
527
|
-
/// | `i32` | `i32` |
|
528
|
-
/// | `u32` | `i32` |
|
529
|
-
/// | `i64` | `i64` |
|
530
|
-
/// | `u64` | `i64` |
|
531
|
-
/// | `f32` | `f32` |
|
532
|
-
/// | `f64` | `f64` |
|
533
|
-
/// | (not supported) | `v128` |
|
534
|
-
/// | `Option<Func>` | `funcref` |
|
535
|
-
/// | `Option<ExternRef>` | `externref` |
|
536
|
-
///
|
537
|
-
/// Any of the Rust types can be returned from the closure as well, in
|
538
|
-
/// addition to some extra types
|
539
|
-
///
|
540
|
-
/// | Rust Return Type | WebAssembly Return Type | Meaning |
|
541
|
-
/// |-------------------|-------------------------|-----------------------|
|
542
|
-
/// | `()` | nothing | no return value |
|
543
|
-
/// | `T` | `T` | a single return value |
|
544
|
-
/// | `(T1, T2, ...)` | `T1 T2 ...` | multiple returns |
|
545
|
-
///
|
546
|
-
/// Note that all return types can also be wrapped in `Result<_>` to
|
547
|
-
/// indicate that the host function can generate a trap as well as possibly
|
548
|
-
/// returning a value.
|
549
|
-
///
|
550
|
-
/// Finally you can also optionally take [`Caller`] as the first argument of
|
551
|
-
/// your closure. If inserted then you're able to inspect the caller's
|
552
|
-
/// state, for example the [`Memory`](crate::Memory) it has exported so you
|
553
|
-
/// can read what pointers point to.
|
554
|
-
///
|
555
|
-
/// Note that when using this API, the intention is to create as thin of a
|
556
|
-
/// layer as possible for when WebAssembly calls the function provided. With
|
557
|
-
/// sufficient inlining and optimization the WebAssembly will call straight
|
558
|
-
/// into `func` provided, with no extra fluff entailed.
|
559
|
-
///
|
560
|
-
/// # Why `Send + Sync + 'static`?
|
561
|
-
///
|
562
|
-
/// All host functions defined in a [`Store`](crate::Store) (including
|
563
|
-
/// those from [`Func::new`] and other constructors) require that the
|
564
|
-
/// `func` provided is `Send + Sync + 'static`. Additionally host functions
|
565
|
-
/// always are `Fn` as opposed to `FnMut` or `FnOnce`. This can at-a-glance
|
566
|
-
/// feel restrictive since the closure cannot close over as many types as
|
567
|
-
/// before. The reason for this, though, is to ensure that
|
568
|
-
/// [`Store<T>`](crate::Store) can implement both the `Send` and `Sync`
|
569
|
-
/// traits.
|
570
|
-
///
|
571
|
-
/// Fear not, however, because this isn't as restrictive as it seems! Host
|
572
|
-
/// functions are provided a [`Caller<'_, T>`](crate::Caller) argument which
|
573
|
-
/// allows access to the host-defined data within the
|
574
|
-
/// [`Store`](crate::Store). The `T` type is not required to be any of
|
575
|
-
/// `Send`, `Sync`, or `'static`! This means that you can store whatever
|
576
|
-
/// you'd like in `T` and have it accessible by all host functions.
|
577
|
-
/// Additionally mutable access to `T` is allowed through
|
578
|
-
/// [`Caller::data_mut`].
|
579
|
-
///
|
580
|
-
/// Most host-defined [`Func`] values provide closures that end up not
|
581
|
-
/// actually closing over any values. These zero-sized types will use the
|
582
|
-
/// context from [`Caller`] for host-defined information.
|
583
|
-
///
|
584
|
-
/// # Errors
|
585
|
-
///
|
586
|
-
/// The closure provided here to `wrap` can optionally return a
|
587
|
-
/// [`Result<T>`](anyhow::Result). Returning `Ok(t)` represents the host
|
588
|
-
/// function successfully completing with the `t` result. Returning
|
589
|
-
/// `Err(e)`, however, is equivalent to raising a custom wasm trap.
|
590
|
-
/// Execution of WebAssembly does not resume and the stack is unwound to the
|
591
|
-
/// original caller of the function where the error is returned.
|
592
|
-
///
|
593
|
-
/// For more information about errors in Wasmtime see the [`Trap`]
|
594
|
-
/// documentation.
|
595
|
-
///
|
596
|
-
/// [`Trap`]: crate::Trap
|
597
|
-
///
|
598
|
-
/// # Examples
|
599
|
-
///
|
600
|
-
/// First up we can see how simple wasm imports can be implemented, such
|
601
|
-
/// as a function that adds its two arguments and returns the result.
|
602
|
-
///
|
603
|
-
/// ```
|
604
|
-
/// # use wasmtime::*;
|
605
|
-
/// # fn main() -> anyhow::Result<()> {
|
606
|
-
/// # let mut store = Store::<()>::default();
|
607
|
-
/// let add = Func::wrap(&mut store, |a: i32, b: i32| a + b);
|
608
|
-
/// let module = Module::new(
|
609
|
-
/// store.engine(),
|
610
|
-
/// r#"
|
611
|
-
/// (module
|
612
|
-
/// (import "" "" (func $add (param i32 i32) (result i32)))
|
613
|
-
/// (func (export "foo") (param i32 i32) (result i32)
|
614
|
-
/// local.get 0
|
615
|
-
/// local.get 1
|
616
|
-
/// call $add))
|
617
|
-
/// "#,
|
618
|
-
/// )?;
|
619
|
-
/// let instance = Instance::new(&mut store, &module, &[add.into()])?;
|
620
|
-
/// let foo = instance.get_typed_func::<(i32, i32), i32>(&mut store, "foo")?;
|
621
|
-
/// assert_eq!(foo.call(&mut store, (1, 2))?, 3);
|
622
|
-
/// # Ok(())
|
623
|
-
/// # }
|
624
|
-
/// ```
|
625
|
-
///
|
626
|
-
/// We can also do the same thing, but generate a trap if the addition
|
627
|
-
/// overflows:
|
628
|
-
///
|
629
|
-
/// ```
|
630
|
-
/// # use wasmtime::*;
|
631
|
-
/// # fn main() -> anyhow::Result<()> {
|
632
|
-
/// # let mut store = Store::<()>::default();
|
633
|
-
/// let add = Func::wrap(&mut store, |a: i32, b: i32| {
|
634
|
-
/// match a.checked_add(b) {
|
635
|
-
/// Some(i) => Ok(i),
|
636
|
-
/// None => anyhow::bail!("overflow"),
|
637
|
-
/// }
|
638
|
-
/// });
|
639
|
-
/// let module = Module::new(
|
640
|
-
/// store.engine(),
|
641
|
-
/// r#"
|
642
|
-
/// (module
|
643
|
-
/// (import "" "" (func $add (param i32 i32) (result i32)))
|
644
|
-
/// (func (export "foo") (param i32 i32) (result i32)
|
645
|
-
/// local.get 0
|
646
|
-
/// local.get 1
|
647
|
-
/// call $add))
|
648
|
-
/// "#,
|
649
|
-
/// )?;
|
650
|
-
/// let instance = Instance::new(&mut store, &module, &[add.into()])?;
|
651
|
-
/// let foo = instance.get_typed_func::<(i32, i32), i32>(&mut store, "foo")?;
|
652
|
-
/// assert_eq!(foo.call(&mut store, (1, 2))?, 3);
|
653
|
-
/// assert!(foo.call(&mut store, (i32::max_value(), 1)).is_err());
|
654
|
-
/// # Ok(())
|
655
|
-
/// # }
|
656
|
-
/// ```
|
657
|
-
///
|
658
|
-
/// And don't forget all the wasm types are supported!
|
659
|
-
///
|
660
|
-
/// ```
|
661
|
-
/// # use wasmtime::*;
|
662
|
-
/// # fn main() -> anyhow::Result<()> {
|
663
|
-
/// # let mut store = Store::<()>::default();
|
664
|
-
/// let debug = Func::wrap(&mut store, |a: i32, b: u32, c: f32, d: i64, e: u64, f: f64| {
|
665
|
-
///
|
666
|
-
/// println!("a={}", a);
|
667
|
-
/// println!("b={}", b);
|
668
|
-
/// println!("c={}", c);
|
669
|
-
/// println!("d={}", d);
|
670
|
-
/// println!("e={}", e);
|
671
|
-
/// println!("f={}", f);
|
672
|
-
/// });
|
673
|
-
/// let module = Module::new(
|
674
|
-
/// store.engine(),
|
675
|
-
/// r#"
|
676
|
-
/// (module
|
677
|
-
/// (import "" "" (func $debug (param i32 i32 f32 i64 i64 f64)))
|
678
|
-
/// (func (export "foo")
|
679
|
-
/// i32.const -1
|
680
|
-
/// i32.const 1
|
681
|
-
/// f32.const 2
|
682
|
-
/// i64.const -3
|
683
|
-
/// i64.const 3
|
684
|
-
/// f64.const 4
|
685
|
-
/// call $debug))
|
686
|
-
/// "#,
|
687
|
-
/// )?;
|
688
|
-
/// let instance = Instance::new(&mut store, &module, &[debug.into()])?;
|
689
|
-
/// let foo = instance.get_typed_func::<(), ()>(&mut store, "foo")?;
|
690
|
-
/// foo.call(&mut store, ())?;
|
691
|
-
/// # Ok(())
|
692
|
-
/// # }
|
693
|
-
/// ```
|
694
|
-
///
|
695
|
-
/// Finally if you want to get really fancy you can also implement
|
696
|
-
/// imports that read/write wasm module's memory
|
697
|
-
///
|
698
|
-
/// ```
|
699
|
-
/// use std::str;
|
700
|
-
///
|
701
|
-
/// # use wasmtime::*;
|
702
|
-
/// # fn main() -> anyhow::Result<()> {
|
703
|
-
/// # let mut store = Store::default();
|
704
|
-
/// let log_str = Func::wrap(&mut store, |mut caller: Caller<'_, ()>, ptr: i32, len: i32| {
|
705
|
-
/// let mem = match caller.get_export("memory") {
|
706
|
-
/// Some(Extern::Memory(mem)) => mem,
|
707
|
-
/// _ => anyhow::bail!("failed to find host memory"),
|
708
|
-
/// };
|
709
|
-
/// let data = mem.data(&caller)
|
710
|
-
/// .get(ptr as u32 as usize..)
|
711
|
-
/// .and_then(|arr| arr.get(..len as u32 as usize));
|
712
|
-
/// let string = match data {
|
713
|
-
/// Some(data) => match str::from_utf8(data) {
|
714
|
-
/// Ok(s) => s,
|
715
|
-
/// Err(_) => anyhow::bail!("invalid utf-8"),
|
716
|
-
/// },
|
717
|
-
/// None => anyhow::bail!("pointer/length out of bounds"),
|
718
|
-
/// };
|
719
|
-
/// assert_eq!(string, "Hello, world!");
|
720
|
-
/// println!("{}", string);
|
721
|
-
/// Ok(())
|
722
|
-
/// });
|
723
|
-
/// let module = Module::new(
|
724
|
-
/// store.engine(),
|
725
|
-
/// r#"
|
726
|
-
/// (module
|
727
|
-
/// (import "" "" (func $log_str (param i32 i32)))
|
728
|
-
/// (func (export "foo")
|
729
|
-
/// i32.const 4 ;; ptr
|
730
|
-
/// i32.const 13 ;; len
|
731
|
-
/// call $log_str)
|
732
|
-
/// (memory (export "memory") 1)
|
733
|
-
/// (data (i32.const 4) "Hello, world!"))
|
734
|
-
/// "#,
|
735
|
-
/// )?;
|
736
|
-
/// let instance = Instance::new(&mut store, &module, &[log_str.into()])?;
|
737
|
-
/// let foo = instance.get_typed_func::<(), ()>(&mut store, "foo")?;
|
738
|
-
/// foo.call(&mut store, ())?;
|
739
|
-
/// # Ok(())
|
740
|
-
/// # }
|
741
|
-
/// ```
|
742
|
-
pub fn wrap<T, Params, Results>(
|
743
|
-
mut store: impl AsContextMut<Data = T>,
|
744
|
-
func: impl IntoFunc<T, Params, Results>,
|
745
|
-
) -> Func {
|
746
|
-
let store = store.as_context_mut().0;
|
747
|
-
// part of this unsafety is about matching the `T` to a `Store<T>`,
|
748
|
-
// which is done through the `AsContextMut` bound above.
|
749
|
-
unsafe {
|
750
|
-
let host = HostFunc::wrap(store.engine(), func);
|
751
|
-
host.into_func(store)
|
752
|
-
}
|
753
|
-
}
|
754
|
-
|
755
|
-
for_each_function_signature!(generate_wrap_async_func);
|
756
|
-
|
757
|
-
/// Returns the underlying wasm type that this `Func` has.
|
758
|
-
///
|
759
|
-
/// # Panics
|
760
|
-
///
|
761
|
-
/// Panics if `store` does not own this function.
|
762
|
-
pub fn ty(&self, store: impl AsContext) -> FuncType {
|
763
|
-
self.load_ty(&store.as_context().0)
|
764
|
-
}
|
765
|
-
|
766
|
-
/// Forcibly loads the type of this function from the `Engine`.
|
767
|
-
///
|
768
|
-
/// Note that this is a somewhat expensive method since it requires taking a
|
769
|
-
/// lock as well as cloning a type.
|
770
|
-
fn load_ty(&self, store: &StoreOpaque) -> FuncType {
|
771
|
-
FuncType::from_wasm_func_type(
|
772
|
-
store
|
773
|
-
.engine()
|
774
|
-
.signatures()
|
775
|
-
.lookup_type(self.sig_index(store.store_data()))
|
776
|
-
.expect("signature should be registered"),
|
777
|
-
)
|
778
|
-
}
|
779
|
-
|
780
|
-
/// Gets a reference to the `FuncType` for this function.
|
781
|
-
///
|
782
|
-
/// Note that this returns both a reference to the type of this function as
|
783
|
-
/// well as a reference back to the store itself. This enables using the
|
784
|
-
/// `StoreOpaque` while the `FuncType` is also being used (from the
|
785
|
-
/// perspective of the borrow-checker) because otherwise the signature would
|
786
|
-
/// consider `StoreOpaque` borrowed mutable while `FuncType` is in use.
|
787
|
-
fn ty_ref<'a>(&self, store: &'a mut StoreOpaque) -> (&'a FuncType, &'a StoreOpaque) {
|
788
|
-
// If we haven't loaded our type into the store yet then do so lazily at
|
789
|
-
// this time.
|
790
|
-
if store.store_data()[self.0].ty.is_none() {
|
791
|
-
let ty = self.load_ty(store);
|
792
|
-
store.store_data_mut()[self.0].ty = Some(Box::new(ty));
|
793
|
-
}
|
794
|
-
|
795
|
-
(store.store_data()[self.0].ty.as_ref().unwrap(), store)
|
796
|
-
}
|
797
|
-
|
798
|
-
pub(crate) fn sig_index(&self, data: &StoreData) -> VMSharedSignatureIndex {
|
799
|
-
data[self.0].sig_index()
|
800
|
-
}
|
801
|
-
|
802
|
-
/// Invokes this function with the `params` given and writes returned values
|
803
|
-
/// to `results`.
|
804
|
-
///
|
805
|
-
/// The `params` here must match the type signature of this `Func`, or an
|
806
|
-
/// error will occur. Additionally `results` must have the same
|
807
|
-
/// length as the number of results for this function. Calling this function
|
808
|
-
/// will synchronously execute the WebAssembly function referenced to get
|
809
|
-
/// the results.
|
810
|
-
///
|
811
|
-
/// This function will return `Ok(())` if execution completed without a trap
|
812
|
-
/// or error of any kind. In this situation the results will be written to
|
813
|
-
/// the provided `results` array.
|
814
|
-
///
|
815
|
-
/// # Errors
|
816
|
-
///
|
817
|
-
/// Any error which occurs throughout the execution of the function will be
|
818
|
-
/// returned as `Err(e)`. The [`Error`](anyhow::Error) type can be inspected
|
819
|
-
/// for the precise error cause such as:
|
820
|
-
///
|
821
|
-
/// * [`Trap`] - indicates that a wasm trap happened and execution was
|
822
|
-
/// halted.
|
823
|
-
/// * [`WasmBacktrace`] - optionally included on errors for backtrace
|
824
|
-
/// information of the trap/error.
|
825
|
-
/// * Other string-based errors to indicate issues such as type errors with
|
826
|
-
/// `params`.
|
827
|
-
/// * Any host-originating error originally returned from a function defined
|
828
|
-
/// via [`Func::new`], for example.
|
829
|
-
///
|
830
|
-
/// Errors typically indicate that execution of WebAssembly was halted
|
831
|
-
/// mid-way and did not complete after the error condition happened.
|
832
|
-
///
|
833
|
-
/// [`Trap`]: crate::Trap
|
834
|
-
///
|
835
|
-
/// # Panics
|
836
|
-
///
|
837
|
-
/// This function will panic if called on a function belonging to an async
|
838
|
-
/// store. Asynchronous stores must always use `call_async`.
|
839
|
-
/// initiates a panic. Also panics if `store` does not own this function.
|
840
|
-
///
|
841
|
-
/// [`WasmBacktrace`]: crate::WasmBacktrace
|
842
|
-
pub fn call(
|
843
|
-
&self,
|
844
|
-
mut store: impl AsContextMut,
|
845
|
-
params: &[Val],
|
846
|
-
results: &mut [Val],
|
847
|
-
) -> Result<()> {
|
848
|
-
assert!(
|
849
|
-
!store.as_context().async_support(),
|
850
|
-
"must use `call_async` when async support is enabled on the config",
|
851
|
-
);
|
852
|
-
self.call_impl(&mut store.as_context_mut(), params, results)
|
853
|
-
}
|
854
|
-
|
855
|
-
/// Invokes this function in an "unchecked" fashion, reading parameters and
|
856
|
-
/// writing results to `params_and_returns`.
|
857
|
-
///
|
858
|
-
/// This function is the same as [`Func::call`] except that the arguments
|
859
|
-
/// and results both use a different representation. If possible it's
|
860
|
-
/// recommended to use [`Func::call`] if safety isn't necessary or to use
|
861
|
-
/// [`Func::typed`] in conjunction with [`TypedFunc::call`] since that's
|
862
|
-
/// both safer and faster than this method of invoking a function.
|
863
|
-
///
|
864
|
-
/// Note that if this function takes `externref` arguments then it will
|
865
|
-
/// **not** automatically GC unlike the [`Func::call`] and
|
866
|
-
/// [`TypedFunc::call`] functions. This means that if this function is
|
867
|
-
/// invoked many times with new `ExternRef` values and no other GC happens
|
868
|
-
/// via any other means then no values will get collected.
|
869
|
-
///
|
870
|
-
/// # Errors
|
871
|
-
///
|
872
|
-
/// For more information about errors see the [`Func::call`] documentation.
|
873
|
-
///
|
874
|
-
/// # Unsafety
|
875
|
-
///
|
876
|
-
/// This function is unsafe because the `params_and_returns` argument is not
|
877
|
-
/// validated at all. It must uphold invariants such as:
|
878
|
-
///
|
879
|
-
/// * It's a valid pointer to an array
|
880
|
-
/// * It has enough space to store all parameters
|
881
|
-
/// * It has enough space to store all results (not at the same time as
|
882
|
-
/// parameters)
|
883
|
-
/// * Parameters are initially written to the array and have the correct
|
884
|
-
/// types and such.
|
885
|
-
/// * Reference types like `externref` and `funcref` are valid at the
|
886
|
-
/// time of this call and for the `store` specified.
|
887
|
-
///
|
888
|
-
/// These invariants are all upheld for you with [`Func::call`] and
|
889
|
-
/// [`TypedFunc::call`].
|
890
|
-
pub unsafe fn call_unchecked(
|
891
|
-
&self,
|
892
|
-
mut store: impl AsContextMut,
|
893
|
-
params_and_returns: *mut ValRaw,
|
894
|
-
params_and_returns_capacity: usize,
|
895
|
-
) -> Result<()> {
|
896
|
-
let mut store = store.as_context_mut();
|
897
|
-
let data = &store.0.store_data()[self.0];
|
898
|
-
let func_ref = data.export().func_ref;
|
899
|
-
Self::call_unchecked_raw(
|
900
|
-
&mut store,
|
901
|
-
func_ref,
|
902
|
-
params_and_returns,
|
903
|
-
params_and_returns_capacity,
|
904
|
-
)
|
905
|
-
}
|
906
|
-
|
907
|
-
pub(crate) unsafe fn call_unchecked_raw<T>(
|
908
|
-
store: &mut StoreContextMut<'_, T>,
|
909
|
-
func_ref: NonNull<VMFuncRef>,
|
910
|
-
params_and_returns: *mut ValRaw,
|
911
|
-
params_and_returns_capacity: usize,
|
912
|
-
) -> Result<()> {
|
913
|
-
invoke_wasm_and_catch_traps(store, |caller| {
|
914
|
-
let func_ref = func_ref.as_ref();
|
915
|
-
(func_ref.array_call)(
|
916
|
-
func_ref.vmctx,
|
917
|
-
caller.cast::<VMOpaqueContext>(),
|
918
|
-
params_and_returns,
|
919
|
-
params_and_returns_capacity,
|
920
|
-
)
|
921
|
-
})
|
922
|
-
}
|
923
|
-
|
924
|
-
/// Converts the raw representation of a `funcref` into an `Option<Func>`
|
925
|
-
///
|
926
|
-
/// This is intended to be used in conjunction with [`Func::new_unchecked`],
|
927
|
-
/// [`Func::call_unchecked`], and [`ValRaw`] with its `funcref` field.
|
928
|
-
///
|
929
|
-
/// # Unsafety
|
930
|
-
///
|
931
|
-
/// This function is not safe because `raw` is not validated at all. The
|
932
|
-
/// caller must guarantee that `raw` is owned by the `store` provided and is
|
933
|
-
/// valid within the `store`.
|
934
|
-
pub unsafe fn from_raw(mut store: impl AsContextMut, raw: *mut c_void) -> Option<Func> {
|
935
|
-
Func::from_caller_checked_func_ref(store.as_context_mut().0, raw.cast())
|
936
|
-
}
|
937
|
-
|
938
|
-
/// Extracts the raw value of this `Func`, which is owned by `store`.
|
939
|
-
///
|
940
|
-
/// This function returns a value that's suitable for writing into the
|
941
|
-
/// `funcref` field of the [`ValRaw`] structure.
|
942
|
-
///
|
943
|
-
/// # Unsafety
|
944
|
-
///
|
945
|
-
/// The returned value is only valid for as long as the store is alive and
|
946
|
-
/// this function is properly rooted within it. Additionally this function
|
947
|
-
/// should not be liberally used since it's a very low-level knob.
|
948
|
-
pub unsafe fn to_raw(&self, mut store: impl AsContextMut) -> *mut c_void {
|
949
|
-
self.caller_checked_func_ref(store.as_context_mut().0)
|
950
|
-
.as_ptr()
|
951
|
-
.cast()
|
952
|
-
}
|
953
|
-
|
954
|
-
/// Invokes this function with the `params` given, returning the results
|
955
|
-
/// asynchronously.
|
956
|
-
///
|
957
|
-
/// This function is the same as [`Func::call`] except that it is
|
958
|
-
/// asynchronous. This is only compatible with stores associated with an
|
959
|
-
/// [asynchronous config](crate::Config::async_support).
|
960
|
-
///
|
961
|
-
/// It's important to note that the execution of WebAssembly will happen
|
962
|
-
/// synchronously in the `poll` method of the future returned from this
|
963
|
-
/// function. Wasmtime does not manage its own thread pool or similar to
|
964
|
-
/// execute WebAssembly in. Future `poll` methods are generally expected to
|
965
|
-
/// resolve quickly, so it's recommended that you run or poll this future
|
966
|
-
/// in a "blocking context".
|
967
|
-
///
|
968
|
-
/// For more information see the documentation on [asynchronous
|
969
|
-
/// configs](crate::Config::async_support).
|
970
|
-
///
|
971
|
-
/// # Errors
|
972
|
-
///
|
973
|
-
/// For more information on errors see the [`Func::call`] documentation.
|
974
|
-
///
|
975
|
-
/// # Panics
|
976
|
-
///
|
977
|
-
/// Panics if this is called on a function in a synchronous store. This
|
978
|
-
/// only works with functions defined within an asynchronous store. Also
|
979
|
-
/// panics if `store` does not own this function.
|
980
|
-
#[cfg(feature = "async")]
|
981
|
-
#[cfg_attr(nightlydoc, doc(cfg(feature = "async")))]
|
982
|
-
pub async fn call_async<T>(
|
983
|
-
&self,
|
984
|
-
mut store: impl AsContextMut<Data = T>,
|
985
|
-
params: &[Val],
|
986
|
-
results: &mut [Val],
|
987
|
-
) -> Result<()>
|
988
|
-
where
|
989
|
-
T: Send,
|
990
|
-
{
|
991
|
-
let mut store = store.as_context_mut();
|
992
|
-
assert!(
|
993
|
-
store.0.async_support(),
|
994
|
-
"cannot use `call_async` without enabling async support in the config",
|
995
|
-
);
|
996
|
-
let result = store
|
997
|
-
.on_fiber(|store| self.call_impl(store, params, results))
|
998
|
-
.await??;
|
999
|
-
Ok(result)
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
fn call_impl<T>(
|
1003
|
-
&self,
|
1004
|
-
store: &mut StoreContextMut<'_, T>,
|
1005
|
-
params: &[Val],
|
1006
|
-
results: &mut [Val],
|
1007
|
-
) -> Result<()> {
|
1008
|
-
// We need to perform a dynamic check that the arguments given to us
|
1009
|
-
// match the signature of this function and are appropriate to pass to
|
1010
|
-
// this function. This involves checking to make sure we have the right
|
1011
|
-
// number and types of arguments as well as making sure everything is
|
1012
|
-
// from the same `Store`.
|
1013
|
-
let (ty, opaque) = self.ty_ref(store.0);
|
1014
|
-
if ty.params().len() != params.len() {
|
1015
|
-
bail!(
|
1016
|
-
"expected {} arguments, got {}",
|
1017
|
-
ty.params().len(),
|
1018
|
-
params.len()
|
1019
|
-
);
|
1020
|
-
}
|
1021
|
-
if ty.results().len() != results.len() {
|
1022
|
-
bail!(
|
1023
|
-
"expected {} results, got {}",
|
1024
|
-
ty.results().len(),
|
1025
|
-
results.len()
|
1026
|
-
);
|
1027
|
-
}
|
1028
|
-
for (ty, arg) in ty.params().zip(params) {
|
1029
|
-
if arg.ty() != ty {
|
1030
|
-
bail!(
|
1031
|
-
"argument type mismatch: found {} but expected {}",
|
1032
|
-
arg.ty(),
|
1033
|
-
ty
|
1034
|
-
);
|
1035
|
-
}
|
1036
|
-
if !arg.comes_from_same_store(opaque) {
|
1037
|
-
bail!("cross-`Store` values are not currently supported");
|
1038
|
-
}
|
1039
|
-
}
|
1040
|
-
|
1041
|
-
let values_vec_size = params.len().max(ty.results().len());
|
1042
|
-
|
1043
|
-
// Whenever we pass `externref`s from host code to Wasm code, they
|
1044
|
-
// go into the `VMExternRefActivationsTable`. But the table might be
|
1045
|
-
// at capacity already, so check for that. If it is at capacity
|
1046
|
-
// (unlikely) then do a GC to free up space. This is necessary
|
1047
|
-
// because otherwise we would either keep filling up the bump chunk
|
1048
|
-
// and making it larger and larger or we would always take the slow
|
1049
|
-
// path when inserting references into the table.
|
1050
|
-
if ty.as_wasm_func_type().externref_params_count()
|
1051
|
-
> store
|
1052
|
-
.0
|
1053
|
-
.externref_activations_table()
|
1054
|
-
.bump_capacity_remaining()
|
1055
|
-
{
|
1056
|
-
store.gc();
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
// Store the argument values into `values_vec`.
|
1060
|
-
let mut values_vec = store.0.take_wasm_val_raw_storage();
|
1061
|
-
debug_assert!(values_vec.is_empty());
|
1062
|
-
values_vec.resize_with(values_vec_size, || ValRaw::i32(0));
|
1063
|
-
for (arg, slot) in params.iter().cloned().zip(&mut values_vec) {
|
1064
|
-
unsafe {
|
1065
|
-
*slot = arg.to_raw(&mut *store);
|
1066
|
-
}
|
1067
|
-
}
|
1068
|
-
|
1069
|
-
unsafe {
|
1070
|
-
self.call_unchecked(&mut *store, values_vec.as_mut_ptr(), values_vec_size)?;
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
for ((i, slot), val) in results.iter_mut().enumerate().zip(&values_vec) {
|
1074
|
-
let ty = self.ty_ref(store.0).0.results().nth(i).unwrap();
|
1075
|
-
*slot = unsafe { Val::from_raw(&mut *store, *val, ty) };
|
1076
|
-
}
|
1077
|
-
values_vec.truncate(0);
|
1078
|
-
store.0.save_wasm_val_raw_storage(values_vec);
|
1079
|
-
Ok(())
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
#[inline]
|
1083
|
-
pub(crate) fn caller_checked_func_ref(&self, store: &mut StoreOpaque) -> NonNull<VMFuncRef> {
|
1084
|
-
let func_data = &mut store.store_data_mut()[self.0];
|
1085
|
-
if let Some(in_store) = func_data.in_store_func_ref {
|
1086
|
-
in_store.as_non_null()
|
1087
|
-
} else {
|
1088
|
-
let func_ref = func_data.export().func_ref;
|
1089
|
-
unsafe {
|
1090
|
-
if func_ref.as_ref().wasm_call.is_none() {
|
1091
|
-
let func_ref = store.func_refs().push(func_ref.as_ref().clone());
|
1092
|
-
store.store_data_mut()[self.0].in_store_func_ref =
|
1093
|
-
Some(SendSyncPtr::new(func_ref));
|
1094
|
-
store.fill_func_refs();
|
1095
|
-
func_ref
|
1096
|
-
} else {
|
1097
|
-
func_ref
|
1098
|
-
}
|
1099
|
-
}
|
1100
|
-
}
|
1101
|
-
}
|
1102
|
-
|
1103
|
-
pub(crate) unsafe fn from_wasmtime_function(
|
1104
|
-
export: ExportFunction,
|
1105
|
-
store: &mut StoreOpaque,
|
1106
|
-
) -> Self {
|
1107
|
-
Func::from_func_kind(FuncKind::StoreOwned { export }, store)
|
1108
|
-
}
|
1109
|
-
|
1110
|
-
fn from_func_kind(kind: FuncKind, store: &mut StoreOpaque) -> Self {
|
1111
|
-
Func(store.store_data_mut().insert(FuncData {
|
1112
|
-
kind,
|
1113
|
-
in_store_func_ref: None,
|
1114
|
-
ty: None,
|
1115
|
-
}))
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
pub(crate) fn vmimport(&self, store: &mut StoreOpaque, module: &Module) -> VMFunctionImport {
|
1119
|
-
unsafe {
|
1120
|
-
let f = {
|
1121
|
-
let func_data = &mut store.store_data_mut()[self.0];
|
1122
|
-
// If we already patched this `funcref.wasm_call` and saved a
|
1123
|
-
// copy in the store, use the patched version. Otherwise, use
|
1124
|
-
// the potentially un-patched version.
|
1125
|
-
if let Some(func_ref) = func_data.in_store_func_ref {
|
1126
|
-
func_ref.as_non_null()
|
1127
|
-
} else {
|
1128
|
-
func_data.export().func_ref
|
1129
|
-
}
|
1130
|
-
};
|
1131
|
-
VMFunctionImport {
|
1132
|
-
wasm_call: if let Some(wasm_call) = f.as_ref().wasm_call {
|
1133
|
-
wasm_call
|
1134
|
-
} else {
|
1135
|
-
// Assert that this is a native-call function, since those
|
1136
|
-
// are the only ones that could be missing a `wasm_call`
|
1137
|
-
// trampoline.
|
1138
|
-
let _ = VMNativeCallHostFuncContext::from_opaque(f.as_ref().vmctx);
|
1139
|
-
|
1140
|
-
let sig = self.sig_index(store.store_data());
|
1141
|
-
module.runtime_info().wasm_to_native_trampoline(sig).expect(
|
1142
|
-
"must have a wasm-to-native trampoline for this signature if the Wasm \
|
1143
|
-
module is importing a function of this signature",
|
1144
|
-
)
|
1145
|
-
},
|
1146
|
-
native_call: f.as_ref().native_call,
|
1147
|
-
array_call: f.as_ref().array_call,
|
1148
|
-
vmctx: f.as_ref().vmctx,
|
1149
|
-
}
|
1150
|
-
}
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
pub(crate) fn comes_from_same_store(&self, store: &StoreOpaque) -> bool {
|
1154
|
-
store.store_data().contains(self.0)
|
1155
|
-
}
|
1156
|
-
|
1157
|
-
fn invoke<T>(
|
1158
|
-
mut caller: Caller<'_, T>,
|
1159
|
-
ty: &FuncType,
|
1160
|
-
values_vec: &mut [ValRaw],
|
1161
|
-
func: &dyn Fn(Caller<'_, T>, &[Val], &mut [Val]) -> Result<()>,
|
1162
|
-
) -> Result<()> {
|
1163
|
-
// Translate the raw JIT arguments in `values_vec` into a `Val` which
|
1164
|
-
// we'll be passing as a slice. The storage for our slice-of-`Val` we'll
|
1165
|
-
// be taking from the `Store`. We preserve our slice back into the
|
1166
|
-
// `Store` after the hostcall, ideally amortizing the cost of allocating
|
1167
|
-
// the storage across wasm->host calls.
|
1168
|
-
//
|
1169
|
-
// Note that we have a dynamic guarantee that `values_vec` is the
|
1170
|
-
// appropriate length to both read all arguments from as well as store
|
1171
|
-
// all results into.
|
1172
|
-
let mut val_vec = caller.store.0.take_hostcall_val_storage();
|
1173
|
-
debug_assert!(val_vec.is_empty());
|
1174
|
-
let nparams = ty.params().len();
|
1175
|
-
val_vec.reserve(nparams + ty.results().len());
|
1176
|
-
for (i, ty) in ty.params().enumerate() {
|
1177
|
-
val_vec.push(unsafe { Val::from_raw(&mut caller.store, values_vec[i], ty) })
|
1178
|
-
}
|
1179
|
-
|
1180
|
-
val_vec.extend((0..ty.results().len()).map(|_| Val::null()));
|
1181
|
-
let (params, results) = val_vec.split_at_mut(nparams);
|
1182
|
-
func(caller.sub_caller(), params, results)?;
|
1183
|
-
|
1184
|
-
// See the comment in `Func::call_impl`'s `write_params` function.
|
1185
|
-
if ty.as_wasm_func_type().externref_returns_count()
|
1186
|
-
> caller
|
1187
|
-
.store
|
1188
|
-
.0
|
1189
|
-
.externref_activations_table()
|
1190
|
-
.bump_capacity_remaining()
|
1191
|
-
{
|
1192
|
-
caller.store.gc();
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
// Unlike our arguments we need to dynamically check that the return
|
1196
|
-
// values produced are correct. There could be a bug in `func` that
|
1197
|
-
// produces the wrong number, wrong types, or wrong stores of
|
1198
|
-
// values, and we need to catch that here.
|
1199
|
-
for (i, (ret, ty)) in results.iter().zip(ty.results()).enumerate() {
|
1200
|
-
if ret.ty() != ty {
|
1201
|
-
bail!("function attempted to return an incompatible value");
|
1202
|
-
}
|
1203
|
-
if !ret.comes_from_same_store(caller.store.0) {
|
1204
|
-
bail!("cross-`Store` values are not currently supported");
|
1205
|
-
}
|
1206
|
-
unsafe {
|
1207
|
-
values_vec[i] = ret.to_raw(&mut caller.store);
|
1208
|
-
}
|
1209
|
-
}
|
1210
|
-
|
1211
|
-
// Restore our `val_vec` back into the store so it's usable for the next
|
1212
|
-
// hostcall to reuse our own storage.
|
1213
|
-
val_vec.truncate(0);
|
1214
|
-
caller.store.0.save_hostcall_val_storage(val_vec);
|
1215
|
-
Ok(())
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
/// Attempts to extract a typed object from this `Func` through which the
|
1219
|
-
/// function can be called.
|
1220
|
-
///
|
1221
|
-
/// This function serves as an alternative to [`Func::call`] and
|
1222
|
-
/// [`Func::call_async`]. This method performs a static type check (using
|
1223
|
-
/// the `Params` and `Results` type parameters on the underlying wasm
|
1224
|
-
/// function. If the type check passes then a `TypedFunc` object is returned,
|
1225
|
-
/// otherwise an error is returned describing the typecheck failure.
|
1226
|
-
///
|
1227
|
-
/// The purpose of this relative to [`Func::call`] is that it's much more
|
1228
|
-
/// efficient when used to invoke WebAssembly functions. With the types
|
1229
|
-
/// statically known far less setup/teardown is required when invoking
|
1230
|
-
/// WebAssembly. If speed is desired then this function is recommended to be
|
1231
|
-
/// used instead of [`Func::call`] (which is more general, hence its
|
1232
|
-
/// slowdown).
|
1233
|
-
///
|
1234
|
-
/// The `Params` type parameter is used to describe the parameters of the
|
1235
|
-
/// WebAssembly function. This can either be a single type (like `i32`), or
|
1236
|
-
/// a tuple of types representing the list of parameters (like `(i32, f32,
|
1237
|
-
/// f64)`). Additionally you can use `()` to represent that the function has
|
1238
|
-
/// no parameters.
|
1239
|
-
///
|
1240
|
-
/// The `Results` type parameter is used to describe the results of the
|
1241
|
-
/// function. This behaves the same way as `Params`, but just for the
|
1242
|
-
/// results of the function.
|
1243
|
-
///
|
1244
|
-
/// Translation between Rust types and WebAssembly types looks like:
|
1245
|
-
///
|
1246
|
-
/// | WebAssembly | Rust |
|
1247
|
-
/// |-------------|---------------------|
|
1248
|
-
/// | `i32` | `i32` or `u32` |
|
1249
|
-
/// | `i64` | `i64` or `u64` |
|
1250
|
-
/// | `f32` | `f32` |
|
1251
|
-
/// | `f64` | `f64` |
|
1252
|
-
/// | `externref` | `Option<ExternRef>` |
|
1253
|
-
/// | `funcref` | `Option<Func>` |
|
1254
|
-
/// | `v128` | not supported |
|
1255
|
-
///
|
1256
|
-
/// (note that this mapping is the same as that of [`Func::wrap`]).
|
1257
|
-
///
|
1258
|
-
/// Note that once the [`TypedFunc`] return value is acquired you'll use either
|
1259
|
-
/// [`TypedFunc::call`] or [`TypedFunc::call_async`] as necessary to actually invoke
|
1260
|
-
/// the function. This method does not invoke any WebAssembly code, it
|
1261
|
-
/// simply performs a typecheck before returning the [`TypedFunc`] value.
|
1262
|
-
///
|
1263
|
-
/// This method also has a convenience wrapper as
|
1264
|
-
/// [`Instance::get_typed_func`](crate::Instance::get_typed_func) to
|
1265
|
-
/// directly get a typed function value from an
|
1266
|
-
/// [`Instance`](crate::Instance).
|
1267
|
-
///
|
1268
|
-
/// # Errors
|
1269
|
-
///
|
1270
|
-
/// This function will return an error if `Params` or `Results` does not
|
1271
|
-
/// match the native type of this WebAssembly function.
|
1272
|
-
///
|
1273
|
-
/// # Panics
|
1274
|
-
///
|
1275
|
-
/// This method will panic if `store` does not own this function.
|
1276
|
-
///
|
1277
|
-
/// # Examples
|
1278
|
-
///
|
1279
|
-
/// An end-to-end example of calling a function which takes no parameters
|
1280
|
-
/// and has no results:
|
1281
|
-
///
|
1282
|
-
/// ```
|
1283
|
-
/// # use wasmtime::*;
|
1284
|
-
/// # fn main() -> anyhow::Result<()> {
|
1285
|
-
/// let engine = Engine::default();
|
1286
|
-
/// let mut store = Store::new(&engine, ());
|
1287
|
-
/// let module = Module::new(&engine, r#"(module (func (export "foo")))"#)?;
|
1288
|
-
/// let instance = Instance::new(&mut store, &module, &[])?;
|
1289
|
-
/// let foo = instance.get_func(&mut store, "foo").expect("export wasn't a function");
|
1290
|
-
///
|
1291
|
-
/// // Note that this call can fail due to the typecheck not passing, but
|
1292
|
-
/// // in our case we statically know the module so we know this should
|
1293
|
-
/// // pass.
|
1294
|
-
/// let typed = foo.typed::<(), ()>(&store)?;
|
1295
|
-
///
|
1296
|
-
/// // Note that this can fail if the wasm traps at runtime.
|
1297
|
-
/// typed.call(&mut store, ())?;
|
1298
|
-
/// # Ok(())
|
1299
|
-
/// # }
|
1300
|
-
/// ```
|
1301
|
-
///
|
1302
|
-
/// You can also pass in multiple parameters and get a result back
|
1303
|
-
///
|
1304
|
-
/// ```
|
1305
|
-
/// # use wasmtime::*;
|
1306
|
-
/// # fn foo(add: &Func, mut store: Store<()>) -> anyhow::Result<()> {
|
1307
|
-
/// let typed = add.typed::<(i32, i64), f32>(&store)?;
|
1308
|
-
/// assert_eq!(typed.call(&mut store, (1, 2))?, 3.0);
|
1309
|
-
/// # Ok(())
|
1310
|
-
/// # }
|
1311
|
-
/// ```
|
1312
|
-
///
|
1313
|
-
/// and similarly if a function has multiple results you can bind that too
|
1314
|
-
///
|
1315
|
-
/// ```
|
1316
|
-
/// # use wasmtime::*;
|
1317
|
-
/// # fn foo(add_with_overflow: &Func, mut store: Store<()>) -> anyhow::Result<()> {
|
1318
|
-
/// let typed = add_with_overflow.typed::<(u32, u32), (u32, i32)>(&store)?;
|
1319
|
-
/// let (result, overflow) = typed.call(&mut store, (u32::max_value(), 2))?;
|
1320
|
-
/// assert_eq!(result, 1);
|
1321
|
-
/// assert_eq!(overflow, 1);
|
1322
|
-
/// # Ok(())
|
1323
|
-
/// # }
|
1324
|
-
/// ```
|
1325
|
-
pub fn typed<Params, Results>(
|
1326
|
-
&self,
|
1327
|
-
store: impl AsContext,
|
1328
|
-
) -> Result<TypedFunc<Params, Results>>
|
1329
|
-
where
|
1330
|
-
Params: WasmParams,
|
1331
|
-
Results: WasmResults,
|
1332
|
-
{
|
1333
|
-
// Type-check that the params/results are all valid
|
1334
|
-
let ty = self.ty(store);
|
1335
|
-
Params::typecheck(ty.params()).context("type mismatch with parameters")?;
|
1336
|
-
Results::typecheck(ty.results()).context("type mismatch with results")?;
|
1337
|
-
|
1338
|
-
// and then we can construct the typed version of this function
|
1339
|
-
// (unsafely), which should be safe since we just did the type check above.
|
1340
|
-
unsafe { Ok(TypedFunc::new_unchecked(*self)) }
|
1341
|
-
}
|
1342
|
-
}
|
1343
|
-
|
1344
|
-
/// Prepares for entrance into WebAssembly.
|
1345
|
-
///
|
1346
|
-
/// This function will set up context such that `closure` is allowed to call a
|
1347
|
-
/// raw trampoline or a raw WebAssembly function. This *must* be called to do
|
1348
|
-
/// things like catch traps and set up GC properly.
|
1349
|
-
///
|
1350
|
-
/// The `closure` provided receives a default "caller" `VMContext` parameter it
|
1351
|
-
/// can pass to the called wasm function, if desired.
|
1352
|
-
pub(crate) fn invoke_wasm_and_catch_traps<T>(
|
1353
|
-
store: &mut StoreContextMut<'_, T>,
|
1354
|
-
closure: impl FnMut(*mut VMContext),
|
1355
|
-
) -> Result<()> {
|
1356
|
-
unsafe {
|
1357
|
-
let exit = enter_wasm(store);
|
1358
|
-
|
1359
|
-
if let Err(trap) = store.0.call_hook(CallHook::CallingWasm) {
|
1360
|
-
exit_wasm(store, exit);
|
1361
|
-
return Err(trap);
|
1362
|
-
}
|
1363
|
-
let result = wasmtime_runtime::catch_traps(
|
1364
|
-
store.0.signal_handler(),
|
1365
|
-
store.0.engine().config().wasm_backtrace,
|
1366
|
-
store.0.default_caller(),
|
1367
|
-
closure,
|
1368
|
-
);
|
1369
|
-
exit_wasm(store, exit);
|
1370
|
-
store.0.call_hook(CallHook::ReturningFromWasm)?;
|
1371
|
-
result.map_err(|t| crate::trap::from_runtime_box(store.0, t))
|
1372
|
-
}
|
1373
|
-
}
|
1374
|
-
|
1375
|
-
/// This function is called to register state within `Store` whenever
|
1376
|
-
/// WebAssembly is entered within the `Store`.
|
1377
|
-
///
|
1378
|
-
/// This function sets up various limits such as:
|
1379
|
-
///
|
1380
|
-
/// * The stack limit. This is what ensures that we limit the stack space
|
1381
|
-
/// allocated by WebAssembly code and it's relative to the initial stack
|
1382
|
-
/// pointer that called into wasm.
|
1383
|
-
///
|
1384
|
-
/// This function may fail if the the stack limit can't be set because an
|
1385
|
-
/// interrupt already happened.
|
1386
|
-
fn enter_wasm<T>(store: &mut StoreContextMut<'_, T>) -> Option<usize> {
|
1387
|
-
// If this is a recursive call, e.g. our stack limit is already set, then
|
1388
|
-
// we may be able to skip this function.
|
1389
|
-
//
|
1390
|
-
// For synchronous stores there's nothing else to do because all wasm calls
|
1391
|
-
// happen synchronously and on the same stack. This means that the previous
|
1392
|
-
// stack limit will suffice for the next recursive call.
|
1393
|
-
//
|
1394
|
-
// For asynchronous stores then each call happens on a separate native
|
1395
|
-
// stack. This means that the previous stack limit is no longer relevant
|
1396
|
-
// because we're on a separate stack.
|
1397
|
-
if unsafe { *store.0.runtime_limits().stack_limit.get() } != usize::MAX
|
1398
|
-
&& !store.0.async_support()
|
1399
|
-
{
|
1400
|
-
return None;
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
// Ignore this stack pointer business on miri since we can't execute wasm
|
1404
|
-
// anyway and the concept of a stack pointer on miri is a bit nebulous
|
1405
|
-
// regardless.
|
1406
|
-
if cfg!(miri) {
|
1407
|
-
return None;
|
1408
|
-
}
|
1409
|
-
|
1410
|
-
let stack_pointer = psm::stack_pointer() as usize;
|
1411
|
-
|
1412
|
-
// Determine the stack pointer where, after which, any wasm code will
|
1413
|
-
// immediately trap. This is checked on the entry to all wasm functions.
|
1414
|
-
//
|
1415
|
-
// Note that this isn't 100% precise. We are requested to give wasm
|
1416
|
-
// `max_wasm_stack` bytes, but what we're actually doing is giving wasm
|
1417
|
-
// probably a little less than `max_wasm_stack` because we're
|
1418
|
-
// calculating the limit relative to this function's approximate stack
|
1419
|
-
// pointer. Wasm will be executed on a frame beneath this one (or next
|
1420
|
-
// to it). In any case it's expected to be at most a few hundred bytes
|
1421
|
-
// of slop one way or another. When wasm is typically given a MB or so
|
1422
|
-
// (a million bytes) the slop shouldn't matter too much.
|
1423
|
-
//
|
1424
|
-
// After we've got the stack limit then we store it into the `stack_limit`
|
1425
|
-
// variable.
|
1426
|
-
let wasm_stack_limit = stack_pointer - store.engine().config().max_wasm_stack;
|
1427
|
-
let prev_stack = unsafe {
|
1428
|
-
mem::replace(
|
1429
|
-
&mut *store.0.runtime_limits().stack_limit.get(),
|
1430
|
-
wasm_stack_limit,
|
1431
|
-
)
|
1432
|
-
};
|
1433
|
-
|
1434
|
-
Some(prev_stack)
|
1435
|
-
}
|
1436
|
-
|
1437
|
-
fn exit_wasm<T>(store: &mut StoreContextMut<'_, T>, prev_stack: Option<usize>) {
|
1438
|
-
// If we don't have a previous stack pointer to restore, then there's no
|
1439
|
-
// cleanup we need to perform here.
|
1440
|
-
let prev_stack = match prev_stack {
|
1441
|
-
Some(stack) => stack,
|
1442
|
-
None => return,
|
1443
|
-
};
|
1444
|
-
|
1445
|
-
unsafe {
|
1446
|
-
*store.0.runtime_limits().stack_limit.get() = prev_stack;
|
1447
|
-
}
|
1448
|
-
}
|
1449
|
-
|
1450
|
-
/// A trait implemented for types which can be returned from closures passed to
|
1451
|
-
/// [`Func::wrap`] and friends.
|
1452
|
-
///
|
1453
|
-
/// This trait should not be implemented by user types. This trait may change at
|
1454
|
-
/// any time internally. The types which implement this trait, however, are
|
1455
|
-
/// stable over time.
|
1456
|
-
///
|
1457
|
-
/// For more information see [`Func::wrap`]
|
1458
|
-
pub unsafe trait WasmRet {
|
1459
|
-
// Same as `WasmTy::Abi`.
|
1460
|
-
#[doc(hidden)]
|
1461
|
-
type Abi: Copy;
|
1462
|
-
#[doc(hidden)]
|
1463
|
-
type Retptr: Copy;
|
1464
|
-
|
1465
|
-
// Same as `WasmTy::compatible_with_store`.
|
1466
|
-
#[doc(hidden)]
|
1467
|
-
fn compatible_with_store(&self, store: &StoreOpaque) -> bool;
|
1468
|
-
|
1469
|
-
// Similar to `WasmTy::into_abi_for_arg` but used when host code is
|
1470
|
-
// returning a value into Wasm, rather than host code passing an argument to
|
1471
|
-
// a Wasm call. Unlike `into_abi_for_arg`, implementors of this method can
|
1472
|
-
// raise traps, which means that callers must ensure that
|
1473
|
-
// `invoke_wasm_and_catch_traps` is on the stack, and therefore this method
|
1474
|
-
// is unsafe.
|
1475
|
-
#[doc(hidden)]
|
1476
|
-
unsafe fn into_abi_for_ret(
|
1477
|
-
self,
|
1478
|
-
store: &mut StoreOpaque,
|
1479
|
-
ptr: Self::Retptr,
|
1480
|
-
) -> Result<Self::Abi>;
|
1481
|
-
|
1482
|
-
#[doc(hidden)]
|
1483
|
-
fn func_type(params: impl Iterator<Item = ValType>) -> FuncType;
|
1484
|
-
|
1485
|
-
#[doc(hidden)]
|
1486
|
-
unsafe fn wrap_trampoline(ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi);
|
1487
|
-
|
1488
|
-
// Utilities used to convert an instance of this type to a `Result`
|
1489
|
-
// explicitly, used when wrapping async functions which always bottom-out
|
1490
|
-
// in a function that returns a trap because futures can be cancelled.
|
1491
|
-
#[doc(hidden)]
|
1492
|
-
type Fallible: WasmRet<Abi = Self::Abi, Retptr = Self::Retptr>;
|
1493
|
-
#[doc(hidden)]
|
1494
|
-
fn into_fallible(self) -> Self::Fallible;
|
1495
|
-
#[doc(hidden)]
|
1496
|
-
fn fallible_from_error(error: Error) -> Self::Fallible;
|
1497
|
-
}
|
1498
|
-
|
1499
|
-
unsafe impl<T> WasmRet for T
|
1500
|
-
where
|
1501
|
-
T: WasmTy,
|
1502
|
-
{
|
1503
|
-
type Abi = <T as WasmTy>::Abi;
|
1504
|
-
type Retptr = ();
|
1505
|
-
type Fallible = Result<T>;
|
1506
|
-
|
1507
|
-
fn compatible_with_store(&self, store: &StoreOpaque) -> bool {
|
1508
|
-
<Self as WasmTy>::compatible_with_store(self, store)
|
1509
|
-
}
|
1510
|
-
|
1511
|
-
unsafe fn into_abi_for_ret(self, store: &mut StoreOpaque, _retptr: ()) -> Result<Self::Abi> {
|
1512
|
-
Ok(<Self as WasmTy>::into_abi(self, store))
|
1513
|
-
}
|
1514
|
-
|
1515
|
-
fn func_type(params: impl Iterator<Item = ValType>) -> FuncType {
|
1516
|
-
FuncType::new(params, Some(<Self as WasmTy>::valtype()))
|
1517
|
-
}
|
1518
|
-
|
1519
|
-
unsafe fn wrap_trampoline(ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi) {
|
1520
|
-
T::abi_into_raw(f(()), ptr);
|
1521
|
-
}
|
1522
|
-
|
1523
|
-
fn into_fallible(self) -> Result<T> {
|
1524
|
-
Ok(self)
|
1525
|
-
}
|
1526
|
-
|
1527
|
-
fn fallible_from_error(error: Error) -> Result<T> {
|
1528
|
-
Err(error)
|
1529
|
-
}
|
1530
|
-
}
|
1531
|
-
|
1532
|
-
unsafe impl<T> WasmRet for Result<T>
|
1533
|
-
where
|
1534
|
-
T: WasmRet,
|
1535
|
-
{
|
1536
|
-
type Abi = <T as WasmRet>::Abi;
|
1537
|
-
type Retptr = <T as WasmRet>::Retptr;
|
1538
|
-
type Fallible = Self;
|
1539
|
-
|
1540
|
-
fn compatible_with_store(&self, store: &StoreOpaque) -> bool {
|
1541
|
-
match self {
|
1542
|
-
Ok(x) => <T as WasmRet>::compatible_with_store(x, store),
|
1543
|
-
Err(_) => true,
|
1544
|
-
}
|
1545
|
-
}
|
1546
|
-
|
1547
|
-
unsafe fn into_abi_for_ret(
|
1548
|
-
self,
|
1549
|
-
store: &mut StoreOpaque,
|
1550
|
-
retptr: Self::Retptr,
|
1551
|
-
) -> Result<Self::Abi> {
|
1552
|
-
self.and_then(|val| val.into_abi_for_ret(store, retptr))
|
1553
|
-
}
|
1554
|
-
|
1555
|
-
fn func_type(params: impl Iterator<Item = ValType>) -> FuncType {
|
1556
|
-
T::func_type(params)
|
1557
|
-
}
|
1558
|
-
|
1559
|
-
unsafe fn wrap_trampoline(ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi) {
|
1560
|
-
T::wrap_trampoline(ptr, f)
|
1561
|
-
}
|
1562
|
-
|
1563
|
-
fn into_fallible(self) -> Result<T> {
|
1564
|
-
self
|
1565
|
-
}
|
1566
|
-
|
1567
|
-
fn fallible_from_error(error: Error) -> Result<T> {
|
1568
|
-
Err(error)
|
1569
|
-
}
|
1570
|
-
}
|
1571
|
-
|
1572
|
-
macro_rules! impl_wasm_host_results {
|
1573
|
-
($n:tt $($t:ident)*) => (
|
1574
|
-
#[allow(non_snake_case)]
|
1575
|
-
unsafe impl<$($t),*> WasmRet for ($($t,)*)
|
1576
|
-
where
|
1577
|
-
$($t: WasmTy,)*
|
1578
|
-
($($t::Abi,)*): HostAbi,
|
1579
|
-
{
|
1580
|
-
type Abi = <($($t::Abi,)*) as HostAbi>::Abi;
|
1581
|
-
type Retptr = <($($t::Abi,)*) as HostAbi>::Retptr;
|
1582
|
-
type Fallible = Result<Self>;
|
1583
|
-
|
1584
|
-
#[inline]
|
1585
|
-
fn compatible_with_store(&self, _store: &StoreOpaque) -> bool {
|
1586
|
-
let ($($t,)*) = self;
|
1587
|
-
$( $t.compatible_with_store(_store) && )* true
|
1588
|
-
}
|
1589
|
-
|
1590
|
-
#[inline]
|
1591
|
-
unsafe fn into_abi_for_ret(self, _store: &mut StoreOpaque, ptr: Self::Retptr) -> Result<Self::Abi> {
|
1592
|
-
let ($($t,)*) = self;
|
1593
|
-
let abi = ($($t.into_abi(_store),)*);
|
1594
|
-
Ok(<($($t::Abi,)*) as HostAbi>::into_abi(abi, ptr))
|
1595
|
-
}
|
1596
|
-
|
1597
|
-
fn func_type(params: impl Iterator<Item = ValType>) -> FuncType {
|
1598
|
-
FuncType::new(
|
1599
|
-
params,
|
1600
|
-
IntoIterator::into_iter([$($t::valtype(),)*]),
|
1601
|
-
)
|
1602
|
-
}
|
1603
|
-
|
1604
|
-
#[allow(unused_assignments)]
|
1605
|
-
unsafe fn wrap_trampoline(mut _ptr: *mut ValRaw, f: impl FnOnce(Self::Retptr) -> Self::Abi) {
|
1606
|
-
let ($($t,)*) = <($($t::Abi,)*) as HostAbi>::call(f);
|
1607
|
-
$(
|
1608
|
-
$t::abi_into_raw($t, _ptr);
|
1609
|
-
_ptr = _ptr.add(1);
|
1610
|
-
)*
|
1611
|
-
}
|
1612
|
-
|
1613
|
-
#[inline]
|
1614
|
-
fn into_fallible(self) -> Result<Self> {
|
1615
|
-
Ok(self)
|
1616
|
-
}
|
1617
|
-
|
1618
|
-
#[inline]
|
1619
|
-
fn fallible_from_error(error: Error) -> Result<Self> {
|
1620
|
-
Err(error)
|
1621
|
-
}
|
1622
|
-
}
|
1623
|
-
)
|
1624
|
-
}
|
1625
|
-
|
1626
|
-
for_each_function_signature!(impl_wasm_host_results);
|
1627
|
-
|
1628
|
-
// Internal trait representing how to communicate tuples of return values across
|
1629
|
-
// an ABI boundary. This internally corresponds to the "wasmtime" ABI inside of
|
1630
|
-
// cranelift itself. Notably the first element of each tuple is returned via the
|
1631
|
-
// typical system ABI (e.g. systemv or fastcall depending on platform) and all
|
1632
|
-
// other values are returned packed via the stack.
|
1633
|
-
//
|
1634
|
-
// This trait helps to encapsulate all the details of that.
|
1635
|
-
#[doc(hidden)]
|
1636
|
-
pub trait HostAbi {
|
1637
|
-
// A value returned from native functions which return `Self`
|
1638
|
-
type Abi: Copy;
|
1639
|
-
// A return pointer, added to the end of the argument list, for native
|
1640
|
-
// functions that return `Self`. Note that a 0-sized type here should get
|
1641
|
-
// elided at the ABI level.
|
1642
|
-
type Retptr: Copy;
|
1643
|
-
|
1644
|
-
// Converts a value of `self` into its components. Stores necessary values
|
1645
|
-
// into `ptr` and then returns whatever needs to be returned from the
|
1646
|
-
// function.
|
1647
|
-
unsafe fn into_abi(self, ptr: Self::Retptr) -> Self::Abi;
|
1648
|
-
|
1649
|
-
// Calls `f` with a suitably sized return area and requires `f` to return
|
1650
|
-
// the raw abi value of the first element of our tuple. This will then
|
1651
|
-
// unpack the `Retptr` and assemble it with `Self::Abi` to return an
|
1652
|
-
// instance of the whole tuple.
|
1653
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self;
|
1654
|
-
}
|
1655
|
-
|
1656
|
-
macro_rules! impl_host_abi {
|
1657
|
-
// Base case, everything is `()`
|
1658
|
-
(0) => {
|
1659
|
-
impl HostAbi for () {
|
1660
|
-
type Abi = ();
|
1661
|
-
type Retptr = ();
|
1662
|
-
|
1663
|
-
#[inline]
|
1664
|
-
unsafe fn into_abi(self, _ptr: Self::Retptr) -> Self::Abi {}
|
1665
|
-
|
1666
|
-
#[inline]
|
1667
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self {
|
1668
|
-
f(())
|
1669
|
-
}
|
1670
|
-
}
|
1671
|
-
};
|
1672
|
-
|
1673
|
-
// In the 1-case the retptr is not present, so it's a 0-sized value.
|
1674
|
-
(1 $a:ident) => {
|
1675
|
-
impl<$a: Copy> HostAbi for ($a,) {
|
1676
|
-
type Abi = $a;
|
1677
|
-
type Retptr = ();
|
1678
|
-
|
1679
|
-
unsafe fn into_abi(self, _ptr: Self::Retptr) -> Self::Abi {
|
1680
|
-
self.0
|
1681
|
-
}
|
1682
|
-
|
1683
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self {
|
1684
|
-
(f(()),)
|
1685
|
-
}
|
1686
|
-
}
|
1687
|
-
};
|
1688
|
-
|
1689
|
-
// This is where the more interesting case happens. The first element of the
|
1690
|
-
// tuple is returned via `Abi` and all other elements are returned via
|
1691
|
-
// `Retptr`. We create a `TupleRetNN` structure to represent all of the
|
1692
|
-
// return values here.
|
1693
|
-
//
|
1694
|
-
// Also note that this isn't implemented for the old backend right now due
|
1695
|
-
// to the original author not really being sure how to implement this in the
|
1696
|
-
// old backend.
|
1697
|
-
($n:tt $t:ident $($u:ident)*) => {paste::paste!{
|
1698
|
-
#[doc(hidden)]
|
1699
|
-
#[allow(non_snake_case)]
|
1700
|
-
#[repr(C)]
|
1701
|
-
pub struct [<TupleRet $n>]<$($u,)*> {
|
1702
|
-
$($u: $u,)*
|
1703
|
-
}
|
1704
|
-
|
1705
|
-
#[allow(non_snake_case, unused_assignments)]
|
1706
|
-
impl<$t: Copy, $($u: Copy,)*> HostAbi for ($t, $($u,)*) {
|
1707
|
-
type Abi = $t;
|
1708
|
-
type Retptr = *mut [<TupleRet $n>]<$($u,)*>;
|
1709
|
-
|
1710
|
-
unsafe fn into_abi(self, ptr: Self::Retptr) -> Self::Abi {
|
1711
|
-
let ($t, $($u,)*) = self;
|
1712
|
-
// Store the tail of our tuple into the return pointer...
|
1713
|
-
$((*ptr).$u = $u;)*
|
1714
|
-
// ... and return the head raw.
|
1715
|
-
$t
|
1716
|
-
}
|
1717
|
-
|
1718
|
-
unsafe fn call(f: impl FnOnce(Self::Retptr) -> Self::Abi) -> Self {
|
1719
|
-
// Create space to store all the return values and then invoke
|
1720
|
-
// the function.
|
1721
|
-
let mut space = std::mem::MaybeUninit::uninit();
|
1722
|
-
let t = f(space.as_mut_ptr());
|
1723
|
-
let space = space.assume_init();
|
1724
|
-
|
1725
|
-
// Use the return value as the head of the tuple and unpack our
|
1726
|
-
// return area to get the rest of the tuple.
|
1727
|
-
(t, $(space.$u,)*)
|
1728
|
-
}
|
1729
|
-
}
|
1730
|
-
}};
|
1731
|
-
}
|
1732
|
-
|
1733
|
-
for_each_function_signature!(impl_host_abi);
|
1734
|
-
|
1735
|
-
/// Internal trait implemented for all arguments that can be passed to
|
1736
|
-
/// [`Func::wrap`] and [`Linker::func_wrap`](crate::Linker::func_wrap).
|
1737
|
-
///
|
1738
|
-
/// This trait should not be implemented by external users, it's only intended
|
1739
|
-
/// as an implementation detail of this crate.
|
1740
|
-
pub trait IntoFunc<T, Params, Results>: Send + Sync + 'static {
|
1741
|
-
/// Convert this function into a `VM{Array,Native}CallHostFuncContext` and
|
1742
|
-
/// internal `VMFuncRef`.
|
1743
|
-
#[doc(hidden)]
|
1744
|
-
fn into_func(self, engine: &Engine) -> HostContext;
|
1745
|
-
}
|
1746
|
-
|
1747
|
-
/// A structure representing the caller's context when creating a function
|
1748
|
-
/// via [`Func::wrap`].
|
1749
|
-
///
|
1750
|
-
/// This structure can be taken as the first parameter of a closure passed to
|
1751
|
-
/// [`Func::wrap`] or other constructors, and serves two purposes:
|
1752
|
-
///
|
1753
|
-
/// * First consumers can use [`Caller<'_, T>`](crate::Caller) to get access to
|
1754
|
-
/// [`StoreContextMut<'_, T>`](crate::StoreContextMut) and/or get access to
|
1755
|
-
/// `T` itself. This means that the [`Caller`] type can serve as a proxy to
|
1756
|
-
/// the original [`Store`](crate::Store) itself and is used to satisfy
|
1757
|
-
/// [`AsContext`] and [`AsContextMut`] bounds.
|
1758
|
-
///
|
1759
|
-
/// * Second a [`Caller`] can be used as the name implies, learning about the
|
1760
|
-
/// caller's context, namely it's exported memory and exported functions. This
|
1761
|
-
/// allows functions which take pointers as arguments to easily read the
|
1762
|
-
/// memory the pointers point into, or if a function is expected to call
|
1763
|
-
/// malloc in the wasm module to reserve space for the output you can do that.
|
1764
|
-
///
|
1765
|
-
/// Host functions which want access to [`Store`](crate::Store)-level state are
|
1766
|
-
/// recommended to use this type.
|
1767
|
-
pub struct Caller<'a, T> {
|
1768
|
-
pub(crate) store: StoreContextMut<'a, T>,
|
1769
|
-
caller: &'a wasmtime_runtime::Instance,
|
1770
|
-
}
|
1771
|
-
|
1772
|
-
impl<T> Caller<'_, T> {
|
1773
|
-
unsafe fn with<R>(caller: *mut VMContext, f: impl FnOnce(Caller<'_, T>) -> R) -> R {
|
1774
|
-
assert!(!caller.is_null());
|
1775
|
-
wasmtime_runtime::Instance::from_vmctx(caller, |instance| {
|
1776
|
-
let store = StoreContextMut::from_raw(instance.store());
|
1777
|
-
f(Caller {
|
1778
|
-
store,
|
1779
|
-
caller: &instance,
|
1780
|
-
})
|
1781
|
-
})
|
1782
|
-
}
|
1783
|
-
|
1784
|
-
fn sub_caller(&mut self) -> Caller<'_, T> {
|
1785
|
-
Caller {
|
1786
|
-
store: self.store.as_context_mut(),
|
1787
|
-
caller: self.caller,
|
1788
|
-
}
|
1789
|
-
}
|
1790
|
-
|
1791
|
-
/// Looks up an export from the caller's module by the `name` given.
|
1792
|
-
///
|
1793
|
-
/// This is a low-level function that's typically used to implement passing
|
1794
|
-
/// of pointers or indices between core Wasm instances, where the callee
|
1795
|
-
/// needs to consult the caller's exports to perform memory management and
|
1796
|
-
/// resolve the references.
|
1797
|
-
///
|
1798
|
-
/// For comparison, in components, the component model handles translating
|
1799
|
-
/// arguments from one component instance to another and managing memory, so
|
1800
|
-
/// that callees don't need to be aware of their callers, which promotes
|
1801
|
-
/// virtualizability of APIs.
|
1802
|
-
///
|
1803
|
-
/// # Return
|
1804
|
-
///
|
1805
|
-
/// If an export with the `name` provided was found, then it is returned as an
|
1806
|
-
/// `Extern`. There are a number of situations, however, where the export may not
|
1807
|
-
/// be available:
|
1808
|
-
///
|
1809
|
-
/// * The caller instance may not have an export named `name`
|
1810
|
-
/// * There may not be a caller available, for example if `Func` was called
|
1811
|
-
/// directly from host code.
|
1812
|
-
///
|
1813
|
-
/// It's recommended to take care when calling this API and gracefully
|
1814
|
-
/// handling a `None` return value.
|
1815
|
-
pub fn get_export(&mut self, name: &str) -> Option<Extern> {
|
1816
|
-
// All instances created have a `host_state` with a pointer pointing
|
1817
|
-
// back to themselves. If this caller doesn't have that `host_state`
|
1818
|
-
// then it probably means it was a host-created object like `Func::new`
|
1819
|
-
// which doesn't have any exports we want to return anyway.
|
1820
|
-
self.caller
|
1821
|
-
.host_state()
|
1822
|
-
.downcast_ref::<Instance>()?
|
1823
|
-
.get_export(&mut self.store, name)
|
1824
|
-
}
|
1825
|
-
|
1826
|
-
/// Access the underlying data owned by this `Store`.
|
1827
|
-
///
|
1828
|
-
/// Same as [`Store::data`](crate::Store::data)
|
1829
|
-
pub fn data(&self) -> &T {
|
1830
|
-
self.store.data()
|
1831
|
-
}
|
1832
|
-
|
1833
|
-
/// Access the underlying data owned by this `Store`.
|
1834
|
-
///
|
1835
|
-
/// Same as [`Store::data_mut`](crate::Store::data_mut)
|
1836
|
-
pub fn data_mut(&mut self) -> &mut T {
|
1837
|
-
self.store.data_mut()
|
1838
|
-
}
|
1839
|
-
|
1840
|
-
/// Returns the underlying [`Engine`] this store is connected to.
|
1841
|
-
pub fn engine(&self) -> &Engine {
|
1842
|
-
self.store.engine()
|
1843
|
-
}
|
1844
|
-
|
1845
|
-
/// Perform garbage collection of `ExternRef`s.
|
1846
|
-
///
|
1847
|
-
/// Same as [`Store::gc`](crate::Store::gc).
|
1848
|
-
pub fn gc(&mut self) {
|
1849
|
-
self.store.gc()
|
1850
|
-
}
|
1851
|
-
|
1852
|
-
/// Returns the fuel consumed by this store.
|
1853
|
-
///
|
1854
|
-
/// For more information see [`Store::fuel_consumed`](crate::Store::fuel_consumed)
|
1855
|
-
pub fn fuel_consumed(&self) -> Option<u64> {
|
1856
|
-
self.store.fuel_consumed()
|
1857
|
-
}
|
1858
|
-
|
1859
|
-
/// Inject more fuel into this store to be consumed when executing wasm code.
|
1860
|
-
///
|
1861
|
-
/// For more information see [`Store::add_fuel`](crate::Store::add_fuel)
|
1862
|
-
pub fn add_fuel(&mut self, fuel: u64) -> Result<()> {
|
1863
|
-
self.store.add_fuel(fuel)
|
1864
|
-
}
|
1865
|
-
|
1866
|
-
/// Synthetically consumes fuel from the store.
|
1867
|
-
///
|
1868
|
-
/// For more information see [`Store::consume_fuel`](crate::Store::consume_fuel)
|
1869
|
-
pub fn consume_fuel(&mut self, fuel: u64) -> Result<u64> {
|
1870
|
-
self.store.consume_fuel(fuel)
|
1871
|
-
}
|
1872
|
-
|
1873
|
-
/// Configures this `Store` to trap whenever fuel runs out.
|
1874
|
-
///
|
1875
|
-
/// For more information see
|
1876
|
-
/// [`Store::out_of_fuel_trap`](crate::Store::out_of_fuel_trap)
|
1877
|
-
pub fn out_of_fuel_trap(&mut self) {
|
1878
|
-
self.store.out_of_fuel_trap()
|
1879
|
-
}
|
1880
|
-
|
1881
|
-
/// Configures this `Store` to yield while executing futures whenever fuel
|
1882
|
-
/// runs out.
|
1883
|
-
///
|
1884
|
-
/// For more information see
|
1885
|
-
/// [`Store::out_of_fuel_async_yield`](crate::Store::out_of_fuel_async_yield)
|
1886
|
-
pub fn out_of_fuel_async_yield(&mut self, injection_count: u64, fuel_to_inject: u64) {
|
1887
|
-
self.store
|
1888
|
-
.out_of_fuel_async_yield(injection_count, fuel_to_inject)
|
1889
|
-
}
|
1890
|
-
}
|
1891
|
-
|
1892
|
-
impl<T> AsContext for Caller<'_, T> {
|
1893
|
-
type Data = T;
|
1894
|
-
fn as_context(&self) -> StoreContext<'_, T> {
|
1895
|
-
self.store.as_context()
|
1896
|
-
}
|
1897
|
-
}
|
1898
|
-
|
1899
|
-
impl<T> AsContextMut for Caller<'_, T> {
|
1900
|
-
fn as_context_mut(&mut self) -> StoreContextMut<'_, T> {
|
1901
|
-
self.store.as_context_mut()
|
1902
|
-
}
|
1903
|
-
}
|
1904
|
-
|
1905
|
-
macro_rules! impl_into_func {
|
1906
|
-
($num:tt $($args:ident)*) => {
|
1907
|
-
// Implement for functions without a leading `&Caller` parameter,
|
1908
|
-
// delegating to the implementation below which does have the leading
|
1909
|
-
// `Caller` parameter.
|
1910
|
-
#[allow(non_snake_case)]
|
1911
|
-
impl<T, F, $($args,)* R> IntoFunc<T, ($($args,)*), R> for F
|
1912
|
-
where
|
1913
|
-
F: Fn($($args),*) -> R + Send + Sync + 'static,
|
1914
|
-
$($args: WasmTy,)*
|
1915
|
-
R: WasmRet,
|
1916
|
-
{
|
1917
|
-
fn into_func(self, engine: &Engine) -> HostContext {
|
1918
|
-
let f = move |_: Caller<'_, T>, $($args:$args),*| {
|
1919
|
-
self($($args),*)
|
1920
|
-
};
|
1921
|
-
|
1922
|
-
f.into_func(engine)
|
1923
|
-
}
|
1924
|
-
}
|
1925
|
-
|
1926
|
-
#[allow(non_snake_case)]
|
1927
|
-
impl<T, F, $($args,)* R> IntoFunc<T, (Caller<'_, T>, $($args,)*), R> for F
|
1928
|
-
where
|
1929
|
-
F: Fn(Caller<'_, T>, $($args),*) -> R + Send + Sync + 'static,
|
1930
|
-
$($args: WasmTy,)*
|
1931
|
-
R: WasmRet,
|
1932
|
-
{
|
1933
|
-
fn into_func(self, engine: &Engine) -> HostContext {
|
1934
|
-
/// This shim is a regular, non-closure function we can stuff
|
1935
|
-
/// inside `VMFuncRef::native_call`.
|
1936
|
-
///
|
1937
|
-
/// It reads the actual callee closure out of
|
1938
|
-
/// `VMNativeCallHostFuncContext::host_state`, forwards
|
1939
|
-
/// arguments to that function, and finally forwards the results
|
1940
|
-
/// back out to the caller. It also handles traps and panics
|
1941
|
-
/// along the way.
|
1942
|
-
unsafe extern "C" fn native_call_shim<T, F, $($args,)* R>(
|
1943
|
-
vmctx: *mut VMOpaqueContext,
|
1944
|
-
caller_vmctx: *mut VMOpaqueContext,
|
1945
|
-
$( $args: $args::Abi, )*
|
1946
|
-
retptr: R::Retptr,
|
1947
|
-
) -> R::Abi
|
1948
|
-
where
|
1949
|
-
F: Fn(Caller<'_, T>, $( $args ),*) -> R + 'static,
|
1950
|
-
$( $args: WasmTy, )*
|
1951
|
-
R: WasmRet,
|
1952
|
-
{
|
1953
|
-
enum CallResult<U> {
|
1954
|
-
Ok(U),
|
1955
|
-
Trap(anyhow::Error),
|
1956
|
-
Panic(Box<dyn std::any::Any + Send>),
|
1957
|
-
}
|
1958
|
-
|
1959
|
-
// Note that this `result` is intentionally scoped into a
|
1960
|
-
// separate block. Handling traps and panics will involve
|
1961
|
-
// longjmp-ing from this function which means we won't run
|
1962
|
-
// destructors. As a result anything requiring a destructor
|
1963
|
-
// should be part of this block, and the long-jmp-ing
|
1964
|
-
// happens after the block in handling `CallResult`.
|
1965
|
-
let caller_vmctx = VMContext::from_opaque(caller_vmctx);
|
1966
|
-
let result = Caller::with(caller_vmctx, |mut caller| {
|
1967
|
-
let vmctx = VMNativeCallHostFuncContext::from_opaque(vmctx);
|
1968
|
-
let state = (*vmctx).host_state();
|
1969
|
-
|
1970
|
-
// Double-check ourselves in debug mode, but we control
|
1971
|
-
// the `Any` here so an unsafe downcast should also
|
1972
|
-
// work.
|
1973
|
-
debug_assert!(state.is::<F>());
|
1974
|
-
let func = &*(state as *const _ as *const F);
|
1975
|
-
|
1976
|
-
let ret = {
|
1977
|
-
panic::catch_unwind(AssertUnwindSafe(|| {
|
1978
|
-
if let Err(trap) = caller.store.0.call_hook(CallHook::CallingHost) {
|
1979
|
-
return R::fallible_from_error(trap);
|
1980
|
-
}
|
1981
|
-
$(let $args = $args::from_abi($args, caller.store.0);)*
|
1982
|
-
let r = func(
|
1983
|
-
caller.sub_caller(),
|
1984
|
-
$( $args, )*
|
1985
|
-
);
|
1986
|
-
if let Err(trap) = caller.store.0.call_hook(CallHook::ReturningFromHost) {
|
1987
|
-
return R::fallible_from_error(trap);
|
1988
|
-
}
|
1989
|
-
r.into_fallible()
|
1990
|
-
}))
|
1991
|
-
};
|
1992
|
-
|
1993
|
-
// Note that we need to be careful when dealing with traps
|
1994
|
-
// here. Traps are implemented with longjmp/setjmp meaning
|
1995
|
-
// that it's not unwinding and consequently no Rust
|
1996
|
-
// destructors are run. We need to be careful to ensure that
|
1997
|
-
// nothing on the stack needs a destructor when we exit
|
1998
|
-
// abnormally from this `match`, e.g. on `Err`, on
|
1999
|
-
// cross-store-issues, or if `Ok(Err)` is raised.
|
2000
|
-
match ret {
|
2001
|
-
Err(panic) => CallResult::Panic(panic),
|
2002
|
-
Ok(ret) => {
|
2003
|
-
// Because the wrapped function is not `unsafe`, we
|
2004
|
-
// can't assume it returned a value that is
|
2005
|
-
// compatible with this store.
|
2006
|
-
if !ret.compatible_with_store(caller.store.0) {
|
2007
|
-
CallResult::Trap(anyhow::anyhow!("host function attempted to return cross-`Store` value to Wasm"))
|
2008
|
-
} else {
|
2009
|
-
match ret.into_abi_for_ret(caller.store.0, retptr) {
|
2010
|
-
Ok(val) => CallResult::Ok(val),
|
2011
|
-
Err(trap) => CallResult::Trap(trap.into()),
|
2012
|
-
}
|
2013
|
-
}
|
2014
|
-
|
2015
|
-
}
|
2016
|
-
}
|
2017
|
-
});
|
2018
|
-
|
2019
|
-
match result {
|
2020
|
-
CallResult::Ok(val) => val,
|
2021
|
-
CallResult::Trap(err) => crate::trap::raise(err),
|
2022
|
-
CallResult::Panic(panic) => wasmtime_runtime::resume_panic(panic),
|
2023
|
-
}
|
2024
|
-
}
|
2025
|
-
|
2026
|
-
/// This trampoline allows host code to indirectly call the
|
2027
|
-
/// wrapped function (e.g. via `Func::call` on a `funcref` that
|
2028
|
-
/// happens to reference our wrapped function).
|
2029
|
-
///
|
2030
|
-
/// It reads the arguments out of the incoming `args` array,
|
2031
|
-
/// calls the given function pointer, and then stores the result
|
2032
|
-
/// back into the `args` array.
|
2033
|
-
unsafe extern "C" fn array_call_trampoline<T, F, $($args,)* R>(
|
2034
|
-
callee_vmctx: *mut VMOpaqueContext,
|
2035
|
-
caller_vmctx: *mut VMOpaqueContext,
|
2036
|
-
args: *mut ValRaw,
|
2037
|
-
_args_len: usize
|
2038
|
-
)
|
2039
|
-
where
|
2040
|
-
F: Fn(Caller<'_, T>, $( $args ),*) -> R + 'static,
|
2041
|
-
$($args: WasmTy,)*
|
2042
|
-
R: WasmRet,
|
2043
|
-
{
|
2044
|
-
let mut _n = 0;
|
2045
|
-
$(
|
2046
|
-
debug_assert!(_n < _args_len);
|
2047
|
-
let $args = $args::abi_from_raw(args.add(_n));
|
2048
|
-
_n += 1;
|
2049
|
-
)*
|
2050
|
-
|
2051
|
-
R::wrap_trampoline(args, |retptr| {
|
2052
|
-
native_call_shim::<T, F, $( $args, )* R>(callee_vmctx, caller_vmctx, $( $args, )* retptr)
|
2053
|
-
});
|
2054
|
-
}
|
2055
|
-
|
2056
|
-
let ty = R::func_type(
|
2057
|
-
None::<ValType>.into_iter()
|
2058
|
-
$(.chain(Some($args::valtype())))*
|
2059
|
-
);
|
2060
|
-
|
2061
|
-
let shared_signature_id = engine.signatures().register(ty.as_wasm_func_type());
|
2062
|
-
|
2063
|
-
let array_call = array_call_trampoline::<T, F, $($args,)* R>;
|
2064
|
-
let native_call = NonNull::new(native_call_shim::<T, F, $($args,)* R> as *mut _).unwrap();
|
2065
|
-
|
2066
|
-
let ctx = unsafe {
|
2067
|
-
VMNativeCallHostFuncContext::new(
|
2068
|
-
VMFuncRef {
|
2069
|
-
native_call,
|
2070
|
-
array_call,
|
2071
|
-
wasm_call: None,
|
2072
|
-
type_index: shared_signature_id,
|
2073
|
-
vmctx: ptr::null_mut(),
|
2074
|
-
},
|
2075
|
-
Box::new(self),
|
2076
|
-
)
|
2077
|
-
};
|
2078
|
-
|
2079
|
-
ctx.into()
|
2080
|
-
}
|
2081
|
-
}
|
2082
|
-
}
|
2083
|
-
}
|
2084
|
-
|
2085
|
-
for_each_function_signature!(impl_into_func);
|
2086
|
-
|
2087
|
-
#[doc(hidden)]
|
2088
|
-
pub enum HostContext {
|
2089
|
-
Native(StoreBox<VMNativeCallHostFuncContext>),
|
2090
|
-
Array(StoreBox<VMArrayCallHostFuncContext>),
|
2091
|
-
}
|
2092
|
-
|
2093
|
-
impl From<StoreBox<VMNativeCallHostFuncContext>> for HostContext {
|
2094
|
-
fn from(ctx: StoreBox<VMNativeCallHostFuncContext>) -> Self {
|
2095
|
-
HostContext::Native(ctx)
|
2096
|
-
}
|
2097
|
-
}
|
2098
|
-
|
2099
|
-
impl From<StoreBox<VMArrayCallHostFuncContext>> for HostContext {
|
2100
|
-
fn from(ctx: StoreBox<VMArrayCallHostFuncContext>) -> Self {
|
2101
|
-
HostContext::Array(ctx)
|
2102
|
-
}
|
2103
|
-
}
|
2104
|
-
|
2105
|
-
/// Representation of a host-defined function.
|
2106
|
-
///
|
2107
|
-
/// This is used for `Func::new` but also for `Linker`-defined functions. For
|
2108
|
-
/// `Func::new` this is stored within a `Store`, and for `Linker`-defined
|
2109
|
-
/// functions they wrap this up in `Arc` to enable shared ownership of this
|
2110
|
-
/// across many stores.
|
2111
|
-
///
|
2112
|
-
/// Technically this structure needs a `<T>` type parameter to connect to the
|
2113
|
-
/// `Store<T>` itself, but that's an unsafe contract of using this for now
|
2114
|
-
/// rather than part of the struct type (to avoid `Func<T>` in the API).
|
2115
|
-
pub(crate) struct HostFunc {
|
2116
|
-
ctx: HostContext,
|
2117
|
-
|
2118
|
-
// Stored to unregister this function's signature with the engine when this
|
2119
|
-
// is dropped.
|
2120
|
-
engine: Engine,
|
2121
|
-
}
|
2122
|
-
|
2123
|
-
impl HostFunc {
|
2124
|
-
/// Analog of [`Func::new`]
|
2125
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
2126
|
-
pub fn new<T>(
|
2127
|
-
engine: &Engine,
|
2128
|
-
ty: FuncType,
|
2129
|
-
func: impl Fn(Caller<'_, T>, &[Val], &mut [Val]) -> Result<()> + Send + Sync + 'static,
|
2130
|
-
) -> Self {
|
2131
|
-
let ty_clone = ty.clone();
|
2132
|
-
unsafe {
|
2133
|
-
HostFunc::new_unchecked(engine, ty, move |caller, values| {
|
2134
|
-
Func::invoke(caller, &ty_clone, values, &func)
|
2135
|
-
})
|
2136
|
-
}
|
2137
|
-
}
|
2138
|
-
|
2139
|
-
/// Analog of [`Func::new_unchecked`]
|
2140
|
-
#[cfg(any(feature = "cranelift", feature = "winch"))]
|
2141
|
-
pub unsafe fn new_unchecked<T>(
|
2142
|
-
engine: &Engine,
|
2143
|
-
ty: FuncType,
|
2144
|
-
func: impl Fn(Caller<'_, T>, &mut [ValRaw]) -> Result<()> + Send + Sync + 'static,
|
2145
|
-
) -> Self {
|
2146
|
-
let func = move |caller_vmctx, values: &mut [ValRaw]| {
|
2147
|
-
Caller::<T>::with(caller_vmctx, |mut caller| {
|
2148
|
-
caller.store.0.call_hook(CallHook::CallingHost)?;
|
2149
|
-
let result = func(caller.sub_caller(), values)?;
|
2150
|
-
caller.store.0.call_hook(CallHook::ReturningFromHost)?;
|
2151
|
-
Ok(result)
|
2152
|
-
})
|
2153
|
-
};
|
2154
|
-
let ctx = crate::trampoline::create_array_call_function(&ty, func, engine)
|
2155
|
-
.expect("failed to create function");
|
2156
|
-
HostFunc::_new(engine, ctx.into())
|
2157
|
-
}
|
2158
|
-
|
2159
|
-
/// Analog of [`Func::wrap`]
|
2160
|
-
pub fn wrap<T, Params, Results>(
|
2161
|
-
engine: &Engine,
|
2162
|
-
func: impl IntoFunc<T, Params, Results>,
|
2163
|
-
) -> Self {
|
2164
|
-
let ctx = func.into_func(engine);
|
2165
|
-
HostFunc::_new(engine, ctx)
|
2166
|
-
}
|
2167
|
-
|
2168
|
-
/// Requires that this function's signature is already registered within
|
2169
|
-
/// `Engine`. This happens automatically during the above two constructors.
|
2170
|
-
fn _new(engine: &Engine, ctx: HostContext) -> Self {
|
2171
|
-
HostFunc {
|
2172
|
-
ctx,
|
2173
|
-
engine: engine.clone(),
|
2174
|
-
}
|
2175
|
-
}
|
2176
|
-
|
2177
|
-
/// Inserts this `HostFunc` into a `Store`, returning the `Func` pointing to
|
2178
|
-
/// it.
|
2179
|
-
///
|
2180
|
-
/// # Unsafety
|
2181
|
-
///
|
2182
|
-
/// Can only be inserted into stores with a matching `T` relative to when
|
2183
|
-
/// this `HostFunc` was first created.
|
2184
|
-
pub unsafe fn to_func(self: &Arc<Self>, store: &mut StoreOpaque) -> Func {
|
2185
|
-
self.validate_store(store);
|
2186
|
-
let me = self.clone();
|
2187
|
-
Func::from_func_kind(FuncKind::SharedHost(me), store)
|
2188
|
-
}
|
2189
|
-
|
2190
|
-
/// Inserts this `HostFunc` into a `Store`, returning the `Func` pointing to
|
2191
|
-
/// it.
|
2192
|
-
///
|
2193
|
-
/// This function is similar to, but not equivalent, to `HostFunc::to_func`.
|
2194
|
-
/// Notably this function requires that the `Arc<Self>` pointer is otherwise
|
2195
|
-
/// rooted within the `StoreOpaque` via another means. When in doubt use
|
2196
|
-
/// `to_func` above as it's safer.
|
2197
|
-
///
|
2198
|
-
/// # Unsafety
|
2199
|
-
///
|
2200
|
-
/// Can only be inserted into stores with a matching `T` relative to when
|
2201
|
-
/// this `HostFunc` was first created.
|
2202
|
-
///
|
2203
|
-
/// Additionally the `&Arc<Self>` is not cloned in this function. Instead a
|
2204
|
-
/// raw pointer to `Self` is stored within the `Store` for this function.
|
2205
|
-
/// The caller must arrange for the `Arc<Self>` to be "rooted" in the store
|
2206
|
-
/// provided via another means, probably by pushing to
|
2207
|
-
/// `StoreOpaque::rooted_host_funcs`.
|
2208
|
-
///
|
2209
|
-
/// Similarly, the caller must arrange for `rooted_func_ref` to be rooted in
|
2210
|
-
/// the same store.
|
2211
|
-
pub unsafe fn to_func_store_rooted(
|
2212
|
-
self: &Arc<Self>,
|
2213
|
-
store: &mut StoreOpaque,
|
2214
|
-
rooted_func_ref: Option<NonNull<VMFuncRef>>,
|
2215
|
-
) -> Func {
|
2216
|
-
self.validate_store(store);
|
2217
|
-
|
2218
|
-
if rooted_func_ref.is_some() {
|
2219
|
-
debug_assert!(self.func_ref().wasm_call.is_none());
|
2220
|
-
debug_assert!(matches!(self.ctx, HostContext::Native(_)));
|
2221
|
-
}
|
2222
|
-
|
2223
|
-
Func::from_func_kind(
|
2224
|
-
FuncKind::RootedHost(RootedHostFunc::new(self, rooted_func_ref)),
|
2225
|
-
store,
|
2226
|
-
)
|
2227
|
-
}
|
2228
|
-
|
2229
|
-
/// Same as [`HostFunc::to_func`], different ownership.
|
2230
|
-
unsafe fn into_func(self, store: &mut StoreOpaque) -> Func {
|
2231
|
-
self.validate_store(store);
|
2232
|
-
Func::from_func_kind(FuncKind::Host(Box::new(self)), store)
|
2233
|
-
}
|
2234
|
-
|
2235
|
-
fn validate_store(&self, store: &mut StoreOpaque) {
|
2236
|
-
// This assert is required to ensure that we can indeed safely insert
|
2237
|
-
// `self` into the `store` provided, otherwise the type information we
|
2238
|
-
// have listed won't be correct. This is possible to hit with the public
|
2239
|
-
// API of Wasmtime, and should be documented in relevant functions.
|
2240
|
-
assert!(
|
2241
|
-
Engine::same(&self.engine, store.engine()),
|
2242
|
-
"cannot use a store with a different engine than a linker was created with",
|
2243
|
-
);
|
2244
|
-
}
|
2245
|
-
|
2246
|
-
pub(crate) fn sig_index(&self) -> VMSharedSignatureIndex {
|
2247
|
-
self.func_ref().type_index
|
2248
|
-
}
|
2249
|
-
|
2250
|
-
pub(crate) fn func_ref(&self) -> &VMFuncRef {
|
2251
|
-
match &self.ctx {
|
2252
|
-
HostContext::Native(ctx) => unsafe { (*ctx.get()).func_ref() },
|
2253
|
-
HostContext::Array(ctx) => unsafe { (*ctx.get()).func_ref() },
|
2254
|
-
}
|
2255
|
-
}
|
2256
|
-
|
2257
|
-
pub(crate) fn host_ctx(&self) -> &HostContext {
|
2258
|
-
&self.ctx
|
2259
|
-
}
|
2260
|
-
|
2261
|
-
fn export_func(&self) -> ExportFunction {
|
2262
|
-
ExportFunction {
|
2263
|
-
func_ref: NonNull::from(self.func_ref()),
|
2264
|
-
}
|
2265
|
-
}
|
2266
|
-
}
|
2267
|
-
|
2268
|
-
impl Drop for HostFunc {
|
2269
|
-
fn drop(&mut self) {
|
2270
|
-
unsafe {
|
2271
|
-
self.engine.signatures().unregister(self.sig_index());
|
2272
|
-
}
|
2273
|
-
}
|
2274
|
-
}
|
2275
|
-
|
2276
|
-
impl FuncData {
|
2277
|
-
#[inline]
|
2278
|
-
fn export(&self) -> ExportFunction {
|
2279
|
-
self.kind.export()
|
2280
|
-
}
|
2281
|
-
|
2282
|
-
pub(crate) fn sig_index(&self) -> VMSharedSignatureIndex {
|
2283
|
-
unsafe { self.export().func_ref.as_ref().type_index }
|
2284
|
-
}
|
2285
|
-
}
|
2286
|
-
|
2287
|
-
impl FuncKind {
|
2288
|
-
#[inline]
|
2289
|
-
fn export(&self) -> ExportFunction {
|
2290
|
-
match self {
|
2291
|
-
FuncKind::StoreOwned { export, .. } => *export,
|
2292
|
-
FuncKind::SharedHost(host) => host.export_func(),
|
2293
|
-
FuncKind::RootedHost(rooted) => ExportFunction {
|
2294
|
-
func_ref: NonNull::from(rooted.func_ref()),
|
2295
|
-
},
|
2296
|
-
FuncKind::Host(host) => host.export_func(),
|
2297
|
-
}
|
2298
|
-
}
|
2299
|
-
}
|
2300
|
-
|
2301
|
-
use self::rooted::*;
|
2302
|
-
|
2303
|
-
/// An inner module is used here to force unsafe construction of
|
2304
|
-
/// `RootedHostFunc` instead of accidentally safely allowing access to its
|
2305
|
-
/// constructor.
|
2306
|
-
mod rooted {
|
2307
|
-
use wasmtime_runtime::{SendSyncPtr, VMFuncRef};
|
2308
|
-
|
2309
|
-
use super::HostFunc;
|
2310
|
-
use std::ptr::NonNull;
|
2311
|
-
use std::sync::Arc;
|
2312
|
-
|
2313
|
-
/// A variant of a pointer-to-a-host-function used in `FuncKind::RootedHost`
|
2314
|
-
/// above.
|
2315
|
-
///
|
2316
|
-
/// For more documentation see `FuncKind::RootedHost`, `InstancePre`, and
|
2317
|
-
/// `HostFunc::to_func_store_rooted`.
|
2318
|
-
pub(crate) struct RootedHostFunc {
|
2319
|
-
func: SendSyncPtr<HostFunc>,
|
2320
|
-
func_ref: Option<SendSyncPtr<VMFuncRef>>,
|
2321
|
-
}
|
2322
|
-
|
2323
|
-
impl RootedHostFunc {
|
2324
|
-
/// Note that this is `unsafe` because this wrapper type allows safe
|
2325
|
-
/// access to the pointer given at any time, including outside the
|
2326
|
-
/// window of validity of `func`, so callers must not use the return
|
2327
|
-
/// value past the lifetime of the provided `func`.
|
2328
|
-
///
|
2329
|
-
/// Similarly, callers must ensure that the given `func_ref` is valid
|
2330
|
-
/// for the liftime of the return value.
|
2331
|
-
pub(crate) unsafe fn new(
|
2332
|
-
func: &Arc<HostFunc>,
|
2333
|
-
func_ref: Option<NonNull<VMFuncRef>>,
|
2334
|
-
) -> RootedHostFunc {
|
2335
|
-
RootedHostFunc {
|
2336
|
-
func: NonNull::from(&**func).into(),
|
2337
|
-
func_ref: func_ref.map(|p| p.into()),
|
2338
|
-
}
|
2339
|
-
}
|
2340
|
-
|
2341
|
-
pub(crate) fn func(&self) -> &HostFunc {
|
2342
|
-
// Safety invariants are upheld by the `RootedHostFunc::new` caller.
|
2343
|
-
unsafe { self.func.as_ref() }
|
2344
|
-
}
|
2345
|
-
|
2346
|
-
pub(crate) fn func_ref(&self) -> &VMFuncRef {
|
2347
|
-
if let Some(f) = self.func_ref {
|
2348
|
-
// Safety invariants are upheld by the `RootedHostFunc::new` caller.
|
2349
|
-
unsafe { f.as_ref() }
|
2350
|
-
} else {
|
2351
|
-
self.func().func_ref()
|
2352
|
-
}
|
2353
|
-
}
|
2354
|
-
}
|
2355
|
-
}
|