We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 750bdd4 commit 7e2dd61Copy full SHA for 7e2dd61
src/libkrun/src/lib.rs
@@ -66,10 +66,16 @@ const KRUN_SUCCESS: i32 = 0;
66
const MAX_ARGS: usize = 4096;
67
68
// krunfw library name for each context
69
-#[cfg(all(target_os = "linux", not(feature = "amd-sev")))]
+#[cfg(all(
70
+ target_os = "linux",
71
+ not(feature = "intel-tdx"),
72
+ not(feature = "amd-sev")
73
+))]
74
const KRUNFW_NAME: &str = "libkrunfw.so.4";
75
#[cfg(all(target_os = "linux", feature = "amd-sev"))]
76
const KRUNFW_NAME: &str = "libkrunfw-sev.so.4";
77
+#[cfg(all(target_os = "linux", feature = "intel-tdx"))]
78
+const KRUNFW_NAME: &str = "libkrunfw-tdx.so.4";
79
#[cfg(all(target_os = "macos", not(feature = "efi")))]
80
const KRUNFW_NAME: &str = "libkrunfw.4.dylib";
81
0 commit comments