Cleanup fixed issue #10734 workaround

This commit is contained in:
Steven Stewart-Gallus 2014-03-24 16:10:20 -07:00
parent 903e83889a
commit 451160fbfa
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ impl<'a> Archive<'a> {
pub fn read(&self, file: &str) -> Vec<u8> {
// Apparently if "ar p" is used on windows, it generates a corrupt file
// which has bad headers and LLVM will immediately choke on it
if cfg!(windows) && cfg!(windows) { // FIXME(#10734) double-and
if cfg!(windows) {
let loc = TempDir::new("rsar").unwrap();
let archive = os::make_absolute(&self.dst);
run_ar(self.sess, "x", Some(loc.path()), [&archive,