Revert "ruby: disable yjit on cross"

This reverts commit 4fce4c99f7.
This commit is contained in:
Samuel Dionne-Riel
2025-11-14 14:10:48 -05:00
parent 50a96edd8d
commit 504ad0ac46
@@ -57,13 +57,9 @@ let
}:
let
ver = version;
isCross = stdenv.buildPlatform != stdenv.hostPlatform;
# https://github.com/ruby/ruby/blob/v3_2_2/yjit.h#L21
yjitSupported =
!isCross
&& (
stdenv.hostPlatform.isx86_64 || (!stdenv.hostPlatform.isWindows && stdenv.hostPlatform.isAarch64)
);
stdenv.hostPlatform.isx86_64 || (!stdenv.hostPlatform.isWindows && stdenv.hostPlatform.isAarch64);
rubyDrv = lib.makeOverridable (
{
stdenv,