guest_test_uefi/main.rs
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;