]> git.lizzy.rs Git - rust.git/commitdiff
Enable lld for Cargo tests on Windows.
authorEric Huss <eric@huss.org>
Thu, 4 Jun 2020 21:32:23 +0000 (14:32 -0700)
committerEric Huss <eric@huss.org>
Thu, 4 Jun 2020 21:32:23 +0000 (14:32 -0700)
.github/workflows/ci.yml
src/ci/azure-pipelines/auto.yml
src/ci/github-actions/ci.yml

index 291dbf603612a71441121ec13d1e601b06242158..c3c95226aebf6d83fd13d614489e64e1b71e6351 100644 (file)
@@ -442,7 +442,7 @@ jobs:
           - name: x86_64-msvc-cargo
             env:
               SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
-              RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc"
+              RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld"
               VCVARS_BAT: vcvars64.bat
               NO_DEBUG_ASSERTIONS: 1
               NO_LLVM_ASSERTIONS: 1
index 46d3cf7a38ca22aa67d52de2b0194bd61f3e7f07..f8fa7b727d179f6fb94c60d5bb9a70eb9e2333d9 100644 (file)
@@ -148,7 +148,7 @@ jobs:
         INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
       x86_64-msvc-cargo:
         SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
-        INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
+        INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
         VCVARS_BAT: vcvars64.bat
         # FIXME(#59637)
         NO_DEBUG_ASSERTIONS: 1
index 1c120f8163459579e0fcfdf4c8fa33df9c748976..92fec593a5410544bf1485ff4d3c626e9c77b0f1 100644 (file)
@@ -505,7 +505,7 @@ jobs:
           - name: x86_64-msvc-cargo
             env:
               SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
-              RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
+              RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
               VCVARS_BAT: vcvars64.bat
               # FIXME(#59637)
               NO_DEBUG_ASSERTIONS: 1