Build the daemon with Rust 1.97
Dependencies now ship edition 2024, which Cargo 1.83 refuses to parse: feature `edition2024` is required ... not stabilized in this version of Cargo (1.83.0) The pin lived in two places and both had to move, or the daemon image would have failed the same way the CI job did.
This commit is contained in:
@@ -10,7 +10,10 @@ on:
|
||||
env:
|
||||
NODE_VERSION: "20"
|
||||
PNPM_VERSION: "9.15.4"
|
||||
RUST_TOOLCHAIN: "1.83"
|
||||
# 1.85 is the floor: dependencies now ship edition 2024, which older
|
||||
# Cargo refuses to even parse. Keep this in step with the toolchain
|
||||
# pinned in apps/daemon/Dockerfile.
|
||||
RUST_TOOLCHAIN: "1.97"
|
||||
|
||||
jobs:
|
||||
# --- Lint + TypeScript Check ---
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM rust:1.83-bookworm AS build
|
||||
FROM rust:1.97-bookworm AS build
|
||||
|
||||
# Install protoc
|
||||
RUN apt-get update && apt-get install -y protobuf-compiler && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
Reference in New Issue
Block a user