mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
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 <noreply+kokoro@google.com> Commit-Queue: Tomasz Jeznach <tjeznach@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
58509986c2
commit
53f836c584
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ path = "src/crosvm.rs"
|
||||||
name = "crosvm"
|
name = "crosvm"
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "crosvm-direct"
|
||||||
|
path = "src/main.rs"
|
||||||
|
required-features = [ "direct" ]
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = 'abort'
|
panic = 'abort'
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
|
|
Loading…
Reference in a new issue