Skip to content

Commit 381416a

Browse files
authored
Merge pull request #3995 from martinsaposnic/fix-3990
Fix windows CI
2 parents ed1f304 + e1edbde commit 381416a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
- name: Install Rust ${{ matrix.toolchain }} toolchain
4747
run: |
4848
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
49+
- name: Use rust-lld linker on Windows
50+
if: matrix.platform == 'windows-latest'
51+
shell: bash
52+
run: echo "RUSTFLAGS=-C linker=rust-lld" >> "$GITHUB_ENV"
4953
- name: Install no-std-check dependencies for ARM Embedded
5054
if: "matrix.platform == 'self-hosted'"
5155
run: |

0 commit comments

Comments
 (0)