Skip to content

Commit 776f223

Browse files
committed
Ensure SYMTAB in rlib's with arch code but no syms
1 parent b4ae88a commit 776f223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/archive_writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ fn write_symbols(
413413
sym_names.write_all(sym)?;
414414
sym_names.write_all(&[0])?;
415415
Ok(())
416-
})?;
416+
})? || *has_object;
417417
Ok(ret)
418418
}
419419

0 commit comments

Comments
 (0)