summary refs log tree commit diff
path: root/src/test/run-make/interdependent-c-libraries/foo.c
AgeCommit message (Collapse)AuthorLines
2015-02-05Clean up tidy scripts, coverage, performanceBrian Anderson-0/+1
This restructures tidy.py to walk the tree itself, and improves performance considerably by not loading entire files into buffers for licenseck. Splits build rules into 'tidy', 'tidy-basic', 'tidy-binaries', 'tidy-errors', 'tidy-features'.
2014-04-11rustc: Deterministically link upstream C librariesAlex Crichton-0/+1
Previously, upstream C libraries were linked in a nondeterministic fashion because they were collected through iter_crate_data() which is a nodeterministic traversal of a hash map. When upstream rlibs had interdependencies among their native libraries (such as libfoo depending on libc), then the ordering would occasionally be wrong, causing linkage to fail. This uses the topologically sorted list of libraries to collect native libraries, so if a native library depends on libc it just needs to make sure that the rust crate depends on liblibc.