e6072fa0c4
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. |
||
---|---|---|
.. | ||
bootstrap-from-c-with-green | ||
bootstrap-from-c-with-native | ||
c-dynamic-dylib | ||
c-dynamic-rlib | ||
c-link-to-rust-dylib | ||
c-link-to-rust-staticlib | ||
c-static-dylib | ||
c-static-rlib | ||
crate-data-smoke | ||
dep-info | ||
dep-info-custom | ||
duplicate-output-flavors | ||
dylib-chain | ||
interdependent-c-libraries | ||
invalid-library | ||
issue-12446 | ||
ls-metadata | ||
lto-smoke | ||
lto-smoke-c | ||
many-crates-but-no-match | ||
missing-crate-dependency | ||
mixing-deps | ||
mixing-libs | ||
no-duplicate-libs | ||
no-intermediate-extras | ||
output-type-permutations | ||
prefer-dylib | ||
prefer-rlib | ||
pretty-print-to-file | ||
prune-link-args | ||
relocation-model | ||
rlib-chain | ||
rustdoc-hidden-line | ||
rustdoc-json | ||
rustdoc-smoke | ||
simple-dylib | ||
simple-rlib | ||
static-unwinding | ||
staticlib-blank-lib | ||
suspicious-library | ||
symlinked-libraries | ||
unicode-input | ||
volatile-intrinsics | ||
tools.mk |