Loading
ruby: remove --with-setjmp-type=setjmp on Darwin
The --with-setjmp-type=setjmp configure flag was added in 2014 to work around a hang during "generating encdb.h" on macOS 10.10 (Yosemite). This flag forces Ruby to use setjmp/longjmp instead of the default _setjmp/_longjmp, which causes a 5.5x slowdown in proc and block calls on modern macOS due to unnecessary signal mask save/restore operations. macOS 10.10 Yosemite reached end of life in 2017 and is far below the minimum macOS version supported by nixpkgs (currently 10.14 I think?). The underlying issue was specific to that OS version and does not affect any supported macOS release. I am however not 100% sure which release this incompatibility _stopped_ with. It certainly works on Tahoe.