aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/remove.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-02 11:19:09 +0900
committernsfisis <nsfisis@gmail.com>2026-05-02 11:19:09 +0900
commitb216124157b69edc7330291214a6043c555f0ade (patch)
tree13794ed3f158af0b01fc438548723e533eda4300 /crates/mozart/src/commands/remove.rs
parent2ff728fe6796506be0e6b640ccb85ed3e1ce2b56 (diff)
downloadphp-mozart-b216124157b69edc7330291214a6043c555f0ade.tar.gz
php-mozart-b216124157b69edc7330291214a6043c555f0ade.tar.zst
php-mozart-b216124157b69edc7330291214a6043c555f0ade.zip
feat(resolver): honor --ignore-platform-reqs and wildcard patterns
The pool builder and rule-set generator only consulted an exact-match HashSet, so `--ignore-platform-reqs` (no value) and `--ignore-platform-req=ext-foo-*` fell through to the SAT layer and produced "no matching package found" for transitive platform deps. Track the bool flag separately and run each platform name through `mozart_core::matches_wildcard` against the configured patterns. Unblocks four installer fixtures: install-{ignore-platform-package-requirement-wildcard,ignore-platform-package-requirements} update-{ignore-platform-package-requirement-wildcard,ignore-platform-package-requirements}. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/remove.rs')
0 files changed, 0 insertions, 0 deletions