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

This is so that e.g. building with `--enable-zjit=dev` will test with the disassembly feature. It makes more sense, saves on build time and reveals that `backend::arm64::tests::sp_movements_are_single_instruction` was in fact failing with the `disasm` feature.
21 lines
675 B
TOML
21 lines
675 B
TOML
[package]
|
|
name = "zjit"
|
|
version = "0.0.1"
|
|
edition = "2024"
|
|
rust-version = "1.85.0" # Minimally supported rust version
|
|
publish = false # Don't publish to crates.io
|
|
|
|
[dependencies]
|
|
# No required dependencies to simplify build process. TODO: Link to yet to be
|
|
# written rationale. Optional For development and testing purposes
|
|
capstone = { version = "0.13.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
expect-test = "1.5.1"
|
|
|
|
# NOTE: Development builds select a set of these via configure.ac
|
|
# For debugging, `make V=1` shows exact cargo invocation.
|
|
[features]
|
|
# Support --yjit-dump-disasm and RubyVM::YJIT.disasm using libcapstone.
|
|
disasm = ["capstone"]
|
|
runtime_checks = []
|