ruby/template
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
..
builtin_binary.inc.tmpl Ensure builtin binaries are aligned to ibf_header 2025-04-06 12:24:23 +09:00
call_iseq_optimized.inc.tmpl
configure-ext.mk.tmpl Ignore to build C extension for test files of bundled gems 2025-03-28 11:15:29 +09:00
depend.tmpl
Doxyfile.tmpl Remove never used macros related to RJIT [ci skip] 2024-03-24 22:37:20 +09:00
encdb.h.tmpl Refactor encdb and transdb templates 2024-03-17 19:09:37 +09:00
extinit.c.tmpl Alias init functions 2024-02-04 16:43:09 +09:00
exts.mk.tmpl Win32: Fix sub make commands 2024-12-27 16:26:14 +09:00
fake.rb.in fake.rb: Override constants in Ruby module 2024-12-25 19:12:31 +09:00
GNUmakefile.in Remove duplicate dependency line 2024-03-08 11:58:41 +09:00
id.c.tmpl Suppress gcc 15 unterminated-string-initialization warnings 2025-04-30 20:04:10 +09:00
id.h.tmpl
known_errors.inc.tmpl [DOC] Documentize known_errors 2024-01-13 11:08:00 +09:00
limits.c.tmpl Make rbconfig/sizeof keys US-ASCII 2024-10-07 19:20:08 +09:00
Makefile.in YJIT: ZJIT: Allow both JITs in the same build 2025-05-15 00:39:03 +09:00
prelude.c.tmpl Suppress gcc 15 unterminated-string-initialization warnings 2025-04-30 20:04:10 +09:00
ruby-gdb.in
ruby-lldb.in
ruby-runner.h.in Remove unused PRELOADENV macro in ruby-runner.h 2024-10-11 09:02:48 -04:00
ruby.pc.in
sizes.c.tmpl Make rbconfig/sizeof keys US-ASCII 2024-10-07 19:20:08 +09:00
transdb.h.tmpl Refactor encdb and transdb templates 2024-03-17 19:09:37 +09:00
unicode_norm_gen.tmpl Check Unicode version of the normalization table 2025-04-23 14:14:36 +09:00
unicode_properties.rdoc.tmpl
verconf.h.tmpl