mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 05:29:10 +02:00

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.
19 lines
668 B
YAML
19 lines
668 B
YAML
files:
|
|
'yjit*': [team:jit]
|
|
'yjit/**/*': [team:jit]
|
|
'yjit/src/cruby_bindings.inc.rs': []
|
|
'doc/yjit/*': [team:jit]
|
|
'bootstraptest/test_yjit*': [team:jit]
|
|
'test/ruby/test_yjit*': [team:jit]
|
|
'zjit*': [team:jit]
|
|
'zjit/**/*': [team:jit]
|
|
'zjit/src/cruby_bindings.inc.rs': []
|
|
'doc/zjit*': [team:jit]
|
|
'test/ruby/test_zjit*': [team:jit]
|
|
'defs/jit.mk': [team:jit]
|
|
options:
|
|
ignore_draft: true
|
|
# This currently doesn't work as intended. We want to skip reviews when only
|
|
# cruby_bingings.inc.rs is modified, but this skips reviews even when other
|
|
# files are modified as well. To be enabled after fixing the behavior.
|
|
#last_files_match_only: true
|