Skip to content

Commit

Permalink
Ensure SYMTAB in rlib's with arch code but no syms
Browse files Browse the repository at this point in the history
  • Loading branch information
aurxenon committed Mar 22, 2023
1 parent b4ae88a commit 776f223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/archive_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ fn write_symbols(
sym_names.write_all(sym)?;
sym_names.write_all(&[0])?;
Ok(())
})?;
})? || *has_object;
Ok(ret)
}

Expand Down

0 comments on commit 776f223

Please sign in to comment.