-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
A-featuresArea: features (--feature-powerset, --each-feature, etc.)Area: features (--feature-powerset, --each-feature, etc.)C-bugCategory: related to a bug.Category: related to a bug.
Description
When running cargo hack check --feature-powerset --partition N/5 and there are 11 number of options we get a very uneven distribution in partitions, where the last partition is actually empty
Full details:
For the following Cargo.toml:
[package]
name = "yoyo"
version = "0.1.0"
edition = "2024"
[features]
a = []
b = []
c = []
d = ["a", "b"]
e = ["d", "c"]using --feature-powerset there are 11 options, when using 5 partitions we get:
1:
cargo check --no-default-features (1/11)
cargo check --no-default-features --features e (2/11)
cargo check --no-default-features --features a (3/11)
2:
cargo check --no-default-features --features b (4/11)
cargo check --no-default-features --features a,b (5/11)
cargo check --no-default-features --features c (6/11)
3:
cargo check --no-default-features --features a,c (7/11)
cargo check --no-default-features --features b,c (8/11)
cargo check --no-default-features --features a,b,c (9/11)
4:
cargo check --no-default-features --features d (10/11)
cargo check --no-default-features --features c,d (11/11)
5:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-featuresArea: features (--feature-powerset, --each-feature, etc.)Area: features (--feature-powerset, --each-feature, etc.)C-bugCategory: related to a bug.Category: related to a bug.