microsoft/openvmm
Publicmirrored fromhttps://github.com/microsoft/openvmmAvailable
flowey/flowey_hvlite/src/lib.rs
23lines · 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 | #![expect(missing_docs)] |
| 12 | #![forbid(unsafe_code)] |
| 13 | |
| 14 | pub mod pipelines; |
| 15 | pub mod pipelines_shared; |
| 16 | |
| 17 | pub fn repo_root() -> std::path::PathBuf { |
| 18 | std::path::Path::new(&env!("CARGO_MANIFEST_DIR")) |
| 19 | .ancestors() |
| 20 | .nth(2) |
| 21 | .unwrap() |
| 22 | .into() |
| 23 | } |
| 24 | |