From 8b1364f6803259af87fc10a05aad7b90dd1cf247 Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Thu, 4 Apr 2024 07:52:01 +0200 Subject: [PATCH] CI: Treat some features as mutually exclusive in `cargo hack check` --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99e10b03..d866cbf7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,7 +80,8 @@ jobs: - uses: Swatinem/rust-cache@v2 - run: | cargo hack check --feature-powerset --optional-deps arbitrary,serde \ - --skip __internal_bench,iana-time-zone,pure-rust-locales,libc,oldtime,winapi,rkyv-16,rkyv-64,rkyv-validation,wasmbind \ + --skip __internal_bench,iana-time-zone,oldtime,pure-rust-locales,libc,winapi,rkyv-validation,wasmbind \ + --mutually-exclusive-features arbitrary,rkyv,rkyv-16,rkyv-32,rkyv-64,serde \ --all-targets # run using `bash` on all platforms for consistent # line-continuation marks