Skip to content

Commit 7dec316

Browse files
Cortex Devfactory-droid[bot]
andcommitted
fix: Remove incorrect cfg(not(windows)) export for windows sandbox
The windows module only exists on Windows, cannot be exported on other platforms. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent f2dc9f7 commit 7dec316

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • cortex-engine/src/sandbox

cortex-engine/src/sandbox/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,3 @@ pub use runner::{SandboxBackend, SandboxRunner, SandboxedCommand, get_platform_s
2929
// Platform-specific exports
3030
#[cfg(target_os = "windows")]
3131
pub use windows::{apply_windows_sandbox, get_capabilities_info, spawn_sandboxed_process};
32-
33-
#[cfg(not(target_os = "windows"))]
34-
pub use windows::{apply_windows_sandbox, get_capabilities_info, spawn_sandboxed_process};

0 commit comments

Comments
 (0)