blob: 88a6339050a62d71b8e7c4648a60cca29dbd4ee3 [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;
pub use unix as platform;
} else if #[cfg(windows)] {
pub mod windows;
pub use windows as platform;
}
}
pub use platform::async_types;
pub use platform::event;
pub use platform::executor::Executor;
pub use platform::executor::ExecutorKind;
pub use platform::executor::SetDefaultExecutorKindError;
pub use platform::executor::TaskHandle;