Skip to content

Commit 906ffd4

Browse files
committed
Merge #16: Do not enable std in feature matrix loop
995f606 Do not enable std in feature matrix loop (Tobin C. Harding) Pull request description: 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. ACKs for top commit: apoelstra: utACK 995f606 Tree-SHA512: 7502e51d3856c8fd60ed123fa4101d1a9e2624bdb120be1f0630578f1b350286e6219d464c37b31d8948caaa9d99cc5e53a11efdde59b7b1e7378aaebb7373bf
2 parents f92b276 + 995f606 commit 906ffd4

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)