From 60179ea4d5fc7f8999e8ccc99b6ac4d61319814f Mon Sep 17 00:00:00 2001 From: Federica Date: Tue, 16 Apr 2024 12:36:16 -0300 Subject: [PATCH] Set max combination size for check-all-features --- vm/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vm/Cargo.toml b/vm/Cargo.toml index d1b25dace9..22617f13f5 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -108,3 +108,10 @@ harness = false name = "custom_hint" path = "../examples/custom_hint/src/main.rs" required-features = ["std"] + +[package.metadata.cargo-all-features] + +# The maximum number of features to try at once. Does not count features from `always_include_features`. +# This is useful for reducing the number of combinations run for a crate with a large amount of features, +# since in most cases a bug just needs a small set of 2-3 features to reproduce. +max_combination_size = 4