summary refs log tree commit diff
path: root/src/libnative/io/file_win32.rs
AgeCommit message (Collapse)AuthorLines
2014-03-27doc: Update the tutorial about bounds for traitsAlex Crichton-2/+2
2014-03-20rename std::vec -> std::sliceDaniel Micay-3/+2
Closes #12702
2014-03-15Test fixes and rebase conflictsAlex Crichton-1/+1
This commit switches over the backtrace infrastructure from piggy-backing off the RUST_LOG environment variable to using the RUST_BACKTRACE environment variable (logging is now disabled in libstd).
2014-03-12Remove remaining nolink usages.(fixes #12810)lpy-1/+0
2014-02-27rustc: Use libnative for the compilerAlex Crichton-0/+1
The compiler itself doesn't necessarily need any features of green threading such as spawning tasks and lots of I/O, so libnative is slightly more appropriate for rustc to use itself. This should also help the rusti bot which is currently incompatible with libuv.
2014-02-27native: Improve windows file handlingAlex Crichton-0/+516
This commit splits the file implementation into file_unix and file_win32. The two implementations have diverged to the point that they share almost 0 code at this point, so it's easier to maintain as separate files. The other major change accompanied with this commit is that file::open is no longer based on libc's open function on windows, but rather windows's CreateFile function. This fixes dealing with binary files on windows (test added in previous commit). This also changes the read/write functions to use ReadFile and WriteFile instead of libc's read/write. Closes #12406