Skip to content

Commit ccb60b8

Browse files
committed
NVIDIA: gate the legacy RIM setter on TDX support
Signed-off-by: Jiale Zhang <zhangjiale@linux.alibaba.com>
1 parent febdf8e commit ccb60b8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎deps/verifier/src/nvidia_config.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use std::sync::RwLock;
55

66
static LEGACY_RIM_URL: RwLock<Option<String>> = RwLock::new(None);
77

8+
#[cfg(feature = "tdx-verifier")]
89
pub(crate) fn set_legacy_rim_url(url: Option<String>) {
910
*LEGACY_RIM_URL.write().unwrap() = url;
1011
}

0 commit comments

Comments
 (0)