mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 20:19:07 +00:00
require protobuf version match that of top-level Cargo.toml
When compiling unit tests in the pre-cq, the Cargo.lock file is deleted. Testing a sub-crate without a lock file will cause the protobuf dependency to resolve to the latest version of protobuf, which varies based on whatever other cros-rust.eclass based ebuilds have been run beforehand. This change fixes that source of flake. BUG=None TEST=pre-cq Change-Id: Ief951391c08b0f0cc9ff035437824d89860455e2 Reviewed-on: https://chromium-review.googlesource.com/1534962 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org>
This commit is contained in:
parent
3a42190cc4
commit
99d4a18b5d
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ authors = ["The Chromium OS Authors"]
|
|||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
protobuf = "*"
|
||||
protobuf = "=1.4.3"
|
||||
plugin_proto = { path = "../plugin_proto" }
|
||||
sys_util = { path = "../sys_util" }
|
||||
kvm = { path = "../kvm" }
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["The Chromium OS Authors"]
|
|||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
protobuf = "*"
|
||||
protobuf = "=1.4.3"
|
||||
kvm_sys = { path = "../kvm_sys" }
|
||||
|
||||
[build-dependencies]
|
||||
|
|
Loading…
Reference in a new issue