ef282dbe2a
r? There are a lot of commits here, but not all that much substance. Mostly just refactoring. I started sketching out the beginnings of a very simple I/O API in `core::rt::io` that represents I/O streams as a single `Stream` trait instead of `Reader` / `Writer` pairs. This seems to be the more common pattern (at least this is how the .NET BCL does it) and it seems to me that separate readers and writers would make duplex streams very awkward. Regardless, I don't intend to go very far down the I/O API design road without some mailing list discussion. I've also started on the uv bindings for file I/O but haven't gotten very far. Also hooked up the new scheduler to `rust_start` and the compiletest driver. 70% of run-pass test cases already pass, but I wouldn't read too much into that. I also split the direct, low-level uv bindings in two so that the scheduler can have its own set, leaving `std::net` on its own. |
||
---|---|---|
.. | ||
arch | ||
isaac | ||
linenoise | ||
msvc | ||
sync | ||
util | ||
vg | ||
boxed_region.cpp | ||
boxed_region.h | ||
memory_region.cpp | ||
memory_region.h | ||
miniz.cpp | ||
rust_abi.cpp | ||
rust_abi.h | ||
rust_android_dummy.cpp | ||
rust_android_dummy.h | ||
rust_builtin.cpp | ||
rust_crate_map.cpp | ||
rust_crate_map.h | ||
rust_debug.cpp | ||
rust_debug.h | ||
rust_env.cpp | ||
rust_env.h | ||
rust_exchange_alloc.cpp | ||
rust_exchange_alloc.h | ||
rust_gc_metadata.cpp | ||
rust_gc_metadata.h | ||
rust_globals.h | ||
rust_gpr_base.h | ||
rust_kernel.cpp | ||
rust_kernel.h | ||
rust_log.cpp | ||
rust_log.h | ||
rust_refcount.h | ||
rust_rng.cpp | ||
rust_rng.h | ||
rust_run_program.cpp | ||
rust_sched_driver.cpp | ||
rust_sched_driver.h | ||
rust_sched_launcher.cpp | ||
rust_sched_launcher.h | ||
rust_sched_loop.cpp | ||
rust_sched_loop.h | ||
rust_sched_reaper.cpp | ||
rust_sched_reaper.h | ||
rust_scheduler.cpp | ||
rust_scheduler.h | ||
rust_signal.h | ||
rust_stack.cpp | ||
rust_stack.h | ||
rust_task.cpp | ||
rust_task.h | ||
rust_type.h | ||
rust_unwind.h | ||
rust_upcall.cpp | ||
rust_upcall.h | ||
rust_util.cpp | ||
rust_util.h | ||
rust_uv.cpp | ||
rust.cpp | ||
rustrt.def.in |