mozilla/rust — pull request #12584 by alexcrichton (2014-02-27 00:33:15+00:00)
Title: Improve windows file handling and switch to libnative for rustc

These commits fix handling of binary files on windows by using the raw `CreateFile` apis directly, also splitting out the windows/unix implementations to their own files because everything was configured between the two platforms.

With this fix in place, this also switches `rustc` to using libnative instead of libgreen. I have confirmed that this PR passes through try on all bots.