// 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. //! A wrapper module for platform dependent code. cfg_if::cfg_if! { if #[cfg(unix)] { mod unix; pub use unix::*; } else if #[cfg(windows)] { mod windows; pub use windows::*; } else { compile_error!("Unsupported platform"); } }