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:
Wei Liu
2026-07-08 11:37:45 -07:00
committed by Rob Bradford
parent e8f021b05e
commit b2d1065a55
3 changed files with 2 additions and 12 deletions

View File

@@ -12,8 +12,6 @@ cargo_args=("")
# shellcheck disable=SC2154
if [[ $hypervisor = "mshv" ]]; then
cargo_args+=("--features $hypervisor")
elif [[ $(uname -m) = "x86_64" ]]; then
cargo_args+=("--features tdx")
fi
export RUST_BACKTRACE=1