From 53f836c584db1dc7a9569b6db5a3de153cb94445 Mon Sep 17 00:00:00 2001 From: Tomasz Jeznach Date: Wed, 31 Mar 2021 15:08:45 -0700 Subject: [PATCH] crosvm-direct: Add crosvm-direct binary target. With 'direct' feature enabled, crosvm-direct target support for platform/host devices passthrough is added. BUG=b:173824333 TEST=build with 'USE=crosvm-direct emerge-${BOARD} crosvm' Change-Id: I52ded0604aff464175e6f3bfc9a813f7968547ff Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2798816 Tested-by: kokoro Commit-Queue: Tomasz Jeznach Reviewed-by: Daniel Verkamp --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6400150cf3..ce9763bc0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,11 @@ path = "src/crosvm.rs" name = "crosvm" path = "src/main.rs" +[[bin]] +name = "crosvm-direct" +path = "src/main.rs" +required-features = [ "direct" ] + [profile.release] panic = 'abort' overflow-checks = true