Replace unexported meta tags with attributes

Issue #487
This commit is contained in:
Brian Anderson 2011-06-18 16:44:53 -07:00
parent 60023047a4
commit f58de2d687
3 changed files with 6 additions and 6 deletions

View File

@ -249,6 +249,8 @@ mod write {
*
*/
iter crate_export_metas(&ast::crate c) -> @ast::meta_item {
// FIXME: Need to identify exported attributes as described above,
// reevaluate how the above strategy fits in with attributes
for (ast::attribute attr in c.node.attrs) {
put @attr.node.value;
}

View File

@ -5,9 +5,8 @@
#[vers = "0.1"];
#[uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf"];
#[url = "http://rust-lang.org/src/rustc"];
meta (desc = "The Rust compiler",
license = "BSD");
#[desc = "The Rust compiler"];
#[license = "BSD"];
use std (name = "std",

View File

@ -2,9 +2,8 @@
#[vers = "0.1"];
#[uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297"];
#[url = "http://rust-lang.org/src/std"];
meta (comment = "Rust standard library",
license = "BSD");
#[comment = "Rust standard library"];
#[license = "BSD"];
// Built-in types support modules.