You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In jruby#4349 we saw that this logic does not load properly when native
function calls have been disabled, due to FFI partially loading
and defining an FFI module that was not fully functional. This
is why the previous code here checked for the existence of
FFI::Config rather than just FFI.
However this is still error-prone, so I am restructuring this
logic to do all FFI juggling within the same rescue block as the
require of 'ffi'. If that require raises LoadError or if the
required functions are not present, it immediately falls back on
defining the NotImplemented version of File.symlink.
The same change has been done to the Solaris File#flock logic
below.
We have some hard dep in windows on FFI::Platform when loading kernel. This does not happen for me on MacOS.
The text was updated successfully, but these errors were encountered: