diff --git a/earthly/rust/Earthfile b/earthly/rust/Earthfile index 9d59251a..3ef00deb 100644 --- a/earthly/rust/Earthfile +++ b/earthly/rust/Earthfile @@ -31,7 +31,7 @@ rust-base: # This is our base Host toolset, and rustup. # Never use `rust-toolchain.toml` in CI as it breaks builds. # The only toolchain supported is the one installed here. - FROM rust:1.81.0-slim-bookworm + FROM rust:1.83.0-slim-bookworm WORKDIR /root @@ -82,7 +82,7 @@ rust-base: # Ensure we have all the necessary targets RUN rustup target add wasm32-unknown-unknown RUN rustup target add wasm32-wasip1 - # RUN rustup target add wasm32-wasip2 # wasm32-wasip2 not yet available in stable - Try again in 1.82 + RUN rustup target add wasm32-wasip2 RUN rustup target add x86_64-unknown-linux-gnu RUN rustup target add x86_64-apple-darwin RUN rustup target add x86_64-pc-windows-gnu @@ -365,7 +365,7 @@ REMOVE_SOURCE_FINGERPRINTS: # TODO(bkioshn): https://github.com/input-output-hk/catalyst-ci/issues/322 # Installing Rust -# Code reference from [rust1.81.0-slim-bookworm](https://github.com/rust-lang/docker-rust/blob/63f877a36f8ba9d9b4b35cd49df3327264510886/stable/bookworm/slim/Dockerfile) +# Code reference from [rust1.83.0-slim-bookworm](https://github.com/rust-lang/docker-rust/blob/63f877a36f8ba9d9b4b35cd49df3327264510886/stable/bookworm/slim/Dockerfile) INSTALL_RUST: FUNCTION @@ -374,7 +374,7 @@ INSTALL_RUST: ENV RUSTUP_HOME=/usr/local/rustup ENV CARGO_HOME=/usr/local/cargo ENV PATH=/usr/local/cargo/bin:$PATH - ENV RUST_VERSION=1.81.0 + ENV RUST_VERSION=1.83.0 IF [ "$TARGETARCH" = "amd64" ] LET PLATFORM = "x86_64-unknown-linux-gnu" @@ -412,7 +412,7 @@ INSTALL_RUST: # Ensure we have all the necessary targets RUN rustup target add wasm32-unknown-unknown RUN rustup target add wasm32-wasip1 - # RUN rustup target add wasm32-wasip2 # wasm32-wasip2 not yet available in stable - Try again in 1.82 + RUN rustup target add wasm32-wasip2 RUN rustup target add x86_64-unknown-linux-gnu RUN rustup target add x86_64-apple-darwin RUN rustup target add x86_64-pc-windows-gnu diff --git a/earthly/rust/stdcfgs/deny.toml b/earthly/rust/stdcfgs/deny.toml index cb000599..20876ac4 100644 --- a/earthly/rust/stdcfgs/deny.toml +++ b/earthly/rust/stdcfgs/deny.toml @@ -57,6 +57,7 @@ allow-git = [ "https://github.com/txpipe/vrf", "https://github.com/txpipe/kes", "https://github.com/txpipe/curve25519-dalek", + "https://github.com/input-output-hk/mithril", ] [licenses] diff --git a/earthly/rust/stdcfgs/rust-toolchain.toml b/earthly/rust/stdcfgs/rust-toolchain.toml index f01d02df..eb1d9794 100644 --- a/earthly/rust/stdcfgs/rust-toolchain.toml +++ b/earthly/rust/stdcfgs/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.81" +channel = "1.83" profile = "default" \ No newline at end of file diff --git a/examples/rust/deny.toml b/examples/rust/deny.toml index cb000599..20876ac4 100644 --- a/examples/rust/deny.toml +++ b/examples/rust/deny.toml @@ -57,6 +57,7 @@ allow-git = [ "https://github.com/txpipe/vrf", "https://github.com/txpipe/kes", "https://github.com/txpipe/curve25519-dalek", + "https://github.com/input-output-hk/mithril", ] [licenses] diff --git a/examples/rust/rust-toolchain.toml b/examples/rust/rust-toolchain.toml index f01d02df..eb1d9794 100644 --- a/examples/rust/rust-toolchain.toml +++ b/examples/rust/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.81" +channel = "1.83" profile = "default" \ No newline at end of file