From 451160fbfabcdfa14e986e7e699c88052cabd222 Mon Sep 17 00:00:00 2001 From: Steven Stewart-Gallus Date: Mon, 24 Mar 2014 16:10:20 -0700 Subject: [PATCH] Cleanup fixed issue #10734 workaround --- src/librustc/back/archive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/back/archive.rs b/src/librustc/back/archive.rs index 33b79b213d2..f12a2e5a761 100644 --- a/src/librustc/back/archive.rs +++ b/src/librustc/back/archive.rs @@ -91,7 +91,7 @@ impl<'a> Archive<'a> { pub fn read(&self, file: &str) -> Vec { // 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,