diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-03-03 11:29:02 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-03-05 23:32:39 +0100 |
| commit | e58632ed6184677e1d9c1243cd2e0efd4d68c51a (patch) | |
| tree | 2fce3b32f5d061cb3aacb5f6ae4e0ecaf256585e | |
| parent | 14d86ef6dfa225c759d486048082f79e3cfbf882 (diff) | |
| download | mullvadvpn-e58632ed6184677e1d9c1243cd2e0efd4d68c51a.tar.xz mullvadvpn-e58632ed6184677e1d9c1243cd2e0efd4d68c51a.zip | |
Simplify cfg conditions in installer-downloader
| -rw-r--r-- | installer-downloader/src/lib.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/installer-downloader/src/lib.rs b/installer-downloader/src/lib.rs index a07d557d67..e787ccca78 100644 --- a/installer-downloader/src/lib.rs +++ b/installer-downloader/src/lib.rs @@ -1,14 +1,9 @@ -#[cfg(any(target_os = "windows", target_os = "macos"))] +#![cfg(any(target_os = "windows", target_os = "macos"))] + pub mod controller; -#[cfg(any(target_os = "windows", target_os = "macos"))] pub mod delegate; -#[cfg(any(target_os = "windows", target_os = "macos"))] pub mod environment; -#[cfg(any(target_os = "windows", target_os = "macos"))] pub mod log; -#[cfg(any(target_os = "windows", target_os = "macos"))] pub mod resource; -#[cfg(any(target_os = "windows", target_os = "macos"))] pub mod temp; -#[cfg(any(target_os = "windows", target_os = "macos"))] pub mod ui_downloader; |
