Skip to content

Commit 451160f

Browse files
Cleanup fixed issue rust-lang#10734 workaround
1 parent 903e838 commit 451160f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/back/archive.rs

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

0 commit comments

Comments
 (0)