Skip to content

Commit ab31974

Browse files
committed
test: refactor sat resolver clauses computation
Add new intermediate boolean variables for each dependency and each dependency feature declared in a package. This is used to simplify computation of the sat clauses. Add support for multiple dependencies with the same name, if their kind or target is different. A non-weak dependency feature for an optional dependency now activates a feature of the same name in the sat resolver.
1 parent 85ec99a commit ab31974

File tree

4 files changed

+615
-134
lines changed

4 files changed

+615
-134
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/resolver-tests/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ publish = false
66

77
[dependencies]
88
cargo.workspace = true
9+
cargo-platform.workspace = true
910
cargo-util-schemas.workspace = true
1011
cargo-util.workspace = true
1112
proptest.workspace = true

0 commit comments

Comments
 (0)