diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-06-11 11:36:33 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-06-26 10:35:38 +0200 |
| commit | 373487110d0191a46377252bf6fd160e978e4f6b (patch) | |
| tree | 6bad106261eeb36a696b3256301e56002314c418 /mullvad-cli | |
| parent | 5e31669361a918b02a257fa303305285793f5c1f (diff) | |
| download | mullvadvpn-373487110d0191a46377252bf6fd160e978e4f6b.tar.xz mullvadvpn-373487110d0191a46377252bf6fd160e978e4f6b.zip | |
Enable DAITA on macOS
Diffstat (limited to 'mullvad-cli')
| -rw-r--r-- | mullvad-cli/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-cli/build.rs b/mullvad-cli/build.rs index 13b06384a5..ee547da265 100644 --- a/mullvad-cli/build.rs +++ b/mullvad-cli/build.rs @@ -17,9 +17,9 @@ fn main() { } let target_os = std::env::var("CARGO_CFG_TARGET_OS").expect("CARGO_CFG_TARGET_OS not set"); - // Enable Daita by default on Linux and Windows. + // Enable DAITA by default on desktop println!("cargo::rustc-check-cfg=cfg(daita)"); - if let "linux" | "windows" = target_os.as_str() { + if let "linux" | "windows" | "macos" = target_os.as_str() { println!(r#"cargo::rustc-cfg=daita"#); } } |
