From e9d1e7d7fa4b869f3a6f4b1cc06fbec85b79935a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 27 Oct 2024 14:00:28 +0100 Subject: fix(tvix/build): fix build on MacOS oci_spec::runtime::Posix* stuff is feature-flagged out on MacOS. While it might be desirable to emit Linux OCI runtime specs from MacOS to schedule there, and it being feature-flagged to Linux might be a bug in the upstream crate, we only have an implementation invoking runc, which certainly don't work. Feature-flag this out to make tvix-build and tvix-cli to build on MacOS. This can be revisited once we actually start thinking about builders on MacOS. Change-Id: I82002f6d55eddd9c305f1b3a3f3f2b252f617ed0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12694 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: Ilan Joselevich --- tvix/build/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tvix') diff --git a/tvix/build/src/lib.rs b/tvix/build/src/lib.rs index ccd7657101d8..86c1862d629e 100644 --- a/tvix/build/src/lib.rs +++ b/tvix/build/src/lib.rs @@ -1,3 +1,4 @@ pub mod buildservice; +#[cfg(target_os = "linux")] mod oci; pub mod proto; -- cgit 1.4.1