Skip to content

Always do version check#75

Merged
Jake-Shadle merged 2 commits intomainfrom
fix-dupes-again
Jan 24, 2024
Merged

Always do version check#75
Jake-Shadle merged 2 commits intomainfrom
fix-dupes-again

Conversation

@Jake-Shadle
Copy link
Copy Markdown
Member

Previously we checked if there were multiple resolved dependencies with the same name and marked them as duplicates, and thus did an additional version check when resolving edges so that the correct duplicate version was selected, however this didn't account for cases where the dependency was not actually resolved by cargo due to feature selection (and possibly kind eg dev), which could cause the incorrect dependency to be selected. This makes it so we eat the cost of parsing the semver and just always match on it, which is unfortunate, but gets rid of this edge case and potentially others.

Resolves: #74

@Jake-Shadle Jake-Shadle merged commit 7cd76b3 into main Jan 24, 2024
@Jake-Shadle Jake-Shadle deleted the fix-dupes-again branch January 24, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unreachable code entered

1 participant