Skip to content

Commit 2efc876

Browse files
committed
ci: add -Zshare-generics=off on windows
1 parent 8266048 commit 2efc876

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- if: ${{ runner.os == 'Linux' }}
4242
name: Linux - Install native dependencies
4343
run: sudo apt install libwayland-cursor0 libxkbcommon-dev libwayland-dev
44+
- if: ${{ runner.os == 'Windows' && matrix.integration == 'spirv-builder' }}
45+
name: Windows - set rustflags to make it compile
46+
run: echo "RUSTFLAGS=\"-Zshare-generics=off\"" >> "$GITHUB_ENV"
4447
# just need a random command that forces the installation of rust-toolchain
4548
# figure out native target triple while we're at it
4649
- name: install rust-toolchain

0 commit comments

Comments
 (0)