crosvm/protos
Daniel Verkamp 1972b6855a protos: add arch = x86 guards around CPUID helpers
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>
2020-08-18 05:30:38 +00:00
..
src protos: add arch = x86 guards around CPUID helpers 2020-08-18 05:30:38 +00:00
tests protos: Merge plugin_proto crate under protos::plugin 2019-04-12 14:49:57 -07:00
build.rs Support composite disks. 2019-10-03 00:59:14 +00:00
Cargo.toml Support composite disks. 2019-10-03 00:59:14 +00:00