Skip to content

Commit

Permalink
Allow usage of native extension by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 4, 2021
1 parent 3d1a49e commit 1242bf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/nio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1242bf6

Please sign in to comment.