Hook up all crates via path dependencies
This commit is contained in:
@@ -9,30 +9,26 @@ repository = "https://github.com/bytecodealliance/cranelift"
|
||||
publish = false
|
||||
edition = "2018"
|
||||
|
||||
# Present here only to make sure that cargo test --all runs tests for all
|
||||
# the crates.
|
||||
[workspace]
|
||||
|
||||
[[bin]]
|
||||
name = "clif-util"
|
||||
path = "src/clif-util.rs"
|
||||
|
||||
[dependencies]
|
||||
cfg-if = "0.1"
|
||||
cranelift-codegen = { path = "cranelift-codegen", version = "0.59.0" }
|
||||
cranelift-entity = { path = "cranelift-entity", version = "0.59.0" }
|
||||
cranelift-reader = { path = "cranelift-reader", version = "0.59.0" }
|
||||
cranelift-frontend = { path = "cranelift-frontend", version = "0.59.0" }
|
||||
cranelift-serde = { path = "cranelift-serde", version = "0.59.0", optional = true }
|
||||
cranelift-wasm = { path = "cranelift-wasm", version = "0.59.0", optional = true }
|
||||
cranelift-native = { path = "cranelift-native", version = "0.59.0" }
|
||||
cranelift-filetests = { path = "cranelift-filetests", version = "0.59.0" }
|
||||
cranelift-module = { path = "cranelift-module", version = "0.59.0" }
|
||||
cranelift-faerie = { path = "cranelift-faerie", version = "0.59.0" }
|
||||
cranelift-object = { path = "cranelift-object", version = "0.59.0" }
|
||||
cranelift-simplejit = { path = "cranelift-simplejit", version = "0.59.0" }
|
||||
cranelift-preopt = { path = "cranelift-preopt", version = "0.59.0" }
|
||||
cranelift = { path = "cranelift-umbrella", version = "0.59.0" }
|
||||
cranelift-codegen = { path = "codegen", version = "0.59.0" }
|
||||
cranelift-entity = { path = "entity", version = "0.59.0" }
|
||||
cranelift-reader = { path = "reader", version = "0.59.0" }
|
||||
cranelift-frontend = { path = "frontend", version = "0.59.0" }
|
||||
cranelift-serde = { path = "serde", version = "0.59.0", optional = true }
|
||||
cranelift-wasm = { path = "wasm", version = "0.59.0", optional = true }
|
||||
cranelift-native = { path = "native", version = "0.59.0" }
|
||||
cranelift-filetests = { path = "filetests", version = "0.59.0" }
|
||||
cranelift-module = { path = "module", version = "0.59.0" }
|
||||
cranelift-faerie = { path = "faerie", version = "0.59.0" }
|
||||
cranelift-object = { path = "object", version = "0.59.0" }
|
||||
cranelift-simplejit = { path = "simplejit", version = "0.59.0" }
|
||||
cranelift-preopt = { path = "preopt", version = "0.59.0" }
|
||||
cranelift = { path = "umbrella", version = "0.59.0" }
|
||||
filecheck = "0.4.0"
|
||||
clap = "2.32.0"
|
||||
serde = "1.0.8"
|
||||
|
||||
@@ -12,7 +12,7 @@ keywords = ["btree", "forest", "set", "map"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.59.0", default-features = false }
|
||||
cranelift-entity = { path = "../entity", version = "0.59.0", default-features = false }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
|
||||
@@ -14,8 +14,8 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen-shared = { path = "./shared", version = "0.59.0" }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.59.0" }
|
||||
cranelift-bforest = { path = "../cranelift-bforest", version = "0.59.0" }
|
||||
cranelift-entity = { path = "../entity", version = "0.59.0" }
|
||||
cranelift-bforest = { path = "../bforest", version = "0.59.0" }
|
||||
hashbrown = { version = "0.6", optional = true }
|
||||
target-lexicon = "0.10"
|
||||
log = { version = "0.4.6", default-features = false }
|
||||
|
||||
@@ -10,7 +10,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen-shared = { path = "../shared", version = "0.59.0" }
|
||||
cranelift-entity = { path = "../../cranelift-entity", version = "0.59.0" }
|
||||
cranelift-entity = { path = "../../entity", version = "0.59.0" }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
|
||||
@@ -10,14 +10,14 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-module = { path = "../cranelift-module", version = "0.59.0" }
|
||||
cranelift-module = { path = "../module", version = "0.59.0" }
|
||||
faerie = "0.14.0"
|
||||
goblin = "0.1.0"
|
||||
anyhow = "1.0"
|
||||
target-lexicon = "0.10"
|
||||
|
||||
[dependencies.cranelift-codegen]
|
||||
path = "../cranelift-codegen"
|
||||
path = "../codegen"
|
||||
version = "0.59.0"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
|
||||
@@ -10,10 +10,10 @@ publish = false
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0", features = ["testing_hooks"] }
|
||||
cranelift-native = { path = "../cranelift-native", version = "0.59.0" }
|
||||
cranelift-reader = { path = "../cranelift-reader", version = "0.59.0" }
|
||||
cranelift-preopt = { path = "../cranelift-preopt", version = "0.59.0" }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0", features = ["testing_hooks"] }
|
||||
cranelift-native = { path = "../native", version = "0.59.0" }
|
||||
cranelift-reader = { path = "../reader", version = "0.59.0" }
|
||||
cranelift-preopt = { path = "../preopt", version = "0.59.0" }
|
||||
file-per-thread-logger = "0.1.2"
|
||||
filecheck = "0.4.0"
|
||||
gimli = { version = "0.20.0", default-features = false, features = ["read"] }
|
||||
|
||||
@@ -11,7 +11,7 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0", default-features = false }
|
||||
target-lexicon = "0.10"
|
||||
log = { version = "0.4.6", default-features = false }
|
||||
hashbrown = { version = "0.6", optional = true }
|
||||
|
||||
@@ -12,9 +12,9 @@ cargo-fuzz = true
|
||||
cargo-fuzz = "*"
|
||||
binaryen = { git = "https://github.com/pepyakin/binaryen-rs.git" }
|
||||
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
|
||||
cranelift-codegen = { path = "../cranelift-codegen" }
|
||||
cranelift-wasm = { path = "../cranelift-wasm" }
|
||||
cranelift-reader = { path = "../cranelift-reader" }
|
||||
cranelift-codegen = { path = "../codegen" }
|
||||
cranelift-wasm = { path = "../wasm" }
|
||||
cranelift-reader = { path = "../reader" }
|
||||
target-lexicon = "0.10"
|
||||
|
||||
# Prevent this from interfering with workspaces
|
||||
|
||||
@@ -11,8 +11,8 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.59.0" }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-entity = { path = "../entity", version = "0.59.0" }
|
||||
hashbrown = { version = "0.6", optional = true }
|
||||
log = { version = "0.4.6", default-features = false }
|
||||
thiserror = "1.0.4"
|
||||
|
||||
@@ -10,7 +10,7 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0", default-features = false }
|
||||
target-lexicon = "0.10"
|
||||
|
||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
|
||||
|
||||
@@ -10,13 +10,13 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-module = { path = "../cranelift-module", version = "0.59.0" }
|
||||
cranelift-module = { path = "../module", version = "0.59.0" }
|
||||
object = { version = "0.17", default-features = false, features = ["write"] }
|
||||
target-lexicon = "0.10"
|
||||
goblin = "0.1.0"
|
||||
|
||||
[dependencies.cranelift-codegen]
|
||||
path = "../cranelift-codegen"
|
||||
path = "../codegen"
|
||||
version = "0.59.0"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
|
||||
@@ -12,8 +12,8 @@ keywords = ["optimize", "compile", "compiler", "jit"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.59.0" }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-entity = { path = "../entity", version = "0.59.0" }
|
||||
# This is commented out because it doesn't build on Rust 1.25.0, which
|
||||
# cranelift currently supports.
|
||||
# rustc_apfloat = { version = "0.1.2", default-features = false }
|
||||
|
||||
@@ -10,7 +10,7 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0" }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0" }
|
||||
target-lexicon = "0.10"
|
||||
|
||||
[badges]
|
||||
|
||||
@@ -18,8 +18,8 @@ clap = "2.32.0"
|
||||
serde = "1.0.8"
|
||||
serde_derive = "1.0.75"
|
||||
serde_json = "1.0.26"
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0" }
|
||||
cranelift-reader = { path = "../cranelift-reader", version = "0.59.0" }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0" }
|
||||
cranelift-reader = { path = "../reader", version = "0.59.0" }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
|
||||
@@ -10,8 +10,8 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-module = { path = "../cranelift-module", version = "0.59.0" }
|
||||
cranelift-native = { path = "../cranelift-native", version = "0.59.0" }
|
||||
cranelift-module = { path = "../module", version = "0.59.0" }
|
||||
cranelift-native = { path = "../native", version = "0.59.0" }
|
||||
region = "2.0.0"
|
||||
libc = { version = "0.2.42" }
|
||||
errno = "0.2.4"
|
||||
@@ -19,7 +19,7 @@ target-lexicon = "0.10"
|
||||
memmap = { version = "0.7.0", optional = true }
|
||||
|
||||
[dependencies.cranelift-codegen]
|
||||
path = "../cranelift-codegen"
|
||||
path = "../codegen"
|
||||
version = "0.59.0"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
@@ -32,9 +32,9 @@ selinux-fix = ['memmap']
|
||||
default = []
|
||||
|
||||
[dev-dependencies]
|
||||
cranelift = { path = "../cranelift-umbrella", version = "0.59.0" }
|
||||
cranelift-frontend = { path = "../cranelift-frontend", version = "0.59.0" }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.59.0" }
|
||||
cranelift = { path = "../umbrella", version = "0.59.0" }
|
||||
cranelift-frontend = { path = "../frontend", version = "0.59.0" }
|
||||
cranelift-entity = { path = "../entity", version = "0.59.0" }
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
|
||||
@@ -12,8 +12,8 @@ keywords = ["compile", "compiler", "jit"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-frontend = { path = "../cranelift-frontend", version = "0.59.0", default-features = false }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-frontend = { path = "../frontend", version = "0.59.0", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
|
||||
@@ -12,9 +12,9 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
wasmparser = { version = "0.51.0", default-features = false }
|
||||
cranelift-codegen = { path = "../cranelift-codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.59.0" }
|
||||
cranelift-frontend = { path = "../cranelift-frontend", version = "0.59.0", default-features = false }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.59.0", default-features = false }
|
||||
cranelift-entity = { path = "../entity", version = "0.59.0" }
|
||||
cranelift-frontend = { path = "../frontend", version = "0.59.0", default-features = false }
|
||||
hashbrown = { version = "0.6", optional = true }
|
||||
log = { version = "0.4.6", default-features = false }
|
||||
serde = { version = "1.0.94", features = ["derive"], optional = true }
|
||||
|
||||
Reference in New Issue
Block a user