summary refs log tree commit diff
path: root/src/test/run-make/invalid-library
AgeCommit message (Collapse)AuthorLines
2014-03-01rustc: Better error when loading invalid librariesAlex Crichton-0/+19
When the metadata format changes, old libraries often cause librustc to abort when reading their metadata. This should all change with the introduction of SVH markers, but the loader for crates should gracefully handle libraries without SVH markers still. This commit adds support for tripping fewer assertions when loading libraries by using maybe_get_doc when initially parsing metadata. It's still possible for some libraries to fall through the cracks, but this should deal with a fairly large number of them up front.