rbenv / homebrew-tap

24 stars 22 forks source link

Fix elliptic curve miscompilation on arm64 clang > 13 #11

Closed oh-ok closed 7 months ago

oh-ok commented 7 months ago

Hey,

Just a super simple edit to prevent the Elliptic Curve module from mis-compiling on clang >= 14 on arm64 machines. Turns out it was clang's over-aggressive optimizations. Wasn't sure if this issue affected any other machines, so I've limited the fix down to just arm64 Monterey and above.

Let me know if you have any feedback/suggestions and I'll be sure to implement them.

Cheers!

mislav commented 7 months ago

Thank you!