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"]