diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-22 19:35:40 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-22 19:35:40 +0900 |
| commit | 3eefbbe8839315b53171523bf43fa65bde41803c (patch) | |
| tree | 3e90e2e6d1d12c3b5c66bec31c8f881fbb107fbd /crates/mozart-core/src/platform.rs | |
| parent | ffebc0e87572fead11d4a37bd110dc103b1b7b6b (diff) | |
| download | php-mozart-3eefbbe8839315b53171523bf43fa65bde41803c.tar.gz php-mozart-3eefbbe8839315b53171523bf43fa65bde41803c.tar.zst php-mozart-3eefbbe8839315b53171523bf43fa65bde41803c.zip | |
fix(resolver): handle virtual packages and deduplicate pool exploration
Virtual/meta packages (e.g. "psr/http-client-implementation") don't
exist on Packagist and caused a fatal error during transitive dependency
exploration. These packages are resolved via provides/replaces from
other packages already in the pool, so 404 errors are now skipped.
Also fix PoolBuilder::next_pending() repeatedly returning the same
virtual package name by tracking explored names in a HashSet, since
virtual packages are never added to inputs and the old check
(inputs.any(name)) never matched them.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-core/src/platform.rs')
0 files changed, 0 insertions, 0 deletions
