Skip to content

Commit 736643a

Browse files
committed
Fix compiler warning
Signed-off-by: Simon Davies <[email protected]>
1 parent 7c5406a commit 736643a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hyperlight_host/src/hypervisor/windows_hypervisor_platform.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ use windows_result::HRESULT;
2626
use super::wrappers::HandleWrapper;
2727
use crate::hypervisor::wrappers::{WHvFPURegisters, WHvGeneralRegisters, WHvSpecialRegisters};
2828
use crate::mem::memory_region::{MemoryRegion, MemoryRegionFlags};
29-
use crate::{HyperlightError, Result, new_error};
29+
#[cfg(crashdump)]
30+
use crate::HyperlightError;
31+
use crate::{ Result, new_error};
3032

3133
/// Interop calls for Windows Hypervisor Platform APIs
3234
///

0 commit comments

Comments
 (0)