Skip to content

Commit 71acbe3

Browse files
committed
chore(ci): ignore the incomplete_features compiler lint
This lint is unavoidable due to the nature of this project and unnecessarily clutters the CI execution log.
1 parent d317225 commit 71acbe3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
sudo apt-get update
2828
sudo apt-get install libusb-1.0-0-dev libudev-dev
2929
30+
- name: Allow `incomplete_features`
31+
run: |
32+
echo "RUSTFLAGS=-A incomplete_features" >> $GITHUB_ENV
33+
3034
- name: Exclude crates
3135
run: |
3236
# Example crates will fail to compile unless an appropriate target
@@ -85,6 +89,10 @@ jobs:
8589
rustup target add thumbv6m-none-eabi thumbv7em-none-eabihf
8690
rustup target add armv7a-none-eabi
8791
92+
- name: Allow `incomplete_features`
93+
run: |
94+
echo "RUSTFLAGS=-A incomplete_features" >> $GITHUB_ENV
95+
8896
- name: Build examples
8997
shell: bash
9098
run: |
@@ -129,6 +137,10 @@ jobs:
129137
if: "!startsWith(matrix.os, 'ubuntu-')"
130138
run: echo "testflags=--test-threads=1" >> $GITHUB_ENV
131139

140+
- name: Allow `incomplete_features`
141+
run: |
142+
echo "RUSTFLAGS=-A incomplete_features" >> $GITHUB_ENV
143+
132144
- name: Exclude crates
133145
shell: bash
134146
run: |
@@ -171,6 +183,10 @@ jobs:
171183
sudo apt-get update
172184
sudo apt-get install libusb-1.0-0-dev libudev-dev
173185
186+
- name: Allow `incomplete_features`
187+
run: |
188+
echo "RUSTFLAGS=-A incomplete_features" >> $GITHUB_ENV
189+
174190
- name: Convert feature list to Cargo parameter
175191
run: |
176192
features='${{ matrix.features }}'

0 commit comments

Comments
 (0)