mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
parent
c377ec7516
commit
16d6e5db3c
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue