ruby/gc/mmtk
Alan Wu 92b218fbc3 YJIT: ZJIT: Allow both JITs in the same build
This commit allows building YJIT and ZJIT simultaneously, a "combo
build". Previously, `./configure --enable-yjit --enable-zjit` failed. At
runtime, though, only one of the two can be enabled at a time.

Add a root Cargo workspace that contains both the yjit and zjit crate.
The common Rust build integration mechanisms are factored out into
defs/jit.mk.

Combo YJIT+ZJIT dev builds are supported; if either JIT uses
`--enable-*=dev`, both of them are built in dev mode.

The combo build requires Cargo, but building one JIT at a time with only
rustc in release build remains supported.
2025-05-15 00:39:03 +09:00
..
src Move object_id in object fields. 2025-05-08 07:58:05 +02:00
.gitignore
Cargo.lock Bump crossbeam-channel from 0.5.13 to 0.5.15 in /gc/mmtk 2025-04-15 17:14:26 +09:00
Cargo.toml YJIT: ZJIT: Allow both JITs in the same build 2025-05-15 00:39:03 +09:00
cbindgen.toml
depend Simplify gc/mmtk/extconf.rb 2025-01-14 10:21:57 -05:00
extconf.rb Simplify gc/mmtk/extconf.rb 2025-01-14 10:21:57 -05:00
mmtk.c Move object_id in object fields. 2025-05-08 07:58:05 +02:00
mmtk.h Move object_id in object fields. 2025-05-08 07:58:05 +02:00