From 337039466661af3259bd586a7b0ac30008968cc7 Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 17 Aug 2026 20:29:52 -0600 Subject: [PATCH] chore(toolchain): declare the release cross target in the pin scripts/build-release.sh cross-compiles to x86_64-unknown-linux-gnu on the host. Pinning the toolchain to 1.91.1 gave a fresh toolchain without that target, so the release script failed its preflight on a missing std the first time it ran after the pin. Declaring it in rust-toolchain.toml makes rustup install it for any clone or future bump. --- rust-toolchain.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index ef63ce8..f9eb254 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -12,3 +12,8 @@ [toolchain] channel = "1.91.1" components = ["rustfmt", "clippy"] +# scripts/build-release.sh cross-compiles the release images on the host +# (mac-arm64 -> x86_64-unknown-linux-gnu). Declaring the target here means a +# fresh clone - or a toolchain bump - installs it automatically instead of +# failing the release script on a missing std. +targets = ["x86_64-unknown-linux-gnu"]