Skip to main content

vmaware/techniques/
mod.rs

1//! Technique modules.
2
3pub mod cross;
4
5#[cfg(windows)]
6pub mod win;
7
8#[cfg(target_os = "linux")]
9pub mod linux;
10
11// Re-export platform-appropriate Windows stubs for non-Windows so core.rs
12// can still compile. The technique table uses #[cfg(windows)] guards, but
13// the fn references need to resolve on all platforms during type-checking.
14#[cfg(not(windows))]
15pub mod win {
16    // Empty stub module – Windows techniques are fully guarded by #[cfg(windows)]
17    // in core.rs and will never be called/compiled on non-Windows targets.
18}
19
20#[cfg(not(target_os = "linux"))]
21pub mod linux {
22    // Stub for non-Linux platforms.
23}