wasmtime 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +12 -12
  3. data/ext/Cargo.toml +1 -1
  4. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/.cargo-checksum.json +1 -1
  5. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/COPYRIGHT +0 -0
  6. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/Cargo.toml +1 -1
  7. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-APACHE +0 -0
  8. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
  9. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/LICENSE-MIT +0 -0
  10. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/README.md +0 -0
  11. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/build.rs +0 -0
  12. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/assert_same_file.rs +0 -0
  13. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/canonicalize.rs +0 -0
  14. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/copy.rs +0 -0
  15. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/create_dir.rs +0 -0
  16. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_builder.rs +0 -0
  17. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_entry.rs +0 -0
  18. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/dir_options.rs +0 -0
  19. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/errors.rs +0 -0
  20. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_path_by_searching.rs +0 -0
  21. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/file_type.rs +0 -0
  22. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/follow_symlinks.rs +0 -0
  23. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/hard_link.rs +0 -0
  24. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/is_file_read_write.rs +0 -0
  25. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonical_path.rs +0 -0
  26. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/canonicalize.rs +0 -0
  27. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/cow_component.rs +0 -0
  28. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/mod.rs +0 -0
  29. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open.rs +0 -0
  30. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/open_entry.rs +0 -0
  31. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/manually/read_link_one.rs +0 -0
  32. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/maybe_owned_file.rs +0 -0
  33. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/metadata.rs +0 -0
  34. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/mod.rs +0 -0
  35. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open.rs +0 -0
  36. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_ambient.rs +0 -0
  37. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_dir.rs +0 -0
  38. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_options.rs +0 -0
  39. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/open_unchecked_error.rs +0 -0
  40. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/permissions.rs +0 -0
  41. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_dir.rs +0 -0
  42. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/read_link.rs +0 -0
  43. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir.rs +0 -0
  44. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_dir_all.rs +0 -0
  45. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_file.rs +0 -0
  46. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/remove_open_dir.rs +0 -0
  47. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/rename.rs +0 -0
  48. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/reopen.rs +0 -0
  49. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_permissions.rs +0 -0
  50. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/set_times.rs +0 -0
  51. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/stat.rs +0 -0
  52. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/symlink.rs +0 -0
  53. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/system_time_spec.rs +0 -0
  54. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/create_dir.rs +0 -0
  55. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/hard_link.rs +0 -0
  56. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/mod.rs +0 -0
  57. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/open_parent.rs +0 -0
  58. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/read_link.rs +0 -0
  59. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_dir.rs +0 -0
  60. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/remove_file.rs +0 -0
  61. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/rename.rs +0 -0
  62. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_permissions.rs +0 -0
  63. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/set_times_nofollow.rs +0 -0
  64. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/fs/via_parent/symlink.rs +0 -0
  65. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/lib.rs +0 -0
  66. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/mod.rs +0 -0
  67. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/net/pool.rs +0 -0
  68. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/file_path.rs +0 -0
  69. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/fs/mod.rs +0 -0
  70. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/darwin/mod.rs +0 -0
  71. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/copy_impl.rs +0 -0
  72. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/create_dir_unchecked.rs +0 -0
  73. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/cvt.rs +0 -0
  74. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_entry_inner.rs +0 -0
  75. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_options_ext.rs +0 -0
  76. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/dir_utils.rs +0 -0
  77. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/errors.rs +0 -0
  78. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_path.rs +0 -0
  79. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/file_type_ext.rs +0 -0
  80. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/hard_link_unchecked.rs +0 -0
  81. 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
  82. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_root_dir.rs +0 -0
  83. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/is_same_file.rs +0 -0
  84. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/metadata_ext.rs +0 -0
  85. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/mod.rs +0 -0
  86. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/oflags.rs +0 -0
  87. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_options_ext.rs +0 -0
  88. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/open_unchecked.rs +0 -0
  89. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/permissions_ext.rs +0 -0
  90. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_dir_inner.rs +0 -0
  91. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/read_link_unchecked.rs +0 -0
  92. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_all_impl.rs +0 -0
  93. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_dir_unchecked.rs +0 -0
  94. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/remove_file_unchecked.rs +0 -0
  95. 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
  96. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/rename_unchecked.rs +0 -0
  97. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/reopen_impl.rs +0 -0
  98. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_permissions_impl.rs +0 -0
  99. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/set_times_impl.rs +0 -0
  100. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/stat_unchecked.rs +0 -0
  101. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/symlink_unchecked.rs +0 -0
  102. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/fs/times.rs +0 -0
  103. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/canonicalize_impl.rs +0 -0
  104. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_metadata.rs +0 -0
  105. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/file_path.rs +0 -0
  106. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/mod.rs +0 -0
  107. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_entry_impl.rs +0 -0
  108. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/open_impl.rs +0 -0
  109. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/procfs.rs +0 -0
  110. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_permissions_impl.rs +0 -0
  111. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/set_times_impl.rs +0 -0
  112. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/fs/stat_impl.rs +0 -0
  113. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/linux/mod.rs +0 -0
  114. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/rustix/mod.rs +0 -0
  115. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/instant.rs +0 -0
  116. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/mod.rs +0 -0
  117. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/monotonic_clock.rs +0 -0
  118. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_clock.rs +0 -0
  119. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/time/system_time.rs +0 -0
  120. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/copy.rs +0 -0
  121. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/create_dir_unchecked.rs +0 -0
  122. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_entry_inner.rs +0 -0
  123. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_options_ext.rs +0 -0
  124. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/dir_utils.rs +0 -0
  125. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/errors.rs +0 -0
  126. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/file_type_ext.rs +0 -0
  127. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/get_path.rs +0 -0
  128. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/hard_link_unchecked.rs +0 -0
  129. 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
  130. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/is_same_file.rs +0 -0
  131. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/metadata_ext.rs +0 -0
  132. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/mod.rs +0 -0
  133. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/oflags.rs +0 -0
  134. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_impl.rs +0 -0
  135. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_options_ext.rs +0 -0
  136. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/open_unchecked.rs +0 -0
  137. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_dir_inner.rs +0 -0
  138. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_impl.rs +0 -0
  139. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/read_link_unchecked.rs +0 -0
  140. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_all_impl.rs +0 -0
  141. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_dir_unchecked.rs +0 -0
  142. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_file_unchecked.rs +0 -0
  143. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/remove_open_dir_impl.rs +0 -0
  144. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/rename_unchecked.rs +0 -0
  145. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/reopen_impl.rs +0 -0
  146. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_permissions_unchecked.rs +0 -0
  147. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/set_times_impl.rs +0 -0
  148. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/stat_unchecked.rs +0 -0
  149. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/fs/symlink_unchecked.rs +0 -0
  150. data/ext/cargo-vendor/{cap-primitives-1.0.2 → cap-primitives-1.0.3}/src/windows/mod.rs +0 -0
  151. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/.cargo-checksum.json +1 -1
  152. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/COPYRIGHT +0 -0
  153. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/Cargo.toml +2 -2
  154. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-APACHE +0 -0
  155. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -0
  156. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/LICENSE-MIT +0 -0
  157. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/README.md +0 -0
  158. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/build.rs +0 -0
  159. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir.rs +20 -1
  160. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/dir_entry.rs +0 -0
  161. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/file.rs +20 -1
  162. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/mod.rs +0 -0
  163. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs/read_dir.rs +0 -0
  164. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir.rs +20 -1
  165. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/dir_entry.rs +0 -0
  166. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/file.rs +20 -1
  167. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/mod.rs +0 -0
  168. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/fs_utf8/read_dir.rs +0 -0
  169. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/lib.rs +0 -0
  170. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/incoming.rs +0 -0
  171. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/mod.rs +0 -0
  172. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/pool.rs +0 -0
  173. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_listener.rs +20 -1
  174. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/tcp_stream.rs +20 -1
  175. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/net/udp_socket.rs +20 -1
  176. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/mod.rs +0 -0
  177. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/mod.rs +0 -0
  178. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/incoming.rs +0 -0
  179. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/mod.rs +0 -0
  180. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_datagram.rs +0 -0
  181. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_listener.rs +0 -0
  182. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/os/unix/net/unix_stream.rs +0 -0
  183. data/ext/cargo-vendor/{cap-std-1.0.2 → cap-std-1.0.3}/src/time/mod.rs +0 -0
  184. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/.cargo-checksum.json +1 -1
  185. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/CHANGELOG.md +10 -1
  186. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.lock +3 -3
  187. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Cargo.toml +2 -2
  188. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/Gemfile +0 -0
  189. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/LICENSE +0 -0
  190. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/README.md +0 -0
  191. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/build.rs +0 -0
  192. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/Rakefile +0 -0
  193. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman/error.rb +0 -0
  194. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/lib/ahriman.rb +0 -0
  195. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_ruby/test/error_test.rb +0 -0
  196. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/Rakefile +0 -0
  197. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/lib/ahriman.rb +0 -0
  198. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/custom_exception_rust/test/error_test.rb +0 -0
  199. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/fibonacci.rs +0 -0
  200. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/hello_world.rs +0 -0
  201. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/mut_point.rs +0 -0
  202. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/point.rs +0 -0
  203. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/Rakefile +0 -0
  204. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/lib/rust_blank.rb +0 -0
  205. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/bench.rb +0 -0
  206. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/examples/rust_blank/test/blank_test.rb +0 -0
  207. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/binding.rs +0 -0
  208. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/block.rs +0 -0
  209. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/class.rs +24 -1
  210. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/embed.rs +0 -0
  211. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/encoding.rs +0 -0
  212. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/enumerator.rs +0 -0
  213. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/error.rs +0 -0
  214. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/exception.rs +0 -0
  215. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/float.rs +0 -0
  216. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/gc.rs +0 -0
  217. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/integer.rs +0 -0
  218. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/lib.rs +1 -1
  219. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/method.rs +0 -0
  220. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/module.rs +0 -0
  221. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/object.rs +0 -0
  222. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_array.rs +0 -0
  223. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_bignum.rs +0 -0
  224. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_complex.rs +0 -0
  225. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_file.rs +0 -0
  226. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_float.rs +0 -0
  227. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_hash.rs +0 -0
  228. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_match.rs +0 -0
  229. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_object.rs +0 -0
  230. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_rational.rs +0 -0
  231. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_regexp.rs +0 -0
  232. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_string.rs +0 -0
  233. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_struct.rs +0 -0
  234. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/r_typed_data.rs +6 -2
  235. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/range.rs +0 -0
  236. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/rb_sys.rs +0 -0
  237. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/scan_args.rs +0 -0
  238. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/symbol.rs +0 -0
  239. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/try_convert.rs +0 -0
  240. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value/flonum.rs +0 -0
  241. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/src/value.rs +0 -0
  242. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/test +0 -0
  243. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/allocate_before_init.rs +0 -0
  244. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/array_slice.rs +0 -0
  245. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/block_call.rs +0 -0
  246. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/call_proc.rs +0 -0
  247. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/classname.rs +0 -0
  248. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/codepoints.rs +0 -0
  249. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/debug_exception.rs +0 -0
  250. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/encoding_capable.rs +0 -0
  251. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumerator.rs +0 -0
  252. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/enumeratorize.rs +0 -0
  253. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_from_value.rs +0 -0
  254. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/float_convert_to_value.rs +0 -0
  255. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/fmt.rs +0 -0
  256. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/freeze.rs +0 -0
  257. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/hash.rs +0 -0
  258. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/integer_convert_to_value.rs +0 -0
  259. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/ivar.rs +0 -0
  260. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/make_proc.rs +0 -0
  261. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/proc_new.rs +0 -0
  262. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/range.rs +0 -0
  263. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/return_iter.rs +0 -0
  264. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/scan_args.rs +0 -0
  265. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/str.rs +0 -0
  266. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/string.rs +0 -0
  267. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/struct.rs +0 -0
  268. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/symbol.rs +0 -0
  269. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/tuple_to_array.rs +0 -0
  270. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/typed_data.rs +0 -0
  271. data/ext/cargo-vendor/{magnus-0.4.3 → magnus-0.4.4}/tests/yield.rs +0 -0
  272. data/ext/cargo-vendor/magnus-macros-0.3.0/.cargo-checksum.json +1 -0
  273. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/Cargo.toml +1 -1
  274. data/ext/cargo-vendor/magnus-macros-0.3.0/LICENSE +21 -0
  275. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/init.rs +0 -0
  276. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/lib.rs +0 -0
  277. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/typed_data.rs +6 -2
  278. data/ext/cargo-vendor/{magnus-macros-0.2.0 → magnus-macros-0.3.0}/src/util.rs +0 -0
  279. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/.cargo-checksum.json +1 -1
  280. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/Cargo.toml +2 -2
  281. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-APACHE +0 -0
  282. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/LICENSE-MIT +0 -0
  283. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/bin/release.sh +0 -0
  284. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/features.rs +0 -0
  285. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/main.rs +0 -0
  286. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/ruby_macros.rs +0 -0
  287. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/build/version.rs +0 -0
  288. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/readme.md +0 -0
  289. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/allocator.rs +0 -0
  290. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/bindings.rs +0 -0
  291. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/lib.rs +0 -0
  292. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/mod.rs +0 -0
  293. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/macros/ruby_macros.c +0 -0
  294. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/ruby_abi_version.rs +0 -0
  295. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/special_consts.rs +0 -0
  296. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/src/value_type.rs +0 -0
  297. data/ext/cargo-vendor/{rb-sys-0.9.52 → rb-sys-0.9.53}/wrapper.h +0 -0
  298. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/.cargo-checksum.json +1 -1
  299. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/Cargo.toml +1 -1
  300. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-APACHE +0 -0
  301. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/LICENSE-MIT +0 -0
  302. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/bindings.rs +0 -0
  303. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/lib.rs +0 -0
  304. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/flags.rs +0 -0
  305. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/library.rs +0 -0
  306. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config/search_path.rs +0 -0
  307. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/rb_config.rs +4 -1
  308. data/ext/cargo-vendor/{rb-sys-build-0.9.52 → rb-sys-build-0.9.53}/src/utils.rs +0 -0
  309. data/ext/src/helpers/macros.rs +15 -0
  310. data/ext/src/ruby_api/caller.rs +2 -2
  311. data/ext/src/ruby_api/externals.rs +2 -2
  312. data/ext/src/ruby_api/func.rs +2 -2
  313. data/ext/src/ruby_api/global.rs +2 -2
  314. data/ext/src/ruby_api/memory.rs +2 -2
  315. data/ext/src/ruby_api/table.rs +2 -2
  316. data/lib/wasmtime/version.rb +1 -1
  317. metadata +307 -306
  318. data/ext/cargo-vendor/magnus-macros-0.2.0/.cargo-checksum.json +0 -1
@@ -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: define_class("Foo", Default::default()).unwrap())
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;
@@ -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.2.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.
@@ -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!(magnus::RClass: magnus::RClass::default().funcall("const_get", (#class,)).unwrap())
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 {
@@ -1 +1 @@
1
- {"files":{"Cargo.toml":"665ca6c50d2307b40c0ab1c2870267f7ae4dea29cd8e04822e7f38416638b2e0","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":"02fffdb0162fc4cc1b6509b2d9b32a75f7e7ed392f58bde639e0c33b23e74b97"}
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.52"
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.52"
34
+ version = "0.9.53"
35
35
 
36
36
  [features]
37
37
  bindgen-deprecated-types = ["rb-sys-build/bindgen-deprecated-types"]
@@ -1 +1 @@
1
- {"files":{"Cargo.toml":"215782b4a27ac733a7e666cefca406910f57a469e403f3380a011d7c093129a1","LICENSE-APACHE":"110a4b771805962e964448aed69e868cc3e9aec91e89c88b8598f8bd726d1d6a","LICENSE-MIT":"3edf6db4f22b0da400397c3ffe917b3330f6cff051753ba02de9b40b4b8ccb24","src/bindings.rs":"fa956b569d81351b207b3b08f859fa3f28618da1ecf9eaf989e724a8f4bd72a1","src/lib.rs":"1655a4a0e2677576e792620c44a94b42ef5d344d17eda6b77cc04df041403c8b","src/rb_config.rs":"5b692e507d5d51a7d7ad3f8630ccae356800bf1ae18b609adbd66f316e3f95b0","src/rb_config/flags.rs":"b0b96fd416bc21817130db50c62ea5f094d533d323113fa4f95c79c96d358cdd","src/rb_config/library.rs":"ff7977aabc1cd7f295966b6202f5b00eb67daf67dddf9297d069b46a0e445246","src/rb_config/search_path.rs":"04b41bb9efa473a661785003c3ffcc250284fe25e6113a4c2582f5d74f39d046","src/utils.rs":"41691baa049d05fda8b0d0f0b8d119888a3470f723fff73b754b234eceb605af"},"package":"85d1a236755f879fc155d16d9ba4cd3b1975fd52ef6a28113702ae3881b73c03"}
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"}
@@ -12,7 +12,7 @@
12
12
  [package]
13
13
  edition = "2018"
14
14
  name = "rb-sys-build"
15
- version = "0.9.52"
15
+ version = "0.9.53"
16
16
  description = "Build system for rb-sys"
17
17
  homepage = "https://github.com/oxidize-rb/rb-sys"
18
18
  license = "MIT OR Apache-2.0"
@@ -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
- major >= 3 && minor >= 2 && !cfg!(target_family = "windows")
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
@@ -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
+ }
@@ -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().define_class("Caller", Default::default()).unwrap())
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().define_class("Extern", Default::default()).unwrap())
24
+ *memoize!(RClass: define_data_class!(root(), "Extern"))
25
25
  }
26
26
 
27
27
  fn data_type() -> &'static magnus::DataType {
@@ -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().define_class("Func", Default::default()).unwrap())
28
+ *memoize!(RClass: define_data_class!(root(), "Func"))
29
29
  }
30
30
 
31
31
  fn data_type() -> &'static magnus::DataType {
@@ -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().define_class("Global", Default::default()).unwrap())
25
+ *memoize!(RClass: define_data_class!(root(), "Global"))
26
26
  }
27
27
 
28
28
  fn data_type() -> &'static magnus::DataType {
@@ -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().define_class("Memory", Default::default()).unwrap())
29
+ *memoize!(RClass: define_data_class!(root(), "Memory"))
30
30
  }
31
31
 
32
32
  fn data_type() -> &'static magnus::DataType {
@@ -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().define_class("Table", Default::default()).unwrap())
30
+ *memoize!(RClass: define_data_class!(root(), "Table"))
31
31
  }
32
32
 
33
33
  fn data_type() -> &'static magnus::DataType {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wasmtime
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end