From f13ff56ddbd51b13d447d2fc010d50ef09df8424 Mon Sep 17 00:00:00 2001 From: Padraic Fanning <27117322+fanninpm@users.noreply.github.com> Date: Tue, 28 Apr 2026 18:14:27 -0400 Subject: [PATCH 1/2] Add dependencies from `jit` crate to main workspace --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 29a8e1f77a3..90887249b00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -173,12 +173,16 @@ ruff_source_file = { package = "rustpython-ruff_source_file", version = "0.15.8" der = { version = "0.8", features = ["alloc", "oid", "pem", "zeroize"] } phf = { version = "0.13.1", default-features = false, features = ["macros"]} ahash = "0.8.12" +approx = "0.5.1" ascii = "1.1" bitflags = "2.11.0" bitflagset = "0.0.3" bstr = "1" chrono = { version = "0.4.44", default-features = false, features = ["clock", "oldtime", "std"] } constant_time_eq = "0.4" +cranelift = "0.131.0" +cranelift-jit = "0.131.0" +cranelift-module = "0.131.0" criterion = { version = "0.8", features = ["html_reports"] } crossbeam-utils = "0.8.21" flame = "0.2.2" From ef9c3f1f5fee03ef18343f48c203089426f34d21 Mon Sep 17 00:00:00 2001 From: Padraic Fanning <27117322+fanninpm@users.noreply.github.com> Date: Tue, 28 Apr 2026 18:15:03 -0400 Subject: [PATCH 2/2] Declare dependencies as workspace = true --- crates/jit/Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/jit/Cargo.toml b/crates/jit/Cargo.toml index 799b12465e2..5dcf0f4c31b 100644 --- a/crates/jit/Cargo.toml +++ b/crates/jit/Cargo.toml @@ -17,15 +17,15 @@ num-traits = { workspace = true } thiserror = { workspace = true } libffi = { workspace = true } -cranelift = "0.131.0" -cranelift-jit = "0.131.0" -cranelift-module = "0.131.0" +cranelift = { workspace = true } +cranelift-jit = { workspace = true } +cranelift-module = { workspace = true } [dev-dependencies] rustpython-derive = { workspace = true } rustpython-wtf8 = { workspace = true } -approx = "0.5.1" +approx = { workspace = true } [[test]] name = "integration"