make_imc_hive/main.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Tool to make an IMC hive for injecting pipette into a Windows guest.
5
6#[cfg(windows)]
7mod windows;
8
9#[cfg(not(windows))]
10fn main() {
11 eprintln!("not supported on this OS");
12 std::process::exit(1);
13}
14
15#[cfg(windows)]
16fn main() -> anyhow::Result<()> {
17 windows::main()
18}