]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10495 : alexcrichton/rust/more-native-io, r=brson
authorbors <bors@rust-lang.org>
Tue, 19 Nov 2013 18:56:42 +0000 (10:56 -0800)
committerbors <bors@rust-lang.org>
Tue, 19 Nov 2013 18:56:42 +0000 (10:56 -0800)
This implements a fair amount of the unimpl() functionality in io::native
relating to filesystem operations. I've also modified all io::fs tests to run in
both a native and uv environment (so everything is actually tested).

There are a few bits of remaining functionality which I was unable to get
working:

* truncate on windows
* change_file_times on windows
* lstat on windows

I think that change_file_times may just need a better interface, but the other
two have large implementations in libuv which I didn't want to tackle trying to
copy. I found a `chsize` function to work for truncate on windows, but it
doesn't quite seem to be working out.

1  2 
src/libstd/io/native/file.rs

Simple merge