From ba22ebc79f3fdc5540cded6639d1b454613b6edb Mon Sep 17 00:00:00 2001 From: Malted Date: Sat, 10 Jun 2023 17:45:06 +0100 Subject: [PATCH] :bug: Include function on all Darwin platforms Builds the relevant ensure root function on all Apple devices --- burrow/src/ensureroot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/burrow/src/ensureroot.rs b/burrow/src/ensureroot.rs index 8648268..8c1d33e 100644 --- a/burrow/src/ensureroot.rs +++ b/burrow/src/ensureroot.rs @@ -18,7 +18,7 @@ pub fn ensure_root() { } // Check for root user on macOS -#[cfg(target_os = "macos")] +#[cfg(target_vendor = "apple")] pub fn ensure_root() { use nix::unistd::Uid;