summaryrefslogtreecommitdiff
path: root/zjit/build.rs
AgeCommit message (Collapse)Author
2025-05-21ZJIT: Add --allow-multiple-definition for make zjit-testAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13377
2025-05-15YJIT: ZJIT: Allow both JITs in the same buildAlan Wu
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. Notes: Merged: https://github.com/ruby/ruby/pull/13262
2025-04-18reorder libminiruby link flags. Now works on aarch64 linuxAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18add `make zjit-test`Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18cargo:rustc-link-lib=static:-bundle needs 1.63Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18boot_vm boots and runsAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18can link and run `p RubyVM::ISeq`, hardcoded paths, needs more initAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131