about summary refs log tree commit diff
path: root/src/libstd/sys/common/io.rs
AgeCommit message (Collapse)AuthorLines
2016-11-01std: Move sys_common to libstd/sys_commonBrian Anderson-179/+0
Make the directory structure reflect the module structure. I've always found the existing structure confusing.
2016-11-01std: Move a plattform-specific constant to sys::stdioBrian Anderson-0/+2
2016-10-02Add a platform-abstraction tidy scriptBrian Anderson-1/+2
This is intended to maintain existing standards of code organization in hopes that the standard library will continue to be refactored to isolate platform-specific bits, making porting easier; where "standard library" roughly means "all the dependencies of the std and test crates". This generally means placing restrictions on where `cfg(unix)`, `cfg(windows)`, `cfg(target_os)` and `cfg(target_env)` may appear, the basic objective being to isolate platform-specific code to the platform-specific `std::sys` modules, and to the allocation, unwinding, and libc crates. Following are the basic rules, though there are currently exceptions: - core may not have platform-specific code - liballoc_system may have platform-specific code - liballoc_jemalloc may have platform-specific code - libpanic_abort may have platform-specific code - libpanic_unwind may have platform-specific code - other crates in the std facade may not - std may have platform-specific code in the following places - sys/unix/ - sys/windows/ - os/ There are plenty of exceptions today though, noted in the whitelist.
2016-09-30Ignore various entire test modules on emscriptenBrian Anderson-1/+1
2016-09-30Ignore lots and lots of std tests on emscriptenBrian Anderson-0/+1
2016-08-24Use `#[prelude_import]` in `libstd`.Jeffrey Seyfried-3/+0
2016-03-20Add unix socket support to the standard librarySteven Fackler-2/+41
2015-12-29Fix warnings when compiling stdlib with --testFlorian Hahn-1/+1
2015-07-15Add specializations of read_to_end for Stdin, TcpStream and File,Alisdair Owens-0/+139
allowing them to read into a buffer containing uninitialized data, rather than pay the cost of zeroing.