From adadb45ace39aea427532d1cfcd0b72ded831c60 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Wed, 4 Dec 2024 13:30:42 +0000 Subject: [PATCH] Add comment about upgrading Rust version (#5248) --- .woodpecker.yml | 4 ++++ Cargo.lock | 1 + 2 files changed, 5 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index ded66b557..8bbae613e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,6 +2,10 @@ # See https://github.com/woodpecker-ci/woodpecker/issues/1677 variables: + # When updating the rust version here, be sure to update versions in `docker/Dockerfile` + # as well. Otherwise release builds can fail if Lemmy or dependencies rely on new Rust + # features. In particular the ARM builder image needs to be updated manually in the repo below: + # https://github.com/raskyld/lemmy-cross-toolchains - &rust_image "rust:1.81" - &rust_nightly_image "rustlang/rust:nightly" - &install_pnpm "corepack enable pnpm" diff --git a/Cargo.lock b/Cargo.lock index bf0dac6e8..eebb1ce1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2570,6 +2570,7 @@ dependencies = [ "lemmy_db_views", "lemmy_db_views_actor", "lemmy_utils", + "regex", "serde", "serde_json", "serde_with",