]> git.lizzy.rs Git - rust.git/commit
native: Introduce libnative
authorAlex Crichton <alex@alexcrichton.com>
Fri, 13 Dec 2013 01:54:53 +0000 (17:54 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 24 Dec 2013 22:42:00 +0000 (14:42 -0800)
commit6aadc9d18856f8e7ea8038e2c4b2ba0f9507e26a
tree563ed3086b2bb3ddd683d0cf5d654763895b1201
parent49e5493587162d53a693ba7e7833edd8f1718e94
native: Introduce libnative

This commit introduces a new crate called "native" which will be the crate that
implements the 1:1 runtime of rust. This currently entails having an
implementation of std::rt::Runtime inside of libnative as well as moving all of
the native I/O implementations to libnative.

The current snag is that the start lang item must currently be defined in
libnative in order to start running, but this will change in the future.

Cool fact about this crate, there are no extra features that are enabled.

Note that this commit does not include any makefile support necessary for
building libnative, that's all coming in a later commit.
src/libnative/io/file.rs [new file with mode: 0644]
src/libnative/io/mod.rs [new file with mode: 0644]
src/libnative/io/process.rs [new file with mode: 0644]
src/libnative/lib.rs [new file with mode: 0644]
src/libnative/task.rs [new file with mode: 0644]
src/libstd/io/mod.rs
src/libstd/io/native/file.rs [deleted file]
src/libstd/io/native/mod.rs [deleted file]
src/libstd/io/native/process.rs [deleted file]