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 <flokli@flokli.de>
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
This commit is contained in:
Ilan Joselevich 2024-10-10 19:50:19 +02:00 committed by clbot
parent 52bb3c6d02
commit b4ccaac7ad
4 changed files with 149 additions and 202 deletions

View file

@ -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"] }

View file

@ -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()?])