diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-05-07 00:19:36 +0900 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-05-15 00:39:03 +0900 |
| commit | 92b218fbc379fe85792eb060b71520e271971335 (patch) | |
| tree | d5fbb4b7dd49d3388d9cff5fbdccc5effa7e20d3 /include | |
| parent | b5575a80bc3849651c395d0ae470eb41dc3aa897 (diff) | |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13262
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
