mirror of
https://github.com/ruby/ruby.git
synced 2026-11-08 01:20:26 +08:00
Use rb_yjit_attached_object_is() for the compile-time attachment check. It keeps the singleton flag test in C and returns only a boolean to Rust. The predicate cannot raise, allocate, or take locks. Guard emission is unchanged, and the IO exclusion stays in Rust.