From c79cd71857c96bcbfa6fdd0110afa885fdc6d1e3 Mon Sep 17 00:00:00 2001 From: Jason Vranek Date: Wed, 22 Apr 2026 13:31:07 -0700 Subject: [PATCH] Force builds to use the same rust version --- provisioning/build.Dockerfile | 1 + rust-toolchain.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/provisioning/build.Dockerfile b/provisioning/build.Dockerfile index 21b42eb0..2efad27a 100644 --- a/provisioning/build.Dockerfile +++ b/provisioning/build.Dockerfile @@ -73,6 +73,7 @@ COPY . . RUN if [ -f ${BUILD_VAR_SCRIPT} ]; then \ chmod +x ${BUILD_VAR_SCRIPT} && \ . ${BUILD_VAR_SCRIPT} && \ + rustup target add ${TARGET} && \ echo "Cross-compilation environment set up for ${TARGET}"; \ else \ echo "No cross-compilation needed"; \ diff --git a/rust-toolchain.toml b/rust-toolchain.toml index d72668b0..d2820471 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] -channel = "1.91.0" +channel = "1.91" +targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]