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:
@@ -19,7 +19,7 @@ SRC_URI += "\
|
||||
crate-index://crates.io/${CARGO_INDEX_COMMIT} \
|
||||
"
|
||||
|
||||
DEPENDS += "compiler-rt"
|
||||
DEPENDS += "compiler-rt (=${PV})"
|
||||
|
||||
RUSTLIB_DEP = ""
|
||||
inherit cargo
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user