mirror of
https://github.com/servo/servo.git
synced 2025-07-03 13:33:39 +01:00
- Most of util::memory has been moved into profile::mem, though the `SizeOf` trait and related things remain in util::memory. The `SystemMemoryReporter` code is now in a submodule profile::mem::system_reporter. - util::time has been moved entirely into profile::time.
27 lines
739 B
Rust
27 lines
739 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(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;
|
|
#[cfg(target_os="linux")]
|
|
extern crate regex;
|
|
#[cfg(target_os="macos")]
|
|
extern crate task_info;
|
|
extern crate "time" as std_time;
|
|
extern crate util;
|
|
extern crate url;
|
|
|
|
pub mod mem;
|
|
pub mod time;
|