about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2019-07-01 17:28:10 -0700
committerPetr Hosek <phosek@google.com>2019-07-02 00:42:56 -0700
commit069c52fa111e592f65605c54f5e9b77be0676595 (patch)
treeeea32d8b1d1c934c4517420c8bb76366523526c1 /src/test/ui/thinlto
parent17e62f77f954bed97aae839624bfd6dd68342daf (diff)
downloadrust-069c52fa111e592f65605c54f5e9b77be0676595.tar.gz
rust-069c52fa111e592f65605c54f5e9b77be0676595.zip
Check if the archive has already been added to avoid duplicates
This avoids adding archives multiple times, which results in duplicate
objects in the resulting rlib, leading to symbol collision and link
failures. This could happen when crate contains multiple link attributes
that all reference the same archive.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions