1
Fork 0

Runtime removal: refactor fs

This moves the filesystem implementation from libnative into the new
`sys` modules, refactoring along the way and hooking into `std::io::fs`.

Because this eliminates APIs in `libnative` and `librustrt`, it is a:

[breaking-change]

This functionality is likely to be available publicly, in some form,
from `std` in the future.
This commit is contained in:
Aaron Turon 2014-09-30 17:34:14 -07:00
parent 16470cf01b
commit 0c1e1ff1e3
9 changed files with 664 additions and 1168 deletions

View file

@ -56,7 +56,7 @@ use std::sync::atomic;
use std::comm;
use io::c;
use io::file::FileDesc;
use platform_imp::fs::FileDesc;
use io::helper_thread::Helper;
helper_init!(static HELPER: Helper<Req>)