You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make tidy reject duplicate crates with same version number & different source #14695
Before #14633, we were compiling two copies of the freetype crate. ./mach test-tidy has a lint to prevent that from happening, but it didn’t in this case. I’m guessing this is because both copies had the same version number. But Cargo still considers them different, and therefore includes them both, because they have different sources: crates.io, and a git repository.
The relevant code is in the check_lock function in python/tidy/servo_tidy/tidy.py.
@Wafflespeanut, @Ms2ger, is there a reason this code considers version numbers at all? Rather than looking for multiple [[package]] sections with the same name.
Activity
highfive commentedon Dec 23, 2016
cc @wafflespeanut
Auto merge of #14715 - UK992:tidy-check-lock, r=SimonSapin