Skip to content

Commit 0fe3111

Browse files
committed
Only run load library tests when inprocess feature is enabled
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent ecffd72 commit 0fe3111

File tree

1 file changed

+2
-2
lines changed
  • src/hyperlight_host/src/mem

1 file changed

+2
-2
lines changed

src/hyperlight_host/src/mem/mgr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ impl SandboxMemoryManager<HostSharedMemory> {
809809
mod tests {
810810
use hyperlight_testing::rust_guest_as_pathbuf;
811811
use serde_json::to_string;
812-
#[cfg(target_os = "windows")]
812+
#[cfg(all(target_os = "windows", inprocess))]
813813
use serial_test::serial;
814814

815815
use super::SandboxMemoryManager;
@@ -848,7 +848,7 @@ mod tests {
848848
}
849849
}
850850

851-
#[cfg(target_os = "windows")]
851+
#[cfg(all(target_os = "windows", inprocess))]
852852
#[test]
853853
#[serial]
854854
fn load_guest_binary_using_load_library() {

0 commit comments

Comments
 (0)