From d5703285209800f693c9be4e5e6ab391d858feaf Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Mon, 28 Nov 2022 13:45:48 -0800 Subject: [PATCH] swap: remove Cargo.toml data_model patch Fixes compiler warning: warning: patch for the non root package will be ignored, specify patch at the workspace root: [...]/src/platform/crosvm/swap/Cargo.toml [...]/src/platform/crosvm/Cargo.toml The top-level crosvm/Cargo.toml already specifies the patch, so we can just remove it from swap/Cargo.toml BUG=None TEST=cargo build --features=swap TEST=emerge-brya crosvm Change-Id: Icdb9c7745478552ac01f07bdd5c799feff3f69a0 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4062050 Reviewed-by: Keiichi Watanabe Commit-Queue: Daniel Verkamp --- swap/Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/swap/Cargo.toml b/swap/Cargo.toml index 2a1cad93c3..1204faea4a 100644 --- a/swap/Cargo.toml +++ b/swap/Cargo.toml @@ -18,6 +18,3 @@ tempfile = "*" thiserror = "*" userfaultfd = "0.5.0" vm_memory = { path = "../vm_memory"} - -[patch.crates-io] -data_model = { path = "../common/data_model" }