diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-01-16 13:43:19 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-01-24 17:35:04 +0100 |
| commit | a58b2620d0e2fd5114cc200dd2644800e217ceae (patch) | |
| tree | d21c6d8ab2f9a1cd41c910692f29cf158fe1a194 | |
| parent | e9c583b97b01461630447a4d9b283efdb891c66d (diff) | |
| download | mullvadvpn-a58b2620d0e2fd5114cc200dd2644800e217ceae.tar.xz mullvadvpn-a58b2620d0e2fd5114cc200dd2644800e217ceae.zip | |
Target macos and linux when conditionally compiling
| -rw-r--r-- | talpid-wireguard/src/wireguard_go/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-wireguard/src/wireguard_go/mod.rs b/talpid-wireguard/src/wireguard_go/mod.rs index 9cfda42699..0e64797ad5 100644 --- a/talpid-wireguard/src/wireguard_go/mod.rs +++ b/talpid-wireguard/src/wireguard_go/mod.rs @@ -221,7 +221,7 @@ impl WgGoTunnelState { } impl WgGoTunnel { - #[cfg(all(not(target_os = "android"), unix))] + #[cfg(any(target_os = "linux", target_os = "macos"))] pub fn start_tunnel( config: &Config, log_path: Option<&Path>, |
