about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-24 10:40:36 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-24 11:19:28 -0700
commitb19261a7498155c20b0877e56526e5c018a48be6 (patch)
tree93dad1fc8d47be8f5b3b79a3a0e30b87a4f594f2 /src/libstd/lib.rs
parentf8f60d80bf573cd8b4b5680b44c9cabe2b862f78 (diff)
downloadrust-b19261a7498155c20b0877e56526e5c018a48be6.tar.gz
rust-b19261a7498155c20b0877e56526e5c018a48be6.zip
green: Remove the dependence on the crate map
This is the final nail in the coffin for the crate map. The `start` function for
libgreen now has a new added parameter which is the event loop factory instead
of inferring it from the crate map. The two current valid values for this
parameter are `green::basic::event_loop` and `rustuv::event_loop`.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 021a932fc8b..9e13d70b0ce 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -84,7 +84,7 @@
 //        '__test' module.
 #[cfg(test)] #[start]
 fn start(argc: int, argv: **u8) -> int {
-    green::start(argc, argv, __test::main)
+    green::start(argc, argv, rustuv::event_loop, __test::main)
 }
 
 pub mod macros;