Skip to content

Commit 68d5510

Browse files
committed
Implement more native file I/O
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 two bits of remaining functionality which I was unable to get working: * change_file_times on windows * lstat on windows I think that change_file_times may just need a better interface, but lstat has a large implementation in libuv which I didn't want to tackle trying to copy.
1 parent f5f5d5a commit 68d5510

File tree

9 files changed

+1056
-716
lines changed

9 files changed

+1056
-716
lines changed

src/libstd/io/buffered.rs

-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ mod test {
391391
// newtype struct autoderef weirdness
392392
#[test]
393393
fn test_buffered_stream() {
394-
use rt;
395394
struct S;
396395

397396
impl io::Writer for S {

0 commit comments

Comments
 (0)