wasmtime 0.4.0 → 0.4.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 +12 -12
- data/ext/Cargo.toml +1 -1
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/COPYRIGHT +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/Cargo.toml +1 -1
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/README.md +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/build.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/assert_same_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/canonicalize.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/copy.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/create_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_builder.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_options.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/errors.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_path_by_searching.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_type.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/follow_symlinks.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/hard_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/is_file_read_write.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonical_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonicalize.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/cow_component.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/read_link_one.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/maybe_owned_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/metadata.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_ambient.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_options.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_unchecked_error.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/permissions.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir_all.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_open_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/rename.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/reopen.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_permissions.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_times.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/stat.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/symlink.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/system_time_spec.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/create_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/hard_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/open_parent.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/read_link.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/rename.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_permissions.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_times_nofollow.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/symlink.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/pool.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/file_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/copy_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/create_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/cvt.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_entry_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_utils.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/errors.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_type_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/hard_link_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_file_read_write_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_root_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_same_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/metadata_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/oflags.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/permissions_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_dir_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_link_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_all_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_file_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_open_dir_by_searching.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/rename_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/reopen_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_permissions_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_times_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/stat_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/symlink_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/times.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/canonicalize_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_metadata.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_entry_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/procfs.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_permissions_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_times_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/stat_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/instant.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/monotonic_clock.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_clock.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_time.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/copy.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/create_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_entry_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_utils.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/errors.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/file_type_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/get_path.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/hard_link_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/is_file_read_write_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/is_same_file.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/metadata_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/oflags.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_options_ext.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_dir_inner.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_all_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_file_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_open_dir_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/rename_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/reopen_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_permissions_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_times_impl.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/stat_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/symlink_unchecked.rs +0 -0
- data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/COPYRIGHT +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/Cargo.toml +2 -2
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/README.md +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/build.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/file.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/read_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir_entry.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/file.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/read_dir.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/incoming.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/pool.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_listener.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_stream.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/udp_socket.rs +20 -1
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/incoming.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/mod.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_datagram.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_listener.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_stream.rs +0 -0
- data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/time/mod.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/CHANGELOG.md +10 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.lock +3 -3
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.toml +2 -2
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Gemfile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/LICENSE +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/README.md +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/build.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/Rakefile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman/error.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/test/error_test.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/Rakefile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/lib/ahriman.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/test/error_test.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/fibonacci.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/hello_world.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/mut_point.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/point.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/Rakefile +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/lib/rust_blank.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/bench.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/blank_test.rb +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/binding.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/block.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/class.rs +24 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/embed.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/encoding.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/enumerator.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/error.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/exception.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/float.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/gc.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/integer.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/lib.rs +1 -1
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/method.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/module.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/object.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_array.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_bignum.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_complex.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_file.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_float.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_hash.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_match.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_object.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_rational.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_regexp.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_string.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_struct.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_typed_data.rs +6 -2
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/range.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/rb_sys.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/scan_args.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/symbol.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/try_convert.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value/flonum.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/test +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/allocate_before_init.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/array_slice.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/block_call.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/call_proc.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/classname.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/codepoints.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/debug_exception.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/encoding_capable.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumerator.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumeratorize.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_from_value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_to_value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/fmt.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/freeze.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/hash.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/integer_convert_to_value.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/ivar.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/make_proc.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/proc_new.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/range.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/return_iter.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/scan_args.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/str.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/string.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/struct.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/symbol.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/tuple_to_array.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/typed_data.rs +0 -0
- data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/yield.rs +0 -0
- data/ext/cargo-vendor/magnus-macros-0.3.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/Cargo.toml +1 -1
- data/ext/cargo-vendor/magnus-macros-0.3.0/LICENSE +21 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/init.rs +0 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/typed_data.rs +6 -2
- data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/util.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/Cargo.toml +2 -2
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/bin/release.sh +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/features.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/main.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/ruby_macros.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/version.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/readme.md +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/allocator.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/bindings.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/mod.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/ruby_macros.c +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/ruby_abi_version.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/special_consts.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/value_type.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/wrapper.h +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/.cargo-checksum.json +1 -1
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/Cargo.toml +1 -1
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-APACHE +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-MIT +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/bindings.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/lib.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/flags.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/library.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/search_path.rs +0 -0
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config.rs +4 -1
- data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/utils.rs +0 -0
- data/ext/src/helpers/macros.rs +15 -0
- data/ext/src/ruby_api/caller.rs +2 -2
- data/ext/src/ruby_api/externals.rs +2 -2
- data/ext/src/ruby_api/func.rs +2 -2
- data/ext/src/ruby_api/global.rs +2 -2
- data/ext/src/ruby_api/memory.rs +2 -2
- data/ext/src/ruby_api/table.rs +2 -2
- data/lib/wasmtime/version.rb +1 -1
- metadata +307 -306
- data/ext/cargo-vendor/magnus-macros-0.2.0/.cargo-checksum.json +0 -1
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -472,10 +472,14 @@ where
|
|
472
472
|
/// # Examples
|
473
473
|
///
|
474
474
|
/// ```
|
475
|
-
/// use magnus::{define_class, memoize, RClass};
|
475
|
+
/// use magnus::{define_class, memoize, RClass, Class};
|
476
476
|
///
|
477
477
|
/// fn class() -> RClass {
|
478
|
-
/// *memoize!(RClass:
|
478
|
+
/// *memoize!(RClass: {
|
479
|
+
/// let class = define_class("Foo", Default::default()).unwrap();
|
480
|
+
/// class.undef_alloc_func();
|
481
|
+
/// class
|
482
|
+
/// })
|
479
483
|
/// }
|
480
484
|
/// ```
|
481
485
|
fn class() -> RClass;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"files":{"Cargo.toml":"9b2e832875bb6a4f87f34171a3a2f45f55efa8a18aac1e1b77e2d729f30d47e0","LICENSE":"74c04e423c6d6ab36d53dc054dd8461c98821c26a863a8c1104f613eb599f07b","src/init.rs":"7a888a645d0a43899b8c97175479866d044e9d130597ab29c77a14f5af6d2cfd","src/lib.rs":"592683f3b191b63508b98f5987ea722ea727053cf53fd0d4c8674a5be613a89b","src/typed_data.rs":"6899f1e0df6361e4fb54be5d3053d4b822f0649999bdababb6c0aff74ff7decc","src/util.rs":"d506b6515b2f481bbbf2329e86b6acde504a8f5d04a746438fd08ab9e3efda34"},"package":"206cb23bfeea05180c97522ef6a3e52a4eb17b0ed2f30ee3ca9c4f994d2378ae"}
|
@@ -12,7 +12,7 @@
|
|
12
12
|
[package]
|
13
13
|
edition = "2018"
|
14
14
|
name = "magnus-macros"
|
15
|
-
version = "0.
|
15
|
+
version = "0.3.0"
|
16
16
|
authors = ["Mat Sadler <mat@sourcetagsandcodes.com>"]
|
17
17
|
description = "Derive and proc macros for magnus"
|
18
18
|
homepage = "https://github.com/matsadler/magnus"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2022, 2021 Matthew Sadler
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
File without changes
|
File without changes
|
@@ -132,8 +132,12 @@ pub fn expand_derive_typed_data(input: DeriveInput) -> TokenStream {
|
|
132
132
|
let tokens = quote! {
|
133
133
|
unsafe impl magnus::TypedData for #ident {
|
134
134
|
fn class() -> magnus::RClass {
|
135
|
-
use magnus::Module;
|
136
|
-
*magnus::memoize!(
|
135
|
+
use magnus::{Module, Class, RClass};
|
136
|
+
*magnus::memoize!(RClass: {
|
137
|
+
let class: RClass = RClass::default().funcall("const_get", (#class,)).unwrap();
|
138
|
+
class.undef_alloc_func();
|
139
|
+
class
|
140
|
+
})
|
137
141
|
}
|
138
142
|
|
139
143
|
fn data_type() -> &'static magnus::DataType {
|
File without changes
|
@@ -1 +1 @@
|
|
1
|
-
{"files":{"Cargo.toml":"
|
1
|
+
{"files":{"Cargo.toml":"d80eea305f0cb9450261931ee53f6f45b4319ed79cf9f2c14466374f938479ac","LICENSE-APACHE":"110a4b771805962e964448aed69e868cc3e9aec91e89c88b8598f8bd726d1d6a","LICENSE-MIT":"3edf6db4f22b0da400397c3ffe917b3330f6cff051753ba02de9b40b4b8ccb24","bin/release.sh":"13e6ec69a0f03cbc9886802ddd6c41837e6211808bd2cb9d9b65dc5bfd0b5502","build/features.rs":"cfc571644c762e099205d2f936ba579a3c7f19ba4439e967b3ebeee735910003","build/main.rs":"e7d636b2a934126025b91c69dee46c93d8a5444fa82804712643e1d306cf61d2","build/ruby_macros.rs":"b386f8030047adc0483a1460f113fb4823f3390036134be49992c70a37baaaf0","build/version.rs":"2c90fec52acea1327a8792725f8397f9bfac5dcafdbaa7e20a1f7c8315f62ac5","readme.md":"ad635664b9368fe0abd0f1a635c1cded7e192efedd04dd2700d3953678dfa5a2","src/allocator.rs":"6adb218df8e714b363384beb886747270ac813aa6308bf660da0cf2b3441d77e","src/bindings.rs":"c6ee8fb381f60dd8956076d03d6ef192bf5c2dc9e10caabb5625dc5078c7e8e6","src/lib.rs":"41060064bb9bac79b674bda0da782f92e5ad3a9d6c51c4c0eb078fff7d0f394b","src/macros/mod.rs":"59168eb3aa8ad9e41a73c96d91292bd5d0fe7231546db5580c00c4f12c28d23e","src/macros/ruby_macros.c":"f307356e06677664914583b94bd983277ef354650fc513eef633ad7d7c2fbf13","src/ruby_abi_version.rs":"bdc3b36f81cabf11902e7124cfd7b5555e811ca9bda0315c73dc9596002af86b","src/special_consts.rs":"49641e8844409d5631d4195943345d200cd5d973383bfb3a0529447175b2c8fc","src/value_type.rs":"453f7cea34ec7c93cade9be29048ed9363b03e2eb58aea67cf9c2ffbdc02eb64","wrapper.h":"12a6ffcbcaa12989925960364929c4a846e1de0d21177f165474b4fb3c5d8357"},"package":"aa291f69bcc44f8e96597a3f39e9933fde6977b825415cfaa670ac49b8ab7c99"}
|
@@ -12,7 +12,7 @@
|
|
12
12
|
[package]
|
13
13
|
edition = "2018"
|
14
14
|
name = "rb-sys"
|
15
|
-
version = "0.9.
|
15
|
+
version = "0.9.53"
|
16
16
|
build = "build/main.rs"
|
17
17
|
links = "rb"
|
18
18
|
description = "Rust bindings for the CRuby API"
|
@@ -31,7 +31,7 @@ version = "1.0"
|
|
31
31
|
optional = true
|
32
32
|
|
33
33
|
[build-dependencies.rb-sys-build]
|
34
|
-
version = "0.9.
|
34
|
+
version = "0.9.53"
|
35
35
|
|
36
36
|
[features]
|
37
37
|
bindgen-deprecated-types = ["rb-sys-build/bindgen-deprecated-types"]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1 +1 @@
|
|
1
|
-
{"files":{"Cargo.toml":"
|
1
|
+
{"files":{"Cargo.toml":"119f4ec592ac11edc5a01679e1f2f9737cf7dd9af14fe2714077eecb6d8a4357","LICENSE-APACHE":"110a4b771805962e964448aed69e868cc3e9aec91e89c88b8598f8bd726d1d6a","LICENSE-MIT":"3edf6db4f22b0da400397c3ffe917b3330f6cff051753ba02de9b40b4b8ccb24","src/bindings.rs":"fa956b569d81351b207b3b08f859fa3f28618da1ecf9eaf989e724a8f4bd72a1","src/lib.rs":"1655a4a0e2677576e792620c44a94b42ef5d344d17eda6b77cc04df041403c8b","src/rb_config.rs":"71adc51078f916f6f23207800a464f3b9c30762b2f95f28f6e7e7e324c1937d6","src/rb_config/flags.rs":"b0b96fd416bc21817130db50c62ea5f094d533d323113fa4f95c79c96d358cdd","src/rb_config/library.rs":"ff7977aabc1cd7f295966b6202f5b00eb67daf67dddf9297d069b46a0e445246","src/rb_config/search_path.rs":"04b41bb9efa473a661785003c3ffcc250284fe25e6113a4c2582f5d74f39d046","src/utils.rs":"41691baa049d05fda8b0d0f0b8d119888a3470f723fff73b754b234eceb605af"},"package":"d998fd6ef588471d6d7cca24c4da88eda5e6757b6885c55760e856ecdb254c3d"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/search_path.rs
RENAMED
File without changes
|
@@ -315,8 +315,11 @@ impl RbConfig {
|
|
315
315
|
pub fn has_ruby_dln_check_abi(&self) -> bool {
|
316
316
|
let major = self.get("MAJOR").parse::<i32>().unwrap();
|
317
317
|
let minor = self.get("MINOR").parse::<i32>().unwrap();
|
318
|
+
let patchlevel = self.get("PATCHLEVEL").parse::<i32>().unwrap();
|
318
319
|
|
319
|
-
|
320
|
+
// Ruby has ABI version on verion 3.2 and later only on development
|
321
|
+
// versions
|
322
|
+
major >= 3 && minor >= 2 && patchlevel == -1 && !cfg!(target_family = "windows")
|
320
323
|
}
|
321
324
|
|
322
325
|
// Examines the string from shell variables and expands them with values in the value_map
|
File without changes
|
data/ext/src/helpers/macros.rs
CHANGED
@@ -10,3 +10,18 @@ macro_rules! define_rb_intern {
|
|
10
10
|
)*
|
11
11
|
};
|
12
12
|
}
|
13
|
+
|
14
|
+
/// Define a Ruby class for a `TypedData` Struct in the given namespace,
|
15
|
+
/// with the specified base class (optional, defaults to `::Object`).
|
16
|
+
/// Also undef the alloc function to avoid warnings on Ruby 3.2+.
|
17
|
+
#[macro_export]
|
18
|
+
macro_rules! define_data_class {
|
19
|
+
($namespace:expr, $name:expr, $parent:expr) => {{
|
20
|
+
let class = $namespace.define_class($name, $parent).unwrap();
|
21
|
+
magnus::Class::undef_alloc_func(class);
|
22
|
+
class
|
23
|
+
}};
|
24
|
+
($namespace:expr, $name:expr) => {
|
25
|
+
define_data_class!($namespace, $name, magnus::RClass::default())
|
26
|
+
};
|
27
|
+
}
|
data/ext/src/ruby_api/caller.rs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
use super::{convert::WrapWasmtimeType, externals::Extern, root, store::StoreData};
|
2
|
-
use crate::{error, helpers::WrappedStruct};
|
2
|
+
use crate::{define_data_class, error, helpers::WrappedStruct};
|
3
3
|
use magnus::{
|
4
4
|
memoize, method, r_typed_data::DataTypeBuilder, DataTypeFunctions, Error, Module as _, RClass,
|
5
5
|
RString, TypedData, Value, QNIL,
|
@@ -122,7 +122,7 @@ impl<'a> Caller<'a> {
|
|
122
122
|
|
123
123
|
unsafe impl<'a> TypedData for Caller<'a> {
|
124
124
|
fn class() -> magnus::RClass {
|
125
|
-
*memoize!(RClass: root()
|
125
|
+
*memoize!(RClass: define_data_class!(root(), "Caller"))
|
126
126
|
}
|
127
127
|
|
128
128
|
fn data_type() -> &'static magnus::DataType {
|
@@ -2,7 +2,7 @@ use super::{
|
|
2
2
|
convert::WrapWasmtimeType, func::Func, global::Global, memory::Memory, root,
|
3
3
|
store::StoreContextValue, table::Table,
|
4
4
|
};
|
5
|
-
use crate::{conversion_err, helpers::WrappedStruct, not_implemented};
|
5
|
+
use crate::{conversion_err, define_data_class, helpers::WrappedStruct, not_implemented};
|
6
6
|
use magnus::{
|
7
7
|
memoize, method, r_typed_data::DataTypeBuilder, rb_sys::AsRawValue, DataTypeFunctions, Error,
|
8
8
|
Module, RClass, TypedData, Value,
|
@@ -21,7 +21,7 @@ pub enum Extern<'a> {
|
|
21
21
|
|
22
22
|
unsafe impl TypedData for Extern<'_> {
|
23
23
|
fn class() -> magnus::RClass {
|
24
|
-
*memoize!(RClass: root()
|
24
|
+
*memoize!(RClass: define_data_class!(root(), "Extern"))
|
25
25
|
}
|
26
26
|
|
27
27
|
fn data_type() -> &'static magnus::DataType {
|
data/ext/src/ruby_api/func.rs
CHANGED
@@ -5,7 +5,7 @@ use super::{
|
|
5
5
|
root,
|
6
6
|
store::{Store, StoreContextValue, StoreData},
|
7
7
|
};
|
8
|
-
use crate::{helpers::WrappedStruct, Caller};
|
8
|
+
use crate::{define_data_class, helpers::WrappedStruct, Caller};
|
9
9
|
use magnus::{
|
10
10
|
block::Proc, function, memoize, method, r_typed_data::DataTypeBuilder, scan_args::scan_args,
|
11
11
|
DataTypeFunctions, Error, Module as _, Object, RArray, RClass, Symbol, TryConvert, TypedData,
|
@@ -25,7 +25,7 @@ pub struct Func<'a> {
|
|
25
25
|
|
26
26
|
unsafe impl<'a> TypedData for Func<'a> {
|
27
27
|
fn class() -> magnus::RClass {
|
28
|
-
*memoize!(RClass: root()
|
28
|
+
*memoize!(RClass: define_data_class!(root(), "Func"))
|
29
29
|
}
|
30
30
|
|
31
31
|
fn data_type() -> &'static magnus::DataType {
|
data/ext/src/ruby_api/global.rs
CHANGED
@@ -3,7 +3,7 @@ use super::{
|
|
3
3
|
root,
|
4
4
|
store::{Store, StoreContextValue},
|
5
5
|
};
|
6
|
-
use crate::{error, helpers::WrappedStruct};
|
6
|
+
use crate::{define_data_class, error, helpers::WrappedStruct};
|
7
7
|
use magnus::{
|
8
8
|
function, memoize, method, r_typed_data::DataTypeBuilder, DataTypeFunctions, Error,
|
9
9
|
Module as _, Object, RClass, Symbol, TypedData, Value,
|
@@ -22,7 +22,7 @@ pub struct Global<'a> {
|
|
22
22
|
|
23
23
|
unsafe impl TypedData for Global<'_> {
|
24
24
|
fn class() -> magnus::RClass {
|
25
|
-
*memoize!(RClass: root()
|
25
|
+
*memoize!(RClass: define_data_class!(root(), "Global"))
|
26
26
|
}
|
27
27
|
|
28
28
|
fn data_type() -> &'static magnus::DataType {
|
data/ext/src/ruby_api/memory.rs
CHANGED
@@ -2,7 +2,7 @@ use super::{
|
|
2
2
|
root,
|
3
3
|
store::{Store, StoreContextValue},
|
4
4
|
};
|
5
|
-
use crate::{define_rb_intern, error, helpers::WrappedStruct};
|
5
|
+
use crate::{define_data_class, define_rb_intern, error, helpers::WrappedStruct};
|
6
6
|
use magnus::{
|
7
7
|
function, memoize, method, r_string::RString, r_typed_data::DataTypeBuilder, scan_args,
|
8
8
|
DataTypeFunctions, Error, Module as _, Object, RClass, TypedData, Value,
|
@@ -26,7 +26,7 @@ pub struct Memory<'a> {
|
|
26
26
|
|
27
27
|
unsafe impl TypedData for Memory<'_> {
|
28
28
|
fn class() -> magnus::RClass {
|
29
|
-
*memoize!(RClass: root()
|
29
|
+
*memoize!(RClass: define_data_class!(root(), "Memory"))
|
30
30
|
}
|
31
31
|
|
32
32
|
fn data_type() -> &'static magnus::DataType {
|
data/ext/src/ruby_api/table.rs
CHANGED
@@ -3,7 +3,7 @@ use super::{
|
|
3
3
|
root,
|
4
4
|
store::{Store, StoreContextValue},
|
5
5
|
};
|
6
|
-
use crate::{define_rb_intern, error, helpers::WrappedStruct};
|
6
|
+
use crate::{define_data_class, define_rb_intern, error, helpers::WrappedStruct};
|
7
7
|
use magnus::{
|
8
8
|
function, memoize, method, r_typed_data::DataTypeBuilder, scan_args, DataTypeFunctions, Error,
|
9
9
|
Module as _, Object, RClass, Symbol, TypedData, Value, QNIL,
|
@@ -27,7 +27,7 @@ pub struct Table<'a> {
|
|
27
27
|
|
28
28
|
unsafe impl TypedData for Table<'_> {
|
29
29
|
fn class() -> magnus::RClass {
|
30
|
-
*memoize!(RClass: root()
|
30
|
+
*memoize!(RClass: define_data_class!(root(), "Table"))
|
31
31
|
}
|
32
32
|
|
33
33
|
fn data_type() -> &'static magnus::DataType {
|
data/lib/wasmtime/version.rb
CHANGED