We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5bba43 commit fd14f34Copy full SHA for fd14f34
1 file changed
rust/Dockerfile
@@ -12,8 +12,8 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -q \
12
# Add rust binaries to PATH
13
ENV PATH="$PATH:/root/.cargo/bin"
14
15
-# Set default build target to armv7
16
-ENV CARGO_BUILD_TARGET="armv7-unknown-linux-gnueabihf"
17
-
18
# Target reMarkable architecture by default
19
COPY config /root/.cargo/config
+
+RUN echo 'export CARGO_BUILD_TARGET="aarch64-unknown-linux-gnu"' >> /opt/x-tools/switch-aarch64.sh \
+ && echo 'export CARGO_BUILD_TARGET="armv7-unknown-linux-gnueabihf"' >> /opt/x-tools/switch-arm.sh
0 commit comments