about summary refs log tree commit diff
path: root/tvix/build
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2024-10-10T17·50+0200
committerclbot <clbot@tvl.fyi>2024-10-11T12·17+0000
commitb4ccaac7ad135249eb0b1866acf4c8e68fd5bdb9 (patch)
tree026c5294ec27d816b4a221d5aacde5c31166d7fc /tvix/build
parent52bb3c6d025b2e1a2c2ec33fbb0e70f760b68253 (diff)
chore(tvix/build): Bump oci-spec dependency r/8786
Our oci-spec was a bit oudated and there were some renamings in one of
the release, which made building tvix-build fail if it's a dependency.
I encountered this issue while working on tvix-eval-jobs.

Change-Id: I6d982965176b83170a07445e351d3f5e5679ed2e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12586
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/build')
-rw-r--r--tvix/build/Cargo.toml2
-rw-r--r--tvix/build/src/oci/spec.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/tvix/build/Cargo.toml b/tvix/build/Cargo.toml
index 842c4e7afad8..d91455252c88 100644
--- a/tvix/build/Cargo.toml
+++ b/tvix/build/Cargo.toml
@@ -24,7 +24,7 @@ blake3 = "1.5.0"
 bstr = "1.6.0"
 data-encoding = "2.5.0"
 futures = "0.3.30"
-oci-spec = "0.6.4"
+oci-spec = "0.7.0"
 serde_json = "1.0.111"
 tvix-tracing = { path = "../tracing" }
 uuid = { version = "1.7.0", features = ["v4"] }
diff --git a/tvix/build/src/oci/spec.rs b/tvix/build/src/oci/spec.rs
index d804aa1171c1..ce70ad91e9a9 100644
--- a/tvix/build/src/oci/spec.rs
+++ b/tvix/build/src/oci/spec.rs
@@ -155,8 +155,8 @@ fn configure_process<'a>(
                 .ambient(caps)
                 .build()?
         })
-        .rlimits([oci_spec::runtime::LinuxRlimitBuilder::default()
-            .typ(oci_spec::runtime::LinuxRlimitType::RlimitNofile)
+        .rlimits([oci_spec::runtime::PosixRlimitBuilder::default()
+            .typ(oci_spec::runtime::PosixRlimitType::RlimitNofile)
             .hard(1024_u64)
             .soft(1024_u64)
             .build()?])