rust-ar
rust-ar copied to clipboard
Rust library for encoding/decoding Unix archive (.a) files
This means that it is no longer necessary to run `ranlib` afterwards. This PR also contains various cleanups. This is a breaking change. # TODO * [x] Implement symbol table...
The current drop implementation for `Entry` is as follows: ```rust impl Drop for Entry
This makes it easier to cross-compile. This also avoids ranlib copying all data after the archive has already been created to prepend the symbol table. See https://github.com/bjorn3/rustc_codegen_cranelift/issues/763 for more context.
The `tar` crate has an `entries()` method for iterating over entries. This would be useful in the `ar` crate. https://docs.rs/tar/0.4.26/tar/struct.Archive.html#method.entries
Hi, I'm trying to identify an error, which throws the following msg: ``` Invalid GNU filename index field in entry header ("SYM64/ ") ``` It seems like a file size...