From 0b2431f3a4921ce4618cc5759770a8003a8c7475 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 4 Dec 2024 10:28:00 +0100 Subject: [PATCH] Add comment about upgrading Rust version --- .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 b000f9741..475946d6e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2549,6 +2549,7 @@ dependencies = [ "lemmy_db_views", "lemmy_db_views_actor", "lemmy_utils", + "regex", "serde", "serde_json", "serde_with",