Skip to content

Commit cb2a893

Browse files
committed
Use FFI::Library::CURRENT_PROCESS for Socket
* That way it's more consistent with what Truffle::POSIX does, and avoids a separate library handle.
1 parent d589d15 commit cb2a893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/truffle/socket/truffle/foreign.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Truffle
2828
module Socket
2929
module Foreign
3030
extend ::FFI::Library
31-
ffi_lib ::FFI::Library::LIBC
31+
ffi_lib ::FFI::Library::CURRENT_PROCESS
3232

3333
SIZEOF_INT = ::FFI.type_size(:int)
3434

0 commit comments

Comments
 (0)