We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 903e838 commit 451160fCopy full SHA for 451160f
src/librustc/back/archive.rs
@@ -91,7 +91,7 @@ impl<'a> Archive<'a> {
91
pub fn read(&self, file: &str) -> Vec<u8> {
92
// Apparently if "ar p" is used on windows, it generates a corrupt file
93
// which has bad headers and LLVM will immediately choke on it
94
- if cfg!(windows) && cfg!(windows) { // FIXME(#10734) double-and
+ if cfg!(windows) {
95
let loc = TempDir::new("rsar").unwrap();
96
let archive = os::make_absolute(&self.dst);
97
run_ar(self.sess, "x", Some(loc.path()), [&archive,
0 commit comments