From 1242bf6a4eaf8456f8d7542cc4c4147c3fc16e62 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 4 Mar 2021 13:03:34 +1300 Subject: [PATCH] Allow usage of native extension by default. --- lib/nio.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/nio.rb b/lib/nio.rb index 7e02e9c..9134241 100644 --- a/lib/nio.rb +++ b/lib/nio.rb @@ -25,9 +25,9 @@ def self.pure?(env = ENV) end # M1 native extension is crashing on M1 (arm64): - if RUBY_PLATFORM =~ /darwin/ && RUBY_PLATFORM =~ /arm64/ - return true - end + # if RUBY_PLATFORM =~ /darwin/ && RUBY_PLATFORM =~ /arm64/ + # return true + # end return false end