Skip to content

Commit cd0e862

Browse files
committed
Update ar
Fixes rust-lang#672
1 parent 19f0255 commit cd0e862

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

Cargo.lock

+3-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ target-lexicon = "0.4.0"
1818
faerie = "0.10.2"
1919

2020
#goblin = "0.0.17"
21-
ar = "0.7.0"
21+
ar = "0.8.0"
2222
bitflags = "1.1.0"
2323
byteorder = "1.2.7"
2424
libc = "0.2.53"

src/archive.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
3939
sess,
4040
dst: output.to_path_buf(),
4141
lib_search_paths: archive_search_paths(sess),
42-
use_native_ar: true, // FIXME fix rust-ar to not emit corrupted archive files.
42+
use_native_ar: false,
4343
// FIXME test for linux and System V derivatives instead
4444
use_gnu_style_archive: !sess.target.target.options.is_like_osx,
4545
};

0 commit comments

Comments
 (0)