mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
1972b6855a
The CPUID-related KVM structs are only available on x86; don't try to compile the helper functions that use these structs on other platforms. This is slightly nonsensical, since plugin is already only compiled on a few specific x86 platforms, but it allows the unit tests to build on other platforms (e.g. when using `cargo test --all-features`). BUG=chromium:1112839 TEST=FEATURES=test emerge-kevin crosvm Change-Id: I413ac757f27c987133bdb265f203f0d6eb3a0b21 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2347077 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |