Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
google
GitHub Repository: google/crosvm
Path: blob/main/disk/src/sys.rs
5394 views
1
// Copyright 2022 The ChromiumOS Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
cfg_if::cfg_if! {
6
if #[cfg(any(target_os = "android", target_os = "linux"))] {
7
pub mod linux;
8
use linux as platform;
9
} else if #[cfg(windows)] {
10
pub mod windows;
11
use windows as platform;
12
}
13
}
14
15
pub(crate) use platform::apply_raw_disk_file_options;
16
pub(crate) use platform::open_raw_disk_image;
17
pub(crate) use platform::read_from_disk;
18
19