mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: disallow building tdx feature
It is broken. There is no use in producing something that doesn't work. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
@@ -894,6 +894,8 @@ fn expand_fdtable() -> Result<(), FdTableError> {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
#[cfg(feature = "tdx")]
|
||||
compile_error!("Feature 'tdx' is broken.");
|
||||
#[cfg(all(feature = "tdx", feature = "sev_snp"))]
|
||||
compile_error!("Feature 'tdx' and 'sev_snp' are mutually exclusive.");
|
||||
#[cfg(all(feature = "sev_snp", not(target_arch = "x86_64")))]
|
||||
|
||||
Reference in New Issue
Block a user