Skip to content

Commit e658200

Browse files
committed
Enable lld for Cargo tests on Windows.
1 parent 860b381 commit e658200

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ jobs:
442442
- name: x86_64-msvc-cargo
443443
env:
444444
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
445-
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc"
445+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld"
446446
VCVARS_BAT: vcvars64.bat
447447
NO_DEBUG_ASSERTIONS: 1
448448
NO_LLVM_ASSERTIONS: 1

src/ci/azure-pipelines/auto.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
149149
x86_64-msvc-cargo:
150150
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
151-
INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
151+
INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
152152
VCVARS_BAT: vcvars64.bat
153153
# FIXME(#59637)
154154
NO_DEBUG_ASSERTIONS: 1

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ jobs:
505505
- name: x86_64-msvc-cargo
506506
env:
507507
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
508-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
508+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
509509
VCVARS_BAT: vcvars64.bat
510510
# FIXME(#59637)
511511
NO_DEBUG_ASSERTIONS: 1

0 commit comments

Comments
 (0)