We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b25454 commit a3f27a4Copy full SHA for a3f27a4
src/archive.rs
@@ -41,7 +41,7 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
41
lib_search_paths: archive_search_paths(sess),
42
use_native_ar: false,
43
// FIXME test for linux and System V derivatives instead
44
- use_gnu_style_archive: !sess.target.target.options.is_like_osx,
+ use_gnu_style_archive: sess.target.target.options.archive_format == "gnu",
45
};
46
47
let (src_archives, entries) = if let Some(input) = input {
0 commit comments