pin dependencies of Rust packages on the same ver

Pin the versions of different Rust component packages to the same
version to ensure smooth upgrades. Not sure how to hook the compiler
together with the shared library. Likely rust-cross will need to provide
some kind of dependency to make this happen.
This commit is contained in:
Doug Goldstein
2016-11-04 16:41:49 -05:00
parent 91319e80f8
commit 75f4549859
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ SRC_URI += "\
crate-index://crates.io/${CARGO_INDEX_COMMIT} \
"
DEPENDS += "compiler-rt"
DEPENDS += "compiler-rt (=${PV})"
RUSTLIB_DEP = ""
inherit cargo

View File

@@ -19,7 +19,7 @@ SRC_URI += " \
SRC_URI[rust.md5sum] = "a48fef30353fc9daa70b484b690ce5db"
SRC_URI[rust.sha256sum] = "a4015aacf4f6d8a8239253c4da46e7abaa8584f8214d1828d2ff0a8f56176869"
DEPENDS += "rust-llvm"
DEPENDS += "rust-llvm (=${PV})"
# Otherwise we'll depend on what we provide
INHIBIT_DEFAULT_RUST_DEPS_class-native = "1"