diff options
| author | Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca> | 2014-03-24 16:10:20 -0700 |
|---|---|---|
| committer | Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca> | 2014-03-24 16:10:20 -0700 |
| commit | 451160fbfabcdfa14e986e7e699c88052cabd222 (patch) | |
| tree | bc785eccef42f17540c7bb4992194e7e095ed9c0 /src | |
| parent | 903e83889ade166bf62f1ee74df8bf8331ea17d1 (diff) | |
| download | rust-451160fbfabcdfa14e986e7e699c88052cabd222.tar.gz rust-451160fbfabcdfa14e986e7e699c88052cabd222.zip | |
Cleanup fixed issue #10734 workaround
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/back/archive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<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, |
