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:
parent
16470cf01b
commit
0c1e1ff1e3
9 changed files with 664 additions and 1168 deletions
|
@ -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>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue