Skip to content

Commit 995f606

Browse files
committed
Do not enable std in feature matrix loop
We have a bug that is giving false positives in CI because the `std` feature is always enabled when doing feature matrix loop. Found while hacking on a new `psbt` crate.
1 parent f92b276 commit 995f606

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/run_task.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,14 @@ loop_features() {
201201
if (( len > 1 )); then
202202
for ((i = 0 ; i < len ; i++ ));
203203
do
204-
$cargo build --features="$use ${array[i]}"
205-
$cargo test --features="$use ${array[i]}"
204+
$cargo build --no-default-features --features="$use ${array[i]}"
205+
$cargo test --no-default-features --features="$use ${array[i]}"
206206

207207
if (( i < len - 1 )); then
208208
for ((j = i + 1 ; j < len ; j++ ));
209209
do
210-
$cargo build --features="$use ${array[i]} ${array[j]}"
211-
$cargo test --features="$use ${array[i]} ${array[j]}"
210+
$cargo build --no-default-features --features="$use ${array[i]} ${array[j]}"
211+
$cargo test --no-default-features --features="$use ${array[i]} ${array[j]}"
212212
done
213213
fi
214214
done

0 commit comments

Comments
 (0)