Skip to content

Commit f1c518d

Browse files
committed
simpler rust target install, avoid toolchain mismatch on minor versions
1 parent 50666a3 commit f1c518d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taskcluster/docker/linux-qt6-build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
101101
ENV PATH="/usr/local/cargo/bin:${PATH}"
102102

103103
RUN if [ "$DEB_HOST_ARCH" != "amd64" ]; then \
104-
rustup target add --toolchain $(rustc --version | awk '{print $2}') ${DEB_HOST_GNU_CPU}-unknown-linux-gnu; \
104+
rustup target add ${DEB_HOST_GNU_CPU}-unknown-linux-gnu; \
105105
fi
106106

107107
RUN sed -rie '/\s+(qt6-|qml6-|libqt6|qmake|cargo)/d' /root/mozillavpn-dpkg-control && \

0 commit comments

Comments
 (0)