diff --git a/Cargo.toml b/Cargo.toml index d3bcfc88f19..e94e1f248d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -125,7 +125,6 @@ members = [ "compiler/codegen", ".", "derive", - "jit", "vm", "vm/sre_engine", "stdlib", @@ -149,7 +148,7 @@ rustpython-codegen = { path = "compiler/codegen", version = "0.4.0" } rustpython-common = { path = "crates/common", version = "0.4.0" } rustpython-derive = { path = "derive", version = "0.4.0" } rustpython-derive-impl = { path = "derive-impl", version = "0.4.0" } -rustpython-jit = { path = "jit", version = "0.4.0" } +rustpython-jit = { path = "crates/jit", version = "0.4.0" } rustpython-literal = { path = "crates/literal", version = "0.4.0" } rustpython-vm = { path = "vm", default-features = false, version = "0.4.0" } rustpython-pylib = { path = "crates/pylib", version = "0.4.0" } diff --git a/jit/Cargo.toml b/crates/jit/Cargo.toml similarity index 91% rename from jit/Cargo.toml rename to crates/jit/Cargo.toml index 5708ae367b5..2ef8c344a9d 100644 --- a/jit/Cargo.toml +++ b/crates/jit/Cargo.toml @@ -22,7 +22,7 @@ cranelift-jit = "0.119" cranelift-module = "0.119" [dev-dependencies] -rustpython-derive = { path = "../derive", version = "0.4.0" } +rustpython-derive = { workspace = true } approx = "0.5.1" diff --git a/jit/src/instructions.rs b/crates/jit/src/instructions.rs similarity index 100% rename from jit/src/instructions.rs rename to crates/jit/src/instructions.rs diff --git a/jit/src/lib.rs b/crates/jit/src/lib.rs similarity index 100% rename from jit/src/lib.rs rename to crates/jit/src/lib.rs diff --git a/jit/tests/bool_tests.rs b/crates/jit/tests/bool_tests.rs similarity index 100% rename from jit/tests/bool_tests.rs rename to crates/jit/tests/bool_tests.rs diff --git a/jit/tests/common.rs b/crates/jit/tests/common.rs similarity index 100% rename from jit/tests/common.rs rename to crates/jit/tests/common.rs diff --git a/jit/tests/float_tests.rs b/crates/jit/tests/float_tests.rs similarity index 100% rename from jit/tests/float_tests.rs rename to crates/jit/tests/float_tests.rs diff --git a/jit/tests/int_tests.rs b/crates/jit/tests/int_tests.rs similarity index 100% rename from jit/tests/int_tests.rs rename to crates/jit/tests/int_tests.rs diff --git a/jit/tests/lib.rs b/crates/jit/tests/lib.rs similarity index 100% rename from jit/tests/lib.rs rename to crates/jit/tests/lib.rs diff --git a/jit/tests/misc_tests.rs b/crates/jit/tests/misc_tests.rs similarity index 100% rename from jit/tests/misc_tests.rs rename to crates/jit/tests/misc_tests.rs diff --git a/jit/tests/none_tests.rs b/crates/jit/tests/none_tests.rs similarity index 100% rename from jit/tests/none_tests.rs rename to crates/jit/tests/none_tests.rs