diff options
author | Florian Klink <flokli@flokli.de> | 2024-10-27T13·00+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-10-27T14·29+0000 |
commit | e9d1e7d7fa4b869f3a6f4b1cc06fbec85b79935a (patch) | |
tree | 35ddfa95ac0ae0a640fb992a1f2fb21c9a1d9032 /tvix/build/src/lib.rs | |
parent | e79815dda9ec26af4eeb4c6a5454ded90385da64 (diff) |
fix(tvix/build): fix build on MacOS r/8868
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 <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Diffstat (limited to 'tvix/build/src/lib.rs')
-rw-r--r-- | tvix/build/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |