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 Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
dist.mk remove the rusti command 2013-10-16 22:54:38 -04:00
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 The purpose of these headers is to fix issues with mingw v4.0, as described in #9246. 2013-09-17 01:06:01 -07:00
perf.mk mk: cleanup - lib and executable suffix handling 2013-03-02 21:25:12 +09:00
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 Fixed makefile to point to the new llvm build directory. 2013-09-05 23:44:10 -07:00
snap.mk mk: Remove CFG_INSTALL_SNAP logic. #2664 2013-07-19 15:35:42 -07:00
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