Enable privileged only on linux

This commit is contained in:
Prabhpreet Dua
2024-06-13 17:34:48 +05:30
parent a75d7a53e0
commit 96bed38ad0
2 changed files with 54 additions and 48 deletions

View File

@@ -1,4 +1,3 @@
#![cfg(target_os = "linux")]
use std::process::Stdio;
use tokio::io::{AsyncReadExt, AsyncWriteExt};