mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and only rebuilds `profile` and `servo`) which is much lower than it used to be. In comparison, a rebuild after touching components/profile_traits/mem.rs takes 294 seconds and rebuilds many more crates. This change also removes some unnecessary crate dependencies in `net` and `net_traits`.
29 lines
787 B
Rust
29 lines
787 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#![feature(box_syntax)]
|
|
#![feature(collections)]
|
|
#![feature(core)]
|
|
#![cfg_attr(target_os="linux", feature(io))]
|
|
#![feature(old_io)]
|
|
#![cfg_attr(target_os="linux", feature(page_size))]
|
|
#![feature(rustc_private)]
|
|
#![feature(std_misc)]
|
|
#![cfg_attr(target_os="linux", feature(str_words))]
|
|
|
|
#[macro_use] extern crate log;
|
|
|
|
extern crate collections;
|
|
extern crate libc;
|
|
#[macro_use]
|
|
extern crate profile_traits;
|
|
#[cfg(target_os="linux")]
|
|
extern crate regex;
|
|
#[cfg(target_os="macos")]
|
|
extern crate task_info;
|
|
extern crate "time" as std_time;
|
|
extern crate util;
|
|
|
|
pub mod mem;
|
|
pub mod time;
|