]> git.lizzy.rs Git - rust.git/commit
rustc_back: Refactor Archive to better express intent
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 May 2015 21:32:53 +0000 (14:32 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 19 May 2015 17:53:06 +0000 (10:53 -0700)
commit839dcfd5a7220ef513e46280349c1aa09aed20c1
treeac1c9ed550779f9ca38d6f2dd41ef03fa078f693
parentf9846e902dae169255c2d2b1766e7b9846488a89
rustc_back: Refactor Archive to better express intent

This commit was initially written to target either `ar` or `lib.exe` for MSVC,
but it ended up not needing `lib.exe` support after all. I would personally like
to refactor this to one day not invoke processes at all (but rather use the
`llvm-ar.cpp` file in LLVM as alibrary) so I chose to preserve this refactoring
to allow it to be easily done in the future.
src/librustc_back/archive.rs