]> git.lizzy.rs Git - rust.git/blobdiff - src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile
Use LLD linker for compiling rustc on Linux x64 and use ICF for binary size optimization
[rust.git] / src / ci / docker / host-x86_64 / dist-x86_64-linux / Dockerfile
index ab6c888030e1bf783f863aadcc2cbf695fce5876..f262bc3c7d8d2112f04555861a5cccfec888a663 100644 (file)
@@ -122,7 +122,8 @@ ENV RUST_CONFIGURE_ARGS \
       --set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
       --set llvm.thin-lto=true \
       --set llvm.ninja=false \
-      --set rust.jemalloc
+      --set rust.jemalloc \
+      --set rust.use-lld=true
 ENV SCRIPT ../src/ci/pgo.sh python3 ../x.py dist \
     --host $HOSTS --target $HOSTS \
     --include-default-paths \