Skip to content

Commit 35aaabf

Browse files
committed
fix: cfg-gate surrogate modules behind not(whp-no-surrogate)
Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 3668cb6 commit 35aaabf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/hyperlight_host/src/hypervisor

src/hyperlight_host/src/hypervisor/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ pub(crate) mod regs;
2323

2424
pub(crate) mod virtual_machine;
2525

26-
#[cfg(target_os = "windows")]
26+
#[cfg(all(target_os = "windows", not(feature = "whp-no-surrogate")))]
2727
/// Hyperlight Surrogate Process
2828
pub(crate) mod surrogate_process;
29-
#[cfg(target_os = "windows")]
29+
#[cfg(all(target_os = "windows", not(feature = "whp-no-surrogate")))]
3030
/// Hyperlight Surrogate Process
3131
pub(crate) mod surrogate_process_manager;
3232
/// Safe wrappers around windows types like `PSTR`

0 commit comments

Comments
 (0)