diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-04-07 06:10:53 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-04-17 10:12:53 -0400 |
| commit | 966e53d8b6272a324c6be3460ae6bf52e47202fe (patch) | |
| tree | ba28bf5ae2f84b5e260a7cecc9a6bf316762b863 /src/librustc_data_structures/lib.rs | |
| parent | b7fb57529aded92c4f470568e6b5ea7a5a28f6a4 (diff) | |
| download | rust-966e53d8b6272a324c6be3460ae6bf52e47202fe.tar.gz rust-966e53d8b6272a324c6be3460ae6bf52e47202fe.zip | |
Add librustc_data_structures crate
Diffstat (limited to 'src/librustc_data_structures/lib.rs')
| -rw-r--r-- | src/librustc_data_structures/lib.rs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs new file mode 100644 index 00000000000..abac991e5ce --- /dev/null +++ b/src/librustc_data_structures/lib.rs @@ -0,0 +1,33 @@ +// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +//! Various data structures used by the Rust compiler. The intention +//! is that code in here should be not be *specific* to rustc, so that +//! it can be easily unit tested and so forth. +//! +//! # Note +//! +//! This API is completely unstable and subject to change. + +// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364) +#![cfg_attr(stage0, feature(custom_attribute))] +#![crate_name = "rustc_data_structures"] +#![unstable(feature = "rustc_private")] +#![crate_type = "dylib"] +#![crate_type = "rlib"] +#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "http://www.rust-lang.org/favicon.ico", + html_root_url = "http://doc.rust-lang.org/nightly/")] + +#![feature(rustc_private)] +#![feature(test)] + +#[macro_use] extern crate log; +extern crate serialize as rustc_serialize; // used by deriving |
