See https://github.com/ruby/ruby/pull/15018#discussion_r2482954098
See ruby#15018 (comment)