summaryrefslogtreecommitdiff
path: root/ruby.rs
diff options
context:
space:
mode:
authorAiden Fox Ivey <aiden.foxivey@shopify.com>2025-09-11 23:32:06 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2025-09-11 21:51:47 -0700
commitf75e1cb362f57aa9e18c42026adec39b86d4e5c6 (patch)
tree4331b82eb2bbcfa512c7bacae4d61c328dc14783 /ruby.rs
parent30f85ce5302d4e8da5852726db9a2bc607b5aeec (diff)
ZJIT: Move jit.rs to ruby.rs and create a shared crate `jit`
* ruby.rs should hold the main entrypoint to YJIT and ZJIT * The crate jit will hold code shared between them
Diffstat (limited to 'ruby.rs')
-rw-r--r--ruby.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ruby.rs b/ruby.rs
new file mode 100644
index 0000000000..b66b2d21ca
--- /dev/null
+++ b/ruby.rs
@@ -0,0 +1,4 @@
+#[cfg(feature = "yjit")]
+pub use yjit::*;
+#[cfg(feature = "zjit")]
+pub use zjit::*;