Remove start() when building the test harness

Otherwise it will take over before the harness code has a chance to run.
This commit is contained in:
Keegan McAllister 2013-08-15 13:53:01 -07:00
parent c377ec7516
commit 16d6e5db3c

View file

@ -96,6 +96,7 @@ pub mod platform;
#[path = "util/mod.rs"]
pub mod util;
#[cfg(not(test))]
#[start]
fn start(argc: int, argv: **u8, crate_map: *u8) -> int {
do std::rt::start_on_main_thread(argc, argv, crate_map) {