Skip to content

Commit 5f2aff7

Browse files
add RUSTFLAGS
1 parent c88fe22 commit 5f2aff7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/coverage.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636

3737
- name: Check with clippy
3838
env:
39-
CMAKE_FLAGS: "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
39+
RUSTFLAGS: '--cfg cmake_defines="DCMAKE_POLICY_VERSION_MINIMUM=3.5"'
40+
CMAKE_ARGS: -DCMAKE_POLICY_VERSION_MINIMUM=3.5
4041
run: cargo hack clippy --verbose --each-feature --no-dev-deps -- -D warnings
4142

4243
- name: Test default feature set

0 commit comments

Comments
 (0)