rust/mk
Alex Crichton 201cab84e8 Move rust's uv implementation to its own crate
There are a few reasons that this is a desirable move to take:

1. Proof of concept that a third party event loop is possible
2. Clear separation of responsibility between rt::io and the uv-backend
3. Enforce in the future that the event loop is "pluggable" and replacable

Here's a quick summary of the points of this pull request which make this
possible:

* Two new lang items were introduced: event_loop, and event_loop_factory.
  The idea of a "factory" is to define a function which can be called with no
  arguments and will return the new event loop as a trait object. This factory
  is emitted to the crate map when building an executable. The factory doesn't
  have to exist, and when it doesn't then an empty slot is in the crate map and
  a basic event loop with no I/O support is provided to the runtime.

* When building an executable, then the rustuv crate will be linked by default
  (providing a default implementation of the event loop) via a similar method to
  injecting a dependency on libstd. This is currently the only location where
  the rustuv crate is ever linked.

* There is a new #[no_uv] attribute (implied by #[no_std]) which denies
  implicitly linking to rustuv by default

Closes #5019
2013-10-29 08:39:22 -07:00
..
clean.mk Move rust's uv implementation to its own crate 2013-10-29 08:39:22 -07:00
ctags.mk
dist.mk
docs.mk doc: tidy and cleanup CSS deps, add tutorial PDF generation 2013-10-21 04:12:12 +02:00
host.mk Move rust's uv implementation to its own crate 2013-10-29 08:39:22 -07:00
install.mk Move rust's uv implementation to its own crate 2013-10-29 08:39:22 -07:00
llvm.mk
perf.mk
platform.mk Fix unwinding on OS X 10.9. 2013-10-22 03:02:25 -07:00
pp.mk Remove rusti reference from pp.mk 2013-10-21 10:57:20 -05:00
rt.mk Move rust's uv implementation to its own crate 2013-10-29 08:39:22 -07:00
rustllvm.mk
snap.mk
stage0.mk Move rust's uv implementation to its own crate 2013-10-29 08:39:22 -07:00
target.mk Move rust's uv implementation to its own crate 2013-10-29 08:39:22 -07:00
tests.mk Move rust's uv implementation to its own crate 2013-10-29 08:39:22 -07:00
tools.mk remove the rusti command 2013-10-16 22:54:38 -04:00