diff options
| author | bors <bors@rust-lang.org> | 2014-03-20 08:21:46 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-03-20 08:21:46 -0700 |
| commit | c01e2f05a3ef27e464d1f0057ddabcde6ffde70c (patch) | |
| tree | 406e59332c306f95e106320f69d7e95c8e1f6b43 /src/libsyntax/parse/comments.rs | |
| parent | 8cfef59cc0922f15979bf4e8a0b344cecfa8d9e2 (diff) | |
| parent | 068740b3433099d148c8e2d4bcc9b25309f40701 (diff) | |
| download | rust-c01e2f05a3ef27e464d1f0057ddabcde6ffde70c.tar.gz rust-c01e2f05a3ef27e464d1f0057ddabcde6ffde70c.zip | |
auto merge of #13017 : alexcrichton/rust/issue-13010, r=huonw
Previously, any library of the pattern `lib<name>-<hash>-<version>.so` was >considered a candidate (rightly so) for loading a crate. Sets are generated for each unique `<hash>`, and then from these sets a candidate is selected. If a set contained more than one element, then it immediately generated an error saying that multiple copies of the same dylib were found. This is incorrect because each candidate needs to be validated to actually contain a rust library (valid metadata). This commit alters the logic to filter each set of candidates for a hash to only libraries which are actually rust libraries. This means that if multiple false positives are found with the right name pattern, they're all ignored. Closes #13010
Diffstat (limited to 'src/libsyntax/parse/comments.rs')
0 files changed, 0 insertions, 0 deletions
