diff --git a/src-rs/build.rs b/src-rs/build.rs index 10270d7..654c26f 100644 --- a/src-rs/build.rs +++ b/src-rs/build.rs @@ -302,6 +302,10 @@ impl SwiftLinker { command // Build the package (duh) .arg("build") + // NOTE(paris): Disable the sandbox because we build inside the Bazel sandbox, which + // has its own sandbox. Without this we fail with: + // - `sandbox-exec: sandbox_apply: Operation not permitted` + .arg("--disable-sandbox") // SDK path for regular compilation (idk) .args(["--sdk", sdk_path.trim()]) // Release/Debug configuration