f1ab6648fc
I've been working with some archives generated by MSVC's `lib.exe` tool lately, and it looks like the embedded name of the members in those archives sometimes have slahes in the name (e.g. `foo/bar/baz.obj`). Currently the compiler chokes on these paths as it assumes that each file in the archive is only the filename (which is what unix does). This commit interprets the name of each file in all archives as a path and then only uses the `file_name` portion of the path to extract the file to a separate location and then reassemble it back into a new archive later. Note that duplicate filenames are already handled, so this won't introduce any conflicts. |
||
---|---|---|
.. | ||
target | ||
abi.rs | ||
archive.rs | ||
arm.rs | ||
lib.rs | ||
mips.rs | ||
mipsel.rs | ||
rpath.rs | ||
sha2.rs | ||
svh.rs | ||
target_strs.rs | ||
tempdir.rs | ||
x86_64.rs | ||
x86.rs |