You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement blocking file I/O using new I/O subsystem #6168
The new scheduler won't be ready for a long time, but we can replace core::io with a blocking implementation of the new I/O API. Need to make the implementation first though.
Basic file io actions are implemented in std::rt::io::file and the groundwork is laid for future expansion. What is the "definition of done" for this ticket? (fwiw, I'm moving-on to immediately begin impl'ing remaining functionality).
Basic functionality is now provided in std::rt::io::native::file. Currently there is no support for doing anything other than reading/writing existing handles. Items left to-do:
Creating handles (FILE* and fd_t)
Removing files
Creating directories
Removing a directory
Basic stat information: get a stat, test what a path is, test if a path exists, etc.
These may just be nice wrappers around libc functionality, but they should be officially re-exported under std::rt::io::native::file as necessary.
Activity
emberian commentedon Aug 5, 2013
Newsched is in a really good place and std::rt::io::file has some stubs, marking as E-easy.
olsonjeffery commentedon Aug 23, 2013
Basic file io actions are implemented in
std::rt::io::fileand the groundwork is laid for future expansion. What is the "definition of done" for this ticket? (fwiw, I'm moving-on to immediately begin impl'ing remaining functionality).alexcrichton commentedon Oct 15, 2013
Basic functionality is now provided in
std::rt::io::native::file. Currently there is no support for doing anything other than reading/writing existing handles. Items left to-do:FILE*andfd_t)These may just be nice wrappers around
libcfunctionality, but they should be officially re-exported understd::rt::io::native::fileas necessary.doy commentedon Dec 31, 2013
This appears to have been fixed in 68d5510.
alexcrichton commentedon Dec 31, 2013
Good point, thanks!
Auto merge of rust-lang#6169 - ThibsG:SameFunctionsInIfConditionIgnor…
Merge rust-lang#6980