]> git.lizzy.rs Git - rust.git/commit
native: Add tests and cleanup entry points
authorAlex Crichton <alex@alexcrichton.com>
Fri, 13 Dec 2013 08:02:54 +0000 (00:02 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 25 Dec 2013 03:59:53 +0000 (19:59 -0800)
commitf5d9b2ca6d9a360112f06b3044897c22736c52b8
treeeeb0d0206872b42c34d68e0f66da379a11c44563
parent018d60509c04cdebdf8b0d9e2b58f2604538e516
native: Add tests and cleanup entry points

This adds a few smoke tests associated with libnative tasks (not much code to
test here anyway), and cleans up the entry points a little bit to be a little
more like libgreen.

The I/O code doesn't need much testing because that's all tested in libstd (with
the iotest! macro).
src/libnative/io/file.rs
src/libnative/lib.rs
src/libnative/task.rs