Skip to content

Commit a931b71

Browse files
committed
fix: windows build
1 parent 1fc880a commit a931b71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
target: x86_64-linux
1616
- os: windows-latest
1717
target: x86_64-windows
18+
extra_flags: "-Duse-lld=false"
1819
- os: macos-latest
1920
target: x86_64-macos
2021
- os: macos-latest
@@ -30,7 +31,7 @@ jobs:
3031

3132
- name: Build
3233
run: |
33-
zig build -Doptimize=ReleaseFast -Dtarget=${{ matrix.target }}
34+
zig build -Doptimize=ReleaseFast -Dtarget=${{ matrix.target }} ${{ matrix.extra_flags || '' }}
3435
3536
- name: Upload artifact
3637
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)