mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
virtio: vhost: user: handler: make sys module follow style guidelines
Export the platform module under the `platform` name as requested on https://google.github.io/crosvm/contributing/style_guide_platform_specific_code.html#platform-specific-symbols BUG=None TEST=cargo build Change-Id: Ic4fa198a39d9435879e3bccf3e2fc80378c5737e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3729248 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
0423074861
commit
d8842cf3aa
1 changed files with 6 additions and 4 deletions
|
@ -4,10 +4,12 @@
|
|||
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(unix)] {
|
||||
mod unix;
|
||||
pub(crate) use self::unix::*;
|
||||
pub mod unix;
|
||||
use unix as platform;
|
||||
} else if #[cfg(windows)] {
|
||||
mod windows;
|
||||
pub(crate) use self::windows::*;
|
||||
pub mod windows;
|
||||
use windows as platform;
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) use platform::*;
|
||||
|
|
Loading…
Reference in a new issue