mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
8039f7149b
Hide winapi crate behind 'cfg(windows)' in Cargo.toml. This CL is for ChromeOS build. This commit is unneeded on non-ChromeOS environment because winapi has '#![cfg(windows)]' in its body so it can be built as empty crate even on non-windows environments. However, in ChromeOS build system, winapi crate is replaced with an empty crate that cannot be built on Linux [1]. [1]: http://cs/h/chromium/chromiumos/codesearch/+/main:src/third_party/rust_crates/vendor/winapi-0.3.9/src/lib.rs?l=1 BUG=none TEST=cros_run_unit_tests --board octopus --packages crosvm on cros_skd Change-Id: I6174b4f777b9ad5d94544e4ea9cbfd2e65f48089 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5321370 Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |