From c4314c0eff35aab1fbb386fc317d10c2a235ec45 Mon Sep 17 00:00:00 2001 From: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:13:00 +0530 Subject: [PATCH] Limit wireguard broker privledged/socket handler to linux --- wireguard-broker/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wireguard-broker/Cargo.toml b/wireguard-broker/Cargo.toml index 7809b29..88ac205 100644 --- a/wireguard-broker/Cargo.toml +++ b/wireguard-broker/Cargo.toml @@ -44,6 +44,7 @@ path = "src/bin/priviledged.rs" test = false doc = false required-features=["enable_broker_api"] +cfg = { target_os = "linux" } [[bin]] name = "rosenpass-wireguard-broker-socket-handler" @@ -51,3 +52,4 @@ test = false path = "src/bin/socket_handler.rs" doc = false required-features=["enable_broker_api"] +cfg = { target_os = "linux" }