From b4ccaac7ad135249eb0b1866acf4c8e68fd5bdb9 Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Thu, 10 Oct 2024 19:50:19 +0200 Subject: chore(tvix/build): Bump oci-spec dependency 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 Autosubmit: Ilan Joselevich Tested-by: BuildkiteCI --- tvix/build/Cargo.toml | 2 +- tvix/build/src/oci/spec.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tvix/build') 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()?]) -- cgit 1.4.1