about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-13 19:46:18 -0800
committerbors <bors@rust-lang.org>2013-11-13 19:46:18 -0800
commit58b5c618cfa4b5bec9dd0a27f2ecac07365febe7 (patch)
treef5345fc82faac047e765a45ce289f1d73f3e98d0 /src/rustllvm/RustWrapper.cpp
parent8a3b35f68a32c3d0111d12b058d24852b024f1b3 (diff)
parent9bcf557589a385d163c6d543ede82953b09e072f (diff)
downloadrust-58b5c618cfa4b5bec9dd0a27f2ecac07365febe7.tar.gz
rust-58b5c618cfa4b5bec9dd0a27f2ecac07365febe7.zip
auto merge of #10457 : alexcrichton/rust/native-io, r=brson
This commit re-organizes the io::native module slightly in order to have a
working implementation of rtio::IoFactory which uses native implementations. The
goal is to seamlessly multiplex among libuv/native implementations wherever
necessary.

Right now most of the native I/O is unimplemented, but we have existing bindings
for file descriptors and processes which have been hooked up. What this means is
that you can now invoke println!() from libstd with no local task, no local
scheduler, and even without libuv.

There's still plenty of work to do on the native I/O factory, but this is the
first steps into making it an official portion of the standard library. I don't
expect anyone to reach into io::native directly, but rather only std::io
primitives will be used. Each std::io interface seamlessly falls back onto the
native I/O implementation if the local scheduler doesn't have a libuv one
(hurray trait ojects!)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions