From 037e37c5e7a2603b77e7c29ead0be3d4c0b91054 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 6 Sep 2024 20:45:40 +0200 Subject: [PATCH] ci: Exclude ruma-macros feature from stable-all --- xtask/src/ci.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 4b75be25..e9275d7d 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -174,7 +174,14 @@ impl CiTask { /// Check all crates with all features with the stable version. fn stable_all(&self) -> Result<()> { - cmd!("rustup run stable cargo check --workspace --all-features").run().map_err(Into::into) + // ruma-macros is pulled in as a dependency, but excluding it on the command line means its + // features don't get activated. It has only a single feature, which is nightly-only. + cmd!( + "rustup run stable cargo check + --workspace --all-features --exclude ruma-macros" + ) + .run() + .map_err(Into::into) } /// Check ruma-client without default features with the stable version.