[ruby/fiddle] Pick ruby/ruby changes for

`test/fiddle/test_function.rb`
(https://github.com/ruby/fiddle/pull/141)

https://github.com/ruby/ruby/pull/11048#issuecomment-2185630854

---------

https://github.com/ruby/fiddle/commit/a245f19763

Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
This commit is contained in:
Hiroshi SHIBATA 2024-07-01 12:17:00 +09:00
parent 4688b92a86
commit 1ab31eb429

View File

@ -167,6 +167,8 @@ module Fiddle
end
def test_nogvl_poll
require "envutil" unless defined?(EnvUtil)
# XXX hack to quiet down CI errors on EINTR from r64353
# [ruby-core:88360] [Misc #14937]
# Making pipes (and sockets) non-blocking by default would allow