mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +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.
89 lines
2 KiB
TOML
89 lines
2 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 3
|
|
|
|
[[package]]
|
|
name = "capstone"
|
|
version = "0.13.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "015ef5d5ca1743e3f94af9509ba6bd2886523cfee46e48d15c2ef5216fd4ac9a"
|
|
dependencies = [
|
|
"capstone-sys",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "capstone-sys"
|
|
version = "0.17.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2267cb8d16a1e4197863ec4284ffd1aec26fe7e57c58af46b02590a0235809a0"
|
|
dependencies = [
|
|
"cc",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "cc"
|
|
version = "1.2.18"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c"
|
|
dependencies = [
|
|
"shlex",
|
|
]
|
|
|
|
[[package]]
|
|
name = "dissimilar"
|
|
version = "1.0.10"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8975ffdaa0ef3661bfe02dbdcc06c9f829dfafe6a3c474de366a8d5e44276921"
|
|
|
|
[[package]]
|
|
name = "expect-test"
|
|
version = "1.5.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "63af43ff4431e848fb47472a920f14fa71c24de13255a5692e93d4e90302acb0"
|
|
dependencies = [
|
|
"dissimilar",
|
|
"once_cell",
|
|
]
|
|
|
|
[[package]]
|
|
name = "jit"
|
|
version = "0.0.0"
|
|
dependencies = [
|
|
"yjit",
|
|
"zjit",
|
|
]
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.171"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
|
|
|
|
[[package]]
|
|
name = "once_cell"
|
|
version = "1.21.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
|
|
[[package]]
|
|
name = "shlex"
|
|
version = "1.3.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
|
|
[[package]]
|
|
name = "yjit"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"capstone",
|
|
]
|
|
|
|
[[package]]
|
|
name = "zjit"
|
|
version = "0.0.1"
|
|
dependencies = [
|
|
"capstone",
|
|
"expect-test",
|
|
]
|