microsoft/openvmm

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
79e8dfde988148f91cccf091da719664d2e0c574

Branches

Tags

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

Clone

HTTPS

Download ZIP

guest_test_uefi/src/main.rs

18lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#![doc = include_str!("../README.md")]
5// HACK: workaround for building guest_test_uefi as part of the workspace in CI.
6#![cfg_attr(all(not(test), target_os = "uefi"), no_main)]
7#![cfg_attr(all(not(test), target_os = "uefi"), no_std)]
8
9// HACK: workaround for building guest_test_uefi as part of the workspace in CI
10//
11// Actual entrypoint is `uefi::uefi_main`, via the `#[entry]` macro
12#[cfg(any(test, not(target_os = "uefi")))]
13fn main() {}
14
15#[macro_use]
16extern crate alloc;
17
18mod uefi;
19