This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
89ac57db4d
rust
/
tests
/
run-make
/
redundant-libs
/
bar.c
2 lines
14 B
C
Raw
Normal View
History
Unescape
Escape
rustc: Handle duplicate names merging archives When linking an archive statically to an rlib, the compiler will extract all contents of the archive and add them all to the rlib being generated. The current method of extraction is to run `ar x`, dumping all files into a temporary directory. Object archives, however, are allowed to have multiple entries with the same file name, so there is no method for them to extract their contents into a directory in a lossless fashion. This commit adds iterator support to the `ArchiveRO` structure which hooks into LLVM's support for reading object archives. This iterator is then used to inspect each object in turn and extract it to a unique location for later assembly.
2015-04-14 18:28:50 -05:00
void
bar
(
)
{
}
Reference in New Issue
Copy Permalink