microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
fa2f7c99b4ca1292730b542470beb865fc246dd5

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

hyperv/tools/hypestv/src/main.rs

17lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Interactive CLI for Hyper-V VMs.
5
6mod windows;
7
8#[cfg(windows)]
9fn main() -> anyhow::Result<()> {
10 pal_async::DefaultPool::run_with(windows::main)
11}
12
13#[cfg(not(windows))]
14fn main() {
15 eprintln!("not supported on this platform");
16 std::process::exit(1);
17}
18