microsoft/openvmm
Publicmirrored fromhttps://github.com/microsoft/openvmmAvailable
flowey/flowey_hvlite/src/lib.rs
20lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | //! Flowey pipelines used by the OpenVMM project |
| 5 | |
| 6 | // DEVNOTE: this binary crate includes a `lib.rs` so that out-of-tree, |
| 7 | // closed-source flowey pipelines can reuse certain bits of the open-source |
| 8 | // flowey CLI and shared configuration logic (making it easier to have a |
| 9 | // consistent UX across open and closed-source). |
| 10 | |
| 11 | pub mod pipelines; |
| 12 | pub mod pipelines_shared; |
| 13 | |
| 14 | pub fn repo_root() -> std::path::PathBuf { |
| 15 | std::path::Path::new(&env!("CARGO_MANIFEST_DIR")) |
| 16 | .ancestors() |
| 17 | .nth(2) |
| 18 | .unwrap() |
| 19 | .into() |
| 20 | } |
| 21 | |