From: bors Date: Wed, 19 Feb 2014 18:21:50 +0000 (-0800) Subject: auto merge of #12379 : alexcrichton/rust/fix-ar-thing, r=brson X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=209b47f248ba98fce70210dede3f99cf0313d357;p=rust.git auto merge of #12379 : alexcrichton/rust/fix-ar-thing, r=brson When creating a staticlib, it unzips all static archives it finds and then inserts the files manually into the output file. This process is done through `ar`, and `ar` doesn't like if you specify you want to add files and you don't give it any files. This case arose whenever you linked to an archive that didn't have any contents or all of the contents were filtered out. This just involved ignoring the case where the number of inputs we have is 0, because we don't have any files to add anyway. --- 209b47f248ba98fce70210dede3f99cf0313d357