Sha256: 94af638bbc8363d8c532bdf9aa1cdd08248431d1daa4c8e15e8c956d61701d46
Contents?: true
Size: 438 Bytes
Versions: 11
Compression:
Stored size: 438 Bytes
Contents
use magnus::Error; mod helpers; mod ruby_api; #[cfg(feature = "ruby-api")] pub use ruby_api::*; #[cfg(not(feature = "ruby-api"))] pub(crate) use ruby_api::*; #[cfg(not(feature = "ruby-api"))] // Let the upstream crate handle this rb_sys::set_global_tracking_allocator!(); #[magnus::init] pub fn init() -> Result<(), Error> { #[cfg(ruby_gte_3_0)] unsafe { rb_sys::rb_ext_ractor_safe(true); } ruby_api::init() }
Version data entries
11 entries across 11 versions & 1 rubygems