From f98f09a5ea04424e5fe00bf021078ad4953f100b Mon Sep 17 00:00:00 2001 From: izzy Date: Fri, 9 May 2025 22:57:45 +0100 Subject: [PATCH] ci: bump Docker builds to Rust 1.86.0 --- Dockerfile | 2 +- Dockerfile.useCurrentArch | 2 +- README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5faaa101..ffb728f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Stage -FROM --platform="${BUILDPLATFORM}" rust:1.77.2-slim-bookworm +FROM --platform="${BUILDPLATFORM}" rust:1.86.0-slim-bookworm USER 0:0 WORKDIR /home/rust/src diff --git a/Dockerfile.useCurrentArch b/Dockerfile.useCurrentArch index 6916dac8..c9e73ef4 100644 --- a/Dockerfile.useCurrentArch +++ b/Dockerfile.useCurrentArch @@ -1,5 +1,5 @@ # Build Stage -FROM rust:1.77.2-slim-bookworm +FROM rust:1.86.0-slim-bookworm USER 0:0 WORKDIR /home/rust/src diff --git a/README.md b/README.md index d0894dee..c6dbf8dc 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,10 @@ The services and libraries that power the Revolt service.
## Minimum Supported Rust Version -Rust 1.76 or higher. +Rust 1.86.0 or higher. > [!CAUTION] -> The events server has a significant performance regression between Rust 1.77.2 and 1.78.0 onwards, see [issue #341](https://github.com/revoltchat/backend/issues/341). +> The events server has a significant performance regression between Rust 1.77.2 and 1.78.0 onwards, see [issue #341](https://github.com/revoltchat/backend/issues/341). This is currently solved by build time options but we are looking for a proper fix. ## Development Guide