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:
Alexandre Courbot 2022-06-28 09:51:21 +09:00 committed by Chromeos LUCI
parent 0423074861
commit d8842cf3aa

View file

@ -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::*;