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 e5ea0df commit a04055eCopy full SHA for a04055e
Dockerfile
@@ -111,5 +111,11 @@ ENV CARGO_BUILD_TARGET=$TARGET
111
112
ENV CFLAGS_armv7_unknown_linux_musleabihf='-mfpu=vfpv3-d16'
113
114
+# Build statically linked binaries for MIPS targets
115
+ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_RUSTFLAGS='-C target-features=+crt-static'
116
+ENV CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_RUSTFLAGS='-C target-features=+crt-static'
117
+ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_MUSLABI64_RUSTFLAGS='-C target-features=+crt-static'
118
+ENV CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_MUSLABI64_RUSTFLAGS='-C target-features=+crt-static'
119
+
120
# Expect our source code to live in /home/rust/src
121
WORKDIR /home/rust/src
0 commit comments