From 29633ada1b1828c044d30ba445d514d88b9462bd Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Fri, 9 Feb 2024 02:51:24 -0500 Subject: [PATCH] Rust 1.76 --- orchestration/runtime/Dockerfile | 4 ++-- orchestration/src/main.rs | 2 +- rust-toolchain.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/orchestration/runtime/Dockerfile b/orchestration/runtime/Dockerfile index c91731f2..4df69842 100644 --- a/orchestration/runtime/Dockerfile +++ b/orchestration/runtime/Dockerfile @@ -1,9 +1,9 @@ -FROM --platform=linux/amd64 rust:1.75.0-slim-bookworm as builder +FROM --platform=linux/amd64 rust:1.76.0-slim-bookworm as builder # Move to a Debian package snapshot RUN rm -rf /etc/apt/sources.list.d/debian.sources && \ rm -rf /var/lib/apt/lists/* && \ - echo "deb [arch=amd64] http://snapshot.debian.org/archive/debian/20231201T000000Z bookworm main" > /etc/apt/sources.list && \ + echo "deb [arch=amd64] http://snapshot.debian.org/archive/debian/20240201T000000Z bookworm main" > /etc/apt/sources.list && \ apt update # Install dependencies diff --git a/orchestration/src/main.rs b/orchestration/src/main.rs index 60e4ee74..5ff7a280 100644 --- a/orchestration/src/main.rs +++ b/orchestration/src/main.rs @@ -129,7 +129,7 @@ fn build_serai_service(release: bool, features: &str, package: &str) -> String { format!( r#" -FROM rust:1.75-slim-bookworm as builder +FROM rust:1.76-slim-bookworm as builder COPY --from=mimalloc-debian libmimalloc.so /usr/lib RUN echo "/usr/lib/libmimalloc.so" >> /etc/ld.so.preload diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 8dac336e..227b9c21 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.75" +channel = "1.76" targets = ["wasm32-unknown-unknown"] profile = "minimal" components = ["rust-src", "rustfmt", "clippy"]