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.
12 lines
235 B
TOML
12 lines
235 B
TOML
[package]
|
|
name = "zjit-bindgen"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bindgen = "0.71.1"
|
|
env_logger = "0.11.5"
|
|
|
|
[workspace]
|