Use ffi_closure_alloc() on Apple silicon to fix crash by Watson1978 · Pull Request #809 · ffi/ffi

Fix #800 To prevent crashes, this patch will use ffi_closure_alloc() instead of mmap() when it run on the Apple silicon platform. This patch provides another rbffi_Closure_Alloc for apple silicon (...