Files
nixpkgs/pkgs/development/interpreters
Samuel Dionne-Riel c286dcb017 ruby: Fix cross-compilation with yjit
Otherwise it will produce `yjit.a` with the default target for the
`rustc` compiler, which in turn turns out to be the build platform?

It could be configured using the `RUST` environment variable, and
since it's used without quoting it would expand the arguments added
to it.

Using `RUST = "rust --target ..."` I think would be  undesirable for
cross-compiling (and native), since it will save those arguments in
`lib/ruby/*/*/rbconfig.rb`. Though that might be fine too. I guess.

Note that 3.2 breaks differently. I haven't investigated it, since it's
not the default anymore, and will eventually be dropped.

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
(cherry picked from commit 75d6216956bfb72a2a1082da7237f74dddf8e123)
2025-11-17 11:52:37 -05:00
..
2025-10-21 21:01:38 +02:00
2025-10-05 10:50:41 +02:00
2025-11-14 08:57:10 -05:00
2025-11-14 08:56:17 -05:00
2025-10-21 22:09:54 +02:00
2025-10-08 09:40:40 -04:00
2025-10-28 21:54:15 +01:00
2025-11-10 04:01:01 +01:00
2025-11-03 22:04:37 +00:00