Repository navigation
Commit 2fe3a41
authored
The `r` option means "add the object while replacing it if it already
exists", while the `q` option says "always add to the end". We actually
want the latter of these due to how this crate works because we're
always building archives from scratch, and we always want all our
objects to go in the archive instead of trying to replace previous
versions.
This should fix a recent issue with rust-lang#564 where previously if everything
was in one giant command line `ar` would append two files but now
afterwards with multiple invocations the second invocation may overwrite
files added in the first invocation.
Closes rust-lang#568
1 parent 6a7c07c commit 2fe3a41
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1859 | 1859 | | |
1860 | 1860 | | |
1861 | 1861 | | |
1862 | | - | |
| 1862 | + | |
1863 | 1863 | | |
1864 | 1864 | | |
1865 | 1865 | | |
| |||
0 commit comments