blob: b94fb271175d6b702eddca96255313292d3ad97e [file] [log] [blame]
// Copyright 2022 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#[cfg(unix)]
pub mod unix;
#[cfg(windows)]
pub mod windows;
cfg_if::cfg_if! {
if #[cfg(unix)] {
pub use unix as platform;
pub use platform::*;
} else if #[cfg(windows)] {
pub use windows as platform;
} else {
compile_error!("Unsupported platform");
}
}