When we want to use Servo binaries outside of their `target` build directory, `./resources` is what we’ll need to ship with them. r? @jdm Source-Repo: https://github.com/servo/servo Source-Revision: 8312fde154768c4a5ce133a1aaaf1293529a5558
58 lines
1.2 KiB
Rust
58 lines
1.2 KiB
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(default_type_params,macro_rules,unsafe_destructor)]
|
|
|
|
#![deny(unused_imports, unused_variable)]
|
|
|
|
#![feature(phase)]
|
|
#[phase(plugin, link)]
|
|
extern crate log;
|
|
|
|
extern crate debug;
|
|
extern crate alloc;
|
|
extern crate azure;
|
|
extern crate collections;
|
|
extern crate geom;
|
|
extern crate getopts;
|
|
extern crate layers;
|
|
extern crate libc;
|
|
extern crate native;
|
|
extern crate rand;
|
|
extern crate rustrt;
|
|
extern crate serialize;
|
|
extern crate sync;
|
|
#[cfg(target_os="macos")]
|
|
extern crate task_info;
|
|
extern crate "time" as std_time;
|
|
extern crate string_cache;
|
|
extern crate url;
|
|
|
|
#[phase(plugin)]
|
|
extern crate string_cache_macros;
|
|
|
|
pub mod bloom;
|
|
pub mod cache;
|
|
pub mod debug_utils;
|
|
pub mod fnv;
|
|
pub mod geometry;
|
|
pub mod logical_geometry;
|
|
pub mod memory;
|
|
pub mod namespace;
|
|
pub mod opts;
|
|
pub mod range;
|
|
pub mod resource_files;
|
|
pub mod smallvec;
|
|
pub mod sort;
|
|
pub mod str;
|
|
pub mod task;
|
|
pub mod tid;
|
|
pub mod time;
|
|
pub mod vec;
|
|
pub mod workqueue;
|
|
|
|
pub fn breakpoint() {
|
|
unsafe { ::std::intrinsics::breakpoint() };
|
|
}
|