blob: f6e029a350f5dd6d5866d18718d8cdff21105c93 [file] [log] [blame]
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cfg_if::cfg_if! {
if #[cfg(any(target_os = "android", target_os = "linux"))] {
pub mod unix;
use unix as platform;
} else if #[cfg(windows)] {
pub mod windows;
use windows as platform;
}
}
pub use platform::start_device;
pub(in crate::virtio::vhost::user::device::net) use platform::start_queue;
pub use platform::Options;