From c840fb2f088231b3eb2d80414cad0a6b4e936582 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 19 Sep 2018 20:07:30 -0700 Subject: [PATCH] Move tests/moduletests.rs into lib/simplejit/tests. These tests depend on cranelift-simplejit, which is higher-level than the other crates they depend on, so lib/simplejit is a good place for them. --- lib/simplejit/Cargo.toml | 2 ++ cranelift/tests/moduletests.rs => lib/simplejit/tests/basic.rs | 0 2 files changed, 2 insertions(+) rename cranelift/tests/moduletests.rs => lib/simplejit/tests/basic.rs (100%) diff --git a/lib/simplejit/Cargo.toml b/lib/simplejit/Cargo.toml index 341e27e750..d1df478224 100644 --- a/lib/simplejit/Cargo.toml +++ b/lib/simplejit/Cargo.toml @@ -23,6 +23,8 @@ winapi = { version = "0.3", features = ["winbase", "memoryapi"] } [dev-dependencies] cranelift = { path = "../umbrella", version = "0.21.1" } +cranelift-frontend = { path = "../frontend", version = "0.21.1" } +cranelift-entity = { path = "../entity", version = "0.21.1" } [features] default = ["std"] diff --git a/cranelift/tests/moduletests.rs b/lib/simplejit/tests/basic.rs similarity index 100% rename from cranelift/tests/moduletests.rs rename to lib/simplejit/tests/basic.rs