Skip to content

Commit 1a27a6b

Browse files
authored
Force builds to use the same rust version (#458)
1 parent 5f38b96 commit 1a27a6b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

provisioning/build.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ COPY . .
7373
RUN if [ -f ${BUILD_VAR_SCRIPT} ]; then \
7474
chmod +x ${BUILD_VAR_SCRIPT} && \
7575
. ${BUILD_VAR_SCRIPT} && \
76+
rustup target add ${TARGET} && \
7677
echo "Cross-compilation environment set up for ${TARGET}"; \
7778
else \
7879
echo "No cross-compilation needed"; \

rust-toolchain.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[toolchain]
2-
channel = "1.91.0"
2+
channel = "1.91"
3+
targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]

0 commit comments

Comments
 (0)