From 16d6e5db3c188a37eef6b8549d5b29a65bc367b4 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Thu, 15 Aug 2013 13:53:01 -0700 Subject: [PATCH] Remove start() when building the test harness Otherwise it will take over before the harness code has a chance to run. --- src/components/main/servo.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/main/servo.rc b/src/components/main/servo.rc index a71364f62f9..93172d0e332 100755 --- a/src/components/main/servo.rc +++ b/src/components/main/servo.rc @@ -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) {