about summary refs log tree commit diff
path: root/src/libstd/array.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-14 05:25:43 +0000
committerbors <bors@rust-lang.org>2015-05-14 05:25:43 +0000
commite77b03d783b5c9df88f1f743fe29615db43e1dda (patch)
tree6d712c76ccad4d008a2bd8e30f1ed114d9a21f5a /src/libstd/array.rs
parent1b5b6390ba98577741261eef5961cc6e8b0075e1 (diff)
parentf1ab6648fc67ff8af274d2e65a400de9af0e9ddf (diff)
downloadrust-e77b03d783b5c9df88f1f743fe29615db43e1dda.tar.gz
rust-e77b03d783b5c9df88f1f743fe29615db43e1dda.zip
Auto merge of #25238 - alexcrichton:fix-archive-with-slashes, r=brson
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.
Diffstat (limited to 'src/libstd/array.rs')
0 files changed, 0 insertions, 0 deletions