Rakefile in x25519-1.0.9 vs Rakefile in x25519-1.0.10
- old
+ new
@@ -5,9 +5,11 @@
require "rake/clean"
CLEAN.include("**/*.o", "**/*.so", "**/*.bundle", "pkg", "tmp")
require "rake/extensiontask"
%w[precomputed ref10].each do |provider|
+ next if provider == "precomputed" && RUBY_PLATFORM =~ /arm64-darwin/
+
Rake::ExtensionTask.new("x25519_#{provider}") do |ext|
ext.ext_dir = "ext/x25519_#{provider}"
end
end