Skip to content

Commit

Permalink
Explicitly target macos and linux when conditionally compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Jan 16, 2025
1 parent 6aed27d commit 93bb410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talpid-wireguard/src/wireguard_go/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,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>,
Expand Down

0 comments on commit 93bb410

Please sign in to comment.