We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879c86f commit b023e2fCopy full SHA for b023e2f
src/archive.rs
@@ -159,6 +159,8 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
159
let err = err.to_string();
160
if err == "Unknown file magic" {
161
// Not an object file; skip it.
162
+ } else if object::read::archive::ArchiveFile::parse(&*data).is_ok() {
163
+ // Nested archive file; skip it.
164
} else {
165
sess.fatal(&format!(
166
"error parsing `{}` during archive creation: {}",
0 commit comments