diff options
author | Zach Reizner <zachr@google.com> | 2019-03-21 14:50:37 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-25 17:43:51 -0700 |
commit | 99d4a18b5d9f0e4e469752da7c80d006696008f1 (patch) | |
tree | f9fa9ab6ae769b07e67e5fbfde4a4442e6481fbb /crosvm_plugin | |
parent | 3a42190cc40bc910d402b6207b26f2b4081d200a (diff) | |
download | crosvm-99d4a18b5d9f0e4e469752da7c80d006696008f1.tar crosvm-99d4a18b5d9f0e4e469752da7c80d006696008f1.tar.gz crosvm-99d4a18b5d9f0e4e469752da7c80d006696008f1.tar.bz2 crosvm-99d4a18b5d9f0e4e469752da7c80d006696008f1.tar.lz crosvm-99d4a18b5d9f0e4e469752da7c80d006696008f1.tar.xz crosvm-99d4a18b5d9f0e4e469752da7c80d006696008f1.tar.zst crosvm-99d4a18b5d9f0e4e469752da7c80d006696008f1.zip |
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>
Diffstat (limited to 'crosvm_plugin')
-rw-r--r-- | crosvm_plugin/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crosvm_plugin/Cargo.toml b/crosvm_plugin/Cargo.toml index 2233b6d..b3854bb 100644 --- a/crosvm_plugin/Cargo.toml +++ b/crosvm_plugin/Cargo.toml @@ -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" } |